opencode-swarm 7.187.0 → 7.187.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/background/pr-review-contract.d.ts +2 -2
- package/dist/cli/{auto-checkpoint-r69e82bh.js → auto-checkpoint-fcp7srhd.js} +8 -8
- package/dist/cli/{checkpoint-1sqwbgra.js → checkpoint-69m1xg5q.js} +14 -13
- package/dist/cli/{coder-settlement-b9qx0732.js → coder-settlement-adx7vsa9.js} +9 -9
- package/dist/cli/{config-doctor-s4fr5qwr.js → config-doctor-eaqk3erw.js} +13 -12
- package/dist/cli/{core-bezezjy9.js → core-fb33hf6w.js} +2 -2
- package/dist/cli/{curation-policy-2x2w3b57.js → curation-policy-sr29thf5.js} +5 -5
- package/dist/cli/{curator-w4hp7a10.js → curator-5xcy10z7.js} +37 -35
- package/dist/cli/{curator-drift-785xnxdv.js → curator-drift-kz0s2dk3.js} +6 -6
- package/dist/cli/{curator-llm-factory-p0wwyswg.js → curator-llm-factory-pc17p6kq.js} +37 -35
- package/dist/cli/doctor-knowledge-receipt-phase-id-dwtppe04.js +83 -0
- package/dist/cli/{evidence-summary-service-33qcm9xc.js → evidence-summary-service-1k2syb6b.js} +17 -16
- package/dist/cli/{gate-evidence-9ehj968e.js → gate-evidence-4vvj9bhj.js} +6 -6
- package/dist/cli/{guardrail-explain-5715fdzv.js → guardrail-explain-rxsda43z.js} +38 -36
- package/dist/cli/{guardrail-log-k1dfzfzm.js → guardrail-log-1619tcny.js} +7 -7
- package/dist/cli/{guardrail-reset-nt88n9dm.js → guardrail-reset-72zryht1.js} +37 -35
- package/dist/cli/{hive-promoter-c8fjn186.js → hive-promoter-yc3xvvq8.js} +37 -35
- package/dist/cli/{index-akt0arnt.js → index-0cpa8rnc.js} +105 -185
- package/dist/cli/{index-knbjtqwt.js → index-1hg62y01.js} +8 -6
- package/dist/cli/{index-df2p0k0s.js → index-26zs9wsj.js} +2 -2
- package/dist/cli/{index-en7vzpeq.js → index-2jxyzerw.js} +4 -4
- package/dist/cli/{index-r7gt2w1b.js → index-319qcbg7.js} +1 -1
- package/dist/cli/{index-bbqxt1p5.js → index-36y60mjx.js} +3 -3
- package/dist/cli/{index-ycz8z2db.js → index-3y0nr248.js} +3 -3
- package/dist/cli/{index-2s8wdagg.js → index-4pbp654j.js} +37 -35
- package/dist/cli/{index-t3hcd6zz.js → index-6t7ygevg.js} +1 -1
- package/dist/cli/{index-xs96nry2.js → index-868tmqy5.js} +4 -4
- package/dist/cli/{index-yw1g78v9.js → index-bstjg81q.js} +1 -1
- package/dist/cli/{index-zzxnssy3.js → index-c44vm8tc.js} +4 -4
- package/dist/cli/{index-jtncfvhe.js → index-dx6bhbd6.js} +1 -1
- package/dist/cli/{index-ww8payq9.js → index-e9ry78z5.js} +2 -2
- package/dist/cli/index-f1dxxa1n.js +748 -0
- package/dist/cli/{index-4g6sw4eq.js → index-fgbm0x7d.js} +1 -1
- package/dist/cli/{index-cx4s7cak.js → index-gathbynn.js} +39 -37
- package/dist/cli/{index-v08ksq0b.js → index-hjdeawyp.js} +2 -2
- package/dist/cli/{index-0yj79yk1.js → index-jyxgkp4a.js} +1 -1
- package/dist/cli/{index-6ersmqjd.js → index-kaf9mtpc.js} +318 -767
- package/dist/cli/{index-sztx0vyt.js → index-m2xfxk4e.js} +3 -3
- package/dist/cli/index-m9zzj4ee.js +10 -0
- package/dist/cli/{index-ectvhv8e.js → index-my8wgyqg.js} +2 -2
- package/dist/cli/{index-rm676s0p.js → index-n45kz69m.js} +1 -1
- package/dist/cli/{index-dypmvvga.js → index-n55exns2.js} +1 -1
- package/dist/cli/{index-pfpnzf6w.js → index-n8kqhxay.js} +1 -1
- package/dist/cli/{index-cppqxjw9.js → index-p9xke6h7.js} +1 -1
- package/dist/cli/{index-evy5yrsw.js → index-prqjveey.js} +3 -3
- package/dist/cli/{index-5m56c5r6.js → index-qmmzyymt.js} +4 -4
- package/dist/cli/{index-469xmpd6.js → index-r37b4crx.js} +1 -1
- package/dist/cli/{index-1vvr69ka.js → index-r7d49haj.js} +1 -1
- package/dist/cli/{index-ta48pe8j.js → index-rcmgbtxf.js} +3 -3
- package/dist/cli/{index-d6kvatwp.js → index-rs23yv3h.js} +11 -16
- package/dist/cli/{index-pymr99as.js → index-t0xcsrsf.js} +4 -4
- package/dist/cli/{index-2wgvjwpr.js → index-thx02zpn.js} +3 -3
- package/dist/cli/{index-yf0cc6c5.js → index-tv84mkce.js} +2 -2
- package/dist/cli/{index-hvr82s1t.js → index-v51qveq8.js} +4 -4
- package/dist/cli/{index-c8ffgcvz.js → index-v9y0230d.js} +1 -1
- package/dist/cli/{index-b2je0z0t.js → index-wy6wzwb3.js} +4 -4
- package/dist/cli/{index-krqq8kbq.js → index-ywwreanf.js} +6 -6
- package/dist/cli/{index-pts38j6x.js → index-z4c6bfd5.js} +2 -2
- package/dist/cli/{index-qzgfheb4.js → index-zftyb94k.js} +2 -2
- package/dist/cli/index.js +38 -36
- package/dist/cli/{knowledge-escalator-qttydcx2.js → knowledge-escalator-q60ghp3z.js} +14 -12
- package/dist/cli/{knowledge-events-4vf0vj82.js → knowledge-events-hadasxqm.js} +12 -10
- package/dist/cli/{knowledge-link-p2c8agc8.js → knowledge-link-93nzznwd.js} +4 -4
- package/dist/cli/{knowledge-store-bw1dk2eb.js → knowledge-store-y7vvwa7p.js} +5 -5
- package/dist/cli/{knowledge-validator-gefcc36h.js → knowledge-validator-3tqat3wm.js} +7 -7
- package/dist/cli/{mcp-d5p0k3p1.js → mcp-ek3wf04s.js} +1 -1
- package/dist/cli/{model-preflight-fmx49pwy.js → model-preflight-gzcmdvs7.js} +37 -35
- package/dist/cli/{pending-delegations-8333cb3y.js → pending-delegations-54k1mysp.js} +7 -7
- package/dist/cli/{pr-subscriptions-p42ny2sn.js → pr-subscriptions-sx9ch5ra.js} +7 -7
- package/dist/cli/{pr-workflow-gate-csy32z8w.js → pr-workflow-gate-yehzpb9x.js} +37 -35
- package/dist/cli/{runner-cbpr45cs.js → runner-verr6er5.js} +5 -5
- package/dist/cli/{scan-cursor-14mwymtz.js → scan-cursor-0ws87fe6.js} +6 -6
- package/dist/cli/{schema-6426g0gw.js → schema-hns0x91t.js} +2 -2
- package/dist/cli/{scope-persistence-avkv3s4m.js → scope-persistence-ct6etvdy.js} +12 -12
- package/dist/cli/{server-d9rk2zeb.js → server-hh4vy28k.js} +37 -35
- package/dist/cli/{skill-generator-epdvdsh5.js → skill-generator-9fy1nmhb.js} +16 -14
- package/dist/cli/{snapshot-coordination-init-35f7wrqb.js → snapshot-coordination-init-xjdy80bq.js} +37 -35
- package/dist/cli/{speckit-checkoff-erwa7fbj.js → speckit-checkoff-06104jte.js} +4 -4
- package/dist/cli/{telemetry-2vwb3n42.js → telemetry-xwj899pd.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-3tqkw81h.js → worktree-collision-ownership-3jefgmkc.js} +7 -7
- package/dist/cli/{worktree-isolation-0rrjqypt.js → worktree-isolation-76wbgtpk.js} +37 -35
- package/dist/commands/doctor-knowledge-receipt-phase-id.d.ts +16 -0
- package/dist/hooks/extractors.d.ts +15 -0
- package/dist/hooks/knowledge-injector.d.ts +5 -0
- package/dist/hooks/knowledge-receipt-ledger.d.ts +50 -4
- package/dist/hooks/knowledge-receipt-observability.d.ts +1 -1
- package/dist/hooks/phase-complete-directive-gate.d.ts +18 -1
- package/dist/hooks/phase-directives.d.ts +7 -3
- package/dist/index.js +57 -48
- package/dist/tools/phase-complete.d.ts +2 -2
- package/dist/tools/repair-knowledge-receipt-ledger.d.ts +26 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-26zs9wsj.js";
|
|
7
7
|
import {
|
|
8
8
|
TASK_WORKFLOW_SCHEMA_MARKER,
|
|
9
9
|
deriveApplicableGateSet,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readTaskEvidence,
|
|
13
13
|
readTaskEvidenceRaw,
|
|
14
14
|
sanitizeTaskId
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-prqjveey.js";
|
|
16
16
|
import {
|
|
17
17
|
readSwarmFileAsync,
|
|
18
18
|
validateSwarmPath
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./index-kbkk7vnh.js";
|
|
28
28
|
import {
|
|
29
29
|
withEvidenceLock
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-jyxgkp4a.js";
|
|
31
31
|
import {
|
|
32
32
|
assertProjectRoot
|
|
33
33
|
} from "./index-t7hmqgjy.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/hooks/context-sanitizer.ts
|
|
3
|
+
function sanitizeContextText(text) {
|
|
4
|
+
return text.split("").filter((char) => {
|
|
5
|
+
const code = char.charCodeAt(0);
|
|
6
|
+
return code === 9 || code === 10 || code === 13 || code > 31 && code !== 127;
|
|
7
|
+
}).join("").replace(/[\u00AD\u200B-\u200F\u2060-\u2064\uFEFF]/g, "").replace(/[\u202A-\u202E\u2066-\u2069]/g, "").replace(/```/g, "` ` `").replace(/^system\s*:/gim, "[BLOCKED]:").replace(/<system\b[^>]*>/gi, "[BLOCKED-TAG]").replace(/<\/system>/gi, "[/BLOCKED-TAG]").replace(/<tool_call\b[^>]*>/gi, "[BLOCKED-TOOL]").replace(/<\/tool_call>/gi, "[/BLOCKED-TOOL]").replace(/<\/\w+>/g, "[/BLOCKED-TAG]");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { sanitizeContextText };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-qmmzyymt.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-e9ry78z5.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteCoordinationState,
|
|
10
10
|
importCoordinationOnce,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-z4c6bfd5.js";
|
|
6
6
|
import {
|
|
7
7
|
isSpawnCwdMissing,
|
|
8
8
|
isSpawnCwdUnreadable
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
atomicWriteFile,
|
|
18
18
|
taskEvidencePath,
|
|
19
19
|
withTaskEvidenceLock
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-6t7ygevg.js";
|
|
21
21
|
import {
|
|
22
22
|
assertProjectRoot
|
|
23
23
|
} from "./index-t7hmqgjy.js";
|
|
24
24
|
import {
|
|
25
25
|
telemetry
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-dx6bhbd6.js";
|
|
27
27
|
import {
|
|
28
28
|
advisoryWarn,
|
|
29
29
|
init_git_executable,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./index-7pmbnjvj.js";
|
|
12
12
|
import {
|
|
13
13
|
withEvidenceLock
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-jyxgkp4a.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-t7hmqgjy.js";
|
|
18
18
|
import {
|
|
19
19
|
emit
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-dx6bhbd6.js";
|
|
21
21
|
import {
|
|
22
22
|
ExecutionProfileSchema,
|
|
23
23
|
PlanSchema,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
init_loader,
|
|
29
29
|
loadPluginConfig
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-r37b4crx.js";
|
|
31
31
|
import {
|
|
32
32
|
init_package,
|
|
33
33
|
package_default
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-zftyb94k.js";
|
|
35
35
|
import {
|
|
36
36
|
criticalWarn,
|
|
37
37
|
init_logger,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-r37b4crx.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zftyb94k.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bstjg81q.js";
|
|
13
13
|
|
|
14
14
|
// src/config/index.ts
|
|
15
15
|
init_constants();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-6b295cas.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-r7d49haj.js";
|
|
8
8
|
import {
|
|
9
9
|
getWorktreeMergeFailure
|
|
10
10
|
} from "./index-zsrtt42s.js";
|
|
@@ -15,6 +15,9 @@ import {
|
|
|
15
15
|
isSpawnCwdMissing,
|
|
16
16
|
isSpawnCwdUnreadable
|
|
17
17
|
} from "./index-g4fs6z4e.js";
|
|
18
|
+
import {
|
|
19
|
+
sanitizeContextText
|
|
20
|
+
} from "./index-m9zzj4ee.js";
|
|
18
21
|
import {
|
|
19
22
|
estimateCharsForTokens,
|
|
20
23
|
estimateTokens,
|
|
@@ -44,10 +47,10 @@ import {
|
|
|
44
47
|
replayFromLedgerWithStatus,
|
|
45
48
|
takeSnapshotEvent,
|
|
46
49
|
takeSnapshotWithRetry
|
|
47
|
-
} from "./index-
|
|
50
|
+
} from "./index-qmmzyymt.js";
|
|
48
51
|
import {
|
|
49
52
|
appendCoreEventSync
|
|
50
|
-
} from "./index-
|
|
53
|
+
} from "./index-e9ry78z5.js";
|
|
51
54
|
import {
|
|
52
55
|
getCoordinationState,
|
|
53
56
|
importCoordinationOnce,
|
|
@@ -69,7 +72,7 @@ import {
|
|
|
69
72
|
} from "./index-t7hmqgjy.js";
|
|
70
73
|
import {
|
|
71
74
|
emit
|
|
72
|
-
} from "./index-
|
|
75
|
+
} from "./index-dx6bhbd6.js";
|
|
73
76
|
import {
|
|
74
77
|
canonicalRootKeyFresh
|
|
75
78
|
} from "./index-fzpt2djt.js";
|
|
@@ -283,14 +286,6 @@ function transientBackoff(attempt) {
|
|
|
283
286
|
}
|
|
284
287
|
}
|
|
285
288
|
|
|
286
|
-
// src/hooks/context-sanitizer.ts
|
|
287
|
-
function sanitizeContextText(text) {
|
|
288
|
-
return text.split("").filter((char) => {
|
|
289
|
-
const code = char.charCodeAt(0);
|
|
290
|
-
return code === 9 || code === 10 || code === 13 || code > 31 && code !== 127;
|
|
291
|
-
}).join("").replace(/[\u00AD\u200B-\u200F\u2060-\u2064\uFEFF]/g, "").replace(/[\u202A-\u202E\u2066-\u2069]/g, "").replace(/```/g, "` ` `").replace(/^system\s*:/gim, "[BLOCKED]:").replace(/<system\b[^>]*>/gi, "[BLOCKED-TAG]").replace(/<\/system>/gi, "[/BLOCKED-TAG]").replace(/<tool_call\b[^>]*>/gi, "[BLOCKED-TOOL]").replace(/<\/tool_call>/gi, "[/BLOCKED-TOOL]").replace(/<\/\w+>/g, "[/BLOCKED-TAG]");
|
|
292
|
-
}
|
|
293
|
-
|
|
294
289
|
// src/plan/manager.ts
|
|
295
290
|
import {
|
|
296
291
|
closeSync,
|
|
@@ -3002,7 +2997,7 @@ ${markdown}`;
|
|
|
3002
2997
|
}
|
|
3003
2998
|
}
|
|
3004
2999
|
async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
|
|
3005
|
-
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-
|
|
3000
|
+
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-fcp7srhd.js");
|
|
3006
3001
|
return maybeSaveAutoCheckpoint(directory, plan);
|
|
3007
3002
|
}
|
|
3008
3003
|
async function updateTaskStatus(directory, taskId, status, options) {
|
|
@@ -3078,7 +3073,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
3078
3073
|
if (status === "completed") {
|
|
3079
3074
|
try {
|
|
3080
3075
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
3081
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
3076
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-06104jte.js");
|
|
3082
3077
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
3083
3078
|
taskId,
|
|
3084
3079
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -3103,7 +3098,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
3103
3098
|
break;
|
|
3104
3099
|
}
|
|
3105
3100
|
}
|
|
3106
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
3101
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-ct6etvdy.js");
|
|
3107
3102
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
3108
3103
|
directory,
|
|
3109
3104
|
taskId,
|
|
@@ -3444,4 +3439,4 @@ function migrateLegacyPlan(planContent, swarmId) {
|
|
|
3444
3439
|
return plan;
|
|
3445
3440
|
}
|
|
3446
3441
|
|
|
3447
|
-
export { buildTaskCompletionDescriptor, ensureTaskCheckpointReceipt, updateTaskCheckpointReceipt, MAX_TRANSIENT_RETRIES, isTransientSpawnError, transientBackoff, readLaneEnvFileFromDiskSync, getGitRepositoryStatus, isGitRepo, getDefaultBaseBranch, detectDefaultRemoteBranch, resetToRemoteBranch, resetToMainAfterMerge,
|
|
3442
|
+
export { buildTaskCompletionDescriptor, ensureTaskCheckpointReceipt, updateTaskCheckpointReceipt, MAX_TRANSIENT_RETRIES, isTransientSpawnError, transientBackoff, readLaneEnvFileFromDiskSync, getGitRepositoryStatus, isGitRepo, getDefaultBaseBranch, detectDefaultRemoteBranch, resetToRemoteBranch, resetToMainAfterMerge, getRunMemorySummary, isStateUnreadable, loadEpicSessionState, isEpicModeActive, enableEpicMode, disableEpicMode, PlanRecoverySupersededError, loadPlanJsonOnly, loadPlan, withPlanLifecycleLock, savePlan, closePlanTerminalState, updateTaskStatus, derivePlanMarkdown, getCurrentTaskId };
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-prqjveey.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-bejxkee0.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-e9ry78z5.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalRootKeyFresh
|
|
26
26
|
} from "./index-fzpt2djt.js";
|
|
@@ -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-76wbgtpk.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-76wbgtpk.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-f1dxxa1n.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-c44vm8tc.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-ywwreanf.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-0cpa8rnc.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-wy6wzwb3.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPlan,
|
|
8
8
|
transientBackoff,
|
|
9
9
|
updateTaskCheckpointReceipt
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-rs23yv3h.js";
|
|
11
11
|
import {
|
|
12
12
|
tool
|
|
13
13
|
} from "./index-9nyqt3kb.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
} from "./index-bejxkee0.js";
|
|
24
24
|
import {
|
|
25
25
|
readLedgerEvents
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-qmmzyymt.js";
|
|
27
27
|
import {
|
|
28
28
|
appendCoreEventSync
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-e9ry78z5.js";
|
|
30
30
|
import {
|
|
31
31
|
derivePlanId,
|
|
32
32
|
derivePlanIdentityHash
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./index-r6e8syr3.js";
|
|
45
45
|
import {
|
|
46
46
|
loadPluginConfigWithMeta
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-r37b4crx.js";
|
|
48
48
|
import {
|
|
49
49
|
init_git_executable,
|
|
50
50
|
resolveGitExecutable
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
observeStoreHealth
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-v9y0230d.js";
|
|
5
5
|
import {
|
|
6
6
|
telemetry
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-dx6bhbd6.js";
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-zftyb94k.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-bstjg81q.js";
|
|
15
15
|
import {
|
|
16
16
|
getPathFlavor,
|
|
17
17
|
init_path_identity,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-n45kz69m.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-6t7ygevg.js";
|
|
18
18
|
import {
|
|
19
19
|
require_proper_lockfile
|
|
20
20
|
} from "./index-7g4c7s5r.js";
|
|
@@ -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-hadasxqm.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-3tqat3wm.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-hns0x91t.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-2jxyzerw.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
SWARM_WORKTREE_DIR_NAME,
|
|
22
22
|
init_constants
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-bstjg81q.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
log
|
|
@@ -242,7 +242,7 @@ var _internals2 = {
|
|
|
242
242
|
symlinkSync: fs2.symlinkSync
|
|
243
243
|
},
|
|
244
244
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
245
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
245
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-ct6etvdy.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -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-bstjg81q.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.187.
|
|
24
|
+
version: "7.187.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",
|
package/dist/cli/index.js
CHANGED
|
@@ -14,79 +14,81 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-0cpa8rnc.js";
|
|
18
|
+
import"./index-wy6wzwb3.js";
|
|
19
|
+
import"./index-36y60mjx.js";
|
|
20
|
+
import"./index-m2xfxk4e.js";
|
|
21
21
|
import"./index-vx8a8w3b.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-n55exns2.js";
|
|
23
|
+
import"./index-26zs9wsj.js";
|
|
24
24
|
import"./index-txdagbh7.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-hjdeawyp.js";
|
|
26
26
|
import"./index-rdec0y3z.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
27
|
+
import"./index-319qcbg7.js";
|
|
28
|
+
import"./index-t0xcsrsf.js";
|
|
29
|
+
import"./index-thx02zpn.js";
|
|
30
|
+
import"./index-1hg62y01.js";
|
|
31
31
|
import"./index-mf19yqss.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-3y0nr248.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
34
|
import"./index-a8gvszr2.js";
|
|
35
35
|
import"./index-pt7h91zc.js";
|
|
36
36
|
import"./index-q7sjgr1y.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-v51qveq8.js";
|
|
38
|
+
import"./index-rs23yv3h.js";
|
|
39
39
|
import"./index-6b295cas.js";
|
|
40
40
|
import"./index-9nyqt3kb.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-r7d49haj.js";
|
|
42
42
|
import"./index-zsrtt42s.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
43
|
+
import"./index-p9xke6h7.js";
|
|
44
|
+
import"./index-prqjveey.js";
|
|
45
|
+
import"./index-z4c6bfd5.js";
|
|
46
46
|
import"./index-g4fs6z4e.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-868tmqy5.js";
|
|
48
|
+
import"./index-f1dxxa1n.js";
|
|
49
|
+
import"./index-kaf9mtpc.js";
|
|
50
|
+
import"./index-m9zzj4ee.js";
|
|
49
51
|
import"./index-bejxkee0.js";
|
|
50
52
|
import"./index-2s7dvzff.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
+
import"./index-c44vm8tc.js";
|
|
54
|
+
import"./index-n8kqhxay.js";
|
|
53
55
|
import"./index-rtry5xyf.js";
|
|
54
|
-
import"./index-
|
|
56
|
+
import"./index-rcmgbtxf.js";
|
|
55
57
|
import"./index-kbkk7vnh.js";
|
|
56
58
|
import"./index-0725jpp7.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-my8wgyqg.js";
|
|
60
|
+
import"./index-qmmzyymt.js";
|
|
61
|
+
import"./index-e9ry78z5.js";
|
|
60
62
|
import"./index-m1qy7f1e.js";
|
|
61
63
|
import"./index-cc1vzq4m.js";
|
|
62
64
|
import"./index-9hag235h.js";
|
|
63
65
|
import"./index-ry16d01s.js";
|
|
64
66
|
import"./index-rdm3px0g.js";
|
|
65
67
|
import"./index-7pmbnjvj.js";
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
68
|
+
import"./index-v9y0230d.js";
|
|
69
|
+
import"./index-ywwreanf.js";
|
|
68
70
|
import"./index-vzm6zre7.js";
|
|
69
71
|
import"./index-ae75rja9.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
72
|
+
import"./index-n45kz69m.js";
|
|
73
|
+
import"./index-6t7ygevg.js";
|
|
74
|
+
import"./index-jyxgkp4a.js";
|
|
73
75
|
import"./index-t7hmqgjy.js";
|
|
74
|
-
import"./index-
|
|
76
|
+
import"./index-dx6bhbd6.js";
|
|
75
77
|
import"./index-fzpt2djt.js";
|
|
76
78
|
import"./index-ejhxgyvm.js";
|
|
77
79
|
import"./index-7g4c7s5r.js";
|
|
78
80
|
import"./index-r6e8syr3.js";
|
|
79
81
|
import"./index-gx2vp8gx.js";
|
|
80
|
-
import"./index-
|
|
82
|
+
import"./index-r37b4crx.js";
|
|
81
83
|
import"./index-zxdawwc7.js";
|
|
82
84
|
import {
|
|
83
85
|
init_package,
|
|
84
86
|
package_default
|
|
85
|
-
} from "./index-
|
|
87
|
+
} from "./index-zftyb94k.js";
|
|
86
88
|
import {
|
|
87
89
|
DEFAULT_AGENT_CONFIGS,
|
|
88
90
|
init_constants
|
|
89
|
-
} from "./index-
|
|
91
|
+
} from "./index-bstjg81q.js";
|
|
90
92
|
import"./index-bk5tah7q.js";
|
|
91
93
|
import"./index-gknz3bv1.js";
|
|
92
94
|
import"./index-zpsr8rpc.js";
|
|
@@ -908,7 +910,7 @@ async function main() {
|
|
|
908
910
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
909
911
|
process.exit(exitCode);
|
|
910
912
|
} else if (command === "mcp") {
|
|
911
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
913
|
+
const { handleMcpCommand } = await import("./mcp-ek3wf04s.js");
|
|
912
914
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
913
915
|
process.exit(exitCode);
|
|
914
916
|
} else {
|