@xenosystem/agent-interface-host 0.1.193 → 0.1.194
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/account/accountWorkforceOperationState.d.ts +5 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/remote/RemoteControlService.d.ts +35 -2
- package/dist/remote/RemoteControlService.d.ts.map +1 -1
- package/dist/remote/RemoteControlService.js +135 -2
- package/dist/remote/RemoteControlService.js.map +1 -1
- package/dist/remote/RemoteDeviceBridge.d.ts +6 -0
- package/dist/remote/RemoteDeviceBridge.d.ts.map +1 -1
- package/dist/remote/RemoteDeviceBridge.js +17 -4
- package/dist/remote/RemoteDeviceBridge.js.map +1 -1
- package/dist/remote/remoteScope.d.ts +48 -0
- package/dist/remote/remoteScope.d.ts.map +1 -0
- package/dist/remote/remoteScope.js +151 -0
- package/dist/remote/remoteScope.js.map +1 -0
- package/package.json +6 -6
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
const record = (value) => (typeof value === 'object' && value !== null && !Array.isArray(value) ? value : {});
|
|
2
|
+
const text = (value) => (typeof value === 'string' && value.length > 0 ? value : undefined);
|
|
3
|
+
/** The chat is named in the input as `conversationId`. */
|
|
4
|
+
const BY_CONVERSATION_ID = new Set([
|
|
5
|
+
'runtime.events.list', 'provider.lanes.list', 'provider.lanes.get', 'provider.lanes.select', 'turn.queue.list',
|
|
6
|
+
'conversation.open', 'conversation.resume', 'conversation.transcript', 'conversation.annotate', 'conversation.attachment.read',
|
|
7
|
+
'conversation.branch.select', 'conversation.fork', 'conversation.compact',
|
|
8
|
+
'turn.start', 'turn.resume', 'turn.cancel', 'turn.steer', 'turn.queue', 'turn.queue.drop', 'context.inject',
|
|
9
|
+
]);
|
|
10
|
+
/** About the PC or the agent in general, not about any one chat. The answers name no chat. */
|
|
11
|
+
const NOT_ABOUT_A_CHAT = new Set([
|
|
12
|
+
'host.handshake', 'providers.list', 'surface.tools.list', 'state.workspaces.load', 'permissions.rules.list',
|
|
13
|
+
'skills.list', 'skills.get', 'hooks.list', 'approvals.list',
|
|
14
|
+
// The PC's models: which are there, loading one, and running text the device itself sends. None of it names a chat,
|
|
15
|
+
// and without it a device cannot tell that the PC's local model is ready, so the box to type in stays locked.
|
|
16
|
+
'inference.request',
|
|
17
|
+
]);
|
|
18
|
+
export const REMOTE_NOT_SHARED = 'That chat is not shared with your other devices. Type /remote in it on the PC to share it.';
|
|
19
|
+
/** Why this request reaches outside the shared chats, or undefined. Run after `remoteRequestRefusal`. */
|
|
20
|
+
export function remoteScopeRefusal(method, input, scope) {
|
|
21
|
+
if (scope.all())
|
|
22
|
+
return undefined;
|
|
23
|
+
if (NOT_ABOUT_A_CHAT.has(method))
|
|
24
|
+
return undefined;
|
|
25
|
+
// The chat list is answered, then cut down to the shared chats by `scopeRemoteResult`.
|
|
26
|
+
if (method === 'state.conversations.load')
|
|
27
|
+
return undefined;
|
|
28
|
+
const body = record(input);
|
|
29
|
+
if (BY_CONVERSATION_ID.has(method)) {
|
|
30
|
+
const id = text(body.conversationId);
|
|
31
|
+
return id && scope.shared(id) ? undefined : REMOTE_NOT_SHARED;
|
|
32
|
+
}
|
|
33
|
+
if (method === 'state.conversations.save') {
|
|
34
|
+
const id = text(record(body.conversation).id);
|
|
35
|
+
return id && scope.shared(id) ? undefined : REMOTE_NOT_SHARED;
|
|
36
|
+
}
|
|
37
|
+
if (method === 'elicitation.permission.answer') {
|
|
38
|
+
const id = scope.conversationOf({ permissionId: text(body.permissionId) });
|
|
39
|
+
return id && scope.shared(id) ? undefined : REMOTE_NOT_SHARED;
|
|
40
|
+
}
|
|
41
|
+
return 'That is not available for a shared chat from another device.';
|
|
42
|
+
}
|
|
43
|
+
/** The answer as a device may see it: the chat list holds only the shared chats. */
|
|
44
|
+
export function scopeRemoteResult(method, result, scope) {
|
|
45
|
+
if (scope.all() || method !== 'state.conversations.load')
|
|
46
|
+
return result;
|
|
47
|
+
const body = record(result);
|
|
48
|
+
if (!Array.isArray(body.conversations))
|
|
49
|
+
return { ...body, conversations: [] };
|
|
50
|
+
return {
|
|
51
|
+
...body,
|
|
52
|
+
conversations: body.conversations.filter((conversation) => {
|
|
53
|
+
const id = text(record(conversation).id);
|
|
54
|
+
return Boolean(id && scope.shared(id));
|
|
55
|
+
}),
|
|
56
|
+
// The ids of chats a device cannot see are not its business either.
|
|
57
|
+
recoveredConversationIds: (Array.isArray(body.recoveredConversationIds) ? body.recoveredConversationIds : []).filter((id) => typeof id === 'string' && scope.shared(id)),
|
|
58
|
+
corruptConversationFiles: [],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/** Events that are this PC's own business, for its own windows: never sent to a device, whatever is shared. */
|
|
62
|
+
const NEVER_TO_A_DEVICE = new Set(['remote.status.changed', 'remote.host.event', 'account.state.changed', 'host.retirement.requested']);
|
|
63
|
+
/** Events about the agent in general, which name no chat. */
|
|
64
|
+
const GENERAL_EVENTS = new Set(['host.ready', 'provider.catalog.changed', 'state.workspaces.changed']);
|
|
65
|
+
/** The chat an event is about, by where each event type carries it. undefined: this event names no chat we can find. */
|
|
66
|
+
export function conversationOfEvent(event, scope) {
|
|
67
|
+
const payload = record(event.payload);
|
|
68
|
+
switch (event.type) {
|
|
69
|
+
case 'runtime.event.appended':
|
|
70
|
+
return text(record(payload.event).conversationId);
|
|
71
|
+
case 'runtime.event.transient':
|
|
72
|
+
case 'turn.execution.completed':
|
|
73
|
+
case 'turn.execution.failed':
|
|
74
|
+
case 'turn.execution.abandoned':
|
|
75
|
+
return text(payload.conversationId);
|
|
76
|
+
case 'elicitation.permission.requested':
|
|
77
|
+
case 'elicitation.ask-user.requested':
|
|
78
|
+
case 'task.changed':
|
|
79
|
+
return text(payload.conversationId) ?? scope.conversationOf({ requestId: text(payload.requestId) });
|
|
80
|
+
default:
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/** The event as a device may see it, or null to drop it. */
|
|
85
|
+
export function scopeRemoteEvent(event, scope) {
|
|
86
|
+
if (NEVER_TO_A_DEVICE.has(event.type))
|
|
87
|
+
return null;
|
|
88
|
+
if (scope.all())
|
|
89
|
+
return event;
|
|
90
|
+
if (GENERAL_EVENTS.has(event.type))
|
|
91
|
+
return event;
|
|
92
|
+
if (event.type === 'state.conversations.changed') {
|
|
93
|
+
const payload = record(event.payload);
|
|
94
|
+
const ids = (Array.isArray(payload.conversationIds) ? payload.conversationIds : []).filter((id) => typeof id === 'string' && scope.shared(id));
|
|
95
|
+
if (ids.length === 0)
|
|
96
|
+
return null;
|
|
97
|
+
const { forkedFrom, ...rest } = payload;
|
|
98
|
+
return { ...event, payload: { ...rest, conversationIds: ids, ...(typeof forkedFrom === 'string' && scope.shared(forkedFrom) ? { forkedFrom } : {}) } };
|
|
99
|
+
}
|
|
100
|
+
const id = conversationOfEvent(event, scope);
|
|
101
|
+
return id && scope.shared(id) ? event : null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Which chat each turn and each permission prompt belongs to, learned from the host's own events as they pass. A
|
|
105
|
+
* permission prompt names only its turn, and an answer names only the prompt, so without this a device could not be
|
|
106
|
+
* shown a prompt from a shared chat, or kept from answering one in another chat.
|
|
107
|
+
*/
|
|
108
|
+
export class RemoteRequestIndex {
|
|
109
|
+
limit;
|
|
110
|
+
requests = new Map();
|
|
111
|
+
permissions = new Map();
|
|
112
|
+
constructor(limit = 5_000) {
|
|
113
|
+
this.limit = limit;
|
|
114
|
+
}
|
|
115
|
+
remember(map, key, conversationId) {
|
|
116
|
+
if (!key || !conversationId)
|
|
117
|
+
return;
|
|
118
|
+
map.delete(key);
|
|
119
|
+
map.set(key, conversationId);
|
|
120
|
+
if (map.size > this.limit)
|
|
121
|
+
map.delete(map.keys().next().value);
|
|
122
|
+
}
|
|
123
|
+
/** A turn this PC is starting: known before any of its events. */
|
|
124
|
+
turn(requestId, conversationId) {
|
|
125
|
+
this.remember(this.requests, requestId, conversationId);
|
|
126
|
+
}
|
|
127
|
+
observe(event) {
|
|
128
|
+
const payload = record(event.payload);
|
|
129
|
+
if (event.type === 'runtime.event.appended') {
|
|
130
|
+
const envelope = record(payload.event);
|
|
131
|
+
this.remember(this.requests, text(envelope.requestId), text(envelope.conversationId));
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
if (event.type === 'runtime.event.transient' || event.type.startsWith('turn.execution.')) {
|
|
135
|
+
this.remember(this.requests, text(payload.requestId), text(payload.conversationId));
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (event.type === 'elicitation.permission.requested') {
|
|
139
|
+
const conversationId = text(payload.conversationId) ?? this.requests.get(text(payload.requestId) ?? '');
|
|
140
|
+
this.remember(this.permissions, text(payload.permissionId), conversationId);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
conversationOf(key) {
|
|
144
|
+
if (key.permissionId)
|
|
145
|
+
return this.permissions.get(key.permissionId);
|
|
146
|
+
if (key.requestId)
|
|
147
|
+
return this.requests.get(key.requestId);
|
|
148
|
+
return undefined;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=remoteScope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remoteScope.js","sourceRoot":"","sources":["../../src/remote/remoteScope.ts"],"names":[],"mappings":"AAkBA,MAAM,MAAM,GAAG,CAAC,KAAc,EAA2B,EAAE,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAgC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;AAC1K,MAAM,IAAI,GAAG,CAAC,KAAc,EAAsB,EAAE,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC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
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"@xenosystem/capability-sdk": "0.1.1",
|
|
38
38
|
"@xenosystem/primitives": "0.6.0",
|
|
39
39
|
"zod": "4.6.7",
|
|
40
|
-
"@xenosystem/agent-interface-
|
|
41
|
-
"@xenosystem/
|
|
42
|
-
"@xenosystem/
|
|
40
|
+
"@xenosystem/agent-interface-contract": "0.1.194",
|
|
41
|
+
"@xenosystem/capability-mcp": "0.1.194",
|
|
42
|
+
"@xenosystem/agent-interface-core": "0.1.194"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
45
|
"@xenosystem/acp-agent": "0.2.25",
|
|
46
|
-
"@xenosystem/agent-interface-client": "0.1.
|
|
46
|
+
"@xenosystem/agent-interface-client": "0.1.194"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@xeno-corporation/account": "0.4.2",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"better-sqlite3": "13.0.3",
|
|
67
67
|
"fflate": "^0.8.3",
|
|
68
68
|
"node-pty": "^1.1.0",
|
|
69
|
-
"@xenosystem/agent-interface-client": "0.1.
|
|
69
|
+
"@xenosystem/agent-interface-client": "0.1.194"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {}
|
|
72
72
|
}
|