@alfe.ai/openclaw-chat 0.5.0 → 0.6.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/dist/index.d.cts CHANGED
@@ -57,8 +57,24 @@ interface SessionData {
57
57
  createdAt: string;
58
58
  updatedAt: string;
59
59
  messages: ChatMessage[];
60
- /** Absent on session files written before activity persistence shipped. */
60
+ /**
61
+ * Fallback activity records (see appendActivity). The PRIMARY history
62
+ * source is OpenClaw's own session transcript (transcript-activity.ts) —
63
+ * these records serve conversations whose transcript is missing
64
+ * (deleted / rotated / compacted). Absent on pre-persistence files.
65
+ */
61
66
  activity?: ChatActivityRecord[];
67
+ /**
68
+ * OpenClaw route(s) this conversation dispatched through, captured per
69
+ * turn — the exact transcript lookup keys for transcript-backed history.
70
+ * Multiple entries occur for group conversations (per-peer dm scope
71
+ * yields one OpenClaw session per sender). Absent on old files (the
72
+ * transcript index `:conv:` scan covers those retroactively).
73
+ */
74
+ routes?: {
75
+ sessionKey: string;
76
+ storePath: string;
77
+ }[];
62
78
  }
63
79
  interface SessionSummary {
64
80
  sessionId: string;
package/dist/index.d.ts CHANGED
@@ -57,8 +57,24 @@ interface SessionData {
57
57
  createdAt: string;
58
58
  updatedAt: string;
59
59
  messages: ChatMessage[];
60
- /** Absent on session files written before activity persistence shipped. */
60
+ /**
61
+ * Fallback activity records (see appendActivity). The PRIMARY history
62
+ * source is OpenClaw's own session transcript (transcript-activity.ts) —
63
+ * these records serve conversations whose transcript is missing
64
+ * (deleted / rotated / compacted). Absent on pre-persistence files.
65
+ */
61
66
  activity?: ChatActivityRecord[];
67
+ /**
68
+ * OpenClaw route(s) this conversation dispatched through, captured per
69
+ * turn — the exact transcript lookup keys for transcript-backed history.
70
+ * Multiple entries occur for group conversations (per-peer dm scope
71
+ * yields one OpenClaw session per sender). Absent on old files (the
72
+ * transcript index `:conv:` scan covers those retroactively).
73
+ */
74
+ routes?: {
75
+ sessionKey: string;
76
+ storePath: string;
77
+ }[];
62
78
  }
63
79
  interface SessionSummary {
64
80
  sessionId: string;