@agent-native/dispatch 0.15.1 → 0.15.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.
Files changed (154) hide show
  1. package/dist/components/action-query-error.js +1 -1
  2. package/dist/components/action-query-error.js.map +1 -1
  3. package/dist/components/agents-panel.js +1 -1
  4. package/dist/components/agents-panel.js.map +1 -1
  5. package/dist/components/app-keys-popover.d.ts.map +1 -1
  6. package/dist/components/app-keys-popover.js +1 -1
  7. package/dist/components/app-keys-popover.js.map +1 -1
  8. package/dist/components/create-app-popover.js +5 -1
  9. package/dist/components/create-app-popover.js.map +1 -1
  10. package/dist/components/dispatch-control-plane.js +5 -1
  11. package/dist/components/dispatch-control-plane.js.map +1 -1
  12. package/dist/components/dispatch-shell.js +1 -1
  13. package/dist/components/dispatch-shell.js.map +1 -1
  14. package/dist/components/layout/Header.d.ts.map +1 -1
  15. package/dist/components/layout/Header.js +2 -1
  16. package/dist/components/layout/Header.js.map +1 -1
  17. package/dist/components/layout/Layout.d.ts.map +1 -1
  18. package/dist/components/layout/Layout.js +5 -1
  19. package/dist/components/layout/Layout.js.map +1 -1
  20. package/dist/components/messaging-setup-panel.d.ts.map +1 -1
  21. package/dist/components/messaging-setup-panel.js +2 -1
  22. package/dist/components/messaging-setup-panel.js.map +1 -1
  23. package/dist/components/task-queue-health.d.ts.map +1 -1
  24. package/dist/components/task-queue-health.js +2 -1
  25. package/dist/components/task-queue-health.js.map +1 -1
  26. package/dist/components/workspace-app-card.d.ts.map +1 -1
  27. package/dist/components/workspace-app-card.js +1 -1
  28. package/dist/components/workspace-app-card.js.map +1 -1
  29. package/dist/components/workspace-resource-effective-stack.js +1 -1
  30. package/dist/components/workspace-resource-effective-stack.js.map +1 -1
  31. package/dist/components/workspace-resource-impact-preview.js +1 -1
  32. package/dist/components/workspace-resource-impact-preview.js.map +1 -1
  33. package/dist/components/workspace-template-card.js +1 -1
  34. package/dist/components/workspace-template-card.js.map +1 -1
  35. package/dist/hooks/use-navigation-state.d.ts.map +1 -1
  36. package/dist/hooks/use-navigation-state.js +2 -1
  37. package/dist/hooks/use-navigation-state.js.map +1 -1
  38. package/dist/lib/automations.js +1 -1
  39. package/dist/lib/automations.js.map +1 -1
  40. package/dist/lib/overview-chat.d.ts.map +1 -1
  41. package/dist/lib/overview-chat.js +2 -1
  42. package/dist/lib/overview-chat.js.map +1 -1
  43. package/dist/lib/task-queue.js +1 -1
  44. package/dist/lib/task-queue.js.map +1 -1
  45. package/dist/routes/pages/$appId.d.ts.map +1 -1
  46. package/dist/routes/pages/$appId.js +3 -1
  47. package/dist/routes/pages/$appId.js.map +1 -1
  48. package/dist/routes/pages/_index.js +1 -1
  49. package/dist/routes/pages/_index.js.map +1 -1
  50. package/dist/routes/pages/agents.js +2 -1
  51. package/dist/routes/pages/agents.js.map +1 -1
  52. package/dist/routes/pages/approval.d.ts.map +1 -1
  53. package/dist/routes/pages/approval.js +3 -1
  54. package/dist/routes/pages/approval.js.map +1 -1
  55. package/dist/routes/pages/approvals.d.ts.map +1 -1
  56. package/dist/routes/pages/approvals.js +1 -1
  57. package/dist/routes/pages/approvals.js.map +1 -1
  58. package/dist/routes/pages/apps.$appId.d.ts.map +1 -1
  59. package/dist/routes/pages/apps.$appId.js +2 -1
  60. package/dist/routes/pages/apps.$appId.js.map +1 -1
  61. package/dist/routes/pages/apps.d.ts.map +1 -1
  62. package/dist/routes/pages/apps.js +2 -1
  63. package/dist/routes/pages/apps.js.map +1 -1
  64. package/dist/routes/pages/audit.js +1 -1
  65. package/dist/routes/pages/audit.js.map +1 -1
  66. package/dist/routes/pages/automations.d.ts.map +1 -1
  67. package/dist/routes/pages/automations.js +3 -1
  68. package/dist/routes/pages/automations.js.map +1 -1
  69. package/dist/routes/pages/chat.d.ts.map +1 -1
  70. package/dist/routes/pages/chat.js +3 -1
  71. package/dist/routes/pages/chat.js.map +1 -1
  72. package/dist/routes/pages/destinations.js +2 -1
  73. package/dist/routes/pages/destinations.js.map +1 -1
  74. package/dist/routes/pages/dreams.d.ts.map +1 -1
  75. package/dist/routes/pages/dreams.js +1 -1
  76. package/dist/routes/pages/dreams.js.map +1 -1
  77. package/dist/routes/pages/identities.d.ts.map +1 -1
  78. package/dist/routes/pages/identities.js +1 -1
  79. package/dist/routes/pages/identities.js.map +1 -1
  80. package/dist/routes/pages/integrations.d.ts.map +1 -1
  81. package/dist/routes/pages/integrations.js +1 -1
  82. package/dist/routes/pages/integrations.js.map +1 -1
  83. package/dist/routes/pages/metrics.d.ts.map +1 -1
  84. package/dist/routes/pages/metrics.js +2 -1
  85. package/dist/routes/pages/metrics.js.map +1 -1
  86. package/dist/routes/pages/new-app.d.ts.map +1 -1
  87. package/dist/routes/pages/new-app.js +2 -1
  88. package/dist/routes/pages/new-app.js.map +1 -1
  89. package/dist/routes/pages/operations.d.ts.map +1 -1
  90. package/dist/routes/pages/operations.js +3 -1
  91. package/dist/routes/pages/operations.js.map +1 -1
  92. package/dist/routes/pages/settings.d.ts.map +1 -1
  93. package/dist/routes/pages/settings.js +3 -1
  94. package/dist/routes/pages/settings.js.map +1 -1
  95. package/dist/routes/pages/thread-debug.d.ts.map +1 -1
  96. package/dist/routes/pages/thread-debug.js +2 -1
  97. package/dist/routes/pages/thread-debug.js.map +1 -1
  98. package/dist/routes/pages/vault.d.ts.map +1 -1
  99. package/dist/routes/pages/vault.js +1 -1
  100. package/dist/routes/pages/vault.js.map +1 -1
  101. package/dist/routes/pages/workspace.d.ts.map +1 -1
  102. package/dist/routes/pages/workspace.js +1 -1
  103. package/dist/routes/pages/workspace.js.map +1 -1
  104. package/package.json +2 -2
  105. package/src/components/action-query-error.spec.tsx +1 -1
  106. package/src/components/action-query-error.tsx +1 -1
  107. package/src/components/agents-panel.tsx +1 -1
  108. package/src/components/app-keys-popover.spec.tsx +4 -1
  109. package/src/components/app-keys-popover.tsx +4 -1
  110. package/src/components/create-app-popover.tsx +5 -5
  111. package/src/components/dispatch-control-plane.spec.tsx +20 -8
  112. package/src/components/dispatch-control-plane.tsx +5 -5
  113. package/src/components/dispatch-shell.tsx +1 -1
  114. package/src/components/layout/Header.tsx +2 -1
  115. package/src/components/layout/Layout.spec.tsx +17 -8
  116. package/src/components/layout/Layout.tsx +5 -6
  117. package/src/components/messaging-setup-panel.spec.tsx +4 -1
  118. package/src/components/messaging-setup-panel.tsx +2 -3
  119. package/src/components/task-queue-health.tsx +2 -1
  120. package/src/components/workspace-app-card.spec.tsx +1 -1
  121. package/src/components/workspace-app-card.tsx +4 -1
  122. package/src/components/workspace-resource-effective-stack.spec.tsx +1 -1
  123. package/src/components/workspace-resource-effective-stack.tsx +1 -1
  124. package/src/components/workspace-resource-impact-preview.spec.tsx +1 -1
  125. package/src/components/workspace-resource-impact-preview.tsx +1 -1
  126. package/src/components/workspace-template-card.spec.tsx +1 -1
  127. package/src/components/workspace-template-card.tsx +1 -1
  128. package/src/hooks/use-navigation-state.ts +5 -3
  129. package/src/lib/automations.ts +1 -1
  130. package/src/lib/overview-chat.spec.ts +5 -2
  131. package/src/lib/overview-chat.ts +2 -1
  132. package/src/lib/task-queue.ts +1 -1
  133. package/src/routes/pages/$appId.tsx +3 -1
  134. package/src/routes/pages/_index.tsx +1 -1
  135. package/src/routes/pages/agents.tsx +2 -2
  136. package/src/routes/pages/approval.tsx +4 -2
  137. package/src/routes/pages/approvals.tsx +4 -1
  138. package/src/routes/pages/apps.$appId.tsx +2 -1
  139. package/src/routes/pages/apps.tsx +2 -1
  140. package/src/routes/pages/audit.tsx +1 -1
  141. package/src/routes/pages/automations.tsx +3 -5
  142. package/src/routes/pages/chat.spec.tsx +15 -4
  143. package/src/routes/pages/chat.tsx +3 -4
  144. package/src/routes/pages/destinations.tsx +2 -2
  145. package/src/routes/pages/dreams.tsx +4 -1
  146. package/src/routes/pages/identities.tsx +4 -1
  147. package/src/routes/pages/integrations.tsx +4 -1
  148. package/src/routes/pages/metrics.tsx +2 -1
  149. package/src/routes/pages/new-app.tsx +2 -1
  150. package/src/routes/pages/operations.tsx +3 -5
  151. package/src/routes/pages/settings.tsx +4 -5
  152. package/src/routes/pages/thread-debug.tsx +2 -1
  153. package/src/routes/pages/vault.tsx +4 -1
  154. package/src/routes/pages/workspace.tsx +4 -1
