linkshell-cli 0.2.109 → 0.2.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/src/runtime/acp/acp-client.d.ts +5 -0
- package/dist/cli/src/runtime/acp/acp-client.js +17 -0
- package/dist/cli/src/runtime/acp/acp-client.js.map +1 -1
- package/dist/cli/src/runtime/acp/agent-workspace.d.ts +3 -0
- package/dist/cli/src/runtime/acp/agent-workspace.js +445 -6
- package/dist/cli/src/runtime/acp/agent-workspace.js.map +1 -1
- package/dist/cli/src/runtime/acp/claude-sdk-client.d.ts +1 -0
- package/dist/cli/src/runtime/acp/claude-sdk-client.js.map +1 -1
- package/dist/cli/src/runtime/acp/claude-stream-json-client.d.ts +1 -0
- package/dist/cli/src/runtime/acp/claude-stream-json-client.js +2 -0
- package/dist/cli/src/runtime/acp/claude-stream-json-client.js.map +1 -1
- package/dist/cli/src/runtime/bridge-session.js +2 -1
- package/dist/cli/src/runtime/bridge-session.js.map +1 -1
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/shared-protocol/src/index.d.ts +1573 -448
- package/dist/shared-protocol/src/index.js +34 -0
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +3 -3
- package/src/runtime/acp/acp-client.ts +20 -0
- package/src/runtime/acp/agent-workspace.ts +521 -5
- package/src/runtime/acp/claude-sdk-client.ts +1 -0
- package/src/runtime/acp/claude-stream-json-client.ts +2 -0
- package/src/runtime/bridge-session.ts +2 -1
|
@@ -788,6 +788,7 @@ export class BridgeSession {
|
|
|
788
788
|
case "agent.v2.conversation.open":
|
|
789
789
|
case "agent.v2.conversation.list":
|
|
790
790
|
case "agent.v2.prompt":
|
|
791
|
+
case "agent.v2.command.execute":
|
|
791
792
|
case "agent.v2.cancel":
|
|
792
793
|
case "agent.v2.permission.respond":
|
|
793
794
|
case "agent.v2.structured_input.respond":
|
|
@@ -817,7 +818,7 @@ export class BridgeSession {
|
|
|
817
818
|
);
|
|
818
819
|
break;
|
|
819
820
|
}
|
|
820
|
-
if (envelope.type === "agent.v2.prompt") this.refreshAgentPermissionHooks();
|
|
821
|
+
if (envelope.type === "agent.v2.prompt" || envelope.type === "agent.v2.command.execute") this.refreshAgentPermissionHooks();
|
|
821
822
|
await this.agentWorkspace.handleEnvelope(envelope);
|
|
822
823
|
break;
|
|
823
824
|
}
|