@wrongstack/cli 0.301.0 → 0.302.2
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 +41 -155
- package/dist/{acp-DATHHPNT.js → acp-XCE4JJF3.js} +4 -4
- package/dist/{audit-QRCLEHHW.js → audit-BBR22QH3.js} +2 -2
- package/dist/{auth-JASC4K3F.js → auth-K7CYVVKH.js} +121 -78
- package/dist/auth-menu/index.d.ts +5 -5
- package/dist/auth-menu/local.d.ts +4 -5
- package/dist/auth-menu/openai-codex-oauth.d.ts +1 -1
- package/dist/{auto-discover-providers-DRW4OZHG.js → auto-discover-providers-MHFLDSD3.js} +2 -2
- package/dist/{bench-7ZDWSNEF.js → bench-XNDUJOSZ.js} +10 -11
- package/dist/boot/auto-discover-providers.d.ts +1 -1
- package/dist/boot/container-wiring.d.ts +3 -3
- package/dist/boot/dispatch-webui.d.ts +3 -16
- package/dist/boot/system-prompt.d.ts +1 -2
- package/dist/boot/tool-registry.d.ts +1 -1
- package/dist/boot/tui-coordinator-setup.d.ts +1 -1
- package/dist/boot/tui-project-picker-callback.d.ts +1 -1
- package/dist/boot/webui-session-child.d.ts +91 -0
- package/dist/boot-config.d.ts +2 -2
- package/dist/boot.d.ts +1 -1
- package/dist/{chunk-ETOEGL3V.js → chunk-3IC4IEZC.js} +7 -2
- package/dist/chunk-3JPTNADJ.js +128 -0
- package/dist/{chunk-4GVH7V3S.js → chunk-52C7PD2H.js} +1 -1
- package/dist/{chunk-OP47B3IX.js → chunk-7YLN7YUA.js} +7 -2
- package/dist/{chunk-263G3FMB.js → chunk-B4JLSXZB.js} +11 -14
- package/dist/{chunk-I5MEUFDI.js → chunk-BXQG3H2Y.js} +8 -3
- package/dist/{chunk-MHF2IJDE.js → chunk-C5NXM2SI.js} +21 -6
- package/dist/{chunk-XTIXVJXP.js → chunk-DGXNL7OT.js} +1 -1
- package/dist/{chunk-O7XNGCRT.js → chunk-FJVCVZIV.js} +974 -935
- package/dist/{chunk-MRLYDHQ7.js → chunk-JQURRYU4.js} +4 -6
- package/dist/{chunk-ZECLGUTF.js → chunk-KV6DNQT6.js} +2 -2
- package/dist/{chunk-F4PEGAJZ.js → chunk-NUIHRGPY.js} +1 -1
- package/dist/{chunk-GUHQQG63.js → chunk-RK7E3IXT.js} +2 -4
- package/dist/{chunk-PYTFS4MC.js → chunk-SSSJQVUY.js} +27 -16
- package/dist/{chunk-PJHET45A.js → chunk-SZ42FYPT.js} +3 -3
- package/dist/{chunk-2KDOFTTM.js → chunk-WOXUE2CN.js} +1067 -900
- package/dist/{chunk-A6Q5KGLV.js → chunk-YKBRFSGL.js} +5 -5
- package/dist/cli-context.d.ts +3 -1
- package/dist/cli-eternal-flag.d.ts +1 -2
- package/dist/{cli-main-XWC57MGE.js → cli-main-PJMDZHDK.js} +2683 -2134
- package/dist/context-limit.d.ts +11 -5
- package/dist/{diag-doctor-OQ3AA63O.js → diag-doctor-ZF5BF2MK.js} +2 -3
- package/dist/execute-deps.d.ts +3 -0
- package/dist/{execution-LHMSMDHB.js → execution-LZRYRGDD.js} +343 -177
- package/dist/{export-DOBGPY23.js → export-CCUXRJOU.js} +3 -11
- package/dist/fleet/host-supervisor.d.ts +1 -1
- package/dist/fleet/host.d.ts +1 -1
- package/dist/fleet/routing.d.ts +1 -2
- package/dist/goal-host.d.ts +2 -2
- package/dist/hooks-wiring.d.ts +1 -1
- package/dist/{hq-LN5CJHCM.js → hq-AHPAE7EN.js} +104 -55
- package/dist/hq-command-controller.d.ts +1 -1
- package/dist/hq-server/routes/system-handlers.d.ts +1 -2
- package/dist/hq-server/routes.d.ts +7 -7
- package/dist/{hq-server-S7HZG3PA.js → hq-server-KU2Z54QU.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2712 -2642
- package/dist/mailbox-bridge-bootstrap.d.ts +2 -2
- package/dist/{mcp-OHPJH73U.js → mcp-E5EBGOHF.js} +6 -6
- package/dist/mcp-serve.d.ts +1 -1
- package/dist/{modeldiag-3DOK4BWW.js → modeldiag-SIVUOX2Y.js} +18 -13
- package/dist/{permissions-FNYLZIL4.js → permissions-2PWBL4YU.js} +5 -3
- package/dist/picker.d.ts +1 -1
- package/dist/plugin-management.d.ts +1 -1
- package/dist/{plugin-usage-YEVLOR33.js → plugin-usage-PTEETL3J.js} +2 -2
- package/dist/{plugins-K3BAUP4D.js → plugins-XRGWC3NJ.js} +3 -3
- package/dist/pre-launch.d.ts +2 -2
- package/dist/{providers-models-WEZ4EGLL.js → providers-models-VV74TRQ2.js} +86 -37
- package/dist/repl.d.ts +1 -1
- package/dist/{replay-FCBNHW3K.js → replay-WBRMEWQ5.js} +2 -2
- package/dist/{rewind-AOD3JIYX.js → rewind-7RE6ONIC.js} +17 -17
- package/dist/{sdd-runtime-AIJCJGWC.js → sdd-runtime-GFZ3NJKS.js} +2 -2
- package/dist/{sessions-config-XXN7267N.js → sessions-config-YX2ZPAFM.js} +36 -32
- package/dist/{simpleui-dist-JIFGUJO7.js → simpleui-dist-33VO3QHF.js} +9 -2
- package/dist/slash-commands/agents.d.ts +14 -0
- package/dist/slash-commands/command-context.d.ts +2 -3
- package/dist/slash-commands/helpers.d.ts +1 -1
- package/dist/slash-commands/index.d.ts +1 -1
- package/dist/slash-commands/intake.d.ts +10 -0
- package/dist/slash-commands/memory-triage.d.ts +1 -1
- package/dist/slash-commands/provider-status.d.ts +1 -1
- package/dist/subcommands/handlers/hq.d.ts +20 -0
- package/dist/subcommands/handlers/per-subcommand-help-data.d.ts +1 -1
- package/dist/{update-MV6TUACD.js → update-LTDJGAFU.js} +3 -3
- package/dist/{update-check-UMYTOH7Z.js → update-check-WARHSVZA.js} +2 -2
- package/dist/webui-server/connection-handler.d.ts +1 -1
- package/dist/webui-server/context-breakdown.d.ts +1 -1
- package/dist/webui-server/cost-helpers.d.ts +1 -1
- package/dist/webui-server/lifecycle.d.ts +1 -1
- package/dist/webui-server/prefs-seeding.d.ts +1 -1
- package/dist/webui-server/setup-events.d.ts +1 -1
- package/dist/webui-server/static-serve.d.ts +1 -1
- package/dist/{webui-server-DD35QFNO.js → webui-server-E3OPEKU5.js} +66 -25
- package/dist/webui-server-options.d.ts +7 -0
- package/dist/wiring/command-host-state.d.ts +2 -2
- package/dist/wiring/controllers.d.ts +1 -2
- package/dist/wiring/dep-watcher.d.ts +1 -1
- package/dist/wiring/director-setup.d.ts +3 -3
- package/dist/wiring/eternal-command-handlers.d.ts +2 -2
- package/dist/wiring/management-tools.d.ts +2 -2
- package/dist/wiring/provider-runtime.d.ts +1 -1
- package/dist/wiring/provider-status.d.ts +1 -1
- package/dist/wiring/provider-utility-tools.d.ts +3 -3
- package/dist/wiring/provider.d.ts +1 -1
- package/dist/wiring/replay.d.ts +1 -1
- package/dist/wiring/runtime-controller-deps.d.ts +1 -1
- package/dist/wiring/runtime-dispatch-state.d.ts +1 -2
- package/dist/wiring/runtime-lifecycle-deps.d.ts +2 -2
- package/dist/wiring/runtime-picker-deps.d.ts +1 -2
- package/dist/wiring/sage.d.ts +1 -1
- package/dist/wiring/session-command-handlers.d.ts +1 -2
- package/dist/wiring/session.d.ts +6 -1
- package/dist/wiring/slash-commands.d.ts +2 -3
- package/package.json +23 -23
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Builds live controller callbacks for the running CLI session. */
|
|
2
2
|
import type { Agent, Context } from '@wrongstack/core/agent';
|
|
3
|
+
import type { EventBus } from '@wrongstack/core/kernel';
|
|
3
4
|
import type { AuditLevel } from '@wrongstack/core/storage';
|
|
4
5
|
import type { Config, LogLevel, Provider } from '@wrongstack/core/types';
|
|
5
|
-
import type { EventBus } from '@wrongstack/core/kernel';
|
|
6
6
|
import type { ControllerDeps } from '../execute-deps.js';
|
|
7
7
|
import type { AutonomyMode } from '../services/autonomy-mode.js';
|
|
8
8
|
export interface RuntimeControllerDepsInput {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/** Final runtime preparation before a CLI surface is dispatched. */
|
|
2
2
|
import type { Agent, Context } from '@wrongstack/core/agent';
|
|
3
|
-
import type { Config, MemoryPort } from '@wrongstack/core/types';
|
|
4
|
-
import type { ConfigStore } from '@wrongstack/core/types';
|
|
5
3
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
6
4
|
import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
5
|
+
import type { Config, ConfigStore, MemoryPort } from '@wrongstack/core/types';
|
|
7
6
|
import type { PluginPickerItem, ToolPickerItem } from '../execute-deps.js';
|
|
8
7
|
import { setupSage } from './sage.js';
|
|
9
8
|
export interface RuntimeDispatchStateInput {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** Runtime lifecycle callbacks shared by CLI execution surfaces. */
|
|
2
|
-
import type { AutonomyStage, Config } from '@wrongstack/core/types';
|
|
3
|
-
import type { JournalEntry } from '@wrongstack/core/goal';
|
|
4
2
|
import type { Context } from '@wrongstack/core/agent';
|
|
5
3
|
import type { EternalAutonomyEngine, ParallelEternalEngine } from '@wrongstack/core/execution';
|
|
4
|
+
import type { JournalEntry } from '@wrongstack/core/goal';
|
|
6
5
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
6
|
+
import type { AutonomyStage, Config } from '@wrongstack/core/types';
|
|
7
7
|
import type { SddRunRegistry } from '@wrongstack/sdd';
|
|
8
8
|
import type { LifecycleDeps } from '../execute-deps.js';
|
|
9
9
|
import type { SessionStats } from '../session-stats.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { Config } from '@wrongstack/core/types';
|
|
2
|
-
import type { ConfigStore } from '@wrongstack/core/types';
|
|
3
1
|
import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
2
|
+
import type { Config, ConfigStore } from '@wrongstack/core/types';
|
|
4
3
|
import type { MCPRegistry } from '@wrongstack/mcp';
|
|
5
4
|
import type { PickerDeps, PluginPickerItem, ToolPickerItem } from '../execute-deps.js';
|
|
6
5
|
export interface RuntimePickerDepsInput {
|
package/dist/wiring/sage.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentPipelines } from '@wrongstack/core/agent';
|
|
2
|
-
import type { Config, Logger, MemoryPort } from '@wrongstack/core/types';
|
|
3
2
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
3
|
+
import type { Config, Logger, MemoryPort } from '@wrongstack/core/types';
|
|
4
4
|
export interface SageWiringDeps {
|
|
5
5
|
config: Config;
|
|
6
6
|
pipelines: AgentPipelines;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { Config, TokenCounter } from '@wrongstack/core/types';
|
|
2
|
-
import type { ConfigStore } from '@wrongstack/core/types';
|
|
3
1
|
import type { Context } from '@wrongstack/core/agent';
|
|
4
2
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
5
3
|
import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
4
|
+
import type { Config, ConfigStore, TokenCounter } from '@wrongstack/core/types';
|
|
6
5
|
import type { MCPRegistry } from '@wrongstack/mcp';
|
|
7
6
|
import type { MultiAgentHost } from '../multi-agent.js';
|
|
8
7
|
import type { SessionStats } from '../session-stats.js';
|
package/dist/wiring/session.d.ts
CHANGED
|
@@ -47,6 +47,11 @@ export interface SessionResult {
|
|
|
47
47
|
resumedModel?: string | undefined;
|
|
48
48
|
resumedProvider?: string | undefined;
|
|
49
49
|
}
|
|
50
|
+
export interface SessionClaimHandle {
|
|
51
|
+
rollback(): Promise<void>;
|
|
52
|
+
/** Convert the pre-hydration reservation into the live writer lease. */
|
|
53
|
+
activate(): Promise<void>;
|
|
54
|
+
}
|
|
50
55
|
export declare function setupSession(params: {
|
|
51
56
|
config: {
|
|
52
57
|
model: string;
|
|
@@ -74,7 +79,7 @@ export declare function setupSession(params: {
|
|
|
74
79
|
* Atomically reserve an explicitly resumed session in the cross-process
|
|
75
80
|
* SessionRegistry. Returns a rollback used when loading the session fails.
|
|
76
81
|
*/
|
|
77
|
-
claimSession?: ((sessionId: string) => Promise<() => Promise<void
|
|
82
|
+
claimSession?: ((sessionId: string) => Promise<SessionClaimHandle | (() => Promise<void>)>) | undefined;
|
|
78
83
|
/** Optional EventBus for emitting storage.* events from todo/queue/task stores. */
|
|
79
84
|
events?: import('@wrongstack/core/kernel').EventBus;
|
|
80
85
|
/** Logger for structured storage warnings. */
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { CompactReport, HealthRegistry, InputReader, MemoryPort, MetricsSink, ModeStore, Provider, Renderer, SecretVault, SkillLoader, TokenCounter } from '@wrongstack/core/types';
|
|
2
|
-
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
3
|
-
import type { ConfigStore, SessionStore } from '@wrongstack/core/types';
|
|
4
1
|
import type { Context } from '@wrongstack/core/agent';
|
|
5
2
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
6
3
|
import type { SlashCommandRegistry, ToolRegistry } from '@wrongstack/core/registry';
|
|
4
|
+
import type { CompactReport, ConfigStore, HealthRegistry, InputReader, MemoryPort, MetricsSink, ModeStore, Provider, Renderer, SecretVault, SessionStore, SkillLoader, TokenCounter } from '@wrongstack/core/types';
|
|
5
|
+
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
7
6
|
import type { MultiAgentHost } from '../multi-agent.js';
|
|
8
7
|
import { type StatuslineConfig } from '../services/statusline-config.js';
|
|
9
8
|
import { buildBuiltinSlashCommands } from '../slash-commands/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.302.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack CLI — terminal AI coding agent with provider catalog from models.dev. Provides `wrongstack` and `wstack` binaries.",
|
|
6
6
|
"keywords": [
|
|
@@ -42,30 +42,30 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"ws": "^8.21.1",
|
|
45
|
-
"@wrongstack/
|
|
46
|
-
"@wrongstack/
|
|
47
|
-
"@wrongstack/
|
|
48
|
-
"@wrongstack/
|
|
49
|
-
"@wrongstack/
|
|
50
|
-
"@wrongstack/
|
|
51
|
-
"@wrongstack/
|
|
52
|
-
"@wrongstack/
|
|
53
|
-
"@wrongstack/
|
|
54
|
-
"@wrongstack/
|
|
55
|
-
"@wrongstack/security-scanner": "0.
|
|
56
|
-
"@wrongstack/
|
|
57
|
-
"@wrongstack/simpleui": "0.
|
|
58
|
-
"@wrongstack/
|
|
59
|
-
"@wrongstack/
|
|
60
|
-
"@wrongstack/telegram": "0.
|
|
61
|
-
"@wrongstack/tui": "0.
|
|
62
|
-
"@wrongstack/tools": "0.
|
|
63
|
-
"@wrongstack/webui": "0.
|
|
64
|
-
"@wrongstack/webui
|
|
65
|
-
"@wrongstack/webui-
|
|
45
|
+
"@wrongstack/core": "0.302.2",
|
|
46
|
+
"@wrongstack/kanban": "0.302.2",
|
|
47
|
+
"@wrongstack/mcp": "0.302.2",
|
|
48
|
+
"@wrongstack/acp": "0.302.2",
|
|
49
|
+
"@wrongstack/plug-lsp": "0.302.2",
|
|
50
|
+
"@wrongstack/runtime": "0.302.2",
|
|
51
|
+
"@wrongstack/requirement-intake": "0.302.2",
|
|
52
|
+
"@wrongstack/plugins": "0.302.2",
|
|
53
|
+
"@wrongstack/sdd": "0.302.2",
|
|
54
|
+
"@wrongstack/bench": "0.302.2",
|
|
55
|
+
"@wrongstack/security-scanner": "0.302.2",
|
|
56
|
+
"@wrongstack/providers": "0.302.2",
|
|
57
|
+
"@wrongstack/simpleui": "0.302.2",
|
|
58
|
+
"@wrongstack/sage": "0.302.2",
|
|
59
|
+
"@wrongstack/techstack": "0.302.2",
|
|
60
|
+
"@wrongstack/telegram": "0.302.2",
|
|
61
|
+
"@wrongstack/tui": "0.302.2",
|
|
62
|
+
"@wrongstack/tools": "0.302.2",
|
|
63
|
+
"@wrongstack/webui-server": "0.302.2",
|
|
64
|
+
"@wrongstack/webui": "0.302.2",
|
|
65
|
+
"@wrongstack/webui-hq": "0.302.2"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"@wrongstack/desktop": "0.
|
|
68
|
+
"@wrongstack/desktop": "0.302.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/node": "^26.1.2",
|