@brett_lamy/ui 5.10.0 → 5.13.0
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/components/avatar.d.ts +4 -1
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +55 -47
- package/dist/components/canvas.d.ts +18 -0
- package/dist/components/canvas.d.ts.map +1 -1
- package/dist/components/canvas.js +79 -11
- package/dist/components/command-menu.js +1 -1
- package/dist/components/floating-chat.d.ts +1 -1
- package/dist/components/floating-sheet.d.ts +1 -1
- package/dist/components/hover-card.d.ts +69 -0
- package/dist/components/hover-card.d.ts.map +1 -0
- package/dist/components/hover-card.js +164 -0
- package/dist/components/list.d.ts +3 -0
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.js +265 -250
- package/dist/components/markdown-view.d.ts +3 -1
- package/dist/components/markdown-view.d.ts.map +1 -1
- package/dist/components/markdown-view.js +12 -11
- package/dist/components/open-code.d.ts +31 -0
- package/dist/components/open-code.d.ts.map +1 -0
- package/dist/components/open-code.js +253 -0
- package/dist/components/replay-preview.d.ts +2 -2
- package/dist/components/replay-preview.d.ts.map +1 -1
- package/dist/components/replay-preview.js +3 -3
- package/dist/components/sql-console.js +1 -1
- package/dist/components/tree.d.ts +4 -1
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +229 -202
- package/dist/components/tui-preview.d.ts +3 -0
- package/dist/components/tui-preview.d.ts.map +1 -0
- package/dist/components/tui-preview.js +3 -0
- package/dist/components/workspace.d.ts +11 -0
- package/dist/components/workspace.d.ts.map +1 -0
- package/dist/components/workspace.js +74 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +17 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +163 -156
- package/dist/lib/canvas-math.d.ts +1 -1
- package/dist/lib/canvas-math.d.ts.map +1 -1
- package/dist/lib/canvas-math.js +1 -1
- package/dist/lib/open-code-browser-agent.d.ts +7 -0
- package/dist/lib/open-code-browser-agent.d.ts.map +1 -0
- package/dist/lib/open-code-browser-agent.js +161 -0
- package/dist/lib/open-code-browser.d.ts +17 -0
- package/dist/lib/open-code-browser.d.ts.map +1 -0
- package/dist/lib/open-code-browser.js +252 -0
- package/dist/lib/open-code-host.d.ts +182 -0
- package/dist/lib/open-code-host.d.ts.map +1 -0
- package/dist/lib/open-code-host.js +118 -0
- package/dist/lib/open-code-keychain.d.ts +11 -0
- package/dist/lib/open-code-keychain.d.ts.map +1 -0
- package/dist/lib/open-code-keychain.js +19 -0
- package/dist/lib/open-code-preview.d.ts +16 -0
- package/dist/lib/open-code-preview.d.ts.map +1 -0
- package/dist/lib/open-code-preview.js +112 -0
- package/dist/lib/tailscale-connect.d.ts.map +1 -1
- package/dist/lib/tailscale-connect.js +97 -62
- package/dist/lib/tailscale-policy.d.ts +11 -2
- package/dist/lib/tailscale-policy.d.ts.map +1 -1
- package/dist/lib/tailscale-policy.js +27 -18
- package/dist/lib/tailscale-router/bridge.d.ts +7 -2
- package/dist/lib/tailscale-router/bridge.d.ts.map +1 -1
- package/dist/lib/tailscale-router/bridge.js +64 -57
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/theme.js +8 -5
- package/dist/opencode.d.ts +7 -0
- package/dist/opencode.d.ts.map +1 -0
- package/dist/opencode.js +6 -0
- package/dist/tailscale-sw.js +237 -12
- package/package.json +21 -3
|
@@ -20,6 +20,8 @@ export interface MarkdownViewProps {
|
|
|
20
20
|
demoResolver?: GitbookStreamdownProps['demoResolver'];
|
|
21
21
|
/** Render mounted component or Storybook source references. */
|
|
22
22
|
sourceRenderer?: GitbookStreamdownProps['sourceRenderer'];
|
|
23
|
+
/** Configure the sandboxed WASM terminal used by `tui` code fences, or disable it. */
|
|
24
|
+
tui?: GitbookStreamdownProps['tui'];
|
|
23
25
|
/** Called when an @mention / #tag / citation chip is clicked. */
|
|
24
26
|
onReferenceClick?: (ref: ReferenceNode) => void;
|
|
25
27
|
/** Override chip rendering; return null to fall back to the default chips. */
|
|
@@ -27,5 +29,5 @@ export interface MarkdownViewProps {
|
|
|
27
29
|
className?: string;
|
|
28
30
|
style?: React.CSSProperties;
|
|
29
31
|
}
|
|
30
|
-
export declare function MarkdownView({ markdown, streaming, demoResolver, sourceRenderer, onReferenceClick, renderReference, className, style }: MarkdownViewProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function MarkdownView({ markdown, streaming, demoResolver, sourceRenderer, tui, onReferenceClick, renderReference, className, style }: MarkdownViewProps): import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
//# sourceMappingURL=markdown-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-view.d.ts","sourceRoot":"","sources":["../../src/components/markdown-view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AACrG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,kCAAkC,CAAC;AAI1C,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,wBAAwB,EAAE,aAAa,EAAE,CAAC;AA+CxD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,EAAE,CAiCvD;AAED,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,2CAOpE;AAED,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,2CAoF3C;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;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,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,2CAOpE;AAED,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,2CAoF3C;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uDAAuD;IACvD,YAAY,CAAC,EAAE,sBAAsB,CAAC,cAAc,CAAC,CAAC;IACtD,+DAA+D;IAC/D,cAAc,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,CAAC;IAC1D,sFAAsF;IACtF,GAAG,CAAC,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;IACpC,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,8EAA8E;IAC9E,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AACD,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,EAAE,gBAAgB,EAAE,eAAe,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,iBAAiB,2CAe9J"}
|
|
@@ -106,25 +106,26 @@ function d({ md: e }) {
|
|
|
106
106
|
}
|
|
107
107
|
return /* @__PURE__ */ n(t.Fragment, { children: a });
|
|
108
108
|
}
|
|
109
|
-
function f({ markdown: r, streaming: o, demoResolver: s, sourceRenderer: c,
|
|
110
|
-
let
|
|
111
|
-
...
|
|
112
|
-
...
|
|
113
|
-
}), [
|
|
109
|
+
function f({ markdown: r, streaming: o, demoResolver: s, sourceRenderer: c, tui: l, onReferenceClick: u, renderReference: d, className: f, style: p }) {
|
|
110
|
+
let m = t.useMemo(() => ({
|
|
111
|
+
...u ? { onReferenceClick: u } : {},
|
|
112
|
+
...d ? { renderReference: d } : {}
|
|
113
|
+
}), [u, d]), h = /* @__PURE__ */ n("div", {
|
|
114
114
|
"data-slot": "markdown-view",
|
|
115
115
|
"data-renderer": "docstream",
|
|
116
|
-
className: e("wb-md",
|
|
117
|
-
style:
|
|
116
|
+
className: e("wb-md", f),
|
|
117
|
+
style: p,
|
|
118
118
|
children: /* @__PURE__ */ n(i, {
|
|
119
119
|
markdown: r ?? "",
|
|
120
120
|
isStreaming: o,
|
|
121
121
|
demoResolver: s,
|
|
122
|
-
sourceRenderer: c
|
|
122
|
+
sourceRenderer: c,
|
|
123
|
+
tui: l
|
|
123
124
|
})
|
|
124
125
|
});
|
|
125
|
-
return !
|
|
126
|
-
value:
|
|
127
|
-
children:
|
|
126
|
+
return !u && !d ? h : /* @__PURE__ */ n(a.Provider, {
|
|
127
|
+
value: m,
|
|
128
|
+
children: h
|
|
128
129
|
});
|
|
129
130
|
}
|
|
130
131
|
//#endregion
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { OpenCodeHostBridge, OpenCodeCredentialStore, OpenCodeConnectionStore, OpenCodeRuntime, OpenCodeRuntimeSession } from '../lib/open-code-host';
|
|
3
|
+
export type OpenCodeState = 'idle' | 'starting' | 'running' | 'error' | 'stopped';
|
|
4
|
+
export interface OpenCodeProps {
|
|
5
|
+
/** Borrow an existing host, or create a fresh one on each Start (disposed on Stop). */
|
|
6
|
+
host?: OpenCodeHostBridge;
|
|
7
|
+
/** Supported encrypted host store. Locking stops the terminal; autoStart restores it after unlocking. */
|
|
8
|
+
credentialStore?: OpenCodeCredentialStore;
|
|
9
|
+
/** Encrypted connection choice, Tailscale session and exit node. Uses the same unlock lifecycle as credentialStore. */
|
|
10
|
+
connectionStore?: OpenCodeConnectionStore;
|
|
11
|
+
createHost?: () => OpenCodeHostBridge | Promise<OpenCodeHostBridge>;
|
|
12
|
+
runtimeUrl?: string;
|
|
13
|
+
/** Hosts AlmostNode's worker and bootstrap on a separate origin. */
|
|
14
|
+
previewRuntimeUrl?: string;
|
|
15
|
+
/** Supply an application-bundled runtime instead of the hosted module. */
|
|
16
|
+
loadRuntime?: () => Promise<OpenCodeRuntime>;
|
|
17
|
+
title?: string;
|
|
18
|
+
height?: number;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
theme?: 'light' | 'dark';
|
|
22
|
+
/** Start when mounted. Set false to require the Start button. */
|
|
23
|
+
autoStart?: boolean;
|
|
24
|
+
/** Attach Agent Browser-compatible MCP tools for the selected app iframe. */
|
|
25
|
+
browserTools?: boolean;
|
|
26
|
+
onStateChange?: (state: OpenCodeState) => void;
|
|
27
|
+
onReady?: (session: OpenCodeRuntimeSession, host?: OpenCodeHostBridge) => void;
|
|
28
|
+
}
|
|
29
|
+
/** A real OpenCode TUI beside the HTTP apps started by its host runtime. */
|
|
30
|
+
export declare function OpenCode({ host, credentialStore, connectionStore, createHost, runtimeUrl, previewRuntimeUrl, loadRuntime, title, height, className, style, theme, autoStart, browserTools, onStateChange, onReady, }: OpenCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=open-code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-code.d.ts","sourceRoot":"","sources":["../../src/components/open-code.tsx"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAQf,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAE5B,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,aAAa,GACvB,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;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js";
|
|
3
|
+
import { createOpenCodeBrowser as t } from "../lib/open-code-browser.js";
|
|
4
|
+
import { DEFAULT_OPENCODE_PREVIEW_URL as n, connectOpenCodePreview as r, openCodePreviewFrameUrl as i } from "../lib/open-code-preview.js";
|
|
5
|
+
import { loadOpenCodeRuntime as ee, openCodePreviewUrl as te } from "../lib/open-code-host.js";
|
|
6
|
+
import { useEffect as a, useMemo as o, useRef as s, useState as c, useSyncExternalStore as l } from "react";
|
|
7
|
+
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/open-code.tsx
|
|
9
|
+
function p({ host: p, credentialStore: m, connectionStore: h, createHost: g, runtimeUrl: _, previewRuntimeUrl: v = n, loadRuntime: y, title: b = "OpenCode", height: ne = 620, className: re, style: ie, theme: x = "dark", autoStart: S = !0, browserTools: C = !0, onStateChange: w, onReady: T }) {
|
|
10
|
+
let E = s(null), D = s(null), [O, k] = c(S), A = o(() => [m, h].filter((e) => e !== void 0), [m, h]), j = o(() => ({
|
|
11
|
+
subscribe: (e) => {
|
|
12
|
+
let t = A.map((t) => t.subscribe(e));
|
|
13
|
+
return () => t.forEach((e) => e());
|
|
14
|
+
},
|
|
15
|
+
getSnapshot: () => A.every((e) => e.unlocked()),
|
|
16
|
+
getServerSnapshot: () => A.length === 0
|
|
17
|
+
}), [A]), M = l(j.subscribe, j.getSnapshot, j.getServerSnapshot), ae = s(M), [oe, se] = c(0), [N, P] = c(S ? "starting" : "idle"), [F, I] = c(""), [L, R] = c([]), [z, B] = c(null), [V, H] = c(0), [U, ce] = c(""), [W, le] = c(""), [ue, G] = c("/"), [K, q] = c(), [de, fe] = c(!1), J = o(() => t({ onConnectedChange: fe }), []), Y = s({
|
|
18
|
+
onStateChange: w,
|
|
19
|
+
onReady: T
|
|
20
|
+
});
|
|
21
|
+
Y.current = {
|
|
22
|
+
onStateChange: w,
|
|
23
|
+
onReady: T
|
|
24
|
+
}, a(() => {
|
|
25
|
+
Y.current.onStateChange?.(N);
|
|
26
|
+
}, [N]), a(() => {
|
|
27
|
+
ae.current !== M && (ae.current = M, k(M && S), P(M && S ? "starting" : "stopped"), R([]), B(null), M && se((e) => e + 1));
|
|
28
|
+
}, [M, S]), a(() => {
|
|
29
|
+
if (!O || !E.current || !D.current) return;
|
|
30
|
+
let e = E.current, t = D.current, n = !1, r, a, o, s = !1, c = () => {
|
|
31
|
+
s || (s = !0, o?.(), J.reset(), r?.dispose(), a?.dispose?.());
|
|
32
|
+
};
|
|
33
|
+
return P("starting"), I(""), R([]), B(null), G("/"), (async () => {
|
|
34
|
+
if (p && g) throw Error("Choose host or createHost, not both.");
|
|
35
|
+
let s = p ?? (a = await g?.());
|
|
36
|
+
if (n) {
|
|
37
|
+
a?.dispose?.();
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
q(s);
|
|
41
|
+
let c = crypto.randomUUID();
|
|
42
|
+
if (i(v, c, 3e3, window.location.href), le(c), await s?.previews?.ready(), n) return;
|
|
43
|
+
if (s?.previews) {
|
|
44
|
+
let e = s.previews, t = /* @__PURE__ */ new Set(), n = () => {
|
|
45
|
+
let n = e.list().map((e) => ({
|
|
46
|
+
...e,
|
|
47
|
+
url: te(e, window.location.href)
|
|
48
|
+
})), r = n.filter((e) => !t.has(e.port));
|
|
49
|
+
r.length && G("/"), t = new Set(n.map((e) => e.port)), R(n), B((e) => r.at(-1)?.port ?? (n.some((t) => t.port === e) ? e : null));
|
|
50
|
+
};
|
|
51
|
+
n(), o = e.subscribe(() => {
|
|
52
|
+
try {
|
|
53
|
+
n();
|
|
54
|
+
} catch (e) {
|
|
55
|
+
I(e instanceof Error ? e.message : String(e));
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
let l = await (y ? y() : ee(_));
|
|
60
|
+
if (n) return;
|
|
61
|
+
if (m && l.capabilities?.credentialStore !== 1) throw Error("This OpenCode runtime needs the encrypted keychain bridge (credentialStore v1). Update the runtime before saving sign-ins.");
|
|
62
|
+
if (h && l.capabilities?.connectionStore !== 1) throw Error("This OpenCode runtime needs the encrypted connection bridge (connectionStore v1). Update the runtime before restoring Tailscale.");
|
|
63
|
+
ce(l.version ?? "");
|
|
64
|
+
let u = [...s?.mcpServers ?? [], ...C && s?.previews ? [J.server] : []];
|
|
65
|
+
if (u.length && l.capabilities?.hostMcp !== 1) throw Error("This OpenCode runtime needs the host MCP update. Update runtimeUrl or set browserTools={false}.");
|
|
66
|
+
if (r = await l.mount({
|
|
67
|
+
container: e,
|
|
68
|
+
connectionContainer: t,
|
|
69
|
+
themeMode: x,
|
|
70
|
+
directory: s?.directory,
|
|
71
|
+
workspaceBridge: s?.workspaceBridge,
|
|
72
|
+
processBridge: s?.processBridge,
|
|
73
|
+
credentialStore: m,
|
|
74
|
+
connectionStore: h,
|
|
75
|
+
mcpServers: u
|
|
76
|
+
}), n) {
|
|
77
|
+
r.dispose();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
P("running"), Y.current.onReady?.(r, s), r.exited && (await r.exited, n || (k(!1), P("stopped"), R([]), B(null)));
|
|
81
|
+
})().catch((e) => {
|
|
82
|
+
n || (c(), k(!1), P("error"), I(e instanceof Error ? e.message : String(e)));
|
|
83
|
+
}), () => {
|
|
84
|
+
n = !0, c(), q(void 0);
|
|
85
|
+
};
|
|
86
|
+
}, [
|
|
87
|
+
O,
|
|
88
|
+
p,
|
|
89
|
+
m,
|
|
90
|
+
h,
|
|
91
|
+
g,
|
|
92
|
+
y,
|
|
93
|
+
_,
|
|
94
|
+
v,
|
|
95
|
+
x,
|
|
96
|
+
oe,
|
|
97
|
+
C,
|
|
98
|
+
J
|
|
99
|
+
]);
|
|
100
|
+
let X = L.find((e) => e.port === z), Z = s(null), Q = o(() => ({
|
|
101
|
+
key: `${W}:${z}:${V}`,
|
|
102
|
+
session: crypto.randomUUID()
|
|
103
|
+
}), [
|
|
104
|
+
W,
|
|
105
|
+
z,
|
|
106
|
+
V
|
|
107
|
+
]), $ = X && W ? i(v, Q.session, X.port, window.location.href, ue) : "";
|
|
108
|
+
return a(() => {
|
|
109
|
+
if (!(!Z.current || !K || !$ || z === null)) return r({
|
|
110
|
+
frame: Z.current,
|
|
111
|
+
host: K,
|
|
112
|
+
session: Q.session,
|
|
113
|
+
port: z,
|
|
114
|
+
url: $,
|
|
115
|
+
onError: I,
|
|
116
|
+
browser: C ? J : void 0,
|
|
117
|
+
onNavigate: (e) => {
|
|
118
|
+
G(e), H((e) => e + 1);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}, [
|
|
122
|
+
K,
|
|
123
|
+
$,
|
|
124
|
+
Q,
|
|
125
|
+
z,
|
|
126
|
+
J,
|
|
127
|
+
C
|
|
128
|
+
]), a(() => {
|
|
129
|
+
if (z === null || !L.some((e) => e.port === z)) return;
|
|
130
|
+
let e = z;
|
|
131
|
+
return K?.previews?.setTarget?.(e, Z.current?.contentWindow ?? null), () => K?.previews?.setTarget?.(e, null);
|
|
132
|
+
}, [
|
|
133
|
+
z,
|
|
134
|
+
L,
|
|
135
|
+
K,
|
|
136
|
+
V
|
|
137
|
+
]), /* @__PURE__ */ f("section", {
|
|
138
|
+
className: e("flex min-w-0 flex-col overflow-hidden rounded-xl border border-border bg-background font-sans text-foreground", re),
|
|
139
|
+
style: {
|
|
140
|
+
height: Math.max(320, ne),
|
|
141
|
+
...ie
|
|
142
|
+
},
|
|
143
|
+
"aria-label": b,
|
|
144
|
+
"data-state": N,
|
|
145
|
+
children: [
|
|
146
|
+
/* @__PURE__ */ f("header", {
|
|
147
|
+
className: "flex min-h-11 shrink-0 flex-wrap items-center gap-3 border-b border-border px-3 py-2 text-sm",
|
|
148
|
+
children: [
|
|
149
|
+
/* @__PURE__ */ f("strong", { children: [b, U && /* @__PURE__ */ f("span", {
|
|
150
|
+
className: "ml-2 font-normal text-muted-foreground",
|
|
151
|
+
children: ["v", U]
|
|
152
|
+
})] }),
|
|
153
|
+
/* @__PURE__ */ d("span", {
|
|
154
|
+
className: "text-xs text-muted-foreground",
|
|
155
|
+
role: "status",
|
|
156
|
+
children: N === "starting" ? "Starting WebAssembly…" : N === "running" ? "Running locally · WebAssembly" : N === "error" ? "Could not start" : N === "stopped" ? "Stopped" : "Ready to start"
|
|
157
|
+
}),
|
|
158
|
+
/* @__PURE__ */ d("div", {
|
|
159
|
+
ref: D,
|
|
160
|
+
className: "ml-auto"
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ d("button", {
|
|
163
|
+
type: "button",
|
|
164
|
+
className: "appearance-none rounded-md border border-border bg-transparent px-3 py-1 font-sans text-xs focus-visible:outline-2 focus-visible:outline-ring",
|
|
165
|
+
onClick: () => {
|
|
166
|
+
O ? (k(!1), P("stopped"), R([]), B(null), I("")) : k(!0);
|
|
167
|
+
},
|
|
168
|
+
children: O ? "Stop OpenCode" : "Start OpenCode"
|
|
169
|
+
})
|
|
170
|
+
]
|
|
171
|
+
}),
|
|
172
|
+
F && /* @__PURE__ */ d("p", {
|
|
173
|
+
role: "alert",
|
|
174
|
+
className: "m-3 rounded-lg bg-muted p-3 text-sm",
|
|
175
|
+
children: F
|
|
176
|
+
}),
|
|
177
|
+
/* @__PURE__ */ f("div", {
|
|
178
|
+
className: "flex min-h-0 flex-1 flex-col md:flex-row",
|
|
179
|
+
children: [/* @__PURE__ */ f("div", {
|
|
180
|
+
className: "relative min-h-0 min-w-0 flex-1 bg-muted p-2",
|
|
181
|
+
children: [
|
|
182
|
+
/* @__PURE__ */ d("div", {
|
|
183
|
+
ref: E,
|
|
184
|
+
className: "h-full min-h-0",
|
|
185
|
+
"aria-label": `${b} terminal`
|
|
186
|
+
}),
|
|
187
|
+
N === "starting" && /* @__PURE__ */ d("p", {
|
|
188
|
+
className: "pointer-events-none absolute inset-0 m-auto flex max-w-sm items-center justify-center p-6 text-center text-sm text-muted-foreground",
|
|
189
|
+
children: "Loading OpenCode and its WebAssembly renderer…"
|
|
190
|
+
}),
|
|
191
|
+
!O && /* @__PURE__ */ d("p", {
|
|
192
|
+
className: "absolute inset-0 m-auto flex max-w-sm items-center justify-center p-6 text-center text-sm text-muted-foreground",
|
|
193
|
+
children: "Start OpenCode to edit files and run commands in this browser. Servers opened by the host appear here as live previews."
|
|
194
|
+
})
|
|
195
|
+
]
|
|
196
|
+
}), L.length > 0 && /* @__PURE__ */ f("aside", {
|
|
197
|
+
className: "flex min-h-0 min-w-0 flex-1 flex-col border-t border-border md:border-t-0 md:border-l",
|
|
198
|
+
"aria-label": "App preview",
|
|
199
|
+
children: [/* @__PURE__ */ f("div", {
|
|
200
|
+
className: "flex min-h-10 shrink-0 flex-wrap items-center gap-2 border-b border-border px-3 py-2 text-xs",
|
|
201
|
+
children: [
|
|
202
|
+
/* @__PURE__ */ d("span", { children: "Preview" }),
|
|
203
|
+
C && X && /* @__PURE__ */ f("span", {
|
|
204
|
+
className: "text-muted-foreground",
|
|
205
|
+
title: "Agent Browser-compatible tools connected to this app iframe",
|
|
206
|
+
children: ["Browser MCP · ", de ? "ready" : "connecting"]
|
|
207
|
+
}),
|
|
208
|
+
L.map((e) => /* @__PURE__ */ d("button", {
|
|
209
|
+
type: "button",
|
|
210
|
+
"aria-pressed": z === e.port,
|
|
211
|
+
className: "appearance-none rounded border border-border bg-transparent px-2 py-1 font-sans aria-pressed:bg-muted",
|
|
212
|
+
onClick: () => {
|
|
213
|
+
G("/"), B(e.port);
|
|
214
|
+
},
|
|
215
|
+
children: e.name ?? `Port ${e.port}`
|
|
216
|
+
}, e.port)),
|
|
217
|
+
X && /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("button", {
|
|
218
|
+
type: "button",
|
|
219
|
+
className: "ml-auto appearance-none rounded border border-border bg-transparent px-2 py-1 font-sans",
|
|
220
|
+
onClick: () => H((e) => e + 1),
|
|
221
|
+
"aria-label": "Reload app preview",
|
|
222
|
+
children: "Reload"
|
|
223
|
+
}), /* @__PURE__ */ d("button", {
|
|
224
|
+
type: "button",
|
|
225
|
+
className: "appearance-none rounded border border-border bg-transparent px-2 py-1 font-sans",
|
|
226
|
+
onClick: () => B(null),
|
|
227
|
+
"aria-label": "Close app preview",
|
|
228
|
+
children: "Close"
|
|
229
|
+
})] })
|
|
230
|
+
]
|
|
231
|
+
}), X ? /* @__PURE__ */ d("iframe", {
|
|
232
|
+
ref: Z,
|
|
233
|
+
src: $,
|
|
234
|
+
title: `${b} · ${X.name ?? `port ${X.port}`}`,
|
|
235
|
+
sandbox: "allow-scripts allow-forms allow-same-origin",
|
|
236
|
+
referrerPolicy: "no-referrer",
|
|
237
|
+
className: "min-h-0 w-full flex-1 border-0 bg-white",
|
|
238
|
+
onLoad: () => K?.previews?.setTarget?.(X.port, Z.current?.contentWindow ?? null)
|
|
239
|
+
}, Q.key) : /* @__PURE__ */ d("p", {
|
|
240
|
+
className: "p-4 text-sm text-muted-foreground",
|
|
241
|
+
children: "Select a port to open its app."
|
|
242
|
+
})]
|
|
243
|
+
})]
|
|
244
|
+
}),
|
|
245
|
+
/* @__PURE__ */ d("p", {
|
|
246
|
+
className: "m-0 shrink-0 border-t border-border px-3 py-2 text-xs text-muted-foreground",
|
|
247
|
+
children: h ? "Connections and provider sign-ins use your Passwords keychain. Unlock it after a refresh to restore them." : m ? "Provider sign-ins use your keychain. Locking it stops this terminal. Sessions stay in memory." : "Sessions and provider credentials stay in memory. Preview apps run in a sandboxed frame."
|
|
248
|
+
})
|
|
249
|
+
]
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
//#endregion
|
|
253
|
+
export { p as OpenCode };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ReplayPreview, formatReplayTime, getReplayMarkers, getReplayMeta, getReplayPointerTrack, replayPointerAt, getReplayDevtools, replayDevtoolsAt, getReplayInspections, resolveReplayInspections, replayInspectionAt, } from '@brett_lamy/docstream/replay';
|
|
2
|
-
export type { ReplayPreviewHandle, ReplayPreviewProps, ReplayEvent, ReplayMarker, ReplayMarkerKind, ReplayMeta, ReplayPointerTrack, ReplayConsoleEntry, ReplayConsoleLevel, ReplayDevtools, ReplayDevtoolsState, ReplayDevtoolsTab, ReplayRequest, ReplayInspection, ReplayInspectionTab, ResolvedReplayInspection, } from '@brett_lamy/docstream/replay';
|
|
1
|
+
export { ReplayPreview, formatReplayTime, getReplayMarkers, getReplayMeta, getReplayPointerTrack, replayPointerAt, getReplayDevtools, replayDevtoolsAt, getReplayInspections, resolveReplayInspections, replayInspectionAt, ReplayStage, preloadReplayStage, } from '@brett_lamy/docstream/replay';
|
|
2
|
+
export type { ReplayPreviewHandle, ReplayPreviewProps, ReplayEvent, ReplayMarker, ReplayMarkerKind, ReplayMeta, ReplayPointerTrack, ReplayConsoleEntry, ReplayConsoleLevel, ReplayDevtools, ReplayDevtoolsState, ReplayDevtoolsTab, ReplayRequest, ReplayInspection, ReplayInspectionTab, ResolvedReplayInspection, ReplayStageHandle, ReplayStageLayout, ReplayStageProps, } from '@brett_lamy/docstream/replay';
|
|
3
3
|
export { replayDemoEvents } from '@brett_lamy/docstream/replay/demo';
|
|
4
4
|
//# sourceMappingURL=replay-preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-preview.d.ts","sourceRoot":"","sources":["../../src/components/replay-preview.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,qBAAqB,EAAE,eAAe,EACxG,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"replay-preview.d.ts","sourceRoot":"","sources":["../../src/components/replay-preview.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,qBAAqB,EAAE,eAAe,EACxG,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,EACvG,WAAW,EAAE,kBAAkB,GAChC,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,mBAAmB,EAAE,kBAAkB,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,kBAAkB,EACpH,kBAAkB,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,aAAa,EAC7G,gBAAgB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,GACxH,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReplayPreview as e,
|
|
2
|
-
import { replayDemoEvents as
|
|
3
|
-
export { e as ReplayPreview, t as
|
|
1
|
+
import { ReplayPreview as e, ReplayStage as t, formatReplayTime as n, getReplayDevtools as r, getReplayMarkers as i, getReplayMeta as a, getReplayPointerTrack as o, preloadReplayStage as s, replayDevtoolsAt as c, replayPointerAt as l } from "@brett_lamy/docstream/replay";
|
|
2
|
+
import { replayDemoEvents as u } from "@brett_lamy/docstream/replay/demo";
|
|
3
|
+
export { e as ReplayPreview, t as ReplayStage, n as formatReplayTime, r as getReplayDevtools, i as getReplayMarkers, a as getReplayMeta, o as getReplayPointerTrack, s as preloadReplayStage, u as replayDemoEvents, c as replayDevtoolsAt, l as replayPointerAt };
|
|
@@ -258,7 +258,7 @@ function T({ defaultValue: b = "", historyKey: C, sidebar: T = !0, transfer: de
|
|
|
258
258
|
id: "history",
|
|
259
259
|
className: "max-h-80 overflow-y-auto",
|
|
260
260
|
children: H.entries.length ? /* @__PURE__ */ v("ul", {
|
|
261
|
-
className: "flex flex-col gap-1",
|
|
261
|
+
className: "m-0 flex list-none flex-col gap-1 p-0",
|
|
262
262
|
children: H.entries.map((e) => /* @__PURE__ */ v("li", { children: /* @__PURE__ */ v(n, {
|
|
263
263
|
variant: "ghost",
|
|
264
264
|
size: "sm",
|
|
@@ -48,6 +48,9 @@ export interface TreeProps extends Omit<HTMLAttributes<HTMLElement>, 'children'
|
|
|
48
48
|
density?: FileTreeDensity;
|
|
49
49
|
/** A `ContextMenuContent` for the node, opened by right-click, long-press or the menu key. */
|
|
50
50
|
contextMenu?: (node: TreeNode) => ReactNode;
|
|
51
|
+
/** A HoverCard's content about the node (a file's size and last change, a folder's contents), beside its row while
|
|
52
|
+
* the pointer rests on it. Return nothing for rows without one. */
|
|
53
|
+
preview?: (node: TreeNode) => ReactNode;
|
|
51
54
|
/** The row being renamed in place; Return commits (`onRename`), Escape or a click away cancels (`onRenameEnd`). */
|
|
52
55
|
renamingId?: string | null;
|
|
53
56
|
onRename?: (node: TreeNode, name: string) => void;
|
|
@@ -66,7 +69,7 @@ export interface TreeProps extends Omit<HTMLAttributes<HTMLElement>, 'children'
|
|
|
66
69
|
onDrop: (data: DataTransfer, target: TreeDropTarget) => void;
|
|
67
70
|
};
|
|
68
71
|
}
|
|
69
|
-
export declare function Tree({ 'aria-label': ariaLabel, items, sort, selectedIds, defaultSelectedIds, onSelectionChange, onAction, defaultExpanded, expandedIds, search, flatten, icons, gitStatus, density, contextMenu, renamingId, onRename, onRenameEnd, canDrag, onDragStart, onMove, canMove, externalDrop, className, ...hostProps }: TreeProps): import("react/jsx-runtime").JSX.Element;
|
|
72
|
+
export declare function Tree({ 'aria-label': ariaLabel, items, sort, selectedIds, defaultSelectedIds, onSelectionChange, onAction, defaultExpanded, expandedIds, search, flatten, icons, gitStatus, density, contextMenu, preview, renamingId, onRename, onRenameEnd, canDrag, onDragStart, onMove, canMove, externalDrop, className, ...hostProps }: TreeProps): import("react/jsx-runtime").JSX.Element;
|
|
70
73
|
/** A two-tone folder that opens with its row. */
|
|
71
74
|
export declare function TreeFolderIcon({ open, size, className }: {
|
|
72
75
|
open?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../src/components/tree.tsx"],"names":[],"mappings":"AACA,OAAO,EAAwD,KAAK,cA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