@agentprojectcontext/apx 1.49.0 → 1.50.1

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.
@@ -18,7 +18,7 @@
18
18
  <link rel="apple-touch-icon" href="/favicon/dark/apple-touch-icon.png" media="(prefers-color-scheme: dark)" />
19
19
  <link rel="manifest" href="/favicon/white/site.webmanifest" media="(prefers-color-scheme: light)" />
20
20
  <link rel="manifest" href="/favicon/dark/site.webmanifest" media="(prefers-color-scheme: dark)" />
21
- <script type="module" crossorigin src="/assets/index-lu6lfr1N.js"></script>
21
+ <script type="module" crossorigin src="/assets/index-rx9XIp5S.js"></script>
22
22
  <link rel="stylesheet" crossorigin href="/assets/index-C53eJujd.css">
23
23
  </head>
24
24
  <body class="bg-background text-foreground antialiased">
@@ -354,7 +354,7 @@ export function useChat(pid: string, onError?: (msg: string) => void): UseChatRe
354
354
  if (streaming) return;
355
355
  try {
356
356
  const detail = await Conversations.get(pid, agentSlug, conversationId);
357
- const loaded: ChatMsg[] = detail.messages
357
+ const loaded: ChatMsg[] = (detail.messages ?? [])
358
358
  .filter((m) => m.role === "user" || m.role === "assistant")
359
359
  .map((m) => ({
360
360
  role: m.role as "user" | "assistant",
@@ -52,8 +52,8 @@ const SECTIONS: TabSection[] = [
52
52
  title: t("settings.modules_section"),
53
53
  items: [
54
54
  { key: "voice", label: t("nav.modules.voice"), icon: Mic },
55
- { key: "deck", label: t("nav.modules.deck"), icon: LayoutGrid },
56
55
  { key: "desktop", label: t("nav.modules.desktop"), icon: Monitor },
56
+ { key: "deck", label: t("nav.modules.deck"), icon: LayoutGrid },
57
57
  ],
58
58
  },
59
59
  {