Commit cbbde52
committed
refactor(acp): drop parse-command module, consolidate tool-format helpers
- Remove parse-command.ts in favor of logic consolidated in tool-format.ts
- Rewrite tool-format helpers (toolCallFromPart, toolResultFromPart,
permissionDisplayInfo, fenceWith) as the single source of truth for
tool call formatting
- Adapt agent.ts to dev's post-namespace-refactor layout (flat exports
with `export * as ACP` self-reexport, ProviderID/ModelID branded types,
Hash.fast, InstallationVersion, ConfigMCP.Info)
- Drop listSessions `unstable_` prefix to match SDK method name
- Guard sendUsageUpdate against missing providerID/modelID1 parent a54c878 commit cbbde52
6 files changed
Lines changed: 587 additions & 528 deletions
File tree
- packages/opencode
- src/acp
- test/acp
0 commit comments