opencode-swarm 7.180.1 → 7.181.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/README.md +14 -0
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-b57917a3.js → coder-settlement-pqrfkm9d.js} +3 -3
- package/dist/cli/{config-doctor-ebat06eq.js → config-doctor-bjqg57jr.js} +2 -2
- package/dist/cli/{core-8k41qh0d.js → core-3t3dzkrc.js} +1 -1
- package/dist/cli/{curator-drift-3av9hffm.js → curator-drift-gay4fx5j.js} +4 -4
- package/dist/cli/{curator-llm-factory-htgqafq0.js → curator-llm-factory-1wx0bd8k.js} +22 -22
- package/dist/cli/{curator-8yb3qkxs.js → curator-y8qr4xgh.js} +22 -22
- package/dist/cli/{evidence-summary-service-s258ea5t.js → evidence-summary-service-jeewwfpg.js} +8 -8
- package/dist/cli/{gate-evidence-fqxpf3xz.js → gate-evidence-ncnfxz7t.js} +2 -2
- package/dist/cli/{guardrail-explain-r0qxa4zy.js → guardrail-explain-cg9e3rr8.js} +23 -23
- package/dist/cli/{guardrail-log-j2wdmvmy.js → guardrail-log-tjcnpwhv.js} +3 -3
- package/dist/cli/{guardrail-reset-wb2eqbvf.js → guardrail-reset-ey81kcdq.js} +22 -22
- package/dist/cli/{hive-promoter-kxpc3r17.js → hive-promoter-ghcynvfv.js} +22 -22
- package/dist/cli/{index-v7fx8q3z.js → index-06f6h0fv.js} +1 -1
- package/dist/cli/{index-xj5z92qz.js → index-0vvpe98m.js} +1 -1
- package/dist/cli/{index-gw5egd8j.js → index-1rcwsfwz.js} +24 -24
- package/dist/cli/{index-cj64vp08.js → index-6aj0ej18.js} +1 -1
- package/dist/cli/{index-yf7tdhpz.js → index-886rpw6w.js} +1 -1
- package/dist/cli/{index-xd0e4amf.js → index-dn0wqvv2.js} +5 -5
- package/dist/cli/{index-wx3wz7ya.js → index-ge1w25n8.js} +2 -2
- package/dist/cli/{index-bhmrgbyv.js → index-gez80bfr.js} +5 -1
- package/dist/cli/{index-2q5m4m2r.js → index-gm67qky7.js} +3 -3
- package/dist/cli/{index-3zvp7t5d.js → index-jysjhvpv.js} +5 -5
- package/dist/cli/{index-855qxtdm.js → index-jzg3wrx6.js} +3 -3
- package/dist/cli/{index-z2zrcecq.js → index-m31a2q35.js} +2492 -1342
- package/dist/cli/{index-rejpbgxp.js → index-m65tnv4j.js} +1 -1
- package/dist/cli/{index-g062wnw1.js → index-m7havzy4.js} +1 -1
- package/dist/cli/{index-600aqfvm.js → index-mkpczxy7.js} +22 -22
- package/dist/cli/{index-k5vwnnym.js → index-n7syegpa.js} +1 -1
- package/dist/cli/{index-3bbjpbmn.js → index-pb3vrqsf.js} +2 -2
- package/dist/cli/{index-k6f0nryj.js → index-pc3cw1xm.js} +2 -2
- package/dist/cli/{index-gy3tcmk4.js → index-r1cnmq4j.js} +4 -4
- package/dist/cli/{index-rp4akjrm.js → index-rqm075jf.js} +14 -3
- package/dist/cli/{index-dzm5nfh7.js → index-s5ghg4kg.js} +1 -1
- package/dist/cli/{index-tnhk72rs.js → index-t5gqdkqx.js} +1 -1
- package/dist/cli/{index-v0par978.js → index-t8hv63wy.js} +1 -1
- package/dist/cli/{index-as4xaams.js → index-wxjvb4vq.js} +1 -1
- package/dist/cli/{index-z2xf153n.js → index-xq9gsfsc.js} +3 -3
- package/dist/cli/{index-50v672wd.js → index-yet4r7kp.js} +3 -3
- package/dist/cli/{index-n5carmk0.js → index-ytxgr424.js} +1 -1
- package/dist/cli/index.js +23 -23
- package/dist/cli/{knowledge-escalator-n30h6ran.js → knowledge-escalator-jrkx2b6j.js} +6 -6
- package/dist/cli/{knowledge-events-k2qqase2.js → knowledge-events-bha1zpbk.js} +4 -4
- package/dist/cli/{knowledge-store-zy226v5a.js → knowledge-store-q438tkyd.js} +1 -1
- package/dist/cli/{knowledge-validator-qgyxdpc9.js → knowledge-validator-3nx18fst.js} +2 -2
- package/dist/cli/{mcp-pj7acze3.js → mcp-98693syb.js} +1 -1
- package/dist/cli/{pending-delegations-sgnnyw55.js → pending-delegations-nkpvtkz4.js} +2 -2
- package/dist/cli/{pr-subscriptions-7fb7xm3q.js → pr-subscriptions-qrvhr6jw.js} +1 -1
- package/dist/cli/{pr-workflow-gate-5dqcrkz6.js → pr-workflow-gate-k44gdrqd.js} +22 -22
- package/dist/cli/{runner-p9hstpxn.js → runner-tzgwvvn1.js} +1 -1
- package/dist/cli/{scan-cursor-jc7wwb7e.js → scan-cursor-qjdn8kv6.js} +2 -2
- package/dist/cli/{schema-5k68crjb.js → schema-pyax2tq7.js} +5 -1
- package/dist/cli/{scope-persistence-xeg4khwk.js → scope-persistence-dyc17kze.js} +5 -5
- package/dist/cli/{server-ej6tzd7t.js → server-bmzj5vt2.js} +22 -22
- package/dist/cli/{skill-generator-nspt9b3n.js → skill-generator-mp29bht6.js} +7 -7
- package/dist/cli/{snapshot-coordination-init-3rs3zpaa.js → snapshot-coordination-init-azkzphpy.js} +22 -22
- package/dist/cli/{speckit-checkoff-dqf636ya.js → speckit-checkoff-1cqfakw2.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-rbzgbvj4.js → worktree-collision-ownership-58sab2m6.js} +2 -2
- package/dist/cli/{worktree-isolation-6zpnzr70.js → worktree-isolation-9egt1ccv.js} +22 -22
- package/dist/commands/harness-opt.d.ts +44 -0
- package/dist/commands/registry.d.ts +56 -0
- package/dist/config/schema.d.ts +20 -0
- package/dist/harness/store.d.ts +9 -0
- package/dist/index.js +259 -247
- package/dist/services/harness-optimizer/comparative.d.ts +81 -0
- package/dist/services/harness-optimizer/controller.d.ts +126 -0
- package/dist/services/harness-optimizer/execution.d.ts +68 -0
- package/dist/services/harness-optimizer/index.d.ts +10 -0
- package/dist/services/harness-optimizer/lineage.d.ts +70 -0
- package/dist/services/harness-optimizer/manifest.d.ts +65 -0
- package/dist/services/harness-optimizer/oracle.d.ts +40 -0
- package/opencode-swarm.schema.json +42 -0
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-wxjvb4vq.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailExplain
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-pb3vrqsf.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,44 +97,44 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
} from "./index-m31a2q35.js";
|
|
101
|
+
import"./index-t5gqdkqx.js";
|
|
102
102
|
import"./index-hamqvzqn.js";
|
|
103
|
-
import"./index-
|
|
103
|
+
import"./index-m65tnv4j.js";
|
|
104
104
|
import"./index-nhxykfyy.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
105
|
+
import"./index-gez80bfr.js";
|
|
106
|
+
import"./index-dn0wqvv2.js";
|
|
107
107
|
import"./index-s0zgz4p1.js";
|
|
108
108
|
import"./index-txdagbh7.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-m7havzy4.js";
|
|
110
110
|
import"./index-6b295cas.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-yet4r7kp.js";
|
|
112
|
+
import"./index-jysjhvpv.js";
|
|
113
|
+
import"./index-886rpw6w.js";
|
|
114
114
|
import"./index-rdec0y3z.js";
|
|
115
115
|
import"./index-y30y1rkg.js";
|
|
116
116
|
import"./index-cjapb4hy.js";
|
|
117
117
|
import"./index-zsrtt42s.js";
|
|
118
|
-
import"./index-
|
|
118
|
+
import"./index-xq9gsfsc.js";
|
|
119
119
|
import"./index-bdpgfep1.js";
|
|
120
120
|
import"./index-92m05mew.js";
|
|
121
121
|
import"./index-pt7h91zc.js";
|
|
122
122
|
import"./index-q7sjgr1y.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
123
|
+
import"./index-06f6h0fv.js";
|
|
124
|
+
import"./index-n7syegpa.js";
|
|
125
|
+
import"./index-ytxgr424.js";
|
|
126
|
+
import"./index-t8hv63wy.js";
|
|
127
|
+
import"./index-gm67qky7.js";
|
|
128
128
|
import"./index-gc6h1fmf.js";
|
|
129
129
|
import"./index-2s7dvzff.js";
|
|
130
|
-
import"./index-
|
|
130
|
+
import"./index-s5ghg4kg.js";
|
|
131
131
|
import"./index-6gcxgx84.js";
|
|
132
132
|
import"./index-rtry5xyf.js";
|
|
133
|
-
import"./index-
|
|
133
|
+
import"./index-pc3cw1xm.js";
|
|
134
134
|
import"./index-frcemc0b.js";
|
|
135
135
|
import"./index-0725jpp7.js";
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
136
|
+
import"./index-6aj0ej18.js";
|
|
137
|
+
import"./index-ge1w25n8.js";
|
|
138
138
|
import"./index-38cfx8g8.js";
|
|
139
139
|
import"./index-91dhg3wr.js";
|
|
140
140
|
import"./index-vmthakz0.js";
|
|
@@ -142,7 +142,7 @@ import"./index-bv4b8tpa.js";
|
|
|
142
142
|
import"./index-rdm3px0g.js";
|
|
143
143
|
import"./index-ry16d01s.js";
|
|
144
144
|
import"./index-516j9vsk.js";
|
|
145
|
-
import"./index-
|
|
145
|
+
import"./index-r1cnmq4j.js";
|
|
146
146
|
import"./index-vzm6zre7.js";
|
|
147
147
|
import"./index-ae75rja9.js";
|
|
148
148
|
import"./index-12ewkms0.js";
|
|
@@ -154,12 +154,12 @@ import"./index-ejhxgyvm.js";
|
|
|
154
154
|
import"./index-7g4c7s5r.js";
|
|
155
155
|
import"./index-989v83pb.js";
|
|
156
156
|
import"./index-gx2vp8gx.js";
|
|
157
|
-
import"./index-
|
|
157
|
+
import"./index-0vvpe98m.js";
|
|
158
158
|
import"./index-zxdawwc7.js";
|
|
159
159
|
import {
|
|
160
160
|
init_schema,
|
|
161
161
|
stripKnownSwarmPrefix
|
|
162
|
-
} from "./index-
|
|
162
|
+
} from "./index-rqm075jf.js";
|
|
163
163
|
import {
|
|
164
164
|
AGENT_TOOL_MAP,
|
|
165
165
|
ORCHESTRATOR_NAME,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./index-s0zgz4p1.js";
|
|
7
7
|
import {
|
|
8
8
|
readEffectiveSpecSync
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-m7havzy4.js";
|
|
10
10
|
import {
|
|
11
11
|
validateWorkspaceRoot
|
|
12
12
|
} from "./index-6b295cas.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-n7syegpa.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
replayFromLedgerWithStatus,
|
|
59
59
|
takeSnapshotEvent,
|
|
60
60
|
takeSnapshotWithRetry
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-ge1w25n8.js";
|
|
62
62
|
import {
|
|
63
63
|
appendCoreEventSync
|
|
64
64
|
} from "./index-38cfx8g8.js";
|
|
@@ -2940,7 +2940,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2940
2940
|
if (status === "completed") {
|
|
2941
2941
|
try {
|
|
2942
2942
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2943
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
2943
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-1cqfakw2.js");
|
|
2944
2944
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
2945
2945
|
taskId,
|
|
2946
2946
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -2965,7 +2965,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2965
2965
|
break;
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
2968
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-dyc17kze.js");
|
|
2969
2969
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
2970
2970
|
directory,
|
|
2971
2971
|
taskId,
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
init_loader,
|
|
27
27
|
loadPluginConfig
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-0vvpe98m.js";
|
|
29
29
|
import {
|
|
30
30
|
init_package,
|
|
31
31
|
package_default
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-rqm075jf.js";
|
|
33
33
|
import {
|
|
34
34
|
criticalWarn,
|
|
35
35
|
init_logger,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
PluginConfigSchema,
|
|
13
13
|
init_schema,
|
|
14
14
|
stripKnownSwarmPrefix
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-rqm075jf.js";
|
|
16
16
|
import {
|
|
17
17
|
ALL_AGENT_NAMES,
|
|
18
18
|
TOOL_NAME_SET,
|
|
@@ -935,6 +935,10 @@ function validateConfigKey(path2, value) {
|
|
|
935
935
|
emitObjectTypeMismatch("harness_evolution", value, findings);
|
|
936
936
|
break;
|
|
937
937
|
}
|
|
938
|
+
case "harness_opt": {
|
|
939
|
+
emitObjectTypeMismatch("harness_opt", value, findings);
|
|
940
|
+
break;
|
|
941
|
+
}
|
|
938
942
|
case "phase_complete": {
|
|
939
943
|
emitObjectTypeMismatch("phase_complete", value, findings);
|
|
940
944
|
break;
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./index-7g4c7s5r.js";
|
|
27
27
|
import {
|
|
28
28
|
loadPluginConfigWithMeta
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-0vvpe98m.js";
|
|
30
30
|
import {
|
|
31
31
|
KnowledgeConfigSchema,
|
|
32
32
|
init_schema
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-rqm075jf.js";
|
|
34
34
|
import {
|
|
35
35
|
init_logger,
|
|
36
36
|
warn
|
|
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
let bumps = 0;
|
|
2815
2815
|
if (deltas.length > 0) {
|
|
2816
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2816
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-q438tkyd.js");
|
|
2817
2817
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2818
2818
|
}
|
|
2819
2819
|
return {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-gm67qky7.js";
|
|
7
7
|
import {
|
|
8
8
|
jaccardBigram,
|
|
9
9
|
readKnowledge,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveSwarmKnowledgePath,
|
|
12
12
|
transactKnowledge,
|
|
13
13
|
wordBigrams
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-r1cnmq4j.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-3nx18fst.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-pyax2tq7.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-jzg3wrx6.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-pc3cw1xm.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
loadPluginConfigWithMeta,
|
|
47
47
|
loadPluginConfigWithMetaAsync,
|
|
48
48
|
resetConfigAdvisoryDedup
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-0vvpe98m.js";
|
|
50
50
|
import"./index-zxdawwc7.js";
|
|
51
51
|
import {
|
|
52
52
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
TurboConfigSchema,
|
|
73
73
|
WorktreeIsolationConfigSchema,
|
|
74
74
|
resolveAutoReviewConfig
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-rqm075jf.js";
|
|
76
76
|
import {
|
|
77
77
|
ALL_AGENT_NAMES,
|
|
78
78
|
ALL_SUBAGENT_NAMES,
|