opencode-swarm 7.172.2 → 7.172.4
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/pending-delegations.d.ts +1 -1
- package/dist/ci/evaluate.d.ts +13 -0
- package/dist/ci/index.d.ts +4 -4
- package/dist/ci/runtime.d.ts +7 -6
- package/dist/cli/{coder-settlement-trba7st8.js → coder-settlement-mjqefsjv.js} +11 -11
- package/dist/cli/{config-doctor-229ewr8f.js → config-doctor-3nxrxzqg.js} +3 -3
- package/dist/cli/{core-2ytpkhxc.js → core-bebtf39m.js} +4 -4
- package/dist/cli/{curation-policy-cvjd6kz8.js → curation-policy-yep7t261.js} +4 -4
- package/dist/cli/{curator-drift-b0pbzjxv.js → curator-drift-z8p6kwqg.js} +4 -4
- package/dist/cli/curator-llm-factory-pchm0j1e.js +72 -0
- package/dist/cli/{curator-qfwgj2y7.js → curator-tbzt37gq.js} +36 -36
- package/dist/cli/{evidence-summary-service-5t5vr9w9.js → evidence-summary-service-b8wvay0a.js} +15 -15
- package/dist/cli/{gate-evidence-27j4pm1v.js → gate-evidence-7kqzd4b6.js} +6 -6
- package/dist/cli/guardrail-explain-dmyf8vc9.js +73 -0
- package/dist/cli/{guardrail-log-0y9xmnpd.js → guardrail-log-cpb01m4a.js} +7 -7
- package/dist/cli/{guardrail-reset-f5d89j15.js → guardrail-reset-226tvhv4.js} +36 -36
- package/dist/cli/{hive-promoter-66bhdee6.js → hive-promoter-nz5dk7cz.js} +36 -36
- package/dist/cli/{index-yf1mvexg.js → index-01mjyjdt.js} +1 -1
- package/dist/cli/{index-wk58ymh3.js → index-16rwxf4m.js} +36 -36
- package/dist/cli/{index-ybwtp7n4.js → index-1c119trs.js} +8 -8
- package/dist/cli/{index-3vscksqk.js → index-1c1n8aax.js} +3 -3
- package/dist/cli/{index-aa0yaw9b.js → index-1t4v24tw.js} +2 -2
- package/dist/cli/{index-ma38q4rf.js → index-2n16srdc.js} +1 -1
- package/dist/cli/{index-yxptsaea.js → index-2negdnww.js} +5 -5
- package/dist/cli/{index-fck5xq4y.js → index-2qv69ydg.js} +4 -4
- package/dist/cli/{index-mfjep91k.js → index-36143n94.js} +17 -8
- package/dist/cli/{index-vbgpxbmm.js → index-3rkjybes.js} +3 -3
- package/dist/cli/{index-depxc452.js → index-5frh43fj.js} +1 -1
- package/dist/cli/{index-d1nb8eb3.js → index-5qfqwbvg.js} +7 -7
- package/dist/cli/{index-27k76kef.js → index-5tjd3cne.js} +5 -5
- package/dist/cli/{index-5z71h1j4.js → index-68bp6sak.js} +3 -3
- package/dist/cli/{index-ws3ggk1h.js → index-8p30wyx0.js} +1 -1
- package/dist/cli/{index-ha3wsy2e.js → index-9h6zhnk0.js} +1 -1
- package/dist/cli/{index-mq69g46a.js → index-a1187fx5.js} +2 -2
- package/dist/cli/{index-31fes86t.js → index-b395nw9b.js} +2 -2
- package/dist/cli/{index-wpcwwf61.js → index-bbhgnn4j.js} +7 -7
- package/dist/cli/{index-3d3h79cj.js → index-bwnf1e4d.js} +38 -38
- package/dist/cli/{index-byf75cte.js → index-d21qcjr6.js} +2 -2
- package/dist/cli/{index-d8mbaj41.js → index-d9g9stnf.js} +10 -10
- package/dist/cli/{index-hydccmm1.js → index-efbdfkw9.js} +1 -1
- package/dist/cli/{index-4xszpb54.js → index-fn7ny88p.js} +2187 -2017
- package/dist/cli/{index-0tmrdj9m.js → index-gqkfha6x.js} +1 -1
- package/dist/cli/{index-etjq0r06.js → index-her1kqcr.js} +4 -4
- package/dist/cli/{index-tr3tbtgw.js → index-j7zrvqnf.js} +2 -2
- package/dist/cli/{index-h91jjw6t.js → index-j8z3t7dv.js} +1 -1
- package/dist/cli/{index-bdqefjxg.js → index-jg2s11sg.js} +1 -1
- package/dist/cli/{index-9bg5vc22.js → index-kerhh5q4.js} +1 -1
- package/dist/cli/{index-jzrx2sx2.js → index-ksjpc8s8.js} +1 -1
- package/dist/cli/{index-t7yn457b.js → index-kt8yn94y.js} +1 -1
- package/dist/cli/{index-fgzh858k.js → index-pkgshf8r.js} +2 -2
- package/dist/cli/{index-nzpw41w6.js → index-qzptb0gf.js} +1 -1
- package/dist/cli/{index-y5x1swr8.js → index-rxakec16.js} +6 -6
- package/dist/cli/{index-mq1z10v1.js → index-szezqd2a.js} +7 -7
- package/dist/cli/{index-p5fdk20g.js → index-y1qc2cpp.js} +4 -4
- package/dist/cli/{index-9p00xent.js → index-y6bqbe76.js} +1 -1
- package/dist/cli/{index-gdrdtbw6.js → index-yxegcfy5.js} +1 -1
- package/dist/cli/{index-pre6sqz8.js → index-zfzbn9a7.js} +2 -2
- package/dist/cli/{index-93b6dm58.js → index-zpksgw8w.js} +4 -4
- package/dist/cli/index.js +54 -37
- package/dist/cli/{knowledge-escalator-f5d966wd.js → knowledge-escalator-qjvkjkhw.js} +12 -12
- package/dist/cli/{knowledge-events-9ye18tpn.js → knowledge-events-ctn3yfqx.js} +10 -10
- package/dist/cli/{knowledge-link-51m3c09s.js → knowledge-link-3qypq7bm.js} +3 -3
- package/dist/cli/{knowledge-store-g8ge5m6j.js → knowledge-store-7js414b2.js} +4 -4
- package/dist/cli/{knowledge-validator-r2hdm42z.js → knowledge-validator-f5xhqqxr.js} +6 -6
- package/dist/cli/{mcp-4q7ntdm7.js → mcp-wzvpxtqf.js} +1 -1
- package/dist/cli/{model-preflight-ap5k7585.js → model-preflight-gk1jysa8.js} +1 -1
- package/dist/cli/{pending-delegations-52t70c1w.js → pending-delegations-avmzmj7x.js} +10 -10
- package/dist/cli/{pr-subscriptions-915nbgys.js → pr-subscriptions-k33rz8ea.js} +10 -10
- package/dist/cli/{pr-workflow-gate-zbaqx5gr.js → pr-workflow-gate-x91jrfaz.js} +36 -36
- package/dist/cli/{runner-k2t9n662.js → runner-2qypr9b5.js} +4 -4
- package/dist/cli/{scan-cursor-922rhxag.js → scan-cursor-kmp98vk2.js} +5 -5
- package/dist/cli/{schema-8r56yn5m.js → schema-n50qbvmt.js} +2 -2
- package/dist/cli/{scope-persistence-xsxj83mx.js → scope-persistence-nrj3q5sk.js} +14 -14
- package/dist/cli/{server-vmdq6des.js → server-zs1r7z1g.js} +36 -36
- package/dist/cli/{skill-generator-q9kmx4yk.js → skill-generator-7f0jayyp.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-0qmg827p.js → snapshot-coordination-init-6tz602wz.js} +36 -36
- package/dist/cli/{workspace-snapshot-93dx9rbt.js → workspace-snapshot-e63mg204.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-yvth2mxb.js → worktree-collision-ownership-hqk8gc0f.js} +11 -11
- package/dist/cli/{worktree-isolation-sqzqrnd6.js → worktree-isolation-8yh97cgh.js} +36 -36
- package/dist/index.js +404 -404
- package/dist/pr-review/circuit.d.ts +1 -1
- package/dist/pr-review/completion.d.ts +12 -3
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-8evp80zs.js +0 -72
- package/dist/cli/guardrail-explain-65zzxh0c.js +0 -73
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-efbdfkw9.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-szezqd2a.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-ksjpc8s8.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-01mjyjdt.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2n16srdc.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-8p30wyx0.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-fn7ny88p.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-68bp6sak.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2n16srdc.js";
|
|
5
5
|
import {
|
|
6
6
|
deleteCoordinationState,
|
|
7
7
|
importCoordinationOnce,
|
|
8
8
|
listCoordinationStates,
|
|
9
9
|
transitionCoordinationState,
|
|
10
10
|
withCoordinationTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-y6bqbe76.js";
|
|
12
12
|
import {
|
|
13
13
|
getProjectDb,
|
|
14
14
|
projectDbExists
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-jg2s11sg.js";
|
|
16
16
|
import {
|
|
17
17
|
observeStoreHealth
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-yxegcfy5.js";
|
|
19
19
|
import {
|
|
20
20
|
withEvidenceLock
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-01mjyjdt.js";
|
|
22
22
|
import {
|
|
23
23
|
telemetry
|
|
24
24
|
} from "./index-jmn35na4.js";
|
|
25
25
|
import {
|
|
26
26
|
atomicWriteSwarmFileSync
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-8p30wyx0.js";
|
|
28
28
|
import {
|
|
29
29
|
canonicalRootKey,
|
|
30
30
|
canonicalRootKeyFresh,
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-ksjpc8s8.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-01mjyjdt.js";
|
|
18
18
|
import {
|
|
19
19
|
require_proper_lockfile
|
|
20
20
|
} from "./index-7g4c7s5r.js";
|
|
21
21
|
import {
|
|
22
22
|
readCachedParsedFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-8p30wyx0.js";
|
|
24
24
|
import {
|
|
25
25
|
init_knowledge_types,
|
|
26
26
|
isActiveStatus
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-ctn3yfqx.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-f5xhqqxr.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-n50qbvmt.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-2qv69ydg.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2n16srdc.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteSwarmFileSync
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-8p30wyx0.js";
|
|
11
11
|
import {
|
|
12
12
|
canonicalRootKeyFresh
|
|
13
13
|
} from "./index-1xnse449.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
SWARM_WORKTREE_DIR_NAME,
|
|
24
24
|
init_constants
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-5frh43fj.js";
|
|
26
26
|
import {
|
|
27
27
|
init_logger,
|
|
28
28
|
log
|
|
@@ -244,7 +244,7 @@ var _internals2 = {
|
|
|
244
244
|
symlinkSync: fs2.symlinkSync
|
|
245
245
|
},
|
|
246
246
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
247
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
247
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-nrj3q5sk.js");
|
|
248
248
|
return realWrite(directory, taskId, files);
|
|
249
249
|
},
|
|
250
250
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-szezqd2a.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-ksjpc8s8.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-5qfqwbvg.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-her1kqcr.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-szezqd2a.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
atomicWriteFileAnyRoot,
|
|
26
26
|
atomicWriteSwarmFile
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-8p30wyx0.js";
|
|
28
28
|
import {
|
|
29
29
|
canonicalRootKeyFresh
|
|
30
30
|
} from "./index-1xnse449.js";
|
package/dist/cli/index.js
CHANGED
|
@@ -9,75 +9,76 @@ import {
|
|
|
9
9
|
getHostConfigDir,
|
|
10
10
|
getPluginCachePaths,
|
|
11
11
|
getPluginLockFilePaths,
|
|
12
|
+
handleHelpCommand,
|
|
12
13
|
isCommandFailure,
|
|
13
14
|
readCachePackageVersion,
|
|
14
15
|
resolveCommand,
|
|
15
16
|
safeRealpathSync
|
|
16
|
-
} from "./index-
|
|
17
|
+
} from "./index-fn7ny88p.js";
|
|
17
18
|
import"./index-hnvmj9wx.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
19
|
+
import"./index-9h6zhnk0.js";
|
|
20
|
+
import"./index-68bp6sak.js";
|
|
21
|
+
import"./index-j8z3t7dv.js";
|
|
22
|
+
import"./index-1t4v24tw.js";
|
|
23
|
+
import"./index-d9g9stnf.js";
|
|
24
|
+
import"./index-qzptb0gf.js";
|
|
24
25
|
import"./index-txdagbh7.js";
|
|
25
26
|
import"./index-z2deqhpp.js";
|
|
26
27
|
import"./index-fpbcxykc.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-zpksgw8w.js";
|
|
29
|
+
import"./index-2negdnww.js";
|
|
30
|
+
import"./index-zfzbn9a7.js";
|
|
30
31
|
import"./index-fyfbpz4f.js";
|
|
31
|
-
import"./index-
|
|
32
|
+
import"./index-rxakec16.js";
|
|
32
33
|
import"./index-0hgmsyfp.js";
|
|
33
34
|
import"./index-zsrtt42s.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-1c119trs.js";
|
|
36
|
+
import"./index-a1187fx5.js";
|
|
37
|
+
import"./index-j7zrvqnf.js";
|
|
37
38
|
import"./index-pt7h91zc.js";
|
|
38
39
|
import"./index-q7sjgr1y.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
40
|
+
import"./index-1c1n8aax.js";
|
|
41
|
+
import"./index-y1qc2cpp.js";
|
|
42
|
+
import"./index-36143n94.js";
|
|
43
|
+
import"./index-5qfqwbvg.js";
|
|
44
|
+
import"./index-2n16srdc.js";
|
|
44
45
|
import"./index-2s7dvzff.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-her1kqcr.js";
|
|
47
|
+
import"./index-efbdfkw9.js";
|
|
47
48
|
import"./index-rtry5xyf.js";
|
|
48
|
-
import"./index-
|
|
49
|
+
import"./index-3rkjybes.js";
|
|
49
50
|
import"./index-frcemc0b.js";
|
|
50
51
|
import"./index-wrt875kh.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
52
|
+
import"./index-bbhgnn4j.js";
|
|
53
|
+
import"./index-5tjd3cne.js";
|
|
54
|
+
import"./index-kerhh5q4.js";
|
|
55
|
+
import"./index-b395nw9b.js";
|
|
56
|
+
import"./index-y6bqbe76.js";
|
|
57
|
+
import"./index-jg2s11sg.js";
|
|
57
58
|
import"./index-rdm3px0g.js";
|
|
58
59
|
import"./index-ry16d01s.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-yxegcfy5.js";
|
|
61
|
+
import"./index-szezqd2a.js";
|
|
61
62
|
import"./index-vzm6zre7.js";
|
|
62
63
|
import"./index-ae75rja9.js";
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-ksjpc8s8.js";
|
|
65
|
+
import"./index-01mjyjdt.js";
|
|
65
66
|
import"./index-7g4c7s5r.js";
|
|
66
67
|
import"./index-jmn35na4.js";
|
|
67
|
-
import"./index-
|
|
68
|
+
import"./index-8p30wyx0.js";
|
|
68
69
|
import"./index-1xnse449.js";
|
|
69
70
|
import"./index-c1ggtmpm.js";
|
|
70
|
-
import"./index-
|
|
71
|
+
import"./index-gqkfha6x.js";
|
|
71
72
|
import"./index-0mhftbpp.js";
|
|
72
73
|
import"./index-a1w58b47.js";
|
|
73
74
|
import {
|
|
74
75
|
init_package,
|
|
75
76
|
package_default
|
|
76
|
-
} from "./index-
|
|
77
|
+
} from "./index-d21qcjr6.js";
|
|
77
78
|
import {
|
|
78
79
|
DEFAULT_AGENT_CONFIGS,
|
|
79
80
|
init_constants
|
|
80
|
-
} from "./index-
|
|
81
|
+
} from "./index-5frh43fj.js";
|
|
81
82
|
import"./index-bk5tah7q.js";
|
|
82
83
|
import"./index-gknz3bv1.js";
|
|
83
84
|
import"./index-zpsr8rpc.js";
|
|
@@ -598,12 +599,28 @@ Examples:
|
|
|
598
599
|
bunx opencode-swarm run evidence summary
|
|
599
600
|
`);
|
|
600
601
|
}
|
|
602
|
+
async function printCommandHelp(command) {
|
|
603
|
+
const text = await handleHelpCommand({
|
|
604
|
+
directory: process.cwd(),
|
|
605
|
+
args: [command],
|
|
606
|
+
sessionID: "",
|
|
607
|
+
agents: {},
|
|
608
|
+
source: "cli",
|
|
609
|
+
packageRoot: PACKAGE_ROOT
|
|
610
|
+
});
|
|
611
|
+
console.log(text);
|
|
612
|
+
}
|
|
601
613
|
async function main() {
|
|
602
614
|
const args = process.argv.slice(2);
|
|
603
615
|
if (args.includes("-v") || args.includes("--version")) {
|
|
604
616
|
console.log(`opencode-swarm ${version}`);
|
|
605
617
|
process.exit(0);
|
|
606
618
|
}
|
|
619
|
+
const isHelpFlag = (arg) => arg === "-h" || arg === "--help";
|
|
620
|
+
if (args.length === 2 && args[0] === "ci" && isHelpFlag(args[1]) || args.length === 3 && args[0] === "run" && args[1] === "ci" && isHelpFlag(args[2])) {
|
|
621
|
+
await printCommandHelp("ci");
|
|
622
|
+
process.exit(0);
|
|
623
|
+
}
|
|
607
624
|
if (args.includes("-h") || args.includes("--help")) {
|
|
608
625
|
printHelp();
|
|
609
626
|
process.exit(0);
|
|
@@ -625,7 +642,7 @@ async function main() {
|
|
|
625
642
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
626
643
|
process.exit(exitCode);
|
|
627
644
|
} else if (command === "mcp") {
|
|
628
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
645
|
+
const { handleMcpCommand } = await import("./mcp-wzvpxtqf.js");
|
|
629
646
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
630
647
|
process.exit(exitCode);
|
|
631
648
|
} else {
|
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-2negdnww.js";
|
|
13
|
+
import"./index-5qfqwbvg.js";
|
|
14
|
+
import"./index-2n16srdc.js";
|
|
15
15
|
import"./index-2s7dvzff.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-3rkjybes.js";
|
|
17
17
|
import"./index-frcemc0b.js";
|
|
18
18
|
import"./index-wrt875kh.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-yxegcfy5.js";
|
|
20
|
+
import"./index-szezqd2a.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-ksjpc8s8.js";
|
|
24
|
+
import"./index-01mjyjdt.js";
|
|
25
25
|
import"./index-7g4c7s5r.js";
|
|
26
26
|
import"./index-jmn35na4.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-8p30wyx0.js";
|
|
28
28
|
import"./index-1xnse449.js";
|
|
29
29
|
import"./index-c1ggtmpm.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-gqkfha6x.js";
|
|
31
31
|
import"./index-0mhftbpp.js";
|
|
32
32
|
import"./index-a1w58b47.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-d21qcjr6.js";
|
|
34
|
+
import"./index-5frh43fj.js";
|
|
35
35
|
import"./index-bk5tah7q.js";
|
|
36
36
|
import"./index-gknz3bv1.js";
|
|
37
37
|
import"./index-zpsr8rpc.js";
|
|
@@ -29,26 +29,26 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-5qfqwbvg.js";
|
|
33
|
+
import"./index-2n16srdc.js";
|
|
34
34
|
import"./index-2s7dvzff.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-3rkjybes.js";
|
|
36
36
|
import"./index-frcemc0b.js";
|
|
37
37
|
import"./index-wrt875kh.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-yxegcfy5.js";
|
|
39
39
|
import"./index-ae75rja9.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-ksjpc8s8.js";
|
|
41
|
+
import"./index-01mjyjdt.js";
|
|
42
42
|
import"./index-7g4c7s5r.js";
|
|
43
43
|
import"./index-jmn35na4.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-8p30wyx0.js";
|
|
45
45
|
import"./index-1xnse449.js";
|
|
46
46
|
import"./index-c1ggtmpm.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-gqkfha6x.js";
|
|
48
48
|
import"./index-0mhftbpp.js";
|
|
49
49
|
import"./index-a1w58b47.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-d21qcjr6.js";
|
|
51
|
+
import"./index-5frh43fj.js";
|
|
52
52
|
import"./index-bk5tah7q.js";
|
|
53
53
|
import"./index-gknz3bv1.js";
|
|
54
54
|
import"./index-zpsr8rpc.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-ksjpc8s8.js";
|
|
16
|
+
import"./index-01mjyjdt.js";
|
|
17
17
|
import"./index-7g4c7s5r.js";
|
|
18
18
|
import"./index-jmn35na4.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-8p30wyx0.js";
|
|
20
20
|
import"./index-1xnse449.js";
|
|
21
21
|
import"./index-c1ggtmpm.js";
|
|
22
22
|
import"./index-gknz3bv1.js";
|
|
@@ -43,16 +43,16 @@ import {
|
|
|
43
43
|
transactKnowledge,
|
|
44
44
|
transactKnowledgeWithCas,
|
|
45
45
|
wordBigrams
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-szezqd2a.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-
|
|
51
|
+
import"./index-ksjpc8s8.js";
|
|
52
|
+
import"./index-01mjyjdt.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
54
|
import"./index-jmn35na4.js";
|
|
55
|
-
import"./index-
|
|
55
|
+
import"./index-8p30wyx0.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
57
|
import"./index-c1ggtmpm.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-her1kqcr.js";
|
|
27
|
+
import"./index-efbdfkw9.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-szezqd2a.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
import"./index-ksjpc8s8.js";
|
|
33
|
+
import"./index-01mjyjdt.js";
|
|
34
34
|
import"./index-7g4c7s5r.js";
|
|
35
35
|
import"./index-jmn35na4.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-8p30wyx0.js";
|
|
37
37
|
import"./index-1xnse449.js";
|
|
38
38
|
import"./index-c1ggtmpm.js";
|
|
39
39
|
import"./index-bk5tah7q.js";
|
|
@@ -61,7 +61,7 @@ async function handleMcpCommand(argv) {
|
|
|
61
61
|
return 1;
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
|
-
const { runMcpServer } = await import("./server-
|
|
64
|
+
const { runMcpServer } = await import("./server-zs1r7z1g.js");
|
|
65
65
|
return await runMcpServer({
|
|
66
66
|
root: rootResult.root,
|
|
67
67
|
allowWrite: parsed.allowWrite
|