anthropics / anthropics/claude-agent-sdk-typescript

Channel support in the SDK doesn't seem to work

Offen
#256 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug documentation question
Vorherrschende Sprache
Shell
Sterne
1.8k
Forks
226
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I saw in https://github.com/anthropics/claude-agent-sdk-typescript/releases/tag/v0.2.84

> Added `enableChannel()` method and capabilities field on `McpServerStatus` for SDK-driven MCP channel activation

And was very excited to play with this... but I don't see an `enableChannel` in the typings from what I can tell. Opus did find that some sort of API was exposed but not on typings and after throwing him at it for hours and hours, I can't see to get it to work. I gave him the [channel docs](https://code.claude.com/docs/en/channels) as well.

I can get the plugin to start the telegram server, but it seems that I am unable to "handle" messages this way and so I never get this message back from the telegram bot.

So I guess I should back up and ask... how do I get channels working in an SDK instance?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.