opencode-swarm 7.157.0 → 7.158.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 +24 -26
- package/.opencode/skills/swarm-pr-review/references/findings-persistence-contract.md +11 -3
- package/.opencode/skills/swarm-pr-review/references/parser-dry-run.md +1 -1
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +3 -3
- package/dist/background/candidate-contract.d.ts +20 -3
- package/dist/background/candidate-parser.d.ts +8 -1
- package/dist/background/pr-review-contract.d.ts +93 -5
- package/dist/cli/{coder-settlement-dz2x352d.js → coder-settlement-5sexsmqz.js} +9 -9
- package/dist/cli/{config-doctor-4jxf9w9e.js → config-doctor-ewn2kw6d.js} +3 -3
- package/dist/cli/{core-xf2f087t.js → core-72wdmzps.js} +3 -3
- package/dist/cli/{curation-policy-72qx868r.js → curation-policy-vn3m5nq2.js} +4 -4
- package/dist/cli/curator-drift-g6w4ga1q.js +1 -1
- package/dist/cli/{curator-pjjw3ja4.js → curator-g06sa98p.js} +31 -31
- package/dist/cli/{curator-llm-factory-7mfvey3x.js → curator-llm-factory-r8q84m4g.js} +31 -31
- package/dist/cli/{evidence-summary-service-5ffkbs50.js → evidence-summary-service-ttd0ntm0.js} +12 -12
- package/dist/cli/{gate-evidence-ne9rbdtb.js → gate-evidence-agnxf7md.js} +6 -6
- package/dist/cli/{guardrail-explain-b9vr4ta3.js → guardrail-explain-qf4k176t.js} +32 -32
- package/dist/cli/{guardrail-log-hrt36jz5.js → guardrail-log-g4qc595v.js} +4 -4
- package/dist/cli/{guardrail-reset-pggm9hx4.js → guardrail-reset-zpxk0p1j.js} +31 -31
- package/dist/cli/{hive-promoter-7vxm11sm.js → hive-promoter-zxy07gjg.js} +31 -31
- package/dist/cli/{index-ebratyzr.js → index-1vxmqvpt.js} +1 -1
- package/dist/cli/{index-1dzy1j4v.js → index-5tchehv7.js} +2 -2
- package/dist/cli/{index-b5xm177r.js → index-5zgf140g.js} +1 -1
- package/dist/cli/{index-2e60kmzg.js → index-663wnh64.js} +6 -6
- package/dist/cli/{index-79k7p589.js → index-6xxpwk5x.js} +1 -1
- package/dist/cli/{index-3qpr16k2.js → index-745dh1z1.js} +34 -34
- package/dist/cli/{index-ngn6jmad.js → index-7s1hmrfh.js} +1 -1
- package/dist/cli/{index-dwkrdpz2.js → index-8fqb0ynp.js} +1 -1
- package/dist/cli/{index-p0by16z8.js → index-a1884hh4.js} +5 -5
- package/dist/cli/{index-93ymj3j5.js → index-bv24pbaj.js} +4 -4
- package/dist/cli/{index-vbqssmbs.js → index-c57cyrwn.js} +8 -8
- package/dist/cli/{index-tvtvhjh0.js → index-dmfbmnp7.js} +4 -4
- package/dist/cli/{index-3vqdt1sx.js → index-f036tggv.js} +5 -5
- package/dist/cli/{index-4w20thrc.js → index-f776m4r5.js} +2 -2
- package/dist/cli/{index-61nkp124.js → index-fwe1wh6r.js} +2 -2
- package/dist/cli/{index-q94gt4n9.js → index-gm10kvne.js} +3 -3
- package/dist/cli/{index-xe6zbfps.js → index-h52hs4e9.js} +1 -1
- package/dist/cli/{index-n7gv8m7v.js → index-nvta6kcv.js} +3 -3
- package/dist/cli/{index-gpf3cjre.js → index-pfnj5pvs.js} +1 -1
- package/dist/cli/{index-zq7pw6qg.js → index-pvs2zw1y.js} +2 -2
- package/dist/cli/{index-gk6wpq41.js → index-rac2gkvr.js} +862 -461
- package/dist/cli/{index-4kd1nqd2.js → index-rc93mm6e.js} +3 -5
- package/dist/cli/{index-nd22bsnt.js → index-rd324153.js} +2 -2
- package/dist/cli/{index-g0j2hnse.js → index-vwx0by4y.js} +5 -5
- package/dist/cli/{index-91ybfvy2.js → index-x4ftmdha.js} +1 -1
- package/dist/cli/{index-j3egsxa1.js → index-x71shq8j.js} +6 -6
- package/dist/cli/{index-n6ayyadp.js → index-y3hdwh66.js} +4 -4
- package/dist/cli/{index-12e2hztp.js → index-yfbp4q09.js} +1 -1
- package/dist/cli/{index-9r7gp6cp.js → index-yt75r1er.js} +4 -0
- package/dist/cli/{index-t0kxka8n.js → index-z54qw70y.js} +1 -1
- package/dist/cli/{index-8n602qc2.js → index-zawd71cg.js} +6 -6
- package/dist/cli/{index-6sbx96v6.js → index-zcmwwp1x.js} +5 -4
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-d65mctqy.js → knowledge-escalator-22zaj224.js} +11 -11
- package/dist/cli/{knowledge-events-6aet71sp.js → knowledge-events-xbx1k408.js} +9 -9
- package/dist/cli/{knowledge-link-z9cchqdj.js → knowledge-link-cj2abbae.js} +3 -3
- package/dist/cli/{knowledge-store-vvgxbakx.js → knowledge-store-fnm8xh9c.js} +4 -4
- package/dist/cli/{knowledge-validator-4fb6pbpn.js → knowledge-validator-t2jztjy1.js} +6 -6
- package/dist/cli/{model-preflight-cv9kvw8h.js → model-preflight-w85ecyxh.js} +1 -1
- package/dist/cli/{pending-delegations-f52jtanf.js → pending-delegations-29rtv1gb.js} +1 -1
- package/dist/cli/pr-review-reentry-authorization-25dep81m.js +299 -0
- package/dist/cli/{pr-subscriptions-76vg2xya.js → pr-subscriptions-cgac3ydd.js} +2 -2
- package/dist/cli/{runner-eagt6gf8.js → runner-sj5sf36c.js} +4 -4
- package/dist/cli/{scan-cursor-q3530gc8.js → scan-cursor-8acs9kwe.js} +5 -5
- package/dist/cli/{schema-5zc62306.js → schema-rjhassd0.js} +2 -2
- package/dist/cli/{scope-persistence-fzqf115q.js → scope-persistence-jb1a5dzh.js} +7 -7
- package/dist/cli/{skill-generator-kh1z90tm.js → skill-generator-frgppk1w.js} +13 -13
- package/dist/cli/{worktree-collision-ownership-2qxjtxt6.js → worktree-collision-ownership-f5sj6ffa.js} +4 -4
- package/dist/cli/{worktree-isolation-40v34p0s.js → worktree-isolation-5b0w6bha.js} +31 -31
- package/dist/hooks/pr-review-reentry-authorization.d.ts +97 -0
- package/dist/hooks/pr-workflow-gate.d.ts +211 -8
- package/dist/index.js +468 -461
- package/dist/tools/authorize-pr-review-reentry.d.ts +16 -0
- package/dist/tools/complete-pr-workflow.d.ts +2 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/repo-graph/types.d.ts +9 -0
- package/dist/tools/repo-graph.d.ts +1 -1
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/dist/tools/write-pr-review-artifact.d.ts +18 -0
- package/package.json +1 -1
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
import {
|
|
3
3
|
bunSpawn
|
|
4
4
|
} from "./index-r3mvsbtq.js";
|
|
5
|
-
import {
|
|
6
|
-
SWARM_WORKTREE_DIR_NAME,
|
|
7
|
-
init_constants
|
|
8
|
-
} from "./index-9r7gp6cp.js";
|
|
9
5
|
import {
|
|
10
6
|
init_git_executable,
|
|
11
7
|
resolveGitExecutable
|
|
@@ -14,6 +10,10 @@ import {
|
|
|
14
10
|
advisoryWarn,
|
|
15
11
|
init_warning_buffer
|
|
16
12
|
} from "./index-4rhhvd1a.js";
|
|
13
|
+
import {
|
|
14
|
+
SWARM_WORKTREE_DIR_NAME,
|
|
15
|
+
init_constants
|
|
16
|
+
} from "./index-yt75r1er.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-jb1a5dzh.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-7s1hmrfh.js";
|
|
7
7
|
import {
|
|
8
8
|
loadDatabaseCtor
|
|
9
9
|
} from "./index-134d35c1.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-fwe1wh6r.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-6xxpwk5x.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
49
|
} from "./index-nwkr6tvv.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
} from "./index-r3mvsbtq.js";
|
|
71
71
|
import {
|
|
72
72
|
PlanSchema
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-663wnh64.js";
|
|
74
74
|
import {
|
|
75
75
|
GIT_BINARY_ENV_VAR,
|
|
76
76
|
describeGitResolution,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
captureWorkspaceSnapshot,
|
|
4
|
+
changedFilesSinceSnapshot
|
|
5
|
+
} from "./index-3f7hqtgg.js";
|
|
2
6
|
import {
|
|
3
7
|
removeWorktreeProvisioningOwner
|
|
4
|
-
} from "./index-
|
|
8
|
+
} from "./index-8fqb0ynp.js";
|
|
5
9
|
import {
|
|
6
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
7
11
|
getTaskWorkflowSnapshot,
|
|
@@ -9,14 +13,10 @@ import {
|
|
|
9
13
|
reconcileLandedMerge,
|
|
10
14
|
withTaskEvidenceTransaction,
|
|
11
15
|
writeWorkflowWalFile
|
|
12
|
-
} from "./index-
|
|
16
|
+
} from "./index-fwe1wh6r.js";
|
|
13
17
|
import {
|
|
14
18
|
canonicalRootKeyFresh
|
|
15
19
|
} from "./index-ddszzne4.js";
|
|
16
|
-
import {
|
|
17
|
-
captureWorkspaceSnapshot,
|
|
18
|
-
changedFilesSinceSnapshot
|
|
19
|
-
} from "./index-3f7hqtgg.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCoreEventSync
|
|
22
22
|
} from "./index-nwkr6tvv.js";
|
|
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
478
478
|
awaitingMergeByCallID,
|
|
479
479
|
cleanupStandardWorktreeForCallId,
|
|
480
480
|
standardWorktreeByCallID
|
|
481
|
-
} = await import("./worktree-isolation-
|
|
481
|
+
} = await import("./worktree-isolation-5b0w6bha.js");
|
|
482
482
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
483
483
|
if (hasResidue)
|
|
484
484
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
602
602
|
awaitingMergeByCallID,
|
|
603
603
|
finishStandardWorktreeDispatch,
|
|
604
604
|
standardWorktreeByCallID
|
|
605
|
-
} = await import("./worktree-isolation-
|
|
605
|
+
} = await import("./worktree-isolation-5b0w6bha.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-pfnj5pvs.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-x71shq8j.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-5zgf140g.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-h52hs4e9.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-663wnh64.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-f776m4r5.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveKnowledgeStoreDir
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-5zgf140g.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteFile
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-h52hs4e9.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
23
|
} from "./index-xagq35tf.js";
|
|
@@ -2793,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
let bumps = 0;
|
|
2795
2795
|
if (deltas.length > 0) {
|
|
2796
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2796
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-fnm8xh9c.js");
|
|
2797
2797
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2798
2798
|
}
|
|
2799
2799
|
return {
|
|
@@ -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-yt75r1er.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.
|
|
24
|
+
version: "7.158.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",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-a1884hh4.js";
|
|
6
6
|
import {
|
|
7
7
|
isPathWithinDeclaredScope,
|
|
8
8
|
unsafePathTextReason
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
atomicWriteFile,
|
|
27
27
|
taskEvidencePath,
|
|
28
28
|
withTaskEvidenceLock
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-h52hs4e9.js";
|
|
30
30
|
import {
|
|
31
31
|
assertProjectRoot
|
|
32
32
|
} from "./index-xagq35tf.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-663wnh64.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-f776m4r5.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-yt75r1er.js";
|
|
13
13
|
|
|
14
14
|
// src/config/index.ts
|
|
15
15
|
init_constants();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6xxpwk5x.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
8
|
} from "./index-nwkr6tvv.js";
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-663wnh64.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-zcmwwp1x.js";
|
|
19
19
|
import {
|
|
20
20
|
assertProjectRoot
|
|
21
21
|
} from "./index-xagq35tf.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readLinkPointer,
|
|
8
8
|
resolveKnowledgeStoreDir,
|
|
9
9
|
resolveLinkDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-5zgf140g.js";
|
|
11
11
|
|
|
12
12
|
// src/knowledge/curation-policy.ts
|
|
13
13
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-rac2gkvr.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-rc93mm6e.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|