create-agents24-app 0.2.34 → 0.2.36

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,5 +1,5 @@
1
1
  import { getThreadActivity, type StoredChatThread } from "@agents24/react"
2
- import { LoaderCircle, SquarePen, Trash2 } from "lucide-react"
2
+ import { LoaderCircle, Pause, SquarePen, Trash2 } from "lucide-react"
3
3
  import type { Agents24ChatIdentity } from "../../identity"
4
4
  import { IdentityControl } from "./identity-control"
5
5
 
@@ -34,20 +34,21 @@ type Props = {
34
34
 
35
35
  function ThreadStatus({ thread }: { thread: StoredChatThread }) {
36
36
  const activity = getThreadActivity(thread)
37
- if (!activity.isSpinning) return null
38
- const label = activity.status === "cancelling"
37
+ const waiting = ["paused", "waiting", "interrupted"].includes(activity.status || "")
38
+ if (!activity.isSpinning && !waiting) return null
39
+ const label = waiting ? "Waiting" : activity.status === "cancelling"
39
40
  ? "Cancelling"
40
41
  : activity.status === "queued"
41
42
  ? "Queued"
42
43
  : "Running"
43
44
  return (
44
45
  <span
45
- className="pointer-events-none absolute end-1 top-1/2 hidden size-5 -translate-y-1/2 items-center justify-center text-muted-foreground transition-opacity group-hover/menu-item:opacity-0 md:flex"
46
+ className="pointer-events-none absolute end-1 top-1/2 flex size-5 -translate-y-1/2 items-center justify-center text-muted-foreground transition-opacity group-hover/menu-item:opacity-0"
46
47
  role="status"
47
48
  aria-label={label}
48
49
  title={label}
49
50
  >
50
- <LoaderCircle className="size-3.5 animate-spin" />
51
+ {waiting ? <Pause className="size-3.5 text-amber-600" /> : <LoaderCircle className="size-3.5 animate-spin" />}
51
52
  </span>
52
53
  )
53
54
  }
@@ -20,7 +20,7 @@
20
20
  "tailwindcss": "^4.1.16"
21
21
  },
22
22
  "source": "packages/agents24-chat-react/scaffold",
23
- "sha256": "94d6237c384517afd3c2474812a80d153279e37c832ecc14acfb98c2e5cfef07",
23
+ "sha256": "9305a4b3f5cc16dca8c365811f9bf8c5724637305727bbad11c0d0114f2cf743",
24
24
  "files": [
25
25
  "components.json",
26
26
  "host-styles.css",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-agents24-app",
3
- "version": "0.2.34",
3
+ "version": "0.2.36",
4
4
  "description": "Create a production-ready Agents24 React application.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "provenance": false
34
34
  },
35
35
  "dependencies": {
36
- "@agents24/cli": "0.3.28",
36
+ "@agents24/cli": "0.3.30",
37
37
  "@clack/prompts": "1.7.0",
38
38
  "shadcn": "4.13.1"
39
39
  },
package/versions.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "agents24": {
3
- "@agents24/client": "^0.2.17",
4
- "@agents24/react": "^0.2.21",
5
- "@agents24/chat-react": "^0.5.34",
6
- "@agents24/node": "^0.5.25"
3
+ "@agents24/client": "^0.2.18",
4
+ "@agents24/react": "^0.2.23",
5
+ "@agents24/chat-react": "^0.5.36",
6
+ "@agents24/node": "^0.5.27"
7
7
  },
8
8
  "runtime": {
9
9
  "next": "^16.3.4",