@tangle-network/agent-app 1.0.14 → 1.0.16

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.
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createChatTurnRoutes,
3
3
  streamChatRouteAsSandboxEvents
4
- } from "../chunk-SSH4OQ33.js";
4
+ } from "../chunk-NC4K5QWP.js";
5
5
  import "../chunk-SBHFMDR7.js";
6
6
  import "../chunk-H6BRJU5M.js";
7
7
  import "../chunk-4DBHC63F.js";
8
8
  import "../chunk-RN4WPTBH.js";
9
9
  import "../chunk-MM6RLOXF.js";
10
- import "../chunk-3HRU245P.js";
10
+ import "../chunk-OZWHBH4T.js";
11
11
  import "../chunk-F4TUZYMX.js";
12
12
  import "../chunk-MH74DY2I.js";
13
13
  import "../chunk-YHA6W3OW.js";
@@ -112,7 +112,7 @@ import {
112
112
  warmKey,
113
113
  warmReceiptId,
114
114
  warmWeekdayOf
115
- } from "../chunk-3HRU245P.js";
115
+ } from "../chunk-OZWHBH4T.js";
116
116
  import {
117
117
  createWarmCache
118
118
  } from "../chunk-F4TUZYMX.js";
@@ -1,10 +1,6 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  import { type LinksFunction } from 'react-router';
3
- /**
4
- * The shared `useTheme` hook toggles only `.dark` on <html>. This mirrors every
5
- * such flip onto the `.light` class and the color-scheme/theme-color metas, and
6
- * tracks OS appearance changes while the preference is System.
7
- */
3
+ /** The shared `useTheme` hook toggles only `.dark` on <html>. */
8
4
  export declare function ThemeClassSync(): null;
