@wrongstack/cli 0.313.1 → 0.316.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/dist/{acp-LQMSMV32.js → acp-CEQINXWB.js} +2 -2
- package/dist/acp-registry-cache.d.ts +0 -2
- package/dist/acp-server-agent.d.ts +2 -1
- package/dist/arg-parser.d.ts +2 -1
- package/dist/{auth-VQMSZGKE.js → auth-GZ5A5OF5.js} +3 -3
- package/dist/auth-menu/local.d.ts +3 -2
- package/dist/boot/boot-auto-thin.d.ts +44 -0
- package/dist/boot/brain-decision-log.d.ts +2 -1
- package/dist/boot/config-backup-recovery.d.ts +2 -6
- package/dist/boot/dispatch-singleshot.d.ts +2 -1
- package/dist/boot/dispatch-webui.d.ts +5 -1
- package/dist/boot/event-wiring.d.ts +1 -1
- package/dist/boot/execution-mode.d.ts +2 -1
- package/dist/boot/governance-shadow-bridge.d.ts +4 -3
- package/dist/boot/governance-trace-context.d.ts +4 -4
- package/dist/boot/launch-menu.d.ts +2 -2
- package/dist/boot/system-prompt-builder.d.ts +1 -1
- package/dist/boot/system-prompt-menu.d.ts +10 -58
- package/dist/boot/system-prompt.d.ts +3 -3
- package/dist/boot/tool-registry.d.ts +3 -1
- package/dist/boot/tui-coordinator-callbacks.d.ts +2 -1
- package/dist/boot/tui-coordinator-setup.d.ts +3 -2
- package/dist/boot/tui-goal-wiring.d.ts +2 -1
- package/dist/boot/tui-live-sessions.d.ts +3 -1
- package/dist/boot/tui-session-resume.d.ts +82 -10
- package/dist/boot/tui-session-stub-enrich.d.ts +7 -1
- package/dist/boot/tui-settings-adapter.d.ts +3 -2
- package/dist/boot/tui-theme-adapter.d.ts +3 -2
- package/dist/boot/webui-session-child.d.ts +2 -12
- package/dist/boot-auto-thin-BZ675EVT.js +102 -0
- package/dist/boot-config.d.ts +1 -1
- package/dist/brain-menu/panel-service.d.ts +2 -1
- package/dist/chimera-cascade-evidence.d.ts +4 -21
- package/dist/chimera-review-task.d.ts +0 -7
- package/dist/chimera-subagent-ladder.d.ts +2 -2
- package/dist/{chunk-USYOJIV2.js → chunk-32MTOI2I.js} +2 -2
- package/dist/{chunk-CNQZ4HG4.js → chunk-37SPPLUD.js} +57 -8
- package/dist/chunk-ALE5KHCA.js +1 -0
- package/dist/{chunk-GWVLRUVH.js → chunk-G3IMKQRH.js} +25 -6
- package/dist/{chunk-BZJ4MP32.js → chunk-GKHUHAIK.js} +8 -3
- package/dist/{chunk-3JPTNADJ.js → chunk-GPPRNAKW.js} +1 -1
- package/dist/{chunk-KE7E7DPX.js → chunk-HXJYHAR4.js} +1 -1
- package/dist/{chunk-X3N5TS2S.js → chunk-JACOMTIH.js} +2 -76
- package/dist/{chunk-DGXNL7OT.js → chunk-JHUJUIOH.js} +1 -18
- package/dist/{chunk-WOTGMHAH.js → chunk-KG4X5F7Z.js} +1 -1
- package/dist/{chunk-NUIHRGPY.js → chunk-NV3JDK4F.js} +1 -1
- package/dist/{chunk-E3X4KM7T.js → chunk-NZZOYLQ7.js} +5 -10
- package/dist/{chunk-H6C7SO5H.js → chunk-QC5I4VWZ.js} +1 -1
- package/dist/chunk-SXJTVNWF.js +78 -0
- package/dist/{chunk-AOAIPYFB.js → chunk-SYIBTG3X.js} +2 -2
- package/dist/{chunk-PKHGLWUJ.js → chunk-T642Q732.js} +5 -4
- package/dist/{chunk-BGFM3PD7.js → chunk-UZ2TMHNH.js} +1 -1
- package/dist/{chunk-4S52MIIM.js → chunk-VXCCBI2W.js} +2 -2
- package/dist/{chunk-FKWHSFX4.js → chunk-XYKYXFEE.js} +1 -1
- package/dist/cli-entry-point.d.ts +9 -0
- package/dist/cli-eternal-flag.d.ts +1 -1
- package/dist/{cli-main-UOQ2ICUO.js → cli-main-IEAM6SK7.js} +3578 -1626
- package/dist/cli-main-helpers.d.ts +3 -3
- package/dist/config-doctor.d.ts +34 -3
- package/dist/context-limit.d.ts +4 -3
- package/dist/{diag-doctor-OPTB2NWY.js → diag-doctor-LFCCBPMD.js} +3 -3
- package/dist/execute-deps.d.ts +36 -7
- package/dist/{execution-L4CXQEND.js → execution-TZUGCKFU.js} +459 -77
- package/dist/execution-chimera-cascade.d.ts +1 -1
- package/dist/execution-chimera-review.d.ts +1 -1
- package/dist/execution-cleanup.d.ts +2 -1
- package/dist/execution-kanban-dispatch.d.ts +2 -1
- package/dist/execution-repl-fleet-callbacks.d.ts +3 -2
- package/dist/fleet/budget-source.d.ts +2 -1
- package/dist/fleet/host-context.d.ts +8 -1
- package/dist/fleet/host-director-event-bridges.d.ts +28 -3
- package/dist/fleet/host-event-bridge.d.ts +6 -1
- package/dist/fleet/host-explore-companion-registry.d.ts +60 -0
- package/dist/fleet/host-explore-companion.d.ts +7 -3
- package/dist/fleet/host-provider.d.ts +2 -1
- package/dist/fleet/host-session-writer.d.ts +9 -1
- package/dist/fleet/host-shadow-manager.d.ts +82 -20
- package/dist/fleet/host-shadow-pass.d.ts +9 -1
- package/dist/fleet/host-spawn-types.d.ts +9 -0
- package/dist/fleet/host-status.d.ts +2 -1
- package/dist/fleet/host-subagent-factory.d.ts +2 -1
- package/dist/fleet/host-subagent-session-audit.d.ts +56 -0
- package/dist/fleet/host-supervisor.d.ts +11 -1
- package/dist/fleet/host-task-result-report.d.ts +2 -1
- package/dist/fleet/host.d.ts +38 -6
- package/dist/fleet/status-broadcast.d.ts +2 -1
- package/dist/fleet-statusline.d.ts +2 -1
- package/dist/goal-host.d.ts +3 -2
- package/dist/{governance-V2Z42RBE.js → governance-JSGHHA2R.js} +1 -1
- package/dist/governance-hq-telemetry.d.ts +2 -2
- package/dist/{hq-2XIXGAER.js → hq-NDTJRRX3.js} +3 -3
- package/dist/hq-publisher.d.ts +1 -1
- package/dist/hq-recovery-html.d.ts +1 -6
- package/dist/hq-server/auth-state.d.ts +2 -1
- package/dist/hq-server/auth.d.ts +3 -2
- package/dist/hq-server/login-attempt-store.d.ts +2 -1
- package/dist/hq-server/mailbox-gateway-manager.d.ts +2 -1
- package/dist/hq-server/preflight.d.ts +3 -2
- package/dist/hq-server/server-lifecycle.d.ts +2 -1
- package/dist/hq-server/snapshot.d.ts +0 -9
- package/dist/hq-server/startup.d.ts +2 -3
- package/dist/hq-server/types.d.ts +2 -2
- package/dist/hq-server/upgrade-handler.d.ts +2 -1
- package/dist/hq-server/ws-leader.d.ts +0 -6
- package/dist/{hq-server-DBT3OOYD.js → hq-server-OH3SPSE2.js} +3 -13
- package/dist/hq-server.d.ts +1 -6
- package/dist/hq-static-serve.d.ts +2 -1
- package/dist/{hq-ttl-U2FAYFAT.js → hq-ttl-KUO3AU7X.js} +2 -2
- package/dist/{hq-tunnel-RFKGC4HI.js → hq-tunnel-LO55RCZE.js} +1 -1
- package/dist/hq-tunnel.d.ts +2 -1
- package/dist/index.js +113 -109
- package/dist/input-reader.d.ts +2 -1
- package/dist/kanban-dispatch-route.d.ts +27 -2
- package/dist/kanban-hq-sync.d.ts +2 -1
- package/dist/launch-hints.d.ts +2 -1
- package/dist/mailbox-bridge-bootstrap.d.ts +2 -3
- package/dist/{mailbox-serve-5S3PHG5D.js → mailbox-serve-VKQIRCCB.js} +47 -28
- package/dist/{mcp-RRPKNRSN.js → mcp-AQKSASHD.js} +1 -1
- package/dist/mcp-serve.d.ts +2 -1
- package/dist/{modeldiag-H6DKWJ2N.js → modeldiag-4NYBRSFP.js} +1 -1
- package/dist/next-task-predictor.d.ts +3 -2
- package/dist/permission-prompt.d.ts +2 -1
- package/dist/picker.d.ts +0 -18
- package/dist/plugin-management.d.ts +3 -14
- package/dist/{plugin-usage-GCTYOZPH.js → plugin-usage-AP7SJCDA.js} +2 -2
- package/dist/{plugins-EEKHCMBE.js → plugins-HQ5FU2AM.js} +3 -5
- package/dist/preflight.d.ts +2 -1
- package/dist/{proxy-wiring-G26YGP7S.js → proxy-wiring-EQB5X5YH.js} +3 -3
- package/dist/renderer.d.ts +18 -1
- package/dist/repl-client-registration.d.ts +2 -1
- package/dist/repl.d.ts +1 -1
- package/dist/{replay-XU6ZD7GM.js → replay-FJ2JBXUA.js} +1 -1
- package/dist/{sdd-runtime-GFZ3NJKS.js → sdd-runtime-FLKCSTYV.js} +3 -5
- package/dist/services/commit-message.d.ts +2 -1
- package/dist/services/sdd/state.d.ts +0 -2
- package/dist/services/sdd-runtime.d.ts +1 -1
- package/dist/services/statusline-config.d.ts +27 -4
- package/dist/session-event-wiring.d.ts +3 -5
- package/dist/{sessions-config-7Q7QJBKJ.js → sessions-config-P2LK2L32.js} +5 -1
- package/dist/sessions-doctor-EXHAZSSE.js +146 -0
- package/dist/settings-menu.d.ts +2 -1
- package/dist/shutdown-cleanup.d.ts +3 -2
- package/dist/{simpleui-dist-33VO3QHF.js → simpleui-dist-JKNRCRRK.js} +1 -1
- package/dist/simpleui-dist.d.ts +3 -2
- package/dist/slash-commands/brain-council.d.ts +0 -4
- package/dist/slash-commands/brain-status.d.ts +0 -1
- package/dist/slash-commands/command-context.d.ts +16 -2
- package/dist/slash-commands/fix-classifier.d.ts +2 -1
- package/dist/slash-commands/kanban-agent-helpers.d.ts +2 -1
- package/dist/slash-commands/kanban-board-handlers.d.ts +2 -1
- package/dist/slash-commands/kanban-lifecycle-diagnostics.d.ts +2 -1
- package/dist/slash-commands/kanban-task-subcommands.d.ts +0 -1
- package/dist/slash-commands/memory-audience.d.ts +1 -10
- package/dist/slash-commands/memory-flags.d.ts +2 -1
- package/dist/slash-commands/sdd-command-helpers.d.ts +3 -2
- package/dist/slash-commands/sdd.d.ts +2 -2
- package/dist/slash-commands/settings-mutations.d.ts +0 -1
- package/dist/slash-commands/statusline.d.ts +4 -4
- package/dist/slash-commands/telegram-pairing.d.ts +2 -2
- package/dist/slash-commands/telegram-setup.d.ts +2 -1
- package/dist/slash-commands/tier.d.ts +13 -0
- package/dist/subcommands/handlers/acp-connection-gate.d.ts +4 -3
- package/dist/subcommands/handlers/bench-run-help.d.ts +3 -8
- package/dist/subcommands/handlers/daemon-inventory.d.ts +3 -2
- package/dist/subcommands/handlers/governance.d.ts +2 -1
- package/dist/subcommands/handlers/model-smoke-test.d.ts +3 -2
- package/dist/subcommands/handlers/modeldiag-eval.d.ts +0 -4
- package/dist/subcommands/handlers/modeldiag-profiles.d.ts +1 -1
- package/dist/subcommands/handlers/models-add-help.d.ts +3 -8
- package/dist/subcommands/handlers/sessions-doctor.d.ts +3 -0
- package/dist/subcommands/handlers/update.d.ts +1 -1
- package/dist/terminal-format.d.ts +3 -2
- package/dist/tui-resource-menus.d.ts +2 -1
- package/dist/tuneup.d.ts +5 -5
- package/dist/{update-ZXNC6I6G.js → update-XKARO3CY.js} +3 -3
- package/dist/{update-check-WARHSVZA.js → update-check-LICQNYFK.js} +2 -2
- package/dist/update-check.d.ts +1 -1
- package/dist/utils/hq-ttl.d.ts +2 -1
- package/dist/webui-server/connection-handler.d.ts +34 -2
- package/dist/webui-server/prefs-seeding.d.ts +11 -1
- package/dist/webui-server/route-contexts.d.ts +45 -5
- package/dist/webui-server/session-start-payload.d.ts +13 -0
- package/dist/webui-server/setup-events.d.ts +14 -1
- package/dist/{webui-server-I53IYBW4.js → webui-server-LZOEH7O6.js} +374 -169
- package/dist/webui-server-options.d.ts +30 -4
- package/dist/wiring/brain-and-orchestration.d.ts +3 -3
- package/dist/wiring/cli-execute-builder.d.ts +3 -0
- package/dist/wiring/cli-heap-watchdog.d.ts +2 -1
- package/dist/wiring/cli-prompt-and-tools-setup.d.ts +10 -8
- package/dist/wiring/codebase-index.d.ts +2 -1
- package/dist/wiring/command-host-state.d.ts +61 -5
- package/dist/wiring/controllers.d.ts +3 -4
- package/dist/wiring/dep-watcher-bridge.d.ts +3 -2
- package/dist/wiring/dep-watcher.d.ts +2 -1
- package/dist/wiring/design-studio.d.ts +2 -1
- package/dist/wiring/director-setup.d.ts +3 -2
- package/dist/wiring/domain-terms-mirror.d.ts +2 -1
- package/dist/wiring/external-plugins.d.ts +3 -2
- package/dist/wiring/fleet-command-handlers.d.ts +2 -2
- package/dist/wiring/heap-watchdog-setup.d.ts +2 -1
- package/dist/wiring/hq-telemetry.d.ts +3 -2
- package/dist/wiring/lifecycle-plugins.d.ts +2 -2
- package/dist/wiring/management-tools.d.ts +30 -2
- package/dist/wiring/metrics.d.ts +2 -2
- package/dist/wiring/plugins.d.ts +0 -1
- package/dist/wiring/prompt-journal-recorder.d.ts +1 -1
- package/dist/wiring/provider-runtime-setup.d.ts +9 -2
- package/dist/wiring/provider-runtime.d.ts +23 -3
- package/dist/wiring/provider-status.d.ts +2 -1
- package/dist/wiring/provider-utility-tools.d.ts +2 -1
- package/dist/wiring/provider.d.ts +2 -1
- package/dist/wiring/replay-governance-setup.d.ts +2 -1
- package/dist/wiring/replay.d.ts +2 -1
- package/dist/wiring/resume-candidate.d.ts +27 -0
- package/dist/wiring/runtime-controller-deps.d.ts +8 -1
- package/dist/wiring/runtime-dispatch-state.d.ts +2 -1
- package/dist/wiring/runtime-lifecycle-deps.d.ts +2 -1
- package/dist/wiring/runtime-picker-deps.d.ts +2 -1
- package/dist/wiring/session-command-handlers.d.ts +2 -2
- package/dist/wiring/session-establishment.d.ts +2 -1
- package/dist/wiring/session-registry.d.ts +3 -2
- package/dist/wiring/session-runtime.d.ts +1 -1
- package/dist/wiring/slash-commands.d.ts +5 -4
- package/dist/wiring/teardown-registrar.d.ts +3 -2
- package/dist/wiring/vector-memory-setup.d.ts +3 -2
- package/dist/wiring/wrongtrace-hooks.d.ts +1 -1
- package/dist/wiring/wrongtrace-telemetry.d.ts +2 -1
- package/dist/{wrongtrace-telemetry-6M2CCBX5.js → wrongtrace-telemetry-FNLANZ5I.js} +1 -1
- package/package.json +31 -31
- package/dist/auth-menu.d.ts +0 -7
- package/dist/chunk-WHOIR577.js +0 -1
- package/dist/webui-server/terminal-log-view.d.ts +0 -47
- package/dist/wiring/tools.d.ts +0 -29
|
@@ -2,7 +2,7 @@ import type { FallbackProfileManager } from '@wrongstack/core/agent';
|
|
|
2
2
|
import { ProviderModelStatusTracker } from '@wrongstack/core/coordination';
|
|
3
3
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
4
4
|
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
5
|
-
|
|
5
|
+
interface ProviderStatusInput {
|
|
6
6
|
events: EventBus;
|
|
7
7
|
paths: WstackPaths;
|
|
8
8
|
fallbackProfileManager: FallbackProfileManager;
|
|
@@ -13,4 +13,5 @@ export interface ProviderStatusInput {
|
|
|
13
13
|
teardownHandlers: Array<() => void>;
|
|
14
14
|
}
|
|
15
15
|
export declare function setupProviderStatus(input: ProviderStatusInput): Promise<ProviderModelStatusTracker>;
|
|
16
|
+
export {};
|
|
16
17
|
//# sourceMappingURL=provider-status.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { type CouncilPersonaRegistry, type CouncilProfileRegistry } from '@wrong
|
|
|
5
5
|
import { createContextManagerTool } from '@wrongstack/core/infrastructure';
|
|
6
6
|
import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
7
7
|
import type { Config, CouncilToolConfig, OneShotModelRouter, Provider } from '@wrongstack/core/types';
|
|
8
|
-
|
|
8
|
+
interface ProviderUtilityToolsInput {
|
|
9
9
|
toolRegistry: ToolRegistry;
|
|
10
10
|
buildProvider: (providerId: string) => Provider;
|
|
11
11
|
getConfig: () => Config;
|
|
@@ -48,4 +48,5 @@ export declare function buildCouncilRegistries(cfg: CouncilToolConfig | undefine
|
|
|
48
48
|
maxConcurrency?: number | undefined;
|
|
49
49
|
};
|
|
50
50
|
export declare function registerProviderUtilityTools(input: ProviderUtilityToolsInput): void;
|
|
51
|
+
export {};
|
|
51
52
|
//# sourceMappingURL=provider-utility-tools.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProviderRegistry } from '@wrongstack/core/registry';
|
|
2
2
|
import type { ResolvedProvider } from '@wrongstack/core/types';
|
|
3
3
|
import { type Config, type Logger, type ModelsRegistry } from '@wrongstack/core/types';
|
|
4
|
-
|
|
4
|
+
interface ProviderSetupResult {
|
|
5
5
|
resolvedProvider: ResolvedProvider | undefined;
|
|
6
6
|
provider: ReturnType<ProviderRegistry['create']>;
|
|
7
7
|
providerRegistry: ProviderRegistry;
|
|
@@ -11,4 +11,5 @@ export declare function setupProvider(params: {
|
|
|
11
11
|
modelsRegistry: ModelsRegistry;
|
|
12
12
|
logger: Logger;
|
|
13
13
|
}): Promise<ProviderSetupResult>;
|
|
14
|
+
export {};
|
|
14
15
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -2,7 +2,7 @@ import type { Container, EventBus } from '@wrongstack/core/kernel';
|
|
|
2
2
|
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
3
3
|
import type { Logger, MemoryPort, SessionStore } from '@wrongstack/core/types';
|
|
4
4
|
import { type CliFlags } from '../boot/simpleui-full-auto.js';
|
|
5
|
-
|
|
5
|
+
interface SetupReplayAndGovernanceOptions {
|
|
6
6
|
flags: CliFlags;
|
|
7
7
|
container: Container;
|
|
8
8
|
wpaths: WstackPaths;
|
|
@@ -28,4 +28,5 @@ export interface SetupReplayAndGovernanceOptions {
|
|
|
28
28
|
export declare function setupReplayAndGovernance({ flags, container, wpaths, projectRoot, session, sessionRef, logger, events, planPath, sessionStore, context, traceId, memoryStore, }: SetupReplayAndGovernanceOptions): Promise<{
|
|
29
29
|
governanceHandle: import("../cli-main-helpers.js").CliGovernanceRuntimeHandle | undefined;
|
|
30
30
|
}>;
|
|
31
|
+
export {};
|
|
31
32
|
//# sourceMappingURL=replay-governance-setup.d.ts.map
|
package/dist/wiring/replay.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ import type { WstackPaths } from '@wrongstack/core/utils';
|
|
|
29
29
|
* has to be in place before the first `run()` — which is what lets `--record`
|
|
30
30
|
* name the real session instead of inventing one.
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
interface BindReplayOptions {
|
|
33
33
|
container: Container;
|
|
34
34
|
wpaths: WstackPaths;
|
|
35
35
|
/**
|
|
@@ -42,4 +42,5 @@ export interface BindReplayOptions {
|
|
|
42
42
|
logger?: Logger | undefined;
|
|
43
43
|
}
|
|
44
44
|
export declare function bindReplayToContainer(opts: BindReplayOptions): void;
|
|
45
|
+
export {};
|
|
45
46
|
//# sourceMappingURL=replay.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SessionStore } from '@wrongstack/core/types';
|
|
2
|
+
export interface PickResumeCandidateOptions {
|
|
3
|
+
/** `wpaths.projectSessions` — where this project's transcripts live. */
|
|
4
|
+
sessionsDir: string;
|
|
5
|
+
/** `wpaths.globalRoot` — the registry of sessions live in other processes. */
|
|
6
|
+
globalRoot: string;
|
|
7
|
+
sessionStore: Pick<SessionStore, 'list'>;
|
|
8
|
+
/** true for `--recover` (unclosed only), false for a bare `--resume`. */
|
|
9
|
+
unclosedOnly: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function pickResumeCandidate(options: PickResumeCandidateOptions): Promise<string | undefined>;
|
|
12
|
+
export interface AnnounceRecoverableOptions {
|
|
13
|
+
sessionsDir: string;
|
|
14
|
+
globalRoot: string;
|
|
15
|
+
onHint: (message: string) => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Mention the most recent unclosed session, once, at boot.
|
|
19
|
+
*
|
|
20
|
+
* A crash used to be indistinguishable from a normal start: the transcript sat
|
|
21
|
+
* on disk and nothing ever said so, so the user retyped work that was already
|
|
22
|
+
* recorded. This says it — and only says it. It never prompts, never blocks the
|
|
23
|
+
* boot, and never resumes anything on its own, because a launch that stops to
|
|
24
|
+
* ask a question is worse than one that starts fresh.
|
|
25
|
+
*/
|
|
26
|
+
export declare function announceRecoverableSession(options: AnnounceRecoverableOptions): Promise<void>;
|
|
27
|
+
//# sourceMappingURL=resume-candidate.d.ts.map
|
|
@@ -5,10 +5,13 @@ import type { AuditLevel } from '@wrongstack/core/storage';
|
|
|
5
5
|
import type { Config, LogLevel, Provider } from '@wrongstack/core/types';
|
|
6
6
|
import type { ControllerDeps } from '../execute-deps.js';
|
|
7
7
|
import type { AutonomyMode } from '../services/autonomy-mode.js';
|
|
8
|
-
|
|
8
|
+
interface RuntimeControllerDepsInput {
|
|
9
9
|
interruptController: ControllerDeps['interruptController'];
|
|
10
10
|
enhanceController: ControllerDeps['enhanceController'];
|
|
11
11
|
getEnhancerReasoning: ControllerDeps['getEnhancerReasoning'];
|
|
12
|
+
/** Effort levels the active model documents (see ControllerDeps). Optional
|
|
13
|
+
* to mirror ControllerDeps — hosts without catalog metadata omit it. */
|
|
14
|
+
getActiveModelReasoningEffortLevels?: ControllerDeps['getActiveModelReasoningEffortLevels'];
|
|
12
15
|
buildProviderForModel: (providerId: string, modelId: string) => Promise<Provider>;
|
|
13
16
|
context: Context;
|
|
14
17
|
getConfig: () => Config;
|
|
@@ -16,6 +19,9 @@ export interface RuntimeControllerDepsInput {
|
|
|
16
19
|
statuslineHiddenItems: ControllerDeps['statuslineHiddenItems'];
|
|
17
20
|
setStatuslineHiddenItems: ControllerDeps['setStatuslineHiddenItems'];
|
|
18
21
|
saveStatuslineHiddenItems: ControllerDeps['saveStatuslineHiddenItems'];
|
|
22
|
+
statuslineLines?: ControllerDeps['statuslineLines'];
|
|
23
|
+
setStatuslineLines?: ControllerDeps['setStatuslineLines'];
|
|
24
|
+
saveStatuslineLines?: ControllerDeps['saveStatuslineLines'];
|
|
19
25
|
getYolo: NonNullable<ControllerDeps['getYolo']>;
|
|
20
26
|
onYolo: NonNullable<ControllerDeps['onYolo']>;
|
|
21
27
|
getAutonomy: () => AutonomyMode;
|
|
@@ -38,4 +44,5 @@ export interface RuntimeControllerDepsInput {
|
|
|
38
44
|
getSessionId: () => string;
|
|
39
45
|
}
|
|
40
46
|
export declare function createRuntimeControllerDeps(input: RuntimeControllerDepsInput): ControllerDeps;
|
|
47
|
+
export {};
|
|
41
48
|
//# sourceMappingURL=runtime-controller-deps.d.ts.map
|
|
@@ -5,7 +5,7 @@ import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
|
5
5
|
import type { Config, ConfigStore, MemoryPort } from '@wrongstack/core/types';
|
|
6
6
|
import type { PluginPickerItem, ToolPickerItem } from '../execute-deps.js';
|
|
7
7
|
import { setupSage } from './sage.js';
|
|
8
|
-
|
|
8
|
+
interface RuntimeDispatchStateInput {
|
|
9
9
|
getConfig: () => Config;
|
|
10
10
|
setConfig: (config: Config) => void;
|
|
11
11
|
configStore: ConfigStore;
|
|
@@ -31,4 +31,5 @@ export declare function prepareRuntimeDispatch(input: RuntimeDispatchStateInput)
|
|
|
31
31
|
}>;
|
|
32
32
|
getToolItems: () => ToolPickerItem[];
|
|
33
33
|
}>;
|
|
34
|
+
export {};
|
|
34
35
|
//# sourceMappingURL=runtime-dispatch-state.d.ts.map
|
|
@@ -7,7 +7,7 @@ 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';
|
|
10
|
-
|
|
10
|
+
interface RuntimeLifecycleDepsInput {
|
|
11
11
|
getConfig: () => Config;
|
|
12
12
|
context: Context;
|
|
13
13
|
getCurrentSuggestions: () => string[];
|
|
@@ -36,4 +36,5 @@ export interface RuntimeLifecycleDepsInput {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
export declare function createRuntimeLifecycleDeps(input: RuntimeLifecycleDepsInput): LifecycleDeps;
|
|
39
|
+
export {};
|
|
39
40
|
//# sourceMappingURL=runtime-lifecycle-deps.d.ts.map
|
|
@@ -2,7 +2,7 @@ import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
|
2
2
|
import type { Config, ConfigStore } from '@wrongstack/core/types';
|
|
3
3
|
import type { MCPRegistry } from '@wrongstack/mcp';
|
|
4
4
|
import type { PickerDeps, PluginPickerItem, ToolPickerItem } from '../execute-deps.js';
|
|
5
|
-
|
|
5
|
+
interface RuntimePickerDepsInput {
|
|
6
6
|
getConfig: () => Config;
|
|
7
7
|
setConfig: (config: Config) => void;
|
|
8
8
|
profileConfigPath: string;
|
|
@@ -18,4 +18,5 @@ export interface RuntimePickerDepsInput {
|
|
|
18
18
|
getBrainLog: NonNullable<PickerDeps['getBrainLog']>;
|
|
19
19
|
}
|
|
20
20
|
export declare function createRuntimePickerDeps(input: RuntimePickerDepsInput): PickerDeps;
|
|
21
|
+
export {};
|
|
21
22
|
//# sourceMappingURL=runtime-picker-deps.d.ts.map
|
|
@@ -7,14 +7,14 @@ import type { MultiAgentHost } from '../multi-agent.js';
|
|
|
7
7
|
import type { SessionStats } from '../session-stats.js';
|
|
8
8
|
import type { BuiltinSlashCommandDeps } from './slash-commands.js';
|
|
9
9
|
type SlashCommandDeps = BuiltinSlashCommandDeps;
|
|
10
|
-
|
|
10
|
+
type SessionCommandHandlers = Pick<SlashCommandDeps, 'onPlugin' | 'onContextLimit' | 'onMcp' | 'mcpRegistry' | 'mcpStatus' | 'onYolo' | 'onNextPredict' | 'onSuggestions' | 'onExit' | 'onBeforeExit' | 'onClear' | 'onNewSession' | 'onDiag' | 'onStats' | 'generateCommitMessage' | 'onDispatchClassify'>;
|
|
11
11
|
interface ErrorRecord {
|
|
12
12
|
ts: string;
|
|
13
13
|
phase: string;
|
|
14
14
|
code: string;
|
|
15
15
|
message: string;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
interface SessionCommandHandlersInput {
|
|
18
18
|
getConfig: () => Config;
|
|
19
19
|
setConfig: (config: Config) => void;
|
|
20
20
|
configStore: ConfigStore;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CliContext } from '../cli-context.js';
|
|
2
2
|
import type { loadOnlineAgentsForPrompt } from '../cli-main-helpers.js';
|
|
3
3
|
import { setupSession } from './session.js';
|
|
4
|
-
|
|
4
|
+
interface SessionEstablishmentArgs {
|
|
5
5
|
/** Container used to resolve SessionStore + TokenCounter. */
|
|
6
6
|
container: Pick<CliContext['container'], 'resolve'>;
|
|
7
7
|
config: {
|
|
@@ -42,4 +42,5 @@ export declare function setupSessionEstablishment(args: SessionEstablishmentArgs
|
|
|
42
42
|
* (runCliExecution, multi-agent setup read traceId/resumed* off it). */
|
|
43
43
|
sessResult: import("./session.js").SessionResult;
|
|
44
44
|
}>;
|
|
45
|
+
export {};
|
|
45
46
|
//# sourceMappingURL=session-establishment.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EventBus } from '@wrongstack/core/kernel';
|
|
2
|
-
|
|
2
|
+
interface SetupSessionRegistryDeps {
|
|
3
3
|
wpaths: {
|
|
4
4
|
globalRoot: string;
|
|
5
5
|
projectDir: string;
|
|
@@ -18,7 +18,7 @@ export interface SetupSessionRegistryDeps {
|
|
|
18
18
|
tuiOwnsScreen: boolean;
|
|
19
19
|
events: EventBus;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
interface SetupSessionRegistryResult {
|
|
22
22
|
/** AgentStatusTracker when the dynamic import and setup succeeded, else undefined. */
|
|
23
23
|
tracker: InstanceType<typeof import('@wrongstack/core/coordination').AgentStatusTracker> | undefined;
|
|
24
24
|
/**
|
|
@@ -35,4 +35,5 @@ export interface SessionIdentityTarget {
|
|
|
35
35
|
gitBranch?: string | undefined;
|
|
36
36
|
}
|
|
37
37
|
export declare function setupSessionRegistry(deps: SetupSessionRegistryDeps): Promise<SetupSessionRegistryResult>;
|
|
38
|
+
export {};
|
|
38
39
|
//# sourceMappingURL=session-registry.d.ts.map
|
|
@@ -25,7 +25,7 @@ import { SessionStats } from '../session-stats.js';
|
|
|
25
25
|
import type { setupReplayAndGovernance } from './replay-governance-setup.js';
|
|
26
26
|
type WireArgs = Parameters<typeof wireSessionEvents>[0];
|
|
27
27
|
type GovernanceHandle = Awaited<ReturnType<typeof setupReplayAndGovernance>>['governanceHandle'];
|
|
28
|
-
|
|
28
|
+
interface SessionRuntimeArgs {
|
|
29
29
|
evOn: WireArgs['evOn'];
|
|
30
30
|
events: NonNullable<WireArgs['events']>;
|
|
31
31
|
/** Live config binding; provider/model are read once at setup time. */
|
|
@@ -4,12 +4,12 @@ import type { SlashCommandRegistry, ToolRegistry } from '@wrongstack/core/regist
|
|
|
4
4
|
import type { CompactReport, ConfigStore, HealthRegistry, InputReader, MemoryPort, MetricsSink, ModeStore, Provider, Renderer, SecretVault, SessionStore, SkillLoader, TokenCounter } from '@wrongstack/core/types';
|
|
5
5
|
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
6
6
|
import type { MultiAgentHost } from '../multi-agent.js';
|
|
7
|
-
import { type
|
|
7
|
+
import { type StatuslineDocument } from '../services/statusline-config.js';
|
|
8
8
|
import { buildBuiltinSlashCommands } from '../slash-commands/index.js';
|
|
9
9
|
export type BuiltinSlashCommandDeps = Parameters<typeof buildBuiltinSlashCommands>[0];
|
|
10
10
|
/** Canonical bridge into the slash-command catalog for non-command hosts. */
|
|
11
11
|
export declare function buildCommandHostSlashCommands(deps: BuiltinSlashCommandDeps): ReturnType<typeof buildBuiltinSlashCommands>;
|
|
12
|
-
|
|
12
|
+
interface SlashCommandsDeps {
|
|
13
13
|
slashRegistry: SlashCommandRegistry;
|
|
14
14
|
toolRegistry: ToolRegistry;
|
|
15
15
|
paths: WstackPaths;
|
|
@@ -77,8 +77,9 @@ export interface SlashCommandsDeps {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
export interface StatuslineConfigDeps {
|
|
80
|
-
get(): Promise<
|
|
81
|
-
set(cfg:
|
|
80
|
+
get(): Promise<StatuslineDocument>;
|
|
81
|
+
set(cfg: StatuslineDocument): Promise<void>;
|
|
82
82
|
}
|
|
83
83
|
export declare function setupSlashCommands(params: SlashCommandsDeps): Promise<void>;
|
|
84
|
+
export {};
|
|
84
85
|
//# sourceMappingURL=slash-commands.d.ts.map
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import type { VectorMemoryStore } from '@wrongstack/vector-memory';
|
|
23
23
|
import { createTeardownEventRegistrar } from '../cli-main-helpers.js';
|
|
24
|
-
|
|
24
|
+
interface TeardownRegistrarArgs {
|
|
25
25
|
flags: {
|
|
26
26
|
tui?: unknown;
|
|
27
27
|
'no-tui'?: unknown;
|
|
@@ -33,9 +33,10 @@ export interface TeardownRegistrarArgs {
|
|
|
33
33
|
teardownHandlers: Array<() => void>;
|
|
34
34
|
vectorMemoryStore: VectorMemoryStore | undefined;
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
interface TeardownRegistrarResult {
|
|
37
37
|
tuiOwnsScreen: boolean;
|
|
38
38
|
evOn: ReturnType<typeof createTeardownEventRegistrar>;
|
|
39
39
|
}
|
|
40
40
|
export declare function setupTeardownRegistrar(args: TeardownRegistrarArgs): TeardownRegistrarResult;
|
|
41
|
+
export {};
|
|
41
42
|
//# sourceMappingURL=teardown-registrar.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MemoryPort } from '@wrongstack/core/types';
|
|
2
2
|
import { VectorMemoryStore } from '@wrongstack/vector-memory';
|
|
3
|
-
|
|
3
|
+
interface VectorMemoryArgs {
|
|
4
4
|
projectRoot: string;
|
|
5
5
|
flags: {
|
|
6
6
|
'vector-sync'?: unknown;
|
|
@@ -15,7 +15,7 @@ export interface VectorMemoryArgs {
|
|
|
15
15
|
/** Disposer chain; the mirror-dispose handler is pushed from inside. */
|
|
16
16
|
teardownHandlers: Array<() => void>;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
interface VectorMemoryResult {
|
|
19
19
|
memoryStore: MemoryPort;
|
|
20
20
|
vectorMemoryStore: VectorMemoryStore | undefined;
|
|
21
21
|
/**
|
|
@@ -27,4 +27,5 @@ export interface VectorMemoryResult {
|
|
|
27
27
|
vectorMemoryModelCacheDir: string;
|
|
28
28
|
}
|
|
29
29
|
export declare function setupVectorMemory(args: VectorMemoryArgs): Promise<VectorMemoryResult>;
|
|
30
|
+
export {};
|
|
30
31
|
//# sourceMappingURL=vector-memory-setup.d.ts.map
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* (see wrongtrace-gate.ts for why). Same factories, same behaviour, now
|
|
4
4
|
* shared by every host process that executes tools.
|
|
5
5
|
*/
|
|
6
|
-
export { createWrongTraceHookPair
|
|
6
|
+
export { createWrongTraceHookPair } from '@wrongstack/wrongtrace';
|
|
7
7
|
export type { WrongTraceGateDecisionEvent, WrongTraceHookInput, WrongTraceHookOptions, WrongTraceHookPair, WrongTracePreToolUseOutcome, } from "@wrongstack/wrongtrace";
|
|
8
8
|
//# sourceMappingURL=wrongtrace-hooks.d.ts.map
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import type { WrongTraceTelemetryReport } from '@wrongstack/wrongtrace';
|
|
15
15
|
/** Inputs the session-completion path already has in hand. */
|
|
16
|
-
|
|
16
|
+
interface WrongTraceTelemetryInput {
|
|
17
17
|
sessionId: string;
|
|
18
18
|
/** Stable agent identity, e.g. 'wrongstack-cli'. */
|
|
19
19
|
agentName: string;
|
|
@@ -50,4 +50,5 @@ export declare function reportWrongTraceSessionTelemetry(input: WrongTraceTeleme
|
|
|
50
50
|
} | null>;
|
|
51
51
|
};
|
|
52
52
|
}): Promise<void>;
|
|
53
|
+
export {};
|
|
53
54
|
//# sourceMappingURL=wrongtrace-telemetry.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.316.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": [
|
|
@@ -41,36 +41,36 @@
|
|
|
41
41
|
"data"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"
|
|
45
|
-
"@wrongstack/
|
|
46
|
-
"@wrongstack/
|
|
47
|
-
"@wrongstack/
|
|
48
|
-
"@wrongstack/
|
|
49
|
-
"@wrongstack/
|
|
50
|
-
"@wrongstack/
|
|
51
|
-
"@wrongstack/
|
|
52
|
-
"@wrongstack/
|
|
53
|
-
"@wrongstack/
|
|
54
|
-
"@wrongstack/
|
|
55
|
-
"@wrongstack/
|
|
56
|
-
"@wrongstack/
|
|
57
|
-
"@wrongstack/
|
|
58
|
-
"@wrongstack/
|
|
59
|
-
"@wrongstack/
|
|
60
|
-
"@wrongstack/techstack": "0.
|
|
61
|
-
"@wrongstack/
|
|
62
|
-
"@wrongstack/
|
|
63
|
-
"@wrongstack/
|
|
64
|
-
"@wrongstack/
|
|
65
|
-
"@wrongstack/
|
|
66
|
-
"@wrongstack/webui": "0.
|
|
67
|
-
"@wrongstack/webui-protocol": "0.
|
|
68
|
-
"@wrongstack/
|
|
69
|
-
"@wrongstack/
|
|
70
|
-
"
|
|
44
|
+
"@wrongstack/acp": "0.316.2",
|
|
45
|
+
"@wrongstack/bench": "0.316.2",
|
|
46
|
+
"@wrongstack/core": "0.316.2",
|
|
47
|
+
"@wrongstack/primitives": "0.316.2",
|
|
48
|
+
"@wrongstack/kanban": "0.316.2",
|
|
49
|
+
"@wrongstack/mcp": "0.316.2",
|
|
50
|
+
"@wrongstack/persistence": "0.316.2",
|
|
51
|
+
"@wrongstack/plug-lsp": "0.316.2",
|
|
52
|
+
"@wrongstack/plugins": "0.316.2",
|
|
53
|
+
"@wrongstack/providers": "0.316.2",
|
|
54
|
+
"@wrongstack/requirement-intake": "0.316.2",
|
|
55
|
+
"@wrongstack/runtime": "0.316.2",
|
|
56
|
+
"@wrongstack/sage": "0.316.2",
|
|
57
|
+
"@wrongstack/sdd": "0.316.2",
|
|
58
|
+
"@wrongstack/security-scanner": "0.316.2",
|
|
59
|
+
"@wrongstack/simpleui": "0.316.2",
|
|
60
|
+
"@wrongstack/techstack": "0.316.2",
|
|
61
|
+
"@wrongstack/telegram": "0.316.2",
|
|
62
|
+
"@wrongstack/tools": "0.316.2",
|
|
63
|
+
"@wrongstack/tui": "0.316.2",
|
|
64
|
+
"@wrongstack/vector-memory": "0.316.2",
|
|
65
|
+
"@wrongstack/webui": "0.316.2",
|
|
66
|
+
"@wrongstack/webui-hq": "0.316.2",
|
|
67
|
+
"@wrongstack/webui-protocol": "0.316.2",
|
|
68
|
+
"@wrongstack/wrongtrace": "0.316.2",
|
|
69
|
+
"@wrongstack/webui-server": "0.316.2",
|
|
70
|
+
"ws": "^8.21.3"
|
|
71
71
|
},
|
|
72
72
|
"optionalDependencies": {
|
|
73
|
-
"@wrongstack/desktop": "0.
|
|
73
|
+
"@wrongstack/desktop": "0.316.2"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/node": "^26.2.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
|
-
"build": "node ../../scripts/build
|
|
86
|
-
"typecheck": "pnpm --filter @wrongstack/tools run build && pnpm --filter @wrongstack/tui run build && tsc --noEmit",
|
|
85
|
+
"build": "node ../../scripts/build-package.mjs",
|
|
86
|
+
"typecheck": "pnpm --filter @wrongstack/tools run build && pnpm --filter @wrongstack/tui run build && tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
87
87
|
"test": "vitest run",
|
|
88
88
|
"test:hqdash": "vitest run --config vitest.hqdash.config.ts",
|
|
89
89
|
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
|
package/dist/auth-menu.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Backward-compatible re-export. All functionality has moved to
|
|
3
|
-
* `auth-menu/index.ts` and its submodules. This file exists so
|
|
4
|
-
* existing imports don't break during the transition.
|
|
5
|
-
*/
|
|
6
|
-
export { type AuthMenuDeps, runAuthDirect, runAuthMenu } from './auth-menu/index.js';
|
|
7
|
-
//# sourceMappingURL=auth-menu.d.ts.map
|
package/dist/chunk-WHOIR577.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-WHOIR577.js.map
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
type ConsoleMethod = (...args: unknown[]) => void;
|
|
2
|
-
interface ConsoleTarget {
|
|
3
|
-
log: ConsoleMethod;
|
|
4
|
-
info: ConsoleMethod;
|
|
5
|
-
warn: ConsoleMethod;
|
|
6
|
-
error: ConsoleMethod;
|
|
7
|
-
debug: ConsoleMethod;
|
|
8
|
-
}
|
|
9
|
-
export interface QuietSurfaceConsoleOptions {
|
|
10
|
-
isTTY?: boolean | undefined;
|
|
11
|
-
/** Pass everything through untouched (the `WEBUI_VERBOSE=1` escape hatch). */
|
|
12
|
-
verbose?: boolean | undefined;
|
|
13
|
-
consoleTarget?: ConsoleTarget | undefined;
|
|
14
|
-
/** Ring-buffer size for {@link QuietSurfaceConsole.recent}. */
|
|
15
|
-
bufferLines?: number | undefined;
|
|
16
|
-
}
|
|
17
|
-
export interface QuietSurfaceConsole {
|
|
18
|
-
/** `false` when the console was left untouched (non-TTY or verbose). */
|
|
19
|
-
readonly enabled: boolean;
|
|
20
|
-
/** Chatter lines dropped from the terminal so far. */
|
|
21
|
-
readonly mutedCount: number;
|
|
22
|
-
/** Newest muted lines, oldest first — for a diagnostic dump on failure. */
|
|
23
|
-
recent(): readonly string[];
|
|
24
|
-
stop(): void;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Keep an interactive WebUI/SimpleUI terminal quiet while the browser owns
|
|
28
|
-
* the output surface.
|
|
29
|
-
*
|
|
30
|
-
* Two things fill that terminal, and this handles both:
|
|
31
|
-
*
|
|
32
|
-
* - **Chatter.** Every `console.log`/`info`/`debug` from the server is
|
|
33
|
-
* progress the browser already shows. Those are dropped from the
|
|
34
|
-
* terminal (still counted, and the newest are kept in memory for a
|
|
35
|
-
* failure dump); `console.warn`/`error` are forwarded untouched.
|
|
36
|
-
*
|
|
37
|
-
* - **Repetition.** A warning that fires on a timer used to append an
|
|
38
|
-
* identical line every tick until the terminal was pages deep in the
|
|
39
|
-
* same text. Consecutive identical lines now collapse into a single
|
|
40
|
-
* `↑ previous line repeated N×` notice emitted when the streak ends.
|
|
41
|
-
*
|
|
42
|
-
* Non-TTY output is deliberately untouched so redirected output and log
|
|
43
|
-
* collectors retain the complete append-only log, as is `WEBUI_VERBOSE=1`.
|
|
44
|
-
*/
|
|
45
|
-
export declare function startQuietSurfaceConsole(options?: QuietSurfaceConsoleOptions): QuietSurfaceConsole;
|
|
46
|
-
export {};
|
|
47
|
-
//# sourceMappingURL=terminal-log-view.d.ts.map
|
package/dist/wiring/tools.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { DefaultSystemPromptBuilder } from '@wrongstack/core/agent';
|
|
2
|
-
import { DefaultSkillLoader } from '@wrongstack/core/execution';
|
|
3
|
-
import { type DefaultModelsRegistry, DefaultModeStore } from '@wrongstack/core/models';
|
|
4
|
-
import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
5
|
-
import type { Config, MemoryPort, TextBlock } from '@wrongstack/core/types';
|
|
6
|
-
import { type WstackPaths } from '@wrongstack/core/utils';
|
|
7
|
-
export interface ToolsWiringDeps {
|
|
8
|
-
config: Config;
|
|
9
|
-
toolRegistry: ToolRegistry;
|
|
10
|
-
modelsRegistry: DefaultModelsRegistry;
|
|
11
|
-
memoryStore: MemoryPort;
|
|
12
|
-
wpaths: WstackPaths;
|
|
13
|
-
projectRoot: string;
|
|
14
|
-
cwd: string;
|
|
15
|
-
container: {
|
|
16
|
-
resolve<T>(tok: unknown): T;
|
|
17
|
-
has(tok: unknown): boolean;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface ToolsWiringResult {
|
|
21
|
-
toolRegistry: ToolRegistry;
|
|
22
|
-
systemPrompt: Promise<TextBlock[]>;
|
|
23
|
-
promptBuilder: DefaultSystemPromptBuilder;
|
|
24
|
-
modeStore: DefaultModeStore;
|
|
25
|
-
skillLoader: DefaultSkillLoader | undefined;
|
|
26
|
-
memoryStore: MemoryPort;
|
|
27
|
-
}
|
|
28
|
-
export declare function setupTools(params: ToolsWiringDeps): Promise<ToolsWiringResult>;
|
|
29
|
-
//# sourceMappingURL=tools.d.ts.map
|