@wrongstack/cli 0.319.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/providers.json +22 -15
- package/dist/{acp-5ANIAOZC.js → acp-3LARESEO.js} +113 -10
- package/dist/acp-hq-telemetry.d.ts +44 -0
- package/dist/{audit-ZPCLCC3C.js → audit-46YK5DSC.js} +1 -2
- package/dist/{auth-ND7J7DTD.js → auth-ZUMCDNE5.js} +6 -7
- package/dist/auth-menu/add-provider.d.ts +7 -0
- package/dist/auth-menu/panel-service.d.ts +2 -20
- package/dist/{auto-discover-providers-MHFLDSD3.js → auto-discover-providers-VQU3IZMR.js} +1 -2
- package/dist/{bench-XYG56AMO.js → bench-YBU6BVQP.js} +175 -35
- package/dist/boot/brain-decision-log.d.ts +22 -2
- package/dist/boot/system-prompt-menu.d.ts +7 -0
- package/dist/{boot-auto-thin-BZ675EVT.js → boot-auto-thin-MANHOYHE.js} +1 -2
- package/dist/{chronicle-6EPPMUC5.js → chronicle-UTFETHP6.js} +1 -2
- package/dist/{chunk-HF5VQWIY.js → chunk-5IA5337I.js} +3 -3
- package/dist/{chunk-TALOKMIC.js → chunk-C2E24IXZ.js} +31 -15
- package/dist/chunk-D2VCUN7M.js +54 -0
- package/dist/{chunk-XPX432BZ.js → chunk-DR2OXU46.js} +50 -39
- package/dist/{chunk-GGGUZSAU.js → chunk-E6RFXHWD.js} +18 -13
- package/dist/{chunk-TYO2OVAD.js → chunk-EWKESL4L.js} +8 -4
- package/dist/{chunk-QAC263FZ.js → chunk-FPIWTJ2G.js} +2 -3
- package/dist/{chunk-7YLN7YUA.js → chunk-IMWXXF4J.js} +61 -9
- package/dist/{chunk-LIWVIEZM.js → chunk-KHWDTNBZ.js} +5 -5
- package/dist/{chunk-IMT6PNV5.js → chunk-MNQQ4ZNF.js} +26 -22
- package/dist/{chunk-P2OKBDCH.js → chunk-MXEJEYT7.js} +53 -14
- package/dist/{chunk-PCBJSXYV.js → chunk-O4A3HHKD.js} +2 -2
- package/dist/{chunk-XYKYXFEE.js → chunk-TE3Q32JP.js} +10 -4
- package/dist/{chunk-635WW3II.js → chunk-TEBMCYZN.js} +67 -18
- package/dist/{chunk-E4I2TF5S.js → chunk-TNK6237M.js} +2 -2
- package/dist/chunk-UQUYBDMG.js +51 -0
- package/dist/{chunk-F5GA2QW2.js → chunk-ZSZ3EYWH.js} +2 -2
- package/dist/{cli-context-K73EIND5.js → cli-context-7X3M6U73.js} +59 -308
- package/dist/{cli-main-QXSKKANW.js → cli-main-53KG6HAV.js} +972 -293
- package/dist/config-transfer-2YF3CRTN.js +99 -0
- package/dist/{diag-doctor-QZVKUAE5.js → diag-doctor-7LYUYU35.js} +1 -2
- package/dist/execute-deps.d.ts +5 -1
- package/dist/{execution-7ZFY4FJY.js → execution-MIBWBYB6.js} +52 -35
- package/dist/{export-ROG3DKTZ.js → export-VVRIOWFV.js} +1 -2
- package/dist/{governance-JSGHHA2R.js → governance-RYSHV675.js} +1 -2
- package/dist/{hq-4QQJO2GN.js → hq-IG3YRGCO.js} +2 -3
- package/dist/hq-command-controller.d.ts +37 -7
- package/dist/hq-server/ws.d.ts +1 -1
- package/dist/{hq-server-CVAYICIS.js → hq-server-OILU3NPI.js} +2 -3
- package/dist/{hq-ttl-KUO3AU7X.js → hq-ttl-VJR65OBJ.js} +1 -2
- package/dist/{hq-tunnel-LO55RCZE.js → hq-tunnel-NIJ5EP2Y.js} +1 -2
- package/dist/index.js +5 -6
- package/dist/{init-4JQSG66Q.js → init-DRMMFG2G.js} +1 -2
- package/dist/{kanban-run-mirror-EKVNGXWW.js → kanban-run-mirror-22HQ5FNG.js} +1 -2
- package/dist/live-settings-input.d.ts +2 -0
- package/dist/{mailbox-serve-VKQIRCCB.js → mailbox-serve-VUCWZ2SJ.js} +2 -3
- package/dist/{mcp-AQKSASHD.js → mcp-HOMLC4WE.js} +1 -2
- package/dist/{modeldiag-ZL4ROTQ5.js → modeldiag-FMJT37SN.js} +2 -3
- package/dist/{per-subcommand-help-6VCIKDUW.js → per-subcommand-help-BWBHYVJO.js} +2 -3
- package/dist/{permissions-2PWBL4YU.js → permissions-CFDLXETM.js} +1 -2
- package/dist/{plugin-usage-7WCZW4NP.js → plugin-usage-HFBI3TFT.js} +2 -3
- package/dist/{plugins-7N3TF2QF.js → plugins-PZ2VZL7V.js} +4 -5
- package/dist/{project-BLQ3ALVL.js → project-AOQI5XTK.js} +1 -2
- package/dist/{project-manifest-RV5FXGQI.js → project-manifest-7NSFVBM3.js} +1 -2
- package/dist/{project-picker-CCQR3W4I.js → project-picker-SVBXMPKX.js} +1 -2
- package/dist/{projects-5J727S4L.js → projects-L6C6XLDY.js} +1 -2
- package/dist/provider-config-utils.d.ts +1 -1
- package/dist/{providers-models-OKKQZIWU.js → providers-models-YVMVYWRS.js} +3 -4
- package/dist/{proxy-wiring-QCI7EWQC.js → proxy-wiring-MGRSKZZB.js} +1 -2
- package/dist/{quick-XLYLZX4B.js → quick-CNB4Z3HS.js} +1 -2
- package/dist/{replay-RZXZKP2U.js → replay-JJ2NOWD6.js} +1 -2
- package/dist/{replay-FJ2JBXUA.js → replay-Z3FTJEMM.js} +1 -2
- package/dist/{rewind-2FFNOOKS.js → rewind-JA3ZLCNM.js} +1 -2
- package/dist/{sdd-runtime-R6FAK2G2.js → sdd-runtime-PTOSPYI4.js} +1 -2
- package/dist/services/statusline-config.d.ts +43 -13
- package/dist/{sessions-config-KAMEBVOX.js → sessions-config-UL45XKX7.js} +2 -3
- package/dist/{sessions-doctor-EXHAZSSE.js → sessions-doctor-QUL37U32.js} +1 -2
- package/dist/settings-behavior-sections.d.ts +20 -0
- package/dist/short-circuit-flags-UREFSYBL.js +10 -0
- package/dist/{simpleui-dist-JKNRCRRK.js → simpleui-dist-CXSIDAXZ.js} +1 -2
- package/dist/slash-commands/command-context.d.ts +10 -0
- package/dist/slash-commands/statusline.d.ts +1 -1
- package/dist/subcommands/handlers/bench-run-config.d.ts +18 -0
- package/dist/subcommands/handlers/bench.d.ts +8 -7
- package/dist/subcommands/handlers/config-transfer.d.ts +6 -0
- package/dist/subcommands-WJLBHVKC.js +9 -0
- package/dist/{tools-skills-Q4P27URS.js → tools-skills-GH24UCBY.js} +1 -2
- package/dist/{update-K45CS6SS.js → update-5DPB4YD4.js} +1 -2
- package/dist/{update-check-PKSMSMD6.js → update-check-BS3DHTSI.js} +1 -2
- package/dist/version-help-MYKF724O.js +10 -0
- package/dist/webui-server/client-registration.d.ts +9 -1
- package/dist/{webui-server-F7MSRHOF.js → webui-server-5R35BHWZ.js} +54 -15
- package/dist/wiring/brain-and-orchestration.d.ts +2 -0
- package/dist/wiring/cli-execute-builder.d.ts +4 -0
- package/dist/wiring/cli-slash-commands-setup.d.ts +1 -0
- package/dist/wiring/command-host-state.d.ts +50 -5
- package/dist/wiring/external-plugins.d.ts +9 -0
- package/dist/wiring/provider-runtime-setup.d.ts +2 -0
- package/dist/wiring/runtime-controller-deps.d.ts +3 -0
- package/dist/wiring/vector-memory-setup.d.ts +12 -0
- package/dist/wiring/wrongtrace-prompt-contributor.d.ts +5 -2
- package/dist/{wrongtrace-gate-counters-GSVY372D.js → wrongtrace-gate-counters-7C2EAAZL.js} +1 -2
- package/dist/{wrongtrace-telemetry-KBBM5NLQ.js → wrongtrace-telemetry-3ASFKOZO.js} +1 -2
- package/package.json +28 -28
- package/dist/chunk-7OCVIDC7.js +0 -11
- package/dist/chunk-KYDJJLJI.js +0 -52
- package/dist/launch-hints.d.ts +0 -49
- package/dist/short-circuit-flags-7YUCERBB.js +0 -11
- package/dist/subcommands-KE6MEQQP.js +0 -10
- package/dist/version-help-WMPSEL4U.js +0 -11
- package/dist/webui-server/privileged-actions.d.ts +0 -14
- package/dist/wiring/cli-heap-watchdog.d.ts +0 -34
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startCliHqConnection
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-7OCVIDC7.js";
|
|
3
|
+
} from "./chunk-TE3Q32JP.js";
|
|
5
4
|
|
|
6
5
|
// src/subcommands/handlers/mailbox-serve.ts
|
|
7
6
|
import { createServer } from "node:http";
|
|
@@ -360,4 +359,4 @@ function printHelp(deps) {
|
|
|
360
359
|
export {
|
|
361
360
|
mailboxServeCmd
|
|
362
361
|
};
|
|
363
|
-
//# sourceMappingURL=mailbox-serve-
|
|
362
|
+
//# sourceMappingURL=mailbox-serve-VUCWZ2SJ.js.map
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
activeProfileConfigPath
|
|
6
6
|
} from "./chunk-YMXXOOFN.js";
|
|
7
|
-
import "./chunk-7OCVIDC7.js";
|
|
8
7
|
|
|
9
8
|
// src/subcommands/handlers/mcp.ts
|
|
10
9
|
import { allServers } from "@wrongstack/core/infrastructure";
|
|
@@ -441,4 +440,4 @@ function isRecord(value) {
|
|
|
441
440
|
export {
|
|
442
441
|
mcpCmd
|
|
443
442
|
};
|
|
444
|
-
//# sourceMappingURL=mcp-
|
|
443
|
+
//# sourceMappingURL=mcp-HOMLC4WE.js.map
|
|
@@ -8,8 +8,7 @@ import {
|
|
|
8
8
|
mutateConfigProviders,
|
|
9
9
|
normalizeKeys,
|
|
10
10
|
writeKeysBack
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-7OCVIDC7.js";
|
|
11
|
+
} from "./chunk-DR2OXU46.js";
|
|
13
12
|
|
|
14
13
|
// src/subcommands/handlers/modeldiag.ts
|
|
15
14
|
import * as fs from "node:fs/promises";
|
|
@@ -1323,4 +1322,4 @@ var modeldiagCmd = async (args, deps) => {
|
|
|
1323
1322
|
export {
|
|
1324
1323
|
modeldiagCmd
|
|
1325
1324
|
};
|
|
1326
|
-
//# sourceMappingURL=modeldiag-
|
|
1325
|
+
//# sourceMappingURL=modeldiag-FMJT37SN.js.map
|
|
@@ -7,9 +7,8 @@ import {
|
|
|
7
7
|
renderFocusedHelpToString,
|
|
8
8
|
renderGenericHelp,
|
|
9
9
|
subcommandsWithFocusedHelp
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MXEJEYT7.js";
|
|
11
11
|
import "./chunk-2VMJ3E5Z.js";
|
|
12
|
-
import "./chunk-7OCVIDC7.js";
|
|
13
12
|
export {
|
|
14
13
|
deepSubcommandsWithFocusedHelp,
|
|
15
14
|
renderBlockToString,
|
|
@@ -20,4 +19,4 @@ export {
|
|
|
20
19
|
renderGenericHelp,
|
|
21
20
|
subcommandsWithFocusedHelp
|
|
22
21
|
};
|
|
23
|
-
//# sourceMappingURL=per-subcommand-help-
|
|
22
|
+
//# sourceMappingURL=per-subcommand-help-BWBHYVJO.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/subcommands/handlers/permissions.ts
|
|
4
3
|
import { DefaultPermissionPolicy } from "@wrongstack/core/security";
|
|
@@ -114,4 +113,4 @@ Flags:
|
|
|
114
113
|
export {
|
|
115
114
|
permissionsCmd
|
|
116
115
|
};
|
|
117
|
-
//# sourceMappingURL=permissions-
|
|
116
|
+
//# sourceMappingURL=permissions-CFDLXETM.js.map
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPluginManagementCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TEBMCYZN.js";
|
|
4
4
|
import {
|
|
5
5
|
restoreFlags
|
|
6
6
|
} from "./chunk-CSAPOCBP.js";
|
|
7
7
|
import {
|
|
8
8
|
activeProfileConfigPath
|
|
9
9
|
} from "./chunk-YMXXOOFN.js";
|
|
10
|
-
import "./chunk-7OCVIDC7.js";
|
|
11
10
|
|
|
12
11
|
// src/subcommands/handlers/plugin-usage.ts
|
|
13
12
|
var pluginCmd = async (args, deps) => {
|
|
@@ -41,4 +40,4 @@ export {
|
|
|
41
40
|
pluginCmd,
|
|
42
41
|
usageCmd
|
|
43
42
|
};
|
|
44
|
-
//# sourceMappingURL=plugin-usage-
|
|
43
|
+
//# sourceMappingURL=plugin-usage-HFBI3TFT.js.map
|
|
@@ -6,10 +6,9 @@ import {
|
|
|
6
6
|
pluginNameFromSpec,
|
|
7
7
|
setupPlugins,
|
|
8
8
|
warnIfDeprecatedPluginName
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-7OCVIDC7.js";
|
|
9
|
+
} from "./chunk-5IA5337I.js";
|
|
10
|
+
import "./chunk-EWKESL4L.js";
|
|
11
|
+
import "./chunk-TEBMCYZN.js";
|
|
13
12
|
export {
|
|
14
13
|
BUILTIN_PLUGIN_FACTORIES,
|
|
15
14
|
DEPRECATED_PLUGIN_NAMES,
|
|
@@ -19,4 +18,4 @@ export {
|
|
|
19
18
|
setupPlugins,
|
|
20
19
|
warnIfDeprecatedPluginName
|
|
21
20
|
};
|
|
22
|
-
//# sourceMappingURL=plugins-
|
|
21
|
+
//# sourceMappingURL=plugins-PZ2VZL7V.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/subcommands/handlers/project.ts
|
|
4
3
|
import {
|
|
@@ -73,4 +72,4 @@ ${color.dim("Commit this file so every clone and machine shares the same HQ proj
|
|
|
73
72
|
export {
|
|
74
73
|
projectCmd
|
|
75
74
|
};
|
|
76
|
-
//# sourceMappingURL=project-
|
|
75
|
+
//# sourceMappingURL=project-AOQI5XTK.js.map
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
saveManifest,
|
|
7
7
|
touchProjectInManifest
|
|
8
8
|
} from "./chunk-IS2PPBQV.js";
|
|
9
|
-
import "./chunk-7OCVIDC7.js";
|
|
10
9
|
export {
|
|
11
10
|
ensureProjectDataDir,
|
|
12
11
|
findProject,
|
|
@@ -15,4 +14,4 @@ export {
|
|
|
15
14
|
saveManifest,
|
|
16
15
|
touchProjectInManifest
|
|
17
16
|
};
|
|
18
|
-
//# sourceMappingURL=project-manifest-
|
|
17
|
+
//# sourceMappingURL=project-manifest-7NSFVBM3.js.map
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
skipDivider
|
|
7
7
|
} from "./chunk-WQZW3RDP.js";
|
|
8
8
|
import "./chunk-IS2PPBQV.js";
|
|
9
|
-
import "./chunk-7OCVIDC7.js";
|
|
10
9
|
export {
|
|
11
10
|
buildPickerItems,
|
|
12
11
|
effectiveVisibleHeight,
|
|
@@ -14,4 +13,4 @@ export {
|
|
|
14
13
|
runProjectPicker,
|
|
15
14
|
skipDivider
|
|
16
15
|
};
|
|
17
|
-
//# sourceMappingURL=project-picker-
|
|
16
|
+
//# sourceMappingURL=project-picker-SVBXMPKX.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/subcommands/handlers/projects.ts
|
|
4
3
|
import * as fs from "node:fs/promises";
|
|
@@ -35,4 +34,4 @@ var projectsCmd = async (_args, deps) => {
|
|
|
35
34
|
export {
|
|
36
35
|
projectsCmd
|
|
37
36
|
};
|
|
38
|
-
//# sourceMappingURL=projects-
|
|
37
|
+
//# sourceMappingURL=projects-L6C6XLDY.js.map
|
|
@@ -54,5 +54,5 @@ export declare function loadConfigProviders(configPath: string, vault: SecretVau
|
|
|
54
54
|
* so non-provider keys are preserved. Refuses to overwrite a corrupt-but-
|
|
55
55
|
* existing config (the user may still have salvageable data).
|
|
56
56
|
*/
|
|
57
|
-
export declare function mutateConfigProviders(configPath: string, vault: SecretVault, mutator: (providers: Record<string, ProviderConfig>) => void, profileConfigPath?: string): Promise<void>;
|
|
57
|
+
export declare function mutateConfigProviders(configPath: string, vault: SecretVault, mutator: (providers: Record<string, ProviderConfig>, config: Record<string, unknown>) => void, profileConfigPath?: string): Promise<void>;
|
|
58
58
|
//# sourceMappingURL=provider-config-utils.d.ts.map
|
|
@@ -6,8 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-YMXXOOFN.js";
|
|
7
7
|
import {
|
|
8
8
|
mutateConfigProviders
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-7OCVIDC7.js";
|
|
9
|
+
} from "./chunk-DR2OXU46.js";
|
|
11
10
|
|
|
12
11
|
// src/subcommands/handlers/providers-models.ts
|
|
13
12
|
import * as fs from "node:fs/promises";
|
|
@@ -240,7 +239,7 @@ function aliasProviderId(configProviderId, cfg) {
|
|
|
240
239
|
async function discoverProviderModels(deps, ids) {
|
|
241
240
|
if (!("mergeOverlay" in deps.modelsRegistry)) return void 0;
|
|
242
241
|
try {
|
|
243
|
-
const { discoverAndMergeProviders } = await import("./auto-discover-providers-
|
|
242
|
+
const { discoverAndMergeProviders } = await import("./auto-discover-providers-VQU3IZMR.js");
|
|
244
243
|
await discoverAndMergeProviders({
|
|
245
244
|
config: deps.config,
|
|
246
245
|
registry: deps.modelsRegistry,
|
|
@@ -661,4 +660,4 @@ export {
|
|
|
661
660
|
modelsCmd,
|
|
662
661
|
providersCmd
|
|
663
662
|
};
|
|
664
|
-
//# sourceMappingURL=providers-models-
|
|
663
|
+
//# sourceMappingURL=providers-models-YVMVYWRS.js.map
|
|
@@ -5,11 +5,10 @@ import {
|
|
|
5
5
|
shutdownWrongProxy
|
|
6
6
|
} from "./chunk-VOTTENR5.js";
|
|
7
7
|
import "./chunk-JHPXJRRI.js";
|
|
8
|
-
import "./chunk-7OCVIDC7.js";
|
|
9
8
|
export {
|
|
10
9
|
applyWrongProxyPrefs,
|
|
11
10
|
awaitFirstWrongProxyProbe,
|
|
12
11
|
bootstrapWrongProxy,
|
|
13
12
|
shutdownWrongProxy
|
|
14
13
|
};
|
|
15
|
-
//# sourceMappingURL=proxy-wiring-
|
|
14
|
+
//# sourceMappingURL=proxy-wiring-MGRSKZZB.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/subcommands/handlers/quick.ts
|
|
4
3
|
var quickCmd = (_args, _deps) => {
|
|
@@ -7,4 +6,4 @@ var quickCmd = (_args, _deps) => {
|
|
|
7
6
|
export {
|
|
8
7
|
quickCmd
|
|
9
8
|
};
|
|
10
|
-
//# sourceMappingURL=quick-
|
|
9
|
+
//# sourceMappingURL=quick-CNB4Z3HS.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
restoreFlags
|
|
3
3
|
} from "./chunk-CSAPOCBP.js";
|
|
4
|
-
import "./chunk-7OCVIDC7.js";
|
|
5
4
|
|
|
6
5
|
// src/subcommands/handlers/replay.ts
|
|
7
6
|
import { ReplayLogStore } from "@wrongstack/core/storage";
|
|
@@ -76,4 +75,4 @@ Run a session with --record first, then --replay to re-execute it.`
|
|
|
76
75
|
export {
|
|
77
76
|
replayCmd
|
|
78
77
|
};
|
|
79
|
-
//# sourceMappingURL=replay-
|
|
78
|
+
//# sourceMappingURL=replay-JJ2NOWD6.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/wiring/replay.ts
|
|
4
3
|
import { runProviderWithRetry } from "@wrongstack/core/agent";
|
|
@@ -31,4 +30,4 @@ function bindReplayToContainer(opts) {
|
|
|
31
30
|
export {
|
|
32
31
|
bindReplayToContainer
|
|
33
32
|
};
|
|
34
|
-
//# sourceMappingURL=replay-
|
|
33
|
+
//# sourceMappingURL=replay-Z3FTJEMM.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
restoreFlags
|
|
3
3
|
} from "./chunk-CSAPOCBP.js";
|
|
4
|
-
import "./chunk-7OCVIDC7.js";
|
|
5
4
|
|
|
6
5
|
// src/subcommands/handlers/rewind.ts
|
|
7
6
|
import {
|
|
@@ -186,4 +185,4 @@ ${result.errors.length} error(s):
|
|
|
186
185
|
export {
|
|
187
186
|
rewindCmd
|
|
188
187
|
};
|
|
189
|
-
//# sourceMappingURL=rewind-
|
|
188
|
+
//# sourceMappingURL=rewind-JA3ZLCNM.js.map
|
|
@@ -23,7 +23,6 @@ import {
|
|
|
23
23
|
trySaveSpecFromAIOutput,
|
|
24
24
|
trySaveTasksFromAIOutput
|
|
25
25
|
} from "./chunk-JHUJUIOH.js";
|
|
26
|
-
import "./chunk-7OCVIDC7.js";
|
|
27
26
|
export {
|
|
28
27
|
SDDState,
|
|
29
28
|
advanceToNextTask,
|
|
@@ -49,4 +48,4 @@ export {
|
|
|
49
48
|
trySaveSpecFromAIOutput,
|
|
50
49
|
trySaveTasksFromAIOutput
|
|
51
50
|
};
|
|
52
|
-
//# sourceMappingURL=sdd-runtime-
|
|
51
|
+
//# sourceMappingURL=sdd-runtime-PTOSPYI4.js.map
|
|
@@ -1,33 +1,63 @@
|
|
|
1
|
-
import type
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { type StatuslineDensities, type StatuslineItem, type StatuslineLines } from '@wrongstack/core/statusline';
|
|
2
|
+
/**
|
|
3
|
+
* On-disk schema version.
|
|
4
|
+
* v1 — flat boolean map.
|
|
5
|
+
* v2 — `{chips, lines}`.
|
|
6
|
+
* v3 — adds `densities` (per-chip full/short/micro pin).
|
|
7
|
+
*/
|
|
8
|
+
export declare const STATUSLINE_CONFIG_VERSION = 3;
|
|
9
|
+
/**
|
|
10
|
+
* The persistence vocabulary IS the core contract — one list, so a new chip
|
|
11
|
+
* cannot gain a default line without gaining a toggle (or vice versa). The
|
|
12
|
+
* drift guard in `statusline-contract-drift.test.ts` still asserts it.
|
|
13
|
+
*/
|
|
14
|
+
export declare const STATUSLINE_CONFIG_KEYS: readonly StatuslineItem[];
|
|
15
|
+
export type StatuslineConfigKey = StatuslineItem;
|
|
7
16
|
export type StatuslineConfig = {
|
|
8
17
|
[K in StatuslineConfigKey]?: boolean | undefined;
|
|
9
18
|
};
|
|
10
19
|
/**
|
|
11
|
-
*
|
|
12
|
-
* per-chip
|
|
13
|
-
*
|
|
14
|
-
*
|
|
20
|
+
* v3 statusline.json document: the chip on/off map, the sparse per-chip line
|
|
21
|
+
* assignment, and the sparse per-chip density pin. Absent `lines` keys mean
|
|
22
|
+
* "render on the contract's default line" (`DEFAULT_LINES`); absent
|
|
23
|
+
* `densities` keys mean "let the rail fitter choose".
|
|
15
24
|
*/
|
|
16
25
|
export interface StatuslineDocument {
|
|
17
26
|
version: typeof STATUSLINE_CONFIG_VERSION;
|
|
18
27
|
chips: StatuslineConfig;
|
|
19
28
|
lines: StatuslineLines;
|
|
29
|
+
densities: StatuslineDensities;
|
|
20
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Chip toggles for a brand-new config. Not every chip is on: the static
|
|
33
|
+
* identity trivia in `DEFAULT_HIDDEN_ITEMS` starts off, because each costs
|
|
34
|
+
* 10–30 permanent columns and is recoverable from a slash command. An
|
|
35
|
+
* existing file's explicit map always wins over this.
|
|
36
|
+
*/
|
|
21
37
|
export declare const DEFAULTS: StatuslineConfig;
|
|
22
38
|
export declare function loadStatuslineConfig(): Promise<StatuslineDocument>;
|
|
23
39
|
export declare function ensureStatuslineConfig(): Promise<StatuslineDocument>;
|
|
24
40
|
export declare function saveStatuslineConfig(config: StatuslineDocument): Promise<void>;
|
|
25
41
|
/** Load just the per-chip line assignment (defaults to {} when unassigned). */
|
|
26
42
|
export declare function loadStatuslineLines(): Promise<StatuslineLines>;
|
|
43
|
+
/** Load just the per-chip density pins (defaults to {} when unpinned). */
|
|
44
|
+
export declare function loadStatuslineDensities(): Promise<StatuslineDensities>;
|
|
45
|
+
/**
|
|
46
|
+
* Persist a new layout (lines and/or densities) while preserving the stored
|
|
47
|
+
* chip toggles. Values are re-normalized (unknown keys dropped, clamped) so a
|
|
48
|
+
* malformed caller cannot write garbage to disk.
|
|
49
|
+
*/
|
|
50
|
+
export declare function saveStatuslineLayout(layout: {
|
|
51
|
+
lines?: StatuslineLines | undefined;
|
|
52
|
+
densities?: StatuslineDensities | undefined;
|
|
53
|
+
}): Promise<void>;
|
|
27
54
|
/**
|
|
28
|
-
* Persist
|
|
29
|
-
*
|
|
30
|
-
*
|
|
55
|
+
* Persist the chip on/off map while preserving the stored layout. Same RMW
|
|
56
|
+
* hazard as {@link saveStatuslineLayout}, so it shares the mutation queue: a
|
|
57
|
+
* hidden-items save racing a layout save must not resurrect the other's
|
|
58
|
+
* stale field.
|
|
31
59
|
*/
|
|
60
|
+
export declare function saveStatuslineChips(chips: StatuslineConfig): Promise<void>;
|
|
61
|
+
/** Back-compat alias: persist only the line assignment. */
|
|
32
62
|
export declare function saveStatuslineLines(lines: StatuslineLines): Promise<void>;
|
|
33
63
|
//# sourceMappingURL=statusline-config.d.ts.map
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
activeProfileConfigPath
|
|
12
12
|
} from "./chunk-YMXXOOFN.js";
|
|
13
|
-
import "./chunk-7OCVIDC7.js";
|
|
14
13
|
|
|
15
14
|
// src/subcommands/handlers/sessions-config.ts
|
|
16
15
|
import { color as color2, expectDefined } from "@wrongstack/core/utils";
|
|
@@ -244,7 +243,7 @@ var sessionsCmd = async (args, deps) => {
|
|
|
244
243
|
return sessionsFleetCmd(args.slice(1), deps);
|
|
245
244
|
}
|
|
246
245
|
if (sub === "doctor") {
|
|
247
|
-
const { sessionsDoctorCmd } = await import("./sessions-doctor-
|
|
246
|
+
const { sessionsDoctorCmd } = await import("./sessions-doctor-QUL37U32.js");
|
|
248
247
|
return sessionsDoctorCmd(args.slice(1), deps);
|
|
249
248
|
}
|
|
250
249
|
if (!deps.sessionStore) {
|
|
@@ -419,4 +418,4 @@ export {
|
|
|
419
418
|
configCmd,
|
|
420
419
|
sessionsCmd
|
|
421
420
|
};
|
|
422
|
-
//# sourceMappingURL=sessions-config-
|
|
421
|
+
//# sourceMappingURL=sessions-config-UL45XKX7.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/subcommands/handlers/sessions-doctor.ts
|
|
4
3
|
import {
|
|
@@ -143,4 +142,4 @@ var sessionsDoctorCmd = async (args, deps) => {
|
|
|
143
142
|
export {
|
|
144
143
|
sessionsDoctorCmd
|
|
145
144
|
};
|
|
146
|
-
//# sourceMappingURL=sessions-doctor-
|
|
145
|
+
//# sourceMappingURL=sessions-doctor-QUL37U32.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The behavior half of the config — the sections `CONFIG_BEHAVIOR_DEFAULTS`
|
|
3
|
+
* defines that describe *how the product behaves*. One shared list so
|
|
4
|
+
* `/settings reset` (factory restore) and `wstack config-export` /
|
|
5
|
+
* `wstack config-import` (portable settings transfer) can never drift apart.
|
|
6
|
+
*
|
|
7
|
+
* Identity and user-owned namespaces are NEVER part of this set: `provider`,
|
|
8
|
+
* `model`, `providers` (API keys), `mcpServers`, `extensions`, `plugins`,
|
|
9
|
+
* `hq`, `launch`, `fallbackAuto`, `fallbackProfiles`, `fallbackModels`,
|
|
10
|
+
* `fallbackBridge`, `favoriteModels*`, `modelMatrix`, `modelTiers`,
|
|
11
|
+
* `configScope`, `uiLocale`, `version`, `activeProfile`. Portable exports are
|
|
12
|
+
* therefore structurally free of credentials and model-routing data.
|
|
13
|
+
*/
|
|
14
|
+
export declare const BEHAVIOR_SECTION_KEYS: readonly ['context', 'tools', 'log', 'features', 'session', 'indexing', 'circuitBreaker', 'modelRuntime', 'Sage', 'skills', 'systemPrompt', 'autonomy', 'maxConcurrent', 'yolo', 'nextPrediction', 'hints', 'debugStream'];
|
|
15
|
+
export type BehaviorSectionKey = (typeof BEHAVIOR_SECTION_KEYS)[number];
|
|
16
|
+
/** Deep-copy the behavior sections out of a loaded config. */
|
|
17
|
+
export declare function extractBehaviorSettings(config: Record<string, unknown>): Record<string, unknown>;
|
|
18
|
+
/** Merge behavior sections from a portable export over an existing config object. */
|
|
19
|
+
export declare function mergeBehaviorSettings(target: Record<string, unknown>, settings: Record<string, unknown>): string[];
|
|
20
|
+
//# sourceMappingURL=settings-behavior-sections.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
handleHelpVersionShortCircuit
|
|
3
|
+
} from "./chunk-KHWDTNBZ.js";
|
|
4
|
+
import "./chunk-FPIWTJ2G.js";
|
|
5
|
+
import "./chunk-XJXDOF63.js";
|
|
6
|
+
import "./chunk-E6RFXHWD.js";
|
|
7
|
+
export {
|
|
8
|
+
handleHelpVersionShortCircuit
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=short-circuit-flags-UREFSYBL.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/simpleui-dist.ts
|
|
4
3
|
import { spawn } from "node:child_process";
|
|
@@ -97,4 +96,4 @@ export {
|
|
|
97
96
|
ensureSimpleUiDistDir,
|
|
98
97
|
resolveSimpleUiDistDir
|
|
99
98
|
};
|
|
100
|
-
//# sourceMappingURL=simpleui-dist-
|
|
99
|
+
//# sourceMappingURL=simpleui-dist-CXSIDAXZ.js.map
|
|
@@ -576,7 +576,17 @@ export interface SlashCommandContext {
|
|
|
576
576
|
kind: string;
|
|
577
577
|
question: string;
|
|
578
578
|
outcome: string;
|
|
579
|
+
/** Tier that resolved the decision, when the chain recorded one. */
|
|
580
|
+
tier?: string | undefined;
|
|
579
581
|
}>) | undefined;
|
|
582
|
+
/**
|
|
583
|
+
* Session-lifetime per-tier decision tally for `/brain stats`.
|
|
584
|
+
*
|
|
585
|
+
* Optional: hosts that only wire `getBrainLog` (the WebUI route context,
|
|
586
|
+
* bare test containers) fall back to counting the ring buffer, which is
|
|
587
|
+
* capped at 20 entries and therefore only ever describes the recent past.
|
|
588
|
+
*/
|
|
589
|
+
brainTierStats?: (() => import('@wrongstack/core/coordination').BrainTierStats) | undefined;
|
|
580
590
|
/** Config store for reading/writing config sections at runtime (e.g. settings menu). */
|
|
581
591
|
configStore: import('@wrongstack/core/types').ConfigStore;
|
|
582
592
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
2
|
import { type StatuslineConfigKey, type StatuslineDocument } from '../services/statusline-config.js';
|
|
3
|
-
export { DEFAULTS, ensureStatuslineConfig, loadStatuslineConfig, STATUSLINE_CONFIG_KEYS, STATUSLINE_CONFIG_VERSION, type StatuslineConfig, type StatuslineConfigKey, type StatuslineDocument, saveStatuslineConfig, } from '../services/statusline-config.js';
|
|
3
|
+
export { DEFAULTS, ensureStatuslineConfig, loadStatuslineConfig, loadStatuslineDensities, loadStatuslineLines, STATUSLINE_CONFIG_KEYS, STATUSLINE_CONFIG_VERSION, type StatuslineConfig, type StatuslineConfigKey, type StatuslineDocument, saveStatuslineConfig, saveStatuslineLayout, saveStatuslineLines, } from '../services/statusline-config.js';
|
|
4
4
|
export interface StatuslineCommandDeps {
|
|
5
5
|
cwd: string;
|
|
6
6
|
/** Current hidden items list. Written by the command when toggling. */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type BenchConfig } from '@wrongstack/bench';
|
|
2
|
+
export declare const DEFAULT_BENCH_MODELS_FILE = "bench.config.json";
|
|
3
|
+
export interface ResolveBenchRunConfigInput {
|
|
4
|
+
suiteId: string;
|
|
5
|
+
cwd: string;
|
|
6
|
+
flags?: Record<string, string | boolean> | undefined;
|
|
7
|
+
savedProvider?: string | undefined;
|
|
8
|
+
savedModel?: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Resolve the model matrix for `wstack bench run`.
|
|
12
|
+
*
|
|
13
|
+
* A missing default `bench.config.json` is not an error — fall through to
|
|
14
|
+
* `--cell`, `--provider`/`--model`, or the saved CLI provider/model. Only an
|
|
15
|
+
* explicit `--models <other-file>` that cannot be read fails closed.
|
|
16
|
+
*/
|
|
17
|
+
export declare function resolveBenchRunConfig(input: ResolveBenchRunConfigInput): Promise<BenchConfig>;
|
|
18
|
+
//# sourceMappingURL=bench-run-config.d.ts.map
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { SubcommandHandler } from '../contracts.js';
|
|
2
2
|
/**
|
|
3
|
-
* `wstack bench` — run model-independent agentic benchmarks (
|
|
4
|
-
* Aider polyglot, SWE-bench Verified) with deterministic
|
|
5
|
-
* fingerprint.
|
|
3
|
+
* `wstack bench` — run model-independent agentic benchmarks (bundled smoke,
|
|
4
|
+
* local manifests, Aider polyglot, SWE-bench Verified) with deterministic
|
|
5
|
+
* graders and a harness fingerprint.
|
|
6
6
|
*
|
|
7
|
-
* wstack bench run
|
|
8
|
-
* wstack bench mine
|
|
9
|
-
* wstack bench report
|
|
10
|
-
* wstack bench
|
|
7
|
+
* wstack bench run --suite <id> [--cell spec | --models config] [...]
|
|
8
|
+
* wstack bench mine --transcript <session.jsonl> [--out <eval-dir>]
|
|
9
|
+
* wstack bench report <dir>
|
|
10
|
+
* wstack bench compare <baseline-dir> <candidate-dir>
|
|
11
|
+
* wstack bench list [--models <config>]
|
|
11
12
|
*/
|
|
12
13
|
export declare const benchCmd: SubcommandHandler;
|
|
13
14
|
//# sourceMappingURL=bench.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SubcommandHandler } from '../contracts.js';
|
|
2
|
+
/** `wstack config-export` — write portable behavior settings to ./wstack-config.json. */
|
|
3
|
+
export declare const configExportCmd: SubcommandHandler;
|
|
4
|
+
/** `wstack config-import` — apply ./wstack-config.json behavior settings to the active profile. */
|
|
5
|
+
export declare const configImportCmd: SubcommandHandler;
|
|
6
|
+
//# sourceMappingURL=config-transfer.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./chunk-7OCVIDC7.js";
|
|
2
1
|
|
|
3
2
|
// src/subcommands/handlers/tools-skills.ts
|
|
4
3
|
import { color } from "@wrongstack/core/utils";
|
|
@@ -26,4 +25,4 @@ export {
|
|
|
26
25
|
skillsCmd,
|
|
27
26
|
toolsCmd
|
|
28
27
|
};
|
|
29
|
-
//# sourceMappingURL=tools-skills-
|
|
28
|
+
//# sourceMappingURL=tools-skills-GH24UCBY.js.map
|
|
@@ -6,11 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-DE7BZDNK.js";
|
|
7
7
|
import "./chunk-U3SS4NRH.js";
|
|
8
8
|
import "./chunk-YLQEGYV4.js";
|
|
9
|
-
import "./chunk-7OCVIDC7.js";
|
|
10
9
|
export {
|
|
11
10
|
detectUpdatePackageManager,
|
|
12
11
|
detectUpdatePackageName,
|
|
13
12
|
runUpdateCommand,
|
|
14
13
|
updateCmd
|
|
15
14
|
};
|
|
16
|
-
//# sourceMappingURL=update-
|
|
15
|
+
//# sourceMappingURL=update-5DPB4YD4.js.map
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
getUpdateNotification,
|
|
7
7
|
isNewer
|
|
8
8
|
} from "./chunk-YLQEGYV4.js";
|
|
9
|
-
import "./chunk-7OCVIDC7.js";
|
|
10
9
|
export {
|
|
11
10
|
cachePath,
|
|
12
11
|
checkForUpdate,
|
|
@@ -15,4 +14,4 @@ export {
|
|
|
15
14
|
getUpdateNotification,
|
|
16
15
|
isNewer
|
|
17
16
|
};
|
|
18
|
-
//# sourceMappingURL=update-check-
|
|
17
|
+
//# sourceMappingURL=update-check-BS3DHTSI.js.map
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type HqCommandController } from '../hq-command-controller.js';
|
|
2
2
|
export interface WebuiHqControlHooks {
|
|
3
|
-
interruptLeader: () => boolean;
|
|
3
|
+
interruptLeader: (sessionId?: string) => boolean;
|
|
4
4
|
allowRunCommand: () => boolean;
|
|
5
|
+
/** Does this host currently own the named session (an open tab)? */
|
|
6
|
+
ownsSession?: ((sessionId: string) => boolean) | undefined;
|
|
5
7
|
spawnAgent?: HqCommandController['spawnAgent'];
|
|
6
8
|
killFleet?: HqCommandController['killFleet'];
|
|
7
9
|
terminateAgent?: HqCommandController['terminateAgent'];
|
|
@@ -12,6 +14,12 @@ export interface WebuiClientRegistrationDeps {
|
|
|
12
14
|
events: import('@wrongstack/core/kernel').EventBus;
|
|
13
15
|
hqSessionId: string;
|
|
14
16
|
getSessionId: () => string;
|
|
17
|
+
/** Session ids the connected browsers display — one per open tab. */
|
|
18
|
+
listSessions?: (() => readonly string[]) | undefined;
|
|
19
|
+
/** Sessions another publisher in this process already announces to HQ. */
|
|
20
|
+
isSessionOwnedElsewhere?: ((sessionId: string) => boolean) | undefined;
|
|
21
|
+
/** A tab's own session writer, so HQ streams its turns without a disk tail. */
|
|
22
|
+
getSessionWriter?: ((sessionId: string) => import('@wrongstack/core/types').SessionWriter | undefined) | undefined;
|
|
15
23
|
hqControl?: WebuiHqControlHooks | undefined;
|
|
16
24
|
}
|
|
17
25
|
export interface WebuiClientRegistration {
|