Jeremy
7ee1fa0c46
fix(pi-ai): remove Anthropic OAuth flow for TOS compliance
...
Delete the Anthropic OAuth module, remove it from the built-in provider
registry, strip the OAuth client branch from the Anthropic streaming
provider, and replace the daemon orchestrator's token refresh with a
simple ANTHROPIC_API_KEY requirement.
Anthropic access is now API key or local Claude Code CLI only.
Closes #3952
2026-04-10 17:33:34 -05:00
TÂCHES
efe61c2fcc
wip: M005 daemon — orchestrator, event bridge, formatter, batcher improvements ( #2929 )
...
Saves in-progress daemon work from M005-m138xe that was sitting uncommitted.
Includes orchestrator expansion, event bridge/formatter enhancements,
message batcher tweaks, and discord bot additions.
2026-03-27 20:22:30 -06:00
Lex Christopherson
eb2cfa580c
fix: Fixed 3 bugs (launchd JSON parsing, login race condition, interact…
...
- "packages/daemon/src/launchd.ts"
- "packages/daemon/src/discord-bot.ts"
- "packages/daemon/src/launchd.test.ts"
GSD-Task: S07/T02
2026-03-27 17:17:40 -06:00
Lex Christopherson
0de87955d3
feat: Added 6 discord.js shard/error/warn event listeners for reconnect…
...
- "packages/daemon/src/discord-bot.ts"
- "packages/daemon/src/daemon.ts"
- "packages/daemon/src/daemon.test.ts"
GSD-Task: S06/T02
2026-03-27 16:20:10 -06:00
Lex Christopherson
14297845e9
test: Created launchd.ts with plist XML generation, install/uninstall/s…
...
- "packages/daemon/src/launchd.ts"
- "packages/daemon/src/launchd.test.ts"
- "packages/daemon/src/cli.ts"
- "packages/daemon/src/index.ts"
GSD-Task: S06/T01
2026-03-27 16:16:44 -06:00
Lex Christopherson
898e797772
feat: Extended DaemonConfig with control_channel_id and orchestrator se…
...
- "packages/daemon/src/types.ts"
- "packages/daemon/src/config.ts"
- "packages/daemon/src/daemon.ts"
- "packages/daemon/src/discord-bot.ts"
- "packages/daemon/src/discord-bot.test.ts"
- "packages/daemon/src/index.ts"
GSD-Task: S05/T02
2026-03-27 15:46:58 -06:00
Lex Christopherson
bbba5f83b9
test: Built Orchestrator class with 5 LLM tool definitions, tool-use ag…
...
- "packages/daemon/src/orchestrator.ts"
- "packages/daemon/src/orchestrator.test.ts"
- "packages/daemon/package.json"
GSD-Task: S05/T01
2026-03-27 15:39:53 -06:00
Lex Christopherson
6ef99ee727
test: Wired EventBridge into Daemon lifecycle with /gsd-verbose slash c…
...
- "packages/daemon/src/commands.ts"
- "packages/daemon/src/discord-bot.ts"
- "packages/daemon/src/daemon.ts"
- "packages/daemon/src/index.ts"
- "packages/daemon/src/discord-bot.test.ts"
GSD-Task: S04/T04
2026-03-27 15:17:53 -06:00
Lex Christopherson
f26ec3a55d
test: Built EventBridge orchestrator wiring session events to Discord w…
...
- "packages/daemon/src/event-bridge.ts"
- "packages/daemon/src/event-bridge.test.ts"
GSD-Task: S04/T03
2026-03-27 15:11:52 -06:00
Lex Christopherson
05abf86912
test: Built rate-limit-aware MessageBatcher with timer/capacity flush,…
...
- "packages/daemon/src/message-batcher.ts"
- "packages/daemon/src/message-batcher.test.ts"
GSD-Task: S04/T02
2026-03-27 15:04:55 -06:00
Lex Christopherson
4c8bbca46f
feat: Created pure-function event formatters (10 functions) mapping RPC…
...
- "packages/daemon/src/event-formatter.ts"
- "packages/daemon/src/verbosity.ts"
- "packages/daemon/src/event-formatter.test.ts"
- "packages/daemon/src/verbosity.test.ts"
- "packages/daemon/src/types.ts"
- "packages/daemon/src/config.ts"
GSD-Task: S04/T01
2026-03-27 15:01:19 -06:00
Lex Christopherson
b5adaf2d9f
test: Created commands.ts with slash command definitions and registrati…
...
- "packages/daemon/src/commands.ts"
- "packages/daemon/src/discord-bot.ts"
- "packages/daemon/src/discord-bot.test.ts"
- "packages/daemon/src/index.ts"
GSD-Task: S03/T03
2026-03-27 14:43:03 -06:00
Lex Christopherson
d13885a54e
test: Built ChannelManager with category resolution, channel create/arc…
...
- "packages/daemon/src/channel-manager.ts"
- "packages/daemon/src/discord-bot.test.ts"
GSD-Task: S03/T02
2026-03-27 14:39:00 -06:00
Lex Christopherson
31af5ecfbd
feat: Added discord.js v14, DiscordBot class with auth guard and lifecy…
...
- "packages/daemon/src/discord-bot.ts"
- "packages/daemon/src/discord-bot.test.ts"
- "packages/daemon/src/daemon.ts"
- "packages/daemon/src/index.ts"
- "packages/daemon/package.json"
GSD-Task: S03/T01
2026-03-27 14:33:36 -06:00
Lex Christopherson
7732558d04
test: Wired scanner and session manager into Daemon with scanProjects()…
...
- "packages/daemon/src/daemon.ts"
- "packages/daemon/src/index.ts"
- "packages/daemon/src/daemon.test.ts"
GSD-Task: S02/T03
2026-03-27 14:20:02 -06:00
Lex Christopherson
5910c6523e
test: Built SessionManager with EventEmitter lifecycle events, Logger i…
...
- "packages/daemon/src/session-manager.ts"
- "packages/daemon/src/session-manager.test.ts"
- "packages/daemon/src/types.ts"
- "packages/daemon/package.json"
GSD-Task: S02/T02
2026-03-27 14:15:18 -06:00
Lex Christopherson
9af08f6480
test: Extended daemon types with session management interfaces and buil…
...
- "packages/daemon/src/types.ts"
- "packages/daemon/src/project-scanner.ts"
- "packages/daemon/src/project-scanner.test.ts"
GSD-Task: S02/T01
2026-03-27 14:08:04 -06:00
Lex Christopherson
2a0d63accd
test: Built Daemon class with lifecycle management, CLI entry point wit…
...
- "packages/daemon/src/daemon.ts"
- "packages/daemon/src/cli.ts"
- "packages/daemon/src/daemon.test.ts"
- "packages/daemon/src/index.ts"
GSD-Task: S01/T03
2026-03-27 13:52:58 -06:00
Lex Christopherson
fa2bde5677
test: Implemented YAML config loader with validation/defaults and struc…
...
- "packages/daemon/src/config.ts"
- "packages/daemon/src/logger.ts"
- "packages/daemon/src/daemon.test.ts"
GSD-Task: S01/T02
2026-03-27 13:43:46 -06:00
Lex Christopherson
c37eb1a5c3
feat: Created packages/daemon workspace package with DaemonConfig/LogLe…
...
- "packages/daemon/package.json"
- "packages/daemon/tsconfig.json"
- "packages/daemon/src/types.ts"
- "packages/daemon/src/index.ts"
GSD-Task: S01/T01
2026-03-27 13:40:25 -06:00