@marimo-team/islands 0.16.4 → 0.16.5

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 (65) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CCjhPKMy.js → ConnectedDataExplorerComponent-D96i9G-X.js} +3 -3
  2. package/dist/assets/__vite-browser-external-Dv_SHu1h.js +1 -0
  3. package/dist/assets/{worker-DnuXpGWN.js → worker-DVOR9oZG.js} +2 -2
  4. package/dist/{formats-D5C6JAJf.js → formats-ChrNdVdJ.js} +1 -1
  5. package/dist/{glide-data-editor-CYfKmSNp.js → glide-data-editor-D_kEsT07.js} +68 -68
  6. package/dist/main.js +84 -213
  7. package/dist/{mermaid-BlJDcO4M.js → mermaid-MWiyXDcI.js} +2 -2
  8. package/dist/style.css +1 -1
  9. package/dist/{types-Dcb1hf55.js → types-1X1uZB4y.js} +323 -179
  10. package/dist/{useAsyncData-DAtPzJzP.js → useAsyncData-C4IqQK0g.js} +1 -1
  11. package/dist/{useDateFormatter-CiUlIu7v.js → useDateFormatter-BCsBqetx.js} +1 -1
  12. package/dist/{useTheme-CmsvrO5o.js → useTheme-C2pgJzDH.js} +1 -0
  13. package/dist/{vega-component-B3LA6qbm.js → vega-component-Cv4J8CHz.js} +3 -3
  14. package/package.json +1 -1
  15. package/src/__tests__/chat-history.test.ts +123 -0
  16. package/src/components/app-config/ai-config.tsx +23 -0
  17. package/src/components/app-config/mcp-config.tsx +42 -2
  18. package/src/components/app-config/user-config-form.tsx +0 -24
  19. package/src/components/chat/acp/__tests__/context-utils.test.ts +1 -1
  20. package/src/components/chat/acp/agent-panel.tsx +1 -1
  21. package/src/components/chat/acp/blocks.tsx +46 -53
  22. package/src/components/chat/acp/common.tsx +1 -1
  23. package/src/components/chat/acp/context-utils.ts +1 -1
  24. package/src/components/chat/acp/session-tabs.tsx +1 -1
  25. package/src/components/chat/chat-history-popover.tsx +125 -0
  26. package/src/components/chat/chat-history-utils.ts +69 -0
  27. package/src/components/chat/chat-panel.tsx +9 -57
  28. package/src/components/editor/__tests__/data-attributes.test.tsx +1 -1
  29. package/src/components/editor/actions/useNotebookActions.tsx +2 -4
  30. package/src/components/editor/ai/__tests__/completion-utils.test.ts +23 -31
  31. package/src/components/editor/cell/CreateCellButton.tsx +14 -2
  32. package/src/components/editor/cell/code/cell-editor.tsx +1 -0
  33. package/src/components/editor/database/schemas.ts +2 -10
  34. package/src/components/editor/{Cell.tsx → notebook-cell.tsx} +5 -1
  35. package/src/components/editor/output/MarimoErrorOutput.tsx +4 -34
  36. package/src/components/editor/renderers/{CellArray.tsx → cell-array.tsx} +1 -1
  37. package/src/components/forms/__tests__/form-utils.test.ts +2 -2
  38. package/src/components/mcp/hooks.ts +48 -0
  39. package/src/components/mcp/mcp-status-indicator.tsx +144 -0
  40. package/src/components/ui/number-field.tsx +4 -1
  41. package/src/core/ai/context/providers/__tests__/__snapshots__/tables.test.ts.snap +13 -19
  42. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +0 -1
  43. package/src/core/ai/context/providers/__tests__/datasource.test.ts +5 -6
  44. package/src/core/ai/context/providers/__tests__/error.test.ts +24 -15
  45. package/src/core/ai/context/providers/cell-output.ts +5 -5
  46. package/src/core/ai/context/providers/common.ts +13 -4
  47. package/src/core/ai/context/providers/datasource.ts +31 -20
  48. package/src/core/ai/context/providers/error.ts +3 -4
  49. package/src/core/ai/context/providers/file.ts +2 -2
  50. package/src/core/ai/context/providers/tables.ts +36 -8
  51. package/src/core/ai/context/providers/variable.ts +2 -3
  52. package/src/core/cells/__tests__/cells.test.ts +6 -6
  53. package/src/core/cells/cells.ts +12 -13
  54. package/src/core/cells/scrollCellIntoView.ts +1 -1
  55. package/src/core/codemirror/__tests__/setup.test.ts +1 -0
  56. package/src/core/codemirror/cm.ts +3 -2
  57. package/src/core/config/__tests__/config-schema.test.ts +2 -0
  58. package/src/core/config/config-schema.ts +2 -0
  59. package/src/core/config/feature-flag.tsx +0 -2
  60. package/src/core/edit-app.tsx +1 -1
  61. package/src/core/network/CachingRequestRegistry.ts +2 -2
  62. package/src/stories/cell.stories.tsx +1 -1
  63. package/src/stories/layout/vertical/one-column.stories.tsx +1 -1
  64. package/src/utils/numbers.ts +24 -1
  65. package/dist/assets/__vite-browser-external-BeNtI_tJ.js +0 -1
