anthropics / anthropics/claude-agent-sdk-typescript

Channel support in the SDK doesn't seem to work

Aperta
#256 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub
bug documentation question
Lingua principale
Shell
Stelle
1.8k
Fork
226
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.