opencode-swarm 7.188.6 → 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-q2xwy0hz.js → auto-checkpoint-cdcf7yeb.js} +4 -4
- package/dist/cli/{checkpoint-9cbytsxe.js → checkpoint-jpc3a69d.js} +8 -8
- package/dist/cli/{coder-settlement-a74xcmtn.js → coder-settlement-rmaypr7g.js} +3 -3
- package/dist/cli/{config-doctor-jec44ph0.js → config-doctor-b5t9hrzb.js} +7 -7
- package/dist/cli/{core-yvx60mhw.js → core-ky5b3mh6.js} +1 -1
- package/dist/cli/{curator-wr25srz6.js → curator-bsafet3m.js} +25 -25
- package/dist/cli/{curator-drift-t95vqagz.js → curator-drift-2dwkkykq.js} +5 -5
- package/dist/cli/{curator-llm-factory-znjp0g9d.js → curator-llm-factory-ajtxk3sm.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-hxyxqqya.js → doctor-knowledge-receipt-phase-id-mckkwm0c.js} +4 -4
- package/dist/cli/{evidence-summary-service-pzr0aw1h.js → evidence-summary-service-svrt4se9.js} +9 -9
- package/dist/cli/{gate-evidence-0dwbqya4.js → gate-evidence-jcw4mvwr.js} +2 -2
- package/dist/cli/{guardrail-explain-etssbwma.js → guardrail-explain-5j0cg165.js} +26 -26
- package/dist/cli/{guardrail-log-055340sb.js → guardrail-log-h6fc7rnv.js} +3 -3
- package/dist/cli/{guardrail-reset-zdnshfqh.js → guardrail-reset-kjmqnr5r.js} +25 -25
- package/dist/cli/{hive-promoter-nphztsfb.js → hive-promoter-edp5c7k2.js} +25 -25
- package/dist/cli/{index-15836xvt.js → index-0g7wya30.js} +1 -1
- package/dist/cli/{index-mv2ptr24.js → index-11v15np0.js} +2 -2
- package/dist/cli/{index-2sc36smx.js → index-8gyt9j0a.js} +1 -1
- package/dist/cli/{index-yn5r962a.js → index-8hf3rt47.js} +4 -4
- package/dist/cli/{index-06c2j365.js → index-9m3pcjf2.js} +1 -1
- package/dist/cli/{index-jy33tgeb.js → index-b81wsm2s.js} +1 -1
- package/dist/cli/{index-1pfga0cy.js → index-chsaj89g.js} +1 -1
- package/dist/cli/{index-hshx5znv.js → index-d1yjbjf9.js} +3 -3
- package/dist/cli/{index-1r5k2b4v.js → index-d4vrpe06.js} +1 -1
- package/dist/cli/{index-46zge5zc.js → index-e69469z9.js} +2 -2
- package/dist/cli/{index-jp7qd7r4.js → index-f0kk9daj.js} +3 -3
- package/dist/cli/{index-s0r30djy.js → index-fbw4g7yh.js} +1 -1
- package/dist/cli/{index-35ythzj4.js → index-fqyd21v7.js} +3 -3
- package/dist/cli/{index-9c2t70wh.js → index-gfqz06ra.js} +599 -3
- package/dist/cli/{index-qkhssaay.js → index-h93hm2ew.js} +124 -62
- package/dist/cli/{index-fce5drxa.js → index-hsmvdecz.js} +2 -2
- package/dist/cli/{index-g1avjt26.js → index-js2jykf9.js} +1 -1
- package/dist/cli/{index-0bf26e0h.js → index-kwbgrb3y.js} +1 -1
- package/dist/cli/{index-6yb7fhah.js → index-kx0sr39t.js} +27 -27
- package/dist/cli/{index-16f28gya.js → index-mcnqpmw6.js} +2 -2
- package/dist/cli/{index-akg9rdt1.js → index-n8n94des.js} +25 -25
- package/dist/cli/{index-1cz2j033.js → index-nyy3hpwg.js} +6 -6
- package/dist/cli/{index-aq962xjf.js → index-pd9hkz4f.js} +3 -3
- package/dist/cli/{index-0gdyd1mx.js → index-qg3tx5az.js} +1 -1
- package/dist/cli/{index-xhgq58e1.js → index-r89wr177.js} +1 -1
- package/dist/cli/{index-71b12k03.js → index-s55t0cdc.js} +5 -5
- package/dist/cli/{index-9bdz8cbx.js → index-sarq27b9.js} +1 -1
- package/dist/cli/{index-sqkz9hyj.js → index-vhqcqq73.js} +1 -1
- package/dist/cli/{index-99h4ez5x.js → index-wbjk8xq9.js} +2 -2
- package/dist/cli/{index-6p6m98bb.js → index-yyh5kegx.js} +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-h4wqey95.js → knowledge-escalator-ndsm1023.js} +7 -7
- package/dist/cli/{knowledge-events-jdj0kg0x.js → knowledge-events-pcbxvykz.js} +5 -5
- package/dist/cli/{knowledge-store-9pkka657.js → knowledge-store-00t92ypz.js} +1 -1
- package/dist/cli/{knowledge-validator-2hh4838s.js → knowledge-validator-f8mkzp37.js} +2 -2
- package/dist/cli/{mcp-dr2qg42d.js → mcp-sawqgyk6.js} +1 -1
- package/dist/cli/{model-preflight-t6megn5m.js → model-preflight-7rrjh3wp.js} +25 -25
- package/dist/cli/{pending-delegations-96j63y3v.js → pending-delegations-2161efex.js} +2 -2
- package/dist/cli/{pr-subscriptions-qrc475pd.js → pr-subscriptions-m47zghfv.js} +1 -1
- package/dist/cli/{pr-workflow-gate-1hf06vw7.js → pr-workflow-gate-hmtae8gc.js} +25 -25
- package/dist/cli/{scan-cursor-wfa7239s.js → scan-cursor-gdy1qjed.js} +2 -2
- package/dist/cli/{schema-v3z4wgje.js → schema-qaxjz2de.js} +1 -1
- package/dist/cli/{scope-persistence-k2zq1h9h.js → scope-persistence-dnx61ybv.js} +5 -5
- package/dist/cli/{server-qk8e60ah.js → server-6wmhhy81.js} +25 -25
- package/dist/cli/{skill-generator-q6jzjcer.js → skill-generator-sgv3bdgt.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-h8cqcmve.js → snapshot-coordination-init-qbtzxwga.js} +25 -25
- package/dist/cli/{speckit-checkoff-mh45c204.js → speckit-checkoff-yepzgcmj.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-hm5y77hr.js → worktree-collision-ownership-cswsfrj6.js} +2 -2
- package/dist/cli/{worktree-isolation-tdst4qs1.js → worktree-isolation-vj7egepy.js} +25 -25
- package/dist/config/consumers.d.ts +35 -0
- package/dist/hooks/knowledge-receipt-ledger.d.ts +23 -0
- package/dist/hooks/knowledge-receipt-validator.d.ts +10 -0
- package/dist/index.js +14 -14
- package/dist/state.d.ts +48 -0
- package/package.json +1 -1
|
@@ -21,52 +21,52 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
24
|
+
} from "./index-h93hm2ew.js";
|
|
25
|
+
import"./index-b81wsm2s.js";
|
|
26
|
+
import"./index-gfqz06ra.js";
|
|
27
|
+
import"./index-9m3pcjf2.js";
|
|
28
28
|
import"./index-vx8a8w3b.js";
|
|
29
29
|
import"./index-k8sarme1.js";
|
|
30
30
|
import"./index-8xabhfwr.js";
|
|
31
31
|
import"./index-txdagbh7.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-0g7wya30.js";
|
|
33
33
|
import"./index-rdec0y3z.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
34
|
+
import"./index-fbw4g7yh.js";
|
|
35
|
+
import"./index-f0kk9daj.js";
|
|
36
|
+
import"./index-d1yjbjf9.js";
|
|
37
|
+
import"./index-nyy3hpwg.js";
|
|
38
38
|
import"./index-kaqdzhj3.js";
|
|
39
39
|
import"./index-9czp2dcg.js";
|
|
40
40
|
import"./index-cjapb4hy.js";
|
|
41
41
|
import"./index-f6exny9m.js";
|
|
42
42
|
import"./index-pt7h91zc.js";
|
|
43
43
|
import"./index-q7sjgr1y.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-pd9hkz4f.js";
|
|
45
|
+
import"./index-s55t0cdc.js";
|
|
46
46
|
import"./index-6b295cas.js";
|
|
47
47
|
import"./index-9nyqt3kb.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-kwbgrb3y.js";
|
|
49
49
|
import"./index-zsrtt42s.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
50
|
+
import"./index-8gyt9j0a.js";
|
|
51
|
+
import"./index-qg3tx5az.js";
|
|
52
|
+
import"./index-vhqcqq73.js";
|
|
53
53
|
import"./index-g4fs6z4e.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-js2jykf9.js";
|
|
55
|
+
import"./index-11v15np0.js";
|
|
56
|
+
import"./index-mcnqpmw6.js";
|
|
57
57
|
import"./index-m9zzj4ee.js";
|
|
58
58
|
import"./index-7hr5m7yp.js";
|
|
59
59
|
import"./index-2s7dvzff.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-r89wr177.js";
|
|
61
61
|
import"./index-q9kefh33.js";
|
|
62
62
|
import"./index-rtry5xyf.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveWorktreeIsolationConfig
|
|
65
|
-
} from "./index-
|
|
65
|
+
} from "./index-wbjk8xq9.js";
|
|
66
66
|
import"./index-kbkk7vnh.js";
|
|
67
67
|
import"./index-0725jpp7.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-sarq27b9.js";
|
|
69
|
+
import"./index-e69469z9.js";
|
|
70
70
|
import"./index-wrdktgpy.js";
|
|
71
71
|
import"./index-x1eh2636.js";
|
|
72
72
|
import"./index-ntda6tje.js";
|
|
@@ -75,7 +75,7 @@ import"./index-ry16d01s.js";
|
|
|
75
75
|
import"./index-rdm3px0g.js";
|
|
76
76
|
import"./index-7pmbnjvj.js";
|
|
77
77
|
import"./index-1xa8wq76.js";
|
|
78
|
-
import"./index-
|
|
78
|
+
import"./index-8hf3rt47.js";
|
|
79
79
|
import"./index-vzm6zre7.js";
|
|
80
80
|
import"./index-ae75rja9.js";
|
|
81
81
|
import"./index-8q8783g0.js";
|
|
@@ -88,9 +88,9 @@ import"./index-ejhxgyvm.js";
|
|
|
88
88
|
import"./index-7g4c7s5r.js";
|
|
89
89
|
import"./index-p2tqzwh6.js";
|
|
90
90
|
import"./index-gx2vp8gx.js";
|
|
91
|
-
import"./index-
|
|
91
|
+
import"./index-yyh5kegx.js";
|
|
92
92
|
import"./index-zxdawwc7.js";
|
|
93
|
-
import"./index-
|
|
93
|
+
import"./index-d4vrpe06.js";
|
|
94
94
|
import"./index-zfbxfm2m.js";
|
|
95
95
|
import"./index-bk5tah7q.js";
|
|
96
96
|
import"./index-gknz3bv1.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Config-consumption declaration (issue #2904) - the single source of truth for
|
|
3
|
+
* WHICH production code consumes each top-level `PluginConfigSchema` key.
|
|
4
|
+
*
|
|
5
|
+
* Every key MUST declare either `consumers` (repo-relative `path:symbol` citations,
|
|
6
|
+
* each verified by `bun run scripts/check-config-consumption.ts`) or `inert` (a
|
|
7
|
+
* reason string; `/swarm config doctor` then warns when a user's config file
|
|
8
|
+
* sets the key).
|
|
9
|
+
* Exhaustive by construction: `Record<TopLevelConfigKey, ...>` fails `bun run typecheck`
|
|
10
|
+
* the moment a schema key is added without an entry here.
|
|
11
|
+
*
|
|
12
|
+
* Citation rules (enforced by the gate):
|
|
13
|
+
* - citations live in non-test `src/**`; `src/config/schema.ts` is never a consumer
|
|
14
|
+
* (schema-definition is not consumption)
|
|
15
|
+
* - a citation into `src/services/config-doctor.ts` never satisfies the ratchet alone
|
|
16
|
+
* (that file references every key via its validateConfigKey cases); keys genuinely
|
|
17
|
+
* owned by the doctor are enumerated in the gate's DOCTOR_FILE_EXEMPT
|
|
18
|
+
* - DI/test seams (`_internals`, `_test_exports`) are never consumers
|
|
19
|
+
* - a reference means member access, bracket access, destructure shorthand, or a
|
|
20
|
+
* quoted case label - in code, not comments or string text (matcher details in
|
|
21
|
+
* scripts/check-config-consumption.ts)
|
|
22
|
+
*/
|
|
23
|
+
import type { PluginConfigSchema } from './schema.js';
|
|
24
|
+
export type TopLevelConfigKey = keyof typeof PluginConfigSchema.shape;
|
|
25
|
+
/** `'src/path/to/file.ts:symbol'` - the symbol is a representative exported
|
|
26
|
+
* declaration in the cited file. The gate verifies the symbol is DECLARED in the
|
|
27
|
+
* file and that the FILE references the key (file-level reference; the symbol
|
|
28
|
+
* anchors the citation for human readers, it does not scope the search). */
|
|
29
|
+
export type ConsumerCitation = string;
|
|
30
|
+
export type ConfigConsumerDeclaration = {
|
|
31
|
+
consumers: ConsumerCitation[];
|
|
32
|
+
} | {
|
|
33
|
+
inert: string;
|
|
34
|
+
};
|
|
35
|
+
export declare const CONFIG_CONSUMERS: Record<TopLevelConfigKey, ConfigConsumerDeclaration>;
|
|
@@ -252,6 +252,16 @@ export interface TerminalBatchInput {
|
|
|
252
252
|
event_id?: string;
|
|
253
253
|
}>;
|
|
254
254
|
no_relevant_knowledge?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Issue #3036: sessions authorized to file this batch beyond the filer
|
|
257
|
+
* itself — resolved server-side from registered dispatch lineage (the
|
|
258
|
+
* knowledge_receipt tool passes the filer plus its dispatch parent). A
|
|
259
|
+
* membership whose stamp is in this set is fileable even when it differs
|
|
260
|
+
* from the filer's session (a legitimately dispatched child filing the
|
|
261
|
+
* architect-stamped delegate_directive exposure). Unrelated to the
|
|
262
|
+
* `authorization` terminal-override field below.
|
|
263
|
+
*/
|
|
264
|
+
authorized_filing_sessions?: string[];
|
|
255
265
|
authorization?: {
|
|
256
266
|
actor: 'manual-override' | 'reviewer-remediation' | 'phase-override';
|
|
257
267
|
reason: string;
|
|
@@ -259,6 +269,12 @@ export interface TerminalBatchInput {
|
|
|
259
269
|
expected_outcome?: ReceiptOutcome;
|
|
260
270
|
};
|
|
261
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* Issue #3036: upper bound on lineage-attested sessions accepted per terminal
|
|
274
|
+
* batch (applied after trim + dedupe). The only production caller passes at
|
|
275
|
+
* most two host-minted ids (filer + dispatch parent).
|
|
276
|
+
*/
|
|
277
|
+
export declare const MAX_AUTHORIZED_FILING_SESSIONS = 8;
|
|
262
278
|
export declare function validateAndCommitTerminalBatch(directory: string, input: TerminalBatchInput): Promise<ReceiptLedgerResult<{
|
|
263
279
|
accepted: Array<{
|
|
264
280
|
entry_id: string;
|
|
@@ -282,6 +298,13 @@ export declare function validateAndCommitTerminalBatch(directory: string, input:
|
|
|
282
298
|
}>;
|
|
283
299
|
closes_no_relevant: boolean;
|
|
284
300
|
terminal_event_id?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Issue #3036: entry_id → the membership's recorded session id for every
|
|
303
|
+
* wrong_session rejection in this batch. Out-of-band by design — the
|
|
304
|
+
* per-item `rejected` shape stays byte-identical for existing consumers —
|
|
305
|
+
* so the validator can name both sides of the mismatch and a remedy.
|
|
306
|
+
*/
|
|
307
|
+
wrong_session_membership_sessions?: Record<string, string>;
|
|
285
308
|
}>>;
|
|
286
309
|
interface ApplicationMarkerBatchInput {
|
|
287
310
|
trace_id: string;
|
|
@@ -40,6 +40,12 @@ export interface ReceiptValidationContext {
|
|
|
40
40
|
cohort_id?: string;
|
|
41
41
|
source_link_id?: string;
|
|
42
42
|
grace_days?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Issue #3036: additional sessions authorized to file this receipt beyond
|
|
45
|
+
* the filer itself, resolved server-side from registered dispatch lineage
|
|
46
|
+
* by the knowledge_receipt tool (the filer plus its dispatch parent).
|
|
47
|
+
*/
|
|
48
|
+
authorized_filing_sessions?: string[];
|
|
43
49
|
items: ReceiptItem[];
|
|
44
50
|
no_relevant_knowledge: boolean;
|
|
45
51
|
}
|
|
@@ -55,6 +61,8 @@ export type ReceiptValidationResult = {
|
|
|
55
61
|
rejected_items?: Array<{
|
|
56
62
|
item: ReceiptItem;
|
|
57
63
|
reason: ReceiptRejectReason;
|
|
64
|
+
/** Issue #3036: named-mismatch + remedy text for wrong_session rejections. */
|
|
65
|
+
detail?: string;
|
|
58
66
|
}>;
|
|
59
67
|
} | {
|
|
60
68
|
ok: false;
|
|
@@ -64,6 +72,8 @@ export type ReceiptValidationResult = {
|
|
|
64
72
|
rejected_items?: Array<{
|
|
65
73
|
item: ReceiptItem;
|
|
66
74
|
reason: ReceiptRejectReason;
|
|
75
|
+
/** Issue #3036: named-mismatch + remedy text for wrong_session rejections. */
|
|
76
|
+
detail?: string;
|
|
67
77
|
}>;
|
|
68
78
|
};
|
|
69
79
|
export declare const NO_TRACE_SENTINEL = "none";
|