package/dist/main.js CHANGED
@@ -6,18 +6,18 @@ import { t as require_react } from "./react-DHL_F5hS.js";
6
6
  import { n as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-DZyWJV5b.js";
7
7
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-C5RFg7ok.js";
8
8
  import { C as dispatchDiscreteCustomEvent, D as createLucideIcon, E as composeEventHandlers, S as Primitive, T as createContextScope, _ as useSize, a as useFocusGuards, b as DismissableLayer, d as Portal, f as Anchor, g as createPopperScope, h as Root2$5, i as FocusScope, l as useControllableState, m as Content$3, n as Combination_default, o as StyleNamespace, p as Arrow, r as hideOthers, s as Root$5, t as withFullScreenAsRoot, u as Presence, v as useId$10, x as useCallbackRef, y as useLayoutEffect2 } from "./fullscreen-D1yTiBlu.js";
9
- import { a as createReducerAndAtoms, c as ToggleLeft, d as Hash, f as Calendar, i as Badge, l as SquareFunction, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as startCase_default, r as $5a387cc49350e6db$export$722debc0e56fea39, s as Type, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, u as ListFilter } from "./useDateFormatter-CiUlIu7v.js";
9
+ import { a as createReducerAndAtoms, c as ToggleLeft, d as Hash, f as Calendar, i as Badge, l as SquareFunction, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as startCase_default, r as $5a387cc49350e6db$export$722debc0e56fea39, s as Type, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, u as ListFilter } from "./useDateFormatter-BCsBqetx.js";
10
10
  import { t as Check } from "./check-BK9zDfQk.js";
11
11
  import { A as useOnUnmount, D as Trigger$4, E as Icon, F as X, L as ChevronDown, M as usePrevious, N as createCollection, O as clamp$2, P as useDirection, S as menuItemVariants, _ as selectStyles, a as $18f2051aff69b9bf$export$a54013f0d02a8f82, c as Select, d as SelectItem, f as SelectLabel, g as NativeSelect, h as SelectValue, i as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, k as useOnMount, l as SelectContent, m as SelectTrigger, n as $a916eb452884faea$export$b7a616150fdb9f44, o as $b5e257d569688ac6$export$535bd6ca7f90a273, p as SelectSeparator, t as Label, u as SelectGroup, v as MENU_ITEM_DISABLED, w as menuSeparatorVariants } from "./label-BinTsX-u.js";
12
- import { $ as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $3ef42575df84b30b$export$9d1611c77c2fe928, B as $e93e671b31057976$export$b8473d3665f3a75a, Bt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, C as createRovingFocusGroupScope, Ct as $c87311424ea30a05$export$6446a186d09e379e, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $c87311424ea30a05$export$fedb369cb70207f1, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $c87311424ea30a05$export$a11b0059900ceec8, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $431fbd86ca7dc216$export$b204af158042fbac, G as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, Gt as capitalize_default, H as $e5be200c675c3b3a$export$a763b9476acd3eb, Ht as useNonce, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $431fbd86ca7dc216$export$f21a1ffae260145a, J as $6179b936705e76d3$export$ae780daf29e6d456, Jt as Plus, K as $2baaea4c71418dea$export$294aa081a6c6f55d, Kt as Trash, L as $d2e8511e6f209edf$export$e908e06f4b8e3402, Lt as $ff5963eb1fccf552$export$e08e3b67e392101e, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $d4ee10de306f2510$export$cd4e5573fbe2b576, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $d4ee10de306f2510$export$e58f029f0fbfdb29, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $7215afc6de606d6b$export$de79e2c695e052f3, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $f4e2df6bd15f8569$export$98658e8c59125e6a, Q as $f6c31cce2adf654f$export$45712eceda6fad21, R as $701a24aa0da5b062$export$ea18c227d4417cc3, Rt as $bdb11010cef70236$export$b4cc09c592e8fdb8, S as Root$6, St as $313b98861ee5dd6c$export$d6875122194c7b44, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $c87311424ea30a05$export$9ac100e40613ea10, U as $e5be200c675c3b3a$export$aca958c65c314e6c, Ut as assertNever, V as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Vt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, W as $e5be200c675c3b3a$export$dad6ae84456c676a, Wt as logNever, X as $3ad3f6e1647bc98d$export$80f3e147d781571c, Xt as Circle, Y as $9ab94262bd0047c7$export$420e68273165f4ec, Yt as Pencil, Z as $507fabe10e71c6fb$export$630ff653c5ada6a9, Zt as ChevronRight, _ as DropdownMenuSub, _t as $b4b717babfbb907b$export$4c063cf1350e6fed, a as Input, at as $5b160d28a433310d$export$c17fa47878dc55b6, b as DropdownMenuTrigger, bt as $e9faafb641e167db$export$90fc3a17d93f704c, c as useDebounceControlledState, ct as $64fa3d84918910a7$export$29f1550f4b0d4415, d as DropdownMenuContent, dt as $64fa3d84918910a7$export$c245e6201fed2f75, et as $6c7bd7858deea686$export$cd11ab140839f11d, f as DropdownMenuGroup, ft as $64fa3d84918910a7$export$c62b8e45d58ddad9, g as DropdownMenuSeparator, gt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, h as DropdownMenuPortal, ht as $9446cca9a3875146$export$7d15b64cf5a3a4c4, i as DebouncedNumberInput, it as $6db58dc88e78b024$export$2f817fcdc4b89ae0, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $d4ee10de306f2510$export$4282f70798064fe0, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, l as useDebouncedCallback, lt as $64fa3d84918910a7$export$4d86445c2cf5e3, m as DropdownMenuLabel, mt as $64fa3d84918910a7$export$fabf2dc03a41866e, n as ErrorBoundary, nt as $fca6afa0e843324b$export$87b761675e8eaa10, o as OnBlurredInput, ot as $319e236875307eab$export$a9b970dcc4ae71a9, p as DropdownMenuItem, pt as $64fa3d84918910a7$export$ef03459518577ad4, q as $f7dceffc5ad7768b$export$4e328f61c538687f, qt as Search, r as DebouncedInput, rt as $fca6afa0e843324b$export$f12b703ca79dfbb1, s as NumberField, st as $64fa3d84918910a7$export$2881499e37b75b9a, t as BulkEdit, tt as _class_private_field_init, u as DropdownMenu, ut as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, v as DropdownMenuSubContent, vt as $b4b717babfbb907b$export$bebd5a1431fec25d, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $c87311424ea30a05$export$78551043582a6a98, x as Item$2, xt as $df56164dff5785e2$export$4338b53315abf666, y as DropdownMenuSubTrigger, yt as $99facab73266f662$export$5add1d006293d136, z as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, zt as $bdb11010cef70236$export$f680877a34711e37 } from "./types-Dcb1hf55.js";
13
- import { S as CircleQuestionMark, _ as isUrl, a as AlertDescription, b as Deferred, c as toDate, d as millisecondsInHour, f as millisecondsInMinute, g as getRuntimeManager, h as asRemoteURL, i as Alert, l as constructFrom, m as millisecondsInWeek, n as useDeepCompareMemoize, o as AlertTitle, p as millisecondsInSecond, r as dequal, s as isValid$1, t as arrow, u as millisecondsInDay, v as require_cuid2, x as isWasm, y as isStaticNotebook } from "./formats-D5C6JAJf.js";
12
+ import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c, $t as arrayInsertMany, A as $a049562f99e7db0e$export$f9c6924e160136d1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $d2e8511e6f209edf$export$e908e06f4b8e3402, Bt as $ff5963eb1fccf552$export$e08e3b67e392101e, C as DropdownMenuTrigger, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $3985021b0ad6602f$export$37fb8590cf2c088c, Dt as $c87311424ea30a05$export$78551043582a6a98, E as createRovingFocusGroupScope, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $514c0188e459b4c0$export$9afb8bc826b033ea, Ft as $d4ee10de306f2510$export$cd4e5573fbe2b576, G as $e5be200c675c3b3a$export$a763b9476acd3eb, Gt as useNonce, H as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ht as $bdb11010cef70236$export$f680877a34711e37, I as $d2b4bc8c273e7be6$export$24d547caef80ccd1, It as $d4ee10de306f2510$export$e58f029f0fbfdb29, J as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, Jt as memoizeLastValue, K as $e5be200c675c3b3a$export$aca958c65c314e6c, Kt as assertNever, L as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Lt as $f4e2df6bd15f8569$export$98658e8c59125e6a, M as $ee014567cb39d3f0$export$f551688fc98f2e09, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $ee014567cb39d3f0$export$ff05c3ac10437e03, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $3985021b0ad6602f$export$f5b8910cec6cf069, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $514c0188e459b4c0$export$5f1af8db9871e1d6, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $9ab94262bd0047c7$export$420e68273165f4ec, Qt as arrayInsert, R as $01b77f81d0f07f68$export$75b6ee27786ba447, Rt as $431fbd86ca7dc216$export$b204af158042fbac, S as DropdownMenuSubTrigger, St as $99facab73266f662$export$5add1d006293d136, T as Root$6, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $e93e671b31057976$export$b8473d3665f3a75a, Ut as $8ae05eaa5c114e9c$export$7f54fc3180508a52, V as $701a24aa0da5b062$export$ea18c227d4417cc3, Vt as $bdb11010cef70236$export$b4cc09c592e8fdb8, W as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $f7dceffc5ad7768b$export$4e328f61c538687f, Xt as Arrays, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as once, Z as $6179b936705e76d3$export$ae780daf29e6d456, Zt as arrayDelete, _ as DropdownMenuLabel, _t as $64fa3d84918910a7$export$fabf2dc03a41866e, a as Input, an as Trash, at as $fca6afa0e843324b$export$87b761675e8eaa10, b as DropdownMenuSub, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyEngineeringNumber, cn as Pencil, ct as $5b160d28a433310d$export$c17fa47878dc55b6, d as useDebounceControlledState, dt as $64fa3d84918910a7$export$29f1550f4b0d4415, en as arrayMove, et as $507fabe10e71c6fb$export$630ff653c5ada6a9, f as useDebouncedCallback, ft as $64fa3d84918910a7$export$4d86445c2cf5e3, g as DropdownMenuItem, gt as $64fa3d84918910a7$export$ef03459518577ad4, h as DropdownMenuGroup, ht as $64fa3d84918910a7$export$c62b8e45d58ddad9, i as DebouncedNumberInput, in as capitalize_default, it as _class_private_field_init, j as $d3e0e05bdfcf66bd$export$c24727297075ec6a, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyNumber, ln as Circle, lt as $319e236875307eab$export$a9b970dcc4ae71a9, m as DropdownMenuContent, mt as $64fa3d84918910a7$export$c245e6201fed2f75, n as ErrorBoundary, nn as uniqueBy, nt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, o as OnBlurredInput, on as Search, ot as $fca6afa0e843324b$export$f12b703ca79dfbb1, p as DropdownMenu, pt as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, q as $e5be200c675c3b3a$export$dad6ae84456c676a, qt as logNever, r as DebouncedInput, rn as clamp, rt as $6c7bd7858deea686$export$cd11ab140839f11d, s as NumberField, sn as Plus, st as $6db58dc88e78b024$export$2f817fcdc4b89ae0, t as BulkEdit, tn as arrayShallowEquals, tt as $f6c31cce2adf654f$export$45712eceda6fad21, u as prettyScientificNumber, un as ChevronRight, ut as $64fa3d84918910a7$export$2881499e37b75b9a, v as DropdownMenuPortal, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as Item$2, wt as $df56164dff5785e2$export$4338b53315abf666, x as DropdownMenuSubContent, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSeparator, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $01b77f81d0f07f68$export$b04be29aa201d4f5, zt as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./types-1X1uZB4y.js";
13
+ import { S as CircleQuestionMark, _ as isUrl, a as AlertDescription, b as Deferred, c as toDate, d as millisecondsInHour, f as millisecondsInMinute, g as getRuntimeManager, h as asRemoteURL, i as Alert, l as constructFrom, m as millisecondsInWeek, n as useDeepCompareMemoize, o as AlertTitle, p as millisecondsInSecond, r as dequal, s as isValid$1, t as arrow, u as millisecondsInDay, v as require_cuid2, x as isWasm, y as isStaticNotebook } from "./formats-ChrNdVdJ.js";
14
14
  import { a as Slot$1, c as composeRefs, d as cn, f as clsx_default, i as cva, l as useComposedRefs, n as buttonVariants, o as createSlot, r as useEventListener, t as Button, u as Events } from "./button-CEcjneWG.js";
15
15
  import { c as Functions, i as parseShortcut, l as throwNotImplemented, o as Objects, r as isPlatformMac, s as Logger, t as NOT_SET } from "./hotkeys-yFrUwyJK.js";
16
16
  import { t as require_react_dom } from "./react-dom-CpBooCbY.js";
17
17
  import { a as Portal$2, c as Tooltip, d as TooltipRoot, f as TooltipTrigger, i as Overlay, l as TooltipContent, m as TooltipProvider$1, n as ErrorBanner, o as Root$7, p as TooltipPortal, r as Content$4, s as CellNotInitializedError, t as Banner, u as TooltipProvider } from "./error-banner-OQIGTqFR.js";
18
18
  import { a as _extends$5, c as setDiagnostics, d as CopyClipboardIcon, i as minimalSetup, l as historyField, o as forEachDiagnostic, r as esm_default, s as linter, t as langs, u as insertTab } from "./esm-DxFkg7a6.js";
19
19
  import { A as literal, B as tuple, C as any, D as custom, E as boolean$2, F as object$1, G as toJSONSchema, H as unknown, I as optional, J as $ZodError, K as parse$3, L as record, M as nan, N as never, O as discriminatedUnion, P as number$2, R as strictObject, S as _null, T as base64, U as safeParseAsync, V as union, W as ZodError$1, Y as prettifyError, _ as ZodString$1, a as ZodIssueCode$1, b as _enum, c as ZodBoolean$1, d as ZodDiscriminatedUnion$1, f as ZodEnum$1, g as ZodOptional$1, h as ZodObject$1, i as string$3, j as looseObject, k as lazy$4, l as ZodDate$1, m as ZodNumber$1, n as date, o as ZodAny$1, p as ZodLiteral$1, q as parseAsync, r as number$3, s as ZodArray$1, t as zod_default, u as ZodDefault$1, v as ZodType$1, w as array$2, x as _instanceof, y as ZodUnion$1, z as string$2 } from "./zod-UPQf9SGn.js";
20
- import { S as atom, T as INTERNAL_getBuildingBlocksRev1, _ as Provider, a as getResolvedMarimoConfig, b as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, f as waitFor, g as useEvent_default, h as isEqual_default, i as autoInstantiateAtom, l as createDeepEqualAtom, m as invariant, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, t as resolvedThemeAtom, u as store, v as useAtom, w as INTERNAL_buildStoreRev1, x as useStore, y as useAtomValue } from "./useTheme-CmsvrO5o.js";
20
+ import { S as atom, T as INTERNAL_getBuildingBlocksRev1, _ as Provider, a as getResolvedMarimoConfig, b as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, f as waitFor, g as useEvent_default, h as isEqual_default, i as autoInstantiateAtom, l as createDeepEqualAtom, m as invariant, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, t as resolvedThemeAtom, u as store, v as useAtom, w as INTERNAL_buildStoreRev1, x as useStore, y as useAtomValue } from "./useTheme-C2pgJzDH.js";
21
21
  import { $ as ViewPlugin, At as RangeSet, B as tags$1, Dt as Facet$1, E as getIndentUnit, Et as EditorState, Ft as Text$2, I as syntaxTree, It as Transaction, J as parseMixed, L as unfoldAll, Nt as StateEffect, Pt as StateField, Q as GutterMarker, S as foldInside, Tt as EditorSelection, Y as Decoration, Z as EditorView, _t as showPanel, b as foldAll, dt as keymap, et as WidgetType, f as StreamLanguage, kt as Prec, l as LanguageDescription, mt as placeholder, ot as gutter, u as LanguageSupport, ut as hoverTooltip, w as foldNodeProp, wt as Compartment } from "./dist-DPF5TTUg.js";
22
22
  import { E as _baseRest_default, b as _baseTimes_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-DiDsNamC.js";
23
23
  import "./isSymbol-BxF-_8BA.js";
@@ -48,7 +48,7 @@ import { a as PLSQL, c as SQLite, d as schemaCompletionSource, f as sql, i as My
48
48
  import { n as __awaiter } from "./tslib.es6-DofFyd9S.js";
49
49
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-BHMWayAG.js";
50
50
  import { t as require_prop_types } from "./prop-types-0wNc-99T.js";
51
- import { t as useAsyncData } from "./useAsyncData-DAtPzJzP.js";
51
+ import { t as useAsyncData } from "./useAsyncData-C4IqQK0g.js";
52
52
  import { n as formats } from "./vega-loader.browser.module-Bi3ttvdj.js";
53
53
  import "./precisionRound-DbP73hkf.js";
54
54
  import "./defaultLocale-471SYAPk.js";
@@ -15420,57 +15420,6 @@ let __tla = (async () => {
15420
15420
  return h;
15421
15421
  };
15422
15422
  }
15423
- function clamp(e, r, c) {
15424
- return Math.min(Math.max(e, r), c);
15425
- }
15426
- function arrayDelete(e, r) {
15427
- let c = [
15428
- ...e
15429
- ];
15430
- return c.splice(r, 1), c;
15431
- }
15432
- function arrayInsert(e, r, c) {
15433
- r = clamp(r, 0, e.length);
15434
- let l = [
15435
- ...e
15436
- ];
15437
- return l.splice(r, 0, c), l;
15438
- }
15439
- function arrayMove(e, r, c) {
15440
- let l = [
15441
- ...e
15442
- ], [d] = l.splice(r, 1);
15443
- return l.splice(c, 0, d), l;
15444
- }
15445
- function arrayInsertMany(e, r, c) {
15446
- if (e.length === 0) return c;
15447
- r = clamp(r, 0, e.length);
15448
- let l = [
15449
- ...e
15450
- ];
15451
- return l.splice(r, 0, ...c), l;
15452
- }
15453
- function arrayShallowEquals(e, r) {
15454
- if (e === r) return true;
15455
- if (e.length !== r.length) return false;
15456
- for (let c = 0, l = e.length; c < l; c++) if (e[c] !== r[c]) return false;
15457
- return true;
15458
- }
15459
- const Arrays = {
15460
- EMPTY: [],
15461
- zip: (e, r) => (invariant(e.length === r.length, "Arrays must be the same length"), e.map((e2, c) => [
15462
- e2,
15463
- r[c]
15464
- ]))
15465
- };
15466
- function uniqueBy(e, r) {
15467
- let c = [], l = /* @__PURE__ */ new Set();
15468
- for (let d of e) {
15469
- let e2 = r(d);
15470
- l.has(e2) || (l.add(e2), c.push(d));
15471
- }
15472
- return c;
15473
- }
15474
15423
  function assertExists(e, r) {
15475
15424
  if (e == null) throw r ? Error(r) : Error(`Expected value but got ${e}`);
15476
15425
  }
@@ -16325,27 +16274,6 @@ ${c.join("\n")}`;
16325
16274
  }
16326
16275
  };
16327
16276
  }
16328
- function once(e) {
16329
- let r, c = false;
16330
- return function(...l) {
16331
- return c || (c = true, r = e.apply(this, l)), r;
16332
- };
16333
- }
16334
- function memoizeLastValue(e) {
16335
- let r, c, l, d = false;
16336
- return function(...f) {
16337
- if (c === void 0 || !arrayShallowEquals(f, c)) {
16338
- try {
16339
- r = e.apply(this, f), d = false, l = void 0;
16340
- } catch (e2) {
16341
- d = true, l = e2;
16342
- }
16343
- c = f;
16344
- }
16345
- if (d) throw l;
16346
- return r;
16347
- };
16348
- }
16349
16277
  function legacy(e) {
16350
16278
  return new LanguageSupport(StreamLanguage.define(e));
16351
16279
  }
@@ -27619,7 +27547,6 @@ ${JSON.stringify(e2, null, 4)}`);
27619
27547
  }
27620
27548
  var defaultValues = {
27621
27549
  markdown: true,
27622
- inline_ai_tooltip: false,
27623
27550
  wasm_layouts: false,
27624
27551
  rtc_v2: false,
27625
27552
  performant_table_charts: false,
@@ -34235,20 +34162,12 @@ ${e}
34235
34162
  cellRuntime: r
34236
34163
  };
34237
34164
  },