@@ -11,7 +11,7 @@ const clientState = vi.hoisted(() => ({
11
11
  envStatuses: [] as any[],
12
12
  }));
13
13
 
14
- vi.mock("@agent-native/core/client", () => ({
14
+ vi.mock("@agent-native/core/client/integrations", () => ({
15
15
  disconnectManagedIntegrationInstallation: vi.fn(() => Promise.resolve()),
16
16
  listManagedIntegrationBudgets: vi.fn(() => Promise.resolve([])),
17
17
  listManagedIntegrationInstallations: vi.fn(() => Promise.resolve([])),
@@ -32,6 +32,9 @@ vi.mock("@agent-native/core/client", () => ({
32
32
  setIntegrationEnabled: vi.fn(),
33
33
  setupIntegration: vi.fn(),
34
34
  testManagedIntegrationInstallation: vi.fn(() => Promise.resolve()),
35
+ }));
36
+
37
+ vi.mock("@agent-native/core/client/i18n", () => ({
35
38
  useFormatters: () => ({
36
39
  formatDate: (value: Date | number | string) =>
37
40
  new Date(value).toLocaleDateString("en-US"),
@@ -1,3 +1,4 @@
1
+ import { useFormatters, useT } from "@agent-native/core/client/i18n";
1
2
  import {
2
3
  disconnectManagedIntegrationInstallation,
3
4
  listManagedIntegrationBudgets,
@@ -18,9 +19,7 @@ import {
18
19
  type ClientIntegrationUsageBudget,
19
20
  type ClientIntegrationStatus,
20
21
  type IntegrationEnvStatus,
21
- useFormatters,
22
- useT,
23
- } from "@agent-native/core/client";
22
+ } from "@agent-native/core/client/integrations";
24
23
  import {
25
24
  listBuiltInChannelIntegrations,
26
25
  type IntegrationCatalogEntry,
@@ -1,4 +1,5 @@
1
- import { useChangeVersions, useT } from "@agent-native/core/client";
1
+ import { useChangeVersions } from "@agent-native/core/client/hooks";
2
+ import { useT } from "@agent-native/core/client/i18n";
2
3
  import { IconAlertTriangle, IconPlayerPlay } from "@tabler/icons-react";
3
4
  import { useQuery } from "@tanstack/react-query";
4
5
 
@@ -6,7 +6,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
6
6
  import { TooltipProvider } from "./ui/tooltip";
7
7
  import { WorkspaceAppCard } from "./workspace-app-card";
8
8
 
9
- vi.mock("@agent-native/core/client", () => ({
9
+ vi.mock("@agent-native/core/client/hooks", () => ({
10
10
  useActionMutation: () => ({ mutate: vi.fn(), isPending: false }),
11
11
  useActionQuery: () => ({
12
12
  data: { resources: [], counts: {} },
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import {
3
6
  IconChevronDown,
4
7
  IconChevronRight,
@@ -14,7 +14,7 @@ const queryState = vi.hoisted(() => ({
14
14
  calls: [] as any[],
15
15
  }));
16
16
 
17
- vi.mock("@agent-native/core/client", () => ({
17
+ vi.mock("@agent-native/core/client/hooks", () => ({
18
18
  useActionQuery: (...args: any[]) => {
19
19
  queryState.calls.push(args);
20
20
  return queryState.result;
@@ -1,4 +1,4 @@
1
- import { useActionQuery } from "@agent-native/core/client";
1
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
2
 
3
3
  import { cn } from "../lib/utils";
4
4
  import { ActionQueryError } from "./action-query-error";
@@ -13,7 +13,7 @@ const queryState = vi.hoisted(() => ({
13
13
  calls: [] as any[],
14
14
  }));
15
15
 
16
- vi.mock("@agent-native/core/client", () => ({
16
+ vi.mock("@agent-native/core/client/hooks", () => ({
17
17
  useActionQuery: (...args: any[]) => {
18
18
  queryState.calls.push(args);
19
19
  return queryState.result;
@@ -1,4 +1,4 @@
1
- import { useActionQuery } from "@agent-native/core/client";
1
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
2
 
3
3
  import { ActionQueryError } from "./action-query-error";
4
4
  import { Badge } from "./ui/badge";
@@ -20,7 +20,7 @@ const toast = vi.hoisted(() => ({
20
20
  success: vi.fn(),
21
21
  }));
22
22
 
23
- vi.mock("@agent-native/core/client", () => ({
23
+ vi.mock("@agent-native/core/client/hooks", () => ({
24
24
  useActionMutation: (_name: string, options: Record<string, unknown>) => {
25
25
  clientState.options = options;
26
26
  return {
@@ -1,4 +1,4 @@
1
- import { useActionMutation } from "@agent-native/core/client";
1
+ import { useActionMutation } from "@agent-native/core/client/hooks";
2
2
  import {
3
3
  IconArrowUpRight,
4
4
  IconCircleCheck,
@@ -1,10 +1,12 @@
1
+ import {
2
+ isAgentChatHomeHandoffActive,
3
+ markAgentChatHomeHandoff,
4
+ } from "@agent-native/core/client/agent-chat";
1
5
  import {
2
6
  agentNativePath,
3
7
  appBasePath,
4
8
  appPath,
5
- isAgentChatHomeHandoffActive,
6
- markAgentChatHomeHandoff,
7
- } from "@agent-native/core/client";
9
+ } from "@agent-native/core/client/api-path";
8
10
  import { extensionIdFromPathname } from "@agent-native/core/client/extensions";
9
11
  import { useQuery, useQueryClient } from "@tanstack/react-query";
10
12
  import { useEffect } from "react";
@@ -1,4 +1,4 @@
1
- import { agentNativePath } from "@agent-native/core/client";
1
+ import { agentNativePath } from "@agent-native/core/client/api-path";
2
2
 
3
3
  export interface DispatchAutomationItem {
4
4
  id: string;
@@ -3,11 +3,14 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
3
3
  const frameState = vi.hoisted(() => ({ inBuilderFrame: false }));
4
4
  const sendToAgentChatMock = vi.hoisted(() => vi.fn(() => "chat-tab"));
5
5
 
6
- vi.mock("@agent-native/core/client", () => ({
7
- isInBuilderFrame: () => frameState.inBuilderFrame,
6
+ vi.mock("@agent-native/core/client/agent-chat", () => ({
8
7
  sendToAgentChat: sendToAgentChatMock,
9
8
  }));
10
9
 
10
+ vi.mock("@agent-native/core/client/host", () => ({
11
+ isInBuilderFrame: () => frameState.inBuilderFrame,
12
+ }));
13
+
11
14
  const { submitOverviewPrompt } = await import("./overview-chat.js");
12
15
 
13
16
  describe("submitOverviewPrompt", () => {
@@ -1,4 +1,5 @@
1
- import { isInBuilderFrame, sendToAgentChat } from "@agent-native/core/client";
1
+ import { sendToAgentChat } from "@agent-native/core/client/agent-chat";
2
+ import { isInBuilderFrame } from "@agent-native/core/client/host";
2
3
 
3
4
  export function submitOverviewPrompt(
4
5
  message: string,
@@ -1,4 +1,4 @@
1
- import { agentNativePath } from "@agent-native/core/client";
1
+ import { agentNativePath } from "@agent-native/core/client/api-path";
2
2
 
3
3
  export interface TaskQueueFailure {
4
4
  id: string;
@@ -1,4 +1,6 @@
1
- import { useActionQuery, appPath, useT } from "@agent-native/core/client";
1
+ import { appPath } from "@agent-native/core/client/api-path";
2
+ import { useActionQuery } from "@agent-native/core/client/hooks";
3
+ import { useT } from "@agent-native/core/client/i18n";
2
4
  import {
3
5
  IconArrowLeft,
4
6
  IconArrowUpRight,
@@ -1,4 +1,4 @@
1
- import { appPath } from "@agent-native/core/client";
1
+ import { appPath } from "@agent-native/core/client/api-path";
2
2
  import { redirect, type LoaderFunctionArgs } from "react-router";
3
3
 
4
4
  import { Spinner } from "../../components/ui/spinner";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  useActionMutation,
3
3
  useActionQuery,
4
- useT,
5
- } from "@agent-native/core/client";
4
+ } from "@agent-native/core/client/hooks";
5
+ import { useT } from "@agent-native/core/client/i18n";
6
6
  import { IconCheck, IconCopy, IconPlugConnected } from "@tabler/icons-react";
7
7
  import { useMemo, useState } from "react";
8
8
  import { toast } from "sonner";
@@ -1,10 +1,12 @@
1
+ import { appPath } from "@agent-native/core/client/api-path";
1
2
  import {
2
3
  useActionMutation,
3
4
  useActionQuery,
5
+ } from "@agent-native/core/client/hooks";
6
+ import {
4
7
  isInAgentEmbed,
5
8
  postNavigate,
6
- appPath,
7
- } from "@agent-native/core/client";
9
+ } from "@agent-native/core/client/navigation";
8
10
  import {
9
11
  IconCheck,
10
12
  IconX,
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import { useOrg } from "@agent-native/core/client/org";
3
6
  import { useMemo, useState } from "react";
4
7
  import { toast } from "sonner";
@@ -1,4 +1,5 @@
1
- import { useActionQuery, useT } from "@agent-native/core/client";
1
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
+ import { useT } from "@agent-native/core/client/i18n";
2
3
  import {
3
4
  IconArrowLeft,
4
5
  IconArrowUpRight,
@@ -1,4 +1,5 @@
1
- import { useActionQuery, useT } from "@agent-native/core/client";
1
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
+ import { useT } from "@agent-native/core/client/i18n";
2
3
  import {
3
4
  IconApps,
4
5
  IconArrowUpRight,
@@ -1,4 +1,4 @@
1
- import { useActionQuery } from "@agent-native/core/client";
1
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
2
 
3
3
  import { ActionQueryError } from "../../components/action-query-error";
4
4
  import { DispatchShell } from "../../components/dispatch-shell";
@@ -1,8 +1,6 @@
1
- import {
2
- PromptComposer,
3
- sendToAgentChat,
4
- useChangeVersions,
5
- } from "@agent-native/core/client";
1
+ import { sendToAgentChat } from "@agent-native/core/client/agent-chat";
2
+ import { PromptComposer } from "@agent-native/core/client/composer";
3
+ import { useChangeVersions } from "@agent-native/core/client/hooks";
6
4
  import { IconPlus, IconSettingsAutomation } from "@tabler/icons-react";
7
5
  import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
8
6
  import { useMemo, useState } from "react";
@@ -10,16 +10,27 @@ const clientState = vi.hoisted(() => ({
10
10
  surfaceProps: null as Record<string, unknown> | null,
11
11
  }));
12
12
 
13
- vi.mock("@agent-native/core/client", () => ({
13
+ vi.mock("@agent-native/core/client/agent-chat", () => ({
14
14
  AgentChatSurface: (props: Record<string, unknown>) => {
15
15
  clientState.surfaceProps = props;
16
16
  return <>{props.composerSlot as ReactNode}</>;
17
17
  },
18
- appBasePath: () => "",
19
- appPath: (path: string) => path,
20
- isInBuilderFrame: () => false,
21
18
  markAgentChatHomeHandoff: vi.fn(),
19
+ navigateWithAgentChatViewTransition: (
20
+ navigate: (path: string) => void,
21
+ path: string,
22
+ ) => navigate(path),
22
23
  sendToAgentChat: vi.fn(),
24
+ }));
25
+
26
+ vi.mock("@agent-native/core/client/api-path", () => ({
27
+ agentNativePath: (path: string) => path,
28
+ appApiPath: (path: string) => path,
29
+ appBasePath: () => "",
30
+ appPath: (path: string) => path,
31
+ }));
32
+
33
+ vi.mock("@agent-native/core/client/i18n", () => ({
23
34
  useT: () => (key: string, values?: { defaultValue?: string }) =>
24
35
  values?.defaultValue ?? key,
25
36
  }));
@@ -1,10 +1,9 @@
1
1
  import {
2
2
  AgentChatSurface,
3
- appBasePath,
4
- appPath,
5
3
  markAgentChatHomeHandoff,
6
- useT,
7
- } from "@agent-native/core/client";
4
+ } from "@agent-native/core/client/agent-chat";
5
+ import { appBasePath, appPath } from "@agent-native/core/client/api-path";
6
+ import { useT } from "@agent-native/core/client/i18n";
8
7
  import {
9
8
  useCallback,
10
9
  useEffect,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  useActionMutation,
3
3
  useActionQuery,
4
- useT,
5
- } from "@agent-native/core/client";
4
+ } from "@agent-native/core/client/hooks";
5
+ import { useT } from "@agent-native/core/client/i18n";
6
6
  import { useState } from "react";
7
7
  import { toast } from "sonner";
8
8
 
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import {
3
6
  IconAlertTriangle,
4
7
  IconBrain,
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import { toast } from "sonner";
3
6
 
4
7
  import { ActionQueryError } from "../../components/action-query-error";
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import {
3
6
  IconCheck,
4
7
  IconChevronRight,
@@ -1,4 +1,5 @@
1
- import { useActionQuery, useT } from "@agent-native/core/client";
1
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
+ import { useT } from "@agent-native/core/client/i18n";
2
3
  import {
3
4
  IconActivity,
4
5
  IconAlertTriangle,
@@ -1,4 +1,5 @@
1
- import { NewWorkspaceAppFlow, useT } from "@agent-native/core/client";
1
+ import { useT } from "@agent-native/core/client/i18n";
2
+ import { NewWorkspaceAppFlow } from "@agent-native/core/client/ui";
2
3
 
3
4
  import { DispatchShell } from "../../components/dispatch-shell";
4
5
 
@@ -1,8 +1,6 @@
1
- import {
2
- DbAdminPage,
3
- ObservabilityDashboard,
4
- useT,
5
- } from "@agent-native/core/client";
1
+ import { DbAdminPage } from "@agent-native/core/client/db-admin";
2
+ import { useT } from "@agent-native/core/client/i18n";
3
+ import { ObservabilityDashboard } from "@agent-native/core/client/observability";
6
4
  import {
7
5
  IconActivity,
8
6
  IconArrowUpRight,
@@ -1,11 +1,10 @@
1
+ import { ChangelogSettingsCard } from "@agent-native/core/client/changelog";
2
+ import { LanguagePicker, useT } from "@agent-native/core/client/i18n";
3
+ import { TeamPage } from "@agent-native/core/client/org";
1
4
  import {
2
- ChangelogSettingsCard,
3
- LanguagePicker,
4
5
  SettingsTabsPage,
5
6
  useAgentSettingsTabs,
6
- useT,
7
- } from "@agent-native/core/client";
8
- import { TeamPage } from "@agent-native/core/client/org";
7
+ } from "@agent-native/core/client/settings";
9
8
  import { Link } from "react-router";
10
9
 
11
10
  import changelog from "../../../CHANGELOG.md?raw";
@@ -1,4 +1,5 @@
1
- import { agentNativePath, useActionQuery } from "@agent-native/core/client";
1
+ import { agentNativePath } from "@agent-native/core/client/api-path";
2
+ import { useActionQuery } from "@agent-native/core/client/hooks";
2
3
  import {
3
4
  IconDatabase,
4
5
  IconFileSearch,
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import {
3
6
  IconChevronDown,
4
7
  IconChevronRight,
@@ -1,4 +1,7 @@
1
- import { useActionMutation, useActionQuery } from "@agent-native/core/client";
1
+ import {
2
+ useActionMutation,
3
+ useActionQuery,
4
+ } from "@agent-native/core/client/hooks";
2
5
  import {
3
6
  IconAlertCircle,
4
7
  IconBook,