9
5
  export interface AppDocumentProps {
10
6
  children: ReactNode;
@@ -33,9 +29,5 @@ export declare function describeRouteError(error: unknown): {
33
29
  message: string;
34
30
  stack?: string;
35
31
  };
36
- /**
37
- * Wrap `window.fetch` for the page's lifetime so `onResponse` sees every
38
- * response. Read a body from `response.clone()`; the caller still gets the
39
- * original untouched. Install from an effect and call the result to restore.
40
- */
32
+ /** Wrap `window.fetch` for the page's lifetime so `onResponse` sees every response. Read a body from `response.clone()`. */
41
33
  export declare function installFetchResponseObserver(onResponse: (response: Response, args: Parameters<typeof fetch>) => void | Promise<void>): () => void;
@@ -45,7 +45,8 @@ function AppDocument({ children, defaultTheme, bodyClassName, htmlAttributes, be
45
45
  /* @__PURE__ */ jsx("meta", { name: "theme-color", content: defaultTheme === "dark" ? DARK_THEME_COLOR : LIGHT_THEME_COLOR }),
46
46
  /* @__PURE__ */ jsx("meta", { name: "color-scheme", content: defaultTheme }),
47
47
  /* @__PURE__ */ jsx(Meta, {}),
48
- /* @__PURE__ */ jsx(Links, {})
48
+ /* @__PURE__ */ jsx(Links, {}),
49
+ /* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: APPLY_DEFERRED_FONTS } })
49
50
  ] }),
50
51
  /* @__PURE__ */ jsxs("body", { className: bodyClassName, children: [
51
52
  /* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: THEME_BOOTSTRAP_SCRIPT } }),
@@ -63,6 +64,10 @@ function svgFaviconHref(shapes) {
63
64
  `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><style>path{stroke:${themeColor(lightTheme.foreground)}}@media (prefers-color-scheme: dark){path{stroke:${themeColor(darkTheme.foreground)}}}</style>` + shapes + "</svg>"
64
65
  );
65
66
  }
67
+ var APPLY_DEFERRED_FONTS = `(function(){for(const l of document.querySelectorAll('link[rel="stylesheet"][media="print"][href*="fonts.googleapis.com"]')){const apply=()=>{l.media="all"};l.addEventListener("load",apply);if(l.sheet)apply()}})()`;
68
+ function deferredFont(href) {
69
+ return { rel: "stylesheet", href, media: "print" };
70
+ }
66
71
  function appDocumentLinks(options) {
67
72
  return [
68
73
  { rel: "icon", href: options.favicon, type: "image/svg+xml" },
@@ -70,8 +75,8 @@ function appDocumentLinks(options) {
70
75
  { rel: "preconnect", href: "https://fonts.googleapis.com" },
71
76
  { rel: "dns-prefetch", href: "https://fonts.googleapis.com" },
72
77
  { rel: "preconnect", href: "https://fonts.gstatic.com", crossOrigin: "anonymous" },
73
- { rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap" },
74
- ...(options.extraStylesheets ?? []).map((href) => ({ rel: "stylesheet", href }))
78
+ deferredFont("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap"),
79
+ ...(options.extraStylesheets ?? []).map((href) => href.includes("fonts.googleapis.com") ? deferredFont(href) : { rel: "stylesheet", href })
75
80
  ];
76
81
  }
77
82
  function describeRouteError(error) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/web-react/document.tsx"],"sourcesContent":["import { useEffect, type HTMLAttributes, type ReactNode } from 'react'\nimport { Links, Meta, Scripts, ScrollRestoration, isRouteErrorResponse, type LinksFunction } from 'react-router'\nimport {\n applyThemeDom,\n DARK_THEME_COLOR,\n LIGHT_THEME_COLOR,\n shouldFollowSystemTheme,\n THEME_BOOTSTRAP_SCRIPT,\n} from '../theme/dom'\nimport { darkTheme, lightTheme, themeColor } from '../theme/theme'\n\n/**\n * The shared `useTheme` hook toggles only `.dark` on <html>. This mirrors every\n * such flip onto the `.light` class and the color-scheme/theme-color metas, and\n * tracks OS appearance changes while the preference is System.\n */\nexport function ThemeClassSync() {\n useEffect(() => {\n const root = document.documentElement\n const sync = () => {\n applyThemeDom(root.classList.contains('dark'))\n }\n const syncSystemTheme = () => {\n if (!shouldFollowSystemTheme()) return\n applyThemeDom(window.matchMedia('(prefers-color-scheme: dark)').matches)\n }\n sync()\n const observer = new MutationObserver(sync)\n observer.observe(root, { attributes: true, attributeFilter: ['class'] })\n const media = window.matchMedia('(prefers-color-scheme: dark)')\n media.addEventListener('change', syncSystemTheme)\n return () => {\n observer.disconnect()\n media.removeEventListener('change', syncSystemTheme)\n }\n }, [])\n return null\n}\n\nexport interface AppDocumentProps {\n children: ReactNode\n /** Theme the server renders before the bootstrap script runs. */\n defaultTheme: 'light' | 'dark'\n bodyClassName?: string\n /** Extra attributes on <html>, such as `data-density`. */\n htmlAttributes?: HTMLAttributes<HTMLHtmlElement> & Record<`data-${string}`, string>\n /** Rendered first in the body, after the theme script (a skip link). */\n before?: ReactNode\n /** Rendered after the route content (a toaster). */\n after?: ReactNode\n}\n\n/** The root route's `Layout`: document shell, theme bootstrap, scroll restoration and scripts. */\nexport function AppDocument({ children, defaultTheme, bodyClassName, htmlAttributes, before, after }: AppDocumentProps) {\n return (\n <html lang=\"en\" suppressHydrationWarning className={defaultTheme} data-sandbox-ui {...htmlAttributes}>\n <head>\n <meta charSet=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <meta name=\"theme-color\" content={defaultTheme === 'dark' ? DARK_THEME_COLOR : LIGHT_THEME_COLOR} />\n <meta name=\"color-scheme\" content={defaultTheme} />\n <Meta />\n <Links />\n </head>\n <body className={bodyClassName}>\n <script dangerouslySetInnerHTML={{ __html: THEME_BOOTSTRAP_SCRIPT }} />\n {before}\n <ThemeClassSync />\n {children}\n {after}\n <ScrollRestoration />\n <Scripts />\n </body>\n </html>\n )\n}\n\n/** A data-URI SVG favicon whose strokes follow the Brand foreground in light and dark. `shapes` is the SVG `<path>` markup. */\nexport function svgFaviconHref(shapes: string): string {\n return 'data:image/svg+xml;utf8,' + encodeURIComponent(\n '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">'\n + `<style>path{stroke:${themeColor(lightTheme.foreground)}}@media (prefers-color-scheme: dark){path{stroke:${themeColor(darkTheme.foreground)}}}</style>`\n + shapes\n + '</svg>',\n )\n}\n\n/** The root route's `links`: favicon, the app stylesheet, Inter, and any extra font stylesheets. */\nexport function appDocumentLinks(options: { stylesheet: string; favicon: string; extraStylesheets?: readonly string[] }): ReturnType<LinksFunction> {\n return [\n { rel: 'icon', href: options.favicon, type: 'image/svg+xml' },\n { rel: 'stylesheet', href: options.stylesheet },\n { rel: 'preconnect', href: 'https://fonts.googleapis.com' },\n { rel: 'dns-prefetch', href: 'https://fonts.googleapis.com' },\n { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: 'anonymous' },\n { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap' },\n ...(options.extraStylesheets ?? []).map((href) => ({ rel: 'stylesheet', href })),\n ]\n}\n\n/** The message and, outside a route response, the stack a root error screen shows. */\nexport function describeRouteError(error: unknown): { message: string; stack?: string } {\n if (isRouteErrorResponse(error)) {\n return { message: error.status === 404 ? 'Page not found' : error.statusText || 'An unexpected error occurred' }\n }\n if (error instanceof Error) return { message: error.message, stack: error.stack }\n return { message: 'An unexpected error occurred' }\n}\n\n/**\n * Wrap `window.fetch` for the page's lifetime so `onResponse` sees every\n * response. Read a body from `response.clone()`; the caller still gets the\n * original untouched. Install from an effect and call the result to restore.\n */\nexport function installFetchResponseObserver(onResponse: (response: Response, args: Parameters<typeof fetch>) => void | Promise<void>): () => void {\n const original = window.fetch\n window.fetch = async (...args) => {\n const response = await original(...args)\n await onResponse(response, args)\n return response\n }\n return () => {\n window.fetch = original\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,iBAAsD;AAC/D,SAAS,OAAO,MAAM,SAAS,mBAAmB,4BAAgD;AAuD5F,SACE,KADF;AAxCC,SAAS,iBAAiB;AAC/B,YAAU,MAAM;AACd,UAAM,OAAO,SAAS;AACtB,UAAM,OAAO,MAAM;AACjB,oBAAc,KAAK,UAAU,SAAS,MAAM,CAAC;AAAA,IAC/C;AACA,UAAM,kBAAkB,MAAM;AAC5B,UAAI,CAAC,wBAAwB,EAAG;AAChC,oBAAc,OAAO,WAAW,8BAA8B,EAAE,OAAO;AAAA,IACzE;AACA,SAAK;AACL,UAAM,WAAW,IAAI,iBAAiB,IAAI;AAC1C,aAAS,QAAQ,MAAM,EAAE,YAAY,MAAM,iBAAiB,CAAC,OAA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AAM,+BAA+B;AAAA,IAC1D,EAAE,KAAK,gBAAgB,MAAM,+BAA+B;AAAA,IAC5D,EAAE,KAAK,cAAc,MAAM,6BAA6B,aAAa,YAAY;AAAA,IACjF,EAAE,KAAK,cAAc,MAAM,4EAA4E;AAAA,IACvG,IAAI,QAAQ,oBAAoB,CAAC,GAAG,IAAI,CAAC,UAAU,EAAE,KAAK,cAAc,KAAK,EAAE;AAAA,EACjF;AACF;AAGO,SAAS,mBAAmB,OAAqD;AACtF,MAAI,qBAAqB,KAAK,GAAG;AAC/B,WAAO,EAAE,SAAS,MAAM,WAAW,MAAM,mBAAmB,MAAM,cAAc,+BAA+B;AAAA,EACjH;AACA,MAAI,iBAAiB,MAAO,QAAO,EAAE,SAAS,MAAM,SAAS,OAAO,MAAM,MAAM;AAChF,SAAO,EAAE,SAAS,+BAA+B;AACnD;AAOO,SAAS,6BAA6B,YAAsG;AACjJ,QAAM,WAAW,OAAO;AACxB,SAAO,QAAQ,UAAU,SAAS;AAChC,UAAM,WAAW,MAAM,SAAS,GAAG,IAAI;AACvC,UAAM,WAAW,UAAU,IAAI;AAC/B,WAAO;AAAA,EACT;AACA,SAAO,MAAM;AACX,WAAO,QAAQ;AAAA,EACjB;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/web-react/document.tsx"],"sourcesContent":["import { useEffect, type HTMLAttributes, type ReactNode } from 'react'\nimport { Links, Meta, Scripts, ScrollRestoration, isRouteErrorResponse, type LinksFunction } from 'react-router'\nimport {\n applyThemeDom,\n DARK_THEME_COLOR,\n LIGHT_THEME_COLOR,\n shouldFollowSystemTheme,\n THEME_BOOTSTRAP_SCRIPT,\n} from '../theme/dom'\nimport { darkTheme, lightTheme, themeColor } from '../theme/theme'\n\n/** The shared `useTheme` hook toggles only `.dark` on <html>. */\nexport function ThemeClassSync() {\n useEffect(() => {\n const root = document.documentElement\n const sync = () => {\n applyThemeDom(root.classList.contains('dark'))\n }\n const syncSystemTheme = () => {\n if (!shouldFollowSystemTheme()) return\n applyThemeDom(window.matchMedia('(prefers-color-scheme: dark)').matches)\n }\n sync()\n const observer = new MutationObserver(sync)\n observer.observe(root, { attributes: true, attributeFilter: ['class'] })\n const media = window.matchMedia('(prefers-color-scheme: dark)')\n media.addEventListener('change', syncSystemTheme)\n return () => {\n observer.disconnect()\n media.removeEventListener('change', syncSystemTheme)\n }\n }, [])\n return null\n}\n\nexport interface AppDocumentProps {\n children: ReactNode\n /** Theme the server renders before the bootstrap script runs. */\n defaultTheme: 'light' | 'dark'\n bodyClassName?: string\n /** Extra attributes on <html>, such as `data-density`. */\n htmlAttributes?: HTMLAttributes<HTMLHtmlElement> & Record<`data-${string}`, string>\n /** Rendered first in the body, after the theme script (a skip link). */\n before?: ReactNode\n /** Rendered after the route content (a toaster). */\n after?: ReactNode\n}\n\n/** The root route's `Layout`: document shell, theme bootstrap, scroll restoration and scripts. */\nexport function AppDocument({ children, defaultTheme, bodyClassName, htmlAttributes, before, after }: AppDocumentProps) {\n return (\n <html lang=\"en\" suppressHydrationWarning className={defaultTheme} data-sandbox-ui {...htmlAttributes}>\n <head>\n <meta charSet=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <meta name=\"theme-color\" content={defaultTheme === 'dark' ? DARK_THEME_COLOR : LIGHT_THEME_COLOR} />\n <meta name=\"color-scheme\" content={defaultTheme} />\n <Meta />\n <Links />\n <script dangerouslySetInnerHTML={{ __html: APPLY_DEFERRED_FONTS }} />\n </head>\n <body className={bodyClassName}>\n <script dangerouslySetInnerHTML={{ __html: THEME_BOOTSTRAP_SCRIPT }} />\n {before}\n <ThemeClassSync />\n {children}\n {after}\n <ScrollRestoration />\n <Scripts />\n </body>\n </html>\n )\n}\n\n/** A data-URI SVG favicon whose strokes follow the Brand foreground in light and dark. `shapes` is the SVG `<path>` markup. */\nexport function svgFaviconHref(shapes: string): string {\n return 'data:image/svg+xml;utf8,' + encodeURIComponent(\n '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">'\n + `<style>path{stroke:${themeColor(lightTheme.foreground)}}@media (prefers-color-scheme: dark){path{stroke:${themeColor(darkTheme.foreground)}}}</style>`\n + shapes\n + '</svg>',\n )\n}\n\n/** A fonts.googleapis.com sheet cannot block first paint. The head script applies it once loaded. */\nconst APPLY_DEFERRED_FONTS = `(function(){for(const l of document.querySelectorAll('link[rel=\"stylesheet\"][media=\"print\"][href*=\"fonts.googleapis.com\"]')){const apply=()=>{l.media=\"all\"};l.addEventListener(\"load\",apply);if(l.sheet)apply()}})()`\n\nfunction deferredFont(href: string) {\n return { rel: 'stylesheet' as const, href, media: 'print' }\n}\n\n/** The root route's `links`: favicon, the app stylesheet, Inter, and any extra font stylesheets. */\nexport function appDocumentLinks(options: { stylesheet: string; favicon: string; extraStylesheets?: readonly string[] }): ReturnType<LinksFunction> {\n return [\n { rel: 'icon', href: options.favicon, type: 'image/svg+xml' },\n { rel: 'stylesheet', href: options.stylesheet },\n { rel: 'preconnect', href: 'https://fonts.googleapis.com' },\n { rel: 'dns-prefetch', href: 'https://fonts.googleapis.com' },\n { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: 'anonymous' },\n deferredFont('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap'),\n ...(options.extraStylesheets ?? []).map((href) => href.includes('fonts.googleapis.com') ? deferredFont(href) : { rel: 'stylesheet', href }),\n ]\n}\n\n/** The message and, outside a route response, the stack a root error screen shows. */\nexport function describeRouteError(error: unknown): { message: string; stack?: string } {\n if (isRouteErrorResponse(error)) {\n return { message: error.status === 404 ? 'Page not found' : error.statusText || 'An unexpected error occurred' }\n }\n if (error instanceof Error) return { message: error.message, stack: error.stack }\n return { message: 'An unexpected error occurred' }\n}\n\n/** Wrap `window.fetch` for the page's lifetime so `onResponse` sees every response. Read a body from `response.clone()`. */\nexport function installFetchResponseObserver(onResponse: (response: Response, args: Parameters<typeof fetch>) => void | Promise<void>): () => void {\n const original = window.fetch\n window.fetch = async (...args) => {\n const response = await original(...args)\n await onResponse(response, args)\n return response\n }\n return () => {\n window.fetch = original\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAAS,iBAAsD;AAC/D,SAAS,OAAO,MAAM,SAAS,mBAAmB,4BAAgD;AAmD5F,SACE,KADF;AAxCC,SAAS,iBAAiB;AAC/B,YAAU,MAAM;AACd,UAAM,OAAO,SAAS;AACtB,UAAM,OAAO,MAAM;AACjB,oBAAc,KAAK,UAAU,SAAS,MAAM,CAAC;AAAA,IAC/C;AACA,UAAM,kBAAkB,MAAM;AAC5B,UAAI,CAAC,wBAAwB,EAAG;AAChC,oBAAc,OAAO,WAAW,8BAA8B,EAAE,OAAO;AAAA,IACzE;AACA,SAAK;AACL,UAAM,WAAW,IAAI,iBAAiB,IAAI;AAC1C,aAAS,QAAQ,MAAM,EAAE,YAAY,MAAM,iBAAiB,CAAC,OAAO,EAAE,CAAC;AACvE,UAAM,QAAQ,OAAO,WAAW,8BAA8B;AAC9D,UAAM,iBAAiB,UAAU,eAAe;AAChD,WAAO,MAAM;AACX,eAAS,WAAW;AACpB,YAAM,oBAAoB,UAAU,eAAe;AAAA,IACrD;AAAA,EACF,GAAG,CAAC,CAAC;AACL,SAAO;AACT;AAgBO,SAAS,YAAY,EAAE,UAAU,cAAc,eAAe,gBAAgB,QAAQ,MAAM,GAAqB;AACtH,SACE,qBAAC,UAAK,MAAK,MAAK,0BAAwB,MAAC,WAAW,cAAc,mBAAe,MAAE,GAAG,gBACpF;AAAA,yBAAC,UACC;AAAA,0BAAC,UAAK,SAAQ,SAAQ;AAAA,MACtB,oBAAC,UAAK,MAAK,YAAW,SAAQ,uCAAsC;AAAA,MACpE,oBAAC,UAAK,MAAK,eAAc,SAAS,iBAAiB,SAAS,mBAAmB,mBAAmB;AAAA,MAClG,oBAAC,UAAK,MAAK,gBAAe,SAAS,cAAc;AAAA,MACjD,oBAAC,QAAK;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B,MAAO,QAAO,EAAE,SAAS,MAAM,SAAS,OAAO,MAAM,MAAM;AAChF,SAAO,EAAE,SAAS,+BAA+B;AACnD;AAGO,SAAS,6BAA6B,YAAsG;AACjJ,QAAM,WAAW,OAAO;AACxB,SAAO,QAAQ,UAAU,SAAS;AAChC,UAAM,WAAW,MAAM,SAAS,GAAG,IAAI;AACvC,UAAM,WAAW,UAAU,IAAI;AAC/B,WAAO;AAAA,EACT;AACA,SAAO,MAAM;AACX,WAAO,QAAQ;AAAA,EACjB;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "packageManager": "pnpm@11.28.8",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [
@@ -810,7 +810,7 @@
810
810
  "@tangle-network/brand": "^1.31.2",
811
811
  "@tangle-network/browser-agent-driver": "0.37.0",
812
812
  "@tangle-network/hub-sdk": "1.0.6",
813
- "@tangle-network/sandbox": "1.0.40",
813
+ "@tangle-network/sandbox": "1.0.128",
814
814
  "@tangle-network/sandbox-ui": "^1.1.10",
815
815
  "@tangle-network/tcloud": "0.8.6",
816
816
  "@tangle-network/ui": "^11.51.2",