wisp-agents 0.15.0 → 0.17.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/CHANGELOG.md +55 -1
- package/README.md +29 -13
- package/bin/wisp.js +3 -2
- package/package.json +3 -3
- package/server/adapters/antigravity.js +7 -3
- package/server/adapters/claude.js +79 -55
- package/server/adapters/codex.js +5 -2
- package/server/adapters/common.js +14 -34
- package/server/adapters/cursor.js +4 -2
- package/server/adapters/grok.js +17 -2
- package/server/adapters/index.js +25 -2
- package/server/adapters/opencode.js +78 -12
- package/server/checkpoint.js +12 -68
- package/server/client.js +6 -4
- package/server/git.js +9 -4
- package/server/handoff.js +71 -0
- package/server/http/respond.js +59 -0
- package/server/http/router.js +64 -0
- package/server/http/static.js +36 -0
- package/server/index.js +138 -1216
- package/server/machines/bootstrap.js +56 -0
- package/server/machines/hosts.js +127 -0
- package/server/machines.js +7 -179
- package/server/mcp-ask.js +113 -8
- package/server/mcp-wisp.js +17 -5
- package/server/mentions.js +39 -0
- package/server/openapi.js +36 -4
- package/server/paths.js +32 -0
- package/server/preferences.js +2 -6
- package/server/proc.js +54 -0
- package/server/protocol.js +8 -1
- package/server/recipes.js +2 -4
- package/server/remote.js +14 -14
- package/server/render.js +3 -1
- package/server/router.js +7 -3
- package/server/routes/auto.js +29 -0
- package/server/routes/automations.js +92 -0
- package/server/routes/internal.js +176 -0
- package/server/routes/machines.js +43 -0
- package/server/routes/meta.js +76 -0
- package/server/routes/proxy.js +47 -0
- package/server/routes/sessions.js +351 -0
- package/server/routes/settings.js +144 -0
- package/server/routes/ship.js +61 -0
- package/server/routes/uploads.js +19 -0
- package/server/runner.js +216 -49
- package/server/services/auto.js +67 -0
- package/server/services/feedback.js +53 -0
- package/server/services/install.js +69 -0
- package/server/services/launch.js +127 -0
- package/server/services/phone.js +65 -0
- package/server/services/ship.js +82 -0
- package/server/services/telemetry.js +34 -0
- package/server/services/uploads.js +59 -0
- package/server/services/webhooks.js +28 -0
- package/server/store.js +13 -5
- package/server/subagents.js +5 -4
- package/server/telemetry.js +1 -1
- package/server/terminal.js +2 -1
- package/server/triggers.js +5 -7
- package/server/update.js +4 -3
- package/server/usage.js +94 -0
- package/server/util.js +42 -0
- package/server/welcome.js +3 -3
- package/web/css/auto.css +29 -0
- package/web/css/automations.css +71 -0
- package/web/css/base.css +83 -0
- package/web/css/blocks.css +461 -0
- package/web/css/composer.css +84 -0
- package/web/css/feed.css +235 -0
- package/web/css/launcher.css +204 -0
- package/web/css/layout.css +61 -0
- package/web/css/machines.css +125 -0
- package/web/css/modals.css +176 -0
- package/web/css/palette.css +79 -0
- package/web/css/responsive.css +35 -0
- package/web/css/ship.css +95 -0
- package/web/css/subagents.css +130 -0
- package/web/css/tokens.css +115 -0
- package/web/index.html +17 -1
- package/web/js/app.js +28 -5237
- package/web/js/blocks.js +46 -0
- package/web/js/core/api.js +25 -0
- package/web/js/core/bus.js +28 -0
- package/web/js/core/dom.js +7 -0
- package/web/js/core/format.js +27 -0
- package/web/js/core/state.js +43 -0
- package/web/js/features/actions.js +344 -0
- package/web/js/features/attachments.js +115 -0
- package/web/js/features/auto.js +54 -0
- package/web/js/features/automations.js +305 -0
- package/web/js/features/commands.js +123 -0
- package/web/js/features/compare.js +105 -0
- package/web/js/features/composer.js +315 -0
- package/web/js/features/feed.js +400 -0
- package/web/js/features/feedback.js +127 -0
- package/web/js/features/keys.js +83 -0
- package/web/js/features/launcher.js +561 -0
- package/web/js/features/live.js +91 -0
- package/web/js/features/machines.js +313 -0
- package/web/js/features/memory.js +154 -0
- package/web/js/features/mentions.js +125 -0
- package/web/js/features/notify.js +36 -0
- package/web/js/features/phone.js +124 -0
- package/web/js/features/places.js +38 -0
- package/web/js/features/projects.js +284 -0
- package/web/js/features/runner-picker.js +233 -0
- package/web/js/features/runners.js +163 -0
- package/web/js/features/scroll.js +75 -0
- package/web/js/features/settings.js +390 -0
- package/web/js/features/setup.js +94 -0
- package/web/js/features/ship.js +122 -0
- package/web/js/features/team.js +386 -0
- package/web/js/features/turns.js +432 -0
- package/web/js/features/update.js +48 -0
- package/web/js/features/usage.js +75 -0
- package/web/js/mention-text.js +59 -0
- package/web/js/ui/kbd.js +46 -0
- package/web/js/ui/overlay.js +38 -0
- package/web/js/ui/popover.js +52 -0
- package/web/js/ui/toast.js +23 -0
- package/web/css/app.css +0 -1910
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/* ---------- overlay, modals, menus, toasts ---------- */
|
|
2
|
+
.overlay {
|
|
3
|
+
position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px;
|
|
4
|
+
background: rgba(0, 0, 0, 0.28);
|
|
5
|
+
opacity: 0; transition: opacity 0.2s;
|
|
6
|
+
}
|
|
7
|
+
.overlay.on { opacity: 1; }
|
|
8
|
+
.modal {
|
|
9
|
+
width: min(600px, 100%); max-height: 86vh; overflow-y: auto; padding: 18px 20px 20px; border-radius: 14px;
|
|
10
|
+
background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35); transform: translateY(4px); transition: transform 0.2s var(--ease);
|
|
11
|
+
}
|
|
12
|
+
.overlay.on .modal { transform: none; }
|
|
13
|
+
.modal header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
|
|
14
|
+
.modal h2 { margin: 0; font: 600 18px/1.2 var(--display); letter-spacing: -0.015em; }
|
|
15
|
+
.modal h4 { margin: 22px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
|
|
16
|
+
.modal .hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
|
|
17
|
+
.modal .hint code { font-size: 11.5px; padding: 1px 5px; border-radius: 5px; background: var(--bg-2); }
|
|
18
|
+
/* rerun dialog: the launcher's prompt + harness bar, in a modal. Its popovers sit above the overlay. */
|
|
19
|
+
.rr-box { padding: 8px 10px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); transition: border-color 0.15s, box-shadow 0.15s; }
|
|
20
|
+
.rr-box:is(:focus-within, :has(.open)) { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); box-shadow: 0 0 0 3px var(--accent-soft); }
|
|
21
|
+
.rr-prompt { display: block; width: 100%; resize: none; border: 0; outline: 0; background: transparent; padding: 6px 2px; font-size: 14.5px; line-height: 1.55; color: var(--ink); min-height: 72px; }
|
|
22
|
+
.rr-files { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 2px 6px; }
|
|
23
|
+
.rr-file { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 7px; font-size: 12px; color: var(--ink-2); background: var(--bg-2); }
|
|
24
|
+
.rr-file .i { width: 12px; height: 12px; color: var(--muted); }
|
|
25
|
+
.overlay:not([hidden]) ~ :is(.picker, .menu) { z-index: 55; }
|
|
26
|
+
.add-row { display: flex; gap: 8px; }
|
|
27
|
+
.path-input { position: relative; flex: 1; }
|
|
28
|
+
.path-input .i { width: 16px; height: 16px; }
|
|
29
|
+
.path-input .browse { display: grid; place-items: center; margin-left: -4px; width: 26px; height: 26px; border-radius: 7px; }
|
|
30
|
+
.path-input .browse:hover { background: var(--bg-2); }
|
|
31
|
+
.path-input .browse:hover .i { color: var(--accent); }
|
|
32
|
+
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 2; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
|
|
33
|
+
.suggest button { display: block; width: 100%; text-align: left; padding: 6px 10px; border-radius: 8px; font: 12.5px var(--mono); color: var(--ink-2); }
|
|
34
|
+
.suggest button:hover, .suggest button.on { background: var(--accent-soft); color: var(--ink); }
|
|
35
|
+
.plist { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
|
|
36
|
+
.prow { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 11px; transition: background 0.15s; }
|
|
37
|
+
.prow:hover { background: var(--surface-2); }
|
|
38
|
+
.swatch { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
|
|
39
|
+
.swatch:hover { background: var(--bg-2); }
|
|
40
|
+
.swatch .p-dot { width: 12px; height: 12px; }
|
|
41
|
+
.prow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
42
|
+
.pname { border: 0; background: transparent; outline: 0; font-weight: 600; padding: 0; border-radius: 4px; }
|
|
43
|
+
.pname:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
|
|
44
|
+
.ppath { font: 11.5px var(--mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
45
|
+
.pcount { font-size: 12px; color: var(--muted); }
|
|
46
|
+
.found { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
|
|
47
|
+
.found-item { display: grid; grid-template-columns: 16px 1fr; column-gap: 8px; text-align: left; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); transition: all 0.15s; }
|
|
48
|
+
.found-item:hover { border-color: var(--accent); background: var(--accent-soft); }
|
|
49
|
+
.found-item .i { grid-row: span 2; margin-top: 2px; color: var(--accent); }
|
|
50
|
+
.found-item b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
51
|
+
.found-item span { font: 11px var(--mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
52
|
+
.settings-modal label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
|
|
53
|
+
.settings-modal label > span { font-weight: 500; }
|
|
54
|
+
.settings-modal .setting { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
|
|
55
|
+
.settings-modal .setting > span:first-child { font-weight: 500; margin-right: auto; }
|
|
56
|
+
.switch { position: relative; flex: none; width: 34px; height: 20px; border-radius: 10px; background: var(--line-2); transition: background 0.15s; cursor: pointer; }
|
|
57
|
+
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
|
|
58
|
+
.switch[aria-checked='true'] { background: var(--accent); }
|
|
59
|
+
.switch[aria-checked='true']::after { transform: translateX(14px); }
|
|
60
|
+
.switch:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
61
|
+
.settings-modal label > .input { flex: 1; max-width: 340px; }
|
|
62
|
+
|
|
63
|
+
/* settings: sidebar of sections, one pane at a time */
|
|
64
|
+
.modal.sx { display: grid; grid-template-columns: 196px 1fr; width: min(880px, 100%); height: min(620px, 86vh); padding: 0; overflow: hidden; }
|
|
65
|
+
.sx-nav { display: flex; flex-direction: column; gap: 1px; padding: 18px 10px; background: var(--bg-2); border-right: 1px solid var(--line); overflow-y: auto; }
|
|
66
|
+
.sx-nav h2 { margin: 0 8px 14px; font: 600 18px/1.2 var(--display); letter-spacing: -0.015em; }
|
|
67
|
+
.sx-nav button { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); text-align: left; transition: background 0.12s, color 0.12s; }
|
|
68
|
+
.sx-nav button .i { width: 15px; height: 15px; color: var(--muted); }
|
|
69
|
+
.sx-nav button span { flex: 1; }
|
|
70
|
+
.sx-nav button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
|
|
71
|
+
.sx-nav button[aria-selected='true'] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-1); }
|
|
72
|
+
.sx-nav button[aria-selected='true'] .i { color: var(--accent); }
|
|
73
|
+
.sx-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
74
|
+
.sx-main { min-width: 0; padding: 18px 24px 24px; overflow-y: auto; }
|
|
75
|
+
.sx-main > header { align-items: flex-start; gap: 16px; margin-bottom: 18px; }
|
|
76
|
+
.sx-title { margin: 2px 0 4px; font: 600 16px/1.3 var(--display); letter-spacing: -0.01em; }
|
|
77
|
+
.sx-lede { margin: 0; font-size: 12.5px; color: var(--muted); }
|
|
78
|
+
.sx-group { --field-bg: var(--surface); border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
|
|
79
|
+
.sx-group + .sx-group, .sx-pane > * + .sx-group { margin-top: 14px; }
|
|
80
|
+
.sx-row { display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 9px 14px; }
|
|
81
|
+
.sx-row + .sx-row { border-top: 1px solid var(--line); }
|
|
82
|
+
.sx-row[hidden] { display: none; }
|
|
83
|
+
.sx-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
84
|
+
.sx-text b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13.5px; }
|
|
85
|
+
.sx-text small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
|
|
86
|
+
.sx-text code { font-size: 11px; }
|
|
87
|
+
.sx-ctl { flex: none; display: flex; align-items: center; gap: 8px; }
|
|
88
|
+
.sx-ctl .input { width: 300px; }
|
|
89
|
+
.sx-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
|
|
90
|
+
.sx-state.bad { color: var(--bad); }
|
|
91
|
+
#recheck.busy { cursor: progress; }
|
|
92
|
+
#recheck.busy .i { animation: spin 0.8s linear infinite reverse; }
|
|
93
|
+
.sx-usage .it-loading { grid-column: 1 / -1; }
|
|
94
|
+
/* a view (Memory, Automations, Usage, Phone) opened inside Settings: no dialog chrome of its own */
|
|
95
|
+
.modal.embedded { width: auto; max-height: none; overflow: visible; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; transform: none; }
|
|
96
|
+
.modal.embedded header { justify-content: flex-start; gap: 10px; }
|
|
97
|
+
.modal.embedded header h2 { font-size: 16px; margin-right: auto; }
|
|
98
|
+
.sx-back { margin-left: -8px; padding: 0 8px 0 4px; color: var(--muted); }
|
|
99
|
+
.sx-back .i { width: 16px; height: 16px; }
|
|
100
|
+
@media (max-width: 640px) {
|
|
101
|
+
.modal.sx { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
|
|
102
|
+
.sx-nav { flex-direction: row; align-items: center; padding: 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
|
|
103
|
+
.sx-nav h2 { display: none; }
|
|
104
|
+
.sx-nav button { flex: none; }
|
|
105
|
+
.sx-main { padding: 16px; }
|
|
106
|
+
.sx-ctl .input { width: 180px; }
|
|
107
|
+
.sx-usage { grid-template-columns: repeat(2, 1fr); }
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* memory: what the background retros learned */
|
|
111
|
+
.memory-modal { width: min(680px, 100%); }
|
|
112
|
+
.memory-modal header { gap: 10px; }
|
|
113
|
+
.memory-modal header h2 { margin-right: auto; }
|
|
114
|
+
.mem-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
|
|
115
|
+
.mem-live .orb.live { --s: 11px; border-width: 1.5px; }
|
|
116
|
+
.mem-lede { margin: -6px 0 14px; font-size: 13px; color: var(--muted); }
|
|
117
|
+
.mem-tabs { display: flex; align-items: center; gap: 2px; padding: 3px; overflow-x: auto; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
|
|
118
|
+
.mem-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: background 0.12s, color 0.12s; }
|
|
119
|
+
.mem-tabs button:hover { color: var(--ink); }
|
|
120
|
+
.mem-tabs button.on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-1); }
|
|
121
|
+
.mem-tabs button span { min-width: 16px; padding: 0 4px; border-radius: 5px; font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; background: var(--line); color: var(--muted); }
|
|
122
|
+
.mem-tabs button.on span { background: var(--accent-soft); color: var(--accent-ink); }
|
|
123
|
+
.mem-tabs i { flex: 1; min-width: 8px; }
|
|
124
|
+
.mem-body { padding-top: 6px; }
|
|
125
|
+
.mem-body.off .mem-sec, .mem-body.off .tl { opacity: 0.5; }
|
|
126
|
+
.mem-off { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: var(--ink-2); background: var(--bg-2); }
|
|
127
|
+
.mem-off span { flex: 1; }
|
|
128
|
+
.mem-off .i { color: var(--muted); }
|
|
129
|
+
.mem-budget { margin: 10px 2px 0; }
|
|
130
|
+
.mem-sec h4 { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
|
|
131
|
+
.mem-sec h4 .muted { font-weight: 400; }
|
|
132
|
+
.mem-sec h4 em { margin-left: auto; font: 500 11px var(--mono); font-style: normal; color: var(--faint); }
|
|
133
|
+
.mem-sec h4 em.full { color: var(--warn); }
|
|
134
|
+
.mem-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; transition: background 0.12s; }
|
|
135
|
+
.mem-item:hover { background: var(--surface-2); }
|
|
136
|
+
.mem-ico { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); }
|
|
137
|
+
.mem-sec[data-kind='lessons'] .mem-ico, .mem-sec[data-kind='lessons'] .mem-edit .mem-ico { background: var(--add-bg); color: var(--good); }
|
|
138
|
+
.mem-ico .i { width: 13px; height: 13px; }
|
|
139
|
+
.mem-main { flex: 1; min-width: 0; }
|
|
140
|
+
.mem-main p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
|
|
141
|
+
.mem-src { font-size: 11.5px; color: var(--faint); }
|
|
142
|
+
.mem-src a, .tl-head a { color: inherit; text-decoration: none; }
|
|
143
|
+
.mem-src a:hover, .tl-head a:hover { color: var(--accent-ink); text-decoration: underline; }
|
|
144
|
+
.mem-acts { display: flex; gap: 2px; opacity: 0; transition: opacity 0.12s; }
|
|
145
|
+
.mem-item:hover .mem-acts, .mem-item:focus-within .mem-acts { opacity: 1; }
|
|
146
|
+
.mem-edit { align-items: center; padding-top: 7px; padding-bottom: 7px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent); }
|
|
147
|
+
.mem-edit input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 13.5px var(--sans); color: var(--ink); }
|
|
148
|
+
.mem-add { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 4px 8px 4px 6px; border-radius: 7px; font-size: 12.5px; color: var(--muted); }
|
|
149
|
+
.mem-add:hover { color: var(--accent-ink); background: var(--accent-soft); }
|
|
150
|
+
.mem-add .i { width: 13px; height: 13px; }
|
|
151
|
+
.mem-empty { margin: 2px 0 4px; font-size: 12.5px; color: var(--faint); }
|
|
152
|
+
.mem-body > .mem-empty { margin: 22px 0 8px; text-align: center; }
|
|
153
|
+
/* retros: a timeline, newest first */
|
|
154
|
+
.tl { position: relative; display: flex; gap: 12px; padding: 12px 0 2px; }
|
|
155
|
+
.tl:first-of-type { margin-top: 6px; }
|
|
156
|
+
.tl::before { content: ''; position: absolute; left: 4.5px; top: 26px; bottom: -12px; width: 1px; background: var(--line); }
|
|
157
|
+
.tl:last-child::before { display: none; }
|
|
158
|
+
.tl-dot { flex: none; display: grid; place-items: center; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--surface); }
|
|
159
|
+
.tl.nothing .tl-dot { background: var(--line-2); }
|
|
160
|
+
.tl.failed .tl-dot { background: var(--bad); }
|
|
161
|
+
.tl.running .tl-dot { background: none; }
|
|
162
|
+
.tl.running .orb.live { --s: 12px; border-width: 1.5px; }
|
|
163
|
+
.tl-main { flex: 1; min-width: 0; }
|
|
164
|
+
.tl-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
|
|
165
|
+
.tl-head b { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
166
|
+
.tl-head .muted:last-child { margin-left: auto; flex: none; }
|
|
167
|
+
.tl-main p { margin: 2px 0; font-size: 12.5px; line-height: 1.45; }
|
|
168
|
+
.tl-add::before { content: '+ '; color: var(--good); font-weight: 600; }
|
|
169
|
+
.tl-del { color: var(--muted); }
|
|
170
|
+
.tl-del::before { content: '− '; font-weight: 600; }
|
|
171
|
+
.tl-tag { margin-left: 4px; font-size: 11px; color: var(--faint); white-space: nowrap; }
|
|
172
|
+
.tl-err { color: var(--bad); font: 11.5px/1.45 var(--mono); }
|
|
173
|
+
.keys-modal { width: min(380px, 100%); }
|
|
174
|
+
.krow { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
|
|
175
|
+
.krow kbd { min-width: 56px; text-align: center; font-size: 11.5px; }
|
|
176
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* ---------- command palette (⌘K) ---------- */
|
|
2
|
+
.search-btn {
|
|
3
|
+
display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 6px 0 10px; border-radius: 9px;
|
|
4
|
+
border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 13px; transition: border-color 0.15s, color 0.15s;
|
|
5
|
+
}
|
|
6
|
+
.search-btn:hover { border-color: var(--line-2); color: var(--ink); }
|
|
7
|
+
.search-btn .i { width: 14px; height: 14px; }
|
|
8
|
+
.search-btn kbd { margin-left: 8px; }
|
|
9
|
+
.update-btn {
|
|
10
|
+
display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 9px;
|
|
11
|
+
background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 500; transition: background 0.15s;
|
|
12
|
+
}
|
|
13
|
+
.update-btn[hidden] { display: none; }
|
|
14
|
+
.update-btn:hover { background: var(--accent); color: #fff; }
|
|
15
|
+
.update-btn.busy { opacity: 0.7; cursor: progress; }
|
|
16
|
+
.update-btn .i { width: 14px; height: 14px; }
|
|
17
|
+
.auto-btn {
|
|
18
|
+
display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 9px;
|
|
19
|
+
border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 13px; transition: border-color 0.15s, color 0.15s;
|
|
20
|
+
}
|
|
21
|
+
.auto-btn:hover { border-color: var(--line-2); color: var(--ink); }
|
|
22
|
+
.auto-btn .i { width: 14px; height: 14px; }
|
|
23
|
+
.auto-btn.live .i { color: var(--accent); }
|
|
24
|
+
.ab-n { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
|
|
25
|
+
.ab-n[hidden] { display: none; }
|
|
26
|
+
.overlay:has(.palette) { place-items: start center; padding-top: min(14vh, 120px); background: rgba(0, 0, 0, 0.18); }
|
|
27
|
+
.palette {
|
|
28
|
+
display: flex; flex-direction: column; width: min(640px, 100%); max-height: min(560px, 72vh); overflow: hidden; border-radius: 14px;
|
|
29
|
+
background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 30px 70px -18px rgba(0, 0, 0, 0.4);
|
|
30
|
+
transform: scale(0.98) translateY(-4px); transition: transform 0.18s var(--ease);
|
|
31
|
+
}
|
|
32
|
+
.overlay.on .palette { transform: none; }
|
|
33
|
+
.pal-input { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px; border-bottom: 1px solid var(--line); }
|
|
34
|
+
.pal-input .i { width: 18px; height: 18px; color: var(--faint); }
|
|
35
|
+
.pal-input input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
|
|
36
|
+
.pal-input input::placeholder { color: var(--faint); }
|
|
37
|
+
.pal-list { flex: 1; min-height: 0; overflow-y: auto; padding: 6px; scroll-padding: 28px 0 6px; overscroll-behavior: contain; }
|
|
38
|
+
.pal-group { padding: 10px 10px 5px; font-size: 11.5px; font-weight: 500; color: var(--faint); letter-spacing: 0.01em; }
|
|
39
|
+
.pal-group:first-child { padding-top: 6px; }
|
|
40
|
+
.pal-row { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 8px; cursor: pointer; color: var(--ink-2); font-size: 13.5px; }
|
|
41
|
+
.pal-row.on { background: var(--bg-2); color: var(--ink); }
|
|
42
|
+
.pal-lead { display: grid; place-items: center; width: 18px; flex: none; color: var(--muted); }
|
|
43
|
+
.pal-row.on .pal-lead { color: var(--ink); }
|
|
44
|
+
.pal-lead .i { width: 15px; height: 15px; }
|
|
45
|
+
.pal-label { flex: none; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
46
|
+
.pal-label mark { background: none; color: var(--accent-ink); font-weight: 600; }
|
|
47
|
+
.pal-sub { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--faint); }
|
|
48
|
+
.pal-kbd { margin-left: auto; display: flex; gap: 3px; flex: none; }
|
|
49
|
+
.pal-empty { padding: 34px 12px; text-align: center; color: var(--muted); font-size: 13.5px; }
|
|
50
|
+
.pal-foot { flex: none; display: flex; gap: 16px; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 11.5px; color: var(--faint); }
|
|
51
|
+
.pal-foot kbd { margin-right: 3px; }
|
|
52
|
+
|
|
53
|
+
.menu { position: fixed; z-index: 40; min-width: 220px; padding: 5px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); animation: pop 0.2s var(--ease); }
|
|
54
|
+
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); }
|
|
55
|
+
.menu button:hover { background: var(--bg-2); color: var(--ink); }
|
|
56
|
+
.menu .danger:hover { color: var(--bad); background: var(--del-bg); }
|
|
57
|
+
.menu-kbd { margin-left: auto; }
|
|
58
|
+
|
|
59
|
+
.toasts { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
|
|
60
|
+
.toast {
|
|
61
|
+
pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 9px 12px 9px 16px; border-radius: 13px; max-width: min(560px, 92vw);
|
|
62
|
+
background: var(--ink); color: var(--bg); box-shadow: var(--shadow-2); font-size: 13.5px; animation: toast-in 0.35s var(--ease);
|
|
63
|
+
transition: opacity 0.35s, transform 0.35s;
|
|
64
|
+
}
|
|
65
|
+
.toast .i { vertical-align: -3px; margin-right: 4px; }
|
|
66
|
+
.toast .link { color: color-mix(in srgb, var(--bg) 75%, var(--accent)); white-space: nowrap; }
|
|
67
|
+
.toast.bad { background: var(--bad); color: #fff; }
|
|
68
|
+
.toast.out { opacity: 0; transform: translateY(8px); }
|
|
69
|
+
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
|
|
70
|
+
|
|
71
|
+
.flying-wisp {
|
|
72
|
+
position: fixed; z-index: 70; width: 12px; height: 12px; border-radius: 50%; pointer-events: none;
|
|
73
|
+
background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@keyframes pulse { 50% { opacity: 0.35; } }
|
|
77
|
+
@keyframes ring { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
|
|
78
|
+
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
|
|
79
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* ---------- responsive ---------- */
|
|
2
|
+
@media (max-width: 720px) {
|
|
3
|
+
.topbar { padding: 0 12px; gap: 10px; }
|
|
4
|
+
.search-btn span, .search-btn kbd, .update-btn span, .auto-btn span { display: none; }
|
|
5
|
+
.auto-btn { padding: 0 8px; border-color: transparent; background: none; }
|
|
6
|
+
.search-btn { padding: 0 8px; border-color: transparent; background: none; }
|
|
7
|
+
.feed-wrap { padding: 14px 16px 80px; }
|
|
8
|
+
.launcher.docked { width: calc(100% - 32px); }
|
|
9
|
+
.it-side .q-proj, .it-actions span, .c-done span, .q-machine span { display: none; }
|
|
10
|
+
.mc-row { flex-direction: column; }
|
|
11
|
+
.mc-field { width: auto; }
|
|
12
|
+
.mc-meta, .mc-steps, .mc-hint, .mc-projects, .mc-edit { margin-left: 0; }
|
|
13
|
+
.turns { padding: 6px 14px 8px; }
|
|
14
|
+
.it-dock { padding: 4px 10px 10px; }
|
|
15
|
+
.b-hero h2 { font-size: 22px; }
|
|
16
|
+
.b-compare { grid-template-columns: 1fr; gap: 8px; }
|
|
17
|
+
.b-compare .arrow { transform: rotate(90deg); height: 20px; }
|
|
18
|
+
.cols { flex-direction: column; gap: 30px; align-items: stretch; }
|
|
19
|
+
.col { max-width: none; flex-direction: row; justify-content: center; }
|
|
20
|
+
.col .node { flex: 1; max-width: 260px; }
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (prefers-reduced-motion: reduce) {
|
|
24
|
+
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* ---------- desktop (Electron) ---------- */
|
|
28
|
+
/* Drag regions swallow clicks even under overlays: only the top bar drags,
|
|
29
|
+
and everything clickable in it (or floating above it) opts out. */
|
|
30
|
+
.drag-strip { display: none; }
|
|
31
|
+
body.electron .topbar { -webkit-app-region: drag; }
|
|
32
|
+
body.electron .topbar button, body.electron .topbar a, body.electron .topbar .projects { -webkit-app-region: no-drag; }
|
|
33
|
+
body.electron .overlay, body.electron .overlay *, body.electron .menu, body.electron .menu *, body.electron .toasts, body.electron .toast * { -webkit-app-region: no-drag; }
|
|
34
|
+
body.electron.mac .topbar { padding-left: 88px; }
|
|
35
|
+
|
package/web/css/ship.css
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* ---------- worktrees, compare, ship it ---------- */
|
|
2
|
+
.tog-btn {
|
|
3
|
+
display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px; border-radius: 9px;
|
|
4
|
+
font-size: 12.5px; color: var(--muted); transition: background 0.15s, color 0.15s;
|
|
5
|
+
}
|
|
6
|
+
.tog-btn:hover { background: var(--bg-2); color: var(--ink); }
|
|
7
|
+
.tog-btn.on { color: var(--accent-ink); }
|
|
8
|
+
.tog-btn:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--accent-soft), 0 0 0 1px var(--accent); }
|
|
9
|
+
.vs-mark { font: 600 11px var(--mono); }
|
|
10
|
+
.q-vs { font: 600 10.5px var(--mono); color: var(--accent-ink); padding: 1px 5px; border-radius: 5px; background: var(--accent-soft); }
|
|
11
|
+
|
|
12
|
+
/* a compare task: one card, the shared prompt on top and a row per run under it */
|
|
13
|
+
.task-item {
|
|
14
|
+
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip;
|
|
15
|
+
transition: border-color 0.15s, box-shadow 0.15s;
|
|
16
|
+
}
|
|
17
|
+
.task-item:hover, .task-item:has(.item.focused) { border-color: var(--line-2); }
|
|
18
|
+
.task-item:has(.item.open) { border-color: var(--line-2); box-shadow: var(--shadow-2); }
|
|
19
|
+
.task-item.st-done { background: transparent; }
|
|
20
|
+
.task-item.arrived { animation: arrive 1.4s var(--ease); }
|
|
21
|
+
.task-head { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px 9px 14px; }
|
|
22
|
+
.task-head .it-title { color: var(--ink); font-weight: 600; }
|
|
23
|
+
.task-item.st-done .task-head .it-title { color: var(--muted); font-weight: 500; }
|
|
24
|
+
.task-item.st-done .q-dot { opacity: 0.35; }
|
|
25
|
+
.task-head .it-sub { display: flex; align-items: center; gap: 7px; }
|
|
26
|
+
.task-item.st-waiting .task-head .it-sub { color: var(--warn); }
|
|
27
|
+
.task-head .ghost .vs-mark { margin-right: 5px; color: var(--accent-ink); }
|
|
28
|
+
.task-item:hover .it-quick, .task-head .it-quick:focus-visible { opacity: 1; }
|
|
29
|
+
.task-runs { display: flex; flex-direction: column; }
|
|
30
|
+
.item.run { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
|
|
31
|
+
.item.run.focused { box-shadow: inset 2px 0 0 var(--line-2); background: var(--surface-2); }
|
|
32
|
+
.item.run.open { box-shadow: inset 2px 0 0 var(--accent); }
|
|
33
|
+
.item.run .it-head { grid-template-columns: 18px 1fr auto; padding: 8px 12px 8px 26px; border-radius: 0; }
|
|
34
|
+
.item.run.open .it-head { border-radius: 0; }
|
|
35
|
+
.item.run .it-title { font-size: 13px; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
|
|
36
|
+
.item.run .it-title b { font-weight: 600; color: var(--ink); }
|
|
37
|
+
.run-model { margin-left: 8px; color: var(--muted); }
|
|
38
|
+
.item.run .it-sub, .item.run .q-live { font-size: 12px; }
|
|
39
|
+
.run-logo { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--bg-2); color: var(--ink); }
|
|
40
|
+
.run-logo > * { display: block; width: 11px; height: 11px; }
|
|
41
|
+
.run-logo .mono { background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
|
|
42
|
+
.pill.st-running { --tone: var(--accent); }
|
|
43
|
+
.it-meta .m.branch, .it-meta .m:has(> .i) { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
44
|
+
.it-meta .m.branch { font: 11px var(--mono); color: var(--ink-2); }
|
|
45
|
+
.it-meta .m .i { width: 12px; height: 12px; flex: none; color: var(--faint); }
|
|
46
|
+
.it-meta .m.m-plan, .it-meta .m.m-plan .i { color: var(--accent-ink); }
|
|
47
|
+
.it-meta .m.m-auto, .it-meta .m.m-auto .i { color: var(--warn); }
|
|
48
|
+
|
|
49
|
+
.pill.pr { gap: 5px; font-variant-numeric: tabular-nums; }
|
|
50
|
+
.pill.pr-pass, .pr-strip.pr-pass { --tone: var(--good); }
|
|
51
|
+
.pill.pr-pending, .pr-strip.pr-pending { --tone: var(--warn); }
|
|
52
|
+
.pill.pr-fail, .pr-strip.pr-fail { --tone: var(--bad); }
|
|
53
|
+
.pill.pr-merged, .pr-strip.pr-merged { --tone: #8250df; }
|
|
54
|
+
.pill.pr-closed, .pr-strip.pr-closed { --tone: var(--faint); }
|
|
55
|
+
.pr-strip {
|
|
56
|
+
display: flex; align-items: center; gap: 8px; margin: 8px 14px 4px; padding: 5px 6px 5px 10px; border-radius: 9px;
|
|
57
|
+
font-size: 12.5px; background: color-mix(in srgb, var(--tone) 7%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 18%, transparent);
|
|
58
|
+
}
|
|
59
|
+
.pr-strip[hidden] { display: none; }
|
|
60
|
+
.pr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); flex: none; }
|
|
61
|
+
.pr-strip.pr-pending .pr-dot { animation: pulse 1.4s ease-in-out infinite; }
|
|
62
|
+
.pr-num { font-weight: 600; color: var(--ink); white-space: nowrap; }
|
|
63
|
+
.pr-line { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
64
|
+
.pr-strip .ghost .i { width: 13px; height: 13px; }
|
|
65
|
+
.pr-strip .pr-merge { color: var(--good); font-weight: 500; }
|
|
66
|
+
@keyframes pulse { 50% { opacity: 0.35; } }
|
|
67
|
+
|
|
68
|
+
.ship-modal, .run-modal { width: min(620px, 100%); }
|
|
69
|
+
.ship-route { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; font-size: 12.5px; }
|
|
70
|
+
.ship-route code { font: 12px var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--bg-2); }
|
|
71
|
+
.ship-route .i { width: 13px; height: 13px; color: var(--faint); }
|
|
72
|
+
.ship-route .muted { margin-left: auto; }
|
|
73
|
+
.ship-field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; }
|
|
74
|
+
.ship-field > span { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
|
|
75
|
+
.ship-field select { width: 100%; }
|
|
76
|
+
.ship-check { display: flex; margin-top: 10px; }
|
|
77
|
+
.ship-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
|
|
78
|
+
.ship-foot > .muted { margin-right: auto; }
|
|
79
|
+
.ship-foot code { font-size: 11px; }
|
|
80
|
+
.hint.bad { color: var(--bad); }
|
|
81
|
+
|
|
82
|
+
.compare-modal { width: min(1280px, 100%); max-height: 92vh; display: flex; flex-direction: column; }
|
|
83
|
+
.cmp-prompt { margin: -6px 0 14px; padding: 8px 12px; border-radius: 10px; background: var(--bg-2); font-size: 13px; white-space: pre-wrap; max-height: 96px; overflow: auto; }
|
|
84
|
+
.cmp-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(280px, 1fr)); gap: 12px; overflow-x: auto; }
|
|
85
|
+
.cmp-col { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
|
|
86
|
+
.cmp-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
|
|
87
|
+
.cmp-who { display: flex; flex-direction: column; margin-right: auto; min-width: 0; }
|
|
88
|
+
.cmp-who small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
89
|
+
.cmp-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--line); }
|
|
90
|
+
.cmp-stats div { display: flex; flex-direction: column; gap: 2px; }
|
|
91
|
+
.cmp-stats dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint); }
|
|
92
|
+
.cmp-stats dd { margin: 0; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
93
|
+
.cmp-body { flex: 1; min-height: 160px; max-height: 58vh; overflow: auto; padding: 12px; background: var(--surface); }
|
|
94
|
+
.cmp-foot { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); }
|
|
95
|
+
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/* ---------- subagents ---------- */
|
|
2
|
+
/* logo stack: the lead in front, its subagents tucked behind; they fan out on hover */
|
|
3
|
+
.team-stack { position: relative; display: inline-flex; align-items: center; flex: none; height: 20px; padding-right: 1px; outline: none; cursor: default; }
|
|
4
|
+
.team-stack .ts-l, .team-stack .ts-m, .tb-stack .ts-m {
|
|
5
|
+
position: relative; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%;
|
|
6
|
+
background: var(--bg-2); color: var(--ink); box-shadow: 0 0 0 1.5px var(--surface);
|
|
7
|
+
transition: margin 0.22s var(--ease), transform 0.22s var(--ease), opacity 0.15s, filter 0.15s;
|
|
8
|
+
}
|
|
9
|
+
.team-stack .ts-l { z-index: 6; background: var(--surface); box-shadow: 0 0 0 1.5px var(--surface), inset 0 0 0 1px var(--line-2); }
|
|
10
|
+
.team-stack .ts-m { margin-left: -4px; z-index: calc(5 - var(--i)); }
|
|
11
|
+
.team-stack :is(.ts-l, .ts-m) > *, .tb-stack .ts-m > * { display: block; width: 11px; height: 11px; }
|
|
12
|
+
.team-stack .mono, .tb-stack .mono, .sub-logo .mono, .tl-logo .mono { background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
|
|
13
|
+
.team-stack .ts-more { font: 600 9.5px var(--mono); color: var(--muted); }
|
|
14
|
+
.team-stack .ts-m.idle { opacity: 0.45; filter: grayscale(1); }
|
|
15
|
+
.team-stack:is(:hover, :focus-visible) .ts-m { margin-left: 3px; transform: translateY(calc(-1px * (var(--i) - 1.5))); }
|
|
16
|
+
.team-stack:is(:hover, :focus-visible) .ts-m.idle { opacity: 0.8; filter: none; }
|
|
17
|
+
.team-stack .ts-m.busy { background: var(--accent-soft); animation: ts-pulse 1.4s var(--ease) infinite; }
|
|
18
|
+
@keyframes ts-pulse { 50% { box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent); } }
|
|
19
|
+
@keyframes ts-spin { to { transform: rotate(360deg); } }
|
|
20
|
+
.team-stack::after {
|
|
21
|
+
content: attr(data-tip); position: absolute; right: -6px; top: calc(100% + 6px); transform: translateY(-2px);
|
|
22
|
+
padding: 3px 7px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; white-space: nowrap;
|
|
23
|
+
opacity: 0; pointer-events: none; transition: opacity 0.12s, transform 0.12s; z-index: 7;
|
|
24
|
+
}
|
|
25
|
+
.team-stack:is(:hover, :focus-visible)::after { opacity: 1; transform: none; }
|
|
26
|
+
.subs-head .team-stack::after { right: auto; left: 0; }
|
|
27
|
+
.it-side .team-stack { margin-right: 2px; }
|
|
28
|
+
|
|
29
|
+
/* launcher button + its member stack */
|
|
30
|
+
.tb-stack { display: inline-flex; align-items: center; flex: none; }
|
|
31
|
+
.tb-stack .ts-m { width: 18px; height: 18px; z-index: calc(6 - var(--i)); }
|
|
32
|
+
.tb-stack .ts-more { font: 600 9px var(--mono); color: var(--muted); }
|
|
33
|
+
.tb-stack .ts-m + .ts-m { margin-left: -4px; }
|
|
34
|
+
.team-btn.on { color: var(--accent-ink); background: var(--accent-soft); }
|
|
35
|
+
.team-btn.on:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
|
|
36
|
+
.team-btn.off { color: var(--faint); }
|
|
37
|
+
.team-btn.off .tb-stack { opacity: 0.5; filter: grayscale(1); }
|
|
38
|
+
.team-btn .tb-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
39
|
+
.team-btn.open { background: var(--bg-2); color: var(--ink); }
|
|
40
|
+
/* narrow bar: the member logos carry the button, so the harness name keeps its room */
|
|
41
|
+
@container launcher (max-width: 640px) { .team-btn .tb-label { display: none; } }
|
|
42
|
+
|
|
43
|
+
/* editor popover */
|
|
44
|
+
.team-pop {
|
|
45
|
+
position: fixed; z-index: 40; display: flex; flex-direction: column; max-height: min(520px, 76vh); overflow: hidden;
|
|
46
|
+
border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); animation: pop 0.2s var(--ease);
|
|
47
|
+
}
|
|
48
|
+
.tp-head { display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 10px; }
|
|
49
|
+
.tp-title { flex: 1; display: grid; gap: 2px; }
|
|
50
|
+
.tp-title b { font-weight: 600; font-size: 14px; }
|
|
51
|
+
.tp-title small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
|
|
52
|
+
.tp-presets { flex: none; gap: 5px; }
|
|
53
|
+
.tp-presets .chev { width: 11px; height: 11px; transform: rotate(90deg); color: var(--faint); }
|
|
54
|
+
.tp-warn { display: flex; gap: 8px; margin: 0 14px 10px; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 25%, var(--line)); }
|
|
55
|
+
.tp-warn[hidden] { display: none; }
|
|
56
|
+
.tp-warn .i { flex: none; width: 14px; height: 14px; margin-top: 1px; }
|
|
57
|
+
.tp-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 0 14px 12px; }
|
|
58
|
+
.tp-row { --field-bg: var(--surface); display: grid; gap: 6px; padding: 8px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); animation: rise 0.25s var(--ease) both; }
|
|
59
|
+
.tp-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
|
60
|
+
.tp-runner { flex: 0 1 auto; min-width: 0; overflow: hidden; }
|
|
61
|
+
.tp-runner .rb-m { max-width: 140px; }
|
|
62
|
+
.tp-name { flex: 1 1 90px; min-width: 70px; width: auto; gap: 0; color: var(--faint); }
|
|
63
|
+
.tp-copies { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 2px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); }
|
|
64
|
+
.tp-copies b { min-width: 22px; text-align: center; font: 500 12px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
65
|
+
.tp-copies.on { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
|
|
66
|
+
.tp-copies.on b { color: var(--accent-ink); }
|
|
67
|
+
.tp-copies button { display: grid; place-items: center; width: 22px; height: 24px; border-radius: 7px; color: var(--muted); }
|
|
68
|
+
.tp-copies button:hover:not(:disabled) { background: var(--bg-2); color: var(--ink); }
|
|
69
|
+
.tp-copies button:disabled { opacity: 0.35; }
|
|
70
|
+
.tp-copies button:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--accent); }
|
|
71
|
+
.tp-copies .i { width: 11px; height: 11px; }
|
|
72
|
+
.tp-del { flex: none; width: 28px; height: 28px; }
|
|
73
|
+
.tp-del .i { width: 13px; height: 13px; }
|
|
74
|
+
.tp-use > span { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
|
|
75
|
+
.tp-empty { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 11px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }
|
|
76
|
+
.tp-empty .i { flex: none; width: 22px; height: 22px; color: var(--faint); }
|
|
77
|
+
.tp-empty p { margin: 0; line-height: 1.4; }
|
|
78
|
+
.tp-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--surface-2); }
|
|
79
|
+
.tp-count { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
|
|
80
|
+
.tp-saveform { display: flex; align-items: center; gap: 8px; flex: 1; }
|
|
81
|
+
.tp-saveform .input { flex: 1; }
|
|
82
|
+
.menu.tp-menu { width: 300px; }
|
|
83
|
+
.menu.tp-menu button { align-items: center; text-align: left; }
|
|
84
|
+
.menu.tp-menu button.on b { color: var(--accent-ink); }
|
|
85
|
+
.tp-mdel { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; color: var(--faint); opacity: 0; }
|
|
86
|
+
.menu.tp-menu button:hover .tp-mdel { opacity: 1; }
|
|
87
|
+
.tp-mdel:hover { color: var(--bad); background: var(--del-bg); }
|
|
88
|
+
.tp-mdel .i { width: 13px; height: 13px; }
|
|
89
|
+
.tp-mempty { padding: 12px; font-size: 13px; color: var(--muted); }
|
|
90
|
+
|
|
91
|
+
/* session meta */
|
|
92
|
+
.it-meta .m.team-m { font: 11px var(--mono); color: var(--accent-ink); }
|
|
93
|
+
|
|
94
|
+
/* live: one line per subagent while the lead waits */
|
|
95
|
+
.team-live { display: grid; gap: 4px; margin: 0 0 10px; padding: 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
|
|
96
|
+
.tl-row { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 3px 4px; font-size: 13px; }
|
|
97
|
+
.tl-logo { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); position: relative; }
|
|
98
|
+
.tl-logo > * { width: 12px; height: 12px; display: block; }
|
|
99
|
+
.tl-row.live .tl-logo::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--accent); border-right-color: transparent; border-bottom-color: transparent; animation: ts-spin 1.1s linear infinite; }
|
|
100
|
+
.tl-name { flex: none; font: 500 12.5px var(--mono); color: var(--ink); }
|
|
101
|
+
.tl-live { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
|
|
102
|
+
.tl-row.live .tl-live { color: var(--ink-2); }
|
|
103
|
+
.tl-row .elapsed { flex: none; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
|
|
104
|
+
|
|
105
|
+
/* after: the team's reports */
|
|
106
|
+
.subs { margin: 14px 0 4px; }
|
|
107
|
+
.subs-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
|
|
108
|
+
.subs-head b { font-weight: 600; }
|
|
109
|
+
.subs-to { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 12px var(--mono); color: var(--muted); }
|
|
110
|
+
.subs-list { display: grid; gap: 6px; }
|
|
111
|
+
.sub { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color 0.15s; }
|
|
112
|
+
.sub:hover, .sub.open { border-color: var(--line-2); }
|
|
113
|
+
.sub-head { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; text-align: left; }
|
|
114
|
+
.sub-logo { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-2); color: var(--ink); }
|
|
115
|
+
.sub-logo > * { width: 15px; height: 15px; display: block; }
|
|
116
|
+
.sub-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
|
|
117
|
+
.sub-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
|
|
118
|
+
.sub-top b { flex: none; font: 600 12.5px var(--mono); color: var(--ink); }
|
|
119
|
+
.sub-model { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--faint); }
|
|
120
|
+
.sub-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--ink-2); }
|
|
121
|
+
.sub-side { display: flex; align-items: center; gap: 10px; flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
|
|
122
|
+
.sub-side .chev { width: 12px; height: 12px; color: var(--faint); transform: rotate(90deg); transition: transform 0.2s var(--ease); }
|
|
123
|
+
.sub.open .sub-side .chev { transform: rotate(-90deg); }
|
|
124
|
+
.sub-body { padding: 4px 14px 14px; border-top: 1px solid var(--line); background: var(--surface-2); }
|
|
125
|
+
.sub-task { margin: 10px 0 12px; }
|
|
126
|
+
.sub-task span { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
|
|
127
|
+
.sub-task p { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); white-space: pre-wrap; }
|
|
128
|
+
.sub-wait { margin: 0; font-size: 13px; }
|
|
129
|
+
@container (max-width: 520px) { .sub-files, .sub-dur, .sub-model { display: none; } }
|
|
130
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/* wisp — quiet, neutral, out of the way. One accent, hairlines, native type. */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--bg: #ffffff;
|
|
5
|
+
--bg-2: #f3f3f2;
|
|
6
|
+
--rail: #f7f7f6;
|
|
7
|
+
--surface: #ffffff;
|
|
8
|
+
--surface-2: #f9f9f8;
|
|
9
|
+
--ink: #171717;
|
|
10
|
+
--ink-2: #3d3d3d;
|
|
11
|
+
--muted: #6e6e6e;
|
|
12
|
+
--faint: #a3a3a3;
|
|
13
|
+
--line: #ebebea;
|
|
14
|
+
--line-2: #dcdcda;
|
|
15
|
+
--accent: #2f5bea;
|
|
16
|
+
--accent-ink: #2149cc;
|
|
17
|
+
--accent-soft: rgba(47, 91, 234, 0.08);
|
|
18
|
+
--good: #18794e;
|
|
19
|
+
--warn: #a35c00;
|
|
20
|
+
--bad: #cd2b31;
|
|
21
|
+
--info: #2f5bea;
|
|
22
|
+
--add: #18794e;
|
|
23
|
+
--del: #cd2b31;
|
|
24
|
+
--add-bg: rgba(24, 121, 78, 0.07);
|
|
25
|
+
--del-bg: rgba(205, 43, 49, 0.06);
|
|
26
|
+
--add-strong: rgba(24, 121, 78, 0.14);
|
|
27
|
+
--term-bg: #141414;
|
|
28
|
+
--term-ink: #e8e8e6;
|
|
29
|
+
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
30
|
+
--shadow-2: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px -12px rgba(0, 0, 0, 0.14);
|
|
31
|
+
--radius: 10px;
|
|
32
|
+
--sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', system-ui, sans-serif;
|
|
33
|
+
--display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
|
|
34
|
+
--mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
|
|
35
|
+
--ease: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
36
|
+
--tk-k: #cf222e;
|
|
37
|
+
--tk-s: #0a3069;
|
|
38
|
+
--tk-c: #8c8c8c;
|
|
39
|
+
--tk-n: #0550ae;
|
|
40
|
+
--tk-t: #8250df;
|
|
41
|
+
color-scheme: light;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media (prefers-color-scheme: dark) {
|
|
45
|
+
:root:not([data-theme='light']) {
|
|
46
|
+
--bg: #111111;
|
|
47
|
+
--bg-2: #1e1e1e;
|
|
48
|
+
--rail: #151515;
|
|
49
|
+
--surface: #171717;
|
|
50
|
+
--surface-2: #1a1a1a;
|
|
51
|
+
--ink: #ededed;
|
|
52
|
+
--ink-2: #c7c7c7;
|
|
53
|
+
--muted: #8f8f8f;
|
|
54
|
+
--faint: #5e5e5e;
|
|
55
|
+
--line: #262626;
|
|
56
|
+
--line-2: #333333;
|
|
57
|
+
--accent: #6d8dff;
|
|
58
|
+
--accent-ink: #94adff;
|
|
59
|
+
--accent-soft: rgba(109, 141, 255, 0.12);
|
|
60
|
+
--good: #4cc38a;
|
|
61
|
+
--warn: #f0a33a;
|
|
62
|
+
--bad: #ff6369;
|
|
63
|
+
--info: #6d8dff;
|
|
64
|
+
--add: #4cc38a;
|
|
65
|
+
--del: #ff6369;
|
|
66
|
+
--add-bg: rgba(76, 195, 138, 0.08);
|
|
67
|
+
--del-bg: rgba(255, 99, 105, 0.08);
|
|
68
|
+
--add-strong: rgba(76, 195, 138, 0.16);
|
|
69
|
+
--term-bg: #0c0c0c;
|
|
70
|
+
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
71
|
+
--shadow-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
|
|
72
|
+
--tk-k: #ff7b72;
|
|
73
|
+
--tk-s: #a5d6ff;
|
|
74
|
+
--tk-c: #6e7681;
|
|
75
|
+
--tk-n: #79c0ff;
|
|
76
|
+
--tk-t: #d2a8ff;
|
|
77
|
+
color-scheme: dark;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* project colours — muted, distinguishable, never neon */
|
|
82
|
+
.c-violet { --pc: #7c6bd6; }
|
|
83
|
+
.c-teal { --pc: #2b9a8a; }
|
|
84
|
+
.c-amber { --pc: #c9932a; }
|
|
85
|
+
.c-rose { --pc: #c9586f; }
|
|
86
|
+
.c-sky { --pc: #3f8fd2; }
|
|
87
|
+
.c-lime { --pc: #5f9a3a; }
|
|
88
|
+
.c-orange { --pc: #d27637; }
|
|
89
|
+
.c-indigo { --pc: #5262c9; }
|
|
90
|
+
.c-slate { --pc: #8a8a8a; }
|
|
91
|
+
|
|
92
|
+
* { box-sizing: border-box; }
|
|
93
|
+
html, body { margin: 0; height: 100%; }
|
|
94
|
+
body {
|
|
95
|
+
background: var(--bg);
|
|
96
|
+
color: var(--ink);
|
|
97
|
+
font: 14px/1.55 var(--sans);
|
|
98
|
+
-webkit-font-smoothing: antialiased;
|
|
99
|
+
letter-spacing: -0.003em;
|
|
100
|
+
}
|
|
101
|
+
button, input, textarea, select { font: inherit; color: inherit; }
|
|
102
|
+
button { cursor: pointer; background: none; border: 0; padding: 0; }
|
|
103
|
+
a { color: inherit; text-decoration: none; }
|
|
104
|
+
code, kbd, pre { font-family: var(--mono); }
|
|
105
|
+
kbd {
|
|
106
|
+
font-size: 10.5px; padding: 1px 5px; border-radius: 5px; border: 1px solid var(--line-2);
|
|
107
|
+
border-bottom-width: 2px; color: var(--muted); background: var(--surface); line-height: 1.4;
|
|
108
|
+
}
|
|
109
|
+
.i { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
|
|
110
|
+
.muted { color: var(--muted); }
|
|
111
|
+
.xs { font-size: 12px; }
|
|
112
|
+
.grow { flex: 1; }
|
|
113
|
+
[hidden] { display: none !important; }
|
|
114
|
+
::selection { background: var(--accent-soft); }
|
|
115
|
+
|