opencode-swarm 7.199.4 → 7.199.5
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-feedback/references/followup-dispositions.md +1 -0
- package/.opencode/skills/swarm-pr-review/SKILL.md +3 -3
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/architect.d.ts +1 -1
- package/dist/background/pending-delegations.d.ts +46 -0
- package/dist/cli/{auto-checkpoint-75n3s0qj.js → auto-checkpoint-tje4xvtw.js} +12 -11
- package/dist/cli/{checkpoint-vdjfn78h.js → checkpoint-wyh8nkhb.js} +21 -21
- package/dist/cli/{coder-settlement-wwgdrzcb.js → coder-settlement-d0ca5fb3.js} +18 -18
- package/dist/cli/{config-doctor-x8ke4n9r.js → config-doctor-swg02esj.js} +19 -19
- package/dist/cli/{core-2zmr3718.js → core-yh8ae69m.js} +7 -7
- package/dist/cli/{curation-policy-0smbd33w.js → curation-policy-w9y0db1n.js} +8 -8
- package/dist/cli/{curator-7pnzsqe8.js → curator-9vzqhesg.js} +51 -51
- package/dist/cli/{curator-drift-2rtecv79.js → curator-drift-85qect05.js} +12 -12
- package/dist/cli/curator-llm-factory-dwvftpvm.js +82 -0
- package/dist/cli/{dispatch-1pbmmj8z.js → dispatch-sftetpzv.js} +4 -4
- package/dist/cli/{doctor-knowledge-receipt-phase-id-0yqb8t1e.js → doctor-knowledge-receipt-phase-id-eqzsh3b7.js} +12 -12
- package/dist/cli/{evidence-summary-service-59r4wnbz.js → evidence-summary-service-hc513kyq.js} +27 -27
- package/dist/cli/{gate-evidence-7xp8a4s3.js → gate-evidence-a10epye0.js} +13 -13
- package/dist/cli/guardrail-explain-rqqhmb44.js +83 -0
- package/dist/cli/guardrail-log-caspzygc.js +23 -0
- package/dist/cli/{guardrail-reset-2edjt0zn.js → guardrail-reset-48r2n8mz.js} +51 -51
- package/dist/cli/hive-promoter-sd3a61mq.js +97 -0
- package/dist/cli/{index-h69d3ksz.js → index-0aj9tvms.js} +51 -51
- package/dist/cli/{index-dyp5807d.js → index-0je0mees.js} +10 -8
- package/dist/cli/{index-eh12k044.js → index-0ra0vs2p.js} +13 -11
- package/dist/cli/{index-2mx2gn97.js → index-0veqvgny.js} +1 -1
- package/dist/cli/{index-h44592hj.js → index-10wwrgj2.js} +6 -6
- package/dist/cli/{index-5mfahvm2.js → index-26dmsdx3.js} +4884 -5746
- package/dist/cli/{index-ywb5er8g.js → index-270zfq1f.js} +2 -2
- package/dist/cli/{index-ry1jgeqa.js → index-34jat4f2.js} +2 -2
- package/dist/cli/{index-97cpeqb2.js → index-3ckvw3j2.js} +2 -2
- package/dist/cli/{index-2wsh6d15.js → index-3fz5w2wb.js} +15 -6
- package/dist/cli/{index-h349p91m.js → index-3mzc5rqc.js} +2 -2
- package/dist/cli/{index-bkscmz4z.js → index-4cyc18bc.js} +11 -11
- package/dist/cli/{index-hxav7nr0.js → index-4pbzepgw.js} +1645 -124
- package/dist/cli/{index-vnmadnbs.js → index-6ssraqaa.js} +15 -11
- package/dist/cli/{index-9gfymmr8.js → index-6xv2hz0e.js} +5 -5
- package/dist/cli/{index-dradkxhb.js → index-6xyt6d5m.js} +13 -13
- package/dist/cli/{index-t94vcqg6.js → index-76skvj8z.js} +7 -7
- package/dist/cli/{index-ffkd1zwc.js → index-85vd6sxy.js} +10 -10
- package/dist/cli/{index-k0er6f51.js → index-9c0vp5yj.js} +2 -2
- package/dist/cli/{index-sxh861jr.js → index-9n40q82y.js} +4 -4
- package/dist/cli/{index-nr1pj3hy.js → index-9y6yk1n0.js} +1 -1
- package/dist/cli/{index-j2vv0h13.js → index-axqyjreb.js} +6 -4
- package/dist/cli/{index-aaqgsmxr.js → index-b0kr8720.js} +53 -53
- package/dist/cli/{index-820pzqd6.js → index-b3ws03kp.js} +7 -5
- package/dist/cli/{index-3chx0ed6.js → index-bgydmx8k.js} +11 -11
- package/dist/cli/{index-bh6j8qxz.js → index-d7y3cafq.js} +5 -5
- package/dist/cli/{index-g1wra8ky.js → index-dengtwpp.js} +5 -4
- package/dist/cli/{index-6dtt0brw.js → index-dtwj4hsk.js} +4 -4
- package/dist/cli/{index-4s6kdsfr.js → index-dz15f98h.js} +1 -1
- package/dist/cli/{index-s41r5s5p.js → index-esakwcr3.js} +1 -1
- package/dist/cli/{index-hz2609qt.js → index-eyq1q1xn.js} +9 -7
- package/dist/cli/{index-aayv19fb.js → index-gyz59cbh.js} +25 -21
- package/dist/cli/{index-7c432abn.js → index-hx2f3j9w.js} +2 -2
- package/dist/cli/{index-p5pgjp7n.js → index-j3rfbs45.js} +1 -1
- package/dist/cli/{index-w7d8gcj0.js → index-jmhn6ab5.js} +2 -2
- package/dist/cli/{index-jhz7qpb4.js → index-my753e0g.js} +21 -17
- package/dist/cli/{index-2bc7zfw3.js → index-n1ddn12j.js} +2 -2
- package/dist/cli/{index-hfpa3hrz.js → index-p5d32v0x.js} +11 -11
- package/dist/cli/{index-2s7dvzff.js → index-qbxk2rn6.js} +42 -41
- package/dist/cli/{index-w00dj8p5.js → index-snx2vb1x.js} +2 -2
- package/dist/cli/{index-zxdawwc7.js → index-sp2cxpaq.js} +131 -8
- package/dist/cli/{index-g4fs6z4e.js → index-spggmr30.js} +6 -2
- package/dist/cli/{index-pxdc0qn1.js → index-tsg61z0r.js} +2 -2
- package/dist/cli/{index-jwg4wy3g.js → index-v4mremxw.js} +6 -5
- package/dist/cli/{index-cjapb4hy.js → index-x5jwegqw.js} +7 -5
- package/dist/cli/{index-h3nns8py.js → index-xtda4xsn.js} +403 -170
- package/dist/cli/{index-3gr7a9j8.js → index-xyg7des8.js} +4 -4
- package/dist/cli/{index-65syfqe1.js → index-ybvnf7rt.js} +8 -8
- package/dist/cli/{index-nfpfbce0.js → index-yg5xd4am.js} +18 -16
- package/dist/cli/{index-hc6wa3yg.js → index-zbygz217.js} +3 -3
- package/dist/cli/{index-x1j0838n.js → index-zdfzrwbk.js} +7 -7
- package/dist/cli/{index-4f5ejd03.js → index-zte3djpf.js} +2 -2
- package/dist/cli/index.js +52 -52
- package/dist/cli/{knowledge-escalator-2kphhk52.js → knowledge-escalator-9wqe0m8j.js} +18 -18
- package/dist/cli/{knowledge-events-xw4qjnts.js → knowledge-events-m5vdchaa.js} +16 -16
- package/dist/cli/{knowledge-link-1f91bzcc.js → knowledge-link-t0ce3mw7.js} +7 -7
- package/dist/cli/{knowledge-store-1cm7y9e6.js → knowledge-store-ff4hy057.js} +8 -8
- package/dist/cli/{knowledge-validator-q4r4ng23.js → knowledge-validator-erj5thtq.js} +10 -10
- package/dist/cli/{mcp-0548g7fk.js → mcp-d0hz5gfp.js} +1 -1
- package/dist/cli/{model-preflight-pdewpzmm.js → model-preflight-p34x0k25.js} +51 -51
- package/dist/cli/{pending-delegations-zv9ffy5b.js → pending-delegations-1j6dx1mf.js} +18 -15
- package/dist/cli/{pr-subscriptions-0ktv4qaq.js → pr-subscriptions-b1g41jce.js} +15 -15
- package/dist/cli/{pr-workflow-gate-71nxjz6p.js → pr-workflow-gate-zjwt050h.js} +59 -59
- package/dist/cli/{runner-7sd43gan.js → runner-wq954cda.js} +9 -9
- package/dist/cli/{scan-cursor-ty5dqwhm.js → scan-cursor-enz1rp21.js} +11 -10
- package/dist/cli/{schema-tnrvn8h1.js → schema-9r8sggpb.js} +1 -1
- package/dist/cli/{scope-persistence-camnvcaq.js → scope-persistence-c5n4g9f0.js} +20 -19
- package/dist/cli/{server-cr9kvgzz.js → server-8z7pd66d.js} +56 -56
- package/dist/cli/{skill-generator-nx2g9975.js → skill-generator-nezzfa0t.js} +20 -20
- package/dist/cli/{snapshot-coordination-init-ymsjgsqf.js → snapshot-coordination-init-2j06c7ck.js} +51 -51
- package/dist/cli/{speckit-checkoff-1pyx7y0d.js → speckit-checkoff-805cqmrf.js} +7 -6
- package/dist/cli/{telemetry-6yv06xyz.js → telemetry-gena5typ.js} +3 -3
- package/dist/cli/{workspace-snapshot-4zfj5wnd.js → workspace-snapshot-hzhz0rxw.js} +7 -7
- package/dist/cli/{worktree-collision-ownership-twe4r9f2.js → worktree-collision-ownership-xpr0yv7h.js} +22 -21
- package/dist/cli/{worktree-isolation-yj3vfp1h.js → worktree-isolation-z6ytes0j.js} +51 -51
- package/dist/commands/close/dry-run.d.ts +2 -1
- package/dist/commands/close/orchestrator.d.ts +16 -5
- package/dist/commands/destructive-purge.d.ts +53 -12
- package/dist/commands/git-status-read.d.ts +76 -0
- package/dist/commands/rollback-gate.d.ts +24 -5
- package/dist/config/schema.d.ts +5 -3
- package/dist/evaluation/contracts.d.ts +5 -5
- package/dist/hooks/lane-liveness-watchdog.d.ts +6 -1
- package/dist/hooks/pr-workflow-gate.d.ts +61 -1
- package/dist/index.js +254 -252
- package/dist/memory/schema.d.ts +3 -3
- package/dist/pr-review/completion.d.ts +63 -2
- package/dist/services/diagnose-service.d.ts +7 -8
- package/dist/tools/dispatch-lanes.d.ts +2 -1
- package/dist/utils/git-executable.d.ts +4 -0
- package/opencode-swarm.schema.json +3 -2
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-aybwqak6.js +0 -82
- package/dist/cli/guardrail-explain-jahptqqd.js +0 -83
- package/dist/cli/guardrail-log-csp211g7.js +0 -23
- package/dist/cli/hive-promoter-17q1qg8e.js +0 -97
- package/dist/cli/{index-fzpt2djt.js → index-te9hq2f4.js} +3 -3
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-hx2f3j9w.js";
|
|
7
7
|
import {
|
|
8
8
|
TASK_WORKFLOW_SCHEMA_MARKER,
|
|
9
9
|
deriveApplicableGateSet,
|
|
@@ -12,14 +12,11 @@ import {
|
|
|
12
12
|
readTaskEvidence,
|
|
13
13
|
readTaskEvidenceRaw,
|
|
14
14
|
sanitizeTaskId
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-yg5xd4am.js";
|
|
16
16
|
import {
|
|
17
17
|
readSwarmFileAsync,
|
|
18
18
|
validateSwarmPath
|
|
19
|
-
} from "./index-
|
|
20
|
-
import {
|
|
21
|
-
bunWrite
|
|
22
|
-
} from "./index-2s7dvzff.js";
|
|
19
|
+
} from "./index-b3ws03kp.js";
|
|
23
20
|
import {
|
|
24
21
|
EVIDENCE_MAX_JSON_BYTES,
|
|
25
22
|
EvidenceBundleSchema,
|
|
@@ -27,20 +24,24 @@ import {
|
|
|
27
24
|
} from "./index-g22dps7x.js";
|
|
28
25
|
import {
|
|
29
26
|
withEvidenceLock
|
|
30
|
-
} from "./index-
|
|
27
|
+
} from "./index-dz15f98h.js";
|
|
31
28
|
import {
|
|
32
29
|
assertProjectRoot
|
|
33
30
|
} from "./index-t7hmqgjy.js";
|
|
34
31
|
import {
|
|
35
32
|
invalidateCachedArtifact
|
|
36
|
-
} from "./index-
|
|
33
|
+
} from "./index-270zfq1f.js";
|
|
37
34
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./index-
|
|
35
|
+
bunWrite,
|
|
36
|
+
init_bun_compat
|
|
37
|
+
} from "./index-qbxk2rn6.js";
|
|
41
38
|
import {
|
|
42
39
|
warn
|
|
43
40
|
} from "./index-zgwm4ryv.js";
|
|
41
|
+
import {
|
|
42
|
+
ZodError,
|
|
43
|
+
init_zod
|
|
44
|
+
} from "./index-gknz3bv1.js";
|
|
44
45
|
|
|
45
46
|
// src/evidence/manager.ts
|
|
46
47
|
init_zod();
|
|
@@ -210,6 +211,9 @@ async function archiveEvaluationArtifacts(args) {
|
|
|
210
211
|
});
|
|
211
212
|
}
|
|
212
213
|
|
|
214
|
+
// src/evidence/manager.ts
|
|
215
|
+
init_bun_compat();
|
|
216
|
+
|
|
213
217
|
// src/evidence/documents-retention.ts
|
|
214
218
|
import * as fs2 from "fs";
|
|
215
219
|
import * as fsp from "fs/promises";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
queryHistoricalOutcomes
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-d7y3cafq.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveHiveEventsPath
|
|
7
7
|
} from "./index-ae75rja9.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveKnowledgeStoreDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-n1ddn12j.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteFile
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-jmhn6ab5.js";
|
|
14
14
|
import {
|
|
15
15
|
canonicalRootKey
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-te9hq2f4.js";
|
|
17
17
|
import {
|
|
18
18
|
require_proper_lockfile
|
|
19
19
|
} from "./index-7g4c7s5r.js";
|
|
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
708
708
|
}
|
|
709
709
|
let bumps = 0;
|
|
710
710
|
if (deltas.length > 0) {
|
|
711
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
711
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-ff4hy057.js");
|
|
712
712
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
713
713
|
}
|
|
714
714
|
return {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-eyq1q1xn.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-tsg61z0r.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,16 +14,20 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-yg5xd4am.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-b3ws03kp.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-3mzc5rqc.js";
|
|
24
|
+
import {
|
|
25
|
+
init_path_identity,
|
|
26
|
+
isPathWithinDeclaredScope
|
|
27
|
+
} from "./index-9rwhas09.js";
|
|
24
28
|
import {
|
|
25
29
|
canonicalRootKeyFresh
|
|
26
|
-
} from "./index-
|
|
30
|
+
} from "./index-te9hq2f4.js";
|
|
27
31
|
import {
|
|
28
32
|
tryAcquireLock
|
|
29
33
|
} from "./index-ejhxgyvm.js";
|
|
@@ -32,11 +36,7 @@ import {
|
|
|
32
36
|
init_git_executable,
|
|
33
37
|
init_warning_buffer,
|
|
34
38
|
resolveGitExecutable
|
|
35
|
-
} from "./index-
|
|
36
|
-
import {
|
|
37
|
-
init_path_identity,
|
|
38
|
-
isPathWithinDeclaredScope
|
|
39
|
-
} from "./index-9rwhas09.js";
|
|
39
|
+
} from "./index-sp2cxpaq.js";
|
|
40
40
|
import {
|
|
41
41
|
criticalWarn,
|
|
42
42
|
init_logger
|
|
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
512
512
|
awaitingMergeByCallID,
|
|
513
513
|
cleanupStandardWorktreeForCallId,
|
|
514
514
|
standardWorktreeByCallID
|
|
515
|
-
} = await import("./worktree-isolation-
|
|
515
|
+
} = await import("./worktree-isolation-z6ytes0j.js");
|
|
516
516
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
517
517
|
if (hasResidue)
|
|
518
518
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
648
648
|
awaitingMergeByCallID,
|
|
649
649
|
finishStandardWorktreeDispatch,
|
|
650
650
|
standardWorktreeByCallID
|
|
651
|
-
} = await import("./worktree-isolation-
|
|
651
|
+
} = await import("./worktree-isolation-z6ytes0j.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
writeSpeckitCheckoffLedger
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-9c0vp5yj.js";
|
|
5
5
|
import {
|
|
6
6
|
validateSpecContent
|
|
7
7
|
} from "./index-0725jpp7.js";
|
|
8
8
|
import {
|
|
9
9
|
init_loader,
|
|
10
10
|
readSddSourceSetting
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-3ckvw3j2.js";
|
|
12
12
|
import {
|
|
13
13
|
advisoryWarn,
|
|
14
14
|
init_warning_buffer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import {
|
|
17
|
-
SDD_SOURCES,
|
|
18
|
-
init_schema
|
|
19
|
-
} from "./index-g1wra8ky.js";
|
|
15
|
+
} from "./index-sp2cxpaq.js";
|
|
20
16
|
import {
|
|
21
17
|
init_logger,
|
|
22
18
|
log
|
|
23
19
|
} from "./index-zgwm4ryv.js";
|
|
20
|
+
import {
|
|
21
|
+
SDD_SOURCES,
|
|
22
|
+
init_schema
|
|
23
|
+
} from "./index-dengtwpp.js";
|
|
24
24
|
|
|
25
25
|
// src/sdd/effective-spec.ts
|
|
26
26
|
init_loader();
|
|
@@ -5,42 +5,42 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-6xv2hz0e.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-xyg7des8.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-bgydmx8k.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
23
23
|
} from "./index-vzm6zre7.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalRootKeyFresh
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-te9hq2f4.js";
|
|
27
27
|
import {
|
|
28
28
|
atomicWriteFileAnyRoot,
|
|
29
29
|
atomicWriteSwarmFile
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-270zfq1f.js";
|
|
31
31
|
import {
|
|
32
32
|
advisoryWarn,
|
|
33
33
|
init_warning_buffer
|
|
34
|
-
} from "./index-
|
|
35
|
-
import {
|
|
36
|
-
init_knowledge_types,
|
|
37
|
-
isActiveStatus
|
|
38
|
-
} from "./index-bk5tah7q.js";
|
|
34
|
+
} from "./index-sp2cxpaq.js";
|
|
39
35
|
import {
|
|
40
36
|
init_logger,
|
|
41
37
|
log,
|
|
42
38
|
warn
|
|
43
39
|
} from "./index-zgwm4ryv.js";
|
|
40
|
+
import {
|
|
41
|
+
init_knowledge_types,
|
|
42
|
+
isActiveStatus
|
|
43
|
+
} from "./index-bk5tah7q.js";
|
|
44
44
|
import {
|
|
45
45
|
__require
|
|
46
46
|
} from "./index-a76rekgs.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot,
|
|
7
7
|
atomicWriteSwarmFileSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-270zfq1f.js";
|
|
9
9
|
import {
|
|
10
10
|
init_loader,
|
|
11
11
|
loadPluginConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-3ckvw3j2.js";
|
|
13
13
|
import {
|
|
14
14
|
init_logger,
|
|
15
15
|
log,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
readEffectiveSpecSync
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-76skvj8z.js";
|
|
5
5
|
import {
|
|
6
6
|
readSwarmFileAsync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b3ws03kp.js";
|
|
8
8
|
import {
|
|
9
9
|
DURABILITY_CLASSES,
|
|
10
10
|
DbWriteError,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
classifyDbWriteError,
|
|
14
14
|
getProjectDb,
|
|
15
15
|
projectDbExists
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-snx2vb1x.js";
|
|
17
17
|
import {
|
|
18
18
|
_internals,
|
|
19
19
|
canonicalRootKeyFresh
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-te9hq2f4.js";
|
|
21
21
|
import {
|
|
22
22
|
init_logger,
|
|
23
23
|
log,
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
tool
|
|
4
4
|
} from "./index-9nyqt3kb.js";
|
|
5
|
-
import {
|
|
6
|
-
bunSpawnSync
|
|
7
|
-
} from "./index-2s7dvzff.js";
|
|
8
5
|
import {
|
|
9
6
|
simpleGlobToRegex
|
|
10
|
-
} from "./index-
|
|
7
|
+
} from "./index-te9hq2f4.js";
|
|
8
|
+
import {
|
|
9
|
+
bunSpawnSync,
|
|
10
|
+
init_bun_compat
|
|
11
|
+
} from "./index-qbxk2rn6.js";
|
|
11
12
|
import {
|
|
12
13
|
warn
|
|
13
14
|
} from "./index-zgwm4ryv.js";
|
|
@@ -1363,6 +1364,7 @@ function resolveLocalNodeTool(tool2, args, workingDir, platform = process.platfo
|
|
|
1363
1364
|
// src/build/discovery.ts
|
|
1364
1365
|
import * as fs2 from "fs";
|
|
1365
1366
|
import * as path2 from "path";
|
|
1367
|
+
init_bun_compat();
|
|
1366
1368
|
var SUPPORTED_NODE_PACKAGE_MANAGERS = ["bun", "npm", "pnpm", "yarn"];
|
|
1367
1369
|
var MAX_PACKAGE_MANAGER_EVIDENCE_CHARS = 120;
|
|
1368
1370
|
var ECOSYSTEMS = [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-34jat4f2.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-esakwcr3.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,77 +97,80 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
100
|
+
} from "./index-26dmsdx3.js";
|
|
101
|
+
import"./index-my753e0g.js";
|
|
102
|
+
import"./index-3fz5w2wb.js";
|
|
103
|
+
import"./index-6ssraqaa.js";
|
|
104
|
+
import"./index-axqyjreb.js";
|
|
105
|
+
import"./index-0je0mees.js";
|
|
106
|
+
import"./index-hx2f3j9w.js";
|
|
107
107
|
import"./index-txdagbh7.js";
|
|
108
|
-
import"./index-
|
|
108
|
+
import"./index-zdfzrwbk.js";
|
|
109
109
|
import"./index-rdec0y3z.js";
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
110
|
+
import"./index-9n40q82y.js";
|
|
111
|
+
import"./index-6xyt6d5m.js";
|
|
112
|
+
import"./index-85vd6sxy.js";
|
|
113
|
+
import"./index-10wwrgj2.js";
|
|
114
|
+
import"./index-eyq1q1xn.js";
|
|
115
|
+
import"./index-4cyc18bc.js";
|
|
116
|
+
import"./index-x5jwegqw.js";
|
|
117
|
+
import"./index-tsg61z0r.js";
|
|
118
|
+
import"./index-4pbzepgw.js";
|
|
119
|
+
import"./index-8mrentmw.js";
|
|
118
120
|
import"./index-pt7h91zc.js";
|
|
119
121
|
import"./index-q7sjgr1y.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
+
import"./index-xtda4xsn.js";
|
|
123
|
+
import"./index-gyz59cbh.js";
|
|
122
124
|
import"./index-6b295cas.js";
|
|
123
125
|
import"./index-9nyqt3kb.js";
|
|
124
|
-
import"./index-
|
|
126
|
+
import"./index-76skvj8z.js";
|
|
125
127
|
import"./index-v3bmwmqw.js";
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
128
|
-
import"./index-
|
|
129
|
-
import"./index-
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-bh6j8qxz.js";
|
|
128
|
+
import"./index-9c0vp5yj.js";
|
|
129
|
+
import"./index-yg5xd4am.js";
|
|
130
|
+
import"./index-0ra0vs2p.js";
|
|
131
|
+
import"./index-spggmr30.js";
|
|
132
|
+
import"./index-6xv2hz0e.js";
|
|
133
|
+
import"./index-d7y3cafq.js";
|
|
133
134
|
import"./index-m9zzj4ee.js";
|
|
134
|
-
import"./index-
|
|
135
|
-
import"./index-
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-2mx2gn97.js";
|
|
135
|
+
import"./index-b3ws03kp.js";
|
|
136
|
+
import"./index-xyg7des8.js";
|
|
137
|
+
import"./index-0veqvgny.js";
|
|
138
138
|
import"./index-rtry5xyf.js";
|
|
139
|
-
import"./index-
|
|
139
|
+
import"./index-zte3djpf.js";
|
|
140
140
|
import"./index-g22dps7x.js";
|
|
141
141
|
import"./index-0725jpp7.js";
|
|
142
|
-
import"./index-
|
|
143
|
-
import"./index-
|
|
144
|
-
import"./index-
|
|
145
|
-
import"./index-
|
|
146
|
-
import"./index-
|
|
147
|
-
import"./index-w00dj8p5.js";
|
|
142
|
+
import"./index-p5d32v0x.js";
|
|
143
|
+
import"./index-j3rfbs45.js";
|
|
144
|
+
import"./index-ybvnf7rt.js";
|
|
145
|
+
import"./index-9y6yk1n0.js";
|
|
146
|
+
import"./index-snx2vb1x.js";
|
|
148
147
|
import"./index-ry16d01s.js";
|
|
149
148
|
import"./index-rdm3px0g.js";
|
|
149
|
+
import"./index-3mzc5rqc.js";
|
|
150
150
|
import"./index-7pmbnjvj.js";
|
|
151
|
-
import"./index-
|
|
152
|
-
import"./index-
|
|
151
|
+
import"./index-9rwhas09.js";
|
|
152
|
+
import"./index-zbygz217.js";
|
|
153
|
+
import"./index-bgydmx8k.js";
|
|
153
154
|
import"./index-vzm6zre7.js";
|
|
154
155
|
import"./index-ae75rja9.js";
|
|
155
|
-
import"./index-
|
|
156
|
-
import"./index-
|
|
157
|
-
import"./index-
|
|
156
|
+
import"./index-n1ddn12j.js";
|
|
157
|
+
import"./index-jmhn6ab5.js";
|
|
158
|
+
import"./index-dz15f98h.js";
|
|
158
159
|
import"./index-t7hmqgjy.js";
|
|
159
|
-
import"./index-
|
|
160
|
-
import"./index-
|
|
160
|
+
import"./index-dtwj4hsk.js";
|
|
161
|
+
import"./index-te9hq2f4.js";
|
|
161
162
|
import"./index-ejhxgyvm.js";
|
|
162
163
|
import"./index-7g4c7s5r.js";
|
|
163
|
-
import"./index-
|
|
164
|
+
import"./index-270zfq1f.js";
|
|
164
165
|
import"./index-gx2vp8gx.js";
|
|
165
|
-
import"./index-
|
|
166
|
-
import"./index-
|
|
166
|
+
import"./index-3ckvw3j2.js";
|
|
167
|
+
import"./index-sp2cxpaq.js";
|
|
168
|
+
import"./index-qbxk2rn6.js";
|
|
169
|
+
import"./index-zgwm4ryv.js";
|
|
167
170
|
import {
|
|
168
171
|
init_schema,
|
|
169
172
|
stripKnownSwarmPrefix
|
|
170
|
-
} from "./index-
|
|
173
|
+
} from "./index-dengtwpp.js";
|
|
171
174
|
import {
|
|
172
175
|
AGENT_TOOL_MAP,
|
|
173
176
|
ORCHESTRATOR_NAME,
|
|
@@ -176,9 +179,6 @@ import {
|
|
|
176
179
|
import"./index-bk5tah7q.js";
|
|
177
180
|
import"./index-gknz3bv1.js";
|
|
178
181
|
import"./index-zpsr8rpc.js";
|
|
179
|
-
import"./index-8mrentmw.js";
|
|
180
|
-
import"./index-9rwhas09.js";
|
|
181
|
-
import"./index-zgwm4ryv.js";
|
|
182
182
|
import"./index-a76rekgs.js";
|
|
183
183
|
|
|
184
184
|
// src/commands/index.ts
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
bunFile
|
|
4
|
-
} from "./index-2s7dvzff.js";
|
|
5
2
|
import {
|
|
6
3
|
SwarmError
|
|
7
|
-
} from "./index-
|
|
4
|
+
} from "./index-te9hq2f4.js";
|
|
8
5
|
import {
|
|
9
6
|
RECENT_WRITE_WINDOW_MS,
|
|
10
7
|
readCachedTextFile,
|
|
11
8
|
wasObservedToExist,
|
|
12
9
|
wasRecentlyWrittenByThisProcess
|
|
13
|
-
} from "./index-
|
|
10
|
+
} from "./index-270zfq1f.js";
|
|
11
|
+
import {
|
|
12
|
+
bunFile,
|
|
13
|
+
init_bun_compat
|
|
14
|
+
} from "./index-qbxk2rn6.js";
|
|
14
15
|
import {
|
|
15
16
|
warn
|
|
16
17
|
} from "./index-zgwm4ryv.js";
|
|
@@ -18,6 +19,7 @@ import {
|
|
|
18
19
|
// src/hooks/utils.ts
|
|
19
20
|
import * as fs from "fs";
|
|
20
21
|
import * as path from "path";
|
|
22
|
+
init_bun_compat();
|
|
21
23
|
var _internals = {
|
|
22
24
|
safeHook,
|
|
23
25
|
composeHandlers,
|
|
@@ -11,24 +11,24 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-n1ddn12j.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-jmhn6ab5.js";
|
|
18
18
|
import {
|
|
19
19
|
require_proper_lockfile
|
|
20
20
|
} from "./index-7g4c7s5r.js";
|
|
21
21
|
import {
|
|
22
22
|
readCachedParsedFile
|
|
23
|
-
} from "./index-
|
|
24
|
-
import {
|
|
25
|
-
init_knowledge_types,
|
|
26
|
-
isActiveStatus
|
|
27
|
-
} from "./index-bk5tah7q.js";
|
|
23
|
+
} from "./index-270zfq1f.js";
|
|
28
24
|
import {
|
|
29
25
|
init_logger,
|
|
30
26
|
log
|
|
31
27
|
} from "./index-zgwm4ryv.js";
|
|
28
|
+
import {
|
|
29
|
+
init_knowledge_types,
|
|
30
|
+
isActiveStatus
|
|
31
|
+
} from "./index-bk5tah7q.js";
|
|
32
32
|
import {
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
@@ -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-m5vdchaa.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-erj5thtq.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-9r8sggpb.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-v4mremxw.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./index-m9zzj4ee.js";
|
|
5
5
|
import {
|
|
6
6
|
validateSwarmPath
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b3ws03kp.js";
|
|
8
8
|
import {
|
|
9
9
|
observeReceiptTransition
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-zbygz217.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-dtwj4hsk.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveActivePhaseId
|
|
19
19
|
} from "./index-gx2vp8gx.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPluginConfigWithMeta
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-3ckvw3j2.js";
|
|
23
23
|
import {
|
|
24
24
|
KnowledgeConfigSchema,
|
|
25
25
|
init_schema
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-dengtwpp.js";
|
|
27
27
|
|
|
28
28
|
// src/utils/context-decisions.ts
|
|
29
29
|
function extractContextDecisions(content) {
|
|
@@ -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.199.
|
|
24
|
+
version: "7.199.5",
|
|
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",
|
|
@@ -634,7 +634,8 @@ var init_schema = __esm(() => {
|
|
|
634
634
|
artifact_sha256: "b4e981d4d87e3de80f6d7dd4ae782b08159d385019c4d8b0d300c0443f1984ce"
|
|
635
635
|
};
|
|
636
636
|
CONSERVATIVE_PRESET_BASE = {
|
|
637
|
-
auto_review: { enabled: false }
|
|
637
|
+
auto_review: { enabled: false },
|
|
638
|
+
lane_liveness_watchdog: { enabled: false }
|
|
638
639
|
};
|
|
639
640
|
AutoReviewFinalConfigSchema = exports_external.object({
|
|
640
641
|
on_phase_complete: exports_external.boolean().default(true),
|
|
@@ -1823,7 +1824,7 @@ var init_schema = __esm(() => {
|
|
|
1823
1824
|
enforce_receipts: true
|
|
1824
1825
|
};
|
|
1825
1826
|
LaneLivenessWatchdogConfigSchema = exports_external.object({
|
|
1826
|
-
enabled: exports_external.boolean().default(
|
|
1827
|
+
enabled: exports_external.boolean().default(true),
|
|
1827
1828
|
timeout_ms: exports_external.number().int().min(0).max(86400000).default(1800000),
|
|
1828
1829
|
stall_threshold_ms: exports_external.number().int().min(0).max(86400000).default(300000),
|
|
1829
1830
|
stall_min_steps: exports_external.number().int().min(0).max(1e4).default(5),
|
|
@@ -1868,7 +1869,7 @@ var init_schema = __esm(() => {
|
|
|
1868
1869
|
hooks: HooksConfigSchema.optional().describe("Hook subsystem toggles and settings."),
|
|
1869
1870
|
pr_review_resilience: PrReviewResilienceConfigSchema.optional().describe("PR review base-wave staged canary/fanout resilience settings."),
|
|
1870
1871
|
review_routing: ReviewRoutingConfigSchema.optional().describe("Semantic review routing receipt enforcement for Stage B (default on; set enforce_receipts=false only as a one-release rollback)."),
|
|
1871
|
-
lane_liveness_watchdog: LaneLivenessWatchdogConfigSchema.
|
|
1872
|
+
lane_liveness_watchdog: LaneLivenessWatchdogConfigSchema.prefault({}).describe("Lane liveness watchdog (default on; set enabled=false to opt out): execution deadline and stall escalation for PR workflow lanes."),
|
|
1872
1873
|
dispatch_protection: DispatchProtectionConfigSchema.optional().describe("Dispatch protection: action-local spawn-failure circuit breaker and token-bucket rate limiting for native task delegations."),
|
|
1873
1874
|
pr_review_legacy_transcript_compatibility: exports_external.boolean().optional().describe("Deprecated migration-only opt-in for transcript-row PR-review base and micro discovery lanes."),
|
|
1874
1875
|
gates: GateConfigSchema.optional().describe("Quality gate configuration (v6.9 anti-slop features)."),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
sameProjectRoot
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-te9hq2f4.js";
|
|
5
|
+
import {
|
|
6
|
+
log
|
|
7
|
+
} from "./index-zgwm4ryv.js";
|
|
5
8
|
import {
|
|
6
9
|
exports_external,
|
|
7
10
|
init_zod
|
|
8
11
|
} from "./index-gknz3bv1.js";
|
|
9
|
-
import {
|
|
10
|
-
log
|
|
11
|
-
} from "./index-zgwm4ryv.js";
|
|
12
12
|
|
|
13
13
|
// src/telemetry.ts
|
|
14
14
|
import * as fs from "fs";
|