opencode-swarm 7.147.0 → 7.148.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/.opencode/skills/swarm-pr-review/SKILL.md +26 -11
- package/.opencode/skills/swarm-pr-review/references/findings-persistence-contract.md +39 -13
- package/dist/cli/{ast-diff-665tewz6.js → ast-diff-ekd9v10f.js} +2 -2
- package/dist/cli/{config-doctor-7a2z00qt.js → config-doctor-z2wam5wn.js} +2 -2
- package/dist/cli/{core-50jqqm4g.js → core-k7m76ce0.js} +2 -2
- package/dist/cli/{curation-policy-g353f457.js → curation-policy-kd8j8cne.js} +4 -4
- package/dist/cli/{curator-drift-r50x1rac.js → curator-drift-fv4rttf4.js} +2 -2
- package/dist/cli/{curator-3t7e3hf9.js → curator-jwpm52kg.js} +31 -31
- package/dist/cli/curator-llm-factory-4qt8b15s.js +64 -0
- package/dist/cli/{dispatch-ndxbsk98.js → dispatch-w0rzasz3.js} +2 -2
- package/dist/cli/{evidence-summary-service-8n16gxgm.js → evidence-summary-service-90z295j3.js} +11 -11
- package/dist/cli/{gate-evidence-496qt72z.js → gate-evidence-3q6q71fw.js} +6 -6
- package/dist/cli/guardrail-explain-44xt373y.js +65 -0
- package/dist/cli/{guardrail-log-dy9b5qtt.js → guardrail-log-kbp5jztb.js} +4 -4
- package/dist/cli/guardrail-reset-vpazhh8k.js +90 -0
- package/dist/cli/{hive-promoter-mspppqbp.js → hive-promoter-tdrkz9nh.js} +31 -31
- package/dist/cli/{index-tya6ytex.js → index-016708th.js} +2 -2
- package/dist/cli/{index-er61pycf.js → index-07zgs6y0.js} +6 -6
- package/dist/cli/{index-hw1yghpg.js → index-2y14mjfn.js} +3 -3
- package/dist/cli/{index-w8pgjr75.js → index-4cgee5vh.js} +1 -1
- package/dist/cli/{index-ms46zgwb.js → index-52gnz782.js} +4 -4
- package/dist/cli/{index-sh8xbyca.js → index-702zx3rk.js} +10 -4
- package/dist/cli/{index-k5ng170v.js → index-7ac5z627.js} +2 -2
- package/dist/cli/{index-8py21zn6.js → index-7hctrdk8.js} +1 -1
- package/dist/cli/{index-yq1fxahj.js → index-9pmmexsd.js} +1 -1
- package/dist/cli/{index-92r9z3yk.js → index-crpb0qke.js} +32583 -31080
- package/dist/cli/{index-rpy0bent.js → index-d3bdr78h.js} +2 -2
- package/dist/cli/{index-15twmgzf.js → index-dfvh1r8g.js} +33 -33
- package/dist/cli/{index-20ndbsmh.js → index-dmbaaz6d.js} +8 -5
- package/dist/cli/{index-mfmegbz2.js → index-ffevkn7k.js} +1 -1
- package/dist/cli/{index-e1pxav9g.js → index-fxvgaeq4.js} +1 -1
- package/dist/cli/{index-z9yhhk6q.js → index-g8wwj0sz.js} +1 -1
- package/dist/cli/{index-w4ybhzyg.js → index-gwrv6c56.js} +6 -6
- package/dist/cli/{index-hmssmyvh.js → index-h879g4r4.js} +1 -1
- package/dist/cli/{index-b67y7an8.js → index-jpa03jcc.js} +10 -2
- package/dist/cli/{index-6c17bqbj.js → index-k6h5yc1j.js} +5 -5
- package/dist/cli/{index-argd4rp4.js → index-n0fpefqx.js} +4 -4
- package/dist/cli/{index-bgefx261.js → index-n96wwf56.js} +4 -4
- package/dist/cli/{index-abtrcs16.js → index-nj6rmyeh.js} +1 -1
- package/dist/cli/{index-hcb25p12.js → index-p62we2ar.js} +2 -2
- package/dist/cli/{index-3p4wgm0d.js → index-pgvx3rkq.js} +1 -1
- package/dist/cli/index-q7sjgr1y.js +52 -0
- package/dist/cli/{index-f75qjtn5.js → index-qcm97jfh.js} +1 -1
- package/dist/cli/{index-mdwvn7qe.js → index-qwj7qjjp.js} +2 -2
- package/dist/cli/{index-zj6t9zgx.js → index-r3mvsbtq.js} +8 -1
- package/dist/cli/{index-ddpkwdcb.js → index-r9wnyq0v.js} +1 -1
- package/dist/cli/{index-yjvtk1w2.js → index-rcjq8dm4.js} +2 -2
- package/dist/cli/{index-a3fky5pd.js → index-sycndcwd.js} +1 -1
- package/dist/cli/{index-pna97bbk.js → index-x4rxh8j9.js} +3 -3
- package/dist/cli/{index-p3k155dv.js → index-y586zet4.js} +1 -1
- package/dist/cli/{index-at1m1k5k.js → index-ykjjqg79.js} +6 -6
- package/dist/cli/{index-tp5ytzzg.js → index-zwpttdgn.js} +1 -1
- package/dist/cli/index.js +31 -31
- package/dist/cli/{knowledge-escalator-7gw36zj8.js → knowledge-escalator-0qnm48g8.js} +11 -11
- package/dist/cli/{knowledge-events-r1xak0yw.js → knowledge-events-3zv81nzp.js} +9 -9
- package/dist/cli/{knowledge-link-jkx8xjxp.js → knowledge-link-w91bcyx2.js} +3 -3
- package/dist/cli/{knowledge-store-wzzke013.js → knowledge-store-njtx6wj1.js} +4 -4
- package/dist/cli/{knowledge-validator-mma2bbgp.js → knowledge-validator-7eqj5afv.js} +6 -6
- package/dist/cli/{pending-delegations-k2yqg1sj.js → pending-delegations-k4x00mqc.js} +3 -3
- package/dist/cli/{pr-subscriptions-js5v2xr6.js → pr-subscriptions-x2mqc3f1.js} +3 -3
- package/dist/cli/{runner-q7d22d1w.js → runner-gfzkp9nv.js} +5 -5
- package/dist/cli/{runtime-x10qb3z1.js → runtime-wjwbpp9j.js} +2 -2
- package/dist/cli/{scan-cursor-0vcx58aa.js → scan-cursor-a6dhyf55.js} +5 -5
- package/dist/cli/{schema-qr135rxc.js → schema-p0vn1zgh.js} +1 -1
- package/dist/cli/{scope-persistence-x7v9mb9k.js → scope-persistence-zs97zkt7.js} +7 -7
- package/dist/cli/{skill-generator-aee04dwa.js → skill-generator-5qg15q1j.js} +14 -13
- package/dist/cli/{workspace-snapshot-kznz5e13.js → workspace-snapshot-nq25j94x.js} +2 -2
- package/dist/cli/{worktree-collision-ownership-xj0bsg92.js → worktree-collision-ownership-q2gswg16.js} +4 -4
- package/dist/cli/{worktree-isolation-ar52a7xr.js → worktree-isolation-ndb5fwys.js} +31 -31
- package/dist/cli/{worktree-provisioning-owner-72cyddz5.js → worktree-provisioning-owner-cve95q4f.js} +3 -3
- package/dist/commands/guardrail-reset.d.ts +2 -0
- package/dist/commands/registry.d.ts +16 -3
- package/dist/config/schema.d.ts +2 -0
- package/dist/failures/action-circuit.d.ts +69 -0
- package/dist/failures/action-identity.d.ts +33 -0
- package/dist/failures/invocation-failure.d.ts +77 -0
- package/dist/full-auto/oversight.d.ts +21 -0
- package/dist/full-auto/policy.d.ts +22 -0
- package/dist/full-auto/recovery.d.ts +43 -0
- package/dist/full-auto/severe-result.d.ts +86 -0
- package/dist/full-auto/state.d.ts +18 -0
- package/dist/hooks/full-auto-intercept.d.ts +1 -1
- package/dist/hooks/gate-denial-tracker.d.ts +1 -1
- package/dist/hooks/guardrails/nontransient-circuit.d.ts +19 -5
- package/dist/hooks/pr-workflow-gate.d.ts +64 -3
- package/dist/index.js +2866 -2816
- package/dist/lang/symbol-visibility.d.ts +10 -7
- package/dist/learning/admission.d.ts +1 -1
- package/dist/models/model-override-state.d.ts +47 -0
- package/dist/models/task-model-routing.d.ts +71 -0
- package/dist/services/diagnose-service.d.ts +2 -2
- package/dist/tools/dispatch-lanes.d.ts +16 -1
- package/dist/tools/repo-graph/types.d.ts +6 -4
- package/dist/utils/model-dispatch-fallback.d.ts +31 -10
- package/dist/utils/timeout.d.ts +18 -4
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-7cm4494k.js +0 -64
- package/dist/cli/guardrail-explain-my9zj5pj.js +0 -65
- package/dist/cli/index-wx8zdh4a.js +0 -24
|
@@ -7,59 +7,59 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
10
|
+
} from "./index-crpb0qke.js";
|
|
11
|
+
import"./index-p62we2ar.js";
|
|
12
|
+
import"./index-jpa03jcc.js";
|
|
13
|
+
import"./index-9pmmexsd.js";
|
|
14
|
+
import"./index-ykjjqg79.js";
|
|
15
|
+
import"./index-y586zet4.js";
|
|
16
16
|
import"./index-134d35c1.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-nj6rmyeh.js";
|
|
18
18
|
import"./index-y8552snf.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-k6h5yc1j.js";
|
|
20
|
+
import"./index-016708th.js";
|
|
21
21
|
import"./index-70ha9e09.js";
|
|
22
22
|
import"./index-c8s9a3zh.js";
|
|
23
23
|
import"./index-9ss2m4rs.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
24
|
+
import"./index-g8wwj0sz.js";
|
|
25
|
+
import"./index-pgvx3rkq.js";
|
|
26
|
+
import"./index-dmbaaz6d.js";
|
|
27
|
+
import"./index-n96wwf56.js";
|
|
28
|
+
import"./index-zwpttdgn.js";
|
|
29
29
|
import"./index-rtry5xyf.js";
|
|
30
30
|
import"./index-zsrtt42s.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
31
|
+
import"./index-d3bdr78h.js";
|
|
32
|
+
import"./index-fxvgaeq4.js";
|
|
33
|
+
import"./index-n0fpefqx.js";
|
|
34
|
+
import"./index-7ac5z627.js";
|
|
35
|
+
import"./index-52gnz782.js";
|
|
36
|
+
import"./index-h879g4r4.js";
|
|
37
37
|
import"./index-556ja8an.js";
|
|
38
38
|
import"./index-b43rt5ph.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-q7sjgr1y.js";
|
|
40
40
|
import"./index-3g0xk6tk.js";
|
|
41
41
|
import"./index-85gkedsf.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveHiveKnowledgePath
|
|
44
|
-
} from "./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
44
|
+
} from "./index-07zgs6y0.js";
|
|
45
|
+
import"./index-gwrv6c56.js";
|
|
46
|
+
import"./index-rcjq8dm4.js";
|
|
47
47
|
import"./index-gprxjmm7.js";
|
|
48
48
|
import"./index-n832052r.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-ffevkn7k.js";
|
|
50
|
+
import"./index-702zx3rk.js";
|
|
51
51
|
import"./index-cpg98bh1.js";
|
|
52
52
|
import"./index-9e6fdz2h.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-4cgee5vh.js";
|
|
55
55
|
import"./index-z6xqpmqg.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-r3mvsbtq.js";
|
|
57
57
|
import"./index-zjygnfay.js";
|
|
58
58
|
import"./index-ae75rja9.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
59
|
+
import"./index-qcm97jfh.js";
|
|
60
|
+
import"./index-7hctrdk8.js";
|
|
61
61
|
import"./index-bk5tah7q.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-2y14mjfn.js";
|
|
63
63
|
import"./index-6q35swn2.js";
|
|
64
64
|
import"./index-q81s0m8k.js";
|
|
65
65
|
import"./index-7g4c7s5r.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-07zgs6y0.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-qcm97jfh.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-qcm97jfh.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-7hctrdk8.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
709
709
|
const {
|
|
710
710
|
readAuthoritativeKnowledgeCounterRollups,
|
|
711
711
|
effectiveRetrievalOutcomes
|
|
712
|
-
} = await import("./knowledge-events-
|
|
712
|
+
} = await import("./knowledge-events-3zv81nzp.js");
|
|
713
713
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
714
714
|
const flagIds = new Set;
|
|
715
715
|
for (const e of atFloor) {
|
|
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
779
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
780
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
779
|
+
const { quarantineEntry } = await import("./knowledge-validator-7eqj5afv.js");
|
|
780
|
+
const { KnowledgeConfigSchema } = await import("./schema-p0vn1zgh.js");
|
|
781
781
|
let config;
|
|
782
782
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
783
|
+
const { loadPluginConfigWithMeta } = await import("./index-x4rxh8j9.js");
|
|
784
784
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
785
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
786
|
} catch {
|
|
@@ -42,8 +42,8 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
42
42
|
token: "instance",
|
|
43
43
|
quarantineEligible: true,
|
|
44
44
|
parsesTarget: true,
|
|
45
|
-
producers: ["src/hooks/pr-workflow-gate.ts:
|
|
46
|
-
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:
|
|
45
|
+
producers: ["src/hooks/pr-workflow-gate.ts:13602"],
|
|
46
|
+
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:13544-13601) is writer-specific and load-bearing"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
id: "target-suffix-tmp-num-num-json",
|
|
@@ -245,7 +245,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
245
245
|
parsesTarget: false,
|
|
246
246
|
producers: [
|
|
247
247
|
"src/tools/checkpoint.ts:194",
|
|
248
|
-
"src/full-auto/state.ts:
|
|
248
|
+
"src/full-auto/state.ts:460",
|
|
249
249
|
"src/context-map/persistence.ts:119",
|
|
250
250
|
"src/context-map/capsule-persistence.ts:107",
|
|
251
251
|
"src/test-impact/history-store.ts:225",
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-h879g4r4.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-ffevkn7k.js";
|
|
12
12
|
import {
|
|
13
13
|
validateSwarmPath
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-4cgee5vh.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-2y14mjfn.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
21
|
} from "./index-6q35swn2.js";
|
|
@@ -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.148.0",
|
|
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",
|
|
@@ -1782,7 +1782,9 @@ var init_schema = __esm(() => {
|
|
|
1782
1782
|
every_architect_turns: exports_external.number().int().min(0).max(1000).default(5),
|
|
1783
1783
|
every_minutes: exports_external.number().int().min(0).max(1440).default(20),
|
|
1784
1784
|
max_dispatch_retries: exports_external.number().int().min(0).max(10).default(2),
|
|
1785
|
-
max_consecutive_dispatch_failures: exports_external.number().int().min(0).max(50).default(3)
|
|
1785
|
+
max_consecutive_dispatch_failures: exports_external.number().int().min(0).max(50).default(3),
|
|
1786
|
+
total_timeout_ms: exports_external.number().int().min(1000).max(300000).default(120000),
|
|
1787
|
+
cleanup_timeout_ms: exports_external.number().int().min(100).max(1e4).default(2000)
|
|
1786
1788
|
}).default(() => ({
|
|
1787
1789
|
on_plan_change: true,
|
|
1788
1790
|
on_task_completion: false,
|
|
@@ -1793,7 +1795,9 @@ var init_schema = __esm(() => {
|
|
|
1793
1795
|
every_architect_turns: 5,
|
|
1794
1796
|
every_minutes: 20,
|
|
1795
1797
|
max_dispatch_retries: 2,
|
|
1796
|
-
max_consecutive_dispatch_failures: 3
|
|
1798
|
+
max_consecutive_dispatch_failures: 3,
|
|
1799
|
+
total_timeout_ms: 120000,
|
|
1800
|
+
cleanup_timeout_ms: 2000
|
|
1797
1801
|
}))
|
|
1798
1802
|
}).optional().default(() => ({
|
|
1799
1803
|
enabled: false,
|
|
@@ -1847,7 +1851,9 @@ var init_schema = __esm(() => {
|
|
|
1847
1851
|
every_architect_turns: 5,
|
|
1848
1852
|
every_minutes: 20,
|
|
1849
1853
|
max_dispatch_retries: 2,
|
|
1850
|
-
max_consecutive_dispatch_failures: 3
|
|
1854
|
+
max_consecutive_dispatch_failures: 3,
|
|
1855
|
+
total_timeout_ms: 120000,
|
|
1856
|
+
cleanup_timeout_ms: 2000
|
|
1851
1857
|
}
|
|
1852
1858
|
})),
|
|
1853
1859
|
pr_monitor: PrMonitorConfigSchema.optional(),
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./index-4rhhvd1a.js";
|
|
14
14
|
import {
|
|
15
15
|
bunSpawn
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-r3mvsbtq.js";
|
|
17
17
|
import {
|
|
18
18
|
log
|
|
19
19
|
} from "./index-zgwm4ryv.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-zs97zkt7.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|