agent-embassy 1.6.1 → 1.7.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/CHANGELOG.md +33 -0
- package/README.md +9 -9
- package/README.zh-CN.md +9 -9
- package/SECURITY.md +34 -77
- package/dist/src/gateway/acp-client.d.ts +117 -0
- package/dist/src/gateway/acp-client.js +382 -0
- package/dist/src/gateway/acp-client.js.map +1 -0
- package/dist/src/gateway/acp-provider.d.ts +65 -0
- package/dist/src/gateway/acp-provider.js +163 -0
- package/dist/src/gateway/acp-provider.js.map +1 -0
- package/dist/src/gateway/claude-helper-protocol.d.ts +3 -1
- package/dist/src/gateway/claude-helper-protocol.js +15 -5
- package/dist/src/gateway/claude-helper-protocol.js.map +1 -1
- package/dist/src/gateway/claude-helper-supervisor.d.ts +3 -1
- package/dist/src/gateway/claude-helper-supervisor.js +16 -2
- package/dist/src/gateway/claude-helper-supervisor.js.map +1 -1
- package/dist/src/gateway/claude-helper.js +4 -3
- package/dist/src/gateway/claude-helper.js.map +1 -1
- package/dist/src/gateway/claude-peer.d.ts +1 -1
- package/dist/src/gateway/claude-peer.js +11 -13
- package/dist/src/gateway/claude-peer.js.map +1 -1
- package/dist/src/gateway/claude-runtime.d.ts +0 -20
- package/dist/src/gateway/claude-runtime.js +6 -127
- package/dist/src/gateway/claude-runtime.js.map +1 -1
- package/dist/src/gateway/cli-copy.d.ts +1 -1
- package/dist/src/gateway/cli-copy.en.d.ts +3 -1
- package/dist/src/gateway/cli-copy.en.js +5 -2
- package/dist/src/gateway/cli-copy.en.js.map +1 -1
- package/dist/src/gateway/cli-copy.js +2 -0
- package/dist/src/gateway/cli-copy.js.map +1 -1
- package/dist/src/gateway/cli-copy.zh-CN.d.ts +3 -1
- package/dist/src/gateway/cli-copy.zh-CN.js +5 -2
- package/dist/src/gateway/cli-copy.zh-CN.js.map +1 -1
- package/dist/src/gateway/cli.d.ts +2 -2
- package/dist/src/gateway/cli.js +73 -6
- package/dist/src/gateway/cli.js.map +1 -1
- package/dist/src/gateway/codex-app-server.d.ts +5 -74
- package/dist/src/gateway/codex-app-server.js +9 -599
- package/dist/src/gateway/codex-app-server.js.map +1 -1
- package/dist/src/gateway/codex-doctor.d.ts +33 -0
- package/dist/src/gateway/codex-doctor.js +148 -0
- package/dist/src/gateway/codex-doctor.js.map +1 -0
- package/dist/src/gateway/codex-local-transport.d.ts +13 -26
- package/dist/src/gateway/codex-local-transport.js +31 -76
- package/dist/src/gateway/codex-local-transport.js.map +1 -1
- package/dist/src/gateway/compatibility.d.ts +6 -66
- package/dist/src/gateway/compatibility.js +14 -296
- package/dist/src/gateway/compatibility.js.map +1 -1
- package/dist/src/gateway/config.d.ts +9 -0
- package/dist/src/gateway/config.js +6 -2
- package/dist/src/gateway/config.js.map +1 -1
- package/dist/src/gateway/control.d.ts +16 -1
- package/dist/src/gateway/control.js +128 -59
- package/dist/src/gateway/control.js.map +1 -1
- package/dist/src/gateway/dashboard-copy.d.ts +1 -1
- package/dist/src/gateway/dashboard-copy.en.d.ts +19 -44
- package/dist/src/gateway/dashboard-copy.en.js +42 -67
- package/dist/src/gateway/dashboard-copy.en.js.map +1 -1
- package/dist/src/gateway/dashboard-copy.js +19 -44
- package/dist/src/gateway/dashboard-copy.js.map +1 -1
- package/dist/src/gateway/dashboard-copy.zh-CN.d.ts +19 -44
- package/dist/src/gateway/dashboard-copy.zh-CN.js +42 -67
- package/dist/src/gateway/dashboard-copy.zh-CN.js.map +1 -1
- package/dist/src/gateway/dashboard-model.d.ts +41 -76
- package/dist/src/gateway/dashboard-model.js +167 -257
- package/dist/src/gateway/dashboard-model.js.map +1 -1
- package/dist/src/gateway/dashboard.d.ts +0 -3
- package/dist/src/gateway/dashboard.js +77 -76
- package/dist/src/gateway/dashboard.js.map +1 -1
- package/dist/src/gateway/deepseek-detect.d.ts +7 -6
- package/dist/src/gateway/deepseek-detect.js +31 -115
- package/dist/src/gateway/deepseek-detect.js.map +1 -1
- package/dist/src/gateway/live-dashboard-app/app.js +175 -621
- package/dist/src/gateway/live-dashboard-command.js +2 -4
- package/dist/src/gateway/live-dashboard-command.js.map +1 -1
- package/dist/src/gateway/live-dashboard-http.d.ts +1 -2
- package/dist/src/gateway/live-dashboard-http.js +14 -15
- package/dist/src/gateway/live-dashboard-http.js.map +1 -1
- package/dist/src/gateway/progress-watch-machine.d.ts +1 -4
- package/dist/src/gateway/progress-watch-machine.js.map +1 -1
- package/dist/src/gateway/provenance-envelope.d.ts +3 -2
- package/dist/src/gateway/provenance-envelope.js +44 -11
- package/dist/src/gateway/provenance-envelope.js.map +1 -1
- package/dist/src/gateway/providers.d.ts +19 -85
- package/dist/src/gateway/providers.js +132 -835
- package/dist/src/gateway/providers.js.map +1 -1
- package/dist/src/gateway/server.d.ts +8 -9
- package/dist/src/gateway/server.js +63 -99
- package/dist/src/gateway/server.js.map +1 -1
- package/dist/src/gateway/service.d.ts +48 -51
- package/dist/src/gateway/service.js +748 -540
- package/dist/src/gateway/service.js.map +1 -1
- package/dist/src/gateway/store.d.ts +20 -29
- package/dist/src/gateway/store.js +306 -838
- package/dist/src/gateway/store.js.map +1 -1
- package/dist/src/gateway/types.d.ts +63 -54
- package/dist/src/gateway/types.js +51 -91
- package/dist/src/gateway/types.js.map +1 -1
- package/docs/CONFIGURATION.md +11 -10
- package/docs/CONFIGURATION.zh-CN.md +10 -9
- package/docs/DASHBOARD.md +4 -38
- package/docs/DASHBOARD.zh-CN.md +4 -2
- package/docs/GATEWAY-ARCHITECTURE.md +61 -119
- package/package.json +1 -1
- package/skills/embassy-peer/SKILL.md +6 -6
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { AlertSeverity, CompatibilityState, ConnectorHealth, DeliveryState, GatewayProvider, GatewayPublicSnapshot, MessageDirection, PublicAvailablePeerState, RouteCounters, RouteState } from "./types.js";
|
|
1
|
+
import type { AlertSeverity, ConnectorHealth, DeliveryState, GatewayProvider, GatewayPublicSnapshot, MessageDirection, PublicAvailablePeerState, RouteCounters, RouteState } from "./types.js";
|
|
3
2
|
export declare const DASHBOARD_MODEL_LIMITS: Readonly<{
|
|
4
3
|
readonly connectors: 16;
|
|
5
4
|
readonly availablePeers: 64;
|
|
6
5
|
readonly routes: 128;
|
|
7
|
-
readonly
|
|
6
|
+
readonly consentEdges: 64;
|
|
8
7
|
readonly messages: 50;
|
|
9
8
|
readonly messageEvents: 60;
|
|
10
9
|
readonly progressWatches: 64;
|
|
@@ -13,16 +12,15 @@ export declare const DASHBOARD_MODEL_LIMITS: Readonly<{
|
|
|
13
12
|
readonly alerts: 32;
|
|
14
13
|
}>;
|
|
15
14
|
export type DashboardTone = "good" | "info" | "warning" | "danger" | "quiet";
|
|
16
|
-
export type DashboardNextAction = "discover_claude" | "select_claude" | "pair_routes" | "restore_claude" | "repair_claude_inventory" | "register_codex" | "restore_codex" | "
|
|
15
|
+
export type DashboardNextAction = "discover_claude" | "select_claude" | "pair_routes" | "restore_claude" | "repair_claude_inventory" | "register_codex" | "restore_codex" | "none";
|
|
17
16
|
export type DashboardExchangeParty = Readonly<{
|
|
18
|
-
kind:
|
|
17
|
+
kind: GatewayProvider;
|
|
19
18
|
status: "ready" | "busy" | "waiting" | "missing" | "attention";
|
|
20
19
|
total: number;
|
|
21
20
|
ready: number;
|
|
22
21
|
selectable?: number | undefined;
|
|
23
22
|
countIsLowerBound: boolean;
|
|
24
23
|
primaryAlias?: string | undefined;
|
|
25
|
-
monitorOnly?: number | undefined;
|
|
26
24
|
nextAction: DashboardNextAction;
|
|
27
25
|
}>;
|
|
28
26
|
export type DashboardAttentionItem = Readonly<{
|
|
@@ -35,7 +33,7 @@ export type DashboardAttentionItem = Readonly<{
|
|
|
35
33
|
host?: string | undefined;
|
|
36
34
|
/** Present only for a threshold-stalled queue behind a busy Codex route. */
|
|
37
35
|
queueDepth?: number | undefined;
|
|
38
|
-
guidance: "reobserve_claude" | "reobserve_codex" | "codex_reactivation_required" | "consent_edge_unavailable" | "claude_not_observed" | "codex_stale" | "codex_app_reconnect_required" | "connector_offline" | "route_stale" | "queue_stalled" | "recipient_waiting_input" | "unconfirmed" | "degraded" | "codex_succession_busy" | "codex_succession_recovery" | "progress_watch" | "registry_empty" | "registry_rejected" | "
|
|
36
|
+
guidance: "reobserve_claude" | "reobserve_codex" | "codex_reactivation_required" | "consent_edge_unavailable" | "claude_not_observed" | "codex_stale" | "codex_app_reconnect_required" | "connector_offline" | "route_stale" | "queue_stalled" | "recipient_waiting_input" | "unconfirmed" | "degraded" | "codex_succession_busy" | "codex_succession_recovery" | "progress_watch" | "registry_empty" | "registry_rejected" | "generic";
|
|
39
37
|
}>;
|
|
40
38
|
export type DashboardProgressWatchRow = Readonly<{
|
|
41
39
|
conversationIdSuffix: string;
|
|
@@ -55,7 +53,7 @@ export type DashboardProgressWatchEventRow = Readonly<{
|
|
|
55
53
|
workerAlias: string;
|
|
56
54
|
kind: "opened" | "replaced" | "settled";
|
|
57
55
|
actor: "owner" | "worker" | "operator" | "gateway" | "unknown";
|
|
58
|
-
reason?: "done" | "untracked" | "idle_timeout" | "pair_removed" | "endpoint_retired" | "tracking_disabled" |
|
|
56
|
+
reason?: "done" | "untracked" | "idle_timeout" | "pair_removed" | "endpoint_retired" | "tracking_disabled" | undefined;
|
|
59
57
|
}>;
|
|
60
58
|
export type DashboardMessageEvent = Readonly<{
|
|
61
59
|
sequence: number;
|
|
@@ -97,11 +95,10 @@ export type DashboardPeerRow = Readonly<{
|
|
|
97
95
|
alias: string;
|
|
98
96
|
host: string;
|
|
99
97
|
state: PublicAvailablePeerState;
|
|
100
|
-
compatibility: CompatibilityState;
|
|
101
98
|
validated: boolean;
|
|
102
99
|
selected: boolean;
|
|
103
100
|
selectable: boolean;
|
|
104
|
-
selectionGuidance?: "alias_collision" | "session_collision" | "discovery_incomplete" | "
|
|
101
|
+
selectionGuidance?: "alias_collision" | "session_collision" | "discovery_incomplete" | "offline" | undefined;
|
|
105
102
|
lastSeenAt?: string | undefined;
|
|
106
103
|
safeErrorCode?: string | undefined;
|
|
107
104
|
}>;
|
|
@@ -111,7 +108,6 @@ export type DashboardRouteRow = Readonly<{
|
|
|
111
108
|
host: string;
|
|
112
109
|
enabled: boolean;
|
|
113
110
|
state: RouteState;
|
|
114
|
-
compatibility: CompatibilityState;
|
|
115
111
|
queueDepth: number;
|
|
116
112
|
oldestQueuedAt?: string | undefined;
|
|
117
113
|
queueAgeMs?: number | undefined;
|
|
@@ -119,58 +115,35 @@ export type DashboardRouteRow = Readonly<{
|
|
|
119
115
|
lastSeenAt?: string | undefined;
|
|
120
116
|
safeErrorCode?: string | undefined;
|
|
121
117
|
}>;
|
|
122
|
-
export type
|
|
123
|
-
|
|
124
|
-
|
|
118
|
+
export type DashboardConsentEndpoint = Readonly<{
|
|
119
|
+
alias: string;
|
|
120
|
+
provider: GatewayProvider;
|
|
121
|
+
}>;
|
|
122
|
+
export type DashboardConsentEdgeRow = Readonly<{
|
|
123
|
+
endpoints: readonly [DashboardConsentEndpoint, DashboardConsentEndpoint];
|
|
125
124
|
host: string;
|
|
126
125
|
state: "ready" | "degraded" | "unavailable";
|
|
127
126
|
counters: RouteCounters;
|
|
128
127
|
}>;
|
|
129
128
|
export type DashboardGraphFacts = Readonly<{
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
unpairedReadyCodex: number;
|
|
129
|
+
consentEdgeCount: number;
|
|
130
|
+
readyConsentEdgeCount: number;
|
|
131
|
+
consentEdgeCountIsLowerBound: boolean;
|
|
132
|
+
unpairedReadyByProvider: Readonly<Record<GatewayProvider, number>>;
|
|
135
133
|
}>;
|
|
136
134
|
export type DashboardConnectorRow = Readonly<{
|
|
137
135
|
provider: GatewayProvider;
|
|
138
136
|
host: string;
|
|
139
137
|
health: ConnectorHealth;
|
|
140
|
-
compatibility: CompatibilityState;
|
|
141
138
|
protocol?: string | undefined;
|
|
142
139
|
protocolVersion?: string | undefined;
|
|
143
140
|
lastSeenAt?: string | undefined;
|
|
141
|
+
codexDoctor?: Readonly<{
|
|
142
|
+
conditions: readonly ("split_brain" | "orphaned" | "attached" | "observation_stale" | "unknown")[];
|
|
143
|
+
}>;
|
|
144
144
|
safeErrorCode?: string | undefined;
|
|
145
145
|
registry?: DashboardRegistryObservation | undefined;
|
|
146
146
|
}>;
|
|
147
|
-
type DashboardDetectedCompatibilityCheckRow = Readonly<{
|
|
148
|
-
surface: CompatibilitySurface;
|
|
149
|
-
version: string;
|
|
150
|
-
testedVersion?: string;
|
|
151
|
-
supportedMajor?: string;
|
|
152
|
-
tier: CompatibilityTier;
|
|
153
|
-
writesCovered: boolean;
|
|
154
|
-
checkedAt: string;
|
|
155
|
-
failure?: string | undefined;
|
|
156
|
-
safeErrorCode?: string | undefined;
|
|
157
|
-
}>;
|
|
158
|
-
export type DashboardCompatibilityCheckRow = DashboardDetectedCompatibilityCheckRow | Readonly<{
|
|
159
|
-
surface: CompatibilitySurface;
|
|
160
|
-
notDetected: true;
|
|
161
|
-
version?: never;
|
|
162
|
-
testedVersion?: never;
|
|
163
|
-
supportedMajor?: never;
|
|
164
|
-
tier?: never;
|
|
165
|
-
writesCovered?: never;
|
|
166
|
-
checkedAt?: never;
|
|
167
|
-
failure?: never;
|
|
168
|
-
safeErrorCode?: never;
|
|
169
|
-
}>;
|
|
170
|
-
export type DashboardModelOptions = Readonly<{
|
|
171
|
-
/** Test-only surface inventory; production uses the declared registry. */
|
|
172
|
-
compatibilitySurfaceDefinitions?: readonly CompatibilitySurfaceDefinition[];
|
|
173
|
-
}>;
|
|
174
147
|
export type DashboardRegistryObservation = Readonly<{
|
|
175
148
|
entriesScanned: number;
|
|
176
149
|
parseableRecords: number;
|
|
@@ -185,7 +158,7 @@ export type DashboardOmissions = Readonly<{
|
|
|
185
158
|
connectors: number;
|
|
186
159
|
availablePeers: number;
|
|
187
160
|
routes: number;
|
|
188
|
-
|
|
161
|
+
consentEdges: number;
|
|
189
162
|
progressWatches: number;
|
|
190
163
|
upstreamProgressWatchEvents: number;
|
|
191
164
|
progressWatchEvents: number;
|
|
@@ -198,14 +171,13 @@ export type DashboardOmissions = Readonly<{
|
|
|
198
171
|
activityEvents: number;
|
|
199
172
|
}>;
|
|
200
173
|
export type DashboardViewModel = Readonly<{
|
|
201
|
-
schemaVersion:
|
|
174
|
+
schemaVersion: 2;
|
|
202
175
|
generatedAt?: string | undefined;
|
|
203
176
|
inboundMode: "paired" | "open";
|
|
204
177
|
health: ConnectorHealth;
|
|
205
178
|
overall: "ready" | "setup" | "attention";
|
|
206
179
|
exchange: Readonly<{
|
|
207
|
-
|
|
208
|
-
codex: DashboardExchangeParty;
|
|
180
|
+
parties: readonly DashboardExchangeParty[];
|
|
209
181
|
queuedMessages: number;
|
|
210
182
|
queueCountIsLowerBound: boolean;
|
|
211
183
|
oldestQueueAgeMs?: number | undefined;
|
|
@@ -224,12 +196,11 @@ export type DashboardViewModel = Readonly<{
|
|
|
224
196
|
brokerActivity: readonly DashboardActivityEventRow[];
|
|
225
197
|
peers: readonly DashboardPeerRow[];
|
|
226
198
|
routes: readonly DashboardRouteRow[];
|
|
227
|
-
|
|
199
|
+
consentEdges: readonly DashboardConsentEdgeRow[];
|
|
228
200
|
watches: readonly DashboardProgressWatchRow[];
|
|
229
201
|
watchEvents: readonly DashboardProgressWatchEventRow[];
|
|
230
202
|
graph: DashboardGraphFacts;
|
|
231
203
|
connectors: readonly DashboardConnectorRow[];
|
|
232
|
-
compatibilityChecks: readonly DashboardCompatibilityCheckRow[];
|
|
233
204
|
accounting: GatewayPublicSnapshot["accounting"];
|
|
234
205
|
deadlinePressure?: GatewayPublicSnapshot["deadlinePressure"];
|
|
235
206
|
omissions: DashboardOmissions;
|
|
@@ -238,27 +209,23 @@ export type LiveDashboardViewModel = Omit<DashboardViewModel, "activity"> & Read
|
|
|
238
209
|
activity: readonly LiveDashboardMessageGroup[];
|
|
239
210
|
}>;
|
|
240
211
|
export type DashboardChipKind = "positive" | "qualified" | "active" | "progress" | "warning" | "indeterminate" | "failure" | "inert" | "unknown";
|
|
241
|
-
export type DashboardSemanticDomain = "delivery" | "route" | "peer" | "health" | "
|
|
212
|
+
export type DashboardSemanticDomain = "delivery" | "route" | "peer" | "health" | "overall" | "party" | "severity" | "connection";
|
|
242
213
|
/** JSON-safe semantics embedded once in the live dashboard boot payload. */
|
|
243
214
|
export declare const DASHBOARD_SEMANTICS: Readonly<{
|
|
244
215
|
readonly statePresentation: {
|
|
245
|
-
readonly delivery: Readonly<Record<"
|
|
246
|
-
tone: DashboardTone;
|
|
247
|
-
chip: DashboardChipKind;
|
|
248
|
-
}>>>;
|
|
249
|
-
readonly route: Readonly<Record<"incompatible" | "offline" | "stale" | "idle" | "busy" | "awaiting_approval" | "disabled", Readonly<{
|
|
216
|
+
readonly delivery: Readonly<Record<"delivered" | "failed" | "cancelled" | "queued" | "duplicate" | "dispatching" | "transport_written" | "held" | "unconfirmed" | "ambiguous" | "expired" | "abandoned" | "rejected", Readonly<{
|
|
250
217
|
tone: DashboardTone;
|
|
251
218
|
chip: DashboardChipKind;
|
|
252
219
|
}>>>;
|
|
253
|
-
readonly
|
|
220
|
+
readonly route: Readonly<Record<"offline" | "stale" | "idle" | "busy" | "awaiting_approval" | "disabled", Readonly<{
|
|
254
221
|
tone: DashboardTone;
|
|
255
222
|
chip: DashboardChipKind;
|
|
256
223
|
}>>>;
|
|
257
|
-
readonly
|
|
224
|
+
readonly peer: Readonly<Record<"offline" | "idle" | "busy" | "awaiting_approval", Readonly<{
|
|
258
225
|
tone: DashboardTone;
|
|
259
226
|
chip: DashboardChipKind;
|
|
260
227
|
}>>>;
|
|
261
|
-
readonly
|
|
228
|
+
readonly health: Readonly<Record<"offline" | "connecting" | "healthy" | "degraded", Readonly<{
|
|
262
229
|
tone: DashboardTone;
|
|
263
230
|
chip: DashboardChipKind;
|
|
264
231
|
}>>>;
|
|
@@ -266,22 +233,22 @@ export declare const DASHBOARD_SEMANTICS: Readonly<{
|
|
|
266
233
|
tone: DashboardTone;
|
|
267
234
|
chip: DashboardChipKind;
|
|
268
235
|
}>>>;
|
|
269
|
-
readonly party: Readonly<Record<"busy" | "
|
|
236
|
+
readonly party: Readonly<Record<"busy" | "ready" | "waiting" | "missing" | "attention", Readonly<{
|
|
270
237
|
tone: DashboardTone;
|
|
271
238
|
chip: DashboardChipKind;
|
|
272
239
|
}>>>;
|
|
273
|
-
readonly severity: Readonly<Record<"
|
|
240
|
+
readonly severity: Readonly<Record<"error" | "info" | "warning", Readonly<{
|
|
274
241
|
tone: DashboardTone;
|
|
275
242
|
chip: DashboardChipKind;
|
|
276
243
|
}>>>;
|
|
277
|
-
readonly connection: Readonly<Record<"
|
|
244
|
+
readonly connection: Readonly<Record<"connected" | "connecting" | "unavailable" | "paused" | "capacity" | "disconnected" | "stopped", Readonly<{
|
|
278
245
|
tone: DashboardTone;
|
|
279
246
|
chip: DashboardChipKind;
|
|
280
247
|
}>>>;
|
|
281
248
|
};
|
|
282
|
-
readonly
|
|
249
|
+
readonly deliveryChipByTargetProvider: {
|
|
283
250
|
readonly delivered: {
|
|
284
|
-
readonly
|
|
251
|
+
readonly claude: "qualified";
|
|
285
252
|
};
|
|
286
253
|
};
|
|
287
254
|
readonly deliveryChipBySafeErrorCode: {
|
|
@@ -313,7 +280,6 @@ export declare const DASHBOARD_SEMANTICS: Readonly<{
|
|
|
313
280
|
readonly progress_watch: "progressWatch";
|
|
314
281
|
readonly registry_empty: "registryEmpty";
|
|
315
282
|
readonly registry_rejected: "registryRejected";
|
|
316
|
-
readonly provider_incompatible: "providerIncompatible";
|
|
317
283
|
readonly generic: "generic";
|
|
318
284
|
};
|
|
319
285
|
readonly nextActionCopyKeys: {
|
|
@@ -324,7 +290,6 @@ export declare const DASHBOARD_SEMANTICS: Readonly<{
|
|
|
324
290
|
readonly repair_claude_inventory: "next.repairClaude";
|
|
325
291
|
readonly register_codex: "next.registerCodex";
|
|
326
292
|
readonly restore_codex: "next.restoreCodex";
|
|
327
|
-
readonly review_compatibility: "next.reviewCompatibility";
|
|
328
293
|
readonly none: "next.none";
|
|
329
294
|
};
|
|
330
295
|
readonly attentionCommands: {
|
|
@@ -346,7 +311,6 @@ export declare const DASHBOARD_SEMANTICS: Readonly<{
|
|
|
346
311
|
readonly progress_watch: "embassy status";
|
|
347
312
|
readonly registry_empty: "embassy refresh-dashboard";
|
|
348
313
|
readonly registry_rejected: "embassy status";
|
|
349
|
-
readonly provider_incompatible: "embassy refresh-dashboard";
|
|
350
314
|
readonly generic: "embassy status";
|
|
351
315
|
};
|
|
352
316
|
readonly attentionCommandFallbacks: {
|
|
@@ -368,9 +332,11 @@ export declare const DASHBOARD_SEMANTICS: Readonly<{
|
|
|
368
332
|
readonly abandoned: "activity.meaning.abandoned.generic";
|
|
369
333
|
readonly rejected: "activity.meaning.rejected";
|
|
370
334
|
};
|
|
371
|
-
readonly
|
|
372
|
-
readonly
|
|
373
|
-
readonly
|
|
335
|
+
readonly deliveryMeaningByTargetProvider: {
|
|
336
|
+
readonly claude: "activity.meaning.delivered.toClaude";
|
|
337
|
+
readonly codex: "activity.meaning.delivered.toCodex";
|
|
338
|
+
readonly deepseek: "activity.meaning.delivered.toDeepSeek";
|
|
339
|
+
readonly grok: "activity.meaning.delivered.toGrok";
|
|
374
340
|
};
|
|
375
341
|
readonly deliveryMeaningBySafeErrorCode: {
|
|
376
342
|
readonly SENDER_NOT_PAIRED: "activity.meaning.senderNotPaired";
|
|
@@ -387,6 +353,5 @@ export declare function deliveryMeaningKey(state: string, direction?: MessageDir
|
|
|
387
353
|
export declare function guidanceCopyKey(guidance: DashboardAttentionItem["guidance"]): string;
|
|
388
354
|
export declare function nextActionCopyKey(action: DashboardNextAction): string;
|
|
389
355
|
export declare function attentionCommand(item: DashboardAttentionItem): string;
|
|
390
|
-
export declare function buildDashboardViewModel(snapshot: GatewayPublicSnapshot
|
|
391
|
-
export declare function buildLiveDashboardViewModel(snapshot: GatewayPublicSnapshot
|
|
392
|
-
export {};
|
|
356
|
+
export declare function buildDashboardViewModel(snapshot: GatewayPublicSnapshot): DashboardViewModel;
|
|
357
|
+
export declare function buildLiveDashboardViewModel(snapshot: GatewayPublicSnapshot): LiveDashboardViewModel;
|