@openma/common 0.0.0-stage → 0.9.1
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/LICENSE +202 -0
- package/README.md +391 -2
- package/dist/acp-artifacts/binary.d.ts +35 -0
- package/dist/acp-artifacts/binary.d.ts.map +1 -0
- package/dist/acp-artifacts/binary.js +120 -0
- package/dist/acp-artifacts/binary.js.map +1 -0
- package/dist/acp-artifacts/index.d.ts +7 -0
- package/dist/acp-artifacts/index.d.ts.map +1 -0
- package/dist/acp-artifacts/index.js +7 -0
- package/dist/acp-artifacts/index.js.map +1 -0
- package/dist/acp-artifacts/node-abi.d.ts +3 -0
- package/dist/acp-artifacts/node-abi.d.ts.map +1 -0
- package/dist/acp-artifacts/node-abi.js +17 -0
- package/dist/acp-artifacts/node-abi.js.map +1 -0
- package/dist/acp-artifacts/npm-cli.d.ts +3 -0
- package/dist/acp-artifacts/npm-cli.d.ts.map +1 -0
- package/dist/acp-artifacts/npm-cli.js +9 -0
- package/dist/acp-artifacts/npm-cli.js.map +1 -0
- package/dist/acp-artifacts/npm.d.ts +37 -0
- package/dist/acp-artifacts/npm.d.ts.map +1 -0
- package/dist/acp-artifacts/npm.js +167 -0
- package/dist/acp-artifacts/npm.js.map +1 -0
- package/dist/acp-artifacts/registry.d.ts +45 -0
- package/dist/acp-artifacts/registry.d.ts.map +1 -0
- package/dist/acp-artifacts/registry.js +206 -0
- package/dist/acp-artifacts/registry.js.map +1 -0
- package/dist/acp-artifacts/shared.d.ts +45 -0
- package/dist/acp-artifacts/shared.d.ts.map +1 -0
- package/dist/acp-artifacts/shared.js +157 -0
- package/dist/acp-artifacts/shared.js.map +1 -0
- package/dist/acp-artifacts/uvx.d.ts +32 -0
- package/dist/acp-artifacts/uvx.d.ts.map +1 -0
- package/dist/acp-artifacts/uvx.js +95 -0
- package/dist/acp-artifacts/uvx.js.map +1 -0
- package/dist/acp-fork/index.d.ts +51 -0
- package/dist/acp-fork/index.d.ts.map +1 -0
- package/dist/acp-fork/index.js +116 -0
- package/dist/acp-fork/index.js.map +1 -0
- package/dist/acp-harnesses/agent-setup.d.ts +118 -0
- package/dist/acp-harnesses/agent-setup.d.ts.map +1 -0
- package/dist/acp-harnesses/agent-setup.js +717 -0
- package/dist/acp-harnesses/agent-setup.js.map +1 -0
- package/dist/acp-harnesses/custom-agents.d.ts +81 -0
- package/dist/acp-harnesses/custom-agents.d.ts.map +1 -0
- package/dist/acp-harnesses/custom-agents.js +361 -0
- package/dist/acp-harnesses/custom-agents.js.map +1 -0
- package/dist/acp-harnesses/headless-launch.d.ts +34 -0
- package/dist/acp-harnesses/headless-launch.d.ts.map +1 -0
- package/dist/acp-harnesses/headless-launch.js +67 -0
- package/dist/acp-harnesses/headless-launch.js.map +1 -0
- package/dist/acp-harnesses/index.d.ts +18 -0
- package/dist/acp-harnesses/index.d.ts.map +1 -0
- package/dist/acp-harnesses/index.js +58 -0
- package/dist/acp-harnesses/index.js.map +1 -0
- package/dist/acp-harnesses/install-state.d.ts +86 -0
- package/dist/acp-harnesses/install-state.d.ts.map +1 -0
- package/dist/acp-harnesses/install-state.js +322 -0
- package/dist/acp-harnesses/install-state.js.map +1 -0
- package/dist/acp-harnesses/installer.d.ts +145 -0
- package/dist/acp-harnesses/installer.d.ts.map +1 -0
- package/dist/acp-harnesses/installer.js +716 -0
- package/dist/acp-harnesses/installer.js.map +1 -0
- package/dist/acp-harnesses/known-agents.d.ts +154 -0
- package/dist/acp-harnesses/known-agents.d.ts.map +1 -0
- package/dist/acp-harnesses/known-agents.js +240 -0
- package/dist/acp-harnesses/known-agents.js.map +1 -0
- package/dist/acp-harnesses/launcher.d.ts +27 -0
- package/dist/acp-harnesses/launcher.d.ts.map +1 -0
- package/dist/acp-harnesses/launcher.js +64 -0
- package/dist/acp-harnesses/launcher.js.map +1 -0
- package/dist/acp-harnesses/registry-fetch.d.ts +42 -0
- package/dist/acp-harnesses/registry-fetch.d.ts.map +1 -0
- package/dist/acp-harnesses/registry-fetch.js +132 -0
- package/dist/acp-harnesses/registry-fetch.js.map +1 -0
- package/dist/acp-harnesses/registry.d.ts +36 -0
- package/dist/acp-harnesses/registry.d.ts.map +1 -0
- package/dist/acp-harnesses/registry.js +307 -0
- package/dist/acp-harnesses/registry.js.map +1 -0
- package/dist/acp-runtime/errors.d.ts +7 -0
- package/dist/acp-runtime/errors.d.ts.map +1 -0
- package/dist/acp-runtime/errors.js +17 -0
- package/dist/acp-runtime/errors.js.map +1 -0
- package/dist/acp-runtime/fork-support.d.ts +8 -0
- package/dist/acp-runtime/fork-support.d.ts.map +1 -0
- package/dist/acp-runtime/fork-support.js +20 -0
- package/dist/acp-runtime/fork-support.js.map +1 -0
- package/dist/acp-runtime/index.d.ts +11 -0
- package/dist/acp-runtime/index.d.ts.map +1 -0
- package/dist/acp-runtime/index.js +6 -0
- package/dist/acp-runtime/index.js.map +1 -0
- package/dist/acp-runtime/probe.d.ts +103 -0
- package/dist/acp-runtime/probe.d.ts.map +1 -0
- package/dist/acp-runtime/probe.js +881 -0
- package/dist/acp-runtime/probe.js.map +1 -0
- package/dist/acp-runtime/runtime.d.ts +7 -0
- package/dist/acp-runtime/runtime.d.ts.map +1 -0
- package/dist/acp-runtime/runtime.js +26 -0
- package/dist/acp-runtime/runtime.js.map +1 -0
- package/dist/acp-runtime/session.d.ts +87 -0
- package/dist/acp-runtime/session.d.ts.map +1 -0
- package/dist/acp-runtime/session.js +1071 -0
- package/dist/acp-runtime/session.js.map +1 -0
- package/dist/acp-runtime/spawners/node.d.ts +5 -0
- package/dist/acp-runtime/spawners/node.d.ts.map +1 -0
- package/dist/acp-runtime/spawners/node.js +244 -0
- package/dist/acp-runtime/spawners/node.js.map +1 -0
- package/dist/acp-runtime/types.d.ts +180 -0
- package/dist/acp-runtime/types.d.ts.map +1 -0
- package/dist/acp-runtime/types.js +2 -0
- package/dist/acp-runtime/types.js.map +1 -0
- package/dist/agent-contract/acp.d.ts +4 -0
- package/dist/agent-contract/acp.d.ts.map +1 -0
- package/dist/agent-contract/acp.js +273 -0
- package/dist/agent-contract/acp.js.map +1 -0
- package/dist/agent-contract/index.d.ts +125 -0
- package/dist/agent-contract/index.d.ts.map +1 -0
- package/dist/agent-contract/index.js +102 -0
- package/dist/agent-contract/index.js.map +1 -0
- package/dist/agent-contract/managed.d.ts +5 -0
- package/dist/agent-contract/managed.d.ts.map +1 -0
- package/dist/agent-contract/managed.js +242 -0
- package/dist/agent-contract/managed.js.map +1 -0
- package/dist/agent-ui/index.d.ts +170 -0
- package/dist/agent-ui/index.d.ts.map +1 -0
- package/dist/agent-ui/index.js +853 -0
- package/dist/agent-ui/index.js.map +1 -0
- package/dist/agent-ui/presentation.d.ts +30 -0
- package/dist/agent-ui/presentation.d.ts.map +1 -0
- package/dist/agent-ui/presentation.js +79 -0
- package/dist/agent-ui/presentation.js.map +1 -0
- package/dist/agent-ui/react.d.ts +50 -0
- package/dist/agent-ui/react.d.ts.map +1 -0
- package/dist/agent-ui/react.js +334 -0
- package/dist/agent-ui/react.js.map +1 -0
- package/dist/brand/index.d.ts +17 -0
- package/dist/brand/index.d.ts.map +1 -0
- package/dist/brand/index.js +119 -0
- package/dist/brand/index.js.map +1 -0
- package/dist/brand/openma-logo-mark.svg +7 -0
- package/dist/brand/tokens.css +77 -0
- package/dist/brand/website.css +67 -0
- package/dist/chat-ui/acp.d.ts +26 -0
- package/dist/chat-ui/acp.d.ts.map +1 -0
- package/dist/chat-ui/acp.js +166 -0
- package/dist/chat-ui/acp.js.map +1 -0
- package/dist/chat-ui/components.d.ts +230 -0
- package/dist/chat-ui/components.d.ts.map +1 -0
- package/dist/chat-ui/components.js +561 -0
- package/dist/chat-ui/components.js.map +1 -0
- package/dist/chat-ui/composer-drafts.d.ts +21 -0
- package/dist/chat-ui/composer-drafts.d.ts.map +1 -0
- package/dist/chat-ui/composer-drafts.js +58 -0
- package/dist/chat-ui/composer-drafts.js.map +1 -0
- package/dist/chat-ui/controller.d.ts +61 -0
- package/dist/chat-ui/controller.d.ts.map +1 -0
- package/dist/chat-ui/controller.js +218 -0
- package/dist/chat-ui/controller.js.map +1 -0
- package/dist/chat-ui/index.d.ts +8 -0
- package/dist/chat-ui/index.d.ts.map +1 -0
- package/dist/chat-ui/index.js +8 -0
- package/dist/chat-ui/index.js.map +1 -0
- package/dist/chat-ui/markdown.d.ts +37 -0
- package/dist/chat-ui/markdown.d.ts.map +1 -0
- package/dist/chat-ui/markdown.js +33 -0
- package/dist/chat-ui/markdown.js.map +1 -0
- package/dist/chat-ui/presentation.d.ts +34 -0
- package/dist/chat-ui/presentation.d.ts.map +1 -0
- package/dist/chat-ui/presentation.js +191 -0
- package/dist/chat-ui/presentation.js.map +1 -0
- package/dist/chat-ui/styles.css +815 -0
- package/dist/chat-ui/utils.d.ts +14 -0
- package/dist/chat-ui/utils.d.ts.map +1 -0
- package/dist/chat-ui/utils.js +71 -0
- package/dist/chat-ui/utils.js.map +1 -0
- package/dist/local-runtime/checkpoint.d.ts +28 -0
- package/dist/local-runtime/checkpoint.d.ts.map +1 -0
- package/dist/local-runtime/checkpoint.js +2 -0
- package/dist/local-runtime/checkpoint.js.map +1 -0
- package/dist/local-runtime/daemon-connection.d.ts +27 -0
- package/dist/local-runtime/daemon-connection.d.ts.map +1 -0
- package/dist/local-runtime/daemon-connection.js +161 -0
- package/dist/local-runtime/daemon-connection.js.map +1 -0
- package/dist/local-runtime/daemon-host.d.ts +39 -0
- package/dist/local-runtime/daemon-host.d.ts.map +1 -0
- package/dist/local-runtime/daemon-host.js +88 -0
- package/dist/local-runtime/daemon-host.js.map +1 -0
- package/dist/local-runtime/index.d.ts +6 -0
- package/dist/local-runtime/index.d.ts.map +1 -0
- package/dist/local-runtime/index.js +5 -0
- package/dist/local-runtime/index.js.map +1 -0
- package/dist/local-runtime/runtime.d.ts +36 -0
- package/dist/local-runtime/runtime.d.ts.map +1 -0
- package/dist/local-runtime/runtime.js +82 -0
- package/dist/local-runtime/runtime.js.map +1 -0
- package/dist/local-runtime/session-host.d.ts +62 -0
- package/dist/local-runtime/session-host.d.ts.map +1 -0
- package/dist/local-runtime/session-host.js +477 -0
- package/dist/local-runtime/session-host.js.map +1 -0
- package/dist/managed-runtime/acp-subagents.d.ts +14 -0
- package/dist/managed-runtime/acp-subagents.d.ts.map +1 -0
- package/dist/managed-runtime/acp-subagents.js +67 -0
- package/dist/managed-runtime/acp-subagents.js.map +1 -0
- package/dist/managed-runtime/claimed-environment-work.d.ts +61 -0
- package/dist/managed-runtime/claimed-environment-work.d.ts.map +1 -0
- package/dist/managed-runtime/claimed-environment-work.js +170 -0
- package/dist/managed-runtime/claimed-environment-work.js.map +1 -0
- package/dist/managed-runtime/contracts.d.ts +31 -0
- package/dist/managed-runtime/contracts.d.ts.map +1 -0
- package/dist/managed-runtime/contracts.js +2 -0
- package/dist/managed-runtime/contracts.js.map +1 -0
- package/dist/managed-runtime/http-control.d.ts +67 -0
- package/dist/managed-runtime/http-control.d.ts.map +1 -0
- package/dist/managed-runtime/http-control.js +465 -0
- package/dist/managed-runtime/http-control.js.map +1 -0
- package/dist/managed-runtime/index.d.ts +89 -0
- package/dist/managed-runtime/index.d.ts.map +1 -0
- package/dist/managed-runtime/index.js +215 -0
- package/dist/managed-runtime/index.js.map +1 -0
- package/dist/managed-runtime/input-identity.d.ts +2 -0
- package/dist/managed-runtime/input-identity.d.ts.map +1 -0
- package/dist/managed-runtime/input-identity.js +2 -0
- package/dist/managed-runtime/input-identity.js.map +1 -0
- package/dist/managed-runtime/managed-event-projector.d.ts +24 -0
- package/dist/managed-runtime/managed-event-projector.d.ts.map +1 -0
- package/dist/managed-runtime/managed-event-projector.js +333 -0
- package/dist/managed-runtime/managed-event-projector.js.map +1 -0
- package/dist/managed-runtime/semantic-recovery.d.ts +61 -0
- package/dist/managed-runtime/semantic-recovery.d.ts.map +1 -0
- package/dist/managed-runtime/semantic-recovery.js +167 -0
- package/dist/managed-runtime/semantic-recovery.js.map +1 -0
- package/dist/project-ui/CreateProjectDialog.d.ts +15 -0
- package/dist/project-ui/CreateProjectDialog.d.ts.map +1 -0
- package/dist/project-ui/CreateProjectDialog.js +87 -0
- package/dist/project-ui/CreateProjectDialog.js.map +1 -0
- package/dist/project-ui/ProjectComposer.d.ts +13 -0
- package/dist/project-ui/ProjectComposer.d.ts.map +1 -0
- package/dist/project-ui/ProjectComposer.js +70 -0
- package/dist/project-ui/ProjectComposer.js.map +1 -0
- package/dist/project-ui/ProjectConversation.d.ts +10 -0
- package/dist/project-ui/ProjectConversation.d.ts.map +1 -0
- package/dist/project-ui/ProjectConversation.js +28 -0
- package/dist/project-ui/ProjectConversation.js.map +1 -0
- package/dist/project-ui/ProjectMessageAttachments.d.ts +4 -0
- package/dist/project-ui/ProjectMessageAttachments.d.ts.map +1 -0
- package/dist/project-ui/ProjectMessageAttachments.js +28 -0
- package/dist/project-ui/ProjectMessageAttachments.js.map +1 -0
- package/dist/project-ui/ProjectSettings.d.ts +8 -0
- package/dist/project-ui/ProjectSettings.d.ts.map +1 -0
- package/dist/project-ui/ProjectSettings.js +65 -0
- package/dist/project-ui/ProjectSettings.js.map +1 -0
- package/dist/project-ui/Projects.d.ts +18 -0
- package/dist/project-ui/Projects.d.ts.map +1 -0
- package/dist/project-ui/Projects.js +377 -0
- package/dist/project-ui/Projects.js.map +1 -0
- package/dist/project-ui/client.d.ts +234 -0
- package/dist/project-ui/client.d.ts.map +1 -0
- package/dist/project-ui/client.js +42 -0
- package/dist/project-ui/client.js.map +1 -0
- package/dist/project-ui/controls.d.ts +15 -0
- package/dist/project-ui/controls.d.ts.map +1 -0
- package/dist/project-ui/controls.js +17 -0
- package/dist/project-ui/controls.js.map +1 -0
- package/dist/project-ui/index.d.ts +20 -0
- package/dist/project-ui/index.d.ts.map +1 -0
- package/dist/project-ui/index.js +17 -0
- package/dist/project-ui/index.js.map +1 -0
- package/dist/project-ui/project-coordinator.d.ts +3 -0
- package/dist/project-ui/project-coordinator.d.ts.map +1 -0
- package/dist/project-ui/project-coordinator.js +12 -0
- package/dist/project-ui/project-coordinator.js.map +1 -0
- package/dist/project-ui/project-goals.d.ts +48 -0
- package/dist/project-ui/project-goals.d.ts.map +1 -0
- package/dist/project-ui/project-goals.js +169 -0
- package/dist/project-ui/project-goals.js.map +1 -0
- package/dist/project-ui/projects-query.d.ts +19 -0
- package/dist/project-ui/projects-query.d.ts.map +1 -0
- package/dist/project-ui/projects-query.js +132 -0
- package/dist/project-ui/projects-query.js.map +1 -0
- package/dist/project-ui/styles.css +847 -0
- package/dist/protocol/acp/index.d.ts +52 -0
- package/dist/protocol/acp/index.d.ts.map +1 -0
- package/dist/protocol/acp/index.js +1056 -0
- package/dist/protocol/acp/index.js.map +1 -0
- package/dist/protocol/cursor-cloud/index.d.ts +74 -0
- package/dist/protocol/cursor-cloud/index.d.ts.map +1 -0
- package/dist/protocol/cursor-cloud/index.js +249 -0
- package/dist/protocol/cursor-cloud/index.js.map +1 -0
- package/dist/protocol/managed/index.d.ts +32 -0
- package/dist/protocol/managed/index.d.ts.map +1 -0
- package/dist/protocol/managed/index.js +646 -0
- package/dist/protocol/managed/index.js.map +1 -0
- package/dist/protocol/managed/input-identity.d.ts +3 -0
- package/dist/protocol/managed/input-identity.d.ts.map +1 -0
- package/dist/protocol/managed/input-identity.js +6 -0
- package/dist/protocol/managed/input-identity.js.map +1 -0
- package/dist/protocol/openai-agents/index.d.ts +102 -0
- package/dist/protocol/openai-agents/index.d.ts.map +1 -0
- package/dist/protocol/openai-agents/index.js +142 -0
- package/dist/protocol/openai-agents/index.js.map +1 -0
- package/dist/session-events/acp-system-notices.d.ts +10 -0
- package/dist/session-events/acp-system-notices.d.ts.map +1 -0
- package/dist/session-events/acp-system-notices.js +46 -0
- package/dist/session-events/acp-system-notices.js.map +1 -0
- package/dist/session-events/acp.d.ts +214 -0
- package/dist/session-events/acp.d.ts.map +1 -0
- package/dist/session-events/acp.js +956 -0
- package/dist/session-events/acp.js.map +1 -0
- package/dist/session-events/managed.d.ts +141 -0
- package/dist/session-events/managed.d.ts.map +1 -0
- package/dist/session-events/managed.js +324 -0
- package/dist/session-events/managed.js.map +1 -0
- package/dist/session-events/openma.d.ts +304 -0
- package/dist/session-events/openma.d.ts.map +1 -0
- package/dist/session-events/openma.js +438 -0
- package/dist/session-events/openma.js.map +1 -0
- package/dist/session-kernel/index.d.ts +118 -0
- package/dist/session-kernel/index.d.ts.map +1 -0
- package/dist/session-kernel/index.js +215 -0
- package/dist/session-kernel/index.js.map +1 -0
- package/dist/session-orchestrator/index.d.ts +71 -0
- package/dist/session-orchestrator/index.d.ts.map +1 -0
- package/dist/session-orchestrator/index.js +177 -0
- package/dist/session-orchestrator/index.js.map +1 -0
- package/dist/session-ui/index.d.ts +96 -0
- package/dist/session-ui/index.d.ts.map +1 -0
- package/dist/session-ui/index.js +277 -0
- package/dist/session-ui/index.js.map +1 -0
- package/package.json +222 -4
|
@@ -0,0 +1,815 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Backchat chat structure. Hosts opt into this asset explicitly and map the
|
|
3
|
+
* --chat-* tokens to their own theme. Components never inject it from JS.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:where(:root) {
|
|
7
|
+
--chat-interactive-hover-bg: color-mix(
|
|
8
|
+
in srgb,
|
|
9
|
+
var(--chat-fg, var(--fg, currentColor)) 8%,
|
|
10
|
+
transparent
|
|
11
|
+
);
|
|
12
|
+
--chat-interactive-selected-bg: var(
|
|
13
|
+
--chat-control-bg-selected,
|
|
14
|
+
var(
|
|
15
|
+
--chat-control-bg-hover,
|
|
16
|
+
var(--interaction-bg-hover, var(--chat-bg-bubble, transparent))
|
|
17
|
+
)
|
|
18
|
+
);
|
|
19
|
+
--chat-interactive-control-hover-bg: var(
|
|
20
|
+
--chat-control-bg-hover,
|
|
21
|
+
var(--interaction-bg-hover, var(--chat-bg-bubble, transparent))
|
|
22
|
+
);
|
|
23
|
+
--chat-interactive-focus-ring-color: color-mix(
|
|
24
|
+
in srgb,
|
|
25
|
+
var(--chat-focus-ring, var(--focus-ring, currentColor)) 40%,
|
|
26
|
+
transparent
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
* Shared interactive control states (transcript rows, menus, session chips).
|
|
32
|
+
* Rest: no border/background/shadow. Hover uses variant token. Focus ring only
|
|
33
|
+
* on :focus-visible. Expanded/open/selected never mimic focus.
|
|
34
|
+
*/
|
|
35
|
+
button.chat-interactive-surface.chat-interactive-surface,
|
|
36
|
+
summary.chat-interactive-surface.chat-interactive-surface {
|
|
37
|
+
outline: none;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
button.chat-interactive-surface.chat-interactive-surface:focus:not(:focus-visible),
|
|
42
|
+
summary.chat-interactive-surface.chat-interactive-surface:focus:not(:focus-visible) {
|
|
43
|
+
outline: none;
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
background-color: transparent;
|
|
46
|
+
background-image: none;
|
|
47
|
+
border-color: transparent;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
button.chat-interactive-surface.chat-interactive-surface:focus-visible,
|
|
51
|
+
summary.chat-interactive-surface.chat-interactive-surface:focus-visible {
|
|
52
|
+
outline: 2px solid var(--chat-interactive-focus-ring-color);
|
|
53
|
+
outline-offset: 1px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
button.chat-interactive-surface.chat-interactive-surface[aria-expanded="true"]:not(
|
|
57
|
+
:hover
|
|
58
|
+
):not(:focus-visible),
|
|
59
|
+
button.chat-interactive-surface.chat-interactive-surface[data-state="open"]:not(
|
|
60
|
+
:hover
|
|
61
|
+
):not(:focus-visible),
|
|
62
|
+
details[open]
|
|
63
|
+
> summary.chat-interactive-surface.chat-interactive-surface:not(:hover):not(
|
|
64
|
+
:focus-visible
|
|
65
|
+
) {
|
|
66
|
+
background: transparent;
|
|
67
|
+
background-color: transparent;
|
|
68
|
+
box-shadow: none;
|
|
69
|
+
border-color: transparent;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
button.chat-interactive-surface--transcript.chat-interactive-surface--transcript:hover,
|
|
73
|
+
summary.chat-interactive-surface--transcript.chat-interactive-surface--transcript:hover,
|
|
74
|
+
button.chat-interactive-surface--transcript.chat-reasoning-trigger.activity-disclosure-row:hover {
|
|
75
|
+
background: transparent;
|
|
76
|
+
background-color: transparent;
|
|
77
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
button.chat-interactive-surface--transcript.activity-disclosure-row:hover
|
|
81
|
+
:is(
|
|
82
|
+
.chat-transcript-disclosure-summary,
|
|
83
|
+
.chat-activity-icon,
|
|
84
|
+
.activity-disclosure-chevron,
|
|
85
|
+
.activity-disclosure-chevron svg,
|
|
86
|
+
.activity-disclosure-chevron .text-fg-subtle
|
|
87
|
+
),
|
|
88
|
+
button.chat-interactive-surface--transcript.chat-reasoning-trigger.activity-disclosure-row:hover
|
|
89
|
+
:is(
|
|
90
|
+
.chat-transcript-disclosure-summary,
|
|
91
|
+
.activity-disclosure-chevron,
|
|
92
|
+
.activity-disclosure-chevron svg,
|
|
93
|
+
.activity-disclosure-chevron .text-fg-subtle
|
|
94
|
+
) {
|
|
95
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
button.chat-interactive-surface--control.chat-interactive-surface--control:hover,
|
|
99
|
+
summary.chat-interactive-surface--control.chat-interactive-surface--control:hover {
|
|
100
|
+
background: var(--chat-interactive-control-hover-bg);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
button.chat-interactive-surface--chip.chat-interactive-surface--chip:hover,
|
|
104
|
+
summary.chat-interactive-surface--chip.chat-interactive-surface--chip:hover,
|
|
105
|
+
button.chat-reasoning-trigger--chip.activity-disclosure-row:hover,
|
|
106
|
+
.chat-reasoning-trigger.chat-reasoning-trigger--chip:hover {
|
|
107
|
+
background-color: var(
|
|
108
|
+
--chat-interactive-control-hover-bg,
|
|
109
|
+
var(--chat-interaction-bg-hover, var(--interaction-bg-hover, transparent))
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
button.chat-interactive-surface.chat-interactive-surface[aria-checked="true"]:not(
|
|
114
|
+
:hover
|
|
115
|
+
):not(:focus-visible),
|
|
116
|
+
summary.chat-interactive-surface.chat-interactive-surface[aria-checked="true"]:not(
|
|
117
|
+
:hover
|
|
118
|
+
):not(:focus-visible) {
|
|
119
|
+
background: var(--chat-interactive-selected-bg);
|
|
120
|
+
background-color: var(--chat-interactive-selected-bg);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.chat-turn-frame {
|
|
124
|
+
padding-inline: var(
|
|
125
|
+
--chat-message-padding-inline,
|
|
126
|
+
var(--chat-turn-content-inset, 32px)
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.chat-composer-frame {
|
|
131
|
+
padding-inline: var(--composer-frame-padding-inline, 12px);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.openma-session-run-controls {
|
|
135
|
+
display: flex;
|
|
136
|
+
width: 100%;
|
|
137
|
+
min-width: 0;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: space-between;
|
|
140
|
+
gap: 8px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.openma-session-history {
|
|
144
|
+
position: relative;
|
|
145
|
+
min-width: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
summary.openma-session-history-trigger.openma-session-history-trigger {
|
|
149
|
+
display: flex;
|
|
150
|
+
width: 100%;
|
|
151
|
+
min-width: 0;
|
|
152
|
+
height: var(--chat-session-history-height, 30px);
|
|
153
|
+
align-items: center;
|
|
154
|
+
gap: 5px;
|
|
155
|
+
padding: 0 8px;
|
|
156
|
+
border: 0;
|
|
157
|
+
border-radius: 7px;
|
|
158
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
159
|
+
background: transparent;
|
|
160
|
+
box-shadow: none;
|
|
161
|
+
cursor: default;
|
|
162
|
+
list-style: none;
|
|
163
|
+
user-select: none;
|
|
164
|
+
font-family: inherit;
|
|
165
|
+
font-size: 13px;
|
|
166
|
+
font-weight: 550;
|
|
167
|
+
line-height: inherit;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.openma-session-history-trigger::-webkit-details-marker {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.openma-session-history-trigger > span {
|
|
175
|
+
min-width: 0;
|
|
176
|
+
flex: 1;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
text-overflow: ellipsis;
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
text-align: left;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.openma-session-history-trigger > svg {
|
|
184
|
+
flex: 0 0 auto;
|
|
185
|
+
color: var(--chat-fg-subtle, var(--fg-subtle, currentColor));
|
|
186
|
+
transition: transform 160ms ease;
|
|
187
|
+
width: 14px;
|
|
188
|
+
height: 14px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.openma-session-history[open] > .openma-session-history-trigger > svg {
|
|
192
|
+
transform: rotate(180deg);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
summary.openma-session-history-trigger.openma-session-history-trigger:hover {
|
|
196
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.openma-session-history-menu {
|
|
200
|
+
top: calc(100% + 5px);
|
|
201
|
+
right: 0;
|
|
202
|
+
bottom: auto;
|
|
203
|
+
left: 0;
|
|
204
|
+
width: auto;
|
|
205
|
+
min-width: min(260px, calc(100vw - 32px));
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.openma-session-history-item {
|
|
209
|
+
align-items: center;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.openma-session-chip-menu {
|
|
213
|
+
position: relative;
|
|
214
|
+
min-width: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.openma-session-run-menu {
|
|
218
|
+
margin-left: auto;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
summary.openma-session-toolbar-chip.openma-session-toolbar-chip {
|
|
222
|
+
display: inline-flex;
|
|
223
|
+
min-width: 0;
|
|
224
|
+
max-width: var(--chat-session-chip-max-width, 180px);
|
|
225
|
+
height: 28px;
|
|
226
|
+
min-height: 28px;
|
|
227
|
+
flex: 0 0 auto;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: 4px;
|
|
230
|
+
margin: 0;
|
|
231
|
+
padding: 0 6px;
|
|
232
|
+
border: 0;
|
|
233
|
+
border-radius: 6px;
|
|
234
|
+
color: var(--chat-fg-muted, var(--fg-muted, currentColor));
|
|
235
|
+
background: transparent;
|
|
236
|
+
box-shadow: none;
|
|
237
|
+
cursor: default;
|
|
238
|
+
list-style: none;
|
|
239
|
+
user-select: none;
|
|
240
|
+
font-family: inherit;
|
|
241
|
+
font-weight: inherit;
|
|
242
|
+
font-style: inherit;
|
|
243
|
+
font-size: 12px;
|
|
244
|
+
line-height: 14px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.openma-session-toolbar-chip::-webkit-details-marker {
|
|
248
|
+
display: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
summary.openma-session-toolbar-chip > svg {
|
|
252
|
+
width: 14px;
|
|
253
|
+
height: 14px;
|
|
254
|
+
flex: 0 0 auto;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
summary.openma-session-toolbar-chip > [data-harness-icon] {
|
|
258
|
+
width: 14px;
|
|
259
|
+
height: 14px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
summary.openma-session-toolbar-chip.openma-session-toolbar-chip:hover {
|
|
263
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
summary.openma-session-toolbar-chip[aria-disabled="true"] {
|
|
267
|
+
pointer-events: none;
|
|
268
|
+
opacity: 0.5;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
summary.openma-session-toolbar-chip.is-warning {
|
|
272
|
+
color: var(--chat-warning, var(--warning, currentColor));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.openma-session-chip-label {
|
|
276
|
+
min-width: 0;
|
|
277
|
+
overflow: hidden;
|
|
278
|
+
text-overflow: ellipsis;
|
|
279
|
+
white-space: nowrap;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.openma-session-menu {
|
|
283
|
+
position: absolute;
|
|
284
|
+
z-index: 1000;
|
|
285
|
+
bottom: calc(100% + 6px);
|
|
286
|
+
display: flex;
|
|
287
|
+
width: min(var(--chat-session-menu-width, 280px), calc(100vw - 32px));
|
|
288
|
+
max-height: min(360px, 55vh);
|
|
289
|
+
flex-direction: column;
|
|
290
|
+
overflow-x: hidden;
|
|
291
|
+
overflow-y: auto;
|
|
292
|
+
padding: 4px;
|
|
293
|
+
border: 1px solid var(--chat-border, var(--border, currentColor));
|
|
294
|
+
border-radius: 10px;
|
|
295
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
296
|
+
background: var(--chat-menu-bg, var(--bg, Canvas));
|
|
297
|
+
box-shadow: var(
|
|
298
|
+
--chat-menu-shadow,
|
|
299
|
+
0 10px 30px -12px rgb(0 0 0 / 0.25), 0 2px 8px -4px rgb(0 0 0 / 0.12)
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.openma-session-menu-align-start {
|
|
304
|
+
left: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.openma-session-menu-align-end {
|
|
308
|
+
right: 0;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.openma-session-run-root-menu {
|
|
312
|
+
width: min(280px, calc(100vw - 32px));
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.openma-session-submenu {
|
|
316
|
+
position: absolute;
|
|
317
|
+
z-index: 1001;
|
|
318
|
+
right: calc(100% + 6px);
|
|
319
|
+
bottom: calc(100% + 6px);
|
|
320
|
+
display: flex;
|
|
321
|
+
width: min(280px, calc(100vw - 32px));
|
|
322
|
+
max-height: min(360px, 55vh);
|
|
323
|
+
flex-direction: column;
|
|
324
|
+
gap: 2px;
|
|
325
|
+
overflow-x: hidden;
|
|
326
|
+
overflow-y: auto;
|
|
327
|
+
padding: 4px;
|
|
328
|
+
border: 1px solid var(--chat-border, var(--border, currentColor));
|
|
329
|
+
border-radius: 10px;
|
|
330
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
331
|
+
background: var(--chat-menu-bg, var(--bg, Canvas));
|
|
332
|
+
box-shadow: var(
|
|
333
|
+
--chat-menu-shadow,
|
|
334
|
+
0 10px 30px -12px rgb(0 0 0 / 0.25), 0 2px 8px -4px rgb(0 0 0 / 0.12)
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.openma-session-menu-item.openma-session-submenu-trigger {
|
|
339
|
+
align-items: center;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.openma-session-submenu-trigger > .openma-session-menu-item-copy {
|
|
343
|
+
flex: 0 1 auto;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.openma-session-submenu-value {
|
|
347
|
+
min-width: 0;
|
|
348
|
+
max-width: 120px;
|
|
349
|
+
margin-left: auto;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
color: var(--chat-fg-subtle, var(--fg-subtle, currentColor));
|
|
352
|
+
text-overflow: ellipsis;
|
|
353
|
+
white-space: nowrap;
|
|
354
|
+
font-size: 11px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.openma-session-submenu-trigger > svg:last-child {
|
|
358
|
+
width: 14px;
|
|
359
|
+
height: 14px;
|
|
360
|
+
margin-left: 2px;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.openma-session-submenu-choice {
|
|
364
|
+
align-items: center;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.openma-session-submenu-placeholder {
|
|
368
|
+
width: 14px;
|
|
369
|
+
height: 14px;
|
|
370
|
+
flex: 0 0 14px;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.openma-session-menu-section {
|
|
374
|
+
display: flex;
|
|
375
|
+
flex-direction: column;
|
|
376
|
+
gap: 1px;
|
|
377
|
+
padding-block: 4px;
|
|
378
|
+
border-bottom: 1px solid
|
|
379
|
+
color-mix(in srgb, var(--chat-border, var(--border, currentColor)) 55%, transparent);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.openma-session-menu-section:first-child {
|
|
383
|
+
padding-top: 0;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.openma-session-menu-section:last-child {
|
|
387
|
+
padding-bottom: 0;
|
|
388
|
+
border-bottom: 0;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.openma-session-menu-heading {
|
|
392
|
+
display: flex;
|
|
393
|
+
min-height: 24px;
|
|
394
|
+
align-items: center;
|
|
395
|
+
justify-content: space-between;
|
|
396
|
+
gap: 8px;
|
|
397
|
+
padding: 3px 8px;
|
|
398
|
+
color: var(--chat-fg-subtle, var(--fg-subtle, currentColor));
|
|
399
|
+
font-size: 10px;
|
|
400
|
+
font-weight: 600;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.openma-session-menu-heading > :last-child:not(:first-child) {
|
|
404
|
+
min-width: 0;
|
|
405
|
+
overflow: hidden;
|
|
406
|
+
text-overflow: ellipsis;
|
|
407
|
+
white-space: nowrap;
|
|
408
|
+
font-weight: 400;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.openma-session-menu button.openma-session-menu-item.openma-session-menu-item,
|
|
412
|
+
.openma-session-submenu button.openma-session-menu-item.openma-session-menu-item {
|
|
413
|
+
appearance: none;
|
|
414
|
+
-webkit-appearance: none;
|
|
415
|
+
display: flex;
|
|
416
|
+
width: 100%;
|
|
417
|
+
min-height: 28px;
|
|
418
|
+
height: auto;
|
|
419
|
+
align-items: center;
|
|
420
|
+
gap: 8px;
|
|
421
|
+
padding: 6px 8px;
|
|
422
|
+
border: 0;
|
|
423
|
+
border-radius: 8px;
|
|
424
|
+
color: inherit;
|
|
425
|
+
background: transparent;
|
|
426
|
+
background-color: transparent;
|
|
427
|
+
background-image: none;
|
|
428
|
+
box-shadow: none;
|
|
429
|
+
cursor: pointer;
|
|
430
|
+
text-align: left;
|
|
431
|
+
font-family: inherit;
|
|
432
|
+
font-size: 12px;
|
|
433
|
+
font-weight: 400;
|
|
434
|
+
line-height: 16px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.openma-session-run-root-menu > .openma-session-menu-item {
|
|
438
|
+
min-height: 40px;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.openma-session-menu
|
|
442
|
+
button.chat-interactive-surface--control.openma-session-menu-item.openma-session-menu-item:hover,
|
|
443
|
+
.openma-session-submenu
|
|
444
|
+
button.chat-interactive-surface--control.openma-session-menu-item.openma-session-menu-item:hover,
|
|
445
|
+
.openma-session-menu
|
|
446
|
+
button.openma-session-menu-item.openma-session-menu-item:focus-visible,
|
|
447
|
+
.openma-session-submenu
|
|
448
|
+
button.openma-session-menu-item.openma-session-menu-item:focus-visible {
|
|
449
|
+
background: var(--chat-interactive-control-hover-bg);
|
|
450
|
+
background-color: var(--chat-interactive-control-hover-bg);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.openma-session-menu button.openma-session-menu-item.is-warning,
|
|
454
|
+
.openma-session-submenu button.openma-session-menu-item.is-warning {
|
|
455
|
+
color: var(--chat-warning, var(--warning, currentColor));
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.openma-session-menu-item > svg {
|
|
459
|
+
width: 14px;
|
|
460
|
+
height: 14px;
|
|
461
|
+
flex: 0 0 auto;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.openma-session-menu-item > svg:last-child {
|
|
465
|
+
margin-left: auto;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.openma-session-menu-item-copy {
|
|
469
|
+
display: flex;
|
|
470
|
+
min-width: 0;
|
|
471
|
+
flex: 1;
|
|
472
|
+
flex-direction: column;
|
|
473
|
+
gap: 2px;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.openma-session-menu-item-copy strong {
|
|
477
|
+
overflow: hidden;
|
|
478
|
+
text-overflow: ellipsis;
|
|
479
|
+
white-space: nowrap;
|
|
480
|
+
font-weight: 500;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.openma-session-menu-item-copy small {
|
|
484
|
+
min-width: 0;
|
|
485
|
+
color: var(--chat-fg-subtle, var(--fg-subtle, currentColor));
|
|
486
|
+
overflow-wrap: anywhere;
|
|
487
|
+
white-space: normal;
|
|
488
|
+
font-size: 11px;
|
|
489
|
+
line-height: 16px;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.openma-session-menu-item:has(.openma-session-menu-item-copy small) {
|
|
493
|
+
min-height: 48px;
|
|
494
|
+
align-items: flex-start;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.chat-activity-icon {
|
|
498
|
+
width: var(--chat-activity-icon-size, 14px);
|
|
499
|
+
height: var(--chat-activity-icon-size, 14px);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
button.activity-disclosure-row.activity-disclosure-row,
|
|
503
|
+
.activity-disclosure-row {
|
|
504
|
+
--chat-activity-row-leading-space: 0px;
|
|
505
|
+
display: flex;
|
|
506
|
+
box-sizing: border-box;
|
|
507
|
+
width: 100%;
|
|
508
|
+
min-width: 0;
|
|
509
|
+
padding: 0;
|
|
510
|
+
padding-inline-start: 0;
|
|
511
|
+
-webkit-user-select: none;
|
|
512
|
+
user-select: none;
|
|
513
|
+
align-items: center;
|
|
514
|
+
gap: 6px;
|
|
515
|
+
border: 0;
|
|
516
|
+
border-radius: 0;
|
|
517
|
+
color: var(--chat-fg-muted, var(--fg-muted, currentColor));
|
|
518
|
+
background: transparent;
|
|
519
|
+
box-shadow: none;
|
|
520
|
+
font-family: inherit;
|
|
521
|
+
font-size: 0.875rem;
|
|
522
|
+
line-height: 1.25rem;
|
|
523
|
+
text-align: left;
|
|
524
|
+
cursor: default;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/* Transcript disclosure rows (tools, thoughts, process/worked-for). */
|
|
528
|
+
button.chat-interactive-surface--transcript.activity-disclosure-row.activity-disclosure-row {
|
|
529
|
+
width: 100%;
|
|
530
|
+
max-width: 100%;
|
|
531
|
+
min-height: 24px;
|
|
532
|
+
height: auto;
|
|
533
|
+
padding: 0;
|
|
534
|
+
padding-inline-start: 0;
|
|
535
|
+
font-size: 13px;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
button.chat-interactive-surface--transcript.activity-disclosure-row
|
|
539
|
+
.chat-transcript-disclosure-summary,
|
|
540
|
+
button.chat-interactive-surface--transcript.chat-reasoning-trigger.activity-disclosure-row
|
|
541
|
+
.chat-transcript-disclosure-summary {
|
|
542
|
+
color: var(--chat-fg-muted, var(--fg-muted, currentColor));
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
button.chat-interactive-surface--transcript.activity-disclosure-row
|
|
546
|
+
.chat-activity-icon {
|
|
547
|
+
color: var(--chat-fg-muted, var(--fg-muted, currentColor));
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/* Standalone thought/reasoning chip (showIcon on ChatReasoningTrigger). */
|
|
551
|
+
button.chat-reasoning-trigger.chat-reasoning-trigger--chip.activity-disclosure-row,
|
|
552
|
+
button.chat-interactive-surface--chip.chat-reasoning-trigger--chip.activity-disclosure-row {
|
|
553
|
+
width: fit-content;
|
|
554
|
+
max-width: 100%;
|
|
555
|
+
padding: 0 8px;
|
|
556
|
+
padding-inline-start: 8px;
|
|
557
|
+
border-radius: 8px;
|
|
558
|
+
font-size: 13px;
|
|
559
|
+
background-color: var(--chat-bg-bubble, var(--bg-bubble, transparent));
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.activity-disclosure-chevron {
|
|
563
|
+
display: grid;
|
|
564
|
+
width: 20px;
|
|
565
|
+
height: 20px;
|
|
566
|
+
margin-left: auto;
|
|
567
|
+
flex: 0 0 20px;
|
|
568
|
+
place-items: center;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.activity-disclosure-chevron > svg {
|
|
572
|
+
width: 16px;
|
|
573
|
+
height: 16px;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.home-empty-stage {
|
|
577
|
+
position: relative;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.home-empty-stack {
|
|
581
|
+
--home-composer-width: var(--home-composer-theme-width, 42rem);
|
|
582
|
+
--home-empty-stack-offset-y: clamp(-24px, -3vh, -12px);
|
|
583
|
+
margin-top: var(--home-empty-stack-offset-y);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.home-composer-stack {
|
|
587
|
+
max-width: var(--home-composer-frame-width, 48rem);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.chat-scrollbar {
|
|
591
|
+
scrollbar-width: thin;
|
|
592
|
+
scrollbar-color: transparent transparent;
|
|
593
|
+
transition: scrollbar-color 160ms ease;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.chat-scrollbar[data-chat-scrolling="true"] {
|
|
597
|
+
scrollbar-color: color-mix(in srgb, var(--chat-fg, var(--fg, currentColor)) 30%, transparent) transparent;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.chat-scrollbar::-webkit-scrollbar {
|
|
601
|
+
width: 10px;
|
|
602
|
+
height: 10px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.chat-scrollbar::-webkit-scrollbar-track {
|
|
606
|
+
background: transparent;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.chat-scrollbar::-webkit-scrollbar-thumb {
|
|
610
|
+
min-height: 40px;
|
|
611
|
+
max-height: 50%;
|
|
612
|
+
border: 3px solid transparent;
|
|
613
|
+
border-radius: 9999px;
|
|
614
|
+
background: transparent;
|
|
615
|
+
background-clip: padding-box;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.chat-scrollbar[data-chat-scrolling="true"]::-webkit-scrollbar-thumb {
|
|
619
|
+
background: color-mix(in srgb, var(--chat-fg, var(--fg, currentColor)) 30%, transparent);
|
|
620
|
+
background-clip: padding-box;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.chat-scrollbar[data-chat-scrolling="true"]::-webkit-scrollbar-thumb:hover {
|
|
624
|
+
background: color-mix(
|
|
625
|
+
in srgb,
|
|
626
|
+
var(--chat-fg, var(--fg, currentColor)) 50%,
|
|
627
|
+
transparent
|
|
628
|
+
);
|
|
629
|
+
background-clip: padding-box;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.reasoning-collapse {
|
|
633
|
+
display: block;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.reasoning-collapse[data-state="open"] > .reasoning-collapse-inner {
|
|
637
|
+
height: auto;
|
|
638
|
+
opacity: 1;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.reasoning-collapse[data-state="closed"] > .reasoning-collapse-inner {
|
|
642
|
+
height: 0;
|
|
643
|
+
opacity: 0;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.reasoning-collapse-inner {
|
|
647
|
+
height: 0;
|
|
648
|
+
interpolate-size: allow-keywords;
|
|
649
|
+
min-height: 0;
|
|
650
|
+
opacity: 0;
|
|
651
|
+
overflow: hidden;
|
|
652
|
+
transition-property: height, opacity;
|
|
653
|
+
transition-duration: var(
|
|
654
|
+
--chat-motion-disclosure-duration,
|
|
655
|
+
var(--motion-disclosure-duration, 220ms)
|
|
656
|
+
);
|
|
657
|
+
transition-timing-function: var(
|
|
658
|
+
--chat-motion-disclosure-easing,
|
|
659
|
+
var(--motion-disclosure-easing, cubic-bezier(0.25, 1, 0.5, 1))
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/* The same settled/streaming block geometry prevents the final handoff jump. */
|
|
664
|
+
.chat-markdown,
|
|
665
|
+
.streaming-md {
|
|
666
|
+
min-width: 0;
|
|
667
|
+
color: var(--chat-fg, var(--fg, currentColor));
|
|
668
|
+
font-family: var(--font-chat, ui-sans-serif, system-ui, sans-serif);
|
|
669
|
+
font-size: 14px;
|
|
670
|
+
line-height: 1.75rem;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.chat-markdown--thought {
|
|
674
|
+
color: var(--chat-fg-muted, var(--fg-muted, currentColor));
|
|
675
|
+
font-size: 13px;
|
|
676
|
+
line-height: 1.5rem;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.chat-markdown :is(h1, h2, h3, h4),
|
|
680
|
+
.streaming-md :is(h1, h2, h3, h4) {
|
|
681
|
+
margin-top: 0.75rem;
|
|
682
|
+
margin-bottom: 0.375rem;
|
|
683
|
+
font-weight: 600;
|
|
684
|
+
line-height: 1.75rem;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.chat-markdown h1,
|
|
688
|
+
.streaming-md h1 {
|
|
689
|
+
font-size: 16px;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.chat-markdown h2,
|
|
693
|
+
.streaming-md h2 {
|
|
694
|
+
font-size: 15px;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.chat-markdown :is(h3, h4),
|
|
698
|
+
.streaming-md :is(h3, h4) {
|
|
699
|
+
font-size: 14px;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.chat-markdown p,
|
|
703
|
+
.streaming-md p,
|
|
704
|
+
.chat-markdown :is(ul, ol),
|
|
705
|
+
.streaming-md :is(ul, ol) {
|
|
706
|
+
margin-block: 0.375rem;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.chat-markdown ul,
|
|
710
|
+
.streaming-md ul {
|
|
711
|
+
list-style: disc;
|
|
712
|
+
padding-left: 1.25rem;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.chat-markdown ol,
|
|
716
|
+
.streaming-md ol {
|
|
717
|
+
list-style: decimal;
|
|
718
|
+
padding-left: 1.25rem;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.chat-markdown li,
|
|
722
|
+
.streaming-md li {
|
|
723
|
+
margin-block: 0.125rem;
|
|
724
|
+
padding-block: 0;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.chat-markdown li > p,
|
|
728
|
+
.streaming-md li > p {
|
|
729
|
+
margin-block: 0;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.chat-markdown pre,
|
|
733
|
+
.streaming-md pre {
|
|
734
|
+
margin-block: 0.5rem;
|
|
735
|
+
overflow-x: auto;
|
|
736
|
+
border: 1px solid
|
|
737
|
+
color-mix(in srgb, var(--chat-border, var(--border, currentColor)) 60%, transparent);
|
|
738
|
+
border-radius: 0.5rem;
|
|
739
|
+
background: color-mix(
|
|
740
|
+
in srgb,
|
|
741
|
+
var(--chat-bg-surface, var(--bg-surface, transparent)) 60%,
|
|
742
|
+
transparent
|
|
743
|
+
);
|
|
744
|
+
padding: 0.5rem 0.75rem;
|
|
745
|
+
font-family: var(--font-mono, ui-monospace, monospace);
|
|
746
|
+
font-size: 13px;
|
|
747
|
+
line-height: 1.5rem;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.chat-markdown code,
|
|
751
|
+
.streaming-md code {
|
|
752
|
+
border-radius: 0.25rem;
|
|
753
|
+
background: color-mix(
|
|
754
|
+
in srgb,
|
|
755
|
+
var(--chat-bg-surface, var(--bg-surface, transparent)) 70%,
|
|
756
|
+
transparent
|
|
757
|
+
);
|
|
758
|
+
padding: 0.1em 0.35em;
|
|
759
|
+
font-family: var(--font-mono, ui-monospace, monospace);
|
|
760
|
+
font-size: 0.9em;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.chat-markdown pre code,
|
|
764
|
+
.streaming-md pre code {
|
|
765
|
+
background: transparent;
|
|
766
|
+
padding: 0;
|
|
767
|
+
font-size: 13px;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.chat-markdown blockquote,
|
|
771
|
+
.streaming-md blockquote {
|
|
772
|
+
margin-block: 0.5rem;
|
|
773
|
+
border-left: 2px solid var(--chat-border, var(--border, currentColor));
|
|
774
|
+
padding-left: 0.75rem;
|
|
775
|
+
color: var(--chat-fg-muted, var(--fg-muted, currentColor));
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.chat-markdown table,
|
|
779
|
+
.streaming-md table {
|
|
780
|
+
width: 100%;
|
|
781
|
+
margin-block: 0.5rem;
|
|
782
|
+
border-collapse: collapse;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.chat-markdown :is(th, td),
|
|
786
|
+
.streaming-md :is(th, td) {
|
|
787
|
+
border: 1px solid
|
|
788
|
+
color-mix(in srgb, var(--chat-border, var(--border, currentColor)) 60%, transparent);
|
|
789
|
+
padding: 0.25rem 0.5rem;
|
|
790
|
+
font-size: 13px;
|
|
791
|
+
line-height: 1.5rem;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.chat-markdown th,
|
|
795
|
+
.streaming-md th {
|
|
796
|
+
text-align: left;
|
|
797
|
+
font-weight: 600;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.chat-markdown a,
|
|
801
|
+
.streaming-md a {
|
|
802
|
+
color: var(--chat-link, var(--chat-fg, var(--fg, currentColor)));
|
|
803
|
+
text-decoration: underline;
|
|
804
|
+
text-underline-offset: 2px;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.chat-markdown > :first-child,
|
|
808
|
+
.streaming-md > :first-child {
|
|
809
|
+
margin-top: 0;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.chat-markdown > :last-child,
|
|
813
|
+
.streaming-md > :last-child {
|
|
814
|
+
margin-bottom: 0;
|
|
815
|
+
}
|