summaryrefslogtreecommitdiff
path: root/external_plugins
AgeCommit message (Collapse)Author
2026-03-26Add terraform plugin files to match marketplace.json entrydickson/add-terraform-pluginDickson Tsai
2026-03-23Regenerate imessage bun.lock without artifactory URLskenneth/fix-imessage-lockfileKenneth Lien
The lockfile had 94 artifactory.infra.ant.dev URLs baked in from generation behind a private registry. External users hit 401s on 'bun install' and the server never starts. Regenerated against registry.npmjs.org to match the .npmrc.
2026-03-23Merge pull request #737 from anthropics/add-imessage-channelKenneth Lien
Add imessage channel plugin
2026-03-23Show input_preview only for Bash in permission promptsadd-imessage-channelKenneth Lien
Write/Edit previews are unbearably long over iMessage. Bash is the dangerous one where seeing the command matters; everything else gets tool_name + description only.
2026-03-23feat(telegram,discord): compact permission messages with expandable details ↵Noah Zweben
(#952) * feat(telegram,discord): compact permission messages with expandable details Replace verbose permission request messages with a compact format showing only the tool name. Adds a "See more" button that expands inline to show tool_name, description, and pretty-printed input_preview JSON. Yes/No buttons replace Allow/Deny. Bump plugin versions to 0.0.4. * revert: restore Allow/Deny button labels
2026-03-23feat(telegram,discord): inline buttons for permission approval (#945)Daisy S. Hollman
Replace "Reply 'yes abcde' to allow" text instruction with native inline buttons (Telegram InlineKeyboard, Discord ButtonBuilder). One tap to approve/deny instead of typing a 5-char ID. - Telegram: callback_query handler with allowFrom gate, edits message to show outcome and remove buttons after decision - Discord: interactionCreate handler with allowFrom gate, updates interaction with outcome and clears components - Text-reply path (PERMISSION_REPLY_RE) kept as fallback - Bump both plugins to v0.0.3 :house: Remote-Dev: homespace
2026-03-23Document IMESSAGE_STATE_DIR in READMEKenneth Lien
2026-03-23feat(imessage): port permission-relay + lifecycle fixes from telegramKenneth Lien
Brings the imessage channel to parity with recent telegram/discord hardening: - Permission-relay capability: declare claude/channel/permission, handle inbound permission_request notifications by fanning out to allowlisted DM chats + self-chat, intercept "yes/no <id>" replies after the gate check and emit structured permission events instead of relaying as chat. Groups excluded per single-user-mode policy. - Global unhandledRejection/uncaughtException handlers so the server logs instead of dying silently. - IMESSAGE_STATE_DIR env override for the state directory. - .unref() on both setInterval timers so they don't block shutdown. - stdin EOF / SIGTERM / SIGINT shutdown handler that closes chat.db and exits cleanly instead of leaving a zombie poll loop. Adds zod as a direct dep (already transitively present via the MCP SDK) for the notification handler schema.
2026-03-23Merge remote-tracking branch 'origin/main' into add-imessage-channelKenneth Lien
2026-03-23feat(telegram,discord): permission-relay capability + bidirectional handlersdaisy/plugin-7/channel-permissionsDaisy Hollman
Complete the plugin side of anthropics/claude-cli-internal#23061 (permission prompts over channels). Capability: both servers now declare experimental["claude/channel/permission"] which tells CC they can relay permission requests. This capability asserts the server authenticates the replier — gate()/access.allowFrom filters non-allowlisted senders before handleInbound runs. Outbound (CC → user): setNotificationHandler for notifications/claude/channel/permission_request formats the tool name, description, and input preview into a human-readable message and sends it to every allowlisted DM. Groups are excluded — the security thread resolution was "single-user mode for official plugins." Inbound (user → CC): PERMISSION_REPLY_RE intercept in handleInbound catches "yes xxxxx" / "no xxxxx" replies, emits the structured notifications/claude/channel/permission event with {request_id, behavior}, reacts with checkmark/cross, and returns without relaying the text to Claude as a chat message. The regex is inlined from channelPermissions.ts (no cross-repo dep). IDs are lowercased at the plugin boundary per the case-insensitive spec. Version bumped 0.0.1 → 0.0.2 so the plugin reconciler picks up the change. :house: Remote-Dev: homespace
2026-03-20Merge pull request #825 from anthropics/kenneth/channels-rollupKenneth Lien
Channels rollup: resilience + discord port + bucket-1 features
2026-03-20Add IMESSAGE_APPEND_SIGNATURE env var (default true)Kenneth Lien
2026-03-20Merge branch 'main' into add-imessage-channelKenneth Lien
2026-03-20Merge remote-tracking branch 'origin/kenneth/telegram-all-file-types' into ↵kenneth/channels-rollupKenneth Lien
kenneth/channels-rollup
2026-03-20Merge remote-tracking branch 'origin/kenneth/telegram-bot-commands-795' into ↵Kenneth Lien
kenneth/channels-rollup # Conflicts: # external_plugins/telegram/server.ts
2026-03-20Merge remote-tracking branch 'origin/kenneth/telegram-bot-commands' into ↵Kenneth Lien
kenneth/channels-rollup
2026-03-20Merge remote-tracking branch 'origin/kenneth/discord-resilience' into ↵Kenneth Lien
kenneth/channels-rollup
2026-03-20Merge remote-tracking branch 'origin/kenneth/discord-edit-notif-guidance' ↵Kenneth Lien
into kenneth/channels-rollup
2026-03-20Merge remote-tracking branch 'origin/kenneth/channels-state-dir' into ↵Kenneth Lien
kenneth/channels-rollup
2026-03-20Merge remote-tracking branch 'origin/kenneth/telegram-409' into ↵Kenneth Lien
kenneth/channels-rollup # Conflicts: # external_plugins/telegram/server.ts
2026-03-20Merge remote-tracking branch 'origin/kenneth/telegram-shutdown' into ↵Kenneth Lien
kenneth/channels-rollup
2026-03-20Remove local stripe external pluginClaude
Now that the stripe plugin sources from the stripe/ai git-subdir, the locally vendored copy under external_plugins/stripe is no longer needed.
2026-03-20Sanitize user-controlled filenames and download path componentskenneth/telegram-all-file-typesKenneth Lien
- safeName() strips <>[]\r\n; from file_name/title before they hit the <channel> notification — delimiter chars would let an uploader break out of the tag or forge meta entries - download_attachment strips ext/uniqueId to alphanumeric before join() — defense-in-depth against path traversal (file_unique_id is Telegram-controlled so this is belt-and-braces)
2026-03-20Tighten /start and /help copykenneth/telegram-bot-commands-795Kenneth Lien
Less chatty, more precise. Explicitly mentions the /telegram:access skill and the 6-char code format.
2026-03-20Restrict bot commands to DMs (security)Kenneth Lien
- /status in a group would leak the sender's pending pairing code to other group members, who could then pair as that user - Commands in non-allowlisted groups confirm bot presence and enable spam - /start now acknowledges dmPolicy === 'disabled' instead of lying - setMyCommands scoped to private chats so the / menu only shows in DMs
2026-03-20telegram: handle all inbound file types + download_attachment toolKenneth Lien
2026-03-20telegram: add /start /help /status bot commandsKenneth Lien
2026-03-20telegram: add MarkdownV2 parse_mode to reply/edit_messagekenneth/telegram-bot-commandsKenneth Lien
2026-03-20discord: port resilience fixes from telegramkenneth/discord-resilienceKenneth Lien
Same patterns as #812/#813 for the discord channel: - process-level unhandledRejection/uncaughtException handlers - client.on('error') to log discord.js errors - mcp.notification().catch() so inbound delivery failures surface - stdin close / SIGTERM -> client.destroy() + exit (zombie fix) - .unref() the approval-check interval - client.login().catch() to log+exit on bad token instead of crashing Discord is inherently more resilient than telegram (discord.js auto-reconnects, no 409 equivalent), but these gaps were still there.
2026-03-20discord/telegram: guide assistant to send new reply on completionkenneth/discord-edit-notif-guidanceKenneth Lien
Message edits don't trigger push notifications on the user's device. Update system instructions and edit_message tool description to steer the assistant toward edit-for-progress + new-reply-on-completion. Fixes #786
2026-03-20Silently return when bot.stop() aborts the setup phasekenneth/telegram-409Kenneth Lien
If bot.stop() is called while bot.start() is still in setup (deleteWebhook/ getMe), grammy rejects with 'Aborted delay'. Expected, not an error.
2026-03-20telegram/discord: make state dir configurable via env varkenneth/channels-state-dirKenneth Lien
Hardcoded ~/.claude/channels/<name>/ meant only one bot per machine. Respect TELEGRAM_STATE_DIR / DISCORD_STATE_DIR so users can run multiple bots with separate tokens and allowlists. Also fixed README path ('in your project' -> '~/...') to match the code. Fixes #792
2026-03-20telegram: retry on 409 Conflict instead of crashingKenneth Lien
During /mcp reload or when a zombie from a previous session still holds the polling slot, the new process gets 409 Conflict on its first getUpdates and dies immediately. Retry with backoff until the slot frees — typically within a second or two. Also handles the two-sessions case: the second Claude Code instance keeps retrying (with a clear message about what's happening) and takes over when the first one exits. Fixes #804 #794, partial #788 (issue 4)
2026-03-20telegram: exit when Claude Code closes the connectionkenneth/telegram-shutdownKenneth Lien
When the MCP stdio transport closes, the bot kept polling Telegram as a zombie process — holding the token and causing 409 Conflict for the next session. - Listen for stdin end/close and SIGTERM/SIGINT -> bot.stop() + exit - Force-exit after 2s if bot.stop() stalls on the long-poll timeout - unref the approval-check interval so it doesn't keep us alive Fixes #793, partial #788 (issue 3)
2026-03-20telegram: add error handlers to stop silent polling deathkenneth/telegram-resilienceKenneth Lien
The bot would silently stop delivering messages after the first error: grammy's default handler calls bot.stop() on any middleware throw, and void bot.start() / void mcp.notification() swallow rejections with no log. - bot.catch(): log and keep polling on handler errors - bot.start().catch(): log when polling dies (bad token, 409, network) - mcp.notification().catch(): log when inbound delivery to Claude fails - process-level unhandledRejection/uncaughtException as a safety net Fixes #756 #759 #761 #777 #809, partial #788
2026-03-20Merge pull request #811 from anthropics/kenneth/chmod-env-filesKenneth Lien
Lock telegram/discord .env files to owner (chmod 600)
2026-03-20Lock telegram/discord .env files to owner (chmod 600)kenneth/chmod-env-filesKenneth Lien
The bot token is a credential. Tighten perms on load so hand-written or pre-existing .env files get locked down, and update the configure skill to chmod after writing. No-op on Windows.
2026-03-19README clarifications from docs walkthrough testingdocs/readme-clarificationsSarah Deaton
- Drop /reload-plugins (redundant, you restart with --channels next) - Fix token save path: .claude/channels/ not ~/.claude/channels/ - Clarify bot only responds once channel is running (pairing step)
2026-03-19Add Bun prerequisite to discord and telegram plugin READMEskenneth/add-bun-prereqKenneth Lien
Both MCP servers run on Bun, but this wasn't documented. Add a Prerequisites section with the install command so users don't hit a missing-runtime error on first setup.
2026-03-19Revert "Remove telegram, discord, and fakechat plugins (#741)" (#753)Kenneth Lien
This reverts commit d53f6ca4cdb000c671dfdc1c181b021e97c25505.
2026-03-18Remove telegram, discord, and fakechat plugins (#741)Noah Zweben
Remove the three chat bridge plugins from external_plugins/ and their corresponding entries in marketplace.json. Co-authored-by: Claude <noreply@anthropic.com>
2026-03-18Add telegram channel plugin (#735)Kenneth Lien
Telegram messaging bridge for Claude Code. Runs a local MCP server that connects to the Telegram Bot API via a user-created bot token. Built-in access control: inbound messages are gated by an allowlist (default: pairing mode), outbound sends are scoped to the same allowlist. The /telegram:access skill manages pairing, allowlists, and policy. Ships full source — server.ts runs locally via bun, started by the .mcp.json command. First external_plugins entry to bundle source rather than point at a hosted MCP endpoint.
2026-03-18Add discord channel plugin (#736)Kenneth Lien
Discord messaging bridge for Claude Code. Runs a local MCP server that connects to Discord's Gateway via a user-created bot token. Built-in access control: inbound messages are gated by an allowlist (default: pairing mode), outbound sends are scoped to the same allowlist. Guild channels require opt-in and @mention. The /discord:access skill manages pairing, allowlists, and policy. Ships full source — server.ts runs locally via bun, started by the .mcp.json command.
2026-03-18Add fakechat channel plugin (#738)Kenneth Lien
Localhost web chat UI for testing the channel notification flow. No tokens, no access control, no third-party service. Serves an iMessage-style UI on localhost; messages posted there arrive as channel notifications, replies render in the UI. Useful for developing against the channel protocol without a live messaging account. Ships full source — server.ts runs locally via bun, started by the .mcp.json command.
2026-03-18Add imessage channel pluginKenneth Lien
iMessage bridge for Claude Code. Reads ~/Library/Messages/chat.db directly for history and new-message polling; sends via AppleScript to Messages.app. macOS only. Built-in access control: inbound messages are gated by an allowlist (default: self-chat only), outbound sends are scoped to the same allowlist. The /imessage:access skill manages allowlists and policy. Requires Full Disk Access and Automation TCC grants — both prompted by macOS on first use. Ships full source — server.ts runs locally via bun, started by the .mcp.json command.
2026-02-17feat: update Slack plugin to HTTP transport with OAuth configbasil/slack-oauth-configBasil Hosmer
- Switch from SSE to HTTP transport - Update URL from /sse to /mcp endpoint - Add OAuth clientId and callbackPort for Claude Code auth flow
2026-01-05Add README and setup documentation for Greptile plugin (#122)Noah Zweben
Claude-Generated-By: Claude Code (cli/claude-opus-4-5=100%) Claude-Steers: 2 Claude-Permission-Prompts: 4 Claude-Escapes: 0
2025-12-18added new partners (#36)Noah Zweben
2025-12-18swtiched to external vercel atlassian (#33)Noah Zweben
2025-12-16change to use notion external (#25)Noah Zweben