@swarmclawai/swarmclaw 1.1.9 → 1.2.0

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.
package/next.config.ts CHANGED
@@ -58,7 +58,6 @@ const nextConfig: NextConfig = {
58
58
  root: PROJECT_ROOT,
59
59
  },
60
60
  experimental: {
61
- turbopackFileSystemCacheForDev: false,
62
61
  // Limit build workers to 1 inside Docker to avoid SQLITE_BUSY contention
63
62
  // when multiple workers collect page data concurrently.
64
63
  ...(process.env.SWARMCLAW_BUILD_MODE ? { cpus: 1 } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmclawai/swarmclaw",
3
- "version": "1.1.9",
3
+ "version": "1.2.0",
4
4
  "description": "Self-hosted AI runtime for OpenClaw, delegation, autonomy, runtime skills, crypto wallets, and chat platform connectors.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -104,7 +104,7 @@
104
104
  "langchain": "^1.2.30",
105
105
  "lucide-react": "^0.574.0",
106
106
  "mailparser": "^3.9.3",
107
- "next": "16.1.6",
107
+ "next": "16.1.7",
108
108
  "next-themes": "^0.4.6",
109
109
  "nodemailer": "^8.0.1",
110
110
  "openclaw": "^2026.2.26",
@@ -140,7 +140,7 @@
140
140
  },
141
141
  "devDependencies": {
142
142
  "eslint": "^9",
143
- "eslint-config-next": "16.1.6",
143
+ "eslint-config-next": "16.1.7",
144
144
  "tsx": "^4.20.6"
145
145
  },
146
146
  "optionalDependencies": {
@@ -8,6 +8,7 @@ import { useWs } from '@/hooks/use-ws'
8
8
  import { api } from '@/lib/app/api-client'
9
9
  import { fetchMessages } from '@/lib/chat/chats'
10
10
  import { streamChat } from '@/lib/chat/chat'
11
+ import { hmrSingleton } from '@/lib/shared-utils'
11
12
  import type { Agent, Message, Session, SSEEvent } from '@/types'
12
13
  import { INTERNAL_KEY_RE, stripAllInternalMetadata } from '@/lib/strip-internal-metadata'
13
14
 
@@ -20,7 +21,7 @@ interface Props {
20
21
  const BUBBLE_W = 320
21
22
 
22
23
  /** Client-side cache: agentId → sessionId, avoids redundant POST on reopen */
23
- const sessionCache = new Map<string, string>()
24
+ const sessionCache = hmrSingleton('miniChatBubble_sessionCache', () => new Map<string, string>())
24
25
 
25
26
  const UUID_RE = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i
26
27