ltcai 9.9.0 → 9.9.2

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.
Files changed (104) hide show
  1. package/README.md +41 -35
  2. package/bin/ltcai.js +1 -1
  3. package/desktop/electron/main.cjs +1 -1
  4. package/docs/CHANGELOG.md +83 -0
  5. package/docs/CI_AND_RELEASE_GATES.md +1 -1
  6. package/docs/COMMUNITY_AND_PLUGINS.md +1 -1
  7. package/docs/DEVELOPMENT.md +1 -1
  8. package/docs/LEGACY_COMPATIBILITY.md +48 -49
  9. package/docs/ONBOARDING.md +1 -1
  10. package/docs/OPERATIONS.md +1 -1
  11. package/docs/TRUST_MODEL.md +1 -1
  12. package/docs/WHY_LATTICE.md +1 -1
  13. package/docs/kg-schema.md +6 -6
  14. package/lattice_brain/__init__.py +1 -1
  15. package/lattice_brain/graph/schema.py +1 -1
  16. package/lattice_brain/runtime/multi_agent.py +1 -1
  17. package/latticeai/__init__.py +1 -1
  18. package/latticeai/api/chat.py +3 -0
  19. package/latticeai/api/chat_agent_http.py +2 -1
  20. package/latticeai/api/chat_intents.py +130 -7
  21. package/latticeai/app_factory.py +1 -0
  22. package/latticeai/core/agent.py +114 -2
  23. package/latticeai/core/file_generation.py +58 -0
  24. package/latticeai/core/legacy_compatibility.py +71 -47
  25. package/latticeai/core/marketplace.py +1 -1
  26. package/latticeai/core/workspace_os.py +1 -1
  27. package/latticeai/services/app_context.py +3 -0
  28. package/latticeai/services/architecture_readiness.py +1 -1
  29. package/latticeai/services/product_readiness.py +7 -2
  30. package/latticeai/services/tool_dispatch.py +36 -0
  31. package/latticeai/tools/__init__.py +1 -1
  32. package/latticeai/tools/knowledge.py +1 -1
  33. package/package.json +6 -16
  34. package/scripts/check_current_release_docs.mjs +20 -1
  35. package/scripts/check_legacy_debt.mjs +91 -0
  36. package/scripts/prune_release_evidence.mjs +38 -0
  37. package/scripts/wheel_smoke.py +22 -6
  38. package/src-tauri/Cargo.lock +1 -1
  39. package/src-tauri/Cargo.toml +1 -1
  40. package/src-tauri/src/main.rs +12 -12
  41. package/src-tauri/tauri.conf.json +1 -13
  42. package/static/app/asset-manifest.json +27 -27
  43. package/static/app/assets/Act-Cx_gZNbE.js +1 -0
  44. package/static/app/assets/{Brain-Cgkh0Hpn.js → Brain-BnGbytHa.js} +2 -2
  45. package/static/app/assets/BrainHome-CRUMJL93.js +2 -0
  46. package/static/app/assets/BrainSignals-BP8-Qh2g.js +1 -0
  47. package/static/app/assets/Capture-CAKnLcb0.js +1 -0
  48. package/static/app/assets/CommandPalette-BoUTXBfm.js +1 -0
  49. package/static/app/assets/Library-PcfVUco6.js +1 -0
  50. package/static/app/assets/LivingBrain-C3VbogVo.js +1 -0
  51. package/static/app/assets/ProductFlow-BLau7c7N.js +1 -0
  52. package/static/app/assets/ReviewCard-CX5RqRqx.js +1 -0
  53. package/static/app/assets/System-DRHc_6Su.js +1 -0
  54. package/static/app/assets/bot-DZkDdh-A.js +1 -0
  55. package/static/app/assets/cpu-DyvsDBbj.js +1 -0
  56. package/static/app/assets/download-C7yxYHvz.js +1 -0
  57. package/static/app/assets/folder-open-CffoIr9t.js +1 -0
  58. package/static/app/assets/hard-drive-C1oojrHb.js +1 -0
  59. package/static/app/assets/{index-BjaXCeOZ.js → index-BS_3aN1n.js} +3 -3
  60. package/static/app/assets/index-DU78Kogz.css +2 -0
  61. package/static/app/assets/input-B_U7zvbR.js +1 -0
  62. package/static/app/assets/navigation-xG-gyjbe.js +1 -0
  63. package/static/app/assets/network-BF13HJJF.js +1 -0
  64. package/static/app/assets/primitives-DsuKh3M8.js +1 -0
  65. package/static/app/assets/sunrise-CIP2ELJ1.js +1 -0
  66. package/static/app/assets/textarea-DsDL4ET8.js +1 -0
  67. package/static/app/assets/utils-Dh-Dwtkb.js +7 -0
  68. package/static/app/index.html +4 -4
  69. package/static/sw.js +1 -1
  70. package/auto_setup.py +0 -21
  71. package/kg_schema.py +0 -13
  72. package/knowledge_graph.py +0 -51
  73. package/knowledge_graph_api.py +0 -24
  74. package/llm_router.py +0 -20
  75. package/local_knowledge_api.py +0 -16
  76. package/ltcai_cli.py +0 -21
  77. package/mcp_registry.py +0 -20
  78. package/p_reinforce.py +0 -16
  79. package/setup_wizard.py +0 -16
  80. package/static/app/assets/Act-CfOPUKPs.js +0 -2
  81. package/static/app/assets/BrainHome-D8e3wQiW.js +0 -3
  82. package/static/app/assets/BrainSignals-BjRBA18L.js +0 -1
  83. package/static/app/assets/Capture-CQQYQ1Ga.js +0 -1
  84. package/static/app/assets/CommandPalette-pss56Mg4.js +0 -1
  85. package/static/app/assets/Library-CoI3xYJk.js +0 -1
  86. package/static/app/assets/LivingBrain-CaU_hCxQ.js +0 -1
  87. package/static/app/assets/ProductFlow-Db-1O71-.js +0 -1
  88. package/static/app/assets/System-Dfocn0zN.js +0 -1
  89. package/static/app/assets/bot-Bp2x1i6F.js +0 -1
  90. package/static/app/assets/circle-check-CyGal42W.js +0 -1
  91. package/static/app/assets/cpu-DQFk82hG.js +0 -1
  92. package/static/app/assets/download-C70gKQVi.js +0 -1
  93. package/static/app/assets/folder-open-DNGytsVw.js +0 -1
  94. package/static/app/assets/hard-drive-CYo_bEl4.js +0 -1
  95. package/static/app/assets/i18n-BBMJshCW.js +0 -7
  96. package/static/app/assets/index-BqRcLZR3.css +0 -2
  97. package/static/app/assets/input-ChWD-Fsh.js +0 -1
  98. package/static/app/assets/navigation-D9D9_FPC.js +0 -1
  99. package/static/app/assets/network-DzLDGmtV.js +0 -1
  100. package/static/app/assets/primitives-CmaSAyGG.js +0 -1
  101. package/static/app/assets/sparkles-DXiaM1NS.js +0 -1
  102. package/static/app/assets/textarea-CV43-o79.js +0 -1
  103. package/telegram_bot.py +0 -16
  104. package/tools/__init__.py +0 -29
@@ -8,10 +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-BjaXCeOZ.js"></script>
12
- <link rel="modulepreload" crossorigin href="/static/app/assets/i18n-BBMJshCW.js">
13
- <link rel="modulepreload" crossorigin href="/static/app/assets/navigation-D9D9_FPC.js">
14
- <link rel="stylesheet" crossorigin href="/static/app/assets/index-BqRcLZR3.css">
11
+ <script type="module" crossorigin src="/static/app/assets/index-BS_3aN1n.js"></script>
12
+ <link rel="modulepreload" crossorigin href="/static/app/assets/utils-Dh-Dwtkb.js">
13
+ <link rel="modulepreload" crossorigin href="/static/app/assets/navigation-xG-gyjbe.js">
14
+ <link rel="stylesheet" crossorigin href="/static/app/assets/index-DU78Kogz.css">
15
15
  </head>
16
16
  <body>
17
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-v990";
4
+ const CACHE = "lattice-v992";
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
@@ -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
- ]
@@ -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
@@ -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