34238
- upsertSetupCell: (e, r) => {
34165
+ addSetupCellIfDoesntExist: (e, r) => {
34239
34166
  let { code: c } = r;
34240
- return "setup" in e.cellData ? updateCellData({
34241
- state: e,
34242
- cellId: SETUP_CELL_ID,
34243
- cellReducer: (e2) => {
34244
- var _a2;
34245
- return {
34246
- ...e2,
34247
- code: c,
34248
- edited: c.trim() !== ((_a2 = e2.lastCodeRun) == null ? void 0 : _a2.trim())
34249
- };
34250
- }
34251
- }) : {
34167
+ return c ?? (c = "# Initialization code that runs before all other cells"), "setup" in e.cellData ? {
34168
+ ...e,
34169
+ scrollKey: SETUP_CELL_ID
34170
+ } : {
34252
34171
  ...e,
34253
34172
  cellIds: e.cellIds.insertId(SETUP_CELL_ID, e.cellIds.atOrThrow(0).id, 0),
34254
34173
  cellData: {
@@ -34267,7 +34186,8 @@ ${e}
34267
34186
  cellHandles: {
34268
34187
  ...e.cellHandles,
34269
34188
  [SETUP_CELL_ID]: (0, import_react.createRef)()
34270
- }
34189
+ },
34190
+ scrollKey: SETUP_CELL_ID
34271
34191
  };
34272
34192
  }
34273
34193
  });
