xtralab 0.5.0 → 0.7.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 +138 -76
- package/lib/agentSessions.d.ts +50 -0
- package/lib/agentSessions.js +45 -0
- package/lib/fileBrowser/index.js +5 -1
- package/lib/git/imageDiff.js +80 -8
- package/lib/index.d.ts +3 -2
- package/lib/index.js +11 -6
- package/lib/launcher/agents.d.ts +1 -1
- package/lib/launcher/agents.js +22 -13
- package/lib/launcher/commands.d.ts +32 -6
- package/lib/launcher/commands.js +81 -57
- package/lib/launcher/dashboard.d.ts +15 -0
- package/lib/launcher/dashboard.js +139 -10
- package/lib/launcher/editorRegistry.d.ts +43 -0
- package/lib/launcher/editorRegistry.js +96 -0
- package/lib/launcher/editors.d.ts +78 -0
- package/lib/launcher/editors.js +110 -0
- package/lib/launcher/icons.d.ts +25 -6
- package/lib/launcher/icons.js +116 -19
- package/lib/launcher/index.d.ts +2 -22
- package/lib/launcher/index.js +48 -25
- package/lib/launcher/registry.d.ts +21 -0
- package/lib/launcher/registry.js +28 -0
- package/lib/launcher/tokens.d.ts +41 -0
- package/lib/launcher/tokens.js +17 -0
- package/lib/terminals/detection.d.ts +11 -0
- package/lib/terminals/detection.js +50 -0
- package/lib/terminals/index.d.ts +27 -0
- package/lib/terminals/index.js +194 -0
- package/lib/terminals/model.d.ts +191 -0
- package/lib/terminals/model.js +418 -0
- package/lib/terminals/widget.d.ts +72 -0
- package/lib/terminals/widget.js +93 -0
- package/lib/topBar/icons.d.ts +13 -0
- package/lib/topBar/icons.js +27 -0
- package/lib/topBar/index.d.ts +16 -0
- package/lib/topBar/index.js +98 -0
- package/package.json +36 -33
- package/schema/launcher.json +56 -1
- package/src/agentSessions.ts +94 -0
- package/src/fileBrowser/index.ts +5 -1
- package/src/git/imageDiff.tsx +127 -26
- package/src/index.ts +11 -6
- package/src/launcher/agents.ts +23 -14
- package/src/launcher/commands.ts +98 -60
- package/src/launcher/dashboard.tsx +227 -9
- package/src/launcher/editorRegistry.ts +149 -0
- package/src/launcher/editors.ts +183 -0
- package/src/launcher/icons.ts +120 -20
- package/src/launcher/index.ts +62 -27
- package/src/launcher/registry.ts +33 -0
- package/src/launcher/tokens.ts +51 -0
- package/src/terminals/detection.ts +65 -0
- package/src/terminals/index.ts +222 -0
- package/src/terminals/model.ts +497 -0
- package/src/terminals/widget.tsx +240 -0
- package/src/topBar/icons.ts +30 -0
- package/src/topBar/index.ts +134 -0
- package/style/git.css +109 -0
- package/style/index.css +2 -1
- package/style/index.js +2 -1
- package/style/launcher.css +124 -2
- package/style/terminals.css +235 -0
- package/style/topBar.css +38 -0
- package/lib/statusBar/index.d.ts +0 -14
- package/lib/statusBar/index.js +0 -89
- package/lib/statusBar/widget.d.ts +0 -121
- package/lib/statusBar/widget.js +0 -237
- package/src/statusBar/index.ts +0 -115
- package/src/statusBar/widget.tsx +0 -318
- package/style/statusBar.css +0 -95
package/style/statusBar.css
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Per-session terminal items on the status bar. Each session gets its
|
|
3
|
-
* own item, so the rules below scope tightly under
|
|
4
|
-
* `jp-xtralab-StatusBar-Terminal` to avoid leaking into other items
|
|
5
|
-
* registered by upstream extensions on the same bar.
|
|
6
|
-
*
|
|
7
|
-
* Colors and spacing pull from `--jp-*` custom properties so the items
|
|
8
|
-
* track the active JupyterLab theme.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
.jp-xtralab-StatusBar-Terminal {
|
|
12
|
-
/* Each item is a single horizontal capsule. The host element comes
|
|
13
|
-
* from the status bar layout — we scope our styles to its inner
|
|
14
|
-
* container so the bar's own padding/margins are respected. */
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.jp-xtralab-StatusBar-Terminal-Container {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: stretch;
|
|
22
|
-
height: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/*
|
|
26
|
-
* Activate button. Stretches the full row so the icon + label are
|
|
27
|
-
* one click target; the close button sits to the right and intercepts
|
|
28
|
-
* clicks on its own area via stopPropagation in the React handler.
|
|
29
|
-
*/
|
|
30
|
-
.jp-xtralab-StatusBar-Terminal-Activate {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
gap: 4px;
|
|
34
|
-
padding: 0 6px;
|
|
35
|
-
background: transparent;
|
|
36
|
-
border: none;
|
|
37
|
-
color: inherit;
|
|
38
|
-
font: inherit;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
min-width: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.jp-xtralab-StatusBar-Terminal-Activate:focus-visible {
|
|
44
|
-
outline: var(--jp-border-width) solid var(--jp-brand-color1);
|
|
45
|
-
outline-offset: -2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.jp-xtralab-StatusBar-Terminal-Label {
|
|
49
|
-
/* Cap each label so a verbose xterm title (Claude can include the
|
|
50
|
-
* cwd, branch, etc.) does not push every other status item off the
|
|
51
|
-
* bar. The truncation tooltip falls back to the full label via the
|
|
52
|
-
* surrounding container's `title` attribute. */
|
|
53
|
-
max-width: 160px;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
text-overflow: ellipsis;
|
|
56
|
-
white-space: nowrap;
|
|
57
|
-
font-size: var(--jp-ui-font-size1);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/*
|
|
61
|
-
* Close button. Hidden by default so the row reads as plain text;
|
|
62
|
-
* fades in when the row is hovered or the button itself takes focus.
|
|
63
|
-
* No background-color change on hover — the outer item already
|
|
64
|
-
* shifts to `--jp-layout-color3` via `jp-mod-highlighted:hover`, and
|
|
65
|
-
* stacking another shade on top of that produced an unpleasant frame
|
|
66
|
-
* around the inner content.
|
|
67
|
-
*/
|
|
68
|
-
.jp-xtralab-StatusBar-Terminal-Close {
|
|
69
|
-
display: flex;
|
|
70
|
-
align-items: center;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
width: 18px;
|
|
73
|
-
margin-right: 2px;
|
|
74
|
-
background: transparent;
|
|
75
|
-
border: none;
|
|
76
|
-
color: var(--jp-ui-font-color2);
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
opacity: 0;
|
|
79
|
-
transition: opacity 80ms linear;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.jp-xtralab-StatusBar-Terminal-Close:hover {
|
|
83
|
-
color: var(--jp-ui-font-color1);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.jp-xtralab-StatusBar-Terminal-Close:focus-visible {
|
|
87
|
-
opacity: 1;
|
|
88
|
-
outline: var(--jp-border-width) solid var(--jp-brand-color1);
|
|
89
|
-
outline-offset: -2px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.jp-xtralab-StatusBar-Terminal-Container:hover
|
|
93
|
-
.jp-xtralab-StatusBar-Terminal-Close {
|
|
94
|
-
opacity: 1;
|
|
95
|
-
}
|