opencode-swarm 7.200.5 → 7.200.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{attest-task-0k72fh70.js → attest-task-10qxnfg0.js} +25 -25
- package/dist/cli/{auto-checkpoint-8g004dar.js → auto-checkpoint-n4wjv3c3.js} +4 -4
- package/dist/cli/{checkpoint-18wx2473.js → checkpoint-hce4bjpa.js} +8 -8
- package/dist/cli/{coder-settlement-r2q6pkxc.js → coder-settlement-wzccs5q0.js} +3 -3
- package/dist/cli/{config-doctor-h071vxsj.js → config-doctor-zmrk4e62.js} +7 -7
- package/dist/cli/{core-6767154r.js → core-91vc3hm8.js} +1 -1
- package/dist/cli/{curator-drift-gd7tckag.js → curator-drift-jnnfryzt.js} +5 -5
- package/dist/cli/{curator-llm-factory-mf701qb7.js → curator-llm-factory-mj9nwpqy.js} +25 -25
- package/dist/cli/{curator-pf0edk2z.js → curator-mx34qmvj.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-zz0tz3pt.js → doctor-knowledge-receipt-phase-id-wsv9av6b.js} +4 -4
- package/dist/cli/{evidence-summary-service-awjxt2am.js → evidence-summary-service-t8jxvzse.js} +9 -9
- package/dist/cli/{gate-evidence-tvkhkqwy.js → gate-evidence-13evayfx.js} +2 -2
- package/dist/cli/{guardrail-explain-m70anx1g.js → guardrail-explain-w69nx4h3.js} +26 -26
- package/dist/cli/{guardrail-log-3sf6n33b.js → guardrail-log-em42cpeg.js} +3 -3
- package/dist/cli/{guardrail-reset-t94jbv1q.js → guardrail-reset-1z11c474.js} +25 -25
- package/dist/cli/{hive-promoter-60h9tqgs.js → hive-promoter-et6yf4e4.js} +25 -25
- package/dist/cli/{index-dsqavehz.js → index-1j9g90y9.js} +1 -1
- package/dist/cli/{index-8c51asrp.js → index-50h4hrhe.js} +232 -97
- package/dist/cli/{index-b4amh1n3.js → index-6cgh59z6.js} +3 -3
- package/dist/cli/{index-vz1fh1v3.js → index-9ww8f1e9.js} +3 -3
- package/dist/cli/{index-74n7sz4s.js → index-bkdkkxxe.js} +1 -1
- package/dist/cli/{index-vxbj42j0.js → index-cbhkyfmm.js} +2 -2
- package/dist/cli/{index-687c2ze1.js → index-e5b0ayxw.js} +3 -3
- package/dist/cli/{index-se501ytb.js → index-ehcp9r1f.js} +1 -1
- package/dist/cli/{index-ryrg48c7.js → index-fjh70sfg.js} +5 -5
- package/dist/cli/{index-1akazdbj.js → index-gjzfy7zw.js} +1 -1
- package/dist/cli/{index-phz90w3t.js → index-h21p9f69.js} +1 -1
- package/dist/cli/{index-pvj101jx.js → index-he1xpa9h.js} +3 -3
- package/dist/cli/{index-xdk3cxs9.js → index-hfzyp68b.js} +27 -27
- package/dist/cli/{index-4mjfdpte.js → index-j2736j97.js} +6 -6
- package/dist/cli/{index-826kptfe.js → index-k3nhzhkz.js} +3 -3
- package/dist/cli/{index-yamz6830.js → index-kdp4rk4p.js} +1 -1
- package/dist/cli/{index-5qajesjq.js → index-n2vx9eb0.js} +3 -3
- package/dist/cli/{index-wyfag7r7.js → index-n61daqkj.js} +2 -2
- package/dist/cli/{index-cy2gbs5b.js → index-qxse4xm5.js} +1 -1
- package/dist/cli/{index-ee59rzwk.js → index-r9x74612.js} +2 -2
- package/dist/cli/{index-1asbb0r4.js → index-tw0bn65v.js} +1 -1
- package/dist/cli/{index-1by2qd8n.js → index-w747vv23.js} +1 -1
- package/dist/cli/{index-10myvh2k.js → index-wxh0624z.js} +1 -1
- package/dist/cli/{index-hfnj4s6r.js → index-yd8k2081.js} +25 -25
- package/dist/cli/{index-xh861gf3.js → index-ykwya5ff.js} +2 -2
- package/dist/cli/{index-g1b5xxzc.js → index-yy7hq6c5.js} +5 -4
- package/dist/cli/{index-k01n01sc.js → index-z4qhqws0.js} +3 -3
- package/dist/cli/{index-h8419k5d.js → index-zfzgt2hj.js} +4 -4
- package/dist/cli/{index-3x8mz39c.js → index-zq1gna9j.js} +1 -1
- package/dist/cli/{index-twwdx79t.js → index-zv45anwx.js} +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-3096yt7j.js → knowledge-escalator-6h3bwf6q.js} +7 -7
- package/dist/cli/{knowledge-events-st3j22za.js → knowledge-events-wp1j51h6.js} +5 -5
- package/dist/cli/{knowledge-store-9q8jvd0p.js → knowledge-store-98jhzs3k.js} +1 -1
- package/dist/cli/{knowledge-validator-fak1fvdm.js → knowledge-validator-jttph6bb.js} +2 -2
- package/dist/cli/{mcp-shvt5c9b.js → mcp-3fbk6v7e.js} +1 -1
- package/dist/cli/{model-preflight-cxhdzc9c.js → model-preflight-vps41qvj.js} +25 -25
- package/dist/cli/{pending-delegations-tjj8nhmm.js → pending-delegations-f3yj2qxg.js} +2 -2
- package/dist/cli/{pr-subscriptions-xtnbfg8m.js → pr-subscriptions-ash398n1.js} +1 -1
- package/dist/cli/{pr-workflow-gate-24ytg64p.js → pr-workflow-gate-6za22msz.js} +25 -25
- package/dist/cli/{scan-cursor-drax4dt3.js → scan-cursor-15x71ymh.js} +2 -2
- package/dist/cli/{schema-epr5xxb0.js → schema-69za4986.js} +1 -1
- package/dist/cli/{scope-persistence-pyn9vb4r.js → scope-persistence-6qnvpm85.js} +5 -5
- package/dist/cli/{server-c5b651kg.js → server-cdpsjzsp.js} +25 -25
- package/dist/cli/{skill-generator-r8kvvbh2.js → skill-generator-q77jzyw0.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-wnt85258.js → snapshot-coordination-init-gz9ak1be.js} +25 -25
- package/dist/cli/{speckit-checkoff-64p4d5hf.js → speckit-checkoff-59xs6f5t.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-eej2phhm.js → worktree-collision-ownership-8zm5z35p.js} +2 -2
- package/dist/cli/{worktree-isolation-xsc0k2n3.js → worktree-isolation-f7khy039.js} +25 -25
- package/dist/hooks/guardrails/tool-before.d.ts +1 -1
- package/dist/hooks/shell-executor-context.d.ts +17 -0
- package/dist/hooks/shell-write-detect.d.ts +26 -0
- package/dist/host/v2/hooks.d.ts +20 -0
- package/dist/host/v2/types.d.ts +27 -0
- package/dist/index.js +13 -13
- package/package.json +1 -1
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-r9x74612.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-wxh0624z.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-zfzgt2hj.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ykwya5ff.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-1j9g90y9.js";
|
|
50
50
|
import"./index-sp2cxpaq.js";
|
|
51
51
|
import"./index-qbxk2rn6.js";
|
|
52
52
|
import"./index-zgwm4ryv.js";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
TurboConfigSchema,
|
|
75
75
|
WorktreeIsolationConfigSchema,
|
|
76
76
|
resolveAutoReviewConfig
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-ehcp9r1f.js";
|
|
78
78
|
import {
|
|
79
79
|
ALL_AGENT_NAMES,
|
|
80
80
|
ALL_SUBAGENT_NAMES,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
init_loader,
|
|
29
29
|
loadPluginConfig
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-1j9g90y9.js";
|
|
31
31
|
import {
|
|
32
32
|
criticalWarn,
|
|
33
33
|
init_logger,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
init_package,
|
|
38
38
|
package_default
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-ehcp9r1f.js";
|
|
40
40
|
|
|
41
41
|
// src/plan/planning-profile.ts
|
|
42
42
|
init_loader();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ensureTaskCheckpointReceipt,
|
|
5
5
|
loadPlan,
|
|
6
6
|
updateTaskCheckpointReceipt
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-fjh70sfg.js";
|
|
8
8
|
import {
|
|
9
9
|
tool
|
|
10
10
|
} from "./index-9nyqt3kb.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./index-4krkevgc.js";
|
|
26
26
|
import {
|
|
27
27
|
readLedgerEvents
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-cbhkyfmm.js";
|
|
29
29
|
import {
|
|
30
30
|
appendCoreEventSync
|
|
31
31
|
} from "./index-vtpt8yns.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./index-mn75z39t.js";
|
|
47
47
|
import {
|
|
48
48
|
loadPluginConfigWithMeta
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-1j9g90y9.js";
|
|
50
50
|
import {
|
|
51
51
|
GIT_BINARY_ENV_VAR,
|
|
52
52
|
describeGitResolution,
|
|
@@ -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.200.
|
|
24
|
+
version: "7.200.6",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-6b295cas.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-n2vx9eb0.js";
|
|
8
8
|
import {
|
|
9
9
|
_internals,
|
|
10
10
|
clearWorktreeMergeStatus,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
replayFromLedgerWithStatus,
|
|
40
40
|
takeSnapshotEvent,
|
|
41
41
|
takeSnapshotWithRetry
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-cbhkyfmm.js";
|
|
43
43
|
import {
|
|
44
44
|
deleteCoordinationStateWithinTransaction,
|
|
45
45
|
getCoordinationStateRaw,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
init_loader,
|
|
90
90
|
isEpicModeConfigEnabled,
|
|
91
91
|
loadPluginConfigWithMeta
|
|
92
|
-
} from "./index-
|
|
92
|
+
} from "./index-1j9g90y9.js";
|
|
93
93
|
import {
|
|
94
94
|
bunHash,
|
|
95
95
|
bunWrite,
|
|
@@ -2670,7 +2670,7 @@ ${markdown}`;
|
|
|
2670
2670
|
}
|
|
2671
2671
|
}
|
|
2672
2672
|
async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
|
|
2673
|
-
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-
|
|
2673
|
+
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-n4wjv3c3.js");
|
|
2674
2674
|
return maybeSaveAutoCheckpoint(directory, plan);
|
|
2675
2675
|
}
|
|
2676
2676
|
async function updateTaskStatus(directory, taskId, status, options) {
|
|
@@ -2746,7 +2746,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2746
2746
|
if (status === "completed") {
|
|
2747
2747
|
try {
|
|
2748
2748
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2749
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
2749
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-59xs6f5t.js");
|
|
2750
2750
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
2751
2751
|
taskId,
|
|
2752
2752
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -543,7 +543,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
|
|
|
543
543
|
return null;
|
|
544
544
|
throw error;
|
|
545
545
|
}
|
|
546
|
-
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-
|
|
546
|
+
const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-6za22msz.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
|
|
547
547
|
if (!legacy)
|
|
548
548
|
return null;
|
|
549
549
|
const namespace = workflowGateStateCoordinationNamespace(sessionID);
|
|
@@ -677,7 +677,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
|
|
|
677
677
|
let recoveryState = null;
|
|
678
678
|
if (!currentAuthoritative) {
|
|
679
679
|
if (options.allowSalvagedRead) {
|
|
680
|
-
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-
|
|
680
|
+
const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-6za22msz.js");
|
|
681
681
|
recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
|
|
682
682
|
}
|
|
683
683
|
if (!recoveryState) {
|
|
@@ -6266,7 +6266,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
6266
6266
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
6267
6267
|
if (candidates.length === 0)
|
|
6268
6268
|
return 0;
|
|
6269
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
6269
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-wzccs5q0.js");
|
|
6270
6270
|
let transferred = 0;
|
|
6271
6271
|
for (const record of candidates) {
|
|
6272
6272
|
try {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-yy7hq6c5.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-kdp4rk4p.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -98,51 +98,51 @@ import {
|
|
|
98
98
|
handleWriteRetroCommand,
|
|
99
99
|
normalizeSwarmCommandInput,
|
|
100
100
|
resolveCommand
|
|
101
|
-
} from "./index-
|
|
101
|
+
} from "./index-50h4hrhe.js";
|
|
102
102
|
import"./index-p2dst45x.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
103
|
+
import"./index-w747vv23.js";
|
|
104
|
+
import"./index-z4qhqws0.js";
|
|
105
|
+
import"./index-qxse4xm5.js";
|
|
106
106
|
import"./index-4ph7ad0b.js";
|
|
107
107
|
import"./index-axqyjreb.js";
|
|
108
108
|
import"./index-txdagbh7.js";
|
|
109
|
-
import"./index-
|
|
110
|
-
import"./index-
|
|
109
|
+
import"./index-j2736j97.js";
|
|
110
|
+
import"./index-zq1gna9j.js";
|
|
111
111
|
import"./index-rdec0y3z.js";
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
112
|
+
import"./index-bkdkkxxe.js";
|
|
113
|
+
import"./index-k3nhzhkz.js";
|
|
114
|
+
import"./index-6cgh59z6.js";
|
|
115
115
|
import"./index-bk8r4m9j.js";
|
|
116
116
|
import"./index-tecp3a77.js";
|
|
117
117
|
import"./index-x5jwegqw.js";
|
|
118
118
|
import"./index-7h22y3ew.js";
|
|
119
|
-
import"./index-
|
|
119
|
+
import"./index-he1xpa9h.js";
|
|
120
120
|
import"./index-pt7h91zc.js";
|
|
121
121
|
import"./index-q7sjgr1y.js";
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
122
|
+
import"./index-e5b0ayxw.js";
|
|
123
|
+
import"./index-fjh70sfg.js";
|
|
124
124
|
import"./index-6b295cas.js";
|
|
125
125
|
import"./index-9nyqt3kb.js";
|
|
126
|
-
import"./index-
|
|
126
|
+
import"./index-n2vx9eb0.js";
|
|
127
127
|
import"./index-697mg68b.js";
|
|
128
128
|
import"./index-8mrentmw.js";
|
|
129
|
-
import"./index-
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
129
|
+
import"./index-h21p9f69.js";
|
|
130
|
+
import"./index-gjzfy7zw.js";
|
|
131
|
+
import"./index-zv45anwx.js";
|
|
132
132
|
import"./index-spggmr30.js";
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
133
|
+
import"./index-r9x74612.js";
|
|
134
|
+
import"./index-n61daqkj.js";
|
|
135
135
|
import"./index-m9zzj4ee.js";
|
|
136
136
|
import"./index-4krkevgc.js";
|
|
137
|
-
import"./index-
|
|
137
|
+
import"./index-wxh0624z.js";
|
|
138
138
|
import"./index-mhd6kdzr.js";
|
|
139
139
|
import"./index-rtry5xyf.js";
|
|
140
|
-
import"./index-
|
|
140
|
+
import"./index-ykwya5ff.js";
|
|
141
141
|
import"./index-g22dps7x.js";
|
|
142
142
|
import"./index-0725jpp7.js";
|
|
143
|
-
import"./index-
|
|
143
|
+
import"./index-tw0bn65v.js";
|
|
144
144
|
import"./index-v839c9mv.js";
|
|
145
|
-
import"./index-
|
|
145
|
+
import"./index-cbhkyfmm.js";
|
|
146
146
|
import"./index-2x015vjy.js";
|
|
147
147
|
import"./index-y7c4hqcj.js";
|
|
148
148
|
import"./index-ry16d01s.js";
|
|
@@ -151,7 +151,7 @@ import"./index-vtpt8yns.js";
|
|
|
151
151
|
import"./index-7pmbnjvj.js";
|
|
152
152
|
import"./index-8srvdpw6.js";
|
|
153
153
|
import"./index-9rwhas09.js";
|
|
154
|
-
import"./index-
|
|
154
|
+
import"./index-zfzgt2hj.js";
|
|
155
155
|
import"./index-vzm6zre7.js";
|
|
156
156
|
import"./index-ae75rja9.js";
|
|
157
157
|
import"./index-4fkxdnc7.js";
|
|
@@ -164,14 +164,14 @@ import"./index-ejhxgyvm.js";
|
|
|
164
164
|
import"./index-7g4c7s5r.js";
|
|
165
165
|
import"./index-mn75z39t.js";
|
|
166
166
|
import"./index-3t46mez1.js";
|
|
167
|
-
import"./index-
|
|
167
|
+
import"./index-1j9g90y9.js";
|
|
168
168
|
import"./index-sp2cxpaq.js";
|
|
169
169
|
import"./index-qbxk2rn6.js";
|
|
170
170
|
import"./index-zgwm4ryv.js";
|
|
171
171
|
import {
|
|
172
172
|
init_schema,
|
|
173
173
|
stripKnownSwarmPrefix
|
|
174
|
-
} from "./index-
|
|
174
|
+
} from "./index-ehcp9r1f.js";
|
|
175
175
|
import {
|
|
176
176
|
AGENT_TOOL_MAP,
|
|
177
177
|
ORCHESTRATOR_NAME,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledgeEvents,
|
|
4
4
|
recordKnowledgeEvent
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-r9x74612.js";
|
|
6
6
|
import {
|
|
7
7
|
queryHistoricalOutcomes
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-n61daqkj.js";
|
|
9
9
|
import {
|
|
10
10
|
jaccardBigram,
|
|
11
11
|
readKnowledge,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge,
|
|
15
15
|
wordBigrams
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-zfzgt2hj.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
226
226
|
alreadyInactive: true
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
229
|
+
const { quarantineEntry } = await import("./knowledge-validator-jttph6bb.js");
|
|
230
230
|
let policyConfig;
|
|
231
231
|
try {
|
|
232
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
233
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
232
|
+
const { KnowledgeConfigSchema } = await import("./schema-69za4986.js");
|
|
233
|
+
const { loadPluginConfigWithMeta } = await import("./index-9ww8f1e9.js");
|
|
234
234
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
235
235
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
236
236
|
} catch {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-gjzfy7zw.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-4krkevgc.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-f7khy039.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-f7khy039.js");
|
|
652
652
|
const descriptor = wal.worktree;
|
|
653
653
|
const reconstructedDispatch = {
|
|
654
654
|
callID: descriptor.callID,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
writeSpeckitCheckoffLedger
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-h21p9f69.js";
|
|
5
5
|
import {
|
|
6
6
|
validateSpecContent
|
|
7
7
|
} from "./index-0725jpp7.js";
|
|
8
8
|
import {
|
|
9
9
|
init_loader,
|
|
10
10
|
readSddSourceSetting
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-1j9g90y9.js";
|
|
12
12
|
import {
|
|
13
13
|
advisoryWarn,
|
|
14
14
|
init_warning_buffer
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
SDD_SOURCES,
|
|
22
22
|
init_schema
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-ehcp9r1f.js";
|
|
24
24
|
|
|
25
25
|
// src/sdd/effective-spec.ts
|
|
26
26
|
init_loader();
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
} from "./index-3t46mez1.js";
|
|
24
24
|
import {
|
|
25
25
|
loadPluginConfigWithMeta
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-1j9g90y9.js";
|
|
27
27
|
import {
|
|
28
28
|
KnowledgeConfigSchema,
|
|
29
29
|
init_schema
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-ehcp9r1f.js";
|
|
31
31
|
|
|
32
32
|
// src/utils/context-decisions.ts
|
|
33
33
|
function extractContextDecisions(content) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
queryHistoricalOutcomes
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-n61daqkj.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveHiveEventsPath
|
|
7
7
|
} from "./index-ae75rja9.js";
|
|
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
708
708
|
}
|
|
709
709
|
let bumps = 0;
|
|
710
710
|
if (deltas.length > 0) {
|
|
711
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
711
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-98jhzs3k.js");
|
|
712
712
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
713
713
|
}
|
|
714
714
|
return {
|
|
@@ -23,53 +23,53 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-50h4hrhe.js";
|
|
27
27
|
import"./index-p2dst45x.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
import"./index-w747vv23.js";
|
|
29
|
+
import"./index-z4qhqws0.js";
|
|
30
|
+
import"./index-qxse4xm5.js";
|
|
31
31
|
import"./index-4ph7ad0b.js";
|
|
32
32
|
import"./index-axqyjreb.js";
|
|
33
33
|
import"./index-txdagbh7.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-j2736j97.js";
|
|
35
|
+
import"./index-zq1gna9j.js";
|
|
36
36
|
import {
|
|
37
37
|
createExplorerAgent
|
|
38
38
|
} from "./index-rdec0y3z.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
39
|
+
import"./index-bkdkkxxe.js";
|
|
40
|
+
import"./index-k3nhzhkz.js";
|
|
41
|
+
import"./index-6cgh59z6.js";
|
|
42
42
|
import"./index-bk8r4m9j.js";
|
|
43
43
|
import"./index-tecp3a77.js";
|
|
44
44
|
import"./index-x5jwegqw.js";
|
|
45
45
|
import"./index-7h22y3ew.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-he1xpa9h.js";
|
|
47
47
|
import"./index-pt7h91zc.js";
|
|
48
48
|
import"./index-q7sjgr1y.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-e5b0ayxw.js";
|
|
50
|
+
import"./index-fjh70sfg.js";
|
|
51
51
|
import"./index-6b295cas.js";
|
|
52
52
|
import"./index-9nyqt3kb.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-n2vx9eb0.js";
|
|
54
54
|
import"./index-697mg68b.js";
|
|
55
55
|
import"./index-8mrentmw.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
56
|
+
import"./index-h21p9f69.js";
|
|
57
|
+
import"./index-gjzfy7zw.js";
|
|
58
|
+
import"./index-zv45anwx.js";
|
|
59
59
|
import"./index-spggmr30.js";
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
60
|
+
import"./index-r9x74612.js";
|
|
61
|
+
import"./index-n61daqkj.js";
|
|
62
62
|
import"./index-m9zzj4ee.js";
|
|
63
63
|
import"./index-4krkevgc.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-wxh0624z.js";
|
|
65
65
|
import"./index-mhd6kdzr.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-ykwya5ff.js";
|
|
68
68
|
import"./index-g22dps7x.js";
|
|
69
69
|
import"./index-0725jpp7.js";
|
|
70
|
-
import"./index-
|
|
70
|
+
import"./index-tw0bn65v.js";
|
|
71
71
|
import"./index-v839c9mv.js";
|
|
72
|
-
import"./index-
|
|
72
|
+
import"./index-cbhkyfmm.js";
|
|
73
73
|
import"./index-2x015vjy.js";
|
|
74
74
|
import"./index-y7c4hqcj.js";
|
|
75
75
|
import"./index-ry16d01s.js";
|
|
@@ -78,7 +78,7 @@ import"./index-vtpt8yns.js";
|
|
|
78
78
|
import"./index-7pmbnjvj.js";
|
|
79
79
|
import"./index-8srvdpw6.js";
|
|
80
80
|
import"./index-9rwhas09.js";
|
|
81
|
-
import"./index-
|
|
81
|
+
import"./index-zfzgt2hj.js";
|
|
82
82
|
import"./index-vzm6zre7.js";
|
|
83
83
|
import"./index-ae75rja9.js";
|
|
84
84
|
import"./index-4fkxdnc7.js";
|
|
@@ -91,11 +91,11 @@ import"./index-ejhxgyvm.js";
|
|
|
91
91
|
import"./index-7g4c7s5r.js";
|
|
92
92
|
import"./index-mn75z39t.js";
|
|
93
93
|
import"./index-3t46mez1.js";
|
|
94
|
-
import"./index-
|
|
94
|
+
import"./index-1j9g90y9.js";
|
|
95
95
|
import"./index-sp2cxpaq.js";
|
|
96
96
|
import"./index-qbxk2rn6.js";
|
|
97
97
|
import"./index-zgwm4ryv.js";
|
|
98
|
-
import"./index-
|
|
98
|
+
import"./index-ehcp9r1f.js";
|
|
99
99
|
import"./index-xfzkq1k4.js";
|
|
100
100
|
import"./index-bk5tah7q.js";
|
|
101
101
|
import"./index-gknz3bv1.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-1j9g90y9.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-ehcp9r1f.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
declaresWindowsWrapperLoose,
|
|
14
14
|
detectPosixWrites,
|
|
15
15
|
detectWindowsWrites,
|
|
16
|
+
getObservedHostShell,
|
|
16
17
|
getSharedClassifierGuardrailBlock,
|
|
17
18
|
isEmptyDirectoryRemovalWithinWorkspace,
|
|
18
19
|
isPosixRmdirExecutor,
|
|
@@ -21,14 +22,14 @@ import {
|
|
|
21
22
|
mergeWriteAnalyses,
|
|
22
23
|
resolveWindowsWriteAuthority,
|
|
23
24
|
resolveWriteTargets
|
|
24
|
-
} from "./index-
|
|
25
|
+
} from "./index-50h4hrhe.js";
|
|
25
26
|
import {
|
|
26
27
|
checkFileAuthority,
|
|
27
28
|
classifyFile,
|
|
28
29
|
isInDeclaredScope,
|
|
29
30
|
redactPath,
|
|
30
31
|
redactShellCommand
|
|
31
|
-
} from "./index-
|
|
32
|
+
} from "./index-w747vv23.js";
|
|
32
33
|
|
|
33
34
|
// src/services/guardrail-explain-service.ts
|
|
34
35
|
import path from "path";
|
|
@@ -369,7 +370,7 @@ async function handleGuardrailExplain(directory, args) {
|
|
|
369
370
|
`) : shellCommand;
|
|
370
371
|
if (decision === "allow") {
|
|
371
372
|
const detected = resolveShellType(shellCommand);
|
|
372
|
-
const authority = resolveWindowsWriteAuthority("shell", shellCommand, detected, isPowerShellShaped(shellCommand));
|
|
373
|
+
const authority = resolveWindowsWriteAuthority("shell", shellCommand, detected, isPowerShellShaped(shellCommand), process.platform, getObservedHostShell());
|
|
373
374
|
const wrapperDeclaredHere = declaresWindowsWrapperLoose(shellCommand);
|
|
374
375
|
const posix = detectPosixWrites(detectionCommand);
|
|
375
376
|
const analysis = authority === null ? posix : mergeWriteAnalyses(posix, detectWindowsWrites(detectionCommand, authority), true, wrapperDeclaredHere);
|
|
@@ -402,7 +403,7 @@ async function handleGuardrailExplain(directory, args) {
|
|
|
402
403
|
}
|
|
403
404
|
} else {
|
|
404
405
|
const detected = resolveShellType(shellCommand);
|
|
405
|
-
const authority = resolveWindowsWriteAuthority("shell", shellCommand, detected, isPowerShellShaped(shellCommand));
|
|
406
|
+
const authority = resolveWindowsWriteAuthority("shell", shellCommand, detected, isPowerShellShaped(shellCommand), process.platform, getObservedHostShell());
|
|
406
407
|
const wrapperDeclaredElse = declaresWindowsWrapperLoose(shellCommand);
|
|
407
408
|
const posix = detectPosixWrites(detectionCommand);
|
|
408
409
|
const analysis = authority === null ? posix : mergeWriteAnalyses(posix, detectWindowsWrites(detectionCommand, authority), true, wrapperDeclaredElse);
|