@hanzo/app 0.3.1 → 0.3.2

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/App.js CHANGED
@@ -76,7 +76,7 @@ import { Gate } from './Gate.js';
76
76
  import { useHost } from './host.js';
77
77
  import { useKept } from './kept.js';
78
78
  import { Mark, raised, Rail, Toggle } from './Rail.js';
79
- import { Layer, Lift, RAISED, useDrawer } from './Drawer.js';
79
+ import { Layer, Lift, useDrawer } from './Drawer.js';
80
80
  import { empty, openThread, showSettings, useOpen } from './open.js';
81
81
  import { Split } from './Shell.js';
82
82
  import { Search } from './Search.js';
@@ -271,12 +271,14 @@ function Window({ bar, betas }) {
271
271
  shut();
272
272
  setFinding(true);
273
273
  };
274
- return (_jsx(AiProvider, { client: client ?? undefined, children: _jsx(HostProvider, { host: host, children: _jsx(PrefsProvider, { children: _jsx(UsageProvider, { children: _jsxs(YStack, { ref: windowRef, "data-slot": "window", ...(bar ? floor : null), flex: 1, minW: 0, height: bar ? '100%' : '100dvh', overflow: "hidden", rounded: bar ? '$3' : undefined, "$max-md": { position: 'fixed', t: TOP, l: 0, r: 0, height: HEIGHT, ...{ overflow: 'clip' } }, children: [bar ? (_jsxs(XStack, { "data-slot": "title-bar", height: BAR, shrink: 0, items: "center", gap: 2, pl: (bar.inset ?? 0) + 6, pr: "$2", onMouseDown: dragWindow, onDoubleClick: toggleWindowMaximize, ...bar.drag, children: [_jsx(XStack, { "$max-md": { display: 'none' }, children: _jsx(Toggle, { open: !closed, onPress: flip }) }), _jsx(XStack, { $md: { display: 'none' }, children: _jsx(Toggle, { open: drawer.state === 'open', onPress: drawer.open, label: t('Open sidebar') }) }), _jsx(Mark, { label: t('Back'), "data-slot": "back", onPress: () => router.back(), children: _jsx(ArrowLeft, { size: 18, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(Mark, { label: t('Forward'), "data-slot": "forward", onPress: () => router.forward(), children: _jsx(ArrowRight, { size: 18, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(XStack, { flex: 1, self: "stretch", ...bar.drag }), bar.controls !== undefined ? (bar.controls) : !bar.inset ? (_jsx(WindowControls, {})) : null] })) : null, _jsxs(XStack, { ref: drawer.pane, "data-app": mode, "data-slot": "frame", ...(bar ? null : floor), ...(drawer.slide ? RAISED : null),
275
- // inline-style: the slide, a transform with no logical form whose sign and distance the drawer writes on the element itself, a drag every frame (Drawer.tsx).
276
- style: drawer.slide ?? undefined, flex: 1, minW: 0, minH: 0, paddingInlineEnd: "var(--pane-gap)", pb: "var(--pane-gap)",
274
+ return (_jsx(AiProvider, { client: client ?? undefined, children: _jsx(HostProvider, { host: host, children: _jsx(PrefsProvider, { children: _jsx(UsageProvider, { children: _jsxs(YStack, { ref: windowRef, "data-slot": "window", ...(bar ? floor : null), flex: 1, minW: 0, height: bar ? '100%' : '100dvh', overflow: "hidden", rounded: bar ? '$3' : undefined, "$max-md": { position: 'fixed', t: TOP, l: 0, r: 0, height: HEIGHT, ...{ overflow: 'clip' } }, children: [bar ? (_jsxs(XStack, { "data-slot": "title-bar", height: BAR, shrink: 0, items: "center", gap: 2, pl: (bar.inset ?? 0) + 6, pr: "$2", onMouseDown: dragWindow, onDoubleClick: toggleWindowMaximize, ...bar.drag, children: [_jsx(XStack, { "$max-md": { display: 'none' }, children: _jsx(Toggle, { open: !closed, onPress: flip }) }), _jsx(XStack, { $md: { display: 'none' }, children: _jsx(Toggle, { open: drawer.state === 'open', onPress: drawer.open, label: t('Open sidebar') }) }), _jsx(Mark, { label: t('Back'), "data-slot": "back", onPress: () => router.back(), children: _jsx(ArrowLeft, { size: 18, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(Mark, { label: t('Forward'), "data-slot": "forward", onPress: () => router.forward(), children: _jsx(ArrowRight, { size: 18, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(XStack, { flex: 1, self: "stretch", ...bar.drag }), bar.controls !== undefined ? (bar.controls) : !bar.inset ? (_jsx(WindowControls, {})) : null] })) : null, _jsxs(XStack, { ref: drawer.pane, "data-app": mode, "data-slot": "frame", ...(bar ? null : floor), ...drawer.slide, flex: 1, minW: 0, minH: 0, paddingInlineEnd: "var(--pane-gap)", pb: "var(--pane-gap)",
277
275
  // The gap above the pane is the gap at its end and foot; a window's own bar above it is that gap.
278
- pt: bar ? 0 : 'var(--pane-gap)', "$max-md": { p: 0 }, children: [drawer.slide ? _jsx(Lift, {}) : null, _jsx(YStack, { height: "100%", "$max-md": { display: 'none' }, children: _jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: !closed, toggle: bar ? undefined : flip, onChat: toChat, onDev: toDev, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }) }), closed || alone ? null : (_jsx(YStack, { "$max-md": { display: 'none' }, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: () => setClosed(true), onSeek: seek, onBack: back, places: sidebar }) })), _jsxs(YStack, { "data-slot": "stage", display: "grid", gridTemplateRows: bar ? '1fr' : 'auto minmax(0, 1fr)',
279
- // The rest of the row beside the rail and the sidebar. At width 100% it was the whole row
280
- // again, and a View does not shrink, so the pane stood past the window's edge.
281
- flex: 1, height: "100%", minW: 0, minH: 0, marginInlineStart: closed || alone ? 0 : 'var(--pane-gap)', "$max-md": { marginInlineStart: 0, pb: `max(var(--pane-gap), ${FOOT})` }, children: [bar ? null : _jsx(Bar, { host: host, mode: mode, places: sidebar, open: drawer.state !== 'shut', go: move, onMenu: drawer.open, onChat: toChat, onDev: toDev }), _jsx(XStack, { "data-slot": "panes", display: "grid", gridTemplateColumns: "1fr", width: "100%", height: "100%", minW: 0, minH: 0, children: mode === 'chat' ? (_jsx(Split, { framed: true, children: _jsx(Chat, {}) })) : mode === 'tabs' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(Suspense, { fallback: null, children: _jsx(Terminals, {}) }) })) : mode === 'studio' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(Studio, { host: maker, rail: false }) }) }) })) : at.mode === 'hosted' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(Suspense, { fallback: null, children: _jsx(Hosted, { id: at.id, go: move }) }) })) : mode === 'beta' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflowY: "auto", overflowX: "hidden", flex: 1, minW: 0, minH: 0, p: "$4", $md: { p: '$6' }, children: betas ?? (_jsx(Suspense, { fallback: null, children: _jsx(Betas, { go: move }) })) })) : (_jsx(YStack, { render: "main", "data-slot": "pane", ...(run ? null : { ...pane(), overflow: 'hidden' }), flex: 1, minW: 0, minH: 0, children: plans ? null : _jsx(Builder, { host: host, rail: false }) })) })] })] }), drawer.state === 'shut' ? null : (_jsx(Layer, { drawer: drawer, top: bar ? BAR : 0, children: _jsxs(XStack, { flex: 1, minH: 0, children: [_jsx(YStack, { "data-slot": "drawer-rail", shrink: 0, pt: "$2", children: _jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: true, onChat: toChat, onDev: toDev, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }) }), _jsx(YStack, { flex: 1, minW: 0, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: shut, onSeek: seek, onBack: back, drawer: true, places: sidebar }) })] }) })), finding ? _jsx(Search, { go: move, onClose: found, mode: mode, host: host }) : null, learning ? _jsx(Learning, { open: true, onClose: () => setLearning(false) }) : null] }) }) }) }) }));
276
+ pt: bar ? 0 : 'var(--pane-gap)', "$max-md": { p: 0 }, children: [drawer.slide ? _jsx(Lift, {}) : null, _jsx(YStack, { height: "100%", "$max-md": { display: 'none' }, children: _jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: !closed, toggle: bar ? undefined : flip, onChat: toChat, onDev: toDev, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }) }), closed || alone ? null : (_jsx(YStack, { "$max-md": { display: 'none' }, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: () => setClosed(true), onSeek: seek, onBack: back, places: sidebar }) })), _jsxs(YStack, { "data-slot": "stage",
277
+ // A column: the phone's bar, then the panes taking the rest. Not a grid of `auto` and
278
+ // `1fr` rows: from md the bar is display none, which leaves the grid, so the panes were
279
+ // placed in the `auto` row and stood their content's height, and Dev's pane, which
280
+ // scrolls inside, collapsed to its border (Projects drew blank). The rest of the row
281
+ // beside the rail and the sidebar, never width 100%: a View does not shrink, so at the
282
+ // row's full width again the pane stood past the window's edge.
283
+ flex: 1, minW: 0, minH: 0, marginInlineStart: closed || alone ? 0 : 'var(--pane-gap)', "$max-md": { marginInlineStart: 0, pb: `max(var(--pane-gap), ${FOOT})` }, children: [bar ? null : _jsx(Bar, { host: host, mode: mode, places: sidebar, open: drawer.state !== 'shut', go: move, onMenu: drawer.open, onChat: toChat, onDev: toDev }), _jsx(XStack, { "data-slot": "panes", flex: 1, display: "grid", gridTemplateColumns: "minmax(0, 1fr)", gridTemplateRows: "minmax(0, 1fr)", minW: 0, minH: 0, children: mode === 'chat' ? (_jsx(Split, { framed: true, children: _jsx(Chat, {}) })) : mode === 'tabs' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(Suspense, { fallback: null, children: _jsx(Terminals, {}) }) })) : mode === 'studio' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(Studio, { host: maker, rail: false }) }) }) })) : at.mode === 'hosted' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(Suspense, { fallback: null, children: _jsx(Hosted, { id: at.id, go: move }) }) })) : mode === 'beta' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflowY: "auto", overflowX: "hidden", flex: 1, minW: 0, minH: 0, p: "$4", $md: { p: '$6' }, children: betas ?? (_jsx(Suspense, { fallback: null, children: _jsx(Betas, { go: move }) })) })) : (_jsx(YStack, { render: "main", "data-slot": "pane", ...(run ? null : { ...pane(), overflow: 'hidden' }), flex: 1, minW: 0, minH: 0, children: plans ? null : _jsx(Builder, { host: host, rail: false }) })) })] })] }), drawer.state === 'shut' ? null : (_jsx(Layer, { drawer: drawer, top: bar ? BAR : 0, children: _jsxs(XStack, { flex: 1, minH: 0, children: [_jsx(YStack, { "data-slot": "drawer-rail", shrink: 0, pt: "$2", children: _jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: true, onChat: toChat, onDev: toDev, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }) }), _jsx(YStack, { flex: 1, minW: 0, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: shut, onSeek: seek, onBack: back, drawer: true, places: sidebar }) })] }) })), finding ? _jsx(Search, { go: move, onClose: found, mode: mode, host: host }) : null, learning ? _jsx(Learning, { open: true, onClose: () => setLearning(false) }) : null] }) }) }) }) }));
282
284
  }
