@cubos/agent-sdk 0.0.1151293 → 0.0.1152175

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/mapping.d.ts CHANGED
@@ -41,6 +41,9 @@ export interface WireEvent {
41
41
  tentative: boolean;
42
42
  discarded_at: string | null;
43
43
  created_at: string;
44
+ /** When the sender sent it, for a channel message that carries a timestamp;
45
+ * null otherwise, and absent on older servers. */
46
+ sent_at?: string | null;
44
47
  /** Absent on older servers and on the many event types that never carry
45
48
  * media, so it is read defensively rather than required. */
46
49
  attachments?: WireAttachment[];
package/dist/types.d.ts CHANGED
@@ -87,6 +87,9 @@ export interface Message {
87
87
  transcribed?: boolean;
88
88
  /** Per-conversation ordering. Stable across reconnects. */
89
89
  seq: number;
90
+ /** When the message was said: the channel's own send time when it carries
91
+ * one (WhatsApp), else when the server recorded it. Order by `seq`, not by
92
+ * this — a message recovered after an outage is older than what precedes it. */
90
93
  at: string;
91
94
  /** The agent's reply split into renderable segments — present on agent
92
95
  * messages only. Plain prose is a single `markdown` block, so a client that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1151293",
3
+ "version": "0.0.1152175",
4
4
  "type": "module",
5
5
  "description": "Client for the Cubos Agent conversation API. Runs anywhere fetch does.",
6
6
  "license": "SEE LICENSE IN LICENSE",