@wrongstack/tui 0.295.1 → 0.296.3
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/app-action-type.d.ts +988 -0
- package/dist/app-action-type.d.ts.map +1 -0
- package/dist/app-initial-state.d.ts +1 -1
- package/dist/app-initial-state.d.ts.map +1 -1
- package/dist/app-key-handler.d.ts +11 -3
- package/dist/app-key-handler.d.ts.map +1 -1
- package/dist/app-props.d.ts +4 -2
- package/dist/app-props.d.ts.map +1 -1
- package/dist/app-reducer.d.ts +4 -2
- package/dist/app-reducer.d.ts.map +1 -1
- package/dist/app-settings-type.d.ts +75 -0
- package/dist/app-settings-type.d.ts.map +1 -0
- package/dist/app-state-core-types.d.ts +52 -0
- package/dist/app-state-core-types.d.ts.map +1 -0
- package/dist/app-state-fleet.d.ts +44 -0
- package/dist/app-state-fleet.d.ts.map +1 -0
- package/dist/app-state.d.ts +49 -1180
- package/dist/app-state.d.ts.map +1 -1
- package/dist/app-ui-state.d.ts +5 -0
- package/dist/app-ui-state.d.ts.map +1 -0
- package/dist/app-view-contract.d.ts +8 -1
- package/dist/app-view-contract.d.ts.map +1 -1
- package/dist/app-view.d.ts.map +1 -1
- package/dist/app.d.ts.map +1 -1
- package/dist/brain-panel-model.d.ts +8 -0
- package/dist/brain-panel-model.d.ts.map +1 -1
- package/dist/clipboard.d.ts +1 -1
- package/dist/clipboard.d.ts.map +1 -1
- package/dist/components/agents-monitor-constants.d.ts +12 -0
- package/dist/components/agents-monitor-constants.d.ts.map +1 -0
- package/dist/components/agents-monitor.d.ts +1 -7
- package/dist/components/agents-monitor.d.ts.map +1 -1
- package/dist/components/auth-panel.d.ts +2 -0
- package/dist/components/auth-panel.d.ts.map +1 -1
- package/dist/components/brain-panel.d.ts.map +1 -1
- package/dist/components/connections-panel.d.ts +7 -0
- package/dist/components/connections-panel.d.ts.map +1 -0
- package/dist/components/f-key-picker.d.ts.map +1 -1
- package/dist/components/history/basic-format.d.ts +19 -0
- package/dist/components/history/basic-format.d.ts.map +1 -0
- package/dist/components/history/code-block-diff-helpers.d.ts +28 -0
- package/dist/components/history/code-block-diff-helpers.d.ts.map +1 -0
- package/dist/components/history/code-block.d.ts +1 -1
- package/dist/components/history/code-block.d.ts.map +1 -1
- package/dist/components/history/copy-icon.d.ts +25 -0
- package/dist/components/history/copy-icon.d.ts.map +1 -0
- package/dist/components/history/entry.d.ts.map +1 -1
- package/dist/components/history/index.d.ts +5 -6
- package/dist/components/history/index.d.ts.map +1 -1
- package/dist/components/history/sage-output-format.d.ts +58 -0
- package/dist/components/history/sage-output-format.d.ts.map +1 -0
- package/dist/components/history/stream-box.d.ts +23 -0
- package/dist/components/history/stream-box.d.ts.map +1 -0
- package/dist/components/history/tool-arg-format.d.ts +5 -0
- package/dist/components/history/tool-arg-format.d.ts.map +1 -0
- package/dist/components/history/tool-group.d.ts.map +1 -1
- package/dist/components/history/tool-output-summary.d.ts +4 -0
- package/dist/components/history/tool-output-summary.d.ts.map +1 -0
- package/dist/components/history/tool-visual-command.d.ts +3 -0
- package/dist/components/history/tool-visual-command.d.ts.map +1 -0
- package/dist/components/history/tool-visual-domain.d.ts +8 -0
- package/dist/components/history/tool-visual-domain.d.ts.map +1 -0
- package/dist/components/history/tool-visual-format.d.ts +13 -0
- package/dist/components/history/tool-visual-format.d.ts.map +1 -0
- package/dist/components/history/tool-visual-lsp.d.ts +4 -0
- package/dist/components/history/tool-visual-lsp.d.ts.map +1 -0
- package/dist/components/history/tool-visual-misc.d.ts +7 -0
- package/dist/components/history/tool-visual-misc.d.ts.map +1 -0
- package/dist/components/history/tool-visual-mode-workdir.d.ts +4 -0
- package/dist/components/history/tool-visual-mode-workdir.d.ts.map +1 -0
- package/dist/components/history/tool-visual-types.d.ts +9 -0
- package/dist/components/history/tool-visual-types.d.ts.map +1 -0
- package/dist/components/history/utils.d.ts +16 -54
- package/dist/components/history/utils.d.ts.map +1 -1
- package/dist/components/history/visual-lines.d.ts +7 -0
- package/dist/components/history/visual-lines.d.ts.map +1 -0
- package/dist/components/history/visual-memory-logs.d.ts +4 -0
- package/dist/components/history/visual-memory-logs.d.ts.map +1 -0
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/kanban-panel.d.ts.map +1 -1
- package/dist/components/key-hint-bar.d.ts +11 -0
- package/dist/components/key-hint-bar.d.ts.map +1 -1
- package/dist/components/powerline-rail.d.ts +11 -4
- package/dist/components/powerline-rail.d.ts.map +1 -1
- package/dist/components/provider-colors.d.ts.map +1 -1
- package/dist/components/refine-countdown-panel.d.ts +25 -0
- package/dist/components/refine-countdown-panel.d.ts.map +1 -0
- package/dist/components/refine-failure-panel.d.ts +3 -1
- package/dist/components/refine-failure-panel.d.ts.map +1 -1
- package/dist/components/resume-picker.d.ts.map +1 -1
- package/dist/components/scrollable-history.d.ts +96 -17
- package/dist/components/scrollable-history.d.ts.map +1 -1
- package/dist/components/settings-picker-filter.d.ts +20 -0
- package/dist/components/settings-picker-filter.d.ts.map +1 -0
- package/dist/components/settings-picker-jumps.d.ts +16 -0
- package/dist/components/settings-picker-jumps.d.ts.map +1 -0
- package/dist/components/settings-picker-model.d.ts +271 -0
- package/dist/components/settings-picker-model.d.ts.map +1 -0
- package/dist/components/settings-picker-row-list.d.ts +21 -0
- package/dist/components/settings-picker-row-list.d.ts.map +1 -0
- package/dist/components/settings-picker.d.ts +8 -313
- package/dist/components/settings-picker.d.ts.map +1 -1
- package/dist/components/status-bar-format.d.ts +65 -0
- package/dist/components/status-bar-format.d.ts.map +1 -0
- package/dist/components/status-bar-helpers.d.ts +19 -0
- package/dist/components/status-bar-helpers.d.ts.map +1 -0
- package/dist/components/status-bar-types.d.ts +350 -0
- package/dist/components/status-bar-types.d.ts.map +1 -0
- package/dist/components/status-bar.d.ts +4 -444
- package/dist/components/status-bar.d.ts.map +1 -1
- package/dist/components/statusline-detail-panel.d.ts.map +1 -1
- package/dist/components/statusline-picker.d.ts +5 -3
- package/dist/components/statusline-picker.d.ts.map +1 -1
- package/dist/connections-health.d.ts +39 -0
- package/dist/connections-health.d.ts.map +1 -0
- package/dist/connections-slash.d.ts +12 -0
- package/dist/connections-slash.d.ts.map +1 -0
- package/dist/esc-close-panels.d.ts.map +1 -1
- package/dist/f-key-panels.d.ts +4 -2
- package/dist/f-key-panels.d.ts.map +1 -1
- package/dist/heap-watchdog.d.ts.map +1 -1
- package/dist/height-cache.d.ts.map +1 -1
- package/dist/history-archive.d.ts +69 -0
- package/dist/history-archive.d.ts.map +1 -0
- package/dist/history-entry.d.ts +52 -0
- package/dist/history-entry.d.ts.map +1 -1
- package/dist/hit-test.d.ts +3 -4
- package/dist/hit-test.d.ts.map +1 -1
- package/dist/hooks/use-app-picker-keys.d.ts +3 -2
- package/dist/hooks/use-app-picker-keys.d.ts.map +1 -1
- package/dist/hooks/use-app-runtime-refs.d.ts +38 -0
- package/dist/hooks/use-app-runtime-refs.d.ts.map +1 -0
- package/dist/hooks/use-app-session-state.d.ts +28 -0
- package/dist/hooks/use-app-session-state.d.ts.map +1 -0
- package/dist/hooks/use-autonomy-drivers.d.ts +1 -1
- package/dist/hooks/use-autonomy-drivers.d.ts.map +1 -1
- package/dist/hooks/use-brain-panel.d.ts +1 -1
- package/dist/hooks/use-brain-panel.d.ts.map +1 -1
- package/dist/hooks/use-brain-risk-sync.d.ts +11 -0
- package/dist/hooks/use-brain-risk-sync.d.ts.map +1 -0
- package/dist/hooks/use-client-telemetry.d.ts +1 -1
- package/dist/hooks/use-client-telemetry.d.ts.map +1 -1
- package/dist/hooks/use-core-tui-commands.d.ts +2 -1
- package/dist/hooks/use-core-tui-commands.d.ts.map +1 -1
- package/dist/hooks/use-director-fleet-bridge.d.ts.map +1 -1
- package/dist/hooks/use-enhance-runtime-state.d.ts +23 -0
- package/dist/hooks/use-enhance-runtime-state.d.ts.map +1 -0
- package/dist/hooks/use-git-session-status.d.ts.map +1 -1
- package/dist/hooks/use-help-panel.d.ts +6 -0
- package/dist/hooks/use-help-panel.d.ts.map +1 -0
- package/dist/hooks/use-history-copy-notice.d.ts +4 -0
- package/dist/hooks/use-history-copy-notice.d.ts.map +1 -0
- package/dist/hooks/use-history-viewport-sync.d.ts +13 -0
- package/dist/hooks/use-history-viewport-sync.d.ts.map +1 -0
- package/dist/hooks/use-initial-prompt.d.ts +1 -1
- package/dist/hooks/use-initial-prompt.d.ts.map +1 -1
- package/dist/hooks/use-interrupt-ladder.d.ts +2 -1
- package/dist/hooks/use-interrupt-ladder.d.ts.map +1 -1
- package/dist/hooks/use-kanban-board-focus.d.ts +8 -0
- package/dist/hooks/use-kanban-board-focus.d.ts.map +1 -0
- package/dist/hooks/use-live-settings-state.d.ts +20 -0
- package/dist/hooks/use-live-settings-state.d.ts.map +1 -0
- package/dist/hooks/use-mailbox-view-model.d.ts.map +1 -1
- package/dist/hooks/use-model-pick.d.ts +1 -1
- package/dist/hooks/use-model-pick.d.ts.map +1 -1
- package/dist/hooks/use-mouse-tracking.d.ts +15 -0
- package/dist/hooks/use-mouse-tracking.d.ts.map +1 -0
- package/dist/hooks/use-next-steps-auto-submit.d.ts +2 -1
- package/dist/hooks/use-next-steps-auto-submit.d.ts.map +1 -1
- package/dist/hooks/use-panel-controllers.d.ts +2 -1
- package/dist/hooks/use-panel-controllers.d.ts.map +1 -1
- package/dist/hooks/use-picker-keys-types.d.ts +56 -0
- package/dist/hooks/use-picker-keys-types.d.ts.map +1 -0
- package/dist/hooks/use-picker-keys.d.ts +2 -64
- package/dist/hooks/use-picker-keys.d.ts.map +1 -1
- package/dist/hooks/use-provider-event-bridge.d.ts +1 -1
- package/dist/hooks/use-provider-event-bridge.d.ts.map +1 -1
- package/dist/hooks/use-session-interrupt-controller.d.ts +6 -1
- package/dist/hooks/use-session-interrupt-controller.d.ts.map +1 -1
- package/dist/hooks/use-settings-auto-save.d.ts +2 -1
- package/dist/hooks/use-settings-auto-save.d.ts.map +1 -1
- package/dist/hooks/use-shadow-panel.d.ts +17 -0
- package/dist/hooks/use-shadow-panel.d.ts.map +1 -0
- package/dist/hooks/use-slash-picker.d.ts +2 -1
- package/dist/hooks/use-slash-picker.d.ts.map +1 -1
- package/dist/hooks/use-stable-key-handler.d.ts +5 -0
- package/dist/hooks/use-stable-key-handler.d.ts.map +1 -0
- package/dist/hooks/use-statusbar-view-model.d.ts.map +1 -1
- package/dist/hooks/use-subagent-events.d.ts.map +1 -1
- package/dist/hooks/use-terminal-render-lifecycle.d.ts.map +1 -1
- package/dist/hooks/use-todos-auto-clear.d.ts +3 -0
- package/dist/hooks/use-todos-auto-clear.d.ts.map +1 -0
- package/dist/hooks/use-tui-activity.d.ts +7 -1
- package/dist/hooks/use-tui-activity.d.ts.map +1 -1
- package/dist/hooks/use-tui-environment-state.d.ts +1 -0
- package/dist/hooks/use-tui-environment-state.d.ts.map +1 -1
- package/dist/hooks/use-tui-slash-commands.d.ts +2 -1
- package/dist/hooks/use-tui-slash-commands.d.ts.map +1 -1
- package/dist/index.js +22376 -20119
- package/dist/index.js.map +4 -4
- package/dist/input-validation/action-helpers.d.ts +12 -0
- package/dist/input-validation/action-helpers.d.ts.map +1 -0
- package/dist/input-validation/action-types.d.ts +4 -0
- package/dist/input-validation/action-types.d.ts.map +1 -0
- package/dist/input-validation/allow-lists.d.ts +29 -0
- package/dist/input-validation/allow-lists.d.ts.map +1 -0
- package/dist/input-validation/limits.d.ts +27 -0
- package/dist/input-validation/limits.d.ts.map +1 -0
- package/dist/input-validation/result.d.ts +10 -0
- package/dist/input-validation/result.d.ts.map +1 -0
- package/dist/input-validation/state-entries.d.ts +22 -0
- package/dist/input-validation/state-entries.d.ts.map +1 -0
- package/dist/input-validation/terminal.d.ts +69 -0
- package/dist/input-validation/terminal.d.ts.map +1 -0
- package/dist/input-validation.d.ts +7 -176
- package/dist/input-validation.d.ts.map +1 -1
- package/dist/layout-engine.d.ts +5 -1
- package/dist/layout-engine.d.ts.map +1 -1
- package/dist/layout-store.d.ts.map +1 -1
- package/dist/mailbox-view-model-types.d.ts +19 -0
- package/dist/mailbox-view-model-types.d.ts.map +1 -0
- package/dist/memory-context-monitor.d.ts +6 -0
- package/dist/memory-context-monitor.d.ts.map +1 -1
- package/dist/memory-slash-format.d.ts +10 -0
- package/dist/memory-slash-format.d.ts.map +1 -0
- package/dist/memory-slash.d.ts.map +1 -1
- package/dist/mouse.d.ts +11 -4
- package/dist/mouse.d.ts.map +1 -1
- package/dist/on-panel-open.d.ts +1 -1
- package/dist/on-panel-open.d.ts.map +1 -1
- package/dist/overlay-key-router.d.ts +1 -1
- package/dist/overlay-key-router.d.ts.map +1 -1
- package/dist/reducers/activity.d.ts +2 -1
- package/dist/reducers/activity.d.ts.map +1 -1
- package/dist/reducers/composer.d.ts +2 -1
- package/dist/reducers/composer.d.ts.map +1 -1
- package/dist/reducers/conversation.d.ts +3 -2
- package/dist/reducers/conversation.d.ts.map +1 -1
- package/dist/reducers/dialogs.d.ts +3 -2
- package/dist/reducers/dialogs.d.ts.map +1 -1
- package/dist/reducers/fleet.d.ts +2 -1
- package/dist/reducers/fleet.d.ts.map +1 -1
- package/dist/reducers/helpers.d.ts +1 -1
- package/dist/reducers/helpers.d.ts.map +1 -1
- package/dist/reducers/panel-pickers.d.ts +2 -1
- package/dist/reducers/panel-pickers.d.ts.map +1 -1
- package/dist/reducers/settings-panel.d.ts +2 -1
- package/dist/reducers/settings-panel.d.ts.map +1 -1
- package/dist/reducers/settings-values.d.ts +2 -1
- package/dist/reducers/settings-values.d.ts.map +1 -1
- package/dist/reducers/workspace-panels.d.ts +3 -2
- package/dist/reducers/workspace-panels.d.ts.map +1 -1
- package/dist/run-tui-client-registration.d.ts +18 -0
- package/dist/run-tui-client-registration.d.ts.map +1 -0
- package/dist/run-tui-options.d.ts +569 -0
- package/dist/run-tui-options.d.ts.map +1 -0
- package/dist/run-tui-title-controller.d.ts +16 -0
- package/dist/run-tui-title-controller.d.ts.map +1 -0
- package/dist/run-tui.d.ts +5 -572
- package/dist/run-tui.d.ts.map +1 -1
- package/dist/scroll-anchor.d.ts +10 -14
- package/dist/scroll-anchor.d.ts.map +1 -1
- package/dist/settings-contracts.d.ts +6 -1
- package/dist/settings-contracts.d.ts.map +1 -1
- package/dist/submit-controller.d.ts +4 -0
- package/dist/submit-controller.d.ts.map +1 -1
- package/dist/submit-prompt-refinement.d.ts +2 -0
- package/dist/submit-prompt-refinement.d.ts.map +1 -1
- package/dist/terminal-modes.d.ts +3 -0
- package/dist/terminal-modes.d.ts.map +1 -0
- package/dist/terminal-silence.d.ts +3 -0
- package/dist/terminal-silence.d.ts.map +1 -0
- package/dist/terminal-title.d.ts +7 -1
- package/dist/terminal-title.d.ts.map +1 -1
- package/dist/tui-host-capabilities.d.ts +1 -1
- package/dist/tui-host-capabilities.d.ts.map +1 -1
- package/dist/ui-contracts.d.ts +2 -1
- package/dist/ui-contracts.d.ts.map +1 -1
- package/package.json +11 -12
|
@@ -1,378 +1,9 @@
|
|
|
1
|
-
import type { AutonomyStage, TokenCounter, TokenSavingTier } from '@wrongstack/core/types';
|
|
2
|
-
import type { EventBus } from '@wrongstack/core/kernel';
|
|
3
1
|
import type React from 'react';
|
|
4
|
-
import type {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { ChipMeta, StatuslineItem } from './statusline-picker.js';
|
|
9
|
-
import { type MemoryContextMonitorState } from '../memory-context-monitor.js';
|
|
10
|
-
/**
|
|
11
|
-
* Head-truncate a chip's free-text payload (branch, path, project name) with a
|
|
12
|
-
* trailing ellipsis so one long value can't blow out the line width. Mirrors
|
|
13
|
-
* the inline pattern the goal/mailbox chips already use.
|
|
14
|
-
*/
|
|
15
|
-
export declare function truncateChip(text: string, max: number): string;
|
|
16
|
-
/**
|
|
17
|
-
* Recover the visible plain text of a rendered chip by walking its React
|
|
18
|
-
* element tree (string/number leaves only). Used purely to estimate display
|
|
19
|
-
* width for overflow budgeting — deriving width from the SAME node we render
|
|
20
|
-
* means there's no parallel text to drift out of sync.
|
|
21
|
-
*/
|
|
22
|
-
export declare function nodeText(node: React.ReactNode): string;
|
|
23
|
-
/**
|
|
24
|
-
* Decide how many leading chips fit within `budget` columns. Trailing (lowest
|
|
25
|
-
* priority) chips are dropped first, which keeps the high-value leading chips
|
|
26
|
-
* — and the columns the mouse hit-test spans assume — stable. The first chip is
|
|
27
|
-
* always kept even if it alone exceeds the budget (better one clipped chip than
|
|
28
|
-
* an empty line). Pure + exported for testing.
|
|
29
|
-
*/
|
|
30
|
-
export declare function planChipFit(widths: number[], budget: number, sepCost?: number): number;
|
|
31
|
-
/**
|
|
32
|
-
* Render a status-bar chip line: separator-join the chips that fit within
|
|
33
|
-
* `budget`, and append a dim `+N` marker when lower-priority chips were dropped
|
|
34
|
-
* so the line never wraps (a wrapped status bar shifts Ink's layout and strands
|
|
35
|
-
* the input row in scrollback).
|
|
36
|
-
*/
|
|
37
|
-
/** Minimum terminal width before we switch to ultra-compact mode. Exported so
|
|
38
|
-
* the TUI mouse hit-test can skip the model-chip click in compact mode (where
|
|
39
|
-
* line 1 uses a different layout than `statusBarModelSpan` assumes). */
|
|
2
|
+
import type { StatusBarProps } from './status-bar-types.js';
|
|
3
|
+
export { contextBarColor, fmtElapsed, fmtMemory, hasTokenDisplay, nodeText, planChipFit, renderMeter, renderProgress, stateChip, statusBarAutonomySpan, statusBarModelSpan, statusBarTodosSpan, type TokenDisplayTotals, tokenDisplayTotals, truncateChip, } from './status-bar-format.js';
|
|
4
|
+
export type { BrainStatusChip, ContextWindow, FleetAgentDetail, FleetCounts, MailboxStatus, PlanCounts, StatusBarProps, TaskCounts, TodoCounts, } from './status-bar-types.js';
|
|
5
|
+
/** Minimum terminal width before we switch to ultra-compact mode. */
|
|
40
6
|
export declare const COMPACT_THRESHOLD = 50;
|
|
41
|
-
export interface TokenDisplayTotals {
|
|
42
|
-
input: number;
|
|
43
|
-
output: number;
|
|
44
|
-
}
|
|
45
|
-
export declare function tokenDisplayTotals(usage: {
|
|
46
|
-
input: number;
|
|
47
|
-
output: number;
|
|
48
|
-
cacheRead?: number | undefined;
|
|
49
|
-
cacheWrite?: number | undefined;
|
|
50
|
-
} | undefined, currentRequest: {
|
|
51
|
-
input: number;
|
|
52
|
-
cacheRead: number;
|
|
53
|
-
cacheWrite?: number | undefined;
|
|
54
|
-
} | undefined,
|
|
55
|
-
/**
|
|
56
|
-
* Local estimate of the assembled request size (prompt tokens we're about
|
|
57
|
-
* to send). Used ONLY when the provider reports nothing — some providers
|
|
58
|
-
* omit prompt usage or return `input: 0` (see
|
|
59
|
-
* [[statusline-vs-context-token-source]]), which otherwise leaves the "↑"
|
|
60
|
-
* sent-token counter stuck at 0 even though we're clearly sending tokens.
|
|
61
|
-
* The breakdown total IS the sent size, so this is an honest fallback, not
|
|
62
|
-
* a guess. Output stays provider-only (received tokens can't be known
|
|
63
|
-
* locally).
|
|
64
|
-
*/
|
|
65
|
-
estimatedInput?: number | undefined): TokenDisplayTotals;
|
|
66
|
-
export declare function hasTokenDisplay(tokens: TokenDisplayTotals): boolean;
|
|
67
|
-
export interface TodoCounts {
|
|
68
|
-
pending: number;
|
|
69
|
-
inProgress: number;
|
|
70
|
-
completed: number;
|
|
71
|
-
}
|
|
72
|
-
export interface PlanCounts {
|
|
73
|
-
open: number;
|
|
74
|
-
inProgress: number;
|
|
75
|
-
done: number;
|
|
76
|
-
/** Active storage scope. Shown as a suffix in the plan chip. */
|
|
77
|
-
scope?: 'session' | 'project';
|
|
78
|
-
}
|
|
79
|
-
export interface TaskCounts {
|
|
80
|
-
pending: number;
|
|
81
|
-
inProgress: number;
|
|
82
|
-
completed: number;
|
|
83
|
-
blocked: number;
|
|
84
|
-
failed: number;
|
|
85
|
-
/** Active storage scope. Shown as a suffix in the task chip. */
|
|
86
|
-
scope?: 'session' | 'project';
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Fleet activity breakdown surfaced on the work-in-flight line. Derived
|
|
90
|
-
* from `director.status()` in the host app and refreshed alongside the
|
|
91
|
-
* other dynamic chips. Kept optional (and the chip is only rendered
|
|
92
|
-
* when any field is non-zero) so single-agent sessions stay quiet.
|
|
93
|
-
*/
|
|
94
|
-
export interface FleetCounts {
|
|
95
|
-
/** Subagents currently mid-task. */
|
|
96
|
-
running: number;
|
|
97
|
-
/** Subagents spawned but idle (no current task). */
|
|
98
|
-
idle: number;
|
|
99
|
-
/** Tasks queued but not yet picked up by a worker. */
|
|
100
|
-
pending: number;
|
|
101
|
-
/** Tasks resolved (success/failure/timeout/stopped). */
|
|
102
|
-
completed: number;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Per-agent detail surfaced on the optional 4th line — one chip per
|
|
106
|
-
* currently-running subagent so the user can see at a glance which
|
|
107
|
-
* agent is doing what, for how long, and how many tools it has called.
|
|
108
|
-
* Truncated to the top N by the host (typically 3-4) to keep the bar
|
|
109
|
-
* from wrapping.
|
|
110
|
-
*/
|
|
111
|
-
export interface FleetAgentDetail {
|
|
112
|
-
/** Stable label used by the streaming history (e.g. "AGENT#1 bug-hunter"). */
|
|
113
|
-
label: string;
|
|
114
|
-
/** Ink color name — same palette as the per-agent history prefix. */
|
|
115
|
-
color: string;
|
|
116
|
-
/** Ms since the subagent's first iteration. */
|
|
117
|
-
elapsedMs: number;
|
|
118
|
-
/** Tool calls observed via tool.executed. */
|
|
119
|
-
toolCalls: number;
|
|
120
|
-
/** True when the subagent is actively iterating. */
|
|
121
|
-
running: boolean;
|
|
122
|
-
/** Current/last tool the subagent invoked, shown as its live action. */
|
|
123
|
-
tool?: string | undefined;
|
|
124
|
-
/** Cumulative budget auto-extensions granted — rendered as "⚡×N". */
|
|
125
|
-
extensions?: number | undefined;
|
|
126
|
-
}
|
|
127
|
-
export interface BrainStatusChip {
|
|
128
|
-
state: 'idle' | 'deciding' | 'answered' | 'ask_human' | 'denied';
|
|
129
|
-
source?: string | undefined;
|
|
130
|
-
risk?: 'low' | 'medium' | 'high' | 'critical' | undefined;
|
|
131
|
-
summary?: string | undefined;
|
|
132
|
-
}
|
|
133
|
-
export interface ContextWindow {
|
|
134
|
-
/** Input tokens of the most recent provider request — the de-facto live context size. */
|
|
135
|
-
used: number;
|
|
136
|
-
/** Provider's declared maxContext capability. */
|
|
137
|
-
max: number;
|
|
138
|
-
}
|
|
139
|
-
export interface MailboxStatus {
|
|
140
|
-
/** Number of unread messages for this agent. */
|
|
141
|
-
unread: number;
|
|
142
|
-
/** Number of online agents in the project. */
|
|
143
|
-
onlineAgents: number;
|
|
144
|
-
/** Per-source count of online clients. */
|
|
145
|
-
onlineClients: {
|
|
146
|
-
tui: number;
|
|
147
|
-
webui: number;
|
|
148
|
-
repl: number;
|
|
149
|
-
};
|
|
150
|
-
/** Latest received message subject (if any). Null = no messages yet. */
|
|
151
|
-
lastSubject?: string | null | undefined;
|
|
152
|
-
/** Latest received message sender (if any). */
|
|
153
|
-
lastFrom?: string | null | undefined;
|
|
154
|
-
}
|
|
155
|
-
export interface StatusBarProps {
|
|
156
|
-
model: string;
|
|
157
|
-
/**
|
|
158
|
-
* Provider identifier shown alongside `model` as `provider/model` in the
|
|
159
|
-
* status line. When omitted, only `model` is displayed (backward compat
|
|
160
|
-
* for callers that pass a combined string).
|
|
161
|
-
*/
|
|
162
|
-
provider?: string | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* App version string (e.g. "0.7.0"). Previously rendered a `WS v{version}`
|
|
165
|
-
* chip at the head of line 1. Now shown in the composer top rail instead
|
|
166
|
-
* (`WRONGSTACK v{version}`). Kept in the interface for callers that may
|
|
167
|
-
* use `version` in derived props — no longer rendered by StatusBar itself.
|
|
168
|
-
*/
|
|
169
|
-
version?: string | undefined;
|
|
170
|
-
state: 'idle' | 'running' | 'streaming' | 'aborting';
|
|
171
|
-
/** Single word rendered in the rainbow working-state chip. */
|
|
172
|
-
thinkingWord?: string | undefined;
|
|
173
|
-
/**
|
|
174
|
-
* Animation style for the working/thinking chip. Defaults to `'rainbow'`
|
|
175
|
-
* when omitted so legacy callers stay visually consistent. The special
|
|
176
|
-
* `'cycle'` value rotates through the variant styles every
|
|
177
|
-
* `CYCLE_INTERVAL_SECONDS`. Live-mirrored from the configStore so
|
|
178
|
-
* `/settings → Animation` updates the chip in the active chat.
|
|
179
|
-
*/
|
|
180
|
-
thinkingAnimationStyle?: AnimationStyle | 'cycle' | undefined;
|
|
181
|
-
tokenCounter?: TokenCounter | undefined;
|
|
182
|
-
hint?: string | undefined;
|
|
183
|
-
queueCount?: number | undefined;
|
|
184
|
-
yolo?: boolean | undefined;
|
|
185
|
-
/**
|
|
186
|
-
* Session start timestamp (ms). Used by StatuslineDetailPanel for its
|
|
187
|
-
* elapsed-time display. StatusBar itself no longer renders this chip
|
|
188
|
-
* (working time and fleet time are tracked separately).
|
|
189
|
-
*/
|
|
190
|
-
startedAt?: number | undefined;
|
|
191
|
-
/**
|
|
192
|
-
* Fleet working time in ms — the total time background subagents have been
|
|
193
|
-
* active. Only ticks up while fleet.running > 0. Rendered as a chip on the
|
|
194
|
-
* status bar so the user can see how long background work has been running.
|
|
195
|
-
*/
|
|
196
|
-
fleetWorkingTime?: number | undefined;
|
|
197
|
-
todos?: TodoCounts | undefined;
|
|
198
|
-
/**
|
|
199
|
-
* Plan board counts surfaced as a chip on line 2. Distinct from
|
|
200
|
-
* `todos` — plans are higher-level and persist across resume; the
|
|
201
|
-
* chip uses a different glyph (📋) so the user can tell them apart
|
|
202
|
-
* at a glance.
|
|
203
|
-
*/
|
|
204
|
-
plan?: PlanCounts | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* Task board counts surfaced as a chip on line 3. Shows structured
|
|
207
|
-
* work items (from the `task` tool) with type/priority/deps.
|
|
208
|
-
* Distinct from `plan` (strategic) and `todos` (tactical).
|
|
209
|
-
*/
|
|
210
|
-
tasks?: TaskCounts | undefined;
|
|
211
|
-
/**
|
|
212
|
-
* Per-status fleet breakdown. When provided, takes precedence over
|
|
213
|
-
* `subagentCount` for chip rendering. `subagentCount` is kept for
|
|
214
|
-
* backwards compatibility when callers haven't wired the richer
|
|
215
|
-
* breakdown yet.
|
|
216
|
-
*/
|
|
217
|
-
fleet?: FleetCounts | undefined;
|
|
218
|
-
/**
|
|
219
|
-
* Optional per-agent detail row (up to ~4 agents). Renders below the
|
|
220
|
-
* aggregate fleet chip on a dedicated 4th line so the user can see
|
|
221
|
-
* which specific agent is burning time/tools right now without
|
|
222
|
-
* scrolling history.
|
|
223
|
-
*/
|
|
224
|
-
fleetAgents?: FleetAgentDetail[] | undefined;
|
|
225
|
-
git?: GitInfo | null | undefined;
|
|
226
|
-
subagentCount?: number | undefined;
|
|
227
|
-
/** Renders the "ctx ████░░ 42%" chip on line 1 when present. */
|
|
228
|
-
context?: ContextWindow | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* Local estimate of the assembled request size, used as the last-resort
|
|
231
|
-
* fallback for the "↑" sent-token counter when the provider reports no
|
|
232
|
-
* prompt usage. Passed straight to {@link tokenDisplayTotals}.
|
|
233
|
-
*/
|
|
234
|
-
estimatedContextTokens?: number | undefined;
|
|
235
|
-
/** All SAGE records plus the exact count present in the latest provider request. */
|
|
236
|
-
Sage?: {
|
|
237
|
-
total: number;
|
|
238
|
-
activeInContext: number;
|
|
239
|
-
} | undefined;
|
|
240
|
-
/** Memory context monitor state — renders a compact 4th line with matched/injected/filtered/ctx counts (gated by `memory_context` chip key). */
|
|
241
|
-
memoryContextMonitor?: MemoryContextMonitorState | undefined;
|
|
242
|
-
/**
|
|
243
|
-
* Context compaction strategy. When provided alongside `context`, renders
|
|
244
|
-
* the strategy label (e.g. "hybrid", "intelligent", "selective") next to
|
|
245
|
-
* the context chip on line 1.
|
|
246
|
-
*/
|
|
247
|
-
contextStrategy?: 'hybrid' | 'intelligent' | 'selective' | undefined;
|
|
248
|
-
/** Live Brain arbiter state, shown as a compact work chip when active/recent. */
|
|
249
|
-
brain?: BrainStatusChip | undefined;
|
|
250
|
-
/**
|
|
251
|
-
* Project / working-folder name. Rendered on line 2 just before the git
|
|
252
|
-
* branch so users running multiple WrongStack windows can tell at a
|
|
253
|
-
* glance which repo each one is pinned to. Usually the basename of
|
|
254
|
-
* `agent.ctx.projectRoot`.
|
|
255
|
-
*/
|
|
256
|
-
projectName?: string | undefined;
|
|
257
|
-
/**
|
|
258
|
-
* Working directory relative to the project root. Rendered on line 2
|
|
259
|
-
* as a 📂 chip so the user knows which subdirectory tools will resolve
|
|
260
|
-
* against. Updated live via `ctx.onWorkingDirChanged()`.
|
|
261
|
-
*/
|
|
262
|
-
workingDir?: string | undefined;
|
|
263
|
-
/** Autonomy mode chip: 'off' | 'suggest' | 'auto' | 'eternal' | 'eternal-parallel'. */
|
|
264
|
-
autonomy?: 'off' | 'suggest' | 'auto' | 'eternal' | 'eternal-parallel' | undefined;
|
|
265
|
-
/** Number of tracked bash/exec processes from the process registry. */
|
|
266
|
-
processCount?: number | undefined;
|
|
267
|
-
/** Current RSS/heap sample for this CLI process. */
|
|
268
|
-
processMemory?: HeapSample | undefined;
|
|
269
|
-
/** CPU usage percentage (0-100). Derived from process.cpuUsage delta. */
|
|
270
|
-
cpuPercent?: number | undefined;
|
|
271
|
-
/** Items to hide from the status bar. Canonical set: {@link StatuslineItem}. */
|
|
272
|
-
hiddenItems?: StatuslineItem[] | undefined;
|
|
273
|
-
/** Statusline density. Detailed is the default to preserve the full multi-line display. */
|
|
274
|
-
mode?: StatuslineMode | undefined;
|
|
275
|
-
/** EventBus for subscribing to token.accounted events for real-time cost/token updates. */
|
|
276
|
-
events?: EventBus | undefined;
|
|
277
|
-
/** Active session id used to ignore token events from other same-process sessions. */
|
|
278
|
-
sessionId?: string | undefined;
|
|
279
|
-
/**
|
|
280
|
-
* Live iteration stage from the active autonomy engine. When set, renders
|
|
281
|
-
* a chip like `⏸ decide` or `▶ execute(todo:fix-auth)` next to the
|
|
282
|
-
* autonomy chip on line 2.
|
|
283
|
-
*/
|
|
284
|
-
eternalStage?: AutonomyStage | null | undefined;
|
|
285
|
-
/** Active goal summary for startup banner display. */
|
|
286
|
-
goalSummary?: {
|
|
287
|
-
goal: string;
|
|
288
|
-
goalState: 'active' | 'paused' | 'completed' | 'abandoned';
|
|
289
|
-
iterations: number;
|
|
290
|
-
lastTask?: string | undefined;
|
|
291
|
-
lastStatus?: string | undefined;
|
|
292
|
-
} | null;
|
|
293
|
-
/**
|
|
294
|
-
* Seconds remaining in the auto-proceed countdown. null = not counting.
|
|
295
|
-
* Rendered as a chip on line 2 when non-null.
|
|
296
|
-
*/
|
|
297
|
-
autoProceedCountdown?: number | null | undefined;
|
|
298
|
-
/** Codebase indexing state — rendered as a chip on line 1 when indexing. */
|
|
299
|
-
indexState?: {
|
|
300
|
-
ready: boolean;
|
|
301
|
-
indexing: boolean;
|
|
302
|
-
currentFile: number;
|
|
303
|
-
totalFiles: number;
|
|
304
|
-
/** Circuit-breaker snapshot — 'open' means indexing is paused after repeated failures. */
|
|
305
|
-
circuit?: {
|
|
306
|
-
state: 'closed' | 'open' | 'half-open';
|
|
307
|
-
cooldownRemainingMs: number;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
/**
|
|
311
|
-
* Live countdown to the process circuit breaker's automatic kill/reset.
|
|
312
|
-
* Rendered as an urgent chip on line 1 ("⚡ kill/reset in Ns") while armed;
|
|
313
|
-
* null/undefined hides it. The host ticks this every second.
|
|
314
|
-
*/
|
|
315
|
-
breakerCountdown?: {
|
|
316
|
-
remainingMs: number;
|
|
317
|
-
totalMs: number;
|
|
318
|
-
} | null | undefined;
|
|
319
|
-
/** Active agent mode label with icon (e.g. "🧑🏫 teach", "⚡ brief"). Rendered on line 2. */
|
|
320
|
-
modeLabel?: string | undefined;
|
|
321
|
-
/**
|
|
322
|
-
* Live debug-stream telemetry — pushed into the TUI reducer by the
|
|
323
|
-
* throttled callback from stream-debug-state.ts. When non-null, renders
|
|
324
|
-
* a "🐛 stream" chip on line 3 with chunk count, size, delta, and total
|
|
325
|
-
* bytes. Cleared on provider.response (per-iteration stream reset).
|
|
326
|
-
*/
|
|
327
|
-
debugStreamStats?: {
|
|
328
|
-
chunkCount: number;
|
|
329
|
-
lastChunkSize: number;
|
|
330
|
-
lastDeltaMs: number;
|
|
331
|
-
totalBytes: number;
|
|
332
|
-
lastChunkAt: string;
|
|
333
|
-
} | null | undefined;
|
|
334
|
-
/**
|
|
335
|
-
* Seconds remaining in the prompt-refinement auto-send countdown.
|
|
336
|
-
* When non-null, replaces the old in-panel timer display with a
|
|
337
|
-
* line-3 chip like `◴ refinement ready · send in 5s` so the countdown never
|
|
338
|
-
* causes blank entries in the chat scrollback.
|
|
339
|
-
*/
|
|
340
|
-
enhanceCountdown?: number | null | undefined;
|
|
341
|
-
/**
|
|
342
|
-
* Seconds remaining in the next-steps auto-submit countdown.
|
|
343
|
-
* When non-null, renders a line-3 chip like `⏳ next step in 3s`
|
|
344
|
-
* that auto-submits the suggested next step when the countdown reaches 0.
|
|
345
|
-
*/
|
|
346
|
-
nextStepsAutoSubmitCountdown?: number | null | undefined;
|
|
347
|
-
/**
|
|
348
|
-
* Label of the step that will be auto-submitted (the suggestion text).
|
|
349
|
-
* When provided alongside countdown, renders as `⏳ step text in 3s`.
|
|
350
|
-
*/
|
|
351
|
-
nextStepsAutoSubmitLabel?: string | null | undefined;
|
|
352
|
-
/** Number of live sessions across processes (from SessionRegistry). */
|
|
353
|
-
sessionCount?: number | undefined;
|
|
354
|
-
/** Mailbox activity — unread count, online agents, latest message. */
|
|
355
|
-
mailbox?: MailboxStatus | undefined;
|
|
356
|
-
/**
|
|
357
|
-
* Token-saving tier. When set and not `'off'`, renders a `💾 <tier>` chip
|
|
358
|
-
* on line 2 to remind the user that non-essential tools are omitted and
|
|
359
|
-
* system prompt sections are trimmed at that compactness level.
|
|
360
|
-
*/
|
|
361
|
-
tokenSavingMode?: TokenSavingTier | undefined;
|
|
362
|
-
/**
|
|
363
|
-
* Number of registered tools. Rendered as a chip on line 2 so the user
|
|
364
|
-
* can see how many tools are available (lower count in token-saving mode).
|
|
365
|
-
*/
|
|
366
|
-
toolCount?: number | undefined;
|
|
367
|
-
/** Visible stream chips (brain, mailbox, enhance, debug_stream) for expiration tracking. */
|
|
368
|
-
visibleChips?: ChipMeta[] | undefined;
|
|
369
|
-
/**
|
|
370
|
-
* Number of structured side effects (bash/install/fetch) recorded in the
|
|
371
|
-
* current session. Rendered as a compact "⚠ N" chip on line 2 when > 0.
|
|
372
|
-
* Clicking opens /audit (TUI) — in the REPL it's informational.
|
|
373
|
-
*/
|
|
374
|
-
sideEffectCount?: number | undefined;
|
|
375
|
-
}
|
|
376
7
|
/**
|
|
377
8
|
* Two-line status bar. The first line stays compact and shows the
|
|
378
9
|
* workspace route followed by provider/model, context, tokens, cost, queue,
|
|
@@ -381,75 +12,4 @@ export interface StatusBarProps {
|
|
|
381
12
|
* vanilla session keeps the original single-line footprint.
|
|
382
13
|
*/
|
|
383
14
|
export declare function StatusBar({ model, provider, state, thinkingWord, thinkingAnimationStyle, tokenCounter, hint, queueCount, yolo, autonomy, fleetWorkingTime, todos, plan, tasks, fleet, fleetAgents, git, subagentCount, brain, projectName, workingDir, processCount, processMemory, cpuPercent, context, estimatedContextTokens, Sage, memoryContextMonitor, contextStrategy, hiddenItems, mode, events, sessionId, eternalStage, goalSummary, indexState, breakerCountdown, modeLabel, debugStreamStats, enhanceCountdown, nextStepsAutoSubmitCountdown, nextStepsAutoSubmitLabel, autoProceedCountdown, sessionCount, mailbox, tokenSavingMode, toolCount, visibleChips, sideEffectCount, }: StatusBarProps): React.ReactElement;
|
|
384
|
-
/**
|
|
385
|
-
* 0-based column span (offset from the box's left edge) of the
|
|
386
|
-
* `{provider}/{model}` chip on status-bar line 1. The TUI mouse handler uses
|
|
387
|
-
* it to open the model picker. This mirrors the visible workspace prefix:
|
|
388
|
-
* YOLO/autonomy, project, working directory, then provider/model.
|
|
389
|
-
*/
|
|
390
|
-
export declare function statusBarModelSpan(opts: {
|
|
391
|
-
model: string;
|
|
392
|
-
provider?: string | undefined;
|
|
393
|
-
yolo?: boolean | undefined;
|
|
394
|
-
autonomy?: 'off' | 'suggest' | 'auto' | 'eternal' | 'eternal-parallel' | undefined;
|
|
395
|
-
projectName?: string | undefined;
|
|
396
|
-
workingDir?: string | undefined;
|
|
397
|
-
projectHidden?: boolean | undefined;
|
|
398
|
-
workingDirHidden?: boolean | undefined;
|
|
399
|
-
monochrome?: boolean | undefined;
|
|
400
|
-
}): {
|
|
401
|
-
start: number;
|
|
402
|
-
len: number;
|
|
403
|
-
};
|
|
404
|
-
/**
|
|
405
|
-
* 0-based column span of the autonomy chip on status-bar line 1, or null when
|
|
406
|
-
* autonomy is off/unset. Mirrors both colored (`∞ MODE`) and monochrome
|
|
407
|
-
* (`MODE`) Powerline rendering, including an optional leading YOLO segment.
|
|
408
|
-
*/
|
|
409
|
-
export declare function statusBarAutonomySpan(opts: {
|
|
410
|
-
yolo?: boolean | undefined;
|
|
411
|
-
autonomy?: 'off' | 'suggest' | 'auto' | 'eternal' | 'eternal-parallel' | undefined;
|
|
412
|
-
monochrome?: boolean | undefined;
|
|
413
|
-
}): {
|
|
414
|
-
start: number;
|
|
415
|
-
len: number;
|
|
416
|
-
} | null;
|
|
417
|
-
/**
|
|
418
|
-
* 0-based column span of the `todos ⌛N ☐M ✓K` chip on status-bar line 3.
|
|
419
|
-
* Returns null when no todos are visible. Used by the TUI mouse handler
|
|
420
|
-
* to make the todos chip clickable (→ F5 right panel / F6 overlay).
|
|
421
|
-
* The chip is always at the start of line 3 with only left padding.
|
|
422
|
-
*/
|
|
423
|
-
export declare function statusBarTodosSpan(): {
|
|
424
|
-
start: number;
|
|
425
|
-
len: number;
|
|
426
|
-
};
|
|
427
|
-
export declare function stateChip(state: 'idle' | 'running' | 'streaming' | 'aborting', fleetRunning: number, thinkingWord?: string | undefined): {
|
|
428
|
-
label: string;
|
|
429
|
-
color: string;
|
|
430
|
-
};
|
|
431
|
-
export declare function renderProgress(ratio: number, width: number): string;
|
|
432
|
-
/**
|
|
433
|
-
* Pick a Catppuccin Mocha color for the context meter bar based on the
|
|
434
|
-
* usage ratio. Uses a 5-level progression that follows the Catppuccin
|
|
435
|
-
* palette spectrum from cool (low usage) → warm (moderate) → hot (high):
|
|
436
|
-
*
|
|
437
|
-
* `< 25%` teal/cyan (`accent`) — cool, spacious
|
|
438
|
-
* `< 50%` green (`success`) — comfortable
|
|
439
|
-
* `< 65%` peach (`pastel`) — warm, filling
|
|
440
|
-
* `< 80%` yellow (`warn`) — caution
|
|
441
|
-
* `>= 80%` red (`error`) — urgent
|
|
442
|
-
*/
|
|
443
|
-
export declare function contextBarColor(ratio: number): string;
|
|
444
|
-
/**
|
|
445
|
-
* Bracket-style context meter, e.g. `[00o.......]`.
|
|
446
|
-
*
|
|
447
|
-
* Renders a fixed-width progress bar inside square brackets. `0` marks filled
|
|
448
|
-
* cells, `o` is the boundary marker at the edge of used space, and `.` marks
|
|
449
|
-
* remaining cells. The marker disappears at 0% (bar is all `.`) and at 100%
|
|
450
|
-
* (bar is all `0`).
|
|
451
|
-
*/
|
|
452
|
-
export declare function renderMeter(ratio: number, width: number): string;
|
|
453
|
-
export declare function fmtMemory(bytes: number): string;
|
|
454
|
-
export declare function fmtElapsed(ms: number): string;
|
|
455
15
|
//# sourceMappingURL=status-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../src/components/status-bar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../src/components/status-bar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EACL,eAAe,EACf,UAAU,EACV,SAAS,EACT,eAAe,EACf,QAAQ,EACR,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,kBAAkB,EAClB,YAAY,GACb,MAAM,wBAAwB,CAAC;AAwDhC,YAAY,EACV,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,UAAU,EACV,cAAc,EACd,UAAU,EACV,UAAU,GACX,MAAM,uBAAuB,CAAC;AAC/B,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAapC;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,IAAI,EACJ,UAAc,EACd,IAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,EACL,WAAW,EACX,GAAG,EACH,aAAiB,EACjB,KAAK,EACL,WAAW,EACX,UAAU,EACV,YAAY,EACZ,aAAa,EACb,UAAU,EACV,OAAO,EACP,sBAAsB,EACtB,IAAI,EACJ,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,IAAiB,EACjB,MAAM,EACN,SAAS,EACT,YAAY,EACZ,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,4BAA4B,EAC5B,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,OAAO,EACP,eAAe,EACf,SAAS,EACT,YAAiB,EACjB,eAAmB,GACpB,EAAE,cAAc,GAAG,KAAK,CAAC,YAAY,CAi5BrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusline-detail-panel.d.ts","sourceRoot":"","sources":["../../src/components/statusline-detail-panel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,
|
|
1
|
+
{"version":3,"file":"statusline-detail-panel.d.ts","sourceRoot":"","sources":["../../src/components/statusline-detail-panel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,iBAAiB,CAAC;AAWzB;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,cAAc,GAAG;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GAC9C,KAAK,CAAC,YAAY,CAwPpB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
/** All possible statusline chip keys. */
|
|
3
|
-
export type StatuslineItem = '
|
|
3
|
+
export type StatuslineItem = 'state' | 'model' | 'tokens' | 'cache' | 'queue' | 'hint' | 'index' | 'memory' | 'breaker' | 'todos' | 'plan' | 'tasks' | 'fleet' | 'fleet_agents' | 'git' | 'elapsed' | 'context' | 'cost' | 'cpu' | 'processes' | 'working_dir' | 'project' | 'yolo' | 'autonomy' | 'eternal_stage' | 'goal' | 'mode' | 'auto_proceed' | 'sessions' | 'tools' | 'token_saving' | 'brain' | 'mailbox' | 'enhance' | 'debug_stream' | 'next_steps' | 'memory_context' | 'side_effects';
|
|
4
4
|
/**
|
|
5
5
|
* Metadata for a temporarily-visible chip (one that appeared due to data,
|
|
6
6
|
* not user toggle). Tracked so the chip can auto-expire.
|
|
@@ -32,8 +32,10 @@ export declare function getExpiresInLabel(meta: ChipMeta, now?: number): string
|
|
|
32
32
|
* visually in the picker. MUST mirror the actual render lines in
|
|
33
33
|
* `status-bar.tsx`: line 1 = workspace + runtime chips (mode/project/workdir
|
|
34
34
|
* state + cheap provider/model/context telemetry), line 2 = session context
|
|
35
|
-
* (memory pressure, git, mode label,
|
|
36
|
-
*
|
|
35
|
+
* (memory pressure, git, mode label, tools), line 3 = active work +
|
|
36
|
+
* connectivity (todos, plan, tasks, fleet, brain, mailbox, goals,
|
|
37
|
+
* countdowns), line 4 = background services (memory context lifecycle,
|
|
38
|
+
* codebase-index server health). Exported so the navigation-order test guards
|
|
37
39
|
* against drift instead of duplicating it.
|
|
38
40
|
*/
|
|
39
41
|
export declare const ITEM_LINE: Record<StatuslineItem, number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusline-picker.d.ts","sourceRoot":"","sources":["../../src/components/statusline-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,yCAAyC;AACzC,MAAM,MAAM,cAAc,GACtB,
|
|
1
|
+
{"version":3,"file":"statusline-picker.d.ts","sourceRoot":"","sources":["../../src/components/statusline-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,yCAAyC;AACzC,MAAM,MAAM,cAAc,GACtB,OAAO,GACP,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,cAAc,GACd,KAAK,GACL,SAAS,GACT,SAAS,GACT,MAAM,GACN,KAAK,GACL,WAAW,GACX,aAAa,GACb,SAAS,GACT,MAAM,GACN,UAAU,GACV,eAAe,GACf,MAAM,GACN,MAAM,GACN,cAAc,GACd,UAAU,GACV,OAAO,GACP,cAAc,GACd,OAAO,GACP,SAAS,GACT,SAAS,GACT,cAAc,GACd,YAAY,GACZ,gBAAgB,GAChB,cAAc,CAAC;AAEnB;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,cAAc,CAAC;IACpB,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iEAAiE;AACjE,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAa,GAAG,OAAO,CAIvE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAa,GAAG,MAAM,GAAG,IAAI,CAOjF;AA4CD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CA6CpD,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,0DAA0D;IAC1D,YAAY,CAAC,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IACtC,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,yCAAyC;AACzC,eAAO,MAAM,sBAAsB,QAAgC,CAAC;AAEpE,kIAAkI;AAClI,eAAO,MAAM,gBAAgB,EAAE,cAAc,EA2C5C,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAAoD,CAAC;AAalG,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,WAAW,EACX,YAAiB,EACjB,IAAI,GACL,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAmI5C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TUI-local connection health collection.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the shape of `@wrongstack/webui-server`'s
|
|
5
|
+
* `collectConnectionsHealth()` but lives here so the TUI does not need a
|
|
6
|
+
* runtime dependency on the WebUI server package. All IPC primitives are
|
|
7
|
+
* available transitively through the TUI's existing dependencies
|
|
8
|
+
* (`@wrongstack/core`, `@wrongstack/kanban`, `@wrongstack/sage`,
|
|
9
|
+
* `@wrongstack/tools`).
|
|
10
|
+
*/
|
|
11
|
+
export type ConnectionHealthStatus = 'healthy' | 'degraded' | 'offline' | 'unavailable' | 'error';
|
|
12
|
+
export interface ConnectionHealthService {
|
|
13
|
+
id: 'chronicle' | 'codebase-index' | 'sage' | 'kanban' | 'mailbox';
|
|
14
|
+
label: string;
|
|
15
|
+
status: ConnectionHealthStatus;
|
|
16
|
+
required: boolean;
|
|
17
|
+
mode: string;
|
|
18
|
+
detail: string;
|
|
19
|
+
ownerPid?: number | undefined;
|
|
20
|
+
endpoint?: string | undefined;
|
|
21
|
+
storage?: string | undefined;
|
|
22
|
+
uptimeMs?: number | undefined;
|
|
23
|
+
latencyMs?: number | undefined;
|
|
24
|
+
clients?: number | undefined;
|
|
25
|
+
activeRequests?: number | undefined;
|
|
26
|
+
queuedWork?: number | undefined;
|
|
27
|
+
watcher?: {
|
|
28
|
+
active: boolean;
|
|
29
|
+
watchedFiles?: number | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
lastError?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface ConnectionsHealthReport {
|
|
34
|
+
checkedAt: number;
|
|
35
|
+
overall: 'healthy' | 'degraded' | 'error';
|
|
36
|
+
services: ConnectionHealthService[];
|
|
37
|
+
}
|
|
38
|
+
export declare function collectConnectionsHealth(projectRoot: string): Promise<ConnectionsHealthReport>;
|
|
39
|
+
//# sourceMappingURL=connections-health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections-health.d.ts","sourceRoot":"","sources":["../src/connections-health.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAYH,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,UAAU,GACV,SAAS,GACT,aAAa,GACb,OAAO,CAAC;AAEZ,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,WAAW,GAAG,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IACnE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7E,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;IAC1C,QAAQ,EAAE,uBAAuB,EAAE,CAAC;CACrC;AAED,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAepG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
export interface ConnectionsSlashDeps {
|
|
3
|
+
onPanelOpen?: {
|
|
4
|
+
current: ((action: string) => boolean) | null;
|
|
5
|
+
} | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* TUI `/connections` — panel-first. Bare `/connections` (and `open` / `--open`)
|
|
9
|
+
* opens the interactive service health panel and emits nothing to chat history.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createConnectionsSlashCommand(deps: ConnectionsSlashDeps): SlashCommand;
|
|
12
|
+
//# sourceMappingURL=connections-slash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connections-slash.d.ts","sourceRoot":"","sources":["../src/connections-slash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE;QAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7E;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,oBAAoB,GAAG,YAAY,CAyBtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esc-close-panels.d.ts","sourceRoot":"","sources":["../src/esc-close-panels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,aAAa;IAC5B,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC;IAClC,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,gBAAgB,EAAE,SAAS,aAAa,
|
|
1
|
+
{"version":3,"file":"esc-close-panels.d.ts","sourceRoot":"","sources":["../src/esc-close-panels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,aAAa;IAC5B,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC;IAClC,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,gBAAgB,EAAE,SAAS,aAAa,EAqBpD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAK1D"}
|
package/dist/f-key-panels.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Action } from './app-reducer.js';
|
|
2
2
|
import type { StatuslineItem } from './components/statusline-picker.js';
|
|
3
|
-
export type FKeyPanelAction = 'projectPickerOpen' | 'toggleMonitor' | 'toggleAgentsMonitor' | 'toggleWorktreeMonitor' | 'togglePlanPanel' | 'toggleTodosMonitor' | 'toggleQueuePanel' | 'toggleProcessList' | 'toggleKanbanPanel' | 'toggleGoalPanel' | 'toggleSessionsPanel' | 'toggleCoordinatorMonitor' | 'toggleCronMonitor' | 'statuslineOpen';
|
|
3
|
+
export type FKeyPanelAction = 'projectPickerOpen' | 'toggleMonitor' | 'toggleAgentsMonitor' | 'toggleWorktreeMonitor' | 'togglePlanPanel' | 'toggleTodosMonitor' | 'toggleQueuePanel' | 'toggleProcessList' | 'toggleKanbanPanel' | 'toggleGoalPanel' | 'toggleSessionsPanel' | 'toggleCoordinatorMonitor' | 'toggleCronMonitor' | 'toggleConnectionsPanel' | 'statuslineOpen';
|
|
4
4
|
/** Host-side action keys that require work beyond a reducer dispatch. */
|
|
5
5
|
export type FKeyHostAction = 'openProjectPicker' | 'loadLiveSessions' | 'openStatuslinePicker';
|
|
6
6
|
/** A single F-key panel entry shared by the picker, help overlay, and tests. */
|
|
@@ -18,7 +18,7 @@ export interface FKeyPanelEntry {
|
|
|
18
18
|
* to) a direct reducer dispatch. The caller resolves these. */
|
|
19
19
|
hostAction?: FKeyHostAction | undefined;
|
|
20
20
|
}
|
|
21
|
-
/**
|
|
21
|
+
/** F-key panels and slash-command panels in display order. */
|
|
22
22
|
export declare const F_KEY_PANEL_ENTRIES: readonly FKeyPanelEntry[];
|
|
23
23
|
type FKeyDispatchAction = Extract<Action, {
|
|
24
24
|
type: 'toggleMonitor';
|
|
@@ -42,6 +42,8 @@ type FKeyDispatchAction = Extract<Action, {
|
|
|
42
42
|
type: 'toggleSessionsPanel';
|
|
43
43
|
} | {
|
|
44
44
|
type: 'toggleCoordinatorMonitor';
|
|
45
|
+
} | {
|
|
46
|
+
type: 'toggleConnectionsPanel';
|
|
45
47
|
} | {
|
|
46
48
|
type: 'statuslineOpen';
|
|
47
49
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"f-key-panels.d.ts","sourceRoot":"","sources":["../src/f-key-panels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAExE,MAAM,MAAM,eAAe,GACvB,mBAAmB,GACnB,eAAe,GACf,qBAAqB,GACrB,uBAAuB,GACvB,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,GACjB,qBAAqB,GACrB,0BAA0B,GAC1B,mBAAmB,GACnB,gBAAgB,CAAC;AAErB,yEAAyE;AACzE,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,sBAAsB,CAAC;AAE/F,gFAAgF;AAChF,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,CAAC;IACxB,kFAAkF;IAClF,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;oEACgE;IAChE,UAAU,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;CACzC;AAED,
|
|
1
|
+
{"version":3,"file":"f-key-panels.d.ts","sourceRoot":"","sources":["../src/f-key-panels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,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