package/dist/Drawer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type CSSProperties, type ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  import { type State } from './slide.js';
3
3
  /** A press that moves the app: told whether it should take the menu's place in history. */
4
4
  export type Move = (replace: boolean) => void;
@@ -22,20 +22,30 @@ export interface Drawer {
22
22
  pane: (node: unknown) => void;
23
23
  /** The menu's layer. */
24
24
  layer: (node: unknown) => void;
25
- /** The pane's slide, for its `style`: null while shut, so nothing is transformed and nothing is raised. */
26
- slide: CSSProperties | null;
25
+ /** The pane's slide, gui props to spread on it: null while shut, so nothing is transformed and nothing is raised. */
26
+ slide: typeof SLIDE | null;
27
27
  }
28
- export declare function useDrawer(): Drawer;
29
28
  /**
30
- * The pane while the menu is out: raised over the floor, its edge drawn and a
31
- * drop falling on the menu, clipped to its corners. Spread on the pane beside
32
- * `slide`; `Lift` is its fill.
29
+ * The pane while the menu is out: raised over the floor, opaque, its start
30
+ * corners round and its edge drawn, and offset as a transform: `--drawer-way`
31
+ * the end side's sign, `--drawer-at` the distance, both written on the pane by
32
+ * the drawer (a drag rewrites the distance every frame, no React commit).
33
+ * Spread on the pane after its floor; `Lift` is its fill.
33
34
  */
34
- export declare const RAISED: {
35
+ declare const SLIDE: {
36
+ readonly position: 'relative';
35
37
  readonly z: 'var(--z-raised)';
36
38
  readonly overflow: 'hidden';
37
- readonly boxShadow: '0 0 0 1px var(--pane-edge), var(--shadow-floating)';
39
+ readonly bg: 'var(--pane-solid)';
40
+ readonly borderStartStartRadius: 'var(--radius-composer)';
41
+ readonly borderEndStartRadius: 'var(--radius-composer)';
42
+ readonly boxShadow: '0 0 0 1px var(--border-strong), var(--shadow-floating)';
43
+ readonly '$platform-web': {
44
+ readonly transform: 'translateX(calc(var(--drawer-way, 1) * var(--drawer-at, 0px)))';
45
+ readonly willChange: 'transform';
46
+ };
38
47
  };
48
+ export declare function useDrawer(): Drawer;
39
49
  /**
40
50
  * The raised pane's fill: the pane's own material composited opaque, a step
41
51
  * brighter than the floor the menu stands on, in both themes. Drawn UNDER the
@@ -52,3 +62,4 @@ export declare function Layer({ drawer, top, children }: {
52
62
  top?: number;
53
63
  children: ReactNode;
54
64
  }): import("react").JSX.Element;
65
+ export {};
package/dist/Drawer.js CHANGED
@@ -41,20 +41,24 @@ import { YStack, useMedia } from '@hanzo/gui';
41
41
  import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react';
42
42
  import { axis, OPEN, pull, settle, sign } from './slide.js';
43
43
  /**
44
- * The pane's offset as a transform: `--drawer-way` the end side's sign,
45
- * `--drawer-at` the distance, both written on the pane by the drawer (a drag
46
- * rewrites the distance every frame, no React commit). Its start corners round.
44
+ * The pane while the menu is out: raised over the floor, opaque, its start
45
+ * corners round and its edge drawn, and offset as a transform: `--drawer-way`
46
+ * the end side's sign, `--drawer-at` the distance, both written on the pane by
47
+ * the drawer (a drag rewrites the distance every frame, no React commit).
48
+ * Spread on the pane after its floor; `Lift` is its fill.
47
49
  */
48
50
  const SLIDE = {
49
51
  position: 'relative',
50
- zIndex: 'var(--z-raised)',
52
+ z: 'var(--z-raised)',
51
53
  overflow: 'hidden',
52
- backgroundColor: 'var(--pane-solid)',
53
- transform: 'translateX(calc(var(--drawer-way, 1) * var(--drawer-at, 0px)))',
54
+ bg: 'var(--pane-solid)',
54
55
  borderStartStartRadius: 'var(--radius-composer)',
55
56
  borderEndStartRadius: 'var(--radius-composer)',
56
57
  boxShadow: '0 0 0 1px var(--border-strong), var(--shadow-floating)',
57
- willChange: 'transform',
58
+ '$platform-web': {
59
+ transform: 'translateX(calc(var(--drawer-way, 1) * var(--drawer-at, 0px)))',
60
+ willChange: 'transform',
61
+ },
58
62
  };
59
63
  /** The slide's motion: the system's base duration on its entrance curve. */
60
64
  const MOTION = 'transform var(--duration-base) var(--ease-emphasis)';
@@ -322,16 +326,6 @@ export function useDrawer() {
322
326
  slide: state === 'shut' ? null : SLIDE,
323
327
  };
324
328
  }
