opencode-swarm 7.199.6 → 7.200.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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/attest-task-sg8b5a5j.js +2209 -0
- package/dist/cli/{auto-checkpoint-gv21fb1h.js → auto-checkpoint-bywgxh27.js} +9 -9
- package/dist/cli/{checkpoint-rd1bt793.js → checkpoint-k2092cbw.js} +20 -18
- package/dist/cli/{coder-settlement-21zd1g3a.js → coder-settlement-y0hkcngn.js} +12 -12
- package/dist/cli/{config-doctor-mxe9nr78.js → config-doctor-0fnrwkga.js} +16 -16
- package/dist/cli/{core-7bd1sd36.js → core-mfyaj8b4.js} +3 -3
- package/dist/cli/{curation-policy-w9y0db1n.js → curation-policy-fth5n93x.js} +6 -6
- package/dist/cli/{curator-7rf98h3k.js → curator-1s64jkc3.js} +44 -44
- package/dist/cli/{curator-drift-21y19fnz.js → curator-drift-famx6p6s.js} +8 -8
- package/dist/cli/curator-llm-factory-vya4epq6.js +82 -0
- package/dist/cli/{doctor-knowledge-receipt-phase-id-6pdjxgfa.js → doctor-knowledge-receipt-phase-id-v4y6pbek.js} +9 -9
- package/dist/cli/{evidence-summary-service-vdcx7fqd.js → evidence-summary-service-rd7y6yjq.js} +20 -20
- package/dist/cli/{gate-evidence-ernx9gck.js → gate-evidence-kama66h5.js} +15 -7
- package/dist/cli/guardrail-explain-8fkhq0cg.js +83 -0
- package/dist/cli/{guardrail-log-jr6b9rt3.js → guardrail-log-gdj19fq5.js} +7 -7
- package/dist/cli/{guardrail-reset-0qyt8vpd.js → guardrail-reset-bmg6czzk.js} +44 -44
- package/dist/cli/{hive-promoter-2qwxrrsc.js → hive-promoter-ychygdgc.js} +44 -44
- package/dist/cli/{index-s4wbe96z.js → index-0ptf66x5.js} +4 -4
- package/dist/cli/{index-cyp3r8ar.js → index-0tygsk8b.js} +10 -10
- package/dist/cli/{index-b9f2j9bx.js → index-12h2rtdj.js} +3 -3
- package/dist/cli/{index-eyq1q1xn.js → index-1v277wxc.js} +2 -2
- package/dist/cli/{index-syaa76vg.js → index-2dm42tgp.js} +48 -46
- package/dist/cli/{index-exj9yb0x.js → index-2hnnkj64.js} +1979 -1945
- package/dist/cli/{index-7m2gcmm7.js → index-2m740hyt.js} +6 -6
- package/dist/cli/{index-cs1d9e03.js → index-2w5grmmj.js} +2 -2
- package/dist/cli/{index-88d5kpjj.js → index-3020n6d9.js} +1 -1
- package/dist/cli/{index-vgb679vr.js → index-3exe6k66.js} +3 -3
- package/dist/cli/{index-gx2vp8gx.js → index-3t46mez1.js} +27 -1
- package/dist/cli/{index-38fgg593.js → index-3zspah3v.js} +2 -2
- package/dist/cli/{index-f02p4yn4.js → index-51dw4bjc.js} +2 -2
- package/dist/cli/{index-hx2f3j9w.js → index-5snwc3dz.js} +2 -2
- package/dist/cli/{index-eqw5vq9r.js → index-b0d8ra32.js} +1 -1
- package/dist/cli/{index-tsg61z0r.js → index-b4kdms7x.js} +2 -2
- package/dist/cli/{index-cwg99gea.js → index-bn3aa5q1.js} +7 -7
- package/dist/cli/{index-dtwj4hsk.js → index-c2k7q723.js} +2 -2
- package/dist/cli/{index-tqtfjzb0.js → index-c9g3hkjz.js} +3 -3
- package/dist/cli/{index-r227g76y.js → index-dgyddtje.js} +6 -6
- package/dist/cli/{index-270zfq1f.js → index-epzadpmm.js} +7 -7
- package/dist/cli/{index-txh6dtnj.js → index-f6nrw8am.js} +44 -44
- package/dist/cli/{index-n1ddn12j.js → index-g57p8p1k.js} +1 -1
- package/dist/cli/{index-9y6yk1n0.js → index-na6ph1fp.js} +1 -1
- package/dist/cli/{index-bef4nhtj.js → index-nawp90n7.js} +4 -4
- package/dist/cli/{index-3mzc5rqc.js → index-nzfq1ms2.js} +3 -3
- package/dist/cli/{index-0bw1jyen.js → index-p6v544jn.js} +1 -1
- package/dist/cli/{index-s5tgnsmh.js → index-parkaa70.js} +6 -6
- package/dist/cli/{index-exr153j1.js → index-pe77h482.js} +5 -5
- package/dist/cli/{index-dz15f98h.js → index-q8vfw61p.js} +1 -1
- package/dist/cli/{index-s9hekeej.js → index-qaqyq25k.js} +7 -7
- package/dist/cli/{index-jhjmf5sn.js → index-qzakbjcg.js} +3 -3
- package/dist/cli/{index-2cb644vj.js → index-rzkmg02a.js} +918 -154
- package/dist/cli/{index-0je0mees.js → index-s3w41p1x.js} +1 -1
- package/dist/cli/{index-zzpy5cx3.js → index-s8eac99p.js} +12 -8
- package/dist/cli/{index-j3rfbs45.js → index-s9y49avf.js} +2 -2
- package/dist/cli/{index-dqkr60bw.js → index-sva5swrs.js} +172 -14
- package/dist/cli/{index-3ct8kgfj.js → index-sz67z90q.js} +4 -4
- package/dist/cli/{index-gdyqdhz1.js → index-th667k1y.js} +4 -4
- package/dist/cli/{index-jmhn6ab5.js → index-traz987v.js} +2 -2
- package/dist/cli/{index-0veqvgny.js → index-v1h70r3y.js} +1 -1
- package/dist/cli/{index-snx2vb1x.js → index-ves1rtqt.js} +1 -1
- package/dist/cli/{index-qbhjey8k.js → index-vtkgg2qn.js} +3 -3
- package/dist/cli/{index-x6rv0e00.js → index-w2bhrp6z.js} +21 -14
- package/dist/cli/{index-4cyc18bc.js → index-wgf1780e.js} +7 -7
- package/dist/cli/{index-b3ws03kp.js → index-xyvsdn07.js} +1 -1
- package/dist/cli/{index-zbygz217.js → index-ypxq0x7r.js} +2 -2
- package/dist/cli/{index-t67n8jhb.js → index-z9mysg5m.js} +2 -2
- package/dist/cli/index.js +45 -45
- package/dist/cli/{knowledge-escalator-rsj9nqqt.js → knowledge-escalator-zxd76jna.js} +15 -15
- package/dist/cli/{knowledge-events-appww5kb.js → knowledge-events-z8h0wmaw.js} +13 -13
- package/dist/cli/{knowledge-link-t0ce3mw7.js → knowledge-link-wfhsfyn2.js} +5 -5
- package/dist/cli/{knowledge-store-n76rzv27.js → knowledge-store-g2gm13s8.js} +6 -6
- package/dist/cli/{knowledge-validator-ycxvjasa.js → knowledge-validator-2sech2sx.js} +8 -8
- package/dist/cli/{mcp-jy0gk3c8.js → mcp-t88363gj.js} +1 -1
- package/dist/cli/{model-preflight-rg0mppzf.js → model-preflight-akj8g1m2.js} +44 -44
- package/dist/cli/{pending-delegations-e6brjxp2.js → pending-delegations-bqp6b6as.js} +13 -13
- package/dist/cli/{pr-subscriptions-vjsb5ydq.js → pr-subscriptions-wxjvkg56.js} +12 -12
- package/dist/cli/{pr-workflow-gate-bj66aa9k.js → pr-workflow-gate-2wcrfa6g.js} +44 -44
- package/dist/cli/{runner-wq954cda.js → runner-s1a73y5h.js} +6 -6
- package/dist/cli/{scan-cursor-kkg94g0t.js → scan-cursor-8br4x41t.js} +7 -7
- package/dist/cli/{schema-d1exxwv8.js → schema-mc419qh8.js} +1 -1
- package/dist/cli/{scope-persistence-3v9hce7b.js → scope-persistence-5gyjt70q.js} +16 -16
- package/dist/cli/{server-jkcwkh8t.js → server-bp247fqe.js} +46 -46
- package/dist/cli/{skill-generator-wg8qfdm8.js → skill-generator-q4afafh3.js} +17 -17
- package/dist/cli/{snapshot-coordination-init-xyffgya9.js → snapshot-coordination-init-b4kmrgh7.js} +44 -44
- package/dist/cli/{speckit-checkoff-61xn2c2v.js → speckit-checkoff-1v02b2dt.js} +4 -4
- package/dist/cli/{telemetry-gena5typ.js → telemetry-cr8q16wk.js} +1 -1
- package/dist/cli/{workspace-snapshot-hzhz0rxw.js → workspace-snapshot-93gzfac2.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-gsv009xc.js → worktree-collision-ownership-84m9f5an.js} +14 -14
- package/dist/cli/{worktree-isolation-3sdvs69a.js → worktree-isolation-xwbszhja.js} +44 -44
- package/dist/commands/attest.d.ts +10 -0
- package/dist/commands/close/internals.d.ts +1 -1
- package/dist/commands/close/orchestrator.d.ts +7 -0
- package/dist/commands/destructive-purge.d.ts +15 -0
- package/dist/commands/git-status-read.d.ts +23 -0
- package/dist/commands/index.d.ts +1 -0
- package/dist/commands/registry.d.ts +9 -1
- package/dist/commands/rollback-gate.d.ts +77 -10
- package/dist/config/plan-schema.d.ts +44 -0
- package/dist/gate-evidence.d.ts +138 -1
- package/dist/git/branch.d.ts +22 -0
- package/dist/index.js +570 -562
- package/dist/session/snapshot-coordination-init.d.ts +34 -0
- package/dist/session/snapshot-writer.d.ts +5 -1
- package/dist/tools/attest-task.d.ts +67 -0
- package/dist/tools/checkpoint.d.ts +17 -0
- package/dist/tools/phase-complete.d.ts +12 -0
- package/dist/tools/save-plan.d.ts +16 -0
- package/dist/tools/update-task-status.d.ts +1 -1
- package/dist/workflow/task-terminal.d.ts +1 -0
- package/dist/workflow/workflow-wal-schema.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-ab821je6.js +0 -82
- package/dist/cli/guardrail-explain-7jef0dhs.js +0 -83
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-s8eac99p.js";
|
|
5
5
|
import {
|
|
6
6
|
deleteCoordinationState,
|
|
7
7
|
importCoordinationOnce,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
transitionCoordinationState,
|
|
10
10
|
transitionCoordinationStateWithinTransaction,
|
|
11
11
|
withCoordinationTransaction
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-na6ph1fp.js";
|
|
13
13
|
import {
|
|
14
14
|
getProjectDb
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-ves1rtqt.js";
|
|
16
16
|
import {
|
|
17
17
|
canonicalExistingFilesystemPath,
|
|
18
18
|
legacyCanonicalExistingFilesystemPath
|
|
19
19
|
} from "./index-ry16d01s.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCoreEventSync
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-nzfq1ms2.js";
|
|
23
23
|
import {
|
|
24
24
|
derivePlanId
|
|
25
25
|
} from "./index-7pmbnjvj.js";
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
atomicWriteSwarmFile,
|
|
38
38
|
atomicWriteSwarmFileSync
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-epzadpmm.js";
|
|
40
40
|
import {
|
|
41
41
|
PlanSchema
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-3t46mez1.js";
|
|
43
43
|
import {
|
|
44
44
|
__toESM
|
|
45
45
|
} from "./index-a76rekgs.js";
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
mergeWriteAnalyses,
|
|
20
20
|
resolveWindowsWriteAuthority,
|
|
21
21
|
resolveWriteTargets
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-2hnnkj64.js";
|
|
23
23
|
import {
|
|
24
24
|
checkFileAuthority,
|
|
25
25
|
classifyFile,
|
|
26
26
|
isInDeclaredScope,
|
|
27
27
|
redactPath,
|
|
28
28
|
redactShellCommand
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-qzakbjcg.js";
|
|
30
30
|
|
|
31
31
|
// src/services/guardrail-explain-service.ts
|
|
32
32
|
import path from "path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xyvsdn07.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalRootKeyFresh
|
|
7
7
|
} from "./index-te9hq2f4.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteSwarmFileSync
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-epzadpmm.js";
|
|
11
11
|
import {
|
|
12
12
|
advisoryWarn,
|
|
13
13
|
init_git_executable,
|
|
@@ -244,7 +244,7 @@ var _internals2 = {
|
|
|
244
244
|
symlinkSync: fs2.symlinkSync
|
|
245
245
|
},
|
|
246
246
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
247
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
247
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-5gyjt70q.js");
|
|
248
248
|
return realWrite(directory, taskId, files);
|
|
249
249
|
},
|
|
250
250
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -36,6 +36,19 @@ var MigrationStatusSchema = exports_external.enum([
|
|
|
36
36
|
"migrated",
|
|
37
37
|
"migration_failed"
|
|
38
38
|
]);
|
|
39
|
+
var ExternalEvidenceAnchorSchema = exports_external.object({
|
|
40
|
+
command: exports_external.string().min(1).max(400),
|
|
41
|
+
expect: exports_external.string().max(4096).optional(),
|
|
42
|
+
expect_prefix: exports_external.string().min(1).max(4096).optional()
|
|
43
|
+
}).superRefine((anchor, ctx) => {
|
|
44
|
+
if (anchor.expect === undefined && anchor.expect_prefix === undefined) {
|
|
45
|
+
ctx.addIssue({
|
|
46
|
+
code: exports_external.ZodIssueCode.custom,
|
|
47
|
+
message: "evidence anchor must carry expect and/or a non-empty expect_prefix",
|
|
48
|
+
path: ["expect"]
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
});
|
|
39
52
|
var TaskSchema = exports_external.object({
|
|
40
53
|
id: exports_external.string(),
|
|
41
54
|
phase: exports_external.number().int().min(1),
|
|
@@ -47,7 +60,20 @@ var TaskSchema = exports_external.object({
|
|
|
47
60
|
files_touched: exports_external.array(exports_external.string()).default([]),
|
|
48
61
|
evidence_path: exports_external.string().optional(),
|
|
49
62
|
blocked_reason: exports_external.string().optional(),
|
|
50
|
-
fr_refs: exports_external.array(exports_external.string()).optional()
|
|
63
|
+
fr_refs: exports_external.array(exports_external.string()).optional(),
|
|
64
|
+
evidence_class: exports_external.enum(["coder_mutation", "external_git"]).optional(),
|
|
65
|
+
evidence_anchors: exports_external.array(ExternalEvidenceAnchorSchema).max(16).optional()
|
|
66
|
+
}).superRefine((task, ctx) => {
|
|
67
|
+
if (task.evidence_class === "external_git") {
|
|
68
|
+
const anchors = task.evidence_anchors;
|
|
69
|
+
if (!anchors || anchors.length === 0) {
|
|
70
|
+
ctx.addIssue({
|
|
71
|
+
code: exports_external.ZodIssueCode.custom,
|
|
72
|
+
message: "tasks declaring evidence_class external_git must pin 1..16 evidence_anchors",
|
|
73
|
+
path: ["evidence_anchors"]
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
51
77
|
});
|
|
52
78
|
var PhaseSchema = exports_external.object({
|
|
53
79
|
id: exports_external.number().int().min(1),
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot,
|
|
7
7
|
atomicWriteSwarmFileSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-epzadpmm.js";
|
|
9
9
|
import {
|
|
10
10
|
init_loader,
|
|
11
11
|
loadPluginConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-3020n6d9.js";
|
|
13
13
|
import {
|
|
14
14
|
init_logger,
|
|
15
15
|
log,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3020n6d9.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-p6v544jn.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-traz987v.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-q8vfw61p.js";
|
|
16
16
|
import {
|
|
17
17
|
assertProjectRoot
|
|
18
18
|
} from "./index-t7hmqgjy.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-xyvsdn07.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-epzadpmm.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-g57p8p1k.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-traz987v.js";
|
|
18
18
|
import {
|
|
19
19
|
require_proper_lockfile
|
|
20
20
|
} from "./index-7g4c7s5r.js";
|
|
21
21
|
import {
|
|
22
22
|
readCachedParsedFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-epzadpmm.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
log
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-z8h0wmaw.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-2sech2sx.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-mc419qh8.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-nawp90n7.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -748,7 +748,7 @@ var CATALOG_SOURCE = [
|
|
|
748
748
|
category: "plan",
|
|
749
749
|
severity: "warning",
|
|
750
750
|
privacyClass: "sensitive",
|
|
751
|
-
producer: "src/plan/manager.ts:
|
|
751
|
+
producer: "src/plan/manager.ts:2206",
|
|
752
752
|
consumers: NO_CONSUMERS,
|
|
753
753
|
futureOwnerIssue: ISSUE_SINK,
|
|
754
754
|
retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
|
|
@@ -761,7 +761,7 @@ var CATALOG_SOURCE = [
|
|
|
761
761
|
category: "plan",
|
|
762
762
|
severity: "error",
|
|
763
763
|
privacyClass: "sensitive",
|
|
764
|
-
producer: "src/plan/ledger.ts:
|
|
764
|
+
producer: "src/plan/ledger.ts:1635",
|
|
765
765
|
consumers: NO_CONSUMERS,
|
|
766
766
|
futureOwnerIssue: ISSUE_SINK,
|
|
767
767
|
retentionOwnerIssue: ISSUE_PLAN_EVIDENCE_RETENTION,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPlanJsonOnly
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-w2bhrp6z.js";
|
|
5
5
|
import {
|
|
6
6
|
isCanonicalPathWithinRoot
|
|
7
7
|
} from "./index-6b295cas.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
legacyEpicIssuePath,
|
|
15
15
|
migrateLegacyEpicConfig,
|
|
16
16
|
resolveEpicConfig
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-3020n6d9.js";
|
|
18
18
|
import {
|
|
19
19
|
log
|
|
20
20
|
} from "./index-zgwm4ryv.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
init_schema,
|
|
29
29
|
retiredEpicKeyReplacement,
|
|
30
30
|
stripKnownSwarmPrefix
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-p6v544jn.js";
|
|
32
32
|
import {
|
|
33
33
|
ALL_AGENT_NAMES,
|
|
34
34
|
TOOL_NAME_SET,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledgeEvents,
|
|
4
4
|
recordKnowledgeEvent
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-0ptf66x5.js";
|
|
6
6
|
import {
|
|
7
7
|
queryHistoricalOutcomes
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-parkaa70.js";
|
|
9
9
|
import {
|
|
10
10
|
jaccardBigram,
|
|
11
11
|
readKnowledge,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge,
|
|
15
15
|
wordBigrams
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-bn3aa5q1.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
226
226
|
alreadyInactive: true
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
229
|
+
const { quarantineEntry } = await import("./knowledge-validator-2sech2sx.js");
|
|
230
230
|
let policyConfig;
|
|
231
231
|
try {
|
|
232
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
233
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
232
|
+
const { KnowledgeConfigSchema } = await import("./schema-mc419qh8.js");
|
|
233
|
+
const { loadPluginConfigWithMeta } = await import("./index-nawp90n7.js");
|
|
234
234
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
235
235
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
236
236
|
} catch {
|
|
@@ -229,9 +229,9 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
229
229
|
"src/evidence/task-file.ts (pre-#2035; migrated-to=src/evidence/task-file.ts:atomicWriteFile)",
|
|
230
230
|
"src/scope/scope-persistence.ts (pre-#2035; migrated-to=src/scope/scope-persistence.ts:atomicWrite)",
|
|
231
231
|
"src/scope/scope-persistence.ts (pre-#2035; migrated-to=src/scope/scope-persistence.ts:atomicWriteSync)",
|
|
232
|
-
"src/plan/manager.ts:
|
|
233
|
-
"src/plan/manager.ts:
|
|
234
|
-
"src/plan/manager.ts:
|
|
232
|
+
"src/plan/manager.ts:694",
|
|
233
|
+
"src/plan/manager.ts:2121",
|
|
234
|
+
"src/plan/manager.ts:2181",
|
|
235
235
|
"src/review/evidence.ts:179",
|
|
236
236
|
"src/turbo/lean/evidence.ts:182",
|
|
237
237
|
"src/summaries/manager.ts:163",
|
|
@@ -247,7 +247,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
247
247
|
"src/evidence/phase-participation.ts (pre-#2035; migrated-to=src/evidence/phase-participation.ts:atomicWriteBytes)",
|
|
248
248
|
"src/turbo/lean/integration.ts:429",
|
|
249
249
|
"src/turbo/lean/reviewer.ts:403",
|
|
250
|
-
"src/plan/ledger.ts:
|
|
250
|
+
"src/plan/ledger.ts:1486",
|
|
251
251
|
"src/services/synonym-map.ts:389",
|
|
252
252
|
"src/services/skill-optimizer/store.ts:340",
|
|
253
253
|
"src/services/skill-optimizer/store.ts:503",
|
|
@@ -359,7 +359,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
359
359
|
token: "instance",
|
|
360
360
|
quarantineEligible: true,
|
|
361
361
|
parsesTarget: true,
|
|
362
|
-
producers: ["src/plan/manager.ts:
|
|
362
|
+
producers: ["src/plan/manager.ts:2380", "src/plan/manager.ts:2442"],
|
|
363
363
|
note: "plan-durability (invariant 5) fd-write paths; grammars registered, writers unchanged in this PR"
|
|
364
364
|
},
|
|
365
365
|
{
|
|
@@ -408,7 +408,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
408
408
|
quarantineEligible: false,
|
|
409
409
|
parsesTarget: false,
|
|
410
410
|
producers: [
|
|
411
|
-
"src/tools/checkpoint.ts:
|
|
411
|
+
"src/tools/checkpoint.ts:224",
|
|
412
412
|
"src/full-auto/state.ts:637",
|
|
413
413
|
"src/context-map/persistence.ts:135",
|
|
414
414
|
"src/context-map/capsule-persistence.ts:111",
|
|
@@ -422,7 +422,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
422
422
|
"src/hooks/skill-usage-pending.ts:817",
|
|
423
423
|
"src/parallel/file-locks.ts:113",
|
|
424
424
|
"src/plan/ledger.ts:607",
|
|
425
|
-
"src/plan/ledger.ts:
|
|
425
|
+
"src/plan/ledger.ts:1808"
|
|
426
426
|
],
|
|
427
427
|
note: "constant-name temps: reported when stale, never auto-quarantined. file-locks meta sidecars live under the scanner-skipped .swarm/locks/ subtree; the ledger reconcile temp embeds instance tokens but its .tmp-suffix shape maps here (conservatively report-only)"
|
|
428
428
|
}
|
|
@@ -23,79 +23,79 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
26
|
+
} from "./index-2hnnkj64.js";
|
|
27
|
+
import"./index-s3w41p1x.js";
|
|
28
|
+
import"./index-qzakbjcg.js";
|
|
29
|
+
import"./index-c9g3hkjz.js";
|
|
30
|
+
import"./index-pe77h482.js";
|
|
31
|
+
import"./index-5snwc3dz.js";
|
|
30
32
|
import"./index-axqyjreb.js";
|
|
31
|
-
import"./index-0je0mees.js";
|
|
32
|
-
import"./index-hx2f3j9w.js";
|
|
33
33
|
import"./index-txdagbh7.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-dgyddtje.js";
|
|
35
|
+
import"./index-z9mysg5m.js";
|
|
35
36
|
import {
|
|
36
37
|
createExplorerAgent
|
|
37
38
|
} from "./index-rdec0y3z.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-4cyc18bc.js";
|
|
39
|
+
import"./index-12h2rtdj.js";
|
|
40
|
+
import"./index-qaqyq25k.js";
|
|
41
|
+
import"./index-th667k1y.js";
|
|
42
|
+
import"./index-1v277wxc.js";
|
|
43
|
+
import"./index-wgf1780e.js";
|
|
44
44
|
import"./index-x5jwegqw.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-8mrentmw.js";
|
|
45
|
+
import"./index-b4kdms7x.js";
|
|
46
|
+
import"./index-0tygsk8b.js";
|
|
48
47
|
import"./index-pt7h91zc.js";
|
|
49
48
|
import"./index-q7sjgr1y.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-rzkmg02a.js";
|
|
50
|
+
import"./index-w2bhrp6z.js";
|
|
52
51
|
import"./index-6b295cas.js";
|
|
53
52
|
import"./index-9nyqt3kb.js";
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-vtkgg2qn.js";
|
|
55
54
|
import"./index-v3bmwmqw.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
55
|
+
import"./index-8mrentmw.js";
|
|
56
|
+
import"./index-3zspah3v.js";
|
|
57
|
+
import"./index-sva5swrs.js";
|
|
58
|
+
import"./index-3exe6k66.js";
|
|
59
59
|
import"./index-spggmr30.js";
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
60
|
+
import"./index-0ptf66x5.js";
|
|
61
|
+
import"./index-parkaa70.js";
|
|
62
62
|
import"./index-m9zzj4ee.js";
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
63
|
+
import"./index-xyvsdn07.js";
|
|
64
|
+
import"./index-sz67z90q.js";
|
|
65
|
+
import"./index-v1h70r3y.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-51dw4bjc.js";
|
|
68
68
|
import"./index-g22dps7x.js";
|
|
69
69
|
import"./index-0725jpp7.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
70
|
+
import"./index-2m740hyt.js";
|
|
71
|
+
import"./index-s9y49avf.js";
|
|
72
|
+
import"./index-s8eac99p.js";
|
|
73
|
+
import"./index-na6ph1fp.js";
|
|
74
|
+
import"./index-ves1rtqt.js";
|
|
75
75
|
import"./index-ry16d01s.js";
|
|
76
76
|
import"./index-rdm3px0g.js";
|
|
77
|
-
import"./index-
|
|
77
|
+
import"./index-nzfq1ms2.js";
|
|
78
78
|
import"./index-7pmbnjvj.js";
|
|
79
79
|
import"./index-9rwhas09.js";
|
|
80
|
-
import"./index-
|
|
81
|
-
import"./index-
|
|
80
|
+
import"./index-ypxq0x7r.js";
|
|
81
|
+
import"./index-bn3aa5q1.js";
|
|
82
82
|
import"./index-vzm6zre7.js";
|
|
83
83
|
import"./index-ae75rja9.js";
|
|
84
|
-
import"./index-
|
|
85
|
-
import"./index-
|
|
86
|
-
import"./index-
|
|
84
|
+
import"./index-g57p8p1k.js";
|
|
85
|
+
import"./index-traz987v.js";
|
|
86
|
+
import"./index-q8vfw61p.js";
|
|
87
87
|
import"./index-t7hmqgjy.js";
|
|
88
|
-
import"./index-
|
|
88
|
+
import"./index-c2k7q723.js";
|
|
89
89
|
import"./index-te9hq2f4.js";
|
|
90
90
|
import"./index-ejhxgyvm.js";
|
|
91
91
|
import"./index-7g4c7s5r.js";
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
92
|
+
import"./index-epzadpmm.js";
|
|
93
|
+
import"./index-3t46mez1.js";
|
|
94
|
+
import"./index-3020n6d9.js";
|
|
95
95
|
import"./index-sp2cxpaq.js";
|
|
96
96
|
import"./index-qbxk2rn6.js";
|
|
97
97
|
import"./index-zgwm4ryv.js";
|
|
98
|
-
import"./index-
|
|
98
|
+
import"./index-p6v544jn.js";
|
|
99
99
|
import"./index-xfzkq1k4.js";
|
|
100
100
|
import"./index-bk5tah7q.js";
|
|
101
101
|
import"./index-gknz3bv1.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-51dw4bjc.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
TaskSchema,
|
|
38
38
|
TaskSizeSchema,
|
|
39
39
|
TaskStatusSchema
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-3t46mez1.js";
|
|
41
41
|
import {
|
|
42
42
|
getSafeDefaultConfigLoadResult,
|
|
43
43
|
loadAgentPrompt,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
loadPluginConfigWithMeta,
|
|
47
47
|
loadPluginConfigWithMetaAsync,
|
|
48
48
|
resetConfigAdvisoryDedup
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-3020n6d9.js";
|
|
50
50
|
import"./index-sp2cxpaq.js";
|
|
51
51
|
import"./index-qbxk2rn6.js";
|
|
52
52
|
import"./index-zgwm4ryv.js";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
TurboConfigSchema,
|
|
75
75
|
WorktreeIsolationConfigSchema,
|
|
76
76
|
resolveAutoReviewConfig
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-p6v544jn.js";
|
|
78
78
|
import {
|
|
79
79
|
ALL_AGENT_NAMES,
|
|
80
80
|
ALL_SUBAGENT_NAMES,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
observeStoreHealth
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ypxq0x7r.js";
|
|
5
5
|
import {
|
|
6
6
|
telemetry
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-c2k7q723.js";
|
|
8
8
|
import {
|
|
9
9
|
init_logger,
|
|
10
10
|
warn
|
|
@@ -935,4 +935,4 @@ function emitHealth(directory, payload, preloadedAuthorityState) {
|
|
|
935
935
|
_internals.emitHealth(directory, payload, preloadedAuthorityState);
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
export { readCoreEvents, getCoreEventCoverage, CORE_EVENT_LOCKED, appendCoreEventSync, appendCoreEventsSync, getCoderRetryEscalationActions, hasSpecDriftAuditEvent, hasTaskRepairAuditEvent, finalizeCoreEventsForClose };
|
|
938
|
+
export { coreEventsFilePath, readCoreEvents, getCoreEventCoverage, CORE_EVENT_LOCKED, appendCoreEventSync, appendCoreEventsSync, getCoderRetryEscalationActions, hasSpecDriftAuditEvent, hasTaskRepairAuditEvent, finalizeCoreEventsForClose };
|
|
@@ -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.200.1",
|
|
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",
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./index-m9zzj4ee.js";
|
|
5
5
|
import {
|
|
6
6
|
validateSwarmPath
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-xyvsdn07.js";
|
|
8
8
|
import {
|
|
9
9
|
observeReceiptTransition
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-ypxq0x7r.js";
|
|
11
11
|
import {
|
|
12
12
|
assertProjectRoot
|
|
13
13
|
} from "./index-t7hmqgjy.js";
|
|
14
14
|
import {
|
|
15
15
|
emit
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-c2k7q723.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveActivePhaseId
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-3t46mez1.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPluginConfigWithMeta
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-3020n6d9.js";
|
|
23
23
|
import {
|
|
24
24
|
KnowledgeConfigSchema,
|
|
25
25
|
init_schema
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-p6v544jn.js";
|
|
27
27
|
|
|
28
28
|
// src/utils/context-decisions.ts
|
|
29
29
|
function extractContextDecisions(content) {
|