opencode-swarm 7.158.1 → 7.159.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 +4 -2
- package/dist/cli/{coder-settlement-nrtcjr0h.js → coder-settlement-66mqw0xt.js} +3 -3
- package/dist/cli/{config-doctor-hs0x10ty.js → config-doctor-nkx61b9e.js} +2 -2
- package/dist/cli/{core-a42bexs1.js → core-b3db7gf6.js} +1 -1
- package/dist/cli/{curator-llm-factory-21vqqvn3.js → curator-llm-factory-c4y1mrr5.js} +19 -19
- package/dist/cli/{curator-yawrnk3t.js → curator-w4ntvkz5.js} +19 -19
- package/dist/cli/{evidence-summary-service-kmc92b95.js → evidence-summary-service-vadgnzk6.js} +6 -6
- package/dist/cli/{gate-evidence-6tzhdxb2.js → gate-evidence-0chatz5e.js} +2 -2
- package/dist/cli/{guardrail-explain-7xrdp18c.js → guardrail-explain-ax2qmsp4.js} +20 -20
- package/dist/cli/{guardrail-log-f16sdc3p.js → guardrail-log-t3c9g8tc.js} +3 -3
- package/dist/cli/{guardrail-reset-0ks08s0t.js → guardrail-reset-wvdb5sv5.js} +19 -19
- package/dist/cli/{hive-promoter-d661k3qq.js → hive-promoter-mfq3ee0n.js} +19 -19
- package/dist/cli/{index-ff8xjr1c.js → index-04yrxg0z.js} +1 -1
- package/dist/cli/{index-hrrzxz3q.js → index-1sdb57jv.js} +3 -3
- package/dist/cli/{index-5erwyk1b.js → index-35grv4jg.js} +3 -3
- package/dist/cli/{index-ac8rwjsg.js → index-3e8600a7.js} +130 -61
- package/dist/cli/{index-86vvhe8m.js → index-6e6qxf5q.js} +15 -1
- package/dist/cli/{index-nphnjeh8.js → index-8jnzp5ct.js} +2 -2
- package/dist/cli/{index-4wy9kzjg.js → index-8kfbdrxa.js} +21 -21
- package/dist/cli/{index-xzhk2hav.js → index-9vt2hknx.js} +1 -1
- package/dist/cli/{index-mt6qjp4c.js → index-b1tenv2s.js} +75 -72
- package/dist/cli/{index-203fqkqk.js → index-b82tq895.js} +1 -1
- package/dist/cli/{index-zy60xd05.js → index-e2s08v0q.js} +1 -1
- package/dist/cli/{index-xscjecyq.js → index-erdsawqz.js} +4 -4
- package/dist/cli/{index-tc14d2zy.js → index-fcp41snp.js} +3 -3
- package/dist/cli/{index-ygxb3jw4.js → index-ghjs1n7k.js} +3 -3
- package/dist/cli/{index-6x9jq0cd.js → index-hte1e31d.js} +2 -2
- package/dist/cli/{index-azx50qge.js → index-k48kgm6z.js} +5 -5
- package/dist/cli/{index-7qvfkgyk.js → index-k4arrwrz.js} +3 -3
- package/dist/cli/{index-t8g88esk.js → index-pvzaryhr.js} +1 -1
- package/dist/cli/{index-jz216dhj.js → index-tcbjjppb.js} +26 -2
- package/dist/cli/{index-tppnfxkm.js → index-vywbn766.js} +1 -1
- package/dist/cli/{index-2j07670d.js → index-we3nf5as.js} +1 -1
- package/dist/cli/{index-mfv7mfgg.js → index-xmz69g65.js} +1 -1
- package/dist/cli/{index-dr2tfawg.js → index-ynjy98vv.js} +2 -2
- package/dist/cli/index.js +27 -35
- package/dist/cli/{knowledge-escalator-9py5r6c9.js → knowledge-escalator-x85t1e66.js} +6 -6
- package/dist/cli/{knowledge-events-vcbece74.js → knowledge-events-bwx99mxc.js} +4 -4
- package/dist/cli/{knowledge-store-0rdfjv20.js → knowledge-store-21m81zsa.js} +1 -1
- package/dist/cli/{knowledge-validator-nwjnjgf5.js → knowledge-validator-yxcadg1p.js} +2 -2
- package/dist/cli/{pending-delegations-ht1vgaze.js → pending-delegations-b8qka5nf.js} +1 -1
- package/dist/cli/{pr-review-reentry-authorization-857b9rvv.js → pr-review-reentry-authorization-wv3ck5kh.js} +19 -19
- package/dist/cli/{scan-cursor-59yj7tp9.js → scan-cursor-m3w0tapb.js} +2 -2
- package/dist/cli/{schema-8a7fyp87.js → schema-0b0dqn28.js} +1 -1
- package/dist/cli/{scope-persistence-prdxtcr3.js → scope-persistence-199f7yqc.js} +4 -4
- package/dist/cli/{skill-generator-v2jkgp63.js → skill-generator-a2ekcbe2.js} +7 -7
- package/dist/cli/{worktree-collision-ownership-6x03w8h7.js → worktree-collision-ownership-5qaab3q7.js} +1 -1
- package/dist/cli/{worktree-isolation-s0setq2a.js → worktree-isolation-esesc842.js} +19 -19
- package/dist/commands/close.d.ts +2 -0
- package/dist/config/loader.d.ts +3 -0
- package/dist/config/project-init.d.ts +11 -7
- package/dist/config/schema.d.ts +1 -0
- package/dist/index.js +445 -442
- package/dist/tools/repo-graph/query.d.ts +1 -0
- package/dist/tools/repo-graph/symbol-query.d.ts +47 -0
- package/dist/tools/repo-graph/types.d.ts +267 -1
- package/dist/tools/repo-graph.d.ts +3 -1
- package/opencode-swarm.schema.json +5160 -0
- package/package.json +4 -2
package/dist/cli/index.js
CHANGED
|
@@ -11,53 +11,53 @@ import {
|
|
|
11
11
|
readCachePackageVersion,
|
|
12
12
|
resolveCommand,
|
|
13
13
|
safeRealpathSync
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-3e8600a7.js";
|
|
15
15
|
import"./index-z54qw70y.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-04yrxg0z.js";
|
|
17
|
+
import"./index-6e6qxf5q.js";
|
|
18
|
+
import"./index-k4arrwrz.js";
|
|
19
19
|
import"./index-7s1hmrfh.js";
|
|
20
20
|
import"./index-txdagbh7.js";
|
|
21
21
|
import"./index-134d35c1.js";
|
|
22
22
|
import"./index-nj6rmyeh.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
23
|
+
import"./index-fcp41snp.js";
|
|
24
|
+
import"./index-k48kgm6z.js";
|
|
25
|
+
import"./index-xmz69g65.js";
|
|
26
26
|
import"./index-70ha9e09.js";
|
|
27
27
|
import"./index-c8s9a3zh.js";
|
|
28
28
|
import"./index-9ss2m4rs.js";
|
|
29
29
|
import"./index-mc9qgkwd.js";
|
|
30
30
|
import"./index-zsrtt42s.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-1sdb57jv.js";
|
|
32
32
|
import"./index-3f7hqtgg.js";
|
|
33
33
|
import"./index-8fqb0ynp.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-vywbn766.js";
|
|
35
35
|
import"./index-pfnj5pvs.js";
|
|
36
36
|
import"./index-rtry5xyf.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-we3nf5as.js";
|
|
38
|
+
import"./index-pvzaryhr.js";
|
|
39
|
+
import"./index-e2s08v0q.js";
|
|
40
40
|
import"./index-ddszzne4.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-ynjy98vv.js";
|
|
42
|
+
import"./index-b82tq895.js";
|
|
43
43
|
import"./index-nwkr6tvv.js";
|
|
44
44
|
import"./index-556ja8an.js";
|
|
45
45
|
import"./index-4fwbbad3.js";
|
|
46
46
|
import"./index-b43rt5ph.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
48
|
+
import"./index-erdsawqz.js";
|
|
49
|
+
import"./index-35grv4jg.js";
|
|
50
|
+
import"./index-hte1e31d.js";
|
|
51
51
|
import"./index-gprxjmm7.js";
|
|
52
52
|
import"./index-n832052r.js";
|
|
53
53
|
import"./index-dtn0pne5.js";
|
|
54
54
|
import"./index-z6xqpmqg.js";
|
|
55
55
|
import"./index-r3mvsbtq.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-tcbjjppb.js";
|
|
57
57
|
import {
|
|
58
58
|
init_package,
|
|
59
59
|
package_default
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-b1tenv2s.js";
|
|
61
61
|
import"./index-9e6fdz2h.js";
|
|
62
62
|
import"./index-4rhhvd1a.js";
|
|
63
63
|
import {
|
|
@@ -85,6 +85,13 @@ import * as os from "os";
|
|
|
85
85
|
import * as path from "path";
|
|
86
86
|
import { fileURLToPath } from "url";
|
|
87
87
|
init_constants();
|
|
88
|
+
|
|
89
|
+
// src/config/project-init.ts
|
|
90
|
+
init_package();
|
|
91
|
+
init_constants();
|
|
92
|
+
var CONFIG_SCHEMA_REF = `https://unpkg.com/opencode-swarm@${package_default.version}/opencode-swarm.schema.json`;
|
|
93
|
+
|
|
94
|
+
// src/cli/index.ts
|
|
88
95
|
var { version } = package_default;
|
|
89
96
|
var PACKAGE_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..", "..");
|
|
90
97
|
var CONFIG_DIR = getPluginConfigDir();
|
|
@@ -203,21 +210,6 @@ function saveJson(filepath, data) {
|
|
|
203
210
|
fs.writeFileSync(filepath, `${JSON.stringify(data, null, 2)}
|
|
204
211
|
`, "utf-8");
|
|
205
212
|
}
|
|
206
|
-
function writeProjectConfigIfMissing(cwd) {
|
|
207
|
-
try {
|
|
208
|
-
const opencodeDir = path.join(cwd, ".opencode");
|
|
209
|
-
const projectConfigPath = path.join(opencodeDir, "opencode-swarm.json");
|
|
210
|
-
if (fs.existsSync(projectConfigPath)) {
|
|
211
|
-
return;
|
|
212
|
-
}
|
|
213
|
-
ensureDir(opencodeDir);
|
|
214
|
-
saveJson(projectConfigPath, { agents: {} });
|
|
215
|
-
console.log("\u2713 Created project config at:", projectConfigPath);
|
|
216
|
-
} catch (error) {
|
|
217
|
-
console.warn("\u26A0 Could not create project config \u2014 installation will continue:");
|
|
218
|
-
console.warn(` ${error instanceof Error ? error.message : String(error)}`);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
213
|
async function install() {
|
|
222
214
|
console.log(`\uD83D\uDC1D Installing OpenCode Swarm...
|
|
223
215
|
`);
|
|
@@ -272,6 +264,7 @@ async function install() {
|
|
|
272
264
|
}
|
|
273
265
|
if (!fs.existsSync(PLUGIN_CONFIG_PATH)) {
|
|
274
266
|
const defaultConfig = {
|
|
267
|
+
$schema: CONFIG_SCHEMA_REF,
|
|
275
268
|
agents: { ...DEFAULT_AGENT_CONFIGS },
|
|
276
269
|
max_iterations: 5
|
|
277
270
|
};
|
|
@@ -280,7 +273,6 @@ async function install() {
|
|
|
280
273
|
} else {
|
|
281
274
|
console.log("\u2713 Plugin config already exists at:", PLUGIN_CONFIG_PATH);
|
|
282
275
|
}
|
|
283
|
-
writeProjectConfigIfMissing(process.cwd());
|
|
284
276
|
console.log(`
|
|
285
277
|
\uD83D\uDCC1 Configuration files:`);
|
|
286
278
|
console.log(` OpenCode config: ${OPENCODE_CONFIG_PATH}`);
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
12
|
+
} from "./index-k48kgm6z.js";
|
|
13
|
+
import"./index-erdsawqz.js";
|
|
14
|
+
import"./index-35grv4jg.js";
|
|
15
|
+
import"./index-hte1e31d.js";
|
|
16
16
|
import"./index-gprxjmm7.js";
|
|
17
17
|
import"./index-n832052r.js";
|
|
18
18
|
import"./index-dtn0pne5.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-tcbjjppb.js";
|
|
22
|
+
import"./index-b1tenv2s.js";
|
|
23
23
|
import"./index-9e6fdz2h.js";
|
|
24
24
|
import"./index-4rhhvd1a.js";
|
|
25
25
|
import"./index-yt75r1er.js";
|
|
@@ -29,15 +29,15 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-35grv4jg.js";
|
|
33
|
+
import"./index-hte1e31d.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
36
|
import"./index-dtn0pne5.js";
|
|
37
37
|
import"./index-z6xqpmqg.js";
|
|
38
38
|
import"./index-r3mvsbtq.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-tcbjjppb.js";
|
|
40
|
+
import"./index-b1tenv2s.js";
|
|
41
41
|
import"./index-9e6fdz2h.js";
|
|
42
42
|
import"./index-4rhhvd1a.js";
|
|
43
43
|
import"./index-yt75r1er.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-vywbn766.js";
|
|
27
27
|
import"./index-pfnj5pvs.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-erdsawqz.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-5zgf140g.js";
|
|
32
32
|
import"./index-h52hs4e9.js";
|
|
@@ -3,43 +3,43 @@ import {
|
|
|
3
3
|
PrReviewRunIdSchema,
|
|
4
4
|
prWorkflowSessionFileStem,
|
|
5
5
|
readPrReviewReentryBindingContext
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-3e8600a7.js";
|
|
7
7
|
import"./index-z54qw70y.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
8
|
+
import"./index-04yrxg0z.js";
|
|
9
|
+
import"./index-6e6qxf5q.js";
|
|
10
|
+
import"./index-k4arrwrz.js";
|
|
11
11
|
import"./index-7s1hmrfh.js";
|
|
12
12
|
import"./index-txdagbh7.js";
|
|
13
13
|
import"./index-134d35c1.js";
|
|
14
14
|
import"./index-nj6rmyeh.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-fcp41snp.js";
|
|
16
|
+
import"./index-k48kgm6z.js";
|
|
17
|
+
import"./index-xmz69g65.js";
|
|
18
18
|
import"./index-70ha9e09.js";
|
|
19
19
|
import"./index-c8s9a3zh.js";
|
|
20
20
|
import"./index-9ss2m4rs.js";
|
|
21
21
|
import"./index-mc9qgkwd.js";
|
|
22
22
|
import"./index-zsrtt42s.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-1sdb57jv.js";
|
|
24
24
|
import"./index-3f7hqtgg.js";
|
|
25
25
|
import"./index-8fqb0ynp.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-vywbn766.js";
|
|
27
27
|
import"./index-pfnj5pvs.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-we3nf5as.js";
|
|
30
|
+
import"./index-pvzaryhr.js";
|
|
31
|
+
import"./index-e2s08v0q.js";
|
|
32
32
|
import"./index-ddszzne4.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-ynjy98vv.js";
|
|
34
|
+
import"./index-b82tq895.js";
|
|
35
35
|
import"./index-nwkr6tvv.js";
|
|
36
36
|
import"./index-556ja8an.js";
|
|
37
37
|
import"./index-4fwbbad3.js";
|
|
38
38
|
import"./index-b43rt5ph.js";
|
|
39
39
|
import"./index-q7sjgr1y.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-erdsawqz.js";
|
|
41
|
+
import"./index-35grv4jg.js";
|
|
42
|
+
import"./index-hte1e31d.js";
|
|
43
43
|
import"./index-gprxjmm7.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
45
|
import {
|
|
@@ -47,8 +47,8 @@ import {
|
|
|
47
47
|
} from "./index-dtn0pne5.js";
|
|
48
48
|
import"./index-z6xqpmqg.js";
|
|
49
49
|
import"./index-r3mvsbtq.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-tcbjjppb.js";
|
|
51
|
+
import"./index-b1tenv2s.js";
|
|
52
52
|
import"./index-9e6fdz2h.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
54
|
import"./index-yt75r1er.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-xmz69g65.js";
|
|
8
|
+
import"./index-erdsawqz.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
resolveGeneratedAgentRole,
|
|
102
102
|
resolveGuardrailsConfig,
|
|
103
103
|
stripKnownSwarmPrefix
|
|
104
|
-
} from "./index-
|
|
104
|
+
} from "./index-b1tenv2s.js";
|
|
105
105
|
import"./index-yt75r1er.js";
|
|
106
106
|
import"./index-zjygnfay.js";
|
|
107
107
|
import"./index-bk5tah7q.js";
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-ynjy98vv.js";
|
|
27
|
+
import"./index-b82tq895.js";
|
|
28
28
|
import"./index-nwkr6tvv.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-tcbjjppb.js";
|
|
31
|
+
import"./index-b1tenv2s.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
34
|
import"./index-yt75r1er.js";
|
|
@@ -33,21 +33,21 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
} from "./index-fcp41snp.js";
|
|
37
|
+
import"./index-vywbn766.js";
|
|
38
38
|
import"./index-pfnj5pvs.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
40
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-erdsawqz.js";
|
|
42
|
+
import"./index-35grv4jg.js";
|
|
43
|
+
import"./index-hte1e31d.js";
|
|
44
44
|
import"./index-gprxjmm7.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-dtn0pne5.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-tcbjjppb.js";
|
|
50
|
+
import"./index-b1tenv2s.js";
|
|
51
51
|
import"./index-9e6fdz2h.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
53
|
import"./index-yt75r1er.js";
|
|
@@ -21,52 +21,52 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-3e8600a7.js";
|
|
25
25
|
import"./index-z54qw70y.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
import"./index-04yrxg0z.js";
|
|
27
|
+
import"./index-6e6qxf5q.js";
|
|
28
|
+
import"./index-k4arrwrz.js";
|
|
29
29
|
import"./index-7s1hmrfh.js";
|
|
30
30
|
import"./index-txdagbh7.js";
|
|
31
31
|
import"./index-134d35c1.js";
|
|
32
32
|
import"./index-nj6rmyeh.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-fcp41snp.js";
|
|
34
|
+
import"./index-k48kgm6z.js";
|
|
35
|
+
import"./index-xmz69g65.js";
|
|
36
36
|
import"./index-70ha9e09.js";
|
|
37
37
|
import"./index-c8s9a3zh.js";
|
|
38
38
|
import"./index-9ss2m4rs.js";
|
|
39
39
|
import"./index-mc9qgkwd.js";
|
|
40
40
|
import"./index-zsrtt42s.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-1sdb57jv.js";
|
|
42
42
|
import"./index-3f7hqtgg.js";
|
|
43
43
|
import"./index-8fqb0ynp.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-vywbn766.js";
|
|
45
45
|
import"./index-pfnj5pvs.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-we3nf5as.js";
|
|
48
|
+
import"./index-pvzaryhr.js";
|
|
49
|
+
import"./index-e2s08v0q.js";
|
|
50
50
|
import"./index-ddszzne4.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-ynjy98vv.js";
|
|
52
|
+
import"./index-b82tq895.js";
|
|
53
53
|
import"./index-nwkr6tvv.js";
|
|
54
54
|
import"./index-556ja8an.js";
|
|
55
55
|
import"./index-4fwbbad3.js";
|
|
56
56
|
import"./index-b43rt5ph.js";
|
|
57
57
|
import"./index-q7sjgr1y.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-erdsawqz.js";
|
|
59
|
+
import"./index-35grv4jg.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveWorktreeIsolationConfig
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-hte1e31d.js";
|
|
63
63
|
import"./index-gprxjmm7.js";
|
|
64
64
|
import"./index-n832052r.js";
|
|
65
65
|
import"./index-dtn0pne5.js";
|
|
66
66
|
import"./index-z6xqpmqg.js";
|
|
67
67
|
import"./index-r3mvsbtq.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-tcbjjppb.js";
|
|
69
|
+
import"./index-b1tenv2s.js";
|
|
70
70
|
import"./index-9e6fdz2h.js";
|
|
71
71
|
import"./index-4rhhvd1a.js";
|
|
72
72
|
import"./index-yt75r1er.js";
|
package/dist/commands/close.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ export interface CloseStageContext {
|
|
|
146
146
|
archiveSuffix: string;
|
|
147
147
|
args: string[];
|
|
148
148
|
}
|
|
149
|
+
declare function archiveCloseSummary(ctx: Pick<CloseStageContext, 'archiveStageFailed' | 'archiveDir' | 'warnings'>, closeSummaryPath: string, summaryWritten: boolean): Promise<void>;
|
|
149
150
|
declare function countSessionKnowledgeEntries(entries: CloseKnowledgeEntry[], sessionStart: string | undefined, fallbackCount: number): number;
|
|
150
151
|
/**
|
|
151
152
|
* Backward-compatible wrapper that returns only the copied count.
|
|
@@ -296,6 +297,7 @@ export declare const _internals: {
|
|
|
296
297
|
runFinalizeRewardSweep: typeof runFinalizeRewardSweep;
|
|
297
298
|
acquireFinalizeLock: typeof acquireFinalizeLock;
|
|
298
299
|
runArchiveStage: typeof runArchiveStage;
|
|
300
|
+
archiveCloseSummary: typeof archiveCloseSummary;
|
|
299
301
|
runArchiveEvidenceRetention: typeof runArchiveEvidenceRetention;
|
|
300
302
|
runCleanStage: typeof runCleanStage;
|
|
301
303
|
runAlignStage: typeof runAlignStage;
|
package/dist/config/loader.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import { type PluginConfig } from './schema';
|
|
3
3
|
export declare const MAX_CONFIG_FILE_BYTES = 102400;
|
|
4
|
+
export declare const _internals: {
|
|
5
|
+
resetUnknownTopLevelKeyWarning(): void;
|
|
6
|
+
};
|
|
4
7
|
export { deepMerge, MAX_MERGE_DEPTH } from '../utils/merge';
|
|
5
8
|
/**
|
|
6
9
|
* Flatten a ZodError into a compact, single-line, human-readable summary that
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
2
|
+
* Absolute `$schema` reference written into config files this plugin authors
|
|
3
|
+
* (issue #1663) so editors get validation/autocomplete from the shipped
|
|
4
|
+
* opencode-swarm.schema.json. Version-pinned on purpose: the schema validating
|
|
5
|
+
* a config file should be the one shipped by the plugin version that authored
|
|
6
|
+
* it, and unpkg serves every published version. A relative path is unusable
|
|
7
|
+
* because these config files live in the user's project/home directory,
|
|
8
|
+
* outside the installed package. This is a DIFFERENT convention from the
|
|
9
|
+
* unversioned canonical URL (CONFIG_SCHEMA_CANONICAL_URL in
|
|
10
|
+
* scripts/generate-config-schema.ts) used as the artifact's `$id` and in
|
|
11
|
+
* docs — both resolve to the same file in every published package.
|
|
8
12
|
*/
|
|
9
|
-
export declare
|
|
13
|
+
export declare const CONFIG_SCHEMA_REF: string;
|
|
10
14
|
/**
|
|
11
15
|
* Writes .swarm/config.example.json on first plugin init for a given project.
|
|
12
16
|
* Creates .swarm/ if it does not yet exist. Non-fatal: all errors are silently
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -1804,6 +1804,7 @@ export declare const PrReviewResilienceConfigSchema: z.ZodObject<{
|
|
|
1804
1804
|
circuit_open_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
1805
1805
|
}, z.core.$strict>;
|
|
1806
1806
|
export declare const PluginConfigSchema: z.ZodObject<{
|
|
1807
|
+
$schema: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
1807
1808
|
config_format_version: z.ZodDefault<z.ZodNumber>;
|
|
1808
1809
|
agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1809
1810
|
model: z.ZodOptional<z.ZodString>;
|