325
- /**
326
- * The pane while the menu is out: raised over the floor, its edge drawn and a
327
- * drop falling on the menu, clipped to its corners. Spread on the pane beside
328
- * `slide`; `Lift` is its fill.
329
- */
330
- export const RAISED = {
331
- z: 'var(--z-raised)',
332
- overflow: 'hidden',
333
- boxShadow: '0 0 0 1px var(--pane-edge), var(--shadow-floating)',
334
- };
335
329
  /**
336
330
  * The raised pane's fill: the pane's own material composited opaque, a step
337
331
  * brighter than the floor the menu stands on, in both themes. Drawn UNDER the
package/dist/Editor.js CHANGED
@@ -70,25 +70,5 @@ export function Editor({ filePath, fileName, onClose, onAskInChat }) {
70
70
  return () => window.removeEventListener('keydown', handleKeyDown);
71
71
  }, [handleSave, onClose]);
72
72
  const lineCount = content.split('\n').length;
73
- return (_jsxs(YStack, { position: "absolute", t: 0, r: 0, b: 0, l: 0, z: 30, bg: "$background", overflow: "hidden", "data-slot": "local-file-editor", children: [_jsxs(XStack, { height: 52, items: "center", justify: "space-between", px: "$4", borderBottomWidth: 1, borderColor: "$borderColor", bg: "$panel", shrink: 0, children: [_jsxs(XStack, { items: "center", gap: "$3", minW: 0, flex: 1, children: [_jsx(Button, { variant: "ghost", size: "icon-sm", onClick: onClose, "aria-label": t('Back'), children: _jsx(ArrowLeft, { size: 16 }) }), _jsx(FileCode, { size: 18, color: "var(--primary)", "aria-hidden": true }), _jsxs(YStack, { minW: 0, flex: 1, children: [_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Text, { fontSize: "$3", fontWeight: "600", color: "$ink", numberOfLines: 1, children: name }), isDirty ? (_jsxs(Text, { fontSize: "$1", color: "var(--primary)", fontWeight: "600", children: ["\u25CF ", t('Modified')] })) : null] }), _jsx(Text, { fontSize: "$1", color: "$soft", numberOfLines: 1, children: filePath })] })] }), _jsxs(XStack, { items: "center", gap: "$2", children: [error ? (_jsx(Text, { fontSize: "$1", color: "var(--destructive)", numberOfLines: 1, maxW: 240, children: error })) : null, onAskInChat ? (_jsxs(Button, { variant: "outline", size: "sm", onClick: () => onAskInChat(filePath, name), "aria-label": t('Ask in Chat'), children: [_jsx(MessageSquare, { size: 14 }), t('Ask in Chat')] })) : null, _jsxs(Button, { variant: isDirty ? 'default' : 'secondary', size: "sm", onClick: () => void handleSave(), disabled: saving || !isDirty, "aria-label": t('Save'), children: [saved ? _jsx(Check, { size: 14 }) : _jsx(Save, { size: 14 }), saved ? t('Saved') : saving ? t('Saving…') : t('Save (⌘S)')] }), _jsx(Button, { variant: "ghost", size: "icon-sm", onClick: onClose, "aria-label": t('Close'), children: _jsx(X, { size: 16 }) })] })] }), loading ? (_jsx(YStack, { flex: 1, items: "center", justify: "center", gap: "$3", children: _jsx(Text, { fontSize: "$3", color: "$soft", children: t('Loading file…') }) })) : error && !content ? (_jsxs(YStack, { flex: 1, items: "center", justify: "center", p: "$6", gap: "$3", children: [_jsx(Text, { fontSize: "$4", color: "var(--destructive)", fontWeight: "600", children: t('Failed to open file') }), _jsx(Text, { fontSize: "$2", color: "$soft", text: "center", maxW: 480, children: error }), _jsx(Button, { variant: "outline", size: "sm", onClick: onClose, mt: "$3", children: t('Go back') })] })) : (_jsxs(XStack, { flex: 1, minH: 0, overflow: "hidden", children: [_jsx(YStack, { width: 48, py: "$3", px: "$2", bg: "$panel", borderRightWidth: 1, borderColor: "$borderColor",
74
- // inline-style: user-select is needed to prevent selection of line numbers
75
- style: { userSelect: 'none' }, overflow: "hidden", items: "flex-end", children: Array.from({ length: Math.min(lineCount, 5000) }).map((_, i) => (_jsx(Text, { fontSize: 12, lineHeight: 20, fontFamily: "$mono", color: "$faint", children: i + 1 }, i))) }), _jsx("textarea", { value: content, onChange: (e) => setContent(e.target.value), spellCheck: false, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off",
76
- // inline-style: raw textarea styling for code editing
77
- style: {
78
- flex: 1,
79
- height: '100%',
80
- backgroundColor: 'transparent',
81
- color: 'var(--foreground)',
82
- fontFamily: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace',
83
- fontSize: 'var(--text-sm)',
84
- lineHeight: '20px',
85
- padding: '12px 16px',
86
- border: 'none',
87
- outline: 'none',
88
- resize: 'none',
89
- whiteSpace: 'pre',
90
- overflowWrap: 'normal',
91
- overflowX: 'auto',
92
- overflowY: 'auto',
93
- } })] }))] }));
73
+ return (_jsxs(YStack, { position: "absolute", t: 0, r: 0, b: 0, l: 0, z: 30, bg: "$background", overflow: "hidden", "data-slot": "local-file-editor", children: [_jsxs(XStack, { height: 52, items: "center", justify: "space-between", px: "$4", borderBottomWidth: 1, borderColor: "$borderColor", bg: "$panel", shrink: 0, children: [_jsxs(XStack, { items: "center", gap: "$3", minW: 0, flex: 1, children: [_jsx(Button, { variant: "ghost", size: "icon-sm", onClick: onClose, "aria-label": t('Back'), children: _jsx(ArrowLeft, { size: 16 }) }), _jsx(FileCode, { size: 18, color: "var(--primary)", "aria-hidden": true }), _jsxs(YStack, { minW: 0, flex: 1, children: [_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Text, { fontSize: "$3", fontWeight: "600", color: "$ink", numberOfLines: 1, children: name }), isDirty ? (_jsxs(Text, { fontSize: "$1", color: "var(--primary)", fontWeight: "600", children: ["\u25CF ", t('Modified')] })) : null] }), _jsx(Text, { fontSize: "$1", color: "$soft", numberOfLines: 1, children: filePath })] })] }), _jsxs(XStack, { items: "center", gap: "$2", children: [error ? (_jsx(Text, { fontSize: "$1", color: "var(--destructive)", numberOfLines: 1, maxW: 240, children: error })) : null, onAskInChat ? (_jsxs(Button, { variant: "outline", size: "sm", onClick: () => onAskInChat(filePath, name), "aria-label": t('Ask in Chat'), children: [_jsx(MessageSquare, { size: 14 }), t('Ask in Chat')] })) : null, _jsxs(Button, { variant: isDirty ? 'default' : 'secondary', size: "sm", onClick: () => void handleSave(), disabled: saving || !isDirty, "aria-label": t('Save'), children: [saved ? _jsx(Check, { size: 14 }) : _jsx(Save, { size: 14 }), saved ? t('Saved') : saving ? t('Saving…') : t('Save (⌘S)')] }), _jsx(Button, { variant: "ghost", size: "icon-sm", onClick: onClose, "aria-label": t('Close'), children: _jsx(X, { size: 16 }) })] })] }), loading ? (_jsx(YStack, { flex: 1, items: "center", justify: "center", gap: "$3", children: _jsx(Text, { fontSize: "$3", color: "$soft", children: t('Loading file…') }) })) : error && !content ? (_jsxs(YStack, { flex: 1, items: "center", justify: "center", p: "$6", gap: "$3", children: [_jsx(Text, { fontSize: "$4", color: "var(--destructive)", fontWeight: "600", children: t('Failed to open file') }), _jsx(Text, { fontSize: "$2", color: "$soft", text: "center", maxW: 480, children: error }), _jsx(Button, { variant: "outline", size: "sm", onClick: onClose, mt: "$3", children: t('Go back') })] })) : (_jsxs(XStack, { flex: 1, minH: 0, overflow: "hidden", children: [_jsx(YStack, { width: 48, py: "$3", px: "$2", bg: "$panel", borderRightWidth: 1, borderColor: "$borderColor", overflow: "hidden", "$platform-web": { userSelect: 'none' }, items: "flex-end", children: Array.from({ length: Math.min(lineCount, 5000) }).map((_, i) => (_jsx(Text, { fontSize: 12, lineHeight: 20, fontFamily: "$mono", color: "$faint", children: i + 1 }, i))) }), _jsx(Text, { render: _jsx("textarea", { value: content, onChange: (e) => setContent(e.target.value), spellCheck: false, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off" }), flex: 1, height: "100%", bg: "transparent", color: "var(--foreground)", fontFamily: "$mono", fontSize: "$2", lineHeight: 20, py: 12, px: 16, borderWidth: 0, outlineStyle: "none", whiteSpace: "pre", "$platform-web": { resize: 'none', overflowWrap: 'normal', overflowX: 'auto', overflowY: 'auto' } })] }))] }));
94
74
  }
package/dist/Shell.js CHANGED
@@ -968,13 +968,9 @@ export function Split({ children, swap, framed = false, bare = false, }) {
968
968
  borderInlineStartWidth: 1,
969
969
  borderInlineStartStyle: "solid",
970
970
  borderColor: "var(--edge, var(--white-06))",
971
- }), ref: split.main,
972
- // inline-style: the pane hidden while the column takes its space, written by a drag too (useSplit).
973
- style: split.mainStyle, width: "100%", height: "100%", minW: 0, minH: 0, children: swap ?? (_jsx(Framed.Provider, { value: framed, children: _jsx(SideProvider, { value: split.side, children: _jsx(Slot.Provider, { value: slot, children: children }) }) })) }), aside ? (_jsxs(YStack, { render: "aside", "data-slot": "side", gridArea: "side", ...pane(framed ? undefined : sheet(1).backgroundColor),
971
+ }), ref: split.main, width: "100%", height: "100%", minW: 0, minH: 0, children: swap ?? (_jsx(Framed.Provider, { value: framed, children: _jsx(SideProvider, { value: split.side, children: _jsx(Slot.Provider, { value: slot, children: children }) }) })) }), aside ? (_jsxs(YStack, { render: "aside", "data-slot": "side", gridArea: "side", ...pane(framed ? undefined : sheet(1).backgroundColor),
974
972
  // In the frame the gutter stands between the pane and this column.
975
- marginInlineStart: framed ? "var(--pane-gap)" : undefined, ref: split.aside,
976
- // inline-style: the width a drag rewrites on the element itself, and full screen (useSplit).
977
- style: split.asideStyle, position: "relative", shrink: 0, minH: 0, display: "none", $lg: { display: "flex" }, children: [split.grip ? (_jsx(Gutter, { ...split.grip, label: t("Resize side panel"), inset: 1 })) : null, _jsx(YStack, { flex: 1, minH: 0, overflowY: "auto", overflowX: "hidden", rounded: "var(--pane-round)", ref: (el) => setSlot(el instanceof HTMLElement ? el : null) })] })) : null] }));
973
+ marginInlineStart: framed ? "var(--pane-gap)" : undefined, ref: split.aside, position: "relative", shrink: 0, minH: 0, display: "none", $lg: { display: "flex" }, children: [split.grip ? (_jsx(Gutter, { ...split.grip, label: t("Resize side panel"), inset: 1 })) : null, _jsx(YStack, { flex: 1, minH: 0, overflowY: "auto", overflowX: "hidden", rounded: "var(--pane-round)", ref: (el) => setSlot(el instanceof HTMLElement ? el : null) })] })) : null] }));
978
974
  }
979
975
  /**
980
976
  * THE RAIL: where you can go, as marks with their names under them. It is the
@@ -1289,10 +1285,7 @@ function Frame({ mode, children, navigate, back, forward, }) {
1289
1285
  },
1290
1286
  signOut: () => void logout(),
1291
1287
  };
1292
- const list = (_jsxs(Sidebar, { ref: side.ref,
1293
- // A phone's sheet is never wider than 280, whatever the laptop kept.
1294
- // inline-style: `--span`, the width a drag rewrites on the element itself (span.ts); no prop sets a variable.
1295
- style: side.style, $md: { width: "var(--span)" }, "$max-md": { width: "100%", maxW: 280 }, ...sheet(0), ...(dir === "rtl" ? { borderRightWidth: 0, borderLeftWidth: 1 } : { borderRightWidth: 1 }), borderColor: "var(--edge, var(--white-06))", position: "relative", children: [_jsx(Gutter
1288
+ const list = (_jsxs(Sidebar, { ref: side.ref, ...side.props, $md: { width: "var(--span)" }, "$max-md": { width: "100%", maxW: 280 }, ...sheet(0), ...(dir === "rtl" ? { borderRightWidth: 0, borderLeftWidth: 1 } : { borderRightWidth: 1 }), borderColor: "var(--edge, var(--white-06))", position: "relative", children: [_jsx(Gutter
1296
1289
  // The edge the sidebar is pinned to (Grip's, physical): its free edge is the other one.
1297
1290
  , {
1298
1291
  // The edge the sidebar is pinned to (Grip's, physical): its free edge is the other one.
package/dist/Sidebar.js CHANGED
@@ -117,9 +117,7 @@ export function Sidebar({ host, mode, thread, go, onShut, onSeek, onBack, drawer
117
117
  empty();
118
118
  go(talk());
119
119
  };
120
- return (_jsxs(YStack, { "data-slot": "app-column", ref: drawer ? undefined : span.ref,
121
- // inline-style: `--span`, the width a drag rewrites on the element itself (span.ts); no prop sets a variable.
122
- style: drawer ? undefined : span.style, position: "relative", flex: drawer ? 1 : undefined, shrink: drawer ? 1 : 0, minW: 0, height: "100%", width: drawer ? undefined : 'var(--span)', children: [_jsxs(Base, { "data-slot": "app-rail", role: "navigation", "aria-label": brand(), bg: "transparent", borderWidth: 0, ...FILL, px: "$2", pt: drawer ? 'var(--pane-gap)' : 0,
120
+ return (_jsxs(YStack, { "data-slot": "app-column", ref: drawer ? undefined : span.ref, ...(drawer ? null : span.props), position: "relative", flex: drawer ? 1 : undefined, shrink: drawer ? 1 : 0, minW: 0, height: "100%", width: drawer ? undefined : 'var(--span)', children: [_jsxs(Base, { "data-slot": "app-rail", role: "navigation", "aria-label": brand(), bg: "transparent", borderWidth: 0, ...FILL, px: "$2", pt: drawer ? 'var(--pane-gap)' : 0,
123
121
  // In the drawer the menu's own foot padding is the gap; its foot row stands on it.
124
122
  pb: drawer ? 0 : '$2', gap: "$0", children: [at ? (_jsxs(XStack, { "data-slot": "app-head", items: "center", gap: "$1", paddingInlineStart: 2, paddingInlineEnd: 2, height: BAND, shrink: 0, minW: 0, "data-tauri-drag-region": "deep", onMouseDown: dragWindow, onDoubleClick: toggleWindowMaximize, children: [_jsx(SidebarIconButton, { label: t('Back'), "data-slot": "place-back", "data-tauri-drag-region": "false", onPress: onBack, ...HEAD, children: _jsx(ArrowLeft, { size: 16, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(Text, { flex: 1, minW: 0, fontSize: 18, lineHeight: 24, fontWeight: "600", color: "$ink", numberOfLines: 1, "data-slot": "place-name", children: t(TITLE[at]) })] })) : (_jsxs(XStack, { "data-slot": "app-head", items: "center", gap: "$1", paddingInlineStart: "$2", paddingInlineEnd: 2, height: BAND, shrink: 0, minW: 0, "data-tauri-drag-region": "deep", onMouseDown: dragWindow, onDoubleClick: toggleWindowMaximize, children: [_jsx(Text, { flex: 1, minW: 0, fontSize: drawer ? 20 : 18, lineHeight: 24, fontWeight: drawer ? '700' : '600', color: "$ink", numberOfLines: 1, children: wordmark(mode) }), drawer ? null : _jsx(Activity, { host: host }), _jsx(SidebarIconButton, { label: t('Search'), "data-tauri-drag-region": "false", onPress: onSeek, "aria-haspopup": "dialog", ...(drawer
125
123
  ? {
package/dist/Start.js CHANGED
@@ -126,9 +126,7 @@ export function Start() {
126
126
  }
127
127
  }, [prompt, repo, tool, where, busy, openSession, t]);
128
128
  const isLocal = where.startsWith('local:');
129
- return (_jsxs(YStack, { width: "100%", gap: "$2", children: [_jsx(Composer, { value: prompt, onChange: setPrompt, onSend: () => void send(), busy: busy, placeholder: t('Describe what to build…'), label: t('Describe what to build') }), _jsxs(XStack, { gap: "$2", items: "center", flexWrap: "wrap", children: [_jsxs(Text, { render: _jsx("select", { value: tool, onChange: (e) => setTool(e.currentTarget.value), "aria-label": t('Agent Harness') }), ...FIELD, px: 8, children: [_jsx("option", { value: "dev", children: "Dev" }), _jsx("option", { value: "claude", children: "Claude" }), _jsx("option", { value: "codex", children: "Codex" }), _jsx("option", { value: "python", children: "Python" })] }), !isLocal ? (_jsx(Text, { render: _jsx("input", { "data-i18n-ltr": "", value: repo, onChange: (e) => setRepo(e.currentTarget.value), placeholder: t('owner/repo (optional)'), "aria-label": t('Repository') }), ...FIELD, flex: 1, minW: 160, px: 10, outlineStyle: "none" })) : (_jsx(Text, { ...FIELD, flex: 1, minW: 160, px: 10,
130
- // inline-style: flex alignment for where path text
131
- style: { display: 'flex', alignItems: 'center', opacity: 0.8 }, children: where.slice(6) })), _jsxs(Text, { render: _jsx("select", { value: where, onChange: (e) => void handleWhereChange(e.currentTarget.value), "aria-label": t('Where to run') }), ...FIELD, px: 8, children: [_jsx("option", { value: SANDBOX, children: t('Cloud Sandbox') }), localWorkspaces.map((ws) => (_jsx("option", { value: `local:${ws.path}`, children: t('Local: {name}', { name: ws.name }) }, ws.path))), _jsx("option", { value: "action:pick-local", children: t('+ Open local folder…') }), targets.map((tg) => (_jsxs("option", { value: tg.id, children: [tg.label || tg.host || tg.id, tg.capacity ? ` — ${tg.capacity}` : ''] }, tg.id)))] })] }), err ? (_jsx(Text, { role: "alert", fontSize: "$2", color: BAD, children: err })) : localMsg ? (_jsx(Text, { fontSize: "$2", color: "$color", children: localMsg })) : (_jsx(Text, { fontSize: "$2", color: SOFT, children: t(isLocal
129
+ return (_jsxs(YStack, { width: "100%", gap: "$2", children: [_jsx(Composer, { value: prompt, onChange: setPrompt, onSend: () => void send(), busy: busy, placeholder: t('Describe what to build…'), label: t('Describe what to build') }), _jsxs(XStack, { gap: "$2", items: "center", flexWrap: "wrap", children: [_jsxs(Text, { render: _jsx("select", { value: tool, onChange: (e) => setTool(e.currentTarget.value), "aria-label": t('Agent Harness') }), ...FIELD, px: 8, children: [_jsx("option", { value: "dev", children: "Dev" }), _jsx("option", { value: "claude", children: "Claude" }), _jsx("option", { value: "codex", children: "Codex" }), _jsx("option", { value: "python", children: "Python" })] }), !isLocal ? (_jsx(Text, { render: _jsx("input", { "data-i18n-ltr": "", value: repo, onChange: (e) => setRepo(e.currentTarget.value), placeholder: t('owner/repo (optional)'), "aria-label": t('Repository') }), ...FIELD, flex: 1, minW: 160, px: 10, outlineStyle: "none" })) : (_jsx(Text, { ...FIELD, flex: 1, minW: 160, px: 10, display: "flex", items: "center", opacity: 0.8, children: where.slice(6) })), _jsxs(Text, { render: _jsx("select", { value: where, onChange: (e) => void handleWhereChange(e.currentTarget.value), "aria-label": t('Where to run') }), ...FIELD, px: 8, children: [_jsx("option", { value: SANDBOX, children: t('Cloud Sandbox') }), localWorkspaces.map((ws) => (_jsx("option", { value: `local:${ws.path}`, children: t('Local: {name}', { name: ws.name }) }, ws.path))), _jsx("option", { value: "action:pick-local", children: t('+ Open local folder…') }), targets.map((tg) => (_jsxs("option", { value: tg.id, children: [tg.label || tg.host || tg.id, tg.capacity ? ` — ${tg.capacity}` : ''] }, tg.id)))] })] }), err ? (_jsx(Text, { role: "alert", fontSize: "$2", color: BAD, children: err })) : localMsg ? (_jsx(Text, { fontSize: "$2", color: "$color", children: localMsg })) : (_jsx(Text, { fontSize: "$2", color: SOFT, children: t(isLocal
132
130
  ? 'Runs locally on your machine with dev agent.'
133
131
  : targets.length > 0 && where !== SANDBOX
134
132
  ? 'Runs on your linked machine.'
@@ -138,7 +138,7 @@ function Post({ m, grouped, onThread, onPick }) {
138
138
  const { t } = useI18n();
139
139
  const clock = useClock();
140
140
  const last = m.replies[m.replies.length - 1];
141
- const faces = [...new Set(m.replies.map((r) => r.who))].slice(0, 3);
141
+ const faces = [...new Set(m.replies.map((r) => r.who))].slice(0, 2);
142
142
  return (_jsxs(XStack, { "data-motion": "rise", gap: 10, items: "flex-start", pt: grouped ? 0 : 8, children: [_jsx(View, { width: 34, shrink: 0, items: "center", children: grouped ? null : _jsx(Avatar, { id: m.who, size: 34 }) }), _jsxs(YStack, { flex: 1, minW: 0, gap: 2, children: [grouped ? null : _jsx(Byline, { id: m.who, time: clock(m.time) }), _jsx(Text, { fontSize: "$2", lineHeight: "$3", color: "$ink", children: _jsx(Said, { text: t(m.text) }) }), m.card ? _jsx(Attachment, { card: m.card, onPick: onPick }) : null, m.reactions.length ? _jsx(Reactions, { list: m.reactions }) : null, m.replies.length ? (_jsxs(XStack, { render: _jsx("button", { type: "button", onClick: onThread, "aria-label": t('Open the thread: {replies}', { replies: replies(t, m.replies.length) }) }), self: "flex-start", items: "center", gap: 6, mt: 4, px: 4, py: 3, rounded: 8, bg: "transparent", ...ROW, "$platform-web": { borderRadius: '8px' }, children: [_jsx(XStack, { children: faces.map((f, i) => (_jsx(View, { marginInlineStart: i ? -5 : 0, rounded: 9999, borderWidth: 1.5, borderColor: "var(--background)", "$platform-web": { borderRadius: '9999px' }, children: _jsx(Avatar, { id: f, size: 18 }) }, f))) }), _jsx(Text, { fontSize: "$1", fontWeight: "700", color: "$ink", children: replies(t, m.replies.length) }), _jsx(Text, { fontSize: "$1", color: "$faint", numberOfLines: 1, children: last ? t('Last reply {time}', { time: clock(last.time) }) : null })] })) : null] })] }));
143
143
  }
144
144
  /** A count of what is unread, inked. */