@@ -57782,14 +57702,37 @@ Error message: ${getErrorMessage$1(r)}`,
57782
57702
  return d += ">", l && (d += escapeXml(l)), d += `</${r}>`, d;
57783
57703
  }
57784
57704
  const Boosts = {
57785
- LOCAL_TABLE: 5,
57786
- REMOTE_TABLE: 4,
57705
+ LOCAL_TABLE: 7,
57706
+ REMOTE_TABLE: 5,
57787
57707
  HIGH: 4,
57788
- VARIABLE: 3,
57789
57708
  MEDIUM: 3,
57790
57709
  CELL_OUTPUT: 2,
57791
- LOW: 2,
57792
- ERROR: 1
57710
+ LOW: 2
57711
+ }, Sections = {
57712
+ ERROR: {
57713
+ name: "Error",
57714
+ rank: 1
57715
+ },
57716
+ TABLE: {
57717
+ name: "Table",
57718
+ rank: 2
57719
+ },
57720
+ DATA_SOURCES: {
57721
+ name: "Data Sources",
57722
+ rank: 3
57723
+ },
57724
+ VARIABLE: {
57725
+ name: "Variable",
57726
+ rank: 4
57727
+ },
57728
+ CELL_OUTPUT: {
57729
+ name: "Cell Output",
57730
+ rank: 5
57731
+ },
57732
+ FILE: {
57733
+ name: "File",
57734
+ rank: 6
57735
+ }
57793
57736
  };
57794
57737
  function isMediaMimetype(e, r) {
57795
57738
  return e ? !!([
@@ -57849,9 +57792,9 @@ Error message: ${getErrorMessage$1(r)}`,
57849
57792
  label: `@${r.cellName}`,
