@wrongstack/tui 0.313.0 → 0.316.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/app-action-type.d.ts +57 -0
  2. package/dist/app-initial-state.d.ts +7 -1
  3. package/dist/app-props.d.ts +45 -2
  4. package/dist/app-settings-type.d.ts +9 -0
  5. package/dist/app-state-core-types.d.ts +18 -0
  6. package/dist/app-state.d.ts +44 -0
  7. package/dist/app-status-region.d.ts +1 -1
  8. package/dist/app-ui-state.d.ts +9 -0
  9. package/dist/app-view-contract.d.ts +2 -1
  10. package/dist/app-view-pickers.d.ts +2 -1
  11. package/dist/app-view-sidebar.d.ts +2 -1
  12. package/dist/brain-panel-model.d.ts +0 -2
  13. package/dist/checkpoint-retention.d.ts +2 -3
  14. package/dist/components/agents-monitor.d.ts +3 -3
  15. package/dist/components/auth-panel.d.ts +2 -1
  16. package/dist/components/brain-decision-prompt.d.ts +2 -1
  17. package/dist/components/clear-confirm-panel.d.ts +4 -3
  18. package/dist/components/composer-status-chip.d.ts +3 -2
  19. package/dist/components/confirm-prompt.d.ts +2 -1
  20. package/dist/components/context-panel.d.ts +2 -1
  21. package/dist/components/continue-confirm-panel.d.ts +3 -2
  22. package/dist/components/coordinator-panel.d.ts +2 -1
  23. package/dist/components/cron-jobs.d.ts +2 -1
  24. package/dist/components/design-picker.d.ts +2 -1
  25. package/dist/components/enhance-panel.d.ts +4 -3
  26. package/dist/components/esc-confirm-prompt.d.ts +2 -1
  27. package/dist/components/exit-confirm-panel.d.ts +3 -2
  28. package/dist/components/f-key-picker.d.ts +1 -2
  29. package/dist/components/fallback-overlay.d.ts +2 -1
  30. package/dist/components/fleet-monitor.d.ts +2 -1
  31. package/dist/components/fleet-panel.d.ts +4 -4
  32. package/dist/components/goal-kanban-panel.d.ts +2 -1
  33. package/dist/components/help-overlay.d.ts +2 -1
  34. package/dist/components/help-panel.d.ts +2 -1
  35. package/dist/components/history/code-block-diff-helpers.d.ts +1 -6
  36. package/dist/components/history/code-block.d.ts +0 -2
  37. package/dist/components/history/copy-registry.d.ts +2 -1
  38. package/dist/components/history/index.d.ts +2 -2
  39. package/dist/components/history/replay.d.ts +2 -1
  40. package/dist/components/history/sage-memory-block.d.ts +0 -6
  41. package/dist/components/history/scroll-controller-types.d.ts +7 -12
  42. package/dist/components/history/selection-band-store.d.ts +3 -2
  43. package/dist/components/history/selection-helpers.d.ts +24 -65
  44. package/dist/components/history/tool-card.d.ts +2 -1
  45. package/dist/components/history/tool-group.d.ts +0 -7
  46. package/dist/components/history/use-history-controller.d.ts +2 -1
  47. package/dist/components/history/utils.d.ts +1 -1
  48. package/dist/components/history/wrap-geometry.d.ts +18 -125
  49. package/dist/components/history.d.ts +1 -1
  50. package/dist/components/kanban-panel.d.ts +7 -25
  51. package/dist/components/live-activity-strip.d.ts +2 -1
  52. package/dist/components/mailbox-panel.d.ts +2 -1
  53. package/dist/components/mcp-picker.d.ts +2 -1
  54. package/dist/components/mode-picker.d.ts +2 -1
  55. package/dist/components/model-picker.d.ts +2 -1
  56. package/dist/components/monitor-shell.d.ts +3 -2
  57. package/dist/components/phase-monitor.d.ts +2 -1
  58. package/dist/components/plan-panel.d.ts +3 -2
  59. package/dist/components/plugin-picker.d.ts +2 -1
  60. package/dist/components/powerline-rail.d.ts +2 -1
  61. package/dist/components/project-picker.d.ts +2 -1
  62. package/dist/components/prompt-picker.d.ts +2 -1
  63. package/dist/components/refine-countdown-panel.d.ts +3 -2
  64. package/dist/components/refine-failure-panel.d.ts +2 -1
  65. package/dist/components/resource-menu.d.ts +2 -1
  66. package/dist/components/resume-picker.d.ts +2 -1
  67. package/dist/components/scrollable-history.d.ts +2 -2
  68. package/dist/components/send-mode-picker.d.ts +3 -2
  69. package/dist/components/sessions-panel.d.ts +2 -1
  70. package/dist/components/settings-picker-filter.d.ts +2 -1
  71. package/dist/components/settings-picker.d.ts +5 -1
  72. package/dist/components/shadow-panel.d.ts +2 -1
  73. package/dist/components/shell-command-warning.d.ts +2 -1
  74. package/dist/components/sidebar-content.d.ts +4 -9
  75. package/dist/components/sidebar-panel-frame.d.ts +2 -13
  76. package/dist/components/sidebar.d.ts +2 -1
  77. package/dist/components/skill-picker.d.ts +2 -1
  78. package/dist/components/slash-confirm-panel.d.ts +3 -2
  79. package/dist/components/slash-menu.d.ts +2 -1
  80. package/dist/components/status-bar-format.d.ts +2 -0
  81. package/dist/components/status-bar-icons.d.ts +4 -0
  82. package/dist/components/status-bar-rails.d.ts +19 -6
  83. package/dist/components/status-bar-types.d.ts +18 -0
  84. package/dist/components/status-bar.d.ts +17 -7
  85. package/dist/components/status-line-registry.d.ts +62 -0
  86. package/dist/components/statusline-picker.d.ts +5 -27
  87. package/dist/components/theme-picker.d.ts +2 -1
  88. package/dist/components/theme-preview.d.ts +2 -1
  89. package/dist/components/tools-picker.d.ts +2 -1
  90. package/dist/components/topic-check-panel.d.ts +2 -1
  91. package/dist/connections-slash.d.ts +2 -1
  92. package/dist/context-fill.d.ts +4 -3
  93. package/dist/context-slash.d.ts +3 -2
  94. package/dist/cron-slash.d.ts +2 -1
  95. package/dist/esc-close-panels.d.ts +2 -1
  96. package/dist/f-key-panels.d.ts +1 -1
  97. package/dist/git-info.d.ts +22 -3
  98. package/dist/height-cache.d.ts +2 -8
  99. package/dist/history-entry.d.ts +4 -3
  100. package/dist/history-retention.d.ts +16 -6
  101. package/dist/hit-test.d.ts +2 -1
  102. package/dist/hooks/subagent-history-format.d.ts +2 -1
  103. package/dist/hooks/use-app-session-state.d.ts +2 -1
  104. package/dist/hooks/use-auth-panel.d.ts +2 -1
  105. package/dist/hooks/use-brain-panel.d.ts +2 -1
  106. package/dist/hooks/use-chip-staleness-guard.d.ts +4 -3
  107. package/dist/hooks/use-core-tui-commands.d.ts +1 -1
  108. package/dist/hooks/use-director-fleet-bridge.d.ts +2 -4
  109. package/dist/hooks/use-exit-command.d.ts +1 -1
  110. package/dist/hooks/use-file-search.d.ts +3 -7
  111. package/dist/hooks/use-fleet-generation-gate.d.ts +2 -1
  112. package/dist/hooks/use-git-session-status.d.ts +1 -1
  113. package/dist/hooks/use-history-archive.d.ts +3 -2
  114. package/dist/hooks/use-input-history-persistence.d.ts +2 -1
  115. package/dist/hooks/use-mode-picker.d.ts +2 -1
  116. package/dist/hooks/use-model-pick.d.ts +2 -1
  117. package/dist/hooks/use-next-steps-auto-submit.d.ts +2 -2
  118. package/dist/hooks/use-panel-controllers.d.ts +3 -1
  119. package/dist/hooks/use-paste-handling.d.ts +2 -1
  120. package/dist/hooks/use-prompt-picker.d.ts +4 -3
  121. package/dist/hooks/use-session-rewind.d.ts +2 -1
  122. package/dist/hooks/use-shadow-panel.d.ts +2 -1
  123. package/dist/hooks/use-sidebar-panel-data.d.ts +4 -3
  124. package/dist/hooks/use-status-sync-interval.d.ts +2 -1
  125. package/dist/hooks/use-statusline-hidden-sync.d.ts +2 -1
  126. package/dist/hooks/use-statusline-state.d.ts +9 -3
  127. package/dist/hooks/use-stream-chip-expiration.d.ts +3 -2
  128. package/dist/hooks/use-terminal-size.d.ts +3 -2
  129. package/dist/hooks/use-theme-picker-handler.d.ts +2 -1
  130. package/dist/hooks/use-tui-activity.d.ts +2 -1
  131. package/dist/hooks/use-tui-controllers.d.ts +2 -1
  132. package/dist/hooks/use-tui-environment-state.d.ts +7 -5
  133. package/dist/hooks/use-tui-event-bridge.d.ts +1 -1
  134. package/dist/index.js +8993 -8311
  135. package/dist/ink.d.ts +1 -1
  136. package/dist/input-editing.d.ts +2 -1
  137. package/dist/input-tokens.d.ts +2 -1
  138. package/dist/input-validation/action-types.d.ts +1 -1
  139. package/dist/input-validation.d.ts +4 -4
  140. package/dist/kanban-slash.d.ts +8 -32
  141. package/dist/layout-store.d.ts +2 -1
  142. package/dist/markdown-table.d.ts +1 -3
  143. package/dist/memory-context-monitor.d.ts +3 -2
  144. package/dist/memory-lifecycle-entry.d.ts +2 -1
  145. package/dist/memory-slash-format.d.ts +0 -1
  146. package/dist/mouse.d.ts +3 -2
  147. package/dist/overlay-key-router.d.ts +5 -4
  148. package/dist/paste-accumulator.d.ts +3 -2
  149. package/dist/prompt-refinement-start.d.ts +1 -1
  150. package/dist/reducers/composer.d.ts +1 -1
  151. package/dist/reducers/conversation.d.ts +1 -1
  152. package/dist/reducers/helpers.d.ts +16 -3
  153. package/dist/resume-load.d.ts +131 -0
  154. package/dist/run-blocks-controller.d.ts +2 -1
  155. package/dist/run-tui-client-registration.d.ts +3 -2
  156. package/dist/run-tui-options.d.ts +35 -2
  157. package/dist/run-tui-teardown.d.ts +2 -1
  158. package/dist/run-tui-title-controller.d.ts +2 -1
  159. package/dist/scroll-anchor.d.ts +2 -4
  160. package/dist/settings-contracts.d.ts +1 -0
  161. package/dist/slash-command-lifecycle.d.ts +2 -1
  162. package/dist/submit-history.d.ts +2 -1
  163. package/dist/submit-prompt-refinement.d.ts +3 -2
  164. package/dist/terminal-title.d.ts +2 -1
  165. package/dist/theme.d.ts +2 -2
  166. package/dist/token-previews.d.ts +2 -1
  167. package/dist/tui-host-capabilities.d.ts +1 -1
  168. package/dist/tui-memory-counters.d.ts +2 -1
  169. package/dist/ui-contracts.d.ts +3 -3
  170. package/dist/ui-glyphs.d.ts +3 -1
  171. package/dist/workbench-slash.d.ts +2 -1
  172. package/package.json +8 -8
  173. package/dist/react-children-flatten.d.ts +0 -28
