@salsita-ai/contracts 0.50.0-develop.a926ccd94f → 0.50.0-develop.aabb56df09

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,17 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
3
  * Metadata the assistant chat client attaches to each user message (AG-UI message `metadata`). It is
4
- * persisted with the message, and the server shows `sentAt` to the model next to the message so the
5
- * model knows when each message was written — the seed of the per-turn history diff.
4
+ * persisted with the message, and the server shows `changes` to the model in front of the message, so
5
+ * the model knows what the user did in the configurator since it last acted.
6
6
  */
7
7
  export interface AssistantMessageMetadata {
8
- /** Client send time of the user message, as an ISO 8601 timestamp with offset. */
9
- readonly sentAt: string;
8
+ /** The change record since the agent's previous action: a marker or a diff, as the assistant prompt describes it. */
9
+ readonly changes: string;
10
10
  }
11
11
  export declare const AssistantMessageMetadata: z.ZodObject<{
12
- sentAt: z.ZodString;
12
+ changes: z.ZodString;
13
13
  }, "strip", z.ZodTypeAny, {
14
- sentAt: string;
14
+ changes: string;
15
15
  }, {
16
- sentAt: string;
16
+ changes: string;
17
17
  }>;
@@ -1 +1 @@
1
- import{z as t}from"zod";export const AssistantMessageMetadata=t.object({sentAt:t.string().datetime({offset:!0})});
1
+ import{z as t}from"zod";export const AssistantMessageMetadata=t.object({changes:t.string()});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salsita-ai/contracts",
3
- "version": "0.50.0-develop.a926ccd94f",
3
+ "version": "0.50.0-develop.aabb56df09",
4
4
  "description": "Shared API, authentication, domain, chat, and webhook contracts for Phoenix.",
5
5
  "keywords": [
6
6
  "salsita",
@@ -56,7 +56,7 @@
56
56
  "uuid": "14.0.0",
57
57
  "valid-url": "1.0.9",
58
58
  "zod": "3.25.76",
59
- "@salsita-ai/common": "0.50.0-develop.a926ccd94f"
59
+ "@salsita-ai/common": "0.50.0-develop.aabb56df09"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@lingui/core": "5.9.5",