57850
57793
  displayLabel: r.cellName,
57851
57794
  detail: `${r.outputType} output`,
57852
- boost: Boosts.CELL_OUTPUT,
57795
+ boost: r.outputType === "media" ? Boosts.HIGH : Boosts.MEDIUM,
57853
57796
  type: this.contextType,
57854
- section: "Cell Output",
57797
+ section: Sections.CELL_OUTPUT,
57855
57798
  apply: `@${r.cellName}`,
57856
57799
  info: () => {
57857
57800
  let e2 = document.createElement("div");
@@ -57875,7 +57818,7 @@ Error message: ${getErrorMessage$1(r)}`,
57875
57818
  }
57876
57819
  if (r.outputType === "media") {
57877
57820
  let r2 = document.createElement("div");
57878
- r2.classList.add("text-xs", "text-muted-foreground", "italic", "mb-2"), r2.textContent = "Contains media content (image, SVG, or canvas)", e2.append(r2);
57821
+ r2.classList.add("text-xs", "text-muted-foreground", "italic", "mb-2"), r2.textContent = "A screenshot of the output will be attached", e2.append(r2);
57879
57822
  }
57880
57823
  return e2;
57881
57824
  }
@@ -57936,17 +57879,18 @@ Image URL: ${r.imageUrl}`)), contextToXml({
57936
57879
  return [
57937
57880
  ...this.connectionsMap.values()
57938
57881
  ].map((e) => {
57882
+ var _a2;
57939
57883
  let r = "Database schema.", c = {
57940
57884
  connection: e
57941
57885
  };
57942
- return INTERNAL_SQL_ENGINES.has(e.name) && (c.tables = this.dataframes, r = "Database schema and the dataframes that can be queried"), {
57886
+ return INTERNAL_SQL_ENGINES.has(e.name) && (c.tables = this.dataframes, r = "Database schema and the dataframes that can be queried"), e.databases.length === 0 && (((_a2 = c.tables) == null ? void 0 : _a2.length) ?? 0) === 0 ? null : {
57943
57887
  uri: this.asURI(e.name),
57944
57888
  name: e.name,
57945
57889
  description: r,
57946
57890
  type: this.contextType,
57947
57891
  data: c
57948
57892
  };
57949
- });
57893
+ }).filter(Boolean);
57950
57894
  }
