@alfe.ai/openclaw-chat 0.6.0 → 0.6.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.
package/dist/index.d.cts CHANGED
@@ -11,6 +11,10 @@ import { _ as AlfeResolvedAccount, g as AlfePluginConfig, h as AlfeChannelConfig
11
11
  * Each session file contains metadata and the full message history.
12
12
  * Sessions are written on every message to ensure durability.
13
13
  * Old sessions are cleaned up automatically (30-day TTL, 1000 max).
14
+ *
15
+ * NOTE: the storage path and SessionData shape are a read contract —
16
+ * packages/openclaw-memory-cloud/src/session-backfill.ts reads these files
17
+ * directly (the memory plugin can't depend on this package). Keep in sync.
14
18
  */
15
19
  interface ChatMessage {
16
20
  role: 'user' | 'assistant';
package/dist/index.d.ts CHANGED
@@ -11,6 +11,10 @@ import { _ as AlfeResolvedAccount, g as AlfePluginConfig, h as AlfeChannelConfig
11
11
  * Each session file contains metadata and the full message history.
12
12
  * Sessions are written on every message to ensure durability.
13
13
  * Old sessions are cleaned up automatically (30-day TTL, 1000 max).
14
+ *
15
+ * NOTE: the storage path and SessionData shape are a read contract —
16
+ * packages/openclaw-memory-cloud/src/session-backfill.ts reads these files
17
+ * directly (the memory plugin can't depend on this package). Keep in sync.
14
18
  */
15
19
  interface ChatMessage {
16
20
  role: 'user' | 'assistant';
package/dist/plugin2.cjs CHANGED
@@ -250,6 +250,10 @@ function extractChannelMode(conversationId, fallback = "chat") {
250
250
  * Each session file contains metadata and the full message history.
251
251
  * Sessions are written on every message to ensure durability.
252
252
  * Old sessions are cleaned up automatically (30-day TTL, 1000 max).
253
+ *
254
+ * NOTE: the storage path and SessionData shape are a read contract —
255
+ * packages/openclaw-memory-cloud/src/session-backfill.ts reads these files
256
+ * directly (the memory plugin can't depend on this package). Keep in sync.
253
257
  */
254
258
  const SESSIONS_DIR = (0, node_path.join)((0, node_os.homedir)(), ".alfe", "sessions", "chat");
255
259
  const MAX_SESSIONS = 1e3;
package/dist/plugin2.js CHANGED
@@ -250,6 +250,10 @@ function extractChannelMode(conversationId, fallback = "chat") {
250
250
  * Each session file contains metadata and the full message history.
251
251
  * Sessions are written on every message to ensure durability.
252
252
  * Old sessions are cleaned up automatically (30-day TTL, 1000 max).
253
+ *
254
+ * NOTE: the storage path and SessionData shape are a read contract —
255
+ * packages/openclaw-memory-cloud/src/session-backfill.ts reads these files
256
+ * directly (the memory plugin can't depend on this package). Keep in sync.
253
257
  */
254
258
  const SESSIONS_DIR = join(homedir(), ".alfe", "sessions", "chat");
255
259
  const MAX_SESSIONS = 1e3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw-chat",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "OpenClaw chat plugin for Alfe — web widget and mobile app channels",
5
5
  "type": "module",
6
6
  "main": "./dist/plugin.js",
@@ -27,7 +27,7 @@
27
27
  "openclaw.plugin.json"
28
28
  ],
29
29
  "dependencies": {
30
- "@alfe.ai/agent-api-client": "^0.5.0",
30
+ "@alfe.ai/agent-api-client": "^0.6.0",
31
31
  "@alfe.ai/chat": "^0.0.14",
32
32
  "@alfe.ai/config": "^0.3.0"
33
33
  },