Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs(add-telegram): match pairing status-block names to the setup step; fix adapter pin#2729

Open
sturdy4days wants to merge 1 commit into
nanocoai:main from
sturdy4days:docs/add-telegram-pairing-doc
Open

docs(add-telegram): match pairing status-block names to the setup step; fix adapter pin #2729
sturdy4days wants to merge 1 commit into
nanocoai:main from
sturdy4days:docs/add-telegram-pairing-doc

Conversation

@sturdy4days

@sturdy4days sturdy4days commented Jun 11, 2026

Copy link
Copy Markdown

What

Two corrections to .claude/skills/add-telegram/SKILL.md, both found by following the skill end-to-end:

1. The pairing walkthrough references status blocks the setup step never emits. The doc says to watch for PAIR_TELEGRAM_ISSUED (with a REMINDER_TO_ASSISTANT line), RECEIVED_CODE on attempts, PAIR_TELEGRAM_NEW_CODE on regeneration, and ADMIN_USER_ID on success. setup/pair-telegram.ts actually emits:

  • PAIR_TELEGRAM_CODE { CODE, REASON=initial|regenerated }
  • PAIR_TELEGRAM_ATTEMPT { CANDIDATE }
  • PAIR_TELEGRAM (final) { STATUS, CODE, INTENT, PLATFORM_ID, IS_GROUP, PAIRED_USER_ID }

An assistant following the doc literally waits for blocks that never arrive. Updated the walkthrough to the real names.

2. The adapter pin conflicts with the channels branch. The doc says pnpm install @chat-adapter/telegram@4.27.0, but the channels branch pins 4.26.0. Installing 4.27.0 against the resolved chat core produces ChatInstance type-mismatch errors in createChatSdkBridge, so step 6 (pnpm run build) fails. Pinned the doc to 4.26.0 and added a sentence explaining the pin must track the channels branch.

Doc-only change; no code touched.

🤖 Generated with Claude Code

...p; fix adapter pin
The pairing walkthrough referenced status blocks the pair-telegram setup
step never emits: PAIR_TELEGRAM_ISSUED, REMINDER_TO_ASSISTANT,
PAIR_TELEGRAM_NEW_CODE, RECEIVED_CODE, and ADMIN_USER_ID. The step
actually emits PAIR_TELEGRAM_CODE (REASON=initial|regenerated),
PAIR_TELEGRAM_ATTEMPT (CANDIDATE), and a final PAIR_TELEGRAM with
PAIRED_USER_ID (setup/pair-telegram.ts). An assistant following the doc
waits for blocks that never arrive.
Also pin @chat-adapter/telegram at 4.26.0 to match the channels branch:
installing 4.27.0 against the resolved chat core produces ChatInstance
type-mismatch build errors in createChatSdkBridge, and step 6 fails.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /