@tanagram/lore 0.1.77 → 0.1.78

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 (3) hide show
  1. package/README.md +18 -0
  2. package/dist/index.js +215 -215
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -112,6 +112,24 @@ The plain path is also taken automatically whenever:
112
112
  See [AGENTS.md](./AGENTS.md) for the contributor guide on adding new
113
113
  screens, the presentation/handler split, and the TTY-detection contract.
114
114
 
115
+ ### TUI story runner
116
+
117
+ Use the terminal story runner to review seeded Ink states without touching
118
+ WorkOS, the Lore API, launchd, or local Lore config:
119
+
120
+ ```sh
121
+ pnpm tui:stories # interactive browser
122
+ pnpm tui:stories --story dashboard/healthy
123
+ pnpm tui:stories --list # print available story ids
124
+ ```
125
+
126
+ Stories live under `src/tui/stories/` and import screen components rather
127
+ than `*Entrypoint.tsx` files. Keep new stories fixture-driven: pass explicit
128
+ state, timestamps, and no-op callbacks so story review never performs command
129
+ side effects. In the interactive runner, use ↑/↓ or j/k to choose a story,
130
+ Tab to focus the preview so nested controls own the keyboard, Shift+Tab or
131
+ Esc to return to the sidebar, and q to exit.
132
+
115
133
  ## Subcommands
116
134
 
117
135
  - `lore` — opens the interactive dashboard in a TTY; prints help text