@andorra-labs/code 0.1.9 → 0.1.11
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 +28 -208
- package/THIRD_PARTY_NOTICES.md +15 -0
- package/dist/src/agent-execution.js +56 -0
- package/dist/src/app-server/protocol.d.ts +109 -1
- package/dist/src/app-server/protocol.js +8 -1
- package/dist/src/app-server.d.ts +59 -1
- package/dist/src/app-server.js +418 -63
- package/dist/src/auth/index.d.ts +1 -1
- package/dist/src/auth/index.js +1 -1
- package/dist/src/auth/store.d.ts +17 -1
- package/dist/src/auth/store.js +25 -2
- package/dist/src/automation-service.js +1 -1
- package/dist/src/browser-session.d.ts +8 -0
- package/dist/src/browser-session.js +27 -1
- package/dist/src/browser-ui/app.js +255 -33
- package/dist/src/browser-ui/index.html +9 -9
- package/dist/src/browser-ui/style.css +110 -65
- package/dist/src/browser-ui/tokens.css +27 -26
- package/dist/src/cli.js +10 -5
- package/dist/src/coding-tools.d.ts +24 -0
- package/dist/src/coding-tools.js +71 -8
- package/dist/src/command-screens.js +1 -1
- package/dist/src/commands.d.ts +1 -1
- package/dist/src/commands.js +2 -2
- package/dist/src/completion-gates.d.ts +42 -7
- package/dist/src/completion-gates.js +55 -9
- package/dist/src/completion.d.ts +9 -1
- package/dist/src/completion.js +20 -2
- package/dist/src/dashboard-view.js +2 -2
- package/dist/src/deadline.js +4 -0
- package/dist/src/decision/checks.js +1 -1
- package/dist/src/file-diff.d.ts +105 -0
- package/dist/src/file-diff.js +244 -0
- package/dist/src/graph-manager-chat.js +4 -4
- package/dist/src/graph-runner.js +39 -2
- package/dist/src/graph-sync.d.ts +8 -0
- package/dist/src/graph-sync.js +54 -3
- package/dist/src/graph-tool.js +1 -1
- package/dist/src/graph-ui/app.js +303 -129
- package/dist/src/graph-ui/controls.css +43 -22
- package/dist/src/graph-ui/controls.js +31 -1
- package/dist/src/graph-ui/embed.js +56 -7
- package/dist/src/graph-ui/icons.js +5 -0
- package/dist/src/graph-ui/index.html +3 -3
- package/dist/src/graph-ui/manager-state.js +2 -2
- package/dist/src/graph-ui/manager.css +19 -18
- package/dist/src/graph-ui/manager.js +5 -5
- package/dist/src/graph-ui/skill-picker.js +5 -5
- package/dist/src/graph-ui/studio-canvas.js +16 -16
- package/dist/src/graph-ui/studio.css +18 -15
- package/dist/src/graph-ui/studio.js +99 -42
- package/dist/src/graph-ui/style.css +125 -80
- package/dist/src/graph-ui/theme.js +2 -2
- package/dist/src/graph-ui/tokens.css +33 -29
- package/dist/src/graphs.d.ts +10 -3
- package/dist/src/graphs.js +15 -4
- package/dist/src/mcp.d.ts +75 -0
- package/dist/src/mcp.js +240 -8
- package/dist/src/membership-errors.d.ts +7 -1
- package/dist/src/membership-errors.js +9 -3
- package/dist/src/provider-keys.d.ts +5 -1
- package/dist/src/provider-keys.js +7 -3
- package/dist/src/provider-settings.d.ts +4 -1
- package/dist/src/provider-settings.js +46 -5
- package/dist/src/pull-requests.d.ts +42 -6
- package/dist/src/pull-requests.js +11 -3
- package/dist/src/qa/guidance.js +6 -19
- package/dist/src/qa/index.d.ts +0 -2
- package/dist/src/qa/index.js +0 -2
- package/dist/src/qa/profile/QaProfile.d.ts +5 -1
- package/dist/src/qa/profile/QaProfile.js +6 -2
- package/dist/src/qa/tools.d.ts +19 -1
- package/dist/src/qa/tools.js +20 -145
- package/dist/src/react-runtime.js +134 -16
- package/dist/src/read-document-doc.d.ts +20 -0
- package/dist/src/read-document-doc.js +524 -0
- package/dist/src/read-document-docx.d.ts +21 -0
- package/dist/src/read-document-docx.js +584 -0
- package/dist/src/read-document-text.d.ts +29 -0
- package/dist/src/read-document-text.js +67 -0
- package/dist/src/read-document-tool.d.ts +48 -0
- package/dist/src/read-document-tool.js +162 -0
- package/dist/src/read-document.d.ts +78 -0
- package/dist/src/read-document.js +353 -0
- package/dist/src/read-image.d.ts +29 -2
- package/dist/src/read-image.js +42 -17
- package/dist/src/remote/engine-pool.js +18 -6
- package/dist/src/runtime.d.ts +19 -0
- package/dist/src/runtime.js +10 -1
- package/dist/src/screen-selection.d.ts +38 -0
- package/dist/src/screen-selection.js +103 -0
- package/dist/src/session-changes.d.ts +122 -0
- package/dist/src/session-changes.js +804 -0
- package/dist/src/side-panel.d.ts +6 -1
- package/dist/src/side-panel.js +12 -10
- package/dist/src/skills/bundled/create-skill/SKILL.md +1 -1
- package/dist/src/skills/bundled/diagram/SKILL.md +1 -1
- package/dist/src/skills/bundled/graph-manager/SKILL.md +37 -3
- package/dist/src/skills/bundled/graph-manager/patterns.md +27 -0
- package/dist/src/skills/bundled/provenance.json +4 -4
- package/dist/src/skills/runtime-skills.js +3 -3
- package/dist/src/stall-recovery.d.ts +15 -0
- package/dist/src/stall-recovery.js +17 -0
- package/dist/src/telemetry/schema.d.ts +1 -1
- package/dist/src/telemetry/schema.js +1 -2
- package/dist/src/terminal-ui.d.ts +64 -20
- package/dist/src/terminal-ui.js +312 -82
- package/dist/src/time-limit.d.ts +53 -0
- package/dist/src/time-limit.js +79 -0
- package/dist/src/tool-diff-stats.d.ts +9 -0
- package/dist/src/tool-diff-stats.js +20 -0
- package/dist/src/tool-names.d.ts +1 -1
- package/dist/src/tool-result-filter.js +1 -1
- package/dist/src/tools.js +118 -9
- package/dist/src/transcript.d.ts +11 -0
- package/dist/src/transcript.js +15 -3
- package/dist/src/types.d.ts +12 -0
- package/dist/src/usage-analytics.d.ts +3 -1
- package/dist/src/usage-analytics.js +16 -2
- package/package.json +6 -26
- package/dist/src/qa/api/http-runner.d.ts +0 -3
- package/dist/src/qa/api/http-runner.js +0 -47
- package/dist/src/qa/git/ChangeDetector.d.ts +0 -26
- package/dist/src/qa/git/ChangeDetector.js +0 -177
- package/dist/src/qa/git/DiffReviewer.d.ts +0 -28
- package/dist/src/qa/git/DiffReviewer.js +0 -115
- package/dist/src/qa/orchestrator/ChangeClassifier.d.ts +0 -14
- package/dist/src/qa/orchestrator/ChangeClassifier.js +0 -28
- package/dist/src/qa/orchestrator/MergeGate.d.ts +0 -14
- package/dist/src/qa/orchestrator/MergeGate.js +0 -40
- package/dist/src/qa/orchestrator/QaOrchestrator.d.ts +0 -79
- package/dist/src/qa/orchestrator/QaOrchestrator.js +0 -373
- package/dist/src/qa/runners/CommandRunner.d.ts +0 -22
- package/dist/src/qa/runners/CommandRunner.js +0 -96
- package/dist/src/qa/runners/TestRunner.d.ts +0 -21
- package/dist/src/qa/runners/TestRunner.js +0 -66
- package/dist/src/qa/runtime/RuntimeSmoke.d.ts +0 -11
- package/dist/src/qa/runtime/RuntimeSmoke.js +0 -78
- package/dist/src/qa/runtime-detect.d.ts +0 -10
- package/dist/src/qa/runtime-detect.js +0 -72
- package/dist/src/qa/security/DependencyScanner.d.ts +0 -19
- package/dist/src/qa/security/DependencyScanner.js +0 -167
- package/dist/src/qa/security/SecretScanner.d.ts +0 -3
- package/dist/src/qa/security/SecretScanner.js +0 -55
- package/docs/README.md +0 -36
- package/docs/agents/README.md +0 -62
- package/docs/agents/install-for-agents.md +0 -56
- package/docs/agents/mcp-server.md +0 -212
- package/docs/agents/subagent-mode.md +0 -149
- package/docs/concepts/README.md +0 -47
- package/docs/concepts/jev-actionable-routing.md +0 -113
- package/docs/concepts/jev-decision-thresholds.md +0 -412
- package/docs/concepts/jev-efficiency.md +0 -217
- package/docs/concepts/jev-eval-2026-11-01.md +0 -78
- package/docs/concepts/limits.md +0 -52
- package/docs/concepts/memory.md +0 -10
- package/docs/concepts/security.md +0 -50
- package/docs/concepts/workspace-instructions.md +0 -29
- package/docs/getting-started/README.md +0 -82
- package/docs/getting-started/accounts.md +0 -78
- package/docs/getting-started/configure-providers.md +0 -132
- package/docs/guides/README.md +0 -13
- package/docs/guides/browser.md +0 -39
- package/docs/guides/desktop-app.md +0 -414
- package/docs/guides/extensions.md +0 -102
- package/docs/guides/graph-builder.md +0 -116
- package/docs/guides/headless.md +0 -46
- package/docs/guides/tui.md +0 -75
- package/docs/guides/update.md +0 -70
- package/docs/guides/web-search.md +0 -51
- package/docs/guides/windows-code-signing.md +0 -319
- package/docs/llms.txt +0 -45
- package/docs/reference/README.md +0 -7
- package/docs/reference/cli.md +0 -76
- package/docs/reference/config.md +0 -91
- package/docs/reference/slash-commands.md +0 -59
- package/docs/superpowers/plans/2026-11-01-claude-console-sign-in.md +0 -111
- package/docs/superpowers/plans/2026-11-01-jev-node-opt-in.md +0 -910
- package/docs/superpowers/plans/2026-11-02-workflow-pane.md +0 -398
- package/docs/superpowers/plans/2026-11-06-graph-soft-delete.md +0 -125
- package/docs/superpowers/plans/2026-11-09-orchestrator-delegation.md +0 -295
- package/docs/superpowers/plans/2026-11-13-graph-manager-chat.md +0 -203
- package/docs/superpowers/plans/2026-11-14-jev-fair-use-pricing.md +0 -79
- package/docs/superpowers/specs/2026-10-31-work-line-summary-design.md +0 -50
- package/docs/superpowers/specs/2026-11-01-claude-console-sign-in-design.md +0 -176
- package/docs/superpowers/specs/2026-11-01-jev-node-opt-in-design.md +0 -164
- package/docs/superpowers/specs/2026-11-01-pr-section-design.md +0 -111
- package/docs/superpowers/specs/2026-11-02-workflow-pane-design.md +0 -130
- package/docs/superpowers/specs/2026-11-06-bundled-skills-design.md +0 -206
- package/docs/superpowers/specs/2026-11-09-orchestrator-delegation-design.md +0 -291
- package/docs/superpowers/specs/2026-11-13-graph-manager-chat-design.md +0 -182
- package/docs/superpowers/specs/2026-11-14-jev-fair-use-pricing-design.md +0 -156
- package/scripts/jev-efficiency-eval.mjs +0 -187
- package/scripts/jev-efficiency-live.mjs +0 -193
- package/scripts/zcode-engine-replay.mjs +0 -223
- package/tests/agent-centric-mcp-test-plan.md +0 -208
- package/tests/analytics-settings-test-plan.md +0 -165
- package/tests/browser-cli-smoke.mjs +0 -276
- package/tests/browser-test-plan.md +0 -280
- package/tests/chat-side-panel-test-plan.md +0 -309
- package/tests/decision-engine-test-plan.md +0 -163
- package/tests/default-active-jev-test-plan.md +0 -85
- package/tests/harness-extensions-test-plan.md +0 -113
- package/tests/jev-all-decisions-test-plan.md +0 -156
- package/tests/jev-efficiency/criteria.json +0 -158
- package/tests/jev-efficiency/workloads.mjs +0 -242
- package/tests/jev-efficiency-test-plan.md +0 -198
- package/tests/permissions-sandbox-probe.mjs +0 -74
- package/tests/permissions-test-plan.md +0 -191
- package/tests/product-telemetry-test-plan.md +0 -536
- package/tests/thinking-stream-preview-test-plan.md +0 -136
- package/tests/zcode-react-engine-test-plan.md +0 -396
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* spacing on the 4px scale (`--space-1` … `--space-6`) and corners on the radius scale
|
|
7
7
|
* (`--radius-xs` … `--radius-full`), per ADR 0022.
|
|
8
8
|
*
|
|
9
|
-
* The blue
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* The blue is the action's alone (ADR 0022, A1): `--accent-fill` fills the primary button, `--focus`
|
|
10
|
+
* draws the keyboard's ring and `--accent-text` the links. Selection, checked boxes and a focused
|
|
11
|
+
* field's edge stay in the neutral ink. Layers are on the client's `--z-*` scale.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
* { box-sizing: border-box; }
|
|
@@ -18,7 +18,7 @@ html, body { height: 100%; margin: 0; }
|
|
|
18
18
|
body {
|
|
19
19
|
display: flex; height: 100dvh; overflow: hidden;
|
|
20
20
|
background: var(--bg-surface); color: var(--text);
|
|
21
|
-
font-family: var(--font-ui); font-size: var(--type-row); line-height:
|
|
21
|
+
font-family: var(--font-ui); font-size: var(--type-row); line-height: var(--leading-sm);
|
|
22
22
|
-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
|
|
23
23
|
/* A desktop application, not a page: the arrow is the resting cursor. */
|
|
24
24
|
cursor: default;
|
|
@@ -62,23 +62,23 @@ button:disabled { color: var(--text-disabled); }
|
|
|
62
62
|
/* The primary action is the accent fill, the one filled control on a screen. Disabled, it keeps its
|
|
63
63
|
fill at reduced strength so it still reads as the screen's primary action. */
|
|
64
64
|
.primary {
|
|
65
|
-
border-color: var(--accent-fill
|
|
66
|
-
color: var(--on-accent-fill
|
|
65
|
+
border-color: var(--accent-fill); background: var(--accent-fill);
|
|
66
|
+
color: var(--on-accent-fill); font-weight: var(--weight-strong);
|
|
67
67
|
}
|
|
68
|
-
.primary:hover:not(:disabled) { background: var(--accent-fill-hover
|
|
68
|
+
.primary:hover:not(:disabled) { background: var(--accent-fill-hover); border-color: var(--accent-fill-hover); }
|
|
69
69
|
.primary:disabled { background: var(--bg-control); border-color: transparent; color: var(--text-disabled); }
|
|
70
70
|
|
|
71
71
|
/* Ghost: a bare label or icon that fills one ink tier under the pointer. */
|
|
72
72
|
.ghost, .icon-button { background: transparent; color: var(--text-2); }
|
|
73
|
-
.ghost:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--hover
|
|
73
|
+
.ghost:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--hover); color: var(--text); }
|
|
74
74
|
.icon-button { min-width: var(--btn-height); padding: 0; }
|
|
75
75
|
.icon-button.btn-small { min-width: var(--control-height); }
|
|
76
76
|
/* Pressed or open is the stronger tier, with full ink; selection never changes the weight. */
|
|
77
|
-
.icon-button[aria-pressed="true"], .icon-button[aria-expanded="true"] { color: var(--text); background: var(--selected
|
|
77
|
+
.icon-button[aria-pressed="true"], .icon-button[aria-expanded="true"] { color: var(--text); background: var(--selected); }
|
|
78
78
|
|
|
79
79
|
/* The keyboard's focus ring: 2px, offset 2px, only for keyboard focus. Rows in lists and menus show
|
|
80
80
|
a highlight fill instead (their own rules below). */
|
|
81
|
-
:focus-visible { outline: 2px solid var(--focus
|
|
81
|
+
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
|
82
82
|
|
|
83
83
|
/* Chips: a compact status label. The warning kind names a problem with the configuration. */
|
|
84
84
|
.chip {
|
|
@@ -97,10 +97,14 @@ input, select, textarea {
|
|
|
97
97
|
transition: border-color var(--dur-1) var(--ease-standard), box-shadow var(--dur-1) var(--ease-standard);
|
|
98
98
|
}
|
|
99
99
|
input:hover, select:hover, textarea:hover { border-color: var(--text-3); }
|
|
100
|
-
|
|
100
|
+
/* Focused by the keyboard, a field keeps its neutral edge and gains a 2px halo outside it, the
|
|
101
|
+
desktop's field (primitives.css `.input:focus`); a click shows nothing extra. */
|
|
102
|
+
input:focus, select:focus, textarea:focus { outline: none; }
|
|
103
|
+
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--border-strong); box-shadow: 0 0 0 2px var(--accent-ring); }
|
|
104
|
+
:root[data-focus-via="pointer"] :is(input, select, textarea):focus-visible { box-shadow: none; }
|
|
101
105
|
input::placeholder, textarea::placeholder { color: var(--text-3); }
|
|
102
106
|
/* A field carries prose unless it is marked as code, so the mono face is opt-in. */
|
|
103
|
-
textarea { resize: vertical; min-height: 140px; line-height:
|
|
107
|
+
textarea { resize: vertical; min-height: 140px; line-height: var(--leading-sm); }
|
|
104
108
|
|
|
105
109
|
/* The library rail -------------------------------------------------------- */
|
|
106
110
|
|
|
@@ -127,8 +131,8 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
|
|
|
127
131
|
.rail > * { position: relative; z-index: 1; }
|
|
128
132
|
|
|
129
133
|
/* The footer is one status line under a quiet label: a dot, then what the account's sync is doing. */
|
|
130
|
-
.rail-footer span { display: flex; align-items: baseline; gap: 6px; font-size: var(--type-xs); font-weight: var(--weight-regular); color: var(--text-2); margin-top: 2px; line-height:
|
|
131
|
-
.rail-footer span::before { content: ''; flex: none; width: 6px; height: 6px; border-radius:
|
|
134
|
+
.rail-footer span { display: flex; align-items: baseline; gap: 6px; font-size: var(--type-xs); font-weight: var(--weight-regular); color: var(--text-2); margin-top: 2px; line-height: var(--leading-xs); }
|
|
135
|
+
.rail-footer span::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--text-3); transform: translateY(-1px); }
|
|
132
136
|
|
|
133
137
|
/* The window title already names the product, so the rail opens straight onto the graphs. */
|
|
134
138
|
.rail-body { padding: var(--space-3) var(--space-2) var(--space-4); overflow: auto; flex: 1; min-height: 0; }
|
|
@@ -142,23 +146,23 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
|
|
|
142
146
|
color: var(--text-2);
|
|
143
147
|
}
|
|
144
148
|
.section-label button { border-radius: var(--radius-sm); }
|
|
145
|
-
.section-label button:hover:not(:disabled) { background: var(--hover
|
|
149
|
+
.section-label button:hover:not(:disabled) { background: var(--hover); color: var(--text); }
|
|
146
150
|
|
|
147
|
-
#search, #node-search { margin-bottom: var(--space-3); }
|
|
148
151
|
/* The rail's two filters rest as a quiet wash with a magnifier, not an outlined box: the rail is a
|
|
149
152
|
list of rows, and an outline at rest read as a form. The outline returns under the pointer and
|
|
150
|
-
the
|
|
151
|
-
muted ink
|
|
152
|
-
.rail
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
background
|
|
156
|
-
|
|
157
|
-
:
|
|
158
|
-
|
|
159
|
-
}
|
|
153
|
+
the field's halo on keyboard focus. The glyph is Lucide's search on its 1.5 stroke, cut as a mask
|
|
154
|
+
from the muted ink, so it is `--text-3` in either appearance. */
|
|
155
|
+
.rail-search { position: relative; margin-bottom: var(--space-3); }
|
|
156
|
+
.rail-search::before {
|
|
157
|
+
content: ''; position: absolute; left: 9px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
|
|
158
|
+
background: var(--text-3); pointer-events: none;
|
|
159
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
160
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
161
|
+
}
|
|
162
|
+
.rail input[type="search"] { padding-left: 30px; border-color: transparent; background-color: var(--rail-wash); }
|
|
160
163
|
.rail input[type="search"]:hover { border-color: var(--border-strong); }
|
|
161
|
-
.rail input[type="search"]:focus
|
|
164
|
+
.rail input[type="search"]:focus { background-color: var(--bg-input); }
|
|
165
|
+
.rail input[type="search"]:focus-visible { border-color: var(--border-strong); }
|
|
162
166
|
|
|
163
167
|
/* Rows: one anatomy, everywhere. */
|
|
164
168
|
#graphs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
|
|
@@ -173,8 +177,10 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
|
|
|
173
177
|
padding: 2px var(--space-1); border-radius: var(--radius-xs);
|
|
174
178
|
font: inherit; font-size: var(--type-xs); font-weight: var(--weight-regular); color: var(--text-3); cursor: pointer;
|
|
175
179
|
}
|
|
176
|
-
.graph-drafts-clear:hover:not(:disabled), .graph-drafts-toggle:hover { background: var(--hover
|
|
177
|
-
.graph-drafts-toggle { justify-self: start; margin: 2px var(--space-1) 0; }
|
|
180
|
+
.graph-drafts-clear:hover:not(:disabled), .graph-drafts-toggle:hover { background: var(--hover); color: var(--text); }
|
|
181
|
+
.graph-drafts-toggle { justify-self: start; margin: 2px var(--space-1) 0; display: inline-flex; align-items: center; gap: var(--space-1); }
|
|
182
|
+
.graph-drafts-toggle .icon { flex: none; transition: transform var(--dur-1) var(--ease-standard); }
|
|
183
|
+
.graph-drafts-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
|
|
178
184
|
.graph-row.draft-row span { color: var(--text-2); }
|
|
179
185
|
.graph-row.draft-row small { font-variant-numeric: tabular-nums; }
|
|
180
186
|
.graph-row {
|
|
@@ -186,10 +192,28 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
|
|
|
186
192
|
/* Hover is one ink tier and selection a stronger one with full ink, the desktop rail's own rows; the
|
|
187
193
|
selected row is the fill alone, with no edge bar. A row under keyboard focus shows the hover fill
|
|
188
194
|
rather than a ring. */
|
|
189
|
-
.graph-row:hover:not(:disabled), .graph-row:focus-visible { background: var(--hover
|
|
190
|
-
.graph-row.active, .graph-row.active:hover:not(:disabled), .graph-row.active:focus-visible { background: var(--selected
|
|
195
|
+
.graph-row:hover:not(:disabled), .graph-row:focus-visible { background: var(--hover); color: var(--text); outline: none; }
|
|
196
|
+
.graph-row.active, .graph-row.active:hover:not(:disabled), .graph-row.active:focus-visible { background: var(--selected); color: var(--text); }
|
|
191
197
|
.graph-row span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
192
198
|
.graph-row small { color: var(--text-3); font-size: var(--type-xs); flex-shrink: 0; }
|
|
199
|
+
/* A free account's workflow beyond its allowance: dimmed, with a lock beside its version, and no
|
|
200
|
+
hover fill, so it reads as unavailable while its tooltip and context menu still reach it. */
|
|
201
|
+
.graph-row.locked { cursor: not-allowed; }
|
|
202
|
+
.graph-row.locked span { color: var(--text-3); }
|
|
203
|
+
.graph-row.locked:hover:not(:disabled) { background: transparent; color: var(--text-2); }
|
|
204
|
+
.graph-row.locked small { display: inline-flex; align-items: center; gap: 4px; }
|
|
205
|
+
|
|
206
|
+
/* EmptyState, the desktop's anatomy (primitives.css): a 16px mark, a 13/500 title, a 12px muted line
|
|
207
|
+
and at most one button, centred. In the rail's lists it is the compact kind. */
|
|
208
|
+
.empty-state {
|
|
209
|
+
display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-1);
|
|
210
|
+
margin: 0 auto; padding: 48px var(--space-4); max-width: 100%;
|
|
211
|
+
}
|
|
212
|
+
.empty-state-compact { padding: var(--space-5) var(--space-4); }
|
|
213
|
+
.empty-state-icon { display: inline-flex; color: var(--text-3); margin-bottom: var(--space-1); }
|
|
214
|
+
.empty-state-title { margin: 0; font-size: var(--type-sm); line-height: var(--leading-sm); font-weight: var(--weight-strong); color: var(--text); }
|
|
215
|
+
.empty-state-line { margin: 0; max-width: 44ch; font-size: var(--type-xs); line-height: var(--leading-xs); color: var(--text-3); }
|
|
216
|
+
.empty-state-action { margin-top: var(--space-2); }
|
|
193
217
|
|
|
194
218
|
.library-label { margin-top: var(--space-5); }
|
|
195
219
|
.library-group { margin: var(--space-2) 0; }
|
|
@@ -205,12 +229,12 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
|
|
|
205
229
|
padding: 6px var(--space-2); border-radius: var(--row-radius); color: var(--text-2); font-weight: var(--weight-regular); cursor: grab;
|
|
206
230
|
}
|
|
207
231
|
.library-item:active:not(:disabled) { cursor: grabbing; }
|
|
208
|
-
.library-item:hover:not(:disabled), .library-item:focus-visible { background: var(--hover
|
|
232
|
+
.library-item:hover:not(:disabled), .library-item:focus-visible { background: var(--hover); color: var(--text); outline: none; }
|
|
209
233
|
.library-item > svg.icon { grid-column: 1; grid-row: 1 / span 2; margin-top: 1px; color: var(--text-2); }
|
|
210
234
|
.library-item b { grid-column: 2; grid-row: 1; display: block; font-weight: var(--weight-strong); font-size: var(--type-sm); white-space: normal; overflow-wrap: anywhere; }
|
|
211
|
-
.library-item span { grid-column: 2; grid-row: 2; display: block; color: var(--text-3); font-size: var(--type-xs); white-space: normal; line-height:
|
|
235
|
+
.library-item span { grid-column: 2; grid-row: 2; display: block; color: var(--text-3); font-size: var(--type-xs); white-space: normal; line-height: var(--leading-xs); }
|
|
212
236
|
|
|
213
|
-
.hint { color: var(--text-3); line-height:
|
|
237
|
+
.hint { color: var(--text-3); line-height: var(--leading-xs); font-size: var(--type-xs); margin: var(--space-3) var(--space-2); }
|
|
214
238
|
|
|
215
239
|
.rail-footer { padding: var(--space-2) var(--space-3) 10px; border-top: 1px solid var(--border); font-size: var(--type-xs); color: var(--text-3); }
|
|
216
240
|
|
|
@@ -227,21 +251,44 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
227
251
|
min-height: var(--chrome-height); flex-shrink: 0; display: flex; align-items: center; gap: var(--space-2);
|
|
228
252
|
padding: 3px var(--space-3); border-bottom: 1px solid var(--border); background: var(--bg-surface);
|
|
229
253
|
}
|
|
254
|
+
/* Framed in the desktop window, the editor's top row is the window's: the host names the room its
|
|
255
|
+
window controls take at either end (embed.js). The app-drawn controls sit at the right, over the
|
|
256
|
+
toolbar, which keeps its own controls clear of them. macOS's traffic lights sit at the left, over the
|
|
257
|
+
library rail (the rail is at least 100px wide, the lights' corner 78px), so the rail keeps a blank
|
|
258
|
+
caption row of the toolbar's height above its lists, as the desktop's rail keeps its brand row. */
|
|
259
|
+
:root[data-host-insets] .chrome { padding-right: max(var(--space-3), var(--host-inset-right, 0px)); }
|
|
260
|
+
.rail-caption { display: none; }
|
|
261
|
+
:root[data-host-corner] .rail-caption { display: block; flex: none; height: var(--chrome-height); }
|
|
230
262
|
.chrome .icon-button { min-width: var(--control-height); min-height: var(--control-height); border-radius: var(--radius-sm); }
|
|
231
263
|
.graph-heading { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: baseline; }
|
|
232
|
-
.graph-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-strong); font-size: var(--type-
|
|
264
|
+
.graph-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-strong); font-size: var(--type-sm); line-height: var(--leading-sm); }
|
|
233
265
|
.graph-heading span { font-size: var(--type-xs); color: var(--text-3); white-space: nowrap; }
|
|
234
266
|
.graph-heading .chip { align-self: center; }
|
|
235
267
|
.chrome-actions { display: flex; align-items: center; gap: var(--space-1); flex: none; }
|
|
236
268
|
.chrome-actions > .primary { margin-left: var(--space-1); }
|
|
237
269
|
.host-chrome { display: flex; align-items: center; gap: var(--space-1); flex: none; padding-right: var(--space-2); border-right: 1px solid var(--border); }
|
|
270
|
+
/* The desktop's attention words and marks (P-ATN-D1): the count of tasks that need your input on Back
|
|
271
|
+
is the desktop's ink count pill, and a graph run waiting on input leads its notice with the 8px
|
|
272
|
+
needs-your-input dot. Both scale in once; nothing loops. */
|
|
273
|
+
.attention-count {
|
|
274
|
+
display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box;
|
|
275
|
+
min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-full);
|
|
276
|
+
background: var(--text); color: var(--bg-rail); font-size: var(--type-xs); font-weight: var(--weight-strong);
|
|
277
|
+
line-height: var(--leading-xs); font-variant-numeric: tabular-nums;
|
|
278
|
+
animation: attention-arrive var(--dur-2) var(--ease-standard);
|
|
279
|
+
}
|
|
280
|
+
#host-notice::before {
|
|
281
|
+
content: ''; flex: none; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--text);
|
|
282
|
+
animation: attention-arrive var(--dur-2) var(--ease-standard);
|
|
283
|
+
}
|
|
284
|
+
@keyframes attention-arrive { from { scale: .6; opacity: 0; } }
|
|
238
285
|
|
|
239
286
|
/* The overflow menu: an 8px popover with a 4px inset, rows on the 4px radius at the row height. A
|
|
240
287
|
row under the pointer or keyboard focus fills one ink tier; menus show no focus ring. It arrives
|
|
241
288
|
and leaves the same way (controls.css, "Exits"). */
|
|
242
289
|
.menu { position: relative; }
|
|
243
290
|
.menu-list {
|
|
244
|
-
position: absolute; z-index:
|
|
291
|
+
position: absolute; z-index: var(--z-menu); top: calc(100% + var(--space-1)); right: 0; min-width: 210px;
|
|
245
292
|
display: flex; flex-direction: column; gap: 1px; padding: var(--space-1);
|
|
246
293
|
background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-menu);
|
|
247
294
|
animation: controls-panel-in var(--dur-1) var(--ease-standard);
|
|
@@ -250,10 +297,10 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
250
297
|
justify-content: flex-start; width: 100%; min-height: var(--row-height); padding: 0 var(--space-2);
|
|
251
298
|
background: transparent; color: var(--text); border-radius: var(--radius-xs); font-weight: var(--weight-regular);
|
|
252
299
|
}
|
|
253
|
-
.menu-list > button:hover:not(:disabled), .menu-list > button:focus-visible { background: var(--hover
|
|
300
|
+
.menu-list > button:hover:not(:disabled), .menu-list > button:focus-visible { background: var(--hover); outline: none; }
|
|
254
301
|
.menu-list > button > svg.icon { color: var(--text-2); }
|
|
255
|
-
/* A destructive item (
|
|
256
|
-
|
|
302
|
+
/* A destructive item (Delete) is a neutral row below a divider, as in the desktop's menus (C7): the
|
|
303
|
+
rule sets it apart, and the confirmation that follows names the loss. */
|
|
257
304
|
.menu-list > hr { width: 100%; border: 0; border-top: 1px solid var(--border); margin: var(--space-1) 0; }
|
|
258
305
|
/* The graph-row context menu floats at the pointer instead of anchoring to a parent. */
|
|
259
306
|
.graph-context { position: fixed; top: auto; left: 0; right: auto; }
|
|
@@ -300,7 +347,7 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
300
347
|
/* The node's left edge is its input port. The outcome ports on the right belong to the outcomes
|
|
301
348
|
themselves, so the node carries no generic right-hand circle of its own. */
|
|
302
349
|
.node:before {
|
|
303
|
-
content: ""; position: absolute; width: 8px; height: 8px; border-radius:
|
|
350
|
+
content: ""; position: absolute; width: 8px; height: 8px; border-radius: var(--radius-full);
|
|
304
351
|
background: var(--bg-input); border: 1px solid var(--border-strong); top: 44px; left: -5px;
|
|
305
352
|
}
|
|
306
353
|
.node:after { display: none; }
|
|
@@ -311,7 +358,7 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
311
358
|
.output-port {
|
|
312
359
|
height: 25px; display: block; position: relative; width: calc(100% + 30px); margin-left: -18px;
|
|
313
360
|
text-align: right; border: 0; border-top: 1px solid var(--border); border-radius: 0;
|
|
314
|
-
padding: var(--space-1) 15px; background: transparent; font-size: var(--type-xs); font-weight: var(--weight-regular); line-height:
|
|
361
|
+
padding: var(--space-1) 15px; background: transparent; font-size: var(--type-xs); font-weight: var(--weight-regular); line-height: var(--leading-xs); color: var(--text-3); min-height: 0;
|
|
315
362
|
overflow: hidden; text-overflow: ellipsis;
|
|
316
363
|
}
|
|
317
364
|
.output-port[data-connected] { color: transparent; }
|
|
@@ -319,15 +366,15 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
319
366
|
.output-port:last-child { border-radius: 0 0 var(--card-radius) var(--card-radius); }
|
|
320
367
|
.output-port:after {
|
|
321
368
|
content: ''; position: absolute; right: -4px; top: 9px; width: 8px; height: 8px;
|
|
322
|
-
background: var(--bg-input); border: 1px solid var(--border-strong); border-radius:
|
|
369
|
+
background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: var(--radius-full);
|
|
323
370
|
}
|
|
324
371
|
.output-port[data-connected]:after { background: var(--text-3); border-color: var(--text-3); }
|
|
325
|
-
.node .output-port:hover:not(:disabled) { background: var(--hover
|
|
372
|
+
.node .output-port:hover:not(:disabled) { background: var(--hover); }
|
|
326
373
|
|
|
327
374
|
/* Canvas controls: one rounded rectangle of square icon buttons at the bottom centre, beside the
|
|
328
375
|
minimap, which shares its corner. */
|
|
329
376
|
.canvas-toolbar {
|
|
330
|
-
position: absolute; z-index:
|
|
377
|
+
position: absolute; z-index: var(--z-raised); bottom: var(--space-4); left: 50%; transform: translateX(-50%);
|
|
331
378
|
display: flex; gap: 2px; align-items: center;
|
|
332
379
|
padding: var(--space-1); background: var(--bg-input); border: 1px solid var(--border);
|
|
333
380
|
border-radius: var(--radius-lg); box-shadow: var(--shadow-menu);
|
|
@@ -336,35 +383,37 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
336
383
|
border: 0; background: transparent; width: var(--control-height); height: var(--control-height); min-height: 0;
|
|
337
384
|
padding: 0; border-radius: var(--radius-sm); color: var(--text-2); font-weight: var(--weight-regular);
|
|
338
385
|
}
|
|
339
|
-
.canvas-toolbar button:hover:not(:disabled) { background: var(--hover
|
|
340
|
-
.canvas-toolbar button[aria-pressed="true"] { background: var(--selected
|
|
386
|
+
.canvas-toolbar button:hover:not(:disabled) { background: var(--hover); color: var(--text); }
|
|
387
|
+
.canvas-toolbar button[aria-pressed="true"] { background: var(--selected); color: var(--text); }
|
|
341
388
|
.canvas-toolbar .toolbar-divider { height: 16px; border-left: 1px solid var(--border); margin: 0 var(--space-1); }
|
|
342
389
|
#zoom { font-size: var(--type-xs); min-width: 40px; text-align: center; color: var(--text-2); font-variant-numeric: tabular-nums; }
|
|
343
390
|
|
|
344
391
|
/* The canvas tips show until the reader dismisses them once; picking a destination always shows
|
|
345
392
|
its own instruction here. */
|
|
346
393
|
.canvas-hint {
|
|
347
|
-
position: absolute; z-index:
|
|
394
|
+
position: absolute; z-index: var(--z-raised); top: var(--space-3); left: var(--space-3); max-width: calc(100% - 2 * var(--space-3));
|
|
348
395
|
display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-1) var(--space-1) var(--space-3);
|
|
349
396
|
color: var(--text-2); font-size: var(--type-xs); background: var(--bg-input); border: 1px solid var(--border);
|
|
350
397
|
border-radius: var(--radius-md); box-shadow: var(--shadow-menu);
|
|
351
398
|
}
|
|
352
399
|
.canvas-hint .icon-button { min-width: 24px; width: 24px; min-height: 24px; height: 24px; border-radius: var(--radius-sm); }
|
|
353
|
-
|
|
400
|
+
/* No workflow open: the EmptyState, centred on the canvas. */
|
|
401
|
+
#empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
|
|
402
|
+
#empty > .empty-state { pointer-events: auto; }
|
|
354
403
|
|
|
355
404
|
/* The node inspector ----------------------------------------------------- */
|
|
356
405
|
|
|
357
406
|
#inspector {
|
|
358
407
|
width: var(--panel); flex-shrink: 0; border-left: 1px solid var(--border);
|
|
359
|
-
background: var(--bg-surface); display: flex; flex-direction: column; position: relative; z-index:
|
|
408
|
+
background: var(--bg-surface); display: flex; flex-direction: column; position: relative; z-index: var(--z-raised);
|
|
360
409
|
}
|
|
361
410
|
#inspector.hidden { display: none; }
|
|
362
411
|
.panel-header {
|
|
363
412
|
height: var(--chrome-height); flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
|
|
364
413
|
padding: 0 var(--space-4); border-bottom: 1px solid var(--border);
|
|
365
414
|
}
|
|
366
|
-
.panel-header strong { font-weight: var(--weight-strong); font-size: var(--type-
|
|
367
|
-
#inspector-body { padding: var(--space-4); overflow: auto; flex: 1; }
|
|
415
|
+
.panel-header strong { font-weight: var(--weight-strong); font-size: var(--type-sm); line-height: var(--leading-sm); }
|
|
416
|
+
#inspector-body { padding: var(--space-4); overflow: auto; scrollbar-gutter: stable; flex: 1; }
|
|
368
417
|
#resize { position: absolute; left: -4px; top: 0; bottom: 0; width: 7px; cursor: col-resize; }
|
|
369
418
|
|
|
370
419
|
/* The inspector's tabs split a node's settings into General, Model, Behavior and Advanced: the
|
|
@@ -379,7 +428,7 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
379
428
|
background: transparent; color: var(--text-2); font-size: var(--type-xs); font-weight: var(--weight-strong);
|
|
380
429
|
}
|
|
381
430
|
.inspector-tabs button:hover:not(:disabled):not([aria-selected="true"]) { background: transparent; color: var(--text); }
|
|
382
|
-
.inspector-tabs button[aria-selected="true"] { background: var(--bg-raised); color: var(--text); box-shadow: var(--shadow-raised
|
|
431
|
+
.inspector-tabs button[aria-selected="true"] { background: var(--bg-raised); color: var(--text); box-shadow: var(--shadow-raised); }
|
|
383
432
|
.inspector-panel > .section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
|
|
384
433
|
|
|
385
434
|
.field { display: grid; grid-template-columns: minmax(0, auto) 1fr; align-items: center; column-gap: var(--space-1); margin-bottom: var(--space-3); }
|
|
@@ -387,8 +436,6 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
387
436
|
.field > input, .field > select, .field > textarea { grid-column: 1 / -1; grid-row: 2; }
|
|
388
437
|
.field > .info-tip { grid-column: 2; grid-row: 1; justify-self: start; margin-bottom: 6px; }
|
|
389
438
|
.field textarea { min-height: 95px; }
|
|
390
|
-
.two-fields { display: flex; gap: var(--space-3); }
|
|
391
|
-
.two-fields > * { flex: 1; min-width: 0; }
|
|
392
439
|
.tool-label { display: flex; align-items: center; gap: var(--space-2); padding: 6px 0; }
|
|
393
440
|
.tool-label input { width: auto; min-height: 0; }
|
|
394
441
|
|
|
@@ -397,14 +444,15 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
|
|
|
397
444
|
.prompt-field > textarea { min-height: 120px; max-height: 60vh; resize: none; overflow-y: auto; padding-right: 40px; }
|
|
398
445
|
.prompt-field > .prompt-expand { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; z-index: 1; margin: var(--space-1); min-width: var(--control-height); }
|
|
399
446
|
.prompt-field.fullscreen {
|
|
400
|
-
position: fixed; z-index:
|
|
447
|
+
position: fixed; z-index: var(--z-raised); inset: var(--space-5); margin: 0; grid-template-rows: auto 1fr;
|
|
401
448
|
padding: var(--space-4); background: var(--bg-surface); border: 1px solid var(--border);
|
|
402
449
|
border-radius: var(--card-radius); box-shadow: var(--shadow-menu);
|
|
403
450
|
}
|
|
404
451
|
.prompt-field.fullscreen > textarea { height: 100%; max-height: none; font-size: var(--type-sm); }
|
|
405
|
-
/* The inspector is its own stacking context, so it rises
|
|
406
|
-
|
|
407
|
-
.prompt-
|
|
452
|
+
/* The inspector is its own stacking context, so it rises over the backdrop, on the dialog layer, while
|
|
453
|
+
a prompt is full screen; menus and tooltips stay above it. */
|
|
454
|
+
body.prompt-fullscreen #inspector { z-index: calc(var(--z-dialog) + 1); }
|
|
455
|
+
.prompt-backdrop { position: fixed; inset: 0; z-index: var(--z-dialog); background: var(--overlay); }
|
|
408
456
|
|
|
409
457
|
/* A "?" beside a label keeps a long explanation one hover or focus away (ADR 0022). The text
|
|
410
458
|
stays in the document as the trigger's description. */
|
|
@@ -415,12 +463,12 @@ body.prompt-fullscreen #inspector { z-index: 60; }
|
|
|
415
463
|
width: 18px; height: 18px; min-height: 0; padding: 0; border-radius: var(--radius-full);
|
|
416
464
|
background: transparent; color: var(--text-3); font-weight: var(--weight-regular);
|
|
417
465
|
}
|
|
418
|
-
.info-tip > button:hover:not(:disabled), .info-tip > button:focus-visible, .info-tip.open > button { color: var(--text); background: var(--hover
|
|
466
|
+
.info-tip > button:hover:not(:disabled), .info-tip > button:focus-visible, .info-tip.open > button { color: var(--text); background: var(--hover); }
|
|
419
467
|
.info-tip-text {
|
|
420
|
-
position: absolute; z-index:
|
|
468
|
+
position: absolute; z-index: var(--z-tooltip); top: calc(100% + 6px); left: 0; right: 0; max-width: 360px;
|
|
421
469
|
padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--border);
|
|
422
470
|
background: var(--bg-input); color: var(--text-2); box-shadow: var(--shadow-menu);
|
|
423
|
-
font-size: var(--type-xs); line-height:
|
|
471
|
+
font-size: var(--type-xs); line-height: var(--leading-xs); font-weight: var(--weight-regular); white-space: normal;
|
|
424
472
|
opacity: 0; visibility: hidden; pointer-events: none;
|
|
425
473
|
transition: opacity var(--dur-1) var(--ease-standard), visibility var(--dur-1);
|
|
426
474
|
}
|
|
@@ -444,9 +492,9 @@ body.prompt-fullscreen #inspector { z-index: 60; }
|
|
|
444
492
|
#inspector-body .disclosure > div { min-width: 0; margin-inline-start: var(--space-1); padding-inline-start: var(--space-3); border-inline-start: 1px solid var(--border); }
|
|
445
493
|
#inspector-body .disclosure > div > .section:first-child { border-top: 0; padding-top: 0; }
|
|
446
494
|
|
|
447
|
-
.help { font-size: var(--type-xs); line-height:
|
|
448
|
-
.link-button { font-size: var(--type-xs); font-weight: var(--weight-regular); margin-left: var(--space-5); border: 0; background: transparent; text-decoration: underline; color: var(--accent-text
|
|
449
|
-
.link-button:hover:not(:disabled) { background: transparent; color: var(--accent-text
|
|
495
|
+
.help { font-size: var(--type-xs); line-height: var(--leading-xs); color: var(--text-2); }
|
|
496
|
+
.link-button { font-size: var(--type-xs); font-weight: var(--weight-regular); margin-left: var(--space-5); border: 0; background: transparent; text-decoration: underline; color: var(--accent-text); min-height: 0; padding: 0; }
|
|
497
|
+
.link-button:hover:not(:disabled) { background: transparent; color: var(--accent-text); }
|
|
450
498
|
.provider-warning { margin: 0 0 var(--space-3); }
|
|
451
499
|
|
|
452
500
|
/* Skills in prompts (skill-picker.js): the `/` picker reuses the dropdown panel, and a name this
|
|
@@ -457,11 +505,11 @@ body.prompt-fullscreen #inspector { z-index: 60; }
|
|
|
457
505
|
.skill-warning {
|
|
458
506
|
display: flex; align-items: flex-start; gap: var(--space-1); margin: 0; padding: 4px var(--space-2);
|
|
459
507
|
border-radius: var(--row-radius); color: var(--warn-text); box-shadow: inset 0 0 0 1px var(--warn);
|
|
460
|
-
font-size: var(--type-xs); line-height:
|
|
508
|
+
font-size: var(--type-xs); line-height: var(--leading-xs); cursor: help;
|
|
461
509
|
}
|
|
462
510
|
.skill-warning > svg { flex: none; margin-top: 2px; }
|
|
463
511
|
/* controls.css loads after this file, so the picker's rules are scoped to win over .select-option. */
|
|
464
|
-
.skill-picker.select-panel { z-index:
|
|
512
|
+
.skill-picker.select-panel { z-index: calc(var(--z-menu) + 1); }
|
|
465
513
|
.skill-picker .skill-option { flex-direction: column; align-items: stretch; justify-content: center; gap: 0; min-height: 36px; padding: 4px 8px; text-align: left; }
|
|
466
514
|
.skill-picker .skill-option-command { display: block; min-width: 0; font-family: var(--font-mono); font-size: var(--type-row); overflow: hidden; text-overflow: ellipsis; }
|
|
467
515
|
.skill-picker .skill-option-description { display: block; min-width: 0; color: var(--text-3); font-size: var(--type-xs); overflow: hidden; text-overflow: ellipsis; }
|
|
@@ -469,35 +517,31 @@ body.prompt-fullscreen #inspector { z-index: 60; }
|
|
|
469
517
|
.skill-picker-hint { padding: 6px 8px 2px; border-top: 1px solid var(--border); margin-top: 4px; color: var(--text-3); font-size: var(--type-xs); }
|
|
470
518
|
|
|
471
519
|
/* A validation problem is an error, and errors are the one colour the chrome allows. */
|
|
472
|
-
.validation { font-size: var(--type-xs); line-height:
|
|
520
|
+
.validation { font-size: var(--type-xs); line-height: var(--leading-xs); padding-left: 18px; color: var(--err-text); }
|
|
473
521
|
.valid { display: flex; align-items: center; gap: var(--space-2); margin: 0; color: var(--text-2); font-size: var(--type-xs); }
|
|
474
522
|
/* A graph that passed validation says so with the one "done" colour the chrome allows. */
|
|
475
|
-
.valid.ok::before { content: ''; flex: none; width: 6px; height: 6px; border-radius:
|
|
523
|
+
.valid.ok::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--ok); }
|
|
476
524
|
/* The graph's id is a reference, not a field: one quiet line that never wraps the panel. */
|
|
477
525
|
.graph-meta { margin: calc(-1 * var(--space-1)) 0 var(--space-3); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: text; -webkit-user-select: text; }
|
|
478
526
|
.danger { color: var(--err-text); }
|
|
479
527
|
|
|
480
528
|
.actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
|
|
481
529
|
.model-context { font-size: var(--type-xs); }
|
|
482
|
-
.modifier-badge {
|
|
483
|
-
display: inline-block; font-size: var(--type-xs); border-radius: var(--radius-xs); background: var(--bg-card);
|
|
484
|
-
color: var(--text-2); padding: 2px 6px; margin: 2px 2px 6px 0;
|
|
485
|
-
}
|
|
486
530
|
.cycle-help { padding: var(--space-3); border: 1px solid var(--border); background: var(--bg-card); border-radius: var(--btn-radius); margin-bottom: var(--space-3); }
|
|
487
|
-
.cycle-help p { font-size: var(--type-xs); line-height:
|
|
531
|
+
.cycle-help p { font-size: var(--type-xs); line-height: var(--leading-xs); }
|
|
488
532
|
|
|
489
533
|
/* The status strip -------------------------------------------------------- */
|
|
490
534
|
|
|
491
535
|
.status {
|
|
492
|
-
height:
|
|
536
|
+
height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
|
|
493
537
|
gap: var(--space-4); border-top: 1px solid var(--border); padding: 0 var(--space-2) 0 var(--space-3); font-size: var(--type-xs);
|
|
494
538
|
color: var(--text-3); background: var(--bg-surface);
|
|
495
539
|
}
|
|
496
540
|
.status button {
|
|
497
|
-
border: 0; background: transparent; font-size: var(--type-xs); font-weight: var(--weight-regular); height:
|
|
498
|
-
border-radius: var(--radius-
|
|
541
|
+
border: 0; background: transparent; font-size: var(--type-xs); font-weight: var(--weight-regular); height: 24px; min-height: 0; padding: 0 var(--space-2);
|
|
542
|
+
border-radius: var(--radius-sm); color: var(--text-3);
|
|
499
543
|
}
|
|
500
|
-
.status button:hover:not(:disabled) { background: var(--hover
|
|
544
|
+
.status button:hover:not(:disabled) { background: var(--hover); color: var(--text); }
|
|
501
545
|
.status.error { color: var(--err-text); }
|
|
502
546
|
#status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
503
547
|
.status-actions { display: flex; gap: var(--space-1); align-items: center; }
|
|
@@ -523,12 +567,13 @@ body.prompt-fullscreen #inspector { z-index: 60; }
|
|
|
523
567
|
#rail-resize:hover, #rail-resize:focus-visible, .rail.is-resizing #rail-resize { background: var(--accent-soft); }
|
|
524
568
|
.rail.is-resizing { user-select: none; }
|
|
525
569
|
.rail-body, #graphs { min-height: 0; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: transparent transparent; scrollbar-gutter: stable; }
|
|
526
|
-
.rail-body.is-scrolling, #graphs.is-scrolling, .rail-body:focus-visible, #graphs:focus-visible { scrollbar-color: var(--text
|
|
570
|
+
.rail-body.is-scrolling, #graphs.is-scrolling, .rail-body:focus-visible, #graphs:focus-visible { scrollbar-color: color-mix(in srgb, var(--text) 11%, transparent) transparent; }
|
|
527
571
|
.rail-body::-webkit-scrollbar, #graphs::-webkit-scrollbar { width: 6px; height: 0; }
|
|
528
572
|
.rail-body::-webkit-scrollbar-track, #graphs::-webkit-scrollbar-track { background: transparent; }
|
|
529
|
-
.rail-body::-webkit-scrollbar-thumb, #graphs::-webkit-scrollbar-thumb { background: transparent; border-radius: var(--radius-
|
|
573
|
+
.rail-body::-webkit-scrollbar-thumb, #graphs::-webkit-scrollbar-thumb { background: transparent; border-radius: var(--radius-full); }
|
|
530
574
|
.rail-body.is-scrolling::-webkit-scrollbar-thumb, #graphs.is-scrolling::-webkit-scrollbar-thumb,
|
|
531
|
-
.rail-body:focus-visible::-webkit-scrollbar-thumb, #graphs:focus-visible::-webkit-scrollbar-thumb { background: var(--text
|
|
575
|
+
.rail-body:focus-visible::-webkit-scrollbar-thumb, #graphs:focus-visible::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text) 11%, transparent); }
|
|
576
|
+
.rail-body::-webkit-scrollbar-thumb:hover, #graphs::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--text) 18%, transparent); }
|
|
532
577
|
.rail-body::-webkit-scrollbar-button, #graphs::-webkit-scrollbar-button { display: none; }
|
|
533
578
|
/* Tall enough to browse: about ten rows, and never more than the node library can spare. */
|
|
534
579
|
#graphs { max-height: clamp(150px, 42vh, 420px); overflow-x: hidden; overflow-y: auto; }
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
toggle.hidden = embedded;
|
|
47
47
|
toggle.textContent = theme === 'dark' ? 'Light' : 'Dark';
|
|
48
48
|
toggle.setAttribute('aria-label', theme === 'dark'
|
|
49
|
-
? 'Switch the
|
|
50
|
-
: 'Switch the
|
|
49
|
+
? 'Switch the Graph Editor to the light appearance'
|
|
50
|
+
: 'Switch the Graph Editor to the dark appearance');
|
|
51
51
|
}
|
|
52
52
|
// The canvas draws its connection colours from the tokens, so a change repaints them.
|
|
53
53
|
document.dispatchEvent(new CustomEvent('andorra:themechange', { detail: theme }));
|