shellpuppet 0.1.0 → 0.2.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.
Files changed (101) hide show
  1. package/README.md +210 -33
  2. package/dist/cli/desktopShortcut.d.ts +22 -0
  3. package/dist/cli/desktopShortcut.js +157 -0
  4. package/dist/cli/desktopShortcut.js.map +1 -0
  5. package/dist/cli/index.js +268 -59
  6. package/dist/cli/index.js.map +1 -1
  7. package/dist/client/http.d.ts +74 -3
  8. package/dist/client/http.js +560 -37
  9. package/dist/client/http.js.map +1 -1
  10. package/dist/core/dialogs.d.ts +20 -12
  11. package/dist/core/dialogs.js +31 -19
  12. package/dist/core/dialogs.js.map +1 -1
  13. package/dist/core/manager.d.ts +35 -5
  14. package/dist/core/manager.js +121 -8
  15. package/dist/core/manager.js.map +1 -1
  16. package/dist/core/nativePty.d.ts +9 -5
  17. package/dist/core/nativePty.js +11 -6
  18. package/dist/core/nativePty.js.map +1 -1
  19. package/dist/core/promptDetector.d.ts +37 -3
  20. package/dist/core/promptDetector.js +303 -12
  21. package/dist/core/promptDetector.js.map +1 -1
  22. package/dist/core/reasoning.d.ts +19 -6
  23. package/dist/core/reasoning.js +223 -30
  24. package/dist/core/reasoning.js.map +1 -1
  25. package/dist/core/regexBudget.d.ts +20 -0
  26. package/dist/core/regexBudget.js +25 -1
  27. package/dist/core/regexBudget.js.map +1 -1
  28. package/dist/core/renderer.d.ts +16 -1
  29. package/dist/core/renderer.js +97 -6
  30. package/dist/core/renderer.js.map +1 -1
  31. package/dist/core/selection.d.ts +6 -0
  32. package/dist/core/selection.js +48 -0
  33. package/dist/core/selection.js.map +1 -0
  34. package/dist/core/session.d.ts +267 -13
  35. package/dist/core/session.js +585 -101
  36. package/dist/core/session.js.map +1 -1
  37. package/dist/core/types.d.ts +53 -18
  38. package/dist/core/types.js +30 -6
  39. package/dist/core/types.js.map +1 -1
  40. package/dist/core/waiter.d.ts +12 -4
  41. package/dist/core/waiter.js +63 -70
  42. package/dist/core/waiter.js.map +1 -1
  43. package/dist/core/windowsConsoleHost.d.ts +147 -0
  44. package/dist/core/windowsConsoleHost.js +588 -0
  45. package/dist/core/windowsConsoleHost.js.map +1 -0
  46. package/dist/core/windowsPtyStart.d.ts +100 -29
  47. package/dist/core/windowsPtyStart.js +143 -36
  48. package/dist/core/windowsPtyStart.js.map +1 -1
  49. package/dist/daemon/auth.d.ts +72 -2
  50. package/dist/daemon/auth.js +128 -3
  51. package/dist/daemon/auth.js.map +1 -1
  52. package/dist/daemon/config.d.ts +44 -1
  53. package/dist/daemon/config.js +276 -9
  54. package/dist/daemon/config.js.map +1 -1
  55. package/dist/daemon/folderPicker.d.ts +27 -0
  56. package/dist/daemon/folderPicker.js +115 -0
  57. package/dist/daemon/folderPicker.js.map +1 -0
  58. package/dist/daemon/index.js +20 -19
  59. package/dist/daemon/index.js.map +1 -1
  60. package/dist/daemon/launchProfiles.d.ts +155 -0
  61. package/dist/daemon/launchProfiles.js +554 -0
  62. package/dist/daemon/launchProfiles.js.map +1 -0
  63. package/dist/daemon/liveness.d.ts +1 -1
  64. package/dist/daemon/liveness.js +2 -2
  65. package/dist/daemon/liveness.js.map +1 -1
  66. package/dist/daemon/paths.d.ts +4 -0
  67. package/dist/daemon/paths.js.map +1 -1
  68. package/dist/daemon/restartHold.d.ts +16 -0
  69. package/dist/daemon/restartHold.js +126 -0
  70. package/dist/daemon/restartHold.js.map +1 -0
  71. package/dist/daemon/screenshot.d.ts +58 -1
  72. package/dist/daemon/screenshot.js +172 -26
  73. package/dist/daemon/screenshot.js.map +1 -1
  74. package/dist/daemon/server.d.ts +220 -10
  75. package/dist/daemon/server.js +1975 -205
  76. package/dist/daemon/server.js.map +1 -1
  77. package/dist/daemon/sessionFeed.d.ts +48 -0
  78. package/dist/daemon/sessionFeed.js +101 -0
  79. package/dist/daemon/sessionFeed.js.map +1 -0
  80. package/dist/daemon/viewerLauncher.d.ts +100 -9
  81. package/dist/daemon/viewerLauncher.js +349 -67
  82. package/dist/daemon/viewerLauncher.js.map +1 -1
  83. package/dist/mcp/config.d.ts +7 -14
  84. package/dist/mcp/config.js +10 -21
  85. package/dist/mcp/config.js.map +1 -1
  86. package/dist/mcp/index.js +20 -11
  87. package/dist/mcp/index.js.map +1 -1
  88. package/dist/mcp/tools.d.ts +14 -7
  89. package/dist/mcp/tools.js +161 -60
  90. package/dist/mcp/tools.js.map +1 -1
  91. package/dist/viewer/dashboard-folders.js +20 -0
  92. package/dist/viewer/dashboard-layout.js +52 -0
  93. package/dist/viewer/dashboard.css +67 -0
  94. package/dist/viewer/dashboard.html +44 -0
  95. package/dist/viewer/dashboard.js +1523 -0
  96. package/dist/viewer/icon.ico +0 -0
  97. package/dist/viewer/index.html +12 -7
  98. package/dist/viewer/pane.js +736 -0
  99. package/dist/viewer/viewer.css +18 -7
  100. package/dist/viewer/viewer.js +47 -624
  101. package/package.json +13 -13
