linkshell-cli 0.2.126 → 0.3.1
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/index.js +0 -0
- package/dist/cli/src/runtime/acp/agent-workspace.d.ts +1 -1
- package/dist/cli/src/runtime/acp/agent-workspace.js +9 -9
- package/dist/cli/src/runtime/acp/agent-workspace.js.map +1 -1
- package/dist/cli/src/runtime/bridge-session.d.ts +0 -1
- package/dist/cli/src/runtime/bridge-session.js +30 -95
- package/dist/cli/src/runtime/bridge-session.js.map +1 -1
- package/dist/cli/src/runtime/screen-fallback.d.ts +1 -1
- package/dist/cli/src/runtime/screen-fallback.js +4 -4
- package/dist/cli/src/runtime/screen-fallback.js.map +1 -1
- package/dist/cli/src/runtime/screen-share.d.ts +1 -1
- package/dist/cli/src/runtime/screen-share.js +7 -7
- package/dist/cli/src/runtime/screen-share.js.map +1 -1
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/dist/shared-protocol/src/index.d.ts +4034 -5909
- package/dist/shared-protocol/src/index.js +2 -83
- package/dist/shared-protocol/src/index.js.map +1 -1
- package/package.json +12 -12
- package/src/runtime/acp/agent-workspace.ts +10 -10
- package/src/runtime/bridge-session.ts +29 -102
- package/src/runtime/screen-fallback.ts +5 -5
- package/src/runtime/screen-share.ts +8 -8
- package/dist/cli/src/runtime/acp/agent-session.d.ts +0 -62
- package/dist/cli/src/runtime/acp/agent-session.js +0 -1075
- package/dist/cli/src/runtime/acp/agent-session.js.map +0 -1
- package/src/runtime/acp/agent-session.ts +0 -1180
package/dist/cli/src/index.js
CHANGED
|
File without changes
|
|
@@ -1001,7 +1001,7 @@ export class AgentWorkspaceProxy {
|
|
|
1001
1001
|
const conversations = [...this.conversations.values()].filter((conversation) => payload.includeArchived ? true : !conversation.archived);
|
|
1002
1002
|
this.input.send(createEnvelope({
|
|
1003
1003
|
type: "agent.v2.conversation.list.result",
|
|
1004
|
-
|
|
1004
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
1005
1005
|
payload: { conversations },
|
|
1006
1006
|
}));
|
|
1007
1007
|
break;
|
|
@@ -1263,7 +1263,7 @@ export class AgentWorkspaceProxy {
|
|
|
1263
1263
|
const anyPermission = providers.some((p) => p.supportsPermission);
|
|
1264
1264
|
this.input.send(createEnvelope({
|
|
1265
1265
|
type: "agent.v2.capabilities",
|
|
1266
|
-
|
|
1266
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
1267
1267
|
payload: {
|
|
1268
1268
|
enabled: anyEnabled,
|
|
1269
1269
|
provider: this.input.availableProviders[0] ?? "codex",
|
|
@@ -1304,7 +1304,7 @@ export class AgentWorkspaceProxy {
|
|
|
1304
1304
|
this.activeConversationId = existingConversation.id;
|
|
1305
1305
|
this.input.send(createEnvelope({
|
|
1306
1306
|
type: "agent.v2.conversation.opened",
|
|
1307
|
-
|
|
1307
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
1308
1308
|
payload: {
|
|
1309
1309
|
conversation: existingConversation,
|
|
1310
1310
|
snapshot: this.timelines.get(existingConversation.id) ?? [],
|
|
@@ -1342,7 +1342,7 @@ export class AgentWorkspaceProxy {
|
|
|
1342
1342
|
this.timelines.set(conversation.id, this.timelines.get(conversation.id) ?? []);
|
|
1343
1343
|
this.input.send(createEnvelope({
|
|
1344
1344
|
type: "agent.v2.conversation.opened",
|
|
1345
|
-
|
|
1345
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
1346
1346
|
payload: { conversation, snapshot: this.timelines.get(conversation.id) ?? [] },
|
|
1347
1347
|
}));
|
|
1348
1348
|
return conversation;
|
|
@@ -1381,7 +1381,7 @@ export class AgentWorkspaceProxy {
|
|
|
1381
1381
|
});
|
|
1382
1382
|
this.input.send(createEnvelope({
|
|
1383
1383
|
type: "agent.v2.conversation.opened",
|
|
1384
|
-
|
|
1384
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
1385
1385
|
payload: { conversation, snapshot: this.timelines.get(conversation.id) ?? [] },
|
|
1386
1386
|
}));
|
|
1387
1387
|
return conversation;
|
|
@@ -2291,7 +2291,7 @@ export class AgentWorkspaceProxy {
|
|
|
2291
2291
|
this.upsertItem(conversationId, item);
|
|
2292
2292
|
this.input.send(createEnvelope({
|
|
2293
2293
|
type: "agent.v2.permission.request",
|
|
2294
|
-
|
|
2294
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
2295
2295
|
payload: { conversationId, ...permission, item },
|
|
2296
2296
|
}));
|
|
2297
2297
|
if (!waitForResponse)
|
|
@@ -2529,14 +2529,14 @@ export class AgentWorkspaceProxy {
|
|
|
2529
2529
|
const conversation = this.conversations.get(conversationId);
|
|
2530
2530
|
this.input.send(createEnvelope({
|
|
2531
2531
|
type: "agent.v2.event",
|
|
2532
|
-
|
|
2532
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
2533
2533
|
payload: { conversationId, conversation, item },
|
|
2534
2534
|
}));
|
|
2535
2535
|
}
|
|
2536
2536
|
emitConversation(conversation) {
|
|
2537
2537
|
this.input.send(createEnvelope({
|
|
2538
2538
|
type: "agent.v2.event",
|
|
2539
|
-
|
|
2539
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
2540
2540
|
payload: { conversationId: conversation.id, conversation },
|
|
2541
2541
|
}));
|
|
2542
2542
|
}
|
|
@@ -2577,7 +2577,7 @@ export class AgentWorkspaceProxy {
|
|
|
2577
2577
|
: [...this.timelines.values()].flat();
|
|
2578
2578
|
this.input.send(createEnvelope({
|
|
2579
2579
|
type: "agent.v2.snapshot",
|
|
2580
|
-
|
|
2580
|
+
hostDeviceId: this.input.hostDeviceId,
|
|
2581
2581
|
payload: {
|
|
2582
2582
|
conversations,
|
|
2583
2583
|
activeConversationId: this.activeConversationId,
|