@wrongstack/cli 0.306.4 → 0.307.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{auth-L3WGSGDX.js → auth-TVOOHL4Q.js} +45 -106
- package/dist/boot/short-circuit-flags.d.ts +2 -2
- package/dist/chimera-cascade-evidence.d.ts +1 -1
- package/dist/chunk-2VMJ3E5Z.js +71 -0
- package/dist/{chunk-RHLQT3EV.js → chunk-CB35UVXO.js} +1636 -1528
- package/dist/{chunk-YKBRFSGL.js → chunk-DOJLAULS.js} +28 -28
- package/dist/{chunk-KXN5HZDL.js → chunk-PKHGLWUJ.js} +24 -6
- package/dist/{chunk-HITHEXE3.js → chunk-TOG7OMKJ.js} +2 -2
- package/dist/{chunk-ARWGQUB3.js → chunk-XSG33WHN.js} +15 -5
- package/dist/{cli-main-4TZCCZR6.js → cli-main-YDOZZOZA.js} +21606 -20849
- package/dist/cli-main.d.ts +0 -20
- package/dist/{execution-547PM3NI.js → execution-CGT6J5ZN.js} +304 -272
- package/dist/fleet/host-learning-scheduler.d.ts +27 -0
- package/dist/fleet/host-shadow-manager.d.ts +64 -0
- package/dist/fleet/host.d.ts +5 -140
- package/dist/{hq-ZK6PGN3W.js → hq-PA6RH2UW.js} +2 -2
- package/dist/hq-server/mailbox-gateway-manager.d.ts +32 -0
- package/dist/hq-server/routes/auth/bootstrap-routes.d.ts +5 -0
- package/dist/hq-server/routes/auth/common.d.ts +11 -0
- package/dist/hq-server/routes/auth/password-routes.d.ts +9 -0
- package/dist/hq-server/routes/auth/session-audit-routes.d.ts +6 -0
- package/dist/hq-server/routes/auth/totp-routes.d.ts +9 -0
- package/dist/hq-server/routes/auth-handlers.d.ts +5 -132
- package/dist/hq-server/routes/command-handlers.d.ts +7 -0
- package/dist/hq-server/routes/data-handlers.d.ts +8 -0
- package/dist/hq-server/routes/mailbox-handlers.d.ts +22 -0
- package/dist/hq-server/routes.d.ts +3 -3
- package/dist/hq-server/server-lifecycle.d.ts +37 -0
- package/dist/hq-server/snapshot.d.ts +6 -5
- package/dist/hq-server/types.d.ts +4 -0
- package/dist/hq-server/upgrade-handler.d.ts +34 -0
- package/dist/hq-server/ws-client-events.d.ts +25 -0
- package/dist/hq-server/ws-leader.d.ts +47 -0
- package/dist/hq-server/ws-resume.d.ts +27 -0
- package/dist/hq-server/ws.d.ts +4 -71
- package/dist/{hq-server-IVZLVCFV.js → hq-server-PBRU275L.js} +2 -2
- package/dist/hq-server.d.ts +0 -38
- package/dist/index.js +1267 -122
- package/dist/{mcp-W7HHN7IA.js → mcp-CMLFHRG2.js} +14 -7
- package/dist/mcp-serve.d.ts +12 -1
- package/dist/{modeldiag-6VS5KDP5.js → modeldiag-ICMPHT5L.js} +868 -831
- package/dist/{providers-models-HQN3AT3K.js → providers-models-4FAKM2WO.js} +4 -4
- package/dist/repl-eternal-loop.d.ts +8 -0
- package/dist/repl-goal-banner.d.ts +21 -0
- package/dist/slash-commands/brain-council.d.ts +36 -0
- package/dist/slash-commands/brain-status.d.ts +12 -0
- package/dist/slash-commands/kanban-board-handlers.d.ts +13 -0
- package/dist/slash-commands/kanban-lifecycle-diagnostics.d.ts +16 -0
- package/dist/slash-commands/kanban-task-subcommands.d.ts +8 -0
- package/dist/slash-commands/memory-audience.d.ts +14 -0
- package/dist/slash-commands/memory-gather.d.ts +9 -0
- package/dist/slash-commands/memory-stats.d.ts +5 -0
- package/dist/slash-commands/settings-mutations.d.ts +6 -0
- package/dist/slash-commands/settings-view.d.ts +5 -0
- package/dist/subcommands/handlers/modeldiag-bench.d.ts +10 -0
- package/dist/subcommands/handlers/modeldiag-eval.d.ts +27 -0
- package/dist/subcommands/handlers/modeldiag-test.d.ts +8 -0
- package/dist/{version-help-ASKQYXDJ.js → version-help-TFD6VPF3.js} +2 -2
- package/dist/vibe-protocol-wiring.d.ts +10 -0
- package/dist/webui-server/credential-watcher.d.ts +15 -0
- package/dist/webui-server/domain-handlers.d.ts +21 -0
- package/dist/webui-server/route-contexts.d.ts +41 -0
- package/dist/{webui-server-FTG7JAZU.js → webui-server-IPHGJGXE.js} +515 -437
- package/dist/wiring/cli-execute-builder.d.ts +88 -0
- package/dist/wiring/cli-heap-watchdog.d.ts +33 -0
- package/dist/wiring/cli-prompt-and-tools-setup.d.ts +25 -0
- package/dist/wiring/cli-slash-commands-setup.d.ts +79 -0
- package/dist/wiring/heap-watchdog-setup.d.ts +53 -0
- package/dist/wiring/metrics.d.ts +1 -0
- package/dist/wiring/replay-governance-setup.d.ts +31 -0
- package/package.json +27 -27
|
@@ -2,33 +2,6 @@ import {
|
|
|
2
2
|
theme
|
|
3
3
|
} from "./chunk-QD544J2B.js";
|
|
4
4
|
|
|
5
|
-
// src/boot/simpleui-full-auto.ts
|
|
6
|
-
function isSimpleUiFullAuto(flags) {
|
|
7
|
-
return flags["simpleui"] === true && flags["full-auto"] === true;
|
|
8
|
-
}
|
|
9
|
-
function applySimpleUiFullAutoProfile(config, flags) {
|
|
10
|
-
if (!isSimpleUiFullAuto(flags)) return config;
|
|
11
|
-
flags["yolo"] = true;
|
|
12
|
-
flags["director"] = true;
|
|
13
|
-
flags["no-director"] = false;
|
|
14
|
-
flags["autonomy"] = "auto";
|
|
15
|
-
flags["no-autonomy"] = false;
|
|
16
|
-
return Object.freeze({
|
|
17
|
-
...config,
|
|
18
|
-
yolo: true,
|
|
19
|
-
tools: Object.freeze({
|
|
20
|
-
...config.tools,
|
|
21
|
-
disabledTools: []
|
|
22
|
-
})
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function configureSimpleUiRuntimeContext(meta, flags) {
|
|
26
|
-
if (flags["simpleui"] !== true) return;
|
|
27
|
-
meta["source"] = "webui";
|
|
28
|
-
meta["surface"] = "simpleui";
|
|
29
|
-
meta["coordinationContextMode"] = "background";
|
|
30
|
-
}
|
|
31
|
-
|
|
32
5
|
// src/permission-prompt.ts
|
|
33
6
|
import { alwaysAllowUnavailableReason } from "@wrongstack/core/security";
|
|
34
7
|
import { color as color2, truncate, unifiedDiff, writeOut } from "@wrongstack/core/utils";
|
|
@@ -127,6 +100,33 @@ function renderPayloadPreview(input) {
|
|
|
127
100
|
return typeof diff === "string" && diff ? clipPreview(renderDiff(diff)) : "";
|
|
128
101
|
}
|
|
129
102
|
|
|
103
|
+
// src/boot/simpleui-full-auto.ts
|
|
104
|
+
function isSimpleUiFullAuto(flags) {
|
|
105
|
+
return flags["simpleui"] === true && flags["full-auto"] === true;
|
|
106
|
+
}
|
|
107
|
+
function applySimpleUiFullAutoProfile(config, flags) {
|
|
108
|
+
if (!isSimpleUiFullAuto(flags)) return config;
|
|
109
|
+
flags["yolo"] = true;
|
|
110
|
+
flags["director"] = true;
|
|
111
|
+
flags["no-director"] = false;
|
|
112
|
+
flags["autonomy"] = "auto";
|
|
113
|
+
flags["no-autonomy"] = false;
|
|
114
|
+
return Object.freeze({
|
|
115
|
+
...config,
|
|
116
|
+
yolo: true,
|
|
117
|
+
tools: Object.freeze({
|
|
118
|
+
...config.tools,
|
|
119
|
+
disabledTools: []
|
|
120
|
+
})
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function configureSimpleUiRuntimeContext(meta, flags) {
|
|
124
|
+
if (flags["simpleui"] !== true) return;
|
|
125
|
+
meta["source"] = "webui";
|
|
126
|
+
meta["surface"] = "simpleui";
|
|
127
|
+
meta["coordinationContextMode"] = "background";
|
|
128
|
+
}
|
|
129
|
+
|
|
130
130
|
// src/services/project-facts.ts
|
|
131
131
|
import * as fs from "node:fs/promises";
|
|
132
132
|
import * as path from "node:path";
|
|
@@ -473,4 +473,4 @@ export {
|
|
|
473
473
|
detectProjectFacts,
|
|
474
474
|
renderAgentsTemplate
|
|
475
475
|
};
|
|
476
|
-
//# sourceMappingURL=chunk-
|
|
476
|
+
//# sourceMappingURL=chunk-DOJLAULS.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appendHistory,
|
|
3
|
+
backupCurrent
|
|
4
|
+
} from "./chunk-B4JLSXZB.js";
|
|
1
5
|
import {
|
|
2
6
|
hasApiKey,
|
|
3
7
|
isKeylessLocalProvider,
|
|
4
8
|
visibleModelIds
|
|
5
9
|
} from "./chunk-VUVOMXWP.js";
|
|
6
|
-
import {
|
|
7
|
-
appendHistory,
|
|
8
|
-
backupCurrent
|
|
9
|
-
} from "./chunk-B4JLSXZB.js";
|
|
10
10
|
|
|
11
11
|
// src/arg-parser.ts
|
|
12
12
|
var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
|
|
@@ -101,7 +101,25 @@ var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
|
|
|
101
101
|
"no-tools",
|
|
102
102
|
"no-diagnostics",
|
|
103
103
|
"unsupported",
|
|
104
|
-
"ws"
|
|
104
|
+
"ws",
|
|
105
|
+
"force",
|
|
106
|
+
"no-browser",
|
|
107
|
+
// `wstack auth local` booleans
|
|
108
|
+
"no-key",
|
|
109
|
+
"skip-key",
|
|
110
|
+
"no-probe",
|
|
111
|
+
"skip-probe",
|
|
112
|
+
"probe-only",
|
|
113
|
+
// `wstack models add` capability toggles
|
|
114
|
+
"tools",
|
|
115
|
+
"vision",
|
|
116
|
+
"no-vision",
|
|
117
|
+
"reasoning",
|
|
118
|
+
"no-reasoning",
|
|
119
|
+
"streaming",
|
|
120
|
+
"no-streaming",
|
|
121
|
+
"json-mode",
|
|
122
|
+
"no-json-mode"
|
|
105
123
|
]);
|
|
106
124
|
function parseArgs(argv) {
|
|
107
125
|
const flags = {};
|
|
@@ -1056,4 +1074,4 @@ export {
|
|
|
1056
1074
|
runLiveProviderPicker,
|
|
1057
1075
|
runPicker
|
|
1058
1076
|
};
|
|
1059
|
-
//# sourceMappingURL=chunk-
|
|
1077
|
+
//# sourceMappingURL=chunk-PKHGLWUJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LOCAL_LLM_PRESETS,
|
|
3
3
|
runLiveProviderPicker
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PKHGLWUJ.js";
|
|
5
5
|
import {
|
|
6
6
|
openBrowser,
|
|
7
7
|
runCodexOAuthLogin,
|
|
@@ -1374,4 +1374,4 @@ export {
|
|
|
1374
1374
|
addCustomProvider,
|
|
1375
1375
|
addKeyForProvider
|
|
1376
1376
|
};
|
|
1377
|
-
//# sourceMappingURL=chunk-
|
|
1377
|
+
//# sourceMappingURL=chunk-TOG7OMKJ.js.map
|
|
@@ -27,11 +27,11 @@ var helpCmd = async (_args, deps) => {
|
|
|
27
27
|
" wstack resume [<id>] Resume a session",
|
|
28
28
|
" wstack sessions List recent sessions",
|
|
29
29
|
" wstack auth Interactive setup + key manager (add/edit/delete)",
|
|
30
|
-
" wstack auth <provider> Add API key for a provider",
|
|
31
30
|
" wstack auth list Quick listing of saved providers and keys",
|
|
32
31
|
" wstack auth status <id> Detailed view of one provider",
|
|
33
32
|
" wstack auth remove <id> Delete a provider (asks for confirmation)",
|
|
34
33
|
" wstack auth <provider> Add a key for a provider (--label, --family, \u2026)",
|
|
34
|
+
" wstack auth local [...] Quick-configure local Ollama / vLLM / LM Studio",
|
|
35
35
|
" wstack config [show|edit] Show or edit effective config",
|
|
36
36
|
" wstack tools List registered tools",
|
|
37
37
|
" wstack skills List discovered skills",
|
|
@@ -41,11 +41,21 @@ var helpCmd = async (_args, deps) => {
|
|
|
41
41
|
" wstack models add <mid> Add/override custom model (--max-context, --tools, --vision, \u2026)",
|
|
42
42
|
" wstack models remove <mid> Remove a custom model",
|
|
43
43
|
" wstack models list List all custom models",
|
|
44
|
-
" wstack mcp [list]
|
|
45
|
-
" wstack plugin [list|
|
|
46
|
-
" wstack project id|init|rekey
|
|
44
|
+
" wstack mcp [list|add|serve] Manage MCP servers",
|
|
45
|
+
" wstack plugin [list|install|toggle|remove|enable|disable] Manage plugins",
|
|
46
|
+
" wstack project id|init|rekey Manage the committed repository identity",
|
|
47
47
|
" wstack governance status Show advisory project-daemon governance health",
|
|
48
48
|
" wstack projects List tracked projects",
|
|
49
|
+
" wstack audit [<id>] [--list] Tamper-evident session audit log",
|
|
50
|
+
" wstack replay [<id>] [--list] Recorded provider responses log",
|
|
51
|
+
" wstack rewind [<id>] [opts] Rewind a session to an earlier point",
|
|
52
|
+
" wstack chronicle [opts] Chronological session metrics and timeline",
|
|
53
|
+
" wstack mailbox serve [opts] Start external-agent mailbox HTTP bridge",
|
|
54
|
+
" wstack permissions explain Explain tool permission policy decisions",
|
|
55
|
+
" wstack modeldiag [test] Model benchmarks and capability diagnostics",
|
|
56
|
+
" wstack bench [run|list] Agentic benchmarks against standard suites",
|
|
57
|
+
" wstack acp [serve] Agent Client Protocol (ACP) server",
|
|
58
|
+
" wstack update [--check-only] Self-update the CLI",
|
|
49
59
|
" wstack diag Full diagnostics",
|
|
50
60
|
" wstack doctor Health checks",
|
|
51
61
|
" wstack export <id> [opts] Render a session",
|
|
@@ -82,4 +92,4 @@ export {
|
|
|
82
92
|
versionCmd,
|
|
83
93
|
helpCmd
|
|
84
94
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
95
|
+
//# sourceMappingURL=chunk-XSG33WHN.js.map
|