terminal-pilot 0.0.41 → 0.0.43

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 (56) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -3
  3. package/dist/cli.js +789 -9707
  4. package/dist/cli.js.map +4 -4
  5. package/dist/commands/close-session.js.map +1 -1
  6. package/dist/commands/create-session.js.map +1 -1
  7. package/dist/commands/daemon-runtime.js.map +1 -1
  8. package/dist/commands/fill.js.map +1 -1
  9. package/dist/commands/get-session.js.map +1 -1
  10. package/dist/commands/index.js.map +2 -2
  11. package/dist/commands/install.js.map +2 -2
  12. package/dist/commands/installer.js.map +2 -2
  13. package/dist/commands/list-sessions.js.map +1 -1
  14. package/dist/commands/press-key.js.map +1 -1
  15. package/dist/commands/read-history.js.map +1 -1
  16. package/dist/commands/read-screen.js.map +1 -1
  17. package/dist/commands/resize.js.map +1 -1
  18. package/dist/commands/runtime.js.map +1 -1
  19. package/dist/commands/screenshot.js.map +1 -1
  20. package/dist/commands/send-signal.js.map +1 -1
  21. package/dist/commands/type.js.map +1 -1
  22. package/dist/commands/uninstall.js.map +2 -2
  23. package/dist/commands/wait-for-exit.js.map +1 -1
  24. package/dist/commands/wait-for.js.map +1 -1
  25. package/dist/composition.json +35 -0
  26. package/dist/templates/terminal-pilot.md +1 -1
  27. package/dist/testing/cli-repl.js +795 -9713
  28. package/dist/testing/cli-repl.js.map +4 -4
  29. package/dist/testing/qa-cli.js +804 -9722
  30. package/dist/testing/qa-cli.js.map +4 -4
  31. package/node_modules/@poe-code/agent-defs/LICENSE +21 -0
  32. package/node_modules/@poe-code/agent-defs/package.json +12 -3
  33. package/node_modules/@poe-code/agent-skill-config/README.md +25 -17
  34. package/node_modules/@poe-code/agent-skill-config/dist/templates/poe-generate.md +16 -22
  35. package/node_modules/@poe-code/agent-skill-config/dist/templates/terminal-pilot.md +1 -1
  36. package/node_modules/@poe-code/agent-skill-config/package.json +1 -0
  37. package/node_modules/@poe-code/config-mutations/LICENSE +21 -0
  38. package/node_modules/@poe-code/config-mutations/README.md +8 -8
  39. package/node_modules/@poe-code/config-mutations/package.json +11 -2
  40. package/node_modules/@poe-code/frontmatter/LICENSE +21 -0
  41. package/node_modules/@poe-code/frontmatter/README.md +2 -2
  42. package/node_modules/@poe-code/frontmatter/package.json +11 -2
  43. package/node_modules/toolcraft-design/LICENSE +21 -0
  44. package/node_modules/toolcraft-design/README.md +8 -4
  45. package/node_modules/toolcraft-design/dist/dashboard/terminal.js +48 -6
  46. package/node_modules/toolcraft-design/dist/explorer/actions.d.ts +4 -0
  47. package/node_modules/toolcraft-design/dist/explorer/actions.js +1 -0
  48. package/node_modules/toolcraft-design/dist/explorer/events.d.ts +4 -0
  49. package/node_modules/toolcraft-design/dist/explorer/reducer.js +52 -4
  50. package/node_modules/toolcraft-design/dist/explorer/render/list.js +47 -20
  51. package/node_modules/toolcraft-design/dist/explorer/render/modal.js +13 -1
  52. package/node_modules/toolcraft-design/dist/explorer/render/test-fixtures.js +1 -1
  53. package/node_modules/toolcraft-design/dist/explorer/runtime.js +3 -0
  54. package/node_modules/toolcraft-design/dist/explorer/state.d.ts +9 -0
  55. package/node_modules/toolcraft-design/package.json +3 -2
  56. package/package.json +2 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Poe Platform
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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