57951
57895
  formatContext(e) {
57952
57896
  let r = e.data, { name: c, display_name: l, source: d, ...f } = r.connection, h = f;
@@ -57969,7 +57913,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
57969
57913
  detail: dbDisplayName(c.dialect),
57970
57914
  boost: Boosts.MEDIUM,
57971
57915
  type: this.contextType,
57972
- section: "Data Sources",
57916
+ section: Sections.DATA_SOURCES,
57973
57917
  info: () => {
57974
57918
  let e2 = document.createElement("div");
57975
57919
  return e2.classList.add("mo-cm-tooltip", "docs-documentation"), (0, import_client$1.createRoot)(e2).render(renderDatasourceInfo(c, l)), e2;
@@ -58012,10 +57956,9 @@ Image URL: ${r.imageUrl}`)), contextToXml({
58012
57956
  label: "@Errors",
58013
57957
  displayLabel: "Errors",
58014
57958
  detail: `${e.data.errors.length} ${errorsTxt.pluralize(e.data.errors.length)}`,
58015
- boost: Boosts.ERROR,
58016
57959
  type: "error",
58017
57960
  apply: "@Errors",
58018
- section: "Errors",
57961
+ section: Sections.ERROR,
58019
57962
  info: () => {
58020
57963
  let r = document.createElement("div");
58021
57964
  r.classList.add("mo-cm-tooltip", "docs-documentation", "min-w-[200px]", "flex", "flex-col", "gap-1", "p-2");
@@ -58029,7 +57972,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
58029
57972
  } : {
58030
57973
  label: "Error",
58031
57974
  displayLabel: "Error",
58032
- boost: Boosts.ERROR
57975
+ section: Sections.ERROR
58033
57976
  };
58034
57977
  }
58035
57978
  formatContext(e) {
@@ -58170,7 +58113,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
58170
58113
  return {
58171
58114
  ...this.createBasicCompletion(e),
58172
58115
  type: "file",
58173
- section: "File",
58116
+ section: Sections.FILE,
58174
58117
  boost: r.isDirectory ? Boosts.MEDIUM : Boosts.LOW,
58175
58118
  detail: r.path,
58176
58119
  displayLabel: `${l} ${c}`,
@@ -58264,20 +58207,31 @@ Image URL: ${r.imageUrl}`)), contextToXml({
58264
58207
  }));
58265
58208
  }
