terminal-pilot 0.0.42 → 0.0.44

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 (82) hide show
  1. package/README.md +7 -3
  2. package/dist/cli.js +3435 -3165
  3. package/dist/cli.js.map +4 -4
  4. package/dist/commands/close-session.js +5 -0
  5. package/dist/commands/close-session.js.map +2 -2
  6. package/dist/commands/create-session.js +5 -0
  7. package/dist/commands/create-session.js.map +2 -2
  8. package/dist/commands/daemon-runtime.js.map +1 -1
  9. package/dist/commands/fill.js +5 -0
  10. package/dist/commands/fill.js.map +2 -2
  11. package/dist/commands/get-session.js +5 -0
  12. package/dist/commands/get-session.js.map +2 -2
  13. package/dist/commands/index.js +5 -0
  14. package/dist/commands/index.js.map +3 -3
  15. package/dist/commands/install.js +5 -0
  16. package/dist/commands/install.js.map +2 -2
  17. package/dist/commands/installer.js.map +2 -2
  18. package/dist/commands/list-sessions.js +5 -0
  19. package/dist/commands/list-sessions.js.map +2 -2
  20. package/dist/commands/press-key.js +5 -0
  21. package/dist/commands/press-key.js.map +2 -2
  22. package/dist/commands/read-history.js +5 -0
  23. package/dist/commands/read-history.js.map +2 -2
  24. package/dist/commands/read-screen.js +5 -0
  25. package/dist/commands/read-screen.js.map +2 -2
  26. package/dist/commands/resize.js +5 -0
  27. package/dist/commands/resize.js.map +2 -2
  28. package/dist/commands/runtime.js.map +1 -1
  29. package/dist/commands/screenshot.js +5 -0
  30. package/dist/commands/screenshot.js.map +2 -2
  31. package/dist/commands/send-signal.js +5 -0
  32. package/dist/commands/send-signal.js.map +2 -2
  33. package/dist/commands/type.js +5 -0
  34. package/dist/commands/type.js.map +2 -2
  35. package/dist/commands/uninstall.js +5 -0
  36. package/dist/commands/uninstall.js.map +2 -2
  37. package/dist/commands/wait-for-exit.js +5 -0
  38. package/dist/commands/wait-for-exit.js.map +2 -2
  39. package/dist/commands/wait-for.js +5 -0
  40. package/dist/commands/wait-for.js.map +2 -2
  41. package/dist/composition.json +35 -0
  42. package/dist/templates/terminal-pilot.md +1 -1
  43. package/dist/testing/cli-repl.js +3435 -3165
  44. package/dist/testing/cli-repl.js.map +4 -4
  45. package/dist/testing/qa-cli.js +3435 -3165
  46. package/dist/testing/qa-cli.js.map +4 -4
  47. package/node_modules/@poe-code/agent-defs/LICENSE +21 -0
  48. package/node_modules/@poe-code/agent-defs/package.json +9 -2
  49. package/node_modules/@poe-code/agent-skill-config/README.md +25 -17
  50. package/node_modules/@poe-code/agent-skill-config/dist/templates/poe-generate.md +16 -22
  51. package/node_modules/@poe-code/agent-skill-config/dist/templates/terminal-pilot.md +1 -1
  52. package/node_modules/@poe-code/agent-skill-config/package.json +1 -0
  53. package/node_modules/@poe-code/config-mutations/LICENSE +21 -0
  54. package/node_modules/@poe-code/config-mutations/README.md +8 -8
  55. package/node_modules/@poe-code/config-mutations/package.json +8 -1
  56. package/node_modules/@poe-code/frontmatter/LICENSE +21 -0
  57. package/node_modules/@poe-code/frontmatter/README.md +2 -2
  58. package/node_modules/@poe-code/frontmatter/package.json +8 -1
  59. package/node_modules/toolcraft-design/LICENSE +21 -0
  60. package/node_modules/toolcraft-design/README.md +8 -4
  61. package/node_modules/toolcraft-design/dist/components/file-changes.d.ts +16 -0
  62. package/node_modules/toolcraft-design/dist/components/file-changes.js +162 -0
  63. package/node_modules/toolcraft-design/dist/components/index.d.ts +2 -0
  64. package/node_modules/toolcraft-design/dist/components/index.js +1 -0
  65. package/node_modules/toolcraft-design/dist/dashboard/terminal.js +48 -6
  66. package/node_modules/toolcraft-design/dist/explorer/actions.d.ts +4 -0
  67. package/node_modules/toolcraft-design/dist/explorer/actions.js +1 -0
  68. package/node_modules/toolcraft-design/dist/explorer/events.d.ts +4 -0
  69. package/node_modules/toolcraft-design/dist/explorer/jobs.d.ts +1 -0
  70. package/node_modules/toolcraft-design/dist/explorer/jobs.js +28 -0
  71. package/node_modules/toolcraft-design/dist/explorer/keymap.js +2 -2
  72. package/node_modules/toolcraft-design/dist/explorer/reducer.js +66 -6
  73. package/node_modules/toolcraft-design/dist/explorer/render/detail.js +1 -1
  74. package/node_modules/toolcraft-design/dist/explorer/render/list.js +48 -21
  75. package/node_modules/toolcraft-design/dist/explorer/render/modal.js +15 -2
  76. package/node_modules/toolcraft-design/dist/explorer/render/test-fixtures.js +1 -1
  77. package/node_modules/toolcraft-design/dist/explorer/runtime.js +3 -0
  78. package/node_modules/toolcraft-design/dist/explorer/state.d.ts +9 -0
  79. package/node_modules/toolcraft-design/dist/index.d.ts +2 -0
  80. package/node_modules/toolcraft-design/dist/index.js +1 -0
  81. package/node_modules/toolcraft-design/package.json +3 -1
  82. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Use it when plain stdio is not enough: menus, prompts, arrow-key navigation, confirmations, and terminal redraws such as `poe-code configure`.
6
6
 
7
- For design rationale and scope, see `docs/plans/terminal-pilot.md`.
7
+ For design history, see [terminal-pilot](../../docs/plans/archive/terminal-pilot.md).
8
8
 
9
9
  For the MCP server, see [terminal-pilot-mcp](../terminal-pilot-mcp).
10
10
 
@@ -218,12 +218,16 @@ class TerminalScreen {
218
218
  }
219
219
  ```
220
220
 
221
- ## Environment variables
221
+ ## Environment Variables
222
222
 
223
223
  There are **no terminal-pilot-specific environment variables**.
224
224
 
225
225
  Runtime environment is controlled per session via `newSession({ env })`. There are no package-level config files or config options beyond the per-session options.
226
226
 
227
+ ## Configuration Options
228
+
229
+ Configure sessions with `newSession({ command, args, cwd, env, cols, rows, observe })`. CLI skill installation is controlled by `install`/`uninstall` flags: target agent plus optional `--local` or `--global`.
230
+
227
231
  ## Testing
228
232
 
229
233
  Interactive fixtures live under `packages/terminal-pilot/src/testing/`:
@@ -232,7 +236,7 @@ Interactive fixtures live under `packages/terminal-pilot/src/testing/`:
232
236
  - `menu-cli.ts` - arrow-key menu fixture
233
237
  - `fixtures.test.ts` - examples of driving both fixtures
234
238
 
235
- Run just the fixture tests:
239
+ Run the fixture tests only:
236
240
 
237
241
  ```sh
238
242
  npx vitest run packages/terminal-pilot/src/testing/fixtures.test.ts