@marimo-team/islands 0.19.8-dev16 → 0.19.8-dev17
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/dist/main.js
CHANGED
|
@@ -30411,8 +30411,6 @@ ${c.sqlString}
|
|
|
30411
30411
|
markdown: true,
|
|
30412
30412
|
wasm_layouts: false,
|
|
30413
30413
|
rtc_v2: false,
|
|
30414
|
-
performant_table_charts: false,
|
|
30415
|
-
chat_modes: false,
|
|
30416
30414
|
cache_panel: false,
|
|
30417
30415
|
external_agents: false,
|
|
30418
30416
|
server_side_pdf_export: true
|
|
@@ -73178,7 +73176,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
|
|
|
73178
73176
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
73179
73177
|
}
|
|
73180
73178
|
}
|
|
73181
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.19.8-
|
|
73179
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.19.8-dev17"), showCodeInRunModeAtom = atom(true);
|
|
73182
73180
|
atom(null);
|
|
73183
73181
|
var import_compiler_runtime$88 = require_compiler_runtime();
|
|
73184
73182
|
function useKeydownOnElement(e, r) {
|
package/package.json
CHANGED
|
@@ -1296,34 +1296,6 @@ export const UserConfigForm: React.FC = () => {
|
|
|
1296
1296
|
</div>
|
|
1297
1297
|
)}
|
|
1298
1298
|
/>
|
|
1299
|
-
<FormField
|
|
1300
|
-
control={form.control}
|
|
1301
|
-
name="experimental.performant_table_charts"
|
|
1302
|
-
render={({ field }) => (
|
|
1303
|
-
<div className="flex flex-col gap-y-1">
|
|
1304
|
-
<FormItem className={formItemClasses}>
|
|
1305
|
-
<FormLabel className="font-normal">
|
|
1306
|
-
Performant Table Charts
|
|
1307
|
-
</FormLabel>
|
|
1308
|
-
<FormControl>
|
|
1309
|
-
<Checkbox
|
|
1310
|
-
data-testid="performant-table-charts-checkbox"
|
|
1311
|
-
checked={field.value === true}
|
|
1312
|
-
onCheckedChange={field.onChange}
|
|
1313
|
-
/>
|
|
1314
|
-
</FormControl>
|
|
1315
|
-
</FormItem>
|
|
1316
|
-
<IsOverridden
|
|
1317
|
-
userConfig={config}
|
|
1318
|
-
name="experimental.performant_table_charts"
|
|
1319
|
-
/>
|
|
1320
|
-
<FormDescription>
|
|
1321
|
-
Enable experimental table charts which are computed on the
|
|
1322
|
-
backend.
|
|
1323
|
-
</FormDescription>
|
|
1324
|
-
</div>
|
|
1325
|
-
)}
|
|
1326
|
-
/>
|
|
1327
1299
|
<FormField
|
|
1328
1300
|
control={form.control}
|
|
1329
1301
|
name="experimental.external_agents"
|
|
@@ -1356,32 +1328,6 @@ export const UserConfigForm: React.FC = () => {
|
|
|
1356
1328
|
</div>
|
|
1357
1329
|
)}
|
|
1358
1330
|
/>
|
|
1359
|
-
<FormField
|
|
1360
|
-
control={form.control}
|
|
1361
|
-
name="experimental.chat_modes"
|
|
1362
|
-
render={({ field }) => (
|
|
1363
|
-
<div className="flex flex-col gap-y-1">
|
|
1364
|
-
<FormItem className={formItemClasses}>
|
|
1365
|
-
<FormLabel className="font-normal">Chat Mode</FormLabel>
|
|
1366
|
-
<FormControl>
|
|
1367
|
-
<Checkbox
|
|
1368
|
-
data-testid="chat-mode-checkbox"
|
|
1369
|
-
checked={field.value === true}
|
|
1370
|
-
onCheckedChange={field.onChange}
|
|
1371
|
-
/>
|
|
1372
|
-
</FormControl>
|
|
1373
|
-
</FormItem>
|
|
1374
|
-
<IsOverridden
|
|
1375
|
-
userConfig={config}
|
|
1376
|
-
name="experimental.chat_modes"
|
|
1377
|
-
/>
|
|
1378
|
-
<FormDescription>
|
|
1379
|
-
Switch between different modes in the Chat sidebar, to
|
|
1380
|
-
enable tool use.
|
|
1381
|
-
</FormDescription>
|
|
1382
|
-
</div>
|
|
1383
|
-
)}
|
|
1384
|
-
/>
|
|
1385
1331
|
<FormField
|
|
1386
1332
|
control={form.control}
|
|
1387
1333
|
name="experimental.server_side_pdf_export"
|
|
@@ -45,7 +45,6 @@ import {
|
|
|
45
45
|
import { useCellActions } from "@/core/cells/cells";
|
|
46
46
|
import { aiAtom, aiEnabledAtom } from "@/core/config/config";
|
|
47
47
|
import { DEFAULT_AI_MODEL } from "@/core/config/config-schema";
|
|
48
|
-
import { FeatureFlagged } from "@/core/config/feature-flag";
|
|
49
48
|
import { useRequestClient } from "@/core/network/requests";
|
|
50
49
|
import { useRuntimeManager } from "@/core/runtime/config";
|
|
51
50
|
import { ErrorBanner } from "@/plugins/impl/common/error-banner";
|
|
@@ -264,32 +263,30 @@ const ChatInputFooter: React.FC<ChatInputFooterProps> = memo(
|
|
|
264
263
|
<TooltipProvider>
|
|
265
264
|
<div className="px-3 py-2 border-t border-border/20 flex flex-row flex-wrap items-center justify-between gap-1">
|
|
266
265
|
<div className="flex items-center gap-2">
|
|
267
|
-
<
|
|
268
|
-
<
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
<
|
|
273
|
-
<
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
>
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
{option.subtitle}
|
|
285
|
-
</div>
|
|
266
|
+
<Select value={currentMode} onValueChange={saveModeChange}>
|
|
267
|
+
<SelectTrigger className="h-6 text-xs border-border shadow-none! ring-0! bg-muted hover:bg-muted/30 py-0 px-2 gap-1 capitalize">
|
|
268
|
+
{currentMode}
|
|
269
|
+
</SelectTrigger>
|
|
270
|
+
<SelectContent>
|
|
271
|
+
<SelectGroup>
|
|
272
|
+
<SelectLabel>AI Mode</SelectLabel>
|
|
273
|
+
{modeOptions.map((option) => (
|
|
274
|
+
<SelectItem
|
|
275
|
+
key={option.value}
|
|
276
|
+
value={option.value}
|
|
277
|
+
className="text-xs"
|
|
278
|
+
>
|
|
279
|
+
<div className="flex flex-col">
|
|
280
|
+
{option.label}
|
|
281
|
+
<div className="text-muted-foreground text-xs pt-1 block">
|
|
282
|
+
{option.subtitle}
|
|
286
283
|
</div>
|
|
287
|
-
</
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
</
|
|
291
|
-
</
|
|
292
|
-
</
|
|
284
|
+
</div>
|
|
285
|
+
</SelectItem>
|
|
286
|
+
))}
|
|
287
|
+
</SelectGroup>
|
|
288
|
+
</SelectContent>
|
|
289
|
+
</Select>
|
|
293
290
|
<AIModelDropdown
|
|
294
291
|
placeholder="Model"
|
|
295
292
|
triggerClassName="h-6 text-xs shadow-none! ring-0! bg-muted hover:bg-muted/30 rounded-sm"
|
|
@@ -9,8 +9,6 @@ export interface ExperimentalFeatures {
|
|
|
9
9
|
markdown: boolean; // Used in playground (community cloud)
|
|
10
10
|
wasm_layouts: boolean; // Used in playground (community cloud)
|
|
11
11
|
rtc_v2: boolean;
|
|
12
|
-
performant_table_charts: boolean;
|
|
13
|
-
chat_modes: boolean;
|
|
14
12
|
cache_panel: boolean;
|
|
15
13
|
external_agents: boolean;
|
|
16
14
|
server_side_pdf_export: boolean;
|
|
@@ -21,8 +19,6 @@ const defaultValues: ExperimentalFeatures = {
|
|
|
21
19
|
markdown: true,
|
|
22
20
|
wasm_layouts: false,
|
|
23
21
|
rtc_v2: false,
|
|
24
|
-
performant_table_charts: false,
|
|
25
|
-
chat_modes: false,
|
|
26
22
|
cache_panel: false,
|
|
27
23
|
external_agents: import.meta.env.DEV,
|
|
28
24
|
server_side_pdf_export: true,
|