ltcai 6.0.0 → 6.2.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 +33 -35
- package/docs/CHANGELOG.md +68 -0
- package/docs/V4_1_FRONTEND_MIGRATION_REPORT.md +1 -1
- package/docs/V4_6_1_RELEASE_REFRESH_REPORT.md +1 -1
- package/docs/V4_7_0_ADMIN_SEPARATION_REPORT.md +1 -1
- package/docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md +1 -1
- package/frontend/src/App.tsx +3 -1281
- package/frontend/src/components/LanguageSwitcher.tsx +23 -0
- package/frontend/src/components/ProductFlow.tsx +32 -662
- package/frontend/src/components/onboarding/ProductFlowScreens.tsx +688 -0
- package/frontend/src/features/admin/AdminConsole.tsx +294 -0
- package/frontend/src/features/brain/BrainHome.tsx +999 -0
- package/frontend/src/features/brain/brainData.ts +98 -0
- package/frontend/src/features/brain/graphLayout.ts +26 -0
- package/frontend/src/features/brain/types.ts +44 -0
- package/frontend/src/features/review/ReviewCard.tsx +15 -10
- package/frontend/src/i18n.ts +208 -0
- package/frontend/src/styles.css +240 -0
- 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/chat.py +52 -33
- package/latticeai/api/tools.py +50 -23
- package/latticeai/app_factory.py +65 -47
- package/latticeai/cli/__init__.py +1 -0
- package/latticeai/cli/entrypoint.py +283 -0
- package/latticeai/cli/runtime.py +37 -0
- package/latticeai/core/marketplace.py +1 -1
- package/latticeai/core/workspace_os.py +1 -1
- package/latticeai/integrations/__init__.py +0 -0
- package/latticeai/integrations/telegram_bot.py +1009 -0
- package/latticeai/runtime/lifespan_runtime.py +1 -1
- package/latticeai/runtime/platform_runtime_wiring.py +87 -0
- package/latticeai/runtime/router_registration.py +49 -30
- package/latticeai/services/app_context.py +1 -0
- package/latticeai/services/p_reinforce.py +258 -0
- package/latticeai/services/router_context.py +52 -0
- package/latticeai/services/tool_dispatch.py +82 -25
- package/ltcai_cli.py +7 -305
- package/p_reinforce.py +4 -255
- package/package.json +2 -1
- package/scripts/release_smoke.py +133 -0
- package/scripts/wheel_smoke.py +4 -0
- 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-xRn29gI8.css → index-B2-1Gm0q.css} +1 -1
- package/static/app/assets/index-D91Rz5--.js +16 -0
- package/static/app/assets/index-D91Rz5--.js.map +1 -0
- package/static/app/index.html +2 -2
- package/telegram_bot.py +9 -1008
- package/static/app/assets/index-D2zafMYb.js +0 -16
- package/static/app/assets/index-D2zafMYb.js.map +0 -1
package/README.md
CHANGED
|
@@ -69,42 +69,42 @@ You need Lattice AI when:
|
|
|
69
69
|
Choose the owner of the Brain. The profile is not a SaaS account by default; it
|
|
70
70
|
is the local identity for the knowledge you keep.
|
|
71
71
|
|
|
72
|
-

|
|
73
73
|
|
|
74
74
|
### 2. Environment Analysis
|
|
75
75
|
|
|
76
76
|
See what kind of local AI experience this computer can support before choosing a
|
|
77
77
|
model.
|
|
78
78
|
|
|
79
|
-

|
|
80
80
|
|
|
81
81
|
### 3. Recommended Models
|
|
82
82
|
|
|
83
83
|
Start with a short list: safest recommendation, faster model, stronger model.
|
|
84
84
|
Advanced details stay available without overwhelming first-time users.
|
|
85
85
|
|
|
86
|
-

|
|
87
87
|
|
|
88
88
|
### 4. Install And Load
|
|
89
89
|
|
|
90
90
|
Download and load only after consent. Lattice explains model size, local
|
|
91
91
|
execution, and network use before work starts.
|
|
92
92
|
|
|
93
|
-

|
|
94
94
|
|
|
95
95
|
### 5. Brain Chat
|
|
96
96
|
|
|
97
97
|
Talk normally. Useful decisions and context become memory, then appear later as
|
|
98
98
|
topics, relationships, and graph structure.
|
|
99
99
|
|
|
100
|
-

|
|
101
101
|
|
|
102
102
|
### 6. Review Center
|
|
103
103
|
|
|
104
104
|
Automation results are staged for review before they become durable decisions.
|
|
105
105
|
Snooze, unsnooze, run now, approve, and dismiss actions stay explicit.
|
|
106
106
|
|
|
107
|
-

|
|
108
108
|
|
|
109
109
|
## Brain Depths
|
|
110
110
|
|
|
@@ -120,10 +120,10 @@ The user travels inward from everyday memory to deeper structure:
|
|
|
120
120
|
|
|
121
121
|
Walkthrough:
|
|
122
122
|
|
|
123
|
-

