Commit 3a7660371 for llama.cpp
commit 3a7660371dd3788e5a64aeaf4ed87b4c21af1265
Author: Aleksander Grygier <aleksander.grygier@gmail.com>
Date: Mon Nov 16 17:23:36 2026 +0100
ui: move the web UI to ui/apps/chat and call it Llama Chat (#32032)
* ui: move tools/ui to ui/apps/chat
The chat app moves to its own root folder, ui/apps/chat, as the first step of splitting the UI into one library
(ui/lib) and the apps built on it (ui/apps). The code is unchanged; every path that pointed at tools/ui now points at
ui/apps/chat: CMake adds it from tools/, and the Dockerfiles, the Nix package, the workflows, the labeler, CODEOWNERS,
.editorconfig, the git hooks, the dev and demo scripts and the docs follow it.
Assisted-by: Claude (Opus 5.5 Medium)
* ui: name Llama Chat's package @ggml-org/llama-chat
It was still called llama-ui, the name of the library that now sits beside it
in ui/lib (@ggml-org/llama-ui). The package stays private; the app's display name
and the llama-ui.zip build artifact are unchanged.
Assisted-by: Claude (Opus 5.5 Medium)
* ui: call the built-in web UI Llama Chat in docs, help text and comments
The app in tools/ui is Llama Chat; Llama UI is the component library it is
built from. Prose that said "Web UI", "web UI" or "WebUI" for the app now
names it: the READMEs, SECURITY.md, the --ui help text, the CMake option
description, one server log line, code comments and the Storybook intro.
Names that others depend on are unchanged: the deprecated --webui flag
aliases, the LLAMA_*_WEBUI CMake and environment names, the webui_settings
field, the storage migration keys and the Nix attributes.
Assisted-by: Claude (Opus 5.5 Medium)
* ui: name tools/ui as a former path of Llama Chat in the code-review skill
Changes under the old tools/ui path, as well as tools/server/webui, still
get the Llama Chat checklist.
Assisted-by: Claude (Opus 5.5 Medium)
* ui: name Llama Chat's path in the security policy's exclusions
Llama Chat no longer lives under tools/server/, so the exclusion listed
under it now names ui/apps/chat. What is covered stays the same.
Assisted-by: Claude (Opus 5.5 Medium)
diff --git a/.devops/cann.Dockerfile b/.devops/cann.Dockerfile
index 182c71cdf..1d4393613 100644
--- a/.devops/cann.Dockerfile
+++ b/.devops/cann.Dockerfile
@@ -19,12 +19,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM ${CANN_BASE_IMAGE} AS build
@@ -40,7 +40,7 @@ WORKDIR /app
# -- Copy project files --
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
# -- Set CANN environment variables (required for compilation) --
# Using ENV instead of `source` allows environment variables to persist across the entire image layer
diff --git a/.devops/cpu.Dockerfile b/.devops/cpu.Dockerfile
index 0809c8b7e..605247ac2 100644
--- a/.devops/cpu.Dockerfile
+++ b/.devops/cpu.Dockerfile
@@ -9,12 +9,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM docker.io/ubuntu:$UBUNTU_VERSION AS build
@@ -28,7 +28,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ]; then \
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON; \
diff --git a/.devops/cuda.Dockerfile b/.devops/cuda.Dockerfile
index 2c872ab4a..33f686577 100644
--- a/.devops/cuda.Dockerfile
+++ b/.devops/cuda.Dockerfile
@@ -17,12 +17,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM ${BASE_CUDA_DEV_CONTAINER} AS build
@@ -40,7 +40,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
export CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=${CUDA_DOCKER_ARCH}"; \
diff --git a/.devops/intel.Dockerfile b/.devops/intel.Dockerfile
index 9f4a8fc99..214e3d320 100644
--- a/.devops/intel.Dockerfile
+++ b/.devops/intel.Dockerfile
@@ -11,12 +11,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM docker.io/intel/deep-learning-essentials:$ONEAPI_VERSION AS build
@@ -41,7 +41,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
echo "GGML_SYCL_F16 is set" \
diff --git a/.devops/musa.Dockerfile b/.devops/musa.Dockerfile
index 84969675a..b4185c932 100644
--- a/.devops/musa.Dockerfile
+++ b/.devops/musa.Dockerfile
@@ -15,12 +15,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM ${BASE_MUSA_DEV_CONTAINER} AS build
@@ -45,7 +45,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN if [ "${MUSA_DOCKER_ARCH}" != "default" ]; then \
export CMAKE_ARGS="-DMUSA_ARCHITECTURES=${MUSA_DOCKER_ARCH}"; \
diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix
index e807b4d71..71b2c2f08 100644
--- a/.devops/nix/package.nix
+++ b/.devops/nix/package.nix
@@ -133,11 +133,11 @@ effectiveStdenv.mkDerivation (finalAttrs: {
src = lib.cleanSource ../../.;
};
- # Builds the webui locally, taking care not to require updating any sha256 hash.
+ # Builds Llama Chat locally, taking care not to require updating any sha256 hash.
webui = stdenvNoCC.mkDerivation {
pname = "webui";
version = llamaVersion;
- src = lib.cleanSource ../../tools/ui;
+ src = lib.cleanSource ../../ui/apps/chat;
nativeBuildInputs = [
nodejs
@@ -146,7 +146,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
# no sha256 required when using buildNodeModules
npmDeps = importNpmLock.buildNodeModules {
- npmRoot = ../../tools/ui;
+ npmRoot = ../../ui/apps/chat;
inherit nodejs;
};
@@ -156,8 +156,8 @@ effectiveStdenv.mkDerivation (finalAttrs: {
};
postPatch = lib.optionalString useWebUi ''
- cp -r ${finalAttrs.webui} tools/ui/dist
- chmod -R u+w tools/ui/dist
+ cp -r ${finalAttrs.webui} ui/apps/chat/dist
+ chmod -R u+w ui/apps/chat/dist
'';
# With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,
diff --git a/.devops/openvino.Dockerfile b/.devops/openvino.Dockerfile
index 680ad7db6..de6a16c75 100644
--- a/.devops/openvino.Dockerfile
+++ b/.devops/openvino.Dockerfile
@@ -28,12 +28,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
## Build Image
@@ -83,7 +83,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
# Build Stage
RUN bash -c "source ${OpenVINO_DIR}/setupvars.sh && \
diff --git a/.devops/rocm.Dockerfile b/.devops/rocm.Dockerfile
index 310f4f6d9..ab4ef0b74 100644
--- a/.devops/rocm.Dockerfile
+++ b/.devops/rocm.Dockerfile
@@ -17,12 +17,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
### Build image
@@ -52,7 +52,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" \
cmake -S . -B build \
diff --git a/.devops/vulkan.Dockerfile b/.devops/vulkan.Dockerfile
index 96b7e66ec..ce40d6969 100644
--- a/.devops/vulkan.Dockerfile
+++ b/.devops/vulkan.Dockerfile
@@ -9,12 +9,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM docker.io/ubuntu:$UBUNTU_VERSION AS build
@@ -31,7 +31,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN cmake -B build -DGGML_NATIVE=OFF -DGGML_VULKAN=ON -DLLAMA_BUILD_TESTS=OFF -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON && \
cmake --build build --config Release -j$(nproc)
diff --git a/.devops/zendnn.Dockerfile b/.devops/zendnn.Dockerfile
index a6e54ca85..ef9d4de45 100644
--- a/.devops/zendnn.Dockerfile
+++ b/.devops/zendnn.Dockerfile
@@ -9,12 +9,12 @@ FROM docker.io/node:$NODE_VERSION AS web
ARG APP_VERSION
-WORKDIR /app/tools/ui
+WORKDIR /app/ui/apps/chat
-COPY tools/ui/package.json tools/ui/package-lock.json ./
+COPY ui/apps/chat/package.json ui/apps/chat/package-lock.json ./
RUN npm ci
-COPY tools/ui/ ./
+COPY ui/apps/chat/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build
FROM docker.io/ubuntu:$UBUNTU_VERSION AS build
@@ -28,7 +28,7 @@ WORKDIR /app
COPY . .
-COPY --from=web /app/tools/ui/dist tools/ui/dist
+COPY --from=web /app/ui/apps/chat/dist ui/apps/chat/dist
RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DGGML_ZENDNN=ON && \
cmake --build build -j $(nproc)
diff --git a/.dockerignore b/.dockerignore
index 0b81e83bf..083eaed9c 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -10,7 +10,7 @@
build*/
-tools/ui/node_modules/
+ui/apps/chat/node_modules/
models/*
diff --git a/.editorconfig b/.editorconfig
index 1474554f8..5272e6ce0 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -48,7 +48,7 @@ insert_final_newline = unset
[vendor/**.patch]
trim_trailing_whitespace = unset
-[tools/ui/**]
+[ui/**]
indent_style = unset
indent_size = unset
end_of_line = unset
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 20e19c352..6b1b00467 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -48,7 +48,6 @@ examples:
- all-globs-to-all-files:
- '!tools/server/**'
- '!tools/mtmd/**'
- - '!tools/ui/**'
testing:
- changed-files:
- any-glob-to-any-file:
@@ -72,7 +71,7 @@ android:
server/ui:
- changed-files:
- any-glob-to-any-file:
- - tools/ui/**
+ - ui/**
server:
- changed-files:
- any-glob-to-any-file:
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 778e7b062..2272ac35a 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -182,7 +182,7 @@ jobs:
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
# - name: Set up QEMU
# if: ${{ contains(matrix.config.platforms, 'linux/amd64') }}
diff --git a/.github/workflows/pr-video-demo-label.yml b/.github/workflows/pr-video-demo-label.yml
index 9b3165fa2..f6f856753 100644
--- a/.github/workflows/pr-video-demo-label.yml
+++ b/.github/workflows/pr-video-demo-label.yml
@@ -22,7 +22,7 @@ jobs:
BODY: ${{ github.event.pull_request.body }}
HAS_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'video demo') }}
run: |
- # sections written by demo:pr (see tools/ui/demo/cli.ts): the managed comment
+ # sections written by demo:pr (see ui/apps/chat/demo/cli.ts): the managed comment
# markers, or a preview linking to a demo video uploaded for this PR
has_demo=false
if { grep -qF '<!-- demo:start -->' <<< "$BODY" && grep -qF '<!-- demo:end -->' <<< "$BODY"; } ||
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4777f613e..4d78c9985 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -130,7 +130,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: ccache
uses: ggml-org/ccache-action@v1.2.24
@@ -196,7 +196,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Dependencies
id: depends
@@ -274,7 +274,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Dependencies
id: depends
@@ -381,7 +381,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Dependencies
id: depends
@@ -479,7 +479,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Set up JDK
uses: actions/setup-java@v5
@@ -571,7 +571,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Build
id: cmake_build
@@ -624,7 +624,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Build
id: cmake_build
@@ -672,7 +672,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: ccache
uses: ggml-org/ccache-action@v1.2.24
@@ -894,7 +894,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Install Ninja
run: |
@@ -1460,7 +1460,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Dependencies
id: depends
@@ -1532,7 +1532,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Free up disk space
uses: ggml-org/free-disk-space@v1.3.1
@@ -1647,7 +1647,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist
+ path: ui/apps/chat/dist
- name: Dependencies
id: depends
diff --git a/.github/workflows/ui-build-self-hosted.yml b/.github/workflows/ui-build-self-hosted.yml
index 0ba2eb983..660786ff7 100644
--- a/.github/workflows/ui-build-self-hosted.yml
+++ b/.github/workflows/ui-build-self-hosted.yml
@@ -23,20 +23,20 @@ jobs:
with:
node-version: "24"
# cache: "npm"
- # cache-dependency-path: "tools/ui/package-lock.json"
+ # cache-dependency-path: "ui/apps/chat/package-lock.json"
package-manager-cache: false
- name: Install dependencies
run: npm ci
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Build application
run: npm run build
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Upload built UI
uses: actions/upload-artifact@v6
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
retention-days: 1
diff --git a/.github/workflows/ui-build.yml b/.github/workflows/ui-build.yml
index f229fcd04..67fc2fadc 100644
--- a/.github/workflows/ui-build.yml
+++ b/.github/workflows/ui-build.yml
@@ -37,26 +37,26 @@ jobs:
with:
node-version: "24"
# cache: "npm"
- # cache-dependency-path: "tools/ui/package-lock.json"
+ # cache-dependency-path: "ui/apps/chat/package-lock.json"
package-manager-cache: false
- name: Install dependencies
run: npm ci
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Build application
env:
LLAMA_BUILD_NUMBER: ${{ steps.version.outputs.ui_version }}
run: npm run build
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run PWA unit tests (versioned build output)
run: npx vitest --project=unit --run tests/unit/pwa.spec.ts
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Upload built UI
uses: actions/upload-artifact@v7
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
retention-days: 1
diff --git a/.github/workflows/ui-publish.yml b/.github/workflows/ui-publish.yml
index d77b899b2..fc624e3e8 100644
--- a/.github/workflows/ui-publish.yml
+++ b/.github/workflows/ui-publish.yml
@@ -33,15 +33,15 @@ jobs:
uses: actions/download-artifact@v8
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
run-id: ${{ inputs.run_id }}
github-token: ${{ github.token }}
- name: Create distribution archive
run: |
- tar -czf dist.tar.gz -C tools/ui/dist .
+ tar -czf dist.tar.gz -C ui/apps/chat/dist .
sha256sum dist.tar.gz > dist.tar.gz.sha256
- mv dist.tar.gz dist.tar.gz.sha256 tools/ui/dist/
+ mv dist.tar.gz dist.tar.gz.sha256 ui/apps/chat/dist/
- name: Install Hugging Face Hub CLI
run: pip install -U huggingface_hub
@@ -52,12 +52,12 @@ jobs:
- name: Sync built files to Hugging Face bucket (version tag)
run: |
# Upload the built files to the Hugging Face bucket under the release version
- hf buckets sync tools/ui/dist hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/${{ inputs.version_tag }} --delete --quiet
+ hf buckets sync ui/apps/chat/dist hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/${{ inputs.version_tag }} --delete --quiet
- name: Sync built files to Hugging Face bucket (latest)
run: |
# Also upload to the 'latest' directory for fallback downloads
- hf buckets sync tools/ui/dist hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/latest --delete --quiet
+ hf buckets sync ui/apps/chat/dist hf://buckets/ggml-org/${{ env.HF_BUCKET_NAME }}/latest --delete --quiet
- name: Verify upload
run: |
diff --git a/.github/workflows/ui-self-hosted.yml b/.github/workflows/ui-self-hosted.yml
index 93b7805f1..4eb6620d0 100644
--- a/.github/workflows/ui-self-hosted.yml
+++ b/.github/workflows/ui-self-hosted.yml
@@ -17,7 +17,7 @@ on:
paths: [
'.github/workflows/ui-self-hosted.yml',
'.github/workflows/ui-build-self-hosted.yml',
- 'tools/ui/**.*',
+ 'ui/apps/chat/**.*',
'tools/server/tests/**.*'
]
pull_request:
@@ -25,7 +25,7 @@ on:
paths: [
'.github/workflows/ui-self-hosted.yml',
'.github/workflows/ui-build-self-hosted.yml',
- 'tools/ui/**.*',
+ 'ui/apps/chat/**.*',
'tools/server/tests/**.*'
]
@@ -67,33 +67,33 @@ jobs:
- name: Install dependencies
id: setup
run: npm ci
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Download built UI artifacts
uses: actions/download-artifact@v6
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
- name: Run type checking
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run check
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run linting
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run lint
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run Client tests
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run test:client
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run Unit tests
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run test:unit
- working-directory: tools/ui
+ working-directory: ui/apps/chat
e2e-tests:
name: E2E Tests
@@ -109,25 +109,25 @@ jobs:
- name: Install dependencies
id: setup
run: npm ci
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Download built UI artifacts
uses: actions/download-artifact@v6
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
- name: Build Storybook
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run build-storybook
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run UI tests
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run test:ui -- --testTimeout=60000
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run E2E tests
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run test:e2e
- working-directory: tools/ui
+ working-directory: ui/apps/chat
diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml
index c5c6a32a8..0c9b85ecd 100644
--- a/.github/workflows/ui.yml
+++ b/.github/workflows/ui.yml
@@ -13,7 +13,7 @@ on:
paths: [
'.github/workflows/ui.yml',
'.github/workflows/ui-build.yml',
- 'tools/ui/**.*',
+ 'ui/apps/chat/**.*',
'tools/server/tests/**.*'
]
pull_request:
@@ -21,7 +21,7 @@ on:
paths: [
'.github/workflows/ui.yml',
'.github/workflows/ui-build.yml',
- 'tools/ui/**.*',
+ 'ui/apps/chat/**.*',
'tools/server/tests/**.*'
]
@@ -66,46 +66,46 @@ jobs:
with:
node-version: "24"
# cache: "npm"
- # cache-dependency-path: "tools/ui/package-lock.json"
+ # cache-dependency-path: "ui/apps/chat/package-lock.json"
package-manager-cache: false
- name: Download built UI artifacts
uses: actions/download-artifact@v6
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
- name: Install dependencies
id: setup
if: ${{ steps.node.conclusion == 'success' }}
run: npm ci
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run type checking
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run check
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run linting
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npm run lint
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Install Playwright browsers
id: playwright
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npx playwright install --with-deps
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run Client tests
if: ${{ always() && steps.playwright.conclusion == 'success' }}
run: npm run test:client
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run Unit tests (uses pre-built dist/ from ui-build)
if: ${{ always() && steps.playwright.conclusion == 'success' }}
run: npm run test:unit
- working-directory: tools/ui
+ working-directory: ui/apps/chat
e2e-tests:
name: E2E Tests
@@ -124,38 +124,38 @@ jobs:
with:
node-version: "24"
# cache: "npm"
- # cache-dependency-path: "tools/ui/package-lock.json"
+ # cache-dependency-path: "ui/apps/chat/package-lock.json"
package-manager-cache: false
- name: Install dependencies
id: setup
if: ${{ steps.node.conclusion == 'success' }}
run: npm ci
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Download built UI artifacts (reuses ui-build)
uses: actions/download-artifact@v6
with:
name: llama-ui.zip
- path: tools/ui/dist/
+ path: ui/apps/chat/dist/
- name: Install Playwright browsers
id: playwright
if: ${{ always() && steps.setup.conclusion == 'success' }}
run: npx playwright install --with-deps
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Build Storybook
if: ${{ always() && steps.playwright.conclusion == 'success' }}
run: npm run build-storybook
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run UI tests
if: ${{ always() && steps.playwright.conclusion == 'success' }}
run: npm run test:ui -- --testTimeout=60000
- working-directory: tools/ui
+ working-directory: ui/apps/chat
- name: Run E2E tests (uses pre-built dist/ from ui-build)
if: ${{ always() && steps.playwright.conclusion == 'success' }}
run: npm run test:e2e
- working-directory: tools/ui
+ working-directory: ui/apps/chat
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 30aed5c91..7be920fbb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,7 +134,7 @@ option(LLAMA_BUILD_TOOLS "llama: build tools"
option(LLAMA_BUILD_EXAMPLES "llama: build examples" ${LLAMA_STANDALONE})
option(LLAMA_BUILD_SERVER "llama: build server example" ${LLAMA_STANDALONE})
option(LLAMA_BUILD_APP "llama: build the unified binary" ${LLAMA_STANDALONE})
-option(LLAMA_BUILD_UI "llama: build the embedded Web UI for server" OFF)
+option(LLAMA_BUILD_UI "llama: build Llama Chat, the embedded chat app, for server" OFF)
option(LLAMA_USE_PREBUILT_UI "llama: use prebuilt UI from HF Bucket when available" ON)
option(LLAMA_CONNECT "llama: include the llama-connect tool (downloads a prebuilt binary)" OFF)
diff --git a/CODEOWNERS b/CODEOWNERS
index f34a07f02..af0553ac4 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -102,7 +102,7 @@
/tools/rpc/ @ggml-org/ggml-rpc
/tools/server/* @ggml-org/llama-server # no subdir
/tools/server/tests/ @ggml-org/llama-server
-/tools/ui/ @ggml-org/llama-ui
+/ui/ @ggml-org/llama-ui
/tools/tokenize/ @ggerganov
/tools/tts/ @ggerganov
/vendor/ @ggerganov
diff --git a/README.md b/README.md
index defa19e7a..0bdcbc8ce 100644
--- a/README.md
+++ b/README.md
@@ -57,8 +57,8 @@ llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
<i>VLM session with <b>llama cli</b></i>
</td>
<td align="center">
- <img width="1392" height="958" alt="Built-in web UI against `llama serve` running Qwen 3.6" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" />
- <i>Built-in web UI against <b>llama serve</b></i>
+ <img width="1392" height="958" alt="Llama Chat, the built-in chat app, against `llama serve` running Qwen 3.6" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" />
+ <i>Llama Chat, the built-in chat app, against <b>llama serve</b></i>
</td>
</tr>
<table>
diff --git a/SECURITY.md b/SECURITY.md
index bc6ed9d80..e78187164 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -46,7 +46,7 @@ Only vulnerabilities that fall within these parts of the project are considered
- `ggml/**/*`
- `gguf-py/**/*`
- `tools/server/*`, **excluding** the following topics:
- - Web UI
+ - Llama Chat, the built-in chat app (`ui/apps/chat`)
- Features marked as experimental
- Features not recommended for use in untrusted environments (e.g., router, MCP)
- Bugs that can lead to Denial-of-Service attack
diff --git a/common/arg.cpp b/common/arg.cpp
index e06cc3617..c5fcecac9 100644
--- a/common/arg.cpp
+++ b/common/arg.cpp
@@ -3416,7 +3416,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
add_opt(common_arg(
{"--ui-mcp-proxy", "--webui-mcp-proxy"},
{"--no-ui-mcp-proxy", "--no-webui-mcp-proxy"},
- "experimental: whether to enable MCP CORS proxy, for the Web UI to reach public MCP servers without CORS headers; local and private addresses are refused - do not enable in untrusted environments (default: disabled)\n"
+ "experimental: whether to enable MCP CORS proxy, for Llama Chat to reach public MCP servers without CORS headers; local and private addresses are refused - do not enable in untrusted environments (default: disabled)\n"
"note: for security reasons, this will limit --cors-origins to localhost by default",
[](common_params & params, bool value) {
params.ui_mcp_proxy = value;
@@ -3485,7 +3485,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
add_opt(common_arg(
{"--ui", "--webui"},
{"--no-ui", "--no-webui"},
- string_format("whether to enable the Web UI (default: %s)", params.ui ? "enabled" : "disabled"),
+ string_format("whether to enable Llama Chat, the built-in chat app (default: %s)", params.ui ? "enabled" : "disabled"),
[](common_params & params, bool value) {
params.ui = value;
}
diff --git a/docs/backend/OPENVINO.md b/docs/backend/OPENVINO.md
index decc588a9..00effa9a8 100644
--- a/docs/backend/OPENVINO.md
+++ b/docs/backend/OPENVINO.md
@@ -692,7 +692,7 @@ llama-openvino:server --no-warmup -c 1024 -m /models/Llama-3.2-1B-Instruct-Q4_K_
# Or Using llama-server executable
./build/ReleaseOV/bin/llama-server -m ~/models/Llama-3.2-1B-Instruct-Q4_K_M.gguf --port 8080 -c 1024
-# Option 1: Open your browser to http://localhost:8080 to access the web UI for the llama.cpp server.
+# Option 1: Open your browser to http://localhost:8080 to open Llama Chat, the built-in chat app of the llama.cpp server.
# Option 2: In a NEW terminal, test the server with curl
# If you are behind a proxy, make sure to set NO_PROXY to avoid proxy for localhost
diff --git a/scripts/make-release-summary.txt b/scripts/make-release-summary.txt
index e8a6783bf..cb75a19ab 100644
--- a/scripts/make-release-summary.txt
+++ b/scripts/make-release-summary.txt
@@ -33,7 +33,7 @@ Write a summary of the change log in a few sections:
### UI changes (if applicable)
-[summarize the changes to `/tools/ui/`]
+[summarize the changes to `/ui/apps/chat/`]
### ggml changes (if applicable)
diff --git a/scripts/ui-assets.cmake b/scripts/ui-assets.cmake
index dec34ebda..24fd686b5 100644
--- a/scripts/ui-assets.cmake
+++ b/scripts/ui-assets.cmake
@@ -144,7 +144,7 @@ endfunction()
# Generate ui.cpp/ui.h embedding every file of ${dist_dir} (empty table when
# it has no index.html), gzip-compressed when LLAMA_UI_GZIP is enabled.
function(emit_files dist_dir)
- set(UI_TEMPLATE_DIR "${LLAMA_SOURCE_DIR}/tools/ui")
+ set(UI_TEMPLATE_DIR "${LLAMA_SOURCE_DIR}/ui/apps/chat")
# Collect the asset list once and reuse it for the fingerprint,
# validation, compression and embedding.
@@ -518,7 +518,7 @@ function(hf_download version out_var out_resolved)
endfunction()
# ---------------------------------------------------------------------------
-# 1. Priority 1: pre-built assets supplied in tools/ui/dist
+# 1. Priority 1: pre-built assets supplied in ui/apps/chat/dist
# ---------------------------------------------------------------------------
if(EXISTS "${SRC_DIST_DIR}/index.html")
message(STATUS "UI: using pre-built assets from ${SRC_DIST_DIR}")
@@ -585,7 +585,7 @@ if(NOT provisioned)
"In a disconnected environment, download the pre-built UI "
"from a llama.cpp release at "
"https://github.com/ggml-org/llama.cpp/releases and "
- "extract to tools/ui/dist.")
+ "extract to ui/apps/chat/dist.")
endif()
endif()
diff --git a/skills/code-review/SKILL.md b/skills/code-review/SKILL.md
index d72b46712..c82ed2567 100644
--- a/skills/code-review/SKILL.md
+++ b/skills/code-review/SKILL.md
@@ -22,7 +22,7 @@ Identify what actually changed and which area checklists below apply. Run `git d
- `ggml/` (any backend, op, or `ggml.h`) -> **ggml / backend**
- `include/llama.h` and other public headers -> **Public API**
- `tools/server/` -> **Server**
-- `tools/ui/` (or the legacy `tools/server/webui/`) -> **WebUI**
+- `ui/apps/chat/` (or the legacy `tools/ui/`, `tools/server/webui/`) -> **Llama Chat**
- `tests/`, `tools/server/tests/`, or any other added/changed test -> **Tests**
- anything else, plus all of the above -> **General** (always runs)
@@ -119,9 +119,9 @@ Public API changes carry a higher bar than internal ones (`CONTRIBUTING.md`). Re
- Security: don't trust client-supplied headers (e.g. `X-Forwarded-For`) or add footguns; things like IP allowlisting belong at a reverse proxy unless there's a trusted-proxy design.
- Wire new behavior into the existing request/response and checkpoint paths correctly; watch for resource leaks across requests.
-## WebUI (`tools/ui/`)
+## Llama Chat (`ui/apps/chat/`)
-These apply only to changes under `tools/ui/` (formerly `tools/server/webui/`) - the SvelteKit + Svelte 5 frontend. They are frontend conventions, not repo-wide ones, so do not apply them to C++ or other tool code.
+These apply only to changes under `ui/apps/chat/` (formerly `tools/ui/`, `tools/server/webui/`) - the SvelteKit + Svelte 5 frontend. They are frontend conventions, not repo-wide ones, so do not apply them to C++ or other tool code.
The dominant review theme in this area is placement: most accepted nits are about putting a value, function, or piece of logic in the layer where it belongs.
@@ -192,7 +192,7 @@ Adjacent data-shape rule: empty string is not a valid "unset" initial state - us
- Sanitize anything rendered from model or remote data: the rehype/`{@html}` pipeline, SVG content, and URLs (use the `$lib/utils` URL sanitizer rather than ad-hoc checks or a third-party lib for trivial cases).
- Proxy headers and agent/tool filesystem access are security boundaries - scope enforcement (e.g. browse-root sandboxing) must be validated end-to-end, not just in the UI; loop in server reviewers for the C++ side.
-### PR hygiene specific to `tools/ui`
+### PR hygiene specific to `ui/apps/chat`
- Build artifacts are not committed - the UI is built by CI (`.github/workflows/ui-build.yml`) and downloaded/bundled at release time. `npm run build` must still succeed locally; a red UI build job is blocking.
- `npm run lint && npm run check` (and `npm run format`) must pass; a failing Storybook test is blocking.
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 6a6592c7b..57d53df25 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -22,7 +22,8 @@ else()
add_subdirectory(perplexity)
add_subdirectory(quantize)
if (LLAMA_BUILD_SERVER)
- add_subdirectory(ui)
+ # the chat app lives in ui/apps/chat, outside tools/
+ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../ui/apps/chat ${CMAKE_BINARY_DIR}/ui/apps/chat)
add_subdirectory(cli)
add_subdirectory(server)
endif()
diff --git a/tools/server/README-dev.md b/tools/server/README-dev.md
index 85fb3f78e..afe729878 100644
--- a/tools/server/README-dev.md
+++ b/tools/server/README-dev.md
@@ -15,7 +15,7 @@ In-scope types of feature:
- Multimodal input/output
- Memory management: save/load state, context checkpoints
- Model management
- - Features that are required by the Web UI
+ - Features that are required by Llama Chat
- Frontend:
- Chat-oriented features, example: basic chat, image upload, edit messages
- Agentic features, example: MCP
@@ -182,7 +182,7 @@ For detailed instructions, see the [test documentation](./tests/README.md).
### API for tools
-This endpoint is intended to be used internally by the Web UI and subject to change or to be removed in the future.
+This endpoint is intended to be used internally by Llama Chat and subject to change or to be removed in the future.
**GET /tools**
@@ -279,7 +279,7 @@ For the direction from router to child:
Model management API was added via PR [#23976](https://github.com/ggml-org/llama.cpp/pull/23976)
-The main goal of this API is to allow downloading models and/or removing models from the web UI. It relies on the model cache infrastructure under the hood to manage the list of models dynamically.
+The main goal of this API is to allow downloading models and/or removing models from Llama Chat. It relies on the model cache infrastructure under the hood to manage the list of models dynamically.
Instead of building everything from the ground up (like what most AI agents will do when you ask them to implement a similar feature), we built on top of existing, already well-engineered components inside the codebase:
- Model cache infrastructure as mentioned above (`common/download.h`)
@@ -342,11 +342,11 @@ Endpoints created with `create_response(true)` (`/health`, `/props`, `/models`,
-## Web UI
+## Llama Chat
-The project includes a web-based user interface for interacting with `llama-server`. It supports both single-model (`MODEL` mode) and multi-model (`ROUTER` mode) operation.
+The project includes Llama Chat, a web-based chat app for interacting with `llama-server`. It supports both single-model (`MODEL` mode) and multi-model (`ROUTER` mode) operation.
-The SvelteKit-based Web UI is introduced in this PR: https://github.com/ggml-org/llama.cpp/pull/14839
+The SvelteKit-based app is introduced in this PR: https://github.com/ggml-org/llama.cpp/pull/14839
### Features
@@ -378,7 +378,7 @@ Routes → Components → Hooks → Stores → Services → Storage/API
- **Services** - stateless API/database communication (`ChatService`, `ModelsService`, `PropsService`, `DatabaseService`)
- **Hooks** - reusable logic (`useModelChangeValidation`, `useProcessingState`)
-For detailed architecture diagrams, see [`tools/ui/docs/`](../ui/docs/):
+For detailed architecture diagrams, see [`ui/apps/chat/docs/`](../../ui/apps/chat/docs/):
- `high-level-architecture.mmd` - full architecture with all modules
- `high-level-architecture-simplified.mmd` - simplified overview
@@ -390,7 +390,7 @@ For detailed architecture diagrams, see [`tools/ui/docs/`](../ui/docs/):
```sh
# make sure you have Node.js installed
-cd tools/ui
+cd ui/apps/chat
npm i
# run dev server (with hot reload)
diff --git a/tools/server/README.md b/tools/server/README.md
index 80f1cdf50..9d1028d25 100644
--- a/tools/server/README.md
+++ b/tools/server/README.md
@@ -2,7 +2,7 @@
Fast, lightweight, pure C/C++ HTTP server based on [httplib](https://github.com/yhirose/cpp-httplib), [nlohmann::json](https://github.com/nlohmann/json) and **llama.cpp**.
-Set of LLM REST APIs and a web UI to interact with llama.cpp.
+Set of LLM REST APIs and Llama Chat, a built-in chat app, to interact with llama.cpp.
**Features:**
* LLM inference of F16 and quantized models on GPU and CPU
@@ -17,7 +17,7 @@ Set of LLM REST APIs and a web UI to interact with llama.cpp.
* Prefilling of assistant messages similar to the Claude API
* [Function calling](../../docs/function-calling.md) / tool use for ~any model
* Speculative decoding
- * Easy-to-use web UI
+ * Llama Chat, an easy-to-use built-in chat app
For the full list of features, please refer to [server's changelog](https://github.com/ggml-org/llama.cpp/issues/9291)
@@ -202,14 +202,14 @@ For the full list of features, please refer to [server's changelog](https://gith
| `--api-prefix PREFIX` | prefix path the server serves from, without the trailing slash (default: )<br/>(env: LLAMA_ARG_API_PREFIX) |
| `--ui-config, --webui-config JSON` | JSON that provides default UI settings (overrides UI defaults)<br/>(env: LLAMA_ARG_UI_CONFIG) |
| `--ui-config-file, --webui-config-file PATH` | JSON file that provides default UI settings (overrides UI defaults)<br/>(env: LLAMA_ARG_UI_CONFIG_FILE) |
-| `--ui-mcp-proxy, --webui-mcp-proxy, --no-ui-mcp-proxy, --no-webui-mcp-proxy` | experimental: whether to enable MCP CORS proxy, for the Web UI to reach public MCP servers without CORS headers; local and private addresses are refused - do not enable in untrusted environments (default: disabled)<br/>note: for security reasons, this will limit --cors-origins to localhost by default<br/>(env: LLAMA_ARG_UI_MCP_PROXY) |
+| `--ui-mcp-proxy, --webui-mcp-proxy, --no-ui-mcp-proxy, --no-webui-mcp-proxy` | experimental: whether to enable MCP CORS proxy, for Llama Chat to reach public MCP servers without CORS headers; local and private addresses are refused - do not enable in untrusted environments (default: disabled)<br/>note: for security reasons, this will limit --cors-origins to localhost by default<br/>(env: LLAMA_ARG_UI_MCP_PROXY) |
| `--tools TOOL1,TOOL2,...` | experimental: whether to enable built-in tools for AI agents - do not enable in untrusted environments (default: no tools)<br/>specify "all" to enable all tools<br/>available tools: read_file, file_glob_search, grep_search, exec_shell_command, write_file, edit_file, get_info<br/>note: for security reasons, this will limit --cors-origins to localhost by default<br/>(env: LLAMA_ARG_TOOLS) |
| `--tools-runtime OPTION` | experimental: run tools in a separate runtime environment (default: none, use host environment)<br/>available options:<br/> 'docker:<image>', 'podman:<image>': spin up a new container and reuse it for all invocations, clean up on server exit<br/> 'docker-container:<id>', 'podman-container:<id>': use an existing container by ID, won't stop on server exit<br/> 'ssh:<target>': run tools on a remote POSIX host over SSH, key-based auth and a trusted host key are required<br/><br/>(env: LLAMA_ARG_TOOLS_RUNTIME) |
| `--allow-unauthenticated-tools` | allow server tools, MCP servers or MCP proxy on a non-loopback address without an API key - only for trusted networks (default: disabled)<br/>(env: LLAMA_ARG_ALLOW_UNAUTHENTICATED_TOOLS) |
| `--mcp-servers-config PATH` | experimental: path to JSON file with MCP server definitions (Cursor-compatible format) - do not enable in untrusted environments (default: none)<br/>note: for security reasons, this will limit --cors-origins to localhost by default<br/>(env: LLAMA_ARG_MCP_SERVERS_CONFIG) |
| `--mcp-servers-json JSON` | experimental: inline JSON with MCP server definitions (Cursor-compatible format) - do not enable in untrusted environments (default: none)<br/>note: for security reasons, this will limit --cors-origins to localhost by default<br/>(env: LLAMA_ARG_MCP_SERVERS_JSON) |
| `-ag, --agent, -no-ag, --no-agent` | whether to enable CORS proxy and all built-in tools - do not enable in untrusted environments (default: disabled)<br/>note: for security reasons, this will limit --cors-origins to localhost by default<br/>(env: LLAMA_ARG_AGENT) |
-| `--ui, --webui, --no-ui, --no-webui` | whether to enable the Web UI (default: enabled)<br/>(env: LLAMA_ARG_UI) |
+| `--ui, --webui, --no-ui, --no-webui` | whether to enable Llama Chat, the built-in chat app (default: enabled)<br/>(env: LLAMA_ARG_UI) |
| `--connect` | (experimental) open a peer-to-peer tunnel for server using llama-connect (default: disabled)<br/>(env: LLAMA_ARG_CONNECT) |
| `--connect-code CODE` | manually specify a 40-character code for --connect (default: generate a new one for each run)<br/>(env: LLAMA_ARG_CONNECT_CODE) |
| `--embedding, --embeddings` | restrict to only support embedding use case; use only with dedicated embedding models (default: disabled)<br/>(env: LLAMA_ARG_EMBEDDINGS) |
@@ -357,7 +357,7 @@ For more details, please refer to [multimodal documentation](../../docs/multimod
### Server tools support
-The server includes a set of server tools that enable the LLM to access the local file system directly from the Web UI.
+The server includes a set of server tools that enable the LLM to access the local file system directly from Llama Chat.
To use this feature, start the server with `--tools all`. You can also enable only specific tools by passing a comma-separated list: `--tools name1,name2,...`. Run `--help` for the full list of available tool names.
@@ -389,11 +389,11 @@ The same JSON can be passed inline with `--mcp-servers-json`. Each entry under `
| `cwd` | working directory of the child process |
| `timeout_ms` | per-tool-call timeout (default: 30000) |
-Every server is spawned once at startup to list its tools, then stopped, and respawned on demand when one of its tools is called. Tools are exposed as `<server>_<tool>` alongside the built-in ones: they show up in the Web UI and in `GET /tools`, and the model calls them like any other tool. A name colliding with an already registered tool is skipped. This is independent of `--tools`, MCP servers can be the only tools available.
+Every server is spawned once at startup to list its tools, then stopped, and respawned on demand when one of its tools is called. Tools are exposed as `<server>_<tool>` alongside the built-in ones: they show up in Llama Chat and in `GET /tools`, and the model calls them like any other tool. A name colliding with an already registered tool is skipped. This is independent of `--tools`, MCP servers can be the only tools available.
The child process runs with the same privileges as the server, so only declare commands you trust. As with `--tools`, `--cors-origins` then defaults to `localhost`.
-Note: `--ui-mcp-proxy` is unrelated, it only lets the Web UI reach public MCP servers that do not send CORS headers. It refuses local and private addresses (loopback, LAN, link-local); connect to those from the Web UI directly.
+Note: `--ui-mcp-proxy` is unrelated, it only lets Llama Chat reach public MCP servers that do not send CORS headers. It refuses local and private addresses (loopback, LAN, link-local); connect to those from Llama Chat directly.
Any server written against the [MCP specification](https://modelcontextprotocol.io) works as is, whether it uses an official SDK or not: the transport is one JSON-RPC message per line on stdio, so a script wrapping an existing program is a valid server too.
@@ -2044,7 +2044,7 @@ An invalid request returns the error `400`. A model that is not a decision model
## Server tools
-The server exposes a REST API under `/tools` that allows the Web UI to call server tools. This endpoint is intended to be used internally by the Web UI and subject to change or to be removed in the future.
+The server exposes a REST API under `/tools` that allows Llama Chat to call server tools. This endpoint is intended to be used internally by Llama Chat and subject to change or to be removed in the future.
**Please do NOT use this endpoint in a downstream application**
@@ -2643,9 +2643,9 @@ Apart from error types supported by OAI, we also have custom types that are spec
}
```
-### Custom default Web UI preferences
+### Custom default Llama Chat preferences
-You can specify default preferences for the web UI using `--ui-config <JSON config>` or `--ui-config-file <path to JSON config>`. For example, you can disable pasting long text as attachments and enable rendering Markdown in user messages with this command:
+You can specify default preferences for Llama Chat using `--ui-config <JSON config>` or `--ui-config-file <path to JSON config>`. For example, you can disable pasting long text as attachments and enable rendering Markdown in user messages with this command:
```bash
./llama-server -m model.gguf --ui-config '{"pasteLongTextToFileLen": 0, "renderUserContentAsMarkdown": true}'
diff --git a/tools/server/server-connect.cpp b/tools/server/server-connect.cpp
index 2313e39da..94e54aa5f 100644
--- a/tools/server/server-connect.cpp
+++ b/tools/server/server-connect.cpp
@@ -13,7 +13,7 @@
#include <thread>
#include <vector>
-// share code = room code + pass code, must match llama-connect and the Web UI
+// share code = room code + pass code, must match llama-connect and Llama Chat
// ref: https://github.com/ggml-org/llama-connect/blob/master/src/protocol.rs
static constexpr size_t CONNECT_ROOM_CODE_LEN = 8;
static constexpr size_t CONNECT_PASS_CODE_LEN = 32;
@@ -55,7 +55,7 @@ static std::string format_share_code(const std::string & code) {
return out;
}
-// whitespace is tolerated, the Web UI shows the code in blocks and users paste it back
+// whitespace is tolerated, Llama Chat shows the code in blocks and users paste it back
// returns an empty string if it is not a valid share code
static std::string normalize_share_code(const std::string & key) {
std::string code;
@@ -242,7 +242,7 @@ bool server_connect::start(const common_params & params, int port) {
SRV_INF("%s", "-----------------\n");
SRV_INF("%s", "remote access is enabled via llama-connect\n");
- SRV_INF("share code (enter it in the Web UI under Settings -> Remote Access): %s\n",
+ SRV_INF("share code (enter it in Llama Chat under Settings -> Remote Access): %s\n",
format_share_code(code).c_str());
SRV_WRN("%s", "anyone with this code can use this server, do not share it publicly\n");
SRV_INF("%s", "-----------------\n");
diff --git a/tools/server/server-http.cpp b/tools/server/server-http.cpp
index b7dc26c8a..e2fadc8b5 100644
--- a/tools/server/server-http.cpp
+++ b/tools/server/server-http.cpp
@@ -481,7 +481,7 @@ bool server_http_context::init_listener(const common_params & params) {
};
//
- // Web UI setup
+ // Llama Chat setup
//
// Use new `params.ui` field (backed by old `params.webui` for compat)
diff --git a/tools/server/server-models.cpp b/tools/server/server-models.cpp
index b9f0dfedc..5d5992c08 100644
--- a/tools/server/server-models.cpp
+++ b/tools/server/server-models.cpp
@@ -2058,7 +2058,7 @@ void server_models_routes::init_routes() {
// main instance
auto res = std::make_unique<server_http_res>();
json props = {
- // TODO: add support for this on web UI
+ // TODO: add support for this in Llama Chat
{"role", "router"},
{"max_instances", params.models_max},
{"models_autoload", params.models_autoload},
diff --git a/tools/server/server-stream.h b/tools/server/server-stream.h
index 1e7461285..00beaabbd 100644
--- a/tools/server/server-stream.h
+++ b/tools/server/server-stream.h
@@ -50,7 +50,7 @@ void server_stream_session_manager_stop();
// decoded path would split before the param is captured
server_http_context::handler_t server_stream_make_get_handler();
// POST /v1/streams/lookup with body {"conversation_ids": [...]}: only answers for ids the
-// caller already owns (the WebUI passes the convs visible in its sidebar), the server never
+// caller already owns (Llama Chat passes the convs visible in its sidebar), the server never
// lists ids it has not been asked about, so a random caller cannot enumerate live sessions
server_http_context::handler_t server_stream_make_lookup_handler();
server_http_context::handler_t server_stream_make_delete_handler();
diff --git a/tools/server/server-tools.cpp b/tools/server/server-tools.cpp
index c92f1e9f8..63626ddcc 100644
--- a/tools/server/server-tools.cpp
+++ b/tools/server/server-tools.cpp
@@ -1076,7 +1076,7 @@ struct server_tool_file_glob_search : server_tool {
}
// `base` is always absolute (resolve falls back to the server cwd), so
- // API clients (e.g. the web UI picker) can join the relative entries
+ // API clients (e.g. the Llama Chat picker) can join the relative entries
// into absolute paths. `plain_text_response` is what the model sees;
// `entries` is the same data as structured JSON for the UI picker,
// which reads `entries`/`base` instead of re-parsing the text.
@@ -1953,7 +1953,7 @@ static std::vector<std::unique_ptr<server_tool>> build_tools() {
// IMPORTANT: for contributors, please keep this array of tools as minimal as possible
// we only accept minimal i/o and shell command tools here
// for example, do not add: web search, get date time, etc.
- // high-level functionality should be added either via MCP or web UI
+ // high-level functionality should be added either via MCP or Llama Chat
std::vector<std::unique_ptr<server_tool>> tools;
tools.push_back(std::make_unique<server_tool_read_file>());
tools.push_back(std::make_unique<server_tool_file_glob_search>());
diff --git a/tools/server/server.cpp b/tools/server/server.cpp
index ca3eb2dbb..d14978286 100644
--- a/tools/server/server.cpp
+++ b/tools/server/server.cpp
@@ -279,7 +279,7 @@ static bool server_setup_features(
warn_names.push_back("peer-to-peer tunnel (llama-connect, experimental)");
}
- // CORS proxy (EXPERIMENTAL, only used by the Web UI for MCP)
+ // CORS proxy (EXPERIMENTAL, only used by Llama Chat for MCP)
if (params.ui_mcp_proxy) {
ctx_http.get ("/cors-proxy", ex_wrapper(proxy_handler_get));
ctx_http.post("/cors-proxy", ex_wrapper(proxy_handler_post));
diff --git a/tools/server/tests/unit/test_security.py b/tools/server/tests/unit/test_security.py
index ef4e48fa8..31082cc70 100644
--- a/tools/server/tests/unit/test_security.py
+++ b/tools/server/tests/unit/test_security.py
@@ -25,7 +25,7 @@ def test_access_public_endpoint(endpoint: str):
def test_access_static_assets_without_api_key():
- """Static web UI assets should not require API key authentication (issue #21229)"""
+ """Static Llama Chat assets should not require API key authentication (issue #21229)"""
global server
server.start()
for path in ["/", "/sw.js", "/manifest.webmanifest", "/_app/version.json"]:
diff --git a/tools/ui/.env.example b/ui/apps/chat/.env.example
similarity index 94%
rename from tools/ui/.env.example
rename to ui/apps/chat/.env.example
index a561a68a6..ed46f9ade 100644
--- a/tools/ui/.env.example
+++ b/ui/apps/chat/.env.example
@@ -13,7 +13,7 @@ VITE_PUBLIC_SERVER_ORIGIN='http://localhost:8033'
# DEMO_TRACES_DATASET='<owner>/<dataset>'
# DEMO_GITHUB_REPO='ggml-org/llama.cpp'
# DEMO_SERVER_ORIGIN='http://localhost:9931'
-# DEMO_LLAMA_SERVER='../../build/bin/llama-server'
+# DEMO_LLAMA_SERVER='../../../build/bin/llama-server'
# DEMO_COLOR_SCHEME='light'
# Device pixel ratio demos render and record at (1440x900 viewport)
# DEMO_SCALE='2'
diff --git a/tools/ui/.gitignore b/ui/apps/chat/.gitignore
similarity index 100%
rename from tools/ui/.gitignore
rename to ui/apps/chat/.gitignore
diff --git a/tools/ui/.npmrc b/ui/apps/chat/.npmrc
similarity index 100%
rename from tools/ui/.npmrc
rename to ui/apps/chat/.npmrc
diff --git a/tools/ui/.prettierignore b/ui/apps/chat/.prettierignore
similarity index 100%
rename from tools/ui/.prettierignore
rename to ui/apps/chat/.prettierignore
diff --git a/tools/ui/.prettierrc b/ui/apps/chat/.prettierrc
similarity index 100%
rename from tools/ui/.prettierrc
rename to ui/apps/chat/.prettierrc
diff --git a/tools/ui/.storybook/decorators/ModeWatcherDecorator.svelte b/ui/apps/chat/.storybook/decorators/ModeWatcherDecorator.svelte
similarity index 100%
rename from tools/ui/.storybook/decorators/ModeWatcherDecorator.svelte
rename to ui/apps/chat/.storybook/decorators/ModeWatcherDecorator.svelte
diff --git a/tools/ui/.storybook/decorators/TooltipProviderDecorator.svelte b/ui/apps/chat/.storybook/decorators/TooltipProviderDecorator.svelte
similarity index 100%
rename from tools/ui/.storybook/decorators/TooltipProviderDecorator.svelte
rename to ui/apps/chat/.storybook/decorators/TooltipProviderDecorator.svelte
diff --git a/tools/ui/.storybook/main.ts b/ui/apps/chat/.storybook/main.ts
similarity index 100%
rename from tools/ui/.storybook/main.ts
rename to ui/apps/chat/.storybook/main.ts
diff --git a/tools/ui/.storybook/preview.ts b/ui/apps/chat/.storybook/preview.ts
similarity index 100%
rename from tools/ui/.storybook/preview.ts
rename to ui/apps/chat/.storybook/preview.ts
diff --git a/tools/ui/CMakeLists.txt b/ui/apps/chat/CMakeLists.txt
similarity index 100%
rename from tools/ui/CMakeLists.txt
rename to ui/apps/chat/CMakeLists.txt
diff --git a/tools/ui/README.md b/ui/apps/chat/README.md
similarity index 97%
rename from tools/ui/README.md
rename to ui/apps/chat/README.md
index 2a8a4d817..78083be75 100644
--- a/tools/ui/README.md
+++ b/ui/apps/chat/README.md
@@ -91,7 +91,7 @@ Llama UI supports two server operation modes:
### 1. Install Dependencies
```bash
-cd tools/ui
+cd ui/apps/chat
npm ci
```
@@ -192,7 +192,7 @@ npm run build
The build process:
1. **Vite Build** - Bundles all TypeScript, Svelte, and CSS
-2. **Static Adapter** - Outputs to `../../build/tools/ui/dist` (llama-server's static file directory)
+2. **Static Adapter** - Outputs to `../../../build/ui/apps/chat/dist` (llama-server's static file directory)
3. **Post-Build Script** - Cleans up intermediate files
4. **Custom Plugin** - Creates `index.html` with:
- Inlined favicon as base64
@@ -200,7 +200,7 @@ The build process:
- Deterministic output (zeroed timestamps)
```text
-tools/ui/ → build → build/tools/ui/dist/
+ui/apps/chat/ → build → build/ui/apps/chat/dist/
├── src/ ├── index.html (served by llama-server)
├── static/ └── (favicon inlined)
└── ...
@@ -211,8 +211,8 @@ tools/ui/ → build → build/tools/ui/dist/
```javascript
// svelte.config.js
adapter: adapter({
- pages: '../../build/tools/ui/dist', // Output directory
- assets: '../../build/tools/ui/dist', // Static assets
+ pages: '../../../build/ui/apps/chat/dist', // Output directory
+ assets: '../../../build/ui/apps/chat/dist', // Static assets
fallback: 'index.html', // SPA fallback
strict: true
}),
@@ -225,7 +225,7 @@ output: {
llama-ui is embedded directly into the llama-server binary:
-1. `npm run build` outputs `index.html` to `build/tools/ui/dist/`
+1. `npm run build` outputs `index.html` to `build/ui/apps/chat/dist/`
2. llama-server compiles this into the binary at build time
3. When accessing `/`, llama-server serves the bundled HTML
@@ -745,7 +745,7 @@ npm run check # TypeScript type checking
## Project Structure
```text
-tools/ui/
+ui/apps/chat/
├── src/
│ ├── lib/
│ │ ├── components/ # UI components (app/, ui/)
@@ -765,6 +765,6 @@ tools/ui/
## Related Documentation
-- [llama.cpp Server README](../server/README.md) - Full server documentation
-- [Multimodal Documentation](../../docs/multimodal.md) - Image and audio support
-- [Function Calling](../../docs/function-calling.md) - Tool use capabilities
+- [llama.cpp Server README](../../../tools/server/README.md) - Full server documentation
+- [Multimodal Documentation](../../../docs/multimodal.md) - Image and audio support
+- [Function Calling](../../../docs/function-calling.md) - Tool use capabilities
diff --git a/tools/ui/components.json b/ui/apps/chat/components.json
similarity index 100%
rename from tools/ui/components.json
rename to ui/apps/chat/components.json
diff --git a/tools/ui/demo/.gitignore b/ui/apps/chat/demo/.gitignore
similarity index 100%
rename from tools/ui/demo/.gitignore
rename to ui/apps/chat/demo/.gitignore
diff --git a/tools/ui/demo/README.md b/ui/apps/chat/demo/README.md
similarity index 99%
rename from tools/ui/demo/README.md
rename to ui/apps/chat/demo/README.md
index 70617780d..8769da6ef 100644
--- a/tools/ui/demo/README.md
+++ b/ui/apps/chat/demo/README.md
@@ -40,7 +40,7 @@ The bucket must be public, since GitHub loads the preview from it:
hf buckets create <owner>/llama-ui-demos
```
-Then set it in `tools/ui/.env` (see `.env.example`):
+Then set it in `ui/apps/chat/.env` (see `.env.example`):
```bash
DEMO_STORAGE='hf://buckets/<owner>/llama-ui-demos'
diff --git a/tools/ui/demo/cli.ts b/ui/apps/chat/demo/cli.ts
similarity index 98%
rename from tools/ui/demo/cli.ts
rename to ui/apps/chat/demo/cli.ts
index a7835013b..775c361d6 100644
--- a/tools/ui/demo/cli.ts
+++ b/ui/apps/chat/demo/cli.ts
@@ -6,7 +6,7 @@
* node demo/cli.ts docs record every docs/*.demo.ts script in DEMO_STORAGE
* node demo/cli.ts traces write the built-in traces, and push them to DEMO_TRACES_DATASET
*
- * Settings come from tools/ui/.env (see .env.example).
+ * Settings come from ui/apps/chat/.env (see .env.example).
*/
import { DEMO_TRACES, generateTrace } from './fixtures/traces.ts';
@@ -271,13 +271,13 @@ async function recordPr(number: string, trustedSha?: string): Promise<void> {
rmSync(worktree, { force: true, recursive: true });
run('git', ['worktree', 'prune']);
run('git', ['worktree', 'add', '--detach', worktree, sha]);
- symlinkSync(join(UI_DIR, 'node_modules'), join(worktree, 'tools/ui/node_modules'));
+ symlinkSync(join(UI_DIR, 'node_modules'), join(worktree, 'ui/apps/chat/node_modules'));
const name = `pr-${number}`;
const script = writeDemoScript(name, source);
try {
- const videos = (await record([script], join(worktree, 'tools/ui'))).map((video) => ({
+ const videos = (await record([script], join(worktree, 'ui/apps/chat'))).map((video) => ({
...video,
gif: makePreview(video.mp4)
}));
diff --git a/tools/ui/demo/fixtures/demo-config.ts b/ui/apps/chat/demo/fixtures/demo-config.ts
similarity index 100%
rename from tools/ui/demo/fixtures/demo-config.ts
rename to ui/apps/chat/demo/fixtures/demo-config.ts
diff --git a/tools/ui/demo/fixtures/mcp-servers.ts b/ui/apps/chat/demo/fixtures/mcp-servers.ts
similarity index 100%
rename from tools/ui/demo/fixtures/mcp-servers.ts
rename to ui/apps/chat/demo/fixtures/mcp-servers.ts
diff --git a/tools/ui/demo/fixtures/traces.ts b/ui/apps/chat/demo/fixtures/traces.ts
similarity index 100%
rename from tools/ui/demo/fixtures/traces.ts
rename to ui/apps/chat/demo/fixtures/traces.ts
diff --git a/tools/ui/demo/helpers.ts b/ui/apps/chat/demo/helpers.ts
similarity index 100%
rename from tools/ui/demo/helpers.ts
rename to ui/apps/chat/demo/helpers.ts
diff --git a/tools/ui/demo/playwright.config.ts b/ui/apps/chat/demo/playwright.config.ts
similarity index 92%
rename from tools/ui/demo/playwright.config.ts
rename to ui/apps/chat/demo/playwright.config.ts
index 2ac9c4c4b..bb5aeed08 100644
--- a/tools/ui/demo/playwright.config.ts
+++ b/ui/apps/chat/demo/playwright.config.ts
@@ -10,8 +10,8 @@ if (existsSync(ENV_FILE)) process.loadEnvFile(ENV_FILE);
/**
* Demo video recordings.
*
- * Env (also read from tools/ui/.env):
- * DEMO_UI_DIR tools/ui checkout to record (default: this one), e.g. a PR worktree
+ * Env (also read from ui/apps/chat/.env):
+ * DEMO_UI_DIR ui/apps/chat checkout to record (default: this one), e.g. a PR worktree
* DEMO_UI_PORT port for that checkout's vite dev server (default: 5180)
* DEMO_SERVER_ORIGIN llama-server the UI proxies to (default: http://localhost:9931)
* DEMO_LLAMA_SERVER llama-server binary started when none runs there (default: build/bin)
@@ -27,7 +27,8 @@ const UI_PORT = Number(process.env.DEMO_UI_PORT ?? 5180);
const SERVER_ORIGIN = process.env.DEMO_SERVER_ORIGIN ?? 'http://localhost:9931';
const SERVER_PORT = Number(new URL(SERVER_ORIGIN).port || 80);
const LLAMA_SERVER =
- process.env.DEMO_LLAMA_SERVER ?? resolve(import.meta.dirname, '../../../build/bin/llama-server');
+ process.env.DEMO_LLAMA_SERVER ??
+ resolve(import.meta.dirname, '../../../../build/bin/llama-server');
export const VIEWPORT = { height: 900, width: 1440 };
/** Device pixel ratio the demos render and record at. */
diff --git a/tools/ui/demo/recorder.ts b/ui/apps/chat/demo/recorder.ts
similarity index 100%
rename from tools/ui/demo/recorder.ts
rename to ui/apps/chat/demo/recorder.ts
diff --git a/tools/ui/demo/storage.ts b/ui/apps/chat/demo/storage.ts
similarity index 100%
rename from tools/ui/demo/storage.ts
rename to ui/apps/chat/demo/storage.ts
diff --git a/tools/ui/eslint.config.js b/ui/apps/chat/eslint.config.js
similarity index 100%
rename from tools/ui/eslint.config.js
rename to ui/apps/chat/eslint.config.js
diff --git a/tools/ui/package-lock.json b/ui/apps/chat/package-lock.json
similarity index 99%
rename from tools/ui/package-lock.json
rename to ui/apps/chat/package-lock.json
index fb2b68eaa..0f490bc59 100644
--- a/tools/ui/package-lock.json
+++ b/ui/apps/chat/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "llama-ui",
+ "name": "@ggml-org/llama-chat",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "llama-ui",
+ "name": "@ggml-org/llama-chat",
"version": "1.0.0",
"devDependencies": {
"@chromatic-com/storybook": "5.5.1",
diff --git a/tools/ui/package.json b/ui/apps/chat/package.json
similarity index 99%
rename from tools/ui/package.json
rename to ui/apps/chat/package.json
index cc3785727..040e8fd2a 100644
--- a/tools/ui/package.json
+++ b/ui/apps/chat/package.json
@@ -1,5 +1,5 @@
{
- "name": "llama-ui",
+ "name": "@ggml-org/llama-chat",
"private": true,
"version": "1.0.0",
"type": "module",
diff --git a/tools/ui/playwright.config.ts b/ui/apps/chat/playwright.config.ts
similarity index 100%
rename from tools/ui/playwright.config.ts
rename to ui/apps/chat/playwright.config.ts
diff --git a/tools/ui/pwa-assets-dark.config.ts b/ui/apps/chat/pwa-assets-dark.config.ts
similarity index 100%
rename from tools/ui/pwa-assets-dark.config.ts
rename to ui/apps/chat/pwa-assets-dark.config.ts
diff --git a/tools/ui/pwa-assets.config.ts b/ui/apps/chat/pwa-assets.config.ts
similarity index 100%
rename from tools/ui/pwa-assets.config.ts
rename to ui/apps/chat/pwa-assets.config.ts
diff --git a/tools/ui/scripts/brand-favicons.ts b/ui/apps/chat/scripts/brand-favicons.ts
similarity index 100%
rename from tools/ui/scripts/brand-favicons.ts
rename to ui/apps/chat/scripts/brand-favicons.ts
diff --git a/tools/ui/scripts/dev.sh b/ui/apps/chat/scripts/dev.sh
similarity index 92%
rename from tools/ui/scripts/dev.sh
rename to ui/apps/chat/scripts/dev.sh
index d14186630..9a5efdadd 100644
--- a/tools/ui/scripts/dev.sh
+++ b/ui/apps/chat/scripts/dev.sh
@@ -9,12 +9,12 @@
# bash scripts/dev.sh
# npm run dev
-cd ../../
+cd ../../../
# Ensure node_modules are installed
-if [ ! -d "tools/ui/node_modules" ]; then
+if [ ! -d "ui/apps/chat/node_modules" ]; then
echo "📦 Installing npm dependencies..."
- cd tools/ui && npm ci && cd ../../
+ cd ui/apps/chat && npm ci && cd ../../../
fi
# Check and install git hooks if missing
@@ -52,7 +52,7 @@ trap cleanup SIGINT SIGTERM
echo "🚀 Starting development servers..."
echo "📝 Note: Make sure to start llama-server separately if needed"
-cd tools/ui
+cd ui/apps/chat
# Use --insecure-http-parser to handle malformed HTTP responses from llama-server
# (some responses have both Content-Length and Transfer-Encoding headers)
storybook dev -p 6006 --ci & NODE_OPTIONS="--insecure-http-parser" vite dev --host 0.0.0.0 &
diff --git a/tools/ui/scripts/git-hooks/install.sh b/ui/apps/chat/scripts/git-hooks/install.sh
similarity index 83%
rename from tools/ui/scripts/git-hooks/install.sh
rename to ui/apps/chat/scripts/git-hooks/install.sh
index 1a17dcad6..d3d1bd417 100755
--- a/tools/ui/scripts/git-hooks/install.sh
+++ b/ui/apps/chat/scripts/git-hooks/install.sh
@@ -4,12 +4,12 @@
# Copies pre-commit and pre-push hooks into the repo's .git/hooks directory.
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
-REPO_ROOT="$(cd "$SCRIPT_DIR/../../../.." && pwd)"
+REPO_ROOT="$(cd "$SCRIPT_DIR/../../../../.." && pwd)"
HOOKS_DIR="$REPO_ROOT/$(cd "$REPO_ROOT" && git rev-parse --git-path hooks)"
# Verify package.json exists
-if [ ! -f "$REPO_ROOT/tools/ui/package.json" ]; then
- echo "❌ package.json not found in tools/ui"
+if [ ! -f "$REPO_ROOT/ui/apps/chat/package.json" ]; then
+ echo "❌ package.json not found in ui/apps/chat"
exit 1
fi
diff --git a/tools/ui/scripts/git-hooks/pre-commit.sh b/ui/apps/chat/scripts/git-hooks/pre-commit.sh
similarity index 71%
rename from tools/ui/scripts/git-hooks/pre-commit.sh
rename to ui/apps/chat/scripts/git-hooks/pre-commit.sh
index 31c23ed51..45ea9df7e 100755
--- a/tools/ui/scripts/git-hooks/pre-commit.sh
+++ b/ui/apps/chat/scripts/git-hooks/pre-commit.sh
@@ -4,13 +4,13 @@
# Runs: format (staged files only) + type-check
# Stashes unstaged changes temporarily and restores them after.
-# Only run when there are staged changes in tools/ui/
-if ! git diff --cached --name-only | grep -q "^tools/ui/"; then
+# Only run when there are staged changes in ui/apps/chat/
+if ! git diff --cached --name-only | grep -q "^ui/apps/chat/"; then
exit 0
fi
REPO_ROOT=$(git rev-parse --show-toplevel)
-cd "$REPO_ROOT/tools/ui"
+cd "$REPO_ROOT/ui/apps/chat"
# Check that node_modules exists
if [ ! -d "node_modules" ]; then
@@ -18,19 +18,19 @@ if [ ! -d "node_modules" ]; then
exit 1
fi
-# Stash unstaged changes in tools/ui/ so they don't interfere
+# Stash unstaged changes in ui/apps/chat/ so they don't interfere
stash_name="pi-ui-precommit"
-git stash push --keep-index -u -m "$stash_name" -- tools/ui/ 2>/dev/null || true
+git stash push --keep-index -u -m "$stash_name" -- ui/apps/chat/ 2>/dev/null || true
echo "Running pre-commit checks for llama-ui..."
# Format only staged files
-staged_ui=$(git diff --cached --name-only -- tools/ui/)
+staged_ui=$(git diff --cached --name-only -- ui/apps/chat/)
if [ -n "$staged_ui" ]; then
echo "$staged_ui" | xargs npm run format
format_ok=$?
# Re-stage formatted files
- git add tools/ui/
+ git add ui/apps/chat/
else
format_ok=0
fi
diff --git a/tools/ui/scripts/git-hooks/pre-push.sh b/ui/apps/chat/scripts/git-hooks/pre-push.sh
similarity index 83%
rename from tools/ui/scripts/git-hooks/pre-push.sh
rename to ui/apps/chat/scripts/git-hooks/pre-push.sh
index d5598fb17..1ae0a92b5 100755
--- a/tools/ui/scripts/git-hooks/pre-push.sh
+++ b/ui/apps/chat/scripts/git-hooks/pre-push.sh
@@ -15,8 +15,8 @@ while read local_ref local_sha remote_ref remote_sha; do
continue
fi
- # Check for changes in tools/ui/ between remote and local
- if git diff --name-only "$remote_sha...$local_sha" -- tools/ui/ | grep -q .; then
+ # Check for changes in ui/apps/chat/ between remote and local
+ if git diff --name-only "$remote_sha...$local_sha" -- ui/apps/chat/ | grep -q .; then
needs_check=true
fi
done
@@ -26,7 +26,7 @@ if [ "$needs_check" = false ]; then
fi
REPO_ROOT=$(git rev-parse --show-toplevel)
-cd "$REPO_ROOT/tools/ui"
+cd "$REPO_ROOT/ui/apps/chat"
# Check that node_modules exists
if [ ! -d "node_modules" ]; then
@@ -36,7 +36,7 @@ fi
# Stash unstaged changes so they don't interfere with checks
stash_name="pi-ui-prepush"
-git stash push -u -m "$stash_name" -- tools/ui/ 2>/dev/null || true
+git stash push -u -m "$stash_name" -- ui/apps/chat/ 2>/dev/null || true
echo "Running pre-push checks for llama-ui..."
diff --git a/tools/ui/scripts/make-icons-circular.js b/ui/apps/chat/scripts/make-icons-circular.js
similarity index 100%
rename from tools/ui/scripts/make-icons-circular.js
rename to ui/apps/chat/scripts/make-icons-circular.js
diff --git a/tools/ui/scripts/vite-plugin-build-info.ts b/ui/apps/chat/scripts/vite-plugin-build-info.ts
similarity index 100%
rename from tools/ui/scripts/vite-plugin-build-info.ts
rename to ui/apps/chat/scripts/vite-plugin-build-info.ts
diff --git a/tools/ui/scripts/vite-plugin-nerdamer.ts b/ui/apps/chat/scripts/vite-plugin-nerdamer.ts
similarity index 100%
rename from tools/ui/scripts/vite-plugin-nerdamer.ts
rename to ui/apps/chat/scripts/vite-plugin-nerdamer.ts
diff --git a/tools/ui/scripts/vite-plugin-relativize-base.ts b/ui/apps/chat/scripts/vite-plugin-relativize-base.ts
similarity index 100%
rename from tools/ui/scripts/vite-plugin-relativize-base.ts
rename to ui/apps/chat/scripts/vite-plugin-relativize-base.ts
diff --git a/tools/ui/scripts/vite-plugin-splash-screen.ts b/ui/apps/chat/scripts/vite-plugin-splash-screen.ts
similarity index 100%
rename from tools/ui/scripts/vite-plugin-splash-screen.ts
rename to ui/apps/chat/scripts/vite-plugin-splash-screen.ts
diff --git a/tools/ui/sources.cmake b/ui/apps/chat/sources.cmake
similarity index 100%
rename from tools/ui/sources.cmake
rename to ui/apps/chat/sources.cmake
diff --git a/tools/ui/src/.gitignore b/ui/apps/chat/src/.gitignore
similarity index 100%
rename from tools/ui/src/.gitignore
rename to ui/apps/chat/src/.gitignore
diff --git a/tools/ui/src/app.css b/ui/apps/chat/src/app.css
similarity index 100%
rename from tools/ui/src/app.css
rename to ui/apps/chat/src/app.css
diff --git a/tools/ui/src/app.d.ts b/ui/apps/chat/src/app.d.ts
similarity index 100%
rename from tools/ui/src/app.d.ts
rename to ui/apps/chat/src/app.d.ts
diff --git a/tools/ui/src/app.html b/ui/apps/chat/src/app.html
similarity index 100%
rename from tools/ui/src/app.html
rename to ui/apps/chat/src/app.html
diff --git a/tools/ui/src/lib/components/app/SKILL.md b/ui/apps/chat/src/lib/components/app/SKILL.md
similarity index 100%
rename from tools/ui/src/lib/components/app/SKILL.md
rename to ui/apps/chat/src/lib/components/app/SKILL.md
diff --git a/tools/ui/src/lib/components/app/actions/ActionIcon.svelte b/ui/apps/chat/src/lib/components/app/actions/ActionIcon.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/actions/ActionIcon.svelte
rename to ui/apps/chat/src/lib/components/app/actions/ActionIcon.svelte
diff --git a/tools/ui/src/lib/components/app/actions/ActionIconCopyToClipboard.svelte b/ui/apps/chat/src/lib/components/app/actions/ActionIconCopyToClipboard.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/actions/ActionIconCopyToClipboard.svelte
rename to ui/apps/chat/src/lib/components/app/actions/ActionIconCopyToClipboard.svelte
diff --git a/tools/ui/src/lib/components/app/actions/GlassKey.svelte b/ui/apps/chat/src/lib/components/app/actions/GlassKey.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/actions/GlassKey.svelte
rename to ui/apps/chat/src/lib/components/app/actions/GlassKey.svelte
diff --git a/tools/ui/src/lib/components/app/actions/index.ts b/ui/apps/chat/src/lib/components/app/actions/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/actions/index.ts
rename to ui/apps/chat/src/lib/components/app/actions/index.ts
diff --git a/tools/ui/src/lib/components/app/badges/BadgeInfo.svelte b/ui/apps/chat/src/lib/components/app/badges/BadgeInfo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/badges/BadgeInfo.svelte
rename to ui/apps/chat/src/lib/components/app/badges/BadgeInfo.svelte
diff --git a/tools/ui/src/lib/components/app/badges/BadgesModality.svelte b/ui/apps/chat/src/lib/components/app/badges/BadgesModality.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/badges/BadgesModality.svelte
rename to ui/apps/chat/src/lib/components/app/badges/BadgesModality.svelte
diff --git a/tools/ui/src/lib/components/app/badges/index.ts b/ui/apps/chat/src/lib/components/app/badges/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/badges/index.ts
rename to ui/apps/chat/src/lib/components/app/badges/index.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsList.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsList.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsList.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItem.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItem.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItem.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpPrompt.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpPrompt.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpPrompt.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpPrompt.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpResource.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpResource.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpResource.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemMcpResource.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailFile.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailFile.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailFile.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailFile.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailImage.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailImage.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailImage.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList/ChatAttachmentsListItem/ChatAttachmentsListItemThumbnailImage.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreview.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreview.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreview.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItem.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItem.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItem.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemAudio.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemAudio.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemAudio.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemAudio.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemImage.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemImage.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemImage.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemImage.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemPdf.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemPdf.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemPdf.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemPdf.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemText.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemText.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemText.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemText.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemUnavailable.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemUnavailable.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemUnavailable.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemUnavailable.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemVideo.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemVideo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemVideo.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewCurrentItem/ChatAttachmentsPreviewCurrentItemVideo.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewFileInfo.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewFileInfo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewFileInfo.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewFileInfo.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewNavButtons.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewNavButtons.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewNavButtons.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewNavButtons.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsPreview/ChatAttachmentsPreviewThumbnailStrip.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatForm.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatForm.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatForm.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddButton.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddButton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddButton.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddButton.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDrawer.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDrawer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDrawer.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDrawer.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddDropdown.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddToolsSubmenu.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddToolsSubmenu.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddToolsSubmenu.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionAddToolsSubmenu.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionsAdd.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionsAdd.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionsAdd.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAdd/ChatFormActionsAdd.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionReasoning.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionReasoning.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionReasoning.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionReasoning.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionRecord.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionRecord.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionRecord.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionRecord.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionSubmit.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionSubmit.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionSubmit.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionSubmit.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ChatFormContextGauge.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ChatFormContextGauge.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ChatFormContextGauge.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ChatFormContextGauge.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetailRow.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetailRow.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetailRow.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetailRow.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetails.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetails.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetails.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDetails.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDial.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDial.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDial.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeDial.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeLoadModel.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeLoadModel.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeLoadModel.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugeLoadModel.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugePopup.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugePopup.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugePopup.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/ContextGaugePopup.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/context-gauge.ts b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/context-gauge.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/context-gauge.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/context-gauge.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/gauge-popup.svelte.ts b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/gauge-popup.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/gauge-popup.svelte.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormContextGauge/gauge-popup.svelte.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectory.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectory.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectory.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectory.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryChip.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryChip.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryChip.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryChip.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryResultsList.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryResultsList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryResultsList.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormCurrentWorkingDirectory/ChatFormCurrentWorkingDirectoryResultsList.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInput.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInput.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInput.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInput.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputFileInputInvisible.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputFileInputInvisible.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputFileInputInvisible.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormInput/ChatFormInputFileInputInvisible.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/mention-badge-widget.ts b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormInput/mention-badge-widget.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormInput/mention-badge-widget.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormInput/mention-badge-widget.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormMcpResourcesList.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormMcpResourcesList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormMcpResourcesList.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormMcpResourcesList.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerItemHeader.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerItemHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerItemHeader.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerItemHeader.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerList.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerList.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerList.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItem.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItem.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItem.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItemSkeleton.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItemSkeleton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItemSkeleton.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerListItemSkeleton.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerPopover.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerPopover.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerPopover.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPicker/ChatFormPickerPopover.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerCommand.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerCommand.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerCommand.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerCommand.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPickerMcpPrompts.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPickerMcpPrompts.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPickerMcpPrompts.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPickerMcpPrompts.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentForm.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentForm.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentForm.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentInput.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentInput.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentInput.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMcpPrompts/ChatFormPromptPickerArgumentInput.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMention.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMention.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMention.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickerMention.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickers.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickers.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickers.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/ChatFormPickers/ChatFormPickers.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/chat-form-collapsed-height.ts b/ui/apps/chat/src/lib/components/app/chat/ChatForm/chat-form-collapsed-height.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/chat-form-collapsed-height.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/chat-form-collapsed-height.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatForm/chat-form-expand.ts b/ui/apps/chat/src/lib/components/app/chat/ChatForm/chat-form-expand.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatForm/chat-form-expand.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatForm/chat-form-expand.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessage.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessage.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessage.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessage.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistant.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistant.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistant.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistant.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantModel.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantModel.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantModel.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantModel.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantProcessingInfo.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantProcessingInfo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantProcessingInfo.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantProcessingInfo.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantRawOutput.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantRawOutput.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantRawOutput.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantRawOutput.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantStatistics.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantStatistics.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantStatistics.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageAssistant/ChatMessageAssistantStatistics.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCompaction.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCompaction.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCompaction.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCompaction.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCwdChange.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCwdChange.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCwdChange.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageCwdChange.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPrompt.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPrompt.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPrompt.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPrompt.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPromptContent.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPromptContent.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPromptContent.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageMcpPrompt/ChatMessageMcpPromptContent.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSynthetic.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSynthetic.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSynthetic.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSynthetic.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlock.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlock.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlock.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlock.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockDefault.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockDefault.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockDefault.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockDefault.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockEditFile.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockEditFile.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockEditFile.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockEditFile.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockExecShellCommand.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockExecShellCommand.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockExecShellCommand.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockExecShellCommand.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockFileGlobSearch.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockFileGlobSearch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockFileGlobSearch.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockFileGlobSearch.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetDatetime.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetDatetime.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetDatetime.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetDatetime.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetInfo.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetInfo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetInfo.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGetInfo.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGrepSearch.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGrepSearch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGrepSearch.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockGrepSearch.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadFile.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadFile.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadFile.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadFile.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadMedia.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadMedia.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadMedia.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockReadMedia.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockRunJavascript.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockRunJavascript.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockRunJavascript.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockRunJavascript.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockSearchResults.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockSearchResults.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockSearchResults.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockSearchResults.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockWriteFile.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockWriteFile.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockWriteFile.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ChatMessageToolCallBlockWriteFile.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ToolCallBlock.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ToolCallBlock.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ToolCallBlock.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/ToolCallBlock.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/_shared.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/_shared.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/_shared.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/_shared.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/edit-file.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/edit-file.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/edit-file.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/edit-file.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/exec-shell-command.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/exec-shell-command.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/exec-shell-command.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/exec-shell-command.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/file-glob-search.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/file-glob-search.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/file-glob-search.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/file-glob-search.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/grep-search.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/grep-search.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/grep-search.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/grep-search.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-file.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-file.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-file.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-file.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-media.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-media.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-media.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/read-media.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/run-javascript.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/run-javascript.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/run-javascript.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/run-javascript.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/write-file.ts b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/write-file.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/write-file.ts
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageToolCall/parsers/write-file.ts
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUser.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUser.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUser.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUser.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserBubble.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserBubble.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserBubble.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserBubble.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserPending.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserPending.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserPending.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageUser/ChatMessageUserPending.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCard.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCard.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCard.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCard.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardContinueRequest.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardContinueRequest.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardContinueRequest.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardContinueRequest.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardPermissionRequest.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardPermissionRequest.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardPermissionRequest.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionCard/ChatMessageActionCardPermissionRequest.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIcons.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIcons.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIcons.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIcons.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIconsBranchingControls.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIconsBranchingControls.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIconsBranchingControls.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageActionIcons/ChatMessageActionIconsBranchingControls.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageContextMenu.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageContextMenu.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageContextMenu.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageActions/ChatMessageContextMenu.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageAgenticContent.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageAgenticContent.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageAgenticContent.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageAgenticContent.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageEditForm.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageEditForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageEditForm.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageEditForm.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageReasoningBlock.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageReasoningBlock.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageReasoningBlock.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageReasoningBlock.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatistics.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatistics.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatistics.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatistics.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatisticsBadge.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatisticsBadge.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatisticsBadge.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessageStatistics/ChatMessageStatisticsBadge.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/ChatMessages.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/LazyChatMessage.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatMessages/LazyChatMessage.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatMessages/LazyChatMessage.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatMessages/LazyChatMessage.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenActionScrollDown.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenActionScrollDown.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenActionScrollDown.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenActionScrollDown.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenDialogsAndAlerts.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenDialogsAndAlerts.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenDialogsAndAlerts.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenDialogsAndAlerts.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenDragOverlay.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenDragOverlay.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenDragOverlay.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenDragOverlay.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenForm.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenForm.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenForm.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenGreeting.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenGreeting.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenGreeting.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenGreeting.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenMobileHeader.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenMobileHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenMobileHeader.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenMobileHeader.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenServerError.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenServerError.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenServerError.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenServerError.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenStreamResumeStatus.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenStreamResumeStatus.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatScreen/ChatScreenStreamResumeStatus.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatScreen/ChatScreenStreamResumeStatus.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatTabs/ChatTabs.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabsItem.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatTabs/ChatTabsItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabsItem.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatTabs/ChatTabsItem.svelte
diff --git a/tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabsNewChatButton.svelte b/ui/apps/chat/src/lib/components/app/chat/ChatTabs/ChatTabsNewChatButton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/ChatTabs/ChatTabsNewChatButton.svelte
rename to ui/apps/chat/src/lib/components/app/chat/ChatTabs/ChatTabsNewChatButton.svelte
diff --git a/tools/ui/src/lib/components/app/chat/index.ts b/ui/apps/chat/src/lib/components/app/chat/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/chat/index.ts
rename to ui/apps/chat/src/lib/components/app/chat/index.ts
diff --git a/tools/ui/src/lib/components/app/content/CollapsibleContentBlock.svelte b/ui/apps/chat/src/lib/components/app/content/CollapsibleContentBlock.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/CollapsibleContentBlock.svelte
rename to ui/apps/chat/src/lib/components/app/content/CollapsibleContentBlock.svelte
diff --git a/tools/ui/src/lib/components/app/content/CollapsibleTerminalBlock.svelte b/ui/apps/chat/src/lib/components/app/content/CollapsibleTerminalBlock.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/CollapsibleTerminalBlock.svelte
rename to ui/apps/chat/src/lib/components/app/content/CollapsibleTerminalBlock.svelte
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/MarkdownContent.svelte
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownSurface.svelte b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/MarkdownSurface.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/MarkdownSurface.svelte
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/MarkdownSurface.svelte
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/markdown-content.css b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-content.css
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/markdown-content.css
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-content.css
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/markdown-diagrams.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-diagrams.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/markdown-diagrams.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-diagrams.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/markdown-handlers.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-handlers.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/markdown-handlers.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-handlers.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/markdown-processor.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-processor.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/markdown-processor.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-processor.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/markdown-utils.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-utils.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/markdown-utils.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/markdown-utils.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/code-block-utils.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/code-block-utils.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/code-block-utils.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/code-block-utils.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-code-blocks.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-code-blocks.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-code-blocks.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-code-blocks.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-links.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-links.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-links.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-links.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-mermaid-blocks.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-mermaid-blocks.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-mermaid-blocks.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-mermaid-blocks.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-svg-blocks.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-svg-blocks.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-svg-blocks.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-svg-blocks.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-tables.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-tables.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-tables.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/enhance-tables.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/file-badge.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/mermaid-pre.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/mermaid-pre.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/mermaid-pre.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/mermaid-pre.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/pre-transform.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/pre-transform.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/pre-transform.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/pre-transform.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/rehype-rtl-support.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/rehype-rtl-support.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/rehype-rtl-support.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/rehype-rtl-support.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/resolve-attachment-images.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/resolve-attachment-images.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/resolve-attachment-images.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/resolve-attachment-images.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/svg-pre.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/svg-pre.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/svg-pre.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/svg-pre.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/table-html-restorer.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/table-html-restorer.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/rehype/table-html-restorer.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/rehype/table-html-restorer.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/plugins/remark/literal-html.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/remark/literal-html.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/plugins/remark/literal-html.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/plugins/remark/literal-html.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownContent/safe-html-config.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownContent/safe-html-config.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownContent/safe-html-config.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownContent/safe-html-config.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownEditor/MarkdownEditor.svelte b/ui/apps/chat/src/lib/components/app/content/MarkdownEditor/MarkdownEditor.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownEditor/MarkdownEditor.svelte
rename to ui/apps/chat/src/lib/components/app/content/MarkdownEditor/MarkdownEditor.svelte
diff --git a/tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-block-widget.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-block-widget.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-block-widget.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-block-widget.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-blocks.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-blocks.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-blocks.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-blocks.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-live-preview.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-live-preview.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-live-preview.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-live-preview.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-structure.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-structure.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-structure.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-structure.ts
diff --git a/tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-syntax.ts b/ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-syntax.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MarkdownEditor/markdown-syntax.ts
rename to ui/apps/chat/src/lib/components/app/content/MarkdownEditor/markdown-syntax.ts
diff --git a/tools/ui/src/lib/components/app/content/MentionBadge.svelte b/ui/apps/chat/src/lib/components/app/content/MentionBadge.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MentionBadge.svelte
rename to ui/apps/chat/src/lib/components/app/content/MentionBadge.svelte
diff --git a/tools/ui/src/lib/components/app/content/MentionText.svelte b/ui/apps/chat/src/lib/components/app/content/MentionText.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MentionText.svelte
rename to ui/apps/chat/src/lib/components/app/content/MentionText.svelte
diff --git a/tools/ui/src/lib/components/app/content/MermaidPreview.svelte b/ui/apps/chat/src/lib/components/app/content/MermaidPreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MermaidPreview.svelte
rename to ui/apps/chat/src/lib/components/app/content/MermaidPreview.svelte
diff --git a/tools/ui/src/lib/components/app/content/MermaidPreviewControls.svelte b/ui/apps/chat/src/lib/components/app/content/MermaidPreviewControls.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/MermaidPreviewControls.svelte
rename to ui/apps/chat/src/lib/components/app/content/MermaidPreviewControls.svelte
diff --git a/tools/ui/src/lib/components/app/content/SyntaxHighlightedCode.svelte b/ui/apps/chat/src/lib/components/app/content/SyntaxHighlightedCode.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/content/SyntaxHighlightedCode.svelte
rename to ui/apps/chat/src/lib/components/app/content/SyntaxHighlightedCode.svelte
diff --git a/tools/ui/src/lib/components/app/content/index.ts b/ui/apps/chat/src/lib/components/app/content/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/content/index.ts
rename to ui/apps/chat/src/lib/components/app/content/index.ts
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogChatAttachmentsPreview.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogChatAttachmentsPreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogChatAttachmentsPreview.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogChatAttachmentsPreview.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogChatError.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogChatError.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogChatError.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogChatError.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogCodePreview.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogCodePreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogCodePreview.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogCodePreview.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogConfirmDownload.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogConfirmDownload.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogConfirmDownload.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogConfirmDownload.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogConfirmation.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogConfirmation.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogConfirmation.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogConfirmation.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogConversationDelete.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogConversationDelete.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogConversationDelete.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogConversationDelete.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogConversationRename.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogConversationRename.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogConversationRename.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogConversationRename.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogConversationSelection.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogConversationSelection.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogConversationSelection.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogConversationSelection.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogDiscoverModels.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogDiscoverModels.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogDiscoverModels.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogDiscoverModels.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogEmptyFileAlert.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogEmptyFileAlert.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogEmptyFileAlert.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogEmptyFileAlert.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogExportSettings.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogExportSettings.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogExportSettings.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogExportSettings.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogFileUploadError.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogFileUploadError.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogFileUploadError.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogFileUploadError.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogGroup.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogGroup.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogGroup.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogGroup.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogGroupPicker.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogGroupPicker.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogGroupPicker.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogGroupPicker.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogMcpResourcePreview.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogMcpResourcePreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogMcpResourcePreview.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogMcpResourcePreview.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogMcpResourcesBrowser.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogMcpResourcesBrowser.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogMcpResourcesBrowser.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogMcpResourcesBrowser.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogMcpServerAddNew.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogMcpServerAddNew.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogMcpServerAddNew.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogMcpServerAddNew.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogMcpServers.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogMcpServers.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogMcpServers.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogMcpServers.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogMermaidPreview.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogMermaidPreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogMermaidPreview.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogMermaidPreview.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogModelNotAvailable.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogModelNotAvailable.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogModelNotAvailable.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogModelNotAvailable.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogSearch.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogSearch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogSearch.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogSearch.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/DialogSettingsChat.svelte b/ui/apps/chat/src/lib/components/app/dialogs/DialogSettingsChat.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/DialogSettingsChat.svelte
rename to ui/apps/chat/src/lib/components/app/dialogs/DialogSettingsChat.svelte
diff --git a/tools/ui/src/lib/components/app/dialogs/index.ts b/ui/apps/chat/src/lib/components/app/dialogs/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/dialogs/index.ts
rename to ui/apps/chat/src/lib/components/app/dialogs/index.ts
diff --git a/tools/ui/src/lib/components/app/forms/HighlightedMatch.svelte b/ui/apps/chat/src/lib/components/app/forms/HighlightedMatch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/forms/HighlightedMatch.svelte
rename to ui/apps/chat/src/lib/components/app/forms/HighlightedMatch.svelte
diff --git a/tools/ui/src/lib/components/app/forms/InputWithSuggestions.svelte b/ui/apps/chat/src/lib/components/app/forms/InputWithSuggestions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/forms/InputWithSuggestions.svelte
rename to ui/apps/chat/src/lib/components/app/forms/InputWithSuggestions.svelte
diff --git a/tools/ui/src/lib/components/app/forms/KeyValuePairs.svelte b/ui/apps/chat/src/lib/components/app/forms/KeyValuePairs.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/forms/KeyValuePairs.svelte
rename to ui/apps/chat/src/lib/components/app/forms/KeyValuePairs.svelte
diff --git a/tools/ui/src/lib/components/app/forms/SearchInput.svelte b/ui/apps/chat/src/lib/components/app/forms/SearchInput.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/forms/SearchInput.svelte
rename to ui/apps/chat/src/lib/components/app/forms/SearchInput.svelte
diff --git a/tools/ui/src/lib/components/app/forms/index.ts b/ui/apps/chat/src/lib/components/app/forms/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/forms/index.ts
rename to ui/apps/chat/src/lib/components/app/forms/index.ts
diff --git a/tools/ui/src/lib/components/app/index.ts b/ui/apps/chat/src/lib/components/app/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/index.ts
rename to ui/apps/chat/src/lib/components/app/index.ts
diff --git a/tools/ui/src/lib/components/app/mcp/McpActiveServersAvatars.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpActiveServersAvatars.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpActiveServersAvatars.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpActiveServersAvatars.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpCapabilitiesBadges.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpCapabilitiesBadges.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpCapabilitiesBadges.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpCapabilitiesBadges.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpConnectionLogs.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpConnectionLogs.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpConnectionLogs.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpConnectionLogs.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpLogo.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpLogo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpLogo.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpLogo.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourcePreview.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpResourcePreview.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourcePreview.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourcePreview.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourceTemplateForm.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpResourceTemplateForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourceTemplateForm.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourceTemplateForm.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowser.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowser.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowser.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowser.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserEmptyState.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserEmptyState.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserEmptyState.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserEmptyState.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserHeader.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserHeader.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserHeader.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserServerItem.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserServerItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserServerItem.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/McpResourcesBrowserServerItem.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/mcp-resources-browser.ts b/ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/mcp-resources-browser.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpResourcesBrowser/mcp-resources-browser.ts
rename to ui/apps/chat/src/lib/components/app/mcp/McpResourcesBrowser/mcp-resources-browser.ts
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCard.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCard.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCard.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCard.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardActions.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardActions.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardActions.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardCompact.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardCompact.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardCompact.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardCompact.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardDeleteDialog.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardDeleteDialog.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardDeleteDialog.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardDeleteDialog.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardEditForm.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardEditForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardEditForm.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardEditForm.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardHeader.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardHeader.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardHeader.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardToolsList.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardToolsList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCard/McpServerCardToolsList.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCard/McpServerCardToolsList.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerCardSkeleton.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerCardSkeleton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerCardSkeleton.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerCardSkeleton.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerForm.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerForm.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerForm.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerForm.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerIdentity.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerIdentity.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerIdentity.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerIdentity.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/McpServerInfo.svelte b/ui/apps/chat/src/lib/components/app/mcp/McpServerInfo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/McpServerInfo.svelte
rename to ui/apps/chat/src/lib/components/app/mcp/McpServerInfo.svelte
diff --git a/tools/ui/src/lib/components/app/mcp/index.ts b/ui/apps/chat/src/lib/components/app/mcp/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/mcp/index.ts
rename to ui/apps/chat/src/lib/components/app/mcp/index.ts
diff --git a/tools/ui/src/lib/components/app/misc/CodeBlockActions.svelte b/ui/apps/chat/src/lib/components/app/misc/CodeBlockActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/CodeBlockActions.svelte
rename to ui/apps/chat/src/lib/components/app/misc/CodeBlockActions.svelte
diff --git a/tools/ui/src/lib/components/app/misc/CollapsibleRegion.svelte b/ui/apps/chat/src/lib/components/app/misc/CollapsibleRegion.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/CollapsibleRegion.svelte
rename to ui/apps/chat/src/lib/components/app/misc/CollapsibleRegion.svelte
diff --git a/tools/ui/src/lib/components/app/misc/CollapsibleSection.svelte b/ui/apps/chat/src/lib/components/app/misc/CollapsibleSection.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/CollapsibleSection.svelte
rename to ui/apps/chat/src/lib/components/app/misc/CollapsibleSection.svelte
diff --git a/tools/ui/src/lib/components/app/misc/ConversationSelection.svelte b/ui/apps/chat/src/lib/components/app/misc/ConversationSelection.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/ConversationSelection.svelte
rename to ui/apps/chat/src/lib/components/app/misc/ConversationSelection.svelte
diff --git a/tools/ui/src/lib/components/app/misc/GroupedList.svelte b/ui/apps/chat/src/lib/components/app/misc/GroupedList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/GroupedList.svelte
rename to ui/apps/chat/src/lib/components/app/misc/GroupedList.svelte
diff --git a/tools/ui/src/lib/components/app/misc/KeyboardShortcutInfo.svelte b/ui/apps/chat/src/lib/components/app/misc/KeyboardShortcutInfo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/KeyboardShortcutInfo.svelte
rename to ui/apps/chat/src/lib/components/app/misc/KeyboardShortcutInfo.svelte
diff --git a/tools/ui/src/lib/components/app/misc/Logo.svelte b/ui/apps/chat/src/lib/components/app/misc/Logo.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/Logo.svelte
rename to ui/apps/chat/src/lib/components/app/misc/Logo.svelte
diff --git a/tools/ui/src/lib/components/app/misc/MenuIcon.svelte b/ui/apps/chat/src/lib/components/app/misc/MenuIcon.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/MenuIcon.svelte
rename to ui/apps/chat/src/lib/components/app/misc/MenuIcon.svelte
diff --git a/tools/ui/src/lib/components/app/misc/ScrollCarousel.svelte b/ui/apps/chat/src/lib/components/app/misc/ScrollCarousel.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/ScrollCarousel.svelte
rename to ui/apps/chat/src/lib/components/app/misc/ScrollCarousel.svelte
diff --git a/tools/ui/src/lib/components/app/misc/TruncatedText.svelte b/ui/apps/chat/src/lib/components/app/misc/TruncatedText.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/TruncatedText.svelte
rename to ui/apps/chat/src/lib/components/app/misc/TruncatedText.svelte
diff --git a/tools/ui/src/lib/components/app/misc/index.ts b/ui/apps/chat/src/lib/components/app/misc/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/misc/index.ts
rename to ui/apps/chat/src/lib/components/app/misc/index.ts
diff --git a/tools/ui/src/lib/components/app/models/ModelAvatar.svelte b/ui/apps/chat/src/lib/components/app/models/ModelAvatar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelAvatar.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelAvatar.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelBadge.svelte b/ui/apps/chat/src/lib/components/app/models/ModelBadge.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelBadge.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelBadge.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelCapabilities.svelte b/ui/apps/chat/src/lib/components/app/models/ModelCapabilities.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelCapabilities.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelCapabilities.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelCapabilityIcons.svelte b/ui/apps/chat/src/lib/components/app/models/ModelCapabilityIcons.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelCapabilityIcons.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelCapabilityIcons.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelContext.svelte b/ui/apps/chat/src/lib/components/app/models/ModelContext.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelContext.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelContext.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelDownloadProgressBar.svelte b/ui/apps/chat/src/lib/components/app/models/ModelDownloadProgressBar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelDownloadProgressBar.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelDownloadProgressBar.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelDraftSidecars.svelte b/ui/apps/chat/src/lib/components/app/models/ModelDraftSidecars.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelDraftSidecars.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelDraftSidecars.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelDraftSubline.svelte b/ui/apps/chat/src/lib/components/app/models/ModelDraftSubline.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelDraftSubline.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelDraftSubline.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelId.svelte b/ui/apps/chat/src/lib/components/app/models/ModelId.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelId.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelId.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelLoadControl.svelte b/ui/apps/chat/src/lib/components/app/models/ModelLoadControl.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelLoadControl.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelLoadControl.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelLoadHighlight.svelte b/ui/apps/chat/src/lib/components/app/models/ModelLoadHighlight.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelLoadHighlight.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelLoadHighlight.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelOrgAvatar.svelte b/ui/apps/chat/src/lib/components/app/models/ModelOrgAvatar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelOrgAvatar.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelOrgAvatar.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelRowActions.svelte b/ui/apps/chat/src/lib/components/app/models/ModelRowActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelRowActions.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelRowActions.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManager.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManager.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManager.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManager.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerDownloadControl.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerDownloadControl.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerDownloadControl.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerDownloadControl.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerFilters.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerFilters.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerFilters.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerFilters.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfiguration.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfiguration.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfiguration.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfiguration.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationActions.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationActions.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationActions.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationHeader.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationHeader.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationHeader.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationInformation.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationInformation.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationInformation.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelConfiguration/ModelsManagerModelConfigurationInformation.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelDrawer.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelDrawer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelDrawer.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelDrawer.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelRow.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelRow.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelRow.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelRow.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelsTable.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelsTable.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerModelsTable.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerModelsTable.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerQuantRow.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerQuantRow.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerQuantRow.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerQuantRow.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerRepoRow.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerRepoRow.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerRepoRow.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerRepoRow.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerStatusCell.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerStatusCell.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerStatusCell.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerStatusCell.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerTableToolbar.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerTableToolbar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/ModelsManagerTableToolbar.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/ModelsManagerTableToolbar.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/row-actions.ts b/ui/apps/chat/src/lib/components/app/models/ModelsManager/row-actions.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/row-actions.ts
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/row-actions.ts
diff --git a/tools/ui/src/lib/components/app/models/ModelsManager/utils.ts b/ui/apps/chat/src/lib/components/app/models/ModelsManager/utils.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsManager/utils.ts
rename to ui/apps/chat/src/lib/components/app/models/ModelsManager/utils.ts
diff --git a/tools/ui/src/lib/components/app/models/ModelsSection.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSection.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSection.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSection.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelector.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelector.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelector.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelector.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorDownloadItem.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorDownloadItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorDownloadItem.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorDownloadItem.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorDrawer.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorDrawer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorDrawer.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorDrawer.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorDropdown.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorDropdown.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorDropdown.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorDropdown.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorList.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorList.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorList.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorOption.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorOption.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorOption.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorOption.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorTriggerIcon.svelte b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorTriggerIcon.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/ModelsSelectorTriggerIcon.svelte
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/ModelsSelectorTriggerIcon.svelte
diff --git a/tools/ui/src/lib/components/app/models/ModelsSelector/index.ts b/ui/apps/chat/src/lib/components/app/models/ModelsSelector/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/ModelsSelector/index.ts
rename to ui/apps/chat/src/lib/components/app/models/ModelsSelector/index.ts
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscover.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscover.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscover.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscover.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverChatTemplateDialog.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverChatTemplateDialog.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverChatTemplateDialog.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverChatTemplateDialog.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetails.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetails.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetails.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetails.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsContainer.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsContainer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsContainer.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsContainer.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptions.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptions.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptions.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDownloadCommand.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDownloadCommand.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDownloadCommand.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDownloadCommand.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDraftDownloadButton.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDraftDownloadButton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDraftDownloadButton.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsDraftDownloadButton.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsQuantDownloadButton.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsQuantDownloadButton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsQuantDownloadButton.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsQuantDownloadButton.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsRow.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsRow.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsRow.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/ModelsDiscoverDetailsDownloadOptionsRow.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/download-options.utils.ts b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/download-options.utils.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/download-options.utils.ts
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/download-options.utils.ts
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/index.ts b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/index.ts
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsDownloadOptions/index.ts
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHeader.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHeader.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHeader.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHfHubStats.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHfHubStats.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHfHubStats.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsHfHubStats.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadata.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadata.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadata.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadata.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadataItem.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadataItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadataItem.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsMetadataItem.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsReadme.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsReadme.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsReadme.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsReadme.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsSkeleton.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsSkeleton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsSkeleton.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/ModelsDiscoverDetailsSkeleton.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/index.ts b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverDetails/index.ts
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverDetails/index.ts
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverList.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverList.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverList.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItem.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItem.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItem.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItemSkeleton.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItemSkeleton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItemSkeleton.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListItemSkeleton.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListSearch.svelte b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListSearch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListSearch.svelte
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/ModelsDiscoverListSearch.svelte
diff --git a/tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/index.ts b/ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/ModelsDiscoverList/index.ts
rename to ui/apps/chat/src/lib/components/app/models/discover/ModelsDiscoverList/index.ts
diff --git a/tools/ui/src/lib/components/app/models/discover/index.ts b/ui/apps/chat/src/lib/components/app/models/discover/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/discover/index.ts
rename to ui/apps/chat/src/lib/components/app/models/discover/index.ts
diff --git a/tools/ui/src/lib/components/app/models/index.ts b/ui/apps/chat/src/lib/components/app/models/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/models/index.ts
rename to ui/apps/chat/src/lib/components/app/models/index.ts
diff --git a/tools/ui/src/lib/components/app/navigation/ContextMenuActions.svelte b/ui/apps/chat/src/lib/components/app/navigation/ContextMenuActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/ContextMenuActions.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/ContextMenuActions.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/DropdownMenuActions.svelte b/ui/apps/chat/src/lib/components/app/navigation/DropdownMenuActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/DropdownMenuActions.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/DropdownMenuActions.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/DropdownMenuSearchable.svelte b/ui/apps/chat/src/lib/components/app/navigation/DropdownMenuSearchable.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/DropdownMenuSearchable.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/DropdownMenuSearchable.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/MenuActionsList.svelte b/ui/apps/chat/src/lib/components/app/navigation/MenuActionsList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/MenuActionsList.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/MenuActionsList.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigation.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigation.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigation.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigation.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationActions.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationActions.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationActions.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationActions.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationItem.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationItem.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationItem.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationItem.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationList.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationList.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationList.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationConversationList.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationDropZone.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationDropZone.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationDropZone.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationDropZone.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationFooter.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationFooter.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationFooter.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationFooter.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSection.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSection.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSection.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSection.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSubmenu.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSubmenu.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSubmenu.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationGroupSubmenu.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearch.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearch.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearch.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearchResults.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearchResults.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearchResults.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSearchResults.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSectionHeading.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSectionHeading.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSectionHeading.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSectionHeading.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSelectionBar.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSelectionBar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSelectionBar.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationSelectionBar.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationShowMore.svelte b/ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationShowMore.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationShowMore.svelte
rename to ui/apps/chat/src/lib/components/app/navigation/SidebarNavigation/SidebarNavigationShowMore.svelte
diff --git a/tools/ui/src/lib/components/app/navigation/index.ts b/ui/apps/chat/src/lib/components/app/navigation/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/navigation/index.ts
rename to ui/apps/chat/src/lib/components/app/navigation/index.ts
diff --git a/tools/ui/src/lib/components/app/server/ServerErrorSplash.svelte b/ui/apps/chat/src/lib/components/app/server/ServerErrorSplash.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/server/ServerErrorSplash.svelte
rename to ui/apps/chat/src/lib/components/app/server/ServerErrorSplash.svelte
diff --git a/tools/ui/src/lib/components/app/server/ServerLoadingSplash.svelte b/ui/apps/chat/src/lib/components/app/server/ServerLoadingSplash.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/server/ServerLoadingSplash.svelte
rename to ui/apps/chat/src/lib/components/app/server/ServerLoadingSplash.svelte
diff --git a/tools/ui/src/lib/components/app/server/ServerStatus.svelte b/ui/apps/chat/src/lib/components/app/server/ServerStatus.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/server/ServerStatus.svelte
rename to ui/apps/chat/src/lib/components/app/server/ServerStatus.svelte
diff --git a/tools/ui/src/lib/components/app/server/index.ts b/ui/apps/chat/src/lib/components/app/server/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/server/index.ts
rename to ui/apps/chat/src/lib/components/app/server/index.ts
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChat.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChat.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChat.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChat.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatFields.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatFields.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatFields.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatFields.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportSection.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportSection.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportSection.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportSection.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportTab.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportTab.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportTab.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatImportExportTab.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatParameterSourceIndicator.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatParameterSourceIndicator.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatParameterSourceIndicator.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatParameterSourceIndicator.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatToolsTab.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatToolsTab.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChat/SettingsChatToolsTab.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChat/SettingsChatToolsTab.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChatDesktopSidebar.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChatDesktopSidebar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChatDesktopSidebar.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChatDesktopSidebar.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsChatMobileHeader.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsChatMobileHeader.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsChatMobileHeader.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsChatMobileHeader.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsFooter.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsFooter.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsFooter.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsFooter.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsGroup.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsGroup.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsGroup.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsGroup.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsMcpServers.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsMcpServers.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsMcpServers.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsMcpServers.svelte
diff --git a/tools/ui/src/lib/components/app/settings/SettingsResetButton.svelte b/ui/apps/chat/src/lib/components/app/settings/SettingsResetButton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/SettingsResetButton.svelte
rename to ui/apps/chat/src/lib/components/app/settings/SettingsResetButton.svelte
diff --git a/tools/ui/src/lib/components/app/settings/index.ts b/ui/apps/chat/src/lib/components/app/settings/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/app/settings/index.ts
rename to ui/apps/chat/src/lib/components/app/settings/index.ts
diff --git a/tools/ui/src/lib/components/pwa/PwaMetaTags.svelte b/ui/apps/chat/src/lib/components/pwa/PwaMetaTags.svelte
similarity index 100%
rename from tools/ui/src/lib/components/pwa/PwaMetaTags.svelte
rename to ui/apps/chat/src/lib/components/pwa/PwaMetaTags.svelte
diff --git a/tools/ui/src/lib/components/pwa/PwaRefreshAlert.svelte b/ui/apps/chat/src/lib/components/pwa/PwaRefreshAlert.svelte
similarity index 100%
rename from tools/ui/src/lib/components/pwa/PwaRefreshAlert.svelte
rename to ui/apps/chat/src/lib/components/pwa/PwaRefreshAlert.svelte
diff --git a/tools/ui/src/lib/components/pwa/index.ts b/ui/apps/chat/src/lib/components/pwa/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/pwa/index.ts
rename to ui/apps/chat/src/lib/components/pwa/index.ts
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-title.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-title.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-title.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-title.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-trigger.svelte b/ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/alert-dialog-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/alert-dialog-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/alert-dialog/index.ts b/ui/apps/chat/src/lib/components/ui/alert-dialog/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert-dialog/index.ts
rename to ui/apps/chat/src/lib/components/ui/alert-dialog/index.ts
diff --git a/tools/ui/src/lib/components/ui/alert/alert-description.svelte b/ui/apps/chat/src/lib/components/ui/alert/alert-description.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert/alert-description.svelte
rename to ui/apps/chat/src/lib/components/ui/alert/alert-description.svelte
diff --git a/tools/ui/src/lib/components/ui/alert/alert-title.svelte b/ui/apps/chat/src/lib/components/ui/alert/alert-title.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert/alert-title.svelte
rename to ui/apps/chat/src/lib/components/ui/alert/alert-title.svelte
diff --git a/tools/ui/src/lib/components/ui/alert/alert.svelte b/ui/apps/chat/src/lib/components/ui/alert/alert.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert/alert.svelte
rename to ui/apps/chat/src/lib/components/ui/alert/alert.svelte
diff --git a/tools/ui/src/lib/components/ui/alert/index.ts b/ui/apps/chat/src/lib/components/ui/alert/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/alert/index.ts
rename to ui/apps/chat/src/lib/components/ui/alert/index.ts
diff --git a/tools/ui/src/lib/components/ui/badge/badge.svelte b/ui/apps/chat/src/lib/components/ui/badge/badge.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/badge/badge.svelte
rename to ui/apps/chat/src/lib/components/ui/badge/badge.svelte
diff --git a/tools/ui/src/lib/components/ui/badge/index.ts b/ui/apps/chat/src/lib/components/ui/badge/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/badge/index.ts
rename to ui/apps/chat/src/lib/components/ui/badge/index.ts
diff --git a/tools/ui/src/lib/components/ui/button-group/button-group-root.svelte b/ui/apps/chat/src/lib/components/ui/button-group/button-group-root.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/button-group/button-group-root.svelte
rename to ui/apps/chat/src/lib/components/ui/button-group/button-group-root.svelte
diff --git a/tools/ui/src/lib/components/ui/button-group/button-group-separator.svelte b/ui/apps/chat/src/lib/components/ui/button-group/button-group-separator.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/button-group/button-group-separator.svelte
rename to ui/apps/chat/src/lib/components/ui/button-group/button-group-separator.svelte
diff --git a/tools/ui/src/lib/components/ui/button-group/index.ts b/ui/apps/chat/src/lib/components/ui/button-group/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/button-group/index.ts
rename to ui/apps/chat/src/lib/components/ui/button-group/index.ts
diff --git a/tools/ui/src/lib/components/ui/button/button.svelte b/ui/apps/chat/src/lib/components/ui/button/button.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/button/button.svelte
rename to ui/apps/chat/src/lib/components/ui/button/button.svelte
diff --git a/tools/ui/src/lib/components/ui/button/index.ts b/ui/apps/chat/src/lib/components/ui/button/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/button/index.ts
rename to ui/apps/chat/src/lib/components/ui/button/index.ts
diff --git a/tools/ui/src/lib/components/ui/card/card-action.svelte b/ui/apps/chat/src/lib/components/ui/card/card-action.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card-action.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card-action.svelte
diff --git a/tools/ui/src/lib/components/ui/card/card-content.svelte b/ui/apps/chat/src/lib/components/ui/card/card-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card-content.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card-content.svelte
diff --git a/tools/ui/src/lib/components/ui/card/card-description.svelte b/ui/apps/chat/src/lib/components/ui/card/card-description.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card-description.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card-description.svelte
diff --git a/tools/ui/src/lib/components/ui/card/card-footer.svelte b/ui/apps/chat/src/lib/components/ui/card/card-footer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card-footer.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card-footer.svelte
diff --git a/tools/ui/src/lib/components/ui/card/card-header.svelte b/ui/apps/chat/src/lib/components/ui/card/card-header.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card-header.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card-header.svelte
diff --git a/tools/ui/src/lib/components/ui/card/card-title.svelte b/ui/apps/chat/src/lib/components/ui/card/card-title.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card-title.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card-title.svelte
diff --git a/tools/ui/src/lib/components/ui/card/card.svelte b/ui/apps/chat/src/lib/components/ui/card/card.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/card.svelte
rename to ui/apps/chat/src/lib/components/ui/card/card.svelte
diff --git a/tools/ui/src/lib/components/ui/card/index.ts b/ui/apps/chat/src/lib/components/ui/card/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/card/index.ts
rename to ui/apps/chat/src/lib/components/ui/card/index.ts
diff --git a/tools/ui/src/lib/components/ui/checkbox/checkbox.svelte b/ui/apps/chat/src/lib/components/ui/checkbox/checkbox.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/checkbox/checkbox.svelte
rename to ui/apps/chat/src/lib/components/ui/checkbox/checkbox.svelte
diff --git a/tools/ui/src/lib/components/ui/checkbox/index.ts b/ui/apps/chat/src/lib/components/ui/checkbox/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/checkbox/index.ts
rename to ui/apps/chat/src/lib/components/ui/checkbox/index.ts
diff --git a/tools/ui/src/lib/components/ui/collapsible/collapsible-content.svelte b/ui/apps/chat/src/lib/components/ui/collapsible/collapsible-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/collapsible/collapsible-content.svelte
rename to ui/apps/chat/src/lib/components/ui/collapsible/collapsible-content.svelte
diff --git a/tools/ui/src/lib/components/ui/collapsible/collapsible-trigger.svelte b/ui/apps/chat/src/lib/components/ui/collapsible/collapsible-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/collapsible/collapsible-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/collapsible/collapsible-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/collapsible/collapsible.svelte b/ui/apps/chat/src/lib/components/ui/collapsible/collapsible.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/collapsible/collapsible.svelte
rename to ui/apps/chat/src/lib/components/ui/collapsible/collapsible.svelte
diff --git a/tools/ui/src/lib/components/ui/collapsible/index.ts b/ui/apps/chat/src/lib/components/ui/collapsible/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/collapsible/index.ts
rename to ui/apps/chat/src/lib/components/ui/collapsible/index.ts
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-content.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-content.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-content.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-group.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-group.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-group.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-group.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-item.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-item.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-item.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-label.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-label.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-label.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-label.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-separator.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-separator.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-separator.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-separator.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-shortcut.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-shortcut.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-shortcut.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-shortcut.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-sub-content.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-sub-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-sub-content.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-sub-content.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-sub-trigger.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-sub-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-sub-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-sub-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/context-menu-trigger.svelte b/ui/apps/chat/src/lib/components/ui/context-menu/context-menu-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/context-menu-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/context-menu/context-menu-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/context-menu/index.ts b/ui/apps/chat/src/lib/components/ui/context-menu/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/context-menu/index.ts
rename to ui/apps/chat/src/lib/components/ui/context-menu/index.ts
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-close.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-close.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-close.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-close.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-content.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-content.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-content.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-description.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-description.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-description.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-description.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-footer.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-footer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-footer.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-footer.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-header.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-header.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-header.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-header.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-overlay.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-overlay.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-overlay.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-overlay.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-title.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-title.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-title.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-title.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/dialog-trigger.svelte b/ui/apps/chat/src/lib/components/ui/dialog/dialog-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/dialog-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/dialog/dialog-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/dialog/index.ts b/ui/apps/chat/src/lib/components/ui/dialog/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/dialog/index.ts
rename to ui/apps/chat/src/lib/components/ui/dialog/index.ts
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-close.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-close.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-close.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-close.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-content.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-content.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-content.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-description.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-description.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-description.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-description.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-footer.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-footer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-footer.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-footer.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-header.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-header.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-header.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-header.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-nested.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-nested.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-nested.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-nested.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-overlay.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-overlay.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-overlay.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-overlay.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-portal.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-portal.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-portal.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-portal.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-title.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-title.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-title.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-title.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer-trigger.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/drawer.svelte b/ui/apps/chat/src/lib/components/ui/drawer/drawer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/drawer.svelte
rename to ui/apps/chat/src/lib/components/ui/drawer/drawer.svelte
diff --git a/tools/ui/src/lib/components/ui/drawer/index.ts b/ui/apps/chat/src/lib/components/ui/drawer/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/drawer/index.ts
rename to ui/apps/chat/src/lib/components/ui/drawer/index.ts
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-group.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-group.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-group.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-group.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-separator.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-separator.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-separator.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-separator.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-trigger.svelte b/ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/dropdown-menu-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/dropdown-menu-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/dropdown-menu/index.ts b/ui/apps/chat/src/lib/components/ui/dropdown-menu/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/dropdown-menu/index.ts
rename to ui/apps/chat/src/lib/components/ui/dropdown-menu/index.ts
diff --git a/tools/ui/src/lib/components/ui/empty/empty-content.svelte b/ui/apps/chat/src/lib/components/ui/empty/empty-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/empty-content.svelte
rename to ui/apps/chat/src/lib/components/ui/empty/empty-content.svelte
diff --git a/tools/ui/src/lib/components/ui/empty/empty-description.svelte b/ui/apps/chat/src/lib/components/ui/empty/empty-description.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/empty-description.svelte
rename to ui/apps/chat/src/lib/components/ui/empty/empty-description.svelte
diff --git a/tools/ui/src/lib/components/ui/empty/empty-header.svelte b/ui/apps/chat/src/lib/components/ui/empty/empty-header.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/empty-header.svelte
rename to ui/apps/chat/src/lib/components/ui/empty/empty-header.svelte
diff --git a/tools/ui/src/lib/components/ui/empty/empty-media.svelte b/ui/apps/chat/src/lib/components/ui/empty/empty-media.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/empty-media.svelte
rename to ui/apps/chat/src/lib/components/ui/empty/empty-media.svelte
diff --git a/tools/ui/src/lib/components/ui/empty/empty-title.svelte b/ui/apps/chat/src/lib/components/ui/empty/empty-title.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/empty-title.svelte
rename to ui/apps/chat/src/lib/components/ui/empty/empty-title.svelte
diff --git a/tools/ui/src/lib/components/ui/empty/empty.svelte b/ui/apps/chat/src/lib/components/ui/empty/empty.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/empty.svelte
rename to ui/apps/chat/src/lib/components/ui/empty/empty.svelte
diff --git a/tools/ui/src/lib/components/ui/empty/index.ts b/ui/apps/chat/src/lib/components/ui/empty/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/empty/index.ts
rename to ui/apps/chat/src/lib/components/ui/empty/index.ts
diff --git a/tools/ui/src/lib/components/ui/hover-card/hover-card-content.svelte b/ui/apps/chat/src/lib/components/ui/hover-card/hover-card-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/hover-card/hover-card-content.svelte
rename to ui/apps/chat/src/lib/components/ui/hover-card/hover-card-content.svelte
diff --git a/tools/ui/src/lib/components/ui/hover-card/hover-card-portal.svelte b/ui/apps/chat/src/lib/components/ui/hover-card/hover-card-portal.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/hover-card/hover-card-portal.svelte
rename to ui/apps/chat/src/lib/components/ui/hover-card/hover-card-portal.svelte
diff --git a/tools/ui/src/lib/components/ui/hover-card/hover-card-trigger.svelte b/ui/apps/chat/src/lib/components/ui/hover-card/hover-card-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/hover-card/hover-card-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/hover-card/hover-card-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/hover-card/hover-card.svelte b/ui/apps/chat/src/lib/components/ui/hover-card/hover-card.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/hover-card/hover-card.svelte
rename to ui/apps/chat/src/lib/components/ui/hover-card/hover-card.svelte
diff --git a/tools/ui/src/lib/components/ui/hover-card/index.ts b/ui/apps/chat/src/lib/components/ui/hover-card/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/hover-card/index.ts
rename to ui/apps/chat/src/lib/components/ui/hover-card/index.ts
diff --git a/tools/ui/src/lib/components/ui/input/index.ts b/ui/apps/chat/src/lib/components/ui/input/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/input/index.ts
rename to ui/apps/chat/src/lib/components/ui/input/index.ts
diff --git a/tools/ui/src/lib/components/ui/input/input.svelte b/ui/apps/chat/src/lib/components/ui/input/input.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/input/input.svelte
rename to ui/apps/chat/src/lib/components/ui/input/input.svelte
diff --git a/tools/ui/src/lib/components/ui/label/index.ts b/ui/apps/chat/src/lib/components/ui/label/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/label/index.ts
rename to ui/apps/chat/src/lib/components/ui/label/index.ts
diff --git a/tools/ui/src/lib/components/ui/label/label.svelte b/ui/apps/chat/src/lib/components/ui/label/label.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/label/label.svelte
rename to ui/apps/chat/src/lib/components/ui/label/label.svelte
diff --git a/tools/ui/src/lib/components/ui/popover/index.ts b/ui/apps/chat/src/lib/components/ui/popover/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/popover/index.ts
rename to ui/apps/chat/src/lib/components/ui/popover/index.ts
diff --git a/tools/ui/src/lib/components/ui/popover/popover-close.svelte b/ui/apps/chat/src/lib/components/ui/popover/popover-close.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/popover/popover-close.svelte
rename to ui/apps/chat/src/lib/components/ui/popover/popover-close.svelte
diff --git a/tools/ui/src/lib/components/ui/popover/popover-content.svelte b/ui/apps/chat/src/lib/components/ui/popover/popover-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/popover/popover-content.svelte
rename to ui/apps/chat/src/lib/components/ui/popover/popover-content.svelte
diff --git a/tools/ui/src/lib/components/ui/popover/popover-portal.svelte b/ui/apps/chat/src/lib/components/ui/popover/popover-portal.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/popover/popover-portal.svelte
rename to ui/apps/chat/src/lib/components/ui/popover/popover-portal.svelte
diff --git a/tools/ui/src/lib/components/ui/popover/popover-trigger.svelte b/ui/apps/chat/src/lib/components/ui/popover/popover-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/popover/popover-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/popover/popover-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/popover/popover.svelte b/ui/apps/chat/src/lib/components/ui/popover/popover.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/popover/popover.svelte
rename to ui/apps/chat/src/lib/components/ui/popover/popover.svelte
diff --git a/tools/ui/src/lib/components/ui/radio-group/index.ts b/ui/apps/chat/src/lib/components/ui/radio-group/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/radio-group/index.ts
rename to ui/apps/chat/src/lib/components/ui/radio-group/index.ts
diff --git a/tools/ui/src/lib/components/ui/radio-group/radio-group-item.svelte b/ui/apps/chat/src/lib/components/ui/radio-group/radio-group-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/radio-group/radio-group-item.svelte
rename to ui/apps/chat/src/lib/components/ui/radio-group/radio-group-item.svelte
diff --git a/tools/ui/src/lib/components/ui/radio-group/radio-group.svelte b/ui/apps/chat/src/lib/components/ui/radio-group/radio-group.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/radio-group/radio-group.svelte
rename to ui/apps/chat/src/lib/components/ui/radio-group/radio-group.svelte
diff --git a/tools/ui/src/lib/components/ui/scroll-area/index.ts b/ui/apps/chat/src/lib/components/ui/scroll-area/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/scroll-area/index.ts
rename to ui/apps/chat/src/lib/components/ui/scroll-area/index.ts
diff --git a/tools/ui/src/lib/components/ui/scroll-area/scroll-area-scrollbar.svelte b/ui/apps/chat/src/lib/components/ui/scroll-area/scroll-area-scrollbar.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/scroll-area/scroll-area-scrollbar.svelte
rename to ui/apps/chat/src/lib/components/ui/scroll-area/scroll-area-scrollbar.svelte
diff --git a/tools/ui/src/lib/components/ui/scroll-area/scroll-area.svelte b/ui/apps/chat/src/lib/components/ui/scroll-area/scroll-area.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/scroll-area/scroll-area.svelte
rename to ui/apps/chat/src/lib/components/ui/scroll-area/scroll-area.svelte
diff --git a/tools/ui/src/lib/components/ui/select/index.ts b/ui/apps/chat/src/lib/components/ui/select/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/index.ts
rename to ui/apps/chat/src/lib/components/ui/select/index.ts
diff --git a/tools/ui/src/lib/components/ui/select/select-content.svelte b/ui/apps/chat/src/lib/components/ui/select/select-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-content.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-content.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-group-heading.svelte b/ui/apps/chat/src/lib/components/ui/select/select-group-heading.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-group-heading.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-group-heading.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-group.svelte b/ui/apps/chat/src/lib/components/ui/select/select-group.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-group.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-group.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-item.svelte b/ui/apps/chat/src/lib/components/ui/select/select-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-item.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-item.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-label.svelte b/ui/apps/chat/src/lib/components/ui/select/select-label.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-label.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-label.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-scroll-down-button.svelte b/ui/apps/chat/src/lib/components/ui/select/select-scroll-down-button.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-scroll-down-button.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-scroll-down-button.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-scroll-up-button.svelte b/ui/apps/chat/src/lib/components/ui/select/select-scroll-up-button.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-scroll-up-button.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-scroll-up-button.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-separator.svelte b/ui/apps/chat/src/lib/components/ui/select/select-separator.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-separator.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-separator.svelte
diff --git a/tools/ui/src/lib/components/ui/select/select-trigger.svelte b/ui/apps/chat/src/lib/components/ui/select/select-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/select/select-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/select/select-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/separator/index.ts b/ui/apps/chat/src/lib/components/ui/separator/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/separator/index.ts
rename to ui/apps/chat/src/lib/components/ui/separator/index.ts
diff --git a/tools/ui/src/lib/components/ui/separator/separator.svelte b/ui/apps/chat/src/lib/components/ui/separator/separator.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/separator/separator.svelte
rename to ui/apps/chat/src/lib/components/ui/separator/separator.svelte
diff --git a/tools/ui/src/lib/components/ui/skeleton/index.ts b/ui/apps/chat/src/lib/components/ui/skeleton/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/skeleton/index.ts
rename to ui/apps/chat/src/lib/components/ui/skeleton/index.ts
diff --git a/tools/ui/src/lib/components/ui/skeleton/skeleton.svelte b/ui/apps/chat/src/lib/components/ui/skeleton/skeleton.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/skeleton/skeleton.svelte
rename to ui/apps/chat/src/lib/components/ui/skeleton/skeleton.svelte
diff --git a/tools/ui/src/lib/components/ui/switch/index.ts b/ui/apps/chat/src/lib/components/ui/switch/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/switch/index.ts
rename to ui/apps/chat/src/lib/components/ui/switch/index.ts
diff --git a/tools/ui/src/lib/components/ui/switch/switch.svelte b/ui/apps/chat/src/lib/components/ui/switch/switch.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/switch/switch.svelte
rename to ui/apps/chat/src/lib/components/ui/switch/switch.svelte
diff --git a/tools/ui/src/lib/components/ui/table/index.ts b/ui/apps/chat/src/lib/components/ui/table/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/index.ts
rename to ui/apps/chat/src/lib/components/ui/table/index.ts
diff --git a/tools/ui/src/lib/components/ui/table/table-body.svelte b/ui/apps/chat/src/lib/components/ui/table/table-body.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-body.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-body.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table-caption.svelte b/ui/apps/chat/src/lib/components/ui/table/table-caption.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-caption.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-caption.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table-cell.svelte b/ui/apps/chat/src/lib/components/ui/table/table-cell.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-cell.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-cell.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table-footer.svelte b/ui/apps/chat/src/lib/components/ui/table/table-footer.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-footer.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-footer.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table-head.svelte b/ui/apps/chat/src/lib/components/ui/table/table-head.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-head.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-head.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table-header.svelte b/ui/apps/chat/src/lib/components/ui/table/table-header.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-header.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-header.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table-row.svelte b/ui/apps/chat/src/lib/components/ui/table/table-row.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table-row.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table-row.svelte
diff --git a/tools/ui/src/lib/components/ui/table/table.svelte b/ui/apps/chat/src/lib/components/ui/table/table.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/table/table.svelte
rename to ui/apps/chat/src/lib/components/ui/table/table.svelte
diff --git a/tools/ui/src/lib/components/ui/textarea/index.ts b/ui/apps/chat/src/lib/components/ui/textarea/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/textarea/index.ts
rename to ui/apps/chat/src/lib/components/ui/textarea/index.ts
diff --git a/tools/ui/src/lib/components/ui/textarea/textarea.svelte b/ui/apps/chat/src/lib/components/ui/textarea/textarea.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/textarea/textarea.svelte
rename to ui/apps/chat/src/lib/components/ui/textarea/textarea.svelte
diff --git a/tools/ui/src/lib/components/ui/toggle-group/index.ts b/ui/apps/chat/src/lib/components/ui/toggle-group/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/toggle-group/index.ts
rename to ui/apps/chat/src/lib/components/ui/toggle-group/index.ts
diff --git a/tools/ui/src/lib/components/ui/toggle-group/toggle-group-item.svelte b/ui/apps/chat/src/lib/components/ui/toggle-group/toggle-group-item.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/toggle-group/toggle-group-item.svelte
rename to ui/apps/chat/src/lib/components/ui/toggle-group/toggle-group-item.svelte
diff --git a/tools/ui/src/lib/components/ui/toggle-group/toggle-group.svelte b/ui/apps/chat/src/lib/components/ui/toggle-group/toggle-group.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/toggle-group/toggle-group.svelte
rename to ui/apps/chat/src/lib/components/ui/toggle-group/toggle-group.svelte
diff --git a/tools/ui/src/lib/components/ui/toggle/index.ts b/ui/apps/chat/src/lib/components/ui/toggle/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/toggle/index.ts
rename to ui/apps/chat/src/lib/components/ui/toggle/index.ts
diff --git a/tools/ui/src/lib/components/ui/toggle/toggle.svelte b/ui/apps/chat/src/lib/components/ui/toggle/toggle.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/toggle/toggle.svelte
rename to ui/apps/chat/src/lib/components/ui/toggle/toggle.svelte
diff --git a/tools/ui/src/lib/components/ui/tooltip/index.ts b/ui/apps/chat/src/lib/components/ui/tooltip/index.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/tooltip/index.ts
rename to ui/apps/chat/src/lib/components/ui/tooltip/index.ts
diff --git a/tools/ui/src/lib/components/ui/tooltip/tooltip-content.svelte b/ui/apps/chat/src/lib/components/ui/tooltip/tooltip-content.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/tooltip/tooltip-content.svelte
rename to ui/apps/chat/src/lib/components/ui/tooltip/tooltip-content.svelte
diff --git a/tools/ui/src/lib/components/ui/tooltip/tooltip-trigger.svelte b/ui/apps/chat/src/lib/components/ui/tooltip/tooltip-trigger.svelte
similarity index 100%
rename from tools/ui/src/lib/components/ui/tooltip/tooltip-trigger.svelte
rename to ui/apps/chat/src/lib/components/ui/tooltip/tooltip-trigger.svelte
diff --git a/tools/ui/src/lib/components/ui/utils.ts b/ui/apps/chat/src/lib/components/ui/utils.ts
similarity index 100%
rename from tools/ui/src/lib/components/ui/utils.ts
rename to ui/apps/chat/src/lib/components/ui/utils.ts
diff --git a/tools/ui/src/lib/constants/agentic.constants.ts b/ui/apps/chat/src/lib/constants/agentic.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/agentic.constants.ts
rename to ui/apps/chat/src/lib/constants/agentic.constants.ts
diff --git a/tools/ui/src/lib/constants/api-endpoints.constants.ts b/ui/apps/chat/src/lib/constants/api-endpoints.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/api-endpoints.constants.ts
rename to ui/apps/chat/src/lib/constants/api-endpoints.constants.ts
diff --git a/tools/ui/src/lib/constants/app.constants.ts b/ui/apps/chat/src/lib/constants/app.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/app.constants.ts
rename to ui/apps/chat/src/lib/constants/app.constants.ts
diff --git a/tools/ui/src/lib/constants/attachment-menu.constants.ts b/ui/apps/chat/src/lib/constants/attachment-menu.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/attachment-menu.constants.ts
rename to ui/apps/chat/src/lib/constants/attachment-menu.constants.ts
diff --git a/tools/ui/src/lib/constants/auto-scroll.constants.ts b/ui/apps/chat/src/lib/constants/auto-scroll.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/auto-scroll.constants.ts
rename to ui/apps/chat/src/lib/constants/auto-scroll.constants.ts
diff --git a/tools/ui/src/lib/constants/backend.constants.ts b/ui/apps/chat/src/lib/constants/backend.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/backend.constants.ts
rename to ui/apps/chat/src/lib/constants/backend.constants.ts
diff --git a/tools/ui/src/lib/constants/binary-detection.constants.ts b/ui/apps/chat/src/lib/constants/binary-detection.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/binary-detection.constants.ts
rename to ui/apps/chat/src/lib/constants/binary-detection.constants.ts
diff --git a/tools/ui/src/lib/constants/browser-info.ts b/ui/apps/chat/src/lib/constants/browser-info.ts
similarity index 100%
rename from tools/ui/src/lib/constants/browser-info.ts
rename to ui/apps/chat/src/lib/constants/browser-info.ts
diff --git a/tools/ui/src/lib/constants/cache.constants.ts b/ui/apps/chat/src/lib/constants/cache.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/cache.constants.ts
rename to ui/apps/chat/src/lib/constants/cache.constants.ts
diff --git a/tools/ui/src/lib/constants/chat-form.constants.ts b/ui/apps/chat/src/lib/constants/chat-form.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/chat-form.constants.ts
rename to ui/apps/chat/src/lib/constants/chat-form.constants.ts
diff --git a/tools/ui/src/lib/constants/chat-tabs.constants.ts b/ui/apps/chat/src/lib/constants/chat-tabs.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/chat-tabs.constants.ts
rename to ui/apps/chat/src/lib/constants/chat-tabs.constants.ts
diff --git a/tools/ui/src/lib/constants/cli-flags.constants.ts b/ui/apps/chat/src/lib/constants/cli-flags.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/cli-flags.constants.ts
rename to ui/apps/chat/src/lib/constants/cli-flags.constants.ts
diff --git a/tools/ui/src/lib/constants/code-block.constants.ts b/ui/apps/chat/src/lib/constants/code-block.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/code-block.constants.ts
rename to ui/apps/chat/src/lib/constants/code-block.constants.ts
diff --git a/tools/ui/src/lib/constants/compaction.constants.ts b/ui/apps/chat/src/lib/constants/compaction.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/compaction.constants.ts
rename to ui/apps/chat/src/lib/constants/compaction.constants.ts
diff --git a/tools/ui/src/lib/constants/content-detection.constants.ts b/ui/apps/chat/src/lib/constants/content-detection.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/content-detection.constants.ts
rename to ui/apps/chat/src/lib/constants/content-detection.constants.ts
diff --git a/tools/ui/src/lib/constants/context-gauge-dial.constants.ts b/ui/apps/chat/src/lib/constants/context-gauge-dial.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/context-gauge-dial.constants.ts
rename to ui/apps/chat/src/lib/constants/context-gauge-dial.constants.ts
diff --git a/tools/ui/src/lib/constants/context-gauge-popup.constants.ts b/ui/apps/chat/src/lib/constants/context-gauge-popup.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/context-gauge-popup.constants.ts
rename to ui/apps/chat/src/lib/constants/context-gauge-popup.constants.ts
diff --git a/tools/ui/src/lib/constants/context-keys.constants.ts b/ui/apps/chat/src/lib/constants/context-keys.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/context-keys.constants.ts
rename to ui/apps/chat/src/lib/constants/context-keys.constants.ts
diff --git a/tools/ui/src/lib/constants/control-actions.constants.ts b/ui/apps/chat/src/lib/constants/control-actions.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/control-actions.constants.ts
rename to ui/apps/chat/src/lib/constants/control-actions.constants.ts
diff --git a/tools/ui/src/lib/constants/conversation-import.constants.ts b/ui/apps/chat/src/lib/constants/conversation-import.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/conversation-import.constants.ts
rename to ui/apps/chat/src/lib/constants/conversation-import.constants.ts
diff --git a/tools/ui/src/lib/constants/css-classes.constants.ts b/ui/apps/chat/src/lib/constants/css-classes.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/css-classes.constants.ts
rename to ui/apps/chat/src/lib/constants/css-classes.constants.ts
diff --git a/tools/ui/src/lib/constants/database.constants.ts b/ui/apps/chat/src/lib/constants/database.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/database.constants.ts
rename to ui/apps/chat/src/lib/constants/database.constants.ts
diff --git a/tools/ui/src/lib/constants/diagram-blocks.constants.ts b/ui/apps/chat/src/lib/constants/diagram-blocks.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/diagram-blocks.constants.ts
rename to ui/apps/chat/src/lib/constants/diagram-blocks.constants.ts
diff --git a/tools/ui/src/lib/constants/error.constants.ts b/ui/apps/chat/src/lib/constants/error.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/error.constants.ts
rename to ui/apps/chat/src/lib/constants/error.constants.ts
diff --git a/tools/ui/src/lib/constants/formatters.constants.ts b/ui/apps/chat/src/lib/constants/formatters.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/formatters.constants.ts
rename to ui/apps/chat/src/lib/constants/formatters.constants.ts
diff --git a/tools/ui/src/lib/constants/get-datetime.ts b/ui/apps/chat/src/lib/constants/get-datetime.ts
similarity index 100%
rename from tools/ui/src/lib/constants/get-datetime.ts
rename to ui/apps/chat/src/lib/constants/get-datetime.ts
diff --git a/tools/ui/src/lib/constants/groups.constants.ts b/ui/apps/chat/src/lib/constants/groups.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/groups.constants.ts
rename to ui/apps/chat/src/lib/constants/groups.constants.ts
diff --git a/tools/ui/src/lib/constants/headers.constants.ts b/ui/apps/chat/src/lib/constants/headers.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/headers.constants.ts
rename to ui/apps/chat/src/lib/constants/headers.constants.ts
diff --git a/tools/ui/src/lib/constants/huggingface.constants.ts b/ui/apps/chat/src/lib/constants/huggingface.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/huggingface.constants.ts
rename to ui/apps/chat/src/lib/constants/huggingface.constants.ts
diff --git a/tools/ui/src/lib/constants/icons.constants.ts b/ui/apps/chat/src/lib/constants/icons.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/icons.constants.ts
rename to ui/apps/chat/src/lib/constants/icons.constants.ts
diff --git a/tools/ui/src/lib/constants/image.constants.ts b/ui/apps/chat/src/lib/constants/image.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/image.constants.ts
rename to ui/apps/chat/src/lib/constants/image.constants.ts
diff --git a/tools/ui/src/lib/constants/index.ts b/ui/apps/chat/src/lib/constants/index.ts
similarity index 100%
rename from tools/ui/src/lib/constants/index.ts
rename to ui/apps/chat/src/lib/constants/index.ts
diff --git a/tools/ui/src/lib/constants/key-value-pairs.constants.ts b/ui/apps/chat/src/lib/constants/key-value-pairs.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/key-value-pairs.constants.ts
rename to ui/apps/chat/src/lib/constants/key-value-pairs.constants.ts
diff --git a/tools/ui/src/lib/constants/keyboard-shortcuts.constants.ts b/ui/apps/chat/src/lib/constants/keyboard-shortcuts.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/keyboard-shortcuts.constants.ts
rename to ui/apps/chat/src/lib/constants/keyboard-shortcuts.constants.ts
diff --git a/tools/ui/src/lib/constants/latex-protection.constants.ts b/ui/apps/chat/src/lib/constants/latex-protection.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/latex-protection.constants.ts
rename to ui/apps/chat/src/lib/constants/latex-protection.constants.ts
diff --git a/tools/ui/src/lib/constants/literal-html.constants.ts b/ui/apps/chat/src/lib/constants/literal-html.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/literal-html.constants.ts
rename to ui/apps/chat/src/lib/constants/literal-html.constants.ts
diff --git a/tools/ui/src/lib/constants/markdown.constants.ts b/ui/apps/chat/src/lib/constants/markdown.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/markdown.constants.ts
rename to ui/apps/chat/src/lib/constants/markdown.constants.ts
diff --git a/tools/ui/src/lib/constants/max-bundle-size.constants.ts b/ui/apps/chat/src/lib/constants/max-bundle-size.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/max-bundle-size.constants.ts
rename to ui/apps/chat/src/lib/constants/max-bundle-size.constants.ts
diff --git a/tools/ui/src/lib/constants/mcp-form.constants.ts b/ui/apps/chat/src/lib/constants/mcp-form.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/mcp-form.constants.ts
rename to ui/apps/chat/src/lib/constants/mcp-form.constants.ts
diff --git a/tools/ui/src/lib/constants/mcp-resource.constants.ts b/ui/apps/chat/src/lib/constants/mcp-resource.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/mcp-resource.constants.ts
rename to ui/apps/chat/src/lib/constants/mcp-resource.constants.ts
diff --git a/tools/ui/src/lib/constants/mcp.constants.ts b/ui/apps/chat/src/lib/constants/mcp.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/mcp.constants.ts
rename to ui/apps/chat/src/lib/constants/mcp.constants.ts
diff --git a/tools/ui/src/lib/constants/mention-badge.constants.ts b/ui/apps/chat/src/lib/constants/mention-badge.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/mention-badge.constants.ts
rename to ui/apps/chat/src/lib/constants/mention-badge.constants.ts
diff --git a/tools/ui/src/lib/constants/mermaid-blocks.constants.ts b/ui/apps/chat/src/lib/constants/mermaid-blocks.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/mermaid-blocks.constants.ts
rename to ui/apps/chat/src/lib/constants/mermaid-blocks.constants.ts
diff --git a/tools/ui/src/lib/constants/message-export.constants.ts b/ui/apps/chat/src/lib/constants/message-export.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/message-export.constants.ts
rename to ui/apps/chat/src/lib/constants/message-export.constants.ts
diff --git a/tools/ui/src/lib/constants/microphone.constants.ts b/ui/apps/chat/src/lib/constants/microphone.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/microphone.constants.ts
rename to ui/apps/chat/src/lib/constants/microphone.constants.ts
diff --git a/tools/ui/src/lib/constants/model-compatibility.constants.ts b/ui/apps/chat/src/lib/constants/model-compatibility.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/model-compatibility.constants.ts
rename to ui/apps/chat/src/lib/constants/model-compatibility.constants.ts
diff --git a/tools/ui/src/lib/constants/model-id.constants.ts b/ui/apps/chat/src/lib/constants/model-id.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/model-id.constants.ts
rename to ui/apps/chat/src/lib/constants/model-id.constants.ts
diff --git a/tools/ui/src/lib/constants/model-loading.constants.ts b/ui/apps/chat/src/lib/constants/model-loading.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/model-loading.constants.ts
rename to ui/apps/chat/src/lib/constants/model-loading.constants.ts
diff --git a/tools/ui/src/lib/constants/models-discover-download.constants.ts b/ui/apps/chat/src/lib/constants/models-discover-download.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/models-discover-download.constants.ts
rename to ui/apps/chat/src/lib/constants/models-discover-download.constants.ts
diff --git a/tools/ui/src/lib/constants/models-discover.constants.ts b/ui/apps/chat/src/lib/constants/models-discover.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/models-discover.constants.ts
rename to ui/apps/chat/src/lib/constants/models-discover.constants.ts
diff --git a/tools/ui/src/lib/constants/models-manager.constants.ts b/ui/apps/chat/src/lib/constants/models-manager.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/models-manager.constants.ts
rename to ui/apps/chat/src/lib/constants/models-manager.constants.ts
diff --git a/tools/ui/src/lib/constants/path-display.constants.ts b/ui/apps/chat/src/lib/constants/path-display.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/path-display.constants.ts
rename to ui/apps/chat/src/lib/constants/path-display.constants.ts
diff --git a/tools/ui/src/lib/constants/precision.constants.ts b/ui/apps/chat/src/lib/constants/precision.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/precision.constants.ts
rename to ui/apps/chat/src/lib/constants/precision.constants.ts
diff --git a/tools/ui/src/lib/constants/pwa.constants.ts b/ui/apps/chat/src/lib/constants/pwa.constants.ts
similarity index 99%
rename from tools/ui/src/lib/constants/pwa.constants.ts
rename to ui/apps/chat/src/lib/constants/pwa.constants.ts
index e8f346817..ced12a695 100644
--- a/tools/ui/src/lib/constants/pwa.constants.ts
+++ b/ui/apps/chat/src/lib/constants/pwa.constants.ts
@@ -182,7 +182,7 @@ export const BUILD_CONFIG = {
This is a static build of the frontend.
It is automatically generated by the build process.
Do not edit this file directly.
- To make changes, refer to the "Web UI" section in the README.
+ To make changes, refer to the "Llama Chat" section in the README.
-->
`.trim(),
OUTPUT_DIR: './dist'
diff --git a/tools/ui/src/lib/constants/read-media.ts b/ui/apps/chat/src/lib/constants/read-media.ts
similarity index 100%
rename from tools/ui/src/lib/constants/read-media.ts
rename to ui/apps/chat/src/lib/constants/read-media.ts
diff --git a/tools/ui/src/lib/constants/reasoning-effort.constants.ts b/ui/apps/chat/src/lib/constants/reasoning-effort.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/reasoning-effort.constants.ts
rename to ui/apps/chat/src/lib/constants/reasoning-effort.constants.ts
diff --git a/tools/ui/src/lib/constants/recommended-mcp-servers.constants.ts b/ui/apps/chat/src/lib/constants/recommended-mcp-servers.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/recommended-mcp-servers.constants.ts
rename to ui/apps/chat/src/lib/constants/recommended-mcp-servers.constants.ts
diff --git a/tools/ui/src/lib/constants/routes.constants.ts b/ui/apps/chat/src/lib/constants/routes.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/routes.constants.ts
rename to ui/apps/chat/src/lib/constants/routes.constants.ts
diff --git a/tools/ui/src/lib/constants/sandbox.constants.ts b/ui/apps/chat/src/lib/constants/sandbox.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/sandbox.constants.ts
rename to ui/apps/chat/src/lib/constants/sandbox.constants.ts
diff --git a/tools/ui/src/lib/constants/search-chats.ts b/ui/apps/chat/src/lib/constants/search-chats.ts
similarity index 100%
rename from tools/ui/src/lib/constants/search-chats.ts
rename to ui/apps/chat/src/lib/constants/search-chats.ts
diff --git a/tools/ui/src/lib/constants/settings-keys.constants.ts b/ui/apps/chat/src/lib/constants/settings-keys.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/settings-keys.constants.ts
rename to ui/apps/chat/src/lib/constants/settings-keys.constants.ts
diff --git a/tools/ui/src/lib/constants/settings.constants.ts b/ui/apps/chat/src/lib/constants/settings.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/settings.constants.ts
rename to ui/apps/chat/src/lib/constants/settings.constants.ts
diff --git a/tools/ui/src/lib/constants/special-characters.constants.ts b/ui/apps/chat/src/lib/constants/special-characters.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/special-characters.constants.ts
rename to ui/apps/chat/src/lib/constants/special-characters.constants.ts
diff --git a/tools/ui/src/lib/constants/storage.constants.ts b/ui/apps/chat/src/lib/constants/storage.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/storage.constants.ts
rename to ui/apps/chat/src/lib/constants/storage.constants.ts
diff --git a/tools/ui/src/lib/constants/stream.constants.ts b/ui/apps/chat/src/lib/constants/stream.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/stream.constants.ts
rename to ui/apps/chat/src/lib/constants/stream.constants.ts
diff --git a/tools/ui/src/lib/constants/supported-file-types.constants.ts b/ui/apps/chat/src/lib/constants/supported-file-types.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/supported-file-types.constants.ts
rename to ui/apps/chat/src/lib/constants/supported-file-types.constants.ts
diff --git a/tools/ui/src/lib/constants/svg-blocks.constants.ts b/ui/apps/chat/src/lib/constants/svg-blocks.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/svg-blocks.constants.ts
rename to ui/apps/chat/src/lib/constants/svg-blocks.constants.ts
diff --git a/tools/ui/src/lib/constants/table-html-restorer.constants.ts b/ui/apps/chat/src/lib/constants/table-html-restorer.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/table-html-restorer.constants.ts
rename to ui/apps/chat/src/lib/constants/table-html-restorer.constants.ts
diff --git a/tools/ui/src/lib/constants/title-generation.constants.ts b/ui/apps/chat/src/lib/constants/title-generation.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/title-generation.constants.ts
rename to ui/apps/chat/src/lib/constants/title-generation.constants.ts
diff --git a/tools/ui/src/lib/constants/tool-call-args.constants.ts b/ui/apps/chat/src/lib/constants/tool-call-args.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/tool-call-args.constants.ts
rename to ui/apps/chat/src/lib/constants/tool-call-args.constants.ts
diff --git a/tools/ui/src/lib/constants/tool-ui.constants.ts b/ui/apps/chat/src/lib/constants/tool-ui.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/tool-ui.constants.ts
rename to ui/apps/chat/src/lib/constants/tool-ui.constants.ts
diff --git a/tools/ui/src/lib/constants/ui.constants.ts b/ui/apps/chat/src/lib/constants/ui.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/ui.constants.ts
rename to ui/apps/chat/src/lib/constants/ui.constants.ts
diff --git a/tools/ui/src/lib/constants/uri-template.constants.ts b/ui/apps/chat/src/lib/constants/uri-template.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/uri-template.constants.ts
rename to ui/apps/chat/src/lib/constants/uri-template.constants.ts
diff --git a/tools/ui/src/lib/constants/url.constants.ts b/ui/apps/chat/src/lib/constants/url.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/url.constants.ts
rename to ui/apps/chat/src/lib/constants/url.constants.ts
diff --git a/tools/ui/src/lib/constants/working-directory.constants.ts b/ui/apps/chat/src/lib/constants/working-directory.constants.ts
similarity index 100%
rename from tools/ui/src/lib/constants/working-directory.constants.ts
rename to ui/apps/chat/src/lib/constants/working-directory.constants.ts
diff --git a/tools/ui/src/lib/contexts/chat-form-actions.context.ts b/ui/apps/chat/src/lib/contexts/chat-form-actions.context.ts
similarity index 100%
rename from tools/ui/src/lib/contexts/chat-form-actions.context.ts
rename to ui/apps/chat/src/lib/contexts/chat-form-actions.context.ts
diff --git a/tools/ui/src/lib/contexts/chat-message-actions.context.ts b/ui/apps/chat/src/lib/contexts/chat-message-actions.context.ts
similarity index 100%
rename from tools/ui/src/lib/contexts/chat-message-actions.context.ts
rename to ui/apps/chat/src/lib/contexts/chat-message-actions.context.ts
diff --git a/tools/ui/src/lib/contexts/chat-message-edit.context.ts b/ui/apps/chat/src/lib/contexts/chat-message-edit.context.ts
similarity index 100%
rename from tools/ui/src/lib/contexts/chat-message-edit.context.ts
rename to ui/apps/chat/src/lib/contexts/chat-message-edit.context.ts
diff --git a/tools/ui/src/lib/contexts/index.ts b/ui/apps/chat/src/lib/contexts/index.ts
similarity index 100%
rename from tools/ui/src/lib/contexts/index.ts
rename to ui/apps/chat/src/lib/contexts/index.ts
diff --git a/tools/ui/src/lib/enums/agentic.enums.ts b/ui/apps/chat/src/lib/enums/agentic.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/agentic.enums.ts
rename to ui/apps/chat/src/lib/enums/agentic.enums.ts
diff --git a/tools/ui/src/lib/enums/attachment.enums.ts b/ui/apps/chat/src/lib/enums/attachment.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/attachment.enums.ts
rename to ui/apps/chat/src/lib/enums/attachment.enums.ts
diff --git a/tools/ui/src/lib/enums/boolean-string.enums.ts b/ui/apps/chat/src/lib/enums/boolean-string.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/boolean-string.enums.ts
rename to ui/apps/chat/src/lib/enums/boolean-string.enums.ts
diff --git a/tools/ui/src/lib/enums/chat.enums.ts b/ui/apps/chat/src/lib/enums/chat.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/chat.enums.ts
rename to ui/apps/chat/src/lib/enums/chat.enums.ts
diff --git a/tools/ui/src/lib/enums/conversation-import.enums.ts b/ui/apps/chat/src/lib/enums/conversation-import.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/conversation-import.enums.ts
rename to ui/apps/chat/src/lib/enums/conversation-import.enums.ts
diff --git a/tools/ui/src/lib/enums/files.enums.ts b/ui/apps/chat/src/lib/enums/files.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/files.enums.ts
rename to ui/apps/chat/src/lib/enums/files.enums.ts
diff --git a/tools/ui/src/lib/enums/huggingface.enums.ts b/ui/apps/chat/src/lib/enums/huggingface.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/huggingface.enums.ts
rename to ui/apps/chat/src/lib/enums/huggingface.enums.ts
diff --git a/tools/ui/src/lib/enums/index.ts b/ui/apps/chat/src/lib/enums/index.ts
similarity index 100%
rename from tools/ui/src/lib/enums/index.ts
rename to ui/apps/chat/src/lib/enums/index.ts
diff --git a/tools/ui/src/lib/enums/keyboard.enums.ts b/ui/apps/chat/src/lib/enums/keyboard.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/keyboard.enums.ts
rename to ui/apps/chat/src/lib/enums/keyboard.enums.ts
diff --git a/tools/ui/src/lib/enums/mcp.enums.ts b/ui/apps/chat/src/lib/enums/mcp.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/mcp.enums.ts
rename to ui/apps/chat/src/lib/enums/mcp.enums.ts
diff --git a/tools/ui/src/lib/enums/model.enums.ts b/ui/apps/chat/src/lib/enums/model.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/model.enums.ts
rename to ui/apps/chat/src/lib/enums/model.enums.ts
diff --git a/tools/ui/src/lib/enums/reasoning-effort.enums.ts b/ui/apps/chat/src/lib/enums/reasoning-effort.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/reasoning-effort.enums.ts
rename to ui/apps/chat/src/lib/enums/reasoning-effort.enums.ts
diff --git a/tools/ui/src/lib/enums/server.enums.ts b/ui/apps/chat/src/lib/enums/server.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/server.enums.ts
rename to ui/apps/chat/src/lib/enums/server.enums.ts
diff --git a/tools/ui/src/lib/enums/settings.enums.ts b/ui/apps/chat/src/lib/enums/settings.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/settings.enums.ts
rename to ui/apps/chat/src/lib/enums/settings.enums.ts
diff --git a/tools/ui/src/lib/enums/splash.enums.ts b/ui/apps/chat/src/lib/enums/splash.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/splash.enums.ts
rename to ui/apps/chat/src/lib/enums/splash.enums.ts
diff --git a/tools/ui/src/lib/enums/tools.enums.ts b/ui/apps/chat/src/lib/enums/tools.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/tools.enums.ts
rename to ui/apps/chat/src/lib/enums/tools.enums.ts
diff --git a/tools/ui/src/lib/enums/ui.enums.ts b/ui/apps/chat/src/lib/enums/ui.enums.ts
similarity index 100%
rename from tools/ui/src/lib/enums/ui.enums.ts
rename to ui/apps/chat/src/lib/enums/ui.enums.ts
diff --git a/tools/ui/src/lib/hooks/use-attachment-menu.svelte.ts b/ui/apps/chat/src/lib/hooks/use-attachment-menu.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-attachment-menu.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-attachment-menu.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-form-expansion.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-form-expansion.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-form-expansion.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-form-expansion.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-form-model.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-form-model.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-form-model.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-form-model.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-form-pickers.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-form-pickers.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-form-pickers.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-form-pickers.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-message-edit-context.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-message-edit-context.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-message-edit-context.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-message-edit-context.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-screen-active-model.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-screen-active-model.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-screen-active-model.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-screen-active-model.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-screen-drag-and-drop.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-screen-drag-and-drop.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-screen-drag-and-drop.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-screen-drag-and-drop.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-chat-screen-file-upload.svelte.ts b/ui/apps/chat/src/lib/hooks/use-chat-screen-file-upload.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-chat-screen-file-upload.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-chat-screen-file-upload.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-context-gauge.svelte.ts b/ui/apps/chat/src/lib/hooks/use-context-gauge.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-context-gauge.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-context-gauge.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-debounced-search.svelte.ts b/ui/apps/chat/src/lib/hooks/use-debounced-search.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-debounced-search.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-debounced-search.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-draft-messages.svelte.ts b/ui/apps/chat/src/lib/hooks/use-draft-messages.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-draft-messages.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-draft-messages.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-keyboard-inset.svelte.ts b/ui/apps/chat/src/lib/hooks/use-keyboard-inset.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-keyboard-inset.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-keyboard-inset.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-keyboard-shortcuts.svelte.ts b/ui/apps/chat/src/lib/hooks/use-keyboard-shortcuts.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-keyboard-shortcuts.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-keyboard-shortcuts.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-long-press.svelte.ts b/ui/apps/chat/src/lib/hooks/use-long-press.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-long-press.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-long-press.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-marquee-selection.svelte.ts b/ui/apps/chat/src/lib/hooks/use-marquee-selection.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-marquee-selection.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-marquee-selection.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-models-selector.svelte.ts b/ui/apps/chat/src/lib/hooks/use-models-selector.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-models-selector.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-models-selector.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-picker-navigation.svelte.ts b/ui/apps/chat/src/lib/hooks/use-picker-navigation.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-picker-navigation.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-picker-navigation.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-processing-state.svelte.ts b/ui/apps/chat/src/lib/hooks/use-processing-state.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-processing-state.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-processing-state.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-pwa.svelte.ts b/ui/apps/chat/src/lib/hooks/use-pwa.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-pwa.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-pwa.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-reasoning-menu.svelte.ts b/ui/apps/chat/src/lib/hooks/use-reasoning-menu.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-reasoning-menu.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-reasoning-menu.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-scroll-active-row.svelte.ts b/ui/apps/chat/src/lib/hooks/use-scroll-active-row.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-scroll-active-row.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-scroll-active-row.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-scroll-carousel.svelte.ts b/ui/apps/chat/src/lib/hooks/use-scroll-carousel.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-scroll-carousel.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-scroll-carousel.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-sidebar-reveal.svelte.ts b/ui/apps/chat/src/lib/hooks/use-sidebar-reveal.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-sidebar-reveal.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-sidebar-reveal.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-stick-to-bottom.svelte.ts b/ui/apps/chat/src/lib/hooks/use-stick-to-bottom.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-stick-to-bottom.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-stick-to-bottom.svelte.ts
diff --git a/tools/ui/src/lib/hooks/use-tools-panel.svelte.ts b/ui/apps/chat/src/lib/hooks/use-tools-panel.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/hooks/use-tools-panel.svelte.ts
rename to ui/apps/chat/src/lib/hooks/use-tools-panel.svelte.ts
diff --git a/tools/ui/src/lib/services/chat.service.ts b/ui/apps/chat/src/lib/services/chat.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/chat.service.ts
rename to ui/apps/chat/src/lib/services/chat.service.ts
diff --git a/tools/ui/src/lib/services/conversation-transfer.service.ts b/ui/apps/chat/src/lib/services/conversation-transfer.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/conversation-transfer.service.ts
rename to ui/apps/chat/src/lib/services/conversation-transfer.service.ts
diff --git a/tools/ui/src/lib/services/database.service.ts b/ui/apps/chat/src/lib/services/database.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/database.service.ts
rename to ui/apps/chat/src/lib/services/database.service.ts
diff --git a/tools/ui/src/lib/services/huggingface.service.ts b/ui/apps/chat/src/lib/services/huggingface.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/huggingface.service.ts
rename to ui/apps/chat/src/lib/services/huggingface.service.ts
diff --git a/tools/ui/src/lib/services/index.ts b/ui/apps/chat/src/lib/services/index.ts
similarity index 100%
rename from tools/ui/src/lib/services/index.ts
rename to ui/apps/chat/src/lib/services/index.ts
diff --git a/tools/ui/src/lib/services/mcp.service.ts b/ui/apps/chat/src/lib/services/mcp.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/mcp.service.ts
rename to ui/apps/chat/src/lib/services/mcp.service.ts
diff --git a/tools/ui/src/lib/services/migration.service.ts b/ui/apps/chat/src/lib/services/migration.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/migration.service.ts
rename to ui/apps/chat/src/lib/services/migration.service.ts
diff --git a/tools/ui/src/lib/services/models.service.ts b/ui/apps/chat/src/lib/services/models.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/models.service.ts
rename to ui/apps/chat/src/lib/services/models.service.ts
diff --git a/tools/ui/src/lib/services/parameter-sync.service.spec.ts b/ui/apps/chat/src/lib/services/parameter-sync.service.spec.ts
similarity index 100%
rename from tools/ui/src/lib/services/parameter-sync.service.spec.ts
rename to ui/apps/chat/src/lib/services/parameter-sync.service.spec.ts
diff --git a/tools/ui/src/lib/services/parameter-sync.service.ts b/ui/apps/chat/src/lib/services/parameter-sync.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/parameter-sync.service.ts
rename to ui/apps/chat/src/lib/services/parameter-sync.service.ts
diff --git a/tools/ui/src/lib/services/props.service.ts b/ui/apps/chat/src/lib/services/props.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/props.service.ts
rename to ui/apps/chat/src/lib/services/props.service.ts
diff --git a/tools/ui/src/lib/services/read-media.service.ts b/ui/apps/chat/src/lib/services/read-media.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/read-media.service.ts
rename to ui/apps/chat/src/lib/services/read-media.service.ts
diff --git a/tools/ui/src/lib/services/router.service.ts b/ui/apps/chat/src/lib/services/router.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/router.service.ts
rename to ui/apps/chat/src/lib/services/router.service.ts
diff --git a/tools/ui/src/lib/services/sandbox-harness.ts b/ui/apps/chat/src/lib/services/sandbox-harness.ts
similarity index 100%
rename from tools/ui/src/lib/services/sandbox-harness.ts
rename to ui/apps/chat/src/lib/services/sandbox-harness.ts
diff --git a/tools/ui/src/lib/services/sandbox-worker.js b/ui/apps/chat/src/lib/services/sandbox-worker.js
similarity index 100%
rename from tools/ui/src/lib/services/sandbox-worker.js
rename to ui/apps/chat/src/lib/services/sandbox-worker.js
diff --git a/tools/ui/src/lib/services/sandbox.service.ts b/ui/apps/chat/src/lib/services/sandbox.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/sandbox.service.ts
rename to ui/apps/chat/src/lib/services/sandbox.service.ts
diff --git a/tools/ui/src/lib/services/search-chats.service.ts b/ui/apps/chat/src/lib/services/search-chats.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/search-chats.service.ts
rename to ui/apps/chat/src/lib/services/search-chats.service.ts
diff --git a/tools/ui/src/lib/services/settings.service.ts b/ui/apps/chat/src/lib/services/settings.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/settings.service.ts
rename to ui/apps/chat/src/lib/services/settings.service.ts
diff --git a/tools/ui/src/lib/services/tools.service.ts b/ui/apps/chat/src/lib/services/tools.service.ts
similarity index 100%
rename from tools/ui/src/lib/services/tools.service.ts
rename to ui/apps/chat/src/lib/services/tools.service.ts
diff --git a/tools/ui/src/lib/stores/agentic/gates.svelte.ts b/ui/apps/chat/src/lib/stores/agentic/gates.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/agentic/gates.svelte.ts
rename to ui/apps/chat/src/lib/stores/agentic/gates.svelte.ts
diff --git a/tools/ui/src/lib/stores/agentic/index.svelte.ts b/ui/apps/chat/src/lib/stores/agentic/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/agentic/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/agentic/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/activity.svelte.ts b/ui/apps/chat/src/lib/stores/chat/activity.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/activity.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/activity.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/context-stats.svelte.ts b/ui/apps/chat/src/lib/stores/chat/context-stats.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/context-stats.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/context-stats.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/drafts.svelte.ts b/ui/apps/chat/src/lib/stores/chat/drafts.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/drafts.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/drafts.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/flows.svelte.ts b/ui/apps/chat/src/lib/stores/chat/flows.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/flows.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/flows.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/index.svelte.ts b/ui/apps/chat/src/lib/stores/chat/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/processing.svelte.ts b/ui/apps/chat/src/lib/stores/chat/processing.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/processing.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/processing.svelte.ts
diff --git a/tools/ui/src/lib/stores/chat/streams.svelte.ts b/ui/apps/chat/src/lib/stores/chat/streams.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/chat/streams.svelte.ts
rename to ui/apps/chat/src/lib/stores/chat/streams.svelte.ts
diff --git a/tools/ui/src/lib/stores/conversations/index.svelte.ts b/ui/apps/chat/src/lib/stores/conversations/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/conversations/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/conversations/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/conversations/preferences.svelte.ts b/ui/apps/chat/src/lib/stores/conversations/preferences.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/conversations/preferences.svelte.ts
rename to ui/apps/chat/src/lib/stores/conversations/preferences.svelte.ts
diff --git a/tools/ui/src/lib/stores/device.svelte.ts b/ui/apps/chat/src/lib/stores/device.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/device.svelte.ts
rename to ui/apps/chat/src/lib/stores/device.svelte.ts
diff --git a/tools/ui/src/lib/stores/groups.svelte.ts b/ui/apps/chat/src/lib/stores/groups.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/groups.svelte.ts
rename to ui/apps/chat/src/lib/stores/groups.svelte.ts
diff --git a/tools/ui/src/lib/stores/index.ts b/ui/apps/chat/src/lib/stores/index.ts
similarity index 100%
rename from tools/ui/src/lib/stores/index.ts
rename to ui/apps/chat/src/lib/stores/index.ts
diff --git a/tools/ui/src/lib/stores/init.ts b/ui/apps/chat/src/lib/stores/init.ts
similarity index 100%
rename from tools/ui/src/lib/stores/init.ts
rename to ui/apps/chat/src/lib/stores/init.ts
diff --git a/tools/ui/src/lib/stores/mcp/health.svelte.ts b/ui/apps/chat/src/lib/stores/mcp/health.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/mcp/health.svelte.ts
rename to ui/apps/chat/src/lib/stores/mcp/health.svelte.ts
diff --git a/tools/ui/src/lib/stores/mcp/index.svelte.ts b/ui/apps/chat/src/lib/stores/mcp/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/mcp/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/mcp/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/mcp/resources.svelte.ts b/ui/apps/chat/src/lib/stores/mcp/resources.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/mcp/resources.svelte.ts
rename to ui/apps/chat/src/lib/stores/mcp/resources.svelte.ts
diff --git a/tools/ui/src/lib/stores/models-discover/index.svelte.ts b/ui/apps/chat/src/lib/stores/models-discover/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/models-discover/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/models-discover/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/models/index.svelte.ts b/ui/apps/chat/src/lib/stores/models/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/models/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/models/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/models/props.svelte.ts b/ui/apps/chat/src/lib/stores/models/props.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/models/props.svelte.ts
rename to ui/apps/chat/src/lib/stores/models/props.svelte.ts
diff --git a/tools/ui/src/lib/stores/models/status.svelte.ts b/ui/apps/chat/src/lib/stores/models/status.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/models/status.svelte.ts
rename to ui/apps/chat/src/lib/stores/models/status.svelte.ts
diff --git a/tools/ui/src/lib/stores/permissions.svelte.ts b/ui/apps/chat/src/lib/stores/permissions.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/permissions.svelte.ts
rename to ui/apps/chat/src/lib/stores/permissions.svelte.ts
diff --git a/tools/ui/src/lib/stores/server.svelte.ts b/ui/apps/chat/src/lib/stores/server.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/server.svelte.ts
rename to ui/apps/chat/src/lib/stores/server.svelte.ts
diff --git a/tools/ui/src/lib/stores/settings/index.svelte.ts b/ui/apps/chat/src/lib/stores/settings/index.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/settings/index.svelte.ts
rename to ui/apps/chat/src/lib/stores/settings/index.svelte.ts
diff --git a/tools/ui/src/lib/stores/sidebar-drag.svelte.ts b/ui/apps/chat/src/lib/stores/sidebar-drag.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/sidebar-drag.svelte.ts
rename to ui/apps/chat/src/lib/stores/sidebar-drag.svelte.ts
diff --git a/tools/ui/src/lib/stores/tabs.svelte.ts b/ui/apps/chat/src/lib/stores/tabs.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/tabs.svelte.ts
rename to ui/apps/chat/src/lib/stores/tabs.svelte.ts
diff --git a/tools/ui/src/lib/stores/tools.svelte.ts b/ui/apps/chat/src/lib/stores/tools.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/tools.svelte.ts
rename to ui/apps/chat/src/lib/stores/tools.svelte.ts
diff --git a/tools/ui/src/lib/stores/ui.svelte.ts b/ui/apps/chat/src/lib/stores/ui.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/ui.svelte.ts
rename to ui/apps/chat/src/lib/stores/ui.svelte.ts
diff --git a/tools/ui/src/lib/stores/version.svelte.ts b/ui/apps/chat/src/lib/stores/version.svelte.ts
similarity index 100%
rename from tools/ui/src/lib/stores/version.svelte.ts
rename to ui/apps/chat/src/lib/stores/version.svelte.ts
diff --git a/tools/ui/src/lib/styles/katex-custom.scss b/ui/apps/chat/src/lib/styles/katex-custom.scss
similarity index 100%
rename from tools/ui/src/lib/styles/katex-custom.scss
rename to ui/apps/chat/src/lib/styles/katex-custom.scss
diff --git a/tools/ui/src/lib/styles/safe-area.css b/ui/apps/chat/src/lib/styles/safe-area.css
similarity index 100%
rename from tools/ui/src/lib/styles/safe-area.css
rename to ui/apps/chat/src/lib/styles/safe-area.css
diff --git a/tools/ui/src/lib/types/agentic.d.ts b/ui/apps/chat/src/lib/types/agentic.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/agentic.d.ts
rename to ui/apps/chat/src/lib/types/agentic.d.ts
diff --git a/tools/ui/src/lib/types/api.d.ts b/ui/apps/chat/src/lib/types/api.d.ts
similarity index 99%
rename from tools/ui/src/lib/types/api.d.ts
rename to ui/apps/chat/src/lib/types/api.d.ts
index dbca7ca82..cace9a35e 100644
--- a/tools/ui/src/lib/types/api.d.ts
+++ b/ui/apps/chat/src/lib/types/api.d.ts
@@ -524,7 +524,7 @@ export interface ApiModelsUnloadResponse {
/**
* Entry returned by POST /v1/streams/lookup. The client passes the conv ids it owns in the body
* and the server returns one entry per matching live or recently completed background streaming
- * session, keyed by conversation_id. The WebUI uses this at mount and on visibilitychange to
+ * session, keyed by conversation_id. Llama Chat uses this at mount and on visibilitychange to
* populate sidebar spinners and to reattach to an ongoing inference for the active conversation.
* The server never lists ids the client did not ask about, so foreign random UUIDs stay private.
*/
diff --git a/tools/ui/src/lib/types/chat.d.ts b/ui/apps/chat/src/lib/types/chat.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/chat.d.ts
rename to ui/apps/chat/src/lib/types/chat.d.ts
diff --git a/tools/ui/src/lib/types/common.d.ts b/ui/apps/chat/src/lib/types/common.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/common.d.ts
rename to ui/apps/chat/src/lib/types/common.d.ts
diff --git a/tools/ui/src/lib/types/database.d.ts b/ui/apps/chat/src/lib/types/database.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/database.d.ts
rename to ui/apps/chat/src/lib/types/database.d.ts
diff --git a/tools/ui/src/lib/types/glob.d.ts b/ui/apps/chat/src/lib/types/glob.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/glob.d.ts
rename to ui/apps/chat/src/lib/types/glob.d.ts
diff --git a/tools/ui/src/lib/types/groups.d.ts b/ui/apps/chat/src/lib/types/groups.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/groups.d.ts
rename to ui/apps/chat/src/lib/types/groups.d.ts
diff --git a/tools/ui/src/lib/types/huggingface.d.ts b/ui/apps/chat/src/lib/types/huggingface.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/huggingface.d.ts
rename to ui/apps/chat/src/lib/types/huggingface.d.ts
diff --git a/tools/ui/src/lib/types/index.ts b/ui/apps/chat/src/lib/types/index.ts
similarity index 100%
rename from tools/ui/src/lib/types/index.ts
rename to ui/apps/chat/src/lib/types/index.ts
diff --git a/tools/ui/src/lib/types/mcp.d.ts b/ui/apps/chat/src/lib/types/mcp.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/mcp.d.ts
rename to ui/apps/chat/src/lib/types/mcp.d.ts
diff --git a/tools/ui/src/lib/types/models-discover.d.ts b/ui/apps/chat/src/lib/types/models-discover.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/models-discover.d.ts
rename to ui/apps/chat/src/lib/types/models-discover.d.ts
diff --git a/tools/ui/src/lib/types/models.d.ts b/ui/apps/chat/src/lib/types/models.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/models.d.ts
rename to ui/apps/chat/src/lib/types/models.d.ts
diff --git a/tools/ui/src/lib/types/navigation.d.ts b/ui/apps/chat/src/lib/types/navigation.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/navigation.d.ts
rename to ui/apps/chat/src/lib/types/navigation.d.ts
diff --git a/tools/ui/src/lib/types/reasoning.ts b/ui/apps/chat/src/lib/types/reasoning.ts
similarity index 100%
rename from tools/ui/src/lib/types/reasoning.ts
rename to ui/apps/chat/src/lib/types/reasoning.ts
diff --git a/tools/ui/src/lib/types/search.d.ts b/ui/apps/chat/src/lib/types/search.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/search.d.ts
rename to ui/apps/chat/src/lib/types/search.d.ts
diff --git a/tools/ui/src/lib/types/settings.d.ts b/ui/apps/chat/src/lib/types/settings.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/settings.d.ts
rename to ui/apps/chat/src/lib/types/settings.d.ts
diff --git a/tools/ui/src/lib/types/splash.ts b/ui/apps/chat/src/lib/types/splash.ts
similarity index 100%
rename from tools/ui/src/lib/types/splash.ts
rename to ui/apps/chat/src/lib/types/splash.ts
diff --git a/tools/ui/src/lib/types/tools.d.ts b/ui/apps/chat/src/lib/types/tools.d.ts
similarity index 100%
rename from tools/ui/src/lib/types/tools.d.ts
rename to ui/apps/chat/src/lib/types/tools.d.ts
diff --git a/tools/ui/src/lib/utils/abort.ts b/ui/apps/chat/src/lib/utils/abort.ts
similarity index 100%
rename from tools/ui/src/lib/utils/abort.ts
rename to ui/apps/chat/src/lib/utils/abort.ts
diff --git a/tools/ui/src/lib/utils/agentic.ts b/ui/apps/chat/src/lib/utils/agentic.ts
similarity index 100%
rename from tools/ui/src/lib/utils/agentic.ts
rename to ui/apps/chat/src/lib/utils/agentic.ts
diff --git a/tools/ui/src/lib/utils/api-fetch.ts b/ui/apps/chat/src/lib/utils/api-fetch.ts
similarity index 100%
rename from tools/ui/src/lib/utils/api-fetch.ts
rename to ui/apps/chat/src/lib/utils/api-fetch.ts
diff --git a/tools/ui/src/lib/utils/api-headers.ts b/ui/apps/chat/src/lib/utils/api-headers.ts
similarity index 100%
rename from tools/ui/src/lib/utils/api-headers.ts
rename to ui/apps/chat/src/lib/utils/api-headers.ts
diff --git a/tools/ui/src/lib/utils/api-key-validation.ts b/ui/apps/chat/src/lib/utils/api-key-validation.ts
similarity index 100%
rename from tools/ui/src/lib/utils/api-key-validation.ts
rename to ui/apps/chat/src/lib/utils/api-key-validation.ts
diff --git a/tools/ui/src/lib/utils/attachment-display.ts b/ui/apps/chat/src/lib/utils/attachment-display.ts
similarity index 100%
rename from tools/ui/src/lib/utils/attachment-display.ts
rename to ui/apps/chat/src/lib/utils/attachment-display.ts
diff --git a/tools/ui/src/lib/utils/attachment-type.ts b/ui/apps/chat/src/lib/utils/attachment-type.ts
similarity index 100%
rename from tools/ui/src/lib/utils/attachment-type.ts
rename to ui/apps/chat/src/lib/utils/attachment-type.ts
diff --git a/tools/ui/src/lib/utils/audio-format.ts b/ui/apps/chat/src/lib/utils/audio-format.ts
similarity index 100%
rename from tools/ui/src/lib/utils/audio-format.ts
rename to ui/apps/chat/src/lib/utils/audio-format.ts
diff --git a/tools/ui/src/lib/utils/audio-recording.ts b/ui/apps/chat/src/lib/utils/audio-recording.ts
similarity index 100%
rename from tools/ui/src/lib/utils/audio-recording.ts
rename to ui/apps/chat/src/lib/utils/audio-recording.ts
diff --git a/tools/ui/src/lib/utils/autoresize-textarea.ts b/ui/apps/chat/src/lib/utils/autoresize-textarea.ts
similarity index 100%
rename from tools/ui/src/lib/utils/autoresize-textarea.ts
rename to ui/apps/chat/src/lib/utils/autoresize-textarea.ts
diff --git a/tools/ui/src/lib/utils/branching.ts b/ui/apps/chat/src/lib/utils/branching.ts
similarity index 100%
rename from tools/ui/src/lib/utils/branching.ts
rename to ui/apps/chat/src/lib/utils/branching.ts
diff --git a/tools/ui/src/lib/utils/browser-info.ts b/ui/apps/chat/src/lib/utils/browser-info.ts
similarity index 100%
rename from tools/ui/src/lib/utils/browser-info.ts
rename to ui/apps/chat/src/lib/utils/browser-info.ts
diff --git a/tools/ui/src/lib/utils/browser-only.ts b/ui/apps/chat/src/lib/utils/browser-only.ts
similarity index 100%
rename from tools/ui/src/lib/utils/browser-only.ts
rename to ui/apps/chat/src/lib/utils/browser-only.ts
diff --git a/tools/ui/src/lib/utils/cache-ttl.ts b/ui/apps/chat/src/lib/utils/cache-ttl.ts
similarity index 100%
rename from tools/ui/src/lib/utils/cache-ttl.ts
rename to ui/apps/chat/src/lib/utils/cache-ttl.ts
diff --git a/tools/ui/src/lib/utils/cap-img-size.ts b/ui/apps/chat/src/lib/utils/cap-img-size.ts
similarity index 100%
rename from tools/ui/src/lib/utils/cap-img-size.ts
rename to ui/apps/chat/src/lib/utils/cap-img-size.ts
diff --git a/tools/ui/src/lib/utils/chat-commands.ts b/ui/apps/chat/src/lib/utils/chat-commands.ts
similarity index 100%
rename from tools/ui/src/lib/utils/chat-commands.ts
rename to ui/apps/chat/src/lib/utils/chat-commands.ts
diff --git a/tools/ui/src/lib/utils/chat-tabs.ts b/ui/apps/chat/src/lib/utils/chat-tabs.ts
similarity index 100%
rename from tools/ui/src/lib/utils/chat-tabs.ts
rename to ui/apps/chat/src/lib/utils/chat-tabs.ts
diff --git a/tools/ui/src/lib/utils/chat-template-thinking-detector.ts b/ui/apps/chat/src/lib/utils/chat-template-thinking-detector.ts
similarity index 100%
rename from tools/ui/src/lib/utils/chat-template-thinking-detector.ts
rename to ui/apps/chat/src/lib/utils/chat-template-thinking-detector.ts
diff --git a/tools/ui/src/lib/utils/chat-template-tool-detector.ts b/ui/apps/chat/src/lib/utils/chat-template-tool-detector.ts
similarity index 100%
rename from tools/ui/src/lib/utils/chat-template-tool-detector.ts
rename to ui/apps/chat/src/lib/utils/chat-template-tool-detector.ts
diff --git a/tools/ui/src/lib/utils/clipboard.ts b/ui/apps/chat/src/lib/utils/clipboard.ts
similarity index 100%
rename from tools/ui/src/lib/utils/clipboard.ts
rename to ui/apps/chat/src/lib/utils/clipboard.ts
diff --git a/tools/ui/src/lib/utils/code.ts b/ui/apps/chat/src/lib/utils/code.ts
similarity index 100%
rename from tools/ui/src/lib/utils/code.ts
rename to ui/apps/chat/src/lib/utils/code.ts
diff --git a/tools/ui/src/lib/utils/command-token.ts b/ui/apps/chat/src/lib/utils/command-token.ts
similarity index 100%
rename from tools/ui/src/lib/utils/command-token.ts
rename to ui/apps/chat/src/lib/utils/command-token.ts
diff --git a/tools/ui/src/lib/utils/compaction.ts b/ui/apps/chat/src/lib/utils/compaction.ts
similarity index 100%
rename from tools/ui/src/lib/utils/compaction.ts
rename to ui/apps/chat/src/lib/utils/compaction.ts
diff --git a/tools/ui/src/lib/utils/compute-line-diff.ts b/ui/apps/chat/src/lib/utils/compute-line-diff.ts
similarity index 100%
rename from tools/ui/src/lib/utils/compute-line-diff.ts
rename to ui/apps/chat/src/lib/utils/compute-line-diff.ts
diff --git a/tools/ui/src/lib/utils/config-helpers.ts b/ui/apps/chat/src/lib/utils/config-helpers.ts
similarity index 100%
rename from tools/ui/src/lib/utils/config-helpers.ts
rename to ui/apps/chat/src/lib/utils/config-helpers.ts
diff --git a/tools/ui/src/lib/utils/conversation-utils.ts b/ui/apps/chat/src/lib/utils/conversation-utils.ts
similarity index 100%
rename from tools/ui/src/lib/utils/conversation-utils.ts
rename to ui/apps/chat/src/lib/utils/conversation-utils.ts
diff --git a/tools/ui/src/lib/utils/convert-files-to-extra.ts b/ui/apps/chat/src/lib/utils/convert-files-to-extra.ts
similarity index 100%
rename from tools/ui/src/lib/utils/convert-files-to-extra.ts
rename to ui/apps/chat/src/lib/utils/convert-files-to-extra.ts
diff --git a/tools/ui/src/lib/utils/cors-proxy.ts b/ui/apps/chat/src/lib/utils/cors-proxy.ts
similarity index 100%
rename from tools/ui/src/lib/utils/cors-proxy.ts
rename to ui/apps/chat/src/lib/utils/cors-proxy.ts
diff --git a/tools/ui/src/lib/utils/css.ts b/ui/apps/chat/src/lib/utils/css.ts
similarity index 100%
rename from tools/ui/src/lib/utils/css.ts
rename to ui/apps/chat/src/lib/utils/css.ts
diff --git a/tools/ui/src/lib/utils/data-url.ts b/ui/apps/chat/src/lib/utils/data-url.ts
similarity index 100%
rename from tools/ui/src/lib/utils/data-url.ts
rename to ui/apps/chat/src/lib/utils/data-url.ts
diff --git a/tools/ui/src/lib/utils/debounce.ts b/ui/apps/chat/src/lib/utils/debounce.ts
similarity index 100%
rename from tools/ui/src/lib/utils/debounce.ts
rename to ui/apps/chat/src/lib/utils/debounce.ts
diff --git a/tools/ui/src/lib/utils/file-preview.ts b/ui/apps/chat/src/lib/utils/file-preview.ts
similarity index 100%
rename from tools/ui/src/lib/utils/file-preview.ts
rename to ui/apps/chat/src/lib/utils/file-preview.ts
diff --git a/tools/ui/src/lib/utils/file-type.ts b/ui/apps/chat/src/lib/utils/file-type.ts
similarity index 100%
rename from tools/ui/src/lib/utils/file-type.ts
rename to ui/apps/chat/src/lib/utils/file-type.ts
diff --git a/tools/ui/src/lib/utils/formatters.ts b/ui/apps/chat/src/lib/utils/formatters.ts
similarity index 100%
rename from tools/ui/src/lib/utils/formatters.ts
rename to ui/apps/chat/src/lib/utils/formatters.ts
diff --git a/tools/ui/src/lib/utils/get-datetime.ts b/ui/apps/chat/src/lib/utils/get-datetime.ts
similarity index 100%
rename from tools/ui/src/lib/utils/get-datetime.ts
rename to ui/apps/chat/src/lib/utils/get-datetime.ts
diff --git a/tools/ui/src/lib/utils/gguf-metadata.ts b/ui/apps/chat/src/lib/utils/gguf-metadata.ts
similarity index 100%
rename from tools/ui/src/lib/utils/gguf-metadata.ts
rename to ui/apps/chat/src/lib/utils/gguf-metadata.ts
diff --git a/tools/ui/src/lib/utils/glob-search.ts b/ui/apps/chat/src/lib/utils/glob-search.ts
similarity index 100%
rename from tools/ui/src/lib/utils/glob-search.ts
rename to ui/apps/chat/src/lib/utils/glob-search.ts
diff --git a/tools/ui/src/lib/utils/haptics.ts b/ui/apps/chat/src/lib/utils/haptics.ts
similarity index 100%
rename from tools/ui/src/lib/utils/haptics.ts
rename to ui/apps/chat/src/lib/utils/haptics.ts
diff --git a/tools/ui/src/lib/utils/headers.ts b/ui/apps/chat/src/lib/utils/headers.ts
similarity index 100%
rename from tools/ui/src/lib/utils/headers.ts
rename to ui/apps/chat/src/lib/utils/headers.ts
diff --git a/tools/ui/src/lib/utils/heic-to-jpeg.ts b/ui/apps/chat/src/lib/utils/heic-to-jpeg.ts
similarity index 100%
rename from tools/ui/src/lib/utils/heic-to-jpeg.ts
rename to ui/apps/chat/src/lib/utils/heic-to-jpeg.ts
diff --git a/tools/ui/src/lib/utils/highlight-theme.ts b/ui/apps/chat/src/lib/utils/highlight-theme.ts
similarity index 100%
rename from tools/ui/src/lib/utils/highlight-theme.ts
rename to ui/apps/chat/src/lib/utils/highlight-theme.ts
diff --git a/tools/ui/src/lib/utils/image-error-fallback.ts b/ui/apps/chat/src/lib/utils/image-error-fallback.ts
similarity index 100%
rename from tools/ui/src/lib/utils/image-error-fallback.ts
rename to ui/apps/chat/src/lib/utils/image-error-fallback.ts
diff --git a/tools/ui/src/lib/utils/index.ts b/ui/apps/chat/src/lib/utils/index.ts
similarity index 100%
rename from tools/ui/src/lib/utils/index.ts
rename to ui/apps/chat/src/lib/utils/index.ts
diff --git a/tools/ui/src/lib/utils/is-ime-composing.ts b/ui/apps/chat/src/lib/utils/is-ime-composing.ts
similarity index 100%
rename from tools/ui/src/lib/utils/is-ime-composing.ts
rename to ui/apps/chat/src/lib/utils/is-ime-composing.ts
diff --git a/tools/ui/src/lib/utils/jpeg-orientation.ts b/ui/apps/chat/src/lib/utils/jpeg-orientation.ts
similarity index 100%
rename from tools/ui/src/lib/utils/jpeg-orientation.ts
rename to ui/apps/chat/src/lib/utils/jpeg-orientation.ts
diff --git a/tools/ui/src/lib/utils/latex-protection.ts b/ui/apps/chat/src/lib/utils/latex-protection.ts
similarity index 100%
rename from tools/ui/src/lib/utils/latex-protection.ts
rename to ui/apps/chat/src/lib/utils/latex-protection.ts
diff --git a/tools/ui/src/lib/utils/mcp.ts b/ui/apps/chat/src/lib/utils/mcp.ts
similarity index 100%
rename from tools/ui/src/lib/utils/mcp.ts
rename to ui/apps/chat/src/lib/utils/mcp.ts
diff --git a/tools/ui/src/lib/utils/mention-badge.ts b/ui/apps/chat/src/lib/utils/mention-badge.ts
similarity index 100%
rename from tools/ui/src/lib/utils/mention-badge.ts
rename to ui/apps/chat/src/lib/utils/mention-badge.ts
diff --git a/tools/ui/src/lib/utils/mention-token.ts b/ui/apps/chat/src/lib/utils/mention-token.ts
similarity index 100%
rename from tools/ui/src/lib/utils/mention-token.ts
rename to ui/apps/chat/src/lib/utils/mention-token.ts
diff --git a/tools/ui/src/lib/utils/modality-file-validation.ts b/ui/apps/chat/src/lib/utils/modality-file-validation.ts
similarity index 100%
rename from tools/ui/src/lib/utils/modality-file-validation.ts
rename to ui/apps/chat/src/lib/utils/modality-file-validation.ts
diff --git a/tools/ui/src/lib/utils/model-compatibility.ts b/ui/apps/chat/src/lib/utils/model-compatibility.ts
similarity index 100%
rename from tools/ui/src/lib/utils/model-compatibility.ts
rename to ui/apps/chat/src/lib/utils/model-compatibility.ts
diff --git a/tools/ui/src/lib/utils/model-families.ts b/ui/apps/chat/src/lib/utils/model-families.ts
similarity index 100%
rename from tools/ui/src/lib/utils/model-families.ts
rename to ui/apps/chat/src/lib/utils/model-families.ts
diff --git a/tools/ui/src/lib/utils/model-list.ts b/ui/apps/chat/src/lib/utils/model-list.ts
similarity index 100%
rename from tools/ui/src/lib/utils/model-list.ts
rename to ui/apps/chat/src/lib/utils/model-list.ts
diff --git a/tools/ui/src/lib/utils/model-names.ts b/ui/apps/chat/src/lib/utils/model-names.ts
similarity index 100%
rename from tools/ui/src/lib/utils/model-names.ts
rename to ui/apps/chat/src/lib/utils/model-names.ts
diff --git a/tools/ui/src/lib/utils/near-viewport.ts b/ui/apps/chat/src/lib/utils/near-viewport.ts
similarity index 100%
rename from tools/ui/src/lib/utils/near-viewport.ts
rename to ui/apps/chat/src/lib/utils/near-viewport.ts
diff --git a/tools/ui/src/lib/utils/parse-exec-shell-error.ts b/ui/apps/chat/src/lib/utils/parse-exec-shell-error.ts
similarity index 100%
rename from tools/ui/src/lib/utils/parse-exec-shell-error.ts
rename to ui/apps/chat/src/lib/utils/parse-exec-shell-error.ts
diff --git a/tools/ui/src/lib/utils/parse-exec-shell-status.ts b/ui/apps/chat/src/lib/utils/parse-exec-shell-status.ts
similarity index 100%
rename from tools/ui/src/lib/utils/parse-exec-shell-status.ts
rename to ui/apps/chat/src/lib/utils/parse-exec-shell-status.ts
diff --git a/tools/ui/src/lib/utils/parse-partial-json-args.ts b/ui/apps/chat/src/lib/utils/parse-partial-json-args.ts
similarity index 100%
rename from tools/ui/src/lib/utils/parse-partial-json-args.ts
rename to ui/apps/chat/src/lib/utils/parse-partial-json-args.ts
diff --git a/tools/ui/src/lib/utils/path-display.ts b/ui/apps/chat/src/lib/utils/path-display.ts
similarity index 100%
rename from tools/ui/src/lib/utils/path-display.ts
rename to ui/apps/chat/src/lib/utils/path-display.ts
diff --git a/tools/ui/src/lib/utils/pdf-processing.ts b/ui/apps/chat/src/lib/utils/pdf-processing.ts
similarity index 100%
rename from tools/ui/src/lib/utils/pdf-processing.ts
rename to ui/apps/chat/src/lib/utils/pdf-processing.ts
diff --git a/tools/ui/src/lib/utils/portal-to-body.ts b/ui/apps/chat/src/lib/utils/portal-to-body.ts
similarity index 100%
rename from tools/ui/src/lib/utils/portal-to-body.ts
rename to ui/apps/chat/src/lib/utils/portal-to-body.ts
diff --git a/tools/ui/src/lib/utils/precision.ts b/ui/apps/chat/src/lib/utils/precision.ts
similarity index 100%
rename from tools/ui/src/lib/utils/precision.ts
rename to ui/apps/chat/src/lib/utils/precision.ts
diff --git a/tools/ui/src/lib/utils/process-uploaded-files.ts b/ui/apps/chat/src/lib/utils/process-uploaded-files.ts
similarity index 100%
rename from tools/ui/src/lib/utils/process-uploaded-files.ts
rename to ui/apps/chat/src/lib/utils/process-uploaded-files.ts
diff --git a/tools/ui/src/lib/utils/progress.ts b/ui/apps/chat/src/lib/utils/progress.ts
similarity index 100%
rename from tools/ui/src/lib/utils/progress.ts
rename to ui/apps/chat/src/lib/utils/progress.ts
diff --git a/tools/ui/src/lib/utils/redact.ts b/ui/apps/chat/src/lib/utils/redact.ts
similarity index 100%
rename from tools/ui/src/lib/utils/redact.ts
rename to ui/apps/chat/src/lib/utils/redact.ts
diff --git a/tools/ui/src/lib/utils/request-helpers.ts b/ui/apps/chat/src/lib/utils/request-helpers.ts
similarity index 100%
rename from tools/ui/src/lib/utils/request-helpers.ts
rename to ui/apps/chat/src/lib/utils/request-helpers.ts
diff --git a/tools/ui/src/lib/utils/sandbox-tool.ts b/ui/apps/chat/src/lib/utils/sandbox-tool.ts
similarity index 100%
rename from tools/ui/src/lib/utils/sandbox-tool.ts
rename to ui/apps/chat/src/lib/utils/sandbox-tool.ts
diff --git a/tools/ui/src/lib/utils/sanitize-svg.ts b/ui/apps/chat/src/lib/utils/sanitize-svg.ts
similarity index 100%
rename from tools/ui/src/lib/utils/sanitize-svg.ts
rename to ui/apps/chat/src/lib/utils/sanitize-svg.ts
diff --git a/tools/ui/src/lib/utils/sanitize.ts b/ui/apps/chat/src/lib/utils/sanitize.ts
similarity index 100%
rename from tools/ui/src/lib/utils/sanitize.ts
rename to ui/apps/chat/src/lib/utils/sanitize.ts
diff --git a/tools/ui/src/lib/utils/search-chats.ts b/ui/apps/chat/src/lib/utils/search-chats.ts
similarity index 100%
rename from tools/ui/src/lib/utils/search-chats.ts
rename to ui/apps/chat/src/lib/utils/search-chats.ts
diff --git a/tools/ui/src/lib/utils/search-results.ts b/ui/apps/chat/src/lib/utils/search-results.ts
similarity index 100%
rename from tools/ui/src/lib/utils/search-results.ts
rename to ui/apps/chat/src/lib/utils/search-results.ts
diff --git a/tools/ui/src/lib/utils/sidecars.ts b/ui/apps/chat/src/lib/utils/sidecars.ts
similarity index 100%
rename from tools/ui/src/lib/utils/sidecars.ts
rename to ui/apps/chat/src/lib/utils/sidecars.ts
diff --git a/tools/ui/src/lib/utils/sse.ts b/ui/apps/chat/src/lib/utils/sse.ts
similarity index 100%
rename from tools/ui/src/lib/utils/sse.ts
rename to ui/apps/chat/src/lib/utils/sse.ts
diff --git a/tools/ui/src/lib/utils/stream-identity.ts b/ui/apps/chat/src/lib/utils/stream-identity.ts
similarity index 100%
rename from tools/ui/src/lib/utils/stream-identity.ts
rename to ui/apps/chat/src/lib/utils/stream-identity.ts
diff --git a/tools/ui/src/lib/utils/svg-shadow.ts b/ui/apps/chat/src/lib/utils/svg-shadow.ts
similarity index 100%
rename from tools/ui/src/lib/utils/svg-shadow.ts
rename to ui/apps/chat/src/lib/utils/svg-shadow.ts
diff --git a/tools/ui/src/lib/utils/svg-to-png.ts b/ui/apps/chat/src/lib/utils/svg-to-png.ts
similarity index 100%
rename from tools/ui/src/lib/utils/svg-to-png.ts
rename to ui/apps/chat/src/lib/utils/svg-to-png.ts
diff --git a/tools/ui/src/lib/utils/syntax-highlight-language.ts b/ui/apps/chat/src/lib/utils/syntax-highlight-language.ts
similarity index 100%
rename from tools/ui/src/lib/utils/syntax-highlight-language.ts
rename to ui/apps/chat/src/lib/utils/syntax-highlight-language.ts
diff --git a/tools/ui/src/lib/utils/text-files.ts b/ui/apps/chat/src/lib/utils/text-files.ts
similarity index 100%
rename from tools/ui/src/lib/utils/text-files.ts
rename to ui/apps/chat/src/lib/utils/text-files.ts
diff --git a/tools/ui/src/lib/utils/text.ts b/ui/apps/chat/src/lib/utils/text.ts
similarity index 100%
rename from tools/ui/src/lib/utils/text.ts
rename to ui/apps/chat/src/lib/utils/text.ts
diff --git a/tools/ui/src/lib/utils/tool-call-meta.ts b/ui/apps/chat/src/lib/utils/tool-call-meta.ts
similarity index 100%
rename from tools/ui/src/lib/utils/tool-call-meta.ts
rename to ui/apps/chat/src/lib/utils/tool-call-meta.ts
diff --git a/tools/ui/src/lib/utils/tool-ui.ts b/ui/apps/chat/src/lib/utils/tool-ui.ts
similarity index 100%
rename from tools/ui/src/lib/utils/tool-ui.ts
rename to ui/apps/chat/src/lib/utils/tool-ui.ts
diff --git a/tools/ui/src/lib/utils/uri-template.ts b/ui/apps/chat/src/lib/utils/uri-template.ts
similarity index 100%
rename from tools/ui/src/lib/utils/uri-template.ts
rename to ui/apps/chat/src/lib/utils/uri-template.ts
diff --git a/tools/ui/src/lib/utils/url.ts b/ui/apps/chat/src/lib/utils/url.ts
similarity index 100%
rename from tools/ui/src/lib/utils/url.ts
rename to ui/apps/chat/src/lib/utils/url.ts
diff --git a/tools/ui/src/lib/utils/uuid.ts b/ui/apps/chat/src/lib/utils/uuid.ts
similarity index 100%
rename from tools/ui/src/lib/utils/uuid.ts
rename to ui/apps/chat/src/lib/utils/uuid.ts
diff --git a/tools/ui/src/lib/utils/webp-to-png.ts b/ui/apps/chat/src/lib/utils/webp-to-png.ts
similarity index 100%
rename from tools/ui/src/lib/utils/webp-to-png.ts
rename to ui/apps/chat/src/lib/utils/webp-to-png.ts
diff --git a/tools/ui/src/lib/utils/working-directory.ts b/ui/apps/chat/src/lib/utils/working-directory.ts
similarity index 100%
rename from tools/ui/src/lib/utils/working-directory.ts
rename to ui/apps/chat/src/lib/utils/working-directory.ts
diff --git a/tools/ui/src/lib/vendors/big-integer/BigInteger.js b/ui/apps/chat/src/lib/vendors/big-integer/BigInteger.js
similarity index 100%
rename from tools/ui/src/lib/vendors/big-integer/BigInteger.js
rename to ui/apps/chat/src/lib/vendors/big-integer/BigInteger.js
diff --git a/tools/ui/src/lib/vendors/big-integer/LICENSE b/ui/apps/chat/src/lib/vendors/big-integer/LICENSE
similarity index 100%
rename from tools/ui/src/lib/vendors/big-integer/LICENSE
rename to ui/apps/chat/src/lib/vendors/big-integer/LICENSE
diff --git a/tools/ui/src/lib/vendors/decimal.js/LICENCE.md b/ui/apps/chat/src/lib/vendors/decimal.js/LICENCE.md
similarity index 100%
rename from tools/ui/src/lib/vendors/decimal.js/LICENCE.md
rename to ui/apps/chat/src/lib/vendors/decimal.js/LICENCE.md
diff --git a/tools/ui/src/lib/vendors/decimal.js/decimal.js b/ui/apps/chat/src/lib/vendors/decimal.js/decimal.js
similarity index 100%
rename from tools/ui/src/lib/vendors/decimal.js/decimal.js
rename to ui/apps/chat/src/lib/vendors/decimal.js/decimal.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/Algebra.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/Algebra.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/Algebra.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/Algebra.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/Calculus.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/Calculus.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/Calculus.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/Calculus.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/Extra.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/Extra.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/Extra.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/Extra.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/LICENSE b/ui/apps/chat/src/lib/vendors/nerdamer-prime/LICENSE
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/LICENSE
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/LICENSE
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/Solve.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/Solve.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/Solve.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/Solve.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/all.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/all.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/all.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/all.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/constants.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/constants.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/constants.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/constants.js
diff --git a/tools/ui/src/lib/vendors/nerdamer-prime/nerdamer.core.js b/ui/apps/chat/src/lib/vendors/nerdamer-prime/nerdamer.core.js
similarity index 100%
rename from tools/ui/src/lib/vendors/nerdamer-prime/nerdamer.core.js
rename to ui/apps/chat/src/lib/vendors/nerdamer-prime/nerdamer.core.js
diff --git a/tools/ui/src/lib/vendors/package.json b/ui/apps/chat/src/lib/vendors/package.json
similarity index 100%
rename from tools/ui/src/lib/vendors/package.json
rename to ui/apps/chat/src/lib/vendors/package.json
diff --git a/tools/ui/src/routes/(chat)/+layout.svelte b/ui/apps/chat/src/routes/(chat)/+layout.svelte
similarity index 100%
rename from tools/ui/src/routes/(chat)/+layout.svelte
rename to ui/apps/chat/src/routes/(chat)/+layout.svelte
diff --git a/tools/ui/src/routes/(chat)/+page.svelte b/ui/apps/chat/src/routes/(chat)/+page.svelte
similarity index 100%
rename from tools/ui/src/routes/(chat)/+page.svelte
rename to ui/apps/chat/src/routes/(chat)/+page.svelte
diff --git a/tools/ui/src/routes/(chat)/+page.ts b/ui/apps/chat/src/routes/(chat)/+page.ts
similarity index 100%
rename from tools/ui/src/routes/(chat)/+page.ts
rename to ui/apps/chat/src/routes/(chat)/+page.ts
diff --git a/tools/ui/src/routes/(chat)/chat/[id]/+page.svelte b/ui/apps/chat/src/routes/(chat)/chat/[id]/+page.svelte
similarity index 100%
rename from tools/ui/src/routes/(chat)/chat/[id]/+page.svelte
rename to ui/apps/chat/src/routes/(chat)/chat/[id]/+page.svelte
diff --git a/tools/ui/src/routes/(chat)/chat/[id]/+page.ts b/ui/apps/chat/src/routes/(chat)/chat/[id]/+page.ts
similarity index 100%
rename from tools/ui/src/routes/(chat)/chat/[id]/+page.ts
rename to ui/apps/chat/src/routes/(chat)/chat/[id]/+page.ts
diff --git a/tools/ui/src/routes/+error.svelte b/ui/apps/chat/src/routes/+error.svelte
similarity index 100%
rename from tools/ui/src/routes/+error.svelte
rename to ui/apps/chat/src/routes/+error.svelte
diff --git a/tools/ui/src/routes/+layout.svelte b/ui/apps/chat/src/routes/+layout.svelte
similarity index 100%
rename from tools/ui/src/routes/+layout.svelte
rename to ui/apps/chat/src/routes/+layout.svelte
diff --git a/tools/ui/src/routes/mcp-servers/+page.svelte b/ui/apps/chat/src/routes/mcp-servers/+page.svelte
similarity index 100%
rename from tools/ui/src/routes/mcp-servers/+page.svelte
rename to ui/apps/chat/src/routes/mcp-servers/+page.svelte
diff --git a/tools/ui/src/routes/mcp-servers/+page.ts b/ui/apps/chat/src/routes/mcp-servers/+page.ts
similarity index 100%
rename from tools/ui/src/routes/mcp-servers/+page.ts
rename to ui/apps/chat/src/routes/mcp-servers/+page.ts
diff --git a/tools/ui/src/routes/models/+page.svelte b/ui/apps/chat/src/routes/models/+page.svelte
similarity index 100%
rename from tools/ui/src/routes/models/+page.svelte
rename to ui/apps/chat/src/routes/models/+page.svelte
diff --git a/tools/ui/src/routes/models/+page.ts b/ui/apps/chat/src/routes/models/+page.ts
similarity index 100%
rename from tools/ui/src/routes/models/+page.ts
rename to ui/apps/chat/src/routes/models/+page.ts
diff --git a/tools/ui/src/routes/search/+page.svelte b/ui/apps/chat/src/routes/search/+page.svelte
similarity index 100%
rename from tools/ui/src/routes/search/+page.svelte
rename to ui/apps/chat/src/routes/search/+page.svelte
diff --git a/tools/ui/src/routes/settings/+page.svelte b/ui/apps/chat/src/routes/settings/+page.svelte
similarity index 100%
rename from tools/ui/src/routes/settings/+page.svelte
rename to ui/apps/chat/src/routes/settings/+page.svelte
diff --git a/tools/ui/src/routes/settings/+page.ts b/ui/apps/chat/src/routes/settings/+page.ts
similarity index 100%
rename from tools/ui/src/routes/settings/+page.ts
rename to ui/apps/chat/src/routes/settings/+page.ts
diff --git a/tools/ui/src/virtual-nerdamer.d.ts b/ui/apps/chat/src/virtual-nerdamer.d.ts
similarity index 100%
rename from tools/ui/src/virtual-nerdamer.d.ts
rename to ui/apps/chat/src/virtual-nerdamer.d.ts
diff --git a/tools/ui/static/recommended-mcp/context7.png b/ui/apps/chat/static/recommended-mcp/context7.png
similarity index 100%
rename from tools/ui/static/recommended-mcp/context7.png
rename to ui/apps/chat/static/recommended-mcp/context7.png
diff --git a/tools/ui/static/recommended-mcp/exa.ico b/ui/apps/chat/static/recommended-mcp/exa.ico
similarity index 100%
rename from tools/ui/static/recommended-mcp/exa.ico
rename to ui/apps/chat/static/recommended-mcp/exa.ico
diff --git a/tools/ui/static/recommended-mcp/github-dark.png b/ui/apps/chat/static/recommended-mcp/github-dark.png
similarity index 100%
rename from tools/ui/static/recommended-mcp/github-dark.png
rename to ui/apps/chat/static/recommended-mcp/github-dark.png
diff --git a/tools/ui/static/recommended-mcp/github-light.png b/ui/apps/chat/static/recommended-mcp/github-light.png
similarity index 100%
rename from tools/ui/static/recommended-mcp/github-light.png
rename to ui/apps/chat/static/recommended-mcp/github-light.png
diff --git a/tools/ui/static/recommended-mcp/huggingface.ico b/ui/apps/chat/static/recommended-mcp/huggingface.ico
similarity index 100%
rename from tools/ui/static/recommended-mcp/huggingface.ico
rename to ui/apps/chat/static/recommended-mcp/huggingface.ico
diff --git a/tools/ui/svelte.config.js b/ui/apps/chat/svelte.config.js
similarity index 100%
rename from tools/ui/svelte.config.js
rename to ui/apps/chat/svelte.config.js
diff --git a/tools/ui/tests/client/README-perf.md b/ui/apps/chat/tests/client/README-perf.md
similarity index 100%
rename from tools/ui/tests/client/README-perf.md
rename to ui/apps/chat/tests/client/README-perf.md
diff --git a/tools/ui/tests/client/agentic-stream.perf.svelte.test.ts b/ui/apps/chat/tests/client/agentic-stream.perf.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/agentic-stream.perf.svelte.test.ts
rename to ui/apps/chat/tests/client/agentic-stream.perf.svelte.test.ts
diff --git a/tools/ui/tests/client/apikey-splash.svelte.test.ts b/ui/apps/chat/tests/client/apikey-splash.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/apikey-splash.svelte.test.ts
rename to ui/apps/chat/tests/client/apikey-splash.svelte.test.ts
diff --git a/tools/ui/tests/client/cap-img-size.svelte.test.ts b/ui/apps/chat/tests/client/cap-img-size.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/cap-img-size.svelte.test.ts
rename to ui/apps/chat/tests/client/cap-img-size.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-enter.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-enter.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-enter.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-enter.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-expansion.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-expansion.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-expansion.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-expansion.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-input.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-input.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-input.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-input.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-mention-picker-gate.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-mention-picker-gate.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-mention-picker-gate.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-mention-picker-gate.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-pickers-touch.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-pickers-touch.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-pickers-touch.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-pickers-touch.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-single-row.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-single-row.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-single-row.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-single-row.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-form-slash-commands.svelte.test.ts b/ui/apps/chat/tests/client/chat-form-slash-commands.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-form-slash-commands.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-form-slash-commands.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-screen-form-single-row-setting.svelte.test.ts b/ui/apps/chat/tests/client/chat-screen-form-single-row-setting.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-screen-form-single-row-setting.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-screen-form-single-row-setting.svelte.test.ts
diff --git a/tools/ui/tests/client/chat-tabs-store.svelte.test.ts b/ui/apps/chat/tests/client/chat-tabs-store.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/chat-tabs-store.svelte.test.ts
rename to ui/apps/chat/tests/client/chat-tabs-store.svelte.test.ts
diff --git a/tools/ui/tests/client/collapsible-lazy-body.svelte.test.ts b/ui/apps/chat/tests/client/collapsible-lazy-body.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/collapsible-lazy-body.svelte.test.ts
rename to ui/apps/chat/tests/client/collapsible-lazy-body.svelte.test.ts
diff --git a/tools/ui/tests/client/components/AgenticPerfWrapper.svelte b/ui/apps/chat/tests/client/components/AgenticPerfWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/AgenticPerfWrapper.svelte
rename to ui/apps/chat/tests/client/components/AgenticPerfWrapper.svelte
diff --git a/tools/ui/tests/client/components/ChatFormActionRecordWrapper.svelte b/ui/apps/chat/tests/client/components/ChatFormActionRecordWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ChatFormActionRecordWrapper.svelte
rename to ui/apps/chat/tests/client/components/ChatFormActionRecordWrapper.svelte
diff --git a/tools/ui/tests/client/components/ChatFormPickersHarness.svelte b/ui/apps/chat/tests/client/components/ChatFormPickersHarness.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ChatFormPickersHarness.svelte
rename to ui/apps/chat/tests/client/components/ChatFormPickersHarness.svelte
diff --git a/tools/ui/tests/client/components/ChatFormTestWrapper.svelte b/ui/apps/chat/tests/client/components/ChatFormTestWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ChatFormTestWrapper.svelte
rename to ui/apps/chat/tests/client/components/ChatFormTestWrapper.svelte
diff --git a/tools/ui/tests/client/components/ChatMessagesPerfWrapper.svelte b/ui/apps/chat/tests/client/components/ChatMessagesPerfWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ChatMessagesPerfWrapper.svelte
rename to ui/apps/chat/tests/client/components/ChatMessagesPerfWrapper.svelte
diff --git a/tools/ui/tests/client/components/ChatScreenFormTestWrapper.svelte b/ui/apps/chat/tests/client/components/ChatScreenFormTestWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ChatScreenFormTestWrapper.svelte
rename to ui/apps/chat/tests/client/components/ChatScreenFormTestWrapper.svelte
diff --git a/tools/ui/tests/client/components/CollapsibleLazyBodyHarness.svelte b/ui/apps/chat/tests/client/components/CollapsibleLazyBodyHarness.svelte
similarity index 100%
rename from tools/ui/tests/client/components/CollapsibleLazyBodyHarness.svelte
rename to ui/apps/chat/tests/client/components/CollapsibleLazyBodyHarness.svelte
diff --git a/tools/ui/tests/client/components/ConversationRowHarness.svelte b/ui/apps/chat/tests/client/components/ConversationRowHarness.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ConversationRowHarness.svelte
rename to ui/apps/chat/tests/client/components/ConversationRowHarness.svelte
diff --git a/tools/ui/tests/client/components/DialogPanelWrapper.svelte b/ui/apps/chat/tests/client/components/DialogPanelWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/DialogPanelWrapper.svelte
rename to ui/apps/chat/tests/client/components/DialogPanelWrapper.svelte
diff --git a/tools/ui/tests/client/components/McpServerFormWrapper.svelte b/ui/apps/chat/tests/client/components/McpServerFormWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/McpServerFormWrapper.svelte
rename to ui/apps/chat/tests/client/components/McpServerFormWrapper.svelte
diff --git a/tools/ui/tests/client/components/ModelsManagerRowWrapper.svelte b/ui/apps/chat/tests/client/components/ModelsManagerRowWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ModelsManagerRowWrapper.svelte
rename to ui/apps/chat/tests/client/components/ModelsManagerRowWrapper.svelte
diff --git a/tools/ui/tests/client/components/ModelsManagerWrapper.svelte b/ui/apps/chat/tests/client/components/ModelsManagerWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ModelsManagerWrapper.svelte
rename to ui/apps/chat/tests/client/components/ModelsManagerWrapper.svelte
diff --git a/tools/ui/tests/client/components/ModelsSelectorHookHarness.svelte b/ui/apps/chat/tests/client/components/ModelsSelectorHookHarness.svelte
similarity index 100%
rename from tools/ui/tests/client/components/ModelsSelectorHookHarness.svelte
rename to ui/apps/chat/tests/client/components/ModelsSelectorHookHarness.svelte
diff --git a/tools/ui/tests/client/components/PickerListScrollHarness.svelte b/ui/apps/chat/tests/client/components/PickerListScrollHarness.svelte
similarity index 100%
rename from tools/ui/tests/client/components/PickerListScrollHarness.svelte
rename to ui/apps/chat/tests/client/components/PickerListScrollHarness.svelte
diff --git a/tools/ui/tests/client/components/SidebarNavigationHarness.svelte b/ui/apps/chat/tests/client/components/SidebarNavigationHarness.svelte
similarity index 100%
rename from tools/ui/tests/client/components/SidebarNavigationHarness.svelte
rename to ui/apps/chat/tests/client/components/SidebarNavigationHarness.svelte
diff --git a/tools/ui/tests/client/components/TestWrapper.svelte b/ui/apps/chat/tests/client/components/TestWrapper.svelte
similarity index 100%
rename from tools/ui/tests/client/components/TestWrapper.svelte
rename to ui/apps/chat/tests/client/components/TestWrapper.svelte
diff --git a/tools/ui/tests/client/components/agentic-perf-state.svelte.ts b/ui/apps/chat/tests/client/components/agentic-perf-state.svelte.ts
similarity index 100%
rename from tools/ui/tests/client/components/agentic-perf-state.svelte.ts
rename to ui/apps/chat/tests/client/components/agentic-perf-state.svelte.ts
diff --git a/tools/ui/tests/client/context-panel-mobile.svelte.test.ts b/ui/apps/chat/tests/client/context-panel-mobile.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/context-panel-mobile.svelte.test.ts
rename to ui/apps/chat/tests/client/context-panel-mobile.svelte.test.ts
diff --git a/tools/ui/tests/client/conversation-import-db.svelte.test.ts b/ui/apps/chat/tests/client/conversation-import-db.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/conversation-import-db.svelte.test.ts
rename to ui/apps/chat/tests/client/conversation-import-db.svelte.test.ts
diff --git a/tools/ui/tests/client/conversation-row-hold-mobile.svelte.test.ts b/ui/apps/chat/tests/client/conversation-row-hold-mobile.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/conversation-row-hold-mobile.svelte.test.ts
rename to ui/apps/chat/tests/client/conversation-row-hold-mobile.svelte.test.ts
diff --git a/tools/ui/tests/client/dialog-focus-mobile.svelte.test.ts b/ui/apps/chat/tests/client/dialog-focus-mobile.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/dialog-focus-mobile.svelte.test.ts
rename to ui/apps/chat/tests/client/dialog-focus-mobile.svelte.test.ts
diff --git a/tools/ui/tests/client/exec-shell-command-streaming.svelte.test.ts b/ui/apps/chat/tests/client/exec-shell-command-streaming.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/exec-shell-command-streaming.svelte.test.ts
rename to ui/apps/chat/tests/client/exec-shell-command-streaming.svelte.test.ts
diff --git a/tools/ui/tests/client/groups-db.svelte.test.ts b/ui/apps/chat/tests/client/groups-db.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/groups-db.svelte.test.ts
rename to ui/apps/chat/tests/client/groups-db.svelte.test.ts
diff --git a/tools/ui/tests/client/haptics.svelte.test.ts b/ui/apps/chat/tests/client/haptics.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/haptics.svelte.test.ts
rename to ui/apps/chat/tests/client/haptics.svelte.test.ts
diff --git a/tools/ui/tests/client/highlight-theme.svelte.test.ts b/ui/apps/chat/tests/client/highlight-theme.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/highlight-theme.svelte.test.ts
rename to ui/apps/chat/tests/client/highlight-theme.svelte.test.ts
diff --git a/tools/ui/tests/client/keyboard-inset.svelte.test.ts b/ui/apps/chat/tests/client/keyboard-inset.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/keyboard-inset.svelte.test.ts
rename to ui/apps/chat/tests/client/keyboard-inset.svelte.test.ts
diff --git a/tools/ui/tests/client/markdown-content-sanitize.svelte.test.ts b/ui/apps/chat/tests/client/markdown-content-sanitize.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/markdown-content-sanitize.svelte.test.ts
rename to ui/apps/chat/tests/client/markdown-content-sanitize.svelte.test.ts
diff --git a/tools/ui/tests/client/markdown-editor-margins.svelte.test.ts b/ui/apps/chat/tests/client/markdown-editor-margins.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/markdown-editor-margins.svelte.test.ts
rename to ui/apps/chat/tests/client/markdown-editor-margins.svelte.test.ts
diff --git a/tools/ui/tests/client/markdown-editor.svelte.test.ts b/ui/apps/chat/tests/client/markdown-editor.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/markdown-editor.svelte.test.ts
rename to ui/apps/chat/tests/client/markdown-editor.svelte.test.ts
diff --git a/tools/ui/tests/client/mcp-display-name.svelte.test.ts b/ui/apps/chat/tests/client/mcp-display-name.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/mcp-display-name.svelte.test.ts
rename to ui/apps/chat/tests/client/mcp-display-name.svelte.test.ts
diff --git a/tools/ui/tests/client/mcp-icon-proxy-url.svelte.test.ts b/ui/apps/chat/tests/client/mcp-icon-proxy-url.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/mcp-icon-proxy-url.svelte.test.ts
rename to ui/apps/chat/tests/client/mcp-icon-proxy-url.svelte.test.ts
diff --git a/tools/ui/tests/client/mcp-server-form.svelte.test.ts b/ui/apps/chat/tests/client/mcp-server-form.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/mcp-server-form.svelte.test.ts
rename to ui/apps/chat/tests/client/mcp-server-form.svelte.test.ts
diff --git a/tools/ui/tests/client/microphone-unavailable.svelte.test.ts b/ui/apps/chat/tests/client/microphone-unavailable.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/microphone-unavailable.svelte.test.ts
rename to ui/apps/chat/tests/client/microphone-unavailable.svelte.test.ts
diff --git a/tools/ui/tests/client/model-avatar-orgs.svelte.test.ts b/ui/apps/chat/tests/client/model-avatar-orgs.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/model-avatar-orgs.svelte.test.ts
rename to ui/apps/chat/tests/client/model-avatar-orgs.svelte.test.ts
diff --git a/tools/ui/tests/client/models-download-flows.svelte.test.ts b/ui/apps/chat/tests/client/models-download-flows.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-download-flows.svelte.test.ts
rename to ui/apps/chat/tests/client/models-download-flows.svelte.test.ts
diff --git a/tools/ui/tests/client/models-manager-rows.svelte.test.ts b/ui/apps/chat/tests/client/models-manager-rows.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-manager-rows.svelte.test.ts
rename to ui/apps/chat/tests/client/models-manager-rows.svelte.test.ts
diff --git a/tools/ui/tests/client/models-manager-sort-filter.svelte.test.ts b/ui/apps/chat/tests/client/models-manager-sort-filter.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-manager-sort-filter.svelte.test.ts
rename to ui/apps/chat/tests/client/models-manager-sort-filter.svelte.test.ts
diff --git a/tools/ui/tests/client/models-manager-utils.svelte.test.ts b/ui/apps/chat/tests/client/models-manager-utils.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-manager-utils.svelte.test.ts
rename to ui/apps/chat/tests/client/models-manager-utils.svelte.test.ts
diff --git a/tools/ui/tests/client/models-selector-hidden.svelte.test.ts b/ui/apps/chat/tests/client/models-selector-hidden.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-selector-hidden.svelte.test.ts
rename to ui/apps/chat/tests/client/models-selector-hidden.svelte.test.ts
diff --git a/tools/ui/tests/client/models-selector-mobile.svelte.test.ts b/ui/apps/chat/tests/client/models-selector-mobile.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-selector-mobile.svelte.test.ts
rename to ui/apps/chat/tests/client/models-selector-mobile.svelte.test.ts
diff --git a/tools/ui/tests/client/models-sidecar-badges.svelte.test.ts b/ui/apps/chat/tests/client/models-sidecar-badges.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/models-sidecar-badges.svelte.test.ts
rename to ui/apps/chat/tests/client/models-sidecar-badges.svelte.test.ts
diff --git a/tools/ui/tests/client/nested-surfaces.svelte.test.ts b/ui/apps/chat/tests/client/nested-surfaces.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/nested-surfaces.svelte.test.ts
rename to ui/apps/chat/tests/client/nested-surfaces.svelte.test.ts
diff --git a/tools/ui/tests/client/page.svelte.test.ts b/ui/apps/chat/tests/client/page.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/page.svelte.test.ts
rename to ui/apps/chat/tests/client/page.svelte.test.ts
diff --git a/tools/ui/tests/client/picker-list-scroll.svelte.test.ts b/ui/apps/chat/tests/client/picker-list-scroll.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/picker-list-scroll.svelte.test.ts
rename to ui/apps/chat/tests/client/picker-list-scroll.svelte.test.ts
diff --git a/tools/ui/tests/client/reasoning-control-mobile.svelte.test.ts b/ui/apps/chat/tests/client/reasoning-control-mobile.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/reasoning-control-mobile.svelte.test.ts
rename to ui/apps/chat/tests/client/reasoning-control-mobile.svelte.test.ts
diff --git a/tools/ui/tests/client/sandbox.service.svelte.test.ts b/ui/apps/chat/tests/client/sandbox.service.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/sandbox.service.svelte.test.ts
rename to ui/apps/chat/tests/client/sandbox.service.svelte.test.ts
diff --git a/tools/ui/tests/client/search-chats-default-disabled-migration.svelte.test.ts b/ui/apps/chat/tests/client/search-chats-default-disabled-migration.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/search-chats-default-disabled-migration.svelte.test.ts
rename to ui/apps/chat/tests/client/search-chats-default-disabled-migration.svelte.test.ts
diff --git a/tools/ui/tests/client/search-chats.service.svelte.test.ts b/ui/apps/chat/tests/client/search-chats.service.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/search-chats.service.svelte.test.ts
rename to ui/apps/chat/tests/client/search-chats.service.svelte.test.ts
diff --git a/tools/ui/tests/client/settings-model-org-name-key-migration.svelte.test.ts b/ui/apps/chat/tests/client/settings-model-org-name-key-migration.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/settings-model-org-name-key-migration.svelte.test.ts
rename to ui/apps/chat/tests/client/settings-model-org-name-key-migration.svelte.test.ts
diff --git a/tools/ui/tests/client/settings-registry-invariants.svelte.test.ts b/ui/apps/chat/tests/client/settings-registry-invariants.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/settings-registry-invariants.svelte.test.ts
rename to ui/apps/chat/tests/client/settings-registry-invariants.svelte.test.ts
diff --git a/tools/ui/tests/client/settings-render-keys-migration.svelte.test.ts b/ui/apps/chat/tests/client/settings-render-keys-migration.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/settings-render-keys-migration.svelte.test.ts
rename to ui/apps/chat/tests/client/settings-render-keys-migration.svelte.test.ts
diff --git a/tools/ui/tests/client/settings-tools-policy.svelte.test.ts b/ui/apps/chat/tests/client/settings-tools-policy.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/settings-tools-policy.svelte.test.ts
rename to ui/apps/chat/tests/client/settings-tools-policy.svelte.test.ts
diff --git a/tools/ui/tests/client/sidebar-hidden-clicks.svelte.test.ts b/ui/apps/chat/tests/client/sidebar-hidden-clicks.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/sidebar-hidden-clicks.svelte.test.ts
rename to ui/apps/chat/tests/client/sidebar-hidden-clicks.svelte.test.ts
diff --git a/tools/ui/tests/client/stick-to-bottom-affordance.svelte.test.ts b/ui/apps/chat/tests/client/stick-to-bottom-affordance.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/stick-to-bottom-affordance.svelte.test.ts
rename to ui/apps/chat/tests/client/stick-to-bottom-affordance.svelte.test.ts
diff --git a/tools/ui/tests/client/stick-to-bottom.svelte.test.ts b/ui/apps/chat/tests/client/stick-to-bottom.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/stick-to-bottom.svelte.test.ts
rename to ui/apps/chat/tests/client/stick-to-bottom.svelte.test.ts
diff --git a/tools/ui/tests/client/tool-call-block-streamed-body.svelte.test.ts b/ui/apps/chat/tests/client/tool-call-block-streamed-body.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/tool-call-block-streamed-body.svelte.test.ts
rename to ui/apps/chat/tests/client/tool-call-block-streamed-body.svelte.test.ts
diff --git a/tools/ui/tests/client/tool-call-in-progress.svelte.test.ts b/ui/apps/chat/tests/client/tool-call-in-progress.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/tool-call-in-progress.svelte.test.ts
rename to ui/apps/chat/tests/client/tool-call-in-progress.svelte.test.ts
diff --git a/tools/ui/tests/client/ui-settings-sync.svelte.test.ts b/ui/apps/chat/tests/client/ui-settings-sync.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/ui-settings-sync.svelte.test.ts
rename to ui/apps/chat/tests/client/ui-settings-sync.svelte.test.ts
diff --git a/tools/ui/tests/client/update-message-in-place.svelte.test.ts b/ui/apps/chat/tests/client/update-message-in-place.svelte.test.ts
similarity index 100%
rename from tools/ui/tests/client/update-message-in-place.svelte.test.ts
rename to ui/apps/chat/tests/client/update-message-in-place.svelte.test.ts
diff --git a/tools/ui/tests/debug/ViewportProbe.svelte b/ui/apps/chat/tests/debug/ViewportProbe.svelte
similarity index 100%
rename from tools/ui/tests/debug/ViewportProbe.svelte
rename to ui/apps/chat/tests/debug/ViewportProbe.svelte
diff --git a/tools/ui/tests/e2e/pwa.e2e.ts b/ui/apps/chat/tests/e2e/pwa.e2e.ts
similarity index 100%
rename from tools/ui/tests/e2e/pwa.e2e.ts
rename to ui/apps/chat/tests/e2e/pwa.e2e.ts
diff --git a/tools/ui/tests/stories/ChatFormSingleRow.stories.svelte b/ui/apps/chat/tests/stories/ChatFormSingleRow.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/ChatFormSingleRow.stories.svelte
rename to ui/apps/chat/tests/stories/ChatFormSingleRow.stories.svelte
diff --git a/tools/ui/tests/stories/ChatMessage.stories.svelte b/ui/apps/chat/tests/stories/ChatMessage.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/ChatMessage.stories.svelte
rename to ui/apps/chat/tests/stories/ChatMessage.stories.svelte
diff --git a/tools/ui/tests/stories/ChatScreenForm.stories.svelte b/ui/apps/chat/tests/stories/ChatScreenForm.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/ChatScreenForm.stories.svelte
rename to ui/apps/chat/tests/stories/ChatScreenForm.stories.svelte
diff --git a/tools/ui/tests/stories/Introduction.mdx b/ui/apps/chat/tests/stories/Introduction.mdx
similarity index 82%
rename from tools/ui/tests/stories/Introduction.mdx
rename to ui/apps/chat/tests/stories/Introduction.mdx
index d4c0c7921..7ee918268 100644
--- a/tools/ui/tests/stories/Introduction.mdx
+++ b/ui/apps/chat/tests/stories/Introduction.mdx
@@ -2,13 +2,13 @@ import { Meta } from '@storybook/addon-docs/blocks';
<Meta title="Introduction" />
-# llama.cpp Web UI
+# Llama Chat
-Welcome to the **llama-ui** component library! This Storybook showcases the components used in the modern web interface for the llama-server.
+Welcome to **Llama UI**, the component library of Llama Chat! This Storybook showcases the components used in Llama Chat, the modern web interface for the llama-server.
## 🚀 About This Project
-Llama UI is a modern web interface for the llama-server, built with SvelteKit and ShadCN UI. Features include:
+Llama Chat is a modern web interface for the llama-server, built with SvelteKit and ShadCN UI. Features include:
- **Real-time chat conversations** with AI assistants
- **Multi-conversation management** with persistent storage
diff --git a/tools/ui/tests/stories/MarkdownContent.stories.svelte b/ui/apps/chat/tests/stories/MarkdownContent.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/MarkdownContent.stories.svelte
rename to ui/apps/chat/tests/stories/MarkdownContent.stories.svelte
diff --git a/tools/ui/tests/stories/ModelsManager.stories.svelte b/ui/apps/chat/tests/stories/ModelsManager.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/ModelsManager.stories.svelte
rename to ui/apps/chat/tests/stories/ModelsManager.stories.svelte
diff --git a/tools/ui/tests/stories/ModelsSelector.stories.svelte b/ui/apps/chat/tests/stories/ModelsSelector.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/ModelsSelector.stories.svelte
rename to ui/apps/chat/tests/stories/ModelsSelector.stories.svelte
diff --git a/tools/ui/tests/stories/PwaRefreshAlert.stories.svelte b/ui/apps/chat/tests/stories/PwaRefreshAlert.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/PwaRefreshAlert.stories.svelte
rename to ui/apps/chat/tests/stories/PwaRefreshAlert.stories.svelte
diff --git a/tools/ui/tests/stories/SidebarNavigation.stories.svelte b/ui/apps/chat/tests/stories/SidebarNavigation.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/SidebarNavigation.stories.svelte
rename to ui/apps/chat/tests/stories/SidebarNavigation.stories.svelte
diff --git a/tools/ui/tests/stories/a11y/ActionIcon.a11y.stories.svelte b/ui/apps/chat/tests/stories/a11y/ActionIcon.a11y.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/a11y/ActionIcon.a11y.stories.svelte
rename to ui/apps/chat/tests/stories/a11y/ActionIcon.a11y.stories.svelte
diff --git a/tools/ui/tests/stories/a11y/ChatMessageStatistics.a11y.stories.svelte b/ui/apps/chat/tests/stories/a11y/ChatMessageStatistics.a11y.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/a11y/ChatMessageStatistics.a11y.stories.svelte
rename to ui/apps/chat/tests/stories/a11y/ChatMessageStatistics.a11y.stories.svelte
diff --git a/tools/ui/tests/stories/a11y/ChatScreenForm.a11y.stories.svelte b/ui/apps/chat/tests/stories/a11y/ChatScreenForm.a11y.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/a11y/ChatScreenForm.a11y.stories.svelte
rename to ui/apps/chat/tests/stories/a11y/ChatScreenForm.a11y.stories.svelte
diff --git a/tools/ui/tests/stories/a11y/ModelsManager.a11y.stories.svelte b/ui/apps/chat/tests/stories/a11y/ModelsManager.a11y.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/a11y/ModelsManager.a11y.stories.svelte
rename to ui/apps/chat/tests/stories/a11y/ModelsManager.a11y.stories.svelte
diff --git a/tools/ui/tests/stories/a11y/ScrollCarousel.a11y.stories.svelte b/ui/apps/chat/tests/stories/a11y/ScrollCarousel.a11y.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/a11y/ScrollCarousel.a11y.stories.svelte
rename to ui/apps/chat/tests/stories/a11y/ScrollCarousel.a11y.stories.svelte
diff --git a/tools/ui/tests/stories/a11y/SidebarNavigationConversationItem.a11y.stories.svelte b/ui/apps/chat/tests/stories/a11y/SidebarNavigationConversationItem.a11y.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/a11y/SidebarNavigationConversationItem.a11y.stories.svelte
rename to ui/apps/chat/tests/stories/a11y/SidebarNavigationConversationItem.a11y.stories.svelte
diff --git a/tools/ui/tests/stories/chat/screen/attachments/ChatAttachmentsPreview.stories.svelte b/ui/apps/chat/tests/stories/chat/screen/attachments/ChatAttachmentsPreview.stories.svelte
similarity index 100%
rename from tools/ui/tests/stories/chat/screen/attachments/ChatAttachmentsPreview.stories.svelte
rename to ui/apps/chat/tests/stories/chat/screen/attachments/ChatAttachmentsPreview.stories.svelte
diff --git a/tools/ui/tests/stories/fixtures/ChatFormSingleRowPreview.svelte b/ui/apps/chat/tests/stories/fixtures/ChatFormSingleRowPreview.svelte
similarity index 100%
rename from tools/ui/tests/stories/fixtures/ChatFormSingleRowPreview.svelte
rename to ui/apps/chat/tests/stories/fixtures/ChatFormSingleRowPreview.svelte
diff --git a/tools/ui/tests/stories/fixtures/ai-tutorial.ts b/ui/apps/chat/tests/stories/fixtures/ai-tutorial.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/ai-tutorial.ts
rename to ui/apps/chat/tests/stories/fixtures/ai-tutorial.ts
diff --git a/tools/ui/tests/stories/fixtures/api-docs.ts b/ui/apps/chat/tests/stories/fixtures/api-docs.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/api-docs.ts
rename to ui/apps/chat/tests/stories/fixtures/api-docs.ts
diff --git a/tools/ui/tests/stories/fixtures/assets/1.jpg b/ui/apps/chat/tests/stories/fixtures/assets/1.jpg
similarity index 100%
rename from tools/ui/tests/stories/fixtures/assets/1.jpg
rename to ui/apps/chat/tests/stories/fixtures/assets/1.jpg
diff --git a/tools/ui/tests/stories/fixtures/assets/beautiful-flowers-lotus.webp b/ui/apps/chat/tests/stories/fixtures/assets/beautiful-flowers-lotus.webp
similarity index 100%
rename from tools/ui/tests/stories/fixtures/assets/beautiful-flowers-lotus.webp
rename to ui/apps/chat/tests/stories/fixtures/assets/beautiful-flowers-lotus.webp
diff --git a/tools/ui/tests/stories/fixtures/assets/example.pdf b/ui/apps/chat/tests/stories/fixtures/assets/example.pdf
similarity index 100%
rename from tools/ui/tests/stories/fixtures/assets/example.pdf
rename to ui/apps/chat/tests/stories/fixtures/assets/example.pdf
diff --git a/tools/ui/tests/stories/fixtures/assets/hf-logo.svg b/ui/apps/chat/tests/stories/fixtures/assets/hf-logo.svg
similarity index 100%
rename from tools/ui/tests/stories/fixtures/assets/hf-logo.svg
rename to ui/apps/chat/tests/stories/fixtures/assets/hf-logo.svg
diff --git a/tools/ui/tests/stories/fixtures/blog-post.ts b/ui/apps/chat/tests/stories/fixtures/blog-post.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/blog-post.ts
rename to ui/apps/chat/tests/stories/fixtures/blog-post.ts
diff --git a/tools/ui/tests/stories/fixtures/data-analysis.ts b/ui/apps/chat/tests/stories/fixtures/data-analysis.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/data-analysis.ts
rename to ui/apps/chat/tests/stories/fixtures/data-analysis.ts
diff --git a/tools/ui/tests/stories/fixtures/empty.ts b/ui/apps/chat/tests/stories/fixtures/empty.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/empty.ts
rename to ui/apps/chat/tests/stories/fixtures/empty.ts
diff --git a/tools/ui/tests/stories/fixtures/math-formulas.ts b/ui/apps/chat/tests/stories/fixtures/math-formulas.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/math-formulas.ts
rename to ui/apps/chat/tests/stories/fixtures/math-formulas.ts
diff --git a/tools/ui/tests/stories/fixtures/mobile-tables.ts b/ui/apps/chat/tests/stories/fixtures/mobile-tables.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/mobile-tables.ts
rename to ui/apps/chat/tests/stories/fixtures/mobile-tables.ts
diff --git a/tools/ui/tests/stories/fixtures/readme.ts b/ui/apps/chat/tests/stories/fixtures/readme.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/readme.ts
rename to ui/apps/chat/tests/stories/fixtures/readme.ts
diff --git a/tools/ui/tests/stories/fixtures/storybook-mocks.ts b/ui/apps/chat/tests/stories/fixtures/storybook-mocks.ts
similarity index 100%
rename from tools/ui/tests/stories/fixtures/storybook-mocks.ts
rename to ui/apps/chat/tests/stories/fixtures/storybook-mocks.ts
diff --git a/tools/ui/tests/unit/abort.test.ts b/ui/apps/chat/tests/unit/abort.test.ts
similarity index 100%
rename from tools/ui/tests/unit/abort.test.ts
rename to ui/apps/chat/tests/unit/abort.test.ts
diff --git a/tools/ui/tests/unit/agentic-hotpath.bench.ts b/ui/apps/chat/tests/unit/agentic-hotpath.bench.ts
similarity index 100%
rename from tools/ui/tests/unit/agentic-hotpath.bench.ts
rename to ui/apps/chat/tests/unit/agentic-hotpath.bench.ts
diff --git a/tools/ui/tests/unit/agentic-max-turns-default.test.ts b/ui/apps/chat/tests/unit/agentic-max-turns-default.test.ts
similarity index 100%
rename from tools/ui/tests/unit/agentic-max-turns-default.test.ts
rename to ui/apps/chat/tests/unit/agentic-max-turns-default.test.ts
diff --git a/tools/ui/tests/unit/agentic-section-expansion.test.ts b/ui/apps/chat/tests/unit/agentic-section-expansion.test.ts
similarity index 100%
rename from tools/ui/tests/unit/agentic-section-expansion.test.ts
rename to ui/apps/chat/tests/unit/agentic-section-expansion.test.ts
diff --git a/tools/ui/tests/unit/agentic-sections.test.ts b/ui/apps/chat/tests/unit/agentic-sections.test.ts
similarity index 100%
rename from tools/ui/tests/unit/agentic-sections.test.ts
rename to ui/apps/chat/tests/unit/agentic-sections.test.ts
diff --git a/tools/ui/tests/unit/agentic-strip.test.ts b/ui/apps/chat/tests/unit/agentic-strip.test.ts
similarity index 100%
rename from tools/ui/tests/unit/agentic-strip.test.ts
rename to ui/apps/chat/tests/unit/agentic-strip.test.ts
diff --git a/tools/ui/tests/unit/assistant-raw-output.test.ts b/ui/apps/chat/tests/unit/assistant-raw-output.test.ts
similarity index 100%
rename from tools/ui/tests/unit/assistant-raw-output.test.ts
rename to ui/apps/chat/tests/unit/assistant-raw-output.test.ts
diff --git a/tools/ui/tests/unit/branching.test.ts b/ui/apps/chat/tests/unit/branching.test.ts
similarity index 100%
rename from tools/ui/tests/unit/branching.test.ts
rename to ui/apps/chat/tests/unit/branching.test.ts
diff --git a/tools/ui/tests/unit/brand-favicons.test.ts b/ui/apps/chat/tests/unit/brand-favicons.test.ts
similarity index 100%
rename from tools/ui/tests/unit/brand-favicons.test.ts
rename to ui/apps/chat/tests/unit/brand-favicons.test.ts
diff --git a/tools/ui/tests/unit/chat-activity.test.ts b/ui/apps/chat/tests/unit/chat-activity.test.ts
similarity index 100%
rename from tools/ui/tests/unit/chat-activity.test.ts
rename to ui/apps/chat/tests/unit/chat-activity.test.ts
diff --git a/tools/ui/tests/unit/chat-form-expand.test.ts b/ui/apps/chat/tests/unit/chat-form-expand.test.ts
similarity index 100%
rename from tools/ui/tests/unit/chat-form-expand.test.ts
rename to ui/apps/chat/tests/unit/chat-form-expand.test.ts
diff --git a/tools/ui/tests/unit/classify-tool-result.test.ts b/ui/apps/chat/tests/unit/classify-tool-result.test.ts
similarity index 100%
rename from tools/ui/tests/unit/classify-tool-result.test.ts
rename to ui/apps/chat/tests/unit/classify-tool-result.test.ts
diff --git a/tools/ui/tests/unit/clipboard.test.ts b/ui/apps/chat/tests/unit/clipboard.test.ts
similarity index 100%
rename from tools/ui/tests/unit/clipboard.test.ts
rename to ui/apps/chat/tests/unit/clipboard.test.ts
diff --git a/tools/ui/tests/unit/code.test.ts b/ui/apps/chat/tests/unit/code.test.ts
similarity index 100%
rename from tools/ui/tests/unit/code.test.ts
rename to ui/apps/chat/tests/unit/code.test.ts
diff --git a/tools/ui/tests/unit/command-token.test.ts b/ui/apps/chat/tests/unit/command-token.test.ts
similarity index 100%
rename from tools/ui/tests/unit/command-token.test.ts
rename to ui/apps/chat/tests/unit/command-token.test.ts
diff --git a/tools/ui/tests/unit/compaction.test.ts b/ui/apps/chat/tests/unit/compaction.test.ts
similarity index 100%
rename from tools/ui/tests/unit/compaction.test.ts
rename to ui/apps/chat/tests/unit/compaction.test.ts
diff --git a/tools/ui/tests/unit/compute-line-diff.test.ts b/ui/apps/chat/tests/unit/compute-line-diff.test.ts
similarity index 100%
rename from tools/ui/tests/unit/compute-line-diff.test.ts
rename to ui/apps/chat/tests/unit/compute-line-diff.test.ts
diff --git a/tools/ui/tests/unit/continue-intent.test.ts b/ui/apps/chat/tests/unit/continue-intent.test.ts
similarity index 100%
rename from tools/ui/tests/unit/continue-intent.test.ts
rename to ui/apps/chat/tests/unit/continue-intent.test.ts
diff --git a/tools/ui/tests/unit/conversation-export.test.ts b/ui/apps/chat/tests/unit/conversation-export.test.ts
similarity index 100%
rename from tools/ui/tests/unit/conversation-export.test.ts
rename to ui/apps/chat/tests/unit/conversation-export.test.ts
diff --git a/tools/ui/tests/unit/conversation-import.test.ts b/ui/apps/chat/tests/unit/conversation-import.test.ts
similarity index 100%
rename from tools/ui/tests/unit/conversation-import.test.ts
rename to ui/apps/chat/tests/unit/conversation-import.test.ts
diff --git a/tools/ui/tests/unit/conversations-store.test.ts b/ui/apps/chat/tests/unit/conversations-store.test.ts
similarity index 100%
rename from tools/ui/tests/unit/conversations-store.test.ts
rename to ui/apps/chat/tests/unit/conversations-store.test.ts
diff --git a/tools/ui/tests/unit/formatters.test.ts b/ui/apps/chat/tests/unit/formatters.test.ts
similarity index 100%
rename from tools/ui/tests/unit/formatters.test.ts
rename to ui/apps/chat/tests/unit/formatters.test.ts
diff --git a/tools/ui/tests/unit/gguf-metadata.test.ts b/ui/apps/chat/tests/unit/gguf-metadata.test.ts
similarity index 100%
rename from tools/ui/tests/unit/gguf-metadata.test.ts
rename to ui/apps/chat/tests/unit/gguf-metadata.test.ts
diff --git a/tools/ui/tests/unit/glob-search-children.test.ts b/ui/apps/chat/tests/unit/glob-search-children.test.ts
similarity index 100%
rename from tools/ui/tests/unit/glob-search-children.test.ts
rename to ui/apps/chat/tests/unit/glob-search-children.test.ts
diff --git a/tools/ui/tests/unit/headers.test.ts b/ui/apps/chat/tests/unit/headers.test.ts
similarity index 100%
rename from tools/ui/tests/unit/headers.test.ts
rename to ui/apps/chat/tests/unit/headers.test.ts
diff --git a/tools/ui/tests/unit/hf-helpers.test.ts b/ui/apps/chat/tests/unit/hf-helpers.test.ts
similarity index 100%
rename from tools/ui/tests/unit/hf-helpers.test.ts
rename to ui/apps/chat/tests/unit/hf-helpers.test.ts
diff --git a/tools/ui/tests/unit/hf-mmproj-modalities.test.ts b/ui/apps/chat/tests/unit/hf-mmproj-modalities.test.ts
similarity index 100%
rename from tools/ui/tests/unit/hf-mmproj-modalities.test.ts
rename to ui/apps/chat/tests/unit/hf-mmproj-modalities.test.ts
diff --git a/tools/ui/tests/unit/jpeg-orientation.test.ts b/ui/apps/chat/tests/unit/jpeg-orientation.test.ts
similarity index 100%
rename from tools/ui/tests/unit/jpeg-orientation.test.ts
rename to ui/apps/chat/tests/unit/jpeg-orientation.test.ts
diff --git a/tools/ui/tests/unit/latex-protection.test.ts b/ui/apps/chat/tests/unit/latex-protection.test.ts
similarity index 100%
rename from tools/ui/tests/unit/latex-protection.test.ts
rename to ui/apps/chat/tests/unit/latex-protection.test.ts
diff --git a/tools/ui/tests/unit/markdown-structure.test.ts b/ui/apps/chat/tests/unit/markdown-structure.test.ts
similarity index 100%
rename from tools/ui/tests/unit/markdown-structure.test.ts
rename to ui/apps/chat/tests/unit/markdown-structure.test.ts
diff --git a/tools/ui/tests/unit/markdown-syntax.test.ts b/ui/apps/chat/tests/unit/markdown-syntax.test.ts
similarity index 100%
rename from tools/ui/tests/unit/markdown-syntax.test.ts
rename to ui/apps/chat/tests/unit/markdown-syntax.test.ts
diff --git a/tools/ui/tests/unit/mcp-default-overrides-merge.test.ts b/ui/apps/chat/tests/unit/mcp-default-overrides-merge.test.ts
similarity index 100%
rename from tools/ui/tests/unit/mcp-default-overrides-merge.test.ts
rename to ui/apps/chat/tests/unit/mcp-default-overrides-merge.test.ts
diff --git a/tools/ui/tests/unit/mcp-servers-default.test.ts b/ui/apps/chat/tests/unit/mcp-servers-default.test.ts
similarity index 100%
rename from tools/ui/tests/unit/mcp-servers-default.test.ts
rename to ui/apps/chat/tests/unit/mcp-servers-default.test.ts
diff --git a/tools/ui/tests/unit/mcp-service.test.ts b/ui/apps/chat/tests/unit/mcp-service.test.ts
similarity index 100%
rename from tools/ui/tests/unit/mcp-service.test.ts
rename to ui/apps/chat/tests/unit/mcp-service.test.ts
diff --git a/tools/ui/tests/unit/mention-badge.test.ts b/ui/apps/chat/tests/unit/mention-badge.test.ts
similarity index 100%
rename from tools/ui/tests/unit/mention-badge.test.ts
rename to ui/apps/chat/tests/unit/mention-badge.test.ts
diff --git a/tools/ui/tests/unit/mention-segments.test.ts b/ui/apps/chat/tests/unit/mention-segments.test.ts
similarity index 100%
rename from tools/ui/tests/unit/mention-segments.test.ts
rename to ui/apps/chat/tests/unit/mention-segments.test.ts
diff --git a/tools/ui/tests/unit/mention-token.test.ts b/ui/apps/chat/tests/unit/mention-token.test.ts
similarity index 100%
rename from tools/ui/tests/unit/mention-token.test.ts
rename to ui/apps/chat/tests/unit/mention-token.test.ts
diff --git a/tools/ui/tests/unit/model-compatibility.test.ts b/ui/apps/chat/tests/unit/model-compatibility.test.ts
similarity index 100%
rename from tools/ui/tests/unit/model-compatibility.test.ts
rename to ui/apps/chat/tests/unit/model-compatibility.test.ts
diff --git a/tools/ui/tests/unit/model-families.test.ts b/ui/apps/chat/tests/unit/model-families.test.ts
similarity index 100%
rename from tools/ui/tests/unit/model-families.test.ts
rename to ui/apps/chat/tests/unit/model-families.test.ts
diff --git a/tools/ui/tests/unit/model-id-parser.test.ts b/ui/apps/chat/tests/unit/model-id-parser.test.ts
similarity index 100%
rename from tools/ui/tests/unit/model-id-parser.test.ts
rename to ui/apps/chat/tests/unit/model-id-parser.test.ts
diff --git a/tools/ui/tests/unit/model-list.test.ts b/ui/apps/chat/tests/unit/model-list.test.ts
similarity index 100%
rename from tools/ui/tests/unit/model-list.test.ts
rename to ui/apps/chat/tests/unit/model-list.test.ts
diff --git a/tools/ui/tests/unit/model-names.test.ts b/ui/apps/chat/tests/unit/model-names.test.ts
similarity index 100%
rename from tools/ui/tests/unit/model-names.test.ts
rename to ui/apps/chat/tests/unit/model-names.test.ts
diff --git a/tools/ui/tests/unit/model-sidecar-grammar.test.ts b/ui/apps/chat/tests/unit/model-sidecar-grammar.test.ts
similarity index 100%
rename from tools/ui/tests/unit/model-sidecar-grammar.test.ts
rename to ui/apps/chat/tests/unit/model-sidecar-grammar.test.ts
diff --git a/tools/ui/tests/unit/parse-exec-shell-status.test.ts b/ui/apps/chat/tests/unit/parse-exec-shell-status.test.ts
similarity index 100%
rename from tools/ui/tests/unit/parse-exec-shell-status.test.ts
rename to ui/apps/chat/tests/unit/parse-exec-shell-status.test.ts
diff --git a/tools/ui/tests/unit/parse-mcp-server-settings.test.ts b/ui/apps/chat/tests/unit/parse-mcp-server-settings.test.ts
similarity index 100%
rename from tools/ui/tests/unit/parse-mcp-server-settings.test.ts
rename to ui/apps/chat/tests/unit/parse-mcp-server-settings.test.ts
diff --git a/tools/ui/tests/unit/parse-toolcalls-memo.test.ts b/ui/apps/chat/tests/unit/parse-toolcalls-memo.test.ts
similarity index 100%
rename from tools/ui/tests/unit/parse-toolcalls-memo.test.ts
rename to ui/apps/chat/tests/unit/parse-toolcalls-memo.test.ts
diff --git a/tools/ui/tests/unit/partial-tool-call-cleanup.test.ts b/ui/apps/chat/tests/unit/partial-tool-call-cleanup.test.ts
similarity index 100%
rename from tools/ui/tests/unit/partial-tool-call-cleanup.test.ts
rename to ui/apps/chat/tests/unit/partial-tool-call-cleanup.test.ts
diff --git a/tools/ui/tests/unit/pwa.spec.ts b/ui/apps/chat/tests/unit/pwa.spec.ts
similarity index 100%
rename from tools/ui/tests/unit/pwa.spec.ts
rename to ui/apps/chat/tests/unit/pwa.spec.ts
diff --git a/tools/ui/tests/unit/queued-message-isolation.test.ts b/ui/apps/chat/tests/unit/queued-message-isolation.test.ts
similarity index 100%
rename from tools/ui/tests/unit/queued-message-isolation.test.ts
rename to ui/apps/chat/tests/unit/queued-message-isolation.test.ts
diff --git a/tools/ui/tests/unit/reasoning-context.test.ts b/ui/apps/chat/tests/unit/reasoning-context.test.ts
similarity index 100%
rename from tools/ui/tests/unit/reasoning-context.test.ts
rename to ui/apps/chat/tests/unit/reasoning-context.test.ts
diff --git a/tools/ui/tests/unit/redact.test.ts b/ui/apps/chat/tests/unit/redact.test.ts
similarity index 100%
rename from tools/ui/tests/unit/redact.test.ts
rename to ui/apps/chat/tests/unit/redact.test.ts
diff --git a/tools/ui/tests/unit/request-helpers.test.ts b/ui/apps/chat/tests/unit/request-helpers.test.ts
similarity index 100%
rename from tools/ui/tests/unit/request-helpers.test.ts
rename to ui/apps/chat/tests/unit/request-helpers.test.ts
diff --git a/tools/ui/tests/unit/sanitize-headers.test.ts b/ui/apps/chat/tests/unit/sanitize-headers.test.ts
similarity index 100%
rename from tools/ui/tests/unit/sanitize-headers.test.ts
rename to ui/apps/chat/tests/unit/sanitize-headers.test.ts
diff --git a/tools/ui/tests/unit/search-chats.test.ts b/ui/apps/chat/tests/unit/search-chats.test.ts
similarity index 100%
rename from tools/ui/tests/unit/search-chats.test.ts
rename to ui/apps/chat/tests/unit/search-chats.test.ts
diff --git a/tools/ui/tests/unit/search-results-fixture.test.ts b/ui/apps/chat/tests/unit/search-results-fixture.test.ts
similarity index 100%
rename from tools/ui/tests/unit/search-results-fixture.test.ts
rename to ui/apps/chat/tests/unit/search-results-fixture.test.ts
diff --git a/tools/ui/tests/unit/search-results.test.ts b/ui/apps/chat/tests/unit/search-results.test.ts
similarity index 100%
rename from tools/ui/tests/unit/search-results.test.ts
rename to ui/apps/chat/tests/unit/search-results.test.ts
diff --git a/tools/ui/tests/unit/settings-private-fields.test.ts b/ui/apps/chat/tests/unit/settings-private-fields.test.ts
similarity index 100%
rename from tools/ui/tests/unit/settings-private-fields.test.ts
rename to ui/apps/chat/tests/unit/settings-private-fields.test.ts
diff --git a/tools/ui/tests/unit/settings-tool-call-in-progress.test.ts b/ui/apps/chat/tests/unit/settings-tool-call-in-progress.test.ts
similarity index 100%
rename from tools/ui/tests/unit/settings-tool-call-in-progress.test.ts
rename to ui/apps/chat/tests/unit/settings-tool-call-in-progress.test.ts
diff --git a/tools/ui/tests/unit/sse.test.ts b/ui/apps/chat/tests/unit/sse.test.ts
similarity index 100%
rename from tools/ui/tests/unit/sse.test.ts
rename to ui/apps/chat/tests/unit/sse.test.ts
diff --git a/tools/ui/tests/unit/stream-discovery.test.ts b/ui/apps/chat/tests/unit/stream-discovery.test.ts
similarity index 100%
rename from tools/ui/tests/unit/stream-discovery.test.ts
rename to ui/apps/chat/tests/unit/stream-discovery.test.ts
diff --git a/tools/ui/tests/unit/stream-finish.test.ts b/ui/apps/chat/tests/unit/stream-finish.test.ts
similarity index 100%
rename from tools/ui/tests/unit/stream-finish.test.ts
rename to ui/apps/chat/tests/unit/stream-finish.test.ts
diff --git a/tools/ui/tests/unit/stream-resume.test.ts b/ui/apps/chat/tests/unit/stream-resume.test.ts
similarity index 100%
rename from tools/ui/tests/unit/stream-resume.test.ts
rename to ui/apps/chat/tests/unit/stream-resume.test.ts
diff --git a/tools/ui/tests/unit/tool-call-meta.test.ts b/ui/apps/chat/tests/unit/tool-call-meta.test.ts
similarity index 100%
rename from tools/ui/tests/unit/tool-call-meta.test.ts
rename to ui/apps/chat/tests/unit/tool-call-meta.test.ts
diff --git a/tools/ui/tests/unit/tool-calls.test.ts b/ui/apps/chat/tests/unit/tool-calls.test.ts
similarity index 100%
rename from tools/ui/tests/unit/tool-calls.test.ts
rename to ui/apps/chat/tests/unit/tool-calls.test.ts
diff --git a/tools/ui/tests/unit/uri-template.test.ts b/ui/apps/chat/tests/unit/uri-template.test.ts
similarity index 100%
rename from tools/ui/tests/unit/uri-template.test.ts
rename to ui/apps/chat/tests/unit/uri-template.test.ts
diff --git a/tools/ui/tests/unit/working-directory.test.ts b/ui/apps/chat/tests/unit/working-directory.test.ts
similarity index 100%
rename from tools/ui/tests/unit/working-directory.test.ts
rename to ui/apps/chat/tests/unit/working-directory.test.ts
diff --git a/tools/ui/tsconfig.json b/ui/apps/chat/tsconfig.json
similarity index 100%
rename from tools/ui/tsconfig.json
rename to ui/apps/chat/tsconfig.json
diff --git a/tools/ui/ui.cpp.in b/ui/apps/chat/ui.cpp.in
similarity index 100%
rename from tools/ui/ui.cpp.in
rename to ui/apps/chat/ui.cpp.in
diff --git a/tools/ui/ui.h.in b/ui/apps/chat/ui.h.in
similarity index 100%
rename from tools/ui/ui.h.in
rename to ui/apps/chat/ui.h.in
diff --git a/tools/ui/vite.config.ts b/ui/apps/chat/vite.config.ts
similarity index 100%
rename from tools/ui/vite.config.ts
rename to ui/apps/chat/vite.config.ts
diff --git a/tools/ui/vitest-setup-client.ts b/ui/apps/chat/vitest-setup-client.ts
similarity index 100%
rename from tools/ui/vitest-setup-client.ts
rename to ui/apps/chat/vitest-setup-client.ts
diff --git a/tools/ui/vitest.shims.d.ts b/ui/apps/chat/vitest.shims.d.ts
similarity index 100%
rename from tools/ui/vitest.shims.d.ts
rename to ui/apps/chat/vitest.shims.d.ts