opencode-swarm 7.157.1 → 7.158.1
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/background/pr-subscriptions.d.ts +31 -15
- package/dist/cli/{coder-settlement-tqh28pr3.js → coder-settlement-nrtcjr0h.js} +9 -9
- package/dist/cli/{config-doctor-9rsk8ags.js → config-doctor-hs0x10ty.js} +3 -3
- package/dist/cli/{core-7zwdc0sk.js → core-a42bexs1.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-llm-factory-rtkeb1y1.js → curator-llm-factory-21vqqvn3.js} +31 -31
- package/dist/cli/{curator-fdj5ftfz.js → curator-yawrnk3t.js} +31 -31
- package/dist/cli/{evidence-summary-service-bhqvx9qe.js → evidence-summary-service-kmc92b95.js} +12 -12
- package/dist/cli/{gate-evidence-rp0r5phx.js → gate-evidence-6tzhdxb2.js} +6 -6
- package/dist/cli/{guardrail-explain-17me709w.js → guardrail-explain-7xrdp18c.js} +32 -32
- package/dist/cli/{guardrail-log-te4a5fmn.js → guardrail-log-f16sdc3p.js} +4 -4
- package/dist/cli/{guardrail-reset-5n76tj7e.js → guardrail-reset-0ks08s0t.js} +31 -31
- package/dist/cli/{hive-promoter-e0zrkgns.js → hive-promoter-d661k3qq.js} +31 -31
- package/dist/cli/{index-pr6a7669.js → index-203fqkqk.js} +1 -1
- package/dist/cli/{index-ybvtfthv.js → index-2j07670d.js} +2 -2
- package/dist/cli/{index-w7s5vgb6.js → index-4wy9kzjg.js} +34 -34
- package/dist/cli/{index-sdde1nvx.js → index-5erwyk1b.js} +5 -5
- package/dist/cli/{index-b5xm177r.js → index-5zgf140g.js} +1 -1
- package/dist/cli/{index-n3362zjr.js → index-6x9jq0cd.js} +3 -3
- package/dist/cli/{index-pbh1rmb9.js → index-7qvfkgyk.js} +4 -4
- package/dist/cli/{index-ngn6jmad.js → index-7s1hmrfh.js} +1 -1
- package/dist/cli/{index-b3cwazk2.js → index-86vvhe8m.js} +2 -2
- package/dist/cli/{index-dwkrdpz2.js → index-8fqb0ynp.js} +1 -1
- package/dist/cli/{index-tt350s4g.js → index-ac8rwjsg.js} +859 -459
- package/dist/cli/{index-xttdbb6d.js → index-azx50qge.js} +5 -5
- package/dist/cli/{index-80qxscrc.js → index-dr2tfawg.js} +3 -3
- package/dist/cli/{index-r98wqjw4.js → index-ff8xjr1c.js} +3 -5
- package/dist/cli/{index-xe6zbfps.js → index-h52hs4e9.js} +1 -1
- package/dist/cli/{index-r4qxngnx.js → index-hrrzxz3q.js} +8 -8
- package/dist/cli/{index-gg70afs7.js → index-jz216dhj.js} +6 -6
- package/dist/cli/{index-91ybfvy2.js → index-mc9qgkwd.js} +532 -101
- package/dist/cli/{index-hq3m47kh.js → index-mfv7mfgg.js} +2 -2
- package/dist/cli/{index-14awxpgt.js → index-mt6qjp4c.js} +2 -2
- package/dist/cli/{index-1gk7ctgp.js → index-nphnjeh8.js} +2 -2
- package/dist/cli/{index-gpf3cjre.js → index-pfnj5pvs.js} +1 -1
- package/dist/cli/{index-e7m7g2f9.js → index-t8g88esk.js} +5 -5
- package/dist/cli/{index-n9hecanw.js → index-tc14d2zy.js} +4 -4
- package/dist/cli/{index-1vjjh2gp.js → index-tppnfxkm.js} +4 -4
- package/dist/cli/{index-q24ffxx6.js → index-xscjecyq.js} +6 -6
- package/dist/cli/{index-rgkwg6d7.js → index-xzhk2hav.js} +1 -1
- package/dist/cli/{index-qy6rcnjg.js → index-ygxb3jw4.js} +6 -6
- 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-6sbx96v6.js → index-zcmwwp1x.js} +5 -4
- package/dist/cli/{index-az2sga91.js → index-zy60xd05.js} +1 -1
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-wrpk82b9.js → knowledge-escalator-9py5r6c9.js} +11 -11
- package/dist/cli/{knowledge-events-4z6yzntf.js → knowledge-events-vcbece74.js} +9 -9
- package/dist/cli/{knowledge-link-z9cchqdj.js → knowledge-link-cj2abbae.js} +3 -3
- package/dist/cli/{knowledge-store-z9686tpv.js → knowledge-store-0rdfjv20.js} +4 -4
- package/dist/cli/{knowledge-validator-rqb0b436.js → knowledge-validator-nwjnjgf5.js} +6 -6
- package/dist/cli/{model-preflight-cv9kvw8h.js → model-preflight-w85ecyxh.js} +1 -1
- package/dist/cli/{pending-delegations-g10v5k22.js → pending-delegations-ht1vgaze.js} +1 -1
- package/dist/cli/pr-review-reentry-authorization-857b9rvv.js +299 -0
- package/dist/cli/{pr-subscriptions-76vg2xya.js → pr-subscriptions-j9j70bmd.js} +2 -2
- package/dist/cli/{runner-eagt6gf8.js → runner-sj5sf36c.js} +4 -4
- package/dist/cli/{scan-cursor-7s1bz7ew.js → scan-cursor-59yj7tp9.js} +5 -5
- package/dist/cli/{schema-78pdxc8f.js → schema-8a7fyp87.js} +2 -2
- package/dist/cli/{scope-persistence-7ad69qmq.js → scope-persistence-prdxtcr3.js} +7 -7
- package/dist/cli/{skill-generator-7cxf53ye.js → skill-generator-v2jkgp63.js} +13 -13
- package/dist/cli/{worktree-collision-ownership-ry7xnaae.js → worktree-collision-ownership-6x03w8h7.js} +4 -4
- package/dist/cli/{worktree-isolation-1jcc8ynj.js → worktree-isolation-s0setq2a.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 +479 -471
- 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/tool-metadata.d.ts +4 -0
- package/dist/tools/write-pr-review-artifact.d.ts +18 -0
- package/package.json +1 -1
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-xscjecyq.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-5erwyk1b.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-nwjnjgf5.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-8a7fyp87.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-ygxb3jw4.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-203fqkqk.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-jz216dhj.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";
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-mt6qjp4c.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-yt75r1er.js";
|
|
18
18
|
import {
|
|
19
19
|
telemetry
|
|
20
20
|
} from "./index-h1g8w4v0.js";
|
|
@@ -2636,9 +2636,6 @@ function checkFileAuthority(agentName, filePath, cwd, authorityConfig, options =
|
|
|
2636
2636
|
});
|
|
2637
2637
|
}
|
|
2638
2638
|
|
|
2639
|
-
// src/hooks/guardrails/helpers.ts
|
|
2640
|
-
init_constants();
|
|
2641
|
-
|
|
2642
2639
|
// src/hooks/normalize-tool-name.ts
|
|
2643
2640
|
var NAMESPACE_PREFIX_PATTERN = /^[^:]+[:.]/;
|
|
2644
2641
|
function normalizeToolName(toolName) {
|
|
@@ -2651,6 +2648,7 @@ function normalizeToolNameLowerCase(toolName) {
|
|
|
2651
2648
|
}
|
|
2652
2649
|
|
|
2653
2650
|
// src/hooks/guardrails/helpers.ts
|
|
2651
|
+
init_constants();
|
|
2654
2652
|
function isInDeclaredScope(filePath, scopeEntries, cwd) {
|
|
2655
2653
|
return isPathWithinDeclaredScope(filePath, scopeEntries, cwd);
|
|
2656
2654
|
}
|
|
@@ -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-2j07670d.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-s0setq2a.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-s0setq2a.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -6,12 +6,7 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
resolveExternalSkillsConfig
|
|
9
|
-
} from "./index-
|
|
10
|
-
import {
|
|
11
|
-
MAX_MERGE_DEPTH,
|
|
12
|
-
deepMerge,
|
|
13
|
-
init_merge
|
|
14
|
-
} from "./index-zjygnfay.js";
|
|
9
|
+
} from "./index-mt6qjp4c.js";
|
|
15
10
|
import {
|
|
16
11
|
GIT_BINARY_ENV_VAR,
|
|
17
12
|
init_git_executable
|
|
@@ -20,6 +15,11 @@ import {
|
|
|
20
15
|
advisoryWarn,
|
|
21
16
|
init_warning_buffer
|
|
22
17
|
} from "./index-4rhhvd1a.js";
|
|
18
|
+
import {
|
|
19
|
+
MAX_MERGE_DEPTH,
|
|
20
|
+
deepMerge,
|
|
21
|
+
init_merge
|
|
22
|
+
} from "./index-zjygnfay.js";
|
|
23
23
|
import {
|
|
24
24
|
exports_external,
|
|
25
25
|
init_zod
|