agent-embassy 1.9.5 → 3.0.0
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 +87 -0
- package/CONTRIBUTING.md +19 -34
- package/README.md +110 -221
- package/SECURITY.md +55 -89
- package/dist/src/errors.d.ts +10 -1
- package/dist/src/errors.js +3 -1
- package/dist/src/errors.js.map +1 -1
- package/dist/src/gateway/claude-helper-protocol.d.ts +9 -12
- package/dist/src/gateway/claude-helper-protocol.js +15 -13
- package/dist/src/gateway/claude-helper-protocol.js.map +1 -1
- package/dist/src/gateway/claude-helper-supervisor.d.ts +2 -6
- package/dist/src/gateway/claude-helper-supervisor.js +10 -9
- package/dist/src/gateway/claude-helper-supervisor.js.map +1 -1
- package/dist/src/gateway/claude-helper.js +18 -10
- package/dist/src/gateway/claude-helper.js.map +1 -1
- package/dist/src/gateway/claude-peer.d.ts +0 -3
- package/dist/src/gateway/claude-peer.js +6 -18
- package/dist/src/gateway/claude-peer.js.map +1 -1
- package/dist/src/gateway/cli.d.ts +18 -13
- package/dist/src/gateway/cli.js +942 -298
- package/dist/src/gateway/cli.js.map +1 -1
- package/dist/src/gateway/codex-local-transport.d.ts +1 -1
- package/dist/src/gateway/codex-local-transport.js +2 -2
- package/dist/src/gateway/codex-local-transport.js.map +1 -1
- package/dist/src/gateway/codex-socket-holder.d.ts +26 -0
- package/dist/src/gateway/codex-socket-holder.js +76 -0
- package/dist/src/gateway/codex-socket-holder.js.map +1 -0
- package/dist/src/gateway/codex-stateless-transport.js +1 -1
- package/dist/src/gateway/codex-stateless-transport.js.map +1 -1
- package/dist/src/gateway/config.d.ts +5 -13
- package/dist/src/gateway/config.js +7 -19
- package/dist/src/gateway/config.js.map +1 -1
- package/dist/src/gateway/control.d.ts +55 -108
- package/dist/src/gateway/control.js +95 -222
- package/dist/src/gateway/control.js.map +1 -1
- package/dist/src/gateway/federation-nodes.d.ts +29 -3
- package/dist/src/gateway/federation-nodes.js +200 -15
- package/dist/src/gateway/federation-nodes.js.map +1 -1
- package/dist/src/gateway/peer-client.d.ts +4 -3
- package/dist/src/gateway/peer-client.js +22 -13
- package/dist/src/gateway/peer-client.js.map +1 -1
- package/dist/src/gateway/peer-protocol.d.ts +8 -11
- package/dist/src/gateway/peer-protocol.js +5 -12
- package/dist/src/gateway/peer-protocol.js.map +1 -1
- package/dist/src/gateway/provenance-envelope.d.ts +0 -1
- package/dist/src/gateway/provenance-envelope.js +4 -19
- package/dist/src/gateway/provenance-envelope.js.map +1 -1
- package/dist/src/gateway/providers.d.ts +10 -7
- package/dist/src/gateway/providers.js +21 -28
- package/dist/src/gateway/providers.js.map +1 -1
- package/dist/src/gateway/server.d.ts +4 -14
- package/dist/src/gateway/server.js +33 -59
- package/dist/src/gateway/server.js.map +1 -1
- package/dist/src/gateway/service-agent.d.ts +187 -0
- package/dist/src/gateway/service-agent.js +758 -0
- package/dist/src/gateway/service-agent.js.map +1 -0
- package/dist/src/gateway/service.d.ts +117 -32
- package/dist/src/gateway/service.js +525 -576
- package/dist/src/gateway/service.js.map +1 -1
- package/dist/src/gateway/status-view.d.ts +167 -0
- package/dist/src/gateway/status-view.js +488 -0
- package/dist/src/gateway/status-view.js.map +1 -0
- package/dist/src/gateway/store.d.ts +103 -21
- package/dist/src/gateway/store.js +473 -547
- package/dist/src/gateway/store.js.map +1 -1
- package/dist/src/gateway/types.d.ts +51 -102
- package/dist/src/gateway/types.js +15 -52
- package/dist/src/gateway/types.js.map +1 -1
- package/docs/CONFIGURATION.md +194 -59
- package/docs/DELIVERY.md +11 -11
- package/docs/GATEWAY-ARCHITECTURE.md +286 -394
- package/package.json +4 -12
- package/skills/embassy-peer/SKILL.md +72 -92
- package/skills/embassy-peer/agents/openai.yaml +1 -1
- package/README.zh-CN.md +0 -269
- package/assets/live-dashboard/app.css +0 -1619
- package/assets/vendor/react/LICENSE +0 -21
- package/assets/vendor/react/react-dom.production.min.js +0 -267
- package/assets/vendor/react/react.production.min.js +0 -31
- package/dist/src/gateway/acp-client.d.ts +0 -110
- package/dist/src/gateway/acp-client.js +0 -407
- package/dist/src/gateway/acp-client.js.map +0 -1
- package/dist/src/gateway/acp-provider.d.ts +0 -66
- package/dist/src/gateway/acp-provider.js +0 -275
- package/dist/src/gateway/acp-provider.js.map +0 -1
- package/dist/src/gateway/cli-copy.d.ts +0 -8
- package/dist/src/gateway/cli-copy.en.d.ts +0 -17
- package/dist/src/gateway/cli-copy.en.js +0 -58
- package/dist/src/gateway/cli-copy.en.js.map +0 -1
- package/dist/src/gateway/cli-copy.js +0 -22
- package/dist/src/gateway/cli-copy.js.map +0 -1
- package/dist/src/gateway/cli-copy.zh-CN.d.ts +0 -17
- package/dist/src/gateway/cli-copy.zh-CN.js +0 -58
- package/dist/src/gateway/cli-copy.zh-CN.js.map +0 -1
- package/dist/src/gateway/codex-doctor.d.ts +0 -36
- package/dist/src/gateway/codex-doctor.js +0 -127
- package/dist/src/gateway/codex-doctor.js.map +0 -1
- package/dist/src/gateway/dashboard-copy.d.ts +0 -7
- package/dist/src/gateway/dashboard-copy.en.d.ts +0 -504
- package/dist/src/gateway/dashboard-copy.en.js +0 -505
- package/dist/src/gateway/dashboard-copy.en.js.map +0 -1
- package/dist/src/gateway/dashboard-copy.js +0 -514
- package/dist/src/gateway/dashboard-copy.js.map +0 -1
- package/dist/src/gateway/dashboard-copy.zh-CN.d.ts +0 -504
- package/dist/src/gateway/dashboard-copy.zh-CN.js +0 -505
- package/dist/src/gateway/dashboard-copy.zh-CN.js.map +0 -1
- package/dist/src/gateway/dashboard-model.d.ts +0 -343
- package/dist/src/gateway/dashboard-model.js +0 -1061
- package/dist/src/gateway/dashboard-model.js.map +0 -1
- package/dist/src/gateway/dashboard.d.ts +0 -20
- package/dist/src/gateway/dashboard.js +0 -874
- package/dist/src/gateway/dashboard.js.map +0 -1
- package/dist/src/gateway/deepseek-detect.d.ts +0 -14
- package/dist/src/gateway/deepseek-detect.js +0 -41
- package/dist/src/gateway/deepseek-detect.js.map +0 -1
- package/dist/src/gateway/live-dashboard-app/app.js +0 -2385
- package/dist/src/gateway/live-dashboard-assets.d.ts +0 -10
- package/dist/src/gateway/live-dashboard-assets.js +0 -74
- package/dist/src/gateway/live-dashboard-assets.js.map +0 -1
- package/dist/src/gateway/live-dashboard-command.d.ts +0 -58
- package/dist/src/gateway/live-dashboard-command.js +0 -334
- package/dist/src/gateway/live-dashboard-command.js.map +0 -1
- package/dist/src/gateway/live-dashboard-http.d.ts +0 -39
- package/dist/src/gateway/live-dashboard-http.js +0 -383
- package/dist/src/gateway/live-dashboard-http.js.map +0 -1
- package/dist/src/gateway/live-dashboard-protocol.d.ts +0 -34
- package/dist/src/gateway/live-dashboard-protocol.js +0 -114
- package/dist/src/gateway/live-dashboard-protocol.js.map +0 -1
- package/dist/src/gateway/live-dashboard-server.d.ts +0 -33
- package/dist/src/gateway/live-dashboard-server.js +0 -144
- package/dist/src/gateway/live-dashboard-server.js.map +0 -1
- package/dist/src/gateway/live-dashboard-stream.d.ts +0 -46
- package/dist/src/gateway/live-dashboard-stream.js +0 -234
- package/dist/src/gateway/live-dashboard-stream.js.map +0 -1
- package/dist/src/gateway/live-dashboard.d.ts +0 -28
- package/dist/src/gateway/live-dashboard.js +0 -154
- package/dist/src/gateway/live-dashboard.js.map +0 -1
- package/dist/src/gateway/locale.d.ts +0 -4
- package/dist/src/gateway/locale.js +0 -10
- package/dist/src/gateway/locale.js.map +0 -1
- package/dist/src/gateway/progress-watch-machine.d.ts +0 -45
- package/dist/src/gateway/progress-watch-machine.js +0 -70
- package/dist/src/gateway/progress-watch-machine.js.map +0 -1
- package/dist/src/gateway/state-v2-to-v3.d.ts +0 -24
- package/dist/src/gateway/state-v2-to-v3.js +0 -1034
- package/dist/src/gateway/state-v2-to-v3.js.map +0 -1
- package/docs/CONFIGURATION.zh-CN.md +0 -93
- package/docs/DASHBOARD.md +0 -98
- package/docs/DASHBOARD.zh-CN.md +0 -49
- package/docs/DELIVERY.zh-CN.md +0 -55
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const PROGRESS_WATCH_DEFAULT_IDLE_MS: number;
|
|
2
|
-
export declare const PROGRESS_WATCH_MIN_IDLE_MS = 60000;
|
|
3
|
-
export declare const PROGRESS_WATCH_MAX_IDLE_MS: number;
|
|
4
|
-
export declare const PROGRESS_WATCH_DEFAULT_CAPACITY = 32;
|
|
5
|
-
export declare const PROGRESS_WATCH_HARD_CAPACITY = 256;
|
|
6
|
-
/** One process-local active watch. Settlement is represented by its absence. */
|
|
7
|
-
export type ProgressWatch = Readonly<{
|
|
8
|
-
conversationId: string;
|
|
9
|
-
ownerAlias: string;
|
|
10
|
-
workerAlias: string;
|
|
11
|
-
lastActivityAt: string;
|
|
12
|
-
idleMs: number;
|
|
13
|
-
nudgeCount: 0 | 1 | 2;
|
|
14
|
-
nextActionAt: string;
|
|
15
|
-
}>;
|
|
16
|
-
type ProgressWatchDueInspection = Readonly<{
|
|
17
|
-
kind: "not_due";
|
|
18
|
-
}> | Readonly<{
|
|
19
|
-
kind: "rescheduled";
|
|
20
|
-
watch: ProgressWatch;
|
|
21
|
-
}> | Readonly<{
|
|
22
|
-
kind: "nudge";
|
|
23
|
-
nudgeNumber: 1 | 2;
|
|
24
|
-
}> | Readonly<{
|
|
25
|
-
kind: "settled";
|
|
26
|
-
reason: "idle_timeout";
|
|
27
|
-
}>;
|
|
28
|
-
export declare function createProgressWatch(input: Readonly<{
|
|
29
|
-
conversationId: string;
|
|
30
|
-
ownerAlias: string;
|
|
31
|
-
workerAlias: string;
|
|
32
|
-
idleMs: number;
|
|
33
|
-
at: number;
|
|
34
|
-
}>): ProgressWatch;
|
|
35
|
-
export declare function recordProgressWatchActivity(watch: ProgressWatch, at: number): ProgressWatch;
|
|
36
|
-
export declare function inspectProgressWatchDue(watch: ProgressWatch, input: Readonly<{
|
|
37
|
-
at: number;
|
|
38
|
-
bothIdle: boolean;
|
|
39
|
-
}>): ProgressWatchDueInspection;
|
|
40
|
-
export declare function commitProgressWatchNudge(watch: ProgressWatch, input: Readonly<{
|
|
41
|
-
at: number;
|
|
42
|
-
nudgeNumber: 1 | 2;
|
|
43
|
-
}>): ProgressWatch;
|
|
44
|
-
export declare function deferProgressWatchNudge(watch: ProgressWatch, at: number): ProgressWatch;
|
|
45
|
-
export {};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
export const PROGRESS_WATCH_DEFAULT_IDLE_MS = 5 * 60_000;
|
|
2
|
-
export const PROGRESS_WATCH_MIN_IDLE_MS = 60_000;
|
|
3
|
-
export const PROGRESS_WATCH_MAX_IDLE_MS = 24 * 60 * 60_000;
|
|
4
|
-
const PROGRESS_WATCH_NUDGE_RETRY_MS = 1_000;
|
|
5
|
-
export const PROGRESS_WATCH_DEFAULT_CAPACITY = 32;
|
|
6
|
-
export const PROGRESS_WATCH_HARD_CAPACITY = 256;
|
|
7
|
-
function iso(at) {
|
|
8
|
-
if (!Number.isFinite(at))
|
|
9
|
-
throw new RangeError("INVALID_PROGRESS_WATCH_TIME");
|
|
10
|
-
return new Date(at).toISOString();
|
|
11
|
-
}
|
|
12
|
-
function plus(at, delayMs) {
|
|
13
|
-
return iso(at + delayMs);
|
|
14
|
-
}
|
|
15
|
-
export function createProgressWatch(input) {
|
|
16
|
-
if (!Number.isSafeInteger(input.idleMs) ||
|
|
17
|
-
input.idleMs < PROGRESS_WATCH_MIN_IDLE_MS ||
|
|
18
|
-
input.idleMs > PROGRESS_WATCH_MAX_IDLE_MS) {
|
|
19
|
-
throw new RangeError("INVALID_PROGRESS_WATCH_IDLE_MS");
|
|
20
|
-
}
|
|
21
|
-
const timestamp = iso(input.at);
|
|
22
|
-
return {
|
|
23
|
-
conversationId: input.conversationId, ownerAlias: input.ownerAlias,
|
|
24
|
-
workerAlias: input.workerAlias, lastActivityAt: timestamp,
|
|
25
|
-
idleMs: input.idleMs, nudgeCount: 0,
|
|
26
|
-
nextActionAt: plus(input.at, input.idleMs),
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export function recordProgressWatchActivity(watch, at) {
|
|
30
|
-
const timestamp = iso(at);
|
|
31
|
-
return {
|
|
32
|
-
...watch,
|
|
33
|
-
lastActivityAt: timestamp, nudgeCount: 0,
|
|
34
|
-
nextActionAt: plus(at, watch.idleMs),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function inspectProgressWatchDue(watch, input) {
|
|
38
|
-
iso(input.at);
|
|
39
|
-
if (input.at < Date.parse(watch.nextActionAt))
|
|
40
|
-
return { kind: "not_due" };
|
|
41
|
-
if (!input.bothIdle) {
|
|
42
|
-
return {
|
|
43
|
-
kind: "rescheduled",
|
|
44
|
-
watch: recordProgressWatchActivity(watch, input.at),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
if (watch.nudgeCount < 2) {
|
|
48
|
-
return { kind: "nudge", nudgeNumber: (watch.nudgeCount + 1) };
|
|
49
|
-
}
|
|
50
|
-
return { kind: "settled", reason: "idle_timeout" };
|
|
51
|
-
}
|
|
52
|
-
export function commitProgressWatchNudge(watch, input) {
|
|
53
|
-
iso(input.at);
|
|
54
|
-
if (input.at < Date.parse(watch.nextActionAt) ||
|
|
55
|
-
input.nudgeNumber !== watch.nudgeCount + 1) {
|
|
56
|
-
throw new RangeError("INVALID_PROGRESS_WATCH_NUDGE");
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
...watch,
|
|
60
|
-
nudgeCount: input.nudgeNumber,
|
|
61
|
-
nextActionAt: plus(input.at, watch.idleMs * (input.nudgeNumber === 1 ? 1 : 2)),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
export function deferProgressWatchNudge(watch, at) {
|
|
65
|
-
return {
|
|
66
|
-
...watch,
|
|
67
|
-
nextActionAt: plus(at, PROGRESS_WATCH_NUDGE_RETRY_MS),
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=progress-watch-machine.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{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,YAAY,CAAC;QACzC,KAAK,CAAC,WAAW,KAAK,KAAK,CAAC,UAAU,GAAG,CAAC,EAC1C,CAAC;QACD,MAAM,IAAI,UAAU,CAAC,8BAA8B,CAAC,CAAC;IACvD,CAAC;IACD,OAAO;QACL,GAAG,KAAK;QACR,UAAU,EAAE,KAAK,CAAC,WAAW;QAC7B,YAAY,EAAE,IAAI,CAChB,KAAK,CAAC,EAAE,EACR,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACjD;KACF,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,uBAAuB,CACrC,KAAoB,EAAE,EAAU;IAEhC,OAAO;QACL,GAAG,KAAK;QACR,YAAY,EAAE,IAAI,CAAC,EAAE,EAAE,6BAA6B,CAAC;KACtD,CAAC;AACJ,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const gatewayStateV2ToV3FaultStages: readonly ["before_backup_write", "before_backup_file_sync", "before_backup_directory_sync", "before_backup_readback", "before_target_write", "before_target_file_sync", "before_target_rename", "after_target_rename", "before_target_directory_sync", "before_target_readback"];
|
|
2
|
-
export type GatewayStateV2ToV3FaultStage = (typeof gatewayStateV2ToV3FaultStages)[number];
|
|
3
|
-
export type GatewayStateV2ToV3Dependencies = Readonly<{
|
|
4
|
-
fault?: (stage: GatewayStateV2ToV3FaultStage) => void | Promise<void>;
|
|
5
|
-
now?: () => Date;
|
|
6
|
-
randomId?: () => string;
|
|
7
|
-
renameState?: (source: string, target: string) => Promise<void>;
|
|
8
|
-
}>;
|
|
9
|
-
export type GatewayStateV2ToV3Result = Readonly<{
|
|
10
|
-
/** Safe for normalized CLI output; contains no native or route identity. */
|
|
11
|
-
backupFile: string;
|
|
12
|
-
/** Internal readback correlation. Public surfaces must never print it. */
|
|
13
|
-
commitId: string;
|
|
14
|
-
commitSequence: number;
|
|
15
|
-
}>;
|
|
16
|
-
/**
|
|
17
|
-
* Release-owned offline conversion and bounded host reconciliation. Callers must resolve the normal
|
|
18
|
-
* configured state directory before entering; this API never starts providers,
|
|
19
|
-
* helpers, discovery, the control socket, or the broker runtime.
|
|
20
|
-
*/
|
|
21
|
-
export declare function convertGatewayStateV2ToV3(options: Readonly<{
|
|
22
|
-
stateDir: string;
|
|
23
|
-
hostId?: string;
|
|
24
|
-
}>, dependencies?: GatewayStateV2ToV3Dependencies): Promise<GatewayStateV2ToV3Result>;
|