@code-yeongyu/senpi-agent-core 2026.11.3-2 → 2026.11.4-2
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/agent-loop.js +7 -47
- package/dist/conformance/index.d.ts +37 -0
- package/dist/conformance/index.js +25 -0
- package/dist/conformance/loop-core-manifest.d.ts +1 -1
- package/dist/conformance/loop-core-manifest.js +1 -0
- package/dist/conformance/registry.js +31 -1
- package/dist/execution/canonical-json.d.ts +3 -0
- package/dist/execution/canonical-json.js +12 -0
- package/dist/execution/coordinator-codec.d.ts +5 -0
- package/dist/execution/coordinator-codec.js +104 -0
- package/dist/execution/coordinator-consent.d.ts +29 -0
- package/dist/execution/coordinator-consent.js +63 -0
- package/dist/execution/coordinator-plan.d.ts +33 -0
- package/dist/execution/coordinator-plan.js +106 -0
- package/dist/execution/coordinator-sequential.d.ts +15 -0
- package/dist/execution/coordinator-sequential.js +34 -0
- package/dist/execution/coordinator-types.d.ts +161 -0
- package/dist/execution/coordinator-types.js +2 -0
- package/dist/execution/coordinator.d.ts +27 -0
- package/dist/execution/coordinator.js +164 -0
- package/dist/execution/device-files-node.d.ts +8 -0
- package/dist/execution/device-files-node.js +112 -0
- package/dist/execution/device-files.d.ts +80 -0
- package/dist/execution/device-files.js +87 -0
- package/dist/execution/grant-verify.d.ts +70 -0
- package/dist/execution/grant-verify.js +87 -0
- package/dist/execution/ledger.d.ts +2 -0
- package/dist/execution/ledger.js +1 -0
- package/dist/execution/nested-codec.d.ts +5 -0
- package/dist/execution/nested-codec.js +41 -0
- package/dist/execution/nested-types.d.ts +92 -0
- package/dist/execution/nested-types.js +3 -0
- package/dist/execution/nested.d.ts +48 -0
- package/dist/execution/nested.js +206 -0
- package/dist/execution/plane-model.d.ts +33 -0
- package/dist/execution/plane-model.js +80 -0
- package/dist/execution/plane.d.ts +72 -0
- package/dist/execution/plane.js +172 -0
- package/dist/execution/remote-device-files.d.ts +12 -0
- package/dist/execution/remote-device-files.js +84 -0
- package/dist/execution/remote-executor.d.ts +74 -0
- package/dist/execution/remote-executor.js +193 -0
- package/dist/execution/remote-file-call.d.ts +14 -0
- package/dist/execution/remote-file-call.js +30 -0
- package/dist/execution/remote-hand-ledger.d.ts +40 -0
- package/dist/execution/remote-hand-ledger.js +137 -0
- package/dist/execution/remote-link.d.ts +36 -0
- package/dist/execution/remote-link.js +117 -0
- package/dist/execution/remote-protocol.d.ts +104 -0
- package/dist/execution/remote-protocol.js +104 -0
- package/dist/execution/remote-tool-host.d.ts +37 -0
- package/dist/execution/remote-tool-host.js +114 -0
- package/dist/execution/scope-lifecycle.d.ts +81 -0
- package/dist/execution/scope-lifecycle.js +173 -0
- package/dist/execution/testing/batch-cases.d.ts +6 -0
- package/dist/execution/testing/batch-cases.js +210 -0
- package/dist/execution/testing/batch-executor.d.ts +34 -0
- package/dist/execution/testing/batch-executor.js +170 -0
- package/dist/execution/testing/batch-harness.d.ts +58 -0
- package/dist/execution/testing/batch-harness.js +286 -0
- package/dist/execution/testing/batch-registry.d.ts +3 -0
- package/dist/execution/testing/batch-registry.js +30 -0
- package/dist/execution/testing/cancel-cases.d.ts +8 -0
- package/dist/execution/testing/cancel-cases.js +64 -0
- package/dist/execution/testing/consent-cases.d.ts +14 -0
- package/dist/execution/testing/consent-cases.js +66 -0
- package/dist/execution/testing/fault-hand-cases.d.ts +6 -0
- package/dist/execution/testing/fault-hand-cases.js +70 -0
- package/dist/execution/testing/hand-harness.d.ts +48 -0
- package/dist/execution/testing/hand-harness.js +136 -0
- package/dist/execution/testing/kill-batch.d.ts +12 -0
- package/dist/execution/testing/kill-batch.js +70 -0
- package/dist/execution/testing/kill-hand.d.ts +16 -0
- package/dist/execution/testing/kill-hand.js +75 -0
- package/dist/execution/testing/kill-nest.d.ts +6 -0
- package/dist/execution/testing/kill-nest.js +55 -0
- package/dist/execution/testing/kill-wakex.d.ts +6 -0
- package/dist/execution/testing/kill-wakex.js +81 -0
- package/dist/execution/testing/lifecycle-cases.d.ts +9 -0
- package/dist/execution/testing/lifecycle-cases.js +60 -0
- package/dist/execution/testing/lifecycle-registry.d.ts +3 -0
- package/dist/execution/testing/lifecycle-registry.js +19 -0
- package/dist/execution/testing/multi-hand-cases.d.ts +6 -0
- package/dist/execution/testing/multi-hand-cases.js +44 -0
- package/dist/execution/testing/multi-lifecycle-cases.d.ts +4 -0
- package/dist/execution/testing/multi-lifecycle-cases.js +34 -0
- package/dist/execution/testing/multi-seq-cases.d.ts +4 -0
- package/dist/execution/testing/multi-seq-cases.js +46 -0
- package/dist/execution/testing/nest-cases.d.ts +39 -0
- package/dist/execution/testing/nest-cases.js +181 -0
- package/dist/execution/testing/nest-registry.d.ts +3 -0
- package/dist/execution/testing/nest-registry.js +27 -0
- package/dist/execution/testing/scope-cases.d.ts +6 -0
- package/dist/execution/testing/scope-cases.js +49 -0
- package/dist/execution/testing/seq-cases.d.ts +6 -0
- package/dist/execution/testing/seq-cases.js +71 -0
- package/dist/execution/testing/seq-registry.d.ts +3 -0
- package/dist/execution/testing/seq-registry.js +32 -0
- package/dist/execution/testing/wake-exec-cases.d.ts +20 -0
- package/dist/execution/testing/wake-exec-cases.js +147 -0
- package/dist/execution/testing/wake-registry.d.ts +3 -0
- package/dist/execution/testing/wake-registry.js +26 -0
- package/dist/execution/tool-host.d.ts +10 -2
- package/dist/execution/tool-outcome-events.d.ts +11 -0
- package/dist/execution/tool-outcome-events.js +47 -0
- package/dist/execution/wake-inbox.d.ts +25 -0
- package/dist/execution/wake-inbox.js +85 -0
- package/dist/execution/wake-outbox.d.ts +30 -0
- package/dist/execution/wake-outbox.js +87 -0
- package/dist/execution/wake-types.d.ts +45 -0
- package/dist/execution/wake-types.js +3 -0
- package/dist/harness/env/nodejs.js +4 -0
- package/dist/index.d.ts +21 -1
- package/dist/index.js +19 -1
- package/dist/node.d.ts +1 -0
- package/dist/node.js +1 -0
- package/dist/transport/testing/multi-cases.js +8 -8
- package/package.json +3 -3
package/dist/node.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { NodeExecutionEnv } from "./harness/env/nodejs.js";
|
|
2
2
|
export { listWindowsProcessRowsSync, parseWindowsProcessTreeRows, windowsTreeKillArgs, windowsTreeKillPlan, } from "./harness/env/windows-process-tree.js";
|
|
3
|
+
export { localDeviceFiles } from "./execution/device-files-node.js";
|
|
3
4
|
export * from "./index.js";
|
|
4
5
|
//# sourceMappingURL=node.js.map
|
|
@@ -90,24 +90,24 @@ const lossOnOneLaneIsNotHeldByAnother = async (adapters) => {
|
|
|
90
90
|
const link = openLink(adapters, () => loseOnce(decode, "B", 1, stats));
|
|
91
91
|
link.pace("A", LONG_LANE_PACE_MS);
|
|
92
92
|
const aSends = range(1, LONG_LANE_FRAMES).map((n) => link.send("A", n));
|
|
93
|
-
await link.runUntil(() => link.delivered("A").length >= 10, "MULTI-FAIR-
|
|
93
|
+
await link.runUntil(() => link.delivered("A").length >= 10, "MULTI-FAIR-03 A's long lane under way");
|
|
94
94
|
const before = link.delivered("A").length;
|
|
95
95
|
const bSend = link.send("B", 1);
|
|
96
|
-
await link.runUntil(allDelivered(link, { B: 1 }), "MULTI-FAIR-
|
|
96
|
+
await link.runUntil(allDelivered(link, { B: 1 }), "MULTI-FAIR-03 B delivered after its loss", 600_000);
|
|
97
97
|
if (stats.lost !== 1)
|
|
98
|
-
throw new Error(`MULTI-FAIR-
|
|
98
|
+
throw new Error(`MULTI-FAIR-03: B#1 was not lost on the carrier (${JSON.stringify(stats)})`);
|
|
99
99
|
const aheadOfB = link.delivered("A").length - before;
|
|
100
100
|
if (aheadOfB >= LONG_LANE_FRAMES / 2) {
|
|
101
|
-
throw new Error(`MULTI-FAIR-
|
|
101
|
+
throw new Error(`MULTI-FAIR-03: B's lost frame was resent only after ${aheadOfB} of A's frames (fewer than ${LONG_LANE_FRAMES / 2})`);
|
|
102
102
|
}
|
|
103
|
-
await link.runUntil(allDelivered(link, { A: LONG_LANE_FRAMES }), "MULTI-FAIR-
|
|
104
|
-
await link.awaitAll([...aSends, bSend], "MULTI-FAIR-
|
|
103
|
+
await link.runUntil(allDelivered(link, { A: LONG_LANE_FRAMES }), "MULTI-FAIR-03 A delivered", 600_000);
|
|
104
|
+
await link.awaitAll([...aSends, bSend], "MULTI-FAIR-03");
|
|
105
105
|
await link.advance(2000);
|
|
106
|
-
expectExactDelivery(link, { A: LONG_LANE_FRAMES, B: 1 }, "MULTI-FAIR-
|
|
106
|
+
expectExactDelivery(link, { A: LONG_LANE_FRAMES, B: 1 }, "MULTI-FAIR-03");
|
|
107
107
|
};
|
|
108
108
|
export const MULTI_CASES = new Map([
|
|
109
109
|
["MULTI-LANE-01", manyLanes],
|
|
110
110
|
["MULTI-FAIR-01", fairness],
|
|
111
|
-
["MULTI-FAIR-
|
|
111
|
+
["MULTI-FAIR-03", lossOnOneLaneIsNotHeldByAnother],
|
|
112
112
|
]);
|
|
113
113
|
//# sourceMappingURL=multi-cases.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-yeongyu/senpi-agent-core",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.4-2",
|
|
4
4
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@earendil-works/chord": "0.99.1",
|
|
75
|
-
"@earendil-works/pi-ai": "npm:@code-yeongyu/senpi-ai@2026.11.
|
|
76
|
-
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.11.
|
|
75
|
+
"@earendil-works/pi-ai": "npm:@code-yeongyu/senpi-ai@2026.11.4-2",
|
|
76
|
+
"@earendil-works/pi-telemetry": "npm:@code-yeongyu/senpi-telemetry@2026.11.4-2",
|
|
77
77
|
"diff": "9.0.0",
|
|
78
78
|
"ignore": "7.0.9",
|
|
79
79
|
"typebox": "1.3.34",
|