@marimo-team/islands 0.25.3-dev179 → 0.25.3-dev181
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/{ErrorBoundary-BxSSnfKB.js → ErrorBoundary-Do1bDnqE.js} +1 -1
- package/dist/{code-visibility-CcjfKrZD.js → code-visibility-CjilY2pq.js} +1 -1
- package/dist/{common-qiAJV04w.js → common-CgbJYN1L.js} +1 -1
- package/dist/{data-grid-overlay-editor-B2Y1wK-9.js → data-grid-overlay-editor-Bov1HRwt.js} +1 -1
- package/dist/{feedback-button-D0UXN0-e.js → feedback-button-M3asLLYJ.js} +2 -2
- package/dist/{glide-data-editor-DW8qz0Gp.js → glide-data-editor-BYx8nPvz.js} +3 -3
- package/dist/{globals-RHh3E3Qk.js → globals-Cha-b9Oo.js} +1 -1
- package/dist/main.js +6 -6
- package/dist/{number-overlay-editor-D-oXu55A.js → number-overlay-editor-9juAuy71.js} +1 -1
- package/dist/{reveal-component-Dyp09FDT.js → reveal-component-DPgpYGKs.js} +2 -2
- package/package.json +1 -1
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +10 -8
- package/src/components/editor/actions/__tests__/pair-with-agent.test.tsx +2 -6
- package/src/components/editor/actions/pair-with-agent-commands.ts +2 -2
- package/src/components/editor/actions/pair-with-agent-modal.tsx +1 -1
- package/src/components/editor/actions/useNotebookActions.tsx +1 -1
|
@@ -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-
|
|
138
|
+
var I = (0, T.lazy)(() => import("./feedback-button-M3asLLYJ.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,
|
|
@@ -18,7 +18,7 @@ function x() {
|
|
|
18
18
|
return e.warn("Failed to get version from mount config"), null;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
var S = x() || "0.25.3-
|
|
21
|
+
var S = x() || "0.25.3-dev181", C = l(S), w = l(!0);
|
|
22
22
|
l(null);
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/core/wasm/state.ts
|
|
@@ -12,7 +12,7 @@ import { t as ft } from "./check-C9Mp9eCK.js";
|
|
|
12
12
|
import { A as pt, C as mt, D as ht, M as gt, S as _t, _ as vt, b as yt, c as bt, d as xt, g as St, h as Ct, i as wt, l as Tt, m as Et, n as Dt, p as Ot, s as kt, t as At, u as jt, v as Mt, y as Nt } from "./select-2KOiReNY.js";
|
|
13
13
|
import { $ as Pt, $t as Ft, A as It, At as Lt, B as Rt, Bt as zt, C as Bt, Ct as Vt, D as Ht, Dt as Ut, E as Wt, Et as Gt, F as Kt, Ft as qt, G as Jt, Gt as Yt, H as Xt, Ht as Zt, I as Qt, It as $t, Jt as en, K as tn, Kt as nn, L as rn, Lt as an, M as on, Mt as sn, N as cn, Nt as ln, O as un, Ot as dn, P as fn, Pt as pn, Q as mn, Qt as hn, R as gn, Rt as _n, S as vn, St as yn, T as bn, Tt as xn, U as Sn, Ut as Cn, V as wn, Vt as Tn, W as En, Wt as Dn, X as On, Xt as kn, Y as An, Yt as jn, Z as Mn, Zt as Nn, _ as Pn, _n as Fn, _t as In, a as Ln, an as Rn, at as zn, b as Bn, bn as Vn, bt as Hn, ct as Un, d as Wn, dt as Gn, en as Kn, et as qn, f as Jn, fn as Yn, gn as Xn, gt as Zn, h as Qn, hn as $n, ht as er, i as tr, in as nr, it as rr, j as ir, jt as ar, k as or, kt as sr, l as cr, ln as lr, lt as ur, mn as dr, mt as fr, n as pr, nn as mr, nt as hr, o as gr, on as _r, ot as vr, pn as yr, pt as br, qt as xr, rt as Sr, s as Cr, sn as wr, st as Tr, t as Er, tn as Dr, tt as Or, u as kr, un as Ar, ut as jr, vn as Mr, vt as Nr, wt as Pr, x as Fr, xt as Ir, yn as Lr, yt as Rr, z as zr, zt as Br } from "./dropdown-menu-DCMbbQ35.js";
|
|
14
14
|
import { a as Vr, c as Hr, d as Ur, i as Wr, l as Gr, n as Kr, o as qr, r as Jr, t as Yr, v as Xr, x as Zr, y as Qr } from "./toDate-CDzoofJo.js";
|
|
15
|
-
import { n as $r, t as ei } from "./ErrorBoundary-
|
|
15
|
+
import { n as $r, t as ei } from "./ErrorBoundary-Do1bDnqE.js";
|
|
16
16
|
import { t as ti } from "./clsx-CoeGtWvn.js";
|
|
17
17
|
import { t as ni } from "./react-dom-DUmH0GXv.js";
|
|
18
18
|
import { t as ri } from "./jsx-runtime-3BD1kT0s.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-
|
|
5
|
+
import { a as o, i as s, n as c, r as l } from "./glide-data-editor-BYx8nPvz.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",
|
|
@@ -5,12 +5,12 @@ import { t as i } from "./compiler-runtime-CldRdSsv.js";
|
|
|
5
5
|
import { t as a } from "./copy-icon-De584pZ4.js";
|
|
6
6
|
import { Bt as o, H as s, J as c, K as l, Rt as u, i as d, kt as f, m as p, n as m, pn as h } from "./error-entries-mpoD5t79.js";
|
|
7
7
|
import { b as g } from "./select-2KOiReNY.js";
|
|
8
|
-
import { n as ee, t as te } from "./globals-
|
|
8
|
+
import { n as ee, t as te } from "./globals-Cha-b9Oo.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-3BD1kT0s.js";
|
|
10
10
|
import { _ as ne, i as v, w as y } from "./useTheme-DMfQYmlG.js";
|
|
11
11
|
import { a as re, i as ie, n as ae, r as oe } from "./dialog-DVRfQuhD.js";
|
|
12
12
|
import { t as se } from "./useAsyncData-Bn8SxUqM.js";
|
|
13
|
-
import { t as ce } from "./code-visibility-
|
|
13
|
+
import { t as ce } from "./code-visibility-CjilY2pq.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
15
|
var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), le = (e) => {
|
|
16
16
|
let n = (0, x.c)(8), r, i;
|
|
@@ -6,7 +6,7 @@ import { i as s, n as c, r as l } from "./copy-icon-De584pZ4.js";
|
|
|
6
6
|
import { C as u, c as d, i as f, n as p, s as m, t as h, x as g } from "./select-2KOiReNY.js";
|
|
7
7
|
import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-DCMbbQ35.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-D98laidb.js";
|
|
9
|
-
import { n as ne, t as re } from "./ErrorBoundary-
|
|
9
|
+
import { n as ne, t as re } from "./ErrorBoundary-Do1bDnqE.js";
|
|
10
10
|
import { t as ie } from "./react-dom-DUmH0GXv.js";
|
|
11
11
|
import { t as M } from "./jsx-runtime-3BD1kT0s.js";
|
|
12
12
|
import { t as N } from "./label-Qvw1E97W.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-
|
|
7065
|
+
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-Bov1HRwt.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-
|
|
9296
|
+
var Hs = K.lazy(async () => await import("./number-overlay-editor-9juAuy71.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-s4zZxwKe.js";
|
|
2
2
|
import { _ as t } from "./useTheme-DMfQYmlG.js";
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
3
|
+
import { r as n } from "./code-visibility-CjilY2pq.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
|
@@ -7,7 +7,7 @@ import { A as T, F as E, I as D, J as O, K as k, L as A, M as j, Q as M, R as N,
|
|
|
7
7
|
import { a as ce, d as le, i as ue, m as de, n as fe, o as pe, p as me, r as he, t as ge } from "./tooltip-s4zZxwKe.js";
|
|
8
8
|
import { $ as _e, A as ve, At as ye, B as be, C as xe, D as Se, E as Ce, Et as we, G as Te, Gt as Ee, H as De, Ht as Oe, J as ke, Jt as Ae, Lt as je, Mt as Me, Nt as Ne, Ot as Pe, P as Fe, Pt as Ie, St as Le, T as Re, Ut as ze, V as Be, Vt as Ve, X as He, Xt as Ue, Y as We, Yt as Ge, Z as Ke, Zt as qe, _ as Je, _n as Ye, _t as Xe, at as Ze, dn as Qe, et as $e, f as et, fn as tt, ft as nt, g as rt, h as it, hn as at, in as ot, it as st, j as ct, jt as lt, k as ut, kt as dt, ln as ft, lt as pt, m as mt, mn as ht, mt as gt, nn as _t, o as vt, on as yt, p as bt, pt as xt, q as St, qt as Ct, rn as wt, s as Tt, tn as Et, u as Dt, un as Ot, v as kt, vn as At, vt as jt, w as Mt, z as Nt } from "./error-entries-mpoD5t79.js";
|
|
9
9
|
import { D as Pt, E as Ft, O as It, S as Lt, T as Rt, _ as zt, a as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, l as qt, m as Jt, n as Yt, o as Xt, p as Zt, r as Qt, s as $t, t as en, u as tn, v as nn, w as rn, x as an, y as on } from "./spec-h69nC3SI.js";
|
|
10
|
-
import { $t as sn, A as cn, At as ln, B as un, Bt as dn, C as fn, Ct as pn, D as mn, Dt as hn, E as gn, Et as _n, F as vn, Ft as yn, G as bn, Gt as xn, H as Sn, Ht as Cn, I as wn, It as Tn, J as En, Jt as Dn, K as On, Kt as kn, L as An, Lt as jn, M as Mn, Mt as Nn, N as Pn, Nt as Fn, O as In, Ot as Ln, P as Rn, Pt as zn, Qt as Bn, R as Vn, Rt as Hn, S as Un, St as Wn, T as Gn, Tt as Kn, U as qn, Ut as Jn, V as Yn, Vt as Xn, W as Zn, Wt as Qn, X as $n, Xt as er, Y as tr, Yt as nr, Zt as rr, _ as ir, _t as ar, an as or, at as sr, b as cr, c as lr, cn as ur, ct as dr, d as fr, dn as pr, dt as mr, en as hr, et as gr, f as _r, fn as vr, ft as yr, g as br, gt as xr, h as Sr, hn as Cr, ht as wr, in as Tr, it as Er, j as Dr, jt as Or, k as kr, kt as Ar, ln as jr, lt as Mr, m as Nr, mn as Pr, mt as Fr, nn as Ir, nt as Lr, ot as Rr, p as zr, pn as Br, pt as Vr, q as Hr, qt as Ur, r as Wr, rn as Gr, rt as Kr, sn as qr, st as Jr, t as Yr, tn as Xr, tt as Zr, u as Qr, un as $r, ut as ei, v as ti, vt as ni, w as ri, wt as ii, x as ai, y as oi, yt as si, z as ci, zt as li } from "./common-
|
|
10
|
+
import { $t as sn, A as cn, At as ln, B as un, Bt as dn, C as fn, Ct as pn, D as mn, Dt as hn, E as gn, Et as _n, F as vn, Ft as yn, G as bn, Gt as xn, H as Sn, Ht as Cn, I as wn, It as Tn, J as En, Jt as Dn, K as On, Kt as kn, L as An, Lt as jn, M as Mn, Mt as Nn, N as Pn, Nt as Fn, O as In, Ot as Ln, P as Rn, Pt as zn, Qt as Bn, R as Vn, Rt as Hn, S as Un, St as Wn, T as Gn, Tt as Kn, U as qn, Ut as Jn, V as Yn, Vt as Xn, W as Zn, Wt as Qn, X as $n, Xt as er, Y as tr, Yt as nr, Zt as rr, _ as ir, _t as ar, an as or, at as sr, b as cr, c as lr, cn as ur, ct as dr, d as fr, dn as pr, dt as mr, en as hr, et as gr, f as _r, fn as vr, ft as yr, g as br, gt as xr, h as Sr, hn as Cr, ht as wr, in as Tr, it as Er, j as Dr, jt as Or, k as kr, kt as Ar, ln as jr, lt as Mr, m as Nr, mn as Pr, mt as Fr, nn as Ir, nt as Lr, ot as Rr, p as zr, pn as Br, pt as Vr, q as Hr, qt as Ur, r as Wr, rn as Gr, rt as Kr, sn as qr, st as Jr, t as Yr, tn as Xr, tt as Zr, u as Qr, un as $r, ut as ei, v as ti, vt as ni, w as ri, wt as ii, x as ai, y as oi, yt as si, z as ci, zt as li } from "./common-CgbJYN1L.js";
|
|
11
11
|
import { c as ui, i as di, n as fi, o as pi, t as mi } from "./useLifecycle-BJlxHqWa.js";
|
|
12
12
|
import { t as hi } from "./check-C9Mp9eCK.js";
|
|
13
13
|
import { A as gi, C as _i, D as vi, E as yi, M as bi, O as xi, S as Si, T as Ci, a as wi, b as Ti, c as Ei, i as Di, l as Oi, n as ki, o as Ai, r as ji, s as Mi, t as Ni, w as Pi, x as Fi } from "./select-2KOiReNY.js";
|
|
@@ -15,8 +15,8 @@ import { B as Ii, C as Li, J as Ri, Ot as zi, S as Bi, W as Vi, X as Hi, Y as Ui
|
|
|
15
15
|
import { C as ha, _ as ga, a as _a, b as va, c as ya, f as ba, h as xa, m as Sa, p as Ca, s as wa, u as Ta, x as Ea, y as Da } from "./toDate-CDzoofJo.js";
|
|
16
16
|
import { a as Oa, c as ka, d as Aa, f as ja, i as Ma, l as Na, n as Pa, o as Fa, r as Ia, s as La, t as Ra } from "./process-output-DLS4Mqg_.js";
|
|
17
17
|
import { a as za, c as Ba, d as Va, i as Ha, l as Ua, r as Wa, u as Ga } from "./glide-utils-D98laidb.js";
|
|
18
|
-
import { n as Ka, t as qa } from "./ErrorBoundary-
|
|
19
|
-
import { n as Ja, t as Ya } from "./globals-
|
|
18
|
+
import { n as Ka, t as qa } from "./ErrorBoundary-Do1bDnqE.js";
|
|
19
|
+
import { n as Ja, t as Ya } from "./globals-Cha-b9Oo.js";
|
|
20
20
|
import { t as Xa } from "./react-dom-DUmH0GXv.js";
|
|
21
21
|
import { t as Za } from "./jsx-runtime-3BD1kT0s.js";
|
|
22
22
|
import { A as Qa, At as $a, B as eo, C as V, Ct as to, D as no, Dt as ro, Et as io, F as ao, G as oo, H as so, I as co, J as lo, K as uo, L as H, N as U, O as fo, Ot as po, P as W, Q as mo, R as ho, S as go, St as _o, T as vo, Tt as yo, W as bo, _ as xo, a as So, b as Co, bt as wo, c as To, d as Eo, et as Do, f as Oo, g as ko, h as Ao, i as jo, j as Mo, k as No, kt as Po, l as Fo, m as Io, n as Lo, o as Ro, p as zo, pt as Bo, q as Vo, r as Ho, s as Uo, tt as Wo, u as Go, v as Ko, w as G, wt as qo, x as Jo, y as K, z as Yo } from "./use-restore-focus-BgDTd2tc.js";
|
|
@@ -40,7 +40,7 @@ import { i as Bs, n as Vs, r as Hs } from "./formats-DI7HEVv7.js";
|
|
|
40
40
|
import { t as Us } from "./semaphore-89jsoHtS.js";
|
|
41
41
|
import { D as Ws, O as Gs } from "./vega-loader.browser-B9Pz0EGP.js";
|
|
42
42
|
import { a as Ks, n as qs } from "./loader-DOVB0Syl.js";
|
|
43
|
-
import { c as Js, d as Ys, i as Xs, l as Zs, o as Qs, s as $s, t as ec, u as tc } from "./code-visibility-
|
|
43
|
+
import { c as Js, d as Ys, i as Xs, l as Zs, o as Qs, s as $s, t as ec, u as tc } from "./code-visibility-CjilY2pq.js";
|
|
44
44
|
import { t as nc } from "./useDeepCompareMemoize-CC2tnPCk.js";
|
|
45
45
|
import { t as rc } from "./esm-Bbw_Njjx.js";
|
|
46
46
|
//#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
@@ -12276,7 +12276,7 @@ function nD(e, t) {
|
|
|
12276
12276
|
}
|
|
12277
12277
|
//#endregion
|
|
12278
12278
|
//#region src/plugins/impl/DataEditorPlugin.tsx
|
|
12279
|
-
var rD = J.lazy(() => import("./glide-data-editor-
|
|
12279
|
+
var rD = J.lazy(() => import("./glide-data-editor-BYx8nPvz.js").then((e) => e.t)), iD = zT("marimo-data-editor", { cssStyles: [cE] }).withData(W({
|
|
12280
12280
|
initialValue: W({ edits: V(W({
|
|
12281
12281
|
rowIdx: U(),
|
|
12282
12282
|
columnId: H(),
|
|
@@ -32067,7 +32067,7 @@ function rH(e) {
|
|
|
32067
32067
|
}
|
|
32068
32068
|
//#endregion
|
|
32069
32069
|
//#region src/components/editor/renderers/slides-layout/slides-layout.tsx
|
|
32070
|
-
var iH = J.lazy(() => import("./reveal-component-
|
|
32070
|
+
var iH = J.lazy(() => import("./reveal-component-DPgpYGKs.js")), aH = (e) => {
|
|
32071
32071
|
let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = xs(ga), s = a === "read" || o, c = xs(rt) > 1, [l, u] = (0, J.useState)(null), d;
|
|
32072
32072
|
t[0] !== i || t[1] !== n ? (d = tR(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
|
|
32073
32073
|
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-
|
|
3
|
+
import { a as n } from "./glide-data-editor-BYx8nPvz.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",
|
|
@@ -4,14 +4,14 @@ 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-s4zZxwKe.js";
|
|
6
6
|
import { E as u } from "./error-entries-mpoD5t79.js";
|
|
7
|
-
import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-
|
|
7
|
+
import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-CgbJYN1L.js";
|
|
8
8
|
import { M as C } from "./select-2KOiReNY.js";
|
|
9
9
|
import { J as ee } from "./dropdown-menu-DCMbbQ35.js";
|
|
10
10
|
import { _ as w } from "./toDate-CDzoofJo.js";
|
|
11
11
|
import { t as T } from "./jsx-runtime-3BD1kT0s.js";
|
|
12
12
|
import { X as E } from "./use-restore-focus-BgDTd2tc.js";
|
|
13
13
|
import { A as D, w as O, x as k } from "./useTheme-DMfQYmlG.js";
|
|
14
|
-
import { a as A, n as te, t as ne } from "./code-visibility-
|
|
14
|
+
import { a as A, n as te, t as ne } from "./code-visibility-CjilY2pq.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
|
@@ -82,7 +82,7 @@ describe("PairWithAgentModal", () => {
|
|
|
82
82
|
vi.unstubAllGlobals();
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
it.each(["Claude", "Codex", "OpenCode", "
|
|
85
|
+
it.each(["Claude", "Codex", "OpenCode", "Other Agents"])(
|
|
86
86
|
"targets the verified host Notebook in %s",
|
|
87
87
|
async (tab) => {
|
|
88
88
|
await act(async () => {
|
|
@@ -103,11 +103,13 @@ describe("PairWithAgentModal", () => {
|
|
|
103
103
|
panel.textContent?.includes("Agent connections require OpenCode 2.x"),
|
|
104
104
|
).toBe(tab === "OpenCode");
|
|
105
105
|
expect(panel).toHaveTextContent(
|
|
106
|
-
tab === "
|
|
106
|
+
tab === "Other Agents"
|
|
107
|
+
? "1. Copy this prompt"
|
|
108
|
+
: "1. Run in your terminal",
|
|
107
109
|
);
|
|
108
110
|
fireEvent.click(
|
|
109
111
|
within(panel).getByRole("button", {
|
|
110
|
-
name: tab === "
|
|
112
|
+
name: tab === "Other Agents" ? "Copy prompt" : "Copy command",
|
|
111
113
|
}),
|
|
112
114
|
);
|
|
113
115
|
await waitFor(() => expect(copyToClipboard).toHaveBeenCalledOnce());
|
|
@@ -119,7 +121,7 @@ describe("PairWithAgentModal", () => {
|
|
|
119
121
|
},
|
|
120
122
|
);
|
|
121
123
|
|
|
122
|
-
it.each(["Claude", "
|
|
124
|
+
it.each(["Claude", "Other Agents"])(
|
|
123
125
|
"waits for kernel-ready before copying the %s target",
|
|
124
126
|
async (tab) => {
|
|
125
127
|
store.set(stableSessionIdAtom, null);
|
|
@@ -137,13 +139,13 @@ describe("PairWithAgentModal", () => {
|
|
|
137
139
|
expect(panel).toHaveTextContent("http://localhost:8000");
|
|
138
140
|
expect(
|
|
139
141
|
within(panel).getByRole("button", {
|
|
140
|
-
name: tab === "
|
|
142
|
+
name: tab === "Other Agents" ? "Copy prompt" : "Copy command",
|
|
141
143
|
}),
|
|
142
144
|
).toBeDisabled();
|
|
143
145
|
},
|
|
144
146
|
);
|
|
145
147
|
|
|
146
|
-
it.each(["Claude", "Codex", "OpenCode", "
|
|
148
|
+
it.each(["Claude", "Codex", "OpenCode", "Other Agents"])(
|
|
147
149
|
"uses the editor CLI in %s when host is disabled",
|
|
148
150
|
async (tab) => {
|
|
149
151
|
store.set(pairConfigAtom, { ...PAIR_CONFIG, hostEnabled: false });
|
|
@@ -162,7 +164,7 @@ describe("PairWithAgentModal", () => {
|
|
|
162
164
|
expect(panel).not.toHaveTextContent("MARIMO_PAIR_NEXT");
|
|
163
165
|
fireEvent.click(
|
|
164
166
|
within(panel).getByRole("button", {
|
|
165
|
-
name: tab === "
|
|
167
|
+
name: tab === "Other Agents" ? "Copy prompt" : "Copy command",
|
|
166
168
|
}),
|
|
167
169
|
);
|
|
168
170
|
await waitFor(() => expect(copyToClipboard).toHaveBeenCalledOnce());
|
|
@@ -185,7 +187,7 @@ describe("PairWithAgentModal", () => {
|
|
|
185
187
|
await act(async () => {
|
|
186
188
|
render(<PairWithAgentModal onClose={vi.fn()} />, { wrapper });
|
|
187
189
|
});
|
|
188
|
-
fireEvent.mouseDown(screen.getByRole("tab", { name: "
|
|
190
|
+
fireEvent.mouseDown(screen.getByRole("tab", { name: "Other Agents" }), {
|
|
189
191
|
button: 0,
|
|
190
192
|
ctrlKey: false,
|
|
191
193
|
});
|
|
@@ -75,9 +75,7 @@ describe("PairWithAgent", () => {
|
|
|
75
75
|
}),
|
|
76
76
|
);
|
|
77
77
|
|
|
78
|
-
expect(
|
|
79
|
-
screen.getByRole("dialog", { name: "Pair with an agent" }),
|
|
80
|
-
).toBeVisible();
|
|
78
|
+
expect(screen.getByRole("dialog", { name: "Pair an agent" })).toBeVisible();
|
|
81
79
|
});
|
|
82
80
|
|
|
83
81
|
it("opens the pairing dialog and preserves a passed click handler", () => {
|
|
@@ -88,9 +86,7 @@ describe("PairWithAgent", () => {
|
|
|
88
86
|
fireEvent.click(screen.getByRole("button", { name: "Connect your agent" }));
|
|
89
87
|
|
|
90
88
|
expect(onClick).toHaveBeenCalledOnce();
|
|
91
|
-
expect(
|
|
92
|
-
screen.getByRole("dialog", { name: "Pair with an agent" }),
|
|
93
|
-
).toBeVisible();
|
|
89
|
+
expect(screen.getByRole("dialog", { name: "Pair an agent" })).toBeVisible();
|
|
94
90
|
});
|
|
95
91
|
|
|
96
92
|
it("hides pairing controls in WASM", () => {
|
|
@@ -14,7 +14,7 @@ export const AGENT_LABELS: Record<AgentTab, string> = {
|
|
|
14
14
|
claude: "Claude",
|
|
15
15
|
codex: "Codex",
|
|
16
16
|
opencode: "OpenCode",
|
|
17
|
-
prompt: "
|
|
17
|
+
prompt: "Other Agents",
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
/** How to invoke marimo: from the local checkout in dev, else via uvx. */
|
|
@@ -67,7 +67,7 @@ export function getTerminalCommand(
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* The raw prompt for the "
|
|
70
|
+
* The raw prompt for the "Other Agents" tab. Mirrors the output of
|
|
71
71
|
* `marimo pair prompt` (see `marimo/_cli/pair/commands.py`) so pasting it into
|
|
72
72
|
* an agent behaves the same as the terminal commands.
|
|
73
73
|
*/
|
|
@@ -116,7 +116,7 @@ export const PairWithAgentModal: React.FC<{
|
|
|
116
116
|
return (
|
|
117
117
|
<DialogContent className="sm:max-w-2xl">
|
|
118
118
|
<DialogHeader>
|
|
119
|
-
<DialogTitle>Pair
|
|
119
|
+
<DialogTitle>Pair an agent</DialogTitle>
|
|
120
120
|
<DialogDescription>
|
|
121
121
|
Use an AI coding agent to pair-program on this notebook.{" "}
|
|
122
122
|
<a
|
|
@@ -301,7 +301,7 @@ export function useNotebookActions({
|
|
|
301
301
|
|
|
302
302
|
{
|
|
303
303
|
icon: <SparklesIcon size={14} strokeWidth={1.5} />,
|
|
304
|
-
label: "
|
|
304
|
+
label: "Pair an agent",
|
|
305
305
|
hidden: isWasm(),
|
|
306
306
|
handle: async () => {
|
|
307
307
|
openModal(<PairWithAgentModal onClose={closeModal} />);
|