ltcai 4.4.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -33
- package/docs/CHANGELOG.md +128 -0
- package/docs/V4_5_0_GEMMA_RUNTIME_COMPATIBILITY_REPORT.md +49 -0
- package/docs/V4_5_0_GRAPH_UX_REPORT.md +34 -0
- package/docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md +40 -0
- package/docs/V4_5_0_ONBOARDING_REPORT.md +31 -0
- package/docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md +49 -0
- package/docs/V4_5_0_VALIDATION_REPORT.md +60 -0
- package/docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md +33 -0
- package/docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md +37 -0
- package/docs/V4_5_1_NAVIGATION_REPORT.md +37 -0
- package/docs/V4_5_1_ONBOARDING_REPORT.md +29 -0
- package/docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md +61 -0
- package/docs/V4_5_1_RC_ARTIFACTS.md +44 -0
- package/docs/V4_5_1_UX_REPORT.md +45 -0
- package/docs/V4_5_1_VALIDATION_REPORT.md +54 -0
- package/docs/V4_5_1_VISUAL_DESIGN_REPORT.md +30 -0
- package/docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md +58 -0
- package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +18 -17
- package/docs/architecture.md +8 -4
- package/frontend/index.html +2 -2
- package/frontend/src/App.tsx +120 -98
- package/frontend/src/api/client.ts +84 -1
- package/frontend/src/components/BrainConversation.tsx +301 -0
- package/frontend/src/components/FirstRunGuide.tsx +99 -0
- package/frontend/src/components/LivingBrain.tsx +121 -0
- package/frontend/src/components/ProductFlow.tsx +596 -0
- package/frontend/src/components/primitives.tsx +131 -25
- package/frontend/src/components/ui/badge.tsx +2 -2
- package/frontend/src/components/ui/button.tsx +7 -7
- package/frontend/src/components/ui/card.tsx +5 -5
- package/frontend/src/components/ui/input.tsx +1 -1
- package/frontend/src/components/ui/textarea.tsx +1 -1
- package/frontend/src/pages/Act.tsx +58 -28
- package/frontend/src/pages/Ask.tsx +2 -197
- package/frontend/src/pages/Brain.tsx +108 -71
- package/frontend/src/pages/Capture.tsx +24 -24
- package/frontend/src/pages/Library.tsx +222 -32
- package/frontend/src/pages/System.tsx +56 -34
- package/frontend/src/routes.ts +16 -25
- package/frontend/src/store/appStore.ts +8 -1
- package/frontend/src/styles.css +1663 -36
- package/lattice_brain/__init__.py +1 -1
- package/lattice_brain/runtime/multi_agent.py +1 -1
- package/latticeai/__init__.py +1 -1
- package/latticeai/api/models.py +107 -18
- package/latticeai/core/marketplace.py +1 -1
- package/latticeai/core/model_compat.py +250 -0
- package/latticeai/core/workspace_os.py +1 -1
- package/latticeai/models/router.py +136 -32
- package/latticeai/services/model_catalog.py +2 -2
- package/latticeai/services/model_recommendation.py +8 -1
- package/latticeai/services/model_runtime.py +18 -3
- package/package.json +2 -2
- package/scripts/build_frontend_assets.mjs +12 -1
- package/src-tauri/Cargo.lock +1 -1
- package/src-tauri/Cargo.toml +1 -1
- package/src-tauri/tauri.conf.json +1 -1
- package/static/app/asset-manifest.json +5 -5
- package/static/app/assets/index-By-G-Kay.css +2 -0
- package/static/app/assets/index-CJx6WuQH.js +336 -0
- package/static/app/assets/index-CJx6WuQH.js.map +1 -0
- package/static/app/index.html +4 -4
- package/static/manifest.json +1 -1
- package/static/app/assets/index-CHHal8Zl.css +0 -2
- package/static/app/assets/index-pdzil9ac.js +0 -333
- package/static/app/assets/index-pdzil9ac.js.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# v4.5.1 Model Experience Report
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Normal users should be able to install and use a local model without learning
|
|
6
|
+
MLX, MLX-LM, MLX-VLM, Ollama, GGUF, or runtime internals.
|
|
7
|
+
|
|
8
|
+
## Preserved Capability
|
|
9
|
+
|
|
10
|
+
v4.5.1 keeps the v4.5.0 model recommendation and prepare/load stream:
|
|
11
|
+
|
|
12
|
+
- Environment analysis.
|
|
13
|
+
- Recommended model selection.
|
|
14
|
+
- Explicit download/install consent.
|
|
15
|
+
- Progress reporting.
|
|
16
|
+
- Validation.
|
|
17
|
+
- Load/ready state.
|
|
18
|
+
- Compatibility recovery guidance.
|
|
19
|
+
|
|
20
|
+
## Reimagined Presentation
|
|
21
|
+
|
|
22
|
+
The model experience now sits under Library in the new product shell. The first
|
|
23
|
+
session points users to "Pick a brain" and "Install locally" instead of runtime
|
|
24
|
+
labels. Calm mode keeps implementation terms hidden while Deep/Admin retain
|
|
25
|
+
diagnostics.
|
|
26
|
+
|
|
27
|
+
## Non-Goals
|
|
28
|
+
|
|
29
|
+
No model runtime behavior, download policy, local/cloud opt-in policy, or
|
|
30
|
+
compatibility routing was changed in v4.5.1.
|
|
31
|
+
|
|
32
|
+
## Evidence
|
|
33
|
+
|
|
34
|
+
- Model UI: `frontend/src/pages/Library.tsx`
|
|
35
|
+
- Model API client: `frontend/src/api/client.ts`
|
|
36
|
+
- Related historical runtime report:
|
|
37
|
+
`docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# v4.5.1 Navigation Report
|
|
2
|
+
|
|
3
|
+
## New Navigation Model
|
|
4
|
+
|
|
5
|
+
The primary navigation is now:
|
|
6
|
+
|
|
7
|
+
- Home
|
|
8
|
+
- Ask
|
|
9
|
+
- Add
|
|
10
|
+
- Automate
|
|
11
|
+
- Library
|
|
12
|
+
- Care
|
|
13
|
+
|
|
14
|
+
This replaces the previous product taxonomy without removing compatibility
|
|
15
|
+
routes. Existing paths such as `#/knowledge-graph`, `#/hybrid-search`,
|
|
16
|
+
`#/files`, `#/agents`, `#/workspace-admin`, and admin aliases still route to
|
|
17
|
+
the same capability modules.
|
|
18
|
+
|
|
19
|
+
## Why This Model
|
|
20
|
+
|
|
21
|
+
- Home is the user-facing Digital Brain entry point.
|
|
22
|
+
- Ask is the clearest label for conversational work.
|
|
23
|
+
- Add explains knowledge ingestion without technical vocabulary.
|
|
24
|
+
- Automate explains agents/workflows as supervised outcomes.
|
|
25
|
+
- Library remains clear for models, skills, and connections.
|
|
26
|
+
- Care reframes account, backups, devices, and safety as maintenance.
|
|
27
|
+
|
|
28
|
+
## Implementation
|
|
29
|
+
|
|
30
|
+
- Route compatibility remains in `frontend/src/routes.ts`.
|
|
31
|
+
- The visible dock and mobile drawer are implemented in `frontend/src/App.tsx`.
|
|
32
|
+
- Visual tests now assert the new navigation labels and legacy route behavior.
|
|
33
|
+
|
|
34
|
+
## Evidence
|
|
35
|
+
|
|
36
|
+
- Tests: `tests/visual/v3.spec.js`
|
|
37
|
+
- Code: `frontend/src/routes.ts`, `frontend/src/App.tsx`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# v4.5.1 Onboarding Report
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Onboarding should make the next action obvious to a first-time, non-technical
|
|
6
|
+
user without documentation.
|
|
7
|
+
|
|
8
|
+
## Reimagined Journey
|
|
9
|
+
|
|
10
|
+
- Make it yours: account/profile setup.
|
|
11
|
+
- Choose a space: personal or organization workspace selection.
|
|
12
|
+
- Meet your Mac: environment analysis.
|
|
13
|
+
- Pick a brain: model recommendation.
|
|
14
|
+
- Install locally: consent-gated model/runtime setup.
|
|
15
|
+
- Try a question: model validation through conversation.
|
|
16
|
+
- Set the pace: Calm, Deep, or Admin mode.
|
|
17
|
+
- Explore memory: open the knowledge map.
|
|
18
|
+
|
|
19
|
+
## Behavior
|
|
20
|
+
|
|
21
|
+
The journey reads real backend state from profile, workspace, models, and model
|
|
22
|
+
recommendation APIs. The guide can be hidden through local storage, but no
|
|
23
|
+
backend state is faked to mark setup complete.
|
|
24
|
+
|
|
25
|
+
## Evidence
|
|
26
|
+
|
|
27
|
+
- Primary component: `frontend/src/components/FirstRunGuide.tsx`
|
|
28
|
+
- Desktop screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
|
|
29
|
+
- Walkthrough GIF: `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# v4.5.1 Product Reimagining Report
|
|
2
|
+
|
|
3
|
+
Release date: 2026-06-13
|
|
4
|
+
|
|
5
|
+
## Objective
|
|
6
|
+
|
|
7
|
+
v4.5.1 treats the previous desktop product surface as non-authoritative. The
|
|
8
|
+
goal was not to polish the v4.5.0 recovery UI; it was to relaunch Lattice AI as
|
|
9
|
+
a premium local-first Digital Brain while preserving all capabilities,
|
|
10
|
+
workflows, data contracts, storage, FastAPI APIs, Tauri shell behavior, Brain
|
|
11
|
+
Core, model runtimes, backup/restore, and portability.
|
|
12
|
+
|
|
13
|
+
## Product Decision
|
|
14
|
+
|
|
15
|
+
The product is now organized around six user-facing rooms:
|
|
16
|
+
|
|
17
|
+
- Home: the living shape of what Lattice knows.
|
|
18
|
+
- Ask: thinking with remembered context.
|
|
19
|
+
- Add: files, folders, and pages entering memory.
|
|
20
|
+
- Automate: supervised goals, runs, workflows, approvals, hooks, and tools.
|
|
21
|
+
- Library: models, skills, marketplace, and tool connections.
|
|
22
|
+
- Care: account, spaces, backups, devices, settings, and admin safety.
|
|
23
|
+
|
|
24
|
+
Legacy hash routes still resolve into the SPA, but they no longer dictate the
|
|
25
|
+
visible product model.
|
|
26
|
+
|
|
27
|
+
## What Changed
|
|
28
|
+
|
|
29
|
+
- Replaced the fixed left rail with compact desktop chrome and a centered
|
|
30
|
+
navigation dock.
|
|
31
|
+
- Added a command palette and responsive mobile drawer.
|
|
32
|
+
- Added an ambient brain canvas so the first viewport reads as a thinking
|
|
33
|
+
environment rather than a dashboard.
|
|
34
|
+
- Replaced the first-run checklist with a first-session journey.
|
|
35
|
+
- Reworked route labels and page hero copy across Brain, Ask, Capture, Act,
|
|
36
|
+
Library, and System.
|
|
37
|
+
- Rebuilt global styling around calmer surfaces, fixed responsive type sizes,
|
|
38
|
+
and restrained accents.
|
|
39
|
+
|
|
40
|
+
## What Was Preserved
|
|
41
|
+
|
|
42
|
+
- FastAPI and generated OpenAPI client.
|
|
43
|
+
- Tauri desktop shell and sidecar behavior.
|
|
44
|
+
- `lattice_brain` package boundary.
|
|
45
|
+
- StorageEngine, SQLite default, optional PostgreSQL scale mode.
|
|
46
|
+
- Backup/restore and `.latticebrain` portability.
|
|
47
|
+
- Model recommendation, prepare/load stream, and consent-gated downloads.
|
|
48
|
+
- Knowledge graph, hybrid search, chat, capture, workflow, agent, system, and
|
|
49
|
+
admin APIs.
|
|
50
|
+
|
|
51
|
+
## Self Review
|
|
52
|
+
|
|
53
|
+
The redesigned first viewport immediately reads as a different product:
|
|
54
|
+
Lattice branding, Home/Ask/Add/Automate/Library/Care navigation, first-session
|
|
55
|
+
journey, and premium desktop chrome replace the old dashboard hierarchy.
|
|
56
|
+
|
|
57
|
+
## Evidence
|
|
58
|
+
|
|
59
|
+
- Desktop screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
|
|
60
|
+
- Mobile screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
|
|
61
|
+
- Walkthrough GIF: `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# v4.5.1 RC Artifact Manifest
|
|
2
|
+
|
|
3
|
+
Release date: 2026-06-13
|
|
4
|
+
|
|
5
|
+
## Screenshots
|
|
6
|
+
|
|
7
|
+
- `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
|
|
8
|
+
- `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
|
|
9
|
+
- `output/audits/v4.5.1-reimagining/screenshots/memory-map.png`
|
|
10
|
+
- `output/audits/v4.5.1-reimagining/screenshots/library-models.png`
|
|
11
|
+
|
|
12
|
+
## GIFs
|
|
13
|
+
|
|
14
|
+
- `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
|
|
15
|
+
|
|
16
|
+
## Release Artifacts
|
|
17
|
+
|
|
18
|
+
- `dist/ltcai-4.5.1-py3-none-any.whl`
|
|
19
|
+
- `dist/ltcai-4.5.1.tar.gz`
|
|
20
|
+
- `ltcai-4.5.1.tgz`
|
|
21
|
+
- `dist/ltcai-4.5.1.vsix`
|
|
22
|
+
- `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
|
|
23
|
+
|
|
24
|
+
## SHA-256
|
|
25
|
+
|
|
26
|
+
| Artifact | SHA-256 |
|
|
27
|
+
| --- | --- |
|
|
28
|
+
| `dist/ltcai-4.5.1-py3-none-any.whl` | `3d5ce1a0a85f7aba1f78587cd7e4a66c63dd5c03ddde7cee57624ec3f487899b` |
|
|
29
|
+
| `dist/ltcai-4.5.1.tar.gz` | `62f0e05ff32554cf599b76678de3136bc02e5af4775144e7347182eed0fb4675` |
|
|
30
|
+
| `ltcai-4.5.1.tgz` | `e755f40f87484d8a6e3f6bc95f48f0f78e1d0fcde3af8b14c709cf7fa71b2e4b` |
|
|
31
|
+
| `dist/ltcai-4.5.1.vsix` | `3badc5915dc31425fa383d5946f78e0914497aa9e523cb7fbdc81a295b8f4a2f` |
|
|
32
|
+
| `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg` | `689ffc9553facf3987a5d57016dfd24fc3872f9c0810e28621f96b340ca38ce0` |
|
|
33
|
+
|
|
34
|
+
## Validation
|
|
35
|
+
|
|
36
|
+
`npm run release:validate` passed for the exact v4.5.1 artifact set. Historical
|
|
37
|
+
files remain in `dist/` for prior releases, so all publish or upload steps must
|
|
38
|
+
use exact v4.5.1 filenames only.
|
|
39
|
+
|
|
40
|
+
## Notes
|
|
41
|
+
|
|
42
|
+
The artifact list is exact-version only. Publishing remains out of scope for
|
|
43
|
+
this RC unless the repository owner explicitly performs the manual registry
|
|
44
|
+
publish steps.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# v4.5.1 UX Report
|
|
2
|
+
|
|
3
|
+
## UX Principle
|
|
4
|
+
|
|
5
|
+
v4.5.1 designs for non-technical users who should understand what Lattice AI is,
|
|
6
|
+
what to do next, how to add knowledge, how to use the brain, how to install a
|
|
7
|
+
model, and how to automate work without reading the README.
|
|
8
|
+
|
|
9
|
+
## Primary Flow
|
|
10
|
+
|
|
11
|
+
The first-session journey is:
|
|
12
|
+
|
|
13
|
+
1. Make it yours.
|
|
14
|
+
2. Choose a space.
|
|
15
|
+
3. Meet your Mac.
|
|
16
|
+
4. Pick a brain.
|
|
17
|
+
5. Install locally.
|
|
18
|
+
6. Try a question.
|
|
19
|
+
7. Set the pace.
|
|
20
|
+
8. Explore memory.
|
|
21
|
+
|
|
22
|
+
This replaces implementation-facing setup labels with user outcomes while still
|
|
23
|
+
driving the same account, workspace, model recommendation, model setup, mode,
|
|
24
|
+
and graph routes.
|
|
25
|
+
|
|
26
|
+
## Screen Inventory Decision
|
|
27
|
+
|
|
28
|
+
- Brain became Home, emphasizing the shape of work rather than a graph tool.
|
|
29
|
+
- Capture became Add, emphasizing the act of feeding memory.
|
|
30
|
+
- Act became Automate, emphasizing supervised work instead of an agent console.
|
|
31
|
+
- System became Care, emphasizing trust, portability, and maintenance.
|
|
32
|
+
- Ask and Library survived because their user intent is direct and legible.
|
|
33
|
+
|
|
34
|
+
## Interaction Notes
|
|
35
|
+
|
|
36
|
+
- Command palette remains available with Cmd/Ctrl+K.
|
|
37
|
+
- Mode switching is visible as Calm, Deep, and Admin instead of Basic,
|
|
38
|
+
Advanced, and Admin in the first viewport.
|
|
39
|
+
- Mobile navigation opens as a room chooser and preserves no-horizontal-overflow
|
|
40
|
+
behavior at 390px width.
|
|
41
|
+
|
|
42
|
+
## Evidence
|
|
43
|
+
|
|
44
|
+
- Playwright visual coverage: `tests/visual/v3.spec.js`
|
|
45
|
+
- Screenshots: `output/audits/v4.5.1-reimagining/screenshots/`
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# v4.5.1 Validation Report
|
|
2
|
+
|
|
3
|
+
Release date: 2026-06-13
|
|
4
|
+
|
|
5
|
+
## Scope
|
|
6
|
+
|
|
7
|
+
Validation covers the v4.5.1 product reimagining, version sync, frontend visual
|
|
8
|
+
changes, release artifacts, and compatibility preservation.
|
|
9
|
+
|
|
10
|
+
## Command Matrix
|
|
11
|
+
|
|
12
|
+
| Check | Result |
|
|
13
|
+
| --- | --- |
|
|
14
|
+
| Python compile | PASS: `npm run check:python` compiled 775 modules |
|
|
15
|
+
| Ruff | PASS: `node scripts/run_python.mjs -m ruff check .` |
|
|
16
|
+
| Unit tests | PASS: `npm run test:unit` - 616 passed, 2 warnings |
|
|
17
|
+
| Integration tests | PASS: `LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration` - 9 passed, 1 skipped |
|
|
18
|
+
| Frontend lint | PASS: `npm run lint` |
|
|
19
|
+
| TypeScript typecheck | PASS: `npm run typecheck` and `npm run typecheck:frontend` |
|
|
20
|
+
| Playwright | PASS: `npm run test:visual` - 14 passed |
|
|
21
|
+
| Tauri check/build | PASS: `npm run desktop:tauri:check`; PASS via `npm run release:artifacts` for the Tauri app and DMG build |
|
|
22
|
+
| Release artifact validation | PASS: `npm run release:validate` |
|
|
23
|
+
| Wheel smoke | PASS: `node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.5.1-py3-none-any.whl` |
|
|
24
|
+
| npm pack dry-run | PASS: `npm pack --dry-run` |
|
|
25
|
+
|
|
26
|
+
## Browser Evidence
|
|
27
|
+
|
|
28
|
+
- Desktop screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
|
|
29
|
+
- Mobile screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
|
|
30
|
+
- Walkthrough GIF: `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
|
|
31
|
+
|
|
32
|
+
## RC Artifacts
|
|
33
|
+
|
|
34
|
+
Expected exact-version artifacts:
|
|
35
|
+
|
|
36
|
+
- `dist/ltcai-4.5.1-py3-none-any.whl`
|
|
37
|
+
- `dist/ltcai-4.5.1.tar.gz`
|
|
38
|
+
- `ltcai-4.5.1.tgz`
|
|
39
|
+
- `dist/ltcai-4.5.1.vsix`
|
|
40
|
+
- `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
|
|
41
|
+
|
|
42
|
+
## Artifact Hashes
|
|
43
|
+
|
|
44
|
+
| Artifact | SHA-256 |
|
|
45
|
+
| --- | --- |
|
|
46
|
+
| `dist/ltcai-4.5.1-py3-none-any.whl` | `3d5ce1a0a85f7aba1f78587cd7e4a66c63dd5c03ddde7cee57624ec3f487899b` |
|
|
47
|
+
| `dist/ltcai-4.5.1.tar.gz` | `62f0e05ff32554cf599b76678de3136bc02e5af4775144e7347182eed0fb4675` |
|
|
48
|
+
| `ltcai-4.5.1.tgz` | `e755f40f87484d8a6e3f6bc95f48f0f78e1d0fcde3af8b14c709cf7fa71b2e4b` |
|
|
49
|
+
| `dist/ltcai-4.5.1.vsix` | `3badc5915dc31425fa383d5946f78e0914497aa9e523cb7fbdc81a295b8f4a2f` |
|
|
50
|
+
| `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg` | `689ffc9553facf3987a5d57016dfd24fc3872f9c0810e28621f96b340ca38ce0` |
|
|
51
|
+
|
|
52
|
+
`npm run release:validate` confirmed all exact-version RC artifacts are present.
|
|
53
|
+
It also warned that historical artifacts remain in `dist/`, so publish commands
|
|
54
|
+
must continue to use explicit v4.5.1 filenames rather than a `dist/*` glob.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# v4.5.1 Visual Design Report
|
|
2
|
+
|
|
3
|
+
## Direction
|
|
4
|
+
|
|
5
|
+
The visual language targets a calm premium desktop product rather than a
|
|
6
|
+
developer/admin dashboard. The palette uses a carbon and warm-white base with
|
|
7
|
+
jade, amber, violet, blue, and coral accents so the UI is not dominated by a
|
|
8
|
+
single hue family.
|
|
9
|
+
|
|
10
|
+
## System Changes
|
|
11
|
+
|
|
12
|
+
- New sticky desktop chrome and centered dock.
|
|
13
|
+
- Ambient brain canvas built from grid, line, and tile motifs.
|
|
14
|
+
- Fixed responsive typography with media-query breakpoints, avoiding viewport
|
|
15
|
+
width font scaling.
|
|
16
|
+
- Cards remain at 8px radius or less.
|
|
17
|
+
- Shared buttons and badges were tightened for stable sizing and text fit.
|
|
18
|
+
- Light theme retains the same hierarchy with warmer surfaces.
|
|
19
|
+
|
|
20
|
+
## Accessibility And Layout
|
|
21
|
+
|
|
22
|
+
- Primary navigation has an explicit `Primary navigation` label.
|
|
23
|
+
- The command palette exposes a dialog label.
|
|
24
|
+
- Mode switch has `Experience mode` semantics and pressed states.
|
|
25
|
+
- Mobile layout was checked at 390x780 with zero horizontal overflow.
|
|
26
|
+
|
|
27
|
+
## Evidence
|
|
28
|
+
|
|
29
|
+
- Desktop visual pass: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
|
|
30
|
+
- Mobile visual pass: `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# v4.6.0 Living Brain Experience Report
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
v4.6.0 stops presenting Lattice AI as a graph product or dashboard. The
|
|
6
|
+
first-run product flow is Login -> Environment Analysis -> Recommended Models
|
|
7
|
+
-> Install & Load -> Brain. After setup, the Brain is the center of the desktop
|
|
8
|
+
experience, and the graph is repositioned as an advanced layer for intentional
|
|
9
|
+
relationship exploration.
|
|
10
|
+
|
|
11
|
+
## Product Changes
|
|
12
|
+
|
|
13
|
+
- First launch opens to a premium minimal Login screen only.
|
|
14
|
+
- Setup runs as a full-screen guided sequence: friendly environment analysis,
|
|
15
|
+
short ranked model recommendations, and install/download/validate/load.
|
|
16
|
+
- After model load, `/app` and `/app#/brain` open into Brain plus conversation.
|
|
17
|
+
- The living Brain remains visible during primary conversation and reacts to
|
|
18
|
+
listening, recall, thinking, and active agent/workflow signals.
|
|
19
|
+
- `/app#/ask` and `/app#/chat` remain compatible but route to the Brain
|
|
20
|
+
conversation.
|
|
21
|
+
- Primary navigation is reduced to Brain, Memory, Files, Automations, Models,
|
|
22
|
+
and Settings.
|
|
23
|
+
- Brain tabs now follow the product ladder: Brain, Memories, Knowledge,
|
|
24
|
+
Relationships, Graph, Care.
|
|
25
|
+
- First-run setup no longer appears as dashboard cards above any app page; it
|
|
26
|
+
gates the app before the Brain opens.
|
|
27
|
+
|
|
28
|
+
## Architecture
|
|
29
|
+
|
|
30
|
+
- Added `frontend/src/components/LivingBrain.tsx` as the animated Brain
|
|
31
|
+
presence component.
|
|
32
|
+
- Added `frontend/src/components/BrainConversation.tsx` to centralize chat
|
|
33
|
+
streaming, history, image attachment, model status, memory previews, and
|
|
34
|
+
Brain activity state.
|
|
35
|
+
- Added `frontend/src/components/ProductFlow.tsx` to own Login, environment
|
|
36
|
+
analysis, recommendation, install/download/validate/load, and Brain entry.
|
|
37
|
+
- Kept graph parsing, Cytoscape rendering, search, provenance, portability, and
|
|
38
|
+
archive APIs intact.
|
|
39
|
+
- Kept FastAPI, Tauri, StorageEngine, Brain Core, backup/restore, and
|
|
40
|
+
portability unchanged.
|
|
41
|
+
|
|
42
|
+
## Compatibility
|
|
43
|
+
|
|
44
|
+
- Existing backend routes are unchanged.
|
|
45
|
+
- Legacy hash routes continue to resolve through the SPA route alias table.
|
|
46
|
+
- The advanced graph remains available at `/app#/knowledge-graph`.
|
|
47
|
+
- The old Ask page imports the shared Brain conversation component to avoid
|
|
48
|
+
duplicate chat behavior.
|
|
49
|
+
|
|
50
|
+
## Validation Scope
|
|
51
|
+
|
|
52
|
+
The v4.6.0 work should be validated with:
|
|
53
|
+
|
|
54
|
+
- frontend lint/typecheck/build
|
|
55
|
+
- Python syntax validation
|
|
56
|
+
- affected visual tests
|
|
57
|
+
- unit tests covering version consistency and route compatibility
|
|
58
|
+
- Tauri cargo check when the desktop toolchain is available
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
> completed analysis. **Update this file before ending any phase and before any
|
|
6
6
|
> likely session/context/usage limit.**
|
|
7
7
|
>
|
|
8
|
-
> Last updated: 2026-06-13 — v4.
|
|
8
|
+
> Last updated: 2026-06-13 — v4.6.0 Living Brain Experience; Remaining Gaps remain empty
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
## 0. RELEASE STATUS (v4.
|
|
13
|
-
|
|
14
|
-
**v4.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
The v4.
|
|
21
|
-
PyPI, npm Registry, VS Code Marketplace, Open VSX, and
|
|
22
|
-
remain
|
|
12
|
+
## 0. RELEASE STATUS (v4.6.0)
|
|
13
|
+
|
|
14
|
+
**v4.6.0 makes the Brain the product after the v4.5.1 product-shell reset
|
|
15
|
+
without changing Brain Core, storage, API, model runtime, backup, portability,
|
|
16
|
+
or agent/workflow behavior.** Current implementation milestone: Brain plus
|
|
17
|
+
conversation is the home screen, the living Brain is always visible during the
|
|
18
|
+
primary conversation experience, and graph exploration is preserved as the
|
|
19
|
+
deepest intentional layer behind Memories, Knowledge, and Relationships.
|
|
20
|
+
The v4.6.0 process builds locally validated artifacts only. Tagging, GitHub
|
|
21
|
+
Release creation, PyPI, npm Registry, VS Code Marketplace, Open VSX, and
|
|
22
|
+
production deployments remain out of scope unless explicitly requested.
|
|
23
23
|
Remaining implementation gaps: **none**.
|
|
24
24
|
Owner-only blockers: pptx history rewrite (requires force-push/owner decision)
|
|
25
25
|
and consent-gated production embedder provisioning (silent default download is
|
|
@@ -27,11 +27,12 @@ not permitted).
|
|
|
27
27
|
|
|
28
28
|
## Remaining Gaps
|
|
29
29
|
|
|
30
|
-
None. v4.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
flows remain exposed through existing APIs,
|
|
34
|
-
validated, and exact v4.
|
|
30
|
+
None. v4.6.0 preserves the already-empty v4.3.2/v4.3.3/v4.5.0/v4.5.1 gap list
|
|
31
|
+
and promotes the Living Brain tree: Brain conversation is primary, graph
|
|
32
|
+
exploration remains real and API-backed, readable product state remains in
|
|
33
|
+
place, archive import/restore flows remain exposed through existing APIs,
|
|
34
|
+
desktop sidecar behavior remains validated, and exact v4.6.0 artifacts are the
|
|
35
|
+
validation target.
|
|
35
36
|
Owner-only blockers above are intentionally not implementation gaps.
|
|
36
37
|
|
|
37
38
|
## 1. Program Charter (from the user's v4.0.0 directive)
|
package/docs/architecture.md
CHANGED
|
@@ -88,13 +88,17 @@ work on them.
|
|
|
88
88
|
|
|
89
89
|
Local recommended models must be multimodal. The v2.2 local model workflow policy is:
|
|
90
90
|
|
|
91
|
-
- macOS Apple Silicon: MLX-VLM first
|
|
91
|
+
- macOS Apple Silicon: MLX-VLM first, with MLX-LM retained as a Gemma 4 text
|
|
92
|
+
fallback only for standard Gemma 4 metadata. Gemma 4 12B `gemma4_unified`
|
|
93
|
+
requires an MLX-VLM runtime that includes `mlx_vlm.models.gemma4_unified`.
|
|
92
94
|
- Windows: llama.cpp multimodal path, with LM Studio as a user-friendly option
|
|
93
95
|
- Linux: llama.cpp or vLLM multimodal path depending on GPU support
|
|
94
96
|
- Ollama: kept as an option, not the default priority
|
|
95
97
|
|
|
96
|
-
The removed path is the old text-only MLX-LM recommendation
|
|
97
|
-
|
|
98
|
+
The removed path is the old text-only MLX-LM recommendation lane for ordinary
|
|
99
|
+
model selection. MLX-LM remains available as a targeted recovery path for
|
|
100
|
+
standard Gemma 4 metadata, but it is not used for `gemma4_unified`.
|
|
101
|
+
Low-spec machines use smaller or quantized multimodal models.
|
|
98
102
|
|
|
99
103
|
## Model Source Disclosure
|
|
100
104
|
|
|
@@ -140,7 +144,7 @@ Basic mode and advanced mode have the same feature access.
|
|
|
140
144
|
| `latticeai/services/model_catalog.py` | Multimodal model catalog, source metadata, aliases |
|
|
141
145
|
| `latticeai/services/model_recommendation.py` | Hardware-aware multimodal recommendation |
|
|
142
146
|
| `latticeai/services/model_runtime.py` | Download, load, server, and model workflow orchestration |
|
|
143
|
-
| `llm_router.py` | MLX-VLM and OpenAI-compatible model routing |
|
|
147
|
+
| `llm_router.py` | MLX-VLM/MLX-LM and OpenAI-compatible model routing |
|
|
144
148
|
| `knowledge_graph.py` | Graph storage, extraction, local folder knowledge graph context |
|
|
145
149
|
| `latticeai/core/context_builder.py` | Graph context for generation |
|
|
146
150
|
| `latticeai/core/workspace_os.py` | Workspace state, timeline, snapshots, durable context |
|
package/frontend/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
6
6
|
<meta name="color-scheme" content="dark light" />
|
|
7
|
-
<title>Lattice AI ·
|
|
7
|
+
<title>Lattice AI · Living Brain</title>
|
|
8
8
|
<link rel="manifest" href="/manifest.json" />
|
|
9
9
|
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32.png" />
|
|
10
10
|
<script>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<div id="root"></div>
|
|
21
|
-
<noscript>Lattice AI requires JavaScript for the local
|
|
21
|
+
<noscript>Lattice AI requires JavaScript for the local Living Brain desktop shell.</noscript>
|
|
22
22
|
<script type="module" src="/src/main.tsx"></script>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|