@truefoundry/trueforge-ui 0.3.0-rc.8 → 0.3.0-rc.9

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{AgentCodeSnippets-T7PR6PDP.js → AgentCodeSnippets-ARHIK2T6.js} +2 -2
  3. package/dist/{AgentMetricChart-J3RCSCAG.js → AgentMetricChart-ZQIRBCZL.js} +3 -3
  4. package/dist/{AgentOverview-WC7WMNMS.js → AgentOverview-7GJJV2OU.js} +2 -2
  5. package/dist/{AgentSessionEventTimeline-SETKGGCI.js → AgentSessionEventTimeline-7QM7QKIQ.js} +2 -2
  6. package/dist/{AgentSessionEventTimelineChart-4Y7PY5SJ.js → AgentSessionEventTimelineChart-PIDYWLYT.js} +2 -2
  7. package/dist/{AgentSessions-YCAPM5GK.js → AgentSessions-MR2DREKN.js} +2 -2
  8. package/dist/{ConnectorSettings-PXWRCFAL.js → ConnectorSettings-YBGANZOG.js} +2 -2
  9. package/dist/{DockLayout-JRKCKAG2.js → DockLayout-O5TS4YZH.js} +5 -5
  10. package/dist/{DrawerLayout-U7YPUZBR.js → DrawerLayout-7R3XONK2.js} +6 -6
  11. package/dist/{ModelSettings-VXYMJEMO.js → ModelSettings-UXPL4E6X.js} +2 -2
  12. package/dist/{SandboxSettings-6DRUH72J.js → SandboxSettings-5MMPJHBH.js} +2 -2
  13. package/dist/{SchedulesPage-2G6F4XO6.js → SchedulesPage-5XZRDA5O.js} +3 -3
  14. package/dist/{SettingsBuilder-6FJVZLJT.js → SettingsBuilder-JAP4QGMY.js} +5 -5
  15. package/dist/{SidebarLayout-EQ7EYCWR.js → SidebarLayout-MYZTVWWE.js} +7 -7
  16. package/dist/{SkillSettings-IHVI7FDM.js → SkillSettings-6C5PH3NN.js} +2 -2
  17. package/dist/{TrueForgeUIWithRouter-5OJFI3PF.js → TrueForgeUIWithRouter-3J5G62O5.js} +3 -3
  18. package/dist/{WidgetLayout-PN5ZDOLM.js → WidgetLayout-24ZL3QWT.js} +5 -5
  19. package/dist/{chunk-XANC4F2H.js → chunk-4OEAJKLJ.js} +91 -67
  20. package/dist/chunk-4OEAJKLJ.js.map +1 -0
  21. package/dist/{chunk-L7HNKKS2.js → chunk-FEHL45EB.js} +2 -2
  22. package/dist/{chunk-2UBSLCKB.js → chunk-JF4IELMW.js} +6 -6
  23. package/dist/{chunk-TMIILLHB.js → chunk-JKUYG6HV.js} +2 -2
  24. package/dist/{chunk-PX6MNNN3.js → chunk-JTQU2N2Q.js} +2 -2
  25. package/dist/{chunk-F7YRYFAF.js → chunk-MACHU4OO.js} +2 -2
  26. package/dist/{chunk-OWXPMQ7N.js → chunk-RI6TIYWL.js} +6 -6
  27. package/dist/{chunk-E33DFTVN.js → chunk-UBQYRCCH.js} +2 -2
  28. package/dist/index.d.ts +9 -3
  29. package/dist/index.js +7 -7
  30. package/package.json +3 -3
  31. package/dist/chunk-XANC4F2H.js.map +0 -1
  32. /package/dist/{AgentCodeSnippets-T7PR6PDP.js.map → AgentCodeSnippets-ARHIK2T6.js.map} +0 -0
  33. /package/dist/{AgentMetricChart-J3RCSCAG.js.map → AgentMetricChart-ZQIRBCZL.js.map} +0 -0
  34. /package/dist/{AgentOverview-WC7WMNMS.js.map → AgentOverview-7GJJV2OU.js.map} +0 -0
  35. /package/dist/{AgentSessionEventTimeline-SETKGGCI.js.map → AgentSessionEventTimeline-7QM7QKIQ.js.map} +0 -0
  36. /package/dist/{AgentSessionEventTimelineChart-4Y7PY5SJ.js.map → AgentSessionEventTimelineChart-PIDYWLYT.js.map} +0 -0
  37. /package/dist/{AgentSessions-YCAPM5GK.js.map → AgentSessions-MR2DREKN.js.map} +0 -0
  38. /package/dist/{ConnectorSettings-PXWRCFAL.js.map → ConnectorSettings-YBGANZOG.js.map} +0 -0
  39. /package/dist/{DockLayout-JRKCKAG2.js.map → DockLayout-O5TS4YZH.js.map} +0 -0
  40. /package/dist/{DrawerLayout-U7YPUZBR.js.map → DrawerLayout-7R3XONK2.js.map} +0 -0
  41. /package/dist/{ModelSettings-VXYMJEMO.js.map → ModelSettings-UXPL4E6X.js.map} +0 -0
  42. /package/dist/{SandboxSettings-6DRUH72J.js.map → SandboxSettings-5MMPJHBH.js.map} +0 -0
  43. /package/dist/{SchedulesPage-2G6F4XO6.js.map → SchedulesPage-5XZRDA5O.js.map} +0 -0
  44. /package/dist/{SettingsBuilder-6FJVZLJT.js.map → SettingsBuilder-JAP4QGMY.js.map} +0 -0
  45. /package/dist/{SidebarLayout-EQ7EYCWR.js.map → SidebarLayout-MYZTVWWE.js.map} +0 -0
  46. /package/dist/{SkillSettings-IHVI7FDM.js.map → SkillSettings-6C5PH3NN.js.map} +0 -0
  47. /package/dist/{TrueForgeUIWithRouter-5OJFI3PF.js.map → TrueForgeUIWithRouter-3J5G62O5.js.map} +0 -0
  48. /package/dist/{WidgetLayout-PN5ZDOLM.js.map → WidgetLayout-24ZL3QWT.js.map} +0 -0
  49. /package/dist/{chunk-L7HNKKS2.js.map → chunk-FEHL45EB.js.map} +0 -0
  50. /package/dist/{chunk-2UBSLCKB.js.map → chunk-JF4IELMW.js.map} +0 -0
  51. /package/dist/{chunk-TMIILLHB.js.map → chunk-JKUYG6HV.js.map} +0 -0
  52. /package/dist/{chunk-PX6MNNN3.js.map → chunk-JTQU2N2Q.js.map} +0 -0
  53. /package/dist/{chunk-F7YRYFAF.js.map → chunk-MACHU4OO.js.map} +0 -0
  54. /package/dist/{chunk-OWXPMQ7N.js.map → chunk-RI6TIYWL.js.map} +0 -0
  55. /package/dist/{chunk-E33DFTVN.js.map → chunk-UBQYRCCH.js.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  formatCostUsd,
3
3
  formatDurationMs,
4
4
  useThemeMode
5
- } from "./chunk-XANC4F2H.js";
5
+ } from "./chunk-4OEAJKLJ.js";
6
6
 
