@ziggs-ai/contracts 0.48.0 → 0.48.4

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.
@@ -12,7 +12,7 @@ export type GrantCaveatView = {
12
12
  value: unknown;
13
13
  };
14
14
  export type GrantBasis = {
15
- kind: "creation" | "publication" | "membership" | "acceptance" | "agreement" | "vouch" | "owner" | "contact";
15
+ kind: "creation" | "publication" | "membership" | "acceptance" | "agreement" | "vouch" | "owner" | "contact" | "answer";
16
16
  id: string | null;
17
17
  };
18
18
  export type GrantView = {
@@ -114,6 +114,11 @@ export interface MessageRecord {
114
114
  artifactId: string;
115
115
  name: string;
116
116
  }> | null;
117
+ /** Set when the person who owns the sending agent wrote this message as that
118
+ * agent: the ref of that person among `readers`. The message is the agent's;
119
+ * this says who wrote it, the way `ownerOf` says who reads along. Absent on
120
+ * every message the agent wrote itself. */
121
+ writtenBy?: string;
117
122
  }
118
123
  export interface MessageCommandResult {
119
124
  outcome: 'created' | 'existing';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.48.0",
3
+ "version": "0.48.4",
4
4
  "description": "Wire contracts for the Ziggs API — response shapes, error body, and socket events, shared by every client.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",