opencode-swarm 7.136.4 → 7.137.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/dist/agents/agent-output-schema.d.ts +2 -2
- package/dist/cli/{config-doctor-qwp5y9dk.js → config-doctor-vyx82nx2.js} +2 -2
- package/dist/cli/{core-jpjk2qvt.js → core-6w5sd5bc.js} +1 -1
- package/dist/cli/{curation-policy-8tsbaa4q.js → curation-policy-8tvs4pa0.js} +7 -6
- package/dist/cli/{curator-763smew7.js → curator-43xqs75k.js} +25 -25
- package/dist/cli/{curator-llm-factory-dg8mmzy7.js → curator-llm-factory-8nywfdsh.js} +25 -25
- package/dist/cli/{evidence-summary-service-nse06dqr.js → evidence-summary-service-85gw9p2m.js} +7 -7
- package/dist/cli/{gate-evidence-kdygjr56.js → gate-evidence-s2kytsrj.js} +4 -4
- package/dist/cli/{guardrail-explain-6jc012g3.js → guardrail-explain-8kkqz8tx.js} +26 -26
- package/dist/cli/{guardrail-log-86aw7fne.js → guardrail-log-e2v9qw71.js} +3 -3
- package/dist/cli/{hive-promoter-en786ja4.js → hive-promoter-jt9ky0hn.js} +25 -25
- package/dist/cli/{index-45y0y3xh.js → index-1zrb3vt2.js} +7 -7
- package/dist/cli/{index-d2sf9an1.js → index-5r6kkhd7.js} +4 -4
- package/dist/cli/{index-ne28wyyc.js → index-5wjw05dy.js} +2 -2
- package/dist/cli/{index-06htxvzq.js → index-72wzb81c.js} +3 -3
- package/dist/cli/{index-7t3vjw5e.js → index-877ah4kx.js} +1 -1
- package/dist/cli/{index-tncy55bp.js → index-8ehyt3rx.js} +1 -1
- package/dist/cli/{index-gjs5g97v.js → index-91kk2e9j.js} +1 -1
- package/dist/cli/{index-t1s4b5ha.js → index-92v63zzr.js} +688 -637
- package/dist/cli/{index-rkp6jvc3.js → index-aze9n64z.js} +2 -2
- package/dist/cli/{index-wy2f83j5.js → index-d00q9kpq.js} +5 -5
- package/dist/cli/{index-qv1xc6rd.js → index-d0nhz96c.js} +2 -2
- package/dist/cli/{index-hh34tyv7.js → index-dxatvs3f.js} +1 -1
- package/dist/cli/{index-4cv991ra.js → index-f24r6yqk.js} +3 -3
- package/dist/cli/{index-bb3ks0v3.js → index-fgkhpdc6.js} +6 -6
- package/dist/cli/{index-w6j1n5az.js → index-gv00q5gc.js} +1 -1
- package/dist/cli/index-h5sbn1zr.js +1670 -0
- package/dist/cli/{index-et8b70c8.js → index-j2ghsdzz.js} +27 -27
- package/dist/cli/{index-89fpahtg.js → index-j6ewv2pe.js} +6 -1
- package/dist/cli/{index-nfm9f10v.js → index-k3mezk96.js} +1 -1
- package/dist/cli/{index-94pvh7hc.js → index-mg26zd8x.js} +2 -2
- package/dist/cli/{index-pq8ge6fe.js → index-mwdzkr6k.js} +3 -2
- package/dist/cli/{index-b3jfcptk.js → index-n3h6rmbe.js} +1 -1
- package/dist/cli/{index-fkdxfdbx.js → index-p124rnwb.js} +4 -4
- package/dist/cli/{index-1hef020t.js → index-pcwjz5de.js} +1 -1
- package/dist/cli/{index-kym0cctr.js → index-qy3rgmkc.js} +1 -1
- package/dist/cli/{index-d61h3f3h.js → index-s3j9fsab.js} +2 -2
- package/dist/cli/{index-zzhyws9g.js → index-vft1pg34.js} +1 -1
- package/dist/cli/{index-fhnbzz75.js → index-wg98bsxz.js} +2 -2
- package/dist/cli/{index-g0sdhyqk.js → index-y25nsyaq.js} +1 -1
- package/dist/cli/index.js +25 -25
- package/dist/cli/{knowledge-escalator-e815bveb.js → knowledge-escalator-9k0kbx6b.js} +8 -7
- package/dist/cli/{knowledge-events-dz2tyhpw.js → knowledge-events-8nz3sa2d.js} +6 -5
- package/dist/cli/{knowledge-link-zr40rnwr.js → knowledge-link-t94b79qe.js} +5 -4
- package/dist/cli/{knowledge-store-97qr7m9k.js → knowledge-store-esghe3f9.js} +6 -5
- package/dist/cli/{knowledge-validator-xsetvy4v.js → knowledge-validator-bjxag1jp.js} +9 -8
- package/dist/cli/{pending-delegations-0h5b18p7.js → pending-delegations-kshh66s2.js} +3 -3
- package/dist/cli/{pr-subscriptions-jn0h047q.js → pr-subscriptions-5fpzz4f3.js} +3 -3
- package/dist/cli/{runner-deeswadt.js → runner-d820ws7y.js} +5 -5
- package/dist/cli/{scan-cursor-129fwf7e.js → scan-cursor-t212v00f.js} +7 -6
- package/dist/cli/{schema-3xdza5gg.js → schema-11gyrec3.js} +1 -1
- package/dist/cli/{scope-persistence-5xc9ntdh.js → scope-persistence-sjz200dt.js} +4 -4
- package/dist/cli/{skill-generator-8zhprasg.js → skill-generator-a07hpmw6.js} +10 -9
- package/dist/cli/{telemetry-6678gya0.js → telemetry-h7h7f0ez.js} +2 -1
- package/dist/cli/{worktree-collision-ownership-wt7cc850.js → worktree-collision-ownership-xzwab4xt.js} +3 -3
- package/dist/config/constants.d.ts +1 -1
- package/dist/config/evidence-schema.d.ts +103 -103
- package/dist/config/plan-schema.d.ts +10 -10
- package/dist/config/schema.d.ts +8 -8
- package/dist/consensus/contracts.d.ts +3 -3
- package/dist/hooks/guardrails/file-authority.d.ts +20 -1
- package/dist/hooks/hive-promoter.d.ts +1 -1
- package/dist/index.js +320 -321
- package/dist/memory/index.d.ts +1 -1
- package/dist/memory/local-jsonl-provider.d.ts +4 -1
- package/dist/memory/redaction.d.ts +91 -0
- package/dist/memory/sqlite-provider.d.ts +5 -1
- package/dist/observability/catalog.d.ts +84 -0
- package/dist/observability/envelope.d.ts +401 -0
- package/dist/observability/ids.d.ts +97 -0
- package/dist/observability/index.d.ts +58 -0
- package/dist/observability/legacy.d.ts +68 -0
- package/dist/observability/observe.d.ts +112 -0
- package/dist/observability/otel-mapping.d.ts +48 -0
- package/dist/observability/relationships.d.ts +44 -0
- package/dist/observability/sampling.d.ts +77 -0
- package/dist/summaries/schema.d.ts +2 -2
- package/dist/telemetry.d.ts +4 -1
- package/dist/utils/arg-hash.d.ts +113 -0
- package/dist/utils/stable-stringify.d.ts +47 -2
- package/package.json +3 -2
- package/dist/cli/index-cze4bq1x.js +0 -358
|
@@ -9,9 +9,9 @@ export declare const ExecutionProfileSchema: z.ZodObject<{
|
|
|
9
9
|
export type ExecutionProfile = z.infer<typeof ExecutionProfileSchema>;
|
|
10
10
|
export declare const TaskStatusSchema: z.ZodEnum<{
|
|
11
11
|
blocked: "blocked";
|
|
12
|
+
completed: "completed";
|
|
12
13
|
pending: "pending";
|
|
13
14
|
in_progress: "in_progress";
|
|
14
|
-
completed: "completed";
|
|
15
15
|
closed: "closed";
|
|
16
16
|
}>;
|
|
17
17
|
export type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
@@ -23,11 +23,11 @@ export declare const TaskSizeSchema: z.ZodEnum<{
|
|
|
23
23
|
export type TaskSize = z.infer<typeof TaskSizeSchema>;
|
|
24
24
|
export declare const PhaseStatusSchema: z.ZodEnum<{
|
|
25
25
|
blocked: "blocked";
|
|
26
|
+
complete: "complete";
|
|
27
|
+
completed: "completed";
|
|
26
28
|
pending: "pending";
|
|
27
29
|
in_progress: "in_progress";
|
|
28
|
-
completed: "completed";
|
|
29
30
|
closed: "closed";
|
|
30
|
-
complete: "complete";
|
|
31
31
|
}>;
|
|
32
32
|
export type PhaseStatus = z.infer<typeof PhaseStatusSchema>;
|
|
33
33
|
/**
|
|
@@ -53,9 +53,9 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
53
53
|
phase: z.ZodNumber;
|
|
54
54
|
status: z.ZodDefault<z.ZodEnum<{
|
|
55
55
|
blocked: "blocked";
|
|
56
|
+
completed: "completed";
|
|
56
57
|
pending: "pending";
|
|
57
58
|
in_progress: "in_progress";
|
|
58
|
-
completed: "completed";
|
|
59
59
|
closed: "closed";
|
|
60
60
|
}>>;
|
|
61
61
|
size: z.ZodDefault<z.ZodEnum<{
|
|
@@ -77,20 +77,20 @@ export declare const PhaseSchema: z.ZodObject<{
|
|
|
77
77
|
name: z.ZodString;
|
|
78
78
|
status: z.ZodDefault<z.ZodEnum<{
|
|
79
79
|
blocked: "blocked";
|
|
80
|
+
complete: "complete";
|
|
81
|
+
completed: "completed";
|
|
80
82
|
pending: "pending";
|
|
81
83
|
in_progress: "in_progress";
|
|
82
|
-
completed: "completed";
|
|
83
84
|
closed: "closed";
|
|
84
|
-
complete: "complete";
|
|
85
85
|
}>>;
|
|
86
86
|
tasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
87
87
|
id: z.ZodString;
|
|
88
88
|
phase: z.ZodNumber;
|
|
89
89
|
status: z.ZodDefault<z.ZodEnum<{
|
|
90
90
|
blocked: "blocked";
|
|
91
|
+
completed: "completed";
|
|
91
92
|
pending: "pending";
|
|
92
93
|
in_progress: "in_progress";
|
|
93
|
-
completed: "completed";
|
|
94
94
|
closed: "closed";
|
|
95
95
|
}>>;
|
|
96
96
|
size: z.ZodDefault<z.ZodEnum<{
|
|
@@ -123,20 +123,20 @@ export declare const PlanSchema: z.ZodObject<{
|
|
|
123
123
|
name: z.ZodString;
|
|
124
124
|
status: z.ZodDefault<z.ZodEnum<{
|
|
125
125
|
blocked: "blocked";
|
|
126
|
+
complete: "complete";
|
|
127
|
+
completed: "completed";
|
|
126
128
|
pending: "pending";
|
|
127
129
|
in_progress: "in_progress";
|
|
128
|
-
completed: "completed";
|
|
129
130
|
closed: "closed";
|
|
130
|
-
complete: "complete";
|
|
131
131
|
}>>;
|
|
132
132
|
tasks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
133
133
|
id: z.ZodString;
|
|
134
134
|
phase: z.ZodNumber;
|
|
135
135
|
status: z.ZodDefault<z.ZodEnum<{
|
|
136
136
|
blocked: "blocked";
|
|
137
|
+
completed: "completed";
|
|
137
138
|
pending: "pending";
|
|
138
139
|
in_progress: "in_progress";
|
|
139
|
-
completed: "completed";
|
|
140
140
|
closed: "closed";
|
|
141
141
|
}>>;
|
|
142
142
|
size: z.ZodDefault<z.ZodEnum<{
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -670,9 +670,9 @@ export declare const KnowledgeConfigSchema: z.ZodObject<{
|
|
|
670
670
|
todo_max_phases: z.ZodDefault<z.ZodNumber>;
|
|
671
671
|
sweep_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
672
672
|
confidence_floor_action: z.ZodDefault<z.ZodEnum<{
|
|
673
|
+
none: "none";
|
|
673
674
|
quarantine: "quarantine";
|
|
674
675
|
demote: "demote";
|
|
675
|
-
none: "none";
|
|
676
676
|
}>>;
|
|
677
677
|
confidence_floor_min_outcomes: z.ZodDefault<z.ZodNumber>;
|
|
678
678
|
confidence_floor_signal_threshold: z.ZodDefault<z.ZodNumber>;
|
|
@@ -962,10 +962,10 @@ export declare const SkillImproverConfigSchema: z.ZodObject<{
|
|
|
962
962
|
consolidation_interval_hours: z.ZodDefault<z.ZodNumber>;
|
|
963
963
|
consolidation_max_calls_per_run: z.ZodDefault<z.ZodNumber>;
|
|
964
964
|
targets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
965
|
+
knowledge: "knowledge";
|
|
965
966
|
skills: "skills";
|
|
966
967
|
spec: "spec";
|
|
967
968
|
architect_prompt: "architect_prompt";
|
|
968
|
-
knowledge: "knowledge";
|
|
969
969
|
}>>>;
|
|
970
970
|
write_mode: z.ZodDefault<z.ZodEnum<{
|
|
971
971
|
proposal: "proposal";
|
|
@@ -1543,11 +1543,11 @@ export declare const ExternalSkillCandidateSourceTypeSchema: z.ZodEnum<{
|
|
|
1543
1543
|
export type ExternalSkillCandidateSourceType = z.infer<typeof ExternalSkillCandidateSourceTypeSchema>;
|
|
1544
1544
|
/** Evaluation verdict for an external skill candidate. */
|
|
1545
1545
|
export declare const ExternalSkillCandidateEvaluationVerdictSchema: z.ZodEnum<{
|
|
1546
|
+
passed: "passed";
|
|
1546
1547
|
pending: "pending";
|
|
1547
1548
|
promoted: "promoted";
|
|
1548
1549
|
quarantined: "quarantined";
|
|
1549
1550
|
in_review: "in_review";
|
|
1550
|
-
passed: "passed";
|
|
1551
1551
|
rejected: "rejected";
|
|
1552
1552
|
revoked: "revoked";
|
|
1553
1553
|
}>;
|
|
@@ -1590,21 +1590,21 @@ export declare const ExternalSkillCandidateSchema: z.ZodObject<{
|
|
|
1590
1590
|
skill_body: z.ZodString;
|
|
1591
1591
|
risk_flags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1592
1592
|
evaluation_verdict: z.ZodDefault<z.ZodEnum<{
|
|
1593
|
+
passed: "passed";
|
|
1593
1594
|
pending: "pending";
|
|
1594
1595
|
promoted: "promoted";
|
|
1595
1596
|
quarantined: "quarantined";
|
|
1596
1597
|
in_review: "in_review";
|
|
1597
|
-
passed: "passed";
|
|
1598
1598
|
rejected: "rejected";
|
|
1599
1599
|
revoked: "revoked";
|
|
1600
1600
|
}>>;
|
|
1601
1601
|
evaluation_history: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1602
1602
|
verdict: z.ZodEnum<{
|
|
1603
|
+
passed: "passed";
|
|
1603
1604
|
pending: "pending";
|
|
1604
1605
|
promoted: "promoted";
|
|
1605
1606
|
quarantined: "quarantined";
|
|
1606
1607
|
in_review: "in_review";
|
|
1607
|
-
passed: "passed";
|
|
1608
1608
|
rejected: "rejected";
|
|
1609
1609
|
revoked: "revoked";
|
|
1610
1610
|
}>;
|
|
@@ -1613,11 +1613,11 @@ export declare const ExternalSkillCandidateSchema: z.ZodObject<{
|
|
|
1613
1613
|
reason: z.ZodOptional<z.ZodString>;
|
|
1614
1614
|
candidate_id: z.ZodOptional<z.ZodString>;
|
|
1615
1615
|
original_verdict: z.ZodOptional<z.ZodEnum<{
|
|
1616
|
+
passed: "passed";
|
|
1616
1617
|
pending: "pending";
|
|
1617
1618
|
promoted: "promoted";
|
|
1618
1619
|
quarantined: "quarantined";
|
|
1619
1620
|
in_review: "in_review";
|
|
1620
|
-
passed: "passed";
|
|
1621
1621
|
rejected: "rejected";
|
|
1622
1622
|
revoked: "revoked";
|
|
1623
1623
|
}>>;
|
|
@@ -2115,9 +2115,9 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
2115
2115
|
todo_max_phases: z.ZodDefault<z.ZodNumber>;
|
|
2116
2116
|
sweep_enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2117
2117
|
confidence_floor_action: z.ZodDefault<z.ZodEnum<{
|
|
2118
|
+
none: "none";
|
|
2118
2119
|
quarantine: "quarantine";
|
|
2119
2120
|
demote: "demote";
|
|
2120
|
-
none: "none";
|
|
2121
2121
|
}>>;
|
|
2122
2122
|
confidence_floor_min_outcomes: z.ZodDefault<z.ZodNumber>;
|
|
2123
2123
|
confidence_floor_signal_threshold: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2368,10 +2368,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
2368
2368
|
consolidation_interval_hours: z.ZodDefault<z.ZodNumber>;
|
|
2369
2369
|
consolidation_max_calls_per_run: z.ZodDefault<z.ZodNumber>;
|
|
2370
2370
|
targets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2371
|
+
knowledge: "knowledge";
|
|
2371
2372
|
skills: "skills";
|
|
2372
2373
|
spec: "spec";
|
|
2373
2374
|
architect_prompt: "architect_prompt";
|
|
2374
|
-
knowledge: "knowledge";
|
|
2375
2375
|
}>>>;
|
|
2376
2376
|
write_mode: z.ZodDefault<z.ZodEnum<{
|
|
2377
2377
|
proposal: "proposal";
|
|
@@ -66,8 +66,8 @@ export declare const ConsensusMineRequestSchema: z.ZodObject<{
|
|
|
66
66
|
}, z.core.$strict>;
|
|
67
67
|
/** Where a mined attribute would be actioned, if it qualifies as a proposal. */
|
|
68
68
|
declare const ConsensusProposedTargetSchema: z.ZodEnum<{
|
|
69
|
-
tooling: "tooling";
|
|
70
69
|
none: "none";
|
|
70
|
+
tooling: "tooling";
|
|
71
71
|
orchestration: "orchestration";
|
|
72
72
|
prompt: "prompt";
|
|
73
73
|
skill: "skill";
|
|
@@ -149,8 +149,8 @@ export declare const ConsensusAttributeV1Schema: z.ZodObject<{
|
|
|
149
149
|
counterexampleRefs: z.ZodArray<z.ZodString>;
|
|
150
150
|
confidence: z.ZodNumber;
|
|
151
151
|
proposedTarget: z.ZodEnum<{
|
|
152
|
-
tooling: "tooling";
|
|
153
152
|
none: "none";
|
|
153
|
+
tooling: "tooling";
|
|
154
154
|
orchestration: "orchestration";
|
|
155
155
|
prompt: "prompt";
|
|
156
156
|
skill: "skill";
|
|
@@ -388,8 +388,8 @@ export declare const ConsensusReportV1Schema: z.ZodObject<{
|
|
|
388
388
|
counterexampleRefs: z.ZodArray<z.ZodString>;
|
|
389
389
|
confidence: z.ZodNumber;
|
|
390
390
|
proposedTarget: z.ZodEnum<{
|
|
391
|
-
tooling: "tooling";
|
|
392
391
|
none: "none";
|
|
392
|
+
tooling: "tooling";
|
|
393
393
|
orchestration: "orchestration";
|
|
394
394
|
prompt: "prompt";
|
|
395
395
|
skill: "skill";
|
|
@@ -22,8 +22,27 @@ import { type FileZone } from '../../context/zone-classifier';
|
|
|
22
22
|
* silently dropped nested keys, collapsing distinct todo contents to the same
|
|
23
23
|
* hash.
|
|
24
24
|
*
|
|
25
|
+
* When `stableCanonicalStringify` throws (cyclic refs, BigInt quirks), a
|
|
26
|
+
* constant fallback would make distinct-but-unserializable args collide,
|
|
27
|
+
* producing false-positive consecutive-equality detection (#2060-class
|
|
28
|
+
* bug). `coarseObjectDiscriminator` mixes in a shallow structural summary
|
|
29
|
+
* instead, so identical unserializable args still collide (true positive
|
|
30
|
+
* preserved) while distinct ones no longer do.
|
|
31
|
+
*
|
|
32
|
+
* Hash input is bounded by `boundedBunHash` (`src/utils/arg-hash.ts`), which
|
|
33
|
+
* hashes a length-prefixed head+tail SAMPLE rather than a bare prefix. That
|
|
34
|
+
* matters here more than anywhere: this hash drives the consecutive-repetition
|
|
35
|
+
* circuit breaker in `tool-before.ts`, which THROWS. Under a bare-prefix cap,
|
|
36
|
+
* ten consecutive large writes sharing a 64 KB boilerplate header but with
|
|
37
|
+
* differing appended bodies would have hashed identically and tripped it.
|
|
38
|
+
*
|
|
39
|
+
* Both this bounding and the fallback discriminator are shared verbatim with
|
|
40
|
+
* `hooks/adversarial-detector.ts:hashArgsForSpiral`; keep them in the shared
|
|
41
|
+
* module rather than re-inlining a copy here.
|
|
42
|
+
*
|
|
25
43
|
* @param args Tool arguments to hash
|
|
26
|
-
* @returns Numeric hash (0 for non-objects
|
|
44
|
+
* @returns Numeric hash (0 for non-objects; a discriminated fallback hash if
|
|
45
|
+
* stable stringification fails)
|
|
27
46
|
*/
|
|
28
47
|
export declare function hashArgs(args: unknown): number;
|
|
29
48
|
/** A record of an agent attesting to (resolving/suppressing/deferring) a finding. */
|
|
@@ -116,7 +116,7 @@ export declare const _internals: {
|
|
|
116
116
|
default_max_phases: number;
|
|
117
117
|
todo_max_phases: number;
|
|
118
118
|
sweep_enabled: boolean;
|
|
119
|
-
confidence_floor_action: "
|
|
119
|
+
confidence_floor_action: "none" | "quarantine" | "demote";
|
|
120
120
|
confidence_floor_min_outcomes: number;
|
|
121
121
|
confidence_floor_signal_threshold: number;
|
|
122
122
|
contradiction_threshold_action: "quarantine" | "tag_only";
|