opencode-swarm 7.185.1 → 7.186.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/pr-feedback-event-queue.d.ts +3 -2
- package/dist/background/pr-feedback-loop-runtime.d.ts +4 -1
- package/dist/background/pr-feedback-loop.d.ts +2 -1
- package/dist/background/pr-monitor-worker.d.ts +9 -1
- package/dist/background/pr-subscriptions.d.ts +23 -0
- package/dist/cli/{auto-checkpoint-2jecngee.js → auto-checkpoint-wd99h2bt.js} +4 -4
- package/dist/cli/{checkpoint-qm05wdbh.js → checkpoint-kjzwsxw2.js} +8 -8
- package/dist/cli/{coder-settlement-56prayae.js → coder-settlement-kp3ph56n.js} +3 -3
- package/dist/cli/{config-doctor-3b99vx74.js → config-doctor-28ggsms8.js} +2 -2
- package/dist/cli/{core-cxnqsrxp.js → core-pj2fz34e.js} +1 -1
- package/dist/cli/{curator-drift-dt4g79a4.js → curator-drift-q84jn9cc.js} +5 -5
- package/dist/cli/{curator-llm-factory-hkk29g2y.js → curator-llm-factory-13h02244.js} +25 -25
- package/dist/cli/{curator-5k3mktpe.js → curator-r0jfc7xw.js} +25 -25
- package/dist/cli/{evidence-summary-service-8e2fghz0.js → evidence-summary-service-rsectw2t.js} +9 -9
- package/dist/cli/{gate-evidence-vk8rebsx.js → gate-evidence-mpwhcm2s.js} +2 -2
- package/dist/cli/{guardrail-explain-ma658hkw.js → guardrail-explain-njv3pnsw.js} +26 -26
- package/dist/cli/{guardrail-log-m6mydjet.js → guardrail-log-r8zmh4rd.js} +3 -3
- package/dist/cli/{guardrail-reset-w41yndke.js → guardrail-reset-11cvwgbe.js} +25 -25
- package/dist/cli/{hive-promoter-400xzdds.js → hive-promoter-0vg8w79a.js} +25 -25
- package/dist/cli/{index-ek5gvpvm.js → index-151bdyf9.js} +3 -3
- package/dist/cli/{index-rtznwf0g.js → index-22f1ek6k.js} +25 -25
- package/dist/cli/{index-r9zc92pb.js → index-4dwhfbed.js} +27 -27
- package/dist/cli/{index-ss6b8jpz.js → index-4fd28s8v.js} +1 -1
- package/dist/cli/{index-ycqsnfd1.js → index-5pa0e0k3.js} +1 -1
- package/dist/cli/{index-07bk0zm9.js → index-6bfcsczm.js} +1 -1
- package/dist/cli/{index-2b3bgm20.js → index-6ndc8cmn.js} +1 -1
- package/dist/cli/{index-5n08z6qj.js → index-7xt5m1cz.js} +5 -5
- package/dist/cli/{index-nw16apxs.js → index-9th8npp7.js} +1 -1
- package/dist/cli/{index-dz5cbkrm.js → index-9y6cyc7z.js} +3 -3
- package/dist/cli/{index-ekyg4p8b.js → index-a1tpq5zr.js} +1 -1
- package/dist/cli/{index-nhw5rt5x.js → index-a6h5arqs.js} +3 -3
- package/dist/cli/{index-pa6fzbms.js → index-amamkcpy.js} +1 -1
- package/dist/cli/{index-dryhmaft.js → index-bajvxmnb.js} +2 -2
- package/dist/cli/{index-hgfkcb1q.js → index-bgpq7wn2.js} +754 -565
- package/dist/cli/{index-7jt24hpz.js → index-d7mcdyqb.js} +2 -2
- package/dist/cli/{index-cnbpht7m.js → index-fp4hxcsy.js} +1 -1
- package/dist/cli/{index-s7va6n84.js → index-hvmfa7m8.js} +1 -1
- package/dist/cli/{index-cp2nerjd.js → index-j972ags2.js} +38 -15
- package/dist/cli/{index-9h93zjm3.js → index-jxd67x6z.js} +1 -1
- package/dist/cli/{index-zt3taseq.js → index-kv3n7g8w.js} +1 -1
- package/dist/cli/{index-7n3h39h9.js → index-m94gfe82.js} +4 -4
- package/dist/cli/{index-m1bhg85z.js → index-nxjm66qb.js} +2 -2
- package/dist/cli/{index-fa014mra.js → index-p6bvzgp2.js} +3 -3
- package/dist/cli/{index-2c6e1p7j.js → index-p9m1nhds.js} +1 -1
- package/dist/cli/{index-rr1dggfe.js → index-qyjyd3ej.js} +1 -1
- package/dist/cli/{index-6wqv8f7d.js → index-vk3ngryj.js} +1 -1
- package/dist/cli/{index-ppj5bjaq.js → index-w2b8qq6d.js} +3 -3
- package/dist/cli/{index-pppjg0ct.js → index-wkv1qdb0.js} +13 -15
- package/dist/cli/{index-smwybqka.js → index-wmazt588.js} +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-30bb9fyg.js → knowledge-escalator-7xcd0zea.js} +6 -6
- package/dist/cli/{knowledge-events-gfbx97x0.js → knowledge-events-e4ts8y2v.js} +4 -4
- package/dist/cli/{knowledge-store-2ssd489f.js → knowledge-store-mmeqmjwj.js} +1 -1
- package/dist/cli/{knowledge-validator-7bxvezgv.js → knowledge-validator-w2ttgxyj.js} +2 -2
- package/dist/cli/{mcp-apr65eya.js → mcp-5dmm4fk2.js} +1 -1
- package/dist/cli/{model-preflight-g7b12yn2.js → model-preflight-kap3zp3g.js} +25 -25
- package/dist/cli/{pending-delegations-x8q7cxr7.js → pending-delegations-q3sj608s.js} +2 -2
- package/dist/cli/{pr-subscriptions-qwr6ybcb.js → pr-subscriptions-qw4wjv66.js} +4 -2
- package/dist/cli/{pr-workflow-gate-qd5tfkak.js → pr-workflow-gate-tdj50p2g.js} +25 -25
- package/dist/cli/{scan-cursor-1m6dj2s2.js → scan-cursor-fgecb928.js} +2 -2
- package/dist/cli/{schema-yvhamv41.js → schema-zrcgm9d9.js} +1 -1
- package/dist/cli/{scope-persistence-xdedbzdg.js → scope-persistence-08xd3kyb.js} +5 -5
- package/dist/cli/{server-nhdkvdt2.js → server-kng2nggc.js} +25 -25
- package/dist/cli/{skill-generator-fzvp9m8z.js → skill-generator-dztn1ctf.js} +7 -7
- package/dist/cli/{snapshot-coordination-init-xqxek8kn.js → snapshot-coordination-init-5q0hac3d.js} +25 -25
- package/dist/cli/{speckit-checkoff-57tf4079.js → speckit-checkoff-hhsy83m9.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-80n814a8.js → worktree-collision-ownership-e2cqcmnw.js} +2 -2
- package/dist/cli/{worktree-isolation-kaxkr61t.js → worktree-isolation-refd2n16.js} +25 -25
- package/dist/git/pr.d.ts +73 -0
- package/dist/hooks/pr-workflow-gate.d.ts +2 -0
- package/dist/index.js +34 -34
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-a1tpq5zr.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-qyjyd3ej.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -293,20 +293,6 @@ function canonicalForgePrUrl(value, configured) {
|
|
|
293
293
|
return null;
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
function getProviderCapabilities(provider) {
|
|
297
|
-
if (provider === "gitlab") {
|
|
298
|
-
return {
|
|
299
|
-
statusCheckRollup: false,
|
|
300
|
-
reviewDecision: false,
|
|
301
|
-
mergeStateStatus: false
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
return {
|
|
305
|
-
statusCheckRollup: true,
|
|
306
|
-
reviewDecision: true,
|
|
307
|
-
mergeStateStatus: true
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
296
|
function resolveForgeContextFromPluginConfig(pluginConfig, remotes) {
|
|
311
297
|
if (!pluginConfig?.forge)
|
|
312
298
|
return null;
|
|
@@ -2569,6 +2555,43 @@ async function lookupByPr(directory, repoFullName, prNumber) {
|
|
|
2569
2555
|
}
|
|
2570
2556
|
return null;
|
|
2571
2557
|
}
|
|
2558
|
+
async function findSubscriptionRecordForPrUrl(directory, key) {
|
|
2559
|
+
if (key.repoFullName !== undefined && key.prNumber !== undefined) {
|
|
2560
|
+
const record = await lookupByPr(directory, key.repoFullName, key.prNumber);
|
|
2561
|
+
if (record && (!key.sessionID || record.sessionID === key.sessionID) && (key.prUrl === undefined || record.prUrl === key.prUrl || subscriptionPrUrlMatches(record, key.prUrl))) {
|
|
2562
|
+
return record;
|
|
2563
|
+
}
|
|
2564
|
+
if (!key.sessionID)
|
|
2565
|
+
return null;
|
|
2566
|
+
}
|
|
2567
|
+
if (key.prUrl === undefined && key.repoFullName === undefined)
|
|
2568
|
+
return null;
|
|
2569
|
+
if (key.prUrl === undefined) {
|
|
2570
|
+
const active2 = await listActive(directory);
|
|
2571
|
+
for (const record of active2) {
|
|
2572
|
+
if (key.sessionID && record.sessionID !== key.sessionID)
|
|
2573
|
+
continue;
|
|
2574
|
+
if (record.repoFullName === key.repoFullName && record.prNumber === key.prNumber) {
|
|
2575
|
+
return record;
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
return null;
|
|
2579
|
+
}
|
|
2580
|
+
const active = await listActive(directory);
|
|
2581
|
+
for (const record of active) {
|
|
2582
|
+
if (key.sessionID && record.sessionID !== key.sessionID)
|
|
2583
|
+
continue;
|
|
2584
|
+
if (record.prUrl === key.prUrl || subscriptionPrUrlMatches(record, key.prUrl)) {
|
|
2585
|
+
return record;
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
return null;
|
|
2589
|
+
}
|
|
2590
|
+
function subscriptionPrUrlMatches(record, prUrl) {
|
|
2591
|
+
const left = canonicalForgePrUrl(record.prUrl, record.forge);
|
|
2592
|
+
const right = canonicalForgePrUrl(prUrl, record.forge);
|
|
2593
|
+
return left !== null && left === right;
|
|
2594
|
+
}
|
|
2572
2595
|
async function updateSnapshot(directory, correlationId, updates) {
|
|
2573
2596
|
if (!correlationId)
|
|
2574
2597
|
return null;
|
|
@@ -2874,4 +2897,4 @@ var _internals = {
|
|
|
2874
2897
|
writeCheckpointFile
|
|
2875
2898
|
};
|
|
2876
2899
|
|
|
2877
|
-
export { containsControlCharacters, hasNonAsciiHostname, isPrivateHost, detectForgeFromUrl, matchForgeResourceUrl, parseForgeRemoteUrl, buildPrUrl, buildIssueUrl, canonicalForgePrUrl,
|
|
2900
|
+
export { containsControlCharacters, hasNonAsciiHostname, isPrivateHost, detectForgeFromUrl, matchForgeResourceUrl, parseForgeRemoteUrl, buildPrUrl, buildIssueUrl, canonicalForgePrUrl, resolveForgeContextFromPluginConfig, PR_SUBSCRIPTIONS_FILE, PR_SUBSCRIPTIONS_CHECKPOINT_FILE, PR_SUBSCRIPTIONS_AUDIT_FILE, PR_SUBSCRIPTION_LIMITS, setOnSubscriptionCreated, registerPrMonitorWorkerHandler, removePrMonitorWorkerHandler, ensurePrSubscriptionDispatcherInstalled, PrSubscriptionCapacityError, isPrSubscriptionCapacityError, buildCorrelationId, subscribe, unsubscribe, listActive, lookupByPr, findSubscriptionRecordForPrUrl, updateSnapshot, sweepStale, getPrSubscriptionHealth, _internals };
|
|
@@ -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-e4ts8y2v.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-w2ttgxyj.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-zrcgm9d9.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-p6bvzgp2.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-bgpq7wn2.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-4fd28s8v.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-d7mcdyqb.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
loadPluginConfigWithMeta,
|
|
47
47
|
loadPluginConfigWithMetaAsync,
|
|
48
48
|
resetConfigAdvisoryDedup
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-a1tpq5zr.js";
|
|
50
50
|
import"./index-zxdawwc7.js";
|
|
51
51
|
import {
|
|
52
52
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
TurboConfigSchema,
|
|
73
73
|
WorktreeIsolationConfigSchema,
|
|
74
74
|
resolveAutoReviewConfig
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-qyjyd3ej.js";
|
|
76
76
|
import {
|
|
77
77
|
ALL_AGENT_NAMES,
|
|
78
78
|
ALL_SUBAGENT_NAMES,
|
|
@@ -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-08xd3kyb.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -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.186.0",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
} from "./index-7g4c7s5r.js";
|
|
29
29
|
import {
|
|
30
30
|
loadPluginConfigWithMeta
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-a1tpq5zr.js";
|
|
32
32
|
import {
|
|
33
33
|
KnowledgeConfigSchema,
|
|
34
34
|
init_schema
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-qyjyd3ej.js";
|
|
36
36
|
import {
|
|
37
37
|
init_logger,
|
|
38
38
|
warn
|
|
@@ -2946,7 +2946,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
let bumps = 0;
|
|
2948
2948
|
if (deltas.length > 0) {
|
|
2949
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2949
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-mmeqmjwj.js");
|
|
2950
2950
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2951
2951
|
}
|
|
2952
2952
|
return {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-6b295cas.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-6ndc8cmn.js";
|
|
8
8
|
import {
|
|
9
9
|
getWorktreeMergeFailure
|
|
10
10
|
} from "./index-zsrtt42s.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
replayFromLedgerWithStatus,
|
|
45
45
|
takeSnapshotEvent,
|
|
46
46
|
takeSnapshotWithRetry
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-bajvxmnb.js";
|
|
48
48
|
import {
|
|
49
49
|
appendCoreEventSync
|
|
50
50
|
} from "./index-373880cv.js";
|
|
@@ -283,6 +283,14 @@ function transientBackoff(attempt) {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
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
|
+
|
|
286
294
|
// src/plan/manager.ts
|
|
287
295
|
import {
|
|
288
296
|
closeSync,
|
|
@@ -938,16 +946,6 @@ var _internals = {
|
|
|
938
946
|
// src/services/run-memory.ts
|
|
939
947
|
import * as crypto from "crypto";
|
|
940
948
|
import * as fs from "fs/promises";
|
|
941
|
-
|
|
942
|
-
// src/hooks/context-sanitizer.ts
|
|
943
|
-
function sanitizeContextText(text) {
|
|
944
|
-
return text.split("").filter((char) => {
|
|
945
|
-
const code = char.charCodeAt(0);
|
|
946
|
-
return code === 9 || code === 10 || code === 13 || code > 31 && code !== 127;
|
|
947
|
-
}).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]");
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
// src/services/run-memory.ts
|
|
951
949
|
init_logger();
|
|
952
950
|
var RUN_MEMORY_FILENAME = "run-memory.jsonl";
|
|
953
951
|
var MAX_SUMMARY_TOKENS = 500;
|
|
@@ -3004,7 +3002,7 @@ ${markdown}`;
|
|
|
3004
3002
|
}
|
|
3005
3003
|
}
|
|
3006
3004
|
async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
|
|
3007
|
-
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-
|
|
3005
|
+
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-wd99h2bt.js");
|
|
3008
3006
|
return maybeSaveAutoCheckpoint(directory, plan);
|
|
3009
3007
|
}
|
|
3010
3008
|
async function updateTaskStatus(directory, taskId, status, options) {
|
|
@@ -3080,7 +3078,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
3080
3078
|
if (status === "completed") {
|
|
3081
3079
|
try {
|
|
3082
3080
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
3083
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
3081
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-hhsy83m9.js");
|
|
3084
3082
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
3085
3083
|
taskId,
|
|
3086
3084
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -3105,7 +3103,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
3105
3103
|
break;
|
|
3106
3104
|
}
|
|
3107
3105
|
}
|
|
3108
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
3106
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-08xd3kyb.js");
|
|
3109
3107
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
3110
3108
|
directory,
|
|
3111
3109
|
taskId,
|
package/dist/cli/index.js
CHANGED
|
@@ -14,48 +14,48 @@ 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-bgpq7wn2.js";
|
|
18
|
+
import"./index-4fd28s8v.js";
|
|
19
|
+
import"./index-jxd67x6z.js";
|
|
20
|
+
import"./index-amamkcpy.js";
|
|
21
21
|
import"./index-7bxssqaf.js";
|
|
22
22
|
import"./index-1fc5aj26.js";
|
|
23
23
|
import"./index-62akgg9d.js";
|
|
24
24
|
import"./index-txdagbh7.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-wmazt588.js";
|
|
26
26
|
import"./index-rdec0y3z.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
27
|
+
import"./index-hvmfa7m8.js";
|
|
28
|
+
import"./index-151bdyf9.js";
|
|
29
|
+
import"./index-9y6cyc7z.js";
|
|
30
|
+
import"./index-7xt5m1cz.js";
|
|
31
31
|
import"./index-s68z4a39.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-j972ags2.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
34
|
import"./index-vqz0avr4.js";
|
|
35
35
|
import"./index-pt7h91zc.js";
|
|
36
36
|
import"./index-q7sjgr1y.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-a6h5arqs.js";
|
|
38
|
+
import"./index-wkv1qdb0.js";
|
|
39
39
|
import"./index-6b295cas.js";
|
|
40
40
|
import"./index-9nyqt3kb.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-6ndc8cmn.js";
|
|
42
42
|
import"./index-zsrtt42s.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
43
|
+
import"./index-kv3n7g8w.js";
|
|
44
|
+
import"./index-fp4hxcsy.js";
|
|
45
|
+
import"./index-p9m1nhds.js";
|
|
46
46
|
import"./index-g4fs6z4e.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-9th8npp7.js";
|
|
48
|
+
import"./index-w2b8qq6d.js";
|
|
49
49
|
import"./index-afmyp3kt.js";
|
|
50
50
|
import"./index-2s7dvzff.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-5pa0e0k3.js";
|
|
52
52
|
import"./index-8nsjefpc.js";
|
|
53
53
|
import"./index-rtry5xyf.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-d7mcdyqb.js";
|
|
55
55
|
import"./index-frcemc0b.js";
|
|
56
56
|
import"./index-0725jpp7.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-vk3ngryj.js";
|
|
58
|
+
import"./index-bajvxmnb.js";
|
|
59
59
|
import"./index-373880cv.js";
|
|
60
60
|
import"./index-9g61bfj9.js";
|
|
61
61
|
import"./index-nen885g8.js";
|
|
@@ -64,7 +64,7 @@ import"./index-ry16d01s.js";
|
|
|
64
64
|
import"./index-rdm3px0g.js";
|
|
65
65
|
import"./index-7pmbnjvj.js";
|
|
66
66
|
import"./index-xgdypzch.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-m94gfe82.js";
|
|
68
68
|
import"./index-vzm6zre7.js";
|
|
69
69
|
import"./index-ae75rja9.js";
|
|
70
70
|
import"./index-zxck9sr7.js";
|
|
@@ -78,12 +78,12 @@ import"./index-ejhxgyvm.js";
|
|
|
78
78
|
import"./index-7g4c7s5r.js";
|
|
79
79
|
import"./index-yj7etak0.js";
|
|
80
80
|
import"./index-gx2vp8gx.js";
|
|
81
|
-
import"./index-
|
|
81
|
+
import"./index-a1tpq5zr.js";
|
|
82
82
|
import"./index-zxdawwc7.js";
|
|
83
83
|
import {
|
|
84
84
|
init_package,
|
|
85
85
|
package_default
|
|
86
|
-
} from "./index-
|
|
86
|
+
} from "./index-qyjyd3ej.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_AGENT_CONFIGS,
|
|
89
89
|
init_constants
|
|
@@ -909,7 +909,7 @@ async function main() {
|
|
|
909
909
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
910
910
|
process.exit(exitCode);
|
|
911
911
|
} else if (command === "mcp") {
|
|
912
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
912
|
+
const { handleMcpCommand } = await import("./mcp-5dmm4fk2.js");
|
|
913
913
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
914
914
|
process.exit(exitCode);
|
|
915
915
|
} else {
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
} from "./index-7xt5m1cz.js";
|
|
13
|
+
import"./index-w2b8qq6d.js";
|
|
14
14
|
import"./index-afmyp3kt.js";
|
|
15
15
|
import"./index-2s7dvzff.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-d7mcdyqb.js";
|
|
17
17
|
import"./index-frcemc0b.js";
|
|
18
18
|
import"./index-0725jpp7.js";
|
|
19
19
|
import"./index-xgdypzch.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-m94gfe82.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
23
|
import"./index-zxck9sr7.js";
|
|
@@ -31,9 +31,9 @@ import"./index-ejhxgyvm.js";
|
|
|
31
31
|
import"./index-7g4c7s5r.js";
|
|
32
32
|
import"./index-yj7etak0.js";
|
|
33
33
|
import"./index-gx2vp8gx.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-a1tpq5zr.js";
|
|
35
35
|
import"./index-zxdawwc7.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-qyjyd3ej.js";
|
|
37
37
|
import"./index-48jvqqfa.js";
|
|
38
38
|
import"./index-bk5tah7q.js";
|
|
39
39
|
import"./index-gknz3bv1.js";
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-w2b8qq6d.js";
|
|
33
33
|
import"./index-afmyp3kt.js";
|
|
34
34
|
import"./index-2s7dvzff.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-d7mcdyqb.js";
|
|
36
36
|
import"./index-frcemc0b.js";
|
|
37
37
|
import"./index-0725jpp7.js";
|
|
38
38
|
import"./index-xgdypzch.js";
|
|
@@ -48,9 +48,9 @@ import"./index-ejhxgyvm.js";
|
|
|
48
48
|
import"./index-7g4c7s5r.js";
|
|
49
49
|
import"./index-yj7etak0.js";
|
|
50
50
|
import"./index-gx2vp8gx.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-a1tpq5zr.js";
|
|
52
52
|
import"./index-zxdawwc7.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-qyjyd3ej.js";
|
|
54
54
|
import"./index-48jvqqfa.js";
|
|
55
55
|
import"./index-bk5tah7q.js";
|
|
56
56
|
import"./index-gknz3bv1.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-5pa0e0k3.js";
|
|
27
27
|
import"./index-8nsjefpc.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-m94gfe82.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-zxck9sr7.js";
|
|
@@ -95,7 +95,7 @@ function resolveMcpRoot(input) {
|
|
|
95
95
|
}
|
|
96
96
|
var _internals = {
|
|
97
97
|
runMcpServer: async (options) => {
|
|
98
|
-
const { runMcpServer } = await import("./server-
|
|
98
|
+
const { runMcpServer } = await import("./server-kng2nggc.js");
|
|
99
99
|
return runMcpServer(options);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
@@ -4,48 +4,48 @@ import {
|
|
|
4
4
|
resolveEffectiveAgentOverride,
|
|
5
5
|
resolvePrimaryAgentNames,
|
|
6
6
|
resolveRegisteredAgentModel
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
7
|
+
} from "./index-bgpq7wn2.js";
|
|
8
|
+
import"./index-4fd28s8v.js";
|
|
9
|
+
import"./index-jxd67x6z.js";
|
|
10
|
+
import"./index-amamkcpy.js";
|
|
11
11
|
import"./index-7bxssqaf.js";
|
|
12
12
|
import"./index-1fc5aj26.js";
|
|
13
13
|
import"./index-62akgg9d.js";
|
|
14
14
|
import"./index-txdagbh7.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-wmazt588.js";
|
|
16
16
|
import"./index-rdec0y3z.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
import"./index-hvmfa7m8.js";
|
|
18
|
+
import"./index-151bdyf9.js";
|
|
19
|
+
import"./index-9y6cyc7z.js";
|
|
20
|
+
import"./index-7xt5m1cz.js";
|
|
21
21
|
import"./index-s68z4a39.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-j972ags2.js";
|
|
23
23
|
import"./index-cjapb4hy.js";
|
|
24
24
|
import"./index-vqz0avr4.js";
|
|
25
25
|
import"./index-pt7h91zc.js";
|
|
26
26
|
import"./index-q7sjgr1y.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-a6h5arqs.js";
|
|
28
|
+
import"./index-wkv1qdb0.js";
|
|
29
29
|
import"./index-6b295cas.js";
|
|
30
30
|
import"./index-9nyqt3kb.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-6ndc8cmn.js";
|
|
32
32
|
import"./index-zsrtt42s.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-kv3n7g8w.js";
|
|
34
|
+
import"./index-fp4hxcsy.js";
|
|
35
|
+
import"./index-p9m1nhds.js";
|
|
36
36
|
import"./index-g4fs6z4e.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-9th8npp7.js";
|
|
38
|
+
import"./index-w2b8qq6d.js";
|
|
39
39
|
import"./index-afmyp3kt.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-5pa0e0k3.js";
|
|
42
42
|
import"./index-8nsjefpc.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-d7mcdyqb.js";
|
|
45
45
|
import"./index-frcemc0b.js";
|
|
46
46
|
import"./index-0725jpp7.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-vk3ngryj.js";
|
|
48
|
+
import"./index-bajvxmnb.js";
|
|
49
49
|
import"./index-373880cv.js";
|
|
50
50
|
import"./index-9g61bfj9.js";
|
|
51
51
|
import"./index-nen885g8.js";
|
|
@@ -54,7 +54,7 @@ import"./index-ry16d01s.js";
|
|
|
54
54
|
import"./index-rdm3px0g.js";
|
|
55
55
|
import"./index-7pmbnjvj.js";
|
|
56
56
|
import"./index-xgdypzch.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-m94gfe82.js";
|
|
58
58
|
import"./index-vzm6zre7.js";
|
|
59
59
|
import"./index-ae75rja9.js";
|
|
60
60
|
import"./index-zxck9sr7.js";
|
|
@@ -68,12 +68,12 @@ import"./index-ejhxgyvm.js";
|
|
|
68
68
|
import"./index-7g4c7s5r.js";
|
|
69
69
|
import"./index-yj7etak0.js";
|
|
70
70
|
import"./index-gx2vp8gx.js";
|
|
71
|
-
import"./index-
|
|
71
|
+
import"./index-a1tpq5zr.js";
|
|
72
72
|
import"./index-zxdawwc7.js";
|
|
73
73
|
import {
|
|
74
74
|
init_schema,
|
|
75
75
|
stripKnownSwarmPrefix
|
|
76
|
-
} from "./index-
|
|
76
|
+
} from "./index-qyjyd3ej.js";
|
|
77
77
|
import {
|
|
78
78
|
ALL_AGENT_NAMES,
|
|
79
79
|
DEFAULT_MODELS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
sweepStaleDelegations,
|
|
73
73
|
updateCoderSettlement,
|
|
74
74
|
writeDelegationFallback
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-9th8npp7.js";
|
|
76
76
|
import"./index-afmyp3kt.js";
|
|
77
77
|
import"./index-2s7dvzff.js";
|
|
78
78
|
import"./index-9g61bfj9.js";
|
|
@@ -82,7 +82,7 @@ import"./index-ry16d01s.js";
|
|
|
82
82
|
import"./index-rdm3px0g.js";
|
|
83
83
|
import"./index-7pmbnjvj.js";
|
|
84
84
|
import"./index-xgdypzch.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-m94gfe82.js";
|
|
86
86
|
import"./index-vzm6zre7.js";
|
|
87
87
|
import"./index-ae75rja9.js";
|
|
88
88
|
import"./index-zxck9sr7.js";
|