58266
58209
  formatContext(e) {
58267
- let { data: r } = e, { columns: c, source: l, num_rows: d, num_columns: f, name: h } = r, g = [
58210
+ let { data: r } = e, { columns: c, source: l, num_rows: d, num_columns: f, name: h, variable_name: g } = r, _ = [
58268
58211
  d == null ? void 0 : `${d} rows`,
58269
58212
  f == null ? void 0 : `${f} columns`
58270
- ].filter(Boolean).join(", "), _ = "";
58271
- return g && (_ += `
58272
- Shape: ${g}`), c && c.length > 0 && (_ += `
58273
- Columns:
58274
- ${c.map((e2) => ` - ${e2.name}: ${e2.type}`).join("\n")}`), contextToXml({
58213
+ ].filter(Boolean).join(", "), y = "";
58214
+ if (_ && (y += `Shape: ${_}
58215
+ `), g && (y += `Variable: ${g}
58216
+ `), c && c.length > 0) {
58217
+ y += "Columns:\n";
58218
+ for (let e2 of c) {
58219
+ let r2 = ` ${e2.name} (${e2.type})`;
58220
+ if (e2.sample_values && e2.sample_values.length > 0) {
58221
+ let c2 = e2.sample_values.slice(0, 3).map((e3) => e3 === null ? "null" : String(e3)).join(", ");
58222
+ r2 += ` - samples: [${c2}]`;
58223
+ }
58224
+ y += `${r2}
58225
+ `;
58226
+ }
58227
+ }
58228
+ return contextToXml({
58275
58229
  type: this.contextType,
58276
58230
  data: {
58277
58231
  name: h,
58278
58232
  source: l ?? "unknown"
58279
58233
  },
58280
- details: _
58234
+ details: y.trim()
58281
58235
  });
58282
58236
  }
58283
58237
  formatCompletion(e) {
@@ -58289,7 +58243,10 @@ ${c.map((e2) => ` - ${e2.name}: ${e2.type}`).join("\n")}`), contextToXml({
58289
58243
  boost: c.source_type === "local" ? Boosts.LOCAL_TABLE : Boosts.REMOTE_TABLE,
58290
58244
  type: getTableType(c),
58291
58245
  apply: `@${r}`,
58292
- section: getTableType(c) === "dataframe" ? "Dataframe" : "Table",
58246
+ section: {
58247
+ name: getTableType(c) === "dataframe" ? "Dataframe" : "Table",
58248
+ rank: Sections.TABLE.rank
58249
+ },
58293
58250
  info: () => this.createTableInfoElement(r, c)
58294
58251
  };
58295
58252
  }
@@ -58379,9 +58336,8 @@ ${c.map((e2) => ` - ${e2.name}: ${e2.type}`).join("\n")}`), contextToXml({
58379
58336
  label: `@${c.name}`,
58380
58337
  displayLabel: c.name,
58381
58338
  detail: c.dataType ?? "",
58382
- boost: Boosts.VARIABLE,
58383
58339
  type: this.contextType,
58384
- section: "Variable",
58340
+ section: Sections.VARIABLE,
58385
58341
  info: () => createVariableInfoElement(c)
58386
58342
  };
58387
58343
  }
@@ -62817,61 +62773,6 @@ ${c.map((e2) => ` - ${e2.name}: ${e2.type}`).join("\n")}`), contextToXml({
62817
62773
  }
62818
62774
  })), c.current;
62819
62775
  }
62820
- function prettyNumber(e, r) {
62821
- return e == null ? "" : Array.isArray(e) ? String(e) : typeof e == "string" ? e : typeof e == "boolean" ? String(e) : typeof e == "number" || typeof e == "bigint" ? e.toLocaleString(r, {
62822
- minimumFractionDigits: 0,
62823
- maximumFractionDigits: 2
62824
- }) : String(e);
62825
- }
62826
- function scientificSpecialCase(e) {
62827
- return e === 0 ? "0" : Number.isNaN(e) ? "NaN" : Number.isFinite(e) ? null : e > 0 ? "Infinity" : "-Infinity";
62828
- }
62829
- function prettyScientificNumber(e, r) {
62830
- let c = scientificSpecialCase(e);
62831
- if (c !== null) return c;
62832
- let l = Math.abs(e);
62833
- if (l < 0.01 || l >= 1e6) return new Intl.NumberFormat(r.locale, {
62834
- minimumFractionDigits: 1,
62835
- maximumFractionDigits: 1,
62836
- notation: "scientific"
62837
- }).format(e).toLowerCase();
62838
- let { shouldRound: d, locale: f } = r;
62839
- return d ? new Intl.NumberFormat(f, {
62840
- minimumFractionDigits: 0,
62841
- maximumFractionDigits: 2
62842
- }).format(e) : e.toLocaleString(f, {
62843
- minimumFractionDigits: 0,
62844
- maximumFractionDigits: 100
62845
- });
62846
- }
62847
- var prefixes$1 = {
62848
- 24: "Y",
62849
- 21: "Z",
62850
- 18: "E",
62851
- 15: "P",
62852
- 12: "T",
62853
- 9: "G",
62854
- 6: "M",
62855
- 3: "k",
62856
- 0: "",
62857
- "-3": "m",
62858
- "-6": "\xB5",
62859
- "-9": "n",
62860
- "-12": "p",
62861
- "-15": "f",
62862
- "-18": "a",
62863
- "-21": "z",
62864
- "-24": "y"
62865
- };
62866
- function prettyEngineeringNumber(e, r) {
62867
- let c = scientificSpecialCase(e);
62868
- if (c !== null) return c;
62869
- let [l, d] = new Intl.NumberFormat(r, {
62870
- notation: "engineering",
62871
- maximumSignificantDigits: 3
62872
- }).format(e).split("E");
62873
- return d in prefixes$1 ? l + prefixes$1[d] : `${l}E${d}`;
62874
- }
62875
62776
  const ColumnFormattingFeature = {
62876
62777
  getInitialState: (e) => ({
62877
62778
  columnFormatting: {},
@@ -66787,42 +66688,12 @@ ${c.map((e2) => ` - ${e2.name}: ${e2.type}`).join("\n")}`), contextToXml({
66787
66688
  }, `ancestor-stopped-${r}`);
66788
66689
  }