@@ -248,7 +248,8 @@ export function TeamPreview(props) {
248
248
  const unread = (id) => (id === here || read.includes(id) ? 0 : (f.unread[id] ?? 0));
249
249
  /** What is unread across an org's channels. */
250
250
  const news = (org) => ORGS.find((x) => x.id === org)?.channels.reduce((n, c) => n + unread(`${org}/${c.id}`), 0) ?? 0;
251
- const members = [...o.people.slice(0, 2), ...o.agents.slice(0, 2)];
251
+ // Two people and one agent: never more than two agents side by side anywhere in the preview.
252
+ const members = [...o.people.slice(0, 2), ...o.agents.slice(0, 1)];
252
253
  const asks = waiting(f, supervised).filter((a) => orgOf(a.channel).id === o.id);
253
254
  const done = f.steps[o.id] ?? [];
254
255
  const handoffs = f.handoffs.filter((h) => orgOf(h.channel).id === o.id);
@@ -270,11 +271,12 @@ export function TeamPreview(props) {
270
271
  setDriven(true);
271
272
  setThreadHand(id);
272
273
  };
273
- /** The organizations a person belongs to: the active one marked, "+" under them, the reader at the foot. */
274
- const rail = (_jsxs(YStack, { items: "center", gap: 12, py: 12, width: 60, height: "100%", shrink: 0, borderColor: "$edge", borderInlineEndWidth: 1, bg: "$sunken", children: [ORGS.map((x) => {
274
+ /** The organizations a person belongs to, far left as in a team chat: the active one marked, "+" under them, the reader at the foot. */
275
+ const railOf = (size, w) => (_jsxs(YStack, { items: "center", gap: size === 'xl' ? 12 : 10, py: 12, width: w, height: "100%", shrink: 0, borderColor: "$edge", borderInlineEndWidth: 1, bg: "$sunken", children: [ORGS.map((x) => {
275
276
  const on = x.id === o.id;
276
- return (_jsxs(XStack, { position: "relative", items: "center", justify: "center", children: [_jsx(View, { position: "absolute", insetInlineStart: -8, width: 4, height: on ? 28 : 0, rounded: 9999, bg: "$ink", "$platform-web": { borderRadius: '9999px', transition: still ? 'none' : 'height 260ms ease' } }), _jsx(Tile, { org: x, on: on, n: on ? 0 : news(x.id), size: "xl", onPress: () => go(HOME[x.id]) })] }, x.id));
277
- }), _jsx(XStack, { width: 32, height: 32, rounded: 8, items: "center", justify: "center", borderWidth: 1, borderColor: "$edge", "$platform-web": { borderRadius: '8px' }, children: _jsx(Plus, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }) }), _jsx(View, { flex: 1 }), _jsxs(View, { position: "relative", children: [_jsx(Avatar, { id: ME, size: 30 }), _jsx(View, { position: "absolute", b: -1, insetInlineEnd: -1, rounded: 9999, borderWidth: 2, borderColor: "$sunken", "$platform-web": { borderRadius: '9999px' }, children: _jsx(Here, {}) })] })] }));
277
+ return (_jsxs(XStack, { position: "relative", items: "center", justify: "center", children: [_jsx(View, { position: "absolute", insetInlineStart: -8, width: 4, height: on ? 28 : 0, rounded: 9999, bg: "$ink", "$platform-web": { borderRadius: '9999px', transition: still ? 'none' : 'height 260ms ease' } }), _jsx(Tile, { org: x, on: on, n: on ? 0 : news(x.id), size: size, onPress: () => go(HOME[x.id]) })] }, x.id));
278
+ }), _jsx(XStack, { width: 32, height: 32, rounded: 8, items: "center", justify: "center", borderWidth: 1, borderColor: "$edge", "$platform-web": { borderRadius: '8px' }, children: _jsx(Plus, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }) }), _jsx(View, { flex: 1 }), _jsxs(View, { position: "relative", children: [_jsx(Avatar, { id: ME, size: size === 'xl' ? 30 : 26 }), _jsx(View, { position: "absolute", b: -1, insetInlineEnd: -1, rounded: 9999, borderWidth: 2, borderColor: "$sunken", "$platform-web": { borderRadius: '9999px' }, children: _jsx(Here, {}) })] })] }));
279
+ const rail = railOf('xl', 60);
278
280
  const heading = (label) => (_jsxs(XStack, { items: "center", gap: 4, px: 8, pt: 12, pb: 3, children: [_jsx(ChevronDown, { size: 12, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: "$1", fontWeight: "600", color: "$soft", children: label })] }));