|
|
124
124
|
|
|
125
125
|
Screenshot index and capture notes:
|
|
126
|
-
[output/release/v6.
|
|
126
|
+
[output/release/v6.2.0/SCREENSHOT_INDEX.md](output/release/v6.2.0/SCREENSHOT_INDEX.md)
|
|
127
127
|
|
|
128
128
|
## Install
|
|
129
129
|
|
|
@@ -200,33 +200,31 @@ See [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) for developer workflow details.
|
|
|
200
200
|
|
|
201
201
|
## Current Release Preparation
|
|
202
202
|
|
|
203
|
-
The current development target is **6.
|
|
204
|
-
|
|
205
|
-
-
|
|
206
|
-
|
|
207
|
-
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
route
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
- `
|
|
226
|
-
- `dist/ltcai-6.
|
|
227
|
-
- `
|
|
228
|
-
- `dist/ltcai-6.0.0.vsix`
|
|
229
|
-
- `src-tauri/target/release/bundle/dmg/Lattice AI_6.0.0_aarch64.dmg`
|
|
203
|
+
The current development target is **6.2.0 Product Decomposition / Release Smoke Automation**:
|
|
204
|
+
|
|
205
|
+
- `App.tsx` now delegates the main Brain and Admin surfaces to focused feature
|
|
206
|
+
modules instead of owning the full product shell.
|
|
207
|
+
- `ProductFlow.tsx` is an orchestration layer; onboarding screens live in
|
|
208
|
+
dedicated components, use design-system classes, and avoid inline style
|
|
209
|
+
layout.
|
|
210
|
+
- Model download consent states download size, storage location, external
|
|
211
|
+
target, and a "do later" path before any model fetch starts.
|
|
212
|
+
- Admin Console and onboarding copy use the shared i18n map for Korean/English
|
|
213
|
+
coverage instead of embedding user-facing English in component bodies.
|
|
214
|
+
- Historical root modules now shrink into compatibility shims while runtime
|
|
215
|
+
code lives under package modules.
|
|
216
|
+
- Interaction/tool router assembly uses typed context objects to reduce
|
|
217
|
+
app-factory parameter sprawl while preserving route order.
|
|
218
|
+
- Release smoke automation now checks wheel install, npm tgz contents, static
|
|
219
|
+
assets, and Tauri artifacts after exact-version artifact validation.
|
|
220
|
+
|
|
221
|
+
Expected artifacts for 6.2.0 release must use exact filenames:
|
|
222
|
+
|
|
223
|
+
- `dist/ltcai-6.2.0-py3-none-any.whl`
|
|
224
|
+
- `dist/ltcai-6.2.0.tar.gz`
|
|
225
|
+
- `ltcai-6.2.0.tgz`
|
|
226
|
+
- `dist/ltcai-6.2.0.vsix`
|
|
227
|
+
- `src-tauri/target/release/bundle/dmg/Lattice AI_6.2.0_aarch64.dmg`
|
|
230
228
|
|
|
231
229
|
Do not upload `dist/*`. Package registry publishing remains owner-run.
|
|
232
230
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,74 @@
|
|
|
3
3
|
The top entry is the current release-preparation target. Older entries are
|
|
4
4
|
historical and may describe behavior as it existed at that release.
|
|
5
5
|
|
|
6
|
+
## [6.2.0] - 2026-06-16
|
|
7
|
+
|
|
8
|
+
> Product Decomposition / Release Smoke Automation. Splits the largest product
|
|
9
|
+
> surfaces into feature modules, strengthens consent/i18n coverage, shrinks
|
|
10
|
+
> legacy root modules, and automates release smoke validation.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Feature-owned Brain Home and Admin Console modules behind the existing app
|
|
14
|
+
shell route surface.
|
|
15
|
+
- Onboarding screen components for ProductFlow, backed by design-system CSS
|
|
16
|
+
instead of inline style layout.
|
|
17
|
+
- Model download consent details for size, storage location, external target,
|
|
18
|
+
and a "do later" path.
|
|
19
|
+
- Typed tool and interaction router context objects for app-factory route
|
|
20
|
+
registration without changing route order.
|
|
21
|
+
- `npm run release:smoke` covering wheel install, npm tgz contents, static
|
|
22
|
+
assets, and Tauri artifact checks.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- Historical root modules for CLI, Telegram, and P-Reinforce now delegate to
|
|
26
|
+
package modules while preserving import and script compatibility.
|
|
27
|
+
- Admin Console and onboarding user-facing copy now route through shared i18n
|
|
28
|
+
keys for Korean/English coverage.
|
|
29
|
+
- Package/runtime/static metadata is synchronized to 6.2.0; package publish
|
|
30
|
+
and deployment remain owner-run only.
|
|
31
|
+
- README release evidence screenshots and walkthrough GIF are refreshed under
|
|
32
|
+
`output/release/v6.2.0/`.
|
|
33
|
+
|
|
34
|
+
### Preserved
|
|
35
|
+
- v6.1 screenshots and validation reports remain historical evidence.
|
|
36
|
+
- Package publish and deploy commands continue to require exact artifact names.
|
|
37
|
+
|
|
38
|
+
## [6.1.0] - 2026-06-16
|
|
39
|
+
|
|
40
|
+
> Product Hardening / Digital Brain Completion. Tightens the local-first Brain
|
|
41
|
+
> flow, Brain Core boundary, backend trust gates, and release documentation
|
|
42
|
+
> without adding broad new product surfaces.
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- First-run path to open the Brain without installing or loading a model first.
|
|
46
|
+
- Brain Home empty-state loop that shows first memory save, Brain state return,
|
|
47
|
+
and backup ownership.
|
|
48
|
+
- AST import guard proving `lattice_brain` does not import `latticeai` or
|
|
49
|
+
`ltcai`.
|
|
50
|
+
- Unit coverage for model download consent blocking in `model_runtime`.
|
|
51
|
+
- `latticeai.cli.runtime` for pure CLI runtime helpers while preserving the root
|
|
52
|
+
`ltcai_cli.py` entrypoint.
|
|
53
|
+
- v6.1 baseline, frontend UX, backend hardening, and instruction documents under
|
|
54
|
+
`docs/v6.1/`.
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
- Review Center cards clarify that Run now previews/executes without approval.
|
|
58
|
+
- Static app assets are refreshed for the v6.1 frontend hardening changes.
|
|
59
|
+
- Tool dispatch authorization now uses an injectable service boundary around
|
|
60
|
+
the shared ToolRegistry while preserving the legacy module-level API.
|
|
61
|
+
- Chat agent runtime construction moved out of `create_chat_router` for
|
|
62
|
+
production app assembly and is now injected through `AppContext`.
|
|
63
|
+
- README release evidence screenshots and walkthrough GIF are refreshed under
|
|
64
|
+
`output/release/v6.1.0/`, including the Review Center surface.
|
|
65
|
+
- README and release notes described v6.1.0 as the then-current hardening target
|
|
66
|
+
with exact expected artifact filenames.
|
|
67
|
+
|
|
68
|
+
### Preserved
|
|
69
|
+
- Package publish, deployment, tag creation, and main merge remain out of scope
|
|
70
|
+
unless explicitly requested.
|
|
71
|
+
- Package/runtime version metadata is synchronized to 6.1.0; package publish,
|
|
72
|
+
deployment, tag creation, and main merge remain owner-run only.
|
|
73
|
+
|
|
6
74
|
## [6.0.0] - 2026-06-15
|
|
7
75
|
|
|
8
76
|
> Product Reset / Review Center Completion. Raises the Review Center from a
|
|
@@ -61,7 +61,7 @@ contracts, and local-first/offline operation.
|
|
|
61
61
|
- Legacy frontend build pipeline.
|
|
62
62
|
- Legacy v3 frontend lint script.
|
|
63
63
|
- Static v3 asset tree in release packages.
|
|
64
|
-
- Direct current
|
|
64
|
+
- Direct then-current release references to v4.0.1 in then-latest docs.
|
|
65
65
|
|
|
66
66
|
## Data Preservation
|
|
67
67
|
|
|
@@ -8,7 +8,7 @@ architecture or add unrelated product features.
|
|
|
8
8
|
|
|
9
9
|
## Completed Refresh Areas
|
|
10
10
|
|
|
11
|
-
- Synchronized current
|
|
11
|
+
- Synchronized then-current release version metadata to `4.6.1`.
|
|
12
12
|
- Reframed README around the current Living Brain flow:
|
|
13
13
|
Login -> Environment Analysis -> Recommended Models -> Install & Load ->
|
|
14
14
|
Brain Chat.
|
|
@@ -19,7 +19,7 @@ maintenance. This release does not redesign Brain Core or the storage layer.
|
|
|
19
19
|
- Added frontend API helpers for `/admin/stats` and `/admin/security/events`.
|
|
20
20
|
- Updated visual validation to confirm the admin console is separate from the
|
|
21
21
|
user Brain surface.
|
|
22
|
-
- Synchronized current
|
|
22
|
+
- Synchronized then-current release version metadata to `4.7.0`.
|
|
23
23
|
- Updated README, RELEASE.md, release notes, changelog, architecture, security,
|
|
24
24
|
feature status, VS Code extension docs, and release evidence references.
|
|
25
25
|
|
|
@@ -26,7 +26,7 @@ maintenance. This release does not redesign Brain Core or the storage layer.
|
|
|
26
26
|
admin observability state remain separate in the frontend runtime.
|
|
27
27
|
- Updated visual validation to confirm the admin console is separate from the
|
|
28
28
|
user Brain surface.
|
|
29
|
-
- Synchronized current
|
|
29
|
+
- Synchronized then-current release version metadata to `4.7.1`.
|
|
30
30
|
- Updated README, RELEASE.md, release notes, changelog, architecture, security,
|
|
31
31
|
feature status, VS Code extension docs, and release evidence references.
|
|
32
32
|
|