7
7
  // src/atoms/agent-details/AgentMetricChart.tsx
8
8
  import {
@@ -118,4 +118,4 @@ function AgentMetricChart({ graph, definition, error, colorIndex = 0 }) {
118
118
  export {
119
119
  AgentMetricChart
120
120
  };
121
- //# sourceMappingURL=chunk-L7HNKKS2.js.map
121
+ //# sourceMappingURL=chunk-FEHL45EB.js.map
@@ -2,13 +2,13 @@ import {
2
2
  AgentConfigDrawerContainer,
3
3
  NamedAgentHeaderLabel,
4
4
  ShellActions
5
- } from "./chunk-PX6MNNN3.js";
5
+ } from "./chunk-JTQU2N2Q.js";
6
6
  import {
7
7
  Thread
8
- } from "./chunk-F7YRYFAF.js";
8
+ } from "./chunk-MACHU4OO.js";
9
9
  import {
10
10
  useSlot
11
- } from "./chunk-XANC4F2H.js";
11
+ } from "./chunk-4OEAJKLJ.js";
12
12
  import {
13
13
  Icon,
14
14
  PageHeader,
@@ -28,9 +28,9 @@ import {
28
28
  // src/layouts/StackChatPanel.tsx
29
29
  import { lazy, Suspense, useEffect } from "react";
30
30
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
31
- var TruefoundrySettingsBuilder = lazy(() => import("./SettingsBuilder-6FJVZLJT.js"));
31
+ var TruefoundrySettingsBuilder = lazy(() => import("./SettingsBuilder-JAP4QGMY.js"));
32
32
  var SchedulesPage = lazy(
33
- () => import("./SchedulesPage-2G6F4XO6.js").then((m) => ({ default: m.SchedulesPage }))
33
+ () => import("./SchedulesPage-5XZRDA5O.js").then((m) => ({ default: m.SchedulesPage }))
34
34
  );
35
35
  function StackChatPanel({ className, threadHeaderEnd }) {
36
36
  const aui = useAui();
@@ -181,4 +181,4 @@ function StackChatPanel({ className, threadHeaderEnd }) {
181
181
  export {
182
182
  StackChatPanel
183
183
  };
184
- //# sourceMappingURL=chunk-2UBSLCKB.js.map
184
+ //# sourceMappingURL=chunk-JF4IELMW.js.map
@@ -33,7 +33,7 @@ import {
33
33
  useResourcePermissions,
34
34
  useSlot,
35
35
  useToasterOptional
36
- } from "./chunk-XANC4F2H.js";
36
+ } from "./chunk-4OEAJKLJ.js";
37
37
  import {
38
38
  findLibraryAgent,
39
39
  readScheduleShareSearch,
@@ -1626,4 +1626,4 @@ export {
1626
1626
  ScheduleLastRunsCell,
1627
1627
  SchedulesPage
1628
1628
  };
1629
- //# sourceMappingURL=chunk-TMIILLHB.js.map
1629
+ //# sourceMappingURL=chunk-JKUYG6HV.js.map
@@ -5,7 +5,7 @@ import {
5
5
  useResourcePermissions,
6
6
  useSlot,
7
7
  withInitialUserMessages
8
- } from "./chunk-XANC4F2H.js";
8
+ } from "./chunk-4OEAJKLJ.js";
9
9
  import {
10
10
  Icon,
11
11
  auiButtonClass,
@@ -293,4 +293,4 @@ export {
293
293
  ShellActions,
294
294
  AgentConfigDrawerContainer
295
295
  };
296
- //# sourceMappingURL=chunk-PX6MNNN3.js.map
296
+ //# sourceMappingURL=chunk-JTQU2N2Q.js.map
@@ -19,7 +19,7 @@ import {
19
19
  useOptionalApprovalFocus,
20
20
  useSlot,
21
21
  useSlotIsDefault
22
- } from "./chunk-XANC4F2H.js";
22
+ } from "./chunk-4OEAJKLJ.js";
23
23
  import {
24
24
  DraftCatalogProvider,
25
25
  useDraftCatalog
@@ -679,4 +679,4 @@ export {
679
679
  ThreadContainer,
680
680
  Thread
681
681
  };
682
- //# sourceMappingURL=chunk-F7YRYFAF.js.map
682
+ //# sourceMappingURL=chunk-MACHU4OO.js.map
@@ -23,7 +23,7 @@ import {
23
23
  mountName,
24
24
  useThemeMode,
25
25
  useToaster
26
- } from "./chunk-XANC4F2H.js";
26
+ } from "./chunk-4OEAJKLJ.js";
27
27
  import {
28
28
  DraftCatalogProvider,
29
29
  useDraftCatalog
@@ -489,10 +489,10 @@ function useResolvedServer(config, onError) {
489
489
 
490
490
  // src/containers/TrueForgeUIShell.tsx
491
491
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
492
- var SidebarLayout = lazy(() => import("./SidebarLayout-EQ7EYCWR.js").then((m) => ({ default: m.SidebarLayout })));
493
- var DrawerLayout = lazy(() => import("./DrawerLayout-U7YPUZBR.js").then((m) => ({ default: m.DrawerLayout })));
494
- var DockLayout = lazy(() => import("./DockLayout-JRKCKAG2.js").then((m) => ({ default: m.DockLayout })));
495
- var WidgetLayout = lazy(() => import("./WidgetLayout-PN5ZDOLM.js").then((m) => ({ default: m.WidgetLayout })));
492
+ var SidebarLayout = lazy(() => import("./SidebarLayout-MYZTVWWE.js").then((m) => ({ default: m.SidebarLayout })));
493
+ var DrawerLayout = lazy(() => import("./DrawerLayout-7R3XONK2.js").then((m) => ({ default: m.DrawerLayout })));
494
+ var DockLayout = lazy(() => import("./DockLayout-O5TS4YZH.js").then((m) => ({ default: m.DockLayout })));
495
+ var WidgetLayout = lazy(() => import("./WidgetLayout-24ZL3QWT.js").then((m) => ({ default: m.WidgetLayout })));
496
496
  var ShellRouteSync = lazy(() => import("./ShellRouteSync-SJXFKUAJ.js").then((m) => ({ default: m.ShellRouteSync })));
497
497
  function LayoutFallback({ className }) {
498
498
  return /* @__PURE__ */ jsx2(
@@ -712,4 +712,4 @@ export {
712
712
  ServerInitLoader,
713
713
  TrueForgeUIShell
714
714
  };
715
- //# sourceMappingURL=chunk-OWXPMQ7N.js.map
715
+ //# sourceMappingURL=chunk-RI6TIYWL.js.map
@@ -10,7 +10,7 @@ import {
10
10
  useIsMobile,
11
11
  useResourcePermissions,
12
12
  useSlot
13
- } from "./chunk-XANC4F2H.js";
13
+ } from "./chunk-4OEAJKLJ.js";
14
14
  import {
15
15
  useSearchAgentsList
16
16
  } from "./chunk-T6QQV5LK.js";
@@ -514,4 +514,4 @@ function ThreadListContainer({ onThreadOpen, variant = "default" } = {}) {
514
514
  export {
515
515
  ThreadListContainer
516
516
  };
517
- //# sourceMappingURL=chunk-E33DFTVN.js.map
517
+ //# sourceMappingURL=chunk-UBQYRCCH.js.map
package/dist/index.d.ts CHANGED
@@ -850,8 +850,10 @@ type ChatFileDownloadProps = {
850
850
  fileDownloadBaseUrl?: string;
851
851
  onDownloadArtifact?: (path: string, filename: string) => Promise<void>;
852
852
  readOnly?: boolean;
853
+ /** Shown on hover when `readOnly` is true. */
854
+ readOnlyTooltip?: string;
853
855
  };
854
- declare function ChatFileDownload({ files, fileDownloadBaseUrl, onDownloadArtifact, readOnly }: ChatFileDownloadProps): react.JSX.Element;
856
+ declare function ChatFileDownload({ files, fileDownloadBaseUrl, onDownloadArtifact, readOnly, readOnlyTooltip, }: ChatFileDownloadProps): react.JSX.Element;
855
857
  declare module '../theme/SlotsProvider.js' {
856
858
  interface AtomSlots {
857
859
  ChatFileDownload: typeof ChatFileDownload;
@@ -1334,9 +1336,11 @@ type MarkdownProps = {
1334
1336
  onDownloadArtifact?: (path: string, filename: string) => Promise<void>;
1335
1337
  /** When true, download actions in sandbox artifact blocks are hidden/disabled. */
1336
1338
  readOnly?: boolean;
1339
+ /** Shown on hover over sandbox artifact filenames when `readOnly` is true. */
1340
+ sandboxDownloadReadOnlyTooltip?: string;
1337
1341
  className?: string;
1338
1342
  };
1339
- declare function Markdown({ content, isStreaming, fileDownloadBaseUrl, onDownloadArtifact, readOnly, className, }: MarkdownProps): react.JSX.Element;
1343
+ declare function Markdown({ content, isStreaming, fileDownloadBaseUrl, onDownloadArtifact, readOnly, sandboxDownloadReadOnlyTooltip, className, }: MarkdownProps): react.JSX.Element;
1340
1344
  declare module '../theme/SlotsProvider.js' {
1341
1345
  interface AtomSlots {
1342
1346
  Markdown: typeof Markdown;
@@ -1419,8 +1423,10 @@ type SandboxArtifactDownloadProps = {
1419
1423
  fileDownloadBaseUrl?: string;
1420
1424
  onDownloadArtifact?: (path: string, filename: string) => Promise<void>;
1421
1425
  readOnly?: boolean;
1426
+ /** Shown on hover when `readOnly` is true. */
1427
+ sandboxDownloadReadOnlyTooltip?: string;
1422
1428
  };
1423
- declare function SandboxArtifactDownload({ code, fileDownloadBaseUrl, onDownloadArtifact, readOnly, }: SandboxArtifactDownloadProps): react.JSX.Element | null;
1429
+ declare function SandboxArtifactDownload({ code, fileDownloadBaseUrl, onDownloadArtifact, readOnly, sandboxDownloadReadOnlyTooltip, }: SandboxArtifactDownloadProps): react.JSX.Element | null;
1424
1430
  declare module '../theme/SlotsProvider.js' {
1425
1431
  interface AtomSlots {
1426
1432
  SandboxArtifactDownload: typeof SandboxArtifactDownload;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  ThreadListContainer
4
- } from "./chunk-E33DFTVN.js";
4
+ } from "./chunk-UBQYRCCH.js";
5
5
  import {
6
6
  ApprovalNavContainer,
7
7
  AskUserContainer,
@@ -16,12 +16,12 @@ import {
16
16
  threadHasPendingMcpAuth,
17
17
  useApprovalNav,
18
18
  useComposerPauseView
19
- } from "./chunk-F7YRYFAF.js";
19
+ } from "./chunk-MACHU4OO.js";
20
20
  import {
21
21
  ServerInitLoader,
22
22
  TrueForgeUIShell,
23
23
  TrueFoundryChatProvider
24
- } from "./chunk-OWXPMQ7N.js";
24
+ } from "./chunk-RI6TIYWL.js";
25
25
  import "./chunk-DJUFS2BW.js";
26
26
  import {
27
27
  ComposerBusyProvider,
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-BSIPI3KV.js";
32
32
  import {
33
33
  AgentMetricChart
34
- } from "./chunk-L7HNKKS2.js";
34
+ } from "./chunk-FEHL45EB.js";
35
35
  import {
36
36
  createTrueFoundryServer
37
37
  } from "./chunk-7AAO4UDQ.js";
@@ -50,7 +50,7 @@ import {
50
50
  ScheduleStatusBadge,
51
51
  SchedulesPage,
52
52
  TestScheduleScreen
53
- } from "./chunk-TMIILLHB.js";
53
+ } from "./chunk-JKUYG6HV.js";
54
54
  import {
55
55
  AgentCodeBlock,
56
56
  AgentConfigEditors,
@@ -192,7 +192,7 @@ import {
192
192
  useThemeMode,
193
193
  useToaster,
194
194
  useToasterOptional
195
- } from "./chunk-XANC4F2H.js";
195
+ } from "./chunk-4OEAJKLJ.js";
196
196
  import "./chunk-T6QQV5LK.js";
197
197
  import {
198
198
  DraftCatalogProvider,
@@ -440,7 +440,7 @@ function ToolGroupContainer({ children, group }) {
440
440
  import { lazy, Suspense } from "react";
441
441
  import { jsx as jsx12 } from "react/jsx-runtime";
442
442
  var TrueForgeUIWithRouter = lazy(
443
- () => import("./TrueForgeUIWithRouter-5OJFI3PF.js").then((m) => ({ default: m.TrueForgeUIWithRouter }))
443
+ () => import("./TrueForgeUIWithRouter-3J5G62O5.js").then((m) => ({ default: m.TrueForgeUIWithRouter }))
444
444
  );
445
445
  function TrueForgeUI(props) {
446
446
  const isMcpAuthScreen = typeof window !== "undefined" && new URLSearchParams(window.location.search).get("screenType") === "mcp-auth";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truefoundry/trueforge-ui",
3
- "version": "0.3.0-rc.8",
3
+ "version": "0.3.0-rc.9",
4
4
  "description": "TrueForge Agent Chat UI (atoms + containers) built on assistant-ui, with owned theming, presets, and swappable slots.",
5
5
  "author": "TrueFoundry",
6
6
  "license": "MIT",
@@ -80,7 +80,7 @@
80
80
  "@openuidev/react-headless": "^0.9.4",
81
81
  "@openuidev/react-lang": "^0.2.9",
82
82
  "@openuidev/react-ui": "^0.13.2",
83
- "@truefoundry/assistant-ui-runtime": "0.1.37",
83
+ "@truefoundry/assistant-ui-runtime": "0.1.38",
84
84
  "chart.js": "^4.5.1",
85
85
  "clsx": "^2.1.1",
86
86
  "lucide-react": "^0.562.0",
@@ -96,7 +96,7 @@
96
96
  "thinking-orbs": "^0.3.1",
97
97
  "truefoundry-gateway-sdk": "^0.4.2",
98
98
  "zod": "^4.4.3",
99
- "@truefoundry/trueforge-sdk": "0.2.0-rc.7"
99
+ "@truefoundry/trueforge-sdk": "0.2.0-rc.8"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@eslint/js": "^9.39.0",