chore: move src/llama_stack/ui to src/llama_stack_ui

# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-11-04 14:56:16 -08:00
parent a8a8aa56c0
commit 20d4c6a0ef
156 changed files with 20 additions and 20 deletions

View file

@ -5,7 +5,7 @@ omit =
*/llama_stack/templates/*
.venv/*
*/llama_stack/cli/scripts/*
*/llama_stack/ui/*
*/llama_stack_ui/*
*/llama_stack/distribution/ui/*
*/llama_stack/strong_typing/*
*/llama_stack/env.py

View file

@ -22,7 +22,7 @@ updates:
prefix: chore(python-deps)
- package-ecosystem: npm
directory: "/llama_stack/ui"
directory: "/llama_stack_ui"
schedule:
interval: "weekly"
day: "saturday"

View file

@ -14,7 +14,7 @@ on:
paths:
- 'distributions/**'
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'
- '!src/llama_stack_ui/**'
- 'tests/integration/**'
- 'uv.lock'
- 'pyproject.toml'

View file

@ -14,7 +14,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'
- '!src/llama_stack_ui/**'
- 'tests/**'
- 'uv.lock'
- 'pyproject.toml'

View file

@ -13,7 +13,7 @@ on:
- 'release-[0-9]+.[0-9]+.x'
paths:
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'
- '!src/llama_stack_ui/**'
- 'tests/integration/vector_io/**'
- 'uv.lock'
- 'pyproject.toml'

View file

@ -43,14 +43,14 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: 'src/llama_stack/ui/'
cache-dependency-path: 'src/llama_stack_ui/'
- name: Set up uv
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
- name: Install npm dependencies
run: npm ci
working-directory: src/llama_stack/ui
working-directory: src/llama_stack_ui
- name: Install pre-commit
run: python -m pip install pre-commit

View file

@ -10,7 +10,7 @@ on:
branches:
- main
paths-ignore:
- 'src/llama_stack/ui/**'
- 'src/llama_stack_ui/**'
jobs:
build:

View file

@ -9,7 +9,7 @@ on:
branches: [ main ]
paths:
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'
- '!src/llama_stack_ui/**'
- 'tests/integration/**'
- 'uv.lock'
- 'pyproject.toml'

View file

@ -8,7 +8,7 @@ on:
pull_request:
branches: [ main ]
paths:
- 'src/llama_stack/ui/**'
- 'src/llama_stack_ui/**'
- '.github/workflows/ui-unit-tests.yml' # This workflow
workflow_dispatch:
@ -33,22 +33,22 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'src/llama_stack/ui/package-lock.json'
cache-dependency-path: 'src/llama_stack_ui/package-lock.json'
- name: Install dependencies
working-directory: src/llama_stack/ui
working-directory: src/llama_stack_ui
run: npm ci
- name: Run linting
working-directory: src/llama_stack/ui
working-directory: src/llama_stack_ui
run: npm run lint
- name: Run format check
working-directory: src/llama_stack/ui
working-directory: src/llama_stack_ui
run: npm run format:check
- name: Run unit tests
working-directory: src/llama_stack/ui
working-directory: src/llama_stack_ui
env:
CI: true

View file

@ -13,7 +13,7 @@ on:
- 'release-[0-9]+.[0-9]+.x'
paths:
- 'src/llama_stack/**'
- '!src/llama_stack/ui/**'
- '!src/llama_stack_ui/**'
- 'tests/unit/**'
- 'uv.lock'
- 'pyproject.toml'

View file

@ -161,7 +161,7 @@ repos:
name: Format & Lint UI
entry: bash ./scripts/run-ui-linter.sh
language: system
files: ^src/llama_stack/ui/.*\.(ts|tsx)$
files: ^src/llama_stack_ui/.*\.(ts|tsx)$
pass_filenames: false
require_serial: true

View file

@ -44,7 +44,7 @@ spec:
# Navigate to the UI directory
echo "Navigating to UI directory..."
cd /app/llama_stack/ui
cd /app/llama_stack_ui
# Check if package.json exists
if [ ! -f "package.json" ]; then

View file

@ -6,7 +6,7 @@
# the root directory of this source tree.
set -e
cd src/llama_stack/ui
cd src/llama_stack_ui
if [ ! -d node_modules ] || [ ! -x node_modules/.bin/prettier ] || [ ! -x node_modules/.bin/eslint ]; then
echo "UI dependencies not installed, skipping prettier/linter check"

View file

@ -253,7 +253,7 @@ class StackRun(Subcommand):
)
return
ui_dir = REPO_ROOT / "llama_stack" / "ui"
ui_dir = REPO_ROOT / "llama_stack_ui"
logs_dir = Path("~/.llama/ui/logs").expanduser()
try:
# Create logs directory if it doesn't exist

Some files were not shown because too many files have changed in this diff Show more