opencode-swarm 7.186.6 → 7.186.7
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/{auto-checkpoint-bgd0a0fe.js → auto-checkpoint-2wez0vzz.js} +4 -4
- package/dist/cli/{checkpoint-t8c2gmqm.js → checkpoint-ywqsp7d7.js} +8 -8
- package/dist/cli/{coder-settlement-vk29vfn1.js → coder-settlement-nfzcjeda.js} +3 -3
- package/dist/cli/{config-doctor-8xynpb9m.js → config-doctor-1fjsn7zq.js} +2 -2
- package/dist/cli/{core-fcnw5r5t.js → core-xs68b2jw.js} +1 -1
- package/dist/cli/{curator-drift-qjfxv50p.js → curator-drift-cz65fcz0.js} +5 -5
- package/dist/cli/{curator-llm-factory-24megesc.js → curator-llm-factory-p9r4sb0v.js} +24 -24
- package/dist/cli/{curator-8tkrb089.js → curator-nejfgxfm.js} +24 -24
- package/dist/cli/{evidence-summary-service-dnr5a5pk.js → evidence-summary-service-0jt68dq5.js} +9 -9
- package/dist/cli/{gate-evidence-tcamm09w.js → gate-evidence-ypmdcgrt.js} +2 -2
- package/dist/cli/{guardrail-explain-e1v8k0wp.js → guardrail-explain-c42va9fp.js} +25 -25
- package/dist/cli/{guardrail-log-cxxmstms.js → guardrail-log-1hv4awyg.js} +3 -3
- package/dist/cli/{guardrail-reset-457d9p0v.js → guardrail-reset-cpw83epe.js} +24 -24
- package/dist/cli/{hive-promoter-sq960nda.js → hive-promoter-y1f7zsrj.js} +24 -24
- package/dist/cli/{index-qmg435z5.js → index-059dnh78.js} +5 -5
- package/dist/cli/{index-pbd3cefv.js → index-2rkw7nft.js} +3 -3
- package/dist/cli/{index-re2t51n9.js → index-4c4s8yww.js} +2 -2
- package/dist/cli/{index-pg9v3yc1.js → index-5z3qzesd.js} +4 -4
- package/dist/cli/{index-b1vt7jcj.js → index-63e62vkg.js} +59 -59
- package/dist/cli/{index-kdtgj87n.js → index-671k5bzj.js} +2 -2
- package/dist/cli/{index-20qmrz79.js → index-8t5z1yxt.js} +3 -3
- package/dist/cli/{index-xhqzrh7e.js → index-93mgmhe5.js} +26 -26
- package/dist/cli/{index-da44jcxw.js → index-9n1va1c4.js} +1 -1
- package/dist/cli/{index-5v7s12fm.js → index-9qgncxbv.js} +1 -1
- package/dist/cli/{index-cm20cnc4.js → index-d7sxckqj.js} +5 -5
- package/dist/cli/{index-zsvy6hyj.js → index-e27aph2j.js} +3 -3
- package/dist/cli/{index-p47yt21j.js → index-emjnn90k.js} +1 -1
- package/dist/cli/{index-2nvwnfhp.js → index-fzah4ctw.js} +1 -1
- package/dist/cli/{index-zdvee7mc.js → index-gaf95msf.js} +1 -1
- package/dist/cli/{index-jabe1bne.js → index-gmwzspch.js} +2 -2
- package/dist/cli/{index-k47skbz0.js → index-kb30szp0.js} +1 -1
- package/dist/cli/{index-090p63c6.js → index-mpvvgktj.js} +1 -1
- package/dist/cli/{index-rqtdtzv6.js → index-q93b3xdh.js} +24 -24
- package/dist/cli/{index-fsy8r0je.js → index-qc8r1gy4.js} +1 -1
- package/dist/cli/{index-23hjgzze.js → index-qs706r9x.js} +1 -1
- package/dist/cli/{index-1835td25.js → index-qwd1qpmg.js} +1 -1
- package/dist/cli/{index-rrn60xvr.js → index-qy60v48q.js} +1 -1
- package/dist/cli/{index-4rkx8wz7.js → index-rsrsv4c6.js} +1 -1
- package/dist/cli/{index-cj326ajn.js → index-v3w5y2zp.js} +1 -1
- package/dist/cli/{index-hgbz52qk.js → index-vtbehfx1.js} +1 -1
- package/dist/cli/{index-5h9nwtwr.js → index-w4q83wf9.js} +3 -3
- package/dist/cli/{index-2qhj0zq0.js → index-xadre3f0.js} +1 -1
- package/dist/cli/{index-422vhxgk.js → index-yan163x1.js} +3 -3
- package/dist/cli/index.js +25 -25
- package/dist/cli/{knowledge-escalator-0tbrvw0y.js → knowledge-escalator-1g4ewbtd.js} +6 -6
- package/dist/cli/{knowledge-events-htkej7nz.js → knowledge-events-t4axcrwt.js} +4 -4
- package/dist/cli/{knowledge-store-w2yc2809.js → knowledge-store-dfdktsc9.js} +1 -1
- package/dist/cli/{knowledge-validator-jkhcf22k.js → knowledge-validator-kraghq1k.js} +2 -2
- package/dist/cli/{mcp-tmmf89e9.js → mcp-gv7qrj3a.js} +1 -1
- package/dist/cli/{model-preflight-v02k622n.js → model-preflight-gztv8xqx.js} +24 -24
- package/dist/cli/{pending-delegations-dhak2kek.js → pending-delegations-rxyjgkrw.js} +2 -2
- package/dist/cli/{pr-subscriptions-aaec8rne.js → pr-subscriptions-csr7n0mx.js} +1 -1
- package/dist/cli/{pr-workflow-gate-szwc4bd9.js → pr-workflow-gate-3nrrg0je.js} +24 -24
- package/dist/cli/{scan-cursor-nyys1xp0.js → scan-cursor-0v2a2kya.js} +2 -2
- package/dist/cli/{schema-3x47j05d.js → schema-zzz1ddnv.js} +1 -1
- package/dist/cli/{scope-persistence-9a0cq54w.js → scope-persistence-5p4kkrgt.js} +5 -5
- package/dist/cli/{server-ky8hhr3h.js → server-96a0yyge.js} +24 -24
- package/dist/cli/{skill-generator-cvmvggej.js → skill-generator-v5q1vkxk.js} +7 -7
- package/dist/cli/{snapshot-coordination-init-7714e0rg.js → snapshot-coordination-init-7cr259p8.js} +24 -24
- package/dist/cli/{speckit-checkoff-atsgqxqd.js → speckit-checkoff-j9skdc02.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-1hn0zvr1.js → worktree-collision-ownership-k5kcnw6t.js} +2 -2
- package/dist/cli/{worktree-isolation-xkdx8hne.js → worktree-isolation-p0p13n1e.js} +24 -24
- package/dist/hooks/diff-scope.d.ts +6 -0
- package/dist/index.js +6 -5
- package/dist/state.d.ts +6 -0
- package/dist/tools/update-task-status.d.ts +7 -0
- package/package.json +1 -1
|
@@ -7,48 +7,48 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-63e62vkg.js";
|
|
11
|
+
import"./index-qwd1qpmg.js";
|
|
12
|
+
import"./index-rsrsv4c6.js";
|
|
13
|
+
import"./index-mpvvgktj.js";
|
|
14
14
|
import"./index-7bxssqaf.js";
|
|
15
15
|
import"./index-h9gkgwn6.js";
|
|
16
16
|
import"./index-8jhpedx9.js";
|
|
17
17
|
import"./index-txdagbh7.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-kb30szp0.js";
|
|
19
19
|
import"./index-rdec0y3z.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
20
|
+
import"./index-emjnn90k.js";
|
|
21
|
+
import"./index-8t5z1yxt.js";
|
|
22
|
+
import"./index-2rkw7nft.js";
|
|
23
|
+
import"./index-d7sxckqj.js";
|
|
24
24
|
import"./index-5z1xrkaa.js";
|
|
25
25
|
import"./index-tq8f6ar8.js";
|
|
26
26
|
import"./index-cjapb4hy.js";
|
|
27
27
|
import"./index-zyx7p0kb.js";
|
|
28
28
|
import"./index-pt7h91zc.js";
|
|
29
29
|
import"./index-q7sjgr1y.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-w4q83wf9.js";
|
|
31
|
+
import"./index-059dnh78.js";
|
|
32
32
|
import"./index-6b295cas.js";
|
|
33
33
|
import"./index-9nyqt3kb.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-9qgncxbv.js";
|
|
35
35
|
import"./index-zsrtt42s.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-qy60v48q.js";
|
|
37
|
+
import"./index-v3w5y2zp.js";
|
|
38
|
+
import"./index-fzah4ctw.js";
|
|
39
39
|
import"./index-g4fs6z4e.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-xadre3f0.js";
|
|
41
|
+
import"./index-yan163x1.js";
|
|
42
42
|
import"./index-j2m9q6w1.js";
|
|
43
43
|
import"./index-2s7dvzff.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-qs706r9x.js";
|
|
45
45
|
import"./index-j0j82th1.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-4c4s8yww.js";
|
|
48
48
|
import"./index-kbkk7vnh.js";
|
|
49
49
|
import"./index-0725jpp7.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-vtbehfx1.js";
|
|
51
|
+
import"./index-gmwzspch.js";
|
|
52
52
|
import"./index-743kwz1r.js";
|
|
53
53
|
import"./index-q4vf9k47.js";
|
|
54
54
|
import"./index-gvch83kc.js";
|
|
@@ -59,7 +59,7 @@ import"./index-7pmbnjvj.js";
|
|
|
59
59
|
import"./index-8y9p665v.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveHiveKnowledgePath
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-5z3qzesd.js";
|
|
63
63
|
import"./index-vzm6zre7.js";
|
|
64
64
|
import"./index-ae75rja9.js";
|
|
65
65
|
import"./index-m9xhje7p.js";
|
|
@@ -73,9 +73,9 @@ import"./index-ejhxgyvm.js";
|
|
|
73
73
|
import"./index-7g4c7s5r.js";
|
|
74
74
|
import"./index-g319bdeh.js";
|
|
75
75
|
import"./index-gx2vp8gx.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-gaf95msf.js";
|
|
77
77
|
import"./index-zxdawwc7.js";
|
|
78
|
-
import"./index-
|
|
78
|
+
import"./index-qc8r1gy4.js";
|
|
79
79
|
import"./index-48jvqqfa.js";
|
|
80
80
|
import"./index-bk5tah7q.js";
|
|
81
81
|
import"./index-gknz3bv1.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-6b295cas.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-9qgncxbv.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-gmwzspch.js";
|
|
48
48
|
import {
|
|
49
49
|
appendCoreEventSync
|
|
50
50
|
} from "./index-743kwz1r.js";
|
|
@@ -3002,7 +3002,7 @@ ${markdown}`;
|
|
|
3002
3002
|
}
|
|
3003
3003
|
}
|
|
3004
3004
|
async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
|
|
3005
|
-
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-
|
|
3005
|
+
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-2wez0vzz.js");
|
|
3006
3006
|
return maybeSaveAutoCheckpoint(directory, plan);
|
|
3007
3007
|
}
|
|
3008
3008
|
async function updateTaskStatus(directory, taskId, status, options) {
|
|
@@ -3078,7 +3078,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
3078
3078
|
if (status === "completed") {
|
|
3079
3079
|
try {
|
|
3080
3080
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
3081
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
3081
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-j9skdc02.js");
|
|
3082
3082
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
3083
3083
|
taskId,
|
|
3084
3084
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -3103,7 +3103,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
3103
3103
|
break;
|
|
3104
3104
|
}
|
|
3105
3105
|
}
|
|
3106
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
3106
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-5p4kkrgt.js");
|
|
3107
3107
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
3108
3108
|
directory,
|
|
3109
3109
|
taskId,
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-yan163x1.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-qs706r9x.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-5z3qzesd.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-gaf95msf.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-qc8r1gy4.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -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-t4axcrwt.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-kraghq1k.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-zzz1ddnv.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-e27aph2j.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
protectedRoots,
|
|
9
9
|
redactDecisionLineForArchive,
|
|
10
10
|
stableCanonicalStringify
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-qwd1qpmg.js";
|
|
12
12
|
import {
|
|
13
13
|
detectStraySwarmDirs,
|
|
14
14
|
readDoctorArtifact,
|
|
15
15
|
removeStraySwarmDir,
|
|
16
16
|
runConfigDoctor
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-rsrsv4c6.js";
|
|
18
18
|
import {
|
|
19
19
|
archiveEvidence,
|
|
20
20
|
checkRequirementCoverage,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
sanitizeTaskId,
|
|
27
27
|
saveEvidence,
|
|
28
28
|
validateProjectRoot
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-mpvvgktj.js";
|
|
30
30
|
import {
|
|
31
31
|
LANGUAGE_REGISTRY,
|
|
32
32
|
_internals as _internals3,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
alreadyCuratedThisGeneration,
|
|
78
78
|
claimNextScanBatch,
|
|
79
79
|
resolveCohortId
|
|
80
|
-
} from "./index-
|
|
80
|
+
} from "./index-kb30szp0.js";
|
|
81
81
|
import {
|
|
82
82
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
83
83
|
CURATOR_INIT_PROMPT,
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
getGroupCommitWriter,
|
|
97
97
|
importLegacyJsonl,
|
|
98
98
|
readPriorDriftReports
|
|
99
|
-
} from "./index-
|
|
99
|
+
} from "./index-emjnn90k.js";
|
|
100
100
|
import {
|
|
101
101
|
assertNoUnsettledCoderDispatch,
|
|
102
102
|
listCoderSettlementWalStates,
|
|
103
103
|
recoverCoderSettlement,
|
|
104
104
|
recoverStaleCoderSettlements
|
|
105
|
-
} from "./index-
|
|
105
|
+
} from "./index-8t5z1yxt.js";
|
|
106
106
|
import {
|
|
107
107
|
BUNDLED_PROJECT_SKILL_ROOT,
|
|
108
108
|
DEFAULT_SKILL_MIN_CONFIDENCE,
|
|
@@ -123,11 +123,11 @@ import {
|
|
|
123
123
|
retireSkill,
|
|
124
124
|
selectCandidateEntries,
|
|
125
125
|
syncBundledProjectSkillsIfMissingAsync
|
|
126
|
-
} from "./index-
|
|
126
|
+
} from "./index-2rkw7nft.js";
|
|
127
127
|
import {
|
|
128
128
|
buildEscalationBriefing,
|
|
129
129
|
readRecentEscalations
|
|
130
|
-
} from "./index-
|
|
130
|
+
} from "./index-d7sxckqj.js";
|
|
131
131
|
import {
|
|
132
132
|
parsePorcelainV2Snapshot,
|
|
133
133
|
resolveCommitCountSince,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
checkpoint,
|
|
195
195
|
createSwarmTool,
|
|
196
196
|
resolveWorkingDirectory
|
|
197
|
-
} from "./index-
|
|
197
|
+
} from "./index-w4q83wf9.js";
|
|
198
198
|
import {
|
|
199
199
|
MAX_TRANSIENT_RETRIES,
|
|
200
200
|
PlanRecoverySupersededError,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
transientBackoff,
|
|
223
223
|
updateTaskStatus,
|
|
224
224
|
withPlanLifecycleLock
|
|
225
|
-
} from "./index-
|
|
225
|
+
} from "./index-059dnh78.js";
|
|
226
226
|
import {
|
|
227
227
|
containsControlChars,
|
|
228
228
|
containsPathTraversal,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
resolveSpeckitProjection,
|
|
239
239
|
validateSpeckit,
|
|
240
240
|
writeProjectedSpecSync
|
|
241
|
-
} from "./index-
|
|
241
|
+
} from "./index-9qgncxbv.js";
|
|
242
242
|
import {
|
|
243
243
|
clearWorktreeMergeStatus,
|
|
244
244
|
getAllWorktreeMergeFailures,
|
|
@@ -269,7 +269,7 @@ import {
|
|
|
269
269
|
transitionTaskWorkflowEvidenceWithStatus,
|
|
270
270
|
withTaskEvidenceTransaction,
|
|
271
271
|
writeWorkflowWalFile
|
|
272
|
-
} from "./index-
|
|
272
|
+
} from "./index-v3w5y2zp.js";
|
|
273
273
|
import {
|
|
274
274
|
isPathUnderSwarmWorktreeBase,
|
|
275
275
|
listLiveLaneOwners,
|
|
@@ -278,7 +278,7 @@ import {
|
|
|
278
278
|
recordLiveLaneOwner,
|
|
279
279
|
removeWorktree,
|
|
280
280
|
resolveWorktreeBaseDir
|
|
281
|
-
} from "./index-
|
|
281
|
+
} from "./index-fzah4ctw.js";
|
|
282
282
|
import {
|
|
283
283
|
DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
|
|
284
284
|
DELEGATION_COMPACTION_HIGH_WATER_BYTES,
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
scanBackgroundCoderReservationsForAdmission,
|
|
313
313
|
scanDelegationsForRecovery,
|
|
314
314
|
sweepStaleDelegations
|
|
315
|
-
} from "./index-
|
|
315
|
+
} from "./index-xadre3f0.js";
|
|
316
316
|
import {
|
|
317
317
|
MAX_EVENT_LOG_ENTRIES,
|
|
318
318
|
_internals,
|
|
@@ -331,7 +331,7 @@ import {
|
|
|
331
331
|
recordKnowledgeEvent,
|
|
332
332
|
recordPhaseCloseIntent,
|
|
333
333
|
resolveKnowledgeEventsPath
|
|
334
|
-
} from "./index-
|
|
334
|
+
} from "./index-yan163x1.js";
|
|
335
335
|
import {
|
|
336
336
|
estimateCharsForTokens,
|
|
337
337
|
estimateTokens,
|
|
@@ -359,7 +359,7 @@ import {
|
|
|
359
359
|
validateActionableFields,
|
|
360
360
|
validateLesson,
|
|
361
361
|
validateSkillPath
|
|
362
|
-
} from "./index-
|
|
362
|
+
} from "./index-qs706r9x.js";
|
|
363
363
|
import {
|
|
364
364
|
MAX_CURATION_PROPOSALS,
|
|
365
365
|
authorizeCuration,
|
|
@@ -370,7 +370,7 @@ import {
|
|
|
370
370
|
} from "./index-rtry5xyf.js";
|
|
371
371
|
import {
|
|
372
372
|
resolveWorktreeIsolationConfig
|
|
373
|
-
} from "./index-
|
|
373
|
+
} from "./index-4c4s8yww.js";
|
|
374
374
|
import {
|
|
375
375
|
RetrospectiveEvidenceSchema
|
|
376
376
|
} from "./index-kbkk7vnh.js";
|
|
@@ -382,7 +382,7 @@ import {
|
|
|
382
382
|
clearScopeBindings,
|
|
383
383
|
readAuthoritativeScopeBindingSet,
|
|
384
384
|
readDeclaredScopeFilesFromBindings
|
|
385
|
-
} from "./index-
|
|
385
|
+
} from "./index-vtbehfx1.js";
|
|
386
386
|
import {
|
|
387
387
|
clearPlanLedgerForReset,
|
|
388
388
|
computePlanStructureHash,
|
|
@@ -398,7 +398,7 @@ import {
|
|
|
398
398
|
replayFromLedgerWithStatus,
|
|
399
399
|
resolvePlanningProfile,
|
|
400
400
|
takeSnapshotEvent
|
|
401
|
-
} from "./index-
|
|
401
|
+
} from "./index-gmwzspch.js";
|
|
402
402
|
import {
|
|
403
403
|
CORE_EVENT_LOCKED,
|
|
404
404
|
appendCoreEventSync,
|
|
@@ -487,7 +487,7 @@ import {
|
|
|
487
487
|
transactFile,
|
|
488
488
|
transactKnowledge,
|
|
489
489
|
wordBigrams
|
|
490
|
-
} from "./index-
|
|
490
|
+
} from "./index-5z3qzesd.js";
|
|
491
491
|
import {
|
|
492
492
|
readTailJsonl,
|
|
493
493
|
readTailJsonlDetailed,
|
|
@@ -568,7 +568,7 @@ import {
|
|
|
568
568
|
loadGateOverrides,
|
|
569
569
|
loadPluginConfig,
|
|
570
570
|
loadPluginConfigWithMeta
|
|
571
|
-
} from "./index-
|
|
571
|
+
} from "./index-gaf95msf.js";
|
|
572
572
|
import {
|
|
573
573
|
addDeferredWarning,
|
|
574
574
|
advisoryWarn,
|
|
@@ -600,7 +600,7 @@ import {
|
|
|
600
600
|
resolveContextWindow,
|
|
601
601
|
resolveGeneratedAgentRole,
|
|
602
602
|
stripKnownSwarmPrefix
|
|
603
|
-
} from "./index-
|
|
603
|
+
} from "./index-qc8r1gy4.js";
|
|
604
604
|
import {
|
|
605
605
|
AGENT_TOOL_MAP,
|
|
606
606
|
ALL_AGENT_NAMES,
|
|
@@ -3389,7 +3389,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
3389
3389
|
return null;
|
|
3390
3390
|
throw error2;
|
|
3391
3391
|
}
|
|
3392
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
3392
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-3nrrg0je.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
3393
3393
|
if (!legacy)
|
|
3394
3394
|
return null;
|
|
3395
3395
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -3476,7 +3476,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
3476
3476
|
let recoveryState = null;
|
|
3477
3477
|
if (!currentAuthoritative) {
|
|
3478
3478
|
if (options.allowSalvagedRead) {
|
|
3479
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
3479
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-3nrrg0je.js");
|
|
3480
3480
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
3481
3481
|
}
|
|
3482
3482
|
if (!recoveryState) {
|
|
@@ -15039,7 +15039,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
15039
15039
|
return extracted === expectedSessionId;
|
|
15040
15040
|
}
|
|
15041
15041
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
15042
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
15042
|
+
const collisionOwnership = await import("./worktree-collision-ownership-k5kcnw6t.js");
|
|
15043
15043
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
15044
15044
|
}
|
|
15045
15045
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -15465,7 +15465,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
15465
15465
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
15466
15466
|
if (laneProfile) {
|
|
15467
15467
|
try {
|
|
15468
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
15468
|
+
const { writeLaneProfileToDiskReal } = await import("./core-xs68b2jw.js");
|
|
15469
15469
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
15470
15470
|
} catch {}
|
|
15471
15471
|
}
|
|
@@ -16444,7 +16444,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
16444
16444
|
}
|
|
16445
16445
|
clearWorktreeMergeStatus(statusKey);
|
|
16446
16446
|
try {
|
|
16447
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
16447
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-xs68b2jw.js");
|
|
16448
16448
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
16449
16449
|
} catch {}
|
|
16450
16450
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -24083,7 +24083,7 @@ function clearCriticalShownIds(sessionID) {
|
|
|
24083
24083
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
24084
24084
|
const map = new Map;
|
|
24085
24085
|
try {
|
|
24086
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
24086
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-csr7n0mx.js");
|
|
24087
24087
|
const records = await listActive2(directory);
|
|
24088
24088
|
for (const record of records) {
|
|
24089
24089
|
if (record.sessionID !== sessionID)
|
|
@@ -40521,9 +40521,9 @@ function hashContent(content) {
|
|
|
40521
40521
|
return createHash27("sha1").update(content).digest("hex");
|
|
40522
40522
|
}
|
|
40523
40523
|
async function loadConfigForPolicyCurator(directory) {
|
|
40524
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
40524
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zzz1ddnv.js");
|
|
40525
40525
|
try {
|
|
40526
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
40526
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e27aph2j.js");
|
|
40527
40527
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
40528
40528
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
40529
40529
|
} catch {
|
|
@@ -43581,7 +43581,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
43581
43581
|
const seam = _internals38.createCuratorLLMDelegate;
|
|
43582
43582
|
if (seam)
|
|
43583
43583
|
return seam(directory, mode, sessionId);
|
|
43584
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
43584
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-p9r4sb0v.js");
|
|
43585
43585
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
43586
43586
|
}
|
|
43587
43587
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -43976,7 +43976,7 @@ async function runFinalizeStage(ctx) {
|
|
|
43976
43976
|
}
|
|
43977
43977
|
}
|
|
43978
43978
|
try {
|
|
43979
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
43979
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-zzz1ddnv.js");
|
|
43980
43980
|
const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
|
|
43981
43981
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
43982
43982
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -46162,7 +46162,7 @@ function serializeAgentSession(s) {
|
|
|
46162
46162
|
}
|
|
46163
46163
|
async function writeSnapshot(directory, state) {
|
|
46164
46164
|
try {
|
|
46165
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
46165
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-7cr259p8.js");
|
|
46166
46166
|
await ensureSnapshotCoordinationReady(directory);
|
|
46167
46167
|
const snapshot = {
|
|
46168
46168
|
version: 3,
|
|
@@ -49340,7 +49340,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
49340
49340
|
};
|
|
49341
49341
|
}
|
|
49342
49342
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
49343
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
49343
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e27aph2j.js");
|
|
49344
49344
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
49345
49345
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
49346
49346
|
if (sweepConfig?.enabled === false)
|
|
@@ -50464,7 +50464,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
50464
50464
|
}
|
|
50465
50465
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
50466
50466
|
try {
|
|
50467
|
-
const skillModule = await import("./skill-generator-
|
|
50467
|
+
const skillModule = await import("./skill-generator-v5q1vkxk.js");
|
|
50468
50468
|
for (const cand of skillCandidates) {
|
|
50469
50469
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
50470
50470
|
continue;
|
|
@@ -50936,7 +50936,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
50936
50936
|
} catch {}
|
|
50937
50937
|
}
|
|
50938
50938
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
50939
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
50939
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-1g4ewbtd.js");
|
|
50940
50940
|
for (const { id } of contradictedEntries) {
|
|
50941
50941
|
try {
|
|
50942
50942
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -51768,7 +51768,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
51768
51768
|
warnings.push("Failed to collect knowledge summary.");
|
|
51769
51769
|
}
|
|
51770
51770
|
try {
|
|
51771
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
51771
|
+
const { getScanStatus } = await import("./scan-cursor-0v2a2kya.js");
|
|
51772
51772
|
const scanStatus = await getScanStatus(directory);
|
|
51773
51773
|
if (scanStatus.remaining_estimate > 0) {
|
|
51774
51774
|
warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
|
|
@@ -51940,9 +51940,9 @@ var _internals57 = {
|
|
|
51940
51940
|
verifyPostMortemKnowledgeActions,
|
|
51941
51941
|
repairPostMortemActions,
|
|
51942
51942
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
51943
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
51943
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zzz1ddnv.js");
|
|
51944
51944
|
try {
|
|
51945
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
51945
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e27aph2j.js");
|
|
51946
51946
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
51947
51947
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
51948
51948
|
} catch {
|
|
@@ -51950,11 +51950,11 @@ var _internals57 = {
|
|
|
51950
51950
|
}
|
|
51951
51951
|
},
|
|
51952
51952
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
51953
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
51953
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-nejfgxfm.js");
|
|
51954
51954
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
51955
51955
|
},
|
|
51956
51956
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
51957
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
51957
|
+
const { checkHivePromotions } = await import("./hive-promoter-y1f7zsrj.js");
|
|
51958
51958
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
51959
51959
|
},
|
|
51960
51960
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -51963,7 +51963,7 @@ var _internals57 = {
|
|
|
51963
51963
|
activateProposal,
|
|
51964
51964
|
listSkills: listSkills2,
|
|
51965
51965
|
sanitizeSlug
|
|
51966
|
-
} = await import("./skill-generator-
|
|
51966
|
+
} = await import("./skill-generator-v5q1vkxk.js");
|
|
51967
51967
|
const result = {
|
|
51968
51968
|
approved: [],
|
|
51969
51969
|
rejected: [],
|
|
@@ -52005,7 +52005,7 @@ var _internals57 = {
|
|
|
52005
52005
|
return result;
|
|
52006
52006
|
},
|
|
52007
52007
|
readPriorDriftReports: async (directory) => {
|
|
52008
|
-
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-
|
|
52008
|
+
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-cz65fcz0.js");
|
|
52009
52009
|
return readPriorDriftReports2(directory);
|
|
52010
52010
|
},
|
|
52011
52011
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -61808,9 +61808,9 @@ var _internals67 = {
|
|
|
61808
61808
|
loadPluginConfigWithMeta,
|
|
61809
61809
|
loadCuratorDeps: async () => {
|
|
61810
61810
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
61811
|
-
import("./schema-
|
|
61812
|
-
import("./curator-
|
|
61813
|
-
import("./curator-llm-factory-
|
|
61811
|
+
import("./schema-zzz1ddnv.js"),
|
|
61812
|
+
import("./curator-nejfgxfm.js"),
|
|
61813
|
+
import("./curator-llm-factory-p9r4sb0v.js")
|
|
61814
61814
|
]);
|
|
61815
61815
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
61816
61816
|
}
|
|
@@ -64208,7 +64208,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64208
64208
|
let scanCompleted = false;
|
|
64209
64209
|
let scanRemaining = 0;
|
|
64210
64210
|
try {
|
|
64211
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
64211
|
+
const { getScanStatus } = await import("./scan-cursor-0v2a2kya.js");
|
|
64212
64212
|
const status = await getScanStatus(directory);
|
|
64213
64213
|
scanGeneration = status.generation;
|
|
64214
64214
|
scanCompleted = status.completed;
|
|
@@ -64218,10 +64218,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
64218
64218
|
try {
|
|
64219
64219
|
const { isLinked: isLinked2 } = await import("./knowledge-link-xwn2ww1d.js");
|
|
64220
64220
|
if (isLinked2(directory)) {
|
|
64221
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
64221
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zzz1ddnv.js");
|
|
64222
64222
|
let config;
|
|
64223
64223
|
try {
|
|
64224
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
64224
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-e27aph2j.js");
|
|
64225
64225
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
64226
64226
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
64227
64227
|
} catch {
|
|
@@ -65676,7 +65676,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65676
65676
|
const result = runConfigDoctor(config, directory);
|
|
65677
65677
|
let output;
|
|
65678
65678
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
65679
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
65679
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-1fjsn7zq.js");
|
|
65680
65680
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
65681
65681
|
applyLossy: true
|
|
65682
65682
|
});
|
|
@@ -65714,7 +65714,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
65714
65714
|
`;
|
|
65715
65715
|
}
|
|
65716
65716
|
try {
|
|
65717
|
-
const { runModelPreflight } = await import("./model-preflight-
|
|
65717
|
+
const { runModelPreflight } = await import("./model-preflight-gztv8xqx.js");
|
|
65718
65718
|
const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
|
|
65719
65719
|
const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
|
|
65720
65720
|
const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
|
|
@@ -66641,7 +66641,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
66641
66641
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
66642
66642
|
}
|
|
66643
66643
|
async function handleEvidenceSummaryCommand(directory) {
|
|
66644
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
66644
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-0jt68dq5.js");
|
|
66645
66645
|
const artifact = await buildEvidenceSummary(directory);
|
|
66646
66646
|
if (!artifact) {
|
|
66647
66647
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -90974,7 +90974,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
90974
90974
|
}
|
|
90975
90975
|
const sdkOpts = signal ? { signal } : {};
|
|
90976
90976
|
try {
|
|
90977
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
90977
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-q93b3xdh.js");
|
|
90978
90978
|
const createResult = await client.session.create({
|
|
90979
90979
|
...sessionId ? {
|
|
90980
90980
|
body: {
|
|
@@ -93311,7 +93311,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
|
|
|
93311
93311
|
clearedEvents: []
|
|
93312
93312
|
};
|
|
93313
93313
|
try {
|
|
93314
|
-
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-
|
|
93314
|
+
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-3nrrg0je.js");
|
|
93315
93315
|
await cancelPrFeedbackPublication2(directory, sessionID, reason);
|
|
93316
93316
|
} catch (err) {
|
|
93317
93317
|
warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -109590,7 +109590,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
109590
109590
|
async function handleHelpCommand(ctx) {
|
|
109591
109591
|
const targetCommand = ctx.args.join(" ");
|
|
109592
109592
|
if (!targetCommand) {
|
|
109593
|
-
const { buildHelpText } = await import("./index-
|
|
109593
|
+
const { buildHelpText } = await import("./index-93mgmhe5.js");
|
|
109594
109594
|
return buildHelpText();
|
|
109595
109595
|
}
|
|
109596
109596
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -109604,7 +109604,7 @@ async function handleHelpCommand(ctx) {
|
|
|
109604
109604
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
109605
109605
|
}
|
|
109606
109606
|
const similar = _internals27.findSimilarCommands(targetCommand);
|
|
109607
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
109607
|
+
const { buildHelpText: fullHelp } = await import("./index-93mgmhe5.js");
|
|
109608
109608
|
if (similar.length > 0) {
|
|
109609
109609
|
return `Command '/swarm ${targetCommand}' not found.
|
|
109610
109610
|
|
|
@@ -109932,7 +109932,7 @@ var COMMAND_REGISTRY = {
|
|
|
109932
109932
|
},
|
|
109933
109933
|
"guardrail explain": {
|
|
109934
109934
|
handler: async (ctx) => {
|
|
109935
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
109935
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-c42va9fp.js");
|
|
109936
109936
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
109937
109937
|
},
|
|
109938
109938
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -109942,7 +109942,7 @@ var COMMAND_REGISTRY = {
|
|
|
109942
109942
|
},
|
|
109943
109943
|
"guardrail reset": {
|
|
109944
109944
|
handler: async (ctx) => {
|
|
109945
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
109945
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-cpw83epe.js");
|
|
109946
109946
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
109947
109947
|
},
|
|
109948
109948
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -109963,7 +109963,7 @@ var COMMAND_REGISTRY = {
|
|
|
109963
109963
|
},
|
|
109964
109964
|
"guardrail-log": {
|
|
109965
109965
|
handler: async (ctx) => {
|
|
109966
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
109966
|
+
const { handleGuardrailLog } = await import("./guardrail-log-1hv4awyg.js");
|
|
109967
109967
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
109968
109968
|
},
|
|
109969
109969
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|