From fd4632c2ac17abc86d39c9ec7a6c17f837d6813e Mon Sep 17 00:00:00 2001 From: Code UX Date: Tue, 7 Jul 2026 12:24:57 +0000 Subject: [PATCH] feat(task T04): implement via codex --- docs-web/content/docs/developer-http-api.mdx | 5 +---- docs-web/content/docs/registry.ts | 2 +- docs-web/content/docs/user-dashboard-agents.mdx | 15 ++++++++++----- docs-web/content/docs/user-dashboard-chat.mdx | 2 +- .../content/docs/user-dashboard-live-session.mdx | 4 +++- docs-web/content/docs/user-dashboard-overview.mdx | 10 ++++++++++ docs-web/content/docs/user-dashboard-settings.mdx | 2 +- 7 files changed, 27 insertions(+), 13 deletions(-) diff --git a/docs-web/content/docs/developer-http-api.mdx b/docs-web/content/docs/developer-http-api.mdx index 306c06f501..2372fe011c 100644 --- a/docs-web/content/docs/developer-http-api.mdx +++ b/docs-web/content/docs/developer-http-api.mdx @@ -156,10 +156,7 @@ This page lists every endpoint, grouped by domain. Path parameters use `:name` n | `PATCH` | `/api/agent-presets/:agentPresetId` | Update. | | `DELETE` | `/api/agent-presets/:agentPresetId` | Delete. | | `POST` | `/api/agent-presets/:agentPresetId/import-markdown` | Import from a single file. | -| `POST` | `/api/agent-presets/:agentPresetId/export-markdown` | Export one sqlite preset to the project `.code-ux/agents/` directory. | -| `POST` | `/api/projects/:projectId/agent-presets/sync-markdown` | Backward-compatible bulk pull from `.code-ux/agents/`. | -| `POST` | `/api/projects/:projectId/agent-presets/pull-markdown` | Explicitly discover/import project markdown into sqlite. | -| `POST` | `/api/projects/:projectId/agent-presets/push-markdown` | Export sqlite presets to project markdown when mirroring is enabled. | +| `POST` | `/api/projects/:projectId/agent-presets/sync-markdown` | Bulk-sync from `.code-ux/agents/`. | --- diff --git a/docs-web/content/docs/registry.ts b/docs-web/content/docs/registry.ts index 8127c785e3..edfd4357c3 100644 --- a/docs-web/content/docs/registry.ts +++ b/docs-web/content/docs/registry.ts @@ -178,7 +178,7 @@ export const docsRegistry: Record = { path: '/docs/user-dashboard-chat', section: 'User Guide', title: "Chat", - description: "The Chat page (/chat) is a conversation surface that lets you talk to agents for project-backed Q&A, inspect MCP tool invocations, and get local onboarding help before any project exists.", + description: "The Chat page (/chat) is a thread-based conversation surface that lets you talk to agents for project-backed Q&A, inspect execution invocation transcripts and MCP tool invocations, and get local onboarding help before...", }, 'user-dashboard-agents': { id: 'user-dashboard-agents', diff --git a/docs-web/content/docs/user-dashboard-agents.mdx b/docs-web/content/docs/user-dashboard-agents.mdx index e5ee6c2901..12fd9587d9 100644 --- a/docs-web/content/docs/user-dashboard-agents.mdx +++ b/docs-web/content/docs/user-dashboard-agents.mdx @@ -8,10 +8,11 @@ An *agent preset* is a reusable persona consisting of: - A markdown **system instruction** that prepends every session this agent runs. - An optional **memory template** — controls how project / sprint memory is injected into prompts. - Optional persistent skill storage attachments, stored as shared project skill storage IDs for future retrieval. -- Optional runtime metadata such as provider/model preferences, a nullable Docker root-mode override for local CLI task runs, and optional MCP access including default-off Code UX built-in tools and custom MCP server links. +- Optional MCP access, including default-off Code UX built-in tools and custom MCP server links. +- Optional runtime metadata such as provider/model preferences and a nullable Docker root-mode override for local CLI task runs. - A set of **labels** for tagging and filtering. -Agent presets show up wherever a chat thread or planning request needs to choose an agent. +Agent presets show up wherever a chat thread or planning request needs to choose an agent. SQLite is the live authority for these presets; markdown files are the project-local import/export copy used for review and sharing. ## Project name privacy @@ -55,11 +56,15 @@ Agent presets can be defined as markdown files inside `/.code-ux/agents/

/api/realtime` for HTTPS deployments). On the server side, `DashboardRealtimeService` in `src/services/dashboard-realtime-service.ts` coordinates events, and the websocket upgrade/transport is handled in `src/server/dashboard-realtime-websocket-server.ts`. The connection: diff --git a/docs-web/content/docs/user-dashboard-settings.mdx b/docs-web/content/docs/user-dashboard-settings.mdx index a4b2275578..62241e85cf 100644 --- a/docs-web/content/docs/user-dashboard-settings.mdx +++ b/docs-web/content/docs/user-dashboard-settings.mdx @@ -269,7 +269,7 @@ Related docs: Customizes the dashboard background image, animation mode, static color, and pattern overlay. -**What it controls:** Image upload, animated/static mode, animation style, color picker, and overlay pattern shape the visual layer behind panels. Onboarding previews Theme, Navigation Mode, Reduced Motion, Background Mode, Static Color, and supported Zoom Level while it is open, while Animation Style, Pattern Overlay, and custom background image remain available here after onboarding. +**What it controls:** Background Image, Background Mode, Animation Style, Static Color, and Pattern Overlay shape the visual layer behind panels. Onboarding previews Theme, Navigation Mode, Reduced Motion, Background Mode, Static Color, and supported Zoom Level while it is open, while Animation Style, Pattern Overlay, and custom background image remain available here after onboarding. **Recommended defaults:** Prefer lightweight images and readable contrast; use static mode if motion is distracting.