Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Commit 6bebc6b

Browse files
authored
Merge pull request #132 from Scoteezy/feat/acp-integration
2 parents 5d3f1a6 + 3960d02 commit 6bebc6b

11 files changed

Lines changed: 1014 additions & 563 deletions

File tree

src/agent/acp/AcpBackend.ts

Lines changed: 206 additions & 470 deletions
Large diffs are not rendered by default.

src/agent/acp/index.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,26 @@
1212
// Core ACP backend
1313
export { AcpBackend, type AcpBackendOptions, type AcpPermissionHandler } from './AcpBackend';
1414

15+
// Session update handlers (for testing and extension)
16+
export {
17+
type SessionUpdate,
18+
type HandlerContext,
19+
type HandlerResult,
20+
DEFAULT_IDLE_TIMEOUT_MS,
21+
DEFAULT_TOOL_CALL_TIMEOUT_MS,
22+
parseArgsFromContent,
23+
extractErrorDetail,
24+
formatDuration,
25+
formatDurationMinutes,
26+
handleAgentMessageChunk,
27+
handleAgentThoughtChunk,
28+
handleToolCallUpdate,
29+
handleToolCall,
30+
handleLegacyMessageChunk,
31+
handlePlanUpdate,
32+
handleThinkingUpdate,
33+
} from './sessionUpdateHandlers';
34+
1535
// Factory helper for generic ACP backends
1636
export { createAcpBackend, type CreateAcpBackendOptions } from './createAcpBackend';
1737

0 commit comments

Comments
 (0)