shellpuppet 0.1.0 → 0.2.0
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 +191 -32
- package/dist/cli/desktopShortcut.d.ts +22 -0
- package/dist/cli/desktopShortcut.js +157 -0
- package/dist/cli/desktopShortcut.js.map +1 -0
- package/dist/cli/index.js +205 -52
- package/dist/cli/index.js.map +1 -1
- package/dist/client/http.d.ts +62 -1
- package/dist/client/http.js +388 -32
- package/dist/client/http.js.map +1 -1
- package/dist/core/dialogs.d.ts +20 -12
- package/dist/core/dialogs.js +31 -19
- package/dist/core/dialogs.js.map +1 -1
- package/dist/core/manager.d.ts +35 -5
- package/dist/core/manager.js +121 -8
- package/dist/core/manager.js.map +1 -1
- package/dist/core/nativePty.d.ts +9 -5
- package/dist/core/nativePty.js +11 -6
- package/dist/core/nativePty.js.map +1 -1
- package/dist/core/promptDetector.d.ts +37 -3
- package/dist/core/promptDetector.js +303 -12
- package/dist/core/promptDetector.js.map +1 -1
- package/dist/core/reasoning.d.ts +19 -6
- package/dist/core/reasoning.js +223 -30
- package/dist/core/reasoning.js.map +1 -1
- package/dist/core/regexBudget.d.ts +20 -0
- package/dist/core/regexBudget.js +25 -1
- package/dist/core/regexBudget.js.map +1 -1
- package/dist/core/renderer.d.ts +16 -1
- package/dist/core/renderer.js +97 -6
- package/dist/core/renderer.js.map +1 -1
- package/dist/core/selection.d.ts +6 -0
- package/dist/core/selection.js +48 -0
- package/dist/core/selection.js.map +1 -0
- package/dist/core/session.d.ts +266 -12
- package/dist/core/session.js +583 -99
- package/dist/core/session.js.map +1 -1
- package/dist/core/types.d.ts +53 -18
- package/dist/core/types.js +30 -6
- package/dist/core/types.js.map +1 -1
- package/dist/core/waiter.d.ts +12 -4
- package/dist/core/waiter.js +63 -70
- package/dist/core/waiter.js.map +1 -1
- package/dist/core/windowsConsoleHost.d.ts +147 -0
- package/dist/core/windowsConsoleHost.js +588 -0
- package/dist/core/windowsConsoleHost.js.map +1 -0
- package/dist/core/windowsPtyStart.d.ts +100 -29
- package/dist/core/windowsPtyStart.js +143 -36
- package/dist/core/windowsPtyStart.js.map +1 -1
- package/dist/daemon/auth.d.ts +72 -2
- package/dist/daemon/auth.js +128 -3
- package/dist/daemon/auth.js.map +1 -1
- package/dist/daemon/config.d.ts +44 -1
- package/dist/daemon/config.js +276 -9
- package/dist/daemon/config.js.map +1 -1
- package/dist/daemon/folderPicker.d.ts +27 -0
- package/dist/daemon/folderPicker.js +115 -0
- package/dist/daemon/folderPicker.js.map +1 -0
- package/dist/daemon/index.js +20 -19
- package/dist/daemon/index.js.map +1 -1
- package/dist/daemon/launchProfiles.d.ts +155 -0
- package/dist/daemon/launchProfiles.js +554 -0
- package/dist/daemon/launchProfiles.js.map +1 -0
- package/dist/daemon/paths.d.ts +2 -0
- package/dist/daemon/paths.js.map +1 -1
- package/dist/daemon/screenshot.d.ts +58 -1
- package/dist/daemon/screenshot.js +172 -26
- package/dist/daemon/screenshot.js.map +1 -1
- package/dist/daemon/server.d.ts +219 -10
- package/dist/daemon/server.js +1970 -203
- package/dist/daemon/server.js.map +1 -1
- package/dist/daemon/sessionFeed.d.ts +48 -0
- package/dist/daemon/sessionFeed.js +101 -0
- package/dist/daemon/sessionFeed.js.map +1 -0
- package/dist/daemon/viewerLauncher.d.ts +100 -9
- package/dist/daemon/viewerLauncher.js +349 -67
- package/dist/daemon/viewerLauncher.js.map +1 -1
- package/dist/mcp/config.d.ts +7 -14
- package/dist/mcp/config.js +10 -21
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/index.js +20 -11
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/tools.d.ts +14 -7
- package/dist/mcp/tools.js +161 -60
- package/dist/mcp/tools.js.map +1 -1
- package/dist/viewer/dashboard-folders.js +20 -0
- package/dist/viewer/dashboard-layout.js +52 -0
- package/dist/viewer/dashboard.css +67 -0
- package/dist/viewer/dashboard.html +44 -0
- package/dist/viewer/dashboard.js +1518 -0
- package/dist/viewer/icon.ico +0 -0
- package/dist/viewer/index.html +12 -7
- package/dist/viewer/pane.js +736 -0
- package/dist/viewer/viewer.css +18 -7
- package/dist/viewer/viewer.js +47 -624
- package/package.json +13 -13
package/dist/viewer/viewer.css
CHANGED
|
@@ -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
|
-
|
|
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
|
|
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:
|
|
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
|
-
|
|
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 #
|
|
86
|
+
body.capture header, body.capture #identity, body.capture #notices {
|
|
76
87
|
display: none;
|
|
77
88
|
}
|
|
78
89
|
#term .xterm { margin: 0 auto; }
|