opencode-swarm 7.188.7 → 7.188.8
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{auto-checkpoint-1z9d2jrk.js → auto-checkpoint-cdcf7yeb.js} +4 -4
- package/dist/cli/{checkpoint-f8165pv4.js → checkpoint-jpc3a69d.js} +8 -8
- package/dist/cli/{coder-settlement-gaby6spt.js → coder-settlement-rmaypr7g.js} +3 -3
- package/dist/cli/{config-doctor-4wgw6nak.js → config-doctor-b5t9hrzb.js} +7 -7
- package/dist/cli/{core-y89texpp.js → core-ky5b3mh6.js} +1 -1
- package/dist/cli/{curator-tkz65fvw.js → curator-bsafet3m.js} +25 -25
- package/dist/cli/{curator-drift-rpwrx355.js → curator-drift-2dwkkykq.js} +5 -5
- package/dist/cli/{curator-llm-factory-1qbcj7vs.js → curator-llm-factory-ajtxk3sm.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-11q7en6t.js → doctor-knowledge-receipt-phase-id-mckkwm0c.js} +4 -4
- package/dist/cli/{evidence-summary-service-hn7vdm45.js → evidence-summary-service-svrt4se9.js} +9 -9
- package/dist/cli/{gate-evidence-sxh3r64f.js → gate-evidence-jcw4mvwr.js} +2 -2
- package/dist/cli/{guardrail-explain-e0wbeyk1.js → guardrail-explain-5j0cg165.js} +26 -26
- package/dist/cli/{guardrail-log-gzrj46h0.js → guardrail-log-h6fc7rnv.js} +3 -3
- package/dist/cli/{guardrail-reset-7z62s1j5.js → guardrail-reset-kjmqnr5r.js} +25 -25
- package/dist/cli/{hive-promoter-88d95wk8.js → hive-promoter-edp5c7k2.js} +25 -25
- package/dist/cli/{index-snwj9ptc.js → index-0g7wya30.js} +1 -1
- package/dist/cli/{index-kap459mr.js → index-11v15np0.js} +2 -2
- package/dist/cli/{index-yj1cwps4.js → index-8gyt9j0a.js} +1 -1
- package/dist/cli/{index-c016phsk.js → index-8hf3rt47.js} +4 -4
- package/dist/cli/{index-y8z9x87e.js → index-9m3pcjf2.js} +1 -1
- package/dist/cli/{index-7k9hdn0b.js → index-b81wsm2s.js} +1 -1
- package/dist/cli/{index-0j5ggeem.js → index-chsaj89g.js} +1 -1
- package/dist/cli/{index-c937rpbm.js → index-d1yjbjf9.js} +3 -3
- package/dist/cli/{index-ghjg1rxe.js → index-d4vrpe06.js} +1 -1
- package/dist/cli/{index-ytms8x1h.js → index-e69469z9.js} +2 -2
- package/dist/cli/{index-rw0c6qtt.js → index-f0kk9daj.js} +3 -3
- package/dist/cli/{index-pnfd3s7s.js → index-fbw4g7yh.js} +1 -1
- package/dist/cli/{index-eh0sg1pz.js → index-fqyd21v7.js} +3 -3
- package/dist/cli/{index-g39cmzpj.js → index-gfqz06ra.js} +2 -2
- package/dist/cli/{index-emh69vk9.js → index-h93hm2ew.js} +124 -62
- package/dist/cli/{index-03ad14qc.js → index-hsmvdecz.js} +2 -2
- package/dist/cli/{index-7eajwwfg.js → index-js2jykf9.js} +1 -1
- package/dist/cli/{index-2wctq2hn.js → index-kwbgrb3y.js} +1 -1
- package/dist/cli/{index-2vtrjm19.js → index-kx0sr39t.js} +27 -27
- package/dist/cli/{index-61kszszd.js → index-mcnqpmw6.js} +2 -2
- package/dist/cli/{index-ffmw6af9.js → index-n8n94des.js} +25 -25
- package/dist/cli/{index-xsdphmet.js → index-nyy3hpwg.js} +6 -6
- package/dist/cli/{index-a4s5yrdd.js → index-pd9hkz4f.js} +3 -3
- package/dist/cli/{index-8sqyx5rh.js → index-qg3tx5az.js} +1 -1
- package/dist/cli/{index-m9g7s9ee.js → index-r89wr177.js} +1 -1
- package/dist/cli/{index-7zyktm9f.js → index-s55t0cdc.js} +5 -5
- package/dist/cli/{index-y3sk68m5.js → index-sarq27b9.js} +1 -1
- package/dist/cli/{index-xj3k6x1h.js → index-vhqcqq73.js} +1 -1
- package/dist/cli/{index-5102w44y.js → index-wbjk8xq9.js} +2 -2
- package/dist/cli/{index-9tes309n.js → index-yyh5kegx.js} +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-ejfb2e7c.js → knowledge-escalator-ndsm1023.js} +7 -7
- package/dist/cli/{knowledge-events-3fzfehwy.js → knowledge-events-pcbxvykz.js} +5 -5
- package/dist/cli/{knowledge-store-swxk4tr6.js → knowledge-store-00t92ypz.js} +1 -1
- package/dist/cli/{knowledge-validator-0a1at9gm.js → knowledge-validator-f8mkzp37.js} +2 -2
- package/dist/cli/{mcp-0ah7s1j0.js → mcp-sawqgyk6.js} +1 -1
- package/dist/cli/{model-preflight-nfvapzyj.js → model-preflight-7rrjh3wp.js} +25 -25
- package/dist/cli/{pending-delegations-hynywgkj.js → pending-delegations-2161efex.js} +2 -2
- package/dist/cli/{pr-subscriptions-k86p5qcn.js → pr-subscriptions-m47zghfv.js} +1 -1
- package/dist/cli/{pr-workflow-gate-3ett6hjh.js → pr-workflow-gate-hmtae8gc.js} +25 -25
- package/dist/cli/{scan-cursor-9961dhv1.js → scan-cursor-gdy1qjed.js} +2 -2
- package/dist/cli/{schema-s5zbnzmv.js → schema-qaxjz2de.js} +1 -1
- package/dist/cli/{scope-persistence-2w562h83.js → scope-persistence-dnx61ybv.js} +5 -5
- package/dist/cli/{server-vrk0k61v.js → server-6wmhhy81.js} +25 -25
- package/dist/cli/{skill-generator-bfcjzp20.js → skill-generator-sgv3bdgt.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-8ykpp5m6.js → snapshot-coordination-init-qbtzxwga.js} +25 -25
- package/dist/cli/{speckit-checkoff-3x52vw64.js → speckit-checkoff-yepzgcmj.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-kjw1pqfc.js → worktree-collision-ownership-cswsfrj6.js} +2 -2
- package/dist/cli/{worktree-isolation-xdgm4ekx.js → worktree-isolation-vj7egepy.js} +25 -25
- package/dist/hooks/knowledge-receipt-ledger.d.ts +23 -0
- package/dist/hooks/knowledge-receipt-validator.d.ts +10 -0
- package/dist/index.js +11 -11
- package/dist/state.d.ts +48 -0
- package/package.json +1 -1
package/dist/state.d.ts
CHANGED
|
@@ -844,6 +844,28 @@ export declare const swarmState: {
|
|
|
844
844
|
modelID?: string;
|
|
845
845
|
providerID?: string;
|
|
846
846
|
}>;
|
|
847
|
+
/**
|
|
848
|
+
* Issue #3036: dispatch lineage — child session id → the session id of the
|
|
849
|
+
* architect whose Task call dispatched that child. Populated authoritatively
|
|
850
|
+
* by the delegation gate's taskMetadata hook (host-observed pair; the parent
|
|
851
|
+
* id always comes from `part.sessionID`, never from tool-controlled
|
|
852
|
+
* metadata) and best-effort by injection-time pending adoption at child
|
|
853
|
+
* registration. Read by the knowledge_receipt tool to authorize a child's
|
|
854
|
+
* filing against its dispatching architect's receipt-membership stamps.
|
|
855
|
+
* Bounded via {@link MAX_TRACKED_DISPATCH_PARENTS} (AGENTS.md invariant 8);
|
|
856
|
+
* cleared with the other session-keyed maps on reset and end-of-session.
|
|
857
|
+
*/
|
|
858
|
+
dispatchParentByChildSession: Map<string, string>;
|
|
859
|
+
/**
|
|
860
|
+
* Issue #3036: injection-time dispatch facts awaiting child registration.
|
|
861
|
+
* Recorded when the architect-side delegate-directive injection commits a
|
|
862
|
+
* membership (parent session + delegated target role), consumed when a
|
|
863
|
+
* child session with a matching role is created before its taskMetadata
|
|
864
|
+
* event arrives. Entries expire via
|
|
865
|
+
* {@link PENDING_DISPATCH_AUTHORIZATION_TTL_MS} and the queue is capped by
|
|
866
|
+
* {@link MAX_TRACKED_DISPATCH_PARENTS}.
|
|
867
|
+
*/
|
|
868
|
+
pendingDispatchAuthorizations: PendingDispatchAuthorization[];
|
|
847
869
|
/** Per-session guardrail state — keyed by sessionID */
|
|
848
870
|
agentSessions: Map<string, AgentSessionState>;
|
|
849
871
|
/** In-flight rehydration promises — awaited by rehydrateState before clearing agentSessions */
|
|
@@ -883,6 +905,32 @@ export declare const MAX_REVIEWER_SCOPE_GENERATIONS = 256;
|
|
|
883
905
|
export declare const MAX_REVIEWER_SCOPE_OWNERSHIP_HISTORY = 256;
|
|
884
906
|
/** Generation expiry never exceeds the parent session's normal idle TTL. */
|
|
885
907
|
export declare const REVIEWER_SCOPE_GENERATION_TTL_MS = 7200000;
|
|
908
|
+
/**
|
|
909
|
+
* Issue #3036: dispatch-lineage bounds (AGENTS.md invariant 8). Both the
|
|
910
|
+
* child→parent map and the pending-authorization queue are capped and
|
|
911
|
+
* FIFO-evicted at the same limit; pendings additionally expire so an
|
|
912
|
+
* unconsumed dispatch fact cannot be adopted much later.
|
|
913
|
+
*/
|
|
914
|
+
export declare const MAX_TRACKED_DISPATCH_PARENTS = 200;
|
|
915
|
+
export declare const PENDING_DISPATCH_AUTHORIZATION_TTL_MS = 600000;
|
|
916
|
+
/** Issue #3036: an injection-time dispatch fact awaiting child registration. */
|
|
917
|
+
export interface PendingDispatchAuthorization {
|
|
918
|
+
parentSessionId: string;
|
|
919
|
+
agentName: string;
|
|
920
|
+
recordedAt: number;
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Issue #3036: record an injection-time dispatch fact (parent session +
|
|
924
|
+
* delegated target role) so the child session created for that dispatch can
|
|
925
|
+
* adopt its dispatch parent at registration time if its taskMetadata event
|
|
926
|
+
* has not landed yet. Bounded FIFO; never throws.
|
|
927
|
+
*/
|
|
928
|
+
export declare function recordPendingDispatchAuthorization(parentSessionId: string, agentName: string): void;
|
|
929
|
+
export declare function setDispatchParent(childSessionId: string, parentSessionId: string): void;
|
|
930
|
+
/** Issue #3036: resolve a child session's registered dispatch parent, if any. */
|
|
931
|
+
export declare function resolveDispatchParent(childSessionId: string): string | undefined;
|
|
932
|
+
/** Issue #3036: clear dispatch lineage for a session (child-keyed and parent-valued). */
|
|
933
|
+
export declare function clearDispatchLineageForSession(sessionId: string): void;
|
|
886
934
|
/** Begin one exact coder generation after the full blocking before-chain passes. */
|
|
887
935
|
export declare function startReviewerScopeGeneration(input: {
|
|
888
936
|
parentSessionID: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.188.
|
|
3
|
+
"version": "7.188.8",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|