opencode-swarm 7.140.0 → 7.140.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/commit-pr/SKILL.md +7 -0
- package/.opencode/skills/issue-ingest/SKILL.md +32 -1
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +21 -5
- package/.opencode/skills/swarm-pr-review/SKILL.md +75 -17
- package/dist/background/candidate-contract.d.ts +3 -0
- package/dist/cli/{config-doctor-3bm8pvnb.js → config-doctor-shc0n4q1.js} +3 -3
- package/dist/cli/{core-jtj9j6z5.js → core-p5cyej3r.js} +2 -2
- package/dist/cli/{curation-policy-zkvkg4np.js → curation-policy-7n6t8he4.js} +2 -2
- package/dist/cli/{curator-llm-factory-kbqtk2wm.js → curator-llm-factory-pr4bdfqw.js} +14 -14
- package/dist/cli/{curator-78ejknh2.js → curator-zp5qq24c.js} +14 -14
- package/dist/cli/{guardrail-explain-d6emse0z.js → guardrail-explain-thddj6jv.js} +15 -15
- package/dist/cli/{guardrail-log-27d6r2xq.js → guardrail-log-w8fmxe1x.js} +4 -4
- package/dist/cli/{hive-promoter-r5x4a2ta.js → hive-promoter-0yg3gxg6.js} +14 -14
- package/dist/cli/{index-43k8ntw7.js → index-0tevsq1a.js} +2 -2
- package/dist/cli/{index-ma8vk3v1.js → index-1j5my2qy.js} +2 -2
- package/dist/cli/{index-s38e38qy.js → index-325zmfyj.js} +4 -4
- package/dist/cli/{index-scbp2d32.js → index-4rje8dc0.js} +16 -16
- package/dist/cli/{index-6yv6wda9.js → index-7ax0bkqh.js} +1 -1
- package/dist/cli/{index-hbnsmnb0.js → index-898f16j9.js} +1 -1
- package/dist/cli/{index-f8dhh53t.js → index-9txca231.js} +3 -3
- package/dist/cli/{index-0pqh1710.js → index-bmmzfrc7.js} +2 -2
- package/dist/cli/{index-0jbhmm8b.js → index-chx92bes.js} +2 -2
- package/dist/cli/{index-p6h8f59v.js → index-jfp1bgt1.js} +1 -1
- package/dist/cli/{index-r4t92q32.js → index-n408rw7n.js} +9 -1
- package/dist/cli/{index-mb34t6w9.js → index-n831qq2v.js} +459 -178
- package/dist/cli/{index-6ykm2eha.js → index-t59cdg48.js} +1 -1
- package/dist/cli/{index-chycpf9y.js → index-vjqe1z2w.js} +3 -3
- package/dist/cli/{index-zebb6yw0.js → index-x6mtyj6q.js} +2 -2
- package/dist/cli/{index-6d7jkk1s.js → index-y98ngs4g.js} +2 -2
- package/dist/cli/{index-bdnrrx3w.js → index-yt3vz0e1.js} +1 -1
- package/dist/cli/{index-fxw0zvxc.js → index-z6md3t8m.js} +5 -5
- package/dist/cli/index.js +14 -14
- package/dist/cli/{knowledge-escalator-qjdfv9sj.js → knowledge-escalator-58tw74js.js} +3 -3
- package/dist/cli/{knowledge-events-7szzg70x.js → knowledge-events-knr0pfq4.js} +1 -1
- package/dist/cli/{knowledge-store-9mr7a9n8.js → knowledge-store-e2srcd89.js} +1 -1
- package/dist/cli/{knowledge-validator-58s2j0dp.js → knowledge-validator-1dtj02q8.js} +4 -4
- package/dist/cli/{scan-cursor-h3j1egky.js → scan-cursor-7tqsvbp8.js} +2 -2
- package/dist/cli/{schema-9ryqandr.js → schema-b046zss2.js} +2 -2
- package/dist/cli/{skill-generator-66ez26yh.js → skill-generator-bvph9d98.js} +5 -5
- package/dist/commands/registry.d.ts +1 -1
- package/dist/git/pr-workflow-state.d.ts +3 -1
- package/dist/hooks/issue-trace-reducer.d.ts +37 -13
- package/dist/hooks/issue-trace-state.d.ts +38 -9
- package/dist/hooks/issue-trace.d.ts +15 -2
- package/dist/hooks/pr-workflow-gate.d.ts +21 -7
- package/dist/index.js +117 -107
- package/dist/tools/complete-pr-workflow.d.ts +6 -0
- package/dist/tools/gh-evidence.d.ts +6 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/manifest.d.ts +2 -0
- package/dist/tools/prepare-pr-workflow-checkout.d.ts +11 -0
- package/dist/tools/record-issue-publication.d.ts +16 -0
- package/dist/tools/record-issue-reproduction.d.ts +22 -0
- package/dist/tools/tool-metadata.d.ts +8 -0
- package/package.json +1 -1
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
PluginConfigSchema,
|
|
11
11
|
init_schema,
|
|
12
12
|
resolveExternalSkillsConfig
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-bmmzfrc7.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
16
16
|
init_constants
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-n408rw7n.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_MERGE_DEPTH,
|
|
20
20
|
deepMerge,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-t59cdg48.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-325zmfyj.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
15
|
} from "./index-rs1f1bh0.js";
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-knr0pfq4.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-1dtj02q8.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-b046zss2.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-vjqe1z2w.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-y98ngs4g.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7ax0bkqh.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -84,19 +84,19 @@ import {
|
|
|
84
84
|
handleWriteRetroCommand,
|
|
85
85
|
normalizeSwarmCommandInput,
|
|
86
86
|
resolveCommand
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-n831qq2v.js";
|
|
88
88
|
import"./index-41hkt36g.js";
|
|
89
89
|
import"./index-1m1ksyqt.js";
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
90
|
+
import"./index-x6mtyj6q.js";
|
|
91
|
+
import"./index-chx92bes.js";
|
|
92
92
|
import"./index-brh827g0.js";
|
|
93
93
|
import"./index-yyyk63kk.js";
|
|
94
94
|
import"./index-y8552snf.js";
|
|
95
95
|
import"./index-4905hd2m.js";
|
|
96
96
|
import"./index-134d35c1.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
97
|
+
import"./index-9txca231.js";
|
|
98
|
+
import"./index-z6md3t8m.js";
|
|
99
|
+
import"./index-yt3vz0e1.js";
|
|
100
100
|
import"./index-v2xrer41.js";
|
|
101
101
|
import"./index-c8s9a3zh.js";
|
|
102
102
|
import"./index-9ss2m4rs.js";
|
|
@@ -106,7 +106,7 @@ import"./index-556ja8an.js";
|
|
|
106
106
|
import"./index-kbfsp07d.js";
|
|
107
107
|
import"./index-1kyex7z2.js";
|
|
108
108
|
import"./index-b8zgtz81.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-898f16j9.js";
|
|
110
110
|
import"./index-b9rd29ge.js";
|
|
111
111
|
import"./index-k46me75h.js";
|
|
112
112
|
import"./index-ee3x66a5.js";
|
|
@@ -114,11 +114,11 @@ import"./index-74hpm6sh.js";
|
|
|
114
114
|
import"./index-n0pja0qs.js";
|
|
115
115
|
import"./index-8fwhhayc.js";
|
|
116
116
|
import"./index-q1exe2b3.js";
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-
|
|
117
|
+
import"./index-1j5my2qy.js";
|
|
118
|
+
import"./index-t59cdg48.js";
|
|
119
119
|
import"./index-rtry5xyf.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
120
|
+
import"./index-325zmfyj.js";
|
|
121
|
+
import"./index-jfp1bgt1.js";
|
|
122
122
|
import"./index-ae75rja9.js";
|
|
123
123
|
import"./index-rs1f1bh0.js";
|
|
124
124
|
import"./index-h2waehqq.js";
|
|
@@ -126,7 +126,7 @@ import"./index-ed5ykebp.js";
|
|
|
126
126
|
import"./index-hfvxhk4z.js";
|
|
127
127
|
import"./index-7g4c7s5r.js";
|
|
128
128
|
import"./index-4nt52yr9.js";
|
|
129
|
-
import"./index-
|
|
129
|
+
import"./index-0tevsq1a.js";
|
|
130
130
|
import"./index-gprxjmm7.js";
|
|
131
131
|
import"./index-n832052r.js";
|
|
132
132
|
import"./index-d181x9zr.js";
|
|
@@ -135,12 +135,12 @@ import"./index-zgwm4ryv.js";
|
|
|
135
135
|
import {
|
|
136
136
|
init_schema,
|
|
137
137
|
stripKnownSwarmPrefix
|
|
138
|
-
} from "./index-
|
|
138
|
+
} from "./index-bmmzfrc7.js";
|
|
139
139
|
import {
|
|
140
140
|
AGENT_TOOL_MAP,
|
|
141
141
|
ORCHESTRATOR_NAME,
|
|
142
142
|
init_constants
|
|
143
|
-
} from "./index-
|
|
143
|
+
} from "./index-n408rw7n.js";
|
|
144
144
|
import"./index-zjygnfay.js";
|
|
145
145
|
import"./index-bk5tah7q.js";
|
|
146
146
|
import"./index-ry0hgg3m.js";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-1j5my2qy.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-325zmfyj.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-jfp1bgt1.js";
|
|
17
17
|
import {
|
|
18
18
|
advisoryWarn,
|
|
19
19
|
init_warning_buffer
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-n408rw7n.js";
|
|
7
7
|
import {
|
|
8
8
|
OUTCOME_BLOCK_THRESHOLD,
|
|
9
9
|
init_knowledge_types
|
|
@@ -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.140.
|
|
24
|
+
version: "7.140.2",
|
|
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",
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
PluginConfigSchema,
|
|
10
10
|
init_schema,
|
|
11
11
|
stripKnownSwarmPrefix
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bmmzfrc7.js";
|
|
13
13
|
import {
|
|
14
14
|
ALL_AGENT_NAMES,
|
|
15
15
|
init_constants
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-n408rw7n.js";
|
|
17
17
|
|
|
18
18
|
// src/services/config-doctor.ts
|
|
19
19
|
init_constants();
|
|
@@ -628,7 +628,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
628
628
|
deltas.push({ id, delta });
|
|
629
629
|
}
|
|
630
630
|
if (deltas.length > 0) {
|
|
631
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
631
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-e2srcd89.js");
|
|
632
632
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
633
633
|
}
|
|
634
634
|
return {
|
|
@@ -243,7 +243,15 @@ var init_tool_metadata = __esm(() => {
|
|
|
243
243
|
agents: ["architect"]
|
|
244
244
|
},
|
|
245
245
|
prepare_pr_workflow_checkout: {
|
|
246
|
-
description: "
|
|
246
|
+
description: "prepare an auditable PR workflow checkout or restore its exact original branch/HEAD and preserved stash after terminal cleanup",
|
|
247
|
+
agents: ["architect"]
|
|
248
|
+
},
|
|
249
|
+
record_issue_publication: {
|
|
250
|
+
description: "record a publication receipt so the /swarm issue --trace workflow reaches its terminal published state after the PR is created/updated",
|
|
251
|
+
agents: ["architect"]
|
|
252
|
+
},
|
|
253
|
+
record_issue_reproduction: {
|
|
254
|
+
description: "record the reproduction outcome for the current traced issue so the /swarm issue --trace workflow can satisfy its reproduction gate and transition to PLAN",
|
|
247
255
|
agents: ["architect"]
|
|
248
256
|
},
|
|
249
257
|
run_pr_feedback_stage_a: {
|