66789
66690
  function _temp33(e, r) {
66790
- let c = e.sql_line == null ? null : Math.trunc(e == null ? void 0 : e.sql_line) + 1, l = e.sql_col == null ? null : Math.trunc(e == null ? void 0 : e.sql_col) + 1;
66791
- return (0, import_jsx_runtime.jsxs)("div", {
66691
+ return (0, import_jsx_runtime.jsx)("div", {
66792
66692
  className: "space-y-2 mt-2",
66793
- children: [
66794
- (0, import_jsx_runtime.jsx)("p", {
66795
- className: "text-muted-foreground font-medium",
66796
- children: e.msg
66797
- }),
66798
- e.hint && (0, import_jsx_runtime.jsxs)("div", {
66799
- className: "flex items-start gap-2",
66800
- children: [
66801
- (0, import_jsx_runtime.jsx)(Info, {
66802
- size: 11,
66803
- className: "text-muted-foreground mt-1 flex-shrink-0"
66804
- }),
66805
- (0, import_jsx_runtime.jsx)("p", {
66806
- className: "whitespace-pre-wrap text-sm text-muted-foreground",
66807
- children: e.hint
66808
- })
66809
- ]
66810
- }),
66811
- e.sql_statement && (0, import_jsx_runtime.jsx)("pre", {
66812
- lang: "sql",
66813
- className: "text-xs bg-muted/80 rounded whitespace-pre-wrap p-3.5",
66814
- children: e.sql_statement.trim()
66815
- }),
66816
- c !== null && l !== null && (0, import_jsx_runtime.jsxs)("p", {
66817
- className: "text-xs text-muted-foreground",
66818
- children: [
66819
- "Error at line ",
66820
- c,
66821
- ", column ",
66822
- l
66823
- ]
66824
- })
66825
- ]
66693
+ children: (0, import_jsx_runtime.jsx)("p", {
66694
+ className: "text-muted-foreground whitespace-pre-wrap",
66695
+ children: e.msg
66696
+ })
66826
66697
  }, `sql-error-${r}`);
66827
66698
  }
66828
66699
  var import_compiler_runtime$95 = __toESM(require_compiler_runtime()), ansiUp$1 = new AnsiUp();
@@ -69550,7 +69421,7 @@ ${_}`
69550
69421
  function getVegaFieldTypes(e) {
69551
69422
  return !e || Object.keys(e).length === 0 ? "auto" : Objects.mapValues(e, (e2) => e2 === "date" || e2 === "time" ? "string" : e2 === "datetime" ? "date" : e2);
69552
69423
  }
69553
- var import_compiler_runtime$84 = __toESM(require_compiler_runtime()), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-CYfKmSNp.js").then(async (m2) => {
69424
+ var import_compiler_runtime$84 = __toESM(require_compiler_runtime()), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-D_kEsT07.js").then(async (m2) => {
69554
69425
  await m2.__tla;
69555
69426
  return m2;
69556
69427
  }));
@@ -81708,7 +81579,7 @@ ${c}
81708
81579
  fullWidth: g,
81709
81580
  children: F
81710
81581
  }), r[19] = g, r[20] = _, r[21] = c, r[22] = F, r[23] = R) : R = r[23], R;
81711
- }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-CCjhPKMy.js"));
81582
+ }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-D96i9G-X.js"));
81712
81583
  const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object$1({
81713
81584
  label: string$2().nullish(),
81714
81585
  data: string$2()
@@ -91955,7 +91826,7 @@ ${c}
91955
91826
  return true;
91956
91827
  }
91957
91828
  }
91958
- var LazyVegaComponent = import_react.lazy(() => import("./vega-component-B3LA6qbm.js")), VegaPlugin = class {
91829
+ var LazyVegaComponent = import_react.lazy(() => import("./vega-component-Cv4J8CHz.js")), VegaPlugin = class {
91959
91830
  constructor() {
91960
91831
  __publicField(this, "tagName", "marimo-vega");
91961
91832
  __publicField(this, "validator", object$1({
@@ -92274,7 +92145,7 @@ ${c}
92274
92145
  diagram: e.data.diagram
92275
92146
  });
92276
92147
  }
92277
- }, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-BlJDcO4M.js").then(async (m2) => {
92148
+ }, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-MWiyXDcI.js").then(async (m2) => {
92278
92149
  await m2.__tla;
92279
92150
  return m2;
92280
92151
  }));
@@ -98575,7 +98446,7 @@ Defaulting to \`null\`.`;
98575
98446
  return Logger.warn("Failed to get version from mount config"), null;
98576
98447
  }
98577
98448
  }
98578
- var BUILD_VERSION = getVersionFromMountConfig() || "0.16.4";
98449
+ var BUILD_VERSION = getVersionFromMountConfig() || "0.16.5";
98579
98450
  const marimoVersionAtom = atom(BUILD_VERSION), showCodeInRunModeAtom = atom(true);
98580
98451
  atom(null);
98581
98452
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
@@ -99613,7 +99484,7 @@ ${r}
99613
99484
  return c ? parseIslandEditor(c.dataset.initialValue) : "";
99614
99485
  }
99615
99486
  const islandsInitializedAtom = atom(false), userTriedToInteractWithIslandsAtom = atom(false), shouldShowIslandsWarningIndicatorAtom = atom((e) => e(userTriedToInteractWithIslandsAtom) && e(islandsInitializedAtom) === false);
99616
- var worker_default = "/assets/worker-DnuXpGWN.js", IslandsPyodideBridge = class e {
99487
+ var worker_default = "/assets/worker-DVOR9oZG.js", IslandsPyodideBridge = class e {
99617
99488
  constructor() {
99618
99489
  __publicField(this, "initialized", new Deferred());
99619
99490
  __publicField(this, "sendComponentValues", async (e2) => (await this.putControlRequest(e2), null));
@@ -3,14 +3,14 @@ import { t as require_react } from "./react-DHL_F5hS.js";
3
3
  import { n as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-DZyWJV5b.js";
4
4
  import { s as Logger } from "./hotkeys-yFrUwyJK.js";
5
5
  import "./zod-UPQf9SGn.js";
6
- import { n as useTheme } from "./useTheme-CmsvrO5o.js";
6
+ import { n as useTheme } from "./useTheme-C2pgJzDH.js";
7
7
  import "./isArrayLikeObject-DiDsNamC.js";
8
8
  import "./_baseIsEqual-oN7pRNcM.js";
9
9
  import "./memoize-Dq87l1O_.js";
10
10
  import "./merge-BPDCIm8P.js";
11
11
  import { t as isEmpty_default } from "./isEmpty-BBG-u1GM.js";
12
12
  import "./marked.esm-3RjvXPoO.js";
13
- import { t as useAsyncData } from "./useAsyncData-DAtPzJzP.js";
13
+ import { t as useAsyncData } from "./useAsyncData-C4IqQK0g.js";
14
14
  import "./path-VDkDgx1I.js";
15
15
  import "./math-C7wLpe9K.js";
16
16
  import "./array-aAxy08hN.js";