@wrongstack/tui 0.282.0 → 0.282.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.
package/README.md CHANGED
@@ -23,7 +23,7 @@ const exitCode = await runTui({
23
23
  slashRegistry, // SlashCommandRegistry
24
24
  attachments: new DefaultAttachmentStore(),
25
25
  events: new DefaultEventBus(),
26
- model: 'claude-sonnet-4-6',
26
+ model: 'anthropic-test-model',
27
27
  banner: true,
28
28
  yolo: false,
29
29
  appVersion: '0.1.6',
@@ -40,7 +40,7 @@ process.exit(exitCode);
40
40
 
41
41
  ```
42
42
  ┌─ banner ─────────────────────────────────────────────┐
43
- │ wrongstack 0.1.6 — anthropic · claude-sonnet-4-6 │
43
+ │ wrongstack 0.1.6 — anthropic · anthropic-test-model │
44
44
  └──────────────────────────────────────────────────────┘
45
45
  user> refactor auth.ts to async/await
46
46
  ⠋ thinking (3 tools used · 4.2k tokens · 1.3s)
package/dist/index.d.ts CHANGED
@@ -220,10 +220,9 @@ interface PluginPickerItem {
220
220
  summary: string;
221
221
  /**
222
222
  * When false the row is locked: the picker renders a 🔒 marker and ignores
223
- * Enter/←/→ on it. Core plugins (security, prompts, skills, sync, git, …)
224
- * and the critical guard plugins (secret-scanner, branch-guard) set this
225
- * to false so they stay visible in the menu but cannot be toggled off —
226
- * matching the rationale in `PLUGIN_AUDIT_ENTRIES`.
223
+ * Enter/←/→ on it. The current built-in audit list is fully toggleable, but
224
+ * the component keeps this marker for future or externally supplied locked
225
+ * rows.
227
226
  */
228
227
  lockable?: boolean | undefined;
229
228
  }
@@ -842,22 +841,20 @@ declare function replaySessionEvents(events: SessionEvent[], startId: number): H
842
841
  * Unified next-steps suggestion parser.
843
842
  *
844
843
  * Three code paths feed into the suggestion store:
845
- * 1. TUI rendering — entry.tsx parses "💡 Next steps" or "<next_steps>" from assistant output
846
- * 2. REPL store — repl.ts parses "💡 Next steps" or "<next_steps>" from final agent output
844
+ * 1. TUI rendering — entry.tsx parses only "<nextsteps>" from assistant output
845
+ * 2. REPL store — repl.ts parses only "<nextsteps>" from final agent output
847
846
  * 3. /suggest output — suggest.ts parses LLM-generated numbered lists
848
847
  *
849
848
  * Heading mode (`requireHeading = true`):
850
- * strict=true — only 💡 emoji heading or <next_steps> tag (TUI rendering)
851
- * strict=false — 💡, ##, plain "Next steps", or <next_steps> headings (REPL store)
849
+ * Assistant-output paths accept only balanced <nextsteps>...</nextsteps> blocks.
850
+ * Loose headings like "Next steps:" are intentionally ignored so `/next` only
851
+ * activates for the canonical machine-readable format.
852
852
  *
853
853
  * Raw mode (`requireHeading = false`):
854
854
  * Parses numbered/bullet items from anywhere in text (subagent /suggest output).
855
855
  *
856
- * Supported formats:
857
- * 💡 Next steps (old emoji format)
858
- * ## Next steps (markdown heading)
859
- * Next steps (plain text)
860
- * <next_steps> (new XML tag format - preferred)
856
+ * Supported assistant-output format:
857
+ * <nextsteps> (canonical XML tag format)
861
858
  */
862
859
  interface ParsedNextStep {
863
860
  index: number;
@@ -871,7 +868,7 @@ interface ParseNextStepsResult {
871
868
  /** Flat string array — what gets stored in the suggestion store. */
872
869
  texts: string[];
873
870
  /**
874
- * Content with the entire "💡 Next steps" or "<next_steps>" block removed.
871
+ * Content with the entire canonical "<nextsteps>" block removed.
875
872
  * Used by entry.tsx to strip suggestions from the rendered message body.
876
873
  */
877
874
  stripped: string;
@@ -879,12 +876,11 @@ interface ParseNextStepsResult {
879
876
  autoTexts: string[];
880
877
  }
881
878
  /**
882
- * Parse "<next_steps>" or "💡 Next steps" blocks from assistant output (or raw numbered lines).
879
+ * Parse canonical "<nextsteps>" blocks from assistant output (or raw numbered lines).
883
880
  *
884
881
  * @param content — raw assistant message text or subagent output
885
- * @param strict — when true, accepts 💡 emoji heading OR <next_steps> XML tag (TUI rendering).
886
- * when false, also accepts ## / plain "Next steps" headings (REPL store).
887
- * @param requireHeading — when true, a heading must precede the item list.
882
+ * @param strict — retained for compatibility; assistant-output paths always require the canonical XML tag.
883
+ * @param requireHeading — when true, a canonical XML tag must precede the item list.
888
884
  * when false, numbered/bullet items are parsed from anywhere in text
889
885
  * (used by /suggest subagent output which has no heading).
890
886
  */