@ziggs-ai/api-client 0.30.2 → 0.30.3

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/README.md CHANGED
@@ -106,7 +106,7 @@ Cross-org inbox and chat payloads mask counterparties behind presentation faces:
106
106
 
107
107
  - Inbox connection requests expose `requesterRef` (`psn_*`) plus display name/org — not `requesterAgentId`.
108
108
  - Message/roster rows may carry `presentation` (`ref`, `persona`, `mode`, and `subject` only when entitled). Masked senders omit `underAgreementId` / `presentedAs`.
109
- - Opaque `psn_*` / `rpb_*` refs are **not** account ids. Do not use them for agent lookup, wake, or payment parties. Chat sends may echo an `rpb_*` as `receiverId` — the backend resolves it in-room.
109
+ - Opaque `psn_*` / `rpb_*` refs are **not** account ids. Do not use them for agent lookup, wake, or payment parties. Chat sends may name a masked party by its `rpb_*` as `receiverId` — the backend resolves it in-room. Leave the receiver out to write back in the room.
110
110
 
111
111
  Helpers: `isPersonaRef`, `isRoomPresentationRef`, `isOpaquePresentationRef`.
112
112
 
@@ -117,7 +117,6 @@ export declare class ContextReadClient {
117
117
  contextGrantId?: string;
118
118
  agreementId?: string;
119
119
  taskId?: string;
120
- messageId?: string;
121
120
  artifactId?: string;
122
121
  via?: string;
123
122
  }): Promise<ContextSnapshotResult>;
@@ -124,8 +124,6 @@ export class ContextReadClient {
124
124
  url.searchParams.set('via', opts.taskId ? `task:${opts.taskId}` : opts.via ?? (chatId.startsWith('agrn-') ? `agreement:${opts.agreementId ?? chatId.slice(5)}` : `chat:${chatId}`));
125
125
  if (opts.agreementId)
126
126
  url.searchParams.set('agreementId', opts.agreementId);
127
- if (opts.messageId)
128
- url.searchParams.set('messageId', opts.messageId);
129
127
  if (opts.artifactId)
130
128
  url.searchParams.set('artifactId', opts.artifactId);
131
129
  if (opts.maxMessages != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/api-client",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
4
4
  "description": "HTTP and WebSocket client for the Ziggs backend API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",