opencode-swarm 7.146.0 → 7.146.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/swarm-pr-review/SKILL.md +67 -33
- package/dist/cli/{config-doctor-vs6hvbew.js → config-doctor-vstrprja.js} +2 -2
- package/dist/cli/{core-jvvm935f.js → core-3wzpwe5z.js} +1 -1
- package/dist/cli/{curation-policy-xv0j8zyt.js → curation-policy-x19e8bqc.js} +4 -4
- package/dist/cli/{curator-5bxh1djq.js → curator-cvy1s7wd.js} +23 -23
- package/dist/cli/{curator-llm-factory-pe6skby4.js → curator-llm-factory-6bra0bfd.js} +23 -23
- package/dist/cli/{evidence-summary-service-6m9jmzk8.js → evidence-summary-service-yhap2xph.js} +9 -9
- package/dist/cli/{gate-evidence-84sfx6g8.js → gate-evidence-vxbyq5sb.js} +4 -4
- package/dist/cli/{guardrail-explain-jhbxq8yb.js → guardrail-explain-h8cnwa02.js} +24 -24
- package/dist/cli/{guardrail-log-vpbp3rm4.js → guardrail-log-syb7tz2w.js} +3 -3
- package/dist/cli/{hive-promoter-mmmfszv8.js → hive-promoter-3tex870c.js} +23 -23
- package/dist/cli/{index-5qwmpamg.js → index-01ybcsa5.js} +1 -1
- package/dist/cli/{index-kfmee1cr.js → index-42nq97rb.js} +6 -6
- package/dist/cli/{index-kwxp0z0n.js → index-46cypnz3.js} +3 -3
- package/dist/cli/{index-n6ke10ck.js → index-4vwn66wk.js} +3 -3
- package/dist/cli/{index-fyr2wbvz.js → index-a1febb2k.js} +2 -2
- package/dist/cli/{index-vk15nbh4.js → index-c9jr4j2q.js} +1 -1
- package/dist/cli/{index-zd1mfygt.js → index-cr90rcg3.js} +5 -5
- package/dist/cli/{index-zsmsy1dh.js → index-cx67qa9g.js} +1 -1
- package/dist/cli/{index-4p3qfb05.js → index-e1hjd15c.js} +1 -1
- package/dist/cli/{index-s8qyaqs2.js → index-f3x2gsby.js} +1 -1
- package/dist/cli/{index-gxbhp7sx.js → index-jv9xs6mb.js} +2 -2
- package/dist/cli/{index-q2mvacjr.js → index-n4k0pt5f.js} +4 -4
- package/dist/cli/{index-fzqhn96z.js → index-p0m03xa6.js} +1 -1
- package/dist/cli/{index-j20fzn0w.js → index-qbpxrw95.js} +1 -1
- package/dist/cli/{index-j43qndgc.js → index-r46q6996.js} +25 -25
- package/dist/cli/{index-pz2py5v7.js → index-rfph0nhf.js} +321 -99
- package/dist/cli/{index-92cxd0r1.js → index-tj861zhd.js} +3 -3
- package/dist/cli/{index-g3xt1d16.js → index-vj9bba5k.js} +4 -4
- package/dist/cli/{index-f17j50dx.js → index-vmfaafte.js} +5 -5
- package/dist/cli/{index-x8pm918t.js → index-w0cj7zyd.js} +1 -1
- package/dist/cli/{index-0a0asz2s.js → index-w5r84rd1.js} +1 -1
- package/dist/cli/{index-jfcgnvg6.js → index-y3hmyvt6.js} +2 -2
- package/dist/cli/{index-kggqpefz.js → index-ycgm9pzg.js} +1 -1
- package/dist/cli/{index-bma2wrqx.js → index-yxhcy5cm.js} +5 -1
- package/dist/cli/{index-d4e6wpkg.js → index-z5ppkn8y.js} +8 -5
- package/dist/cli/{index-fay8h6v8.js → index-z9ed68jt.js} +18 -3
- package/dist/cli/{index-nsr5b69r.js → index-zkaz3fhw.js} +1 -1
- package/dist/cli/index.js +23 -23
- package/dist/cli/{knowledge-escalator-c9p3w12b.js → knowledge-escalator-mn4sx4qd.js} +9 -9
- package/dist/cli/{knowledge-events-d201414m.js → knowledge-events-x975ngy4.js} +7 -7
- package/dist/cli/{knowledge-link-82ew2yc4.js → knowledge-link-8pr02pza.js} +3 -3
- package/dist/cli/{knowledge-store-ds45k9th.js → knowledge-store-33p762ey.js} +4 -4
- package/dist/cli/{knowledge-validator-707vsncy.js → knowledge-validator-q5jc0scs.js} +6 -6
- package/dist/cli/{runner-pqsf809k.js → runner-e7z9cf5y.js} +4 -4
- package/dist/cli/{scan-cursor-znhqb8xa.js → scan-cursor-p7t5mb4x.js} +5 -5
- package/dist/cli/{schema-dnnm0p40.js → schema-t8bmshhj.js} +5 -1
- package/dist/cli/{scope-persistence-4n24a1e2.js → scope-persistence-2kyrgsca.js} +5 -5
- package/dist/cli/{skill-generator-5s0p3y8k.js → skill-generator-fwvmcv8m.js} +11 -11
- package/dist/cli/{worktree-isolation-1v2mythh.js → worktree-isolation-87j70zg1.js} +23 -23
- package/dist/commands/registry.d.ts +1 -1
- package/dist/config/schema.d.ts +22 -0
- package/dist/hooks/guardrails/index.d.ts +35 -0
- package/dist/hooks/knowledge-application-gate.d.ts +23 -0
- package/dist/hooks/pr-workflow-gate.d.ts +48 -2
- package/dist/hooks/pr-workflow-response-gate.d.ts +24 -0
- package/dist/index.js +71 -72
- package/dist/tools/dispatch-lanes.d.ts +13 -1
- package/dist/workflow/coder-settlement.d.ts +13 -0
- package/dist/workflow/stage-a-repair.d.ts +41 -0
- package/package.json +1 -1
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-p0m03xa6.js";
|
|
6
6
|
import {
|
|
7
7
|
unsafePathTextReason
|
|
8
8
|
} from "./index-556ja8an.js";
|
|
9
9
|
import {
|
|
10
10
|
PlanSchema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-01ybcsa5.js";
|
|
12
12
|
import {
|
|
13
13
|
validateSwarmPath
|
|
14
14
|
} from "./index-w8pgjr75.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-ycgm9pzg.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
21
|
} from "./index-bghwrr59.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-y3hmyvt6.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-01ybcsa5.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-z9ed68jt.js";
|
|
68
68
|
import {
|
|
69
69
|
ALL_AGENT_NAMES,
|
|
70
70
|
ALL_SUBAGENT_NAMES,
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-rfph0nhf.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-c9jr4j2q.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPluginConfigWithMeta
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-01ybcsa5.js";
|
|
5
5
|
import {
|
|
6
6
|
KnowledgeConfigSchema,
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-z9ed68jt.js";
|
|
9
9
|
import {
|
|
10
10
|
validateSwarmPath
|
|
11
11
|
} from "./index-w8pgjr75.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-w0cj7zyd.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-qbpxrw95.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
23
|
} from "./index-bghwrr59.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-33p762ey.js");
|
|
2697
2697
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2698
2698
|
}
|
|
2699
2699
|
return {
|
|
@@ -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-2kyrgsca.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readLinkPointer,
|
|
8
8
|
resolveKnowledgeStoreDir,
|
|
9
9
|
resolveLinkDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-w0cj7zyd.js";
|
|
11
11
|
|
|
12
12
|
// src/knowledge/curation-policy.ts
|
|
13
13
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-42nq97rb.js";
|
|
6
6
|
import {
|
|
7
7
|
init_git_executable,
|
|
8
8
|
resolveGitExecutableAsync
|
|
9
9
|
} from "./index-9e6fdz2h.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveKnowledgeStoreDir
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-w0cj7zyd.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-e1hjd15c.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-42nq97rb.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-w0cj7zyd.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-qbpxrw95.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
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-a1febb2k.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-f3x2gsby.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -85,48 +85,48 @@ 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-rfph0nhf.js";
|
|
89
|
+
import"./index-w5r84rd1.js";
|
|
90
|
+
import"./index-c9jr4j2q.js";
|
|
91
|
+
import"./index-yxhcy5cm.js";
|
|
92
|
+
import"./index-z5ppkn8y.js";
|
|
93
|
+
import"./index-zkaz3fhw.js";
|
|
94
94
|
import"./index-134d35c1.js";
|
|
95
95
|
import"./index-abtrcs16.js";
|
|
96
96
|
import"./index-y8552snf.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
97
|
+
import"./index-vmfaafte.js";
|
|
98
|
+
import"./index-jv9xs6mb.js";
|
|
99
99
|
import"./index-70ha9e09.js";
|
|
100
100
|
import"./index-c8s9a3zh.js";
|
|
101
101
|
import"./index-9ss2m4rs.js";
|
|
102
102
|
import"./index-z9yhhk6q.js";
|
|
103
103
|
import"./index-5e5a1y2r.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
104
|
+
import"./index-vj9bba5k.js";
|
|
105
|
+
import"./index-n4k0pt5f.js";
|
|
106
|
+
import"./index-e1hjd15c.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
108
|
import"./index-zsrtt42s.js";
|
|
109
109
|
import"./index-97psh79d.js";
|
|
110
110
|
import"./index-e1pxav9g.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
111
|
+
import"./index-tj861zhd.js";
|
|
112
|
+
import"./index-cx67qa9g.js";
|
|
113
|
+
import"./index-46cypnz3.js";
|
|
114
|
+
import"./index-p0m03xa6.js";
|
|
115
115
|
import"./index-556ja8an.js";
|
|
116
116
|
import"./index-7sy3aa9m.js";
|
|
117
117
|
import"./index-wx8zdh4a.js";
|
|
118
118
|
import"./index-3g0xk6tk.js";
|
|
119
119
|
import"./index-85gkedsf.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
120
|
+
import"./index-42nq97rb.js";
|
|
121
|
+
import"./index-cr90rcg3.js";
|
|
122
|
+
import"./index-y3hmyvt6.js";
|
|
123
123
|
import"./index-gprxjmm7.js";
|
|
124
124
|
import"./index-n832052r.js";
|
|
125
|
-
import"./index-
|
|
125
|
+
import"./index-01ybcsa5.js";
|
|
126
126
|
import {
|
|
127
127
|
init_schema,
|
|
128
128
|
stripKnownSwarmPrefix
|
|
129
|
-
} from "./index-
|
|
129
|
+
} from "./index-z9ed68jt.js";
|
|
130
130
|
import {
|
|
131
131
|
AGENT_TOOL_MAP,
|
|
132
132
|
ORCHESTRATOR_NAME,
|
|
@@ -139,10 +139,10 @@ import"./index-z6xqpmqg.js";
|
|
|
139
139
|
import"./index-zj6t9zgx.js";
|
|
140
140
|
import"./index-zjygnfay.js";
|
|
141
141
|
import"./index-ae75rja9.js";
|
|
142
|
-
import"./index-
|
|
143
|
-
import"./index-
|
|
142
|
+
import"./index-w0cj7zyd.js";
|
|
143
|
+
import"./index-qbpxrw95.js";
|
|
144
144
|
import"./index-bk5tah7q.js";
|
|
145
|
-
import"./index-
|
|
145
|
+
import"./index-ycgm9pzg.js";
|
|
146
146
|
import"./index-bghwrr59.js";
|
|
147
147
|
import"./index-qyvjp0bq.js";
|
|
148
148
|
import"./index-7g4c7s5r.js";
|