ltcai 9.8.0 → 9.9.1
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 +45 -28
- package/bin/ltcai.js +1 -1
- package/desktop/electron/main.cjs +1 -1
- package/docs/BENCHMARKS.md +107 -0
- package/docs/CHANGELOG.md +82 -0
- package/docs/CI_AND_RELEASE_GATES.md +106 -0
- package/docs/COMMUNITY_AND_PLUGINS.md +1 -1
- package/docs/DEVELOPMENT.md +11 -8
- package/docs/LEGACY_COMPATIBILITY.md +48 -49
- package/docs/ONBOARDING.md +1 -1
- package/docs/OPERATIONS.md +15 -6
- package/docs/PERFORMANCE.md +9 -1
- package/docs/SECURITY_AUDIT.md +91 -0
- package/docs/TRUST_MODEL.md +1 -1
- package/docs/USABILITY_AUDIT.md +164 -0
- package/docs/WHY_LATTICE.md +1 -1
- package/docs/architecture.md +4 -2
- package/docs/kg-schema.md +6 -6
- package/docs/spec-vs-impl.md +8 -1
- package/lattice_brain/__init__.py +1 -1
- package/lattice_brain/graph/schema.py +1 -1
- package/lattice_brain/runtime/multi_agent.py +1 -1
- package/latticeai/__init__.py +1 -1
- package/latticeai/api/review_queue.py +7 -0
- package/latticeai/core/agent.py +105 -8
- package/latticeai/core/agent_eval.py +99 -1
- package/latticeai/core/legacy_compatibility.py +71 -47
- package/latticeai/core/marketplace.py +1 -1
- package/latticeai/core/tool_governor.py +92 -1
- package/latticeai/core/workspace_os.py +1 -1
- package/latticeai/services/architecture_readiness.py +1 -1
- package/latticeai/services/change_proposals.py +165 -23
- package/latticeai/services/product_readiness.py +2 -2
- package/latticeai/services/tool_dispatch.py +33 -0
- package/latticeai/tools/__init__.py +1 -1
- package/latticeai/tools/knowledge.py +1 -1
- package/package.json +9 -17
- package/scripts/bench_models.py +312 -0
- package/scripts/check_bundle_budget.mjs +103 -0
- package/scripts/check_current_release_docs.mjs +20 -1
- package/scripts/check_doc_status.mjs +149 -0
- package/scripts/check_legacy_debt.mjs +91 -0
- package/scripts/generate_sbom.py +70 -0
- package/scripts/prune_release_evidence.mjs +38 -0
- package/scripts/wheel_smoke.py +22 -6
- package/src-tauri/Cargo.lock +1 -1
- package/src-tauri/Cargo.toml +1 -1
- package/src-tauri/src/main.rs +12 -12
- package/src-tauri/tauri.conf.json +1 -13
- package/static/app/asset-manifest.json +27 -11
- package/static/app/assets/Act-CcSWTQsx.js +1 -0
- package/static/app/assets/{Brain-BMkgdWnI.js → Brain-CSCDZEHd.js} +2 -2
- package/static/app/assets/BrainHome-B5QpJ1Fx.js +2 -0
- package/static/app/assets/BrainSignals-CmFD8PWk.js +1 -0
- package/static/app/assets/Capture-BiuerOio.js +1 -0
- package/static/app/assets/CommandPalette-BrqpT7K2.js +1 -0
- package/static/app/assets/Library-BcaiPbum.js +1 -0
- package/static/app/assets/LivingBrain-6FvA0H5T.js +1 -0
- package/static/app/assets/ProductFlow-Cr8bkQPw.js +1 -0
- package/static/app/assets/ReviewCard-D56TMypk.js +1 -0
- package/static/app/assets/System-D6uJacqu.js +1 -0
- package/static/app/assets/bot-DgC7xgUl.js +1 -0
- package/static/app/assets/cpu-DDGb4XHl.js +1 -0
- package/static/app/assets/download-C-Ei3GFa.js +1 -0
- package/static/app/assets/folder-open-BbVuSO9M.js +1 -0
- package/static/app/assets/hard-drive-yDZR6XYz.js +1 -0
- package/static/app/assets/index-CFRhNBuH.css +2 -0
- package/static/app/assets/index-DrZSkwrE.js +10 -0
- package/static/app/assets/input-DPIkTs9n.js +1 -0
- package/static/app/assets/navigation-B1mkmyUe.js +1 -0
- package/static/app/assets/network-0XDI1Uf_.js +1 -0
- package/static/app/assets/primitives-sIQYKyf5.js +1 -0
- package/static/app/assets/sunrise-DXMjueec.js +1 -0
- package/static/app/assets/textarea-DvnwpnqS.js +1 -0
- package/static/app/assets/utils-BrfFHAJl.js +7 -0
- package/static/app/index.html +4 -2
- package/static/sw.js +1 -1
- package/auto_setup.py +0 -21
- package/kg_schema.py +0 -13
- package/knowledge_graph.py +0 -51
- package/knowledge_graph_api.py +0 -24
- package/llm_router.py +0 -20
- package/local_knowledge_api.py +0 -16
- package/ltcai_cli.py +0 -21
- package/mcp_registry.py +0 -20
- package/p_reinforce.py +0 -16
- package/setup_wizard.py +0 -16
- package/static/app/assets/Act-Dd3z8AzF.js +0 -2
- package/static/app/assets/Capture-D2Aw9gkv.js +0 -1
- package/static/app/assets/Library-Yreq-KW5.js +0 -1
- package/static/app/assets/System-CXNmmtEo.js +0 -1
- package/static/app/assets/index-7gY9t9Sd.css +0 -2
- package/static/app/assets/index-CndfILiF.js +0 -18
- package/static/app/assets/primitives-DxsIXb6G.js +0 -1
- package/static/app/assets/textarea-DH7ne8VI.js +0 -1
- package/telegram_bot.py +0 -16
- package/tools/__init__.py +0 -29
package/static/app/index.html
CHANGED
|
@@ -8,8 +8,10 @@
|
|
|
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 src="/static/app/theme-boot.js"></script>
|
|
11
|
-
<script type="module" crossorigin src="/static/app/assets/index-
|
|
12
|
-
<link rel="
|
|
11
|
+
<script type="module" crossorigin src="/static/app/assets/index-DrZSkwrE.js"></script>
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/static/app/assets/utils-BrfFHAJl.js">
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/static/app/assets/navigation-B1mkmyUe.js">
|
|
14
|
+
<link rel="stylesheet" crossorigin href="/static/app/assets/index-CFRhNBuH.css">
|
|
13
15
|
</head>
|
|
14
16
|
<body>
|
|
15
17
|
<div id="root"></div>
|
package/static/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Lattice Service Worker — PWA install + offline shell for the /app SPA.
|
|
2
2
|
// Strategy: precache the Vite app bundle from its asset manifest,
|
|
3
3
|
// cache-first for static assets, network-only for everything dynamic.
|
|
4
|
-
const CACHE = "lattice-
|
|
4
|
+
const CACHE = "lattice-v991";
|
|
5
5
|
const MANIFEST_URL = "/static/app/asset-manifest.json";
|
|
6
6
|
|
|
7
7
|
// Non-manifest assets the shell needs offline.
|
package/auto_setup.py
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for :mod:`latticeai.setup.auto_setup`."""
|
|
2
|
-
|
|
3
|
-
import warnings
|
|
4
|
-
|
|
5
|
-
warnings.warn(
|
|
6
|
-
"Importing 'auto_setup' from the repository root is deprecated; "
|
|
7
|
-
"use 'from latticeai.setup import auto_setup' instead. "
|
|
8
|
-
"The root shim will be removed in a future major release.",
|
|
9
|
-
DeprecationWarning,
|
|
10
|
-
stacklevel=2,
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
from latticeai.setup import auto_setup as _impl # noqa: E402
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
if __name__ == "__main__":
|
|
17
|
-
raise SystemExit(_impl._main())
|
|
18
|
-
else:
|
|
19
|
-
import sys
|
|
20
|
-
|
|
21
|
-
sys.modules[__name__] = _impl
|
package/kg_schema.py
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for the v4 Knowledge Graph schema."""
|
|
2
|
-
|
|
3
|
-
import warnings as _warnings
|
|
4
|
-
|
|
5
|
-
_warnings.warn(
|
|
6
|
-
"Importing 'kg_schema' from the repository root is deprecated; "
|
|
7
|
-
"use 'from lattice_brain.graph.schema import ...' instead. "
|
|
8
|
-
"The root shim will be removed in a future major release.",
|
|
9
|
-
DeprecationWarning,
|
|
10
|
-
stacklevel=2,
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
from lattice_brain.graph.schema import * # noqa: F403,F401,E402
|
package/knowledge_graph.py
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for the v4.2 lattice-brain store.
|
|
2
|
-
|
|
3
|
-
The implementation now lives under :mod:`lattice_brain`. Root imports are
|
|
4
|
-
kept for older integrations and tests.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
import warnings as _warnings
|
|
8
|
-
|
|
9
|
-
_warnings.warn(
|
|
10
|
-
"Importing 'knowledge_graph' from the repository root is deprecated; "
|
|
11
|
-
"use 'from lattice_brain.graph.store import KnowledgeGraphStore' instead. "
|
|
12
|
-
"The root shim will be removed in a future major release.",
|
|
13
|
-
DeprecationWarning,
|
|
14
|
-
stacklevel=2,
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
from lattice_brain.graph._kg_common import ( # noqa: F401,E402
|
|
18
|
-
EDGE_VERB,
|
|
19
|
-
GRAPH_SCHEMA_VERSION,
|
|
20
|
-
LOCAL_CODE_EXTENSIONS,
|
|
21
|
-
LOCAL_DOCUMENT_EXTENSIONS,
|
|
22
|
-
LOCAL_IMAGE_EXTENSIONS,
|
|
23
|
-
LOCAL_SIZE_LIMITS,
|
|
24
|
-
LOCAL_SLIDE_EXTENSIONS,
|
|
25
|
-
LOCAL_SPREADSHEET_EXTENSIONS,
|
|
26
|
-
LOCAL_SUPPORTED_EXTENSIONS,
|
|
27
|
-
LOCAL_TEXT_EXTENSIONS,
|
|
28
|
-
_KG_DB_FORMAT_VERSION,
|
|
29
|
-
_PROJECTION_VERSION,
|
|
30
|
-
_extract_concepts,
|
|
31
|
-
_extract_concepts_rules,
|
|
32
|
-
_extract_triples,
|
|
33
|
-
_extract_triples_rules,
|
|
34
|
-
_slug,
|
|
35
|
-
set_llm_router,
|
|
36
|
-
)
|
|
37
|
-
from lattice_brain.graph.store import KnowledgeGraphStore # noqa: E402
|
|
38
|
-
|
|
39
|
-
__all__ = [
|
|
40
|
-
"KnowledgeGraphStore",
|
|
41
|
-
"GRAPH_SCHEMA_VERSION",
|
|
42
|
-
"EDGE_VERB",
|
|
43
|
-
"_PROJECTION_VERSION",
|
|
44
|
-
"_KG_DB_FORMAT_VERSION",
|
|
45
|
-
"set_llm_router",
|
|
46
|
-
"_slug",
|
|
47
|
-
"_extract_concepts",
|
|
48
|
-
"_extract_concepts_rules",
|
|
49
|
-
"_extract_triples",
|
|
50
|
-
"_extract_triples_rules",
|
|
51
|
-
]
|
package/knowledge_graph_api.py
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"""Deprecation shim — the knowledge graph router moved in v4.
|
|
2
|
-
|
|
3
|
-
The ``/knowledge-graph/*`` data router (and legacy ``/graph`` page routes)
|
|
4
|
-
now live in :mod:`latticeai.api.knowledge_graph`. This root module remains
|
|
5
|
-
importable for the deprecation window and will be removed in a future major
|
|
6
|
-
release.
|
|
7
|
-
"""
|
|
8
|
-
|
|
9
|
-
import warnings as _warnings
|
|
10
|
-
|
|
11
|
-
_warnings.warn(
|
|
12
|
-
"Importing 'knowledge_graph_api' from the repository root is deprecated; "
|
|
13
|
-
"use 'from latticeai.api.knowledge_graph import create_knowledge_graph_router' instead. "
|
|
14
|
-
"The root shim will be removed in a future major release.",
|
|
15
|
-
DeprecationWarning,
|
|
16
|
-
stacklevel=2,
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
from latticeai.api.knowledge_graph import ( # noqa: F401,E402
|
|
20
|
-
KnowledgeGraphIngestRequest,
|
|
21
|
-
create_knowledge_graph_router,
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
__all__ = ["KnowledgeGraphIngestRequest", "create_knowledge_graph_router"]
|
package/llm_router.py
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim: physically moved to ``latticeai.models.router``.
|
|
2
|
-
|
|
3
|
-
Aliases itself to the physical module so router globals, identity checks, and
|
|
4
|
-
monkeypatching keep working through the old import path.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
import sys
|
|
8
|
-
import warnings
|
|
9
|
-
|
|
10
|
-
warnings.warn(
|
|
11
|
-
"Importing 'llm_router' from the repository root is deprecated; "
|
|
12
|
-
"use 'import latticeai.models.router' instead. "
|
|
13
|
-
"The root shim will be removed in a future major release.",
|
|
14
|
-
DeprecationWarning,
|
|
15
|
-
stacklevel=2,
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
import latticeai.models.router as _impl # noqa: E402
|
|
19
|
-
|
|
20
|
-
sys.modules[__name__] = _impl
|
package/local_knowledge_api.py
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for :mod:`latticeai.services.local_knowledge`."""
|
|
2
|
-
|
|
3
|
-
import sys
|
|
4
|
-
import warnings
|
|
5
|
-
|
|
6
|
-
warnings.warn(
|
|
7
|
-
"Importing 'local_knowledge_api' from the repository root is deprecated; "
|
|
8
|
-
"use 'from latticeai.services import local_knowledge' instead. "
|
|
9
|
-
"The root shim will be removed in a future major release.",
|
|
10
|
-
DeprecationWarning,
|
|
11
|
-
stacklevel=2,
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
from latticeai.services import local_knowledge as _impl # noqa: E402
|
|
15
|
-
|
|
16
|
-
sys.modules[__name__] = _impl
|
package/ltcai_cli.py
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for the historical root CLI module."""
|
|
2
|
-
|
|
3
|
-
import warnings
|
|
4
|
-
|
|
5
|
-
warnings.warn(
|
|
6
|
-
"Importing 'ltcai_cli' from the repository root is deprecated; "
|
|
7
|
-
"use 'from latticeai.cli import entrypoint' instead. "
|
|
8
|
-
"The root shim will be removed in a future major release.",
|
|
9
|
-
DeprecationWarning,
|
|
10
|
-
stacklevel=2,
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
from latticeai.cli import entrypoint as _impl # noqa: E402
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
if __name__ == "__main__":
|
|
17
|
-
_impl.main()
|
|
18
|
-
else:
|
|
19
|
-
import sys
|
|
20
|
-
|
|
21
|
-
sys.modules[__name__] = _impl
|
package/mcp_registry.py
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim: physically moved to ``latticeai.core.mcp_registry``.
|
|
2
|
-
|
|
3
|
-
Aliases itself to the physical module so registry cache state, identity checks,
|
|
4
|
-
and monkeypatching keep working through the old import path.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
import sys
|
|
8
|
-
import warnings
|
|
9
|
-
|
|
10
|
-
warnings.warn(
|
|
11
|
-
"Importing 'mcp_registry' from the repository root is deprecated; "
|
|
12
|
-
"use 'import latticeai.core.mcp_registry' instead. "
|
|
13
|
-
"The root shim will be removed in a future major release.",
|
|
14
|
-
DeprecationWarning,
|
|
15
|
-
stacklevel=2,
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
import latticeai.core.mcp_registry as _impl # noqa: E402
|
|
19
|
-
|
|
20
|
-
sys.modules[__name__] = _impl
|
package/p_reinforce.py
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for the historical root P-Reinforce module."""
|
|
2
|
-
|
|
3
|
-
import sys
|
|
4
|
-
import warnings
|
|
5
|
-
|
|
6
|
-
warnings.warn(
|
|
7
|
-
"Importing 'p_reinforce' from the repository root is deprecated; "
|
|
8
|
-
"use 'from latticeai.services import p_reinforce' instead. "
|
|
9
|
-
"The root shim will be removed in a future major release.",
|
|
10
|
-
DeprecationWarning,
|
|
11
|
-
stacklevel=2,
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
from latticeai.services import p_reinforce as _impl # noqa: E402
|
|
15
|
-
|
|
16
|
-
sys.modules[__name__] = _impl
|
package/setup_wizard.py
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"""Compatibility shim for :mod:`latticeai.setup.wizard`."""
|
|
2
|
-
|
|
3
|
-
import sys
|
|
4
|
-
import warnings
|
|
5
|
-
|
|
6
|
-
warnings.warn(
|
|
7
|
-
"Importing 'setup_wizard' from the repository root is deprecated; "
|
|
8
|
-
"use 'from latticeai.setup import wizard' instead. "
|
|
9
|
-
"The root shim will be removed in a future major release.",
|
|
10
|
-
DeprecationWarning,
|
|
11
|
-
stacklevel=2,
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
from latticeai.setup import wizard as _impl # noqa: E402
|
|
15
|
-
|
|
16
|
-
sys.modules[__name__] = _impl
|