@agent-native/dispatch 0.13.7 → 0.13.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.
@@ -223,7 +223,7 @@ const EMPTY_NAV_ITEMS: readonly DispatchNavItem[] = [];
223
223
  const CHROMELESS_PATHS = ["/approval"];
224
224
  const SIDEBAR_COLLAPSE_KEY = "dispatch.sidebar.collapsed";
225
225
 
226
- // Routes whose page renders its own toolbar (with NotificationsBell + AgentToggleButton).
226
+ // Routes whose page renders its own toolbar.
227
227
  // Layout still mounts the sidebar + AgentSidebar, but skips its own Header so
228
228
  // there's no double-header.
229
229
  function pageOwnsToolbar(pathname: string): boolean {
@@ -2,7 +2,7 @@ import {
2
2
  ChangelogSettingsCard,
3
3
  LanguagePicker,
4
4
  SettingsTabsPage,
5
- openAgentSettings,
5
+ useAgentSettingsTabs,
6
6
  useT,
7
7
  } from "@agent-native/core/client";
8
8
  import { TeamPage } from "@agent-native/core/client/org";
@@ -27,6 +27,7 @@ export function meta() {
27
27
 
28
28
  export default function SettingsRoute() {
29
29
  const t = useT();
30
+ const agentSettingsTabs = useAgentSettingsTabs();
30
31
 
31
32
  return (
32
33
  <DispatchShell
@@ -34,6 +35,7 @@ export default function SettingsRoute() {
34
35
  description={t("settings.description")}
35
36
  >
36
37
  <SettingsTabsPage
38
+ extraTabs={agentSettingsTabs}
37
39
  general={
38
40
  <div className="mx-auto w-full max-w-3xl space-y-6">
39
41
  <Card>
@@ -68,22 +70,6 @@ export default function SettingsRoute() {
68
70
  </Button>
69
71
  </CardContent>
70
72
  </Card>
71
-
72
- <Card>
73
- <CardHeader>
74
- <CardTitle className="text-base">
75
- {t("settings.agentTitle")}
76
- </CardTitle>
77
- <CardDescription>
78
- {t("settings.agentDescription")}
79
- </CardDescription>
80
- </CardHeader>
81
- <CardContent>
82
- <Button variant="outline" onClick={() => openAgentSettings()}>
83
- {t("settings.openAgentSettings")}
84
- </Button>
85
- </CardContent>
86
- </Card>
87
73
  </div>
88
74
  }
89
75
  team={