@wrongstack/tui 0.308.6 → 0.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReasoningEffort as CoreReasoningEffort } from '@wrongstack/core/types';
|
|
1
2
|
import type { SettingsPickerPatch } from '../settings-contracts.js';
|
|
2
3
|
/** Selectable presets for the auto-proceed delay, so the field is fully
|
|
3
4
|
* keyboard-cyclable (←/→) instead of needing typed numeric input. */
|
|
@@ -28,8 +29,14 @@ export type StatuslineMode = (typeof STATUSLINE_MODES)[number];
|
|
|
28
29
|
export declare const DEFAULT_STATUSLINE_MODE: StatuslineMode;
|
|
29
30
|
export declare const REASONING_MODES: readonly ['auto', 'on', 'off'];
|
|
30
31
|
export type ReasoningMode = (typeof REASONING_MODES)[number];
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Effort levels cycled by the /settings picker. Pinned to core's canonical
|
|
34
|
+
* union via `satisfies` (subset-typed, not equal-typed, so a future core level
|
|
35
|
+
* shows up here as a compile error reminding us to add it to the cycle) and
|
|
36
|
+
* the exported type re-exports core's union directly.
|
|
37
|
+
*/
|
|
38
|
+
export declare const REASONING_EFFORTS: readonly ["none", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
39
|
+
export type ReasoningEffort = CoreReasoningEffort;
|
|
33
40
|
export declare const CACHE_TTLS: readonly ['default', '5m', '1h'];
|
|
34
41
|
export type CacheTtl = (typeof CACHE_TTLS)[number];
|
|
35
42
|
export declare const STATUSLINE_MODE_DESCS: Record<StatuslineMode, string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReasoningEffort as CoreReasoningEffort } from '@wrongstack/core/types';
|
|
1
2
|
export type SettingsMode = 'off' | 'suggest' | 'auto';
|
|
2
3
|
export type LogLevel = 'error' | 'warn' | 'info' | 'debug' | 'trace';
|
|
3
4
|
export type AuditLevel = 'minimal' | 'standard' | 'full';
|
|
@@ -5,7 +6,14 @@ export type CompactorStrategy = 'hybrid' | 'intelligent' | 'selective';
|
|
|
5
6
|
export type ContextMode = 'balanced' | 'frugal' | 'deep';
|
|
6
7
|
export type StatuslineMode = 'minimum' | 'detailed' | 'no-color';
|
|
7
8
|
export type ReasoningMode = 'auto' | 'on' | 'off';
|
|
8
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Reasoning effort levels. Re-exported from core's canonical union instead of
|
|
11
|
+
* re-declared here: this file is a sync point consumed by app-state,
|
|
12
|
+
* app-action-type, and app-settings-type, so a hand-maintained copy could
|
|
13
|
+
* silently drift from what the runtime resolver accepts. Adding a level in
|
|
14
|
+
* core flows through automatically; nothing in the TUI needs updating.
|
|
15
|
+
*/
|
|
16
|
+
export type ReasoningEffort = CoreReasoningEffort;
|
|
9
17
|
export type CacheTtl = 'default' | '5m' | '1h';
|
|
10
18
|
export type EnhanceLanguage = 'original' | 'english';
|
|
11
19
|
export type TokenSavingTierTui = 'auto' | 'off' | 'minimal' | 'light' | 'medium' | 'aggressive';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/tui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.309.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack terminal UI: Ink-based interactive renderer with history, pickers, and slash menus.",
|
|
6
6
|
"repository": {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"ink": "7.1.1",
|
|
30
30
|
"react": "^19.2.8",
|
|
31
31
|
"string-width": "8.2.2",
|
|
32
|
-
"@wrongstack/
|
|
33
|
-
"@wrongstack/
|
|
34
|
-
"@wrongstack/
|
|
35
|
-
"@wrongstack/
|
|
36
|
-
"@wrongstack/
|
|
37
|
-
"@wrongstack/
|
|
32
|
+
"@wrongstack/kanban": "0.309.0",
|
|
33
|
+
"@wrongstack/sdd": "0.309.0",
|
|
34
|
+
"@wrongstack/core": "0.309.0",
|
|
35
|
+
"@wrongstack/runtime": "0.309.0",
|
|
36
|
+
"@wrongstack/sage": "0.309.0",
|
|
37
|
+
"@wrongstack/tools": "0.309.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@testing-library/dom": "^10.4.1",
|