@causyne/agent 1.20.124 → 1.20.127
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/bin/causyne.js +1 -1
- package/package.json +4 -4
- package/src/acp/protocol.ts +19 -1
- package/src/acp/server.js +282 -8
- package/src/acp/server.ts +284 -8
- package/src/agent/abortableDelay.js +2 -2
- package/src/agent/abortableDelay.ts +2 -2
- package/src/agent/errorClassifier.js +9 -1
- package/src/agent/errorClassifier.ts +8 -1
- package/src/agentLoop.js +83 -27
- package/src/agentLoop.ts +92 -26
- package/src/approvalPolicy.js +34 -10
- package/src/approvalPolicy.ts +42 -11
- package/src/browser/causyneBrowser.js +30 -3
- package/src/browser/causyneBrowser.ts +33 -3
- package/src/browser/urlPolicy.js +14 -1
- package/src/browser/urlPolicy.ts +12 -1
- package/src/cliMode.js +21 -9
- package/src/cliMode.ts +20 -8
- package/src/commands.js +188 -32
- package/src/commands.ts +209 -32
- package/src/config.js +19 -4
- package/src/config.ts +18 -4
- package/src/core/contextCompactor.js +54 -7
- package/src/core/contextCompactor.ts +63 -7
- package/src/core/goalLoop.js +257 -0
- package/src/core/goalLoop.ts +310 -0
- package/src/entrypoint.js +135 -3
- package/src/entrypoint.ts +136 -3
- package/src/game/causyneCoreBridge.js +686 -0
- package/src/game/causyneCoreBridge.ts +702 -0
- package/src/game/gameLauncher.js +287 -0
- package/src/game/gameLauncher.ts +352 -0
- package/src/game/gameProvisioner.js +425 -0
- package/src/game/gameProvisioner.ts +488 -0
- package/src/headlessCli.js +19 -12
- package/src/headlessCli.ts +22 -8
- package/src/infra/atomicWriter.js +40 -4
- package/src/infra/atomicWriter.ts +36 -4
- package/src/launchIntent.js +73 -3
- package/src/launchIntent.ts +76 -3
- package/src/lsp/lspClient.js +83 -12
- package/src/lsp/lspClient.ts +75 -12
- package/src/mcp/mcpRegistry.js +75 -8
- package/src/mcp/mcpRegistry.ts +70 -7
- package/src/memory/contextBudget.js +2 -0
- package/src/memory/contextBudget.ts +1 -0
- package/src/modelVariants.js +45 -0
- package/src/modelVariants.ts +54 -0
- package/src/outputRecovery.js +3 -2
- package/src/outputRecovery.ts +4 -2
- package/src/permissionPresets.js +327 -0
- package/src/permissionPresets.ts +361 -0
- package/src/providers/antigravity.js +62 -9
- package/src/providers/antigravity.ts +73 -9
- package/src/providers/byokHttp.js +7 -1
- package/src/providers/byokHttp.ts +6 -1
- package/src/providers/byokStream.js +21 -8
- package/src/providers/byokStream.ts +17 -7
- package/src/providers/dashscope-byok.js +21 -5
- package/src/providers/dashscope-byok.ts +29 -11
- package/src/providers/moonshot.js +26 -7
- package/src/providers/moonshot.ts +34 -13
- package/src/providers/muse.js +6 -0
- package/src/providers/muse.ts +8 -0
- package/src/providers/ollama.js +39 -7
- package/src/providers/ollama.ts +36 -7
- package/src/providers/openai-compatible.js +16 -3
- package/src/providers/openai-compatible.ts +13 -3
- package/src/providers/openai.js +62 -4
- package/src/providers/openai.ts +50 -4
- package/src/providers/openrouter.js +19 -4
- package/src/providers/openrouter.ts +21 -4
- package/src/providers/qwen-byok.js +21 -5
- package/src/providers/qwen-byok.ts +29 -11
- package/src/providers/xai.js +26 -10
- package/src/providers/xai.ts +34 -16
- package/src/reporting.js +4 -2
- package/src/reporting.ts +4 -2
- package/src/sandbox.js +34 -0
- package/src/sandbox.ts +43 -0
- package/src/scheduler/scheduler.js +372 -0
- package/src/scheduler/scheduler.ts +433 -0
- package/src/sessionSearchIndex.js +267 -0
- package/src/sessionSearchIndex.ts +311 -0
- package/src/skillsManager.js +2 -3
- package/src/skillsManager.ts +2 -3
- package/src/toolPacks.js +6 -0
- package/src/toolPacks.ts +6 -0
- package/src/tools/applyPatch.js +1 -1
- package/src/tools/applyPatch.ts +1 -1
- package/src/tools/generateMediaViaApi.js +4 -3
- package/src/tools/generateMediaViaApi.ts +4 -3
- package/src/tools/nativeEngine.js +2 -2
- package/src/tools/nativeEngine.ts +2 -2
- package/src/tools/openSourceToolProvisioner.js +2 -2
- package/src/tools/openSourceToolProvisioner.ts +2 -2
- package/src/tools/payloadSanitizer.js +0 -1
- package/src/tools/payloadSanitizer.ts +0 -1
- package/src/tools/pdfReader.js +122 -20
- package/src/tools/pdfReader.ts +111 -20
- package/src/tools/presentDeliverable.js +103 -0
- package/src/tools/presentDeliverable.ts +127 -0
- package/src/tools/ptcRuntime.js +444 -0
- package/src/tools/ptcRuntime.ts +490 -0
- package/src/tools/ptyTerminal.js +1096 -0
- package/src/tools/ptyTerminal.ts +1231 -0
- package/src/tools/registry.js +21 -12
- package/src/tools/registry.ts +21 -12
- package/src/tools/toolOutputStore.js +26 -4
- package/src/tools/toolOutputStore.ts +22 -4
- package/src/tools/webFetch.js +158 -11
- package/src/tools/webFetch.ts +145 -11
- package/src/tools/webSearch.js +123 -36
- package/src/tools/webSearch.ts +124 -33
- package/src/tui/banner.js +5 -1
- package/src/tui/banner.ts +6 -1
- package/src/tui/chatRenderer.js +1 -2
- package/src/tui/chatRenderer.ts +1 -2
- package/src/tui/completion.js +1 -0
- package/src/tui/completion.ts +1 -0
- package/src/tui/composerControls.js +111 -27
- package/src/tui/composerControls.ts +124 -28
- package/src/tui/dialogs.js +3 -16
- package/src/tui/dialogs.ts +3 -16
- package/src/tui/home.js +1 -0
- package/src/tui/home.ts +1 -0
- package/src/tui/invocation.js +1 -2
- package/src/tui/invocation.ts +1 -2
- package/src/tui/modelPicker.js +22 -12
- package/src/tui/modelPicker.ts +22 -12
- package/src/tui/overlay.js +2 -5
- package/src/tui/overlay.ts +2 -5
- package/src/tui/prompt.js +6 -4
- package/src/tui/prompt.ts +6 -4
- package/src/tui/selectList.js +4 -12
- package/src/tui/selectList.ts +4 -12
- package/src/tui/setup.js +22 -9
- package/src/tui/setup.ts +26 -9
- package/src/tui/statusLine.ts +2 -0
- package/src/web/client/browserPanel.js +702 -0
- package/src/web/client/browserPanel.ts +663 -0
- package/src/web/client/chatStream.js +309 -0
- package/src/web/client/chatStream.ts +289 -0
- package/src/web/client/cliPanel.js +165 -0
- package/src/web/client/cliPanel.ts +171 -0
- package/src/web/client/composer.js +204 -0
- package/src/web/client/composer.ts +209 -0
- package/src/web/client/diffPanel.js +176 -0
- package/src/web/client/diffPanel.ts +203 -0
- package/src/web/client/dom.js +220 -0
- package/src/web/client/dom.ts +221 -0
- package/src/web/client/filesAndCanvas.js +231 -0
- package/src/web/client/filesAndCanvas.ts +238 -0
- package/src/web/client/gameLauncherUi.js +78 -0
- package/src/web/client/gameLauncherUi.ts +78 -0
- package/src/web/client/main.js +301 -0
- package/src/web/client/main.ts +368 -0
- package/src/web/client/markdown.js +364 -0
- package/src/web/client/markdown.ts +373 -0
- package/src/web/client/modelPicker.js +455 -0
- package/src/web/client/modelPicker.ts +451 -0
- package/src/web/client/permissionPresetsUi.js +307 -0
- package/src/web/client/permissionPresetsUi.ts +333 -0
- package/src/web/client/sessions.js +353 -0
- package/src/web/client/sessions.ts +372 -0
- package/src/web/client/settingsModal.js +191 -0
- package/src/web/client/settingsModal.ts +176 -0
- package/src/web/client/state.js +250 -0
- package/src/web/client/state.ts +233 -0
- package/src/web/client/streamSmoother.js +127 -0
- package/src/web/client/streamSmoother.ts +119 -0
- package/src/web/client/studioLayout.js +54 -0
- package/src/web/client/studioLayout.ts +60 -0
- package/src/web/client/studioShell.js +327 -0
- package/src/web/client/studioShell.ts +340 -0
- package/src/web/client/studioStart.js +77 -0
- package/src/web/client/studioStart.ts +89 -0
- package/src/web/client/terminalPanel.js +357 -0
- package/src/web/client/terminalPanel.ts +345 -0
- package/src/web/client/turnView.js +934 -0
- package/src/web/client/turnView.ts +981 -0
- package/src/web/client/types.js +1 -0
- package/src/web/client/types.ts +319 -0
- package/src/web/client/validators.js +106 -0
- package/src/web/client/validators.ts +96 -0
- package/src/web/server/activeRuns.js +152 -0
- package/src/web/server/activeRuns.ts +171 -0
- package/src/web/server/routesBrowser.js +355 -0
- package/src/web/server/routesBrowser.ts +386 -0
- package/src/web/server/routesChat.js +304 -0
- package/src/web/server/routesChat.ts +347 -0
- package/src/web/server/routesCore.js +472 -0
- package/src/web/server/routesCore.ts +522 -0
- package/src/web/server/routesTerminal.js +162 -0
- package/src/web/server/routesTerminal.ts +182 -0
- package/src/web/server/routesWorkspace.js +510 -0
- package/src/web/server/routesWorkspace.ts +546 -0
- package/src/web/server/security.js +98 -0
- package/src/web/server/security.ts +108 -0
- package/src/web/server/sessionTranscript.js +586 -0
- package/src/web/server/sessionTranscript.ts +566 -0
- package/src/web/server/staticAssets.js +80 -0
- package/src/web/server/staticAssets.ts +91 -0
- package/src/web/server/types.js +1 -0
- package/src/web/server/types.ts +135 -0
- package/src/web/server/workspaceFiles.js +368 -0
- package/src/web/server/workspaceFiles.ts +363 -0
- package/src/web/skybridgeServer.js +76 -2449
- package/src/web/skybridgeServer.ts +118 -2600
- package/src/web/skybridgeUi.js +16 -450
- package/src/web/skybridgeUi.ts +16 -454
- package/src/web/styles/agent.css +380 -0
- package/src/web/styles/composer.css +193 -0
- package/src/web/styles/overlays.css +436 -0
- package/src/web/styles/shell.css +387 -0
- package/src/web/styles/studio.css +723 -0
- package/src/web/styles/thread.css +221 -0
- package/src/web/styles/tokens.css +94 -0
- package/src/web/ui/brandMark.js +73 -0
- package/src/web/ui/brandMark.ts +82 -0
- package/src/web/ui/modalsTemplate.js +139 -0
- package/src/web/ui/modalsTemplate.ts +139 -0
- package/src/web/ui/sidebarTemplate.js +63 -0
- package/src/web/ui/sidebarTemplate.ts +64 -0
- package/src/web/ui/studioTemplate.js +258 -0
- package/src/web/ui/studioTemplate.ts +258 -0
- package/src/web/ui/workspaceTemplate.js +72 -0
- package/src/web/ui/workspaceTemplate.ts +73 -0
- package/src/worktreeManager.js +16 -1
- package/src/worktreeManager.ts +22 -1
- package/src/web/skybridgeClientScript.js +0 -3951
- package/src/web/skybridgeClientScript.ts +0 -3952
- package/src/web/skybridgeStyles.js +0 -827
- package/src/web/skybridgeStyles.ts +0 -828
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
/* Application Shell, Left Sidebar, Aperture Mark, Topbar & Hero Stage */
|
|
2
|
+
.app { display: flex; height: 100vh; width: 100vw; overflow: hidden; background: var(--bg); }
|
|
3
|
+
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 25; }
|
|
4
|
+
|
|
5
|
+
/* Left Sidebar */
|
|
6
|
+
.sidebar {
|
|
7
|
+
width: var(--sidebar-w);
|
|
8
|
+
flex: 0 0 var(--sidebar-w);
|
|
9
|
+
height: 100%;
|
|
10
|
+
background: var(--sidebar-bg);
|
|
11
|
+
border-right: 1px solid var(--border);
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
transition: width 0.18s ease, transform 0.18s ease;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
z-index: 30;
|
|
17
|
+
}
|
|
18
|
+
.app.sidebar-collapsed .sidebar { width: 0; flex-basis: 0; border-right: 0 solid transparent; }
|
|
19
|
+
.sidebar-head {
|
|
20
|
+
height: var(--topbar-h);
|
|
21
|
+
padding: 0 10px 0 12px;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
}
|
|
27
|
+
.brand-btn {
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 8px;
|
|
31
|
+
background: transparent;
|
|
32
|
+
border: none;
|
|
33
|
+
padding: 5px 6px;
|
|
34
|
+
border-radius: 8px;
|
|
35
|
+
color: var(--text);
|
|
36
|
+
}
|
|
37
|
+
.brand-btn:hover { background: var(--surface-2); }
|
|
38
|
+
.brand-mark { width: 24px; height: 24px; display: block; flex-shrink: 0; overflow: visible; }
|
|
39
|
+
.causyne-aperture { overflow: visible; }
|
|
40
|
+
.causyne-aperture .causyne-rotor {
|
|
41
|
+
transform-box: view-box;
|
|
42
|
+
transform-origin: 627px 627px;
|
|
43
|
+
will-change: transform;
|
|
44
|
+
}
|
|
45
|
+
.causyne-aperture .causyne-outline { opacity: 0.92; transition: opacity 0.2s ease; }
|
|
46
|
+
:root[data-theme="light"] .causyne-aperture .causyne-outline { opacity: 0; }
|
|
47
|
+
.causyne-aperture .causyne-blade { transition: fill 0.25s ease; }
|
|
48
|
+
.brand-word {
|
|
49
|
+
font-family: var(--font-display);
|
|
50
|
+
font-size: 13.5px;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
letter-spacing: 0.12em;
|
|
53
|
+
text-transform: uppercase;
|
|
54
|
+
}
|
|
55
|
+
.icon-btn {
|
|
56
|
+
width: 32px;
|
|
57
|
+
height: 32px;
|
|
58
|
+
border-radius: 8px;
|
|
59
|
+
border: none;
|
|
60
|
+
background: transparent;
|
|
61
|
+
color: var(--text-2);
|
|
62
|
+
display: inline-flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
transition: background 0.14s, color 0.14s;
|
|
66
|
+
flex-shrink: 0;
|
|
67
|
+
}
|
|
68
|
+
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
|
|
69
|
+
.icon-btn.active { background: var(--surface-2); color: var(--text); }
|
|
70
|
+
.icon-btn svg {
|
|
71
|
+
width: 16px;
|
|
72
|
+
height: 16px;
|
|
73
|
+
stroke: currentColor;
|
|
74
|
+
fill: none;
|
|
75
|
+
stroke-width: 1.75;
|
|
76
|
+
stroke-linecap: round;
|
|
77
|
+
stroke-linejoin: round;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sidebar-nav { padding: 4px 8px 6px; display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
|
|
81
|
+
.nav-row {
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 34px;
|
|
84
|
+
padding: 0 10px;
|
|
85
|
+
border: none;
|
|
86
|
+
border-radius: 8px;
|
|
87
|
+
background: transparent;
|
|
88
|
+
color: var(--text);
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 10px;
|
|
92
|
+
font-size: 13.5px;
|
|
93
|
+
text-align: left;
|
|
94
|
+
transition: background 0.12s ease;
|
|
95
|
+
}
|
|
96
|
+
.nav-row:hover { background: var(--surface-2); }
|
|
97
|
+
.nav-row.active { background: var(--surface-2); font-weight: 500; }
|
|
98
|
+
.nav-row svg {
|
|
99
|
+
width: 15px;
|
|
100
|
+
height: 15px;
|
|
101
|
+
stroke: currentColor;
|
|
102
|
+
fill: none;
|
|
103
|
+
stroke-width: 1.7;
|
|
104
|
+
stroke-linecap: round;
|
|
105
|
+
stroke-linejoin: round;
|
|
106
|
+
flex-shrink: 0;
|
|
107
|
+
opacity: 0.78;
|
|
108
|
+
}
|
|
109
|
+
.nav-kbd { margin-left: auto; font-size: 11px; color: var(--text-dim); }
|
|
110
|
+
|
|
111
|
+
.sidebar-search { padding: 6px 10px 8px; flex-shrink: 0; }
|
|
112
|
+
.sidebar-search input {
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: 32px;
|
|
115
|
+
padding: 0 10px;
|
|
116
|
+
border-radius: 8px;
|
|
117
|
+
border: 1px solid var(--border);
|
|
118
|
+
background: var(--surface);
|
|
119
|
+
font-size: 13px;
|
|
120
|
+
color: var(--text);
|
|
121
|
+
}
|
|
122
|
+
.sidebar-search input::placeholder { color: var(--text-dim); }
|
|
123
|
+
|
|
124
|
+
.session-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 8px 10px; }
|
|
125
|
+
.session-group-label {
|
|
126
|
+
font-size: 11.5px;
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
color: var(--text-dim);
|
|
129
|
+
padding: 10px 10px 4px;
|
|
130
|
+
}
|
|
131
|
+
.session-item {
|
|
132
|
+
position: relative;
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 4px;
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 32px;
|
|
138
|
+
padding: 0 6px 0 10px;
|
|
139
|
+
border-radius: 8px;
|
|
140
|
+
color: var(--text-2);
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
transition: background 0.12s ease, color 0.12s ease;
|
|
143
|
+
}
|
|
144
|
+
.session-item:hover { background: var(--surface-2); color: var(--text); }
|
|
145
|
+
.session-item.active { background: var(--surface-2); color: var(--text); font-weight: 500; }
|
|
146
|
+
.session-title {
|
|
147
|
+
flex: 1;
|
|
148
|
+
min-width: 0;
|
|
149
|
+
font-size: 13px;
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
text-overflow: ellipsis;
|
|
153
|
+
background: transparent;
|
|
154
|
+
border: none;
|
|
155
|
+
text-align: left;
|
|
156
|
+
padding: 0;
|
|
157
|
+
color: inherit;
|
|
158
|
+
}
|
|
159
|
+
.session-run-dot {
|
|
160
|
+
width: 6px;
|
|
161
|
+
height: 6px;
|
|
162
|
+
border-radius: 50%;
|
|
163
|
+
background: var(--lime);
|
|
164
|
+
flex-shrink: 0;
|
|
165
|
+
margin-right: 4px;
|
|
166
|
+
animation: dframe-dot-pulse 1.5s ease-in-out infinite;
|
|
167
|
+
}
|
|
168
|
+
.session-run-dot.awaiting { background: var(--warn); }
|
|
169
|
+
.session-rename-input {
|
|
170
|
+
flex: 1;
|
|
171
|
+
min-width: 0;
|
|
172
|
+
height: 24px;
|
|
173
|
+
padding: 0 6px;
|
|
174
|
+
border-radius: 5px;
|
|
175
|
+
border: 1px solid var(--border-strong);
|
|
176
|
+
background: var(--bg);
|
|
177
|
+
color: var(--text);
|
|
178
|
+
font-size: 12.5px;
|
|
179
|
+
outline: none;
|
|
180
|
+
}
|
|
181
|
+
.session-actions { display: none; align-items: center; gap: 2px; flex-shrink: 0; }
|
|
182
|
+
.session-item:hover .session-actions, .session-item.active .session-actions { display: inline-flex; }
|
|
183
|
+
.mini-icon-btn {
|
|
184
|
+
width: 22px;
|
|
185
|
+
height: 22px;
|
|
186
|
+
border: none;
|
|
187
|
+
border-radius: 5px;
|
|
188
|
+
background: transparent;
|
|
189
|
+
color: var(--text-dim);
|
|
190
|
+
display: inline-flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
justify-content: center;
|
|
193
|
+
font-size: 11px;
|
|
194
|
+
}
|
|
195
|
+
.mini-icon-btn:hover { background: var(--surface-3); color: var(--text); }
|
|
196
|
+
.session-empty { padding: 12px 10px; font-size: 12.5px; color: var(--text-dim); }
|
|
197
|
+
|
|
198
|
+
.sidebar-foot {
|
|
199
|
+
border-top: 1px solid var(--border);
|
|
200
|
+
padding: 10px 14px;
|
|
201
|
+
flex-shrink: 0;
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
justify-content: space-between;
|
|
205
|
+
gap: 8px;
|
|
206
|
+
}
|
|
207
|
+
.ws-name {
|
|
208
|
+
font-size: 12.5px;
|
|
209
|
+
font-weight: 500;
|
|
210
|
+
color: var(--text-2);
|
|
211
|
+
white-space: nowrap;
|
|
212
|
+
overflow: hidden;
|
|
213
|
+
text-overflow: ellipsis;
|
|
214
|
+
min-width: 0;
|
|
215
|
+
}
|
|
216
|
+
.ws-meta { font-size: 11.5px; color: var(--text-dim); white-space: nowrap; flex-shrink: 0; }
|
|
217
|
+
|
|
218
|
+
/* Main Center Workspace */
|
|
219
|
+
.workspace {
|
|
220
|
+
flex: 1;
|
|
221
|
+
min-width: 0;
|
|
222
|
+
height: 100%;
|
|
223
|
+
display: flex;
|
|
224
|
+
flex-direction: column;
|
|
225
|
+
position: relative;
|
|
226
|
+
background: var(--bg);
|
|
227
|
+
overflow: hidden;
|
|
228
|
+
}
|
|
229
|
+
.topbar {
|
|
230
|
+
height: var(--topbar-h);
|
|
231
|
+
padding: 0 14px;
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
justify-content: space-between;
|
|
235
|
+
gap: 8px;
|
|
236
|
+
flex-shrink: 0;
|
|
237
|
+
z-index: 15;
|
|
238
|
+
min-width: 0;
|
|
239
|
+
}
|
|
240
|
+
.topbar-left { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
|
|
241
|
+
.topbar-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
|
|
242
|
+
.liveness-pill {
|
|
243
|
+
display: none;
|
|
244
|
+
align-items: center;
|
|
245
|
+
gap: 7px;
|
|
246
|
+
height: 28px;
|
|
247
|
+
padding: 0 10px;
|
|
248
|
+
border-radius: 999px;
|
|
249
|
+
background: rgba(171, 219, 95, 0.08);
|
|
250
|
+
border: 1px solid rgba(171, 219, 95, 0.22);
|
|
251
|
+
font-size: 12.5px;
|
|
252
|
+
color: var(--text);
|
|
253
|
+
max-width: 240px;
|
|
254
|
+
}
|
|
255
|
+
:root[data-theme="light"] .liveness-pill {
|
|
256
|
+
background: rgba(124, 179, 44, 0.10);
|
|
257
|
+
border-color: rgba(124, 179, 44, 0.28);
|
|
258
|
+
}
|
|
259
|
+
.liveness-pill.active { display: inline-flex; }
|
|
260
|
+
.liveness-mark { width: 16px; height: 16px; }
|
|
261
|
+
.liveness-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
262
|
+
.pulse-dot {
|
|
263
|
+
width: 6px;
|
|
264
|
+
height: 6px;
|
|
265
|
+
border-radius: 50%;
|
|
266
|
+
background: var(--text-2);
|
|
267
|
+
flex-shrink: 0;
|
|
268
|
+
animation: pulse 1.4s ease-in-out infinite;
|
|
269
|
+
}
|
|
270
|
+
@keyframes pulse { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }
|
|
271
|
+
@keyframes causyne-aperture-orbit {
|
|
272
|
+
0% { transform: rotate(0deg) scale(0.95); }
|
|
273
|
+
25% { transform: rotate(90deg) scale(1.03); }
|
|
274
|
+
50% { transform: rotate(180deg) scale(0.95); }
|
|
275
|
+
75% { transform: rotate(270deg) scale(1.03); }
|
|
276
|
+
100% { transform: rotate(360deg) scale(0.95); }
|
|
277
|
+
}
|
|
278
|
+
@keyframes causyne-blade-chase {
|
|
279
|
+
0%, 14% { fill: #ABDB5F; }
|
|
280
|
+
22% { fill: #5A6F4A; }
|
|
281
|
+
32%, 100% { fill: #383D45; }
|
|
282
|
+
}
|
|
283
|
+
.liveness-pill.active .liveness-mark .causyne-rotor,
|
|
284
|
+
.turn-live-row.is-active .turn-live-mark .causyne-rotor {
|
|
285
|
+
animation: causyne-aperture-orbit 3.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
|
|
286
|
+
}
|
|
287
|
+
.liveness-pill.active .liveness-mark,
|
|
288
|
+
.turn-live-row.is-active .turn-live-mark .causyne-aperture {
|
|
289
|
+
filter: drop-shadow(0 0 5px rgba(171, 219, 95, 0.28));
|
|
290
|
+
}
|
|
291
|
+
.liveness-pill.active .liveness-mark .causyne-blade,
|
|
292
|
+
.turn-live-row.is-active .turn-live-mark .causyne-blade {
|
|
293
|
+
animation: causyne-blade-chase 1.8s linear infinite;
|
|
294
|
+
}
|
|
295
|
+
.causyne-blade.b1 { animation-delay: 0s; }
|
|
296
|
+
.causyne-blade.b2 { animation-delay: -1.5s; }
|
|
297
|
+
.causyne-blade.b3 { animation-delay: -1.2s; }
|
|
298
|
+
.causyne-blade.b4 { animation-delay: -0.9s; }
|
|
299
|
+
.causyne-blade.b5 { animation-delay: -0.6s; }
|
|
300
|
+
.causyne-blade.b6 { animation-delay: -0.3s; }
|
|
301
|
+
|
|
302
|
+
.usage-pill { display: none; font-size: 12px; color: var(--text-dim); padding: 0 6px; }
|
|
303
|
+
.usage-pill.visible { display: inline-flex; }
|
|
304
|
+
#open-sidebar-btn { display: none; }
|
|
305
|
+
.app.sidebar-collapsed #open-sidebar-btn { display: inline-flex; }
|
|
306
|
+
|
|
307
|
+
.model-trigger {
|
|
308
|
+
height: 34px;
|
|
309
|
+
padding: 0 10px;
|
|
310
|
+
border-radius: 8px;
|
|
311
|
+
border: none;
|
|
312
|
+
background: transparent;
|
|
313
|
+
color: var(--text);
|
|
314
|
+
display: inline-flex;
|
|
315
|
+
align-items: center;
|
|
316
|
+
gap: 6px;
|
|
317
|
+
font-size: 14px;
|
|
318
|
+
font-weight: 500;
|
|
319
|
+
max-width: min(320px, 100%);
|
|
320
|
+
min-width: 0;
|
|
321
|
+
}
|
|
322
|
+
.model-trigger:hover { background: var(--surface-2); }
|
|
323
|
+
.model-trigger-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
324
|
+
.model-chevron {
|
|
325
|
+
width: 14px;
|
|
326
|
+
height: 14px;
|
|
327
|
+
stroke: var(--text-dim);
|
|
328
|
+
fill: none;
|
|
329
|
+
stroke-width: 1.8;
|
|
330
|
+
stroke-linecap: round;
|
|
331
|
+
stroke-linejoin: round;
|
|
332
|
+
flex-shrink: 0;
|
|
333
|
+
}
|
|
334
|
+
.topbar-select {
|
|
335
|
+
height: 32px;
|
|
336
|
+
padding: 0 10px;
|
|
337
|
+
border-radius: 8px;
|
|
338
|
+
border: none;
|
|
339
|
+
background: transparent;
|
|
340
|
+
color: var(--text-2);
|
|
341
|
+
font-size: 13px;
|
|
342
|
+
cursor: pointer;
|
|
343
|
+
}
|
|
344
|
+
.topbar-select:hover { background: var(--surface-2); color: var(--text); }
|
|
345
|
+
.studio-toggle {
|
|
346
|
+
height: 32px;
|
|
347
|
+
padding: 0 10px;
|
|
348
|
+
border-radius: 8px;
|
|
349
|
+
border: none;
|
|
350
|
+
background: transparent;
|
|
351
|
+
color: var(--text-2);
|
|
352
|
+
font-size: 13px;
|
|
353
|
+
font-weight: 500;
|
|
354
|
+
display: inline-flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
gap: 6px;
|
|
357
|
+
}
|
|
358
|
+
.studio-toggle:hover, .app.studio-open .studio-toggle { background: var(--surface-2); color: var(--text); }
|
|
359
|
+
.studio-toggle svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; }
|
|
360
|
+
|
|
361
|
+
/* Stage: Hero -> Active Thread */
|
|
362
|
+
.stage { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
|
|
363
|
+
.stage.is-empty { justify-content: center; align-items: center; padding: 0 20px 64px; }
|
|
364
|
+
.stage.is-empty .thread-wrap { display: none; }
|
|
365
|
+
.stage.has-messages .hero-block { display: none; }
|
|
366
|
+
.hero-block {
|
|
367
|
+
width: 100%;
|
|
368
|
+
max-width: var(--composer-w);
|
|
369
|
+
text-align: center;
|
|
370
|
+
margin-bottom: 24px;
|
|
371
|
+
display: flex;
|
|
372
|
+
flex-direction: column;
|
|
373
|
+
align-items: center;
|
|
374
|
+
gap: 14px;
|
|
375
|
+
}
|
|
376
|
+
.hero-emblem { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
|
|
377
|
+
.hero-mark { width: 46px; height: 46px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28)); }
|
|
378
|
+
:root[data-theme="light"] .hero-mark { filter: drop-shadow(0 4px 12px rgba(20, 23, 20, 0.12)); }
|
|
379
|
+
.hero-title {
|
|
380
|
+
margin: 0;
|
|
381
|
+
font-family: var(--font-sans);
|
|
382
|
+
font-size: clamp(24px, 2.8vw, 30px);
|
|
383
|
+
font-weight: 500;
|
|
384
|
+
letter-spacing: -0.02em;
|
|
385
|
+
color: var(--text);
|
|
386
|
+
line-height: 1.25;
|
|
387
|
+
}
|