@@ -1,10 +1,13 @@
1
1
  import type { Context } from '@wrongstack/core/agent';
2
2
  import { type KanbanBoard, type KanbanLifecycleStage, type KanbanTask } from '@wrongstack/kanban';
3
3
  import type React from 'react';
4
- import { type KanbanAuditSummary } from '../kanban-audit.js';
5
- export interface KanbanPanelProps {
4
+ interface KanbanPanelProps {
6
5
  projectRoot: string;
7
- sessionId?: string | null | undefined;
6
+ /**
7
+ * Session driving the panel. Required: every board mutation the panel makes
8
+ * writes a durable event attributed to this session.
9
+ */
10
+ sessionId: string;
8
11
  sessionContext?: Context | undefined;
9
12
  onClose: () => void;
10
13
  /**
@@ -54,15 +57,6 @@ export declare function nextManagedStage(current: KanbanLifecycleStage): KanbanL
54
57
  * as a legacy/custom column by the renderer).
55
58
  */
56
59
  export declare function stageForColumn(board: Pick<KanbanBoard, 'lifecycle'>, columnId: string): KanbanLifecycleStage | null;
57
- /**
58
- * Map a lifecycle stage to the visual indicator shown in the column
59
- * header. Mirrors the WebUI palette so the same board reads the same in
60
- * either surface.
61
- */
62
- export declare function stageToIndicator(stage: KanbanLifecycleStage): {
63
- glyph: string;
64
- color: string;
65
- };
66
60
  /**
67
61
  * Pure success-criteria summary string. Returns null when there are no
68
62
  * checks. Format: "Criteria N/M passed".
@@ -74,17 +68,5 @@ export declare function summarizeSuccessCriteria(task: KanbanTask): string | nul
74
68
  * are skipped to keep the line short).
75
69
  */
76
70
  export declare function summarizeGoalMetrics(task: KanbanTask): string | null;
77
- /**
78
- * Inline Kanban Cleaner summary — mirrors the WebUI's `KanbanCleanerAlert`
79
- * but pinned to the project root. Shows the headline counts at the top
80
- * of the panel and the top-3 issues, scoped per board so users see what
81
- * the Cleaner would flag without leaving the TUI.
82
- *
83
- * The component renders nothing when the audit is empty so a clean
84
- * board doesn't add visual noise.
85
- */
86
- export declare function AuditAlert({ summary, topN, }: {
87
- summary: KanbanAuditSummary;
88
- topN?: number | undefined;
89
- }): React.ReactElement | null;
71
+ export {};
90
72
  //# sourceMappingURL=kanban-panel.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { FleetEntry } from '../app.js';
3
- export interface LiveActivityStripProps {
3
+ interface LiveActivityStripProps {
4
4
  /** Per-subagent state from the FleetEntry table. */
5
5
  entries: Record<string, FleetEntry>;
6
6
  /** Re-renders every tick so elapsed timers stay live; otherwise the
@@ -36,4 +36,5 @@ export declare function activityStripRows(entries: Record<string, FleetEntry>, n
36
36
  * after /clear), so the input sits flush against history during solo work.
37
37
  */
38
38
  export declare const LiveActivityStrip: React.MemoExoticComponent<({ entries, nowTick, maxRows, }: LiveActivityStripProps) => React.ReactElement | null>;
39
+ export {};
39
40
  //# sourceMappingURL=live-activity-strip.d.ts.map
@@ -27,7 +27,7 @@ export interface MailboxAgentEntry {
27
27
  online: boolean;
28
28
  source?: string | undefined;
29
29
  }
30
- export interface MailboxPanelProps {
30
+ interface MailboxPanelProps {
31
31
  /** Recent messages (newest first). */
32
32
  messages: MailboxMessageEntry[];
33
33
  /** Online agents in this project. */
@@ -38,4 +38,5 @@ export interface MailboxPanelProps {
38
38
  open: boolean;
39
39
  }
40
40
  export declare function MailboxPanel({ messages, agents, unreadCount, open, }: MailboxPanelProps): React.ReactElement | null;
41
+ export {};
41
42
  //# sourceMappingURL=mailbox-panel.d.ts.map
@@ -8,11 +8,12 @@ export interface McpPickerItem {
8
8
  toolCount: number;
9
9
  lazy?: boolean | undefined;
10
10
  }
11
- export interface McpPickerProps {
11
+ interface McpPickerProps {
12
12
  items: McpPickerItem[];
13
13
  selected: number;
14
14
  busy?: boolean | undefined;
15
15
  hint?: string | undefined;
16
16
  }
17
17
  export declare function McpPicker({ items, selected, busy, hint, }: McpPickerProps): React.ReactElement;
18
+ export {};
18
19
  //# sourceMappingURL=mcp-picker.d.ts.map
@@ -7,11 +7,12 @@ export interface ModeOption {
7
7
  family: 'lite' | 'deep' | 'balanced' | 'custom';
8
8
  isActive: boolean;
9
9
  }
10
- export interface ModePickerProps {
10
+ interface ModePickerProps {
11
11
  modes: ModeOption[];
12
12
  selected: number;
13
13
  hint?: string | undefined;
14
14
  }
15
15
  export declare function toModeOptions(modes: Mode[], activeId: string | null): ModeOption[];
16
16
  export declare function ModePicker({ modes, selected, hint, }: ModePickerProps): React.ReactElement;
17
+ export {};
17
18
  //# sourceMappingURL=mode-picker.d.ts.map
@@ -21,7 +21,7 @@ export interface ProviderOption {
21
21
  releaseDate?: string | undefined;
22
22
  }> | undefined;
23
23
  }
24
- export interface ModelPickerProps {
24
+ interface ModelPickerProps {
25
25
  step: 'provider' | 'model';
26
26
  providerOptions: ProviderOption[];
27
27
  /** All model options for the current provider. */
@@ -50,4 +50,5 @@ export interface ModelPickerProps {
50
50
  * Driven entirely by props — App owns cursor state, key events, and search.
51
51
  */
52
52
  export declare function ModelPicker({ step, providerOptions, filteredOptions, selected, pickedProviderId, searchQuery, hint, titleLabel, columns, maxRows, }: ModelPickerProps): React.ReactElement;
53
+ export {};
53
54
  //# sourceMappingURL=model-picker.d.ts.map
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
2
2
  export declare const PanelShortcutsProvider: import("react").Provider<boolean>;
3
3
  /** True when panel letter shortcuts may fire (empty composer draft). */
4
4
  export declare function usePanelShortcutsEnabled(): boolean;
5
- export interface MonitorSize {
5
+ interface MonitorSize {
6
6
  columns: number;
7
7
  rows: number;
8
8
  /** Width inside a full-width round border with one column of horizontal padding. */
@@ -18,7 +18,7 @@ export declare function panelWindow(total: number, selected: number, limit: numb
18
18
  above: number;
19
19
  below: number;
20
20
  };
21
- export interface MonitorShellProps {
21
+ interface MonitorShellProps {
22
22
  accent: string;
23
23
  icon: string;
24
24
  title: string;
@@ -48,4 +48,5 @@ export declare function EmptyPanelState({ icon, title, detail, accent, }: {
48
48
  detail?: ReactNode | undefined;
49
49
  accent?: string | undefined;
50
50
  }): import("react").JSX.Element;
51
+ export {};
51
52
  //# sourceMappingURL=monitor-shell.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- export interface PhaseMonitorProps {
2
+ interface PhaseMonitorProps {
3
3
  /** Per-phase state from the App reducer. */
4
4
  phases: Record<string, {
5
5
  name: string;
@@ -30,4 +30,5 @@ export interface PhaseMonitorProps {
30
30
  * Bottom: keyboard hint
31
31
  */
32
32
  export declare function PhaseMonitor({ phases, runningPhaseIds, elapsedMs, nowTick, }: PhaseMonitorProps): React.ReactElement;
33
+ export {};
33
34
  //# sourceMappingURL=phase-monitor.d.ts.map
@@ -7,7 +7,7 @@ export interface PlanItem {
7
7
  createdAt: string;
8
8
  updatedAt: string;
9
9
  }
10
- export interface PlanPanelData {
10
+ interface PlanPanelData {
11
11
  items: PlanItem[];
12
12
  title?: string | undefined;
13
13
  scope: 'session' | 'project';
@@ -17,7 +17,7 @@ export interface PlanPanelData {
17
17
  setScope: (scope: 'session' | 'project') => void;
18
18
  load: (scope: 'session' | 'project', quiet?: boolean) => Promise<void>;
19
19
  }
20
- export interface PlanPanelProps {
20
+ interface PlanPanelProps {
21
21
  /** Absolute path to the project root. */
22
22
  projectRoot: string;
23
23
  /** Current session ID (null if no active session). */
@@ -41,4 +41,5 @@ export interface PlanPanelProps {
41
41
  */
42
42
  export declare function usePlanPanelData(projectRoot: string, sessionId: string | null, enabled?: boolean): PlanPanelData;
43
43
  export declare function PlanPanel({ projectRoot, sessionId, onClose: _onClose, }: PlanPanelProps): React.ReactElement;
44
+ export {};
44
45
  //# sourceMappingURL=plan-panel.d.ts.map
@@ -12,11 +12,12 @@ export interface PluginPickerItem {
12
12
  */
13
13
  lockable?: boolean | undefined;
14
14
  }
15
- export interface PluginPickerProps {
15
+ interface PluginPickerProps {
16
16
  items: PluginPickerItem[];
17
17
  selected: number;
18
18
  busy?: boolean | undefined;
19
19
  hint?: string | undefined;
20
20
  }
21
21
  export declare function PluginPicker({ items, selected, busy, hint, }: PluginPickerProps): React.ReactElement;
22
+ export {};
22
23
  //# sourceMappingURL=plugin-picker.d.ts.map
@@ -21,7 +21,7 @@ export interface RailSpan {
21
21
  * PowerlineRail's layout loop above.
22
22
  */
23
23
  export declare function computeRailSpans(entries: readonly RailSpanEntry[], budget: number, rightAnchor?: React.ReactElement | null): RailSpan[];
24
- export interface PowerlineRailProps {
24
+ interface PowerlineRailProps {
25
25
  segments: React.ReactElement[];
26
26
  budget: number;
27
27
  monochrome?: boolean | undefined;
@@ -41,4 +41,5 @@ export interface PowerlineRailProps {
41
41
  * just clean chips separated by a single space.
42
42
  */
43
43
  export declare function PowerlineRail({ segments, budget, monochrome, fillBg, rightAnchor, }: PowerlineRailProps): React.ReactElement;
44
+ export {};
44
45
  //# sourceMappingURL=powerline-rail.d.ts.map
@@ -7,7 +7,7 @@ export interface ProjectPickerItem {
7
7
  meta?: string | undefined;
8
8
  kind: 'project' | 'action';
9
9
  }
10
- export interface ProjectPickerProps {
10
+ interface ProjectPickerProps {
11
11
  /** Already-filtered items. Navigation indices target this list directly. */
12
12
  items: ProjectPickerItem[];
13
13
  /** Index into `items`. Guaranteed to never point at a divider. */
@@ -19,4 +19,5 @@ export interface ProjectPickerProps {
19
19
  }
20
20
  /** Responsive project command center opened by F1. */
21
21
  export declare function ProjectPicker({ items, selected, filter, hint, }: ProjectPickerProps): React.ReactElement;
22
+ export {};
22
23
  //# sourceMappingURL=project-picker.d.ts.map
@@ -14,7 +14,7 @@ export interface PromptPickEntry {
14
14
  * recently-used slug list (most-recent first).
15
15
  */
16
16
  export declare function filterPromptPicker(all: PromptPickEntry[], categories: string[], catIndex: number, recentSlugs?: string[]): PromptPickEntry[];
17
- export interface PromptPickerProps {
17
+ interface PromptPickerProps {
18
18
  /** Already-filtered entries for the active category. */
19
19
  entries: PromptPickEntry[];
20
20
  selected: number;
@@ -30,4 +30,5 @@ export interface PromptPickerProps {
30
30
  * any `{{variables}}` left in place for the user to fill inline).
31
31
  */
32
32
  export declare function PromptPicker({ entries, selected, category, total, columns, maxRows, }: PromptPickerProps): React.ReactElement;
33
+ export {};
33
34
  //# sourceMappingURL=prompt-picker.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
- export type RefineCountdownDecision = 'proceed' | 'skip' | 'cancel';
3
- export interface RefineCountdownPanelProps {
2
+ type RefineCountdownDecision = 'proceed' | 'skip' | 'cancel';
3
+ interface RefineCountdownPanelProps {
4
4
  /** The user's just-submitted message. */
5
5
  original: string;
6
6
  /** Grace period, in seconds, before the refiner call starts. */
@@ -22,4 +22,5 @@ export interface RefineCountdownPanelProps {
22
22
  * WebUI/SimpleUI RefinePanel's 'countdown' face.
23
23
  */
24
24
  export declare function RefineCountdownPanel({ original, seconds, onDecision, providerId, model, }: RefineCountdownPanelProps): React.ReactElement;
25
+ export {};
25
26
  //# sourceMappingURL=refine-countdown-panel.d.ts.map
@@ -25,7 +25,7 @@ export interface RefineFailureModel {
25
25
  label?: string | undefined;
26
26
  }
27
27
  export declare function filterRefineModels<T extends RefineFailureModel>(models: readonly T[], query: string): readonly T[];
28
- export interface RefineFailurePanelProps {
28
+ interface RefineFailurePanelProps {
29
29
  /** The user's original message (sent as-is if they decline recovery). */
30
30
  original: string;
31
31
  /** Short failure reason from the refiner (provider error / timeout / empty). */
@@ -46,4 +46,5 @@ export interface RefineFailurePanelProps {
46
46
  * Everything resolves through `onDecision`; no session state is mutated here.
47
47
  */
48
48
  export declare function RefineFailurePanel({ original, error, elapsedMs, fallbackRef, models, onDecision, }: RefineFailurePanelProps): React.ReactElement;
49
+ export {};
49
50
  //# sourceMappingURL=refine-failure-panel.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import type { ResourceMenuItem, ResourceMenuSnapshot } from '../ui-contracts.js';
3
- export interface ResourceMenuProps {
3
+ interface ResourceMenuProps {
4
4
  snapshot: ResourceMenuSnapshot;
5
5
  selected: number;
6
6
  hint?: string | undefined;
@@ -13,4 +13,5 @@ export interface ResourceMenuProps {
13
13
  /** Reusable two-pane browser for operational state exposed by slash commands. */
14
14
  export declare function ResourceMenu({ snapshot, selected, hint, confirming, filter, filtering, columns, maxRows, }: ResourceMenuProps): React.ReactElement;
15
15
  export declare function filterResourceMenuItems(snapshot: ResourceMenuSnapshot, filter: string): ResourceMenuItem[];
16
+ export {};
16
17
  //# sourceMappingURL=resource-menu.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import type { ResumeSessionEntry } from '../app-state.js';
3
- export interface ResumePickerProps {
3
+ interface ResumePickerProps {
4
4
  sessions: ResumeSessionEntry[];
5
5
  selected: number;
6
6
  busy: boolean;
@@ -17,4 +17,5 @@ export interface ResumePickerProps {
17
17
  * on the focused session so 30+ entries stay navigable on a 24-row terminal.
18
18
  */
19
19
  export declare function ResumePicker({ sessions, selected, busy, error, hint, }: ResumePickerProps): React.ReactElement;
20
+ export {};
20
21
  //# sourceMappingURL=resume-picker.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import type React from 'react';
2
2
  import { type HistoryEntry } from './history.js';
3
- export type { HistoryScrollController, ScrollableHistoryProps, } from './history/scroll-controller-types.js';
3
+ export type { HistoryScrollController } from './history/scroll-controller-types.js';
4
4
  export { type CopyHit, LIVE_TOOL_STREAM_COPY_ID, SELECTION_COPY_ID, findCopyHit, resolveCopyPayload, copyRegistryVisibleClip, liveToolStreamCopyHit, } from './history/copy-geometry.js';
5
- export { type SelectionRect, type SelectionSlice, normalizeSelection, isOutOfBand, selectionToSlices, assembleSelectionText, } from './history/selection-helpers.js';
5
+ export { type SelectionRect, normalizeSelection, isOutOfBand, selectionTouchedEntryIds, assembleSelectionText, } from './history/selection-helpers.js';
6
6
  export { type MountedCardSpan, scrollbarThumb, scrollOffsetForTrackRow, buildMountedCardSpans, selectionHitAt, } from './history/scrollbar-geometry.js';
7
7
  export { Scrollbar } from './history/scrollbar-rail.js';
8
8
  import type { ScrollableHistoryProps } from './history/scroll-controller-types.js';
@@ -4,7 +4,7 @@ import type React from 'react';
4
4
  * Mirrors the WebUI's `QueueMode` vocabulary (ChatInput.tsx).
5
5
  */
6
6
  export type SendMode = 'queue' | 'btw' | 'steer';
7
- export interface SendModeOption {
7
+ interface SendModeOption {
8
8
  mode: SendMode;
9
9
  /** Quick-select key (lower-case). */
10
10
  key: string;
@@ -41,7 +41,7 @@ export interface SendModeKey {
41
41
  */
42
42
  export declare function sendModeFromKey(input: string, key: SendModeKey, selected: number): SendMode | 'cancel' | null;
43
43
  export declare function formatSendModeMessagePreview(text: string, maxChars?: number): string;
44
- export interface SendModePickerProps {
44
+ interface SendModePickerProps {
45
45
  selected: number;
46
46
  /** The message being routed, shown so the modal question has context. */
47
47
  messagePreview?: string | undefined;
@@ -61,4 +61,5 @@ export interface SendModePickerProps {
61
61
  * - Esc → cancel (caller restores the draft to the composer)
62
62
  */
63
63
  export declare function SendModePicker({ selected, messagePreview, onMove, onSelect, }: SendModePickerProps): React.ReactElement;
64
+ export {};
64
65
  //# sourceMappingURL=send-mode-picker.d.ts.map
@@ -22,7 +22,7 @@ export interface LiveAgentEntry {
22
22
  toolCalls: number;
23
23
  lastActivityAt: string;
24
24
  }
25
- export interface SessionsPanelProps {
25
+ interface SessionsPanelProps {
26
26
  sessions: LiveSessionEntry[];
27
27
  /** True while the data is being fetched. */
28
28
  busy: boolean;
@@ -43,4 +43,5 @@ export interface SessionsPanelProps {
43
43
  * Opened with F10. Mirrors the output of /sessions status.
44
44
  */
45
45
  export declare function SessionsPanel({ sessions, busy, selected, resumeConfirm, currentSessionId, }: SessionsPanelProps): React.ReactElement;
46
+ export {};
46
47
  //# sourceMappingURL=sessions-panel.d.ts.map
@@ -9,7 +9,7 @@ export type SettingsFilterResult = {
9
9
  fuzzyIdx: number[] | undefined;
10
10
  score: number;
11
11
  };
12
- export interface SettingsFilterState {
12
+ interface SettingsFilterState {
13
13
  filterActive: boolean;
14
14
  filterQuery: string;
15
15
  rankedResults: SettingsFilterResult[];
@@ -17,4 +17,5 @@ export interface SettingsFilterState {
17
17
  highlightSegments: (label: string) => SettingsHighlightSegment[];
18
18
  }
19
19
  export declare function buildSettingsFilterState(filter: string | undefined, chords: readonly SettingsPickerJumpChord[]): SettingsFilterState;
20
+ export {};
20
21
  //# sourceMappingURL=settings-picker-filter.d.ts.map
@@ -48,6 +48,8 @@ export interface SettingsPickerProps {
48
48
  reasoningMode: ReasoningMode;
49
49
  /** Reasoning effort level. */
50
50
  reasoningEffort: ReasoningEffort;
51
+ /** Effort levels the active model documents (absent = undocumented). */
52
+ reasoningEffortLevels?: string[] | undefined;
51
53
  /** Preserve thinking across turns. */
52
54
  reasoningPreserve: boolean;
53
55
  /** Prompt cache TTL. */
@@ -70,6 +72,8 @@ export interface SettingsPickerProps {
70
72
  * this toggle controls only the sidebar mission queue. Default: 'bottom'.
71
73
  */
72
74
  showAgentSwarmPanel: import('../app-settings-type.js').AgentSwarmPanelMode;
75
+ /** Right sidebar master toggle. */
76
+ showSidebar?: boolean | undefined;
73
77
  /** Show SAGE Memory Inject blocks in tool results. Default: false. */
74
78
  showSageMemoryInject: boolean;
75
79
  /** Minimum relation strength for SAGE memory injection. Default: 0.85. */
@@ -133,5 +137,5 @@ export interface SettingsPickerProps {
133
137
  fieldRowIndex: readonly number[];
134
138
  }) => void) | undefined;
135
139
  }
136
- export declare function SettingsPicker({ field, filter, mode, delayMs, titleAnimation, yolo, fleetChat, chime, confirmExit, nextPrediction, featureMcp, featurePlugins, featureMemory, featureSkills, featureModelsRegistry, tokenSavingTier, allowOutsideProjectRoot, maxIterations, autoProceedMaxIterations, enhanceDelayMs, enhanceEnabled, enhanceLanguage, preRefineSeconds, indexOnStart, multiDiffSummaryThreshold, thinkingWord, thinkingWordEditing, thinkingWordDraft, wrongProxyUrlEditing, wrongProxyUrlDraft, reasoningMode, reasoningEffort, reasoningPreserve, cacheTtl, contextAutoCompact, contextStrategy, contextMode, maxConcurrent, logLevel, auditLevel, debugStream, statuslineMode, configScope, profileConfigPath, animationStyle, breakerEnabled, breakerAutoKillResetMs, showModelReasoning, showAgentSwarmPanel, showSageMemoryInject, sageMemoryInjectThreshold, nextStepsTool, readSymbols, panelPositions, wrongProxyEnabled, wrongProxyUrl, inputHeight, hint, onLayoutComputed, }: SettingsPickerProps): React.ReactElement;
140
+ export declare function SettingsPicker({ field, filter, mode, delayMs, titleAnimation, yolo, fleetChat, chime, confirmExit, nextPrediction, featureMcp, featurePlugins, featureMemory, featureSkills, featureModelsRegistry, tokenSavingTier, allowOutsideProjectRoot, maxIterations, autoProceedMaxIterations, enhanceDelayMs, enhanceEnabled, enhanceLanguage, preRefineSeconds, indexOnStart, multiDiffSummaryThreshold, thinkingWord, thinkingWordEditing, thinkingWordDraft, wrongProxyUrlEditing, wrongProxyUrlDraft, reasoningMode, reasoningEffort, reasoningEffortLevels, reasoningPreserve, cacheTtl, contextAutoCompact, contextStrategy, contextMode, maxConcurrent, logLevel, auditLevel, debugStream, statuslineMode, configScope, profileConfigPath, animationStyle, breakerEnabled, breakerAutoKillResetMs, showModelReasoning, showAgentSwarmPanel, showSidebar, showSageMemoryInject, sageMemoryInjectThreshold, nextStepsTool, readSymbols, panelPositions, wrongProxyEnabled, wrongProxyUrl, inputHeight, hint, onLayoutComputed, }: SettingsPickerProps): React.ReactElement;
137
141
  //# sourceMappingURL=settings-picker.d.ts.map
@@ -5,9 +5,10 @@ export interface ShadowState {
5
5
  model: string;
6
6
  intervalMs: number;
7
7
  }
8
- export interface ShadowPanelProps {
8
+ interface ShadowPanelProps {
9
9
  shadow: ShadowState;
10
10
  hint?: string | undefined;
11
11
  }
12
12
  export declare function ShadowPanel({ shadow, hint, }: ShadowPanelProps): React.ReactElement;
13
+ export {};
13
14
  //# sourceMappingURL=shadow-panel.d.ts.map
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
2
  export type ShellCommandWarningDecision = 'yes' | 'no' | 'dont-show-again';
3
- export interface ShellCommandWarningProps {
3
+ interface ShellCommandWarningProps {
4
4
  command: string;
5
5
  onDecision: (decision: ShellCommandWarningDecision) => void;
6
6
  }
7
7
  export declare function truncateShellCommandWarningCommand(text: string, max?: number): string;
8
8
  export declare function ShellCommandWarning({ command, onDecision, }: ShellCommandWarningProps): React.ReactElement;
9
+ export {};
9
10
  //# sourceMappingURL=shell-command-warning.d.ts.map
@@ -7,7 +7,7 @@ import type { FleetEntry } from '../app-state-fleet.js';
7
7
  import type { HeapSample } from '../heap-watchdog.js';
8
8
  import type { PanelId } from '../ui-contracts.js';
9
9
  import type { LiveSessionEntry } from './sessions-panel.js';
10
- export interface SidebarContentProps {
10
+ interface SidebarContentProps {
11
11
  /** Live context window data from useStatusbarViewModel. */
12
12
  contextWindow: {
13
13
  used: number;
@@ -21,13 +21,6 @@ export interface SidebarContentProps {
21
21
  * the spend is hitting the prompt cache without opening `/context`.
22
22
  */
23
23
  cacheStats?: CacheStats | undefined;
24
- /**
25
- * How far the cached prefix reaches into the live request, in tokens.
26
- * Drawn as an overlay marker on the context-window spectrum bar so
27
- * "exactly how far the cache extends" is answerable at a glance.
28
- * Zero hides the marker — no prompt cached this request.
29
- */
30
- cacheCoverageTokens?: number | undefined;
31
24
  /** Fleet entries (leader + subagents) from useStatusbarViewModel. */
32
25
  entries: Record<string, FleetEntry>;
33
26
  /** Fleet counts summary. */
@@ -41,6 +34,8 @@ export interface SidebarContentProps {
41
34
  provider?: string | undefined;
42
35
  /** Current model label for display. */
43
36
  model?: string | undefined;
37
+ /** Active theme preset name for display. */
38
+ themeName?: string | undefined;
44
39
  /** Actual sidebar width in columns (including border+padding chrome).
45
40
  * Used to size the content area and truncate text appropriately. */
46
41
  width: number;
@@ -131,6 +126,6 @@ export declare function contextSpectrum(breakdown: ContextBreakdown | undefined,
131
126
  } | undefined, width: number): Array<ContextSegment & {
132
127
  cells: number;
133
128
  }>;
134
- export declare function SidebarContent({ contextWindow, contextBreakdown, cacheStats, cacheCoverageTokens, entries, fleetCounts, provider, model, width, scrollOffset, focused, todos, showSwarmSection, liveSessions, resumeSessions, currentSessionId, processMemory, cpuPercent, cpuHistory, rssHistory, heapHistory, totalMem, effectiveSidebarRoutes, }: SidebarContentProps): React.ReactElement;
129
+ export declare function SidebarContent({ contextWindow, contextBreakdown, cacheStats, entries, fleetCounts, provider, model, themeName, width, scrollOffset, focused, todos, showSwarmSection, liveSessions, resumeSessions, currentSessionId, processMemory, cpuPercent, cpuHistory, rssHistory, heapHistory, totalMem, effectiveSidebarRoutes, }: SidebarContentProps): React.ReactElement;
135
130
  export {};
136
131
  //# sourceMappingURL=sidebar-content.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type CardProps } from './sidebar-card.js';
3
- export interface SidebarPanelFrameProps {
3
+ interface SidebarPanelFrameProps {
4
4
  /** Accent color for the rail, title, and separator. */
5
5
  accent: string;
6
6
  /** Header glyph, e.g. `glyphs.fleet` or `glyphs.sessions`. */
@@ -44,18 +44,6 @@ export interface SidebarPanelFrameProps {
44
44
  * helper without pulling in sidebar-content.tsx's full implementation.
45
45
  */
46
46
  export declare function trunc(s: string, max: number): string;
47
- /**
48
- * A "capsuled" status pill, e.g. `⟦ live 12 ⟧`. Used in panel headers
49
- * (right side) and stat rows. Renders inline — no Box, no flex — so it can
50
- * sit next to a label without burning a row of its own.
51
- */
52
- export declare function SidebarStatusPill({ label, color, outlined, }: {
53
- label: string;
54
- color: string;
55
- /** When true, render the brackets in muted color so the inner label
56
- * reads as the main signal — useful in dense stat rows. */
57
- outlined?: boolean | undefined;
58
- }): React.ReactElement;
59
47
  /**
60
48
  * A label : value row, sized for narrow rails. Reserves the first column
61
49
  * for an optional accent rail so a stat block reads as a single column of
@@ -151,4 +139,5 @@ export declare function useSidebarPanelSize(): {
151
139
  width: number;
152
140
  height: number;
153
141
  };
142
+ export {};
154
143
  //# sourceMappingURL=sidebar-panel-frame.d.ts.map
@@ -24,7 +24,7 @@ export declare function computeSidebarContentWidth(sidebarWidth: number): number
24
24
  * math (e.g. narrowing the history column) without mounting the component.
25
25
  */
26
26
  export declare function computeSidebarWidth(termCols: number): number;
27
- export interface RightSidebarProps {
27
+ interface RightSidebarProps {
28
28
  /**
29
29
  * Optional explicit width override (in columns). When omitted, the width
30
30
  * is derived from the current terminal width via {@link computeSidebarWidth}.
@@ -46,4 +46,5 @@ export interface RightSidebarProps {
46
46
  children?: React.ReactNode | undefined;
47
47
  }
48
48
  export declare function RightSidebar({ width, maxHeight, focused, children, }: RightSidebarProps): React.ReactElement | null;
49
+ export {};
49
50
  //# sourceMappingURL=sidebar.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import type { SkillEntry } from '@wrongstack/core/types';
2
2
  import type React from 'react';
3
- export interface SkillPickerProps {
3
+ interface SkillPickerProps {
4
4
  entries: readonly SkillEntry[];
5
5
  selected: number;
6
6
  hint?: string | undefined;
@@ -9,4 +9,5 @@ export interface SkillPickerProps {
9
9
  }
10
10
  /** Interactive two-pane skill browser, matching the `/theme` picker layout. */
11
11
  export declare function SkillPicker({ entries, selected, hint, columns, maxRows, }: SkillPickerProps): React.ReactElement;
12
+ export {};
12
13
  //# sourceMappingURL=skill-picker.d.ts.map
@@ -1,9 +1,9 @@
1
1
  import type React from 'react';
2
- export interface SlashConfirmPanelProps {
2
+ interface SlashConfirmPanelProps {
3
3
  question: string;
4
4
  defaultYes: boolean;
5
5
  }
6
- export interface SlashConfirmationKey {
6
+ interface SlashConfirmationKey {
7
7
  escape?: boolean | undefined;
8
8
  return?: boolean | undefined;
9
9
  }
@@ -11,4 +11,5 @@ export interface SlashConfirmationKey {
11
11
  export declare function slashConfirmationDecision(input: string, key: SlashConfirmationKey, defaultYes: boolean): boolean | null | 'cancel';
12
12
  /** Visible modal used by slash commands that previously prompted via readline. */
13
13
  export declare function SlashConfirmPanel({ question, defaultYes, }: SlashConfirmPanelProps): React.ReactElement;
14
+ export {};
14
15
  //# sourceMappingURL=slash-confirm-panel.d.ts.map
@@ -1,9 +1,10 @@
1
1
  import type React from 'react';
2
2
  import type { SlashCommandMatch } from '../app-state.js';
3
- export interface SlashMenuProps {
3
+ interface SlashMenuProps {
4
4
  query: string;
5
5
  matches: SlashCommandMatch[];
6
6
  selected: number;
7
7
  }
8
8
  export declare function SlashMenu({ query, matches, selected }: SlashMenuProps): React.ReactElement;
9
+ export {};
9
10
  //# sourceMappingURL=slash-menu.d.ts.map
@@ -61,4 +61,6 @@ export declare function fmtTok(n: number): string;
61
61
  export declare function fmtMemory(bytes: number): string;
62
62
  export declare function fmtElapsed(ms: number): string;
63
63
  export declare function fmtDebugBytes(n: number): string;
64
+ export declare function fmtPct(pct: number, maxDecimals?: number): string;
65
+ export declare function fmtRatioPct(ratio: number, maxDecimals?: number): string;
64
66
  //# sourceMappingURL=status-bar-format.d.ts.map
@@ -7,6 +7,7 @@ export declare const STATUSLINE_ICONS: {
7
7
  readonly context: string;
8
8
  readonly cost: string;
9
9
  readonly debug_stream: string;
10
+ readonly dropped_tools: string;
10
11
  readonly elapsed: string;
11
12
  readonly enhance: string;
12
13
  readonly eternal_stage: string;
@@ -24,15 +25,18 @@ export declare const STATUSLINE_ICONS: {
24
25
  readonly plan: string;
25
26
  readonly processes: string;
26
27
  readonly project: string;
28
+ readonly prompt_variant: string;
27
29
  readonly queue: string;
28
30
  readonly sessions: string;
29
31
  readonly side_effects: string;
30
32
  readonly state: string;
31
33
  readonly tasks: string;
34
+ readonly theme: string;
32
35
  readonly token_saving: string;
33
36
  readonly tokens: string;
34
37
  readonly todos: string;
35
38
  readonly tools: string;
39
+ readonly version: string;
36
40
  readonly working_dir: string;
37
41
  readonly yolo: string;
38
42
  };