diff --git a/README.md b/README.md index f412336..48b70e0 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ Legacy `chats` migration is handled during startup. New code only reads the sess ## Frontend Structure -The browser UI remains framework-free and uses native ES modules. Shared behavior lives under `public/app/`: +The browser UI remains framework-free and uses native ES modules. Shared behavior lives under `public/js/`: - `api.js`: JSON and streaming request helpers - `constants.js`: theme and onboarding metadata @@ -222,7 +222,7 @@ The browser UI remains framework-free and uses native ES modules. Shared behavio - `statusNotice.js`: shared status and error presentation - `dom.js`: cached chat-page DOM references -`public/style.css` is a self-contained design system rebuilt around semantic tokens, shared components, and deliberate responsive breakpoints. It contains the six visual identities and their dark variants without legacy imports or precedence layers. `public/legal.css` contains only the legal-page layout. +`public/css/style.css` is a self-contained design system rebuilt around semantic tokens, shared components, and deliberate responsive breakpoints. It contains the six visual identities and their dark variants without legacy imports or precedence layers. `public/css/legal.css` contains only the legal-page layout. Pure chat message, retry, memory, summary, and persona-state formatting lives in `src/services/chatMessageHelpers.js`; `chatService.js` remains responsible for orchestration and persistence. @@ -280,6 +280,6 @@ Run `node --test --test-isolation=none` and `npm run lint` to check the feature Protected pages redirect to sign-in with a local return destination. Public discovery only returns published persona summaries; using a persona requires an account. -All page routes render the same navigation from `src/pageLayout.js` into the `` placeholder. `public/shell.css` owns the shared header, page spacing, and mobile navigation; `public/app/workspaceNavigation.js` owns sign-out. Page-specific headers contain only local titles and actions. The chat sidebar is reserved for conversation history. Public and home content share `public/pages.css` and `public/pages.js`. Page routes run before static assets and authenticated API routers; rendered pages use private, non-cacheable responses. +All page routes render the same navigation from `src/pageLayout.js` into the `` placeholder. `public/css/shell.css` owns the shared header, page spacing, and mobile navigation; `public/js/workspaceNavigation.js` owns sign-out. Page-specific headers contain only local titles and actions. The chat sidebar is reserved for conversation history. Public and home content share `public/css/pages.css` and `public/js/pages.js`. Page routes run before static assets and authenticated API routers; rendered pages use private, non-cacheable responses. For environments that block child-process test workers, run `node --test --test-isolation=none`. diff --git a/public/account.html b/public/account.html index 2385c2c..0abd76d 100644 --- a/public/account.html +++ b/public/account.html @@ -5,7 +5,7 @@