@agent-native/dispatch 0.11.4 → 0.11.5

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.
@@ -3,10 +3,17 @@ export declare function meta(): ({
3
3
  title: string;
4
4
  name?: undefined;
5
5
  content?: undefined;
6
+ property?: undefined;
6
7
  } | {
7
8
  name: string;
8
9
  content: string;
9
10
  title?: undefined;
11
+ property?: undefined;
12
+ } | {
13
+ property: string;
14
+ content: string;
15
+ title?: undefined;
16
+ name?: undefined;
10
17
  })[];
11
18
  export declare function loader({ request }: LoaderFunctionArgs): void;
12
19
  export declare function clientLoader({ request }: LoaderFunctionArgs): void;
@@ -1 +1 @@
1
- {"version":3,"file":"_index.d.ts","sourceRoot":"","sources":["../../../src/routes/pages/_index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAIjE,wBAAgB,IAAI;;;;;;;;KASnB;AAmBD,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,QAErD;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,QAE3D;AAED,wBAAgB,eAAe,4CAM9B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,SAEhC"}
1
+ {"version":3,"file":"_index.d.ts","sourceRoot":"","sources":["../../../src/routes/pages/_index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AASjE,wBAAgB,IAAI;;;;;;;;;;;;;;;KAanB;AAmBD,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,QAErD;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE,kBAAkB,QAE3D;AAED,wBAAgB,eAAe,4CAM9B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,SAEhC"}
@@ -2,13 +2,20 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { redirect } from "react-router";
3
3
  import { appPath } from "@agent-native/core/client";
4
4
  import { Spinner } from "../../components/ui/spinner.js";
5
+ const SEO_TITLE = "Agent-Native Dispatch - Open Source workspace control plane for AI agents";
6
+ const SEO_DESCRIPTION = "Open Source workspace control plane for AI agents to manage apps, secrets, approvals, messages, jobs, and cross-app delegation.";
5
7
  export function meta() {
6
8
  return [
7
- { title: "Agent-Native Dispatch" },
9
+ { title: SEO_TITLE },
8
10
  {
9
11
  name: "description",
10
- content: "Your AI agent manages secrets, orchestrates other agents, and routes messages across your workspace.",
12
+ content: SEO_DESCRIPTION,
11
13
  },
14
+ { property: "og:title", content: SEO_TITLE },
15
+ { property: "og:description", content: SEO_DESCRIPTION },
16
+ { name: "twitter:card", content: "summary" },
17
+ { name: "twitter:title", content: SEO_TITLE },
18
+ { name: "twitter:description", content: SEO_DESCRIPTION },
12
19
  ];
13
20
  }
14
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"_index.js","sourceRoot":"","sources":["../../../src/routes/pages/_index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAA2B,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,MAAM,UAAU,IAAI;IAClB,OAAO;QACL,EAAE,KAAK,EAAE,uBAAuB,EAAE;QAClC;YACE,IAAI,EAAE,aAAa;YACnB,OAAO,EACL,sGAAsG;SACzG;KACF,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAS,WAAW,CAAC,OAAgB;IACnC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,OAAO,OAAO,CAAC,YAAY,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,EAAE,OAAO,EAAsB;IACpD,MAAM,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,EAAE,OAAO,EAAsB;IAC1D,MAAM,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,OAAO,CACL,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,OAAO,IAAC,SAAS,EAAC,QAAQ,GAAG,GAC1B,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,OAAO,UAAU,SAAS;IAC/B,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import { redirect, type LoaderFunctionArgs } from \"react-router\";\nimport { appPath } from \"@agent-native/core/client\";\nimport { Spinner } from \"@/components/ui/spinner\";\n\nexport function meta() {\n return [\n { title: \"Agent-Native Dispatch\" },\n {\n name: \"description\",\n content:\n \"Your AI agent manages secrets, orchestrates other agents, and routes messages across your workspace.\",\n },\n ];\n}\n\n/**\n * Run the redirect on both the server and the client. A client-only\n * `<Navigate>` can drop during hydration (before the route tree is fully\n * attached), leaving the user stranded on `/` with a blank main area while\n * the layout chrome around it still renders. A `loader` redirect runs as\n * part of the server response and the navigation completes before the app\n * hydrates; `clientLoader` covers SPA-style navigations to `/`.\n *\n * We preserve `?` and `#` so deep-links like `?thread=<id>` from a Slack\n * \"Open thread\" button survive the bounce — `useThreadDeepLink` in\n * `root.tsx` reads them after the redirect lands and opens `/chat`.\n */\nfunction buildTarget(request: Request): string {\n const url = new URL(request.url);\n return appPath(`/overview${url.search}${url.hash}`);\n}\n\nexport function loader({ request }: LoaderFunctionArgs) {\n throw redirect(buildTarget(request));\n}\n\nexport function clientLoader({ request }: LoaderFunctionArgs) {\n throw redirect(buildTarget(request));\n}\n\nexport function HydrateFallback() {\n return (\n <div className=\"flex items-center justify-center h-screen w-full\">\n <Spinner className=\"size-8\" />\n </div>\n );\n}\n\nexport default function IndexPage() {\n return null;\n}\n"]}
1
+ {"version":3,"file":"_index.js","sourceRoot":"","sources":["../../../src/routes/pages/_index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAA2B,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,MAAM,SAAS,GACb,2EAA2E,CAAC;AAC9E,MAAM,eAAe,GACnB,iIAAiI,CAAC;AAEpI,MAAM,UAAU,IAAI;IAClB,OAAO;QACL,EAAE,KAAK,EAAE,SAAS,EAAE;QACpB;YACE,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,eAAe;SACzB;QACD,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE;QAC5C,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE;QACxD,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE;QAC5C,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,SAAS,EAAE;QAC7C,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,eAAe,EAAE;KAC1D,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAS,WAAW,CAAC,OAAgB;IACnC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,OAAO,OAAO,CAAC,YAAY,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,EAAE,OAAO,EAAsB;IACpD,MAAM,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,EAAE,OAAO,EAAsB;IAC1D,MAAM,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,eAAe;IAC7B,OAAO,CACL,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,OAAO,IAAC,SAAS,EAAC,QAAQ,GAAG,GAC1B,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,OAAO,UAAU,SAAS;IAC/B,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import { redirect, type LoaderFunctionArgs } from \"react-router\";\nimport { appPath } from \"@agent-native/core/client\";\nimport { Spinner } from \"@/components/ui/spinner\";\n\nconst SEO_TITLE =\n \"Agent-Native Dispatch - Open Source workspace control plane for AI agents\";\nconst SEO_DESCRIPTION =\n \"Open Source workspace control plane for AI agents to manage apps, secrets, approvals, messages, jobs, and cross-app delegation.\";\n\nexport function meta() {\n return [\n { title: SEO_TITLE },\n {\n name: \"description\",\n content: SEO_DESCRIPTION,\n },\n { property: \"og:title\", content: SEO_TITLE },\n { property: \"og:description\", content: SEO_DESCRIPTION },\n { name: \"twitter:card\", content: \"summary\" },\n { name: \"twitter:title\", content: SEO_TITLE },\n { name: \"twitter:description\", content: SEO_DESCRIPTION },\n ];\n}\n\n/**\n * Run the redirect on both the server and the client. A client-only\n * `<Navigate>` can drop during hydration (before the route tree is fully\n * attached), leaving the user stranded on `/` with a blank main area while\n * the layout chrome around it still renders. A `loader` redirect runs as\n * part of the server response and the navigation completes before the app\n * hydrates; `clientLoader` covers SPA-style navigations to `/`.\n *\n * We preserve `?` and `#` so deep-links like `?thread=<id>` from a Slack\n * \"Open thread\" button survive the bounce — `useThreadDeepLink` in\n * `root.tsx` reads them after the redirect lands and opens `/chat`.\n */\nfunction buildTarget(request: Request): string {\n const url = new URL(request.url);\n return appPath(`/overview${url.search}${url.hash}`);\n}\n\nexport function loader({ request }: LoaderFunctionArgs) {\n throw redirect(buildTarget(request));\n}\n\nexport function clientLoader({ request }: LoaderFunctionArgs) {\n throw redirect(buildTarget(request));\n}\n\nexport function HydrateFallback() {\n return (\n <div className=\"flex items-center justify-center h-screen w-full\">\n <Spinner className=\"size-8\" />\n </div>\n );\n}\n\nexport default function IndexPage() {\n return null;\n}\n"]}
@@ -1,5 +1,18 @@
1
- export declare function meta(): {
1
+ export declare function meta(): ({
2
2
  title: string;
3
- }[];
3
+ name?: undefined;
4
+ content?: undefined;
5
+ property?: undefined;
6
+ } | {
7
+ name: string;
8
+ content: string;
9
+ title?: undefined;
10
+ property?: undefined;
11
+ } | {
12
+ property: string;
13
+ content: string;
14
+ title?: undefined;
15
+ name?: undefined;
16
+ })[];
4
17
  export default function OverviewRoute(): import("react/jsx-runtime").JSX.Element;
5
18
  //# sourceMappingURL=overview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overview.d.ts","sourceRoot":"","sources":["../../../src/routes/pages/overview.tsx"],"names":[],"mappings":"AAEA,wBAAgB,IAAI;;IAEnB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,4CAEpC"}
1
+ {"version":3,"file":"overview.d.ts","sourceRoot":"","sources":["../../../src/routes/pages/overview.tsx"],"names":[],"mappings":"AAOA,wBAAgB,IAAI;;;;;;;;;;;;;;;KAUnB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,4CAEpC"}
@@ -1,7 +1,17 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { DispatchControlPlane } from "../../components/dispatch-control-plane.js";
3
+ const SEO_TITLE = "Agent-Native Dispatch - Open Source workspace control plane for AI agents";
4
+ const SEO_DESCRIPTION = "Open Source workspace control plane for AI agents to manage apps, secrets, approvals, messages, jobs, and cross-app delegation.";
3
5
  export function meta() {
4
- return [{ title: "Overview — Dispatch" }];
6
+ return [
7
+ { title: SEO_TITLE },
8
+ { name: "description", content: SEO_DESCRIPTION },
9
+ { property: "og:title", content: SEO_TITLE },
10
+ { property: "og:description", content: SEO_DESCRIPTION },
11
+ { name: "twitter:card", content: "summary" },
12
+ { name: "twitter:title", content: SEO_TITLE },
13
+ { name: "twitter:description", content: SEO_DESCRIPTION },
14
+ ];
5
15
  }
6
16
  export default function OverviewRoute() {
7
17
  return _jsx(DispatchControlPlane, {});
@@ -1 +1 @@
1
- {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../src/routes/pages/overview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,UAAU,IAAI;IAClB,OAAO,CAAC,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,CAAC,OAAO,UAAU,aAAa;IACnC,OAAO,KAAC,oBAAoB,KAAG,CAAC;AAClC,CAAC","sourcesContent":["import { DispatchControlPlane } from \"@/components/dispatch-control-plane\";\n\nexport function meta() {\n return [{ title: \"Overview Dispatch\" }];\n}\n\nexport default function OverviewRoute() {\n return <DispatchControlPlane />;\n}\n"]}
1
+ {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../src/routes/pages/overview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,SAAS,GACb,2EAA2E,CAAC;AAC9E,MAAM,eAAe,GACnB,iIAAiI,CAAC;AAEpI,MAAM,UAAU,IAAI;IAClB,OAAO;QACL,EAAE,KAAK,EAAE,SAAS,EAAE;QACpB,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,EAAE;QACjD,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE;QAC5C,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE;QACxD,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE;QAC5C,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,SAAS,EAAE;QAC7C,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,eAAe,EAAE;KAC1D,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,OAAO,UAAU,aAAa;IACnC,OAAO,KAAC,oBAAoB,KAAG,CAAC;AAClC,CAAC","sourcesContent":["import { DispatchControlPlane } from \"@/components/dispatch-control-plane\";\n\nconst SEO_TITLE =\n \"Agent-Native Dispatch - Open Source workspace control plane for AI agents\";\nconst SEO_DESCRIPTION =\n \"Open Source workspace control plane for AI agents to manage apps, secrets, approvals, messages, jobs, and cross-app delegation.\";\n\nexport function meta() {\n return [\n { title: SEO_TITLE },\n { name: \"description\", content: SEO_DESCRIPTION },\n { property: \"og:title\", content: SEO_TITLE },\n { property: \"og:description\", content: SEO_DESCRIPTION },\n { name: \"twitter:card\", content: \"summary\" },\n { name: \"twitter:title\", content: SEO_TITLE },\n { name: \"twitter:description\", content: SEO_DESCRIPTION },\n ];\n}\n\nexport default function OverviewRoute() {\n return <DispatchControlPlane />;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/dispatch",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "type": "module",
5
5
  "description": "Dispatch — workspace control plane for agent-native apps. Vault, integrations, destinations, scheduled jobs, and cross-app delegation, shipped as a single drop-in package.",
6
6
  "license": "MIT",
@@ -100,7 +100,7 @@
100
100
  "typescript": "^6.0.3",
101
101
  "vite": "8.0.3",
102
102
  "vitest": "^4.1.5",
103
- "@agent-native/core": "0.63.1"
103
+ "@agent-native/core": "0.63.2"
104
104
  },
105
105
  "scripts": {
106
106
  "build": "tsc && tsc-alias --resolve-full-paths",
@@ -2,14 +2,23 @@ import { redirect, type LoaderFunctionArgs } from "react-router";
2
2
  import { appPath } from "@agent-native/core/client";
3
3
  import { Spinner } from "@/components/ui/spinner";
4
4
 
5
+ const SEO_TITLE =
6
+ "Agent-Native Dispatch - Open Source workspace control plane for AI agents";
7
+ const SEO_DESCRIPTION =
8
+ "Open Source workspace control plane for AI agents to manage apps, secrets, approvals, messages, jobs, and cross-app delegation.";
9
+
5
10
  export function meta() {
6
11
  return [
7
- { title: "Agent-Native Dispatch" },
12
+ { title: SEO_TITLE },
8
13
  {
9
14
  name: "description",
10
- content:
11
- "Your AI agent manages secrets, orchestrates other agents, and routes messages across your workspace.",
15
+ content: SEO_DESCRIPTION,
12
16
  },
17
+ { property: "og:title", content: SEO_TITLE },
18
+ { property: "og:description", content: SEO_DESCRIPTION },
19
+ { name: "twitter:card", content: "summary" },
20
+ { name: "twitter:title", content: SEO_TITLE },
21
+ { name: "twitter:description", content: SEO_DESCRIPTION },
13
22
  ];
14
23
  }
15
24
 
@@ -1,7 +1,20 @@
1
1
  import { DispatchControlPlane } from "@/components/dispatch-control-plane";
2
2
 
3
+ const SEO_TITLE =
4
+ "Agent-Native Dispatch - Open Source workspace control plane for AI agents";
5
+ const SEO_DESCRIPTION =
6
+ "Open Source workspace control plane for AI agents to manage apps, secrets, approvals, messages, jobs, and cross-app delegation.";
7
+
3
8
  export function meta() {
4
- return [{ title: "Overview — Dispatch" }];
9
+ return [
10
+ { title: SEO_TITLE },
11
+ { name: "description", content: SEO_DESCRIPTION },
12
+ { property: "og:title", content: SEO_TITLE },
13
+ { property: "og:description", content: SEO_DESCRIPTION },
14
+ { name: "twitter:card", content: "summary" },
15
+ { name: "twitter:title", content: SEO_TITLE },
16
+ { name: "twitter:description", content: SEO_DESCRIPTION },
17
+ ];
5
18
  }
6
19
 
7
20
  export default function OverviewRoute() {