279
281
  /** The workspace's column: its name, search, the channels, the direct messages and the agents. */
280
282
  const column = (_jsxs(YStack, { "data-motion": "rise", flex: 1, minH: 0, overflow: "hidden", px: 8, py: 10, "$platform-web": FOOT, children: [_jsxs(XStack, { items: "center", gap: 6, px: 8, pb: 10, children: [_jsx(Text, { fontSize: "$4", fontWeight: "700", color: "$ink", numberOfLines: 1, children: o.name }), _jsx(ChevronDown, { size: 14, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(View, { flex: 1 }), _jsx(XStack, { width: 28, height: 28, rounded: 8, items: "center", justify: "center", bg: "$raised", "$platform-web": { borderRadius: '8px' }, children: _jsx(SquarePen, { size: 14, color: "var(--foreground)", "aria-hidden": true }) })] }), _jsxs(XStack, { items: "center", gap: 6, mx: 4, mb: 4, px: 10, height: 28, rounded: 8, borderWidth: 1, borderColor: "$edge", "$platform-web": { borderRadius: '8px' }, children: [_jsx(Search, { size: 12, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: "$1", color: "$faint", numberOfLines: 1, children: t('Search {org}', { org: o.name }) })] }), heading(t('Channels')), o.channels.map((c) => {
@@ -293,13 +295,13 @@ export function TeamPreview(props) {
293
295
  const composer = (placeholder) => (_jsxs(YStack, { mx: 12, mb: 12, gap: 8, px: 12, py: 10, rounded: 12, borderWidth: 1, borderColor: "$edge", bg: "$panel", "$platform-web": { borderRadius: '12px' }, children: [_jsx(Text, { fontSize: "$2", color: "$faint", numberOfLines: 1, children: placeholder }), _jsxs(XStack, { items: "center", gap: 12, children: [_jsx(Plus, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(AtSign, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Smile, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Mic, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(View, { flex: 1 }), _jsx(SendHorizontal, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true, "data-i18n-mirror": true })] })] }));
294
296
  /** The thread a message started: the message, its replies, a reply box. */
295
297
  const side = parent ? (_jsxs(YStack, { flex: 1, minH: 0, bg: "var(--background)", children: [_jsxs(XStack, { items: "center", gap: 8, px: 14, minH: 52, borderBottomWidth: 1, borderColor: "$edge", children: [_jsxs(YStack, { flex: 1, minW: 0, children: [_jsx(Text, { fontSize: "$3", fontWeight: "700", color: "$ink", children: t('Thread') }), _jsx(Text, { fontSize: "$1", color: "$soft", "data-i18n-ltr": true, children: `#${channel}` })] }), _jsx(XStack, { render: _jsx("button", { type: "button", "aria-label": t('Close the thread'), onClick: () => openThread(null) }), width: 28, height: 28, rounded: 8, items: "center", justify: "center", bg: "transparent", ...ROW, "$platform-web": { borderRadius: '8px' }, children: _jsx(X, { size: 15, color: "var(--muted-foreground)", "aria-hidden": true }) })] }), _jsxs(YStack, { flex: 1, minH: 0, overflow: "hidden", justify: "flex-end", gap: 6, px: 14, pt: 8, pb: 4, "$platform-web": TOP, children: [_jsx(Post, { m: { ...parent, replies: [] }, grouped: false, onPick: pick(parent.id) }), _jsxs(XStack, { items: "center", gap: 8, py: 6, children: [_jsx(Text, { fontSize: "$1", color: "$soft", children: replies(t, parent.replies.length) }), _jsx(View, { flex: 1, height: 1, bg: "$edge" })] }), parent.replies.map((r, i) => (_jsx(Post, { m: { id: `${parent.id}/${i}`, who: r.who, text: r.text, time: r.time, reactions: [], replies: [] }, grouped: false, onPick: () => undefined }, i)))] }), composer(t('Reply…'))] }, parent.id)) : null;
296
- return (_jsxs(View, { ref: box, "data-slot": "team-preview", role: "group", "aria-label": t('Hanzo Team, playing a sample workspace'), ...hold, display: "grid", position: "relative", height: compact ? '100%' : 620, overflow: "hidden", bg: "var(--background)", gridTemplateColumns: "minmax(0, 1fr)", ...md(desk, {
298
+ return (_jsxs(View, { ref: box, "data-slot": "team-preview", role: "group", "aria-label": t('Hanzo Team, playing a sample workspace'), ...hold, display: "grid", position: "relative", height: compact ? '100%' : 620, overflow: "hidden", bg: "var(--background)", gridTemplateColumns: "52px minmax(0, 1fr)", ...md(desk, {
297
299
  height: compact ? '100%' : 640,
298
300
  gridTemplateColumns: `60px ${breadth(width)}px minmax(0, 1fr)${wide ? ' 290px' : ''}`,
299
- }), "$platform-web": { textAlign: 'start' }, children: [_jsx(YStack, { display: "none", ...md(desk, { display: 'flex' }), minH: 0, children: rail }), _jsx(YStack, { display: "none", ...md(desk, { display: 'flex' }), minH: 0, borderColor: "$edge", borderInlineEndWidth: 1, bg: "$sunken", children: column }), _jsxs(YStack, { minW: 0, minH: 0, position: "relative", children: [_jsxs(XStack, { items: "center", gap: 10, px: 14, minH: 52, borderBottomWidth: 1, borderColor: "$edge", children: [_jsx(XStack, { ...md(desk, { display: 'none' }), children: _jsx(XStack, { render: _jsx("button", { type: "button", "aria-expanded": drawer, "aria-label": t('Channels in {org}', { org: o.name }), onClick: () => setDrawer(!drawer) }), width: 32, height: 32, rounded: 8, items: "center", justify: "center", bg: "transparent", ...ROW, "$platform-web": { borderRadius: '8px' }, children: _jsx(Menu, { size: 17, color: "var(--foreground)", "aria-hidden": true }) }) }), title, _jsxs(XStack, { display: "none", ...(width >= FACES ? { display: 'flex' } : {}), items: "center", children: [members.map((p, i) => (_jsx(View, { marginInlineStart: i ? -6 : 0, rounded: 9999, borderWidth: 2, borderColor: "var(--background)", "$platform-web": { borderRadius: '9999px' }, children: _jsx(Avatar, { id: p, size: 22 }) }, p))), _jsx(Text, { fontSize: "$1", color: "$soft", marginInlineStart: 6, "data-i18n-ltr": true, children: o.people.length + o.agents.length })] }), _jsxs(XStack, { "data-motion": "rise", items: "center", gap: 6, px: 10, height: 30, rounded: 8, borderWidth: 1, borderColor: huddle.length ? '$ink' : '$edge', bg: huddle.length ? '$ink' : 'transparent', "$platform-web": { borderRadius: '8px' }, children: [huddle.length ? _jsx(View, { "data-motion": "pulse", width: 7, height: 7, rounded: 9999, bg: "var(--state-online)", "$platform-web": { borderRadius: '9999px' } }) : null, _jsx(Headphones, { size: 14, color: huddle.length ? 'var(--background)' : 'var(--foreground)', "aria-hidden": true }), _jsx(Text, { display: "none", ...md(desk, { display: 'flex' }), fontSize: "$1", fontWeight: "600", color: huddle.length ? '$background' : '$ink', children: huddle.length ? t('Huddle · {count}', { count: huddle.length }) : t('Huddle') })] }, huddle.length ? 'on' : 'off')] }), _jsxs(YStack, { ...md(desk, { display: 'none' }), gap: 8, pt: 10, pb: 8, borderBottomWidth: 1, borderColor: "$edge", children: [_jsxs(XStack, { items: "center", gap: 10, px: 12, children: [ORGS.map((x) => (_jsx(Tile, { org: x, on: x.id === o.id, n: x.id === o.id ? 0 : news(x.id), size: "lg", onPress: () => go(HOME[x.id]) }, x.id))), _jsx(Text, { "data-motion": "rise", flex: 1, minW: 0, fontSize: "$3", fontWeight: "700", color: "$ink", numberOfLines: 1, marginInlineStart: 4, children: o.name }, o.id)] }), _jsx(XStack, { flexWrap: "wrap", gap: 6, px: 12, display: height && height < LIST ? 'none' : 'flex', children: o.channels.map((c) => {
301
+ }), "$platform-web": { textAlign: 'start' }, children: [_jsx(YStack, { display: "flex", ...md(desk, { display: 'none' }), minH: 0, children: railOf('lg', 52) }), _jsx(YStack, { display: "none", ...md(desk, { display: 'flex' }), minH: 0, children: rail }), _jsx(YStack, { display: "none", ...md(desk, { display: 'flex' }), minH: 0, borderColor: "$edge", borderInlineEndWidth: 1, bg: "$sunken", children: column }), _jsxs(YStack, { minW: 0, minH: 0, position: "relative", children: [_jsxs(XStack, { items: "center", gap: 10, px: 14, minH: 52, borderBottomWidth: 1, borderColor: "$edge", children: [_jsx(XStack, { ...md(desk, { display: 'none' }), children: _jsx(XStack, { render: _jsx("button", { type: "button", "aria-expanded": drawer, "aria-label": t('Channels in {org}', { org: o.name }), onClick: () => setDrawer(!drawer) }), width: 32, height: 32, rounded: 8, items: "center", justify: "center", bg: "transparent", ...ROW, "$platform-web": { borderRadius: '8px' }, children: _jsx(Menu, { size: 17, color: "var(--foreground)", "aria-hidden": true }) }) }), title, _jsxs(XStack, { display: "none", ...(width >= FACES ? { display: 'flex' } : {}), items: "center", children: [members.map((p, i) => (_jsx(View, { marginInlineStart: i ? -6 : 0, rounded: 9999, borderWidth: 2, borderColor: "var(--background)", "$platform-web": { borderRadius: '9999px' }, children: _jsx(Avatar, { id: p, size: 22 }) }, p))), _jsx(Text, { fontSize: "$1", color: "$soft", marginInlineStart: 6, "data-i18n-ltr": true, children: o.people.length + o.agents.length })] }), _jsxs(XStack, { "data-motion": "rise", items: "center", gap: 6, px: 10, height: 30, rounded: 8, borderWidth: 1, borderColor: huddle.length ? '$ink' : '$edge', bg: huddle.length ? '$ink' : 'transparent', "$platform-web": { borderRadius: '8px' }, children: [huddle.length ? _jsx(View, { "data-motion": "pulse", width: 7, height: 7, rounded: 9999, bg: "var(--state-online)", "$platform-web": { borderRadius: '9999px' } }) : null, _jsx(Headphones, { size: 14, color: huddle.length ? 'var(--background)' : 'var(--foreground)', "aria-hidden": true }), _jsx(Text, { display: "none", ...md(desk, { display: 'flex' }), fontSize: "$1", fontWeight: "600", color: huddle.length ? '$background' : '$ink', children: huddle.length ? t('Huddle · {count}', { count: huddle.length }) : t('Huddle') })] }, huddle.length ? 'on' : 'off')] }), _jsxs(YStack, { ...md(desk, { display: 'none' }), gap: 8, pt: 8, pb: 8, borderBottomWidth: 1, borderColor: "$edge", children: [_jsx(Text, { "data-motion": "rise", px: 12, fontSize: "$2", fontWeight: "700", color: "$ink", numberOfLines: 1, children: o.name }, o.id), _jsx(XStack, { flexWrap: "wrap", gap: 6, px: 12, display: height && height < LIST ? 'none' : 'flex', children: o.channels.map((c) => {
300
302
  const id = `${o.id}/${c.id}`;
301
303
  const on = id === here;
302
304
  const n = unread(id);
303
305
  return (_jsxs(XStack, { render: _jsx("button", { type: "button", "aria-pressed": on, "aria-label": t('Open #{channel}', { channel: c.id }), onClick: () => go(id) }), shrink: 0, items: "center", gap: 5, px: 10, height: 28, rounded: 9999, borderWidth: 1, borderColor: on ? '$ink' : '$edge', bg: on ? '$ink' : 'transparent', cursor: "pointer", focusVisibleStyle: ROW.focusVisibleStyle, "$platform-web": { borderRadius: '9999px' }, children: [_jsx(Text, { fontSize: "$1", fontWeight: on || n ? '700' : '500', color: on ? '$background' : n ? '$ink' : '$soft', "data-i18n-ltr": true, children: `#${c.id}` }), n && !on ? _jsx(Count, { n: n }) : null] }, c.id));
304
- }) })] }), list(messages, true), _jsx(XStack, { items: "center", gap: 6, px: 18, minH: 20, children: typing && typing.channel === here ? (_jsxs(_Fragment, { children: [_jsx(Dots, {}), _jsx(Text, { fontSize: "$1", color: "$soft", numberOfLines: 1, children: t('{name} is typing…', { name: who(typing.who).name }) })] })) : null }), wide || (height && height < LIST) ? null : (_jsxs(XStack, { flexWrap: "wrap", items: "center", gap: 8, px: 12, pb: 8, children: [_jsx(Mode, { supervised: supervised, onSet: setSupervised, small: true }), _jsxs(XStack, { items: "center", gap: 6, px: 10, height: 28, rounded: 9999, borderWidth: 1, borderColor: asks.length ? '$ink' : '$edge', "$platform-web": { borderRadius: '9999px' }, children: [_jsx(UserRound, { size: 12, color: "var(--foreground)", "aria-hidden": true }), _jsx(Text, { "data-motion": "rise", fontSize: 11, fontWeight: "600", color: "$ink", children: asks.length ? t('{count} need a person', { count: asks.length }) : t('Nothing needs a person') }, asks.length)] }), mission ? (_jsxs(XStack, { items: "center", gap: 6, px: 10, height: 28, rounded: 9999, borderWidth: 1, borderColor: "$edge", "$platform-web": { borderRadius: '9999px' }, children: [_jsx(Target, { size: 12, color: "var(--foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: 11, fontWeight: "600", color: "$ink", "data-i18n-ltr": true, children: t('{done} of {total}', { done: done.length, total: mission.steps.length }) }), _jsx(View, { width: 36, children: _jsx(Progress, { done: done.length, total: mission.steps.length }) })] })) : null] })), composer(t('Message #{channel}', { channel })), side && !wide ? (_jsx(YStack, { "data-motion": "rise", position: "absolute", t: 0, b: 0, insetInlineEnd: 0, width: "100%", maxW: 420, borderColor: "$edge", borderInlineStartWidth: 1, bg: "var(--background)", boxShadow: "0 24px 60px -24px color-mix(in srgb, var(--pure-black) 60%, transparent)", children: side })) : null, drawer && desk !== true ? (_jsxs(XStack, { "data-motion": "rise", position: "absolute", t: 0, b: 0, insetInlineStart: 0, width: "88%", maxW: 340, bg: "var(--background)", borderColor: "$edge", borderInlineEndWidth: 1, boxShadow: "0 24px 60px -24px color-mix(in srgb, var(--pure-black) 60%, transparent)", ...md(desk, { display: 'none' }), children: [rail, _jsx(YStack, { flex: 1, minW: 0, bg: "$sunken", children: column })] })) : null] }), wide ? (_jsx(YStack, { minW: 0, minH: 0, borderColor: "$edge", borderInlineStartWidth: 1, children: side ?? _jsx(Panel, { org: o.id, supervised: supervised, onMode: setSupervised, asks: asks, done: done, handoffs: handoffs, onOpen: go }) })) : null] }));
306
+ }) })] }), list(messages, true), _jsx(XStack, { items: "center", gap: 6, px: 18, minH: 20, children: typing && typing.channel === here ? (_jsxs(_Fragment, { children: [_jsx(Dots, {}), _jsx(Text, { fontSize: "$1", color: "$soft", numberOfLines: 1, children: t('{name} is typing…', { name: who(typing.who).name }) })] })) : null }), wide || (height && height < LIST) ? null : (_jsxs(XStack, { flexWrap: "wrap", items: "center", gap: 8, px: 12, pb: 8, children: [_jsx(Mode, { supervised: supervised, onSet: setSupervised, small: true }), _jsxs(XStack, { items: "center", gap: 6, px: 10, height: 28, rounded: 9999, borderWidth: 1, borderColor: asks.length ? '$ink' : '$edge', "$platform-web": { borderRadius: '9999px' }, children: [_jsx(UserRound, { size: 12, color: "var(--foreground)", "aria-hidden": true }), _jsx(Text, { "data-motion": "rise", fontSize: 11, fontWeight: "600", color: "$ink", children: asks.length ? t('{count} need a person', { count: asks.length }) : t('Nothing needs a person') }, asks.length)] }), mission ? (_jsxs(XStack, { items: "center", gap: 6, px: 10, height: 28, rounded: 9999, borderWidth: 1, borderColor: "$edge", "$platform-web": { borderRadius: '9999px' }, children: [_jsx(Target, { size: 12, color: "var(--foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: 11, fontWeight: "600", color: "$ink", "data-i18n-ltr": true, children: t('{done} of {total}', { done: done.length, total: mission.steps.length }) }), _jsx(View, { width: 36, children: _jsx(Progress, { done: done.length, total: mission.steps.length }) })] })) : null] })), composer(t('Message #{channel}', { channel })), side && !wide ? (_jsx(YStack, { "data-motion": "rise", position: "absolute", t: 0, b: 0, insetInlineEnd: 0, width: "100%", maxW: 420, borderColor: "$edge", borderInlineStartWidth: 1, bg: "var(--background)", boxShadow: "0 24px 60px -24px color-mix(in srgb, var(--pure-black) 60%, transparent)", children: side })) : null, drawer && desk !== true ? (_jsx(XStack, { "data-motion": "rise", position: "absolute", t: 0, b: 0, insetInlineStart: 0, width: "88%", maxW: 340, bg: "var(--background)", borderColor: "$edge", borderInlineEndWidth: 1, boxShadow: "0 24px 60px -24px color-mix(in srgb, var(--pure-black) 60%, transparent)", ...md(desk, { display: 'none' }), children: _jsx(YStack, { flex: 1, minW: 0, bg: "$sunken", children: column }) })) : null] }), wide ? (_jsx(YStack, { minW: 0, minH: 0, borderColor: "$edge", borderInlineStartWidth: 1, children: side ?? _jsx(Panel, { org: o.id, supervised: supervised, onMode: setSupervised, asks: asks, done: done, handoffs: handoffs, onOpen: go }) })) : null] }));
305
307
  }
package/dist/Upgrade.js CHANGED
@@ -67,11 +67,7 @@ export function Upgrade({ ask, onClose }) {
67
67
  track('plan_clicked', { plan: plan.id, interval, cta: `Upgrade to ${plan.name} for ${quote(plan, interval)}`, items });
68
68
  track('checkout_started', { currency: 'USD', value: charge(plan, interval), items, interval });
69
69
  };
70
- return (_jsx(Dialog, { open: ask !== null, onOpenChange: (open) => (open ? undefined : onClose()), children: _jsxs(DialogContent, { showCloseButton: false, width: "calc(100vw - 32px)", maxW: 440, bg: "var(--popover)", rounded: "$9", p: "$5", gap: "$5", $sm: { p: '$6' }, children: [_jsx(Box, { render: "button", "aria-label": t('Close'), onClick: onClose, position: "absolute", t: "$4", insetInlineEnd: "$4", p: "$1.5", rounded: "$2", bg: "transparent", borderWidth: 0, cursor: "pointer", hoverStyle: { bg: '$hover' }, children: _jsx(X, { size: 18, "aria-hidden": true, color: "var(--soft, var(--muted-foreground))" }) }), _jsx(DialogTitle
71
- // inline-style: design's serif face. gui names Zen and Zen Mono only; a family it cannot name resets the rung to 15px.
72
- , {
73
- // inline-style: design's serif face. gui names Zen and Zen Mono only; a family it cannot name resets the rung to 15px.
74
- style: { fontFamily: 'var(--font-serif)' }, fontSize: "$8", lineHeight: "$9", fontWeight: "400", color: "$ink", paddingInlineEnd: "$6", children: ask?.model ? t('Use {model} with Hanzo {plan}', { model: ask.model, plan: plan.name }) : t('Upgrade to Hanzo {plan}', { plan: plan.name }) }), _jsx(YStack, { render: "ul", gap: "$3.5", m: 0, p: 0, children: ROWS.map(([Icon, line]) => (_jsxs(XStack, { render: "li", items: "center", gap: "$3", children: [_jsx(Icon, { size: 18, "aria-hidden": true, color: "var(--soft, var(--muted-foreground))" }), _jsx(Text, { fontSize: "$4", color: "$ink", children: t(line) })] }, line))) }), save === null ? null : (_jsx(ToggleGroup, { type: "single", value: cycle, onValueChange: (v) => {
70
+ return (_jsx(Dialog, { open: ask !== null, onOpenChange: (open) => (open ? undefined : onClose()), children: _jsxs(DialogContent, { showCloseButton: false, width: "calc(100vw - 32px)", maxW: 440, bg: "var(--popover)", rounded: "$9", p: "$5", gap: "$5", $sm: { p: '$6' }, children: [_jsx(Box, { render: "button", "aria-label": t('Close'), onClick: onClose, position: "absolute", t: "$4", insetInlineEnd: "$4", p: "$1.5", rounded: "$2", bg: "transparent", borderWidth: 0, cursor: "pointer", hoverStyle: { bg: '$hover' }, children: _jsx(X, { size: 18, "aria-hidden": true, color: "var(--soft, var(--muted-foreground))" }) }), _jsx(DialogTitle, { fontFamily: "$serif", fontSize: "$8", lineHeight: "$9", fontWeight: "400", color: "$ink", paddingInlineEnd: "$6", children: ask?.model ? t('Use {model} with Hanzo {plan}', { model: ask.model, plan: plan.name }) : t('Upgrade to Hanzo {plan}', { plan: plan.name }) }), _jsx(YStack, { render: "ul", gap: "$3.5", m: 0, p: 0, children: ROWS.map(([Icon, line]) => (_jsxs(XStack, { render: "li", items: "center", gap: "$3", children: [_jsx(Icon, { size: 18, "aria-hidden": true, color: "var(--soft, var(--muted-foreground))" }), _jsx(Text, { fontSize: "$4", color: "$ink", children: t(line) })] }, line))) }), save === null ? null : (_jsx(ToggleGroup, { type: "single", value: cycle, onValueChange: (v) => {
75
71
  if (v === 'month' || v === 'year')
76
72
  setCycle(v);
77
73
  }, disableDeactivation: true, "aria-label": t('Billing term'), ...{ width: '100%', p: 4, rounded: 9999, bg: 'var(--surface-2)' }, children: [
package/dist/span.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import { type CSSProperties } from 'react';
2
1
  export interface Span {
3
2
  /** The width React knows, px: the kept one, or `initial`. */
4
3
  span: number;
5
4
  /** The element whose `--span` is the width. */
6
5
  ref: (node: unknown) => void;
7
- /** Spread on that element: it carries `--span`. */
8
- style: CSSProperties;
6
+ /** Spread on that element: gui props that carry `--span`. */
7
+ props: object;
9
8
  /** The width while a drag moves it, px. */
10
9
  move: (n: number) => void;
11
10
  /** The width it settled on, px: drawn, known and kept. */
package/dist/span.js CHANGED
@@ -4,11 +4,14 @@
4
4
  // column's contents sixty times a second.
5
5
  //
6
6
  // const col = useSpan('hanzo.app.column', 272, 220, 420)
7
- // <YStack ref={col.ref} style={col.style}> width: var(--span)
7
+ // <YStack ref={col.ref} {...col.props}> width: var(--span)
8
8
  // <Grip span={col.span} onSpan={col.move} onKeep={col.keep} … /> (@hanzo/build)
9
9
  //
10
- // `move` writes the property on the element and nothing else; `keep` is where
11
- // React and storage learn the width, once per drag, key or double-click.
10
+ // `props` carries the width React knows as gui's own class (`--span: 272px`),
11
+ // so a prerendered column is drawn at it before a script runs. `move` writes the
12
+ // property on the element and nothing else; `keep` writes it there too, so the
13
+ // element and the class say one width, and is where React and storage learn it,
14
+ // once per drag, key or double-click.
12
15
  //
13
16
  // Storage is read in a layout effect, not during render: the apps are
14
17
  // prerendered, and a render that reads storage draws different HTML on the
@@ -46,5 +49,7 @@ export function useSpan(store, initial, floor, ceil) {
46
49
  // A browser that stores nothing still resizes; it just forgets.
47
50
  }
48
51
  }, [store]);
49
- return { span, ref, style: { '--span': `${span}px` }, move, keep };
52
+ // gui emits a custom property from `$platform-web` as its own class; its
53
+ // types name only CSS properties, so the props are handed over as a bag.
54
+ return { span, ref, props: { '$platform-web': { '--span': `${span}px` } }, move, keep };
50
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/app",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Hanzo's app: the shell and its apps (Home, Chat, Inbox, Contacts, Meet, Calendar, Drive, Board, Work, Bots), once, for every Hanzo surface.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "license": "Apache-2.0 OR MIT",
44
44
  "dependencies": {
45
- "@hanzo/glass": "0.1.0",
45
+ "@hanzo/glass": "0.1.1",
46
46
  "@hanzo/mod": "0.1.0",
47
47
  "@hanzo/personas": "1.0.5",
48
48
  "marked": "18.0.12",
@@ -51,7 +51,7 @@
51
51
  "peerDependencies": {
52
52
  "@hanzo/ai": ">=0.7.0",
53
53
  "@hanzo/appearance": ">=0.2.13",
54
- "@hanzo/build": ">=0.2.84",
54
+ "@hanzo/build": ">=0.2.90",
55
55
  "@hanzo/composer": ">=0.2.0",
56
56
  "@hanzo/event": ">=0.3.56",
57
57
  "@hanzo/gui": "^8.3.5",
@@ -60,7 +60,7 @@
60
60
  "@hanzo/logo": ">=1.0.26",
61
61
  "@hanzo/studio": ">=0.1.0",
62
62
  "@hanzo/tabs": ">=0.1.8",
63
- "@hanzo/ui": ">=8.29.26",
63
+ "@hanzo/ui": ">=8.29.33",
64
64
  "@hanzo/usage": ">=0.1.18",
65
65
  "@hanzo/voice": ">=0.1.16",
66
66
  "@hanzogui/shell": "^8.3.20",
@@ -71,9 +71,9 @@
71
71
  "devDependencies": {
72
72
  "@hanzo/ai": "0.7.0",
73
73
  "@hanzo/appearance": "0.2.13",
74
- "@hanzo/build": "0.2.84",
74
+ "@hanzo/build": "0.2.90",
75
75
  "@hanzo/composer": "0.2.0",
76
- "@hanzo/design": "0.5.38",
76
+ "@hanzo/design": "0.5.39",
77
77
  "@hanzo/event": "0.3.56",
78
78
  "@hanzo/gui": "8.3.5",
79
79
  "@hanzo/i18n": "0.5.5",
@@ -81,7 +81,7 @@
81
81
  "@hanzo/logo": "1.0.26",
82
82
  "@hanzo/studio": "0.1.0",
83
83
  "@hanzo/tabs": "github:hanzo-inc/tabs",
84
- "@hanzo/ui": "8.29.26",
84
+ "@hanzo/ui": "8.29.33",
85
85
  "@hanzo/usage": "0.1.18",
86
86
  "@hanzo/voice": "0.1.19",
87
87
  "@hanzogui/config": "8.3.5",