opencode-swarm 7.151.1 → 7.152.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/{resume → swarm-resume}/SKILL.md +1 -1
- package/dist/cli/{config-doctor-08zmx89c.js → config-doctor-bbqmye7a.js} +2 -2
- package/dist/cli/{core-w0gjhw5q.js → core-fh4e6ex0.js} +1 -1
- package/dist/cli/{curation-policy-fmvccdrg.js → curation-policy-nem98yc9.js} +4 -4
- package/dist/cli/{curator-twqjxden.js → curator-909s9dvs.js} +23 -23
- package/dist/cli/{curator-llm-factory-jmx72zhc.js → curator-llm-factory-462rysph.js} +23 -23
- package/dist/cli/{evidence-summary-service-py66zgn4.js → evidence-summary-service-kqw4y0yr.js} +9 -9
- package/dist/cli/{gate-evidence-ynhyzwsw.js → gate-evidence-ycts62pj.js} +4 -4
- package/dist/cli/{guardrail-explain-j9h5r8gh.js → guardrail-explain-7620hasq.js} +24 -24
- package/dist/cli/{guardrail-log-7995v5q5.js → guardrail-log-e1tmdxxa.js} +3 -3
- package/dist/cli/{guardrail-reset-seextj6h.js → guardrail-reset-gdnaxxvb.js} +23 -23
- package/dist/cli/{hive-promoter-a6xtvynw.js → hive-promoter-d0xydg6r.js} +23 -23
- package/dist/cli/{index-xysb3ed7.js → index-02ajc6d1.js} +2 -2
- package/dist/cli/{index-npzmqk01.js → index-0tfgn5x0.js} +6 -6
- package/dist/cli/{index-akef15kb.js → index-26vyr198.js} +4 -4
- package/dist/cli/{index-2xfffkk0.js → index-29vd7v3e.js} +1 -1
- package/dist/cli/{index-z09fmg67.js → index-2e1294d1.js} +42 -5
- package/dist/cli/{index-a2phfdsv.js → index-3djxegsc.js} +1 -1
- package/dist/cli/{index-jjpppdvb.js → index-44xdtqz8.js} +1 -1
- package/dist/cli/{index-hw93dwd0.js → index-4tvvh7pn.js} +25 -25
- package/dist/cli/{index-9wpr1p2g.js → index-73pmnsjg.js} +1 -1
- package/dist/cli/{index-v3gshkpz.js → index-79g6edht.js} +1 -1
- package/dist/cli/{index-dvycdkhj.js → index-7fh82sm1.js} +2 -2
- package/dist/cli/{index-9d9p7bv2.js → index-96m8ckpq.js} +3 -3
- package/dist/cli/{index-fbj6wvew.js → index-dn6yt0xg.js} +5 -5
- package/dist/cli/{index-1z7kx41f.js → index-k3d919yf.js} +1 -1
- package/dist/cli/{index-frp2hwdg.js → index-mken64yj.js} +1 -1
- package/dist/cli/{index-4y7n76bn.js → index-n0vc5b5t.js} +2 -2
- package/dist/cli/{index-t9h95vjd.js → index-nd8tkb3g.js} +5 -5
- package/dist/cli/{index-f73px21b.js → index-pvrap7xg.js} +1 -1
- package/dist/cli/{index-xtyxnxf4.js → index-q77e475x.js} +3 -3
- package/dist/cli/{index-twhhwe74.js → index-qqrdmaxq.js} +1 -1
- package/dist/cli/{index-n35866rr.js → index-rq6aetkv.js} +4 -4
- package/dist/cli/{index-qmwed766.js → index-ryecg2st.js} +2 -2
- package/dist/cli/{index-kzdv0g9e.js → index-sg2sx2q7.js} +81 -58
- package/dist/cli/{index-5jwbepcr.js → index-x6803sxh.js} +1 -1
- package/dist/cli/{index-gqss5zbr.js → index-xyfdmrv7.js} +1 -1
- package/dist/cli/{index-7w2b1z4j.js → index-z8s2asdk.js} +2 -2
- package/dist/cli/{index-5sh0kqf5.js → index-z9fyd0d6.js} +2 -2
- package/dist/cli/index.js +23 -23
- package/dist/cli/{knowledge-escalator-bqnkq3k7.js → knowledge-escalator-4egcr928.js} +9 -9
- package/dist/cli/{knowledge-events-rz3mt7gf.js → knowledge-events-kdyv4jzn.js} +7 -7
- package/dist/cli/{knowledge-link-v7hj1h8m.js → knowledge-link-h8cwj7af.js} +3 -3
- package/dist/cli/{knowledge-store-1m74b90j.js → knowledge-store-dq3cvg53.js} +4 -4
- package/dist/cli/{knowledge-validator-hfvhpkgk.js → knowledge-validator-4bhtden9.js} +6 -6
- package/dist/cli/{runner-7znestx4.js → runner-w81n9js3.js} +4 -4
- package/dist/cli/{scan-cursor-b36bzxkt.js → scan-cursor-2eezv81a.js} +5 -5
- package/dist/cli/{schema-sc332es3.js → schema-v4qcqhek.js} +1 -1
- package/dist/cli/{scope-persistence-phkj8438.js → scope-persistence-y2r227r0.js} +5 -5
- package/dist/cli/{skill-generator-2d005nr6.js → skill-generator-hhzxvb3h.js} +11 -11
- package/dist/cli/{worktree-isolation-zpgkd71h.js → worktree-isolation-ve338ez6.js} +23 -23
- package/dist/config/bundled-skills.d.ts +10 -1
- package/dist/index.js +182 -182
- package/dist/tools/repo-graph/builder.d.ts +1 -1
- package/dist/tools/repo-graph/symbol-edge.d.ts +21 -0
- package/dist/tools/repo-graph/types.d.ts +39 -1
- package/dist/tools/repo-graph.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-rq6aetkv.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-0tfgn5x0.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-dn6yt0xg.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
atomicWriteFileAnyRoot,
|
|
30
30
|
atomicWriteSwarmFile
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-7fh82sm1.js";
|
|
32
32
|
import {
|
|
33
33
|
init_logger,
|
|
34
34
|
log,
|
|
@@ -53,7 +53,7 @@ var BUNDLED_PROJECT_SKILLS = [
|
|
|
53
53
|
"brainstorm",
|
|
54
54
|
"specify",
|
|
55
55
|
"clarify-spec",
|
|
56
|
-
"resume",
|
|
56
|
+
"swarm-resume",
|
|
57
57
|
"clarify",
|
|
58
58
|
"discover",
|
|
59
59
|
"consult",
|
|
@@ -92,6 +92,7 @@ var BUNDLED_PROJECT_SKILLS = [
|
|
|
92
92
|
"orchestrating-subagents",
|
|
93
93
|
"durable-session-state"
|
|
94
94
|
];
|
|
95
|
+
var RETIRED_BUNDLED_PROJECT_SKILLS = ["resume"];
|
|
95
96
|
var BUNDLED_PROJECT_SKILL_ROOT = ".swarm/bundled-skills";
|
|
96
97
|
function bundledProjectSkillFileReference(slug) {
|
|
97
98
|
return `file:${BUNDLED_PROJECT_SKILL_ROOT}/${slug}/SKILL.md`;
|
|
@@ -280,7 +281,38 @@ async function copyBundledDirectoryBoundedAsync(sourceDir, destDir) {
|
|
|
280
281
|
throw err;
|
|
281
282
|
}
|
|
282
283
|
}
|
|
284
|
+
async function removeRetiredBundledSkillDirsAsync(skillsDir) {
|
|
285
|
+
if (!await ensureNotSymlinkedDirectoryAsync(skillsDir))
|
|
286
|
+
return;
|
|
287
|
+
const safeRoot = path.resolve(skillsDir);
|
|
288
|
+
for (const slug of RETIRED_BUNDLED_PROJECT_SKILLS) {
|
|
289
|
+
try {
|
|
290
|
+
const target = path.resolve(safeRoot, slug);
|
|
291
|
+
const relative2 = path.relative(safeRoot, target);
|
|
292
|
+
if (relative2.startsWith("..") || path.isAbsolute(relative2)) {
|
|
293
|
+
throw new Error("retired bundled skill path escaped its private root");
|
|
294
|
+
}
|
|
295
|
+
try {
|
|
296
|
+
const stat2 = await fsp.lstat(target);
|
|
297
|
+
if (stat2.isSymbolicLink() || !stat2.isDirectory())
|
|
298
|
+
continue;
|
|
299
|
+
} catch (err) {
|
|
300
|
+
if (err.code === "ENOENT")
|
|
301
|
+
continue;
|
|
302
|
+
throw err;
|
|
303
|
+
}
|
|
304
|
+
await fsp.rm(target, { recursive: true, force: true });
|
|
305
|
+
log("removed retired bundled skill", { slug });
|
|
306
|
+
} catch (err) {
|
|
307
|
+
log("could not remove retired bundled skill (continuing)", {
|
|
308
|
+
slug,
|
|
309
|
+
message: err instanceof Error ? err.message : String(err)
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
283
314
|
async function performBundledProjectSkillSyncAsync(projectDirectory, packageRoot, quiet) {
|
|
315
|
+
let skillsDirValidated = false;
|
|
284
316
|
try {
|
|
285
317
|
const sourceRoot = path.join(packageRoot, ".opencode", "skills");
|
|
286
318
|
const swarmDir = path.join(projectDirectory, ".swarm");
|
|
@@ -292,6 +324,7 @@ async function performBundledProjectSkillSyncAsync(projectDirectory, packageRoot
|
|
|
292
324
|
return;
|
|
293
325
|
if (!await ensureNotSymlinkedDirectoryAsync(skillsDir))
|
|
294
326
|
return;
|
|
327
|
+
skillsDirValidated = true;
|
|
295
328
|
for (const slug of BUNDLED_PROJECT_SKILLS) {
|
|
296
329
|
const sourceDir = path.join(sourceRoot, slug);
|
|
297
330
|
const sourceSkill = path.join(sourceDir, "SKILL.md");
|
|
@@ -315,6 +348,10 @@ async function performBundledProjectSkillSyncAsync(projectDirectory, packageRoot
|
|
|
315
348
|
} else {
|
|
316
349
|
console.warn(failureMsg);
|
|
317
350
|
}
|
|
351
|
+
} finally {
|
|
352
|
+
if (skillsDirValidated) {
|
|
353
|
+
await removeRetiredBundledSkillDirsAsync(path.join(projectDirectory, BUNDLED_PROJECT_SKILL_ROOT));
|
|
354
|
+
}
|
|
318
355
|
}
|
|
319
356
|
}
|
|
320
357
|
async function syncBundledProjectSkillsIfMissingAsync(projectDirectory, packageRoot, quiet = false) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-z8s2asdk.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-29vd7v3e.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -85,52 +85,52 @@ import {
|
|
|
85
85
|
handleWriteRetroCommand,
|
|
86
86
|
normalizeSwarmCommandInput,
|
|
87
87
|
resolveCommand
|
|
88
|
-
} from "./index-
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
88
|
+
} from "./index-sg2sx2q7.js";
|
|
89
|
+
import"./index-44xdtqz8.js";
|
|
90
|
+
import"./index-k3d919yf.js";
|
|
91
|
+
import"./index-x6803sxh.js";
|
|
92
|
+
import"./index-26vyr198.js";
|
|
93
|
+
import"./index-73pmnsjg.js";
|
|
94
94
|
import"./index-134d35c1.js";
|
|
95
95
|
import"./index-nj6rmyeh.js";
|
|
96
96
|
import"./index-y8552snf.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
97
|
+
import"./index-nd8tkb3g.js";
|
|
98
|
+
import"./index-02ajc6d1.js";
|
|
99
99
|
import"./index-70ha9e09.js";
|
|
100
100
|
import"./index-c8s9a3zh.js";
|
|
101
101
|
import"./index-9ss2m4rs.js";
|
|
102
102
|
import"./index-vnn7qq8c.js";
|
|
103
103
|
import"./index-0q2mjxp2.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
104
|
+
import"./index-2e1294d1.js";
|
|
105
|
+
import"./index-rq6aetkv.js";
|
|
106
|
+
import"./index-pvrap7xg.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
109
|
import"./index-z4bg1hv8.js";
|
|
110
110
|
import"./index-fxvgaeq4.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
111
|
+
import"./index-z9fyd0d6.js";
|
|
112
|
+
import"./index-qqrdmaxq.js";
|
|
113
|
+
import"./index-q77e475x.js";
|
|
114
|
+
import"./index-xyfdmrv7.js";
|
|
115
115
|
import"./index-6zkm4p7p.js";
|
|
116
116
|
import"./index-556ja8an.js";
|
|
117
117
|
import"./index-b43rt5ph.js";
|
|
118
118
|
import"./index-q7sjgr1y.js";
|
|
119
119
|
import"./index-3g0xk6tk.js";
|
|
120
120
|
import"./index-85gkedsf.js";
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
121
|
+
import"./index-0tfgn5x0.js";
|
|
122
|
+
import"./index-dn6yt0xg.js";
|
|
123
|
+
import"./index-ryecg2st.js";
|
|
124
124
|
import"./index-gprxjmm7.js";
|
|
125
125
|
import"./index-n832052r.js";
|
|
126
126
|
import"./index-4cgee5vh.js";
|
|
127
127
|
import"./index-z6xqpmqg.js";
|
|
128
128
|
import"./index-r3mvsbtq.js";
|
|
129
|
-
import"./index-
|
|
129
|
+
import"./index-3djxegsc.js";
|
|
130
130
|
import {
|
|
131
131
|
init_schema,
|
|
132
132
|
stripKnownSwarmPrefix
|
|
133
|
-
} from "./index-
|
|
133
|
+
} from "./index-n0vc5b5t.js";
|
|
134
134
|
import {
|
|
135
135
|
AGENT_TOOL_MAP,
|
|
136
136
|
ORCHESTRATOR_NAME,
|
|
@@ -140,10 +140,10 @@ import"./index-9e6fdz2h.js";
|
|
|
140
140
|
import"./index-4rhhvd1a.js";
|
|
141
141
|
import"./index-zjygnfay.js";
|
|
142
142
|
import"./index-ae75rja9.js";
|
|
143
|
-
import"./index-
|
|
144
|
-
import"./index-
|
|
143
|
+
import"./index-79g6edht.js";
|
|
144
|
+
import"./index-mken64yj.js";
|
|
145
145
|
import"./index-bk5tah7q.js";
|
|
146
|
-
import"./index-
|
|
146
|
+
import"./index-7fh82sm1.js";
|
|
147
147
|
import"./index-txbd25bc.js";
|
|
148
148
|
import"./index-aw492hpn.js";
|
|
149
149
|
import"./index-7g4c7s5r.js";
|
|
@@ -32,7 +32,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
32
32
|
"src/commands/handoff.ts:48 (pre-#2035)",
|
|
33
33
|
"src/commands/handoff.ts:79 (pre-#2035)",
|
|
34
34
|
"src/memory/local-jsonl-provider.ts:1171",
|
|
35
|
-
"src/config/bundled-skills.ts:
|
|
35
|
+
"src/config/bundled-skills.ts:250"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -75,7 +75,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
75
75
|
"src/evidence/manager.ts:288",
|
|
76
76
|
"src/evidence/manager.ts:456",
|
|
77
77
|
"src/tools/sast-baseline.ts:106",
|
|
78
|
-
"src/tools/repo-graph/storage.ts:
|
|
78
|
+
"src/tools/repo-graph/storage.ts:426",
|
|
79
79
|
"src/memory/reflection-service.ts:547 (pre-#2035)",
|
|
80
80
|
"src/hooks/review-receipt.ts:608",
|
|
81
81
|
"src/hooks/review-receipt.ts:674",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ryecg2st.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-3djxegsc.js";
|
|
46
46
|
import {
|
|
47
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
48
48
|
AgentOverrideConfigSchema,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
TurboConfigSchema,
|
|
65
65
|
WorktreeIsolationConfigSchema,
|
|
66
66
|
resolveAutoReviewConfig
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-n0vc5b5t.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./index-4cgee5vh.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-3djxegsc.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-n0vc5b5t.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-79g6edht.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-mken64yj.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
23
|
} from "./index-txbd25bc.js";
|
|
@@ -2693,7 +2693,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
let bumps = 0;
|
|
2695
2695
|
if (deltas.length > 0) {
|
|
2696
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2696
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-dq3cvg53.js");
|
|
2697
2697
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2698
2698
|
}
|
|
2699
2699
|
return {
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.
|
|
24
|
+
version: "7.152.1",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -66,7 +66,7 @@ var init_package = __esm(() => {
|
|
|
66
66
|
".opencode/skills/brainstorm",
|
|
67
67
|
".opencode/skills/specify",
|
|
68
68
|
".opencode/skills/clarify-spec",
|
|
69
|
-
".opencode/skills/resume",
|
|
69
|
+
".opencode/skills/swarm-resume",
|
|
70
70
|
".opencode/skills/clarify",
|
|
71
71
|
".opencode/skills/discover",
|
|
72
72
|
".opencode/skills/consult",
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-0tfgn5x0.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-dn6yt0xg.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-4bhtden9.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-v4qcqhek.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-96m8ckpq.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readLinkPointer,
|
|
8
8
|
resolveKnowledgeStoreDir,
|
|
9
9
|
resolveLinkDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-79g6edht.js";
|
|
11
11
|
|
|
12
12
|
// src/knowledge/curation-policy.ts
|
|
13
13
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-xyfdmrv7.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
8
|
} from "./index-6zkm4p7p.js";
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-3djxegsc.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-7fh82sm1.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
21
|
} from "./index-txbd25bc.js";
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-y2r227r0.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-pvrap7xg.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-0tfgn5x0.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-79g6edht.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-mken64yj.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3djxegsc.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-n0vc5b5t.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|