@tangle-network/agent-app 0.58.16 → 0.58.18
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/{DesignCanvasEditor-HB7HTZUT.js → DesignCanvasEditor-4FPLJ3YJ.js} +3 -3
- package/dist/agent-profiles/d1.js +3 -3
- package/dist/agent-profiles/index.js +3 -3
- package/dist/assistant/index.js +7 -7
- package/dist/chat-react/index.js +3 -3
- package/dist/chat-routes/index.js +4 -4
- package/dist/{chunk-BDCATWBV.js → chunk-55JJKE7S.js} +3 -3
- package/dist/{chunk-4YHE7PGO.js → chunk-D7WMRSX6.js} +2 -2
- package/dist/{chunk-XOBVWCOA.js → chunk-DECJLOS4.js} +4 -4
- package/dist/{chunk-IBTM5SAZ.js → chunk-DP7LKSNA.js} +3 -3
- package/dist/{chunk-YPP6OJGC.js → chunk-DWUSVC3U.js} +2 -2
- package/dist/{chunk-S5MKEU2E.js → chunk-GJRGCVDV.js} +12 -5
- package/dist/{chunk-S5MKEU2E.js.map → chunk-GJRGCVDV.js.map} +1 -1
- package/dist/{chunk-OFQUM5FP.js → chunk-HG4OONJA.js} +4 -3
- package/dist/chunk-HG4OONJA.js.map +1 -0
- package/dist/{chunk-4CBU7QIL.js → chunk-HS4Y6CGH.js} +2 -2
- package/dist/{chunk-NZNXHCVU.js → chunk-HUPJOCBH.js} +5 -5
- package/dist/{chunk-NZNXHCVU.js.map → chunk-HUPJOCBH.js.map} +1 -1
- package/dist/{chunk-KSLVMA2D.js → chunk-KHCJKVQN.js} +3 -3
- package/dist/{chunk-GEGCSRYQ.js → chunk-NJDQ2JCP.js} +2 -2
- package/dist/{chunk-ZBZA7KSL.js → chunk-VUXCM5ZO.js} +1 -1
- package/dist/{chunk-ZBZA7KSL.js.map → chunk-VUXCM5ZO.js.map} +1 -1
- package/dist/{chunk-6KZ4ZTLG.js → chunk-XCBDWT5H.js} +2 -2
- package/dist/{chunk-Q3BLSWYP.js → chunk-XEURJVS5.js} +2 -2
- package/dist/{chunk-4ZMZDE24.js → chunk-ZYK3A2FR.js} +4 -4
- package/dist/design-canvas-react/index.js +3 -3
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/{mention-editor-4D32JTDS.js → mention-editor-5KXHSBDJ.js} +2 -2
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/sandbox/index.js +4 -4
- package/dist/studio-react/index.js +3 -3
- package/dist/theme/brand.generated.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens.css +17 -2
- package/dist/tools/index.js +4 -4
- package/dist/web-react/index.js +7 -7
- package/dist/work-product/index.js +2 -2
- package/dist/workspace-react/index.js +15 -11
- package/dist/workspace-react/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-OFQUM5FP.js.map +0 -1
- /package/dist/{DesignCanvasEditor-HB7HTZUT.js.map → DesignCanvasEditor-4FPLJ3YJ.js.map} +0 -0
- /package/dist/{chunk-BDCATWBV.js.map → chunk-55JJKE7S.js.map} +0 -0
- /package/dist/{chunk-4YHE7PGO.js.map → chunk-D7WMRSX6.js.map} +0 -0
- /package/dist/{chunk-XOBVWCOA.js.map → chunk-DECJLOS4.js.map} +0 -0
- /package/dist/{chunk-IBTM5SAZ.js.map → chunk-DP7LKSNA.js.map} +0 -0
- /package/dist/{chunk-YPP6OJGC.js.map → chunk-DWUSVC3U.js.map} +0 -0
- /package/dist/{chunk-4CBU7QIL.js.map → chunk-HS4Y6CGH.js.map} +0 -0
- /package/dist/{chunk-KSLVMA2D.js.map → chunk-KHCJKVQN.js.map} +0 -0
- /package/dist/{chunk-GEGCSRYQ.js.map → chunk-NJDQ2JCP.js.map} +0 -0
- /package/dist/{chunk-6KZ4ZTLG.js.map → chunk-XCBDWT5H.js.map} +0 -0
- /package/dist/{chunk-Q3BLSWYP.js.map → chunk-XEURJVS5.js.map} +0 -0
- /package/dist/{chunk-4ZMZDE24.js.map → chunk-ZYK3A2FR.js.map} +0 -0
- /package/dist/{mention-editor-4D32JTDS.js.map → mention-editor-5KXHSBDJ.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NJDQ2JCP.js";
|
|
4
4
|
import {
|
|
5
5
|
CheckGlyph,
|
|
6
6
|
OVERLAY_SHADOW,
|
|
7
7
|
PopoverSurface
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HG4OONJA.js";
|
|
9
9
|
|
|
10
10
|
// src/web-react/workspace-switcher.tsx
|
|
11
11
|
import { useCallback, useState } from "react";
|
|
@@ -116,4 +116,4 @@ export {
|
|
|
116
116
|
WorkspaceSwitcher,
|
|
117
117
|
WorkspaceInitial
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-KHCJKVQN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopover
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HG4OONJA.js";
|
|
4
4
|
|
|
5
5
|
// src/web-react/popover-dialog.ts
|
|
6
6
|
import { useEffect, useId } from "react";
|
|
@@ -45,4 +45,4 @@ function usePopoverDialog(open, onOpenChange) {
|
|
|
45
45
|
export {
|
|
46
46
|
usePopoverDialog
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-NJDQ2JCP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/brand.generated.ts","../src/theme/theme.ts"],"sourcesContent":["/** GENERATED from @tangle-network/brand/styles/legacy-light.css\n * SHA-256: f806a1a96207921493e506e2007b883eba7138639d396a1af91c7abe4cb3d901\n * Run node src/theme/build.mjs --write; do not edit colors or ratios here. */\nexport const brandThemes = {\n \"light\": {\n \"background\": \"223 23% 94%\",\n \"foreground\": \"0 0% 17.6471%\",\n \"card\": \"0 0% 100%\",\n \"cardForeground\": \"0 0% 17.6471%\",\n \"popover\": \"0 0% 100%\",\n \"popoverForeground\": \"0 0% 17.6471%\",\n \"primary\": \"243.2787 80.6167% 55.4902%\",\n \"primaryForeground\": \"0 0% 100%\",\n \"secondary\": \"230 27% 96%\",\n \"secondaryForeground\": \"0 0% 17.6471%\",\n \"muted\": \"230 27% 96%\",\n \"mutedForeground\": \"0 0% 29.8039%\",\n \"accent\": \"230 27% 96%\",\n \"accentForeground\": \"0 0% 17.6471%\",\n \"destructive\": \"0 73.7089% 41.7647%\",\n \"destructiveForeground\": \"0 0% 100%\",\n \"border\": \"244 16% 81%\",\n \"input\": \"0 0% 29.8039%\",\n \"ring\": \"246 54% 51%\",\n \"success\": \"162.931 93.5484% 24.3137%\",\n \"warning\": \"41 96% 50%\",\n \"successForeground\": \"0 0% 100%\",\n \"warningForeground\": \"0 0% 0%\",\n \"warningStrong\": \"25.9259 90% 35.2941%\",\n \"inputFill\": \"hsl(225 29% 97%)\",\n \"canvasBackdrop\": \"#dcdee6\",\n \"borderSoft\": \"rgba(0, 0, 0, 0.10)\",\n \"cardEdge\": \"rgba(0, 0, 0, 0.14)\",\n \"canvasRender\": {\n \"grid\": \"#c7c6d6\",\n \"snapGrid\": \"#787878\",\n \"snapGuide\": \"#0369a1\",\n \"snapPage\": \"#ab4f09\",\n \"snapElement\": \"#b91c1c\",\n \"selectionStroke\": \"#3c32e9\",\n \"selectionAnchorFill\": \"#ffffff\",\n \"placeholderFill\": \"#f6f7fa\",\n \"placeholderStroke\": \"#c7c6d6\",\n \"brokenFill\": \"#f1f2f7\",\n \"brokenStroke\": \"#787878\"\n }\n },\n \"dark\": {\n \"background\": \"240 33% 6%\",\n \"foreground\": \"0 0% 90.1961%\",\n \"card\": \"244 23% 12%\",\n \"cardForeground\": \"0 0% 90.1961%\",\n \"popover\": \"247 23% 21%\",\n \"popoverForeground\": \"0 0% 90.1961%\",\n \"primary\": \"229.6552 93.5484% 81.7647%\",\n \"primaryForeground\": \"0 0% 0%\",\n \"secondary\": \"249 24% 16%\",\n \"secondaryForeground\": \"0 0% 90.1961%\",\n \"muted\": \"249 24% 16%\",\n \"mutedForeground\": \"240 5% 68%\",\n \"accent\": \"249 24% 16%\",\n \"accentForeground\": \"0 0% 90.1961%\",\n \"destructive\": \"2.7907 100% 83.1373%\",\n \"destructiveForeground\": \"0 0% 0%\",\n \"border\": \"243 20% 20%\",\n \"input\": \"240 5% 68%\",\n \"ring\": \"233 100% 87%\",\n \"success\": \"154.7107 60.199% 60.5882%\",\n \"warning\": \"40 94% 56%\",\n \"successForeground\": \"0 0% 0%\",\n \"warningForeground\": \"0 0% 0%\",\n \"warningStrong\": \"41.4545 88.2353% 63.3333%\",\n \"inputFill\": \"hsl(244 29% 9%)\",\n \"canvasBackdrop\": \"#060610\",\n \"borderSoft\": \"rgba(255, 255, 255, 0.10)\",\n \"cardEdge\": \"rgba(255, 255, 255, 0.16)\",\n \"canvasRender\": {\n \"grid\": \"#2a293d\",\n \"snapGrid\": \"#8e8e8e\",\n \"snapGuide\": \"#67cdff\",\n \"snapPage\": \"#f4c14f\",\n \"snapElement\": \"#ffada9\",\n \"selectionStroke\": \"#a5b4fc\",\n \"selectionAnchorFill\": \"#232238\",\n \"placeholderFill\": \"#12111f\",\n \"placeholderStroke\": \"#2a293d\",\n \"brokenFill\": \"#221f33\",\n \"brokenStroke\": \"#8e8e8e\"\n }\n }\n} as const\n","/** Brand-derived HSL compatibility and bitmap snapshots. Regenerate with src/theme/build.mjs; never author a second palette here. */\nimport { brandThemes } from './brand.generated'\n\nexport interface AgentAppTheme {\n background: string\n foreground: string\n card: string\n cardForeground: string\n popover: string\n popoverForeground: string\n primary: string\n primaryForeground: string\n secondary: string\n secondaryForeground: string\n muted: string\n mutedForeground: string\n accent: string\n accentForeground: string\n destructive: string\n destructiveForeground: string\n border: string\n input: string\n /** Full field fill, distinct from the input border. Optional for existing custom themes. */\n inputFill?: string\n ring: string\n success: string\n successForeground: string\n warning: string\n warningForeground: string\n /**\n * Warning as TEXT on a warning-TINTED surface, as a channel triple. Optional\n * so a consumer's existing `AgentAppTheme` literal still type-checks;\n * {@link themeToCssVars} falls back to `warningForeground`, which is what the\n * surface used before this token existed.\n */\n warningStrong?: string\n /** Full CSS color (not a triple) — the canvas/scene backdrop. */\n canvasBackdrop: string\n /**\n * Border tiers as FULL CSS colors (they are `color-mix()` results, not\n * triples). Optional so a consumer's existing `AgentAppTheme` literal still\n * type-checks; {@link themeToCssVars} falls back to full-strength\n * `hsl(var(--border))`, which can never erase an edge.\n */\n borderSoft?: string\n /** @see borderSoft */\n cardEdge?: string\n /** Konva render palette — full hex colors the bitmap canvas paints with\n * (it cannot resolve `var(--…)`). NOT emitted by themeToCssVars. */\n canvasRender: CanvasRenderPalette\n}\n\n/**\n * Colors the Konva design-canvas paints directly. Konva renders to a bitmap\n * and cannot read CSS custom properties, so these are full hex strings sourced\n * from the active theme and threaded through the canvas components.\n */\nexport interface CanvasRenderPalette {\n /** Grid line color (GridLayer). */\n grid: string\n /** Grid-snap guide line (SnapGuidesOverlay, kind 'grid'). */\n snapGrid: string\n /** Saved ruler-guide snap line (kind 'guide'). */\n snapGuide: string\n /** Page edge/center snap line (kinds 'page-edge'/'page-center'). */\n snapPage: string\n /** Element edge/center snap line (kinds 'element-edge'/'element-center'). */\n snapElement: string\n /** Transformer border + anchor stroke (SelectionLayer). */\n selectionStroke: string\n /** Transformer anchor fill (SelectionLayer). */\n selectionAnchorFill: string\n /** Video placeholder fill (ElementNode VideoNode). */\n placeholderFill: string\n /** Video placeholder stroke (ElementNode VideoNode). */\n placeholderStroke: string\n /** Broken/loading image placeholder fill (ElementNode ImageNode). */\n brokenFill: string\n /** Broken/loading image placeholder stroke (ElementNode ImageNode). */\n brokenStroke: string\n}\n\n/** Define a light color theme with specific background, foreground, and accent color values */\nexport const lightTheme: AgentAppTheme = brandThemes.light\n\n/** Canonical Brand dark values projected for legacy JS and bitmap callers. */\nexport const darkTheme: AgentAppTheme = brandThemes.dark\n\n/**\n * Wrap a channel triple in `hsl()`; pass through values already in a color form.\n * `oklch(…)` / `oklab(…)` / `color-mix(…)` are recognised because the ramp is\n * authored in oklch and the border tiers are colour mixes — wrapping either in\n * `hsl()` yields an invalid colour that paints as nothing.\n */\nexport function themeColor(value: string): string {\n return /^(hsl|rgb|oklch|oklab|lch|lab|color|color-mix|#)/.test(value) ? value : `hsl(${value})`\n}\n\n/**\n * Map a theme to the full CSS-variable set (shadcn triples + canvas/sequences\n * aliases + canvas surface). Apply at runtime to scope a theme without loading\n * tokens.css: `Object.assign(el.style, themeToCssVars(darkTheme))`.\n */\nexport function themeToCssVars(theme: AgentAppTheme): Record<string, string> {\n return {\n '--background': theme.background,\n '--foreground': theme.foreground,\n '--card': theme.card,\n '--card-foreground': theme.cardForeground,\n '--popover': theme.popover,\n '--popover-foreground': theme.popoverForeground,\n '--primary': theme.primary,\n '--primary-foreground': theme.primaryForeground,\n '--secondary': theme.secondary,\n '--secondary-foreground': theme.secondaryForeground,\n '--muted': theme.muted,\n '--muted-foreground': theme.mutedForeground,\n '--accent': theme.accent,\n '--accent-foreground': theme.accentForeground,\n '--destructive': theme.destructive,\n '--destructive-foreground': theme.destructiveForeground,\n '--border': theme.border,\n '--input': theme.input,\n '--ring': theme.ring,\n '--success': theme.success,\n '--success-foreground': theme.successForeground,\n '--warning': theme.warning,\n '--warning-foreground': theme.warningForeground,\n // Falls back to the pairing the tinted surfaces used before this token\n // existed, so an unset value restores the previous look rather than an\n // unthemed one.\n '--warning-strong': theme.warningStrong ?? theme.warningForeground,\n '--bg-input': theme.inputFill ?? `hsl(${theme.card})`,\n '--text-primary': `hsl(${theme.foreground})`,\n '--text-secondary': `hsl(${theme.secondaryForeground})`,\n '--text-muted': `hsl(${theme.mutedForeground})`,\n '--text-danger': `hsl(${theme.destructive})`,\n '--text-warning': `hsl(${theme.warningStrong ?? theme.warningForeground})`,\n '--border-default': `hsl(${theme.border})`,\n '--brand-primary': `hsl(${theme.primary})`,\n '--editor-selection-background': `hsl(${theme.primary})`,\n '--editor-selection-foreground': `hsl(${theme.primaryForeground})`,\n '--canvas-backdrop': theme.canvasBackdrop,\n // Full strength is the safe default: an unset tier can under-draw an edge,\n // never erase one.\n '--border-soft': theme.borderSoft ?? `hsl(${theme.border})`,\n '--card-edge': theme.cardEdge ?? `hsl(${theme.border})`,\n }\n}\n"],"mappings":"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","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/theme/brand.generated.ts","../src/theme/theme.ts"],"sourcesContent":["/** GENERATED from @tangle-network/brand/styles/legacy-light.css\n * SHA-256: cbb8fe7d4441db729bc299cdcecc165a519d0dfe29930b11ade7feb5070007f4\n * Run node src/theme/build.mjs --write; do not edit colors or ratios here. */\nexport const brandThemes = {\n \"light\": {\n \"background\": \"223 23% 94%\",\n \"foreground\": \"0 0% 17.6471%\",\n \"card\": \"0 0% 100%\",\n \"cardForeground\": \"0 0% 17.6471%\",\n \"popover\": \"0 0% 100%\",\n \"popoverForeground\": \"0 0% 17.6471%\",\n \"primary\": \"243.2787 80.6167% 55.4902%\",\n \"primaryForeground\": \"0 0% 100%\",\n \"secondary\": \"230 27% 96%\",\n \"secondaryForeground\": \"0 0% 17.6471%\",\n \"muted\": \"230 27% 96%\",\n \"mutedForeground\": \"0 0% 29.8039%\",\n \"accent\": \"230 27% 96%\",\n \"accentForeground\": \"0 0% 17.6471%\",\n \"destructive\": \"0 73.7089% 41.7647%\",\n \"destructiveForeground\": \"0 0% 100%\",\n \"border\": \"244 16% 81%\",\n \"input\": \"0 0% 29.8039%\",\n \"ring\": \"246 54% 51%\",\n \"success\": \"162.931 93.5484% 24.3137%\",\n \"warning\": \"41 96% 50%\",\n \"successForeground\": \"0 0% 100%\",\n \"warningForeground\": \"0 0% 0%\",\n \"warningStrong\": \"25.9259 90% 35.2941%\",\n \"inputFill\": \"hsl(225 29% 97%)\",\n \"canvasBackdrop\": \"#dcdee6\",\n \"borderSoft\": \"rgba(0, 0, 0, 0.10)\",\n \"cardEdge\": \"rgba(0, 0, 0, 0.14)\",\n \"canvasRender\": {\n \"grid\": \"#c7c6d6\",\n \"snapGrid\": \"#787878\",\n \"snapGuide\": \"#0369a1\",\n \"snapPage\": \"#ab4f09\",\n \"snapElement\": \"#b91c1c\",\n \"selectionStroke\": \"#3c32e9\",\n \"selectionAnchorFill\": \"#ffffff\",\n \"placeholderFill\": \"#f6f7fa\",\n \"placeholderStroke\": \"#c7c6d6\",\n \"brokenFill\": \"#f1f2f7\",\n \"brokenStroke\": \"#787878\"\n }\n },\n \"dark\": {\n \"background\": \"240 33% 6%\",\n \"foreground\": \"0 0% 90.1961%\",\n \"card\": \"244 23% 12%\",\n \"cardForeground\": \"0 0% 90.1961%\",\n \"popover\": \"247 23% 21%\",\n \"popoverForeground\": \"0 0% 90.1961%\",\n \"primary\": \"229.6552 93.5484% 81.7647%\",\n \"primaryForeground\": \"0 0% 0%\",\n \"secondary\": \"249 24% 16%\",\n \"secondaryForeground\": \"0 0% 90.1961%\",\n \"muted\": \"249 24% 16%\",\n \"mutedForeground\": \"240 5% 68%\",\n \"accent\": \"249 24% 16%\",\n \"accentForeground\": \"0 0% 90.1961%\",\n \"destructive\": \"2.7907 100% 83.1373%\",\n \"destructiveForeground\": \"0 0% 0%\",\n \"border\": \"243 20% 20%\",\n \"input\": \"240 5% 68%\",\n \"ring\": \"233 100% 87%\",\n \"success\": \"154.7107 60.199% 60.5882%\",\n \"warning\": \"40 94% 56%\",\n \"successForeground\": \"0 0% 0%\",\n \"warningForeground\": \"0 0% 0%\",\n \"warningStrong\": \"41.4545 88.2353% 63.3333%\",\n \"inputFill\": \"hsl(244 29% 9%)\",\n \"canvasBackdrop\": \"#060610\",\n \"borderSoft\": \"rgba(255, 255, 255, 0.10)\",\n \"cardEdge\": \"rgba(255, 255, 255, 0.16)\",\n \"canvasRender\": {\n \"grid\": \"#2a293d\",\n \"snapGrid\": \"#8e8e8e\",\n \"snapGuide\": \"#67cdff\",\n \"snapPage\": \"#f4c14f\",\n \"snapElement\": \"#ffada9\",\n \"selectionStroke\": \"#a5b4fc\",\n \"selectionAnchorFill\": \"#232238\",\n \"placeholderFill\": \"#12111f\",\n \"placeholderStroke\": \"#2a293d\",\n \"brokenFill\": \"#221f33\",\n \"brokenStroke\": \"#8e8e8e\"\n }\n }\n} as const\n","/** Brand-derived HSL compatibility and bitmap snapshots. Regenerate with src/theme/build.mjs; never author a second palette here. */\nimport { brandThemes } from './brand.generated'\n\nexport interface AgentAppTheme {\n background: string\n foreground: string\n card: string\n cardForeground: string\n popover: string\n popoverForeground: string\n primary: string\n primaryForeground: string\n secondary: string\n secondaryForeground: string\n muted: string\n mutedForeground: string\n accent: string\n accentForeground: string\n destructive: string\n destructiveForeground: string\n border: string\n input: string\n /** Full field fill, distinct from the input border. Optional for existing custom themes. */\n inputFill?: string\n ring: string\n success: string\n successForeground: string\n warning: string\n warningForeground: string\n /**\n * Warning as TEXT on a warning-TINTED surface, as a channel triple. Optional\n * so a consumer's existing `AgentAppTheme` literal still type-checks;\n * {@link themeToCssVars} falls back to `warningForeground`, which is what the\n * surface used before this token existed.\n */\n warningStrong?: string\n /** Full CSS color (not a triple) — the canvas/scene backdrop. */\n canvasBackdrop: string\n /**\n * Border tiers as FULL CSS colors (they are `color-mix()` results, not\n * triples). Optional so a consumer's existing `AgentAppTheme` literal still\n * type-checks; {@link themeToCssVars} falls back to full-strength\n * `hsl(var(--border))`, which can never erase an edge.\n */\n borderSoft?: string\n /** @see borderSoft */\n cardEdge?: string\n /** Konva render palette — full hex colors the bitmap canvas paints with\n * (it cannot resolve `var(--…)`). NOT emitted by themeToCssVars. */\n canvasRender: CanvasRenderPalette\n}\n\n/**\n * Colors the Konva design-canvas paints directly. Konva renders to a bitmap\n * and cannot read CSS custom properties, so these are full hex strings sourced\n * from the active theme and threaded through the canvas components.\n */\nexport interface CanvasRenderPalette {\n /** Grid line color (GridLayer). */\n grid: string\n /** Grid-snap guide line (SnapGuidesOverlay, kind 'grid'). */\n snapGrid: string\n /** Saved ruler-guide snap line (kind 'guide'). */\n snapGuide: string\n /** Page edge/center snap line (kinds 'page-edge'/'page-center'). */\n snapPage: string\n /** Element edge/center snap line (kinds 'element-edge'/'element-center'). */\n snapElement: string\n /** Transformer border + anchor stroke (SelectionLayer). */\n selectionStroke: string\n /** Transformer anchor fill (SelectionLayer). */\n selectionAnchorFill: string\n /** Video placeholder fill (ElementNode VideoNode). */\n placeholderFill: string\n /** Video placeholder stroke (ElementNode VideoNode). */\n placeholderStroke: string\n /** Broken/loading image placeholder fill (ElementNode ImageNode). */\n brokenFill: string\n /** Broken/loading image placeholder stroke (ElementNode ImageNode). */\n brokenStroke: string\n}\n\n/** Define a light color theme with specific background, foreground, and accent color values */\nexport const lightTheme: AgentAppTheme = brandThemes.light\n\n/** Canonical Brand dark values projected for legacy JS and bitmap callers. */\nexport const darkTheme: AgentAppTheme = brandThemes.dark\n\n/**\n * Wrap a channel triple in `hsl()`; pass through values already in a color form.\n * `oklch(…)` / `oklab(…)` / `color-mix(…)` are recognised because the ramp is\n * authored in oklch and the border tiers are colour mixes — wrapping either in\n * `hsl()` yields an invalid colour that paints as nothing.\n */\nexport function themeColor(value: string): string {\n return /^(hsl|rgb|oklch|oklab|lch|lab|color|color-mix|#)/.test(value) ? value : `hsl(${value})`\n}\n\n/**\n * Map a theme to the full CSS-variable set (shadcn triples + canvas/sequences\n * aliases + canvas surface). Apply at runtime to scope a theme without loading\n * tokens.css: `Object.assign(el.style, themeToCssVars(darkTheme))`.\n */\nexport function themeToCssVars(theme: AgentAppTheme): Record<string, string> {\n return {\n '--background': theme.background,\n '--foreground': theme.foreground,\n '--card': theme.card,\n '--card-foreground': theme.cardForeground,\n '--popover': theme.popover,\n '--popover-foreground': theme.popoverForeground,\n '--primary': theme.primary,\n '--primary-foreground': theme.primaryForeground,\n '--secondary': theme.secondary,\n '--secondary-foreground': theme.secondaryForeground,\n '--muted': theme.muted,\n '--muted-foreground': theme.mutedForeground,\n '--accent': theme.accent,\n '--accent-foreground': theme.accentForeground,\n '--destructive': theme.destructive,\n '--destructive-foreground': theme.destructiveForeground,\n '--border': theme.border,\n '--input': theme.input,\n '--ring': theme.ring,\n '--success': theme.success,\n '--success-foreground': theme.successForeground,\n '--warning': theme.warning,\n '--warning-foreground': theme.warningForeground,\n // Falls back to the pairing the tinted surfaces used before this token\n // existed, so an unset value restores the previous look rather than an\n // unthemed one.\n '--warning-strong': theme.warningStrong ?? theme.warningForeground,\n '--bg-input': theme.inputFill ?? `hsl(${theme.card})`,\n '--text-primary': `hsl(${theme.foreground})`,\n '--text-secondary': `hsl(${theme.secondaryForeground})`,\n '--text-muted': `hsl(${theme.mutedForeground})`,\n '--text-danger': `hsl(${theme.destructive})`,\n '--text-warning': `hsl(${theme.warningStrong ?? theme.warningForeground})`,\n '--border-default': `hsl(${theme.border})`,\n '--brand-primary': `hsl(${theme.primary})`,\n '--editor-selection-background': `hsl(${theme.primary})`,\n '--editor-selection-foreground': `hsl(${theme.primaryForeground})`,\n '--canvas-backdrop': theme.canvasBackdrop,\n // Full strength is the safe default: an unset tier can under-draw an edge,\n // never erase one.\n '--border-soft': theme.borderSoft ?? `hsl(${theme.border})`,\n '--card-edge': theme.cardEdge ?? `hsl(${theme.border})`,\n }\n}\n"],"mappings":";AAGO,IAAM,cAAc;AAAA,EACzB,SAAS;AAAA,IACP,cAAc;AAAA,IACd,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,kBAAkB;AAAA,IAClB,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,aAAa;AAAA,IACb,uBAAuB;AAAA,IACvB,SAAS;AAAA,IACT,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,oBAAoB;AAAA,IACpB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,qBAAqB;AAAA,IACrB,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,gBAAgB;AAAA,MACd,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,uBAAuB;AAAA,MACvB,mBAAmB;AAAA,MACnB,qBAAqB;AAAA,MACrB,cAAc;AAAA,MACd,gBAAgB;AAAA,IAClB;AAAA,EACF;AAAA,EACA,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,kBAAkB;AAAA,IAClB,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,aAAa;AAAA,IACb,uBAAuB;AAAA,IACvB,SAAS;AAAA,IACT,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,oBAAoB;AAAA,IACpB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,qBAAqB;AAAA,IACrB,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,gBAAgB;AAAA,MACd,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,uBAAuB;AAAA,MACvB,mBAAmB;AAAA,MACnB,qBAAqB;AAAA,MACrB,cAAc;AAAA,MACd,gBAAgB;AAAA,IAClB;AAAA,EACF;AACF;;;ACPO,IAAM,aAA4B,YAAY;AAG9C,IAAM,YAA2B,YAAY;AAQ7C,SAAS,WAAW,OAAuB;AAChD,SAAO,mDAAmD,KAAK,KAAK,IAAI,QAAQ,OAAO,KAAK;AAC9F;AAOO,SAAS,eAAe,OAA8C;AAC3E,SAAO;AAAA,IACL,gBAAgB,MAAM;AAAA,IACtB,gBAAgB,MAAM;AAAA,IACtB,UAAU,MAAM;AAAA,IAChB,qBAAqB,MAAM;AAAA,IAC3B,aAAa,MAAM;AAAA,IACnB,wBAAwB,MAAM;AAAA,IAC9B,aAAa,MAAM;AAAA,IACnB,wBAAwB,MAAM;AAAA,IAC9B,eAAe,MAAM;AAAA,IACrB,0BAA0B,MAAM;AAAA,IAChC,WAAW,MAAM;AAAA,IACjB,sBAAsB,MAAM;AAAA,IAC5B,YAAY,MAAM;AAAA,IAClB,uBAAuB,MAAM;AAAA,IAC7B,iBAAiB,MAAM;AAAA,IACvB,4BAA4B,MAAM;AAAA,IAClC,YAAY,MAAM;AAAA,IAClB,WAAW,MAAM;AAAA,IACjB,UAAU,MAAM;AAAA,IAChB,aAAa,MAAM;AAAA,IACnB,wBAAwB,MAAM;AAAA,IAC9B,aAAa,MAAM;AAAA,IACnB,wBAAwB,MAAM;AAAA;AAAA;AAAA;AAAA,IAI9B,oBAAoB,MAAM,iBAAiB,MAAM;AAAA,IACjD,cAAc,MAAM,aAAa,OAAO,MAAM,IAAI;AAAA,IAClD,kBAAkB,OAAO,MAAM,UAAU;AAAA,IACzC,oBAAoB,OAAO,MAAM,mBAAmB;AAAA,IACpD,gBAAgB,OAAO,MAAM,eAAe;AAAA,IAC5C,iBAAiB,OAAO,MAAM,WAAW;AAAA,IACzC,kBAAkB,OAAO,MAAM,iBAAiB,MAAM,iBAAiB;AAAA,IACvE,oBAAoB,OAAO,MAAM,MAAM;AAAA,IACvC,mBAAmB,OAAO,MAAM,OAAO;AAAA,IACvC,iCAAiC,OAAO,MAAM,OAAO;AAAA,IACrD,iCAAiC,OAAO,MAAM,iBAAiB;AAAA,IAC/D,qBAAqB,MAAM;AAAA;AAAA;AAAA,IAG3B,iBAAiB,MAAM,cAAc,OAAO,MAAM,MAAM;AAAA,IACxD,eAAe,MAAM,YAAY,OAAO,MAAM,MAAM;AAAA,EACtD;AACF;","names":[]}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-DKHM4B4A.js";
|
|
8
8
|
import {
|
|
9
9
|
lightTheme
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VUXCM5ZO.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_INSERT_TEMPLATES,
|
|
13
13
|
collectGridTargets,
|
|
@@ -1937,4 +1937,4 @@ export {
|
|
|
1937
1937
|
Workspace,
|
|
1938
1938
|
DesignCanvasEditor
|
|
1939
1939
|
};
|
|
1940
|
-
//# sourceMappingURL=chunk-
|
|
1940
|
+
//# sourceMappingURL=chunk-XCBDWT5H.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OVERLAY_SHADOW
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HG4OONJA.js";
|
|
4
4
|
|
|
5
5
|
// src/web-react/action-dialog.tsx
|
|
6
6
|
import { useEffect } from "react";
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
ActionDialogButton,
|
|
76
76
|
ActionDialog
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-XEURJVS5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-6A7MYOUI.js";
|
|
5
5
|
import {
|
|
6
6
|
assertRenderUiSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D7WMRSX6.js";
|
|
8
8
|
import {
|
|
9
9
|
base64UrlDecodeText,
|
|
10
10
|
base64UrlEncodeText,
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
buildAppToolOpenAITools,
|
|
16
16
|
findCustomTool,
|
|
17
17
|
isAppToolName
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HS4Y6CGH.js";
|
|
19
19
|
import {
|
|
20
20
|
ToolInputError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HUPJOCBH.js";
|
|
22
22
|
|
|
23
23
|
// src/tools/capability.ts
|
|
24
24
|
async function createCapabilityToken(userId, opts) {
|
|
@@ -270,4 +270,4 @@ export {
|
|
|
270
270
|
createAppToolRuntimeExecutor,
|
|
271
271
|
handleAppToolRequest
|
|
272
272
|
};
|
|
273
|
-
//# sourceMappingURL=chunk-
|
|
273
|
+
//# sourceMappingURL=chunk-ZYK3A2FR.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
bakeTextTransform,
|
|
12
12
|
exportDocumentJson,
|
|
13
13
|
exportPageDataUrl
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-XCBDWT5H.js";
|
|
15
15
|
import {
|
|
16
16
|
BTN,
|
|
17
17
|
BTN_ACTIVE,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
formatRulerLabel,
|
|
42
42
|
selectTickStep
|
|
43
43
|
} from "../chunk-DKHM4B4A.js";
|
|
44
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-VUXCM5ZO.js";
|
|
45
45
|
import "../chunk-ZN5J47UX.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_INSERT_TEMPLATES,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
import {
|
|
93
93
|
DesignCanvasChromeLazy,
|
|
94
94
|
DesignCanvasLazy
|
|
95
|
-
} from "../chunk-
|
|
95
|
+
} from "../chunk-DWUSVC3U.js";
|
|
96
96
|
import "../chunk-YNSPVKMS.js";
|
|
97
97
|
import "../chunk-3NCPXNBZ.js";
|
|
98
98
|
import "../chunk-TXD5HXLE.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-L7MB2LLM.js";
|
|
11
11
|
import {
|
|
12
12
|
PopoverSurface
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HG4OONJA.js";
|
|
14
14
|
import "./chunk-MLG6XKPV.js";
|
|
15
15
|
import "./chunk-7YA4QNTU.js";
|
|
16
16
|
|
|
@@ -538,4 +538,4 @@ export {
|
|
|
538
538
|
loadMentionEditor,
|
|
539
539
|
loadTiptapModules
|
|
540
540
|
};
|
|
541
|
-
//# sourceMappingURL=mention-editor-
|
|
541
|
+
//# sourceMappingURL=mention-editor-5KXHSBDJ.js.map
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "../chunk-4ZJYNI53.js";
|
|
7
7
|
import {
|
|
8
8
|
assertRenderUiSchema
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-D7WMRSX6.js";
|
|
10
|
+
import "../chunk-HUPJOCBH.js";
|
|
11
11
|
|
|
12
12
|
// src/preset-cloudflare/workflow-instance.ts
|
|
13
13
|
async function ensureCloudflareWorkflowInstance(binding, input) {
|
package/dist/sandbox/index.js
CHANGED
|
@@ -103,13 +103,13 @@ import {
|
|
|
103
103
|
} from "../chunk-CJW24QMJ.js";
|
|
104
104
|
import "../chunk-MCYJON3F.js";
|
|
105
105
|
import "../chunk-LWSJK546.js";
|
|
106
|
-
import "../chunk-
|
|
106
|
+
import "../chunk-ZYK3A2FR.js";
|
|
107
107
|
import "../chunk-6A7MYOUI.js";
|
|
108
|
-
import "../chunk-
|
|
108
|
+
import "../chunk-D7WMRSX6.js";
|
|
109
109
|
import "../chunk-S5SRJJQG.js";
|
|
110
|
-
import "../chunk-
|
|
110
|
+
import "../chunk-HS4Y6CGH.js";
|
|
111
111
|
import "../chunk-UGWQLQDS.js";
|
|
112
|
-
import "../chunk-
|
|
112
|
+
import "../chunk-HUPJOCBH.js";
|
|
113
113
|
import "../chunk-D6UJEOZQ.js";
|
|
114
114
|
export {
|
|
115
115
|
DEFAULT_FOREGROUND_PROVISION_CLAIM_TTL_SECONDS,
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
} from "../chunk-PT7H37YH.js";
|
|
40
40
|
import {
|
|
41
41
|
useInfiniteScroll
|
|
42
|
-
} from "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
} from "../chunk-55JJKE7S.js";
|
|
43
|
+
import "../chunk-XEURJVS5.js";
|
|
44
44
|
import {
|
|
45
45
|
CheckGlyph,
|
|
46
46
|
ChevronDown,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
POPOVER_SURFACE_ATTR,
|
|
50
50
|
PopoverSurface,
|
|
51
51
|
usePopover
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-HG4OONJA.js";
|
|
53
53
|
import "../chunk-SJWIZT7B.js";
|
|
54
54
|
import {
|
|
55
55
|
ProviderLogo
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** GENERATED from @tangle-network/brand/styles/legacy-light.css
|
|
2
|
-
* SHA-256:
|
|
2
|
+
* SHA-256: cbb8fe7d4441db729bc299cdcecc165a519d0dfe29930b11ade7feb5070007f4
|
|
3
3
|
* Run node src/theme/build.mjs --write; do not edit colors or ratios here. */
|
|
4
4
|
export declare const brandThemes: {
|
|
5
5
|
readonly light: {
|
package/dist/theme/index.js
CHANGED
package/dist/theme/tokens.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@layer theme, base, components, utilities;
|
|
8
8
|
@layer theme{/* GENERATED by scripts/gen-compat.mjs. Do not edit.
|
|
9
9
|
* Source: tokens.css + named-themes.css
|
|
10
|
-
* SHA-256:
|
|
10
|
+
* SHA-256: 524da3dda08c6fb6130bde802f96d6b961561a900caa939c1eea43ec4495b48d
|
|
11
11
|
* Light-default compatibility; all explicit modes remain canonical.
|
|
12
12
|
*/
|
|
13
13
|
:where(:root),
|
|
@@ -295,6 +295,13 @@
|
|
|
295
295
|
--radius-cover: 20px;
|
|
296
296
|
--radius-sheet: 24px;
|
|
297
297
|
--control-height: 2.25rem;
|
|
298
|
+
--control-height-sm: 2rem;
|
|
299
|
+
--control-height-lg: 2.75rem;
|
|
300
|
+
--control-text-sm: 0.75rem;
|
|
301
|
+
--control-text-md: 0.875rem;
|
|
302
|
+
--control-text-lg: 1rem;
|
|
303
|
+
--font-size-label: 0.875rem;
|
|
304
|
+
--font-size-help: 0.75rem;
|
|
298
305
|
--panel-padding: 1rem;
|
|
299
306
|
--content-max-width: 80rem;
|
|
300
307
|
--font-size-xs: 0.6875rem;
|
|
@@ -779,6 +786,14 @@
|
|
|
779
786
|
--text-page: var(--font-size-3xl);
|
|
780
787
|
--text-section: var(--font-size-xl);
|
|
781
788
|
--text-eyebrow: var(--font-size-sm);
|
|
789
|
+
--text-control-sm: var(--control-text-sm);
|
|
790
|
+
--text-control-md: var(--control-text-md);
|
|
791
|
+
--text-control-lg: var(--control-text-lg);
|
|
792
|
+
--text-label: var(--font-size-label);
|
|
793
|
+
--text-help: var(--font-size-help);
|
|
794
|
+
--spacing-control-sm: var(--control-height-sm);
|
|
795
|
+
--spacing-control-md: var(--control-height);
|
|
796
|
+
--spacing-control-lg: var(--control-height-lg);
|
|
782
797
|
--color-scrim: var(--scrim);
|
|
783
798
|
--color-scrim-strong: var(--scrim-strong);
|
|
784
799
|
--color-on-media: var(--on-media);
|
|
@@ -1602,7 +1617,7 @@
|
|
|
1602
1617
|
}
|
|
1603
1618
|
}
|
|
1604
1619
|
@layer theme{/* GENERATED from @tangle-network/brand/styles/legacy-light.css
|
|
1605
|
-
* SHA-256:
|
|
1620
|
+
* SHA-256: cbb8fe7d4441db729bc299cdcecc165a519d0dfe29930b11ade7feb5070007f4
|
|
1606
1621
|
* Run node src/theme/build.mjs --write; do not edit colors or ratios here. */
|
|
1607
1622
|
:where(:root),
|
|
1608
1623
|
[data-sandbox-ui],
|
package/dist/tools/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
restrictTaxonomy,
|
|
10
10
|
verifyCapabilityToken,
|
|
11
11
|
verifyExpiringCapabilityToken
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ZYK3A2FR.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_APP_TOOL_PATHS,
|
|
15
15
|
DEFAULT_HEADER_NAMES,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
readToolArgs,
|
|
23
23
|
unresolvableSurfaceCredential
|
|
24
24
|
} from "../chunk-6A7MYOUI.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-D7WMRSX6.js";
|
|
26
26
|
import "../chunk-S5SRJJQG.js";
|
|
27
27
|
import {
|
|
28
28
|
APP_TOOL_NAMES,
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
defineAppTool,
|
|
32
32
|
findCustomTool,
|
|
33
33
|
isAppToolName
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-HS4Y6CGH.js";
|
|
35
35
|
import "../chunk-UGWQLQDS.js";
|
|
36
36
|
import {
|
|
37
37
|
ToolInputError
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-HUPJOCBH.js";
|
|
39
39
|
export {
|
|
40
40
|
APP_TOOL_NAMES,
|
|
41
41
|
DEFAULT_APP_TOOL_PATHS,
|
package/dist/web-react/index.js
CHANGED
|
@@ -135,14 +135,14 @@ import {
|
|
|
135
135
|
withoutRecordGridCreated,
|
|
136
136
|
withoutRecordGridRemoved,
|
|
137
137
|
withoutRecordGridUpdate
|
|
138
|
-
} from "../chunk-
|
|
138
|
+
} from "../chunk-GJRGCVDV.js";
|
|
139
139
|
import {
|
|
140
140
|
SessionHistoryPanel,
|
|
141
141
|
formatSessionTimestamp,
|
|
142
142
|
useInfiniteScroll,
|
|
143
143
|
useSessionActions,
|
|
144
144
|
useSessionHistory
|
|
145
|
-
} from "../chunk-
|
|
145
|
+
} from "../chunk-55JJKE7S.js";
|
|
146
146
|
import {
|
|
147
147
|
MENTION_PILL_CLASS
|
|
148
148
|
} from "../chunk-3HUFJ5LO.js";
|
|
@@ -181,14 +181,14 @@ import {
|
|
|
181
181
|
renamePastedImages,
|
|
182
182
|
useComposerAttachments,
|
|
183
183
|
useDictation
|
|
184
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-DECJLOS4.js";
|
|
185
185
|
import "../chunk-L7MB2LLM.js";
|
|
186
186
|
import {
|
|
187
187
|
WorkspaceInitial,
|
|
188
188
|
WorkspaceSwitcher
|
|
189
|
-
} from "../chunk-
|
|
190
|
-
import "../chunk-
|
|
191
|
-
import "../chunk-
|
|
189
|
+
} from "../chunk-KHCJKVQN.js";
|
|
190
|
+
import "../chunk-XEURJVS5.js";
|
|
191
|
+
import "../chunk-NJDQ2JCP.js";
|
|
192
192
|
import {
|
|
193
193
|
DEFAULT_EFFORT_LEVELS,
|
|
194
194
|
EFFORT_METER_SEGMENTS,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
reconcileEffortLevels,
|
|
206
206
|
usePending,
|
|
207
207
|
usePopover
|
|
208
|
-
} from "../chunk-
|
|
208
|
+
} from "../chunk-HG4OONJA.js";
|
|
209
209
|
import {
|
|
210
210
|
tabTerminalConnectionId,
|
|
211
211
|
useSandboxTerminalConnection
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
} from "../chunk-3NVVBQ2U.js";
|
|
17
17
|
import {
|
|
18
18
|
defineAppTool
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-HS4Y6CGH.js";
|
|
20
20
|
import "../chunk-UGWQLQDS.js";
|
|
21
21
|
import {
|
|
22
22
|
ToolInputError
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-HUPJOCBH.js";
|
|
24
24
|
import {
|
|
25
25
|
isWorkProductStatus,
|
|
26
26
|
parseAgentCheckInput,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkspaceInitial,
|
|
3
3
|
WorkspaceSwitcher
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-KHCJKVQN.js";
|
|
5
5
|
import {
|
|
6
6
|
ActionDialog,
|
|
7
7
|
ActionDialogButton
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-XEURJVS5.js";
|
|
9
9
|
import {
|
|
10
10
|
usePopoverDialog
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-NJDQ2JCP.js";
|
|
12
12
|
import {
|
|
13
13
|
CheckGlyph,
|
|
14
14
|
OVERLAY_SHADOW,
|
|
15
15
|
PopoverSurface,
|
|
16
16
|
usePopover
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-HG4OONJA.js";
|
|
18
18
|
import {
|
|
19
19
|
buildSessionNavItem,
|
|
20
20
|
composeSidebarSessions,
|
|
@@ -396,6 +396,7 @@ function CompanionTabList({ tabs, active, label }) {
|
|
|
396
396
|
|
|
397
397
|
// src/workspace-react/workspace-list.tsx
|
|
398
398
|
import { useId, useMemo, useState as useState3 } from "react";
|
|
399
|
+
import { PageHeader } from "@tangle-network/ui/primitives";
|
|
399
400
|
import { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
400
401
|
var SEARCH_THRESHOLD2 = 8;
|
|
401
402
|
var FIELD_CELL = "hidden w-32 min-w-0 shrink-0 md:block";
|
|
@@ -503,13 +504,16 @@ function WorkspaceList({
|
|
|
503
504
|
void run(() => rename(renaming, name), () => setRenaming(null));
|
|
504
505
|
};
|
|
505
506
|
return /* @__PURE__ */ jsxs3("section", { "aria-labelledby": headingId, className: "mx-auto w-full max-w-5xl px-4 py-6 sm:px-6 sm:py-8 lg:px-8", children: [
|
|
506
|
-
/* @__PURE__ */
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
507
|
+
/* @__PURE__ */ jsx3(
|
|
508
|
+
PageHeader,
|
|
509
|
+
{
|
|
510
|
+
className: "mb-0",
|
|
511
|
+
titleId: headingId,
|
|
512
|
+
title: title ?? capitalize2(noun.plural),
|
|
513
|
+
description,
|
|
514
|
+
actions: items.length > 0 ? createControl : null
|
|
515
|
+
}
|
|
516
|
+
),
|
|
513
517
|
children != null && /* @__PURE__ */ jsx3("div", { className: "mt-6", children }),
|
|
514
518
|
items.length === 0 ? /* @__PURE__ */ jsxs3("div", { className: "mt-6 flex flex-col items-center rounded-xl border border-dashed border-border px-6 py-14 text-center", children: [
|
|
515
519
|
/* @__PURE__ */ jsx3("span", { "aria-hidden": true, className: "flex h-10 w-10 items-center justify-center rounded-lg bg-primary/10 text-primary", children: /* @__PURE__ */ jsxs3("svg", { className: "h-5 w-5", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", children: [
|