@@ -25,25 +25,27 @@ button.active { background: #3d2c14; border-color: #8a6d3b; color: #e8c284; }
25
25
  #input-source.agent { color: #6cb6ff; }
26
26
  #input-source.human { color: #7ee787; }
27
27
  #banner {
28
- flex: 0 0 auto; padding: 8px 14px; background: #3d1d1f; color: #ffa198;
28
+ padding: 8px 14px; background: #3d1d1f; color: #ffa198;
29
29
  border-bottom: 1px solid #6e2c30; font-size: 12px;
30
30
  }
31
31
 
32
32
  /* Session identity strip. Quiet by design: it must be readable at a glance
33
33
  when switching windows, without competing with the terminal for attention. */
34
34
  #identity {
35
- flex: 0 0 auto; padding: 6px 14px; background: #12191f; color: #9fb4c7;
35
+ flex: 0 0 29px; height: 29px; box-sizing: border-box; padding: 6px 14px;
36
+ background: #12191f; color: #9fb4c7;
36
37
  border-bottom: 1px solid #22303c; font-size: 12px;
37
- display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
38
+ display: flex; gap: 14px; align-items: center; white-space: nowrap; overflow: hidden;
38
39
  }
39
40
  #identity-purpose { color: #d7e3ee; font-weight: 600; }
40
- #identity-meta { color: #7d93a6; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
41
+ #identity-meta { color: #7d93a6; font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
42
+ overflow: hidden; text-overflow: ellipsis; }
41
43
 
42
44
  /* Amber, not the banner's red: a held prompt is the session waiting on YOU, not
43
45
  a fault. Deliberately loud: the whole feature exists because a held prompt
44
46
  can go unnoticed for minutes at a time. */
45
47
  #prompt-alert {
46
- flex: 0 0 auto; padding: 8px 14px; background: #3d2f14; color: #f0c674;
48
+ padding: 8px 14px; background: #3d2f14; color: #f0c674;
47
49
  border-bottom: 1px solid #7a5c1e; font-size: 12px;
48
50
  }
49
51
  #prompt-alert .question {
@@ -63,8 +65,17 @@ button.active { background: #3d2c14; border-color: #8a6d3b; color: #e8c284; }
63
65
  the top-left corner. */
64
66
  #wrap {
65
67
  flex: 1 1 auto; min-height: 0; padding: 6px 8px; box-sizing: border-box;
66
- overflow: hidden;
68
+ overflow: hidden; position: relative;
67
69
  }
70
+ /* Notices paint above the terminal and never participate in its fit box.
71
+ The pane places them in the half away from the cursor. */
72
+ #notices {
73
+ position: absolute; z-index: 2; left: 8px; right: 8px;
74
+ box-sizing: border-box; overflow-y: auto; pointer-events: none;
75
+ box-shadow: 0 4px 14px #0009;
76
+ }
77
+ #notices:has(> :not([hidden])) { border: 1px solid #27313d; }
78
+ #notices :is(button, a) { pointer-events: auto; }
68
79
  /* #term must keep filling the available box so the fit addon measures the real
69
80
  space. So the centring has to happen INSIDE it, on the .xterm element
70
81
  the addon actually sizes. Centring #wrap's children does nothing, because
@@ -72,7 +83,7 @@ button.active { background: #3d2c14; border-color: #8a6d3b; color: #e8c284; }
72
83
  #term { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
73
84
 
74
85
  /* Capture mode (headless screenshot): the terminal and nothing else. */
75
- body.capture header, body.capture #identity, body.capture #banner, body.capture #prompt-alert {
86
+ body.capture header, body.capture #identity, body.capture #notices {
76
87
  display: none;
77
88
  }
78
89
  #term .xterm { margin: 0 auto; }