lua-cli 2.2.8-alpha.2 → 2.3.0-alpha.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.
- package/API_REFERENCE.md +1408 -0
- package/CLI_REFERENCE.md +818 -0
- package/GETTING_STARTED.md +1040 -0
- package/README.md +738 -424
- package/TEMPLATE_GUIDE.md +1398 -0
- package/dist/api/agent.api.service.d.ts +33 -6
- package/dist/api/agent.api.service.js +27 -0
- package/dist/api/auth.api.service.d.ts +31 -2
- package/dist/api/auth.api.service.js +29 -0
- package/dist/api/basket.api.service.d.ts +53 -11
- package/dist/api/basket.api.service.js +63 -14
- package/dist/api/chat.api.service.d.ts +15 -3
- package/dist/api/chat.api.service.js +12 -0
- package/dist/api/credentials.d.ts +24 -0
- package/dist/api/credentials.js +46 -0
- package/dist/api/custom.data.api.service.d.ts +45 -9
- package/dist/api/custom.data.api.service.js +43 -9
- package/dist/api/lazy-instances.d.ts +49 -0
- package/dist/api/lazy-instances.js +95 -0
- package/dist/api/order.api.service.d.ts +34 -4
- package/dist/api/order.api.service.js +41 -3
- package/dist/api/products.api.service.d.ts +39 -9
- package/dist/api/products.api.service.js +43 -5
- package/dist/api/skills.api.service.d.ts +49 -2
- package/dist/api/skills.api.service.js +47 -1
- package/dist/api/tool.api.service.d.ts +39 -1
- package/dist/api/tool.api.service.js +38 -0
- package/dist/api/user.data.api.service.d.ts +23 -1
- package/dist/api/user.data.api.service.js +22 -0
- package/dist/api-exports.d.ts +236 -5
- package/dist/api-exports.js +264 -81
- package/dist/cli/command-definitions.d.ts +30 -0
- package/dist/cli/command-definitions.js +71 -0
- package/dist/commands/agents.d.ts +20 -0
- package/dist/commands/agents.js +24 -2
- package/dist/commands/apiKey.d.ts +23 -0
- package/dist/commands/apiKey.js +23 -0
- package/dist/commands/compile.d.ts +24 -0
- package/dist/commands/compile.js +67 -759
- package/dist/commands/configure.d.ts +24 -0
- package/dist/commands/configure.js +31 -96
- package/dist/commands/deploy.d.ts +31 -19
- package/dist/commands/deploy.js +45 -74
- package/dist/commands/destroy.d.ts +27 -0
- package/dist/commands/destroy.js +27 -1
- package/dist/commands/dev.d.ts +25 -62
- package/dist/commands/dev.js +58 -878
- package/dist/commands/init.d.ts +27 -0
- package/dist/commands/init.js +98 -260
- package/dist/commands/push.d.ts +24 -21
- package/dist/commands/push.js +39 -92
- package/dist/commands/test.d.ts +26 -0
- package/dist/commands/test.js +41 -188
- package/dist/common/basket.instance.d.ts +54 -3
- package/dist/common/basket.instance.js +56 -3
- package/dist/common/data.entry.instance.d.ts +25 -2
- package/dist/common/data.entry.instance.js +24 -0
- package/dist/common/http.client.d.ts +51 -1
- package/dist/common/http.client.js +50 -0
- package/dist/common/order.instance.d.ts +22 -0
- package/dist/common/order.instance.js +31 -4
- package/dist/common/product.instance.d.ts +22 -1
- package/dist/common/product.instance.js +24 -6
- package/dist/common/product.pagination.instance.d.ts +22 -2
- package/dist/common/product.pagination.instance.js +22 -1
- package/dist/common/product.search.instance.d.ts +13 -3
- package/dist/common/product.search.instance.js +12 -1
- package/dist/common/user.instance.d.ts +27 -3
- package/dist/common/user.instance.js +28 -7
- package/dist/config/auth.constants.d.ts +11 -0
- package/dist/config/auth.constants.js +11 -0
- package/dist/config/compile.constants.d.ts +67 -0
- package/dist/config/compile.constants.js +99 -0
- package/dist/config/constants.d.ts +5 -0
- package/dist/config/constants.js +5 -0
- package/dist/config/dev.constants.d.ts +65 -0
- package/dist/config/dev.constants.js +79 -0
- package/dist/config/init.constants.d.ts +23 -0
- package/dist/config/init.constants.js +41 -0
- package/dist/index.d.ts +19 -3
- package/dist/index.js +28 -44
- package/dist/interfaces/admin.d.ts +56 -50
- package/dist/interfaces/admin.js +4 -0
- package/dist/interfaces/agent.d.ts +21 -0
- package/dist/interfaces/agent.js +4 -0
- package/dist/interfaces/baskets.d.ts +60 -0
- package/dist/interfaces/baskets.js +12 -0
- package/dist/interfaces/chat.d.ts +48 -4
- package/dist/interfaces/chat.js +4 -0
- package/dist/interfaces/common.d.ts +62 -0
- package/dist/interfaces/common.js +8 -0
- package/dist/interfaces/compile.d.ts +11 -0
- package/dist/interfaces/compile.js +4 -0
- package/dist/interfaces/custom.data.d.ts +49 -19
- package/dist/interfaces/custom.data.js +4 -0
- package/dist/interfaces/deploy.d.ts +29 -0
- package/dist/interfaces/deploy.js +4 -0
- package/dist/interfaces/dev.d.ts +53 -0
- package/dist/interfaces/dev.js +5 -0
- package/dist/interfaces/init.d.ts +60 -0
- package/dist/interfaces/init.js +4 -0
- package/dist/interfaces/orders.d.ts +37 -0
- package/dist/interfaces/orders.js +12 -0
- package/dist/interfaces/product.d.ts +38 -10
- package/dist/interfaces/product.js +4 -0
- package/dist/interfaces/push.d.ts +26 -0
- package/dist/interfaces/push.js +4 -0
- package/dist/interfaces/test.d.ts +36 -0
- package/dist/interfaces/test.js +4 -0
- package/dist/services/auth.d.ts +54 -99
- package/dist/services/auth.js +76 -12
- package/dist/types/api-contracts.d.ts +211 -0
- package/dist/types/api-contracts.js +8 -0
- package/dist/types/compile.types.d.ts +76 -0
- package/dist/types/compile.types.js +4 -0
- package/dist/types/index.d.ts +23 -121
- package/dist/types/index.js +25 -14
- package/dist/types/skill.d.ts +142 -0
- package/dist/{skill.js → types/skill.js} +66 -17
- package/dist/types/tool-validation.d.ts +34 -0
- package/dist/types/tool-validation.js +42 -0
- package/dist/utils/auth-flows.d.ts +26 -0
- package/dist/utils/auth-flows.js +141 -0
- package/dist/utils/bundling.d.ts +36 -0
- package/dist/utils/bundling.js +137 -0
- package/dist/utils/compile.d.ts +37 -0
- package/dist/utils/compile.js +242 -0
- package/dist/utils/deploy-api.d.ts +26 -0
- package/dist/utils/deploy-api.js +53 -0
- package/dist/utils/deploy-helpers.d.ts +46 -0
- package/dist/utils/deploy-helpers.js +86 -0
- package/dist/utils/deployment.d.ts +25 -0
- package/dist/utils/deployment.js +161 -0
- package/dist/utils/dev-api.d.ts +61 -0
- package/dist/utils/dev-api.js +262 -0
- package/dist/utils/dev-helpers.d.ts +46 -0
- package/dist/utils/dev-helpers.js +83 -0
- package/dist/utils/dev-server.d.ts +24 -0
- package/dist/utils/dev-server.js +555 -0
- package/dist/utils/dev-watcher.d.ts +31 -0
- package/dist/utils/dev-watcher.js +110 -0
- package/dist/utils/files.js +0 -5
- package/dist/utils/init-agent.d.ts +34 -0
- package/dist/utils/init-agent.js +129 -0
- package/dist/utils/init-helpers.d.ts +41 -0
- package/dist/utils/init-helpers.js +73 -0
- package/dist/utils/init-prompts.d.ts +47 -0
- package/dist/utils/init-prompts.js +168 -0
- package/dist/utils/push-api.d.ts +15 -0
- package/dist/utils/push-api.js +48 -0
- package/dist/utils/push-helpers.d.ts +38 -0
- package/dist/utils/push-helpers.js +84 -0
- package/dist/utils/sandbox-storage.d.ts +27 -0
- package/dist/utils/sandbox-storage.js +71 -0
- package/dist/utils/sandbox.js +78 -114
- package/dist/utils/skill-management.d.ts +14 -0
- package/dist/utils/skill-management.js +148 -0
- package/dist/utils/test-helpers.d.ts +40 -0
- package/dist/utils/test-helpers.js +92 -0
- package/dist/utils/test-prompts.d.ts +23 -0
- package/dist/utils/test-prompts.js +186 -0
- package/dist/utils/tool-detection.d.ts +18 -0
- package/dist/utils/tool-detection.js +110 -0
- package/dist/web/app.css +941 -17
- package/dist/web/app.js +174 -22
- package/dist/web/index.html +7 -1
- package/package.json +13 -4
- package/template/QUICKSTART.md +299 -144
- package/template/README.md +928 -349
- package/template/TOOL_EXAMPLES.md +655 -0
- package/template/package-lock.json +5 -5
- package/template/package.json +1 -1
- package/template/src/index.ts +147 -207
- package/template/src/tools/BasketTool.ts +128 -0
- package/template/src/tools/CustomDataTool.ts +7 -13
- package/template/src/tools/OrderTool.ts +54 -0
- package/template/src/tools/PaymentTool.ts +1 -1
- package/template/src/tools/ProductsTool.ts +56 -118
- package/template/src/tools/UserDataTool.ts +4 -26
- package/dist/common/config.d.ts +0 -5
- package/dist/common/config.js +0 -5
- package/dist/custom-data-api.d.ts +0 -72
- package/dist/custom-data-api.js +0 -174
- package/dist/product-api.d.ts +0 -189
- package/dist/product-api.js +0 -141
- package/dist/services/api.d.ts +0 -549
- package/dist/services/api.js +0 -596
- package/dist/skill.d.ts +0 -50
- package/dist/types.d.ts +0 -1
- package/dist/types.js +0 -2
- package/dist/user-data-api.d.ts +0 -39
- package/dist/user-data-api.js +0 -50
- package/template/API.md +0 -604
- package/template/DEVELOPER.md +0 -771
- package/template/lua.skill.yaml +0 -7
package/dist/web/app.css
CHANGED
|
@@ -1,3 +1,919 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Onest:wght@400;500;600;700&display=swap') layer(base);
|
|
3
|
+
@layer properties;
|
|
4
|
+
@layer theme, base, components, utilities;
|
|
5
|
+
@layer theme {
|
|
6
|
+
#lua-root, #lua-root :host {
|
|
7
|
+
--lua-font-sans: Inter, sans-serif;
|
|
8
|
+
--lua-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
|
+
"Courier New", monospace;
|
|
10
|
+
--lua-color-gray-100: oklch(96.7% 0.003 264.542);
|
|
11
|
+
--lua-color-gray-200: oklch(92.8% 0.006 264.531);
|
|
12
|
+
--lua-color-gray-400: oklch(70.7% 0.022 261.325);
|
|
13
|
+
--lua-color-gray-700: oklch(37.3% 0.034 259.733);
|
|
14
|
+
--lua-color-gray-800: oklch(27.8% 0.033 256.848);
|
|
15
|
+
--lua-color-white: #fff;
|
|
16
|
+
--lua-spacing: 4px;
|
|
17
|
+
--lua-text-sm: 14px;
|
|
18
|
+
--lua-text-sm--line-height: calc(1.25 / 0.875);
|
|
19
|
+
--lua-font-weight-normal: 400;
|
|
20
|
+
--lua-leading-relaxed: 1.625;
|
|
21
|
+
--lua-radius-sm: calc(var(--radius) - 4px);
|
|
22
|
+
--lua-radius-lg: 8px;
|
|
23
|
+
--lua-radius-xl: 12px;
|
|
24
|
+
--lua-radius-2xl: 16px;
|
|
25
|
+
--lua-default-transition-duration: 150ms;
|
|
26
|
+
--lua-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
27
|
+
--lua-default-font-family: var(--lua-font-sans);
|
|
28
|
+
--lua-default-mono-font-family: var(--lua-font-mono);
|
|
29
|
+
--lua-font-heading: Onest, sans-serif;
|
|
30
|
+
--lua-color-background: hsl(var(--background));
|
|
31
|
+
--lua-color-foreground: hsl(var(--foreground));
|
|
32
|
+
--lua-color-primary: hsl(var(--primary));
|
|
33
|
+
--lua-color-border: hsl(var(--border));
|
|
34
|
+
--lua-color-ring: hsl(var(--ring));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
@layer base {
|
|
38
|
+
#lua-root *, #lua-root ::after, #lua-root ::before, #lua-root ::backdrop, #lua-root ::file-selector-button {
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
border: 0 solid;
|
|
43
|
+
}
|
|
44
|
+
#lua-root, #lua-root :host {
|
|
45
|
+
line-height: 1.5;
|
|
46
|
+
-webkit-text-size-adjust: 100%;
|
|
47
|
+
-moz-tab-size: 4;
|
|
48
|
+
-o-tab-size: 4;
|
|
49
|
+
tab-size: 4;
|
|
50
|
+
font-family: var(--lua-default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
51
|
+
font-feature-settings: var(--lua-default-font-feature-settings, normal);
|
|
52
|
+
font-variation-settings: var(--lua-default-font-variation-settings, normal);
|
|
53
|
+
-webkit-tap-highlight-color: transparent;
|
|
54
|
+
}
|
|
55
|
+
#lua-root hr {
|
|
56
|
+
height: 0;
|
|
57
|
+
color: inherit;
|
|
58
|
+
border-top-width: 1px;
|
|
59
|
+
}
|
|
60
|
+
#lua-root abbr:where([title]) {
|
|
61
|
+
-webkit-text-decoration: underline dotted;
|
|
62
|
+
text-decoration: underline dotted;
|
|
63
|
+
}
|
|
64
|
+
#lua-root h1, #lua-root h2, #lua-root h3, #lua-root h4, #lua-root h5, #lua-root h6 {
|
|
65
|
+
font-size: inherit;
|
|
66
|
+
font-weight: inherit;
|
|
67
|
+
}
|
|
68
|
+
#lua-root a {
|
|
69
|
+
color: inherit;
|
|
70
|
+
-webkit-text-decoration: inherit;
|
|
71
|
+
text-decoration: inherit;
|
|
72
|
+
}
|
|
73
|
+
#lua-root b, #lua-root strong {
|
|
74
|
+
font-weight: bolder;
|
|
75
|
+
}
|
|
76
|
+
#lua-root code, #lua-root kbd, #lua-root samp, #lua-root pre {
|
|
77
|
+
font-family: var(--lua-default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
78
|
+
font-feature-settings: var(--lua-default-mono-font-feature-settings, normal);
|
|
79
|
+
font-variation-settings: var(--lua-default-mono-font-variation-settings, normal);
|
|
80
|
+
font-size: 1em;
|
|
81
|
+
}
|
|
82
|
+
#lua-root small {
|
|
83
|
+
font-size: 80%;
|
|
84
|
+
}
|
|
85
|
+
#lua-root sub, #lua-root sup {
|
|
86
|
+
font-size: 75%;
|
|
87
|
+
line-height: 0;
|
|
88
|
+
position: relative;
|
|
89
|
+
vertical-align: baseline;
|
|
90
|
+
}
|
|
91
|
+
#lua-root sub {
|
|
92
|
+
bottom: -0.25em;
|
|
93
|
+
}
|
|
94
|
+
#lua-root sup {
|
|
95
|
+
top: -0.5em;
|
|
96
|
+
}
|
|
97
|
+
#lua-root table {
|
|
98
|
+
text-indent: 0;
|
|
99
|
+
border-color: inherit;
|
|
100
|
+
border-collapse: collapse;
|
|
101
|
+
}
|
|
102
|
+
#lua-root :-moz-focusring {
|
|
103
|
+
outline: auto;
|
|
104
|
+
}
|
|
105
|
+
#lua-root progress {
|
|
106
|
+
vertical-align: baseline;
|
|
107
|
+
}
|
|
108
|
+
#lua-root summary {
|
|
109
|
+
display: list-item;
|
|
110
|
+
}
|
|
111
|
+
#lua-root ol, #lua-root ul, #lua-root menu {
|
|
112
|
+
list-style: none;
|
|
113
|
+
}
|
|
114
|
+
#lua-root img, #lua-root svg, #lua-root video, #lua-root canvas, #lua-root audio, #lua-root iframe, #lua-root embed, #lua-root object {
|
|
115
|
+
display: block;
|
|
116
|
+
vertical-align: middle;
|
|
117
|
+
}
|
|
118
|
+
#lua-root img, #lua-root video {
|
|
119
|
+
max-width: 100%;
|
|
120
|
+
height: auto;
|
|
121
|
+
}
|
|
122
|
+
#lua-root button, #lua-root input, #lua-root select, #lua-root optgroup, #lua-root textarea, #lua-root ::file-selector-button {
|
|
123
|
+
font: inherit;
|
|
124
|
+
font-feature-settings: inherit;
|
|
125
|
+
font-variation-settings: inherit;
|
|
126
|
+
letter-spacing: inherit;
|
|
127
|
+
color: inherit;
|
|
128
|
+
border-radius: 0;
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
#lua-root :where(select:is([multiple], [size])) optgroup {
|
|
133
|
+
font-weight: bolder;
|
|
134
|
+
}
|
|
135
|
+
#lua-root :where(select:is([multiple], [size])) optgroup option {
|
|
136
|
+
padding-inline-start: 20px;
|
|
137
|
+
}
|
|
138
|
+
#lua-root ::file-selector-button {
|
|
139
|
+
margin-inline-end: 4px;
|
|
140
|
+
}
|
|
141
|
+
#lua-root ::-moz-placeholder {
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
144
|
+
#lua-root ::placeholder {
|
|
145
|
+
opacity: 1;
|
|
146
|
+
}
|
|
147
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
148
|
+
#lua-root ::-moz-placeholder {
|
|
149
|
+
color: currentcolor;
|
|
150
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
151
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
#lua-root ::placeholder {
|
|
155
|
+
color: currentcolor;
|
|
156
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
157
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
#lua-root textarea {
|
|
162
|
+
resize: vertical;
|
|
163
|
+
}
|
|
164
|
+
#lua-root ::-webkit-search-decoration {
|
|
165
|
+
-webkit-appearance: none;
|
|
166
|
+
}
|
|
167
|
+
#lua-root ::-webkit-date-and-time-value {
|
|
168
|
+
min-height: 1lh;
|
|
169
|
+
text-align: inherit;
|
|
170
|
+
}
|
|
171
|
+
#lua-root ::-webkit-datetime-edit {
|
|
172
|
+
display: inline-flex;
|
|
173
|
+
}
|
|
174
|
+
#lua-root ::-webkit-datetime-edit-fields-wrapper {
|
|
175
|
+
padding: 0;
|
|
176
|
+
}
|
|
177
|
+
#lua-root ::-webkit-datetime-edit, #lua-root ::-webkit-datetime-edit-year-field, #lua-root ::-webkit-datetime-edit-month-field, #lua-root ::-webkit-datetime-edit-day-field, #lua-root ::-webkit-datetime-edit-hour-field, #lua-root ::-webkit-datetime-edit-minute-field, #lua-root ::-webkit-datetime-edit-second-field, #lua-root ::-webkit-datetime-edit-millisecond-field, #lua-root ::-webkit-datetime-edit-meridiem-field {
|
|
178
|
+
padding-block: 0;
|
|
179
|
+
}
|
|
180
|
+
#lua-root ::-webkit-calendar-picker-indicator {
|
|
181
|
+
line-height: 1;
|
|
182
|
+
}
|
|
183
|
+
#lua-root :-moz-ui-invalid {
|
|
184
|
+
box-shadow: none;
|
|
185
|
+
}
|
|
186
|
+
#lua-root button, #lua-root input:where([type="button"], [type="reset"], [type="submit"]), #lua-root ::file-selector-button {
|
|
187
|
+
-webkit-appearance: button;
|
|
188
|
+
-moz-appearance: button;
|
|
189
|
+
appearance: button;
|
|
190
|
+
}
|
|
191
|
+
#lua-root ::-webkit-inner-spin-button, #lua-root ::-webkit-outer-spin-button {
|
|
192
|
+
height: auto;
|
|
193
|
+
}
|
|
194
|
+
#lua-root [hidden]:where(:not([hidden="until-found"])) {
|
|
195
|
+
display: none !important;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
@layer utilities {
|
|
199
|
+
#lua-root .lua\:relative {
|
|
200
|
+
position: relative;
|
|
201
|
+
}
|
|
202
|
+
#lua-root .lua\:mx-4 {
|
|
203
|
+
margin-inline: calc(var(--lua-spacing) * 4);
|
|
204
|
+
}
|
|
205
|
+
#lua-root .lua\:mr-4 {
|
|
206
|
+
margin-right: calc(var(--lua-spacing) * 4);
|
|
207
|
+
}
|
|
208
|
+
#lua-root .lua\:ml-4 {
|
|
209
|
+
margin-left: calc(var(--lua-spacing) * 4);
|
|
210
|
+
}
|
|
211
|
+
#lua-root .lua\:flex {
|
|
212
|
+
display: flex;
|
|
213
|
+
}
|
|
214
|
+
#lua-root .lua\:max-w-full {
|
|
215
|
+
max-width: 100%;
|
|
216
|
+
}
|
|
217
|
+
#lua-root .lua\:flex-col {
|
|
218
|
+
flex-direction: column;
|
|
219
|
+
}
|
|
220
|
+
#lua-root .lua\:flex-wrap {
|
|
221
|
+
flex-wrap: wrap;
|
|
222
|
+
}
|
|
223
|
+
#lua-root .lua\:items-end {
|
|
224
|
+
align-items: flex-end;
|
|
225
|
+
}
|
|
226
|
+
#lua-root .lua\:items-start {
|
|
227
|
+
align-items: flex-start;
|
|
228
|
+
}
|
|
229
|
+
#lua-root .lua\:justify-end {
|
|
230
|
+
justify-content: flex-end;
|
|
231
|
+
}
|
|
232
|
+
#lua-root .lua\:space-y-4 {
|
|
233
|
+
:where(& > :not(:last-child)) {
|
|
234
|
+
--tw-space-y-reverse: 0;
|
|
235
|
+
margin-block-start: calc(calc(var(--lua-spacing) * 4) * var(--tw-space-y-reverse));
|
|
236
|
+
margin-block-end: calc(calc(var(--lua-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
#lua-root .lua\:rounded-2xl {
|
|
240
|
+
border-radius: var(--lua-radius-2xl);
|
|
241
|
+
}
|
|
242
|
+
#lua-root .lua\:rounded-lg {
|
|
243
|
+
border-radius: var(--lua-radius-lg);
|
|
244
|
+
}
|
|
245
|
+
#lua-root .lua\:bg-gray-100 {
|
|
246
|
+
background-color: var(--lua-color-gray-100);
|
|
247
|
+
}
|
|
248
|
+
#lua-root .lua\:bg-white {
|
|
249
|
+
background-color: var(--lua-color-white);
|
|
250
|
+
}
|
|
251
|
+
#lua-root .lua\:p-3 {
|
|
252
|
+
padding: calc(var(--lua-spacing) * 3);
|
|
253
|
+
}
|
|
254
|
+
#lua-root .lua\:px-1 {
|
|
255
|
+
padding-inline: calc(var(--lua-spacing) * 1);
|
|
256
|
+
}
|
|
257
|
+
#lua-root .lua\:px-4 {
|
|
258
|
+
padding-inline: calc(var(--lua-spacing) * 4);
|
|
259
|
+
}
|
|
260
|
+
#lua-root .lua\:py-3 {
|
|
261
|
+
padding-block: calc(var(--lua-spacing) * 3);
|
|
262
|
+
}
|
|
263
|
+
#lua-root .lua\:leading-6 {
|
|
264
|
+
--tw-leading: calc(var(--lua-spacing) * 6);
|
|
265
|
+
line-height: calc(var(--lua-spacing) * 6);
|
|
266
|
+
}
|
|
267
|
+
#lua-root .lua\:font-normal {
|
|
268
|
+
--tw-font-weight: var(--lua-font-weight-normal);
|
|
269
|
+
font-weight: var(--lua-font-weight-normal);
|
|
270
|
+
}
|
|
271
|
+
#lua-root .lua\:whitespace-pre-wrap {
|
|
272
|
+
white-space: pre-wrap;
|
|
273
|
+
}
|
|
274
|
+
#lua-root .lua\:text-gray-400 {
|
|
275
|
+
color: var(--lua-color-gray-400);
|
|
276
|
+
}
|
|
277
|
+
#lua-root .lua\:text-gray-700 {
|
|
278
|
+
color: var(--lua-color-gray-700);
|
|
279
|
+
}
|
|
280
|
+
#lua-root .lua\:text-gray-800 {
|
|
281
|
+
color: var(--lua-color-gray-800);
|
|
282
|
+
}
|
|
283
|
+
#lua-root .lua\:sm\:mx-5 {
|
|
284
|
+
@media (width >= 40rem) {
|
|
285
|
+
margin-inline: calc(var(--lua-spacing) * 5);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
@layer base {
|
|
290
|
+
#lua-root *, #lua-root ::after, #lua-root ::before, #lua-root ::backdrop, #lua-root ::file-selector-button {
|
|
291
|
+
border-color: var(--color-gray-200, currentcolor);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
@layer base {
|
|
295
|
+
#lua-root {
|
|
296
|
+
--background: 0 0% 100%;
|
|
297
|
+
--foreground: 240 10% 3.9%;
|
|
298
|
+
--card: 0 0% 100%;
|
|
299
|
+
--card-foreground: 240 10% 3.9%;
|
|
300
|
+
--popover: 0 0% 100%;
|
|
301
|
+
--popover-foreground: 240 10% 3.9%;
|
|
302
|
+
--primary: 218 100% 59%;
|
|
303
|
+
--primary-foreground: 0 0% 100%;
|
|
304
|
+
--primary-hover: 218 91% 56%;
|
|
305
|
+
--primary-active: 218 85% 52%;
|
|
306
|
+
--secondary: 240 4.8% 95.9%;
|
|
307
|
+
--secondary-foreground: 240 5.9% 10%;
|
|
308
|
+
--secondary-hover: 240 4.8% 90%;
|
|
309
|
+
--secondary-active: 240 4.8% 85%;
|
|
310
|
+
--muted: 240 4.8% 95.9%;
|
|
311
|
+
--muted-foreground: 240 3.8% 46.1%;
|
|
312
|
+
--accent: 240 4.8% 95.9%;
|
|
313
|
+
--accent-foreground: 240 5.9% 10%;
|
|
314
|
+
--destructive: 351 100% 45%;
|
|
315
|
+
--destructive-foreground: 0 0% 100%;
|
|
316
|
+
--destructive-hover: 351 100% 40%;
|
|
317
|
+
--destructive-active: 351 100% 37%;
|
|
318
|
+
--border: 240 5.9% 90%;
|
|
319
|
+
--input: 240 5.9% 90%;
|
|
320
|
+
--ring: 240 5.9% 10%;
|
|
321
|
+
--chart-1: 12 76% 61%;
|
|
322
|
+
--chart-2: 173 58% 39%;
|
|
323
|
+
--chart-3: 197 37% 24%;
|
|
324
|
+
--chart-4: 43 74% 66%;
|
|
325
|
+
--chart-5: 27 87% 67%;
|
|
326
|
+
--radius: 0.5rem;
|
|
327
|
+
}
|
|
328
|
+
#lua-root .dark {
|
|
329
|
+
--background: 240 10% 3.9%;
|
|
330
|
+
--foreground: 0 0% 98%;
|
|
331
|
+
--card: 240 10% 3.9%;
|
|
332
|
+
--card-foreground: 0 0% 98%;
|
|
333
|
+
--popover: 240 10% 3.9%;
|
|
334
|
+
--popover-foreground: 0 0% 98%;
|
|
335
|
+
--primary: 218 100% 59%;
|
|
336
|
+
--primary-foreground: 0 0% 100%;
|
|
337
|
+
--primary-hover: 218 91% 56%;
|
|
338
|
+
--primary-active: 218 85% 52%;
|
|
339
|
+
--secondary: 240 3.7% 15.9%;
|
|
340
|
+
--secondary-foreground: 0 0% 98%;
|
|
341
|
+
--secondary-hover: 240 3.7% 20%;
|
|
342
|
+
--secondary-active: 240 3.7% 25%;
|
|
343
|
+
--muted: 240 3.7% 15.9%;
|
|
344
|
+
--muted-foreground: 240 5% 64.9%;
|
|
345
|
+
--accent: 240 3.7% 15.9%;
|
|
346
|
+
--accent-foreground: 0 0% 98%;
|
|
347
|
+
--destructive: 351 100% 45%;
|
|
348
|
+
--destructive-foreground: 0 0% 100%;
|
|
349
|
+
--destructive-hover: 351 100% 40%;
|
|
350
|
+
--destructive-active: 351 100% 37%;
|
|
351
|
+
--border: 240 3.7% 15.9%;
|
|
352
|
+
--input: 240 3.7% 15.9%;
|
|
353
|
+
--ring: 240 4.9% 83.9%;
|
|
354
|
+
--chart-1: 220 70% 50%;
|
|
355
|
+
--chart-2: 160 60% 45%;
|
|
356
|
+
--chart-3: 30 80% 55%;
|
|
357
|
+
--chart-4: 280 65% 60%;
|
|
358
|
+
--chart-5: 340 75% 55%;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
@layer base {
|
|
362
|
+
#lua-root * {
|
|
363
|
+
border-color: var(--lua-color-border);
|
|
364
|
+
}
|
|
365
|
+
#lua-root {
|
|
366
|
+
background-color: var(--lua-color-background);
|
|
367
|
+
font-family: var(--lua-font-sans);
|
|
368
|
+
color: var(--lua-color-foreground);
|
|
369
|
+
}
|
|
370
|
+
#lua-root h1, #lua-root h2, #lua-root h3, #lua-root h4, #lua-root h5, #lua-root h6 {
|
|
371
|
+
font-family: var(--lua-font-heading);
|
|
372
|
+
color: var(--lua-color-foreground);
|
|
373
|
+
}
|
|
374
|
+
#lua-root p {
|
|
375
|
+
font-family: var(--lua-font-sans);
|
|
376
|
+
font-size: var(--lua-text-sm);
|
|
377
|
+
line-height: var(--tw-leading, var(--lua-text-sm--line-height));
|
|
378
|
+
--tw-leading: var(--lua-leading-relaxed);
|
|
379
|
+
line-height: var(--lua-leading-relaxed);
|
|
380
|
+
color: var(--lua-color-foreground);
|
|
381
|
+
}
|
|
382
|
+
#lua-root a {
|
|
383
|
+
color: var(--lua-color-primary);
|
|
384
|
+
text-underline-offset: 4px;
|
|
385
|
+
&:hover {
|
|
386
|
+
@media (hover: hover) {
|
|
387
|
+
text-decoration-line: underline;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
&:focus-visible {
|
|
391
|
+
border-radius: var(--lua-radius-sm);
|
|
392
|
+
}
|
|
393
|
+
&:focus-visible {
|
|
394
|
+
outline-style: var(--tw-outline-style);
|
|
395
|
+
outline-width: 2px;
|
|
396
|
+
}
|
|
397
|
+
&:focus-visible {
|
|
398
|
+
outline-offset: 2px;
|
|
399
|
+
}
|
|
400
|
+
&:focus-visible {
|
|
401
|
+
outline-color: var(--lua-color-ring);
|
|
402
|
+
}
|
|
403
|
+
text-decoration-thickness: 1px;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
@keyframes slide-in-from-top {
|
|
407
|
+
0% {
|
|
408
|
+
transform: translateY(-100%);
|
|
409
|
+
}
|
|
410
|
+
100% {
|
|
411
|
+
transform: translateY(0);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
@keyframes slide-in-from-bottom {
|
|
415
|
+
0% {
|
|
416
|
+
transform: translateY(100%);
|
|
417
|
+
}
|
|
418
|
+
100% {
|
|
419
|
+
transform: translateY(0);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
@keyframes slide-in-from-left {
|
|
423
|
+
0% {
|
|
424
|
+
transform: translateX(-100%);
|
|
425
|
+
}
|
|
426
|
+
100% {
|
|
427
|
+
transform: translateX(0);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
@keyframes slide-in-from-right {
|
|
431
|
+
0% {
|
|
432
|
+
transform: translateX(100%);
|
|
433
|
+
}
|
|
434
|
+
100% {
|
|
435
|
+
transform: translateX(0);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
@keyframes slide-out-to-top {
|
|
439
|
+
0% {
|
|
440
|
+
transform: translateY(0);
|
|
441
|
+
}
|
|
442
|
+
100% {
|
|
443
|
+
transform: translateY(-100%);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
@keyframes slide-out-to-bottom {
|
|
447
|
+
0% {
|
|
448
|
+
transform: translateY(0);
|
|
449
|
+
}
|
|
450
|
+
100% {
|
|
451
|
+
transform: translateY(100%);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
@keyframes slide-out-to-left {
|
|
455
|
+
0% {
|
|
456
|
+
transform: translateX(0);
|
|
457
|
+
}
|
|
458
|
+
100% {
|
|
459
|
+
transform: translateX(-100%);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
@keyframes slide-out-to-right {
|
|
463
|
+
0% {
|
|
464
|
+
transform: translateX(0);
|
|
465
|
+
}
|
|
466
|
+
100% {
|
|
467
|
+
transform: translateX(100%);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
@keyframes fade-in {
|
|
471
|
+
0% {
|
|
472
|
+
opacity: 0;
|
|
473
|
+
}
|
|
474
|
+
100% {
|
|
475
|
+
opacity: 1;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
@keyframes fade-out {
|
|
479
|
+
0% {
|
|
480
|
+
opacity: 1;
|
|
481
|
+
}
|
|
482
|
+
100% {
|
|
483
|
+
opacity: 0;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
#lua-root .lua\:animate-in {
|
|
487
|
+
animation: fade-in 0.2s ease-out;
|
|
488
|
+
}
|
|
489
|
+
#lua-root .lua\:animate-out {
|
|
490
|
+
animation: fade-out 0.2s ease-out;
|
|
491
|
+
}
|
|
492
|
+
#lua-root .lua\:fade-in-0 {
|
|
493
|
+
animation: fade-in 0.2s ease-out;
|
|
494
|
+
}
|
|
495
|
+
#lua-root .lua\:fade-out-0 {
|
|
496
|
+
animation: fade-out 0.2s ease-out;
|
|
497
|
+
}
|
|
498
|
+
#lua-root .lua\:slide-in-from-top {
|
|
499
|
+
animation: slide-in-from-top 0.3s ease-out;
|
|
500
|
+
}
|
|
501
|
+
#lua-root .lua\:slide-in-from-bottom {
|
|
502
|
+
animation: slide-in-from-bottom 0.3s ease-out;
|
|
503
|
+
}
|
|
504
|
+
#lua-root .lua\:slide-in-from-left {
|
|
505
|
+
animation: slide-in-from-left 0.3s ease-out;
|
|
506
|
+
}
|
|
507
|
+
#lua-root .lua\:slide-in-from-right {
|
|
508
|
+
animation: slide-in-from-right 0.3s ease-out;
|
|
509
|
+
}
|
|
510
|
+
#lua-root .lua\:slide-out-to-top {
|
|
511
|
+
animation: slide-out-to-top 0.3s ease-out;
|
|
512
|
+
}
|
|
513
|
+
#lua-root .lua\:slide-out-to-bottom {
|
|
514
|
+
animation: slide-out-to-bottom 0.3s ease-out;
|
|
515
|
+
}
|
|
516
|
+
#lua-root .lua\:slide-out-to-left {
|
|
517
|
+
animation: slide-out-to-left 0.3s ease-out;
|
|
518
|
+
}
|
|
519
|
+
#lua-root .lua\:slide-out-to-right {
|
|
520
|
+
animation: slide-out-to-right 0.3s ease-out;
|
|
521
|
+
}
|
|
522
|
+
#lua-root .lua\:data-\[state\=open\]\:animate-in[data-state="open"] {
|
|
523
|
+
animation: fade-in 0.2s ease-out;
|
|
524
|
+
}
|
|
525
|
+
#lua-root .lua\:data-\[state\=closed\]\:animate-out[data-state="closed"] {
|
|
526
|
+
animation: fade-out 0.2s ease-out;
|
|
527
|
+
}
|
|
528
|
+
#lua-root .lua\:data-\[state\=open\]\:fade-in-0[data-state="open"] {
|
|
529
|
+
animation: fade-in 0.2s ease-out;
|
|
530
|
+
}
|
|
531
|
+
#lua-root .lua\:data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
|
|
532
|
+
animation: fade-out 0.2s ease-out;
|
|
533
|
+
}
|
|
534
|
+
#lua-root .lua\:data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
|
|
535
|
+
animation: slide-in-from-top 0.3s ease-out;
|
|
536
|
+
}
|
|
537
|
+
#lua-root .lua\:data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
|
|
538
|
+
animation: slide-out-to-top 0.3s ease-out;
|
|
539
|
+
}
|
|
540
|
+
#lua-root .lua\:data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
|
|
541
|
+
animation: slide-in-from-bottom 0.3s ease-out;
|
|
542
|
+
}
|
|
543
|
+
#lua-root .lua\:data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
|
|
544
|
+
animation: slide-out-to-bottom 0.3s ease-out;
|
|
545
|
+
}
|
|
546
|
+
#lua-root .lua\:data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
|
|
547
|
+
animation: slide-in-from-left 0.3s ease-out;
|
|
548
|
+
}
|
|
549
|
+
#lua-root .lua\:data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
|
|
550
|
+
animation: slide-out-to-left 0.3s ease-out;
|
|
551
|
+
}
|
|
552
|
+
#lua-root .lua\:data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
|
|
553
|
+
animation: slide-in-from-right 0.3s ease-out;
|
|
554
|
+
}
|
|
555
|
+
#lua-root .lua\:data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
|
|
556
|
+
animation: slide-out-to-right 0.3s ease-out;
|
|
557
|
+
}
|
|
558
|
+
#lua-root .lua\:data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
559
|
+
animation-duration: 500ms;
|
|
560
|
+
}
|
|
561
|
+
#lua-root .lua\:data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
562
|
+
animation-duration: 300ms;
|
|
563
|
+
}
|
|
564
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Onest:wght@400;500;600;700&display=swap');
|
|
565
|
+
#lua-root, #lua-root {
|
|
566
|
+
background-color: white;
|
|
567
|
+
font-family: 'Inter', system-ui, sans-serif;
|
|
568
|
+
}
|
|
569
|
+
#lua-root h1, #lua-root h2, #lua-root h3, #lua-root h4, #lua-root h5, #lua-root h6 {
|
|
570
|
+
font-family: 'Onest', system-ui, sans-serif;
|
|
571
|
+
}
|
|
572
|
+
@layer base {
|
|
573
|
+
#lua-root {
|
|
574
|
+
--background: 0 0% 100%;
|
|
575
|
+
--foreground: 240 10% 3.9%;
|
|
576
|
+
--card: 0 0% 100%;
|
|
577
|
+
--card-foreground: 240 10% 3.9%;
|
|
578
|
+
--popover: 0 0% 100%;
|
|
579
|
+
--popover-foreground: 240 10% 3.9%;
|
|
580
|
+
--primary: 240 5.9% 10%;
|
|
581
|
+
--primary-foreground: 0 0% 98%;
|
|
582
|
+
--secondary: 240 4.8% 95.9%;
|
|
583
|
+
--secondary-foreground: 240 5.9% 10%;
|
|
584
|
+
--secondary-hover: 240 4.8% 90%;
|
|
585
|
+
--secondary-active: 240 4.8% 85%;
|
|
586
|
+
--muted: 240 4.8% 95.9%;
|
|
587
|
+
--muted-foreground: 240 3.8% 46.1%;
|
|
588
|
+
--accent: 240 4.8% 95.9%;
|
|
589
|
+
--accent-foreground: 240 5.9% 10%;
|
|
590
|
+
--destructive: 0 84.2% 60.2%;
|
|
591
|
+
--destructive-foreground: 0 0% 98%;
|
|
592
|
+
--border: 240 5.9% 90%;
|
|
593
|
+
--input: 240 5.9% 90%;
|
|
594
|
+
--ring: 240 5.9% 10%;
|
|
595
|
+
--chart-1: 12 76% 61%;
|
|
596
|
+
--chart-2: 173 58% 39%;
|
|
597
|
+
--chart-3: 197 37% 24%;
|
|
598
|
+
--chart-4: 43 74% 66%;
|
|
599
|
+
--chart-5: 27 87% 67%;
|
|
600
|
+
--radius: 0.5rem;
|
|
601
|
+
}
|
|
602
|
+
#lua-root .dark {
|
|
603
|
+
--background: 240 10% 3.9%;
|
|
604
|
+
--foreground: 0 0% 98%;
|
|
605
|
+
--card: 240 10% 3.9%;
|
|
606
|
+
--card-foreground: 0 0% 98%;
|
|
607
|
+
--popover: 240 10% 3.9%;
|
|
608
|
+
--popover-foreground: 0 0% 98%;
|
|
609
|
+
--primary: 0 0% 98%;
|
|
610
|
+
--primary-foreground: 240 5.9% 10%;
|
|
611
|
+
--secondary: 240 3.7% 15.9%;
|
|
612
|
+
--secondary-foreground: 0 0% 98%;
|
|
613
|
+
--secondary-hover: 240 3.7% 20%;
|
|
614
|
+
--secondary-active: 240 3.7% 25%;
|
|
615
|
+
--muted: 240 3.7% 15.9%;
|
|
616
|
+
--muted-foreground: 240 5% 64.9%;
|
|
617
|
+
--accent: 240 3.7% 15.9%;
|
|
618
|
+
--accent-foreground: 0 0% 98%;
|
|
619
|
+
--destructive: 0 62.8% 30.6%;
|
|
620
|
+
--destructive-foreground: 0 0% 98%;
|
|
621
|
+
--border: 240 3.7% 15.9%;
|
|
622
|
+
--input: 240 3.7% 15.9%;
|
|
623
|
+
--ring: 240 4.9% 83.9%;
|
|
624
|
+
--chart-1: 220 70% 50%;
|
|
625
|
+
--chart-2: 160 60% 45%;
|
|
626
|
+
--chart-3: 30 80% 55%;
|
|
627
|
+
--chart-4: 280 65% 60%;
|
|
628
|
+
--chart-5: 340 75% 55%;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
@layer base {
|
|
632
|
+
#lua-root * {
|
|
633
|
+
border-color: hsl(var(--border));
|
|
634
|
+
}
|
|
635
|
+
#lua-root {
|
|
636
|
+
background-color: hsl(var(--background));
|
|
637
|
+
color: hsl(var(--foreground));
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
@layer components {
|
|
641
|
+
#lua-root .chat-list-item-container {
|
|
642
|
+
display: grid;
|
|
643
|
+
max-width: 560px;
|
|
644
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
645
|
+
gap: calc(var(--lua-spacing) * 2);
|
|
646
|
+
}
|
|
647
|
+
#lua-root .chat-list-item {
|
|
648
|
+
position: relative;
|
|
649
|
+
margin-inline: calc(var(--lua-spacing) * 0);
|
|
650
|
+
cursor: pointer;
|
|
651
|
+
border-radius: var(--lua-radius-xl);
|
|
652
|
+
border-style: var(--tw-border-style);
|
|
653
|
+
border-width: 1px;
|
|
654
|
+
border-color: var(--lua-color-gray-200);
|
|
655
|
+
background-color: var(--lua-color-white);
|
|
656
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
657
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
658
|
+
transition-property: all;
|
|
659
|
+
transition-timing-function: var(--tw-ease, var(--lua-default-transition-timing-function));
|
|
660
|
+
transition-duration: var(--tw-duration, var(--lua-default-transition-duration));
|
|
661
|
+
--tw-duration: 200ms;
|
|
662
|
+
transition-duration: 200ms;
|
|
663
|
+
&:hover {
|
|
664
|
+
@media (hover: hover) {
|
|
665
|
+
border-color: var(--lua-color-gray-200);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
&:hover {
|
|
669
|
+
@media (hover: hover) {
|
|
670
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
671
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
&:active {
|
|
675
|
+
scale: 0.98;
|
|
676
|
+
}
|
|
677
|
+
&:active {
|
|
678
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
679
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
680
|
+
}
|
|
681
|
+
@media (width >= 40rem) {
|
|
682
|
+
margin-inline: calc(var(--lua-spacing) * 5);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
@media (min-width: 640px) {
|
|
686
|
+
#lua-root .chat-list-item-container {
|
|
687
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
688
|
+
}
|
|
689
|
+
#lua-root .chat-list-item-image-wrapper {
|
|
690
|
+
height: calc(var(--lua-spacing) * 24);
|
|
691
|
+
width: calc(var(--lua-spacing) * 24);
|
|
692
|
+
flex-shrink: 0;
|
|
693
|
+
}
|
|
694
|
+
#lua-root .chat-list-item-image {
|
|
695
|
+
height: calc(var(--lua-spacing) * 24);
|
|
696
|
+
width: calc(var(--lua-spacing) * 24);
|
|
697
|
+
border-radius: var(--lua-radius-lg);
|
|
698
|
+
-o-object-fit: cover;
|
|
699
|
+
object-fit: cover;
|
|
700
|
+
}
|
|
701
|
+
#lua-root .chat-list-item-content {
|
|
702
|
+
display: flex;
|
|
703
|
+
gap: calc(var(--lua-spacing) * 4);
|
|
704
|
+
}
|
|
705
|
+
#lua-root .chat-list-item {
|
|
706
|
+
width: 100%;
|
|
707
|
+
padding: calc(var(--lua-spacing) * 3);
|
|
708
|
+
}
|
|
709
|
+
#lua-root .markdown-image-carousel {
|
|
710
|
+
gap: calc(var(--lua-spacing) * 4);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
@media (max-width: 639px) {
|
|
714
|
+
#lua-root .chat-list-item-container {
|
|
715
|
+
display: flex;
|
|
716
|
+
max-width: 100%;
|
|
717
|
+
scroll-snap-type: x var(--tw-scroll-snap-strictness);
|
|
718
|
+
--tw-scroll-snap-strictness: mandatory;
|
|
719
|
+
gap: calc(var(--lua-spacing) * 2);
|
|
720
|
+
overflow: scroll;
|
|
721
|
+
overflow-x: auto;
|
|
722
|
+
padding-inline: calc(var(--lua-spacing) * 4);
|
|
723
|
+
padding-bottom: calc(var(--lua-spacing) * 4);
|
|
724
|
+
scrollbar-width: none;
|
|
725
|
+
-ms-overflow-style: none;
|
|
726
|
+
}
|
|
727
|
+
#lua-root .chat-list-item-image-wrapper {
|
|
728
|
+
width: 100%;
|
|
729
|
+
}
|
|
730
|
+
#lua-root .chat-list-item-content {
|
|
731
|
+
display: flex;
|
|
732
|
+
flex-direction: column;
|
|
733
|
+
}
|
|
734
|
+
#lua-root .chat-list-item-image {
|
|
735
|
+
height: 216px;
|
|
736
|
+
width: 100%;
|
|
737
|
+
border-top-left-radius: var(--lua-radius-lg);
|
|
738
|
+
border-top-right-radius: var(--lua-radius-lg);
|
|
739
|
+
-o-object-fit: cover;
|
|
740
|
+
object-fit: cover;
|
|
741
|
+
}
|
|
742
|
+
#lua-root .chat-list-item-container::-webkit-scrollbar {
|
|
743
|
+
display: none;
|
|
744
|
+
}
|
|
745
|
+
#lua-root .chat-list-item {
|
|
746
|
+
width: 240px;
|
|
747
|
+
flex: none;
|
|
748
|
+
}
|
|
749
|
+
#lua-root .chat-list-item img {
|
|
750
|
+
height: 216px;
|
|
751
|
+
width: 100%;
|
|
752
|
+
border-top-left-radius: var(--lua-radius-lg);
|
|
753
|
+
border-top-right-radius: var(--lua-radius-lg);
|
|
754
|
+
-o-object-fit: cover;
|
|
755
|
+
object-fit: cover;
|
|
756
|
+
}
|
|
757
|
+
#lua-root .chat-list-item .content-container {
|
|
758
|
+
padding: calc(var(--lua-spacing) * 4);
|
|
759
|
+
}
|
|
760
|
+
#lua-root .markdown-image-carousel {
|
|
761
|
+
gap: calc(var(--lua-spacing) * 2);
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
#lua-root .markdown-image-carousel {
|
|
765
|
+
display: flex;
|
|
766
|
+
scroll-snap-type: x var(--tw-scroll-snap-strictness);
|
|
767
|
+
--tw-scroll-snap-strictness: mandatory;
|
|
768
|
+
overflow-x: auto;
|
|
769
|
+
padding-inline: calc(var(--lua-spacing) * 4);
|
|
770
|
+
padding-bottom: calc(var(--lua-spacing) * 4);
|
|
771
|
+
scrollbar-width: none;
|
|
772
|
+
-ms-overflow-style: none;
|
|
773
|
+
}
|
|
774
|
+
#lua-root .markdown-image-item {
|
|
775
|
+
max-width: 300px;
|
|
776
|
+
flex: none;
|
|
777
|
+
border-radius: var(--lua-radius-xl);
|
|
778
|
+
}
|
|
779
|
+
#lua-root .markdown-image-item {
|
|
780
|
+
img {
|
|
781
|
+
height: 250px;
|
|
782
|
+
border-radius: var(--lua-radius-xl);
|
|
783
|
+
background-color: var(--lua-color-gray-100);
|
|
784
|
+
-o-object-fit: cover;
|
|
785
|
+
object-fit: cover;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
#lua-root .leaflet-container {
|
|
789
|
+
z-index: 1;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
@property --tw-space-y-reverse {
|
|
793
|
+
syntax: "*";
|
|
794
|
+
inherits: false;
|
|
795
|
+
initial-value: 0;
|
|
796
|
+
}
|
|
797
|
+
@property --tw-leading {
|
|
798
|
+
syntax: "*";
|
|
799
|
+
inherits: false;
|
|
800
|
+
}
|
|
801
|
+
@property --tw-font-weight {
|
|
802
|
+
syntax: "*";
|
|
803
|
+
inherits: false;
|
|
804
|
+
}
|
|
805
|
+
@property --tw-outline-style {
|
|
806
|
+
syntax: "*";
|
|
807
|
+
inherits: false;
|
|
808
|
+
initial-value: solid;
|
|
809
|
+
}
|
|
810
|
+
@property --tw-border-style {
|
|
811
|
+
syntax: "*";
|
|
812
|
+
inherits: false;
|
|
813
|
+
initial-value: solid;
|
|
814
|
+
}
|
|
815
|
+
@property --tw-shadow {
|
|
816
|
+
syntax: "*";
|
|
817
|
+
inherits: false;
|
|
818
|
+
initial-value: 0 0 #0000;
|
|
819
|
+
}
|
|
820
|
+
@property --tw-shadow-color {
|
|
821
|
+
syntax: "*";
|
|
822
|
+
inherits: false;
|
|
823
|
+
}
|
|
824
|
+
@property --tw-shadow-alpha {
|
|
825
|
+
syntax: "<percentage>";
|
|
826
|
+
inherits: false;
|
|
827
|
+
initial-value: 100%;
|
|
828
|
+
}
|
|
829
|
+
@property --tw-inset-shadow {
|
|
830
|
+
syntax: "*";
|
|
831
|
+
inherits: false;
|
|
832
|
+
initial-value: 0 0 #0000;
|
|
833
|
+
}
|
|
834
|
+
@property --tw-inset-shadow-color {
|
|
835
|
+
syntax: "*";
|
|
836
|
+
inherits: false;
|
|
837
|
+
}
|
|
838
|
+
@property --tw-inset-shadow-alpha {
|
|
839
|
+
syntax: "<percentage>";
|
|
840
|
+
inherits: false;
|
|
841
|
+
initial-value: 100%;
|
|
842
|
+
}
|
|
843
|
+
@property --tw-ring-color {
|
|
844
|
+
syntax: "*";
|
|
845
|
+
inherits: false;
|
|
846
|
+
}
|
|
847
|
+
@property --tw-ring-shadow {
|
|
848
|
+
syntax: "*";
|
|
849
|
+
inherits: false;
|
|
850
|
+
initial-value: 0 0 #0000;
|
|
851
|
+
}
|
|
852
|
+
@property --tw-inset-ring-color {
|
|
853
|
+
syntax: "*";
|
|
854
|
+
inherits: false;
|
|
855
|
+
}
|
|
856
|
+
@property --tw-inset-ring-shadow {
|
|
857
|
+
syntax: "*";
|
|
858
|
+
inherits: false;
|
|
859
|
+
initial-value: 0 0 #0000;
|
|
860
|
+
}
|
|
861
|
+
@property --tw-ring-inset {
|
|
862
|
+
syntax: "*";
|
|
863
|
+
inherits: false;
|
|
864
|
+
}
|
|
865
|
+
@property --tw-ring-offset-width {
|
|
866
|
+
syntax: "<length>";
|
|
867
|
+
inherits: false;
|
|
868
|
+
initial-value: 0px;
|
|
869
|
+
}
|
|
870
|
+
@property --tw-ring-offset-color {
|
|
871
|
+
syntax: "*";
|
|
872
|
+
inherits: false;
|
|
873
|
+
initial-value: #fff;
|
|
874
|
+
}
|
|
875
|
+
@property --tw-ring-offset-shadow {
|
|
876
|
+
syntax: "*";
|
|
877
|
+
inherits: false;
|
|
878
|
+
initial-value: 0 0 #0000;
|
|
879
|
+
}
|
|
880
|
+
@property --tw-duration {
|
|
881
|
+
syntax: "*";
|
|
882
|
+
inherits: false;
|
|
883
|
+
}
|
|
884
|
+
@property --tw-scroll-snap-strictness {
|
|
885
|
+
syntax: "*";
|
|
886
|
+
inherits: false;
|
|
887
|
+
initial-value: proximity;
|
|
888
|
+
}
|
|
889
|
+
@layer properties {
|
|
890
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
891
|
+
#lua-root *, #lua-root ::before, #lua-root ::after, #lua-root ::backdrop {
|
|
892
|
+
--tw-space-y-reverse: 0;
|
|
893
|
+
--tw-leading: initial;
|
|
894
|
+
--tw-font-weight: initial;
|
|
895
|
+
--tw-outline-style: solid;
|
|
896
|
+
--tw-border-style: solid;
|
|
897
|
+
--tw-shadow: 0 0 #0000;
|
|
898
|
+
--tw-shadow-color: initial;
|
|
899
|
+
--tw-shadow-alpha: 100%;
|
|
900
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
901
|
+
--tw-inset-shadow-color: initial;
|
|
902
|
+
--tw-inset-shadow-alpha: 100%;
|
|
903
|
+
--tw-ring-color: initial;
|
|
904
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
905
|
+
--tw-inset-ring-color: initial;
|
|
906
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
907
|
+
--tw-ring-inset: initial;
|
|
908
|
+
--tw-ring-offset-width: 0px;
|
|
909
|
+
--tw-ring-offset-color: #fff;
|
|
910
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
911
|
+
--tw-duration: initial;
|
|
912
|
+
--tw-scroll-snap-strictness: proximity;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
1
917
|
/* Main App CSS - Modular Imports */
|
|
2
918
|
|
|
3
919
|
/* Shared Styles */
|
|
@@ -72,8 +988,8 @@
|
|
|
72
988
|
|
|
73
989
|
/* Reset and base styles */
|
|
74
990
|
* {
|
|
75
|
-
margin: 0
|
|
76
|
-
padding: 0
|
|
991
|
+
/*margin: 0;*/
|
|
992
|
+
/*padding: 0;*/
|
|
77
993
|
box-sizing: border-box;
|
|
78
994
|
}
|
|
79
995
|
|
|
@@ -752,7 +1668,7 @@ a:focus-visible,
|
|
|
752
1668
|
}
|
|
753
1669
|
|
|
754
1670
|
.production-resize-handle::after {
|
|
755
|
-
content:
|
|
1671
|
+
content: "";
|
|
756
1672
|
position: absolute;
|
|
757
1673
|
top: 0;
|
|
758
1674
|
left: -2px;
|
|
@@ -810,7 +1726,7 @@ a:focus-visible,
|
|
|
810
1726
|
}
|
|
811
1727
|
|
|
812
1728
|
.right-panel-tabs .tab-button.active::after {
|
|
813
|
-
content:
|
|
1729
|
+
content: "";
|
|
814
1730
|
position: absolute;
|
|
815
1731
|
bottom: 0;
|
|
816
1732
|
left: 0;
|
|
@@ -821,7 +1737,7 @@ a:focus-visible,
|
|
|
821
1737
|
|
|
822
1738
|
.right-panel-content {
|
|
823
1739
|
flex: 1;
|
|
824
|
-
overflow:
|
|
1740
|
+
overflow: auto;
|
|
825
1741
|
}
|
|
826
1742
|
|
|
827
1743
|
.versions-panel,
|
|
@@ -892,7 +1808,7 @@ a:focus-visible,
|
|
|
892
1808
|
}
|
|
893
1809
|
|
|
894
1810
|
.column-tabs .tab-button.active::after {
|
|
895
|
-
content:
|
|
1811
|
+
content: "";
|
|
896
1812
|
position: absolute;
|
|
897
1813
|
bottom: 0;
|
|
898
1814
|
left: 0;
|
|
@@ -988,7 +1904,6 @@ a:focus-visible,
|
|
|
988
1904
|
}
|
|
989
1905
|
|
|
990
1906
|
.chat-header {
|
|
991
|
-
background: #2d2d30;
|
|
992
1907
|
color: #cccccc;
|
|
993
1908
|
padding: 12px 16px;
|
|
994
1909
|
border-bottom: 1px solid #3e3e42;
|
|
@@ -1060,7 +1975,6 @@ a:focus-visible,
|
|
|
1060
1975
|
flex: 1;
|
|
1061
1976
|
padding: 16px;
|
|
1062
1977
|
overflow-y: auto;
|
|
1063
|
-
background: #ffffff;
|
|
1064
1978
|
}
|
|
1065
1979
|
|
|
1066
1980
|
.message {
|
|
@@ -1108,7 +2022,6 @@ a:focus-visible,
|
|
|
1108
2022
|
padding: 12px 16px;
|
|
1109
2023
|
}
|
|
1110
2024
|
|
|
1111
|
-
|
|
1112
2025
|
/* Markdown styling for chat bubbles */
|
|
1113
2026
|
.message-bubble h1,
|
|
1114
2027
|
.message-bubble h2,
|
|
@@ -1144,7 +2057,9 @@ a:focus-visible,
|
|
|
1144
2057
|
background: rgba(0, 0, 0, 0.1);
|
|
1145
2058
|
padding: 2px 4px;
|
|
1146
2059
|
border-radius: 3px;
|
|
1147
|
-
font-family:
|
|
2060
|
+
font-family:
|
|
2061
|
+
'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New',
|
|
2062
|
+
monospace;
|
|
1148
2063
|
font-size: 13px;
|
|
1149
2064
|
}
|
|
1150
2065
|
|
|
@@ -1154,7 +2069,9 @@ a:focus-visible,
|
|
|
1154
2069
|
border-radius: 6px;
|
|
1155
2070
|
overflow-x: auto;
|
|
1156
2071
|
margin: 8px 0;
|
|
1157
|
-
font-family:
|
|
2072
|
+
font-family:
|
|
2073
|
+
'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New',
|
|
2074
|
+
monospace;
|
|
1158
2075
|
font-size: 13px;
|
|
1159
2076
|
line-height: 1.4;
|
|
1160
2077
|
}
|
|
@@ -1180,7 +2097,7 @@ a:focus-visible,
|
|
|
1180
2097
|
}
|
|
1181
2098
|
|
|
1182
2099
|
.message-bubble a {
|
|
1183
|
-
color: #
|
|
2100
|
+
color: #007aff;
|
|
1184
2101
|
text-decoration: none;
|
|
1185
2102
|
}
|
|
1186
2103
|
|
|
@@ -4303,6 +5220,7 @@ a:focus-visible,
|
|
|
4303
5220
|
flex-direction: column;
|
|
4304
5221
|
padding: 16px;
|
|
4305
5222
|
overflow-y: auto;
|
|
5223
|
+
min-height: 0;
|
|
4306
5224
|
}
|
|
4307
5225
|
|
|
4308
5226
|
.env-loading {
|
|
@@ -4391,7 +5309,7 @@ a:focus-visible,
|
|
|
4391
5309
|
color: #ffffff;
|
|
4392
5310
|
padding: 6px 10px;
|
|
4393
5311
|
font-size: 12px;
|
|
4394
|
-
font-family:
|
|
5312
|
+
font-family: "Monaco", "Menlo", "Consolas", monospace;
|
|
4395
5313
|
}
|
|
4396
5314
|
|
|
4397
5315
|
.env-input:focus {
|
|
@@ -4429,7 +5347,10 @@ a:focus-visible,
|
|
|
4429
5347
|
|
|
4430
5348
|
/* Environment Variables List */
|
|
4431
5349
|
.env-variables {
|
|
4432
|
-
flex: 1;
|
|
5350
|
+
flex: 0 1 auto;
|
|
5351
|
+
overflow-y: visible;
|
|
5352
|
+
min-height: 0;
|
|
5353
|
+
padding-right: 4px;
|
|
4433
5354
|
}
|
|
4434
5355
|
|
|
4435
5356
|
.env-list {
|
|
@@ -4461,7 +5382,7 @@ a:focus-visible,
|
|
|
4461
5382
|
align-items: flex-start;
|
|
4462
5383
|
gap: 8px;
|
|
4463
5384
|
flex: 1;
|
|
4464
|
-
font-family:
|
|
5385
|
+
font-family: "Monaco", "Menlo", "Consolas", monospace;
|
|
4465
5386
|
font-size: 12px;
|
|
4466
5387
|
min-height: 20px;
|
|
4467
5388
|
}
|
|
@@ -4586,7 +5507,7 @@ a:focus-visible,
|
|
|
4586
5507
|
color: #ffffff;
|
|
4587
5508
|
padding: 6px 8px;
|
|
4588
5509
|
font-size: 12px;
|
|
4589
|
-
font-family:
|
|
5510
|
+
font-family: "Monaco", "Menlo", "Consolas", monospace;
|
|
4590
5511
|
line-height: 1.3;
|
|
4591
5512
|
}
|
|
4592
5513
|
|
|
@@ -4698,6 +5619,7 @@ a:focus-visible,
|
|
|
4698
5619
|
|
|
4699
5620
|
/* Help Section */
|
|
4700
5621
|
.env-help {
|
|
5622
|
+
flex-shrink: 0;
|
|
4701
5623
|
margin-top: 16px;
|
|
4702
5624
|
padding: 12px;
|
|
4703
5625
|
background: rgba(0, 122, 204, 0.1);
|
|
@@ -4720,7 +5642,7 @@ a:focus-visible,
|
|
|
4720
5642
|
background: rgba(255, 255, 255, 0.1);
|
|
4721
5643
|
padding: 2px 4px;
|
|
4722
5644
|
border-radius: 2px;
|
|
4723
|
-
font-family:
|
|
5645
|
+
font-family: "Monaco", "Menlo", "Consolas", monospace;
|
|
4724
5646
|
font-size: 13px;
|
|
4725
5647
|
color: #007acc;
|
|
4726
5648
|
}
|
|
@@ -5693,3 +6615,5 @@ a:focus-visible,
|
|
|
5693
6615
|
padding: 12px 16px;
|
|
5694
6616
|
}
|
|
5695
6617
|
}
|
|
6618
|
+
|
|
6619
|
+
|