Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Chore/gv/using server (#23)

Govinda Vashishtha47f98ecd1df6
diff --git a/.codegraph/codegraph.db b/.codegraph/codegraph.db
new file mode 100644
index 000000000..09e3110e7
Binary files /dev/null and b/.codegraph/codegraph.db differ
diff --git a/.nvmrc b/.nvmrc
new file mode 100644
index 000000000..fc37597bc
--- /dev/null
+++ b/.nvmrc
@@ -0,0 +1 @@
+22.17.0
diff --git a/Dockerfile b/Dockerfile
index 69fef3275..2117e6353 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,6 @@ RUN apt-get update \
# ---------------------------------------------------------------------------
FROM build-base AS store
COPY pnpm-lock.yaml pnpm-workspace.yaml ./
-COPY patches patches
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm fetch
# ---------------------------------------------------------------------------
@@ -58,6 +57,13 @@ FROM workspace AS frontend-builder
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
pnpm install --frozen-lockfile --offline --filter frontend...
COPY packages/frontend packages/frontend
+# trueharness is linked from packages/sdk (outside the pnpm workspace).
+COPY packages/sdk/package.json packages/sdk/pnpm-lock.yaml packages/sdk/pnpm-workspace.yaml packages/sdk/
+COPY packages/sdk/scripts packages/sdk/scripts
+COPY packages/sdk/src packages/sdk/src
+COPY packages/sdk/tsconfig*.json packages/sdk/
+RUN --mount=type=cache,id=pnpm-sdk,target=/pnpm/store \
+ cd packages/sdk && pnpm install --frozen-lockfile
RUN pnpm --filter frontend build
# ---------------------------------------------------------------------------
diff --git a/docker-compose.yml b/docker-compose.yml
index 9277d59c0..e10d42eeb 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -48,6 +48,8 @@ services:
NODE_ENV: production
# Inside the container; host mapping above is 8791.
PORT: 8790
+ # Host-facing origin for MCP OAuth callbacks (mapped port, not container PORT).
+ PUBLIC_BASE_URL: http://localhost:8791
# Compose network hosts — do not use packages/server/.env localhost values.
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
diff --git a/fern/openapi/openapi.json b/fern/openapi/openapi.json
index 1a708e097..8ea4ceb00 100644
--- a/fern/openapi/openapi.json
+++ b/fern/openapi/openapi.json
@@ -86,25 +86,7 @@
"type": "array"
},
"model": {
- "allOf": [
- {
- "$ref": "#/components/schemas/Model"
- },
- {
- "properties": {
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "params": {
- "$ref": "#/components/schemas/ModelParams"
- }
- },
- "required": [
- "name"
- ]
- }
- ]
+ "$ref": "#/components/schemas/AgentSpecModel"
},
"response_format": {
"$ref": "#/components/schemas/ResponseFormat"
@@ -127,6 +109,21 @@
],
"type": "object"
},
+ "AgentSpecModel": {
+ "properties": {
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "params": {
+ "$ref": "#/components/schemas/ModelParams"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
"AgentSpecUserMessage": {
"properties": {
"content": {
diff --git a/package.json b/package.json
index 43abe7d1a..e708c3acc 100644
--- a/package.json
+++ b/package.json
@@ -2,6 +2,9 @@
"name": "@truefoundry/harness-workspace",
"private": true,
"packageManager": "[email protected]+sha512.b767e9a98fc87aec0f42daefcd0e84941c2cdb45d73c4e1e68860fb2bdfdbe032ab592105479e5e05c237f740c8a5ffdbbb52385797ddc2296745a1bbb883e8d",
+ "engines": {
+ "node": ">=22.13.0"
+ },
"scripts": {
"build": "pnpm --filter @truefoundry/utils-core build && pnpm --filter @truefoundry/server build && pnpm --filter frontend build",
"clean": "node scripts/clean.mjs",
diff --git a/packages/frontend/README.md b/packages/frontend/README.md
index 1e5882ecd..1df57b937 100644
--- a/packages/frontend/README.md
+++ b/packages/frontend/README.md
@@ -5,13 +5,17 @@ Private draft-only agent chat UI for the harness server. **Not published to npm*
Built on:
```
-truefoundry-gateway-sdk (AgentSessionClient + PrivateAgentSessionClient)
- → @truefoundry/assistant-ui-runtime (useTrueFoundryAgentRuntime, mode: draft)
- → @assistant-ui/react
- → @truefoundry/agent-ui-sdk (Thread, ThreadListContainer)
+trueharness (local Harness SDK)
+ → Harness AgentChatServer adapter
+ → createTrueFoundryServer (chat port + catalog callbacks)
+ → @truefoundry/agent-ui-sdk (TrueFoundryAssistantUI, layout="sidebar")
```
-No login (`auth: false`). Skills are not wired in v1.
+The SDK owns the shell: sidebar, thread list, composer, model and connector pickers, and the
+runtime wiring. [`App.tsx`](src/App.tsx) only seeds `defaultAgentSpec` from the Harness catalogs
+and renders the API error card.
+
+No login is required.
## Local development
@@ -28,18 +32,19 @@ restart) and proxies `/api/*` to `VITE_SERVER_URL`, default `http://localhost:87
moves Vite off `:3000`. That proxy is the only dev-specific wiring and lives entirely in
[`vite.config.ts`](vite.config.ts); the server needs no build to answer the API.
-### Session paths
+### Server adapter
-The gateway SDK's session routes sit under `/v1/agents`, with draft sessions as a separate resource. The
-harness YAML-backed surface is `/api/v1/legacy/sessions`, so [`src/harnessFetch.ts`](src/harnessFetch.ts)
-rewrites requests on their way out and is handed to both clients as their `fetch`:
+[`src/harnessServer.ts`](src/harnessServer.ts) wraps the Harness SDK with the flat `AgentChatServer`
+contract. It maps mutable session DTOs, pagination, turns, event history, cancellation, and SSE
+metadata while keeping the browser pointed directly at `/api/v1/sessions`.
-| SDK request | Harness route |
-| ---------------------------- | -------------------------- |
-| `/v1/agents/draft-sessions*` | `/api/v1/legacy/sessions*` |
-| `/v1/agents/sessions*` | `/api/v1/legacy/sessions*` |
+`agent-ui-sdk` still declares the pre-0.1.6 contract (mounts carry `id`, list results are
+`PageResult`, absent values are `undefined`) while the runtime it delegates to reads `nextPageToken`
+and tolerates `null`. The adapter emits values valid under both — derived mount ids, pages carrying
+`nextPageToken` _and_ `hasNextPage()`, `null` normalised to absent — so no layer needs a cast.
-It runs in the browser, so the mapping is identical in dev and production; the dev proxy just forwards.
+The local SDK is linked as `trueharness`. Frontend dev, typecheck, test, and build scripts build it first,
+so clean checkouts do not rely on committed `dist/` output.
## Production
@@ -52,24 +57,35 @@ those on the fly.
docker compose up --build # UI + API on http://localhost:8791
```
-## Catalogs (model + MCP)
+## Catalogs (model + MCP + skills)
+
+[`src/catalog.ts`](src/catalog.ts) calls the DB-backed list endpoints via `trueharness`.
+`App.tsx` passes the results into `createTrueFoundryServer`:
-The SDK has no catalog client. On boot the app:
+| Callback | Source |
+| -------------- | ----------------------------------------------------------------- |
+| `getModels` | `GET /api/v1/models` (also seeds `defaultAgentSpec.model`) |
+| `getMcp` | `GET /api/v1/mcp-servers` |
+| `getSkills` | `GET /api/v1/skills` when `GET /api/v1/capabilities` has skill on |
+| `searchAgents` | Empty — Harness has no agent registry |
+| `saveAgent` | Rejects — sessions are draft-only |
-1. `GET /api/v1/legacy/models` → seeds `defaultAgentSpec.model.name`
-2. Renders custom `ComposerRightSection` controls that `fetch` models/MCP and call `updateAgentSpec`
+The SDK's picker round-trips a skill as `{ id, name }`. Harness persists name refs only
+(`{ name }`), so `harnessServer` derives `id` from `name` on read and strips `id` on write.
+Skills stay empty in the picker when the skill capability is off (no sandbox provider configured).
-Skills: catalog UI lists `GET /api/v1/legacy/skills` (empty state when none). Selection is local-only — session admission still rejects `agent_spec.skills`.
+The Agents Library button still renders (the SDK shows it whenever `agentName` is omitted) and
+opens an empty list; `AgentsLibraryButton` is not part of the publicly typed `AtomSlots`, so it
+cannot be overridden away without a cast.
## Gaps
-| Item | Status |
-| ------------------------------------- | --------------------------------------------- |
-| Subscribe turn SSE | Deferred (route defined, not registered) |
-| Skills | Deferred |
-| Attachments / sandbox download | On (adapter wired; sandbox download deferred) |
-| Session `type` / `created_by_subject` | Soft — not required for draft FE |
-| `turn.created.created_by` | Soft — stream adopt tolerates missing |
+| Item | Status |
+| ------------------------------------- | ---------------------------------------- |
+| Subscribe turn SSE | Deferred (route defined, not registered) |
+| Attachments / sandbox download | Off |
+| Session `type` / `created_by_subject` | Soft — not required for draft FE |
+| `turn.created.created_by` | Soft — stream adopt tolerates missing |
## Scripts
diff --git a/packages/frontend/index.html b/packages/frontend/index.html
index 518e510b8..35e8dd5de 100644
--- a/packages/frontend/index.html
+++ b/packages/frontend/index.html
@@ -4,9 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Harness</title>
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
</head>
<body>
<div id="root"></div>
diff --git a/packages/frontend/package.json b/packages/frontend/package.json
index 7b5648c2b..85f413f66 100644
--- a/packages/frontend/package.json
+++ b/packages/frontend/package.json
@@ -7,30 +7,35 @@
"private": true,
"type": "module",
"scripts": {
+ "sdk:build": "pnpm --pm-on-fail=ignore --dir ../sdk install --ignore-workspace --config.confirmModulesPurge=false --ignore-scripts && pnpm --pm-on-fail=ignore --dir ../sdk build",
+ "predev": "pnpm run sdk:build",
"dev": "trap 'exit 0' INT TERM; vite",
"dev:no-watch": "pnpm run dev",
+ "prebuild": "pnpm run sdk:build",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
+ "pretypecheck": "pnpm run sdk:build",
"typecheck": "tsc --noEmit",
+ "pretest": "pnpm run sdk:build",
"test": "tsx --test \"tests/**/*.test.ts\""
},
"dependencies": {
- "@assistant-ui/core": "0.2.21",
+ "@assistant-ui/core": "0.2.22",
"@assistant-ui/react": "^0.14.24",
- "@assistant-ui/store": "0.2.20",
- "@truefoundry/agent-ui-sdk": "0.0.8",
- "@truefoundry/assistant-ui-runtime": "0.1.4",
+ "@assistant-ui/store": "0.2.21",
+ "@truefoundry/agent-ui-sdk": "^0.1.3",
+ "@truefoundry/assistant-ui-runtime": "^0.1.7",
"monaco-editor": "^0.52.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
- "tfy-web-components": "^0.0.31",
- "truefoundry-gateway-sdk": "0.4.0-rc.2"
+ "trueharness": "link:../sdk"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^4.7.0",
"playwright-core": "^1.61.1",
+ "tailwindcss": "4.3.3",
"tsx": "^4.16.2",
"typescript": "^5.9.3",
"vite": "^6.3.5",
diff --git a/packages/frontend/src/App.tsx b/packages/frontend/src/App.tsx
index 4adadcb77..75af83d97 100644
--- a/packages/frontend/src/App.tsx
+++ b/packages/frontend/src/App.tsx
@@ -1,163 +1,110 @@
-import { AssistantRuntimeProvider, useAui, useAuiState } from '@assistant-ui/react';
-import { ErrorToasterProvider, SlotsProvider, Thread } from '@truefoundry/agent-ui-sdk';
import {
- trueFoundryAttachmentAdapter,
- useTrueFoundryAgentRuntime,
- type AgentSpec,
-} from '@truefoundry/assistant-ui-runtime';
+ createTrueFoundryServer,
+ TrueFoundryAssistantUI,
+ useShellMode,
+ WelcomeScreen,
+ type SlotOverrides,
+ type WelcomeScreenProps,
+} from '@truefoundry/agent-ui-sdk';
import { useEffect, useMemo, useRef, useState } from 'react';
-import { ThemeProvider } from 'tfy-web-components/components/theme/useTheme';
-import { AgentSessionClient } from 'truefoundry-gateway-sdk/agents';
-import { PrivateAgentSessionClient } from 'truefoundry-gateway-sdk/agents/private';
+import './agentUiSlots';
import { ApiErrorCard } from './ApiErrorCard';
-import { ServerCapabilitiesProvider } from './capabilities';
-import { getCapabilities, listModels, type ServerCapabilities } from './catalog';
-import { AppComposerShell } from './ComposerShell';
-import { harnessFetch } from './harnessFetch';
-import { PanelLeftIcon } from './icons';
-import { AppWelcomeScreen } from './slots';
-import { ThreadHeader } from './ThreadHeader';
-import { ThreadSidebar } from './ThreadSidebar';
+import { getCapabilities, listMcpServers, listModels, listSkills } from './catalog';
+import { createConnectorCatalog } from './connectorCatalog';
+import { createHarnessChatServer, type HarnessAgentSpec } from './harnessServer';
+import { createModelProviderCatalog } from './modelProviderCatalog';
-const client = new AgentSessionClient({
- baseUrl: '/',
- auth: false,
- fetch: harnessFetch,
-});
-
-const privateClient = new PrivateAgentSessionClient({
- baseUrl: '/',
- auth: false,
- fetch: harnessFetch,
-});
-
-const slotOverrides = {
- WelcomeScreen: AppWelcomeScreen,
- ComposerShell: AppComposerShell,
- ComposerRightSection: () => null,
- ComposerLeftSection: () => null,
- ComposerSendButton: () => null,
-};
+/** Harness model names are `provider/model`. */
+function providerOf(name: string): string {
+ return name.split('/')[0] ?? name;
+}
-/**
- * The backend generates the session title once the first turn streams. Reload
- * the thread list when streaming starts and ends so the sidebar and header
- * (both read from `threads.threadItems`) pick up the new title.
- */
-function ThreadTitleSync() {
- const aui = useAui();
- const isRunning = useAuiState(state => state.threads.main.isRunning);
- const mountedRef = useRef(false);
+/** Opens settings once when the empty welcome screen mounts (no models configured). */
+function OpenSettingsWelcomeScreen(props: WelcomeScreenProps) {
+ const { setSettingsOpen } = useShellMode();
+ const openedRef = useRef(false);
useEffect(() => {
- if (!mountedRef.current) {
- mountedRef.current = true;
+ if (openedRef.current) {
return;
}
- void aui.threads().reload();
- }, [aui, isRunning]);
- return null;
+ openedRef.current = true;
+ setSettingsOpen(true);
+ }, [setSettingsOpen]);
+ return <WelcomeScreen {...props} />;
}
-function ChatApp({
- defaultAgentSpec,
- capabilities,
-}: {
- defaultAgentSpec: AgentSpec;
- capabilities: ServerCapabilities;
-}) {
- const [sidebarOpen, setSidebarOpen] = useState(true);
- const runtime = useTrueFoundryAgentRuntime({
- client,
- privateClient,
- agent: {
- mode: 'draft',
- defaultAgentSpec,
+const server = createTrueFoundryServer<HarnessAgentSpec>({
+ chatServer: createHarnessChatServer(),
+ getModels: async () => (await listModels()).map(model => ({ name: model.name, provider: providerOf(model.name) })),
+ // Skills require a configured sandbox provider; keep the picker empty when skill capability is off.
+ getSkills: async () => {
+ const [capabilities, skills] = await Promise.all([getCapabilities(), listSkills()]);
+ return capabilities.skill.enabled
+ ? skills.map(skill => ({ id: skill.name, name: skill.name, description: skill.description }))
+ : [];
+ },
+ getMcp: async () =>
+ (await listMcpServers()).map(server => ({ id: server.name, name: server.name, description: server.url })),
+ searchAgents: () => Promise.resolve([]),
+ saveAgent: () => Promise.reject(new Error('Harness has no agent registry — sessions are draft-only')),
+ catalog: {
+ modelCatalog: createModelProviderCatalog(),
+ connectorCatalog: createConnectorCatalog(),
+ // Skills settings still deferred (UI create shape is repo/directory; Harness is git manifest).
+ skillCatalog: {
+ listSkills: () => Promise.resolve([]),
+ createSkill: () => Promise.reject(new Error('not implemented')),
},
- adapters: { attachments: trueFoundryAttachmentAdapter },
- });
+ },
+});
- return (
- <AssistantRuntimeProvider runtime={runtime}>
- <ServerCapabilitiesProvider capabilities={capabilities}>
- <ThemeProvider theme="dark">
- <SlotsProvider theme="dark" overrides={slotOverrides}>
- <ErrorToasterProvider>
- <ThreadTitleSync />
- <div className="app-shell">
- {sidebarOpen ? (
- <aside className="app-sidebar">
- <div className="sidebar-top">
- <span className="sidebar-brand">Harness</span>
- <button
- type="button"
- className="icon-btn"
- aria-label="Collapse sidebar"
- onClick={() => {
- setSidebarOpen(false);
- }}
- >
- <PanelLeftIcon />
- </button>
- </div>
- <ThreadSidebar />
- </aside>
- ) : null}
- <div className="app-main">
- <ThreadHeader
- sidebarCollapsed={!sidebarOpen}
- onExpandSidebar={() => {
- setSidebarOpen(true);
- }}
- />
- <div className="app-thread-body">
- <Thread />
- </div>
- <ApiErrorCard />
- </div>
- </div>
- </ErrorToasterProvider>
- </SlotsProvider>
- </ThemeProvider>
- </ServerCapabilitiesProvider>
- </AssistantRuntimeProvider>
- );
-}
+type BootState =
+ | { status: 'loading' }
+ | { status: 'error'; message: string }
+ | { status: 'ready'; defaultAgentSpec: HarnessAgentSpec; openSettings: boolean };
export function App() {
- const [defaultAgentSpec, setDefaultAgentSpec] = useState<AgentSpec | null>(null);
- const [capabilities, setCapabilities] = useState<ServerCapabilities | null>(null);
- const [bootError, setBootError] = useState<string | null>(null);
-
- useEffect(() => {
- document.documentElement.classList.add('dark');
- return () => {
- document.documentElement.classList.remove('dark');
- };
- }, []);
+ const [boot, setBoot] = useState<BootState>({ status: 'loading' });
useEffect(() => {
const state = { cancelled: false };
void (async () => {
try {
- const [models, serverCapabilities] = await Promise.all([listModels(), getCapabilities()]);
+ const [models, capabilities] = await Promise.all([listModels(), getCapabilities()]);
+ if (state.cancelled) {
+ return;
+ }
const first = models[0];
- if (!first) {
- throw new Error('No models in GET /api/v1/legacy/models — check models.yaml');
+ const sandboxConfig = { sandbox: { enabled: capabilities.sandbox.enabled } };
+ if (first === undefined) {
+ setBoot({
+ status: 'ready',
+ openSettings: true,
+ defaultAgentSpec: {
+ model: { name: '' },
+ config: sandboxConfig,
+ },
+ });
+ return;
}
- if (!state.cancelled) {
- const defaultReasoningEffort = first.reasoning_efforts?.[0];
- setDefaultAgentSpec({
+ const defaultReasoningEffort = first.properties.reasoningEfforts?.[0];
+ setBoot({
+ status: 'ready',
+ openSettings: false,
+ defaultAgentSpec: {
model: {
name: first.name,
...(defaultReasoningEffort ? { params: { reasoningEffort: defaultReasoningEffort } } : {}),
},
- config: { sandbox: { enabled: serverCapabilities.sandbox.enabled } },
- });
- setCapabilities(serverCapabilities);
- }
+ config: sandboxConfig,
+ },
+ });
} catch (err) {
if (!state.cancelled) {
- setBootError(err instanceof Error ? err.message : 'Failed to boot');
+ setBoot({
+ status: 'error',
+ message: err instanceof Error ? err.message : 'Failed to boot',
+ });
}
}
})();
@@ -166,21 +113,21 @@ export function App() {
};
}, []);
- const loading = useMemo(
- () => (defaultAgentSpec == null || capabilities == null) && bootError == null,
- [defaultAgentSpec, capabilities, bootError],
+ const overrides: SlotOverrides = useMemo(
+ () => (boot.status === 'ready' && boot.openSettings ? { WelcomeScreen: OpenSettingsWelcomeScreen } : {}),
+ [boot],
);
- if (bootError) {
+ if (boot.status === 'error') {
return (
<div className="boot-screen" data-error="true">
- Failed to load application configuration: {bootError}
+ Failed to load application configuration: {boot.message}
<ApiErrorCard />
</div>
);
}
- if (loading || defaultAgentSpec == null || capabilities == null) {
+ if (boot.status === 'loading') {
return (
<div className="boot-screen">
Loading application…
@@ -189,5 +136,17 @@ export function App() {
);
}
- return <ChatApp defaultAgentSpec={defaultAgentSpec} capabilities={capabilities} />;
+ return (
+ <div className="app-root">
+ <TrueFoundryAssistantUI
+ server={server}
+ layout="sidebar"
+ defaultAgentSpec={boot.defaultAgentSpec}
+ overrides={overrides}
+ theme={{ mode: 'dark' }}
+ className="app-assistant"
+ />
+ <ApiErrorCard />
+ </div>
+ );
}
diff --git a/packages/frontend/src/ComposerCatalogControls.tsx b/packages/frontend/src/ComposerCatalogControls.tsx
deleted file mode 100644
index 0219c3abf..000000000
--- a/packages/frontend/src/ComposerCatalogControls.tsx
+++ /dev/null
@@ -1,481 +0,0 @@
-import { useTrueFoundryAgentSpec, useTrueFoundryUpdateAgentSpec } from '@truefoundry/assistant-ui-runtime';
-import { useEffect, useMemo, useRef, useState } from 'react';
-import { useServerCapabilities } from './capabilities';
-import {
- listMcpServers,
- listModels,
- listSkills,
- type McpServerEntry,
- type ModelEntry,
- type SkillEntry,
-} from './catalog';
-import { ChevronDownIcon, SearchIcon, SparklesIcon } from './icons';
-import { selectedSkillNamesFromSpec, skillMountsFromNames } from './skillMounts';
-
-export type CatalogTab = 'connectors' | 'skills' | 'attachment';
-
-type Mode = 'panel' | 'model' | 'sandbox' | 'skills-chip';
-
-interface Props {
- mode?: Mode;
- disabled?: boolean;
- isRunning?: boolean;
- initialTab?: CatalogTab;
- onAttach?: () => void;
- onClosePanel?: () => void;
- onOpenPanel?: (tab: CatalogTab) => void;
-}
-
-function shortModelName(name: string): string {
- const parts = name.split('/');
- return parts[parts.length - 1] ?? name;
-}
-
-function initialFor(name: string): string {
- return shortModelName(name).slice(0, 1).toUpperCase();
-}
-
-/**
- * Composer catalog UI: model chip, skills chip, or Connectors/Skills/Attachment panel.
- * Skills are resolved from the catalog into git mounts on agent_spec.skills.
- */
-export function ComposerCatalogControls({
- mode = 'panel',
- disabled = false,
- initialTab = 'connectors',
- onAttach,
- onClosePanel,
- onOpenPanel,
-}: Props) {
- const capabilities = useServerCapabilities();
- const { agentSpec } = useTrueFoundryAgentSpec();
- const updateAgentSpec = useTrueFoundryUpdateAgentSpec();
- const [models, setModels] = useState<ModelEntry[]>([]);
- const [mcpServers, setMcpServers] = useState<McpServerEntry[]>([]);
- const [skills, setSkills] = useState<SkillEntry[]>([]);
- const [error, setError] = useState<string | null>(null);
- const [query, setQuery] = useState('');
- const [tab, setTab] = useState<CatalogTab>(initialTab);
- const selectedSkillNames = useMemo(() => selectedSkillNamesFromSpec(agentSpec?.skills), [agentSpec?.skills]);
- const sandboxSelected = agentSpec?.config?.sandbox?.enabled === true;
- const sandboxAvailable = capabilities.sandbox.enabled;
- const skillsDisabled = disabled || !sandboxSelected;
- const [modelOpen, setModelOpen] = useState(false);
- const [reasoningOpen, setReasoningOpen] = useState(false);
- const modelRootRef = useRef<HTMLDivElement>(null);
-
- useEffect(() => {
- const state = { cancelled: false };
- void (async () => {
- try {
- const [nextModels, nextMcp, nextSkills] = await Promise.all([listModels(), listMcpServers(), listSkills()]);
- if (state.cancelled) return;
- setModels(nextModels);
- setMcpServers(nextMcp);
- setSkills(nextSkills);
- setError(null);
- } catch (err) {
- if (!state.cancelled) {
- setError(err instanceof Error ? err.message : 'Failed to load catalogs');
- }
- }
- })();
- return () => {
- state.cancelled = true;
- };
- }, []);
-
- useEffect(() => {
- if (!modelOpen && !reasoningOpen) return;
- const onPointerDown = (event: MouseEvent) => {
- if (!modelRootRef.current?.contains(event.target as Node)) {
- setModelOpen(false);
- setReasoningOpen(false);
- }
- };
- document.addEventListener('mousedown', onPointerDown);
- return () => {
- document.removeEventListener('mousedown', onPointerDown);
- };
- }, [modelOpen, reasoningOpen]);
-
- // Fall back to connectors when sandbox is turned off while the skills tab is open.
- const activeTab: CatalogTab = !sandboxSelected && tab === 'skills' ? 'connectors' : tab;
-
- const selectedModel = agentSpec?.model.name ?? '';
- const selectedMcp = useMemo(
- () => new Set((agentSpec?.mcpServers ?? []).map(server => server.name)),
- [agentSpec?.mcpServers],
- );
-
- const filteredMcp = useMemo(() => {
- const q = query.trim().toLowerCase();
- if (!q) return mcpServers;
- return mcpServers.filter(server => server.name.toLowerCase().includes(q) || server.url.toLowerCase().includes(q));
- }, [mcpServers, query]);
-
- const filteredSkills = useMemo(() => {
- const q = query.trim().toLowerCase();
- if (!q) return skills;
- return skills.filter(skill => skill.name.toLowerCase().includes(q) || skill.description.toLowerCase().includes(q));
- }, [skills, query]);
-
- const applyMcpSelection = (nextNames: Set<string>) => {
- updateAgentSpec({
- mcpServers: [...nextNames].map(name => ({
- type: 'truefoundry-mcp-registry' as const,
- name,
- enableTools: ['@all' as const],
- })),
- });
- };
-
- const applySkillSelection = (nextNames: Set<string>) => {
- updateAgentSpec({
- skills: skillMountsFromNames(nextNames, skills),
- });
- };
-
- if (mode === 'sandbox') {
- const unavailableReason = 'Sandbox is not configured on this server.';
- return (
- <button
- type="button"
- className="chip-btn chip-btn-outline"
- disabled={disabled}
- aria-disabled={!sandboxAvailable || undefined}
- data-disabled={!sandboxAvailable || undefined}
- data-active={sandboxSelected || undefined}
- title={!sandboxAvailable ? unavailableReason : sandboxSelected ? 'Disable sandbox' : 'Enable sandbox'}
- onClick={() => {
- if (!sandboxAvailable) return;
- const enabled = !sandboxSelected;
- updateAgentSpec({
- config: {
- ...agentSpec?.config,
- sandbox: {
- ...agentSpec?.config?.sandbox,
- enabled,
- },
- },
- ...(!enabled ? { skills: [] } : {}),
- });
- }}
- >
- <span className="sandbox-status" aria-hidden />
- <span>Sandbox</span>
- </button>
- );
- }
-
- if (mode === 'model') {
- const model = models.find(entry => entry.name === selectedModel);
- const reasoningEfforts = model?.reasoning_efforts ?? [];
- const configuredReasoningEffort = agentSpec?.model.params?.reasoningEffort;
- const selectedReasoningEffort =
- configuredReasoningEffort && reasoningEfforts.includes(configuredReasoningEffort)
- ? configuredReasoningEffort
- : reasoningEfforts[0];
-
- return (
- <div ref={modelRootRef} className="model-controls">
- <div style={{ position: 'relative' }}>
- <button
- type="button"
- className="chip-btn"
- disabled={disabled || models.length === 0}
- data-open={modelOpen || undefined}
- onClick={() => {
- setReasoningOpen(false);
- setModelOpen(open => !open);
- }}
- >
- <SparklesIcon />
- <span>{selectedModel ? shortModelName(selectedModel) : 'Model'}</span>
- <ChevronDownIcon />
- </button>
- {modelOpen ? (
- <div className="popover popover-right" role="listbox" aria-label="Models">
- <div className="model-menu">
- {models.map(entry => {
- const nextReasoningEffort = entry.reasoning_efforts?.[0];
- const nextParams = { ...agentSpec?.model.params };
- // Assign undefined (not delete) so the spread in mergeAgentSpec
- // overrides the base value; a deleted key leaves the base intact.
- // TODO (chiragjn): look into SDK generation, if we can have a more robust way to do this.
- // @ts-expect-error -- ModelParams.reasoningEffort is `string?` (exactOptionalPropertyTypes),
- // but we intentionally write undefined here so the JS spread overwrites any prior value.
- nextParams.reasoningEffort = nextReasoningEffort;
- return (
- <button
- key={entry.name}
- type="button"
- data-active={entry.name === selectedModel || undefined}
- onClick={() => {
- updateAgentSpec({
- model: {
- name: entry.name,
- params: nextParams,
- },
- });
- setModelOpen(false);
- }}
- >
- {shortModelName(entry.name)}
- </button>
- );
- })}
- </div>
- </div>
- ) : null}
- </div>
- {selectedReasoningEffort ? (
- <div style={{ position: 'relative' }}>
- <button
- type="button"
- className="chip-btn reasoning-chip"
- disabled={disabled}
- data-open={reasoningOpen || undefined}
- onClick={() => {
- setModelOpen(false);
- setReasoningOpen(open => !open);
- }}
- >
- <span>{selectedReasoningEffort}</span>
- <ChevronDownIcon />
- </button>
- {reasoningOpen ? (
- <div className="popover popover-right reasoning-popover" role="listbox" aria-label="Reasoning effort">
- <div className="model-menu">
- {reasoningEfforts.map(effort => (
- <button
- key={effort}
- type="button"
- data-active={effort === selectedReasoningEffort || undefined}
- onClick={() => {
- updateAgentSpec({
- model: {
- params: {
- ...agentSpec?.model.params,
- reasoningEffort: effort,
- },
- },
- });
- setReasoningOpen(false);
- }}
- >
- {effort}
- </button>
- ))}
- </div>
- </div>
- ) : null}
- </div>
- ) : null}
- </div>
- );
- }
-
- if (mode === 'skills-chip') {
- const selectedCount = selectedSkillNames.size;
- // Disabling sandbox clears skill selection, so a visible chip implies sandbox is on.
- if (selectedCount === 0) return null;
- return (
- <button
- type="button"
- className="chip-btn chip-btn-outline"
- disabled={disabled}
- onClick={() => {
- onOpenPanel?.('skills');
- }}
- >
- <span className="chip-doc-icon" aria-hidden />
- <span>{`${String(selectedCount)} Skills`}</span>
- </button>
- );
- }
-
- const mcpAllSelected = filteredMcp.length > 0 && filteredMcp.every(server => selectedMcp.has(server.name));
- const skillsAllSelected =
- filteredSkills.length > 0 && filteredSkills.every(skill => selectedSkillNames.has(skill.name));
-
- return (
- <>
- <div className="popover-tabs">
- <button
- type="button"
- className="popover-tab"
- data-active={activeTab === 'connectors' || undefined}
- onClick={() => {
- setTab('connectors');
- setQuery('');
- }}
- >
- Connectors{mcpServers.length > 0 ? ` ${String(mcpServers.length)}` : ''}
- </button>
- <button
- type="button"
- className="popover-tab"
- data-active={activeTab === 'skills' || undefined}
- disabled={skillsDisabled}
- title={!sandboxSelected ? 'Enable sandbox to use skills.' : undefined}
- onClick={() => {
- setTab('skills');
- setQuery('');
- }}
- >
- Skills{skills.length > 0 ? ` ${String(skills.length)}` : ''}
- </button>
- <button
- type="button"
- className="popover-tab"
- data-active={activeTab === 'attachment' || undefined}
- disabled={!onAttach}
- onClick={() => {
- setTab('attachment');
- onClosePanel?.();
- onAttach?.();
- }}
- >
- Attachment
- </button>
- </div>
-
- <div className="popover-body">
- {!sandboxSelected ? (
- <div className="popover-capability-note" role="note">
- Enable sandbox to use skills.
- </div>
- ) : null}
-
- {activeTab === 'connectors' ? (
- <>
- <label className="popover-search">
- <SearchIcon width={16} height={16} />
- <input
- value={query}
- onChange={event => {
- setQuery(event.target.value);
- }}
- placeholder="Search connectors..."
- disabled={disabled}
- />
- </label>
- <div className="popover-meta">
- <span>SELECTED ({selectedMcp.size})</span>
- <label>
- <input
- type="checkbox"
- checked={mcpAllSelected}
- disabled={disabled || filteredMcp.length === 0}
- onChange={event => {
- const next = new Set(selectedMcp);
- if (event.target.checked) {
- for (const server of filteredMcp) next.add(server.name);
- } else {
- for (const server of filteredMcp) next.delete(server.name);
- }
- applyMcpSelection(next);
- }}
- />
- Select all
- </label>
- </div>
- <div className="popover-list">
- {filteredMcp.length === 0 ? (
- <div className="popover-list-empty">{error ?? 'No connectors yet.'}</div>
- ) : (
- filteredMcp.map(server => (
- <label key={server.name} className="popover-row">
- <span className="popover-avatar">{initialFor(server.name)}</span>
- <span className="popover-row-text">
- <strong>{server.name}</strong>
- <span>{server.url}</span>
- </span>
- <input
- type="checkbox"
- checked={selectedMcp.has(server.name)}
- disabled={disabled}
- onChange={event => {
- const next = new Set(selectedMcp);
- if (event.target.checked) next.add(server.name);
- else next.delete(server.name);
- applyMcpSelection(next);
- }}
- />
- </label>
- ))
- )}
- </div>
- </>
- ) : null}
-
- {activeTab === 'skills' ? (
- <>
- <label className="popover-search">
- <SearchIcon width={16} height={16} />
- <input
- value={query}
- onChange={event => {
- setQuery(event.target.value);
- }}
- placeholder="Search skills..."
- disabled={skillsDisabled}
- />
- </label>
- <div className="popover-meta">
- <span>AVAILABLE ({skills.length})</span>
- <label>
- <input
- type="checkbox"
- checked={skillsAllSelected}
- disabled={skillsDisabled || filteredSkills.length === 0}
- onChange={event => {
- const next = new Set(selectedSkillNames);
- if (event.target.checked) {
- for (const skill of filteredSkills) next.add(skill.name);
- } else {
- for (const skill of filteredSkills) next.delete(skill.name);
- }
- applySkillSelection(next);
- }}
- />
- Select all
- </label>
- </div>
- <div className="popover-list">
- {filteredSkills.length === 0 ? (
- <div className="popover-list-empty">{error ?? 'No skills yet.'}</div>
- ) : (
- filteredSkills.map(skill => (
- <label key={skill.name} className="popover-row" data-disabled={skillsDisabled || undefined}>
- <span className="popover-avatar popover-avatar-doc" aria-hidden />
- <span className="popover-row-text">
- <strong>{skill.name}</strong>
- <span>{skill.description}</span>
- </span>
- <input
- type="checkbox"
- checked={selectedSkillNames.has(skill.name)}
- disabled={skillsDisabled}
- onChange={event => {
- const next = new Set(selectedSkillNames);
- if (event.target.checked) next.add(skill.name);
- else next.delete(skill.name);
- applySkillSelection(next);
- }}
- />
- </label>
- ))
- )}
- </div>
- </>
- ) : null}
-
- {activeTab === 'attachment' ? (
- <p className="popover-hint">Attachments open the file picker when available.</p>
- ) : null}
- </div>
- </>
- );
-}
diff --git a/packages/frontend/src/ComposerShell.tsx b/packages/frontend/src/ComposerShell.tsx
deleted file mode 100644
index 0277dcf8c..000000000
--- a/packages/frontend/src/ComposerShell.tsx
+++ /dev/null
@@ -1,148 +0,0 @@
-import type { ComposerShellProps } from '@truefoundry/agent-ui-sdk';
-import { useEffect, useId, useRef, useState } from 'react';
-import { ComposerCatalogControls, type CatalogTab } from './ComposerCatalogControls';
-import { ArrowUpIcon, PlusIcon, SquareIcon } from './icons';
-
-/**
- * Dark product-style composer: + opens catalog panel, skills chip, model chip, purple send.
- */
-export function AppComposerShell({
- value,
- placeholder,
- disabled,
- isRunning = false,
- attachments,
- onValueChange,
- onSubmit,
- onCancel,
- onAttach,
- className,
-}: ComposerShellProps) {
- const [panelOpen, setPanelOpen] = useState(false);
- const [panelTab, setPanelTab] = useState<CatalogTab>('connectors');
- const rootRef = useRef<HTMLDivElement>(null);
- const panelId = useId();
-
- const openPanel = (tab: CatalogTab) => {
- setPanelTab(tab);
- setPanelOpen(true);
- };
-
- useEffect(() => {
- if (!panelOpen) return;
- const onPointerDown = (event: MouseEvent) => {
- if (!rootRef.current?.contains(event.target as Node)) {
- setPanelOpen(false);
- }
- };
- const onKeyDown = (event: KeyboardEvent) => {
- if (event.key === 'Escape') setPanelOpen(false);
- };
- document.addEventListener('mousedown', onPointerDown);
- document.addEventListener('keydown', onKeyDown);
- return () => {
- document.removeEventListener('mousedown', onPointerDown);
- document.removeEventListener('keydown', onKeyDown);
- };
- }, [panelOpen]);
-
- return (
- <div
- ref={rootRef}
- data-slot="aui_composer-shell"
- className={['composer-shell', className].filter(Boolean).join(' ')}
- >
- {attachments}
- <textarea
- className="composer-input"
- value={value}
- placeholder={placeholder}
- disabled={disabled}
- rows={2}
- aria-label="Message input"
- onChange={event => {
- onValueChange(event.target.value);
- }}
- onKeyDown={event => {
- if (event.key === 'Enter' && !event.shiftKey) {
- event.preventDefault();
- onSubmit();
- }
- }}
- />
- <div className="composer-toolbar">
- <div className="composer-toolbar-left">
- <button
- type="button"
- className="icon-btn"
- aria-label="Open connectors and skills"
- aria-expanded={panelOpen}
- aria-controls={panelId}
- disabled={disabled}
- data-open={panelOpen || undefined}
- onClick={() => {
- if (panelOpen && panelTab === 'connectors') {
- setPanelOpen(false);
- } else {
- openPanel('connectors');
- }
- }}
- >
- <PlusIcon />
- </button>
-
- <ComposerCatalogControls mode="sandbox" disabled={disabled || isRunning} />
-
- <ComposerCatalogControls
- mode="skills-chip"
- disabled={disabled || isRunning}
- onOpenPanel={tab => {
- openPanel(tab);
- }}
- />
-
- {panelOpen ? (
- <div id={panelId} className="popover" role="dialog" aria-label="Catalog">
- <ComposerCatalogControls
- key={panelTab}
- mode="panel"
- initialTab={panelTab}
- disabled={disabled}
- isRunning={isRunning}
- onClosePanel={() => {
- setPanelOpen(false);
- }}
- {...(onAttach ? { onAttach } : {})}
- />
- </div>
- ) : null}
- </div>
-
- <div className="composer-toolbar-right">
- <ComposerCatalogControls mode="model" disabled={disabled} isRunning={isRunning} />
- {isRunning ? (
- <button
- type="button"
- className="send-btn"
- aria-label="Stop generating"
- disabled={!onCancel}
- onClick={onCancel}
- >
- <SquareIcon />
- </button>
- ) : (
- <button
- type="button"
- className="send-btn"
- aria-label="Send message"
- disabled={disabled || value.trim().length === 0}
- onClick={onSubmit}
- >
- <ArrowUpIcon />
- </button>
- )}
- </div>
- </div>
- </div>
- );
-}
diff --git a/packages/frontend/src/ThreadHeader.tsx b/packages/frontend/src/ThreadHeader.tsx
deleted file mode 100644
index 2d92e15b0..000000000
--- a/packages/frontend/src/ThreadHeader.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { useAuiState } from '@assistant-ui/react';
-import { PanelLeftIcon } from './icons';
-
-interface Props {
- sidebarCollapsed: boolean;
- onExpandSidebar: () => void;
-}
-
-/** Thin top bar matching the product chat header (title only — no branding). */
-export function ThreadHeader({ sidebarCollapsed, onExpandSidebar }: Props) {
- const mainThreadId = useAuiState(state => state.threads.mainThreadId);
- const threadItems = useAuiState(state => state.threads.threadItems);
- // A thread started locally keeps its local id as mainThreadId, while the
- // reloaded backend list carries the title under the remote id. Follow the
- // remoteId link so the header picks up the backend-generated title.
- const mainItem = threadItems.find(item => item.id === mainThreadId);
- const listItem = threadItems.find(item => item.id === mainItem?.remoteId);
- const rawTitle = (listItem?.title ?? mainItem?.title)?.trim();
- const title = rawTitle && rawTitle.length > 0 ? rawTitle : 'New Chat';
-
- return (
- <header className="app-thread-header">
- {sidebarCollapsed ? (
- <button type="button" className="icon-btn" aria-label="Expand sidebar" onClick={onExpandSidebar}>
- <PanelLeftIcon />
- </button>
- ) : null}
- <strong>{title}</strong>
- </header>
- );
-}
diff --git a/packages/frontend/src/ThreadSidebar.tsx b/packages/frontend/src/ThreadSidebar.tsx
deleted file mode 100644
index 3a28f1f30..000000000
--- a/packages/frontend/src/ThreadSidebar.tsx
+++ /dev/null
@@ -1,111 +0,0 @@
-import { useAui, useAuiState } from '@assistant-ui/react';
-import { useEffect, useRef, useState } from 'react';
-import { ChevronDownIcon, PencilSquareIcon } from './icons';
-
-function relativeTime(date: Date | undefined, nowMs: number): string | null {
- if (!date) return null;
- const diffMs = nowMs - date.getTime();
- if (diffMs < 60_000) return 'now';
- const mins = Math.floor(diffMs / 60_000);
- if (mins < 60) return `${String(mins)}m`;
- const hours = Math.floor(mins / 60);
- if (hours < 24) return `${String(hours)}h`;
- const days = Math.floor(hours / 24);
- if (days < 7) return `${String(days)}d`;
- return date.toLocaleDateString(undefined, { month: 'short', day: 'numeric' });
-}
-
-/**
- * Chat history sidebar. Owns the thread list directly (instead of the SDK's
- * ThreadListContainer) so rows can show last-activity time, which the SDK
- * row slot does not receive. Selection-only — no archive/delete.
- */
-export function ThreadSidebar() {
- const aui = useAui();
- const isLoading = useAuiState(state => state.threads.isLoading);
- const isLoadingMore = useAuiState(state => state.threads.isLoadingMore);
- const hasMore = useAuiState(state => state.threads.hasMore);
- const threadIds = useAuiState(state => state.threads.threadIds);
- const threadItems = useAuiState(state => state.threads.threadItems);
- const mainThreadId = useAuiState(state => state.threads.mainThreadId);
- const sentinelRef = useRef<HTMLDivElement>(null);
-
- // Keep relative times fresh ("now" -> "1m" -> ...).
- const [nowMs, setNowMs] = useState(() => Date.now());
- useEffect(() => {
- const id = setInterval(() => {
- setNowMs(Date.now());
- }, 30_000);
- return () => {
- clearInterval(id);
- };
- }, []);
-
- useEffect(() => {
- const node = sentinelRef.current;
- if (!node || !hasMore) return;
- const observer = new IntersectionObserver(entries => {
- if (entries.some(entry => entry.isIntersecting) && !isLoadingMore) {
- void aui.threads().loadMore();
- }
- });
- observer.observe(node);
- return () => {
- observer.disconnect();
- };
- }, [aui, hasMore, isLoadingMore]);
-
- const itemsById = new Map(threadItems.map(item => [item.id, item]));
- // Rows are keyed by remote id after a list reload, but a locally started
- // thread keeps a local mainThreadId; compare against its remoteId too.
- const mainRemoteId = itemsById.get(mainThreadId)?.remoteId;
-
- return (
- <div className="sidebar-shell">
- <div className="sidebar-nav">
- <button
- type="button"
- className="sidebar-new-chat"
- onClick={() => {
- aui.threads().switchToNewThread();
- }}
- >
- <PencilSquareIcon />
- New Chat
- </button>
- </div>
- <div className="sidebar-history-label">
- <span>
- Chat History
- <ChevronDownIcon />
- </span>
- </div>
- <div className="sidebar-history-list">
- {!isLoading && threadIds.length === 0 ? <div className="sidebar-empty">No chats yet.</div> : null}
- {threadIds.map(id => {
- const item = itemsById.get(id);
- const title = item?.title ?? 'New Chat';
- const time = relativeTime(item?.lastMessageAt, nowMs);
- const isActive = id === mainThreadId || id === mainRemoteId;
- return (
- <button
- key={id}
- type="button"
- className="sidebar-row"
- data-active={isActive || undefined}
- aria-current={isActive ? 'page' : undefined}
- title={title}
- onClick={() => {
- aui.threads().switchToThread(id);
- }}
- >
- <span className="sidebar-row-title">{title}</span>
- {time ? <span className="sidebar-row-time">{time}</span> : null}
- </button>
- );
- })}
- {hasMore ? <div ref={sentinelRef} aria-hidden /> : null}
- </div>
- </div>
- );
-}
diff --git a/packages/frontend/src/agentUiSlots.ts b/packages/frontend/src/agentUiSlots.ts
new file mode 100644
index 000000000..9631603f4
--- /dev/null
+++ b/packages/frontend/src/agentUiSlots.ts
@@ -0,0 +1,13 @@
+/**
+ * The SDK augments AtomSlots via an internal `../theme/SlotsProvider.js` path
+ * that does not merge for package consumers. Re-declare the slots we override.
+ */
+import type { WelcomeScreen } from '@truefoundry/agent-ui-sdk';
+
+declare module '@truefoundry/agent-ui-sdk' {
+ interface AtomSlots {
+ WelcomeScreen: typeof WelcomeScreen;
+ }
+}
+
+export {};
diff --git a/packages/frontend/src/apiErrors.ts b/packages/frontend/src/apiErrors.ts
index 5507cf1b4..9b448e34c 100644
--- a/packages/frontend/src/apiErrors.ts
+++ b/packages/frontend/src/apiErrors.ts
@@ -1,7 +1,7 @@
/**
* Global fetch interceptor + subscribable store for API errors.
*
- * Both catalog.ts and the truefoundry-gateway-sdk clients resolve the global
+ * Both catalog.ts and the Harness SDK client resolve the global
* `fetch` at request time, so patching it once at startup captures every API
* failure (HTTP >= 400 and network errors) along with the response body.
*/
diff --git a/packages/frontend/src/capabilities.tsx b/packages/frontend/src/capabilities.tsx
deleted file mode 100644
index 4337c18c3..000000000
--- a/packages/frontend/src/capabilities.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { createContext, use, type ReactNode } from 'react';
-import type { ServerCapabilities } from './catalog';
-
-const ServerCapabilitiesContext = createContext<ServerCapabilities | null>(null);
-
-export function ServerCapabilitiesProvider({
- capabilities,
- children,
-}: {
- capabilities: ServerCapabilities;
- children: ReactNode;
-}) {
- return <ServerCapabilitiesContext value={capabilities}>{children}</ServerCapabilitiesContext>;
-}
-
-export function useServerCapabilities(): ServerCapabilities {
- const capabilities = use(ServerCapabilitiesContext);
- if (!capabilities) {
- throw new Error('useServerCapabilities must be used within ServerCapabilitiesProvider');
- }
- return capabilities;
-}
diff --git a/packages/frontend/src/catalog.ts b/packages/frontend/src/catalog.ts
index e57d562d1..2ba671eb1 100644
--- a/packages/frontend/src/catalog.ts
+++ b/packages/frontend/src/catalog.ts
@@ -1,69 +1,25 @@
-/** Harness catalog list responses (unauthenticated). */
+/** DB-backed catalog list helpers for the composer pickers and boot. */
+import type { TrueHarness as Harness } from 'trueharness';
+import { TrueHarnessClient } from 'trueharness';
-export interface ModelEntry {
- name: string;
- max_output_tokens?: number;
- reasoning_efforts?: string[];
-}
-
-/** Mirrors `McpServerAuthSettingsSchema` in packages/server/src/store/schemas.ts. */
-export interface McpServerAuthSettings {
- type: 'dcr';
-}
-
-export interface McpServerEntry {
- name: string;
- url: string;
- /** Absent = today's static-header behavior (no OAuth). */
- auth?: McpServerAuthSettings;
-}
-
-export interface SkillEntry {
- name: string;
- url: string;
- path?: string;
- ref?: string;
- description: string;
-}
-
-export interface ServerCapabilities {
- sandbox: {
- enabled: boolean;
- };
-}
-
-interface ListEnvelope<T> {
- data: T[];
-}
-
-interface DataEnvelope<T> {
- data: T;
-}
-
-async function fetchJson<T>(path: string): Promise<T> {
- const response = await fetch(path);
- if (!response.ok) {
- throw new Error(`${path} failed: ${String(response.status)} ${response.statusText}`);
- }
- return (await response.json()) as T;
-}
+const client = new TrueHarnessClient({ environment: '/' });
-export async function listModels(): Promise<ModelEntry[]> {
- const body = await fetchJson<ListEnvelope<ModelEntry>>('/api/v1/legacy/models');
+export async function listModels(): Promise<Harness.Model[]> {
+ const body = await client.models.list();
return body.data;
}
-export async function listMcpServers(): Promise<McpServerEntry[]> {
- const body = await fetchJson<ListEnvelope<McpServerEntry>>('/api/v1/legacy/mcp-servers');
+export async function listMcpServers(): Promise<Harness.McpServerReadEntry[]> {
+ const body = await client.mcpServers.list();
return body.data;
}
-export async function listSkills(): Promise<SkillEntry[]> {
- const body = await fetchJson<ListEnvelope<SkillEntry>>('/api/v1/legacy/skills');
+export async function listSkills(): Promise<Harness.SkillReadEntry[]> {
+ const body = await client.skills.list();
return body.data;
}
-export async function getCapabilities(): Promise<ServerCapabilities> {
- const body = await fetchJson<DataEnvelope<ServerCapabilities>>('/api/v1/legacy/capabilities');
+export async function getCapabilities(): Promise<Harness.GetCapabilitiesResponseData> {
+ const body = await client.server.getCapabilities();
return body.data;
}
diff --git a/packages/frontend/src/connectorCatalog.ts b/packages/frontend/src/connectorCatalog.ts
new file mode 100644
index 000000000..58e818b69
--- /dev/null
+++ b/packages/frontend/src/connectorCatalog.ts
@@ -0,0 +1,214 @@
+/**
+ * Maps agent-ui-sdk connector-settings calls onto Harness
+ * `/api/v1/settings/mcp-servers` (name-keyed upsert, authorize; no delete/disconnect).
+ *
+ * UI: `oauth` / `apiKey` / `none`, connector `id`.
+ * Harness: `dcr` / `header` / omitted auth, resource `name`.
+ */
+import type {
+ ConnectorAuth,
+ ConnectorAuthPublic,
+ ConnectorBase,
+ ConnectorCatalogEntry,
+ ConnectorCatalogServer,
+ CreateConnectorRequest,
+ ToolBase,
+ UpdateConnectorRequest,
+} from '@truefoundry/agent-ui-sdk';
+import type { TrueHarness as Harness } from 'trueharness';
+import { TrueHarnessClient } from 'trueharness';
+
+export type UiConnectorAuth = ConnectorAuth<'none' | 'oauth' | 'apiKey'>;
+export type UiConnectorAuthPublic = ConnectorAuthPublic<'none' | 'oauth' | 'apiKey'>;
+export type UiConnector = ConnectorBase<ToolBase, UiConnectorAuthPublic>;
+export type UiConnectorCatalogEntry = ConnectorCatalogEntry<UiConnectorAuthPublic>;
+
+const DEFAULT_API_KEY_HEADER = 'Authorization';
+
+const client = new TrueHarnessClient({ environment: '/' });
+
+export function toUiAuthPublic(auth: Harness.ConfiguredMcpServerAuth | undefined): UiConnectorAuthPublic {
+ if (auth === undefined) {
+ return { type: 'none' };
+ }
+ if (auth.type === 'dcr') {
+ return { type: 'oauth' };
+ }
+ const headerName = Object.keys(auth.headers)[0];
+ return {
+ type: 'apiKey',
+ ...(headerName === undefined ? {} : { headerName }),
+ };
+}
+
+export function toHarnessAuth(auth: ConnectorAuth): Harness.ConfiguredMcpServerAuth | undefined {
+ if (auth.type === 'none') {
+ return undefined;
+ }
+ if (auth.type === 'oauth') {
+ return { type: 'dcr' };
+ }
+ if (auth.type === 'apiKey') {
+ const apiKey = auth.apiKey?.trim();
+ if (apiKey === undefined || apiKey === '') {
+ throw new Error('API key is required for header-authenticated MCP servers');
+ }
+ const trimmedHeader = auth.headerName?.trim();
+ const headerName = trimmedHeader !== undefined && trimmedHeader !== '' ? trimmedHeader : DEFAULT_API_KEY_HEADER;
+ return { type: 'header', headers: { [headerName]: apiKey } };
+ }
+ throw new Error(`Unsupported connector auth type: ${auth.type}`);
+}
+
+export function toUiCatalogEntry(server: Harness.CatalogMcpServer): UiConnectorCatalogEntry {
+ return {
+ id: server.name,
+ name: server.name,
+ url: server.url,
+ auth: toUiAuthPublic(server.auth),
+ };
+}
+
+export function toUiTool(tool: Record<string, unknown>): ToolBase {
+ const name = typeof tool.name === 'string' && tool.name !== '' ? tool.name : 'tool';
+ return { id: name, name };
+}
+
+export function toUiConnector(server: Harness.ConfiguredMcpServer, tools: ToolBase[]): UiConnector {
+ return {
+ id: server.name,
+ name: server.name,
+ description: server.url,
+ url: server.url,
+ auth: toUiAuthPublic(server.auth),
+ authenticated: server.authStatus.status === 'authenticated',
+ tools,
+ };
+}
+
+export interface HarnessMcpUpsert {
+ name: string;
+ url: string;
+ auth?: Harness.ConfiguredMcpServerAuth;
+}
+
+export function toHarnessManifest(req: { name: string; url: string; auth: ConnectorAuth }): HarnessMcpUpsert {
+ const auth = toHarnessAuth(req.auth);
+ return {
+ name: req.name,
+ url: req.url,
+ ...(auth === undefined ? {} : { auth }),
+ };
+}
+
+async function listToolsSafe(name: string): Promise<ToolBase[]> {
+ try {
+ const body = await client.settings.mcpServers.listTools(name);
+ return body.data.map(toUiTool);
+ } catch {
+ return [];
+ }
+}
+
+async function getConfigured(name: string): Promise<Harness.ConfiguredMcpServer> {
+ const listed = await client.settings.mcpServers.list();
+ const existing = listed.data.find(server => server.name === name);
+ if (existing === undefined) {
+ throw new Error(`MCP server "${name}" not found`);
+ }
+ return existing;
+}
+
+async function toUiConnectorWithTools(server: Harness.ConfiguredMcpServer): Promise<UiConnector> {
+ const tools = await listToolsSafe(server.name);
+ return toUiConnector(server, tools);
+}
+
+async function resolveWriteAuth(req: { id?: string; auth: ConnectorAuth }): Promise<ConnectorAuth> {
+ if (req.auth.type !== 'apiKey') {
+ return req.auth;
+ }
+ const apiKey = req.auth.apiKey?.trim();
+ if (apiKey !== undefined && apiKey !== '') {
+ return req.auth;
+ }
+ if (req.id === undefined) {
+ throw new Error('API key is required for header-authenticated MCP servers');
+ }
+ const existing = await getConfigured(req.id);
+ if (existing.auth?.type !== 'header') {
+ throw new Error(`MCP server "${req.id}" has no stored header credentials to reuse`);
+ }
+ const preferredHeader = req.auth.headerName?.trim();
+ const storedHeaderName = Object.keys(existing.auth.headers)[0];
+ const headerName =
+ preferredHeader !== undefined && preferredHeader !== ''
+ ? preferredHeader
+ : (storedHeaderName ?? DEFAULT_API_KEY_HEADER);
+ const stored = existing.auth.headers[headerName] ?? Object.values(existing.auth.headers)[0];
+ if (stored === undefined) {
+ throw new Error(`MCP server "${req.id}" has no stored header credentials to reuse`);
+ }
+ return { type: 'apiKey', apiKey: stored, headerName };
+}
+
+function openAuthorizationUrl(url: string): void {
+ if (typeof globalThis.open === 'function') {
+ globalThis.open(url, '_blank', 'noopener,noreferrer');
+ }
+}
+
+/** Settings connector port for `createTrueFoundryServer`. Delete omitted; disconnect unsupported. */
+export function createConnectorCatalog(): ConnectorCatalogServer<
+ ToolBase,
+ UiConnectorAuth,
+ UiConnectorAuthPublic,
+ UiConnector,
+ UiConnectorCatalogEntry,
+ CreateConnectorRequest<UiConnectorAuth>,
+ UpdateConnectorRequest<UiConnectorAuth>
+> {
+ return {
+ getConnectorCatalog: async () => {
+ const body = await client.settings.mcpServers.catalog();
+ return body.data.map(toUiCatalogEntry);
+ },
+ listConnectors: async req => {
+ const body = await client.settings.mcpServers.list();
+ const connectors = await Promise.all(body.data.map(server => toUiConnectorWithTools(server)));
+ const query = req?.query?.trim().toLowerCase();
+ if (query === undefined || query === '') {
+ return connectors;
+ }
+ return connectors.filter(
+ connector =>
+ connector.name.toLowerCase().includes(query) ||
+ connector.description.toLowerCase().includes(query) ||
+ connector.url.toLowerCase().includes(query),
+ );
+ },
+ createConnector: async req => {
+ const auth = await resolveWriteAuth({ auth: req.auth });
+ const body = await client.settings.mcpServers.upsert(toHarnessManifest({ name: req.name, url: req.url, auth }));
+ return toUiConnectorWithTools(body.data);
+ },
+ updateConnector: async req => {
+ const auth = await resolveWriteAuth({ id: req.id, auth: req.auth });
+ const body = await client.settings.mcpServers.upsert(toHarnessManifest({ name: req.id, url: req.url, auth }));
+ return toUiConnectorWithTools(body.data);
+ },
+ authenticateConnector: async req => {
+ const redirectUrl = `${globalThis.location.origin}${globalThis.location.pathname}`;
+ const result = await client.settings.mcpServers.authorize(req.id, { redirectUrl });
+ if (result.status === 'auth_required') {
+ if (result.authorizationUrl === undefined) {
+ throw new Error(`Authorization URL missing for MCP server "${req.id}"`);
+ }
+ openAuthorizationUrl(result.authorizationUrl);
+ }
+ const server = await getConfigured(req.id);
+ return toUiConnectorWithTools(server);
+ },
+ disconnectConnector: () => Promise.reject(new Error('Disconnect is not supported by Harness yet')),
+ };
+}
diff --git a/packages/frontend/src/gatewaySdkStubs.ts b/packages/frontend/src/gatewaySdkStubs.ts
new file mode 100644
index 000000000..2489a8aed
--- /dev/null
+++ b/packages/frontend/src/gatewaySdkStubs.ts
@@ -0,0 +1,14 @@
+/**
+ * Optional peer of @truefoundry/assistant-ui-runtime. The runtime main entry
+ * re-exports the gateway adapter; Harness does not use it. Stub so Vite can
+ * tree-shake the adapter without resolving truefoundry-gateway-sdk.
+ */
+function gatewaySdkMissing(): never {
+ throw new Error('truefoundry-gateway-sdk is not installed in this app');
+}
+
+export const AgentSessionClient = gatewaySdkMissing;
+export const PrivateAgentSessionClient = gatewaySdkMissing;
+export const TruefoundryGatewayApi = gatewaySdkMissing;
+
+export default TruefoundryGatewayApi;
diff --git a/packages/frontend/src/harnessFetch.ts b/packages/frontend/src/harnessFetch.ts
deleted file mode 100644
index 594aa0d91..000000000
--- a/packages/frontend/src/harnessFetch.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * The gateway SDK targets /v1/agents with draft sessions as a separate resource; the harness
- * YAML-backed surface is /api/v1/legacy/sessions. Handed to the SDK clients as their `fetch`,
- * this is the only place that knows.
- */
-
-const SESSION_PATH = /^(https?:\/\/[^/]+)?\/v1\/agents\/(?:draft-)?sessions(?=$|[/?])/;
-
-export function toHarnessUrl(url: string): string {
- return url.replace(SESSION_PATH, '$1/api/v1/legacy/sessions');
-}
-
-export const harnessFetch: typeof fetch = (input, init) => {
- if (typeof input === 'string' || input instanceof URL) return globalThis.fetch(toHarnessUrl(String(input)), init);
- const url = toHarnessUrl(input.url);
- // Rebuilding a Request that carries a body requires `duplex`, so only do it when the path changed.
- return url === input.url ? globalThis.fetch(input, init) : globalThis.fetch(new Request(url, input), init);
-};
diff --git a/packages/frontend/src/harnessServer.ts b/packages/frontend/src/harnessServer.ts
new file mode 100644
index 000000000..9deba26a3
--- /dev/null
+++ b/packages/frontend/src/harnessServer.ts
@@ -0,0 +1,276 @@
+/**
+ * Harness `AgentUIServer` adapter for @truefoundry/agent-ui-sdk.
+ *
+ * The SDK still declares the pre-0.1.6 server contract — mounts carry `id`,
+ * list results are `PageResult`, and absent values are `undefined` — while the
+ * runtime it delegates to reads `nextPageToken` and tolerates `null`. Harness
+ * matches neither exactly: it keys mounts by name and returns `null`. The maps
+ * below produce values valid under both contracts at once.
+ *
+ * Skills are name refs on the wire (`SkillNameRef`); the UI SkillMount only
+ * needs `{ id, name }`, so id is derived as the skill name.
+ */
+import type {
+ AgentChatServer,
+ AgentSpec,
+ McpServerMount,
+ PageResult,
+ Session,
+ SessionEvent,
+ SessionEventItem,
+ SkillMount,
+ TokenPagination,
+ Turn,
+ TurnInputItem,
+ UserMessageContent,
+} from '@truefoundry/agent-ui-sdk';
+import type { TrueHarness as Harness } from 'trueharness';
+import { TrueHarnessClient } from 'trueharness';
+
+export type HarnessSkillMount = SkillMount;
+export type HarnessMcpServerMount = McpServerMount & Harness.McpServer;
+
+export interface HarnessAgentSpec extends AgentSpec<Harness.AgentSpecModel, HarnessSkillMount, HarnessMcpServerMount> {
+ config?: Harness.RuntimeConfig;
+ instructions?: string;
+ messages?: Harness.AgentSpecUserMessage[];
+ responseFormat?: Harness.ResponseFormat;
+ variables?: Record<string, string>;
+}
+
+export interface HarnessSession extends Session<HarnessAgentSpec> {
+ agentSpec: HarnessAgentSpec;
+ isMutable: true;
+}
+
+export interface CreateHarnessServerOptions {
+ baseUrl?: string;
+ fetch?: typeof fetch;
+}
+
+/** Mount ids are derived, not stored: Harness returns MCP servers keyed by name. */
+function toUiMcpServer(server: Harness.McpServer): HarnessMcpServerMount {
+ return { ...server, id: server.name };
+}
+
+/** Skill ids are derived from the name ref Harness persists. */
+function toUiSkill(skill: Harness.SkillNameRef): HarnessSkillMount {
+ return { id: skill.name, name: skill.name };
+}
+
+/** Strip UI-only `id` before admission; Harness skills are name refs only. */
+function toHarnessAgentSpec(spec: HarnessAgentSpec): Harness.AgentSpec {
+ const { skills, mcpServers, ...rest } = spec;
+ return {
+ ...rest,
+ ...(mcpServers === undefined
+ ? {}
+ : {
+ mcpServers: mcpServers.map(server => {
+ const { id, ...mount } = server;
+ void id;
+ return mount;
+ }),
+ }),
+ ...(skills === undefined ? {} : { skills: skills.map(({ name }) => ({ name })) }),
+ };
+}
+
+function toUiAgentSpec(spec: Harness.AgentSpec): HarnessAgentSpec {
+ const { mcpServers, skills, ...rest } = spec;
+ return {
+ ...rest,
+ ...(mcpServers ? { mcpServers: mcpServers.map(toUiMcpServer) } : {}),
+ ...(skills ? { skills: skills.map(toUiSkill) } : {}),
+ };
+}
+
+function toUiSession(session: Harness.Session): HarnessSession {
+ const { title, agentSpec, ...rest } = session;
+ return {
+ ...rest,
+ agentSpec: toUiAgentSpec(agentSpec),
+ isMutable: true,
+ ...(title === null ? {} : { title }),
+ };
+}
+
+/** Spread drops the interface identity, which is what makes the SDK's index-signature part type accept it. */
+function toUiContent(content: Harness.UserMessageContent): UserMessageContent {
+ return typeof content === 'string' ? content : content.map(part => ({ ...part }));
+}
+
+function toUiInput(input: Harness.TurnInputItem[]): TurnInputItem[] {
+ return input.map(item => (item.type === 'user.message' ? { ...item, content: toUiContent(item.content) } : item));
+}
+
+function toUiTurn(turn: Harness.Turn): Turn {
+ const { previousTurnId, input, ...rest } = turn;
+ return {
+ ...rest,
+ ...(previousTurnId === null ? {} : { previousTurnId }),
+ ...(input === undefined ? {} : { input: toUiInput(input) }),
+ };
+}
+
+function toUiEvent(event: Harness.SessionEvent | Harness.TurnStreamingEvent): SessionEvent {
+ return { ...event };
+}
+
+function toUiEventItem(item: Harness.SessionEventItem): SessionEventItem {
+ return { turnId: item.turnId, event: toUiEvent(item.event) };
+}
+
+interface HarnessPageSource<T> {
+ data: T[];
+ response: { pagination: Harness.TokenPagination };
+ getNextPage(): Promise<HarnessPageSource<T>>;
+}
+
+/** Carries `nextPageToken` for the runtime alongside the `PageResult` shape the SDK types demand. */
+type HarnessPage<T> = PageResult<T, { data: T[]; pagination: TokenPagination }> & { nextPageToken?: string };
+
+function toPage<TSource, TResult>(
+ page: HarnessPageSource<TSource>,
+ map: (item: TSource) => TResult,
+): HarnessPage<TResult> {
+ const data = page.data.map(map);
+ const { pagination } = page.response;
+ return {
+ data,
+ response: { data, pagination },
+ hasNextPage: () => pagination.nextPageToken !== undefined,
+ getNextPage: async () => toPage(await page.getNextPage(), map),
+ ...(pagination.nextPageToken === undefined ? {} : { nextPageToken: pagination.nextPageToken }),
+ };
+}
+
+function sequenceNumber(id: string | undefined, fallback: number): number {
+ if (id === undefined) return fallback;
+ const parsed = Number(id);
+ return Number.isSafeInteger(parsed) && parsed >= 0 ? parsed : fallback;
+}
+
+function toHarnessContent(content: UserMessageContent): Harness.UserMessageContent {
+ if (typeof content === 'string') return content;
+ return content.map(part => {
+ if (part.type === 'text') return part;
+ const { name, data } = part;
+ if (typeof name !== 'string' || typeof data !== 'string') {
+ throw new Error('File attachment must carry a string `name` and a data-URI `data`');
+ }
+ return { type: 'file', name, data };
+ });
+}
+
+function toHarnessInput(input: TurnInputItem[]): Harness.TurnInputItem[] {
+ return input.map(item =>
+ item.type === 'user.message' ? { ...item, content: toHarnessContent(item.content) } : item,
+ );
+}
+
+/**
+ * The runtime marks a chain root with the gateway's `"none"` sentinel; Harness
+ * spells that `null` and would otherwise look `"none"` up as a turn id (404).
+ */
+function toHarnessPreviousTurnId(previousTurnId: string): Harness.PreviousTurnIdInput | null {
+ return previousTurnId === 'none' ? null : previousTurnId;
+}
+
+export function createHarnessChatServer(options: CreateHarnessServerOptions = {}): AgentChatServer<HarnessAgentSpec> {
+ const client = new TrueHarnessClient({
+ environment: options.baseUrl ?? '/',
+ ...(options.fetch ? { fetch: options.fetch } : {}),
+ });
+
+ return {
+ async createSession(request) {
+ if (!request.agentSpec) {
+ throw new Error('Harness sessions require an agentSpec');
+ }
+ const created = await client.sessions.create({ agentSpec: toHarnessAgentSpec(request.agentSpec) });
+ return toUiSession(created.data);
+ },
+
+ async listSessions(request = {}) {
+ const page = await client.sessions.list({
+ ...(request.limit === undefined ? {} : { limit: request.limit }),
+ ...(request.order === undefined ? {} : { order: request.order }),
+ ...(request.pageToken === undefined ? {} : { pageToken: request.pageToken }),
+ });
+ return toPage(page, toUiSession);
+ },
+
+ async getSession({ sessionId }) {
+ const response = await client.sessions.get(sessionId);
+ return toUiSession(response.data);
+ },
+
+ async updateSession({ sessionId, agentSpec }) {
+ const response = await client.sessions.update(sessionId, {
+ ...(agentSpec === undefined ? {} : { agentSpec: toHarnessAgentSpec(agentSpec) }),
+ });
+ return toUiSession(response.data);
+ },
+
+ async *prepareAndExecuteTurn({
+ sessionId,
+ input,
+ previousTurnId,
+ abortSignal,
+ headers,
+ }: {
+ sessionId: string;
+ input?: TurnInputItem[];
+ previousTurnId?: string;
+ abortSignal?: AbortSignal;
+ headers?: Record<string, string>;
+ }) {
+ const stream = await client.sessions.createTurn(
+ sessionId,
+ {
+ ...(input === undefined ? {} : { input: toHarnessInput(input) }),
+ ...(previousTurnId === undefined ? {} : { previousTurnId: toHarnessPreviousTurnId(previousTurnId) }),
+ },
+ {
+ ...(abortSignal === undefined ? {} : { abortSignal }),
+ ...(headers === undefined ? {} : { headers }),
+ },
+ );
+ let fallbackSequence = 0;
+ for await (const item of stream.withMetadata()) {
+ yield {
+ sequenceNumber: sequenceNumber(item.id, fallbackSequence),
+ event: toUiEvent(item.data),
+ };
+ fallbackSequence += 1;
+ }
+ },
+
+ async cancelSession({ sessionId }) {
+ await client.sessions.cancel(sessionId);
+ },
+
+ async listTurns({ sessionId, limit, pageToken }) {
+ const page = await client.sessions.listTurns(sessionId, {
+ ...(limit === undefined ? {} : { limit }),
+ ...(pageToken === undefined ? {} : { pageToken }),
+ });
+ return toPage(page, toUiTurn);
+ },
+
+ async getTurn({ sessionId, turnId }) {
+ const response = await client.sessions.getTurn(sessionId, turnId);
+ return toUiTurn(response.data);
+ },
+
+ async listEvents({ sessionId, pageToken, lastTurnId, limit }) {
+ const page = await client.sessions.listEvents(sessionId, {
+ ...(pageToken === undefined ? {} : { pageToken }),
+ ...(lastTurnId === undefined ? {} : { lastTurnId }),
+ ...(limit === undefined ? {} : { limit }),
+ });
+ return toPage(page, toUiEventItem);
+ },
+ };
+}
diff --git a/packages/frontend/src/icons.tsx b/packages/frontend/src/icons.tsx
deleted file mode 100644
index 05b2caab9..000000000
--- a/packages/frontend/src/icons.tsx
+++ /dev/null
@@ -1,82 +0,0 @@
-import type { SVGProps } from 'react';
-
-type IconProps = SVGProps<SVGSVGElement>;
-
-export function PencilSquareIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75" aria-hidden {...props}>
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- d="M16.862 4.487a2.1 2.1 0 1 1 2.97 2.97L8.832 18.457a4.2 4.2 0 0 1-1.771 1.054l-3.182.795a.42.42 0 0 1-.51-.51l.795-3.182a4.2 4.2 0 0 1 1.054-1.771L16.862 4.487Z"
- />
- <path strokeLinecap="round" strokeLinejoin="round" d="M15.75 5.6 18.4 8.25" />
- </svg>
- );
-}
-
-export function PlusIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75" aria-hidden {...props}>
- <path strokeLinecap="round" strokeLinejoin="round" d="M12 5v14M5 12h14" />
- </svg>
- );
-}
-
-export function PanelLeftIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75" aria-hidden {...props}>
- <rect x="3.5" y="4.5" width="17" height="15" rx="2.5" strokeLinejoin="round" />
- <path strokeLinecap="round" d="M9.5 4.5v15" />
- </svg>
- );
-}
-
-export function ChevronDownIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75" aria-hidden {...props}>
- <path strokeLinecap="round" strokeLinejoin="round" d="m6 9 6 6 6-6" />
- </svg>
- );
-}
-
-export function SparklesIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75" aria-hidden {...props}>
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- d="M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09Z"
- />
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- d="M18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456Z"
- />
- </svg>
- );
-}
-
-export function ArrowUpIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden {...props}>
- <path strokeLinecap="round" strokeLinejoin="round" d="M12 19V5m0 0-6 6m6-6 6 6" />
- </svg>
- );
-}
-
-export function SquareIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="currentColor" aria-hidden {...props}>
- <rect x="6" y="6" width="12" height="12" rx="1.5" />
- </svg>
- );
-}
-
-export function SearchIcon(props: IconProps) {
- return (
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.75" aria-hidden {...props}>
- <path strokeLinecap="round" strokeLinejoin="round" d="m21 21-4.35-4.35M11 18a7 7 0 1 1 0-14 7 7 0 0 1 0 14Z" />
- </svg>
- );
-}
diff --git a/packages/frontend/src/index.css b/packages/frontend/src/index.css
index 88622af97..d4423c1eb 100644
--- a/packages/frontend/src/index.css
+++ b/packages/frontend/src/index.css
@@ -1,744 +1,44 @@
-*,
-*::before,
-*::after {
- box-sizing: border-box;
-}
+/* The SDK ships utilities and theme tokens but no reset. Preflight goes in its
+ own layer: unlayered it would outrank `tfy-agent-ui-utilities` and strip the
+ SDK's own margin, padding and border. */
+@import 'tailwindcss/preflight.css' layer(preflight);
+@import '@truefoundry/agent-ui-sdk/styles.css';
html,
body,
#root {
height: 100%;
- margin: 0;
}
-:root,
-.dark {
+/* Tokens for the chrome outside the SDK shell — boot screen and API error card.
+ The SDK sets its own on `.aui-theme-root`, which wins for everything inside. */
+:root {
color-scheme: dark;
- --app-font: 'Inter', sans-serif;
--background: #161618;
--foreground: #ececee;
--card: #1c1c1f;
- --card-foreground: #ececee;
- --popover: #1c1c1f;
- --popover-foreground: #ececee;
- --primary: #7c5cfa;
- --primary-foreground: #fafafa;
- --secondary: #202023;
--secondary-foreground: #d7d7db;
- --muted: #1c1c1f;
--muted-foreground: #9b9ba3;
--accent: #232327;
- --accent-foreground: #fafafa;
--destructive: #f87171;
- --destructive-foreground: #450a0a;
--border: rgba(255, 255, 255, 0.08);
- --input: rgba(255, 255, 255, 0.08);
- --ring: #7c5cfa;
- --radius: 0.75rem;
- --sidebar: #0f0f11;
- --composer-bg: #1d1d20;
- --composer-radius: 1rem;
- --composer-padding: 12px 14px;
--thread-max-width: 42rem;
}
-/* One face for app shell + SDK atoms (override Tailwind font utilities). */
-html,
-body,
-#root,
-button,
-input,
-textarea,
-select,
-.font-sans-flex,
-[class*='aui-'],
-[data-slot] {
- font-family: var(--app-font);
-}
-
body {
color: var(--foreground);
background: var(--background);
- font-size: 14px;
- font-weight: 400;
- line-height: 1.5;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
}
-button,
-select,
-input,
-textarea {
- font: inherit;
- color: inherit;
-}
-
-.app-shell {
- display: flex;
+/* Positioning context for the API error card, which overlays the SDK shell. */
+.app-root {
+ position: relative;
height: 100dvh;
width: 100%;
- overflow: hidden;
- background: var(--background);
-}
-
-.app-sidebar {
- width: 252px;
- flex-shrink: 0;
- display: flex;
- flex-direction: column;
- background: var(--sidebar);
- border-right: 1px solid var(--border);
-}
-
-.sidebar-top {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0.6rem 0.6rem 0 1rem;
-}
-
-.sidebar-brand {
- color: var(--foreground);
- font-size: 0.95rem;
- font-weight: 700;
- letter-spacing: -0.01em;
-}
-
-.app-main {
- position: relative;
- flex: 1;
- min-width: 0;
- display: flex;
- flex-direction: column;
- background: var(--background);
-}
-
-.app-thread-header {
- height: 46px;
- flex-shrink: 0;
- display: flex;
- align-items: center;
- gap: 0.5rem;
- padding: 0 1rem;
- border-bottom: 1px solid var(--border);
- color: var(--muted-foreground);
- font-size: 0.8125rem;
-}
-
-.app-thread-header strong {
- color: var(--foreground);
- font-weight: 600;
-}
-
-.app-thread-body {
- flex: 1;
- min-height: 0;
}
-/* Empty state: center the welcome heading and composer together, like the product. */
-.aui-thread-root:has(.welcome-screen) {
- justify-content: center;
-}
-
-.aui-thread-root:has(.welcome-screen) [data-slot='aui_thread-viewport'] {
- flex: 0 0 auto;
-}
-
-.aui-thread-root:has(.welcome-screen) [data-slot='aui_thread-viewport'] > div {
- min-height: 0;
- padding-bottom: 0;
-}
-
-.aui-thread-root:has(.welcome-screen) [data-slot='aui_thread-composer'] {
- padding-bottom: 4.5rem;
-}
-
-/* Sidebar atoms */
-.sidebar-shell {
- display: flex;
- flex-direction: column;
+.app-assistant {
height: 100%;
- min-height: 0;
- padding: 0.5rem 0.6rem 0.75rem;
- gap: 0.9rem;
-}
-
-.sidebar-nav {
- display: flex;
- flex-direction: column;
- gap: 0.25rem;
-}
-
-.sidebar-new-chat {
- display: inline-flex;
- align-items: center;
- gap: 0.6rem;
- width: 100%;
- border: 0;
- background: var(--accent);
- color: var(--foreground);
- border-radius: 0.5rem;
- padding: 0.5rem 0.65rem;
- font-size: 0.8125rem;
- font-weight: 500;
- cursor: pointer;
- text-align: left;
- transition: background 140ms ease;
-}
-
-.sidebar-new-chat:hover {
- background: color-mix(in srgb, var(--accent) 80%, #fff 6%);
-}
-
-.sidebar-new-chat svg {
- width: 0.9rem;
- height: 0.9rem;
- opacity: 0.9;
-}
-
-.sidebar-history-label {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 0.35rem;
- color: var(--muted-foreground);
- font-size: 0.75rem;
- font-weight: 500;
-}
-
-.sidebar-history-label span {
- display: inline-flex;
- align-items: center;
- gap: 0.3rem;
-}
-
-.sidebar-history-label svg {
- width: 0.7rem;
- height: 0.7rem;
- opacity: 0.8;
-}
-
-.sidebar-history-list {
- flex: 1;
- min-height: 0;
- overflow: auto;
- display: flex;
- flex-direction: column;
- gap: 0.2rem;
- padding-bottom: 0.5rem;
- scrollbar-width: thin;
- scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
-}
-
-.sidebar-empty {
- color: var(--muted-foreground);
- font-size: 0.78rem;
- text-align: center;
- padding: 0.8rem 0.75rem;
-}
-
-.sidebar-row {
- position: relative;
- display: flex;
- align-items: center;
- gap: 0.5rem;
- width: 100%;
- border: 0;
- background: transparent;
- color: var(--secondary-foreground);
- border-radius: 0.5rem;
- padding: 0.5rem 0.65rem;
- cursor: pointer;
- text-align: left;
- font-size: 0.8125rem;
- line-height: 1.35;
- transition:
- background 140ms ease,
- color 140ms ease;
-}
-
-.sidebar-row:hover {
- background: color-mix(in srgb, var(--accent) 65%, transparent);
- color: var(--foreground);
-}
-
-.sidebar-row[data-active='true'] {
- background: var(--accent);
- color: var(--foreground);
- font-weight: 500;
-}
-
-.sidebar-row[data-active='true']::before {
- content: '';
- position: absolute;
- inset-block: 0.45rem;
- inset-inline-start: 0;
- width: 2px;
- border-radius: 999px;
- background: color-mix(in srgb, var(--foreground) 55%, transparent);
-}
-
-.sidebar-row:focus-visible {
- outline: 2px solid color-mix(in srgb, var(--ring) 65%, transparent);
- outline-offset: -2px;
-}
-
-.sidebar-row-title {
- flex: 1;
- min-width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.sidebar-row-time {
- flex-shrink: 0;
- color: var(--muted-foreground);
- font-size: 0.68rem;
- font-weight: 400;
-}
-
-/* Welcome */
-.welcome-screen {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0 1rem 1.6rem;
-}
-
-.welcome-screen h1 {
- margin: 0;
- font-size: 1.45rem;
- font-weight: 600;
- letter-spacing: -0.02em;
- color: #fff;
-}
-
-/* Composer */
-.composer-shell {
- display: flex;
- flex-direction: column;
- gap: 0.6rem;
- width: 100%;
- margin: 0 auto;
- border: 1px solid var(--border);
- background: var(--composer-bg);
- border-radius: var(--composer-radius);
- padding: var(--composer-padding);
- box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
-}
-
-.composer-shell:focus-within {
- border-color: rgba(255, 255, 255, 0.14);
-}
-
-.composer-input {
- width: 100%;
- min-height: 3.4rem;
- max-height: 10rem;
- resize: none;
- border: 0;
- outline: none;
- background: transparent;
- color: var(--foreground);
- font-size: 0.9rem;
- line-height: 1.5;
- padding: 0.3rem 0.2rem 0;
-}
-
-.composer-input::placeholder {
- color: color-mix(in srgb, var(--muted-foreground) 80%, transparent);
-}
-
-.composer-toolbar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 0.5rem;
-}
-
-.composer-toolbar-left,
-.composer-toolbar-right {
- display: flex;
- align-items: center;
- gap: 0.4rem;
- position: relative;
-}
-
-.model-controls {
- display: inline-flex;
- align-items: center;
- gap: 0.25rem;
-}
-
-.reasoning-chip {
- text-transform: capitalize;
-}
-
-.reasoning-popover {
- width: min(10rem, calc(100vw - 2rem));
- text-transform: capitalize;
-}
-
-.icon-btn,
-.chip-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 0.35rem;
- border: 1px solid transparent;
- background: transparent;
- color: var(--muted-foreground);
- border-radius: 0.5rem;
- cursor: pointer;
- transition:
- background 140ms ease,
- color 140ms ease,
- border-color 140ms ease;
-}
-
-.icon-btn {
- width: 1.85rem;
- height: 1.85rem;
-}
-
-.icon-btn svg {
- width: 1rem;
- height: 1rem;
-}
-
-.icon-btn:hover,
-.chip-btn:hover,
-.chip-btn[data-open='true'] {
- background: var(--accent);
- color: var(--foreground);
-}
-
-.chip-btn {
- height: 1.85rem;
- padding: 0 0.6rem;
- font-size: 0.8125rem;
- font-weight: 500;
- max-width: 14rem;
-}
-
-.chip-btn-outline {
- border-color: var(--border);
- color: var(--secondary-foreground);
-}
-
-.chip-btn:disabled,
-.chip-btn[data-disabled='true'] {
- opacity: 0.42;
- cursor: not-allowed;
-}
-
-.chip-btn[data-disabled='true']:hover {
- background: transparent;
- color: var(--secondary-foreground);
-}
-
-.chip-btn[data-active='true'] .sandbox-status {
- background: #34d399;
-}
-
-.sandbox-status {
- width: 0.44rem;
- height: 0.44rem;
- flex-shrink: 0;
- border-radius: 999px;
- background: color-mix(in srgb, var(--muted-foreground) 60%, transparent);
-}
-
-.chip-doc-icon {
- width: 0.8rem;
- height: 0.8rem;
- border: 1.5px solid currentColor;
- border-radius: 0.15rem;
- opacity: 0.85;
- position: relative;
-}
-
-.chip-doc-icon::after {
- content: '';
- position: absolute;
- left: 2px;
- right: 2px;
- top: 3px;
- height: 1px;
- background: currentColor;
- box-shadow:
- 0 3px 0 currentColor,
- 0 6px 0 currentColor;
-}
-
-.chip-btn span {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.chip-btn svg {
- width: 0.8rem;
- height: 0.8rem;
- flex-shrink: 0;
- opacity: 0.75;
-}
-
-.send-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 1.9rem;
- height: 1.9rem;
- border: 0;
- border-radius: 0.5rem;
- background: var(--primary);
- color: white;
- cursor: pointer;
- transition:
- opacity 140ms ease,
- background 140ms ease;
-}
-
-.send-btn:disabled {
- opacity: 0.4;
- cursor: not-allowed;
-}
-
-.send-btn:not(:disabled):hover {
- background: color-mix(in srgb, var(--primary) 88%, #fff 12%);
-}
-
-.send-btn svg {
- width: 0.9rem;
- height: 0.9rem;
-}
-
-/* Popovers */
-.popover {
- position: absolute;
- bottom: calc(100% + 0.55rem);
- left: 0;
- z-index: 40;
- width: min(26rem, calc(100vw - 2rem));
- border: 1px solid var(--border);
- border-radius: 0.8rem;
- background: var(--popover);
- box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
- overflow: hidden;
-}
-
-.popover-right {
- left: auto;
- right: 0;
- width: min(18rem, calc(100vw - 2rem));
-}
-
-.popover-tabs {
- display: flex;
- gap: 0.25rem;
- padding: 0.55rem 0.75rem 0;
- border-bottom: 1px solid var(--border);
-}
-
-.popover-tab {
- border: 0;
- background: transparent;
- color: var(--muted-foreground);
- padding: 0.55rem 0.65rem;
- font-size: 0.8rem;
- font-weight: 600;
- cursor: pointer;
- border-bottom: 2px solid transparent;
- margin-bottom: -1px;
-}
-
-.popover-tab[data-active='true'] {
- color: var(--foreground);
- border-bottom-color: var(--foreground);
-}
-
-.popover-tab:disabled {
- opacity: 0.45;
- cursor: not-allowed;
-}
-
-.popover-body {
- padding: 0.75rem;
- display: flex;
- flex-direction: column;
- gap: 0.65rem;
- max-height: 22rem;
-}
-
-.popover-capability-note {
- border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
- border-radius: 0.55rem;
- padding: 0.5rem 0.65rem;
- color: var(--muted-foreground);
- background: color-mix(in srgb, var(--muted) 80%, transparent);
- font-size: 0.78rem;
-}
-
-.popover-search {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- border: 1px solid var(--border);
- background: rgba(0, 0, 0, 0.25);
- border-radius: 0.6rem;
- padding: 0.5rem 0.7rem;
- color: var(--muted-foreground);
-}
-
-.popover-search input {
- border: 0;
- outline: none;
- background: transparent;
- width: 100%;
- color: var(--foreground);
-}
-
-.popover-meta {
- display: flex;
- align-items: center;
- justify-content: space-between;
- color: var(--muted-foreground);
- font-size: 0.72rem;
- font-weight: 600;
- letter-spacing: 0.04em;
-}
-
-.popover-meta label {
- display: inline-flex;
- align-items: center;
- gap: 0.4rem;
- text-transform: none;
- letter-spacing: 0;
- font-weight: 500;
- cursor: pointer;
-}
-
-.popover-list {
- display: flex;
- flex-direction: column;
- gap: 0.15rem;
- overflow: auto;
- min-height: 8rem;
-}
-
-.popover-row {
- display: grid;
- grid-template-columns: 1.75rem 1fr auto;
- gap: 0.65rem;
- align-items: center;
- padding: 0.55rem 0.45rem;
- border-radius: 0.55rem;
-}
-
-.popover-row:hover {
- background: var(--accent);
-}
-
-.popover-row[data-disabled='true'] {
- opacity: 0.45;
- cursor: not-allowed;
-}
-
-.popover-row[data-disabled='true']:hover {
- background: transparent;
-}
-
-.popover-avatar {
- width: 1.75rem;
- height: 1.75rem;
- border-radius: 0.45rem;
- background: #2a2a2f;
- display: grid;
- place-items: center;
- font-size: 0.75rem;
- font-weight: 700;
- color: #d4d4d8;
-}
-
-.popover-avatar-doc {
- border: 1.5px solid #71717a;
- background: transparent;
- position: relative;
-}
-
-.popover-avatar-doc::before,
-.popover-avatar-doc::after {
- content: '';
- position: absolute;
- left: 5px;
- right: 5px;
- height: 1px;
- background: #71717a;
-}
-
-.popover-avatar-doc::before {
- top: 7px;
-}
-
-.popover-avatar-doc::after {
- top: 11px;
- box-shadow: 0 4px 0 #71717a;
-}
-
-.popover-row-text {
- min-width: 0;
-}
-
-.popover-row-text strong {
- display: block;
- font-size: 0.85rem;
- font-weight: 600;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.popover-row-text span {
- display: block;
- font-size: 0.75rem;
- color: var(--muted-foreground);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.popover-list-empty,
-.popover-hint {
- color: var(--muted-foreground);
- font-size: 0.85rem;
- padding: 1rem 0.25rem;
-}
-
-.model-menu {
- display: flex;
- flex-direction: column;
- max-height: 16rem;
- overflow: auto;
- padding: 0.35rem;
-}
-
-.model-menu button {
- border: 0;
- background: transparent;
- color: var(--foreground);
- text-align: left;
- padding: 0.55rem 0.65rem;
- border-radius: 0.5rem;
- cursor: pointer;
- font-size: 0.85rem;
-}
-
-.model-menu button:hover,
-.model-menu button[data-active='true'] {
- background: var(--accent);
}
/* API error card: anchored to the bottom of the chat column (or boot screen),
diff --git a/packages/frontend/src/main.tsx b/packages/frontend/src/main.tsx
index f3086fda4..4dcb178a9 100644
--- a/packages/frontend/src/main.tsx
+++ b/packages/frontend/src/main.tsx
@@ -1,4 +1,3 @@
-import '@truefoundry/agent-ui-sdk/styles.css';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { installApiErrorInterceptor } from './apiErrors';
diff --git a/packages/frontend/src/modelProviderCatalog.ts b/packages/frontend/src/modelProviderCatalog.ts
new file mode 100644
index 000000000..7d6ab718f
--- /dev/null
+++ b/packages/frontend/src/modelProviderCatalog.ts
@@ -0,0 +1,184 @@
+/**
+ * Maps agent-ui-sdk model-settings calls onto Harness
+ * `/api/v1/settings/model-providers` (name-keyed upsert, no delete).
+ *
+ * UI: flat `apiKey` / model `id`. Harness: `auth.apiKey` / `modelId`.
+ * Provider `id` in the UI is the Harness resource `name`.
+ */
+import type {
+ CreateModelProviderRequest,
+ ModelCatalogServer,
+ ModelEntry,
+ ModelProviderBase,
+ ModelProviderCatalogEntry,
+ UpdateModelProviderRequest,
+} from '@truefoundry/agent-ui-sdk';
+import type { TrueHarness as Harness } from 'trueharness';
+import { TrueHarnessClient } from 'trueharness';
+
+/** Custom-form rows omit properties; catalog rows round-trip them. */
+export type UiModelEntry = ModelEntry & {
+ properties?: Harness.ModelProperties;
+};
+
+export type UiModelProvider = ModelProviderBase<UiModelEntry>;
+export type UiModelProviderCatalogEntry = ModelProviderCatalogEntry<UiModelEntry>;
+
+const DEFAULT_MODEL_PROPERTIES: Harness.ModelProperties = {
+ contextLength: 128_000,
+ maxOutputTokens: 16_384,
+};
+
+const client = new TrueHarnessClient({ environment: '/' });
+
+export function toUiModelEntry(model: Harness.ModelEntry): UiModelEntry {
+ return {
+ id: model.modelId,
+ name: model.name,
+ properties: model.properties,
+ };
+}
+
+export function toHarnessModelEntry(model: UiModelEntry): Harness.ModelEntry {
+ return {
+ modelId: model.id,
+ name: model.name,
+ properties: model.properties ?? DEFAULT_MODEL_PROPERTIES,
+ };
+}
+
+export function toUiModelProvider(provider: Harness.ModelProvider): UiModelProvider {
+ return {
+ id: provider.name,
+ type: provider.type,
+ name: provider.name,
+ ...(provider.baseUrl === undefined ? {} : { baseUrl: provider.baseUrl }),
+ models: provider.models.map(toUiModelEntry),
+ };
+}
+
+export function toUiCatalogEntry(provider: Harness.CatalogProvider): UiModelProviderCatalogEntry {
+ return {
+ type: provider.type,
+ name: provider.name,
+ models: provider.models.map(toUiModelEntry),
+ };
+}
+
+export function toHarnessModelProvider(req: {
+ type: string;
+ name: string;
+ apiKey: string;
+ baseUrl?: string;
+ models: UiModelEntry[];
+}): Harness.ModelProvider {
+ const models = req.models.map(toHarnessModelEntry);
+ const auth = { apiKey: req.apiKey };
+ if (req.type === 'openai') {
+ return {
+ type: 'openai',
+ name: req.name,
+ auth,
+ models,
+ ...(req.baseUrl === undefined ? {} : { baseUrl: req.baseUrl }),
+ };
+ }
+ if (req.type === 'anthropic') {
+ return {
+ type: 'anthropic',
+ name: req.name,
+ auth,
+ models,
+ ...(req.baseUrl === undefined ? {} : { baseUrl: req.baseUrl }),
+ };
+ }
+ if (req.type === 'custom') {
+ if (req.baseUrl === undefined || req.baseUrl.trim() === '') {
+ throw new Error('Custom model providers require a base URL');
+ }
+ return {
+ type: 'custom',
+ name: req.name,
+ auth,
+ models,
+ baseUrl: req.baseUrl,
+ };
+ }
+ throw new Error(`Unsupported model provider type: ${req.type}`);
+}
+
+async function resolveApiKey(req: { id?: string; apiKey: string }): Promise<string> {
+ const trimmed = req.apiKey.trim();
+ if (trimmed !== '') {
+ return trimmed;
+ }
+ if (req.id === undefined) {
+ throw new Error('API key is required');
+ }
+ const listed = await client.settings.modelProviders.list();
+ const existing = listed.data.find(provider => provider.name === req.id);
+ if (existing === undefined) {
+ throw new Error(`Model provider "${req.id}" not found`);
+ }
+ return existing.auth.apiKey;
+}
+
+async function upsertFromUi(req: {
+ type: string;
+ name: string;
+ apiKey: string;
+ baseUrl?: string;
+ models: UiModelEntry[];
+}): Promise<UiModelProvider> {
+ const body = await client.settings.modelProviders.upsert(
+ toHarnessModelProvider({
+ type: req.type,
+ name: req.name,
+ apiKey: req.apiKey,
+ ...(req.baseUrl === undefined ? {} : { baseUrl: req.baseUrl }),
+ models: req.models,
+ }),
+ );
+ return toUiModelProvider(body.data);
+}
+
+/** Settings model-catalog port for `createTrueFoundryServer`. Delete is omitted (no BE route). */
+export function createModelProviderCatalog(): ModelCatalogServer<
+ UiModelEntry,
+ UiModelProvider,
+ UiModelProviderCatalogEntry,
+ CreateModelProviderRequest<UiModelEntry>,
+ UpdateModelProviderRequest<UiModelEntry>
+> {
+ return {
+ getModelProviderCatalog: async () => {
+ const body = await client.settings.modelProviders.catalog();
+ return body.data.map(toUiCatalogEntry);
+ },
+ listModelProviders: async () => {
+ const body = await client.settings.modelProviders.list();
+ return body.data.map(toUiModelProvider);
+ },
+ createModelProvider: async req => {
+ const apiKey = await resolveApiKey({ apiKey: req.apiKey });
+ return upsertFromUi({
+ type: req.type,
+ name: req.name,
+ apiKey,
+ ...(req.baseUrl === undefined ? {} : { baseUrl: req.baseUrl }),
+ models: req.models,
+ });
+ },
+ updateModelProvider: async req => {
+ // UI sends apiKey: "" when only models change; reuse the stored key.
+ const apiKey = await resolveApiKey({ id: req.id, apiKey: req.apiKey });
+ return upsertFromUi({
+ type: req.type,
+ name: req.id,
+ apiKey,
+ ...(req.baseUrl === undefined ? {} : { baseUrl: req.baseUrl }),
+ models: req.models,
+ });
+ },
+ };
+}
diff --git a/packages/frontend/src/skillMounts.ts b/packages/frontend/src/skillMounts.ts
deleted file mode 100644
index e1b4f8b77..000000000
--- a/packages/frontend/src/skillMounts.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Maps skills.yaml catalog rows to git mounts persisted on agent_spec.skills.
- * Always sends `ref` (catalog `ref`, or HEAD when omitted). The sandbox
- * git_downloader resolves branch/tag refs via git ls-remote before sparse-clone.
- */
-import type { AgentSpec } from '@truefoundry/assistant-ui-runtime';
-import type { SkillEntry } from './catalog';
-
-/** Default git ref when skills.yaml omits `ref` (tracks the remote default branch). */
-export const DEFAULT_SKILL_REF = 'HEAD';
-
-export type GitSkillMount = Extract<NonNullable<AgentSpec['skills']>[number], { type: 'git' }>;
-
-function isGitSkillMount(skill: NonNullable<AgentSpec['skills']>[number]): skill is GitSkillMount {
- return skill.type === 'git';
-}
-
-export function toGitSkillMount(entry: SkillEntry): GitSkillMount {
- const mount: GitSkillMount = {
- type: 'git',
- url: entry.url,
- name: entry.name,
- description: entry.description,
- ref: entry.ref ?? DEFAULT_SKILL_REF,
- };
- if (entry.path !== undefined) {
- mount.path = entry.path;
- }
- return mount;
-}
-
-export function skillMountsFromNames(names: ReadonlySet<string>, catalog: readonly SkillEntry[]): GitSkillMount[] {
- const byName = new Map(catalog.map(entry => [entry.name, entry]));
- const mounts: GitSkillMount[] = [];
- for (const name of names) {
- const entry = byName.get(name);
- if (entry) mounts.push(toGitSkillMount(entry));
- }
- return mounts;
-}
-
-export function selectedSkillNamesFromSpec(skills: AgentSpec['skills']): ReadonlySet<string> {
- return new Set((skills ?? []).filter(isGitSkillMount).map(skill => skill.name));
-}
diff --git a/packages/frontend/src/slots.tsx b/packages/frontend/src/slots.tsx
deleted file mode 100644
index 5df89e9eb..000000000
--- a/packages/frontend/src/slots.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { WelcomeScreenProps } from '@truefoundry/agent-ui-sdk';
-
-export function AppWelcomeScreen({ heading = 'How can I help you today?', className }: WelcomeScreenProps) {
- return (
- <div className={['welcome-screen', className].filter(Boolean).join(' ')}>
- <h1>{heading}</h1>
- </div>
- );
-}
diff --git a/packages/frontend/tests/apiErrors.test.ts b/packages/frontend/tests/apiErrors.test.ts
index 4c9f153d1..031a97b9d 100644
--- a/packages/frontend/tests/apiErrors.test.ts
+++ b/packages/frontend/tests/apiErrors.test.ts
@@ -37,7 +37,7 @@ describe('api error interceptor', () => {
stubbedResponse = () => {
throw new Error('connection refused');
};
- await assert.rejects(fetch('/api/v1/legacy/skills'), /connection refused/);
+ await assert.rejects(fetch('/api/v1/skills'), /connection refused/);
const [record] = getApiErrorsSnapshot();
assert.ok(record);
diff --git a/packages/frontend/tests/connectorCatalog.test.ts b/packages/frontend/tests/connectorCatalog.test.ts
new file mode 100644
index 000000000..c23c7e46c
--- /dev/null
+++ b/packages/frontend/tests/connectorCatalog.test.ts
@@ -0,0 +1,107 @@
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
+import {
+ toHarnessAuth,
+ toHarnessManifest,
+ toUiAuthPublic,
+ toUiCatalogEntry,
+ toUiConnector,
+ toUiTool,
+} from '../src/connectorCatalog';
+
+describe('connectorCatalog mappers', () => {
+ it('maps harness auth to UI public auth without secrets', () => {
+ assert.deepEqual(toUiAuthPublic(undefined), { type: 'none' });
+ assert.deepEqual(toUiAuthPublic({ type: 'dcr' }), { type: 'oauth' });
+ assert.deepEqual(toUiAuthPublic({ type: 'header', headers: { Authorization: 'Bearer secret' } }), {
+ type: 'apiKey',
+ headerName: 'Authorization',
+ });
+ });
+
+ it('maps UI write auth onto harness dcr/header/omit', () => {
+ assert.equal(toHarnessAuth({ type: 'none' }), undefined);
+ assert.deepEqual(toHarnessAuth({ type: 'oauth' }), { type: 'dcr' });
+ assert.deepEqual(toHarnessAuth({ type: 'apiKey', apiKey: 'sk-test' }), {
+ type: 'header',
+ headers: { Authorization: 'sk-test' },
+ });
+ assert.deepEqual(toHarnessAuth({ type: 'apiKey', apiKey: 'tok', headerName: 'X-Api-Key' }), {
+ type: 'header',
+ headers: { 'X-Api-Key': 'tok' },
+ });
+ });
+
+ it('rejects apiKey auth without a key', () => {
+ assert.throws(() => toHarnessAuth({ type: 'apiKey' }), /API key is required/i);
+ });
+
+ it('maps catalog presets using name as id', () => {
+ assert.deepEqual(
+ toUiCatalogEntry({
+ type: 'remote',
+ name: 'linear',
+ url: 'https://mcp.linear.app/mcp',
+ auth: { type: 'dcr' },
+ }),
+ {
+ id: 'linear',
+ name: 'linear',
+ url: 'https://mcp.linear.app/mcp',
+ auth: { type: 'oauth' },
+ },
+ );
+ });
+
+ it('maps configured servers and tools for the settings list card', () => {
+ assert.deepEqual(
+ toUiConnector(
+ {
+ type: 'remote',
+ name: 'deepwiki',
+ url: 'https://mcp.deepwiki.com/mcp',
+ authStatus: { status: 'authenticated' },
+ },
+ [toUiTool({ name: 'search' }), toUiTool({})],
+ ),
+ {
+ id: 'deepwiki',
+ name: 'deepwiki',
+ description: 'https://mcp.deepwiki.com/mcp',
+ url: 'https://mcp.deepwiki.com/mcp',
+ auth: { type: 'none' },
+ authenticated: true,
+ tools: [
+ { id: 'search', name: 'search' },
+ { id: 'tool', name: 'tool' },
+ ],
+ },
+ );
+ });
+
+ it('builds upsert manifests from UI create/update requests', () => {
+ assert.deepEqual(
+ toHarnessManifest({
+ name: 'linear',
+ url: 'https://mcp.linear.app/mcp',
+ auth: { type: 'oauth' },
+ }),
+ {
+ name: 'linear',
+ url: 'https://mcp.linear.app/mcp',
+ auth: { type: 'dcr' },
+ },
+ );
+ assert.deepEqual(
+ toHarnessManifest({
+ name: 'custom-mcp',
+ url: 'https://example.com/mcp',
+ auth: { type: 'none' },
+ }),
+ {
+ name: 'custom-mcp',
+ url: 'https://example.com/mcp',
+ },
+ );
+ });
+});
diff --git a/packages/frontend/tests/harnessFetch.test.ts b/packages/frontend/tests/harnessFetch.test.ts
deleted file mode 100644
index d2e4b090d..000000000
--- a/packages/frontend/tests/harnessFetch.test.ts
+++ /dev/null
@@ -1,78 +0,0 @@
-import assert from 'node:assert/strict';
-import { describe, it } from 'node:test';
-import { harnessFetch, toHarnessUrl } from '../src/harnessFetch';
-
-describe('toHarnessUrl', () => {
- it('maps both session prefixes onto /api/v1/legacy/sessions', () => {
- assert.equal(toHarnessUrl('/v1/agents/draft-sessions'), '/api/v1/legacy/sessions');
- assert.equal(toHarnessUrl('/v1/agents/sessions'), '/api/v1/legacy/sessions');
- assert.equal(toHarnessUrl('/v1/agents/sessions/ses_1/turns'), '/api/v1/legacy/sessions/ses_1/turns');
- assert.equal(toHarnessUrl('/v1/agents/draft-sessions?limit=10'), '/api/v1/legacy/sessions?limit=10');
- });
-
- it('preserves the origin of absolute urls', () => {
- assert.equal(
- toHarnessUrl('http://localhost:8790/v1/agents/sessions/ses_1'),
- 'http://localhost:8790/api/v1/legacy/sessions/ses_1',
- );
- });
-
- it('leaves other paths untouched', () => {
- assert.equal(toHarnessUrl('/api/v1/models'), '/api/v1/models');
- assert.equal(toHarnessUrl('/api/v1/legacy/sessions/ses_1'), '/api/v1/legacy/sessions/ses_1');
- // A longer segment only shares the prefix; it is a different route.
- assert.equal(toHarnessUrl('/v1/agents/sessions-archive'), '/v1/agents/sessions-archive');
- // Only the path is matched, so a prefix inside the query means nothing.
- assert.equal(
- toHarnessUrl('/api/v1/legacy/sessions?next=/v1/agents/sessions'),
- '/api/v1/legacy/sessions?next=/v1/agents/sessions',
- );
- });
-});
-
-describe('harnessFetch', () => {
- it('rewrites string, URL and Request inputs through the global fetch', async () => {
- const seen: string[] = [];
- const originalFetch = globalThis.fetch;
- globalThis.fetch = (input: RequestInfo | URL) => {
- seen.push(input instanceof Request ? input.url : String(input));
- return Promise.resolve(new Response('ok'));
- };
-
- try {
- await harnessFetch('/v1/agents/sessions');
- await harnessFetch(new URL('http://localhost:8790/v1/agents/draft-sessions'));
- await harnessFetch(new Request('http://localhost:8790/v1/agents/sessions/ses_1'));
- } finally {
- globalThis.fetch = originalFetch;
- }
-
- assert.deepEqual(seen, [
- '/api/v1/legacy/sessions',
- 'http://localhost:8790/api/v1/legacy/sessions',
- 'http://localhost:8790/api/v1/legacy/sessions/ses_1',
- ]);
- });
-
- it('passes a bodied Request through untouched when the path needs no rewrite', async () => {
- const originalFetch = globalThis.fetch;
- let forwarded: Request | undefined;
- globalThis.fetch = (input: RequestInfo | URL) => {
- if (input instanceof Request) forwarded = input;
- return Promise.resolve(new Response('ok'));
- };
-
- const request = new Request('http://localhost:8790/api/v1/legacy/sessions', {
- method: 'POST',
- body: '{"a":1}',
- });
- try {
- await harnessFetch(request);
- } finally {
- globalThis.fetch = originalFetch;
- }
-
- assert.equal(forwarded, request);
- assert.equal(await request.text(), '{"a":1}');
- });
-});
diff --git a/packages/frontend/tests/harnessServer.test.ts b/packages/frontend/tests/harnessServer.test.ts
new file mode 100644
index 000000000..8a993efb7
--- /dev/null
+++ b/packages/frontend/tests/harnessServer.test.ts
@@ -0,0 +1,118 @@
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
+import { createHarnessChatServer, type HarnessAgentSpec } from '../src/harnessServer';
+
+const session = {
+ id: 'ses_1',
+ agent_spec: {
+ model: { name: 'test/model' },
+ mcp_servers: [{ name: 'github', enable_tools: ['@all'] }],
+ skills: [{ name: 'review' }],
+ },
+ title: null,
+ created_at: '2026-08-03T00:00:00.000Z',
+ updated_at: '2026-08-03T00:00:00.000Z',
+};
+
+const turnRequests: unknown[] = [];
+const sessionRequests: unknown[] = [];
+
+const fetchMock: typeof fetch = async (input, init) => {
+ const url = input instanceof Request ? input.url : String(input);
+ const method = init?.method ?? 'GET';
+ if (url.endsWith('/api/v1/sessions/ses_1/turns') && typeof init?.body === 'string') {
+ const body: unknown = JSON.parse(init.body);
+ turnRequests.push(body);
+ }
+ if (url.endsWith('/api/v1/sessions') && method === 'POST') {
+ if (typeof init?.body === 'string') {
+ sessionRequests.push(JSON.parse(init.body));
+ }
+ return Response.json({ data: session });
+ }
+ if (url.includes('/api/v1/sessions?') || url.endsWith('/api/v1/sessions')) {
+ return Response.json({ data: [session], pagination: { limit: 20, next_page_token: 'tok_2' } });
+ }
+ if (url.endsWith('/api/v1/sessions/ses_1/turns')) {
+ return new Response(
+ 'id: 7\ndata: {"type":"model.message.delta","id":"evt_1","thread_id":"main","content":"hello"}\n\n',
+ { headers: { 'content-type': 'text/event-stream' } },
+ );
+ }
+ return new Response(`Unexpected request: ${method} ${url}`, { status: 500 });
+};
+
+describe('createHarnessChatServer', () => {
+ it('derives mount ids Harness does not store', async () => {
+ const server = createHarnessChatServer({ fetch: fetchMock });
+ const spec: HarnessAgentSpec = { model: { name: 'test/model' } };
+
+ const created = await server.createSession({ agentSpec: spec });
+
+ assert.equal(created.isMutable, true);
+ assert.equal(created.title, undefined);
+ assert.deepEqual(created.agentSpec?.mcpServers?.[0]?.id, 'github');
+ assert.deepEqual(created.agentSpec?.skills?.[0], { id: 'review', name: 'review' });
+ });
+
+ it('sends skill name refs and strips UI-only mount ids before admission', async () => {
+ const server = createHarnessChatServer({ fetch: fetchMock });
+
+ await server.createSession({
+ agentSpec: {
+ model: { name: 'test/model' },
+ // The picker round-trips a mount as `{ id, name }`.
+ skills: [{ id: 'review', name: 'review' }],
+ mcpServers: [{ id: 'github', name: 'github', enableTools: ['@all'] }],
+ },
+ });
+
+ const sent = sessionRequests.at(-1);
+ assert.ok(sent !== null && typeof sent === 'object' && 'agent_spec' in sent);
+ assert.deepEqual(sent.agent_spec, {
+ model: { name: 'test/model' },
+ mcp_servers: [{ name: 'github', enable_tools: ['@all'] }],
+ skills: [{ name: 'review' }],
+ });
+ });
+
+ it('reports pages under both the SDK and runtime pagination contracts', async () => {
+ const server = createHarnessChatServer({ fetch: fetchMock });
+
+ const page = await server.listSessions({ limit: 20 });
+
+ assert.equal(page.data[0]?.id, 'ses_1');
+ assert.equal(page.hasNextPage(), true);
+ assert.equal(page.response.pagination.nextPageToken, 'tok_2');
+ });
+
+ it('preserves SSE sequence numbers and roots chains Harness-style', async () => {
+ const server = createHarnessChatServer({ fetch: fetchMock });
+
+ const events = [];
+ for await (const event of server.prepareAndExecuteTurn({
+ sessionId: 'ses_1',
+ input: [{ type: 'user.message', content: 'hello' }],
+ // The runtime's root sentinel; Harness 404s unless it becomes `null`.
+ previousTurnId: 'none',
+ })) {
+ events.push(event);
+ }
+
+ const sent = turnRequests.at(-1);
+ assert.ok(sent !== null && typeof sent === 'object' && 'previous_turn_id' in sent);
+ assert.equal(sent.previous_turn_id, null);
+
+ assert.deepEqual(events, [
+ {
+ sequenceNumber: 7,
+ event: {
+ type: 'model.message.delta',
+ id: 'evt_1',
+ threadId: 'main',
+ content: 'hello',
+ },
+ },
+ ]);
+ });
+});
diff --git a/packages/frontend/tests/modelProviderCatalog.test.ts b/packages/frontend/tests/modelProviderCatalog.test.ts
new file mode 100644
index 000000000..ceec03855
--- /dev/null
+++ b/packages/frontend/tests/modelProviderCatalog.test.ts
@@ -0,0 +1,161 @@
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
+import {
+ toHarnessModelEntry,
+ toHarnessModelProvider,
+ toUiCatalogEntry,
+ toUiModelEntry,
+ toUiModelProvider,
+} from '../src/modelProviderCatalog';
+
+describe('modelProviderCatalog mappers', () => {
+ it('round-trips harness model entries through the UI shape', () => {
+ const harness = {
+ modelId: 'gpt-5.6-sol',
+ name: 'gpt-5-6-sol',
+ properties: {
+ contextLength: 400000,
+ maxOutputTokens: 32768,
+ reasoningEfforts: ['low', 'medium', 'high'],
+ },
+ };
+
+ assert.deepEqual(toUiModelEntry(harness), {
+ id: 'gpt-5.6-sol',
+ name: 'gpt-5-6-sol',
+ properties: harness.properties,
+ });
+ assert.deepEqual(toHarnessModelEntry(toUiModelEntry(harness)), harness);
+ });
+
+ it('fills default properties when the UI custom form omits them', () => {
+ assert.deepEqual(toHarnessModelEntry({ id: 'llama3', name: 'llama3' }), {
+ modelId: 'llama3',
+ name: 'llama3',
+ properties: {
+ contextLength: 128_000,
+ maxOutputTokens: 16_384,
+ },
+ });
+ });
+
+ it('uses provider name as the UI id and strips auth from the list card', () => {
+ const harness = {
+ type: 'openai' as const,
+ name: 'openai',
+ auth: { apiKey: 'sk-secret' },
+ models: [
+ {
+ modelId: 'gpt-5.6-sol',
+ name: 'gpt-5-6-sol',
+ properties: { contextLength: 400000, maxOutputTokens: 32768 },
+ },
+ ],
+ };
+
+ assert.deepEqual(toUiModelProvider(harness), {
+ id: 'openai',
+ type: 'openai',
+ name: 'openai',
+ models: [
+ {
+ id: 'gpt-5.6-sol',
+ name: 'gpt-5-6-sol',
+ properties: { contextLength: 400000, maxOutputTokens: 32768 },
+ },
+ ],
+ });
+ });
+
+ it('maps catalog presets without inventing custom providers', () => {
+ assert.deepEqual(
+ toUiCatalogEntry({
+ type: 'anthropic',
+ name: 'anthropic',
+ models: [
+ {
+ modelId: 'claude-sonnet-4-6',
+ name: 'claude-sonnet-4-6',
+ properties: { contextLength: 200000, maxOutputTokens: 32768 },
+ },
+ ],
+ }),
+ {
+ type: 'anthropic',
+ name: 'anthropic',
+ models: [
+ {
+ id: 'claude-sonnet-4-6',
+ name: 'claude-sonnet-4-6',
+ properties: { contextLength: 200000, maxOutputTokens: 32768 },
+ },
+ ],
+ },
+ );
+ });
+
+ it('builds discriminated harness upsert bodies from UI create/update requests', () => {
+ assert.deepEqual(
+ toHarnessModelProvider({
+ type: 'openai',
+ name: 'openai',
+ apiKey: 'sk-test',
+ models: [
+ {
+ id: 'gpt-5.6-sol',
+ name: 'gpt-5-6-sol',
+ properties: { contextLength: 400000, maxOutputTokens: 32768 },
+ },
+ ],
+ }),
+ {
+ type: 'openai',
+ name: 'openai',
+ auth: { apiKey: 'sk-test' },
+ models: [
+ {
+ modelId: 'gpt-5.6-sol',
+ name: 'gpt-5-6-sol',
+ properties: { contextLength: 400000, maxOutputTokens: 32768 },
+ },
+ ],
+ },
+ );
+
+ assert.deepEqual(
+ toHarnessModelProvider({
+ type: 'custom',
+ name: 'local-llama',
+ apiKey: 'sk-local',
+ baseUrl: 'http://127.0.0.1:11434/v1',
+ models: [{ id: 'llama3', name: 'llama3' }],
+ }),
+ {
+ type: 'custom',
+ name: 'local-llama',
+ auth: { apiKey: 'sk-local' },
+ baseUrl: 'http://127.0.0.1:11434/v1',
+ models: [
+ {
+ modelId: 'llama3',
+ name: 'llama3',
+ properties: { contextLength: 128_000, maxOutputTokens: 16_384 },
+ },
+ ],
+ },
+ );
+ });
+
+ it('rejects custom providers without a base URL', () => {
+ assert.throws(
+ () =>
+ toHarnessModelProvider({
+ type: 'custom',
+ name: 'broken',
+ apiKey: 'sk',
+ models: [{ id: 'm', name: 'm' }],
+ }),
+ /base URL/i,
+ );
+ });
+});
diff --git a/packages/frontend/tests/skillMounts.test.ts b/packages/frontend/tests/skillMounts.test.ts
deleted file mode 100644
index a2ff27271..000000000
--- a/packages/frontend/tests/skillMounts.test.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-import assert from 'node:assert/strict';
-import { describe, it } from 'node:test';
-import type { SkillEntry } from '../src/catalog';
-import {
- DEFAULT_SKILL_REF,
- selectedSkillNamesFromSpec,
- skillMountsFromNames,
- toGitSkillMount,
-} from '../src/skillMounts';
-
-const entry: SkillEntry = {
- name: 'pr-review',
- url: 'https://github.com/acme/skills',
- path: 'skills/pr-review',
- ref: 'v1.2.0',
- description: 'Reviews pull requests',
-};
-
-describe('toGitSkillMount', () => {
- it('maps catalog fields to a git mount', () => {
- assert.deepEqual(toGitSkillMount(entry), {
- type: 'git',
- url: 'https://github.com/acme/skills',
- path: 'skills/pr-review',
- name: 'pr-review',
- description: 'Reviews pull requests',
- ref: 'v1.2.0',
- });
- });
-
- it('defaults omitted ref to HEAD', () => {
- const mount = toGitSkillMount({
- name: 'echo',
- url: 'https://github.com/acme/skills',
- description: 'Echo',
- });
- assert.equal(mount.ref, DEFAULT_SKILL_REF);
- });
-});
-
-describe('skillMountsFromNames', () => {
- it('preserves selection order of names that exist in the catalog', () => {
- const other: SkillEntry = {
- name: 'echo',
- url: 'https://github.com/acme/skills',
- description: 'Echo',
- };
- const mounts = skillMountsFromNames(new Set(['missing', 'echo', 'pr-review']), [entry, other]);
- assert.deepEqual(
- mounts.map(m => m.name),
- ['echo', 'pr-review'],
- );
- });
-});
-
-describe('selectedSkillNamesFromSpec', () => {
- it('reads names from persisted git mounts', () => {
- const names = selectedSkillNamesFromSpec([toGitSkillMount(entry)]);
- assert.deepEqual([...names], ['pr-review']);
- });
-});
diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts
index ef27ef26f..f8e201762 100644
--- a/packages/frontend/vite.config.ts
+++ b/packages/frontend/vite.config.ts
@@ -1,10 +1,15 @@
import react from '@vitejs/plugin-react';
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
import type { ProxyOptions } from 'vite';
import { defineConfig } from 'vite';
import { compression } from 'vite-plugin-compression2';
// Maintained ESM fork of vite-plugin-monaco-editor (works with Vite 6 ESM config).
import monacoEditorPlugin from 'vite-plugin-monaco-editor-esm';
+const rootDir = path.dirname(fileURLToPath(import.meta.url));
+const gatewaySdkStub = path.join(rootDir, 'src/gatewaySdkStubs.ts');
+
const SERVER = process.env.VITE_SERVER_URL ?? 'http://localhost:8790';
const PORT = Number(process.env.FRONTEND_PORT ?? 3000);
if (!Number.isInteger(PORT)) {
@@ -40,18 +45,16 @@ export default defineConfig({
],
// Single React / assistant-ui Context instance (avoids "requires an AuiProvider").
resolve: {
- dedupe: [
- 'react',
- 'react-dom',
- '@assistant-ui/core',
- '@assistant-ui/store',
- '@assistant-ui/react',
- 'tfy-web-components',
- ],
+ alias: {
+ 'truefoundry-gateway-sdk/agents/private': gatewaySdkStub,
+ 'truefoundry-gateway-sdk/agents': gatewaySdkStub,
+ 'truefoundry-gateway-sdk': gatewaySdkStub,
+ },
+ dedupe: ['react', 'react-dom', '@assistant-ui/core', '@assistant-ui/store', '@assistant-ui/react'],
},
server: {
port: PORT,
- // Plain passthrough: harnessFetch already maps SDK paths onto harness routes.
+ // The Harness SDK already targets the server's /api routes.
proxy: {
'/api': apiProxy,
},
diff --git a/packages/harness/src/agent-session/schemas/agentSpec.ts b/packages/harness/src/agent-session/schemas/agentSpec.ts
index 2a77c986e..dd7b155dc 100644
--- a/packages/harness/src/agent-session/schemas/agentSpec.ts
+++ b/packages/harness/src/agent-session/schemas/agentSpec.ts
@@ -49,7 +49,7 @@ const ModelSpecSchema = z
.refine(isModelFqn, { message: 'model.name must be a fully qualified "provider/model"' }),
params: ModelParamsSchema.optional(),
})
- .openapi('Model');
+ .openapi('AgentSpecModel');
// --- MCP servers ---
diff --git a/packages/sdk/src/api/types/AgentSpecModel.ts b/packages/sdk/src/api/types/AgentSpecModel.ts
index 629f0ec23..4a4bcaf65 100644
--- a/packages/sdk/src/api/types/AgentSpecModel.ts
+++ b/packages/sdk/src/api/types/AgentSpecModel.ts
@@ -2,6 +2,7 @@
import type * as TrueHarness from "../index.js";
-export interface AgentSpecModel extends TrueHarness.Model {
+export interface AgentSpecModel {
+ name: string;
params?: TrueHarness.ModelParams;
}
diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts
index f814cc3a5..1007b2d58 100644
--- a/packages/sdk/src/index.ts
+++ b/packages/sdk/src/index.ts
@@ -1,4 +1,5 @@
export * as TrueHarness from "./api/index.js";
+export { TrueHarness as TrueHarnessClient } from "./Client.js";
export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
export { TrueHarnessError, TrueHarnessTimeoutError } from "./errors/index.js";
export * from "./exports.js";
diff --git a/packages/sdk/src/serialization/types/AgentSpecModel.ts b/packages/sdk/src/serialization/types/AgentSpecModel.ts
index 03d80fb71..9a0866b3f 100644
--- a/packages/sdk/src/serialization/types/AgentSpecModel.ts
+++ b/packages/sdk/src/serialization/types/AgentSpecModel.ts
@@ -3,20 +3,19 @@
import type * as TrueHarness from "../../api/index.js";
import * as core from "../../core/index.js";
import type * as serializers from "../index.js";
-import { Model } from "./Model.js";
import { ModelParams } from "./ModelParams.js";
export const AgentSpecModel: core.serialization.ObjectSchema<
serializers.AgentSpecModel.Raw,
TrueHarness.AgentSpecModel
-> = core.serialization
- .object({
- params: ModelParams.optional(),
- })
- .extend(Model);
+> = core.serialization.object({
+ name: core.serialization.string(),
+ params: ModelParams.optional(),
+});
export declare namespace AgentSpecModel {
- export interface Raw extends Model.Raw {
+ export interface Raw {
+ name: string;
params?: ModelParams.Raw | null;
}
}
diff --git a/packages/server/src/apis/mcpServers.ts b/packages/server/src/apis/mcpServers.ts
index 043cd1289..192601592 100644
--- a/packages/server/src/apis/mcpServers.ts
+++ b/packages/server/src/apis/mcpServers.ts
@@ -13,6 +13,7 @@ import {
validateRedirectUris,
withTimeout,
} from '@truefoundry/utils-core/core';
+import { HTTPException } from 'hono/http-exception';
import type { Logger } from 'winston';
import type { McpCatalog } from '../catalog/McpCatalog';
import configuration from '../config';
@@ -25,8 +26,9 @@ import {
listMcpServerToolsRoute,
putMcpServerRoute,
} from '../routes/mcpServerRoutes';
+import { getMcpConnection } from '../runtime/sessionResources';
import type { ConfiguredMcpServer, McpAuthStatus, McpServerManifest } from '../schemas/mcpServer';
-import { resolveConfiguredMcpRequestHeaders, resolveMcpAuthStatus } from '../schemas/mcpServer';
+import { resolveMcpAuthStatus } from '../schemas/mcpServer';
import { TENANT_ID } from './sessions';
/** Registering a DCR OAuth client hits the MCP server's authorization server, so bound that call. */
@@ -150,15 +152,28 @@ export function createMcpServersRouter(deps: McpServersRouterDeps) {
const listToolsHandler: RouteHandler<typeof listMcpServerToolsRoute> = async c => {
const { name } = c.req.valid('param');
- const record = await deps.mcpServerStore.getServer({ tenant_id: TENANT_ID, name });
- if (!record) {
- return c.json({ error: { message: `MCP server not found: ${name}` } }, 404);
+ // Same url + header resolution as turn execution (DCR via resolveMcpAuth, header/no-auth static).
+ let connection;
+ try {
+ connection = await getMcpConnection({
+ tenant_id: TENANT_ID,
+ name,
+ store: deps.mcpServerStore,
+ tokenStore: deps.tokenStore,
+ clientName: configuration.OAUTH_CLIENT_NAME,
+ });
+ } catch (error) {
+ // getMcpConnection throws HTTPException(400) for unknown names; settings wire uses 404.
+ if (error instanceof HTTPException && error.status === 400) {
+ return c.json({ error: { message: `MCP server not found: ${name}` } }, 404);
+ }
+ throw error;
}
const remote = new RemoteMCP({
id: name,
name,
- url: record.manifest.url,
- headers: resolveConfiguredMcpRequestHeaders(record.manifest),
+ url: connection.url,
+ headers: connection.headers,
logger: deps.logger,
signal: c.req.raw.signal,
});
diff --git a/patches/[email protected] b/patches/[email protected]
deleted file mode 100644
index b7c14ddd6..000000000
--- a/patches/[email protected]
+++ /dev/null
@@ -1,138 +0,0 @@
-diff --git a/dist/cjs/api/types/TurnCreatedEvent.d.ts b/dist/cjs/api/types/TurnCreatedEvent.d.ts
---- a/dist/cjs/api/types/TurnCreatedEvent.d.ts
-+++ b/dist/cjs/api/types/TurnCreatedEvent.d.ts
-@@ -7,7 +7,7 @@
- previousTurnId?: string | null;
- input?: TrueFoundryGateway.TurnInputItem[];
- state: TrueFoundryGateway.TurnStateRunning;
-- createdBy: TrueFoundryGateway.Subject;
-+ createdBy?: TrueFoundryGateway.Subject;
- createdAt: string;
- threadId?: string | null;
- }
-diff --git a/dist/cjs/serialization/types/TurnCreatedEvent.d.ts b/dist/cjs/serialization/types/TurnCreatedEvent.d.ts
---- a/dist/cjs/serialization/types/TurnCreatedEvent.d.ts
-+++ b/dist/cjs/serialization/types/TurnCreatedEvent.d.ts
-@@ -13,7 +13,7 @@
- previous_turn_id?: (string | null | undefined) | null;
- input?: TurnInputItem.Raw[] | null;
- state: TurnStateRunning.Raw;
-- created_by: Subject.Raw;
-+ created_by?: Subject.Raw | null;
- created_at: string;
- thread_id?: (string | null | undefined) | null;
- }
-diff --git a/dist/cjs/serialization/types/TurnCreatedEvent.js b/dist/cjs/serialization/types/TurnCreatedEvent.js
---- a/dist/cjs/serialization/types/TurnCreatedEvent.js
-+++ b/dist/cjs/serialization/types/TurnCreatedEvent.js
-@@ -46,7 +46,7 @@
- previousTurnId: core.serialization.property("previous_turn_id", core.serialization.string().optionalNullable()),
- input: core.serialization.list(TurnInputItem_js_1.TurnInputItem).optional(),
- state: TurnStateRunning_js_1.TurnStateRunning,
-- createdBy: core.serialization.property("created_by", Subject_js_1.Subject),
-+ createdBy: core.serialization.property("created_by", Subject_js_1.Subject.optional()),
- createdAt: core.serialization.property("created_at", core.serialization.string()),
- threadId: core.serialization.property("thread_id", core.serialization.string().optionalNullable()),
- });
-diff --git a/dist/esm/api/types/TurnCreatedEvent.d.mts b/dist/esm/api/types/TurnCreatedEvent.d.mts
---- a/dist/esm/api/types/TurnCreatedEvent.d.mts
-+++ b/dist/esm/api/types/TurnCreatedEvent.d.mts
-@@ -7,7 +7,7 @@
- previousTurnId?: string | null;
- input?: TrueFoundryGateway.TurnInputItem[];
- state: TrueFoundryGateway.TurnStateRunning;
-- createdBy: TrueFoundryGateway.Subject;
-+ createdBy?: TrueFoundryGateway.Subject;
- createdAt: string;
- threadId?: string | null;
- }
-diff --git a/dist/esm/serialization/types/TurnCreatedEvent.d.mts b/dist/esm/serialization/types/TurnCreatedEvent.d.mts
---- a/dist/esm/serialization/types/TurnCreatedEvent.d.mts
-+++ b/dist/esm/serialization/types/TurnCreatedEvent.d.mts
-@@ -13,7 +13,7 @@
- previous_turn_id?: (string | null | undefined) | null;
- input?: TurnInputItem.Raw[] | null;
- state: TurnStateRunning.Raw;
-- created_by: Subject.Raw;
-+ created_by?: Subject.Raw | null;
- created_at: string;
- thread_id?: (string | null | undefined) | null;
- }
-diff --git a/dist/esm/serialization/types/TurnCreatedEvent.mjs b/dist/esm/serialization/types/TurnCreatedEvent.mjs
---- a/dist/esm/serialization/types/TurnCreatedEvent.mjs
-+++ b/dist/esm/serialization/types/TurnCreatedEvent.mjs
-@@ -10,7 +10,7 @@
- previousTurnId: core.serialization.property("previous_turn_id", core.serialization.string().optionalNullable()),
- input: core.serialization.list(TurnInputItem).optional(),
- state: TurnStateRunning,
-- createdBy: core.serialization.property("created_by", Subject),
-+ createdBy: core.serialization.property("created_by", Subject.optional()),
- createdAt: core.serialization.property("created_at", core.serialization.string()),
- threadId: core.serialization.property("thread_id", core.serialization.string().optionalNullable()),
- });
-diff --git a/dist/cjs/api/types/GitSourceSkillMount.d.ts b/dist/cjs/api/types/GitSourceSkillMount.d.ts
---- a/dist/cjs/api/types/GitSourceSkillMount.d.ts
-+++ b/dist/cjs/api/types/GitSourceSkillMount.d.ts
-@@ -6,6 +6,8 @@
- path?: string;
- /** Name for the skill, used as directory name in sandbox. */
- name: string;
-+ /** Concise guidance for when the agent should use the skill. */
-+ description: string;
- /** Git ref — branch name, tag, or commit SHA. */
- ref: string;
- }
-diff --git a/dist/cjs/serialization/types/GitSourceSkillMount.d.ts b/dist/cjs/serialization/types/GitSourceSkillMount.d.ts
---- a/dist/cjs/serialization/types/GitSourceSkillMount.d.ts
-+++ b/dist/cjs/serialization/types/GitSourceSkillMount.d.ts
-@@ -8,6 +8,7 @@
- url: string;
- path?: string | null;
- name: string;
-+ description: string;
- ref: string;
- }
- }
-diff --git a/dist/cjs/serialization/types/GitSourceSkillMount.js b/dist/cjs/serialization/types/GitSourceSkillMount.js
---- a/dist/cjs/serialization/types/GitSourceSkillMount.js
-+++ b/dist/cjs/serialization/types/GitSourceSkillMount.js
-@@ -41,5 +41,6 @@
- url: core.serialization.string(),
- path: core.serialization.string().optional(),
- name: core.serialization.string(),
-+ description: core.serialization.string(),
- ref: core.serialization.string(),
- });
-diff --git a/dist/esm/api/types/GitSourceSkillMount.d.mts b/dist/esm/api/types/GitSourceSkillMount.d.mts
---- a/dist/esm/api/types/GitSourceSkillMount.d.mts
-+++ b/dist/esm/api/types/GitSourceSkillMount.d.mts
-@@ -6,6 +6,8 @@
- path?: string;
- /** Name for the skill, used as directory name in sandbox. */
- name: string;
-+ /** Concise guidance for when the agent should use the skill. */
-+ description: string;
- /** Git ref — branch name, tag, or commit SHA. */
- ref: string;
- }
-diff --git a/dist/esm/serialization/types/GitSourceSkillMount.d.mts b/dist/esm/serialization/types/GitSourceSkillMount.d.mts
---- a/dist/esm/serialization/types/GitSourceSkillMount.d.mts
-+++ b/dist/esm/serialization/types/GitSourceSkillMount.d.mts
-@@ -8,6 +8,7 @@
- url: string;
- path?: string | null;
- name: string;
-+ description: string;
- ref: string;
- }
- }
-diff --git a/dist/esm/serialization/types/GitSourceSkillMount.mjs b/dist/esm/serialization/types/GitSourceSkillMount.mjs
---- a/dist/esm/serialization/types/GitSourceSkillMount.mjs
-+++ b/dist/esm/serialization/types/GitSourceSkillMount.mjs
-@@ -5,5 +5,6 @@
- url: core.serialization.string(),
- path: core.serialization.string().optional(),
- name: core.serialization.string(),
-+ description: core.serialization.string(),
- ref: core.serialization.string(),
- });
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 302b48b1b..337d24a86 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5,15 +5,10 @@ settings:
excludeLinksFromLockfile: false
overrides:
- '@assistant-ui/store': 0.2.20
- '@assistant-ui/core': 0.2.21
+ '@assistant-ui/store': 0.2.21
+ '@assistant-ui/core': 0.2.22
resolve: 1.22.11
-packageExtensionsChecksum: sha256-K9nlh0yLSTRsirW8Zz/jRCV+jKDHeXByr3Hh+Mxvsb0=
-
-patchedDependencies:
- [email protected]: 2dd458ac139d735ffb9d9fadc203e4314f0a0f0c7338c365cc0bb4b4f4c8f6b4
-
importers:
.:
@@ -49,20 +44,20 @@ importers:
packages/frontend:
dependencies:
'@assistant-ui/core':
- specifier: 0.2.21
+ specifier: 0.2.22
'@assistant-ui/react':
specifier: ^0.14.24
'@assistant-ui/store':
- specifier: 0.2.20
+ specifier: 0.2.21
'@truefoundry/agent-ui-sdk':
- specifier: 0.0.8
- version: 0.0.8(6dfffe383ee9b494dc775131178b257f)
+ specifier: ^0.1.3
+ version: 0.1.3(2258b7d3a6c75cf9484a74ef844b7ab2)
'@truefoundry/assistant-ui-runtime':
- specifier: 0.1.4
+ specifier: ^0.1.7
monaco-editor:
specifier: ^0.52.0
version: 0.52.2
@@ -72,12 +67,9 @@ importers:
react-dom:
specifier: ^19.2.4
version: 19.2.8([email protected])
- tfy-web-components:
- specifier: ^0.0.31
- version: 0.0.31(4764be86a9d6d6cfa9a2d08252009a0c)
- truefoundry-gateway-sdk:
- specifier: 0.4.0-rc.2
- version: 0.4.0-rc.2(patch_hash=2dd458ac139d735ffb9d9fadc203e4314f0a0f0c7338c365cc0bb4b4f4c8f6b4)
+ trueharness:
+ specifier: link:../sdk
+ version: link:../sdk
devDependencies:
'@types/react':
specifier: ^19.2.17
@@ -91,6 +83,9 @@ importers:
playwright-core:
specifier: ^1.61.1
version: 1.61.1
+ tailwindcss:
+ specifier: 4.3.3
+ version: 4.3.3
tsx:
specifier: ^4.16.2
version: 4.23.1
@@ -111,16 +106,16 @@ importers:
dependencies:
'@ai-sdk/anthropic':
specifier: ^4.0.25
- version: 4.0.25([email protected])
+ version: 4.0.29([email protected])
'@ai-sdk/google':
specifier: ^4.0.29
- version: 4.0.29([email protected])
+ version: 4.0.33([email protected])
'@ai-sdk/openai':
specifier: ^4.0.25
- version: 4.0.25([email protected])
+ version: 4.0.29([email protected])
'@ai-sdk/openai-compatible':
specifier: ^3.0.18
- version: 3.0.18([email protected])
+ version: 3.0.22([email protected])
'@daytona/sdk':
specifier: ^0.190.0
@@ -141,7 +136,7 @@ importers:
version: 2.10.0(@opentelemetry/[email protected])
ai:
specifier: ^7.0.44
- version: 7.0.44([email protected])
+ version: 7.0.51([email protected])
dedent:
specifier: ^1.7.2
version: 1.7.2([email protected])
@@ -273,60 +268,53 @@ importers:
packages:
- '@ag-ui/[email protected]':
- resolution: {integrity: sha512-Ccsarxb23TChONOWXDbNBqp1fIbOSMht8g7w6AsSYBTtdOwZ7h7AkjNkr3LSdVv+RbT30JMdSLtieJE0YepNPg==}
-
resolution: {integrity: sha512-11UocR7fFdMWw503bWCX2IOK15vbWfxT11Mn9xOiPBVO/UVcn57ywGrlLL4UaBlPgmUTvuzr2yYR2ElSqiN2wQ==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-cU61cAdOfgiuJngCPq61FI9pD7KB+gTQm1KQRIwvsf09gGJmliTR8UQdw9x9UWOOqvEYaeuE6NrtXUUCLOjsbQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-e5McXB9sqfGBCCPVjoxKVGuWT8LIwRI4k6a8MbZWq6J+W1hmAsWv6oK0sD8z9GIcGJ66aEJSuzMuLyg+FtL4Ew==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-YFkZhWH1ksIoSO2b0S/nAboiYBYRhkrmbC/6vOBsKZz6Y0FfBBaIjWBu3lW2n2x7cXEH776RUKGOiEzJYmu+Pw==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-poNySlk+zSe04M4v0wgJKt+mzY6Vk6abcQid58YZnFUBJYo6VwfsFUaW7oINoR1vYYB7Ne6eqY1doSxYKt0KDg==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-JpFlWrQUJ2xJY4j1NWVZlcPlK9TEPyNwy5n0blWa8mW1juqasyEdHva3yBGD9iFFJ0enChtDUr+FB6ZurRr4Sg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-xj3rhHYT3Dj8Xixjo4ZqGPqXz2GkubrikoqSN5IOyM9pEmNasSw303stcV7CeW8VS9BJX4oqbY5ohSFclDckYg==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-IKoElyW52LakNTmqiwM2yXZYTvOnA8XCzP+yUoV5Pf+pudqOL8rsXToXiuLlJapMcWpTpXH0EoWK42zNJd9Dew==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-KHohs5/BZWEw1q16sXdxr/jvG+DsoPlB5j98yQd+GFWfYIqB2qGtxnbvzpvGXLaNH9zZPUzF+qH6AiWvkjNjAQ==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-iUQSY1EfAyyA8nFAm1UyiHjVyt93i29CVo+8gjT8oxaVjqZIZOlP2Ni4pIHrQTQFrTUD//B83r9NTw0u90/6RQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-CtwkH7S0IzCKryZ+yLSuqOR0UhzzaNT1vyVlGvfiba43qQvyHUiYFS5/ayJRXiVOWJjUkSfqfKLBZ8LI+SqqgQ==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-LWDrmYWkZoAJwMbToUglpR6AmgvtnNtCCGeU9MKlXiSV3Yiu4u73/pVA18sQAAe3kZtCRBY9P31lAfnPekWWyg==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-9W8c2mXiGgbo9sBBT4ybEWF8znxla2CO8VTim8t5oCCLP4aDH4o6RvkHfwL/iLC6mEbO4a6LpS2FBbQHccU+ig==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-tbHKNLirllUNF3ZlkCsXnwab2ZV1Sl4b1H/Cp9ruCce15IBmskE8Gwkk0yo9xDWY+jho2of7lVXtwSsyrq7cwQ==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-9WAerTaPU2jcVi8dh8x27tySEuLur1Kfg7Go74GuCmsC/2MDSvrTkrK8ZrXWjryEevKfcPPmO1enveE7eqlzoA==}
engines: {node: '>=22'}
- '@alloc/[email protected]':
- resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
- engines: {node: '>=10'}
-
- '@assistant-ui/[email protected]':
- resolution: {integrity: sha512-Kwv9EywvtTsvoSmqFS0uonsQmN9iuo0GaIpqPGkxnfu4o8/slMw8gNDFNc+2+mzAdNCXcwkkLxh52gws7vhf0w==}
+ '@assistant-ui/[email protected]':
+ resolution: {integrity: sha512-6BzW6yFEMpojaS6Oj4VSLIb0hMaRh+chZzv4e08SuNmJ+ed+UTsPbVHlvJT/EY587AlNLB2DRSKW21+vrsfUzA==}
peerDependencies:
- '@assistant-ui/store': 0.2.20
+ '@assistant-ui/store': 0.2.21
'@assistant-ui/tap': ^0.9.0
'@types/react': '*'
assistant-cloud: ^0.1.31
@@ -355,10 +343,10 @@ packages:
'@types/react-dom':
optional: true
- '@assistant-ui/[email protected]':
- resolution: {integrity: sha512-g+iHnov+JMZmVAPKhfs9YqCXWFcCBWCyi+oqsc/kAR9zMsE0+qbE36iyRYfsJFrhMDm+6Ev7/2UTO+1HwTiZfA==}
+ '@assistant-ui/[email protected]':
+ resolution: {integrity: sha512-on2xIqLRsMij1J9WXBjKHW2XeVckypicXo7z3Fam6C9DVThZvWIevwJl962uargqq8DKNQxMySQ6Z7Z83+I5nA==}
peerDependencies:
- '@assistant-ui/tap': ^0.5.16 || ^0.7.1 || ^0.8.1 || ^0.9.0
+ '@assistant-ui/tap': ^0.9.0
'@types/react': '*'
react: ^18 || ^19
peerDependenciesMeta:
@@ -657,60 +645,6 @@ packages:
'@daytona/[email protected]':
resolution: {integrity: sha512-vObFluXvY7tJpU4en58TrZHdjueUDpTD7yZlDnYHypPUdGsTUdyWbAJUOSs0WyV9HHWBzwEzauOdif0e5Xytkg==}
- '@emotion/[email protected]':
- resolution: {integrity: sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-QgD4fyscGcbbKwJmqNvUMSE02OsHUa+lAWKdEUIJKgqe5IwRSKd7+KhibEWdaKwgjLj0DRSHA9biAIqGBk05lw==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA==}
- peerDependencies:
- '@types/react': '*'
- react: '>=16.8.0'
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-qEEJt42DuToa3gurlH4Qqc1kVpNq8wO8cJtDzU46TjlzWjDlsVyevtYCRijVq3SrHsROS+gVQ8Fnea108GnKzw==}
- peerDependencies:
- '@emotion/react': ^11.0.0-rc.0
- '@types/react': '*'
- react: '>=16.8.0'
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==}
- peerDependencies:
- react: '>=16.8.0'
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==}
-
- '@emotion/[email protected]':
- resolution: {integrity: sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==}
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==}
engines: {node: '>=18'}
@@ -1282,29 +1216,6 @@ packages:
'@floating-ui/[email protected]':
resolution: {integrity: sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==}
- '@fortawesome/[email protected]':
- resolution: {integrity: sha512-Zs+YeHUC5fkt7Mg1l6XTniei3k4bwG/yo3iFUtZWd/pMx9g3fdvkSK9E0FOC+++phXOka78uJcYb8JaFkW52Xg==}
- engines: {node: '>=6'}
-
- '@fortawesome/[email protected]':
- resolution: {integrity: sha512-yxtOBWDrdi5DD5o1pmVdq3WMCvnobT0LU6R8RyyVXPvFRd2o79/0NCuQoCjNTeZz9EzA9xS3JxNWfv54RIHFEA==}
- engines: {node: '>=6'}
-
- '@fortawesome/[email protected]':
- resolution: {integrity: sha512-7Z/ur0gvCMW8G93dXIQOkQqHo2M5HLhYrRVC0//fakJXxcF1VmMPsxnG6Ee8qEylA8b8Q3peQXWMNZ62lYF28g==}
- engines: {node: '>=6'}
-
- '@fortawesome/[email protected]':
- resolution: {integrity: sha512-GsBrnOzU8uj0LECDfD5zomZJIjrPhIlWU82AHwa2s40FKH+kcxQaBvBo3Z4TxyZHIyX8XTDxsyA33/Vx9eFuQA==}
- engines: {node: '>=6'}
-
- '@fortawesome/[email protected]':
- resolution: {integrity: sha512-mtBFIi1UsYQo7rYonYFkjgYKGoL8T+fEH6NGUpvuqtY3ytMsAoDaPo5rk25KuMtKDipY4bGYM/CkmCHA1N3FUg==}
- deprecated: v0.2.x is no longer supported. Unless you are still using FontAwesome 5, please update to v3.1.1 or greater.
- peerDependencies:
- '@fortawesome/fontawesome-svg-core': ~1 || ~6 || ~7
- react: ^16.3 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-k9Dj3DV/itK9D06Y8f190Qgop7/Ui+D0njFV3LHMPwPT75DpXLQohE9Wmz0QElrJnzsjB7KPWiKJbOl7IPDArQ==}
engines: {node: '>=12.10.0'}
@@ -1490,86 +1401,6 @@ packages:
'@cfworker/json-schema':
optional: true
- resolution: {integrity: sha512-LGb8t8i6M2ZtS3Drn3GbTI1DVhDY6FJ9crEey2lZ0aN2EMZo8IZBZj9wRf4vqbZHaWjsYgtbOnJw5V8UWbmK2Q==}
-
- resolution: {integrity: sha512-yjvtXoFcrPLGtgKRxFaH6OQPtcLPhkloC0BML6rBG5UeldR0nPULR/2E2BfXdo5JNV7j7lOzrrLX2Qf/iSidow==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- '@emotion/react': ^11.5.0
- '@emotion/styled': ^11.3.0
- '@mui/material-pigment-css': ^6.5.0
- '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0
- react: ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@emotion/react':
- optional: true
- '@emotion/styled':
- optional: true
- '@mui/material-pigment-css':
- optional: true
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-LktcVmI5X17/Q5SkwjCcdOLBzt1hXuc14jYa7NPShog0GBDCDvKtcnP0V7a2s6EiVRlv7BzbWEJzH6+l/zaCxw==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0
- react: ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-8woC2zAqF4qUDSPIBZ8v3sakj+WgweolpyM/FXf8jAx6FMls+IE4Y8VDZc+zS805J7PRz31vz73n2SovKGaYgw==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- '@emotion/react': ^11.4.1
- '@emotion/styled': ^11.3.0
- react: ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@emotion/react':
- optional: true
- '@emotion/styled':
- optional: true
-
- resolution: {integrity: sha512-XcbBYxDS+h/lgsoGe78ExXFZXtuIlSBpn/KsZq8PtZcIkUNJInkuDqcLd2rVBQrDC1u+rvVovdaWPf2FHKJf3w==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- '@emotion/react': ^11.5.0
- '@emotion/styled': ^11.3.0
- '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0
- react: ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@emotion/react':
- optional: true
- '@emotion/styled':
- optional: true
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-3c8tRt/CbWZ+pEg7QpSwbdxOk36EfmhbKf6AGZsD1EcLDLTSZoxxJ86FVtcjxvjuhdyBiWKSTGZFaXCnidO2kw==}
- peerDependencies:
- '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
- resolution: {integrity: sha512-Y12Q9hbK9g+ZY0T3Rxrx9m2m10gaphDuUMgWxyV5kNJevVxXYCLclYUCC9vXaIk1/NdNDTcW2Yfr2OGvNFNmHg==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- '@types/react': ^17.0.0 || ^18.0.0 || ^19.0.0
- react: ^17.0.0 || ^18.0.0 || ^19.0.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
-
'@nats-io/[email protected]':
resolution: {integrity: sha512-gACbRIhY3yQTO+5C4E1LY/qO2e5EhGUBeDsnPDT8Hd3qY9mfhNtluY6R7d7WX7/JMGsXRPbYdSLSADr/ECSy3w==}
@@ -1791,16 +1622,8 @@ packages:
resolution: {integrity: sha512-eSYWTm620tTk45EKSedaUL8MFYI8hW164hIXsgIHyxu3VobUB3fFCu5t0hQby6OoWRPsG1KkKUG2M5UadiLiVg==}
engines: {node: '>=14'}
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-ZNkNBrNPGL2VYvT1RpHueKWZozRUIDWMjRFiPcVAc5q6Ul0zcxF1meIWd3K0qbgqlGQbciB2K7oczyjB5ZkZvw==}
- peerDependencies:
- '@modelcontextprotocol/sdk': '>=1.0.0'
- peerDependenciesMeta:
- '@modelcontextprotocol/sdk':
- optional: true
-
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-LRSzjCUTuNAAUNlO5xbKDJYoe1PGoPXVosK1QTexBOD9mzOHk2Da5/BuXEqHBVdRoH+y4upfm3y9CTb2Z/Q4fg==}
+ '@openuidev/[email protected]':
+ resolution: {integrity: sha512-GeLoP4S+1e7IHAz2a4Fl9+Q+boiyTXpXtdUPI+PN3ml+834q35TCQasm/+s6NW+79FRmyiR8F5xJtoLsH0kGjQ==}
peerDependencies:
'@modelcontextprotocol/sdk': '>=1.0.0'
zod: ^3.25.0 || ^4.0.0
@@ -1808,29 +1631,17 @@ packages:
'@modelcontextprotocol/sdk':
optional: true
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-CxVH8v4lhx+SGUB3jPo8XSq//j6YQ+llehilICL3tFM83ShGxOrIX/G1GLId7SzeGeIXlLR5ElRwu3OOm7cq/Q==}
- peerDependencies:
- react: '>=19.0.0'
- zustand: ^4.5.5
+ '@openuidev/[email protected]':
+ resolution: {integrity: sha512-OIlRQbVqTBpre3MMzaeNB3USDaigUaSZyPcAIVSLNpqcosGgJijUS2nXjDVRRnZFsOu0gIOTVqd2G8lwcLSBPg==}
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-m+4mQIMLBnHIjU7nOpsGL2qAYhui8Bx0o6eeJ7tj3ReAfbSTeVpkDKu2OocR1GCtzarBLcR9U38kdZzPeNv1IQ==}
+ '@openuidev/[email protected]':
+ resolution: {integrity: sha512-GCcvSJ8ZHY2yxyp2eCyYxP4zB4CmDvyVR/04DmXyGdIZJNTYJ/HAOU0xPI3wUYXO/3JT2UduPh0V4TM/GF7rCA==}
peerDependencies:
react: ^18.3.1 || ^19.0.0
zustand: ^4.5.5
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-5ulTIZzCM+sRaS0arLLVMINf7nZcUIlOqEFUgzWhd1diRCzGKVZ39u7e5QFmmpu08yz2uKX358ql6bW5vD2gcg==}
- peerDependencies:
- '@modelcontextprotocol/sdk': '>=1.0.0'
- react: '>=19.0.0'
- peerDependenciesMeta:
- '@modelcontextprotocol/sdk':
- optional: true
-
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-SsbZes76oIviuZH3RW/VL+pZZjx6cOGjhkaeiSwuEnV24jWBgT9qswL4bDaQXpFG2e6sZKWjH/f0fRyqWQzhDA==}
+ '@openuidev/[email protected]':
+ resolution: {integrity: sha512-pQd4goMYHBfq2Df1kq3MOh0QbZiBIhBkD3K/0UfTY86a/N7EC/ydo1xW1IjjOSU0qHycF5z5Yw/UGs2BDllGjA==}
peerDependencies:
'@modelcontextprotocol/sdk': '>=1.0.0'
react: ^18.3.1 || ^19.0.0
@@ -1839,28 +1650,16 @@ packages:
'@modelcontextprotocol/sdk':
optional: true
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-20twwtKCP9Onm6ZGTGu5wR86HzmCcCB7H8jXIuirfCdO8Rezy6n01tWdUaHMrsExkGQmaxk4EkaUdFLlXypLtg==}
+ '@openuidev/[email protected]':
+ resolution: {integrity: sha512-8BFGrBaTQravEmsUq3qfpl2j+qfAU2VV7J9FjdF0yof9t2GzquuqeAZBGcD+rH3kOafF0DKqdOL37x216hM0zg==}
peerDependencies:
- '@openuidev/react-headless': ^0.7.11
- '@openuidev/react-lang': ^0.1.5
- react: '>=19.0.0'
- react-dom: '>=19.0.0'
- zustand: ^4.5.5
-
- '@openuidev/[email protected]':
- resolution: {integrity: sha512-RYt6d4JMhPgF2tYHefYtvGftzgRZDEZPq7V54r7Kxybbl5v9WyJpuuBGXQo1l+hvgIAkAbPxCg7/lNt3UB5FQg==}
- peerDependencies:
- '@openuidev/react-headless': ^0.9.1
- '@openuidev/react-lang': ^0.2.8
+ '@openuidev/react-headless': ^0.9.4
+ '@openuidev/react-lang': ^0.2.9
react: ^18.3.1 || ^19.0.0
react-dom: ^18.0.0 || ^19.0.0
zod: ^3.25.0 || ^4.0.0
zustand: ^4.5.5
- '@popperjs/[email protected]':
- resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
-
'@protobufjs/[email protected]':
resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}
@@ -2916,31 +2715,33 @@ packages:
resolution: {integrity: sha512-r5bClKrcIusDoo049dSL8CawnHR6mRdDwhlQuIgZRNty68q0x8k3Lf1BtPAMxRf/GgnHBnIO4ujd3+GQdLWzxQ==}
engines: {node: '>=16.0.0'}
- '@truefoundry/[email protected]':
- resolution: {integrity: sha512-/MEDwrNOl4c6MuTgU2uws2HyeCAAyyI0ZGgcTgXOQcQszibnGoaScaQCiaFH6glEZfC46/N/cW2RPTehuDjFzw==}
+ '@truefoundry/[email protected]':
+ resolution: {integrity: sha512-IDeWJhf3tRS1O28dNr8SFGpdF/g3drumc4YHR2nUl2dewnMoxJmoI5nAuQJ9Nr0bXnjeWEvZtEyY5Lf2sq373Q==}
peerDependencies:
- '@assistant-ui/core': 0.2.21
- '@assistant-ui/react': ^0.14.0
- '@truefoundry/assistant-ui-runtime': 0.1.3-rc.2
+ '@assistant-ui/core': 0.2.22
+ '@assistant-ui/react': ^0.14.24
'@types/react': '*'
- monaco-editor: ^0.52.0
react: ^18 || ^19
react-dom: ^18 || ^19
- tfy-web-components: ^0.0.30
- truefoundry-gateway-sdk: ^0.3.2-rc.1
peerDependenciesMeta:
+ '@assistant-ui/core':
+ optional: true
+ '@assistant-ui/react':
+ optional: true
'@types/react':
optional: true
- '@truefoundry/[email protected]':
- resolution: {integrity: sha512-atam8z33hLZyteYXg8R1KIQgYAXIiJ3rWCZBOxe7V+43T9nwzvCG6VKTZp0+EsseNEMUh7dviDACVrt01yb78A==}
+ '@truefoundry/[email protected]':
+ resolution: {integrity: sha512-Gy0QWdsbTwPV3SkLPI2OXUh9RqxgBOmK7Hv8/+WnjReHZw0KtwvAHAKSvzf/O1Fgyw3Sr5WzQjkPWKP7HmcPwQ==}
peerDependencies:
'@types/react': '*'
react: ^18 || ^19
- truefoundry-gateway-sdk: ^0.4.0-rc.1
+ truefoundry-gateway-sdk: ^0.4.0-rc.6
peerDependenciesMeta:
'@types/react':
optional: true
+ truefoundry-gateway-sdk:
+ optional: true
resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}
@@ -2999,9 +2800,6 @@ packages:
resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==}
- '@types/[email protected]':
- resolution: {integrity: sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==}
-
resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==}
@@ -3047,19 +2845,11 @@ packages:
resolution: {integrity: sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==}
- '@types/[email protected]':
- resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}
-
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
peerDependencies:
'@types/react': ^19.2.0
- '@types/[email protected]':
- resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==}
- peerDependencies:
- '@types/react': '*'
-
resolution: {integrity: sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==}
@@ -3069,6 +2859,9 @@ packages:
resolution: {integrity: sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
+
resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==}
@@ -3305,8 +3098,8 @@ packages:
resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==}
engines: {node: '>= 8.0.0'}
- resolution: {integrity: sha512-OMJ8v3ZzMIt90wIZRluD8c/VgvmX8SvAajGNYEbCeCAiCbr62yhCgXC7MvZRrQ0pOTfLZRohztUVrt5A08gKNg==}
+ resolution: {integrity: sha512-yyxSDZmlpTZs2oepyjzHMXrPk0mJ2ITpw8TfXYiF53yo0WkQJ1qm6MbpUiYclh640D35nNJ8bq57RffSrX+Qzg==}
engines: {node: '>=22'}
peerDependencies:
zod: ^3.25.76 || ^4.1.8
@@ -3360,9 +3153,6 @@ packages:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
-
resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
@@ -3384,6 +3174,17 @@ packages:
redis:
optional: true
+ resolution: {integrity: sha512-3qkTkttgTLe1jNMHIIiYk7dC4VoJk9MyDA7aNYF08g1rme1DaZAyecUYH/0eywI6naRwu8EAICw9WTn0sahyPw==}
+ peerDependencies:
+ ioredis: ^5.10.1
+ redis: ^5.12.1
+ peerDependenciesMeta:
+ ioredis:
+ optional: true
+ redis:
+ optional: true
+
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
@@ -3444,10 +3245,6 @@ packages:
resolution: {integrity: sha512-jW6oufeDhXZaiX9Lw5A+oerVClx4iFrI6uDj1zu7SqUAjak9vbJvA0NEcKLNxHiQHb6kYCoFzzXYV0YOauhV3g==}
engines: {node: '>=22'}
- resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-5PAPTTmMpMEb+GuMb5DebfBkipRGyIW9+gtwEBSoDA9xkhHILm04+hZQ702pMksu3d8YAuGkmgTzQWcKqTPScA==}
@@ -3513,10 +3310,6 @@ packages:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
engines: {node: '>=6'}
@@ -3542,28 +3335,15 @@ packages:
resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}
- resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==}
-
resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}
- resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==}
-
resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
- resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==}
-
resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==}
- resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
- engines: {node: '>= 8.10.0'}
-
resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
engines: {node: '>= 14.16.0'}
@@ -3582,12 +3362,6 @@ packages:
resolution: {integrity: sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==}
- resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
-
- resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==}
-
resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}
engines: {node: '>=18'}
@@ -3645,9 +3419,6 @@ packages:
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==}
-
resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}
@@ -3688,9 +3459,6 @@ packages:
resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
-
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
@@ -3719,11 +3487,6 @@ packages:
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
- engines: {node: '>=4'}
- hasBin: true
-
resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
@@ -3829,19 +3592,16 @@ packages:
resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
- resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}
-
resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
-
resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
+ resolution: {integrity: sha512-yb1cEmaOum7wFvOCSQxyfgVlv5D47Rc30iZWoMpbDIWTnJ6grDDQyu2KFJzB2k7u0pMuJcQ1zphH//fFnw2tjQ==}
+
resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}
engines: {node: '>=12'}
@@ -4156,9 +3916,6 @@ packages:
resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==}
engines: {node: '>= 18.0.0'}
- resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==}
-
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
engines: {node: '>=8'}
@@ -4308,9 +4065,6 @@ packages:
resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==}
- resolution: {integrity: sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==}
-
resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==}
@@ -4323,9 +4077,6 @@ packages:
resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==}
- resolution: {integrity: sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==}
-
resolution: {integrity: sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==}
@@ -4341,9 +4092,6 @@ packages:
resolution: {integrity: sha512-PDEfEF102G23vHmPhLyPboFCD+BkMGu+GuJe2d9/eH4FsCwvgBpnc9n0pGE+ffKdph38s6foEZiEjdgHdzp+IA==}
- resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
-
resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==}
engines: {node: '>=0.10.0'}
@@ -4432,32 +4180,19 @@ packages:
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
engines: {node: '>= 0.10'}
- resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==}
-
resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==}
- resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==}
-
resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==}
resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
- resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==}
-
resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}
@@ -4481,9 +4216,6 @@ packages:
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==}
-
resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}
@@ -4745,10 +4477,6 @@ packages:
resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
engines: {node: '>=14'}
@@ -4810,21 +4538,11 @@ packages:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
- resolution: {integrity: sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==}
- peerDependencies:
- react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-82hOAu7y0dbVuFfmO4bYF1XEwYk/mEbM5E+b1jgci/udUBEE/R7LF5Ip0CCEmXe8AybRM8L+04eP+LGZeDvkiw==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
- resolution: {integrity: sha512-raglYVR2+VkMfJL158krjVmE+rV5ST2lzA/KQm1FRSjMHT4MnWaegHxoVEpmc2So3nOEhp9oGejJwAPX8MoAjg==}
- peerDependencies:
- react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@@ -4838,6 +4556,11 @@ packages:
resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}
+ resolution: {integrity: sha512-uIj4+faQ+MgHgwUW1l2PsPglZLOLOT1uErt06dAPtx2kjteLAkbsd/0FiYg/MGS+i7ZKLb7w2WClxHkzOOuryQ==}
+ engines: {node: '>= 18'}
+ hasBin: true
+
resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
engines: {node: '>= 0.4'}
@@ -5047,6 +4770,9 @@ packages:
resolution: {integrity: sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ==}
+ resolution: {integrity: sha512-sXboRm3BeBeLm938eaiyLMe0OxzfXIlZvbv4ir/jVgQy1zDhWjgmny0WoN45fuDKhCCQsYMbBJrv/A6jd8aCUg==}
+
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
@@ -5111,10 +4837,6 @@ packages:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
engines: {node: '>= 0.4'}
@@ -5180,9 +4902,6 @@ packages:
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==}
-
resolution: {integrity: sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==}
@@ -5271,10 +4990,6 @@ packages:
resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}
engines: {node: '>= 6'}
@@ -5295,30 +5010,6 @@ packages:
engines: {node: '>=18'}
hasBin: true
- resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- postcss: ^8.0.0
-
- resolution: {integrity: sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==}
- engines: {node: ^12 || ^14 || >= 16}
- peerDependencies:
- postcss: ^8.4.21
-
- resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==}
- engines: {node: '>= 14'}
- peerDependencies:
- postcss: '>=8.0.9'
- ts-node: '>=9.0.0'
- peerDependenciesMeta:
- postcss:
- optional: true
- ts-node:
- optional: true
-
resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}
engines: {node: '>= 18'}
@@ -5337,19 +5028,6 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}
- engines: {node: '>=12.0'}
- peerDependencies:
- postcss: ^8.2.14
-
- resolution: {integrity: sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==}
- engines: {node: '>=4'}
-
- resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
-
resolution: {integrity: sha512-KBDEIpLrvpv16pp3K0Fw+UCoZfopFjjgeB+0tA/aaThfEE74kKDLrgg603YvOWJyg3+WYtyq3xYsQWsIyZlPqQ==}
engines: {node: ^10 || ^12 || >=14}
@@ -5393,10 +5071,6 @@ packages:
resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
- resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==}
- engines: {node: '>=6'}
-
resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}
engines: {node: '>=6'}
@@ -5408,9 +5082,6 @@ packages:
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
- resolution: {integrity: sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==}
-
resolution: {integrity: sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==}
@@ -5482,21 +5153,12 @@ packages:
resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}
- resolution: {integrity: sha512-s5un28nYxKJw5gvUHyW5PCC28CvBqLu9r3cWgzHT4Vo/5fqqkFcdRYsGcKf50WMPpjjFZS5d76fn3YCo2njKwQ==}
-
resolution: {integrity: sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==}
peerDependencies:
'@types/react': '>=18'
react: '>=18'
- resolution: {integrity: sha512-xaijuJB0kzGiUdG7nc2MOMDUDBWPyGAjZtUrow9XxUeua8IqeP+VlIfAZ3bphpcLTnSZXz6z9jcVC/TCwbfgdw==}
- peerDependencies:
- '@types/react': '>=18'
- react: '>=18'
-
resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==}
engines: {node: '>=0.10.0'}
@@ -5537,11 +5199,6 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-DgXrc+AZF47+HvAPEmn7Ua/1p10jNoVZVI/LoPiYdtY+OM+/nG5yefLHKJwdKqY1adMuHFbeyBaG9j64ML7vTw==}
- peerDependencies:
- react: '>= 0.14.0'
-
resolution: {integrity: sha512-PjVawBGy80C6YbC5DDZJeUjBmC7skaoEUdvfFQediQHgCL7aKyVHe57SaJGfQsloGDac+gCpTfRdtxzWWKmCXA==}
engines: {node: '>= 16.20.2'}
@@ -5554,12 +5211,6 @@ packages:
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- resolution: {integrity: sha512-e9h23x3phN0wbFeB6yovmWp7lobzV4CaCH0LO8nVP6H7Y+3GbcLpIzMm9dJhcp1RXbpyfvjgpfXqO80QAmn7sg==}
- peerDependencies:
- react: ^18 || ^19
- react-dom: ^18 || ^19
-
resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
peerDependencies:
@@ -5570,17 +5221,10 @@ packages:
resolution: {integrity: sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
-
resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}
engines: {node: '>= 6'}
- resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
- engines: {node: '>=8.10.0'}
-
resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
engines: {node: '>= 14.18.0'}
@@ -5600,9 +5244,6 @@ packages:
resolution: {integrity: sha512-LDsoVvb/CpoV9EN3FXvgvSHNJWuCIzl9MiO3ppOevuGLpSGJhwfQjpEwfFJcQvNSddHADDdZaWx0HnmMxRXG7g==}
engines: {node: '>= 18.19.0'}
- resolution: {integrity: sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==}
-
resolution: {integrity: sha512-QXOrHQF5jOpjjLfiNk5GFnWhRXvxjUVnlFxkeDmewR5sXkr3iM46Zo+CnRR8B+MDVqkULW4EcLVcRBNOPXHosw==}
@@ -5687,9 +5328,6 @@ packages:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
- resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
-
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
@@ -5790,10 +5428,6 @@ packages:
resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==}
- resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
engines: {node: '>=0.10.0'}
@@ -5802,9 +5436,6 @@ packages:
resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==}
engines: {node: '>= 12'}
- resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==}
-
resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}
@@ -5888,9 +5519,6 @@ packages:
resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}
- resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==}
-
resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==}
engines: {node: '>=16 || 14 >=14.17'}
@@ -5908,16 +5536,11 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==}
-
resolution: {integrity: sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==}
- resolution: {integrity: sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==}
- engines: {node: '>=14.0.0'}
- hasBin: true
+ resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==}
resolution: {integrity: sha512-+qfUHz700DWnRutdUsxRRVZ38G1Qr27OetwaMYTdg8hcPxf46U0S1Zf76dQMWRBmusOt2ZCK5kbIaiLkoGO7WQ==}
@@ -5933,21 +5556,6 @@ packages:
resolution: {integrity: sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==}
- resolution: {integrity: sha512-qR/MMqnio4osEc9eLuNSj8W9q2KiXGnnVUxbUZaPLXZop3QPdh/JgM1QzTjBzGO8Yr5DzgrfJr+XrljIoKOGUQ==}
- peerDependencies:
- '@fortawesome/fontawesome-svg-core': ^6.7.2
- '@fortawesome/free-regular-svg-icons': ^6.4.0
- '@fortawesome/react-fontawesome': ^0.2.2
- '@mui/material': ^6.2.0
- '@openuidev/react-headless': ^0.7.11
- '@openuidev/react-lang': ^0.1.5
- '@openuidev/react-ui': ^0.10.1
- monaco-editor: ^0.52.0
- react: ^17.0.0 || ^18.0.0 || ^19.0.0
- react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
- tailwindcss: 3.3.3
-
resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}
engines: {node: '>=0.8'}
@@ -5997,8 +5605,8 @@ packages:
resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}
- resolution: {integrity: sha512-sQllg/uww1tsH3bhwt6B/+TpAXizd+xwvML3Ak+HMd1rwDEHWBFBJ43c1uDHVBEwosvx1YtZhJX3uwSyAqsASg==}
+ resolution: {integrity: sha512-shasePNe3A8H3InTjRukWi/jiJOkuKMQwmlfPEFbm2Sw0mPT9YsjsX0ummGh3jDXQpveu9hr0uEmn0NB1WQATw==}
engines: {node: '>=18.0.0'}
@@ -6403,66 +6011,59 @@ packages:
snapshots:
- '@ag-ui/[email protected]':
- dependencies:
- rxjs: 7.8.1
- zod: 3.25.76
-
dependencies:
zod: 3.25.76
dependencies:
- '@ai-sdk/provider': 4.0.4
- '@ai-sdk/provider-utils': 5.0.16([email protected])
+ '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider-utils': 5.0.20([email protected])
zod: 3.25.76
dependencies:
- '@ai-sdk/provider': 4.0.4
- '@ai-sdk/provider-utils': 5.0.16([email protected])
+ '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider-utils': 5.0.20([email protected])
'@vercel/oidc': 3.2.0
zod: 3.25.76
dependencies:
- '@ai-sdk/provider': 4.0.4
- '@ai-sdk/provider-utils': 5.0.16([email protected])
+ '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider-utils': 5.0.20([email protected])
zod: 3.25.76
dependencies:
- '@ai-sdk/provider': 4.0.4
- '@ai-sdk/provider-utils': 5.0.16([email protected])
+ '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider-utils': 5.0.20([email protected])
zod: 3.25.76
dependencies:
- '@ai-sdk/provider': 4.0.4
- '@ai-sdk/provider-utils': 5.0.16([email protected])
+ '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider-utils': 5.0.20([email protected])
zod: 3.25.76
dependencies:
- '@ai-sdk/provider': 4.0.4
+ '@ai-sdk/provider': 4.0.5
'@standard-schema/spec': 1.1.0
'@workflow/serde': 4.1.0
eventsource-parser: 3.1.0
undici: 7.29.0
zod: 3.25.76
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
- '@alloc/[email protected]': {}
-
dependencies:
- '@assistant-ui/store': 0.2.20(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected])
+ '@assistant-ui/store': 0.2.21(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected])
'@assistant-ui/tap': 0.9.4(@types/[email protected])([email protected])
- assistant-stream: 0.3.26([email protected](@opentelemetry/[email protected]))
+ assistant-stream: 0.3.31([email protected](@opentelemetry/[email protected]))
nanoid: 6.0.0
optionalDependencies:
'@types/react': 19.2.17
@@ -6475,8 +6076,8 @@ snapshots:
dependencies:
- '@assistant-ui/store': 0.2.20(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected])
+ '@assistant-ui/store': 0.2.21(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected])
'@assistant-ui/tap': 0.9.4(@types/[email protected])([email protected])
'@radix-ui/primitive': 1.1.7
@@ -6505,7 +6106,7 @@ snapshots:
- redis
- use-sync-external-store
dependencies:
'@assistant-ui/tap': 0.9.4(@types/[email protected])([email protected])
react: 19.2.8
@@ -6954,106 +6555,23 @@ snapshots:
- debug
- supports-color
- dependencies:
- '@babel/helper-module-imports': 7.29.7([email protected])
- '@babel/runtime': 7.29.7
- '@emotion/hash': 0.9.2
- '@emotion/memoize': 0.9.0
- '@emotion/serialize': 1.3.3
- babel-plugin-macros: 3.1.0
- convert-source-map: 1.9.0
- escape-string-regexp: 4.0.0
- find-root: 1.1.0
- source-map: 0.5.7
- stylis: 4.2.0
- transitivePeerDependencies:
- - supports-color
+ '@esbuild/[email protected]':
+ optional: true
- '@emotion/[email protected]':
- dependencies:
- '@emotion/memoize': 0.9.0
- '@emotion/sheet': 1.4.0
- '@emotion/utils': 1.4.2
- '@emotion/weak-memoize': 0.4.0
- stylis: 4.2.0
+ '@esbuild/[email protected]':
+ optional: true
- '@emotion/[email protected]': {}
+ '@esbuild/[email protected]':
+ optional: true
- '@emotion/[email protected]':
- dependencies:
- '@emotion/memoize': 0.9.0
+ '@esbuild/[email protected]':
+ optional: true
- '@emotion/[email protected]': {}
+ '@esbuild/[email protected]':
+ optional: true
- dependencies:
- '@babel/runtime': 7.29.7
- '@emotion/babel-plugin': 11.13.5([email protected])
- '@emotion/cache': 11.14.0
- '@emotion/serialize': 1.3.3
- '@emotion/use-insertion-effect-with-fallbacks': 1.2.0([email protected])
- '@emotion/utils': 1.4.2
- '@emotion/weak-memoize': 0.4.0
- hoist-non-react-statics: 3.3.2
- react: 19.2.8
- optionalDependencies:
- '@types/react': 19.2.17
- transitivePeerDependencies:
- - supports-color
-
- '@emotion/[email protected]':
- dependencies:
- '@emotion/hash': 0.9.2
- '@emotion/memoize': 0.9.0
- '@emotion/unitless': 0.10.0
- '@emotion/utils': 1.4.2
- csstype: 3.2.3
-
- '@emotion/[email protected]': {}
-
- dependencies:
- '@babel/runtime': 7.29.7
- '@emotion/babel-plugin': 11.13.5([email protected])
- '@emotion/is-prop-valid': 1.4.0
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
- '@emotion/serialize': 1.3.3
- '@emotion/use-insertion-effect-with-fallbacks': 1.2.0([email protected])
- '@emotion/utils': 1.4.2
- react: 19.2.8
- optionalDependencies:
- '@types/react': 19.2.17
- transitivePeerDependencies:
- - supports-color
-
- '@emotion/[email protected]': {}
-
- dependencies:
- react: 19.2.8
-
- '@emotion/[email protected]': {}
-
- '@emotion/[email protected]': {}
-
- '@esbuild/[email protected]':
- optional: true
-
- '@esbuild/[email protected]':
- optional: true
-
- '@esbuild/[email protected]':
- optional: true
-
- '@esbuild/[email protected]':
- optional: true
-
- '@esbuild/[email protected]':
- optional: true
-
- '@esbuild/[email protected]':
- optional: true
+ '@esbuild/[email protected]':
+ optional: true
'@esbuild/[email protected]':
optional: true
@@ -7408,26 +6926,6 @@ snapshots:
'@floating-ui/[email protected]': {}
- '@fortawesome/[email protected]': {}
-
- '@fortawesome/[email protected]':
- dependencies:
- '@fortawesome/fontawesome-common-types': 6.7.2
-
- '@fortawesome/[email protected]':
- dependencies:
- '@fortawesome/fontawesome-common-types': 6.7.2
-
- '@fortawesome/[email protected]':
- dependencies:
- '@fortawesome/fontawesome-common-types': 6.7.2
-
- dependencies:
- '@fortawesome/fontawesome-svg-core': 6.7.2
- prop-types: 15.8.1
- react: 19.2.8
-
dependencies:
'@grpc/proto-loader': 0.8.1
@@ -7748,83 +7246,6 @@ snapshots:
- supports-color
optional: true
- '@mui/[email protected]': {}
-
- dependencies:
- '@babel/runtime': 7.29.7
- '@mui/core-downloads-tracker': 6.5.0
- '@mui/types': 7.2.24(@types/[email protected])
- '@mui/utils': 6.4.9(@types/[email protected])([email protected])
- '@popperjs/core': 2.11.8
- '@types/react-transition-group': 4.4.12(@types/[email protected])
- clsx: 2.1.1
- csstype: 3.2.3
- prop-types: 15.8.1
- react: 19.2.8
- react-dom: 19.2.8([email protected])
- react-is: 19.2.8
- react-transition-group: 4.4.5([email protected]([email protected]))([email protected])
- optionalDependencies:
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
- '@types/react': 19.2.17
-
- dependencies:
- '@babel/runtime': 7.29.7
- '@mui/utils': 6.4.9(@types/[email protected])([email protected])
- prop-types: 15.8.1
- react: 19.2.8
- optionalDependencies:
- '@types/react': 19.2.17
-
- dependencies:
- '@babel/runtime': 7.29.7
- '@emotion/cache': 11.14.0
- '@emotion/serialize': 1.3.3
- '@emotion/sheet': 1.4.0
- csstype: 3.2.3
- prop-types: 15.8.1
- react: 19.2.8
- optionalDependencies:
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
-
- dependencies:
- '@babel/runtime': 7.29.7
- '@mui/private-theming': 6.4.9(@types/[email protected])([email protected])
- '@mui/types': 7.2.24(@types/[email protected])
- '@mui/utils': 6.4.9(@types/[email protected])([email protected])
- clsx: 2.1.1
- csstype: 3.2.3
- prop-types: 15.8.1
- react: 19.2.8
- optionalDependencies:
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
- '@types/react': 19.2.17
-
- optionalDependencies:
- '@types/react': 19.2.17
-
- dependencies:
- '@babel/runtime': 7.29.7
- '@mui/types': 7.2.24(@types/[email protected])
- '@types/prop-types': 15.7.15
- clsx: 2.1.1
- prop-types: 15.8.1
- react: 19.2.8
- react-is: 19.2.8
- optionalDependencies:
- '@types/react': 19.2.17
-
'@nats-io/[email protected]':
dependencies:
'@nats-io/nkeys': 2.0.3
@@ -8122,93 +7543,34 @@ snapshots:
'@opentelemetry/[email protected]': {}
dependencies:
zod: 4.4.3
optionalDependencies:
'@modelcontextprotocol/sdk': 1.29.0([email protected])([email protected])
- dependencies:
- zod: 4.4.3
- optionalDependencies:
- '@modelcontextprotocol/sdk': 1.29.0([email protected])([email protected])
-
- dependencies:
- '@ag-ui/core': 0.0.45
- react: 19.2.8
+ '@openuidev/[email protected]': {}
dependencies:
'@ag-ui/core': 0.0.53
+ '@openuidev/observability': 0.0.1
react: 19.2.8
- dependencies:
- '@openuidev/lang-core': 0.1.2(@modelcontextprotocol/[email protected]([email protected])([email protected]))
- react: 19.2.8
- zod: 4.4.3
- optionalDependencies:
- '@modelcontextprotocol/sdk': 1.29.0([email protected])([email protected])
-
dependencies:
- '@openuidev/lang-core': 0.2.9(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])
+ '@openuidev/lang-core': 0.2.10(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])
react: 19.2.8
zod: 4.4.3
optionalDependencies:
'@modelcontextprotocol/sdk': 1.29.0([email protected])([email protected])
dependencies:
'@floating-ui/react-dom': 2.1.9([email protected]([email protected]))([email protected])
- '@openuidev/react-lang': 0.1.5(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])
- '@radix-ui/react-aspect-ratio': 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-dropdown-menu': 2.1.22(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-toggle-group': 1.1.17(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- clsx: 2.1.1
- date-fns: 4.4.0
- lodash-es: 4.18.1
- lucide-react: 0.562.0([email protected])
- react: 19.2.8
- react-day-picker: 9.14.0([email protected])
- react-dom: 19.2.8([email protected])
- react-markdown: 10.1.0(@types/[email protected])([email protected])([email protected])
- react-syntax-highlighter: 15.6.6([email protected])
- rehype-katex: 7.0.1
- remark-breaks: 4.0.0
- remark-emoji: 5.0.2
- remark-gfm: 4.0.1([email protected])
- remark-math: 6.0.0([email protected])
- tiny-invariant: 1.3.3
- zod: 4.4.3
- transitivePeerDependencies:
- - '@types/react'
- - '@types/react-dom'
- - supports-color
-
- dependencies:
- '@floating-ui/react-dom': 2.1.9([email protected]([email protected]))([email protected])
- '@openuidev/react-lang': 0.2.8(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@openuidev/react-lang': 0.2.9(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@radix-ui/react-aspect-ratio': 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
@@ -8247,8 +7609,6 @@ snapshots:
- '@types/react-dom'
- supports-color
- '@popperjs/[email protected]': {}
-
'@protobufjs/[email protected]': {}
'@protobufjs/[email protected]': {}
@@ -9250,51 +8610,45 @@ snapshots:
'@tabby_ai/[email protected]': {}
- '@truefoundry/[email protected](6dfffe383ee9b494dc775131178b257f)':
+ '@truefoundry/[email protected](2258b7d3a6c75cf9484a74ef844b7ab2)':
dependencies:
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
- '@fortawesome/fontawesome-svg-core': 6.7.2
- '@fortawesome/free-solid-svg-icons': 6.7.2
- '@fortawesome/react-fontawesome': 0.2.6(@fortawesome/[email protected])([email protected])
- '@openuidev/react-lang': 0.2.8(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])
- '@truefoundry/assistant-ui-runtime': 0.1.4(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected]([email protected](@opentelemetry/[email protected])))([email protected])([email protected](@opentelemetry/[email protected]))([email protected](patch_hash=2dd458ac139d735ffb9d9fadc203e4314f0a0f0c7338c365cc0bb4b4f4c8f6b4))([email protected](@types/[email protected])([email protected])([email protected]([email protected])))
- class-variance-authority: 0.7.1
- classnames: 2.5.1
+ '@openuidev/react-lang': 0.2.9(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])
clsx: 2.1.1
- lodash-es: 4.18.1
- lucide-react: 1.26.0([email protected])
- monaco-editor: 0.52.2
+ lucide-react: 0.562.0([email protected])
+ monaco-editor: 0.56.0
react: 19.2.8
react-dom: 19.2.8([email protected])
- react-markdown: 9.1.0(@types/[email protected])([email protected])([email protected])
+ react-markdown: 10.1.0(@types/[email protected])([email protected])([email protected])
+ react-syntax-highlighter: 16.1.1([email protected])
remark-gfm: 4.0.1([email protected])
tailwind-merge: 3.6.0
- tfy-web-components: 0.0.31(4764be86a9d6d6cfa9a2d08252009a0c)
- truefoundry-gateway-sdk: 0.4.0-rc.2(patch_hash=2dd458ac139d735ffb9d9fadc203e4314f0a0f0c7338c365cc0bb4b4f4c8f6b4)
+ truefoundry-gateway-sdk: 0.4.0
+ zod: 4.4.3
optionalDependencies:
'@types/react': 19.2.17
transitivePeerDependencies:
+ - '@assistant-ui/tap'
- '@modelcontextprotocol/sdk'
- - '@mui/material-pigment-css'
- '@types/react-dom'
+ - assistant-cloud
+ - ioredis
+ - redis
- supports-color
- - zod
- zustand
dependencies:
- '@assistant-ui/store': 0.2.20(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected])
+ '@assistant-ui/store': 0.2.21(@assistant-ui/[email protected](@types/[email protected])([email protected]))(@types/[email protected])([email protected])
react: 19.2.8
- truefoundry-gateway-sdk: 0.4.0-rc.2(patch_hash=2dd458ac139d735ffb9d9fadc203e4314f0a0f0c7338c365cc0bb4b4f4c8f6b4)
optionalDependencies:
'@types/react': 19.2.17
+ truefoundry-gateway-sdk: 0.4.0
transitivePeerDependencies:
- '@assistant-ui/tap'
- assistant-cloud
@@ -9367,10 +8721,6 @@ snapshots:
dependencies:
'@types/node': 24.13.3
- '@types/[email protected]':
- dependencies:
- '@types/unist': 2.0.11
-
dependencies:
'@types/unist': 3.0.3
@@ -9413,7 +8763,8 @@ snapshots:
dependencies:
undici-types: 7.18.2
- '@types/[email protected]': {}
+ '@types/[email protected]':
+ optional: true
dependencies:
@@ -9423,16 +8774,10 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
dependencies:
'@types/react': 19.2.17
- dependencies:
- '@types/react': 19.2.17
-
dependencies:
csstype: 3.2.3
@@ -9441,6 +8786,9 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ optional: true
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -9649,11 +8997,11 @@ snapshots:
dependencies:
humanize-ms: 1.2.1
dependencies:
- '@ai-sdk/gateway': 4.0.33([email protected])
- '@ai-sdk/provider': 4.0.4
- '@ai-sdk/provider-utils': 5.0.16([email protected])
+ '@ai-sdk/gateway': 4.0.40([email protected])
+ '@ai-sdk/provider': 4.0.5
+ '@ai-sdk/provider-utils': 5.0.20([email protected])
zod: 3.25.76
@@ -9701,8 +9049,6 @@ snapshots:
normalize-path: 3.0.0
picomatch: 2.3.2
-
dependencies:
sprintf-js: 1.0.3
@@ -9713,7 +9059,7 @@ snapshots:
dependencies:
- assistant-stream: 0.3.26([email protected](@opentelemetry/[email protected]))
+ assistant-stream: 0.3.31([email protected](@opentelemetry/[email protected]))
transitivePeerDependencies:
- ioredis
- redis
@@ -9726,6 +9072,14 @@ snapshots:
optionalDependencies:
redis: 5.12.1(@opentelemetry/[email protected])
+ dependencies:
+ '@standard-schema/spec': 1.1.0
+ nanoid: 6.0.0
+ secure-json-parse: 4.1.0
+ optionalDependencies:
+ redis: 5.12.1(@opentelemetry/[email protected])
+
@@ -9775,6 +9129,7 @@ snapshots:
'@babel/runtime': 7.29.7
cosmiconfig: 7.1.0
resolve: 1.22.11
+ optional: true
dependencies:
@@ -9815,8 +9170,6 @@ snapshots:
dependencies:
node-addon-api: 8.9.0
-
@@ -9892,8 +9245,6 @@ snapshots:
-
@@ -9911,30 +9262,12 @@ snapshots:
-
-
-
- dependencies:
- anymatch: 3.1.3
- braces: 3.0.3
- glob-parent: 5.1.2
- is-binary-path: 2.1.0
- is-glob: 4.0.3
- normalize-path: 3.0.0
- readdirp: 3.6.0
- optionalDependencies:
- fsevents: 2.3.3
-
dependencies:
readdirp: 4.1.2
@@ -9947,12 +9280,6 @@ snapshots:
- dependencies:
- clsx: 2.1.1
-
-
dependencies:
restore-cursor: 5.1.0
@@ -10003,8 +9330,6 @@ snapshots:
dependencies:
delayed-stream: 1.0.0
-
@@ -10027,8 +9352,6 @@ snapshots:
-
@@ -10047,6 +9370,7 @@ snapshots:
parse-json: 5.2.0
path-type: 4.0.0
yaml: 1.10.3
+ optional: true
dependencies:
@@ -10069,8 +9393,6 @@ snapshots:
shebang-command: 2.0.0
which: 2.0.2
-
@@ -10149,17 +9471,17 @@ snapshots:
dependencies:
dequal: 2.0.3
-
-
dependencies:
'@babel/runtime': 7.29.7
csstype: 3.2.3
+ optionalDependencies:
+ '@types/trusted-types': 2.0.7
+
@@ -10628,8 +9950,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
-
dependencies:
locate-path: 5.0.0
@@ -10789,8 +10109,6 @@ snapshots:
dependencies:
'@types/hast': 3.0.5
-
dependencies:
'@types/hast': 3.0.5
@@ -10826,14 +10144,6 @@ snapshots:
dependencies:
'@types/hast': 3.0.5
- dependencies:
- '@types/hast': 2.3.10
- comma-separated-tokens: 1.0.8
- hast-util-parse-selector: 2.2.5
- property-information: 5.6.0
- space-separated-tokens: 1.1.5
-
dependencies:
'@types/hast': 3.0.5
@@ -10852,10 +10162,6 @@ snapshots:
- dependencies:
- react-is: 16.13.1
-
dependencies:
parse-passwd: 1.0.0
@@ -10903,6 +10209,7 @@ snapshots:
dependencies:
parent-module: 1.0.1
resolve-from: 4.0.0
+ optional: true
dependencies:
@@ -10932,15 +10239,8 @@ snapshots:
-
- dependencies:
- is-alphabetical: 1.0.4
- is-decimal: 1.0.4
-
dependencies:
is-alphabetical: 2.0.1
@@ -10948,16 +10248,10 @@ snapshots:
- dependencies:
- binary-extensions: 2.3.0
-
dependencies:
hasown: 2.0.4
-
@@ -10974,8 +10268,6 @@ snapshots:
dependencies:
is-extglob: 2.1.1
-
@@ -11343,7 +10635,8 @@ snapshots:
- supports-color
- ts-node
+ optional: true
@@ -11397,8 +10690,6 @@ snapshots:
prelude-ls: 1.2.1
type-check: 0.4.0
-
@@ -11471,18 +10762,10 @@ snapshots:
dependencies:
yallist: 3.1.1
- dependencies:
- react: 19.2.8
-
dependencies:
react: 19.2.8
- dependencies:
- react: 19.2.8
-
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
@@ -11497,6 +10780,8 @@ snapshots:
+
@@ -11924,6 +11209,11 @@ snapshots:
+ dependencies:
+ dompurify: 3.4.8
+ marked: 14.0.0
+
@@ -11967,8 +11257,6 @@ snapshots:
-
@@ -12040,15 +11328,7 @@ snapshots:
dependencies:
callsites: 3.1.0
-
- dependencies:
- character-entities: 1.2.4
- character-entities-legacy: 1.1.4
- character-reference-invalid: 1.1.4
- is-alphanumerical: 1.0.4
- is-decimal: 1.0.4
- is-hexadecimal: 1.0.4
+ optional: true
dependencies:
@@ -12085,7 +11365,8 @@ snapshots:
+ optional: true
@@ -12130,8 +11411,6 @@ snapshots:
-
@@ -12148,25 +11427,6 @@ snapshots:
- dependencies:
- postcss: 8.5.22
- postcss-value-parser: 4.2.0
- read-cache: 1.0.0
- resolve: 1.22.11
-
- dependencies:
- camelcase-css: 2.0.1
- postcss: 8.5.22
-
- dependencies:
- lilconfig: 3.1.3
- yaml: 2.9.0
- optionalDependencies:
- postcss: 8.5.22
-
dependencies:
lilconfig: 3.1.3
@@ -12176,18 +11436,6 @@ snapshots:
tsx: 4.23.1
yaml: 2.9.0
- dependencies:
- postcss: 8.5.22
- postcss-selector-parser: 6.1.4
-
- dependencies:
- cssesc: 3.0.0
- util-deprecate: 1.0.2
-
-
dependencies:
nanoid: 3.3.16
@@ -12219,8 +11467,6 @@ snapshots:
ansi-styles: 5.2.0
react-is: 18.3.1
-
@@ -12234,10 +11480,6 @@ snapshots:
object-assign: 4.1.1
react-is: 16.13.1
- dependencies:
- xtend: 4.0.2
-
@@ -12376,8 +11618,6 @@ snapshots:
-
dependencies:
'@types/hast': 3.0.5
@@ -12396,24 +11636,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@types/hast': 3.0.5
- '@types/mdast': 4.0.4
- '@types/react': 19.2.17
- devlop: 1.1.0
- hast-util-to-jsx-runtime: 2.3.6([email protected])
- html-url-attributes: 3.0.1
- mdast-util-to-hast: 13.2.1
- react: 19.2.8
- remark-parse: 11.0.0([email protected])
- remark-rehype: 11.1.2
- unified: 11.0.5
- unist-util-visit: 5.1.0
- vfile: 6.0.3
- transitivePeerDependencies:
- - supports-color
-
@@ -12451,16 +11673,6 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.17
- dependencies:
- '@babel/runtime': 7.29.7
- highlight.js: 10.7.3
- highlightjs-vue: 1.0.0
- lowlight: 1.20.0
- prismjs: 1.30.0
- react: 19.2.8
- refractor: 3.6.0
-
dependencies:
'@babel/runtime': 7.29.7
@@ -12480,12 +11692,6 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
- dependencies:
- clsx: 2.1.1
- react: 19.2.8
- react-dom: 19.2.8([email protected])
-
dependencies:
'@babel/runtime': 7.29.7
@@ -12497,20 +11703,12 @@ snapshots:
- dependencies:
- pify: 2.3.0
-
dependencies:
inherits: 2.0.4
string_decoder: 1.3.0
util-deprecate: 1.0.2
- dependencies:
- picomatch: 2.3.2
-
@@ -12541,12 +11739,6 @@ snapshots:
- '@node-rs/xxhash'
- '@opentelemetry/api'
- dependencies:
- hastscript: 6.0.0
- parse-entities: 2.0.0
- prismjs: 1.27.0
-
dependencies:
'@types/hast': 3.0.5
@@ -12636,7 +11828,8 @@ snapshots:
dependencies:
resolve-from: 5.0.0
+ optional: true
@@ -12702,10 +11895,6 @@ snapshots:
dependencies:
queue-microtask: 1.2.3
- dependencies:
- tslib: 2.8.1
-
@@ -12814,14 +12003,10 @@ snapshots:
buffer-from: 1.1.2
source-map: 0.6.1
-
-
@@ -12900,8 +12085,6 @@ snapshots:
dependencies:
inline-style-parser: 0.2.7
-
dependencies:
'@jridgewell/gen-mapping': 0.3.13
@@ -12922,36 +12105,9 @@ snapshots:
-
- dependencies:
- '@alloc/quick-lru': 5.2.0
- arg: 5.0.2
- chokidar: 3.6.0
- didyoumean: 1.2.2
- dlv: 1.1.3
- fast-glob: 3.3.3
- glob-parent: 6.0.2
- is-glob: 4.0.3
- jiti: 1.21.7
- lilconfig: 2.1.0
- micromatch: 4.0.8
- normalize-path: 3.0.0
- object-hash: 3.0.0
- picocolors: 1.1.1
- postcss: 8.5.22
- postcss-import: 15.1.0([email protected])
- postcss-js: 4.1.0([email protected])
- postcss-load-config: 4.0.2([email protected])
- postcss-nested: 6.2.0([email protected])
- postcss-selector-parser: 6.1.4
- resolve: 1.22.11
- sucrase: 3.35.1
- transitivePeerDependencies:
- - ts-node
@@ -12971,31 +12127,6 @@ snapshots:
- [email protected](4764be86a9d6d6cfa9a2d08252009a0c):
- dependencies:
- '@emotion/react': 11.14.0(@types/[email protected])([email protected])([email protected])
- '@fortawesome/fontawesome-svg-core': 6.7.2
- '@fortawesome/free-regular-svg-icons': 6.7.2
- '@fortawesome/free-solid-svg-icons': 6.7.2
- '@fortawesome/react-fontawesome': 0.2.6(@fortawesome/[email protected])([email protected])
- '@openuidev/react-lang': 0.1.5(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])
- classnames: 2.5.1
- clsx: 2.1.1
- lucide-react: 0.511.0([email protected])
- monaco-editor: 0.52.2
- react: 19.2.8
- react-dom: 19.2.8([email protected])
- tailwind-merge: 2.6.1
- tailwindcss: 3.3.3
- transitivePeerDependencies:
- - '@types/react'
- - supports-color
-
dependencies:
thenify: 3.3.1
@@ -13033,7 +12164,7 @@ snapshots:
- [email protected](patch_hash=2dd458ac139d735ffb9d9fadc203e4314f0a0f0c7338c365cc0bb4b4f4c8f6b4): {}
dependencies:
@@ -13382,7 +12513,8 @@ snapshots:
+ optional: true
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 817d3a69a..dc0fac69b 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -15,28 +15,11 @@ allowBuilds:
# Silence peer mismatches between agent-ui-sdk peers and the versions we pin.
peerDependencyRules:
allowedVersions:
- '@truefoundry/assistant-ui-runtime': '0.1.4'
- truefoundry-gateway-sdk: '0.4.0-rc.2'
+ '@truefoundry/assistant-ui-runtime': '0.1.6-rc.2'
# One Context module for assistant-ui (avoids "requires an AuiProvider").
overrides:
- '@assistant-ui/store': '0.2.20'
- '@assistant-ui/core': '0.2.21'
+ '@assistant-ui/store': '0.2.21'
+ '@assistant-ui/core': '0.2.22'
# [email protected] ships accidental .claude/ files that break installs under macOS sandbox.
resolve: '1.22.11'
-
-# tfy-web-components imports packages it does not declare (breaks Vite/pnpm resolution).
-packageExtensions:
- tfy-web-components:
- dependencies:
- react-toastify: '^11.0.5'
- '@emotion/react': '^11.14.0'
- '@emotion/styled': '^11.14.0'
- '@fortawesome/free-solid-svg-icons': '^6.7.2'
- classnames: '^2.5.1'
- clsx: '^2.1.1'
- lucide-react: '^0.511.0'
- tailwind-merge: '^2.6.0'
-
-patchedDependencies: