ltcai 8.6.0 → 8.8.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 +40 -33
- package/docs/CHANGELOG.md +49 -1
- package/docs/COMMUNITY_AND_PLUGINS.md +7 -4
- package/docs/DEVELOPMENT.md +11 -9
- package/docs/LEGACY_COMPATIBILITY.md +33 -14
- package/docs/ONBOARDING.md +2 -2
- package/docs/TRUST_MODEL.md +1 -1
- package/docs/WHY_LATTICE.md +2 -2
- package/docs/kg-schema.md +1 -1
- package/kg_schema.py +1 -1
- package/knowledge_graph.py +2 -2
- package/lattice_brain/__init__.py +1 -1
- package/lattice_brain/core.py +1 -1
- package/lattice_brain/ingestion.py +35 -20
- package/lattice_brain/runtime/agent_runtime.py +37 -3
- package/lattice_brain/runtime/multi_agent.py +1 -1
- package/latticeai/__init__.py +1 -1
- package/latticeai/app_factory.py +3 -3
- package/latticeai/core/config.py +14 -2
- package/latticeai/core/legacy_compatibility.py +36 -25
- package/latticeai/core/marketplace.py +1 -1
- package/latticeai/core/workspace_os.py +1 -1
- package/latticeai/models/router.py +3 -2
- package/latticeai/runtime/persistence_runtime.py +1 -1
- package/latticeai/runtime/platform_services_runtime.py +1 -1
- package/latticeai/runtime/router_registration.py +11 -5
- package/latticeai/services/architecture_readiness.py +2 -2
- package/latticeai/services/memory_service.py +38 -7
- package/latticeai/services/model_runtime.py +52 -28
- package/latticeai/services/product_readiness.py +11 -11
- package/package.json +3 -2
- package/scripts/bump_version.py +2 -0
- package/scripts/check_python.py +25 -12
- 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 +11 -11
- package/static/app/assets/{Act-IrojDEWY.js → Act-C7K9wsO9.js} +1 -1
- package/static/app/assets/{Brain--VODO4HM.js → Brain-I1OSzxJu.js} +2 -2
- package/static/app/assets/Capture-B3V4_5Xp.js +1 -0
- package/static/app/assets/{Library-DrVto3cO.js → Library-Cgj-EF50.js} +1 -1
- package/static/app/assets/{System-DNrVbcMX.js → System-D1Lkei3I.js} +1 -1
- package/static/app/assets/index--P0ksosz.js +17 -0
- package/static/app/assets/index-DCh5AoXt.css +2 -0
- package/static/app/assets/{primitives-lz45ZfWY.js → primitives-BLqaKk5g.js} +1 -1
- package/static/app/assets/{textarea-C7uwJsxy.js → textarea-CVQkN2Tk.js} +1 -1
- package/static/app/index.html +2 -2
- package/static/sw.js +1 -1
- package/lattice_brain/_kg_common.py +0 -11
- package/lattice_brain/discovery.py +0 -11
- package/lattice_brain/documents.py +0 -11
- package/lattice_brain/identity.py +0 -11
- package/lattice_brain/ingest.py +0 -11
- package/lattice_brain/network.py +0 -11
- package/lattice_brain/projection.py +0 -11
- package/lattice_brain/provenance.py +0 -11
- package/lattice_brain/retrieval.py +0 -11
- package/lattice_brain/schema.py +0 -11
- package/lattice_brain/store.py +0 -11
- package/lattice_brain/write_master.py +0 -11
- package/latticeai/brain/__init__.py +0 -36
- package/latticeai/brain/_kg_common.py +0 -17
- package/latticeai/brain/context.py +0 -17
- package/latticeai/brain/conversations.py +0 -17
- package/latticeai/brain/discovery.py +0 -17
- package/latticeai/brain/documents.py +0 -17
- package/latticeai/brain/identity.py +0 -17
- package/latticeai/brain/ingest.py +0 -17
- package/latticeai/brain/memory.py +0 -17
- package/latticeai/brain/network.py +0 -17
- package/latticeai/brain/projection.py +0 -17
- package/latticeai/brain/provenance.py +0 -17
- package/latticeai/brain/retrieval.py +0 -17
- package/latticeai/brain/schema.py +0 -17
- package/latticeai/brain/store.py +0 -17
- package/latticeai/brain/write_master.py +0 -17
- package/latticeai/services/agent_runtime.py +0 -11
- package/static/app/assets/Capture-BUP_wJ7s.js +0 -1
- package/static/app/assets/index-BaaPtsLp.js +0 -16
- package/static/app/assets/index-_M5aCv21.css +0 -2
package/scripts/check_python.py
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
"""Discover-and-
|
|
2
|
+
"""Discover-and-syntax-check every first-party Python module.
|
|
3
3
|
|
|
4
4
|
Replaces the hand-maintained ``py_compile`` enumeration in CI and
|
|
5
5
|
``package.json``: walks the repository, skips vendored / virtualenv / build /
|
|
6
|
-
cache / generated directories, and
|
|
6
|
+
cache / generated directories, and checks everything that remains. New
|
|
7
7
|
modules are picked up automatically — there is nothing to update when a file is
|
|
8
8
|
added, so the syntax gate can never silently fall behind the codebase.
|
|
9
9
|
|
|
10
|
+
Unlike ``py_compile``, this script does not write ``.pyc`` files or create
|
|
11
|
+
``__pycache__`` directories. Validation should not dirty a developer's working
|
|
12
|
+
tree or leave generated files for later lint passes to trip over.
|
|
13
|
+
|
|
10
14
|
Usage::
|
|
11
15
|
|
|
12
|
-
python scripts/check_python.py #
|
|
13
|
-
python scripts/check_python.py --list # just print what would be
|
|
16
|
+
python scripts/check_python.py # syntax-check all discovered modules
|
|
17
|
+
python scripts/check_python.py --list # just print what would be checked
|
|
14
18
|
|
|
15
|
-
Exit code is non-zero if any module fails to
|
|
19
|
+
Exit code is non-zero if any module fails to parse.
|
|
16
20
|
"""
|
|
17
21
|
|
|
18
22
|
from __future__ import annotations
|
|
19
23
|
|
|
20
|
-
import py_compile
|
|
21
24
|
import sys
|
|
22
25
|
from pathlib import Path
|
|
23
26
|
|
|
@@ -44,6 +47,7 @@ EXCLUDE_DIRS = {
|
|
|
44
47
|
"playwright-report",
|
|
45
48
|
"test-results",
|
|
46
49
|
"ltcai.egg-info",
|
|
50
|
+
"output",
|
|
47
51
|
".ltcai",
|
|
48
52
|
".ltcai-brain",
|
|
49
53
|
".ltcai-test",
|
|
@@ -60,6 +64,16 @@ def iter_modules():
|
|
|
60
64
|
yield path
|
|
61
65
|
|
|
62
66
|
|
|
67
|
+
def check_syntax(path: Path) -> str | None:
|
|
68
|
+
"""Return a human-readable failure string, or ``None`` when syntax is valid."""
|
|
69
|
+
|
|
70
|
+
try:
|
|
71
|
+
compile(path.read_bytes(), str(path), "exec", dont_inherit=True)
|
|
72
|
+
except (OSError, SyntaxError, ValueError) as exc:
|
|
73
|
+
return f"{path.relative_to(ROOT)}: {exc}"
|
|
74
|
+
return None
|
|
75
|
+
|
|
76
|
+
|
|
63
77
|
def main(argv: list[str]) -> int:
|
|
64
78
|
modules = sorted(iter_modules())
|
|
65
79
|
if "--list" in argv:
|
|
@@ -69,17 +83,16 @@ def main(argv: list[str]) -> int:
|
|
|
69
83
|
|
|
70
84
|
failures: list[str] = []
|
|
71
85
|
for path in modules:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
failures.append(str(exc))
|
|
86
|
+
failure = check_syntax(path)
|
|
87
|
+
if failure:
|
|
88
|
+
failures.append(failure)
|
|
76
89
|
|
|
77
90
|
if failures:
|
|
78
91
|
print("\n".join(failures))
|
|
79
|
-
print(f"check:python FAILED — {len(failures)} of {len(modules)} module(s) did not
|
|
92
|
+
print(f"check:python FAILED — {len(failures)} of {len(modules)} module(s) did not parse")
|
|
80
93
|
return 1
|
|
81
94
|
|
|
82
|
-
print(f"check:python OK —
|
|
95
|
+
print(f"check:python OK — syntax-checked {len(modules)} modules")
|
|
83
96
|
return 0
|
|
84
97
|
|
|
85
98
|
|
package/src-tauri/Cargo.lock
CHANGED
package/src-tauri/Cargo.toml
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "8.
|
|
2
|
+
"version": "8.8.0",
|
|
3
3
|
"generated_at": "vite",
|
|
4
4
|
"entrypoints": {
|
|
5
|
-
"app": "/static/app/assets/index
|
|
5
|
+
"app": "/static/app/assets/index--P0ksosz.js"
|
|
6
6
|
},
|
|
7
7
|
"assets": {
|
|
8
8
|
"../node_modules/@tauri-apps/api/core.js": "/static/app/assets/core-CwxXejkd.js",
|
|
9
|
-
"_primitives-
|
|
10
|
-
"_textarea-
|
|
11
|
-
"index.html": "/static/app/assets/index
|
|
12
|
-
"assets/index-
|
|
13
|
-
"src/pages/Act.tsx": "/static/app/assets/Act-
|
|
14
|
-
"src/pages/Brain.tsx": "/static/app/assets/Brain
|
|
15
|
-
"src/pages/Capture.tsx": "/static/app/assets/Capture-
|
|
16
|
-
"src/pages/Library.tsx": "/static/app/assets/Library-
|
|
17
|
-
"src/pages/System.tsx": "/static/app/assets/System-
|
|
9
|
+
"_primitives-BLqaKk5g.js": "/static/app/assets/primitives-BLqaKk5g.js",
|
|
10
|
+
"_textarea-CVQkN2Tk.js": "/static/app/assets/textarea-CVQkN2Tk.js",
|
|
11
|
+
"index.html": "/static/app/assets/index--P0ksosz.js",
|
|
12
|
+
"assets/index-DCh5AoXt.css": "/static/app/assets/index-DCh5AoXt.css",
|
|
13
|
+
"src/pages/Act.tsx": "/static/app/assets/Act-C7K9wsO9.js",
|
|
14
|
+
"src/pages/Brain.tsx": "/static/app/assets/Brain-I1OSzxJu.js",
|
|
15
|
+
"src/pages/Capture.tsx": "/static/app/assets/Capture-B3V4_5Xp.js",
|
|
16
|
+
"src/pages/Library.tsx": "/static/app/assets/Library-Cgj-EF50.js",
|
|
17
|
+
"src/pages/System.tsx": "/static/app/assets/System-D1Lkei3I.js"
|
|
18
18
|
}
|
|
19
19
|
}
|