refactor: remove GMAIL_CHANNEL_ENABLED env flag from add-gmail skill

Channel vs tool-only is now a code-level decision at skill apply time.
If the user chose channel mode, GmailChannel is wired unconditionally.
If tool-only, no channel code is added. No runtime flag needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Fritzzzz
2026-02-24 23:46:24 +02:00
parent 41e2424856
commit 6dd90829e1
7 changed files with 21 additions and 148 deletions

View File

@@ -7,15 +7,12 @@ adds:
- src/channels/gmail.test.ts
modifies:
- src/index.ts
- src/config.ts
- src/container-runner.ts
- container/agent-runner/src/index.ts
- src/routing.test.ts
structured:
npm_dependencies:
googleapis: "^144.0.0"
env_additions:
- GMAIL_CHANNEL_ENABLED
conflicts: []
depends: []
test: "npx vitest run src/channels/gmail.test.ts"