ltcai 4.0.0 → 4.1.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 +42 -33
- package/desktop/electron/main.cjs +44 -0
- package/docs/CHANGELOG.md +106 -0
- package/docs/REALTIME_COLLABORATION.md +3 -3
- package/docs/V3_FRONTEND.md +9 -8
- package/docs/V4_1_FRONTEND_ARCHITECTURE_REVIEW.md +65 -0
- package/docs/V4_1_FRONTEND_MIGRATION_REPORT.md +70 -0
- package/docs/V4_1_VALIDATION_REPORT.md +47 -0
- package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +95 -45
- package/docs/kg-schema.md +6 -2
- package/docs/spec-vs-impl.md +10 -10
- package/frontend/index.html +24 -0
- package/frontend/openapi.json +14190 -0
- package/frontend/src/App.tsx +184 -0
- package/frontend/src/api/client.ts +317 -0
- package/frontend/src/api/openapi.ts +16637 -0
- package/frontend/src/components/primitives.tsx +204 -0
- package/frontend/src/components/ui/badge.tsx +27 -0
- package/frontend/src/components/ui/button.tsx +37 -0
- package/frontend/src/components/ui/card.tsx +22 -0
- package/frontend/src/components/ui/input.tsx +16 -0
- package/frontend/src/components/ui/textarea.tsx +16 -0
- package/frontend/src/lib/utils.ts +33 -0
- package/frontend/src/main.tsx +23 -0
- package/frontend/src/pages/Act.tsx +245 -0
- package/frontend/src/pages/Ask.tsx +200 -0
- package/frontend/src/pages/Brain.tsx +267 -0
- package/frontend/src/pages/Capture.tsx +158 -0
- package/frontend/src/pages/Library.tsx +187 -0
- package/frontend/src/pages/System.tsx +344 -0
- package/frontend/src/routes.ts +85 -0
- package/frontend/src/store/appStore.ts +54 -0
- package/frontend/src/styles.css +107 -0
- package/kg_schema.py +2 -603
- package/knowledge_graph.py +37 -4958
- package/latticeai/__init__.py +1 -1
- package/latticeai/api/admin.py +15 -16
- package/latticeai/api/agents.py +13 -6
- package/latticeai/api/auth.py +19 -11
- package/latticeai/api/invitations.py +100 -0
- package/latticeai/api/knowledge_graph.py +4 -11
- package/latticeai/api/plugins.py +3 -6
- package/latticeai/api/realtime.py +4 -7
- package/latticeai/api/setup.py +5 -4
- package/latticeai/api/static_routes.py +13 -16
- package/latticeai/api/ui_redirects.py +26 -0
- package/latticeai/api/workflow_designer.py +39 -6
- package/latticeai/api/workspace.py +24 -10
- package/latticeai/app_factory.py +88 -17
- package/latticeai/brain/_kg_common.py +1123 -0
- package/latticeai/brain/discovery.py +1455 -0
- package/latticeai/brain/documents.py +218 -0
- package/latticeai/brain/ingest.py +644 -0
- package/latticeai/brain/projection.py +561 -0
- package/latticeai/brain/provenance.py +401 -0
- package/latticeai/brain/retrieval.py +1316 -0
- package/latticeai/brain/schema.py +640 -0
- package/latticeai/brain/store.py +216 -0
- package/latticeai/brain/write_master.py +225 -0
- package/latticeai/core/invitations.py +131 -0
- package/latticeai/core/marketplace.py +1 -1
- package/latticeai/core/multi_agent.py +1 -1
- package/latticeai/core/policy.py +54 -0
- package/latticeai/core/realtime.py +65 -44
- package/latticeai/core/sessions.py +31 -5
- package/latticeai/core/users.py +147 -0
- package/latticeai/core/workspace_os.py +420 -20
- package/latticeai/services/agent_runtime.py +242 -4
- package/latticeai/services/run_executor.py +328 -0
- package/latticeai/services/workspace_service.py +27 -19
- package/package.json +54 -27
- package/scripts/build_frontend_assets.mjs +38 -0
- package/scripts/bump_version.py +1 -1
- package/scripts/export_openapi.py +31 -0
- package/scripts/lint_frontend.mjs +86 -0
- package/scripts/run_python.mjs +47 -0
- package/src-tauri/Cargo.lock +4833 -0
- package/src-tauri/Cargo.toml +19 -0
- package/src-tauri/build.rs +3 -0
- package/src-tauri/capabilities/default.json +7 -0
- package/src-tauri/src/main.rs +78 -0
- package/src-tauri/tauri.conf.json +36 -0
- package/static/app/asset-manifest.json +32 -0
- package/static/app/assets/core-CwxXejkd.js +2 -0
- package/static/app/assets/core-CwxXejkd.js.map +1 -0
- package/static/app/assets/index-CJRAzNnf.js +333 -0
- package/static/app/assets/index-CJRAzNnf.js.map +1 -0
- package/static/app/assets/index-CSwBBgf4.css +2 -0
- package/static/app/index.html +25 -0
- package/static/manifest.json +2 -2
- package/static/sw.js +4 -4
- package/scripts/build_v3_assets.mjs +0 -170
- package/scripts/lint_v3.mjs +0 -97
- package/static/account.html +0 -113
- package/static/activity.html +0 -73
- package/static/admin.html +0 -486
- package/static/agents.html +0 -139
- package/static/chat.html +0 -841
- package/static/css/reference/account.css +0 -439
- package/static/css/reference/admin.css +0 -610
- package/static/css/reference/base.css +0 -1661
- package/static/css/reference/chat.css +0 -4623
- package/static/css/reference/graph.css +0 -1016
- package/static/css/responsive.css +0 -861
- package/static/graph.html +0 -122
- package/static/platform.css +0 -104
- package/static/plugins.html +0 -136
- package/static/scripts/account.js +0 -238
- package/static/scripts/admin.js +0 -1614
- package/static/scripts/chat.js +0 -5081
- package/static/scripts/graph.js +0 -1804
- package/static/scripts/platform.js +0 -64
- package/static/scripts/ux.js +0 -167
- package/static/scripts/workspace.js +0 -948
- package/static/v3/asset-manifest.json +0 -56
- package/static/v3/css/lattice.base.49deefb5.css +0 -128
- package/static/v3/css/lattice.base.css +0 -128
- package/static/v3/css/lattice.components.cde18231.css +0 -472
- package/static/v3/css/lattice.components.css +0 -472
- package/static/v3/css/lattice.shell.29d36d85.css +0 -452
- package/static/v3/css/lattice.shell.css +0 -452
- package/static/v3/css/lattice.tokens.304cbc40.css +0 -135
- package/static/v3/css/lattice.tokens.css +0 -135
- package/static/v3/css/lattice.views.0a18b6c5.css +0 -360
- package/static/v3/css/lattice.views.css +0 -360
- package/static/v3/index.html +0 -68
- package/static/v3/js/app.356e6452.js +0 -26
- package/static/v3/js/app.js +0 -26
- package/static/v3/js/core/api.7a308b89.js +0 -568
- package/static/v3/js/core/api.js +0 -568
- package/static/v3/js/core/components.f25b3b93.js +0 -230
- package/static/v3/js/core/components.js +0 -230
- package/static/v3/js/core/dom.a2773eb0.js +0 -148
- package/static/v3/js/core/dom.js +0 -148
- package/static/v3/js/core/router.584570f2.js +0 -37
- package/static/v3/js/core/router.js +0 -37
- package/static/v3/js/core/routes.7222343d.js +0 -93
- package/static/v3/js/core/routes.js +0 -93
- package/static/v3/js/core/shell.a1657f20.js +0 -391
- package/static/v3/js/core/shell.js +0 -391
- package/static/v3/js/core/store.204a08b2.js +0 -113
- package/static/v3/js/core/store.js +0 -113
- package/static/v3/js/views/admin-audit.660a1fb1.js +0 -185
- package/static/v3/js/views/admin-audit.js +0 -185
- package/static/v3/js/views/admin-permissions.a7ae5f09.js +0 -177
- package/static/v3/js/views/admin-permissions.js +0 -177
- package/static/v3/js/views/admin-policies.3658fd86.js +0 -102
- package/static/v3/js/views/admin-policies.js +0 -102
- package/static/v3/js/views/admin-private-vpc.7d342d36.js +0 -135
- package/static/v3/js/views/admin-private-vpc.js +0 -135
- package/static/v3/js/views/admin-security.07c66b72.js +0 -180
- package/static/v3/js/views/admin-security.js +0 -180
- package/static/v3/js/views/admin-users.03bac88c.js +0 -168
- package/static/v3/js/views/admin-users.js +0 -168
- package/static/v3/js/views/agents.014d0b74.js +0 -541
- package/static/v3/js/views/agents.js +0 -541
- package/static/v3/js/views/chat.e6dd7dd0.js +0 -601
- package/static/v3/js/views/chat.js +0 -601
- package/static/v3/js/views/files.adad14c1.js +0 -365
- package/static/v3/js/views/files.js +0 -365
- package/static/v3/js/views/graph-canvas.17c15d65.js +0 -509
- package/static/v3/js/views/graph-canvas.js +0 -509
- package/static/v3/js/views/home.24f8b8ae.js +0 -200
- package/static/v3/js/views/home.js +0 -200
- package/static/v3/js/views/hooks.37895880.js +0 -220
- package/static/v3/js/views/hooks.js +0 -220
- package/static/v3/js/views/hybrid-search.2fb63ed9.js +0 -194
- package/static/v3/js/views/hybrid-search.js +0 -194
- package/static/v3/js/views/knowledge-graph.5e40cbeb.js +0 -509
- package/static/v3/js/views/knowledge-graph.js +0 -509
- package/static/v3/js/views/marketplace.ab0583d4.js +0 -141
- package/static/v3/js/views/marketplace.js +0 -141
- package/static/v3/js/views/mcp.99b5c6a7.js +0 -114
- package/static/v3/js/views/mcp.js +0 -114
- package/static/v3/js/views/memory.4ebdf474.js +0 -147
- package/static/v3/js/views/memory.js +0 -147
- package/static/v3/js/views/models.a1ffa147.js +0 -256
- package/static/v3/js/views/models.js +0 -256
- package/static/v3/js/views/my-computer.d9d9ae1c.js +0 -463
- package/static/v3/js/views/my-computer.js +0 -463
- package/static/v3/js/views/pipeline.c522f1ce.js +0 -157
- package/static/v3/js/views/pipeline.js +0 -157
- package/static/v3/js/views/planning.9ac3e313.js +0 -153
- package/static/v3/js/views/planning.js +0 -153
- package/static/v3/js/views/settings.8631fa5e.js +0 -318
- package/static/v3/js/views/settings.js +0 -318
- package/static/v3/js/views/skills.c6c2f965.js +0 -109
- package/static/v3/js/views/skills.js +0 -109
- package/static/v3/js/views/tools.e4f11276.js +0 -108
- package/static/v3/js/views/tools.js +0 -108
- package/static/v3/js/views/workflows.26c57290.js +0 -128
- package/static/v3/js/views/workflows.js +0 -128
- package/static/workflows.html +0 -146
- package/static/workspace.css +0 -1121
- package/static/workspace.html +0 -357
|
@@ -1,452 +0,0 @@
|
|
|
1
|
-
/* ============================================================================
|
|
2
|
-
* Lattice AI v3 — Application shell
|
|
3
|
-
* The persistent chrome: nav rail, topbar, view outlet, command palette,
|
|
4
|
-
* mobile drawer, and the signature "retrieval lattice" status component.
|
|
5
|
-
* ========================================================================== */
|
|
6
|
-
|
|
7
|
-
.lt3-app {
|
|
8
|
-
position: relative;
|
|
9
|
-
z-index: 1;
|
|
10
|
-
display: grid;
|
|
11
|
-
grid-template-columns: var(--lt3-rail-w) minmax(0, 1fr);
|
|
12
|
-
height: 100dvh;
|
|
13
|
-
background: var(--app-bg);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* ── Nav rail ────────────────────────────────────────────────────────────── */
|
|
17
|
-
.lt3-rail {
|
|
18
|
-
position: relative;
|
|
19
|
-
z-index: var(--lt3-z-rail);
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
min-height: 0;
|
|
23
|
-
background: var(--sidebar);
|
|
24
|
-
border-right: 1px solid var(--border);
|
|
25
|
-
box-shadow: inset -1px 0 0 color-mix(in srgb, var(--surface) 40%, transparent);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.lt3-rail__brand {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
gap: var(--lt3-space-3);
|
|
32
|
-
padding: var(--lt3-space-5) var(--lt3-space-5) var(--lt3-space-4);
|
|
33
|
-
}
|
|
34
|
-
.lt3-rail__logo {
|
|
35
|
-
display: grid; place-items: center;
|
|
36
|
-
width: 34px; height: 34px; flex: none;
|
|
37
|
-
border-radius: var(--lt3-radius-md);
|
|
38
|
-
background: var(--text);
|
|
39
|
-
color: var(--lt3-on-accent);
|
|
40
|
-
box-shadow: var(--lt3-elev-1);
|
|
41
|
-
}
|
|
42
|
-
.lt3-rail__logo svg { width: 22px; height: 22px; }
|
|
43
|
-
.lt3-rail__word { display: flex; flex-direction: column; line-height: 1.05; }
|
|
44
|
-
.lt3-rail__word b { font-size: var(--lt3-text-md); font-weight: var(--lt3-weight-bold); letter-spacing: var(--lt3-tracking-tight); }
|
|
45
|
-
.lt3-rail__word small { font-size: var(--lt3-text-2xs); color: var(--faint); letter-spacing: var(--lt3-tracking-wide); text-transform: uppercase; }
|
|
46
|
-
|
|
47
|
-
.lt3-rail__scope { padding: 0 var(--lt3-space-4) var(--lt3-space-3); }
|
|
48
|
-
|
|
49
|
-
.lt3-rail__nav {
|
|
50
|
-
flex: 1;
|
|
51
|
-
min-height: 0;
|
|
52
|
-
overflow-y: auto;
|
|
53
|
-
padding: var(--lt3-space-2) var(--lt3-space-3) var(--lt3-space-4);
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
gap: var(--lt3-space-1);
|
|
57
|
-
}
|
|
58
|
-
.lt3-navgroup { margin-top: var(--lt3-space-5); }
|
|
59
|
-
.lt3-navgroup:first-child { margin-top: 0; }
|
|
60
|
-
.lt3-navgroup__label {
|
|
61
|
-
padding: var(--lt3-space-2) var(--lt3-space-3) var(--lt3-space-1);
|
|
62
|
-
font-size: var(--lt3-text-2xs);
|
|
63
|
-
font-weight: var(--lt3-weight-semi);
|
|
64
|
-
letter-spacing: var(--lt3-tracking-caps);
|
|
65
|
-
text-transform: uppercase;
|
|
66
|
-
color: var(--faint);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.lt3-navitem {
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: flex-start;
|
|
72
|
-
gap: var(--lt3-space-3);
|
|
73
|
-
min-height: 42px;
|
|
74
|
-
padding: var(--lt3-space-2) var(--lt3-space-3);
|
|
75
|
-
border-radius: var(--lt3-radius-md);
|
|
76
|
-
border: 1px solid transparent;
|
|
77
|
-
color: var(--muted);
|
|
78
|
-
font-size: var(--lt3-text-sm);
|
|
79
|
-
font-weight: var(--lt3-weight-medium);
|
|
80
|
-
position: relative;
|
|
81
|
-
transition: background var(--lt3-dur-2) var(--lt3-ease), color var(--lt3-dur-2) var(--lt3-ease);
|
|
82
|
-
}
|
|
83
|
-
.lt3-navitem .ti { font-size: 1.16rem; flex: none; width: 22px; text-align: center; margin-top: 1px; }
|
|
84
|
-
.lt3-navitem__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
|
|
85
|
-
.lt3-navitem__label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
86
|
-
.lt3-navitem__meta { font-size: var(--lt3-text-2xs); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: var(--lt3-weight-normal); }
|
|
87
|
-
.lt3-navitem:hover { background: var(--surface-2); color: var(--text); }
|
|
88
|
-
.lt3-navitem[aria-current="page"] {
|
|
89
|
-
background: var(--surface);
|
|
90
|
-
color: var(--text);
|
|
91
|
-
border: 1px solid var(--border);
|
|
92
|
-
box-shadow: var(--lt3-elev-1);
|
|
93
|
-
font-weight: var(--lt3-weight-semi);
|
|
94
|
-
}
|
|
95
|
-
.lt3-navitem[aria-current="page"]::before {
|
|
96
|
-
content: ""; position: absolute; left: 0; top: 9px; bottom: 9px;
|
|
97
|
-
width: 2px; border-radius: 99px; background: var(--accent);
|
|
98
|
-
}
|
|
99
|
-
.lt3-navitem[aria-current="page"] .lt3-navitem__meta { color: var(--muted); }
|
|
100
|
-
.lt3-navitem__badge {
|
|
101
|
-
margin-left: auto;
|
|
102
|
-
font-size: var(--lt3-text-2xs);
|
|
103
|
-
font-weight: var(--lt3-weight-bold);
|
|
104
|
-
padding: 1px 7px;
|
|
105
|
-
border-radius: 99px;
|
|
106
|
-
background: var(--surface-3);
|
|
107
|
-
color: var(--muted);
|
|
108
|
-
}
|
|
109
|
-
.lt3-navitem__dot { margin-left: auto; width: 7px; height: 7px; border-radius: 99px; }
|
|
110
|
-
|
|
111
|
-
.lt3-rail__foot {
|
|
112
|
-
padding: var(--lt3-space-3);
|
|
113
|
-
border-top: 1px solid var(--border);
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-direction: column;
|
|
116
|
-
gap: var(--lt3-space-3);
|
|
117
|
-
}
|
|
118
|
-
.lt3-rail__foot-row {
|
|
119
|
-
display: flex;
|
|
120
|
-
align-items: center;
|
|
121
|
-
gap: var(--lt3-space-2);
|
|
122
|
-
}
|
|
123
|
-
.lt3-rail__status {
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-direction: column;
|
|
126
|
-
gap: 2px;
|
|
127
|
-
padding: var(--lt3-space-3);
|
|
128
|
-
border-radius: var(--lt3-radius-md);
|
|
129
|
-
background: var(--surface-2);
|
|
130
|
-
border: 1px solid var(--border);
|
|
131
|
-
}
|
|
132
|
-
.lt3-rail__status-top {
|
|
133
|
-
display: flex;
|
|
134
|
-
align-items: center;
|
|
135
|
-
gap: var(--lt3-space-2);
|
|
136
|
-
font-size: var(--lt3-text-xs);
|
|
137
|
-
font-weight: var(--lt3-weight-semi);
|
|
138
|
-
color: var(--text);
|
|
139
|
-
}
|
|
140
|
-
.lt3-rail__status-sub {
|
|
141
|
-
font-size: var(--lt3-text-2xs);
|
|
142
|
-
color: var(--faint);
|
|
143
|
-
}
|
|
144
|
-
.lt3-rail__status-dot {
|
|
145
|
-
width: 8px;
|
|
146
|
-
height: 8px;
|
|
147
|
-
border-radius: 99px;
|
|
148
|
-
background: var(--warning);
|
|
149
|
-
}
|
|
150
|
-
.lt3-rail__status-dot[data-state="ready"] { background: var(--success); }
|
|
151
|
-
.lt3-rail__status-dot[data-state="partial"] { background: var(--warning); }
|
|
152
|
-
.lt3-rail__status-dot[data-state="pending"] { background: var(--faint); }
|
|
153
|
-
}
|
|
154
|
-
.lt3-rail__user {
|
|
155
|
-
display: flex; align-items: center; gap: var(--lt3-space-3);
|
|
156
|
-
flex: 1; min-width: 0;
|
|
157
|
-
padding: var(--lt3-space-2);
|
|
158
|
-
border-radius: var(--lt3-radius-sm);
|
|
159
|
-
transition: background var(--lt3-dur-2) var(--lt3-ease);
|
|
160
|
-
}
|
|
161
|
-
.lt3-rail__user:hover { background: var(--surface-2); }
|
|
162
|
-
.lt3-rail__user-meta { min-width: 0; line-height: 1.2; }
|
|
163
|
-
.lt3-rail__user-meta b { font-size: var(--lt3-text-sm); font-weight: var(--lt3-weight-semi); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
164
|
-
.lt3-rail__user-meta small { font-size: var(--lt3-text-2xs); color: var(--faint); }
|
|
165
|
-
|
|
166
|
-
/* ── Scope (workspace) switcher ──────────────────────────────────────────── */
|
|
167
|
-
.lt3-scope {
|
|
168
|
-
display: flex; align-items: center; gap: var(--lt3-space-3);
|
|
169
|
-
width: 100%;
|
|
170
|
-
padding: var(--lt3-space-3);
|
|
171
|
-
border-radius: var(--lt3-radius-md);
|
|
172
|
-
background: var(--surface-2);
|
|
173
|
-
border: 1px solid var(--border);
|
|
174
|
-
text-align: left;
|
|
175
|
-
transition: border-color var(--lt3-dur-2) var(--lt3-ease);
|
|
176
|
-
}
|
|
177
|
-
.lt3-scope:hover { border-color: var(--border-strong); }
|
|
178
|
-
.lt3-scope__icon {
|
|
179
|
-
display: grid; place-items: center; width: 30px; height: 30px; flex: none;
|
|
180
|
-
border-radius: var(--lt3-radius-xs);
|
|
181
|
-
background: var(--accent-soft); color: var(--accent);
|
|
182
|
-
}
|
|
183
|
-
.lt3-scope__meta { flex: 1; min-width: 0; line-height: 1.2; }
|
|
184
|
-
.lt3-scope__meta b { font-size: var(--lt3-text-sm); font-weight: var(--lt3-weight-semi); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
185
|
-
.lt3-scope__meta small { font-size: var(--lt3-text-2xs); color: var(--faint); text-transform: capitalize; }
|
|
186
|
-
.lt3-scope .ti-selector, .lt3-scope > .ti:last-child { color: var(--faint); font-size: 1rem; }
|
|
187
|
-
|
|
188
|
-
/* Scope dropdown menu */
|
|
189
|
-
.lt3-menu {
|
|
190
|
-
position: absolute;
|
|
191
|
-
z-index: var(--lt3-z-drawer);
|
|
192
|
-
min-width: 240px;
|
|
193
|
-
padding: var(--lt3-space-2);
|
|
194
|
-
background: var(--surface-elevated);
|
|
195
|
-
border: 1px solid var(--border);
|
|
196
|
-
border-radius: var(--lt3-radius-md);
|
|
197
|
-
box-shadow: var(--lt3-elev-2);
|
|
198
|
-
display: flex; flex-direction: column; gap: 2px;
|
|
199
|
-
}
|
|
200
|
-
.lt3-menu__item {
|
|
201
|
-
display: flex; align-items: center; gap: var(--lt3-space-3);
|
|
202
|
-
padding: var(--lt3-space-3);
|
|
203
|
-
border-radius: var(--lt3-radius-sm);
|
|
204
|
-
font-size: var(--lt3-text-sm);
|
|
205
|
-
text-align: left;
|
|
206
|
-
transition: background var(--lt3-dur-1) var(--lt3-ease);
|
|
207
|
-
}
|
|
208
|
-
.lt3-menu__item:hover { background: var(--surface-2); }
|
|
209
|
-
.lt3-menu__item[data-active="true"] { color: var(--accent); }
|
|
210
|
-
.lt3-menu__sep { height: 1px; background: var(--border); margin: var(--lt3-space-1) 0; }
|
|
211
|
-
|
|
212
|
-
/* ── Main column ─────────────────────────────────────────────────────────── */
|
|
213
|
-
.lt3-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
|
|
214
|
-
|
|
215
|
-
.lt3-topbar {
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: center;
|
|
218
|
-
gap: var(--lt3-space-3);
|
|
219
|
-
min-height: var(--lt3-topbar-h);
|
|
220
|
-
flex: none;
|
|
221
|
-
padding: 0 var(--lt3-space-5);
|
|
222
|
-
border-bottom: 1px solid var(--border);
|
|
223
|
-
background: color-mix(in srgb, var(--surface-elevated) 88%, transparent);
|
|
224
|
-
z-index: var(--lt3-z-topbar);
|
|
225
|
-
}
|
|
226
|
-
.lt3-topbar__menu { display: none; }
|
|
227
|
-
.lt3-topbar__crumbs { display: flex; align-items: center; gap: var(--lt3-space-2); min-width: 0; }
|
|
228
|
-
.lt3-topbar__crumbs .ti { color: var(--faint); font-size: 0.95rem; }
|
|
229
|
-
.lt3-crumb { font-size: var(--lt3-text-sm); color: var(--muted); white-space: nowrap; }
|
|
230
|
-
.lt3-crumb--current { color: var(--text); font-weight: var(--lt3-weight-semi); }
|
|
231
|
-
|
|
232
|
-
.lt3-cmd-trigger {
|
|
233
|
-
display: flex; align-items: center; gap: var(--lt3-space-3);
|
|
234
|
-
height: 34px; width: min(360px, 38vw);
|
|
235
|
-
padding: 0 var(--lt3-space-3);
|
|
236
|
-
border-radius: var(--lt3-radius-sm);
|
|
237
|
-
background: var(--surface-2);
|
|
238
|
-
border: 1px solid var(--border);
|
|
239
|
-
color: var(--faint);
|
|
240
|
-
font-size: var(--lt3-text-sm);
|
|
241
|
-
transition: border-color var(--lt3-dur-2) var(--lt3-ease);
|
|
242
|
-
}
|
|
243
|
-
.lt3-cmd-trigger:hover { border-color: var(--border-strong); }
|
|
244
|
-
.lt3-cmd-trigger .ti { font-size: 1.05rem; }
|
|
245
|
-
.lt3-cmd-trigger .lt3-kbd { margin-left: auto; }
|
|
246
|
-
|
|
247
|
-
.lt3-mode {
|
|
248
|
-
display: inline-flex;
|
|
249
|
-
padding: 3px;
|
|
250
|
-
gap: 2px;
|
|
251
|
-
background: var(--surface-2);
|
|
252
|
-
border: 1px solid var(--border);
|
|
253
|
-
border-radius: var(--lt3-radius-md);
|
|
254
|
-
}
|
|
255
|
-
.lt3-mode button {
|
|
256
|
-
display: inline-flex; align-items: center; gap: var(--lt3-space-2);
|
|
257
|
-
padding: var(--lt3-space-2) var(--lt3-space-3);
|
|
258
|
-
border-radius: var(--lt3-radius-sm);
|
|
259
|
-
font-size: var(--lt3-text-xs);
|
|
260
|
-
font-weight: var(--lt3-weight-semi);
|
|
261
|
-
color: var(--muted);
|
|
262
|
-
}
|
|
263
|
-
.lt3-mode button .ti { font-size: 0.95rem; }
|
|
264
|
-
.lt3-mode button[data-active="true"] { background: var(--surface); color: var(--text); box-shadow: var(--lt3-elev-1); }
|
|
265
|
-
.lt3-mode button[data-mode="admin"][data-active="true"] { color: var(--accent-pink); }
|
|
266
|
-
|
|
267
|
-
/* ── View outlet ─────────────────────────────────────────────────────────── */
|
|
268
|
-
.lt3-view {
|
|
269
|
-
flex: 1;
|
|
270
|
-
min-height: 0;
|
|
271
|
-
overflow-y: auto;
|
|
272
|
-
scroll-behavior: smooth;
|
|
273
|
-
}
|
|
274
|
-
.lt3-view__inner {
|
|
275
|
-
max-width: var(--lt3-content-max);
|
|
276
|
-
margin: 0 auto;
|
|
277
|
-
padding: var(--lt3-space-6) var(--lt3-content-pad) var(--lt3-space-9);
|
|
278
|
-
display: flex;
|
|
279
|
-
flex-direction: column;
|
|
280
|
-
gap: var(--lt3-space-6);
|
|
281
|
-
}
|
|
282
|
-
.lt3-view--wide .lt3-view__inner { max-width: none; }
|
|
283
|
-
.lt3-view--flush { overflow: hidden; }
|
|
284
|
-
.lt3-view--flush .lt3-view__inner { padding: 0; max-width: none; height: 100%; gap: 0; }
|
|
285
|
-
|
|
286
|
-
/* View header */
|
|
287
|
-
.lt3-vhead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--lt3-space-4); flex-wrap: wrap; }
|
|
288
|
-
.lt3-vhead__title { font-size: var(--lt3-text-2xl); font-weight: var(--lt3-weight-bold); letter-spacing: var(--lt3-tracking-tight); }
|
|
289
|
-
.lt3-vhead__sub { font-size: var(--lt3-text-md); color: var(--muted); margin-top: var(--lt3-space-1); max-width: 64ch; }
|
|
290
|
-
.lt3-vhead__actions { display: flex; align-items: center; gap: var(--lt3-space-2); flex-wrap: wrap; }
|
|
291
|
-
|
|
292
|
-
/* Section heading inside a view */
|
|
293
|
-
.lt3-section__head { display: flex; align-items: center; justify-content: space-between; gap: var(--lt3-space-3); margin-bottom: var(--lt3-space-4); }
|
|
294
|
-
.lt3-section__title { font-size: var(--lt3-text-xl); font-weight: var(--lt3-weight-semi); letter-spacing: var(--lt3-tracking-tight); }
|
|
295
|
-
|
|
296
|
-
/* ── Retrieval lattice (signature identity component) ────────────────────── */
|
|
297
|
-
.lt3-pillars {
|
|
298
|
-
display: grid;
|
|
299
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
300
|
-
gap: var(--lt3-space-4);
|
|
301
|
-
}
|
|
302
|
-
.lt3-pillar {
|
|
303
|
-
position: relative;
|
|
304
|
-
overflow: hidden;
|
|
305
|
-
padding: var(--lt3-space-5);
|
|
306
|
-
border-radius: var(--lt3-radius-md);
|
|
307
|
-
background: var(--surface);
|
|
308
|
-
border: 1px solid var(--border);
|
|
309
|
-
}
|
|
310
|
-
.lt3-pillar::after {
|
|
311
|
-
content: "";
|
|
312
|
-
position: absolute; inset: 0 0 auto 0; height: 3px;
|
|
313
|
-
background: var(--_accent, var(--accent));
|
|
314
|
-
}
|
|
315
|
-
.lt3-pillar--graph { --_accent: var(--lt3-pillar-graph); }
|
|
316
|
-
.lt3-pillar--vector { --_accent: var(--lt3-pillar-vector); }
|
|
317
|
-
.lt3-pillar--hybrid { --_accent: var(--lt3-pillar-hybrid); }
|
|
318
|
-
.lt3-pillar__icon {
|
|
319
|
-
display: grid; place-items: center; width: 40px; height: 40px;
|
|
320
|
-
border-radius: var(--lt3-radius-sm);
|
|
321
|
-
background: color-mix(in srgb, var(--_accent) 16%, transparent);
|
|
322
|
-
color: var(--_accent);
|
|
323
|
-
margin-bottom: var(--lt3-space-3);
|
|
324
|
-
}
|
|
325
|
-
.lt3-pillar__icon .ti { font-size: 1.4rem; }
|
|
326
|
-
.lt3-pillar__name { font-size: var(--lt3-text-md); font-weight: var(--lt3-weight-bold); }
|
|
327
|
-
.lt3-pillar__desc { font-size: var(--lt3-text-xs); color: var(--muted); margin-top: 2px; }
|
|
328
|
-
.lt3-pillar__stat { display: flex; align-items: baseline; gap: var(--lt3-space-2); margin-top: var(--lt3-space-4); }
|
|
329
|
-
.lt3-pillar__num { font-size: var(--lt3-text-xl); font-weight: var(--lt3-weight-bold); color: var(--_accent); letter-spacing: var(--lt3-tracking-tight); }
|
|
330
|
-
.lt3-pillar__unit { font-size: var(--lt3-text-xs); color: var(--faint); }
|
|
331
|
-
|
|
332
|
-
/* Compact index-status chip for the topbar */
|
|
333
|
-
.lt3-idxchip {
|
|
334
|
-
display: inline-flex; align-items: center; gap: var(--lt3-space-2);
|
|
335
|
-
height: 30px; padding: 0 var(--lt3-space-3);
|
|
336
|
-
border-radius: var(--lt3-radius-pill);
|
|
337
|
-
background: var(--surface-2);
|
|
338
|
-
border: 1px solid var(--border);
|
|
339
|
-
font-size: var(--lt3-text-2xs);
|
|
340
|
-
font-weight: var(--lt3-weight-semi);
|
|
341
|
-
}
|
|
342
|
-
.lt3-idxchip__dots { display: inline-flex; gap: 3px; }
|
|
343
|
-
.lt3-idxchip__dot { width: 7px; height: 7px; border-radius: 99px; background: var(--surface-3); }
|
|
344
|
-
.lt3-idxchip__dot[data-on="true"][data-kind="graph"] { background: var(--lt3-pillar-graph); }
|
|
345
|
-
.lt3-idxchip__dot[data-on="true"][data-kind="vector"] { background: var(--lt3-pillar-vector); }
|
|
346
|
-
.lt3-idxchip__dot[data-on="true"][data-kind="hybrid"] { background: var(--lt3-pillar-hybrid); }
|
|
347
|
-
|
|
348
|
-
/* ── Command palette ─────────────────────────────────────────────────────── */
|
|
349
|
-
.lt3-scrim {
|
|
350
|
-
position: fixed; inset: 0;
|
|
351
|
-
z-index: var(--lt3-z-scrim);
|
|
352
|
-
/* Solid dim scrim — no backdrop blur (glassmorphism removed in v3.5.0 for a
|
|
353
|
-
crisp, stable surface). */
|
|
354
|
-
background: var(--overlay);
|
|
355
|
-
opacity: 0;
|
|
356
|
-
animation: lt3-fade var(--lt3-dur-2) var(--lt3-ease) forwards;
|
|
357
|
-
}
|
|
358
|
-
@keyframes lt3-fade { to { opacity: 1; } }
|
|
359
|
-
|
|
360
|
-
.lt3-palette {
|
|
361
|
-
position: fixed;
|
|
362
|
-
z-index: var(--lt3-z-palette);
|
|
363
|
-
top: 14vh; left: 50%;
|
|
364
|
-
transform: translateX(-50%);
|
|
365
|
-
width: min(620px, 92vw);
|
|
366
|
-
background: var(--surface-elevated);
|
|
367
|
-
border: 1px solid var(--border);
|
|
368
|
-
border-radius: var(--lt3-radius-md);
|
|
369
|
-
box-shadow: var(--lt3-elev-3);
|
|
370
|
-
overflow: hidden;
|
|
371
|
-
animation: lt3-pop var(--lt3-dur-3) var(--lt3-ease-out);
|
|
372
|
-
}
|
|
373
|
-
@keyframes lt3-pop { from { opacity: 0; transform: translate(-50%, 8px) scale(0.98); } to { opacity: 1; transform: translateX(-50%); } }
|
|
374
|
-
.lt3-palette__input {
|
|
375
|
-
display: flex; align-items: center; gap: var(--lt3-space-3);
|
|
376
|
-
padding: var(--lt3-space-4) var(--lt3-space-5);
|
|
377
|
-
border-bottom: 1px solid var(--border);
|
|
378
|
-
}
|
|
379
|
-
.lt3-palette__input .ti { font-size: 1.3rem; color: var(--faint); }
|
|
380
|
-
.lt3-palette__input input { flex: 1; background: none; border: none; outline: none; font-size: var(--lt3-text-lg); }
|
|
381
|
-
.lt3-palette__list { max-height: 52vh; overflow-y: auto; padding: var(--lt3-space-2); }
|
|
382
|
-
.lt3-palette__group-label { padding: var(--lt3-space-3) var(--lt3-space-3) var(--lt3-space-1); font-size: var(--lt3-text-2xs); text-transform: uppercase; letter-spacing: var(--lt3-tracking-caps); color: var(--faint); }
|
|
383
|
-
.lt3-palette__item {
|
|
384
|
-
display: flex; align-items: center; gap: var(--lt3-space-3);
|
|
385
|
-
width: 100%;
|
|
386
|
-
padding: var(--lt3-space-3);
|
|
387
|
-
border-radius: var(--lt3-radius-sm);
|
|
388
|
-
font-size: var(--lt3-text-sm);
|
|
389
|
-
text-align: left;
|
|
390
|
-
}
|
|
391
|
-
.lt3-palette__item .ti { font-size: 1.2rem; color: var(--muted); width: 22px; text-align: center; }
|
|
392
|
-
.lt3-palette__item[data-active="true"] { background: var(--accent-soft); color: var(--accent); }
|
|
393
|
-
.lt3-palette__item[data-active="true"] .ti { color: var(--accent); }
|
|
394
|
-
.lt3-palette__item small { margin-left: auto; color: var(--faint); font-size: var(--lt3-text-2xs); }
|
|
395
|
-
.lt3-palette__empty { padding: var(--lt3-space-6); text-align: center; color: var(--faint); font-size: var(--lt3-text-sm); }
|
|
396
|
-
|
|
397
|
-
/* ── Mobile drawer scaffolding ───────────────────────────────────────────── */
|
|
398
|
-
.lt3-rail__close { display: none; }
|
|
399
|
-
.lt3-rail__scrim { display: none; }
|
|
400
|
-
|
|
401
|
-
/* ── Responsive: tablet ──────────────────────────────────────────────────── */
|
|
402
|
-
@media (max-width: 1100px) {
|
|
403
|
-
.lt3-app { grid-template-columns: var(--lt3-rail-w-collapsed) minmax(0, 1fr); }
|
|
404
|
-
.lt3-rail { --_collapsed: 1; }
|
|
405
|
-
.lt3-rail__word, .lt3-rail__scope, .lt3-navgroup__label,
|
|
406
|
-
.lt3-navitem__copy, .lt3-navitem__badge,
|
|
407
|
-
.lt3-navitem__dot, .lt3-rail__user-meta, .lt3-rail__status { display: none; }
|
|
408
|
-
.lt3-rail__brand { justify-content: center; padding: var(--lt3-space-5) 0 var(--lt3-space-4); }
|
|
409
|
-
.lt3-rail__nav { align-items: center; }
|
|
410
|
-
.lt3-navitem { justify-content: center; align-items: center; padding: var(--lt3-space-3); width: 44px; min-height: 44px; }
|
|
411
|
-
.lt3-navitem .ti { margin-top: 0; }
|
|
412
|
-
.lt3-navitem[aria-current="page"]::before { left: -3px; }
|
|
413
|
-
.lt3-rail__foot { justify-content: center; }
|
|
414
|
-
.lt3-rail__user { justify-content: center; flex: none; }
|
|
415
|
-
.lt3-pillars { grid-template-columns: 1fr; }
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/* ── Responsive: mobile (rail becomes off-canvas drawer) ─────────────────── */
|
|
419
|
-
@media (max-width: 760px) {
|
|
420
|
-
.lt3-app { grid-template-columns: 1fr; }
|
|
421
|
-
.lt3-rail {
|
|
422
|
-
position: fixed; inset: 0 auto 0 0;
|
|
423
|
-
width: min(300px, 86vw);
|
|
424
|
-
transform: translateX(-104%);
|
|
425
|
-
transition: transform var(--lt3-dur-3) var(--lt3-ease);
|
|
426
|
-
box-shadow: var(--lt3-elev-3);
|
|
427
|
-
z-index: var(--lt3-z-drawer);
|
|
428
|
-
}
|
|
429
|
-
.lt3-rail__word, .lt3-rail__scope, .lt3-navgroup__label,
|
|
430
|
-
.lt3-navitem__badge, .lt3-navitem__dot, .lt3-rail__user-meta { display: revert; }
|
|
431
|
-
.lt3-navitem__copy, .lt3-rail__status { display: flex; }
|
|
432
|
-
.lt3-rail__brand { justify-content: flex-start; padding: var(--lt3-space-5) var(--lt3-space-5) var(--lt3-space-4); }
|
|
433
|
-
.lt3-rail__nav { align-items: stretch; }
|
|
434
|
-
.lt3-navitem { justify-content: flex-start; align-items: flex-start; width: auto; min-height: 42px; }
|
|
435
|
-
.lt3-rail__foot { justify-content: flex-start; }
|
|
436
|
-
.lt3-rail__user { flex: 1; justify-content: flex-start; }
|
|
437
|
-
|
|
438
|
-
.lt3-app[data-drawer="open"] .lt3-rail { transform: none; }
|
|
439
|
-
.lt3-app[data-drawer="open"] .lt3-rail__scrim {
|
|
440
|
-
display: block; position: fixed; inset: 0;
|
|
441
|
-
background: var(--overlay); z-index: var(--lt3-z-scrim);
|
|
442
|
-
}
|
|
443
|
-
.lt3-rail__close { display: inline-flex; position: absolute; top: var(--lt3-space-4); right: var(--lt3-space-3); }
|
|
444
|
-
|
|
445
|
-
.lt3-topbar__menu { display: inline-flex; }
|
|
446
|
-
.lt3-cmd-trigger { width: auto; flex: 1; }
|
|
447
|
-
.lt3-cmd-trigger span, .lt3-cmd-trigger .lt3-kbd { display: none; }
|
|
448
|
-
.lt3-mode button span { display: none; }
|
|
449
|
-
.lt3-mode button .ti { font-size: 1.1rem; }
|
|
450
|
-
.lt3-view__inner { padding: var(--lt3-space-5) var(--lt3-space-4) var(--lt3-space-8); gap: var(--lt3-space-5); }
|
|
451
|
-
.lt3-grid-2, .lt3-grid-3 { grid-template-columns: 1fr; }
|
|
452
|
-
}
|