@principles/pd-cli 2.12.2 → 2.13.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.
Files changed (82) hide show
  1. package/dist/commands/codex-worker.d.ts +7 -3
  2. package/dist/commands/codex-worker.d.ts.map +1 -1
  3. package/dist/commands/codex-worker.js +125 -101
  4. package/dist/commands/codex-worker.js.map +1 -1
  5. package/dist/commands/runtime-internalization-enqueue-successors.d.ts.map +1 -1
  6. package/dist/commands/runtime-internalization-enqueue-successors.js +148 -130
  7. package/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -1
  8. package/dist/commands/runtime-internalization-run-once.d.ts.map +1 -1
  9. package/dist/commands/runtime-internalization-run-once.js +4 -0
  10. package/dist/commands/runtime-internalization-run-once.js.map +1 -1
  11. package/dist/commands/runtime-internalization-run-rulehost.js +1 -1
  12. package/dist/commands/runtime-internalization-run-rulehost.js.map +1 -1
  13. package/dist/commands/service-run-once.d.ts +12 -27
  14. package/dist/commands/service-run-once.d.ts.map +1 -1
  15. package/dist/commands/service-run-once.js +15 -206
  16. package/dist/commands/service-run-once.js.map +1 -1
  17. package/dist/commands/workbuddy-worker.d.ts +7 -2
  18. package/dist/commands/workbuddy-worker.d.ts.map +1 -1
  19. package/dist/commands/workbuddy-worker.js +133 -99
  20. package/dist/commands/workbuddy-worker.js.map +1 -1
  21. package/dist/commands/worker-service-host-gate.d.ts +38 -0
  22. package/dist/commands/worker-service-host-gate.d.ts.map +1 -0
  23. package/dist/commands/worker-service-host-gate.js +110 -0
  24. package/dist/commands/worker-service-host-gate.js.map +1 -0
  25. package/dist/program.d.ts.map +1 -1
  26. package/dist/program.js +20 -84
  27. package/dist/program.js.map +1 -1
  28. package/dist/services/rulehost-pipeline-runner.d.ts.map +1 -1
  29. package/dist/services/rulehost-pipeline-runner.js +198 -142
  30. package/dist/services/rulehost-pipeline-runner.js.map +1 -1
  31. package/dist/services/service-host/coordinator-common.d.ts.map +1 -1
  32. package/dist/services/service-host/coordinator-common.js +4 -5
  33. package/dist/services/service-host/coordinator-common.js.map +1 -1
  34. package/dist/services/service-host/index.d.ts +7 -10
  35. package/dist/services/service-host/index.d.ts.map +1 -1
  36. package/dist/services/service-host/index.js +8 -11
  37. package/dist/services/service-host/index.js.map +1 -1
  38. package/dist/services/service-host/install-identity.d.ts +5 -5
  39. package/dist/services/service-host/managed-run.d.ts.map +1 -1
  40. package/dist/services/service-host/managed-run.js +19 -22
  41. package/dist/services/service-host/managed-run.js.map +1 -1
  42. package/dist/services/service-host/scheduler/linux.d.ts.map +1 -1
  43. package/dist/services/service-host/scheduler/linux.js +21 -2
  44. package/dist/services/service-host/scheduler/linux.js.map +1 -1
  45. package/dist/services/service-host/scheduler/service-status.d.ts +1 -1
  46. package/dist/services/service-host/scheduler/service-status.d.ts.map +1 -1
  47. package/dist/services/service-host/scheduler/service-status.js +0 -2
  48. package/dist/services/service-host/scheduler/service-status.js.map +1 -1
  49. package/dist/services/service-host/status/service-run-status.d.ts +7 -51
  50. package/dist/services/service-host/status/service-run-status.d.ts.map +1 -1
  51. package/dist/services/service-host/status/service-run-status.js.map +1 -1
  52. package/dist/services/service-host/worker-adapter-openclaw.js +3 -3
  53. package/dist/services/service-host/worker-adapter.d.ts +0 -10
  54. package/dist/services/service-host/worker-adapter.d.ts.map +1 -1
  55. package/dist/services/service-host/worker-adapter.js +4 -12
  56. package/dist/services/service-host/worker-adapter.js.map +1 -1
  57. package/dist/services/service-host/worker-env.d.ts +1 -1
  58. package/dist/services/service-host/workspace-dispatch.d.ts +5 -7
  59. package/dist/services/service-host/workspace-dispatch.d.ts.map +1 -1
  60. package/dist/services/service-host/workspace-dispatch.js +1 -3
  61. package/dist/services/service-host/workspace-dispatch.js.map +1 -1
  62. package/package.json +8 -8
  63. package/dist/commands/service-handover.d.ts +0 -12
  64. package/dist/commands/service-handover.d.ts.map +0 -1
  65. package/dist/commands/service-handover.js +0 -117
  66. package/dist/commands/service-handover.js.map +0 -1
  67. package/dist/commands/worker-drain.d.ts +0 -7
  68. package/dist/commands/worker-drain.d.ts.map +0 -1
  69. package/dist/commands/worker-drain.js +0 -51
  70. package/dist/commands/worker-drain.js.map +0 -1
  71. package/dist/services/service-host/handover-claims.d.ts +0 -14
  72. package/dist/services/service-host/handover-claims.d.ts.map +0 -1
  73. package/dist/services/service-host/handover-claims.js +0 -50
  74. package/dist/services/service-host/handover-claims.js.map +0 -1
  75. package/dist/services/service-host/shadow-run.d.ts +0 -87
  76. package/dist/services/service-host/shadow-run.d.ts.map +0 -1
  77. package/dist/services/service-host/shadow-run.js +0 -549
  78. package/dist/services/service-host/shadow-run.js.map +0 -1
  79. package/dist/services/service-host/workspace-handover.d.ts +0 -190
  80. package/dist/services/service-host/workspace-handover.d.ts.map +0 -1
  81. package/dist/services/service-host/workspace-handover.js +0 -1393
  82. package/dist/services/service-host/workspace-handover.js.map +0 -1
