opencode-swarm 7.143.0 → 7.143.2
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/loop/SKILL.md +4 -2
- package/dist/cli/ast-diff-ypptrcan.js +422 -0
- package/dist/cli/{config-doctor-t1r5qwxk.js → config-doctor-xadt4kv5.js} +4 -4
- package/dist/cli/{core-e30p4vz9.js → core-vpefadja.js} +4 -4
- package/dist/cli/curation-policy-pkb2eeb1.js +1 -1
- package/dist/cli/{curator-drift-49p3jnte.js → curator-drift-2jbjv03a.js} +6 -6
- package/dist/cli/{curator-llm-factory-y9xg7k6k.js → curator-llm-factory-xjw5j2jj.js} +36 -35
- package/dist/cli/{curator-ctasdmmq.js → curator-wahbxxw9.js} +36 -35
- package/dist/cli/{dispatch-rd10kdk1.js → dispatch-1y1rnv1h.js} +3 -3
- package/dist/cli/{evidence-summary-service-7bmg5r8y.js → evidence-summary-service-m0jes2yb.js} +16 -16
- package/dist/cli/{gate-evidence-1v0cj4c6.js → gate-evidence-sf9hbhm0.js} +9 -9
- package/dist/cli/{guardrail-explain-6x9psbwz.js → guardrail-explain-9vdjkz5x.js} +37 -36
- package/dist/cli/{guardrail-log-pma4m8vr.js → guardrail-log-xr0cv07v.js} +6 -6
- package/dist/cli/{hive-promoter-g16grej1.js → hive-promoter-ften3m3h.js} +36 -35
- package/dist/cli/{index-6texwk9p.js → index-2pxq133w.js} +5 -5
- package/dist/cli/{index-9v53ez3a.js → index-4g1bnzma.js} +4 -4
- package/dist/cli/{runtime-ykafcwc6.js → index-5n69863d.js} +2 -10
- package/dist/cli/{index-m4v9kab1.js → index-6f80e8r5.js} +355 -357
- package/dist/cli/{index-x6qq39e9.js → index-6hwedxn7.js} +10 -10
- package/dist/cli/{index-q8st0mtw.js → index-6q3wx600.js} +1 -1
- package/dist/cli/{index-fhxh447f.js → index-700yppfy.js} +15 -15
- package/dist/cli/{index-htmsm37t.js → index-7e91cs99.js} +5 -5
- package/dist/cli/index-7sy3aa9m.js +115 -0
- package/dist/cli/{index-7c4bxgdh.js → index-8aabbfhv.js} +5 -5
- package/dist/cli/{index-n96ay8w4.js → index-8hxbjgyk.js} +5 -5
- package/dist/cli/{index-ebwznsfy.js → index-b6e016tv.js} +1 -1
- package/dist/cli/{index-keskta0w.js → index-fq0b44vq.js} +8 -8
- package/dist/cli/{index-82m5kwtd.js → index-gdd4jt6b.js} +4 -4
- package/dist/cli/{index-1g473508.js → index-h5fmwg5b.js} +43 -42
- package/dist/cli/{index-28jr28fg.js → index-je3jmcc1.js} +9 -9
- package/dist/cli/{index-fprxtq3q.js → index-jvbqryky.js} +32 -32
- package/dist/cli/{index-qwm6vdyv.js → index-k3cxyk66.js} +1 -1
- package/dist/cli/{index-15h4dpsn.js → index-kc9tfc7e.js} +5 -5
- package/dist/cli/{index-sb16w4wj.js → index-kjgma6hg.js} +6 -6
- package/dist/cli/{index-g0pbvfhw.js → index-nvt1152n.js} +56 -21
- package/dist/cli/{index-336ra397.js → index-qswsp6s3.js} +5 -5
- package/dist/cli/{index-96h1v2jw.js → index-r0j1sh38.js} +1 -1
- package/dist/cli/{index-k46me75h.js → index-rn0eq85g.js} +1 -1
- package/dist/cli/{index-2n8y67b4.js → index-x0ja3n3g.js} +2 -2
- package/dist/cli/{index-s89y08tk.js → index-xacfcpyn.js} +2 -2
- package/dist/cli/{index-r0tn9kpa.js → index-yr997mhn.js} +4 -4
- package/dist/cli/{index-kxpz3ncd.js → index-yw4atzww.js} +1 -1
- package/dist/cli/index.js +45 -41
- package/dist/cli/{knowledge-escalator-1b2hmcgn.js → knowledge-escalator-9xesv2xx.js} +15 -15
- package/dist/cli/{knowledge-events-vx4fqjzb.js → knowledge-events-s8nvbdyk.js} +13 -13
- package/dist/cli/knowledge-link-fn5j3r4q.js +1 -1
- package/dist/cli/{knowledge-store-t2qyr4yr.js → knowledge-store-2zt0b10b.js} +3 -3
- package/dist/cli/{knowledge-validator-c7871bjc.js → knowledge-validator-nt955tw0.js} +4 -4
- package/dist/cli/{pending-delegations-0hb97ps1.js → pending-delegations-b3pt3w5w.js} +5 -5
- package/dist/cli/{pr-subscriptions-b63t252j.js → pr-subscriptions-jyav582d.js} +5 -5
- package/dist/cli/{runner-hrg7h2h4.js → runner-pde6b5sx.js} +2 -2
- package/dist/cli/runtime-te94z1zb.js +23 -0
- package/dist/cli/{scan-cursor-pnbpfjjc.js → scan-cursor-emrg35t0.js} +4 -4
- package/dist/cli/{schema-47xpcghn.js → schema-tpbz8f0x.js} +1 -1
- package/dist/cli/{scope-persistence-wxx1jpfw.js → scope-persistence-1hf839ys.js} +9 -9
- package/dist/cli/semantic-classifier-ygqk0me1.js +147 -0
- package/dist/cli/{skill-generator-s456hfta.js → skill-generator-fja22m4q.js} +16 -16
- package/dist/cli/{worktree-collision-ownership-ymdxetnn.js → worktree-collision-ownership-bfz3drxm.js} +6 -6
- package/dist/cli/{worktree-isolation-d0xgp705.js → worktree-isolation-gnqvy10j.js} +38 -37
- package/dist/cli/{worktree-provisioning-owner-sjh7te1h.js → worktree-provisioning-owner-g24xd417.js} +4 -4
- package/dist/commands/registry.d.ts +1 -1
- package/dist/config/constants.d.ts +2 -2
- package/dist/hooks/delegation-gate.d.ts +19 -2
- package/dist/index.js +379 -370
- package/dist/parallel/review-router.d.ts +16 -0
- package/dist/parallel/tier3-classifier.d.ts +11 -0
- package/dist/utils/patch-dedent.d.ts +33 -0
- package/dist/workflow/coder-settlement.d.ts +30 -0
- package/dist/workflow/workflow-wal-schema.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cli/{index-y9h2vqf6.js → index-4q9vfav6.js} +3 -3
- package/dist/cli/{index-ee3x66a5.js → index-z6xqpmqg.js} +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-x0ja3n3g.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -42,9 +42,7 @@ import {
|
|
|
42
42
|
loadPluginConfig,
|
|
43
43
|
loadPluginConfigWithMeta,
|
|
44
44
|
loadPluginConfigWithMetaAsync
|
|
45
|
-
} from "./index-
|
|
46
|
-
import"./index-4rhhvd1a.js";
|
|
47
|
-
import"./index-zgwm4ryv.js";
|
|
45
|
+
} from "./index-qswsp6s3.js";
|
|
48
46
|
import {
|
|
49
47
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
50
48
|
AgentOverrideConfigSchema,
|
|
@@ -66,7 +64,8 @@ import {
|
|
|
66
64
|
TurboConfigSchema,
|
|
67
65
|
WorktreeIsolationConfigSchema,
|
|
68
66
|
resolveAutoReviewConfig
|
|
69
|
-
} from "./index-
|
|
67
|
+
} from "./index-6q3wx600.js";
|
|
68
|
+
import"./index-4rhhvd1a.js";
|
|
70
69
|
import {
|
|
71
70
|
ALL_AGENT_NAMES,
|
|
72
71
|
ALL_SUBAGENT_NAMES,
|
|
@@ -80,6 +79,7 @@ import {
|
|
|
80
79
|
import"./index-zjygnfay.js";
|
|
81
80
|
import"./index-bk5tah7q.js";
|
|
82
81
|
import"./index-bpmtbmy9.js";
|
|
82
|
+
import"./index-zgwm4ryv.js";
|
|
83
83
|
import"./index-a76rekgs.js";
|
|
84
84
|
export {
|
|
85
85
|
validateSpecContent,
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ExecutionProfileSchema,
|
|
4
|
+
PlanSchema,
|
|
5
|
+
TaskStatusSchema,
|
|
6
|
+
init_loader
|
|
7
|
+
} from "./index-qswsp6s3.js";
|
|
2
8
|
import {
|
|
3
9
|
assertProjectRoot,
|
|
4
10
|
withEvidenceLock
|
|
@@ -6,12 +12,6 @@ import {
|
|
|
6
12
|
import {
|
|
7
13
|
emit
|
|
8
14
|
} from "./index-s2rcz51a.js";
|
|
9
|
-
import {
|
|
10
|
-
ExecutionProfileSchema,
|
|
11
|
-
PlanSchema,
|
|
12
|
-
TaskStatusSchema,
|
|
13
|
-
init_loader
|
|
14
|
-
} from "./index-336ra397.js";
|
|
15
15
|
import {
|
|
16
16
|
criticalWarn,
|
|
17
17
|
init_logger,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
bunSpawn
|
|
4
|
-
} from "./index-4nt52yr9.js";
|
|
5
2
|
import {
|
|
6
3
|
advisoryWarn,
|
|
7
4
|
init_warning_buffer
|
|
8
5
|
} from "./index-4rhhvd1a.js";
|
|
9
|
-
import {
|
|
10
|
-
log
|
|
11
|
-
} from "./index-zgwm4ryv.js";
|
|
12
6
|
import {
|
|
13
7
|
SWARM_WORKTREE_DIR_NAME,
|
|
14
8
|
init_constants
|
|
15
9
|
} from "./index-jqsfsqbx.js";
|
|
10
|
+
import {
|
|
11
|
+
bunSpawn
|
|
12
|
+
} from "./index-4nt52yr9.js";
|
|
13
|
+
import {
|
|
14
|
+
log
|
|
15
|
+
} from "./index-zgwm4ryv.js";
|
|
16
16
|
import {
|
|
17
17
|
__require
|
|
18
18
|
} from "./index-a76rekgs.js";
|
|
@@ -86,7 +86,7 @@ var _internals = {
|
|
|
86
86
|
symlinkSync: fs.symlinkSync
|
|
87
87
|
},
|
|
88
88
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
89
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
89
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-1hf839ys.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -274,8 +274,12 @@ async function provisionWorktree(directory, id, sessionId, options) {
|
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
const expectedPath = normalizeGitPath(worktreePath);
|
|
277
|
-
|
|
278
|
-
let current = {
|
|
277
|
+
let entries = [];
|
|
278
|
+
let current = {
|
|
279
|
+
path: "",
|
|
280
|
+
branch: undefined,
|
|
281
|
+
prunable: false
|
|
282
|
+
};
|
|
279
283
|
if (listResult.exitCode !== 0) {
|
|
280
284
|
const raw = listResult.stderr.trim() || listResult.stdout.trim();
|
|
281
285
|
const bounded = raw.length > 500 ? `${raw.slice(0, 500)}... (truncated)` : raw;
|
|
@@ -283,22 +287,53 @@ async function provisionWorktree(directory, id, sessionId, options) {
|
|
|
283
287
|
error: `worktree enumeration failed: ${bounded}`
|
|
284
288
|
};
|
|
285
289
|
}
|
|
286
|
-
|
|
290
|
+
const parsePorcelain = (stdout) => {
|
|
291
|
+
const parsed = [];
|
|
292
|
+
let cur = {
|
|
293
|
+
path: "",
|
|
294
|
+
branch: undefined,
|
|
295
|
+
prunable: false
|
|
296
|
+
};
|
|
297
|
+
for (const rawLine of stdout.split(`
|
|
287
298
|
`)) {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
299
|
+
const line = rawLine.trim();
|
|
300
|
+
if (line.startsWith("worktree ")) {
|
|
301
|
+
if (cur.path)
|
|
302
|
+
parsed.push(cur);
|
|
303
|
+
cur = {
|
|
304
|
+
path: normalizeGitPath(line.slice("worktree ".length)),
|
|
305
|
+
branch: undefined,
|
|
306
|
+
prunable: false
|
|
307
|
+
};
|
|
308
|
+
} else if (line.startsWith("branch ")) {
|
|
309
|
+
cur.branch = line.slice("branch ".length);
|
|
310
|
+
} else if (line === "prunable" || line.startsWith("prunable ")) {
|
|
311
|
+
cur.prunable = true;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
if (cur.path)
|
|
315
|
+
parsed.push(cur);
|
|
316
|
+
return parsed;
|
|
317
|
+
};
|
|
318
|
+
entries = parsePorcelain(listResult.stdout);
|
|
319
|
+
const hasPrunableCollision = entries.some((e) => e.prunable && (e.path === expectedPath || e.branch === `refs/heads/${branchName}`));
|
|
320
|
+
if (hasPrunableCollision) {
|
|
321
|
+
const pruneResult = await runGit(["worktree", "prune"], directory);
|
|
322
|
+
if (pruneResult.exitCode !== 0) {
|
|
323
|
+
return {
|
|
324
|
+
error: `Failed to prune stale worktree registration: ${pruneResult.stderr.trim() || pruneResult.stdout.trim()}`
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
const relistResult = await runGit(["worktree", "list", "--porcelain"], directory);
|
|
328
|
+
if (relistResult.exitCode !== 0) {
|
|
329
|
+
const raw = relistResult.stderr.trim() || relistResult.stdout.trim();
|
|
330
|
+
const bounded = raw.length > 500 ? `${raw.slice(0, 500)}... (truncated)` : raw;
|
|
331
|
+
return {
|
|
332
|
+
error: `worktree enumeration failed after prune: ${bounded}`
|
|
295
333
|
};
|
|
296
|
-
} else if (line.startsWith("branch ")) {
|
|
297
|
-
current.branch = line.slice("branch ".length);
|
|
298
334
|
}
|
|
335
|
+
entries = parsePorcelain(relistResult.stdout);
|
|
299
336
|
}
|
|
300
|
-
if (current.path)
|
|
301
|
-
entries.push(current);
|
|
302
337
|
const expectedPathIsRegistered = entries.some((e) => e.path === expectedPath);
|
|
303
338
|
const branchIsActiveAtExpectedPath = entries.some((e) => e.branch === `refs/heads/${branchName}` && e.path === expectedPath);
|
|
304
339
|
const branchIsActiveElsewhere = entries.some((e) => e.branch === `refs/heads/${branchName}` && e.path !== expectedPath);
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
advisoryWarn,
|
|
4
|
-
init_warning_buffer
|
|
5
|
-
} from "./index-4rhhvd1a.js";
|
|
6
2
|
import {
|
|
7
3
|
ExternalSkillsConfigSchema,
|
|
8
4
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -10,7 +6,11 @@ import {
|
|
|
10
6
|
PluginConfigSchema,
|
|
11
7
|
init_schema,
|
|
12
8
|
resolveExternalSkillsConfig
|
|
13
|
-
} from "./index-
|
|
9
|
+
} from "./index-6q3wx600.js";
|
|
10
|
+
import {
|
|
11
|
+
advisoryWarn,
|
|
12
|
+
init_warning_buffer
|
|
13
|
+
} from "./index-4rhhvd1a.js";
|
|
14
14
|
import {
|
|
15
15
|
MAX_MERGE_DEPTH,
|
|
16
16
|
deepMerge,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-qswsp6s3.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-6q3wx600.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-6f80e8r5.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-8hxbjgyk.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
log
|
|
4
|
-
} from "./index-zgwm4ryv.js";
|
|
5
2
|
import {
|
|
6
3
|
FALLBACK_MODELS_MAX,
|
|
7
4
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -9,11 +6,14 @@ import {
|
|
|
9
6
|
PluginConfigSchema,
|
|
10
7
|
init_schema,
|
|
11
8
|
stripKnownSwarmPrefix
|
|
12
|
-
} from "./index-
|
|
9
|
+
} from "./index-6q3wx600.js";
|
|
13
10
|
import {
|
|
14
11
|
ALL_AGENT_NAMES,
|
|
15
12
|
init_constants
|
|
16
13
|
} from "./index-jqsfsqbx.js";
|
|
14
|
+
import {
|
|
15
|
+
log
|
|
16
|
+
} from "./index-zgwm4ryv.js";
|
|
17
17
|
|
|
18
18
|
// src/services/config-doctor.ts
|
|
19
19
|
init_constants();
|
package/dist/cli/index.js
CHANGED
|
@@ -7,66 +7,67 @@ import {
|
|
|
7
7
|
getPluginConfigDir,
|
|
8
8
|
getPluginLockFilePaths,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-n96ay8w4.js";
|
|
15
|
-
import"./index-c8s9a3zh.js";
|
|
16
|
-
import"./index-r0tn9kpa.js";
|
|
17
|
-
import"./index-fprxtq3q.js";
|
|
10
|
+
} from "./index-6f80e8r5.js";
|
|
11
|
+
import"./index-8hxbjgyk.js";
|
|
12
|
+
import"./index-yr997mhn.js";
|
|
13
|
+
import"./index-jvbqryky.js";
|
|
18
14
|
import"./index-134d35c1.js";
|
|
15
|
+
import"./index-b6e016tv.js";
|
|
16
|
+
import"./index-4q9vfav6.js";
|
|
19
17
|
import"./index-k92cagmt.js";
|
|
20
18
|
import"./index-y8552snf.js";
|
|
19
|
+
import"./index-2pxq133w.js";
|
|
20
|
+
import"./index-xmzmeknp.js";
|
|
21
|
+
import"./index-c8s9a3zh.js";
|
|
21
22
|
import"./index-9ss2m4rs.js";
|
|
23
|
+
import"./index-700yppfy.js";
|
|
22
24
|
import"./index-74hpm6sh.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
25
|
+
import"./index-6hwedxn7.js";
|
|
26
|
+
import"./index-7e91cs99.js";
|
|
27
|
+
import"./index-4g1bnzma.js";
|
|
28
|
+
import"./index-kjgma6hg.js";
|
|
29
|
+
import"./index-556ja8an.js";
|
|
30
|
+
import"./index-gdd4jt6b.js";
|
|
28
31
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-7c4bxgdh.js";
|
|
32
|
+
import"./index-k3cxyk66.js";
|
|
33
|
+
import"./index-8aabbfhv.js";
|
|
34
|
+
import"./index-nvt1152n.js";
|
|
33
35
|
import"./index-8fwhhayc.js";
|
|
34
36
|
import"./index-q1exe2b3.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-tq5s07ta.js";
|
|
40
|
-
import"./index-rtry5xyf.js";
|
|
41
|
-
import"./index-keskta0w.js";
|
|
42
|
-
import"./index-ae75rja9.js";
|
|
43
|
-
import"./index-w7x7qxz2.js";
|
|
44
|
-
import"./index-erfnw81g.js";
|
|
45
|
-
import"./index-ed5ykebp.js";
|
|
46
|
-
import"./index-2n8y67b4.js";
|
|
37
|
+
import"./index-7sy3aa9m.js";
|
|
38
|
+
import"./index-4905hd2m.js";
|
|
39
|
+
import"./index-je3jmcc1.js";
|
|
40
|
+
import"./index-x0ja3n3g.js";
|
|
47
41
|
import"./index-gprxjmm7.js";
|
|
48
42
|
import"./index-n832052r.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-sb16w4wj.js";
|
|
51
|
-
import"./index-556ja8an.js";
|
|
52
|
-
import"./index-k31en0ja.js";
|
|
53
|
-
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-s2rcz51a.js";
|
|
55
|
-
import"./index-4nt52yr9.js";
|
|
56
|
-
import"./index-336ra397.js";
|
|
57
|
-
import"./index-4rhhvd1a.js";
|
|
58
|
-
import"./index-zgwm4ryv.js";
|
|
43
|
+
import"./index-qswsp6s3.js";
|
|
59
44
|
import {
|
|
60
45
|
init_package,
|
|
61
46
|
package_default
|
|
62
|
-
} from "./index-
|
|
47
|
+
} from "./index-6q3wx600.js";
|
|
48
|
+
import"./index-rn0eq85g.js";
|
|
49
|
+
import"./index-4rhhvd1a.js";
|
|
63
50
|
import {
|
|
64
51
|
DEFAULT_AGENT_CONFIGS,
|
|
65
52
|
init_constants
|
|
66
53
|
} from "./index-jqsfsqbx.js";
|
|
54
|
+
import"./index-z6xqpmqg.js";
|
|
67
55
|
import"./index-zjygnfay.js";
|
|
56
|
+
import"./index-yw4atzww.js";
|
|
57
|
+
import"./index-tq5s07ta.js";
|
|
58
|
+
import"./index-rtry5xyf.js";
|
|
59
|
+
import"./index-fq0b44vq.js";
|
|
60
|
+
import"./index-ae75rja9.js";
|
|
61
|
+
import"./index-w7x7qxz2.js";
|
|
62
|
+
import"./index-erfnw81g.js";
|
|
68
63
|
import"./index-bk5tah7q.js";
|
|
64
|
+
import"./index-ed5ykebp.js";
|
|
65
|
+
import"./index-k31en0ja.js";
|
|
66
|
+
import"./index-7g4c7s5r.js";
|
|
67
|
+
import"./index-s2rcz51a.js";
|
|
69
68
|
import"./index-bpmtbmy9.js";
|
|
69
|
+
import"./index-4nt52yr9.js";
|
|
70
|
+
import"./index-zgwm4ryv.js";
|
|
70
71
|
import"./index-a76rekgs.js";
|
|
71
72
|
|
|
72
73
|
// src/cli/index.ts
|
|
@@ -74,6 +75,7 @@ init_package();
|
|
|
74
75
|
import * as fs from "fs";
|
|
75
76
|
import * as os from "os";
|
|
76
77
|
import * as path from "path";
|
|
78
|
+
import { fileURLToPath } from "url";
|
|
77
79
|
init_constants();
|
|
78
80
|
|
|
79
81
|
// src/tools/repo-graph/safe-realpath.ts
|
|
@@ -91,6 +93,7 @@ function safeRealpathSync(targetPath, fallback, realpathResolver = realpathSync)
|
|
|
91
93
|
|
|
92
94
|
// src/cli/index.ts
|
|
93
95
|
var { version } = package_default;
|
|
96
|
+
var PACKAGE_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..", "..");
|
|
94
97
|
var CONFIG_DIR = getPluginConfigDir();
|
|
95
98
|
var OPENCODE_CONFIG_PATH = path.join(CONFIG_DIR, "opencode.json");
|
|
96
99
|
var PLUGIN_CONFIG_PATH = path.join(CONFIG_DIR, "opencode-swarm.json");
|
|
@@ -580,7 +583,8 @@ Valid commands: ${VALID_COMMANDS.join(", ")}`);
|
|
|
580
583
|
args: resolved.remainingArgs,
|
|
581
584
|
sessionID: "",
|
|
582
585
|
agents: {},
|
|
583
|
-
source: "cli"
|
|
586
|
+
source: "cli",
|
|
587
|
+
packageRoot: PACKAGE_ROOT
|
|
584
588
|
});
|
|
585
589
|
console.log(result);
|
|
586
590
|
return 0;
|
|
@@ -9,30 +9,30 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
12
|
+
} from "./index-7e91cs99.js";
|
|
13
|
+
import"./index-je3jmcc1.js";
|
|
14
|
+
import"./index-x0ja3n3g.js";
|
|
15
|
+
import"./index-gprxjmm7.js";
|
|
16
|
+
import"./index-n832052r.js";
|
|
17
|
+
import"./index-qswsp6s3.js";
|
|
18
|
+
import"./index-6q3wx600.js";
|
|
19
|
+
import"./index-rn0eq85g.js";
|
|
20
|
+
import"./index-4rhhvd1a.js";
|
|
21
|
+
import"./index-jqsfsqbx.js";
|
|
22
|
+
import"./index-z6xqpmqg.js";
|
|
23
|
+
import"./index-zjygnfay.js";
|
|
24
|
+
import"./index-fq0b44vq.js";
|
|
17
25
|
import"./index-ae75rja9.js";
|
|
18
26
|
import"./index-w7x7qxz2.js";
|
|
19
27
|
import"./index-erfnw81g.js";
|
|
28
|
+
import"./index-bk5tah7q.js";
|
|
20
29
|
import"./index-ed5ykebp.js";
|
|
21
|
-
import"./index-2n8y67b4.js";
|
|
22
|
-
import"./index-gprxjmm7.js";
|
|
23
|
-
import"./index-n832052r.js";
|
|
24
30
|
import"./index-k31en0ja.js";
|
|
25
31
|
import"./index-7g4c7s5r.js";
|
|
26
32
|
import"./index-s2rcz51a.js";
|
|
33
|
+
import"./index-bpmtbmy9.js";
|
|
27
34
|
import"./index-4nt52yr9.js";
|
|
28
|
-
import"./index-336ra397.js";
|
|
29
|
-
import"./index-4rhhvd1a.js";
|
|
30
35
|
import"./index-zgwm4ryv.js";
|
|
31
|
-
import"./index-q8st0mtw.js";
|
|
32
|
-
import"./index-jqsfsqbx.js";
|
|
33
|
-
import"./index-zjygnfay.js";
|
|
34
|
-
import"./index-bk5tah7q.js";
|
|
35
|
-
import"./index-bpmtbmy9.js";
|
|
36
36
|
import"./index-a76rekgs.js";
|
|
37
37
|
export {
|
|
38
38
|
readRecentEscalations,
|
|
@@ -29,28 +29,28 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
} from "./index-je3jmcc1.js";
|
|
33
|
+
import"./index-x0ja3n3g.js";
|
|
34
|
+
import"./index-gprxjmm7.js";
|
|
35
|
+
import"./index-n832052r.js";
|
|
36
|
+
import"./index-qswsp6s3.js";
|
|
37
|
+
import"./index-6q3wx600.js";
|
|
38
|
+
import"./index-rn0eq85g.js";
|
|
39
|
+
import"./index-4rhhvd1a.js";
|
|
40
|
+
import"./index-jqsfsqbx.js";
|
|
41
|
+
import"./index-z6xqpmqg.js";
|
|
42
|
+
import"./index-zjygnfay.js";
|
|
35
43
|
import"./index-ae75rja9.js";
|
|
36
44
|
import"./index-w7x7qxz2.js";
|
|
37
45
|
import"./index-erfnw81g.js";
|
|
46
|
+
import"./index-bk5tah7q.js";
|
|
38
47
|
import"./index-ed5ykebp.js";
|
|
39
|
-
import"./index-2n8y67b4.js";
|
|
40
|
-
import"./index-gprxjmm7.js";
|
|
41
|
-
import"./index-n832052r.js";
|
|
42
48
|
import"./index-k31en0ja.js";
|
|
43
49
|
import"./index-7g4c7s5r.js";
|
|
44
50
|
import"./index-s2rcz51a.js";
|
|
51
|
+
import"./index-bpmtbmy9.js";
|
|
45
52
|
import"./index-4nt52yr9.js";
|
|
46
|
-
import"./index-336ra397.js";
|
|
47
|
-
import"./index-4rhhvd1a.js";
|
|
48
53
|
import"./index-zgwm4ryv.js";
|
|
49
|
-
import"./index-q8st0mtw.js";
|
|
50
|
-
import"./index-jqsfsqbx.js";
|
|
51
|
-
import"./index-zjygnfay.js";
|
|
52
|
-
import"./index-bk5tah7q.js";
|
|
53
|
-
import"./index-bpmtbmy9.js";
|
|
54
54
|
import"./index-a76rekgs.js";
|
|
55
55
|
export {
|
|
56
56
|
resolveLegacyApplicationLogPath,
|
|
@@ -18,9 +18,9 @@ import"./index-ed5ykebp.js";
|
|
|
18
18
|
import"./index-k31en0ja.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
20
|
import"./index-s2rcz51a.js";
|
|
21
|
+
import"./index-bpmtbmy9.js";
|
|
21
22
|
import"./index-4nt52yr9.js";
|
|
22
23
|
import"./index-zgwm4ryv.js";
|
|
23
|
-
import"./index-bpmtbmy9.js";
|
|
24
24
|
import"./index-a76rekgs.js";
|
|
25
25
|
export {
|
|
26
26
|
writeLinkPointer,
|
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
transactKnowledge,
|
|
42
42
|
transactKnowledgeWithCas,
|
|
43
43
|
wordBigrams
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-fq0b44vq.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveHiveDataDir
|
|
47
47
|
} from "./index-ae75rja9.js";
|
|
48
48
|
import"./index-w7x7qxz2.js";
|
|
49
49
|
import"./index-erfnw81g.js";
|
|
50
|
+
import"./index-bk5tah7q.js";
|
|
50
51
|
import"./index-ed5ykebp.js";
|
|
51
52
|
import"./index-k31en0ja.js";
|
|
52
53
|
import"./index-7g4c7s5r.js";
|
|
53
54
|
import"./index-s2rcz51a.js";
|
|
55
|
+
import"./index-bpmtbmy9.js";
|
|
54
56
|
import"./index-4nt52yr9.js";
|
|
55
57
|
import"./index-zgwm4ryv.js";
|
|
56
|
-
import"./index-bk5tah7q.js";
|
|
57
|
-
import"./index-bpmtbmy9.js";
|
|
58
58
|
import"./index-a76rekgs.js";
|
|
59
59
|
export {
|
|
60
60
|
wordBigrams,
|
|
@@ -23,21 +23,21 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-yw4atzww.js";
|
|
27
27
|
import"./index-tq5s07ta.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-fq0b44vq.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-w7x7qxz2.js";
|
|
32
32
|
import"./index-erfnw81g.js";
|
|
33
|
+
import"./index-bk5tah7q.js";
|
|
33
34
|
import"./index-ed5ykebp.js";
|
|
34
35
|
import"./index-k31en0ja.js";
|
|
35
36
|
import"./index-7g4c7s5r.js";
|
|
36
37
|
import"./index-s2rcz51a.js";
|
|
38
|
+
import"./index-bpmtbmy9.js";
|
|
37
39
|
import"./index-4nt52yr9.js";
|
|
38
40
|
import"./index-zgwm4ryv.js";
|
|
39
|
-
import"./index-bk5tah7q.js";
|
|
40
|
-
import"./index-bpmtbmy9.js";
|
|
41
41
|
import"./index-a76rekgs.js";
|
|
42
42
|
export {
|
|
43
43
|
validateSkillPath,
|
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
sweepStaleDelegations,
|
|
42
42
|
updateCoderSettlement,
|
|
43
43
|
writeDelegationFallback
|
|
44
|
-
} from "./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
44
|
+
} from "./index-8aabbfhv.js";
|
|
45
|
+
import"./index-rn0eq85g.js";
|
|
46
|
+
import"./index-z6xqpmqg.js";
|
|
47
|
+
import"./index-zjygnfay.js";
|
|
47
48
|
import"./index-ed5ykebp.js";
|
|
48
49
|
import"./index-k31en0ja.js";
|
|
49
50
|
import"./index-7g4c7s5r.js";
|
|
50
51
|
import"./index-s2rcz51a.js";
|
|
52
|
+
import"./index-bpmtbmy9.js";
|
|
51
53
|
import"./index-4nt52yr9.js";
|
|
52
54
|
import"./index-zgwm4ryv.js";
|
|
53
|
-
import"./index-zjygnfay.js";
|
|
54
|
-
import"./index-bpmtbmy9.js";
|
|
55
55
|
import"./index-a76rekgs.js";
|
|
56
56
|
export {
|
|
57
57
|
writeDelegationFallback,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
sweepStale,
|
|
10
10
|
unsubscribe,
|
|
11
11
|
updateSnapshot
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-gdd4jt6b.js";
|
|
13
|
+
import"./index-rn0eq85g.js";
|
|
14
|
+
import"./index-z6xqpmqg.js";
|
|
15
|
+
import"./index-zjygnfay.js";
|
|
15
16
|
import"./index-ed5ykebp.js";
|
|
16
17
|
import"./index-k31en0ja.js";
|
|
17
18
|
import"./index-7g4c7s5r.js";
|
|
18
19
|
import"./index-s2rcz51a.js";
|
|
20
|
+
import"./index-bpmtbmy9.js";
|
|
19
21
|
import"./index-4nt52yr9.js";
|
|
20
22
|
import"./index-zgwm4ryv.js";
|
|
21
|
-
import"./index-zjygnfay.js";
|
|
22
|
-
import"./index-bpmtbmy9.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
24
24
|
export {
|
|
25
25
|
updateSnapshot,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-4q9vfav6.js";
|
|
7
7
|
import"./index-k92cagmt.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
9
|
import"./index-erfnw81g.js";
|
|
@@ -11,9 +11,9 @@ import"./index-ed5ykebp.js";
|
|
|
11
11
|
import"./index-k31en0ja.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
13
|
import"./index-s2rcz51a.js";
|
|
14
|
+
import"./index-bpmtbmy9.js";
|
|
14
15
|
import"./index-4nt52yr9.js";
|
|
15
16
|
import"./index-zgwm4ryv.js";
|
|
16
|
-
import"./index-bpmtbmy9.js";
|
|
17
17
|
import"./index-a76rekgs.js";
|
|
18
18
|
export {
|
|
19
19
|
runEvaluation,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
_internals,
|
|
4
|
+
clearParserCache,
|
|
5
|
+
getInitializedLanguages,
|
|
6
|
+
getSupportedLanguages,
|
|
7
|
+
isGrammarAvailable,
|
|
8
|
+
loadGrammar,
|
|
9
|
+
parserCache,
|
|
10
|
+
resolveGrammarsDir
|
|
11
|
+
} from "./index-5n69863d.js";
|
|
12
|
+
import"./index-4905hd2m.js";
|
|
13
|
+
import"./index-a76rekgs.js";
|
|
14
|
+
export {
|
|
15
|
+
resolveGrammarsDir,
|
|
16
|
+
parserCache,
|
|
17
|
+
loadGrammar,
|
|
18
|
+
isGrammarAvailable,
|
|
19
|
+
getSupportedLanguages,
|
|
20
|
+
getInitializedLanguages,
|
|
21
|
+
clearParserCache,
|
|
22
|
+
_internals
|
|
23
|
+
};
|