Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: preserve model navigation compatibility
[._.]/ Adam Eivy90692dbd159d
diff --git a/client/src/components/settings/LocalLlmTab.jsx b/client/src/components/settings/LocalLlmTab.jsxindex 860539cfa9..b27fd6a2fb 100644--- a/client/src/components/settings/LocalLlmTab.jsx+++ b/client/src/components/settings/LocalLlmTab.jsx@@ -4,7 +4,6 @@ import LocalLlmLibraryView from './LocalLlmLibraryView.jsx';// Dispatcher only. These destinations are promoted into the Models navigator;// this component keeps the existing routes and mounts only the selected panel.->>>>>>> 25ec27953 (feat: group Models navigation destinations (#7792))export function LocalLlmTab({ view }) {const activeView = ['abuse', 'jev'].includes(view) ? view : 'library';diff --git a/client/src/lib/navPresentation.js b/client/src/lib/navPresentation.jsindex 05b449dfd3..2a1181eeaf 100644--- a/client/src/lib/navPresentation.js+++ b/client/src/lib/navPresentation.js@@ -229,6 +229,7 @@ export const NAV_PRESENTATION = {'/meatspace/settings': { icon: Settings },'/models/3d': { icon: Boxes },'/models/decision-classifiers': { icon: Scale },+ '/models/decision-classifiers/jev': { icon: Scale },'/models/embeddings': { icon: Braces },'/models/llms': { icon: Cpu },'/models/llms/abuse': { icon: ShieldAlert },diff --git a/client/src/pages/Models.test.jsx b/client/src/pages/Models.test.jsxindex a64def7e0a..2c78099d2f 100644--- a/client/src/pages/Models.test.jsx+++ b/client/src/pages/Models.test.jsx@@ -153,8 +153,8 @@ describe('Models', () => {expect(within(nav).getByRole('link', { name: 'Model Library' })).not.toHaveAttribute('aria-current');expect(within(nav).getAllByRole('link').every((link) => link.getAttribute('class').includes('min-h-[44px]'))).toBe(true);- fireEvent.click(within(nav).getByRole('link', { name: 'Jev decision scorer' }));- expect(within(nav).getByRole('link', { name: 'Jev decision scorer' })).toHaveAttribute('aria-current', 'page');+ fireEvent.click(within(nav).getByRole('link', { name: 'Decision Classifiers' }));+ expect(within(nav).getByRole('link', { name: 'Decision Classifiers' })).toHaveAttribute('aria-current', 'page');});// A tab listed in the header but missing from TAB_CONTENT falls through to the@@ -182,10 +182,10 @@ describe('Models — tab drill-downs', () => {expect(screen.queryByTestId('llms-view')).not.toBeInTheDocument();});- it.each(['library', 'abuse', 'jev'])('passes the LLM %s sub-route through to the focused LLM view', async (view) => {+ it.each(['library', 'abuse'])('passes the LLM %s sub-route through to the focused LLM view', async (view) => {renderAt(`/models/llms/${view}`);expect(await screen.findByTestId('llms-view')).toHaveAttribute('data-view', view);- expect(screen.getByRole('tab', { name: view === 'library' ? 'Model Library' : view === 'abuse' ? 'Abuse Guard' : 'Jev decision scorer' })).toHaveAttribute('aria-selected', 'true');+ expect(screen.getByRole('tab', { name: view === 'library' ? 'Model Library' : 'Abuse Guard' })).toHaveAttribute('aria-selected', 'true');});it('renders a tab detail view INSIDE the section shell, not as a bare page', async () => {diff --git a/server/lib/navManifest.js b/server/lib/navManifest.jsindex 4c9ffeb635..ef8354eb22 100644--- a/server/lib/navManifest.js+++ b/server/lib/navManifest.js@@ -320,11 +320,13 @@ const RAW_NAV_COMMANDS = [// would orphan those entries — only the path, label and section move.{ id: 'nav.models.comparison', path: '/models/comparison', label: 'Comparison', section: 'Models', tabId: 'comparison', navGroup: 'Evaluate', aliases: ['model-comparison', 'model-cost', 'model-intelligence'], keywords: ['benchmark', 'effort', 'cost', 'quota', 'compare', 'intelligence'] },{ id: 'nav.models.3d', path: '/models/3d', label: '3D', section: 'Models', tabId: '3d', navGroup: 'Library', aliases: ['3d-runtimes', 'image-to-3d-runtimes', 'trellis-install', 'pixal3d-install'], keywords: ['trellis', 'pixal3d', 'install', 'repair', 'runtime', 'mesh', 'image to 3d', 'on-device'] },+ { id: 'nav.models.decision-classifiers', path: '/models/decision-classifiers', label: 'Decision Classifiers', section: 'Models', tabId: 'decision-classifiers', navGroup: 'Policies', aliases: ['decision-classifiers', 'classifiers'], keywords: ['jev', 'laya', 'mlx', 'decision systems', 'experiments'] },+ { id: 'nav.models.laya-mlx', path: '/models/decision-classifiers/laya-mlx', label: 'Laya-MLX', section: 'Models', aliases: ['laya', 'laya-mlx', 'layla'], keywords: ['classifier', 'apple silicon', 'typed decisions'] },{ id: 'nav.models.code-reviewers', path: '/models/code-reviewers', label: 'Code Reviewers', section: 'Models', tabId: 'code-reviewers', navGroup: 'Policies', previousPaths: ['/settings/code-reviewers'], aliases: ['code-reviewers', 'settings-code-reviewers', 'code-review', 'review-defaults', 'reviewers'], keywords: ['review loop', 'reviewer chain', 'codex', 'copilot', 'ollama', 'stop mode', 'max rounds', 'defaults'] },{ id: 'nav.settings.embeddings', path: '/models/embeddings', label: 'Embeddings', section: 'Models', tabId: 'embeddings', navGroup: 'Library', previousPaths: ['/settings/embeddings'], aliases: ['settings-embeddings', 'embeddings', 'embedding'], keywords: ['vector', 'pgvector', 'semantic search', 'nomic', 'ollama', 'lm studio'] },{ id: 'nav.settings.local-llm', path: '/models/llms', label: 'Model Library', section: 'Models', tabId: 'llms', navGroup: 'Library', previousPaths: ['/settings/local-llm'], aliases: ['local-llm', 'local-llms', 'llms', 'models-llms', 'ollama', 'lm-studio', 'lmstudio'], keywords: ['ollama', 'lm studio', 'local model', 'local llm', 'gguf', 'pull model', 'install model', 'migrate', 'switch backend', 'llama.cpp'] },{ id: 'nav.models.llms.abuse', path: '/models/llms/abuse', label: 'Abuse Guard', section: 'Models', tabId: 'abuse', navGroup: 'Policies', aliases: ['abuse-guard', 'model-abuse', 'model-abuse-guard', 'prompt-guard', 'prompt guard'], keywords: ['classifier', 'prompt injection', 'security scan', 'llama prompt guard', 'install guard'] },- { id: 'nav.models.llms.jev', path: '/models/llms/jev', label: 'Jev decision scorer', section: 'Models', tabId: 'jev', navGroup: 'Policies', aliases: ['jev', 'openjev', 'entailment', 'nli', 'decision-scorer'], keywords: ['entailment', 'nli', 'closed set', 'abstain', 'margin', 'scorer', 'decision', 'install jev'] },+ { id: 'nav.models.llms.jev', path: '/models/decision-classifiers/jev', label: 'Jev', section: 'Models', previousPaths: ['/models/llms/jev'], aliases: ['jev', 'openjev', 'entailment', 'nli', 'decision-scorer'], keywords: ['entailment', 'nli', 'closed set', 'abstain', 'margin', 'scorer', 'decision', 'install jev'] },// Split out of the LLMs page (#7414): managing the SERVERS that run models is// a different job from browsing the weights they serve, and it was the LLMs// default view, not a drill-down — so it gets a sibling tab rather than adiff --git a/server/lib/navManifest.test.js b/server/lib/navManifest.test.jsindex edca2cbda8..d9e8af743d 100644--- a/server/lib/navManifest.test.js+++ b/server/lib/navManifest.test.js@@ -7,6 +7,7 @@ import {NAV_FEATURE_IDS,SECTION_FEATURE,getNavAliasMap,+ getNavCommandForPath,getNavPageForPath,getNavSectionForPath,getSectionNavGroups,@@ -168,13 +169,13 @@ describe('nav contract — generated section child navigation', () => {['Evaluate', ['Comparison', 'Performance', 'Playground']],['Library', ['3D', 'Embeddings', 'LoRAs', 'Media', 'Model Library', 'Training']],['Operate', ['Quota Burn', 'Status', 'Subscriptions', 'Usage']],- ['Policies', ['Abuse Guard', 'Code Reviewers', 'Jev decision scorer']],+ ['Policies', ['Abuse Guard', 'Code Reviewers', 'Decision Classifiers']],]);});it('resolves a promoted drill-down as itself instead of its LLM parent', () => {expect(getSectionNavTabForPath('Models', '/models/llms/abuse')).toMatchObject({ id: 'abuse', label: 'Abuse Guard' });- expect(getSectionNavTabForPath('Models', '/models/llms/jev')).toMatchObject({ id: 'jev', label: 'Jev decision scorer' });+ expect(getNavCommandForPath('/models/decision-classifiers/jev')).toMatchObject({ path: '/models/decision-classifiers/jev', label: 'Jev' });expect(getSectionNavTabForPath('Models', '/models/training/dataset-abc')).toMatchObject({ id: 'training' });});