@@ -1,117 +0,0 @@
1
- /**
2
- * pd service handover / pd service rollback command implementation
3
- * (SPEC-PD-SERVICE-HOST-001 §8.4, PRI-1282 Phase 4).
4
- *
5
- * Operator surface over the per-Workspace atomic ownership transition. The
6
- * sequence lives in `services/service-host/workspace-handover.ts`; this file
7
- * is argument parsing, JSON contract and exit codes.
8
- *
9
- * CLI gate compliance:
10
- * - cli-1: --json prints exactly one parseable JSON document.
11
- * - cli-2: exit paths stop execution (blocked/failed ⇒ exit 1).
12
- * - cli-5: a refused handover leaves the workspace in its PREVIOUS ownership
13
- * (abort_handover restores legacy before returning blocked).
14
- * - cli-6: every blocked/failed result carries reason + nextAction.
15
- */
16
- import { resolveWorkspaceDir } from '../resolve-workspace.js';
17
- import { runWorkspaceHandover, runWorkspaceRollback } from '../services/service-host/workspace-handover.js';
18
- function invalidUsage(options, json, kind) {
19
- const error = {
20
- generatedAt: new Date().toISOString(),
21
- schemaVersion: 'pd.service-handover-op.v1',
22
- kind,
23
- error: 'cli_contract',
24
- reason: 'workspace_required',
25
- nextAction: 'Pass --workspace <canonical-workspace-dir>; ownership is per-Workspace and never inferred.',
26
- };
27
- if (json)
28
- console.log(JSON.stringify(error));
29
- else
30
- console.error(`[PD:ServiceHandover] --workspace is required: ${error.nextAction}`);
31
- process.exitCode = 1;
32
- }
33
- function wireTerminalAbortSignals(onAbort) {
34
- const handler = () => {
35
- onAbort();
36
- };
37
- process.once('SIGINT', handler);
38
- process.once('SIGTERM', handler);
39
- process.once('SIGHUP', handler);
40
- }
41
- export async function handleServiceHandover(options) {
42
- const json = options.json === true;
43
- if (options.workspace === undefined || options.workspace.trim().length === 0) {
44
- invalidUsage(options, json, 'handover');
45
- return;
46
- }
47
- const controller = new AbortController();
48
- wireTerminalAbortSignals(() => controller.abort());
49
- const workspace = resolveWorkspaceDir(options.workspace);
50
- const result = await runWorkspaceHandover(workspace, {
51
- ...(options.pdHome !== undefined ? { pdHomeOverride: options.pdHome } : {}),
52
- ...(options.ackWaitMs !== undefined ? { ackWaitMs: options.ackWaitMs } : {}),
53
- ...(options.resumeOperationId !== undefined ? { resumeOperationId: options.resumeOperationId } : {}),
54
- ...(options.abort === true ? { abort: true } : {}),
55
- signal: controller.signal,
56
- });
57
- if (json) {
58
- console.log(JSON.stringify(result));
59
- }
60
- else if (result.ok) {
61
- console.log([
62
- `OpenClaw workspace handover completed (${result.workspaceDir})`,
63
- ` operationId: ${result.operationId}`,
64
- ` generation: ${result.generation}`,
65
- ` readiness: ${result.readiness}`,
66
- ` gateway quiesce: ${result.quiesceAck.outcome} (via ${result.quiesceAck.startedVia}, generation ${result.quiesceAck.generation})`,
67
- ` worker cycle: ${result.workerCycle.mode} (exit ${result.workerCycle.exitCode ?? 'n/a'})`,
68
- ` evidence: ${result.evidencePath}`,
69
- ].join('\n'));
70
- }
71
- else {
72
- console.error([
73
- `OpenClaw workspace handover ${result.outcome} (${workspace})`,
74
- ` reason: ${result.reason}`,
75
- ` next action: ${result.nextAction}`,
76
- ].join('\n'));
77
- }
78
- if (!result.ok)
79
- process.exitCode = 1;
80
- }
81
- export async function handleServiceRollback(options) {
82
- const json = options.json === true;
83
- if (options.workspace === undefined || options.workspace.trim().length === 0) {
84
- invalidUsage(options, json, 'rollback');
85
- return;
86
- }
87
- const controller = new AbortController();
88
- wireTerminalAbortSignals(() => controller.abort());
89
- const workspace = resolveWorkspaceDir(options.workspace);
90
- const result = await runWorkspaceRollback(workspace, {
91
- ...(options.pdHome !== undefined ? { pdHomeOverride: options.pdHome } : {}),
92
- ...(options.resumeOperationId !== undefined ? { resumeOperationId: options.resumeOperationId } : {}),
93
- signal: controller.signal,
94
- });
95
- if (json) {
96
- console.log(JSON.stringify(result));
97
- }
98
- else if (result.ok) {
99
- console.log([
100
- `Workspace rollback completed (${result.workspaceDir})`,
101
- ` operationId: ${result.operationId}`,
102
- ` generation: ${result.generation}`,
103
- ` gateway resumption: ${result.gatewayResumption}`,
104
- ` evidence: ${result.evidencePath}`,
105
- ].join('\n'));
106
- }
107
- else {
108
- console.error([
109
- `Workspace rollback ${result.outcome} (${workspace})`,
110
- ` reason: ${result.reason}`,
111
- ` next action: ${result.nextAction}`,
112
- ].join('\n'));
113
- }
114
- if (!result.ok)
115
- process.exitCode = 1;
116
- }
117
- //# sourceMappingURL=service-handover.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"service-handover.js","sourceRoot":"","sources":["../../src/commands/service-handover.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAW5G,SAAS,YAAY,CAAC,OAA+B,EAAE,IAAa,EAAE,IAA6B;IACjG,MAAM,KAAK,GAAG;QACZ,WAAW,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;QACrC,aAAa,EAAE,2BAA2B;QAC1C,IAAI;QACJ,KAAK,EAAE,cAAc;QACrB,MAAM,EAAE,oBAAoB;QAC5B,UAAU,EAAE,4FAA4F;KAC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CAAC,CAAC;IACtC,CAAC;SAAM,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;QACrB,OAAO,CAAC,GAAG,CAAC;YACV,iCAAiC,MAAM,CAAC,YAAY,GAAG;YACvD,0BAA0B,MAAM,CAAC,WAAW,EAAE;YAC9C,0BAA0B,MAAM,CAAC,UAAU,EAAE;YAC7C,0BAA0B,MAAM,CAAC,iBAAiB,EAAE;YACpD,0BAA0B,MAAM,CAAC,YAAY,EAAE;SAChD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAChB,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,KAAK,CAAC;YACZ,sBAAsB,MAAM,CAAC,OAAO,KAAK,SAAS,GAAG;YACrD,kBAAkB,MAAM,CAAC,MAAM,EAAE;YACjC,kBAAkB,MAAM,CAAC,UAAU,EAAE;SACtC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAChB,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,EAAE;QAAE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvC,CAAC"}
@@ -1,7 +0,0 @@
1
- /** Private Companion IPC. Stops between cycles; never interrupts an active cycle. */
2
- export declare function createWorkerDrain(): {
3
- readonly stopped: boolean;
4
- wait(interval: number): Promise<void>;
5
- dispose(): void;
6
- };
7
- //# sourceMappingURL=worker-drain.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-drain.d.ts","sourceRoot":"","sources":["../../src/commands/worker-drain.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,wBAAgB,iBAAiB;aAqBzB,OAAO,EAAI,OAAO;IAChB,IAAI,WAAW,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU3C,OAAO,IAAI,IAAI;EAQlB"}
@@ -1,51 +0,0 @@
1
- /** Private Companion IPC. Stops between cycles; never interrupts an active cycle. */
2
- export function createWorkerDrain() {
3
- let stopped = false;
4
- let wake;
5
- const stop = () => { stopped = true; wake?.(); };
6
- const onMessage = (value) => {
7
- if (value !== null && typeof value === 'object'
8
- && Object.hasOwn(value, 'type') && Reflect.get(value, 'type') === 'pd.worker.drain.v1')
9
- stop();
10
- };
11
- process.on('SIGINT', stop);
12
- process.on('SIGTERM', stop);
13
- // Other hosts (including test runners) also use Node IPC; they do not opt
14
- // into Companion's private lifecycle protocol.
15
- const managedIpc = process.env.PD_COMPANION_WORKER_IPC === '1';
16
- if (managedIpc && process.send !== undefined) {
17
- process.on('message', onMessage);
18
- const reportUnavailable = () => { console.error('[PD:Worker] drain IPC unavailable; safely restart Companion after the current cycle.'); };
19
- try {
20
- process.send({ type: 'pd.worker.drain-ready.v1' }, (error) => { if (error !== null)
21
- reportUnavailable(); });
22
- }
23
- catch {
24
- reportUnavailable();
25
- }
26
- }
27
- return {
28
- get stopped() { return stopped; },
29
- async wait(interval) {
30
- if (stopped)
31
- return;
32
- await new Promise((resolve) => {
33
- let timer;
34
- const done = () => { clearTimeout(timer); wake = undefined; resolve(); };
35
- timer = setTimeout(done, interval);
36
- wake = done;
37
- if (stopped)
38
- done();
39
- });
40
- },
41
- dispose() {
42
- process.off('SIGINT', stop);
43
- process.off('SIGTERM', stop);
44
- process.off('message', onMessage);
45
- // An open IPC channel must not keep a drained CLI alive.
46
- if (managedIpc && process.send !== undefined && process.connected)
47
- process.disconnect?.();
48
- },
49
- };
50
- }
51
- //# sourceMappingURL=worker-drain.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-drain.js","sourceRoot":"","sources":["../../src/commands/worker-drain.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,UAAU,iBAAiB;IAC/B,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,IAAI,IAA8B,CAAC;IACnC,MAAM,IAAI,GAAG,GAAS,EAAE,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IACvD,MAAM,SAAS,GAAG,CAAC,KAAc,EAAQ,EAAE;Q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C,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;gBAC/E,KAAK,GAAG,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBACnC,IAAI,GAAG,IAAI,CAAC;gBACZ,IAAI,OAAO;oBAAE,IAAI,EAAE,CAAC;YACtB,CAAC,CAAC,CAAC;QACL,CAAC;QACD,OAAO;YACL,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC5B,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;YAC7B,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;YAClC,yDAAyD;YACzD,IAAI,UAAU,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,SAAS;gBAAE,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;QAC5F,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1,14 +0,0 @@
1
- export interface HandoverBindingResult {
2
- /** An OpenClaw claim (any of the three validated sources) names this workspace. */
3
- readonly openclawClaimed: boolean;
4
- /** Cross-host conflict owner(s); `null` when unambiguous. */
5
- readonly foreignOwner: string | null;
6
- /**
7
- * PRI-1282 review (P1-4): a binding file that could not be read or parsed
8
- * is NOT "no claim" — it means foreign ownership cannot be proven either
9
- * way, and the handover must fail closed. Lists the offending files.
10
- */
11
- readonly bindingUnverifiable: string | null;
12
- }
13
- export declare function collectHostWorkspaceClaimsFor(workspaceDir: string, homeDir: string, env?: Readonly<Record<string, string | undefined>>): HandoverBindingResult;
14
- //# sourceMappingURL=handover-claims.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handover-claims.d.ts","sourceRoot":"","sources":["../../../src/services/service-host/handover-claims.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,qBAAqB;IACpC,mFAAmF;IACnF,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,6DAA6D;IAC7D,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7C;AAED,wBAAgB,6BAA6B,CAC3C,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,GACjD,qBAAqB,CAgCvB"}
@@ -1,50 +0,0 @@
1
- /**
2
- * Host-binding verification for the §8.4 handover (PRI-1282 Phase 4).
3
- *
4
- * Thin wrapper over the EXISTING authorized-discovery authorities
5
- * (`collectHostWorkspaceClaims` + `findForeignWorkspaceOwner`) — the handover
6
- * never invents a second binding source. A workspace is handover-eligible
7
- * when OpenClaw holds a VALIDATED claim (default dir / host declaration /
8
- * payload binding) and no OTHER host claims it.
9
- */
10
- import * as fs from 'node:fs';
11
- import * as path from 'node:path';
12
- import { findForeignWorkspaceOwner, collectHostWorkspaceClaims } from '@principles/install-layout';
13
- import { resolveCoordinatorInstallIdentity } from './install-identity.js';
14
- import { claimOptionsFor } from './coordinator-common.js';
15
- export function collectHostWorkspaceClaimsFor(workspaceDir, homeDir, env) {
16
- const identity = resolveCoordinatorInstallIdentity(env ?? process.env, { trustedHomeDir: homeDir });
17
- if (!identity.ok)
18
- return { openclawClaimed: false, foreignOwner: 'install_identity_unresolved', bindingUnverifiable: null };
19
- const diagnostics = [];
20
- const options = claimOptionsFor(identity.identity, diagnostics);
21
- const claims = collectHostWorkspaceClaims(options);
22
- const canonical = path.resolve(workspaceDir);
23
- // Claims are matched by REAL-directory identity, not lexical spelling —
24
- // the manifest may hold an alias of the same directory (PRI-1282 review),
25
- // which is exactly the shape `findForeignWorkspaceOwner` resolves too.
26
- const identityOf = (candidate) => {
27
- const lexical = path.resolve(candidate);
28
- let resolved = lexical;
29
- try {
30
- resolved = fs.realpathSync.native(lexical);
31
- }
32
- catch {
33
- // Best effort: a missing path compares lexically.
34
- }
35
- return process.platform === 'win32' ? resolved.toLowerCase() : resolved;
36
- };
37
- const canonicalIdentity = identityOf(canonical);
38
- const samePath = (candidate) => identityOf(candidate) === canonicalIdentity;
39
- const openclawClaimed = claims.some((claim) => claim.host === 'openclaw' && samePath(claim.workspaceDir));
40
- const foreign = findForeignWorkspaceOwner('openclaw', canonical, options);
41
- const foreignOwner = foreign.owners.length > 0 ? foreign.owners.join('+') : null;
42
- // PRI-1282 review (P1-4): an unreadable/malformed binding file was skipped
43
- // during claim collection — treat "cannot verify foreign ownership" as a
44
- // blocking fact, not as silence. The caller fails closed on this.
45
- const bindingUnverifiable = diagnostics.length > 0
46
- ? diagnostics.map((d) => `${d.file}(${d.status})`).join(', ')
47
- : null;
48
- return { openclawClaimed, foreignOwner, bindingUnverifiable };
49
- }
50
- //# sourceMappingURL=handover-claims.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handover-claims.js","sourceRoot":"","sources":["../../../src/services/service-host/handover-claims.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,iCAAiC,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAgB1D,MAAM,UAAU,6BAA6B,CAC3C,YAAoB,EACpB,OAAe,EACf,GAAkD;IAElD,MAAM,QAAQ,GAAG,iCAAiC,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,CAAC;IACpG,IAAI,CAAC,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAA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CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACjF,2EAA2E;IAC3E,yEAAyE;IACzE,kEAAkE;IAClE,MAAM,mBAAmB,GAAG,WAAW,CAAC,MAAM,GAAG,CAAC;QAChD,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAC7D,CAAC,CAAC,IAAI,CAAC;IACT,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAC;AAChE,CAAC"}
@@ -1,87 +0,0 @@
1
- import { type HostClaimReaders } from '@principles/install-layout';
2
- import { type InstallIdentity } from './install-identity.js';
3
- import { type WorkspaceDiscoveryResult } from './workspace-discovery.js';
4
- import { type HolderLiveness, type ReleaseServiceRunLockResult, type ServiceRunLockHandle } from './locking/service-run-lock.js';
5
- import { type ActiveReleaseFacts, type ServiceRunStatus, type ShadowExecutionRecord } from './status/service-run-status.js';
6
- import type { resolveActiveReleaseCliEntry } from './worker-adapter.js';
7
- import { type ShadowHostKind, type WorkerHostKind, type WorkerAdapter } from './worker-adapter.js';
8
- import type { WorkerProcessOptions, WorkerProcessResult } from './worker-process.js';
9
- /**
10
- * Default per-workspace bound. The Codex worker's own stage deadlines sum to
11
- * ~40 minutes (catch-up 5 + reconcile 5 + diagnosis 15 + post-processing 5 +
12
- * downstream 10 + stage-2), so 45 minutes bounds one full cycle with margin
13
- * without letting a hung child outlive the coordinator.
14
- */
15
- export declare const DEFAULT_SHADOW_WORKSPACE_TIMEOUT_MS: number;
16
- export interface ShadowRunProbes {
17
- readonly processAlive?: (pid: number) => HolderLiveness;
18
- readonly holdsLock?: (handle: ServiceRunLockHandle) => boolean;
19
- readonly releaseLock?: (handle: ServiceRunLockHandle) => ReleaseServiceRunLockResult;
20
- readonly listDir?: (dir: string) => 'readable' | 'missing' | 'not_directory' | 'unreadable';
21
- readonly claimReaders?: HostClaimReaders;
22
- /** Subprocess boundary injection forwarded to every adapter execution. */
23
- readonly spawnWorkerProcess?: (options: WorkerProcessOptions) => Promise<WorkerProcessResult>;
24
- /** CLI-entry resolution injection (integration tests; prod = active release). */
25
- readonly resolveCliEntry?: typeof resolveActiveReleaseCliEntry;
26
- readonly now?: () => Date;
27
- /** Adapter overrides (unit tests). */
28
- readonly adapters?: Readonly<Partial<Record<WorkerHostKind, WorkerAdapter>>>;
29
- }
30
- export interface ShadowRunOptions {
31
- readonly env?: Readonly<Record<string, string | undefined>>;
32
- readonly trustedHomeDir?: string;
33
- /** Explicit workspace selections — REQUIRED, never defaulted to "all discovered". */
34
- readonly workspaces: readonly string[];
35
- /** Restrict to one host adapter (default: every bound adapter runs). Shadow hosts only — openclaw is managed-mode only. */
36
- readonly hostFilter?: ShadowHostKind;
37
- readonly timeoutMs?: number;
38
- readonly signal?: AbortSignal;
39
- readonly probes?: ShadowRunProbes;
40
- }
41
- export type ShadowRunResult = {
42
- readonly ok: true;
43
- readonly outcome: 'completed';
44
- readonly runId: string;
45
- readonly identity: InstallIdentity;
46
- readonly activeRelease: ActiveReleaseFacts;
47
- readonly manifest: ServiceRunStatus['manifest'];
48
- readonly discovery: WorkspaceDiscoveryResult;
49
- readonly executions: readonly ShadowExecutionRecord[];
50
- readonly statusWrite: {
51
- readonly ok: true;
52
- readonly path: string;
53
- } | {
54
- readonly ok: false;
55
- readonly reason: string;
56
- readonly nextAction: string;
57
- };
58
- readonly status: ServiceRunStatus;
59
- } | {
60
- readonly ok: true;
61
- readonly outcome: 'already_running';
62
- readonly runId: string;
63
- readonly identity: InstallIdentity;
64
- readonly holderBodyHash: string;
65
- readonly reason: string;
66
- readonly nextAction: string;
67
- } | {
68
- readonly ok: false;
69
- readonly outcome: 'refused';
70
- readonly runId: string;
71
- readonly reason: string;
72
- readonly nextAction: string;
73
- readonly statusWrite?: {
74
- readonly ok: true;
75
- readonly path: string;
76
- } | {
77
- readonly ok: false;
78
- readonly reason: string;
79
- readonly nextAction: string;
80
- };
81
- };
82
- /**
83
- * Execute one bounded shadow run. Never throws for expected refusals —
84
- * everything expected is a structured result (rc-9).
85
- */
86
- export declare function runServiceShadowOnce(options: ShadowRunOptions): Promise<ShadowRunResult>;
87
- //# sourceMappingURL=shadow-run.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shadow-run.d.ts","sourceRoot":"","sources":["../../../src/services/service-host/shadow-run.ts"],"names":[],"mappings":"AA8BA,OAAO,EAA0D,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE3H,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAoD,KAAK,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAiB3H,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,KAAK,kBAAkB,EAEvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAEV,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAqB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAMtH,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAIrF;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC,QAAc,CAAC;AAG/D,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,cAAc,CAAC;IACxD,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,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