@marimo-team/islands 0.25.3-dev215 → 0.25.3-dev218

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.
@@ -135,7 +135,7 @@ function F(e) {
135
135
  }
136
136
  //#endregion
137
137
  //#region src/components/editor/boundary/ErrorBoundary.tsx
138
- var I = (0, T.lazy)(() => import("./feedback-button-FBCsIQq4.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
138
+ var I = (0, T.lazy)(() => import("./feedback-button-Dc6SQGKA.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
139
139
  let t = (0, w.c)(2), n;
140
140
  return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, j.jsx)(O, {
141
141
  FallbackComponent: R,
@@ -17,7 +17,7 @@ function b() {
17
17
  return e.warn("Failed to get version from mount config"), null;
18
18
  }
19
19
  }
20
- var x = b() || "0.25.3-dev215", S = s(x), C = s(!0);
20
+ var x = b() || "0.25.3-dev218", S = s(x), C = s(!0);
21
21
  s(null);
22
22
  //#endregion
23
23
  //#region src/core/wasm/state.ts
@@ -12,7 +12,7 @@ import { A as Re, C as U, M as ze, S as Be, T as Ve, _ as He, b as Ue, c as We,
12
12
  import { $ as at, $t as ot, A as st, At as ct, B as lt, Bt as ut, C as dt, Ct as ft, D as pt, Dt as mt, E as ht, Et as gt, F as _t, Ft as vt, G as yt, Gt as bt, H as xt, Ht as St, I as Ct, It as wt, Jt as Tt, K as Et, Kt as Dt, L as Ot, Lt as kt, M as At, Mt as jt, N as Mt, Nt, O as Pt, Ot as Ft, P as It, Pt as Lt, Q as Rt, Qt as zt, R as Bt, Rt as Vt, S as Ht, St as Ut, T as Wt, Tt as Gt, U as Kt, Ut as qt, V as Jt, Vt as Yt, W as Xt, Wt as Zt, X as Qt, Xt as $t, Yt as en, Z as tn, Zt as nn, _ as rn, _n as an, _t as on, a as sn, an as cn, at as ln, b as un, bn as dn, bt as fn, cn as pn, ct as mn, d as hn, dn as gn, dt as _n, en as vn, et as yn, f as bn, ft as xn, gn as Sn, gt as Cn, h as wn, hn as Tn, ht as En, i as Dn, it as On, j as kn, jt as An, k as jn, kt as Mn, l as Nn, lt as Pn, mn as Fn, mt as In, n as Ln, nn as Rn, nt as zn, o as Bn, on as Vn, ot as Hn, pn as Un, q as Wn, qt as Gn, rn as Kn, rt as qn, s as Jn, sn as Yn, st as Xn, t as Zn, tn as Qn, tt as $n, u as er, un as tr, ut as nr, vn as rr, vt as ir, wt as ar, x as or, xn as sr, xt as cr, yn as lr, yt as ur, z as dr, zt as fr } from "./dropdown-menu-CSNdPSnS.js";
13
13
  import { a as pr, n as mr, r as hr, t as gr } from "./config-DbjzjwxX.js";
14
14
  import { A as _r, E as vr, G as yr, H as br, I as xr, Lt as Sr, Nt as Cr, Q as wr, Rt as Tr, T as Er, Tt as Dr, U as Or, V as kr, b as Ar, et as jr, h as Mr, j as Nr, l as Pr, q as Fr, st as Ir, t as Lr, tt as Rr, u as zr, wt as Br, y as Vr, zt as Hr } from "./error-entries-CRPfxMqm.js";
15
- import { n as Ur, t as Wr } from "./ErrorBoundary-DV-d1d9l.js";
15
+ import { n as Ur, t as Wr } from "./ErrorBoundary-gZVtZ9jk.js";
16
16
  import { i as Gr, r as Kr, s as qr, t as Jr } from "./strings-BGW-fXVJ.js";
17
17
  import { t as Yr } from "./clsx-CoeGtWvn.js";
18
18
  import { t as Xr } from "./react-dom-DUmH0GXv.js";
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
3
  import { t as n } from "./react-dom-DUmH0GXv.js";
4
4
  import { c as r, l as i, u as a } from "./data-grid-types-0PJ-9N5n.js";
5
- import { a as o, i as s, n as c, r as l } from "./glide-data-editor-QdlqSvU8.js";
5
+ import { a as o, i as s, n as c, r as l } from "./glide-data-editor-CuChRm49.js";
6
6
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/internal/data-grid-overlay-editor/data-grid-overlay-editor-style.js
7
7
  var u = /* @__PURE__ */ e(t(), 1), d = /* @__PURE__ */ e(n(), 1), f = /*#__PURE__*/ o("div")({
8
8
  name: "DataGridOverlayEditorStyle",
@@ -4,13 +4,13 @@ import { t as r } from "./react-sHtZdjeP.js";
4
4
  import { t as i } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { t as a } from "./copy-icon-CG57cxwb.js";
6
6
  import { A as o, E as s, I as c, K as l, P as u, T as d, i as f, n as p, zt as m } from "./error-entries-CRPfxMqm.js";
7
- import { n as h, t as ee } from "./globals-BosWvzlL.js";
7
+ import { n as h, t as ee } from "./globals-syVYPOQX.js";
8
8
  import { t as g } from "./strings-BGW-fXVJ.js";
9
9
  import { t as _ } from "./jsx-runtime-3BD1kT0s.js";
10
10
  import { l as te, r as v, x as ne } from "./utils-DXkj82sK.js";
11
11
  import { a as re, i as ie, n as ae, r as oe } from "./dialog-DsZ49mmU.js";
12
12
  import { t as se } from "./useAsyncData-DsZMvNXn.js";
13
- import { t as ce } from "./code-visibility-ds61DV_v.js";
13
+ import { t as ce } from "./code-visibility-DI0kifrD.js";
14
14
  //#region src/components/ui/skeleton.tsx
15
15
  var y = /* @__PURE__ */ e(r(), 1), b = i(), x = _(), le = (e) => {
16
16
  let n = (0, b.c)(8), r, i;
@@ -6,7 +6,7 @@ import { i as s, n as c, r as l } from "./copy-icon-CG57cxwb.js";
6
6
  import { c as u, d, i as f, n as p, s as m, t as h } from "./select-BSxlITBo.js";
7
7
  import { d as g, h as _, i as v, l as y, n as b, o as x, q as S, s as C, t as w, u as T } from "./dropdown-menu-CSNdPSnS.js";
8
8
  import { c as E, d as D, l as O, n as k, o as A, s as ee, t as j, u as te } from "./glide-utils-CQddGpa-.js";
9
- import { n as ne, t as re } from "./ErrorBoundary-DV-d1d9l.js";
9
+ import { n as ne, t as re } from "./ErrorBoundary-gZVtZ9jk.js";
10
10
  import { i as ie, n as M } from "./strings-BGW-fXVJ.js";
11
11
  import { t as N } from "./react-dom-DUmH0GXv.js";
12
12
  import { t as P } from "./jsx-runtime-3BD1kT0s.js";
@@ -7062,7 +7062,7 @@ function rs(e, t, n, r, i) {
7062
7062
  }
7063
7063
  //#endregion
7064
7064
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
7065
- var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-DsVefdpo.js")), ss = 0;
7065
+ var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-DdCstXKW.js")), ss = 0;
7066
7066
  function cs(e) {
7067
7067
  return (0, is.default)((0, as.default)((0, as.default)(e).filter((e) => e.span !== void 0).map((e) => (0, Za.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
7068
7068
  }
@@ -9293,7 +9293,7 @@ function Vs(e, t, n, r, i) {
9293
9293
  }
9294
9294
  //#endregion
9295
9295
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
9296
- var Hs = K.lazy(async () => await import("./number-overlay-editor-g772U_76.js")), Us = {
9296
+ var Hs = K.lazy(async () => await import("./number-overlay-editor-x0MQ7J35.js")), Us = {
9297
9297
  getAccessibilityString: (e) => e.data?.toString() ?? "",
9298
9298
  kind: W.Number,
9299
9299
  needsHover: (e) => e.hoverEffect === !0,
@@ -1,6 +1,6 @@
1
1
  import { m as e } from "./tooltip-C3UnvsRe.js";
2
2
  import { l as t } from "./utils-DXkj82sK.js";
3
- import { r as n } from "./code-visibility-ds61DV_v.js";
3
+ import { r as n } from "./code-visibility-DI0kifrD.js";
4
4
  var r = e("triangle-alert", [
5
5
  ["path", {
6
6
  d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
package/dist/main.js CHANGED
@@ -6,7 +6,7 @@ import { i as x, n as S, r as C, t as w } from "./copy-icon-CG57cxwb.js";
6
6
  import { $ as T, A as E, At as D, B as O, Bt as k, Dt as A, F as j, Ft as M, Gt as N, H as P, Ht as F, I, Kt as L, L as R, Lt as z, M as B, Mt as ee, Nt as te, Ot as ne, Q as re, R as ie, Rt as ae, St as oe, U as se, Ut as ce, V as le, Vt as ue, X as de, Z as fe, _ as pe, a as me, b as he, bt as ge, c as _e, dt as ve, et as ye, ft as be, gt as xe, i as Se, it as Ce, kt as we, n as Te, o as Ee, pt as De, rt as Oe, tt as ke, v as Ae, w as je, wt as Me, x as Ne, xt as Pe, y as Fe, yt as Ie, z as Le, zt as Re } from "./html-to-image-CgAnxFi8.js";
7
7
  import { a as ze, d as Be, i as Ve, m as He, n as Ue, o as We, p as Ge, r as Ke, t as qe } from "./tooltip-C3UnvsRe.js";
8
8
  import { D as Je, E as Ye, O as Xe, S as Ze, T as Qe, _ as $e, a as et, c as tt, d as nt, f as rt, g as it, h as at, i as ot, l as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as pt, t as mt, u as ht, v as gt, w as _t, x as vt, y as yt } from "./spec-Dq8RNplp.js";
9
- import { $t as bt, A as xt, At as St, B as Ct, Bt as wt, C as Tt, Ct as Et, D as Dt, Dt as Ot, E as kt, Et as At, F as jt, Ft as Mt, G as Nt, Gt as Pt, H as Ft, Ht as It, I as Lt, It as Rt, J as zt, Jt as Bt, K as Vt, Kt as Ht, L as Ut, Lt as Wt, M as Gt, Mt as Kt, N as qt, Nt as Jt, O as Yt, Ot as Xt, P as Zt, Pt as Qt, Qt as $t, R as en, Rt as tn, S as nn, St as rn, T as an, Tt as on, U as sn, Ut as cn, V as ln, Vt as un, W as dn, Wt as fn, X as pn, Xt as mn, Y as hn, Yt as gn, Zt as _n, _ as vn, _t as yn, an as bn, at as xn, b as Sn, c as Cn, cn as wn, ct as Tn, d as En, dn as Dn, dt as On, en as kn, et as An, f as jn, fn as Mn, ft as Nn, g as Pn, gt as Fn, h as In, hn as Ln, ht as Rn, in as zn, it as Bn, j as Vn, jt as Hn, k as Un, kt as Wn, ln as Gn, lt as Kn, m as qn, mn as Jn, mt as Yn, nn as Xn, nt as Zn, ot as Qn, p as $n, pn as er, pt as tr, q as nr, qt as rr, r as ir, rn as ar, rt as or, sn as sr, st as cr, t as lr, tn as ur, tt as dr, u as fr, un as pr, ut as mr, v as hr, vt as gr, w as _r, wt as vr, x as yr, y as br, yt as xr, z as Sr, zt as Cr } from "./common-Cbh5fmA3.js";
9
+ import { $t as bt, A as xt, At as St, B as Ct, Bt as wt, C as Tt, Ct as Et, D as Dt, Dt as Ot, E as kt, Et as At, F as jt, Ft as Mt, G as Nt, Gt as Pt, H as Ft, Ht as It, I as Lt, It as Rt, J as zt, Jt as Bt, K as Vt, Kt as Ht, L as Ut, Lt as Wt, M as Gt, Mt as Kt, N as qt, Nt as Jt, O as Yt, Ot as Xt, P as Zt, Pt as Qt, Qt as $t, R as en, Rt as tn, S as nn, St as rn, T as an, Tt as on, U as sn, Ut as cn, V as ln, Vt as un, W as dn, Wt as fn, X as pn, Xt as mn, Y as hn, Yt as gn, Zt as _n, _ as vn, _t as yn, an as bn, at as xn, b as Sn, c as Cn, cn as wn, ct as Tn, d as En, dn as Dn, dt as On, en as kn, et as An, f as jn, fn as Mn, ft as Nn, g as Pn, gt as Fn, h as In, hn as Ln, ht as Rn, in as zn, it as Bn, j as Vn, jt as Hn, k as Un, kt as Wn, ln as Gn, lt as Kn, m as qn, mn as Jn, mt as Yn, nn as Xn, nt as Zn, ot as Qn, p as $n, pn as er, pt as tr, q as nr, qt as rr, r as ir, rn as ar, rt as or, sn as sr, st as cr, t as lr, tn as ur, tt as dr, u as fr, un as pr, ut as mr, v as hr, vt as gr, w as _r, wt as vr, x as yr, y as br, yt as xr, z as Sr, zt as Cr } from "./common-CZPoYa5d.js";
10
10
  import { a as wr, n as Tr, s as Er, t as Dr } from "./useLifecycle-BquH9ET-.js";
11
11
  import { t as Or } from "./check-Z_vtI3OL.js";
12
12
  import { A as kr, C as Ar, D as jr, M as Mr, O as Nr, a as Pr, c as Fr, d as Ir, i as Lr, k as Rr, l as zr, n as Br, o as Vr, r as Hr, s as Ur, t as Wr, w as Gr, x as Kr } from "./select-BSxlITBo.js";
@@ -15,8 +15,8 @@ import { c as Ei, i as Di, l as Oi, o as ki, s as Ai, t as ji } from "./config-D
15
15
  import { A as Mi, At as Ni, B as Pi, G as Fi, It as Ii, J as Li, K as Ri, N as zi, Nt as Bi, Ot as Vi, Pt as Hi, R as Ui, St as Wi, T as Gi, Tt as Ki, V as qi, X as Ji, Y as Yi, Z as Xi, _ as Zi, at as Qi, c as $i, ct as ea, d as ta, g as na, h as ra, jt as ia, k as aa, kt as oa, lt as sa, m as ca, ot as la, p as ua, q as da, s as fa, ut as pa, xt as ma, z as ha } from "./error-entries-CRPfxMqm.js";
16
16
  import { a as ga, c as _a, d as va, f as ya, i as ba, l as xa, n as Sa, o as Ca, r as wa, s as Ta, t as Ea } from "./process-output-Bmev5azU.js";
17
17
  import { a as Da, c as Oa, d as ka, i as Aa, l as ja, r as Ma, u as Na } from "./glide-utils-CQddGpa-.js";
18
- import { n as Pa, t as Fa } from "./ErrorBoundary-DV-d1d9l.js";
19
- import { n as Ia, t as La } from "./globals-BosWvzlL.js";
18
+ import { n as Pa, t as Fa } from "./ErrorBoundary-gZVtZ9jk.js";
19
+ import { n as Ia, t as La } from "./globals-syVYPOQX.js";
20
20
  import { a as Ra, i as za, n as Ba, r as Va, s as Ha, t as Ua } from "./strings-BGW-fXVJ.js";
21
21
  import { t as Wa } from "./react-dom-DUmH0GXv.js";
22
22
  import { t as Ga } from "./jsx-runtime-3BD1kT0s.js";
@@ -44,7 +44,7 @@ import { t as Vs } from "./useAsyncData-DsZMvNXn.js";
44
44
  import { t as Hs } from "./semaphore-89jsoHtS.js";
45
45
  import { D as Us, O as Ws } from "./vega-loader.browser-B9Pz0EGP.js";
46
46
  import { a as Gs, n as Ks } from "./loader-BisjOLiW.js";
47
- import { c as qs, d as Js, i as Ys, l as Xs, o as Zs, s as Qs, t as $s, u as ec } from "./code-visibility-ds61DV_v.js";
47
+ import { c as qs, d as Js, i as Ys, l as Xs, o as Zs, s as Qs, t as $s, u as ec } from "./code-visibility-DI0kifrD.js";
48
48
  import { t as tc } from "./useDeepCompareMemoize-KMBBux8C.js";
49
49
  import { t as nc } from "./esm-BgKjMvWw.js";
50
50
  //#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
@@ -3104,11 +3104,11 @@ var Pp = q([
3104
3104
  id: Ap,
3105
3105
  run_id: is([kp, us()]).describe("The run that owns this execution. Every live execution belongs to exactly one run. May name a run the host has dropped. Null only for a restored result whose run is unknown."),
3106
3106
  runtime_id: is([Dp, us()]).describe("The runtime that produced this execution. Live when it equals the current runtime's id. Null when the producer is unknown."),
3107
- caused_by: is([Ap, us()]).describe("The execution in the same run that caused this one. Null for executions requested directly."),
3107
+ caused_by: is([Ap, us()]).describe("The execution in the same run that initiated this evaluation. Null for executions requested directly."),
3108
3108
  cell_id: is([Mp, us()]).describe("The cell this execution belongs to. Null for scratch code, a cell outside the document."),
3109
3109
  code: U().nullable().describe("The submitted code for an execution with no cell. Null for a cell's execution; its source is available through the cell when the host exposes it."),
3110
3110
  code_hash: am.describe("The `code_hash` of the code that was evaluated, computed as a cell's is."),
3111
- depends_on: Qo(U(), is([Yp, us()])).describe("The variables the execution used, by name, each at the revision the runtime holds its result valid against. Null for a name no retained cell execution had bound. Empty while queued, stamped as the execution ends, and final from then on."),
3111
+ depends_on: Qo(U(), is([Yp, us()])).describe("The variable revisions this result is valid against, keyed by name. Null for a name no retained cell execution had bound. Empty while queued, stamped as the execution ends, and final from then on."),
3112
3112
  status: Gp,
3113
3113
  outcome: is([im, us()]).describe("How the execution ended. Null while queued; while running, a value carries the display so far; final once completed."),
3114
3114
  started_at: xp({ offset: !0 }).nullable().describe("When the code started executing. Null while queued or if the execution completed before starting."),
@@ -12279,7 +12279,7 @@ function aD(e, t) {
12279
12279
  }
12280
12280
  //#endregion
12281
12281
  //#region src/plugins/impl/DataEditorPlugin.tsx
12282
- var oD = J.lazy(() => import("./glide-data-editor-QdlqSvU8.js").then((e) => e.t)), sD = HT("marimo-data-editor", { cssStyles: [dE] }).withData(G({
12282
+ var oD = J.lazy(() => import("./glide-data-editor-CuChRm49.js").then((e) => e.t)), sD = HT("marimo-data-editor", { cssStyles: [dE] }).withData(G({
12283
12283
  initialValue: G({ edits: K(G({
12284
12284
  rowIdx: W(),
12285
12285
  columnId: U(),
@@ -32070,7 +32070,7 @@ function oH(e) {
32070
32070
  }
32071
32071
  //#endregion
32072
32072
  //#region src/components/editor/renderers/slides-layout/slides-layout.tsx
32073
- var sH = J.lazy(() => import("./reveal-component-C_jCWbtX.js")), cH = (e) => {
32073
+ var sH = J.lazy(() => import("./reveal-component-C9DNpbt3.js")), cH = (e) => {
32074
32074
  let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = Ao(Uo), s = a === "read" || o, c = Ao(ma) > 1, [l, u] = (0, J.useState)(null), d;
32075
32075
  t[0] !== i || t[1] !== n ? (d = iR(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
32076
32076
  let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
- import { a as n } from "./glide-data-editor-QdlqSvU8.js";
3
+ import { a as n } from "./glide-data-editor-CuChRm49.js";
4
4
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/internal/data-grid-overlay-editor/private/number-overlay-editor-style.js
5
5
  var r = /* @__PURE__ */ e(t()), i = /*#__PURE__*/ n("div")({
6
6
  name: "NumberOverlayEditorStyle",
@@ -3,7 +3,7 @@ import { c as t, g as n, h as r, m as i, t as a } from "./button-B6RjDKJx.js";
3
3
  import { t as o } from "./react-sHtZdjeP.js";
4
4
  import { t as s } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { m as c, t as l } from "./tooltip-C3UnvsRe.js";
6
- import { $ as u, Q as d, Z as f, an as p, i as m, l as h, ln as g, n as _, on as v, r as y, t as b, u as x } from "./common-Cbh5fmA3.js";
6
+ import { $ as u, Q as d, Z as f, an as p, i as m, l as h, ln as g, n as _, on as v, r as y, t as b, u as x } from "./common-CZPoYa5d.js";
7
7
  import { M as S } from "./select-BSxlITBo.js";
8
8
  import { Y as ee } from "./dropdown-menu-CSNdPSnS.js";
9
9
  import { Pt as C } from "./error-entries-CRPfxMqm.js";
@@ -11,7 +11,7 @@ import { t as w } from "./jsx-runtime-3BD1kT0s.js";
11
11
  import { r as T } from "./use-restore-focus-BWO0z1lo.js";
12
12
  import { D as E, t as D, x as O } from "./utils-DXkj82sK.js";
13
13
  import { o as k } from "./static-state-BldGd99T.js";
14
- import { a as A, n as te, t as ne } from "./code-visibility-ds61DV_v.js";
14
+ import { a as A, n as te, t as ne } from "./code-visibility-DI0kifrD.js";
15
15
  /* empty css */
16
16
  var j = c("sticky-note", [["path", {
17
17
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.25.3-dev215",
3
+ "version": "0.25.3-dev218",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -9,7 +9,6 @@ import {
9
9
  PopoverContent,
10
10
  PopoverTrigger,
11
11
  } from "@/components/ui/popover";
12
- import { ExternalLink } from "@/components/ui/links";
13
12
  import { Switch } from "@/components/ui/switch";
14
13
  import { chatOptionsAtom } from "@/core/ai/state";
15
14
  import { cn } from "@/utils/cn";
@@ -46,10 +45,7 @@ export const CapabilitiesPopover: React.FC = () => {
46
45
  <div className="flex flex-col gap-0.5">
47
46
  <span className="text-sm font-semibold">Web search</span>
48
47
  <span className="text-xs text-muted-foreground">
49
- Search the web when the model supports it.{" "}
50
- <ExternalLink href="https://docs.marimo.io/guides/editor_features/tools#web-search-and-fetch">
51
- Learn more
52
- </ExternalLink>
48
+ Search the web when the model supports it.
53
49
  </span>
54
50
  </div>
55
51
  <Switch
@@ -161,8 +161,8 @@ const ChatHeader: React.FC<ChatHeaderProps> = ({
161
161
  </Button>
162
162
  </Tooltip>
163
163
  <div className="flex items-center gap-2">
164
- <Tooltip content="Connect your agent">
165
- <PairWithAgentButton className="mr-1" label="Connect" />
164
+ <Tooltip content="Pair your agent">
165
+ <PairWithAgentButton className="mr-1" label="Pair" />
166
166
  </Tooltip>
167
167
  <MCPStatusIndicator />
168
168
  <Tooltip content="AI Settings">
@@ -431,7 +431,7 @@ const PairWithAgentCallout: React.FC<{
431
431
  onClick={onPairWithAgent}
432
432
  >
433
433
  <SparklesIcon className="h-3.5 w-3.5 shrink-0" />
434
- <span>Connect your own agent to this notebook</span>
434
+ <span>Pair your own agent with this notebook</span>
435
435
  <ArrowRightIcon className="h-3 w-3 shrink-0" />
436
436
  </Button>
437
437
  );
@@ -60,7 +60,7 @@ describe("PairWithAgent", () => {
60
60
  ).toBeVisible();
61
61
  expect(
62
62
  screen.getByRole("button", {
63
- name: "Learn more.",
63
+ name: "Pair your agent",
64
64
  }),
65
65
  ).toBeVisible();
66
66
  });
@@ -71,7 +71,7 @@ describe("PairWithAgent", () => {
71
71
 
72
72
  fireEvent.click(
73
73
  screen.getByRole("button", {
74
- name: "Learn more.",
74
+ name: "Pair your agent",
75
75
  }),
76
76
  );
77
77
 
@@ -83,7 +83,7 @@ describe("PairWithAgent", () => {
83
83
  stubTokenFetch();
84
84
  render(<PairWithAgentButton onClick={onClick} />, { wrapper });
85
85
 
86
- fireEvent.click(screen.getByRole("button", { name: "Connect your agent" }));
86
+ fireEvent.click(screen.getByRole("button", { name: "Pair your agent" }));
87
87
 
88
88
  expect(onClick).toHaveBeenCalledOnce();
89
89
  expect(screen.getByRole("dialog", { name: "Pair an agent" })).toBeVisible();
@@ -33,7 +33,7 @@ export const usePairWithAgentModal = () => {
33
33
 
34
34
  export const PairWithAgentButton: React.FC<
35
35
  ButtonProps & { label?: string }
36
- > = ({ className, label = "Connect your agent", onClick, ...props }) => {
36
+ > = ({ className, label = "Pair your agent", onClick, ...props }) => {
37
37
  const openPairWithAgentModal = usePairWithAgentModal();
38
38
 
39
39
  if (isWasm()) {
@@ -62,7 +62,7 @@ export const PairWithAgentButton: React.FC<
62
62
  export const PairWithAgentBanner: React.FC<{
63
63
  label?: string;
64
64
  className?: string;
65
- }> = ({ label = "Connect your agent", className }) => {
65
+ }> = ({ label = "Pair your agent", className }) => {
66
66
  const openPairWithAgentModal = usePairWithAgentModal();
67
67
 
68
68
  if (isWasm()) {
@@ -104,14 +104,16 @@ export const PairWithAgentBanner: React.FC<{
104
104
  </div>
105
105
  <div className="mt-1 text-xs leading-relaxed">
106
106
  <p className="inline">
107
- Use your AI coding agent to pair-program on this notebook.
107
+ Pair your coding agent with this notebook to edit and run cells,
108
+ inspect variables, and more, straight from your agent's CLI or user
109
+ interface.
108
110
  </p>
109
111
  <button
110
112
  type="button"
111
113
  onClick={openPairWithAgentModal}
112
114
  className="text-link hover:underline ml-1"
113
115
  >
114
- Learn more.
116
+ Pair your agent
115
117
  </button>
116
118
  </div>
117
119
  </div>