opencode-swarm 7.197.3 → 7.198.1
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/.opencode/skills/swarm-pr-review/SKILL.md +10 -11
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +4 -2
- package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +5 -2
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +57 -42
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/critic.d.ts +1 -1
- package/dist/cli/{auto-checkpoint-e6t09fc1.js → auto-checkpoint-26ds5st2.js} +8 -8
- package/dist/cli/{capability-probe-rty1315z.js → capability-probe-dwqn2609.js} +1 -1
- package/dist/cli/{checkpoint-5j752d1a.js → checkpoint-5e7hxsr9.js} +16 -16
- package/dist/cli/{coder-settlement-8t3yznbq.js → coder-settlement-temmr2pk.js} +12 -12
- package/dist/cli/{config-doctor-8pdsjzsw.js → config-doctor-raqmkf8g.js} +15 -15
- package/dist/cli/{core-1dty31az.js → core-f5pxzgmz.js} +3 -3
- package/dist/cli/{curation-policy-5hm6328s.js → curation-policy-m8ng2vm5.js} +6 -6
- package/dist/cli/{curator-9gwwtyjt.js → curator-5d6aaffq.js} +43 -43
- package/dist/cli/{curator-drift-7htrxbht.js → curator-drift-sw8bst80.js} +8 -8
- package/dist/cli/curator-llm-factory-20scw8ny.js +82 -0
- package/dist/cli/{doctor-knowledge-receipt-phase-id-y2v12h2y.js → doctor-knowledge-receipt-phase-id-6dvt55rx.js} +8 -8
- package/dist/cli/{evidence-summary-service-gthqb26q.js → evidence-summary-service-jj18ewdg.js} +19 -19
- package/dist/cli/{gate-evidence-xv1228n3.js → gate-evidence-rg41defg.js} +7 -7
- package/dist/cli/guardrail-explain-7ssdemv6.js +83 -0
- package/dist/cli/{guardrail-log-6f55sa60.js → guardrail-log-6xscgfvv.js} +7 -7
- package/dist/cli/{guardrail-reset-j9bk61er.js → guardrail-reset-1hkaxa2j.js} +43 -43
- package/dist/cli/{hive-promoter-6y24tdbf.js → hive-promoter-r06x96bw.js} +43 -43
- package/dist/cli/{index-2fwsd357.js → index-1s678rvg.js} +11 -11
- package/dist/cli/{index-pwgb4ysh.js → index-2z095p01.js} +4 -4
- package/dist/cli/{index-pd98xk00.js → index-4rgmr1v6.js} +45 -45
- package/dist/cli/{index-7rtq2t5n.js → index-4s3770gs.js} +3 -3
- package/dist/cli/{index-fws15qp0.js → index-6f0f4f29.js} +4 -4
- package/dist/cli/{index-c5xvm318.js → index-76mg98ac.js} +1 -1
- package/dist/cli/{index-tf3y0x41.js → index-7rnw65rv.js} +3 -3
- package/dist/cli/{index-dfrcc46h.js → index-84r9rydf.js} +2 -2
- package/dist/cli/{index-xmbtwtgw.js → index-89j5h1j9.js} +1 -1
- package/dist/cli/{index-bzfn85kq.js → index-8mrentmw.js} +8 -5
- package/dist/cli/{index-j8bgrxc8.js → index-8v6tps7r.js} +5 -5
- package/dist/cli/{index-z250fgd9.js → index-9t65hk8b.js} +2 -2
- package/dist/cli/{index-a4jwt70q.js → index-b3c63rv1.js} +72 -8
- package/dist/cli/{index-7m5cf6nb.js → index-by8tygxp.js} +7 -7
- package/dist/cli/{index-9exby7at.js → index-c23zrf6q.js} +5 -5
- package/dist/cli/{index-p0ha6zyg.js → index-c7tfbr1f.js} +4 -4
- package/dist/cli/{index-mpc3z3ky.js → index-cvvambjz.js} +3 -3
- package/dist/cli/{index-hy2fqapm.js → index-d31b2zvf.js} +1 -1
- package/dist/cli/{index-2jd8sark.js → index-d7vjc89k.js} +2 -2
- package/dist/cli/{index-6183at3v.js → index-e4hj8r57.js} +2 -2
- package/dist/cli/{index-1pek46cc.js → index-eabp3432.js} +177 -123
- package/dist/cli/{index-4b64v1kx.js → index-eqz96aes.js} +8 -3
- package/dist/cli/{index-yg2qwadj.js → index-ga0wqrrt.js} +2 -2
- package/dist/cli/{index-t7egd710.js → index-h67khmza.js} +1 -1
- package/dist/cli/{index-c602bgyp.js → index-j433hcvy.js} +5 -5
- package/dist/cli/{index-6dz5venm.js → index-je5bcka1.js} +3 -3
- package/dist/cli/{index-f87r78zb.js → index-jsstyk9q.js} +5 -5
- package/dist/cli/{index-z75fz6x3.js → index-m16yf21g.js} +4 -4
- package/dist/cli/{index-4gmxdkcd.js → index-mjmsq8t7.js} +2 -2
- package/dist/cli/{index-s67cbrd1.js → index-msns3h2f.js} +7 -7
- package/dist/cli/{index-aynf8fgp.js → index-nk6x7683.js} +13 -3
- package/dist/cli/{index-yf2z4j7s.js → index-p4xmq6aa.js} +1 -1
- package/dist/cli/{index-04xgdmps.js → index-q4mm1bt9.js} +17 -10
- package/dist/cli/{index-ypkfhqbc.js → index-qg6qn99c.js} +7 -7
- package/dist/cli/{index-crz772sx.js → index-rqxwv4q5.js} +1 -1
- package/dist/cli/{index-ax7n55cd.js → index-sdw5yhpt.js} +6 -6
- package/dist/cli/{index-mqk09xcm.js → index-sr8xjwzb.js} +6 -6
- package/dist/cli/{index-necqa5bj.js → index-t7qgt5yk.js} +2 -2
- package/dist/cli/{index-gc0aeth5.js → index-tdpfecs3.js} +2 -2
- package/dist/cli/{index-841jrejq.js → index-tzr2ne1t.js} +3 -3
- package/dist/cli/{index-ghckhk16.js → index-v30zmakk.js} +2 -2
- package/dist/cli/{index-svmhj9x2.js → index-vn7aqfwf.js} +43 -43
- package/dist/cli/{index-app2rmxv.js → index-wrn4khfb.js} +1 -1
- package/dist/cli/{index-yed14yth.js → index-x2htr95w.js} +53 -11
- package/dist/cli/{index-kphy4we7.js → index-xez06sc1.js} +1 -1
- package/dist/cli/{index-rpa47vzb.js → index-xp812shj.js} +2 -2
- package/dist/cli/{index-j8t1g5qd.js → index-xt4q610f.js} +1 -1
- package/dist/cli/{index-ry5g9s8d.js → index-yk1vnpzx.js} +1 -1
- package/dist/cli/index.js +44 -44
- package/dist/cli/{knowledge-escalator-xvkfez9d.js → knowledge-escalator-zhf9tdty.js} +14 -14
- package/dist/cli/{knowledge-events-t4enxfp7.js → knowledge-events-e7qvrkd6.js} +12 -12
- package/dist/cli/{knowledge-link-8bn2b7vr.js → knowledge-link-5qt3pe5v.js} +5 -5
- package/dist/cli/{knowledge-store-tdqx1z7e.js → knowledge-store-qjb8z6jp.js} +6 -6
- package/dist/cli/{knowledge-validator-3n52kff9.js → knowledge-validator-ahs75wc4.js} +8 -8
- package/dist/cli/{mcp-yqfahteb.js → mcp-g8r6nyw8.js} +1 -1
- package/dist/cli/{model-preflight-s3s7t38g.js → model-preflight-1z56pgg3.js} +43 -43
- package/dist/cli/{pending-delegations-j89ak26j.js → pending-delegations-8y45faem.js} +12 -12
- package/dist/cli/{pr-subscriptions-r5q1035f.js → pr-subscriptions-b0ty3vn8.js} +12 -12
- package/dist/cli/{pr-workflow-gate-dahpc06k.js → pr-workflow-gate-pf0f47jn.js} +45 -43
- package/dist/cli/{runner-rt2smh14.js → runner-rwya5yhg.js} +6 -6
- package/dist/cli/{scan-cursor-yjk3czah.js → scan-cursor-1xmy9d70.js} +7 -7
- package/dist/cli/{schema-1bs31fpf.js → schema-vdnqek4x.js} +5 -1
- package/dist/cli/{scope-persistence-0mpbc1ht.js → scope-persistence-vpge2pc2.js} +15 -15
- package/dist/cli/{server-8swemw8w.js → server-3rat1sk6.js} +43 -43
- package/dist/cli/{skill-generator-mx125j7w.js → skill-generator-0gwpqkd5.js} +16 -16
- package/dist/cli/{snapshot-coordination-init-sayvd15t.js → snapshot-coordination-init-a0dyeaqa.js} +43 -43
- package/dist/cli/{speckit-checkoff-76j7h7qt.js → speckit-checkoff-s9gvmcry.js} +4 -4
- package/dist/cli/{telemetry-vapc5q4p.js → telemetry-t3425cht.js} +1 -1
- package/dist/cli/{workspace-snapshot-e3kw9kpg.js → workspace-snapshot-bst64vey.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-8f8c9bcr.js → worktree-collision-ownership-kp0tcg7f.js} +13 -13
- package/dist/cli/{worktree-isolation-kgfk5aj8.js → worktree-isolation-v2wf2ka9.js} +43 -43
- package/dist/config/loader.d.ts +31 -1
- package/dist/config/schema.d.ts +17 -0
- package/dist/hooks/guardrails/tool-before.d.ts +5 -2
- package/dist/hooks/pr-workflow-gate.d.ts +9 -0
- package/dist/index.js +54 -42
- package/dist/pr-review/legacy-transcript-adapter.d.ts +18 -0
- package/dist/sandbox/capability-probe.d.ts +1 -1
- package/dist/sdd/effective-spec.d.ts +48 -5
- package/dist/tools/dispatch-lanes.d.ts +18 -0
- package/opencode-swarm.schema.json +14 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-ew2h0zed.js +0 -82
- package/dist/cli/guardrail-explain-h41yf31c.js +0 -83
|
@@ -23,81 +23,81 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
26
|
+
} from "./index-eabp3432.js";
|
|
27
|
+
import"./index-7rnw65rv.js";
|
|
28
|
+
import"./index-nk6x7683.js";
|
|
29
|
+
import"./index-j433hcvy.js";
|
|
30
30
|
import"./index-j2vv0h13.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-76mg98ac.js";
|
|
32
|
+
import"./index-t7qgt5yk.js";
|
|
33
33
|
import"./index-txdagbh7.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-ga0wqrrt.js";
|
|
35
35
|
import {
|
|
36
36
|
createExplorerAgent
|
|
37
37
|
} from "./index-rdec0y3z.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
38
|
+
import"./index-tzr2ne1t.js";
|
|
39
|
+
import"./index-msns3h2f.js";
|
|
40
|
+
import"./index-m16yf21g.js";
|
|
41
|
+
import"./index-sr8xjwzb.js";
|
|
42
|
+
import"./index-v30zmakk.js";
|
|
43
|
+
import"./index-qg6qn99c.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-84r9rydf.js";
|
|
46
46
|
import"./index-pt7h91zc.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-sdw5yhpt.js";
|
|
49
|
+
import"./index-1s678rvg.js";
|
|
50
50
|
import"./index-6b295cas.js";
|
|
51
51
|
import"./index-9nyqt3kb.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-b3c63rv1.js";
|
|
53
53
|
import"./index-v3bmwmqw.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-xp812shj.js";
|
|
55
|
+
import"./index-c7tfbr1f.js";
|
|
56
|
+
import"./index-je5bcka1.js";
|
|
57
57
|
import"./index-g4fs6z4e.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
58
|
+
import"./index-q4mm1bt9.js";
|
|
59
|
+
import"./index-6f0f4f29.js";
|
|
60
|
+
import"./index-8v6tps7r.js";
|
|
61
61
|
import"./index-m9zzj4ee.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-xez06sc1.js";
|
|
63
63
|
import"./index-2s7dvzff.js";
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
64
|
+
import"./index-2z095p01.js";
|
|
65
|
+
import"./index-d31b2zvf.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-9t65hk8b.js";
|
|
68
68
|
import"./index-g22dps7x.js";
|
|
69
69
|
import"./index-0725jpp7.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
75
|
-
import"./index-
|
|
70
|
+
import"./index-c23zrf6q.js";
|
|
71
|
+
import"./index-jsstyk9q.js";
|
|
72
|
+
import"./index-e4hj8r57.js";
|
|
73
|
+
import"./index-xt4q610f.js";
|
|
74
|
+
import"./index-rqxwv4q5.js";
|
|
75
|
+
import"./index-wrn4khfb.js";
|
|
76
76
|
import"./index-ry16d01s.js";
|
|
77
77
|
import"./index-rdm3px0g.js";
|
|
78
78
|
import"./index-7pmbnjvj.js";
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
79
|
+
import"./index-tdpfecs3.js";
|
|
80
|
+
import"./index-by8tygxp.js";
|
|
81
81
|
import"./index-vzm6zre7.js";
|
|
82
82
|
import"./index-ae75rja9.js";
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
85
|
-
import"./index-
|
|
83
|
+
import"./index-yk1vnpzx.js";
|
|
84
|
+
import"./index-mjmsq8t7.js";
|
|
85
|
+
import"./index-89j5h1j9.js";
|
|
86
86
|
import"./index-t7hmqgjy.js";
|
|
87
|
-
import"./index-
|
|
87
|
+
import"./index-4s3770gs.js";
|
|
88
88
|
import"./index-fzpt2djt.js";
|
|
89
89
|
import"./index-ejhxgyvm.js";
|
|
90
90
|
import"./index-7g4c7s5r.js";
|
|
91
|
-
import"./index-
|
|
91
|
+
import"./index-p4xmq6aa.js";
|
|
92
92
|
import"./index-gx2vp8gx.js";
|
|
93
|
-
import"./index-
|
|
93
|
+
import"./index-x2htr95w.js";
|
|
94
94
|
import"./index-zxdawwc7.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-eqz96aes.js";
|
|
96
96
|
import"./index-hqrkr9ag.js";
|
|
97
97
|
import"./index-bk5tah7q.js";
|
|
98
98
|
import"./index-gknz3bv1.js";
|
|
99
99
|
import"./index-zpsr8rpc.js";
|
|
100
|
-
import"./index-
|
|
100
|
+
import"./index-8mrentmw.js";
|
|
101
101
|
import"./index-9rwhas09.js";
|
|
102
102
|
import"./index-zgwm4ryv.js";
|
|
103
103
|
import"./index-a76rekgs.js";
|
|
@@ -11,11 +11,12 @@ import {
|
|
|
11
11
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
12
12
|
GateConfigSchema,
|
|
13
13
|
PluginConfigSchema,
|
|
14
|
+
SDD_SOURCES,
|
|
14
15
|
findRetiredEpicConfigKeys,
|
|
15
16
|
init_schema,
|
|
16
17
|
resolveExternalSkillsConfig,
|
|
17
18
|
retiredEpicKeyReplacement
|
|
18
|
-
} from "./index-
|
|
19
|
+
} from "./index-eqz96aes.js";
|
|
19
20
|
import {
|
|
20
21
|
DangerousMergeKeyError,
|
|
21
22
|
MAX_MERGE_DEPTH,
|
|
@@ -318,6 +319,7 @@ var init_sanitize_malformed_values = () => {};
|
|
|
318
319
|
var exports_loader = {};
|
|
319
320
|
__export(exports_loader, {
|
|
320
321
|
resetConfigAdvisoryDedup: () => resetConfigAdvisoryDedup,
|
|
322
|
+
readSddSourceSetting: () => readSddSourceSetting,
|
|
321
323
|
loadPluginConfigWithMetaAsync: () => loadPluginConfigWithMetaAsync,
|
|
322
324
|
loadPluginConfigWithMeta: () => loadPluginConfigWithMeta,
|
|
323
325
|
loadPluginConfig: () => loadPluginConfig,
|
|
@@ -346,18 +348,21 @@ function gatesAdvisoryWarn(message, data) {
|
|
|
346
348
|
function getUserConfigDir() {
|
|
347
349
|
return process.env.XDG_CONFIG_HOME || path.join(os.homedir(), ".config");
|
|
348
350
|
}
|
|
349
|
-
function loadRawConfigFromPath(configPath) {
|
|
351
|
+
function loadRawConfigFromPath(configPath, silent = false) {
|
|
352
|
+
const warn = silent ? () => {
|
|
353
|
+
return;
|
|
354
|
+
} : advisoryWarn;
|
|
350
355
|
try {
|
|
351
356
|
const stats = fs.statSync(configPath);
|
|
352
357
|
if (stats.size > MAX_CONFIG_FILE_BYTES) {
|
|
353
|
-
|
|
354
|
-
|
|
358
|
+
warn(`[opencode-swarm] Config file too large (max 100 KB): ${configPath}`);
|
|
359
|
+
warn("[opencode-swarm] \u26A0\uFE0F SECURITY: Config file exceeds size limit. Falling back to safe defaults with guardrails ENABLED.");
|
|
355
360
|
return { config: null, fileExisted: true, hadError: true };
|
|
356
361
|
}
|
|
357
362
|
const content = fs.readFileSync(configPath, "utf-8");
|
|
358
363
|
if (content.length > MAX_CONFIG_FILE_BYTES) {
|
|
359
|
-
|
|
360
|
-
|
|
364
|
+
warn(`[opencode-swarm] Config file too large after read (max 100 KB): ${configPath}`);
|
|
365
|
+
warn("[opencode-swarm] \u26A0\uFE0F SECURITY: Config file exceeds size limit. Falling back to safe defaults with guardrails ENABLED.");
|
|
361
366
|
return { config: null, fileExisted: true, hadError: true };
|
|
362
367
|
}
|
|
363
368
|
let sanitizedContent = content;
|
|
@@ -366,8 +371,8 @@ function loadRawConfigFromPath(configPath) {
|
|
|
366
371
|
}
|
|
367
372
|
const rawConfig = JSON.parse(sanitizedContent);
|
|
368
373
|
if (typeof rawConfig !== "object" || rawConfig === null || Array.isArray(rawConfig)) {
|
|
369
|
-
|
|
370
|
-
|
|
374
|
+
warn(`[opencode-swarm] Invalid config at ${configPath}: expected an object`);
|
|
375
|
+
warn("[opencode-swarm] \u26A0\uFE0F SECURITY: Config format invalid. Falling back to safe defaults with guardrails ENABLED.");
|
|
371
376
|
return { config: null, fileExisted: true, hadError: true };
|
|
372
377
|
}
|
|
373
378
|
return {
|
|
@@ -379,8 +384,8 @@ function loadRawConfigFromPath(configPath) {
|
|
|
379
384
|
const isFileNotFoundError = error instanceof Error && "code" in error && error.code === "ENOENT";
|
|
380
385
|
if (!isFileNotFoundError) {
|
|
381
386
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
382
|
-
|
|
383
|
-
|
|
387
|
+
warn(`[opencode-swarm] \u26A0\uFE0F CONFIG LOAD FAILURE \u2014 config exists at ${configPath} but could not be loaded: ${errorMessage}`);
|
|
388
|
+
warn("[opencode-swarm] \u26A0\uFE0F SECURITY: Config load failed. Falling back to safe defaults with guardrails ENABLED.");
|
|
384
389
|
return { config: null, fileExisted: true, hadError: true };
|
|
385
390
|
}
|
|
386
391
|
return { config: null, fileExisted: false, hadError: false };
|
|
@@ -774,6 +779,43 @@ function loadPluginConfig(directory) {
|
|
|
774
779
|
const configHadErrors = userResult.hadError || projectResult.hadError;
|
|
775
780
|
return buildConfigWithMeta(userResult.config, projectResult.config, loadedFromFile, configHadErrors).config;
|
|
776
781
|
}
|
|
782
|
+
function readSddSourceSetting(directory) {
|
|
783
|
+
const candidates = [
|
|
784
|
+
["project", path.join(directory, ".opencode", CONFIG_FILENAME)],
|
|
785
|
+
["user", path.join(getUserConfigDir(), "opencode", CONFIG_FILENAME)]
|
|
786
|
+
];
|
|
787
|
+
let rejected;
|
|
788
|
+
for (const [origin, configPath] of candidates) {
|
|
789
|
+
const { config } = loadRawConfigFromPath(configPath, true);
|
|
790
|
+
const sdd = config?.sdd;
|
|
791
|
+
if (typeof sdd !== "object" || sdd === null || Array.isArray(sdd)) {
|
|
792
|
+
if (sdd !== undefined) {
|
|
793
|
+
rejected ??= {
|
|
794
|
+
value: describeRejectedSddValue(sdd),
|
|
795
|
+
configPath,
|
|
796
|
+
field: "sdd"
|
|
797
|
+
};
|
|
798
|
+
}
|
|
799
|
+
continue;
|
|
800
|
+
}
|
|
801
|
+
const raw = sdd.source;
|
|
802
|
+
if (raw === undefined)
|
|
803
|
+
continue;
|
|
804
|
+
if (typeof raw === "string" && SDD_SOURCES.includes(raw)) {
|
|
805
|
+
return { source: raw, origin, rejected };
|
|
806
|
+
}
|
|
807
|
+
rejected ??= {
|
|
808
|
+
value: describeRejectedSddValue(raw),
|
|
809
|
+
configPath,
|
|
810
|
+
field: "sdd.source"
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
return { source: undefined, rejected };
|
|
814
|
+
}
|
|
815
|
+
function describeRejectedSddValue(value) {
|
|
816
|
+
const text = typeof value === "string" ? value : JSON.stringify(value) ?? "";
|
|
817
|
+
return text.slice(0, 40);
|
|
818
|
+
}
|
|
777
819
|
function loadPluginConfigWithMeta(directory) {
|
|
778
820
|
const userConfigPath = path.join(getUserConfigDir(), "opencode", CONFIG_FILENAME);
|
|
779
821
|
const projectConfigPath = path.join(directory, ".opencode", CONFIG_FILENAME);
|
|
@@ -922,4 +964,4 @@ var init_loader = __esm(() => {
|
|
|
922
964
|
};
|
|
923
965
|
});
|
|
924
966
|
|
|
925
|
-
export { resolveEpicConfig, isEpicModeConfigEnabled, isEpicCochangeConfigEnabled, hasLegacyEpicConfig, migrateLegacyEpicConfig, legacyEpicIssuePath, init_config, loadPluginConfig, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader };
|
|
967
|
+
export { resolveEpicConfig, isEpicModeConfigEnabled, isEpicCochangeConfigEnabled, hasLegacyEpicConfig, migrateLegacyEpicConfig, legacyEpicIssuePath, init_config, loadPluginConfig, readSddSourceSetting, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader };
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot,
|
|
7
7
|
atomicWriteSwarmFileSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-p4xmq6aa.js";
|
|
9
9
|
import {
|
|
10
10
|
init_loader,
|
|
11
11
|
loadPluginConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-x2htr95w.js";
|
|
13
13
|
import {
|
|
14
14
|
init_logger,
|
|
15
15
|
log,
|
package/dist/cli/index.js
CHANGED
|
@@ -14,77 +14,77 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-eabp3432.js";
|
|
18
|
+
import"./index-7rnw65rv.js";
|
|
19
|
+
import"./index-nk6x7683.js";
|
|
20
|
+
import"./index-j433hcvy.js";
|
|
21
21
|
import"./index-j2vv0h13.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-76mg98ac.js";
|
|
23
|
+
import"./index-t7qgt5yk.js";
|
|
24
24
|
import"./index-txdagbh7.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-ga0wqrrt.js";
|
|
26
26
|
import"./index-rdec0y3z.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
27
|
+
import"./index-tzr2ne1t.js";
|
|
28
|
+
import"./index-msns3h2f.js";
|
|
29
|
+
import"./index-m16yf21g.js";
|
|
30
|
+
import"./index-sr8xjwzb.js";
|
|
31
|
+
import"./index-v30zmakk.js";
|
|
32
|
+
import"./index-qg6qn99c.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-84r9rydf.js";
|
|
35
35
|
import"./index-pt7h91zc.js";
|
|
36
36
|
import"./index-q7sjgr1y.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-sdw5yhpt.js";
|
|
38
|
+
import"./index-1s678rvg.js";
|
|
39
39
|
import"./index-6b295cas.js";
|
|
40
40
|
import"./index-9nyqt3kb.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-b3c63rv1.js";
|
|
42
42
|
import"./index-v3bmwmqw.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
43
|
+
import"./index-xp812shj.js";
|
|
44
|
+
import"./index-c7tfbr1f.js";
|
|
45
|
+
import"./index-je5bcka1.js";
|
|
46
46
|
import"./index-g4fs6z4e.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-q4mm1bt9.js";
|
|
48
|
+
import"./index-6f0f4f29.js";
|
|
49
|
+
import"./index-8v6tps7r.js";
|
|
50
50
|
import"./index-m9zzj4ee.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-xez06sc1.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-2z095p01.js";
|
|
54
|
+
import"./index-d31b2zvf.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-9t65hk8b.js";
|
|
57
57
|
import"./index-g22dps7x.js";
|
|
58
58
|
import"./index-0725jpp7.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
59
|
+
import"./index-c23zrf6q.js";
|
|
60
|
+
import"./index-jsstyk9q.js";
|
|
61
|
+
import"./index-e4hj8r57.js";
|
|
62
|
+
import"./index-xt4q610f.js";
|
|
63
|
+
import"./index-rqxwv4q5.js";
|
|
64
|
+
import"./index-wrn4khfb.js";
|
|
65
65
|
import"./index-ry16d01s.js";
|
|
66
66
|
import"./index-rdm3px0g.js";
|
|
67
67
|
import"./index-7pmbnjvj.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-tdpfecs3.js";
|
|
69
|
+
import"./index-by8tygxp.js";
|
|
70
70
|
import"./index-vzm6zre7.js";
|
|
71
71
|
import"./index-ae75rja9.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
72
|
+
import"./index-yk1vnpzx.js";
|
|
73
|
+
import"./index-mjmsq8t7.js";
|
|
74
|
+
import"./index-89j5h1j9.js";
|
|
75
75
|
import"./index-t7hmqgjy.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-4s3770gs.js";
|
|
77
77
|
import"./index-fzpt2djt.js";
|
|
78
78
|
import"./index-ejhxgyvm.js";
|
|
79
79
|
import"./index-7g4c7s5r.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-p4xmq6aa.js";
|
|
81
81
|
import"./index-gx2vp8gx.js";
|
|
82
|
-
import"./index-
|
|
82
|
+
import"./index-x2htr95w.js";
|
|
83
83
|
import"./index-zxdawwc7.js";
|
|
84
84
|
import {
|
|
85
85
|
init_package,
|
|
86
86
|
package_default
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-eqz96aes.js";
|
|
88
88
|
import {
|
|
89
89
|
DEFAULT_AGENT_CONFIGS,
|
|
90
90
|
init_constants
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
import"./index-bk5tah7q.js";
|
|
93
93
|
import"./index-gknz3bv1.js";
|
|
94
94
|
import"./index-zpsr8rpc.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-8mrentmw.js";
|
|
96
96
|
import"./index-9rwhas09.js";
|
|
97
97
|
import"./index-zgwm4ryv.js";
|
|
98
98
|
import {
|
|
@@ -916,7 +916,7 @@ async function main() {
|
|
|
916
916
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
917
917
|
process.exit(exitCode);
|
|
918
918
|
} else if (command === "mcp") {
|
|
919
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
919
|
+
const { handleMcpCommand } = await import("./mcp-g8r6nyw8.js");
|
|
920
920
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
921
921
|
process.exit(exitCode);
|
|
922
922
|
} else {
|
|
@@ -9,32 +9,32 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-sr8xjwzb.js";
|
|
13
|
+
import"./index-6f0f4f29.js";
|
|
14
|
+
import"./index-8v6tps7r.js";
|
|
15
15
|
import"./index-m9zzj4ee.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-xez06sc1.js";
|
|
17
17
|
import"./index-2s7dvzff.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-9t65hk8b.js";
|
|
19
19
|
import"./index-g22dps7x.js";
|
|
20
20
|
import"./index-0725jpp7.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-tdpfecs3.js";
|
|
22
|
+
import"./index-by8tygxp.js";
|
|
23
23
|
import"./index-vzm6zre7.js";
|
|
24
24
|
import"./index-ae75rja9.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
25
|
+
import"./index-yk1vnpzx.js";
|
|
26
|
+
import"./index-mjmsq8t7.js";
|
|
27
|
+
import"./index-89j5h1j9.js";
|
|
28
28
|
import"./index-t7hmqgjy.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-4s3770gs.js";
|
|
30
30
|
import"./index-fzpt2djt.js";
|
|
31
31
|
import"./index-ejhxgyvm.js";
|
|
32
32
|
import"./index-7g4c7s5r.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-p4xmq6aa.js";
|
|
34
34
|
import"./index-gx2vp8gx.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-x2htr95w.js";
|
|
36
36
|
import"./index-zxdawwc7.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-eqz96aes.js";
|
|
38
38
|
import"./index-hqrkr9ag.js";
|
|
39
39
|
import"./index-bk5tah7q.js";
|
|
40
40
|
import"./index-gknz3bv1.js";
|
|
@@ -29,29 +29,29 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-6f0f4f29.js";
|
|
33
|
+
import"./index-8v6tps7r.js";
|
|
34
34
|
import"./index-m9zzj4ee.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-xez06sc1.js";
|
|
36
36
|
import"./index-2s7dvzff.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-9t65hk8b.js";
|
|
38
38
|
import"./index-g22dps7x.js";
|
|
39
39
|
import"./index-0725jpp7.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-tdpfecs3.js";
|
|
41
41
|
import"./index-ae75rja9.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-yk1vnpzx.js";
|
|
43
|
+
import"./index-mjmsq8t7.js";
|
|
44
|
+
import"./index-89j5h1j9.js";
|
|
45
45
|
import"./index-t7hmqgjy.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-4s3770gs.js";
|
|
47
47
|
import"./index-fzpt2djt.js";
|
|
48
48
|
import"./index-ejhxgyvm.js";
|
|
49
49
|
import"./index-7g4c7s5r.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-p4xmq6aa.js";
|
|
51
51
|
import"./index-gx2vp8gx.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-x2htr95w.js";
|
|
53
53
|
import"./index-zxdawwc7.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-eqz96aes.js";
|
|
55
55
|
import"./index-hqrkr9ag.js";
|
|
56
56
|
import"./index-bk5tah7q.js";
|
|
57
57
|
import"./index-gknz3bv1.js";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-yk1vnpzx.js";
|
|
16
|
+
import"./index-mjmsq8t7.js";
|
|
17
|
+
import"./index-89j5h1j9.js";
|
|
18
18
|
import"./index-t7hmqgjy.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-4s3770gs.js";
|
|
20
20
|
import"./index-fzpt2djt.js";
|
|
21
21
|
import"./index-ejhxgyvm.js";
|
|
22
22
|
import"./index-7g4c7s5r.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-p4xmq6aa.js";
|
|
24
24
|
import"./index-gknz3bv1.js";
|
|
25
25
|
import"./index-zpsr8rpc.js";
|
|
26
26
|
import"./index-zgwm4ryv.js";
|
|
@@ -43,20 +43,20 @@ import {
|
|
|
43
43
|
transactKnowledge,
|
|
44
44
|
transactKnowledgeWithCas,
|
|
45
45
|
wordBigrams
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-by8tygxp.js";
|
|
47
47
|
import"./index-vzm6zre7.js";
|
|
48
48
|
import {
|
|
49
49
|
resolveHiveDataDir
|
|
50
50
|
} from "./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-yk1vnpzx.js";
|
|
52
|
+
import"./index-mjmsq8t7.js";
|
|
53
|
+
import"./index-89j5h1j9.js";
|
|
54
54
|
import"./index-t7hmqgjy.js";
|
|
55
|
-
import"./index-
|
|
55
|
+
import"./index-4s3770gs.js";
|
|
56
56
|
import"./index-fzpt2djt.js";
|
|
57
57
|
import"./index-ejhxgyvm.js";
|
|
58
58
|
import"./index-7g4c7s5r.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-p4xmq6aa.js";
|
|
60
60
|
import"./index-bk5tah7q.js";
|
|
61
61
|
import"./index-gknz3bv1.js";
|
|
62
62
|
import"./index-zpsr8rpc.js";
|
|
@@ -23,21 +23,21 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-2z095p01.js";
|
|
27
|
+
import"./index-d31b2zvf.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-by8tygxp.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-yk1vnpzx.js";
|
|
33
|
+
import"./index-mjmsq8t7.js";
|
|
34
|
+
import"./index-89j5h1j9.js";
|
|
35
35
|
import"./index-t7hmqgjy.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-4s3770gs.js";
|
|
37
37
|
import"./index-fzpt2djt.js";
|
|
38
38
|
import"./index-ejhxgyvm.js";
|
|
39
39
|
import"./index-7g4c7s5r.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-p4xmq6aa.js";
|
|
41
41
|
import"./index-bk5tah7q.js";
|
|
42
42
|
import"./index-gknz3bv1.js";
|
|
43
43
|
import"./index-zpsr8rpc.js";
|
|
@@ -95,7 +95,7 @@ function resolveMcpRoot(input) {
|
|
|
95
95
|
}
|
|
96
96
|
var _internals = {
|
|
97
97
|
runMcpServer: async (options) => {
|
|
98
|
-
const { runMcpServer } = await import("./server-
|
|
98
|
+
const { runMcpServer } = await import("./server-3rat1sk6.js");
|
|
99
99
|
return runMcpServer(options);
|
|
100
100
|
}
|
|
101
101
|
};
|