Commit Graph

2568 Commits (afc649255c19cc2bf06bce43d8cb53b7f74c8dbe)

Author SHA1 Message Date
Saurabh afc649255c fix: match guild-level entries in Discord exec allowlist (#55175) 8 months ago
Peter Steinberger bdeb7d859b test: stabilize discord monitor ci mocks 8 months ago
Peter Steinberger d25c4fd6c5 test: tighten discord lifecycle gateway mocks 8 months ago
felear2022 623f4d3056 fix: use stream-json output for Claude CLI backend to prevent watchdog timeouts
The Claude CLI backend uses `--output-format json`, which produces no
stdout until the entire request completes. When session context is large
(100K+ tokens) or API response is slow, the no-output watchdog timer
(max 180s for resume sessions) kills the process before it finishes,
resulting in "CLI produced no output for 180s and was terminated" errors.

Switch to `--output-format stream-json --verbose` so Claude CLI emits
NDJSON events throughout processing (init, assistant, rate_limit, result).
Each event resets the watchdog timer, which is the intended behavior —
the watchdog detects truly stuck processes, not slow-but-progressing ones.

Changes:
- cli-backends.ts: `json` → `stream-json --verbose`, `output: "jsonl"`
- helpers.ts: teach parseCliJsonl to extract text from Claude's
  `{"type":"result","result":"..."}` NDJSON line

Note: `--verbose` is required for stream-json in `-p` (print) mode.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 months ago
joelnishanth 5b85d0efa4 discord: fix stale-socket reconnect crash from uncaught reconnect-exhausted error 8 months ago
Peter Steinberger 0ef2a9c8b5 refactor: remove core browser test duplicates 8 months ago
Peter Steinberger 9a7ceceffa refactor: move browser tests into plugin 8 months ago
Peter Steinberger 22348914cf
refactor: centralize discord gateway ownership 8 months ago
Peter Steinberger cad83db8b2
refactor: move memory engine into memory plugin 8 months ago
Peter Steinberger 0e182dd3e1 refactor: share top-level setup dm policies 8 months ago
Peter Steinberger 4890656d9d refactor: share matrix state file path helper 8 months ago
Peter Steinberger bfad32aa16 refactor: share directory config listers 8 months ago
Peter Steinberger 5f2876911a fix: harden discord gateway cleanup (#55373) (thanks @Takhoffman) 8 months ago
Tak Hoffman a79c9d50f7 fix(discord): guard gateway cleanup races 8 months ago
Peter Steinberger ebf5bd75f4
feat: add anthropic claude cli migration 8 months ago
Peter Steinberger b96fccadb9
refactor: clean memory plugin host boundary 8 months ago
Peter Steinberger d72115c9df
refactor: genericize speech provider config surface 8 months ago
Peter Steinberger 83ca6fbfc6 refactor: finish browser compat untangle 8 months ago
Peter Steinberger 0f5a77d058
refactor: route memory runtime through memory plugin 8 months ago
Peter Steinberger 2c6d099b01
refactor: plugin-own speech provider config 8 months ago
Peter Steinberger 8eeb7f0829 refactor: switch browser ownership to bundled plugin 8 months ago
Peter Steinberger 197510f693 refactor: add browser plugin runtime package 8 months ago
Peter Steinberger d0ce2d1044
refactor: split memory-core plugin helpers 8 months ago
Peter Steinberger 3d0050c306
refactor: add memory-core extension sources 8 months ago
Peter Steinberger e955d574b2
refactor: move memory tooling into memory-core extension 8 months ago
Peter Steinberger e0dfc776bb
refactor: move memory flush ownership into memory plugin 8 months ago
Peter Steinberger 29069bd250 refactor: share speech normalization helpers 8 months ago
Peter Steinberger ce9dff1458
refactor: clean plugin capability boundaries 8 months ago
Tak Hoffman d00dc5f46b
fix(ci): repair discord and telegram follow-ups 8 months ago
Peter Steinberger 53f90af990 test: dedupe telegram polling session harness 8 months ago
Peter Steinberger 6aa9bec8d7 fix: export shared channel action enum helpers 8 months ago
Peter Steinberger 0c0f1e34cb
refactor: split telegram polling and sdk surfaces 8 months ago
Tak Hoffman 0805078118
fix(ci): format discord provider follow-up 8 months ago
Tak Hoffman aeee72426d
fix(ci): restore discord provider test seams 8 months ago
Peter Steinberger 37894d0f1a test: dedupe discord provider proxy overrides 8 months ago
Tak Hoffman 53d3b8e92d
fix(ci): clean up discord harness types 8 months ago
Tak Hoffman a39e57a1bd
fix(ci): repair discord harness regressions 8 months ago
Peter Steinberger 61d29efc04 test: eliminate remaining clone seams 8 months ago
Peter Steinberger 236e041ef9 test: share discord monitor fixtures 8 months ago
pkuGeo e035a0d98c telegram: rebuild transport after stalled polling cycles 8 months ago
Peter Steinberger 2fc017788c test: reduce remaining clone seams 8 months ago
Tak Hoffman b20ae13c6b
fix(ci): repair discord message handler tests 8 months ago
Peter Steinberger be328e6cd1 test: dedupe extension channel fixtures 8 months ago
Peter Steinberger e8f9d68bec test: share cli command and discord test helpers 8 months ago
Tak Hoffman 53f15afade
fix(ci): repair discord regression tests 8 months ago
Peter Steinberger ab4de18982
fix: auto-load bundled plugin capabilities from config refs 8 months ago
Peter Steinberger 8f1716ae5a refactor: share slack and telegram action helpers 8 months ago
Peter Steinberger 4069844795 refactor: share discord outbound session routing 8 months ago
Peter Steinberger e774fe1286 refactor: share browser and sandbox helpers 8 months ago
Peter Steinberger c98addeadd test: share auto-reply typing helpers 8 months ago