@relaymessenger/mcp 0.1.7-staging.14 → 0.1.7-staging.16
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 +16 -0
- package/dist/generated-docs.d.ts.map +1 -1
- package/dist/generated-docs.js +125 -63
- package/dist/generated-docs.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +3 -2
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,6 +9,22 @@ Local MCP v2 stdio server with exactly two tools:
|
|
|
9
9
|
|
|
10
10
|
There is no `talk` tool and no per-operation `relay_*` tool list.
|
|
11
11
|
|
|
12
|
+
## Selection, coming soon
|
|
13
|
+
|
|
14
|
+
These are local candidate sources, not a claim that the published package or
|
|
15
|
+
hosted API supports selection yet.
|
|
16
|
+
|
|
17
|
+
Use `search_docs` with query `selection` and verbose detail, then `execute`
|
|
18
|
+
with the SDK message-send method and ordered text/selection parts. Incoming
|
|
19
|
+
Message and event results retain `selected_values` and `reply_to`.
|
|
20
|
+
|
|
21
|
+
New human reply text is literal `• ` + each selected source label joined with
|
|
22
|
+
`\n`, followed by `selection_response` metadata in source-option order. Dispatch
|
|
23
|
+
with `selected_values` and the explicit source target, never label parsing.
|
|
24
|
+
Exact legacy comma-joined text remains a server compatibility input. Tapping a
|
|
25
|
+
selected option deselects it locally; the sole submit action is a centered
|
|
26
|
+
compact light-blue Send button. iOS checked circles are presentation only.
|
|
27
|
+
|
|
12
28
|
## Start
|
|
13
29
|
|
|
14
30
|
Requires Node.js 22.22.3 or newer.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-docs.d.ts","sourceRoot":"","sources":["../src/generated-docs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,SAAS,SAAS,
|
|
1
|
+
{"version":3,"file":"generated-docs.d.ts","sourceRoot":"","sources":["../src/generated-docs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,SAAS,SAAS,EA40C3C,CAAC"}
|
package/dist/generated-docs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const DOCS_SOURCE = {
|
|
2
|
-
"contract": "
|
|
3
|
-
"client": "
|
|
4
|
-
"types": "
|
|
2
|
+
"contract": "503646bcd2b3fbc1170046880ef39f4219592fb9e5d9d00cef022b801abbb4bb",
|
|
3
|
+
"client": "5ab7e7362a137e5d5714ae64c626f8fe1ceaeb6a772dfab67d3b8b4648b43d2f",
|
|
4
|
+
"types": "1c20522a5232711612d4c3a5f61f46e8876544a24beecc39dcd90fc4b7248c2c"
|
|
5
5
|
};
|
|
6
6
|
export const METHOD_DOCS = [
|
|
7
7
|
{
|
|
@@ -188,15 +188,16 @@ export const METHOD_DOCS = [
|
|
|
188
188
|
"path": "/v1/chats/{chatId}/calls",
|
|
189
189
|
"operationId": "createCall",
|
|
190
190
|
"summary": "Start an individual call",
|
|
191
|
-
"description": "Start an audio Call in an existing individual Chat containing one user and one agent. The caller comes from authentication. The user must have added the agent; sending or replying to a Message establishes that relationship. A block in either direction prevents the call. A group Chat is rejected even when it has only two current members. Reuse the same Idempotency-Key and body after an uncertain response. Relay
|
|
191
|
+
"description": "Start an audio Call in an existing individual Chat containing exactly one user and one agent. The caller comes from authentication. The user must have added the agent; sending or replying to a Message establishes that relationship. A block in either direction prevents the call. A group Chat is rejected even when it has only two current members. Reuse the same Idempotency-Key and body after an uncertain response. Relay emits `call.created` through the agent's configured event transport. Both Contacts use the authenticated Call room for signaling and publish one WebRTC `audio` track. The callee answers by sending `join` within the 10-second ring lease; silence ends `no-answer`. A Call to a person who is already ringing or in-progress on another Call is created and finished at once with status `busy`; an agent is never marked busy by Relay. An answered Call has no duration limit.",
|
|
192
192
|
"definitions": [
|
|
193
193
|
"export interface CallCreateParams {\n to: [string];\n mode: \"audio\";\n}",
|
|
194
194
|
"export interface CallCreateOptions extends RequestOptions {\n /** Reuse this key and request after an uncertain response. */\n idempotencyKey: string;\n}",
|
|
195
195
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
196
196
|
"export interface CallResponse {\n call: Call;\n}",
|
|
197
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
197
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
198
198
|
"export type UUID = string;",
|
|
199
|
-
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}"
|
|
199
|
+
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
200
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";"
|
|
200
201
|
],
|
|
201
202
|
"requestBody": {
|
|
202
203
|
"required": true,
|
|
@@ -222,13 +223,14 @@ export const METHOD_DOCS = [
|
|
|
222
223
|
"path": "/v1/calls/{callId}/end",
|
|
223
224
|
"operationId": "endCall",
|
|
224
225
|
"summary": "End a call",
|
|
225
|
-
"description": "Either Contact ends the Call. A ringing Call ends canceled when its caller ends it and no-answer when its recipient does; an answered Call ends completed.
|
|
226
|
+
"description": "Either Contact ends the Call. A ringing Call ends canceled when its caller ends it and no-answer when its recipient does; an answered Call ends completed. A participant may also send `end` over its authenticated Call room. Cleanup remains available after a block or removal. Repeated terminal actions never restart the Call.",
|
|
226
227
|
"definitions": [
|
|
227
228
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
228
229
|
"export interface CallResponse {\n call: Call;\n}",
|
|
229
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
230
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
230
231
|
"export type UUID = string;",
|
|
231
|
-
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}"
|
|
232
|
+
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
233
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";"
|
|
232
234
|
],
|
|
233
235
|
"requestBody": {
|
|
234
236
|
"required": true,
|
|
@@ -260,9 +262,10 @@ export const METHOD_DOCS = [
|
|
|
260
262
|
"export interface CallListParams {\n cursor?: string;\n limit?: number;\n}",
|
|
261
263
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
262
264
|
"export interface CallListResponse {\n calls: Call[];\n next_cursor: string | null;\n}",
|
|
263
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
265
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
264
266
|
"export type UUID = string;",
|
|
265
|
-
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}"
|
|
267
|
+
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
268
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";"
|
|
266
269
|
],
|
|
267
270
|
"requestBody": null,
|
|
268
271
|
"executable": true,
|
|
@@ -283,9 +286,10 @@ export const METHOD_DOCS = [
|
|
|
283
286
|
"definitions": [
|
|
284
287
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
285
288
|
"export interface CallResponse {\n call: Call;\n}",
|
|
286
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
289
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
287
290
|
"export type UUID = string;",
|
|
288
|
-
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}"
|
|
291
|
+
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
292
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";"
|
|
289
293
|
],
|
|
290
294
|
"requestBody": null,
|
|
291
295
|
"executable": true,
|
|
@@ -328,35 +332,40 @@ export const METHOD_DOCS = [
|
|
|
328
332
|
"definitions": [
|
|
329
333
|
"export interface ChatCreateParams {\n from: string;\n to: string[];\n message: MessageContent;\n}",
|
|
330
334
|
"export interface MessageContent {\n parts: MessagePart[];\n reply_to?: ReplyTo;\n idempotency_key?: string;\n /**\n * Send the Message with no banner and no sound on the recipient's device.\n * The Message still arrives, still counts as unread, and still moves the\n * Chat to the top of the list. Defaults to `false`.\n */\n silent?: boolean;\n}",
|
|
331
|
-
"export type MessagePart =\n | TextPart\n | MediaPart\n | LinkPart\n | ButtonsPart;",
|
|
335
|
+
"export type MessagePart =\n | TextPart\n | MediaPart\n | LinkPart\n | ButtonsPart\n | SelectionPart\n | SelectionResponsePart;",
|
|
332
336
|
"export interface TextPart {\n type: \"text\";\n value: string;\n mention?: string | null;\n mention_range?: [number, number] | null;\n}",
|
|
333
337
|
"export interface MediaPart {\n type: \"media\";\n url?: string;\n attachment_id?: UUID;\n}",
|
|
334
338
|
"export type UUID = string;",
|
|
335
339
|
"export interface LinkPart {\n type: \"link\";\n value: string;\n}",
|
|
336
340
|
"export interface ButtonsPart {\n type: \"buttons\";\n items: ButtonItem[];\n}",
|
|
337
341
|
"export interface ButtonItem {\n /** Link button: the tap opens this HTTPS URL instead of sending the label. */\n url?: string;\n /** The button's visible text, 1 to 80 characters, and what a tap sends. */\n label: string;\n}",
|
|
342
|
+
"export interface SelectionPart {\n type: \"selection\";\n /** Coming soon. Selected options toggle off locally; the sole submit action is a centered compact light-blue Send button. */\n options: SelectionOption[];\n}",
|
|
343
|
+
"export interface SelectionOption {\n /** Unique case-sensitive ASCII token, 1–100 characters. Never derived from label. */\n value: string;\n /** Trimmed visible label, 1–80 characters. */\n label: string;\n}",
|
|
344
|
+
"export interface SelectionResponsePart {\n type: \"selection_response\";\n /**\n * Unique known values, nonempty and in source-option order, authoritative with\n * reply_to. New preceding text is literal '• ' + each source label joined with\n * '\\n'. The server accepts exact legacy comma-joined labels for compatibility\n * only, never arbitrary label parsing. iOS checked circles are presentation;\n * portable text remains bullets. Coming soon.\n */\n selected_values: string[];\n}",
|
|
338
345
|
"export interface ReplyTo {\n message_id: UUID;\n part_index?: number;\n}",
|
|
339
346
|
"export interface Message {\n id: UUID;\n chat_id: UUID;\n from?: string | null;\n from_handle?: ChatHandle | null;\n parts?: MessagePartResponse[] | null;\n reply_to?: ReplyTo | null;\n is_system_message: boolean;\n system_event?: SystemEvent | null;\n is_from_me: boolean;\n delivery_status: DeliveryStatus;\n created_at: string;\n updated_at: string;\n sent_at?: string | null;\n delivered_at?: string | null;\n read_at?: string | null;\n /** When the Message was last edited, or null if it was never edited. */\n edited_at?: string | null;\n /**\n * When the sender unsent the Message, or null. An unsent Message keeps its\n * place in the transcript and carries no parts.\n */\n unsent_at?: string | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n deliveries?: MessageDelivery[];\n}",
|
|
340
347
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
341
348
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
342
349
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}",
|
|
343
|
-
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SystemPartResponse;",
|
|
350
|
+
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n | SystemPartResponse;",
|
|
344
351
|
"export interface TextPartResponse extends TextPart {\n mentions?: Array<{\n id: string;\n handle: string;\n is_me: boolean;\n range: [number, number];\n }> | null;\n /** @deprecated Use mentions instead. */\n mention?: string | null;\n /** @deprecated Use mentions instead. */\n mention_range?: [number, number] | null;\n reactions: Reaction[] | null;\n}",
|
|
345
352
|
"export interface MediaPartResponse {\n type: \"media\";\n id: UUID;\n url: string;\n filename: string;\n mime_type: string;\n size_bytes: number;\n duration_ms?: number | null;\n width?: number | null;\n height?: number | null;\n reactions: Reaction[] | null;\n}",
|
|
346
353
|
"export interface LinkPartResponse extends LinkPart {\n reactions: Reaction[] | null;\n}",
|
|
347
354
|
"export interface ButtonsPartResponse extends ButtonsPart {\n reactions: Reaction[] | null;\n}",
|
|
355
|
+
"export interface SelectionPartResponse extends SelectionPart {\n /** Durable response state for this viewer across devices. Existing Chat rules allow at most one human user; only that user can respond. */\n readonly has_responded: boolean;\n reactions: null;\n}",
|
|
356
|
+
"export interface SelectionResponsePartResponse extends SelectionResponsePart {}",
|
|
348
357
|
"export interface SystemPartResponse {\n type: \"system\";\n value: string;\n reactions: null;\n}",
|
|
349
358
|
"export interface SystemEvent {\n type: SystemEventType;\n actor: SystemEventParty;\n subject: SystemEventParty | null;\n value: string | null;\n icon_attachment_id: UUID | null;\n contact_card: ContactCardItem | null;\n call: CallMarker | null;\n}",
|
|
350
359
|
"export type SystemEventType =\n | \"chat_created\"\n | \"participant_added\"\n | \"participant_removed\"\n | \"group_name_updated\"\n | \"group_icon_updated\"\n | \"contact_card_shared\"\n | \"call\";",
|
|
351
360
|
"export interface SystemEventParty {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
352
|
-
"export interface ContactCardItem {\n
|
|
361
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}",
|
|
353
362
|
"export interface CallMarker {\n id: UUID;\n mode: \"audio\";\n status: Call[\"status\"];\n answered_at: string | null;\n ended_at: string | null;\n from: CallContact;\n to: [CallContact];\n duration_seconds: number | null;\n}",
|
|
354
363
|
"export type DeliveryStatus =\n | \"sent\"\n | \"delivered\"\n | \"read\";",
|
|
355
364
|
"export interface MessageDelivery {\n contact: ChatHandle;\n delivered_at: string | null;\n read_at: string | null;\n}",
|
|
356
365
|
"export interface Chat {\n id: UUID;\n display_name: string | null;\n group_chat_icon?: string | null;\n handles: ChatHandle[];\n is_group: boolean;\n /**\n * The caller's side of a message request on this Chat: `pending` while a\n * sender with no Contact edge to the caller wrote to them and they have not\n * answered, `accepted` or `deleted` once they have. Absent when the caller\n * was never asked; an agent never is.\n */\n created_at: string;\n updated_at: string;\n}",
|
|
357
366
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
358
367
|
"export interface ChatCreateResponse {\n chat: Pick<\n Chat,\n \"id\" | \"display_name\" | \"is_group\" | \"handles\"\n > & { message: SentMessage };\n}",
|
|
359
|
-
"export interface SentMessage {\n id: UUID;\n parts: Array<\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n >;\n created_at: string;\n sent_at: string | null;\n delivered_at?: string | null;\n delivery_status: DeliveryStatus;\n from_handle?: ChatHandle | null;\n reply_to?: ReplyTo | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n is_system_message: false;\n}"
|
|
368
|
+
"export interface SentMessage {\n id: UUID;\n parts: Array<\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n >;\n created_at: string;\n sent_at: string | null;\n delivered_at?: string | null;\n delivery_status: DeliveryStatus;\n from_handle?: ChatHandle | null;\n reply_to?: ReplyTo | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n is_system_message: false;\n}"
|
|
360
369
|
],
|
|
361
370
|
"requestBody": {
|
|
362
371
|
"required": true,
|
|
@@ -432,7 +441,7 @@ export const METHOD_DOCS = [
|
|
|
432
441
|
"export type UUID = string;",
|
|
433
442
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
434
443
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
435
|
-
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n
|
|
444
|
+
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n verified: boolean;\n /** True when the caller holds this Handle as a Contact. */\n is_contact: boolean;\n activity_version?: string;\n activity?: ChatActivity | null;\n}",
|
|
436
445
|
"export interface ChatActivity {\n id: UUID;\n text: string;\n emoji: string | null;\n updated_at: string;\n expires_at: string;\n}",
|
|
437
446
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}"
|
|
438
447
|
],
|
|
@@ -479,10 +488,10 @@ export const METHOD_DOCS = [
|
|
|
479
488
|
"export type UUID = string;",
|
|
480
489
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
481
490
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
482
|
-
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n
|
|
491
|
+
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n verified: boolean;\n /** True when the caller holds this Handle as a Contact. */\n is_contact: boolean;\n activity_version?: string;\n activity?: ChatActivity | null;\n}",
|
|
483
492
|
"export interface ChatActivity {\n id: UUID;\n text: string;\n emoji: string | null;\n updated_at: string;\n expires_at: string;\n}",
|
|
484
493
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}",
|
|
485
|
-
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SystemPartResponse;",
|
|
494
|
+
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n | SystemPartResponse;",
|
|
486
495
|
"export interface TextPartResponse extends TextPart {\n mentions?: Array<{\n id: string;\n handle: string;\n is_me: boolean;\n range: [number, number];\n }> | null;\n /** @deprecated Use mentions instead. */\n mention?: string | null;\n /** @deprecated Use mentions instead. */\n mention_range?: [number, number] | null;\n reactions: Reaction[] | null;\n}",
|
|
487
496
|
"export interface TextPart {\n type: \"text\";\n value: string;\n mention?: string | null;\n mention_range?: [number, number] | null;\n}",
|
|
488
497
|
"export interface Reaction {\n is_me: boolean;\n handle: ChatHandle;\n type: ReactionType;\n custom_emoji?: string | null;\n}",
|
|
@@ -493,15 +502,22 @@ export const METHOD_DOCS = [
|
|
|
493
502
|
"export interface ButtonsPartResponse extends ButtonsPart {\n reactions: Reaction[] | null;\n}",
|
|
494
503
|
"export interface ButtonsPart {\n type: \"buttons\";\n items: ButtonItem[];\n}",
|
|
495
504
|
"export interface ButtonItem {\n /** Link button: the tap opens this HTTPS URL instead of sending the label. */\n url?: string;\n /** The button's visible text, 1 to 80 characters, and what a tap sends. */\n label: string;\n}",
|
|
505
|
+
"export interface SelectionPartResponse extends SelectionPart {\n /** Durable response state for this viewer across devices. Existing Chat rules allow at most one human user; only that user can respond. */\n readonly has_responded: boolean;\n reactions: null;\n}",
|
|
506
|
+
"export interface SelectionPart {\n type: \"selection\";\n /** Coming soon. Selected options toggle off locally; the sole submit action is a centered compact light-blue Send button. */\n options: SelectionOption[];\n}",
|
|
507
|
+
"export interface SelectionOption {\n /** Unique case-sensitive ASCII token, 1–100 characters. Never derived from label. */\n value: string;\n /** Trimmed visible label, 1–80 characters. */\n label: string;\n}",
|
|
508
|
+
"export interface Chat {\n id: UUID;\n display_name: string | null;\n group_chat_icon?: string | null;\n handles: ChatHandle[];\n is_group: boolean;\n /**\n * The caller's side of a message request on this Chat: `pending` while a\n * sender with no Contact edge to the caller wrote to them and they have not\n * answered, `accepted` or `deleted` once they have. Absent when the caller\n * was never asked; an agent never is.\n */\n created_at: string;\n updated_at: string;\n}",
|
|
509
|
+
"export interface SelectionResponsePartResponse extends SelectionResponsePart {}",
|
|
510
|
+
"export interface SelectionResponsePart {\n type: \"selection_response\";\n /**\n * Unique known values, nonempty and in source-option order, authoritative with\n * reply_to. New preceding text is literal '• ' + each source label joined with\n * '\\n'. The server accepts exact legacy comma-joined labels for compatibility\n * only, never arbitrary label parsing. iOS checked circles are presentation;\n * portable text remains bullets. Coming soon.\n */\n selected_values: string[];\n}",
|
|
496
511
|
"export interface SystemPartResponse {\n type: \"system\";\n value: string;\n reactions: null;\n}",
|
|
497
512
|
"export interface ReplyTo {\n message_id: UUID;\n part_index?: number;\n}",
|
|
498
513
|
"export interface SystemEvent {\n type: SystemEventType;\n actor: SystemEventParty;\n subject: SystemEventParty | null;\n value: string | null;\n icon_attachment_id: UUID | null;\n contact_card: ContactCardItem | null;\n call: CallMarker | null;\n}",
|
|
499
514
|
"export type SystemEventType =\n | \"chat_created\"\n | \"participant_added\"\n | \"participant_removed\"\n | \"group_name_updated\"\n | \"group_icon_updated\"\n | \"contact_card_shared\"\n | \"call\";",
|
|
500
515
|
"export interface SystemEventParty {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
501
|
-
"export interface ContactCardItem {\n
|
|
516
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}",
|
|
502
517
|
"export interface CallMarker {\n id: UUID;\n mode: \"audio\";\n status: Call[\"status\"];\n answered_at: string | null;\n ended_at: string | null;\n from: CallContact;\n to: [CallContact];\n duration_seconds: number | null;\n}",
|
|
503
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
518
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
504
519
|
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
520
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";",
|
|
505
521
|
"export type DeliveryStatus =\n | \"sent\"\n | \"delivered\"\n | \"read\";",
|
|
506
522
|
"export interface MessageDelivery {\n contact: ChatHandle;\n delivered_at: string | null;\n read_at: string | null;\n}"
|
|
507
523
|
],
|
|
@@ -525,35 +541,40 @@ export const METHOD_DOCS = [
|
|
|
525
541
|
"definitions": [
|
|
526
542
|
"export interface MessageSendParams {\n message: MessageContent;\n}",
|
|
527
543
|
"export interface MessageContent {\n parts: MessagePart[];\n reply_to?: ReplyTo;\n idempotency_key?: string;\n /**\n * Send the Message with no banner and no sound on the recipient's device.\n * The Message still arrives, still counts as unread, and still moves the\n * Chat to the top of the list. Defaults to `false`.\n */\n silent?: boolean;\n}",
|
|
528
|
-
"export type MessagePart =\n | TextPart\n | MediaPart\n | LinkPart\n | ButtonsPart;",
|
|
544
|
+
"export type MessagePart =\n | TextPart\n | MediaPart\n | LinkPart\n | ButtonsPart\n | SelectionPart\n | SelectionResponsePart;",
|
|
529
545
|
"export interface TextPart {\n type: \"text\";\n value: string;\n mention?: string | null;\n mention_range?: [number, number] | null;\n}",
|
|
530
546
|
"export interface MediaPart {\n type: \"media\";\n url?: string;\n attachment_id?: UUID;\n}",
|
|
531
547
|
"export type UUID = string;",
|
|
532
548
|
"export interface LinkPart {\n type: \"link\";\n value: string;\n}",
|
|
533
549
|
"export interface ButtonsPart {\n type: \"buttons\";\n items: ButtonItem[];\n}",
|
|
534
550
|
"export interface ButtonItem {\n /** Link button: the tap opens this HTTPS URL instead of sending the label. */\n url?: string;\n /** The button's visible text, 1 to 80 characters, and what a tap sends. */\n label: string;\n}",
|
|
551
|
+
"export interface SelectionPart {\n type: \"selection\";\n /** Coming soon. Selected options toggle off locally; the sole submit action is a centered compact light-blue Send button. */\n options: SelectionOption[];\n}",
|
|
552
|
+
"export interface SelectionOption {\n /** Unique case-sensitive ASCII token, 1–100 characters. Never derived from label. */\n value: string;\n /** Trimmed visible label, 1–80 characters. */\n label: string;\n}",
|
|
553
|
+
"export interface SelectionResponsePart {\n type: \"selection_response\";\n /**\n * Unique known values, nonempty and in source-option order, authoritative with\n * reply_to. New preceding text is literal '• ' + each source label joined with\n * '\\n'. The server accepts exact legacy comma-joined labels for compatibility\n * only, never arbitrary label parsing. iOS checked circles are presentation;\n * portable text remains bullets. Coming soon.\n */\n selected_values: string[];\n}",
|
|
535
554
|
"export interface ReplyTo {\n message_id: UUID;\n part_index?: number;\n}",
|
|
536
555
|
"export interface Message {\n id: UUID;\n chat_id: UUID;\n from?: string | null;\n from_handle?: ChatHandle | null;\n parts?: MessagePartResponse[] | null;\n reply_to?: ReplyTo | null;\n is_system_message: boolean;\n system_event?: SystemEvent | null;\n is_from_me: boolean;\n delivery_status: DeliveryStatus;\n created_at: string;\n updated_at: string;\n sent_at?: string | null;\n delivered_at?: string | null;\n read_at?: string | null;\n /** When the Message was last edited, or null if it was never edited. */\n edited_at?: string | null;\n /**\n * When the sender unsent the Message, or null. An unsent Message keeps its\n * place in the transcript and carries no parts.\n */\n unsent_at?: string | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n deliveries?: MessageDelivery[];\n}",
|
|
537
556
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
538
557
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
539
558
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}",
|
|
540
|
-
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SystemPartResponse;",
|
|
559
|
+
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n | SystemPartResponse;",
|
|
541
560
|
"export interface TextPartResponse extends TextPart {\n mentions?: Array<{\n id: string;\n handle: string;\n is_me: boolean;\n range: [number, number];\n }> | null;\n /** @deprecated Use mentions instead. */\n mention?: string | null;\n /** @deprecated Use mentions instead. */\n mention_range?: [number, number] | null;\n reactions: Reaction[] | null;\n}",
|
|
542
561
|
"export interface MediaPartResponse {\n type: \"media\";\n id: UUID;\n url: string;\n filename: string;\n mime_type: string;\n size_bytes: number;\n duration_ms?: number | null;\n width?: number | null;\n height?: number | null;\n reactions: Reaction[] | null;\n}",
|
|
543
562
|
"export interface LinkPartResponse extends LinkPart {\n reactions: Reaction[] | null;\n}",
|
|
544
563
|
"export interface ButtonsPartResponse extends ButtonsPart {\n reactions: Reaction[] | null;\n}",
|
|
564
|
+
"export interface SelectionPartResponse extends SelectionPart {\n /** Durable response state for this viewer across devices. Existing Chat rules allow at most one human user; only that user can respond. */\n readonly has_responded: boolean;\n reactions: null;\n}",
|
|
565
|
+
"export interface SelectionResponsePartResponse extends SelectionResponsePart {}",
|
|
545
566
|
"export interface SystemPartResponse {\n type: \"system\";\n value: string;\n reactions: null;\n}",
|
|
546
567
|
"export interface SystemEvent {\n type: SystemEventType;\n actor: SystemEventParty;\n subject: SystemEventParty | null;\n value: string | null;\n icon_attachment_id: UUID | null;\n contact_card: ContactCardItem | null;\n call: CallMarker | null;\n}",
|
|
547
568
|
"export type SystemEventType =\n | \"chat_created\"\n | \"participant_added\"\n | \"participant_removed\"\n | \"group_name_updated\"\n | \"group_icon_updated\"\n | \"contact_card_shared\"\n | \"call\";",
|
|
548
569
|
"export interface SystemEventParty {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
549
|
-
"export interface ContactCardItem {\n
|
|
570
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}",
|
|
550
571
|
"export interface CallMarker {\n id: UUID;\n mode: \"audio\";\n status: Call[\"status\"];\n answered_at: string | null;\n ended_at: string | null;\n from: CallContact;\n to: [CallContact];\n duration_seconds: number | null;\n}",
|
|
551
572
|
"export type DeliveryStatus =\n | \"sent\"\n | \"delivered\"\n | \"read\";",
|
|
552
573
|
"export interface MessageDelivery {\n contact: ChatHandle;\n delivered_at: string | null;\n read_at: string | null;\n}",
|
|
553
574
|
"export interface Chat {\n id: UUID;\n display_name: string | null;\n group_chat_icon?: string | null;\n handles: ChatHandle[];\n is_group: boolean;\n /**\n * The caller's side of a message request on this Chat: `pending` while a\n * sender with no Contact edge to the caller wrote to them and they have not\n * answered, `accepted` or `deleted` once they have. Absent when the caller\n * was never asked; an agent never is.\n */\n created_at: string;\n updated_at: string;\n}",
|
|
554
575
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
555
576
|
"export interface MessageSendResponse {\n chat_id: UUID;\n message: SentMessage;\n}",
|
|
556
|
-
"export interface SentMessage {\n id: UUID;\n parts: Array<\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n >;\n created_at: string;\n sent_at: string | null;\n delivered_at?: string | null;\n delivery_status: DeliveryStatus;\n from_handle?: ChatHandle | null;\n reply_to?: ReplyTo | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n is_system_message: false;\n}"
|
|
577
|
+
"export interface SentMessage {\n id: UUID;\n parts: Array<\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n >;\n created_at: string;\n sent_at: string | null;\n delivered_at?: string | null;\n delivery_status: DeliveryStatus;\n from_handle?: ChatHandle | null;\n reply_to?: ReplyTo | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n is_system_message: false;\n}"
|
|
557
578
|
],
|
|
558
579
|
"requestBody": {
|
|
559
580
|
"required": true,
|
|
@@ -648,7 +669,7 @@ export const METHOD_DOCS = [
|
|
|
648
669
|
"export type UUID = string;",
|
|
649
670
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
650
671
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
651
|
-
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n
|
|
672
|
+
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n verified: boolean;\n /** True when the caller holds this Handle as a Contact. */\n is_contact: boolean;\n activity_version?: string;\n activity?: ChatActivity | null;\n}",
|
|
652
673
|
"export interface ChatActivity {\n id: UUID;\n text: string;\n emoji: string | null;\n updated_at: string;\n expires_at: string;\n}",
|
|
653
674
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}"
|
|
654
675
|
],
|
|
@@ -677,7 +698,7 @@ export const METHOD_DOCS = [
|
|
|
677
698
|
"export interface VoiceMemoAttachment {\n id: UUID;\n url: string;\n filename: string;\n mime_type: string;\n size_bytes: number;\n duration_ms?: number | null;\n /** Pixel width when known. Width and height are supplied together. */\n width?: number | null;\n /** Pixel height when known. Width and height are supplied together. */\n height?: number | null;\n}",
|
|
678
699
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
679
700
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
680
|
-
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n
|
|
701
|
+
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n verified: boolean;\n /** True when the caller holds this Handle as a Contact. */\n is_contact: boolean;\n activity_version?: string;\n activity?: ChatActivity | null;\n}",
|
|
681
702
|
"export interface ChatActivity {\n id: UUID;\n text: string;\n emoji: string | null;\n updated_at: string;\n expires_at: string;\n}",
|
|
682
703
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}"
|
|
683
704
|
],
|
|
@@ -840,7 +861,7 @@ export const METHOD_DOCS = [
|
|
|
840
861
|
"export interface AgentEmojiImageRecipe {\n recipe: { emoji: { emoji: string }; monogram?: never; image?: never };\n background: AgentImageBackground;\n}",
|
|
841
862
|
"export interface AgentPhotoImageRecipe {\n recipe: { image: Record<string, never>; monogram?: never; emoji?: never };\n background?: never;\n}",
|
|
842
863
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
843
|
-
"export interface ContactCardItem {\n
|
|
864
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}"
|
|
844
865
|
],
|
|
845
866
|
"requestBody": {
|
|
846
867
|
"required": true,
|
|
@@ -871,7 +892,7 @@ export const METHOD_DOCS = [
|
|
|
871
892
|
"export interface ContactCardRetrieveParams {\n handle?: string;\n}",
|
|
872
893
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
873
894
|
"export interface ContactCardRetrieveResponse {\n contact_cards: ContactCardItem[];\n}",
|
|
874
|
-
"export interface ContactCardItem {\n
|
|
895
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}"
|
|
875
896
|
],
|
|
876
897
|
"requestBody": null,
|
|
877
898
|
"executable": true,
|
|
@@ -890,7 +911,7 @@ export const METHOD_DOCS = [
|
|
|
890
911
|
"summary": "Update contact card",
|
|
891
912
|
"description": "Update the authenticated agent's Contact Card.",
|
|
892
913
|
"definitions": [
|
|
893
|
-
"export interface ContactCardUpdateParams {\n /** Server contract 3097dda: trimmed about text, 1 to 60 characters. */\n about?: string;\n
|
|
914
|
+
"export interface ContactCardUpdateParams {\n /** Server contract 3097dda: trimmed about text, 1 to 60 characters. */\n about?: string;\n handle: string;\n first_name?: string;\n last_name?: string | null;\n image_url?: string | null;\n /** Caller-owned completed image upload; mutually exclusive with image_url, including null. */\n attachment_id?: UUID;\n /** Existing redraw metadata; requires an image URL or completed upload. */\n image_recipe?: AgentImageRecipe;\n}",
|
|
894
915
|
"export type UUID = string;",
|
|
895
916
|
"export type AgentImageRecipe = AgentMonogramImageRecipe | AgentEmojiImageRecipe | AgentPhotoImageRecipe;",
|
|
896
917
|
"export interface AgentMonogramImageRecipe {\n recipe: { monogram: { initials: string }; emoji?: never; image?: never };\n background: AgentImageBackground;\n}",
|
|
@@ -899,7 +920,7 @@ export const METHOD_DOCS = [
|
|
|
899
920
|
"export interface AgentEmojiImageRecipe {\n recipe: { emoji: { emoji: string }; monogram?: never; image?: never };\n background: AgentImageBackground;\n}",
|
|
900
921
|
"export interface AgentPhotoImageRecipe {\n recipe: { image: Record<string, never>; monogram?: never; emoji?: never };\n background?: never;\n}",
|
|
901
922
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
902
|
-
"export interface ContactCardItem {\n
|
|
923
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}"
|
|
903
924
|
],
|
|
904
925
|
"requestBody": {
|
|
905
926
|
"required": true,
|
|
@@ -924,33 +945,55 @@ export const METHOD_DOCS = [
|
|
|
924
945
|
"httpMethod": "POST",
|
|
925
946
|
"path": "/v1/contacts/lookup",
|
|
926
947
|
"operationId": "lookupContact",
|
|
927
|
-
"summary": "Look up a contact by handle",
|
|
928
|
-
"description": "
|
|
948
|
+
"summary": "Look up a contact by handle or find agents by task",
|
|
949
|
+
"description": "Send a handle to look up one active contact: a person resolves agents; an agent resolves people and agents. Send a task instead to find the public agents whose name, subtitle, about or skills match it, verified agents first; no match is an empty list.",
|
|
929
950
|
"definitions": [
|
|
930
|
-
"export
|
|
951
|
+
"export type ContactLookupParams =\n /** Relay Handle, trimmed and lowercased by the Server before validation. */\n | { handle: string }\n /** What you need done, in plain words; at most 200 characters. */\n | { task: string };",
|
|
931
952
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
932
|
-
"export
|
|
933
|
-
"export interface ContactLookup {\n id: UUID;\n handle: string;\n display_name: string;\n kind: \"user\" | \"agent\";\n image_url: string | null;\n image_color: string | null;\n
|
|
934
|
-
"export type UUID = string;"
|
|
953
|
+
"export type ContactLookupResponse =\n | { contact: ContactLookup }\n | { contacts: ContactLookup[] };",
|
|
954
|
+
"export interface ContactLookup {\n id: UUID;\n handle: string;\n display_name: string;\n kind: \"user\" | \"agent\";\n image_url: string | null;\n image_color: string | null;\n verified: boolean;\n /** The agent's name. Agents only. */\n name?: string;\n /** The one line under the agent's name. Agents only. */\n subtitle?: string | null;\n /** The agent's paragraph. Agents only. */\n about?: string | null;\n /** Where the directory files the agent. Agents only. */\n category?: AgentCategory | null;\n /** What the agent does, at most ten skills. Agents only. */\n skills?: AgentSkill[];\n /** Whether the agent is listed in the directory. Agents only. */\n visibility?: AgentVisibility;\n}",
|
|
955
|
+
"export type UUID = string;",
|
|
956
|
+
"export type AgentCategory =\n | \"productivity\"\n | \"business\"\n | \"finance\"\n | \"shopping\"\n | \"travel\"\n | \"health-fitness\"\n | \"lifestyle\"\n | \"social\"\n | \"education\"\n | \"entertainment\"\n | \"utilities\"\n | \"developer-tools\";",
|
|
957
|
+
"export interface AgentSkill {\n id: string;\n name: string;\n description: string;\n tags: string[];\n examples: string[];\n}",
|
|
958
|
+
"export type AgentVisibility = \"public\" | \"unlisted\";"
|
|
935
959
|
],
|
|
936
960
|
"requestBody": {
|
|
937
961
|
"required": true,
|
|
938
962
|
"content": {
|
|
939
963
|
"application/json": {
|
|
940
964
|
"schema": {
|
|
941
|
-
"
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
"
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
965
|
+
"oneOf": [
|
|
966
|
+
{
|
|
967
|
+
"type": "object",
|
|
968
|
+
"additionalProperties": false,
|
|
969
|
+
"required": [
|
|
970
|
+
"handle"
|
|
971
|
+
],
|
|
972
|
+
"properties": {
|
|
973
|
+
"handle": {
|
|
974
|
+
"type": "string",
|
|
975
|
+
"minLength": 1,
|
|
976
|
+
"maxLength": 255,
|
|
977
|
+
"description": "Relay Handle, trimmed and lowercased before validation."
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"type": "object",
|
|
983
|
+
"additionalProperties": false,
|
|
984
|
+
"required": [
|
|
985
|
+
"task"
|
|
986
|
+
],
|
|
987
|
+
"properties": {
|
|
988
|
+
"task": {
|
|
989
|
+
"type": "string",
|
|
990
|
+
"minLength": 1,
|
|
991
|
+
"maxLength": 200,
|
|
992
|
+
"description": "What you need done, in plain words."
|
|
993
|
+
}
|
|
994
|
+
}
|
|
952
995
|
}
|
|
953
|
-
|
|
996
|
+
]
|
|
954
997
|
}
|
|
955
998
|
}
|
|
956
999
|
}
|
|
@@ -970,7 +1013,7 @@ export const METHOD_DOCS = [
|
|
|
970
1013
|
"path": "/v1/messages/{messageId}/reactions",
|
|
971
1014
|
"operationId": "sendReaction",
|
|
972
1015
|
"summary": "Add or remove a reaction to a message",
|
|
973
|
-
"description": "Add or remove a reaction on one Message part. Targeting a `buttons` part returns 422.",
|
|
1016
|
+
"description": "Add or remove a reaction on one Message part. Targeting a `buttons`, `selection`, or `selection_response` part returns 422.",
|
|
974
1017
|
"definitions": [
|
|
975
1018
|
"export interface MessageAddReactionParams {\n operation: \"add\" | \"remove\";\n type: ReactionType;\n custom_emoji?: string;\n part_index?: number;\n}",
|
|
976
1019
|
"export type ReactionType =\n | \"love\"\n | \"like\"\n | \"dislike\"\n | \"laugh\"\n | \"emphasize\"\n | \"question\"\n | \"custom\";",
|
|
@@ -1006,35 +1049,40 @@ export const METHOD_DOCS = [
|
|
|
1006
1049
|
"definitions": [
|
|
1007
1050
|
"export interface MessageCreateParams {\n to: string[];\n message: MessageContent;\n \"Idempotency-Key\"?: string;\n}",
|
|
1008
1051
|
"export interface MessageContent {\n parts: MessagePart[];\n reply_to?: ReplyTo;\n idempotency_key?: string;\n /**\n * Send the Message with no banner and no sound on the recipient's device.\n * The Message still arrives, still counts as unread, and still moves the\n * Chat to the top of the list. Defaults to `false`.\n */\n silent?: boolean;\n}",
|
|
1009
|
-
"export type MessagePart =\n | TextPart\n | MediaPart\n | LinkPart\n | ButtonsPart;",
|
|
1052
|
+
"export type MessagePart =\n | TextPart\n | MediaPart\n | LinkPart\n | ButtonsPart\n | SelectionPart\n | SelectionResponsePart;",
|
|
1010
1053
|
"export interface TextPart {\n type: \"text\";\n value: string;\n mention?: string | null;\n mention_range?: [number, number] | null;\n}",
|
|
1011
1054
|
"export interface MediaPart {\n type: \"media\";\n url?: string;\n attachment_id?: UUID;\n}",
|
|
1012
1055
|
"export type UUID = string;",
|
|
1013
1056
|
"export interface LinkPart {\n type: \"link\";\n value: string;\n}",
|
|
1014
1057
|
"export interface ButtonsPart {\n type: \"buttons\";\n items: ButtonItem[];\n}",
|
|
1015
1058
|
"export interface ButtonItem {\n /** Link button: the tap opens this HTTPS URL instead of sending the label. */\n url?: string;\n /** The button's visible text, 1 to 80 characters, and what a tap sends. */\n label: string;\n}",
|
|
1059
|
+
"export interface SelectionPart {\n type: \"selection\";\n /** Coming soon. Selected options toggle off locally; the sole submit action is a centered compact light-blue Send button. */\n options: SelectionOption[];\n}",
|
|
1060
|
+
"export interface SelectionOption {\n /** Unique case-sensitive ASCII token, 1–100 characters. Never derived from label. */\n value: string;\n /** Trimmed visible label, 1–80 characters. */\n label: string;\n}",
|
|
1061
|
+
"export interface SelectionResponsePart {\n type: \"selection_response\";\n /**\n * Unique known values, nonempty and in source-option order, authoritative with\n * reply_to. New preceding text is literal '• ' + each source label joined with\n * '\\n'. The server accepts exact legacy comma-joined labels for compatibility\n * only, never arbitrary label parsing. iOS checked circles are presentation;\n * portable text remains bullets. Coming soon.\n */\n selected_values: string[];\n}",
|
|
1016
1062
|
"export interface ReplyTo {\n message_id: UUID;\n part_index?: number;\n}",
|
|
1017
1063
|
"export interface Message {\n id: UUID;\n chat_id: UUID;\n from?: string | null;\n from_handle?: ChatHandle | null;\n parts?: MessagePartResponse[] | null;\n reply_to?: ReplyTo | null;\n is_system_message: boolean;\n system_event?: SystemEvent | null;\n is_from_me: boolean;\n delivery_status: DeliveryStatus;\n created_at: string;\n updated_at: string;\n sent_at?: string | null;\n delivered_at?: string | null;\n read_at?: string | null;\n /** When the Message was last edited, or null if it was never edited. */\n edited_at?: string | null;\n /**\n * When the sender unsent the Message, or null. An unsent Message keeps its\n * place in the transcript and carries no parts.\n */\n unsent_at?: string | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n deliveries?: MessageDelivery[];\n}",
|
|
1018
1064
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
1019
1065
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
1020
1066
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}",
|
|
1021
|
-
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SystemPartResponse;",
|
|
1067
|
+
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n | SystemPartResponse;",
|
|
1022
1068
|
"export interface TextPartResponse extends TextPart {\n mentions?: Array<{\n id: string;\n handle: string;\n is_me: boolean;\n range: [number, number];\n }> | null;\n /** @deprecated Use mentions instead. */\n mention?: string | null;\n /** @deprecated Use mentions instead. */\n mention_range?: [number, number] | null;\n reactions: Reaction[] | null;\n}",
|
|
1023
1069
|
"export interface MediaPartResponse {\n type: \"media\";\n id: UUID;\n url: string;\n filename: string;\n mime_type: string;\n size_bytes: number;\n duration_ms?: number | null;\n width?: number | null;\n height?: number | null;\n reactions: Reaction[] | null;\n}",
|
|
1024
1070
|
"export interface LinkPartResponse extends LinkPart {\n reactions: Reaction[] | null;\n}",
|
|
1025
1071
|
"export interface ButtonsPartResponse extends ButtonsPart {\n reactions: Reaction[] | null;\n}",
|
|
1072
|
+
"export interface SelectionPartResponse extends SelectionPart {\n /** Durable response state for this viewer across devices. Existing Chat rules allow at most one human user; only that user can respond. */\n readonly has_responded: boolean;\n reactions: null;\n}",
|
|
1073
|
+
"export interface SelectionResponsePartResponse extends SelectionResponsePart {}",
|
|
1026
1074
|
"export interface SystemPartResponse {\n type: \"system\";\n value: string;\n reactions: null;\n}",
|
|
1027
1075
|
"export interface SystemEvent {\n type: SystemEventType;\n actor: SystemEventParty;\n subject: SystemEventParty | null;\n value: string | null;\n icon_attachment_id: UUID | null;\n contact_card: ContactCardItem | null;\n call: CallMarker | null;\n}",
|
|
1028
1076
|
"export type SystemEventType =\n | \"chat_created\"\n | \"participant_added\"\n | \"participant_removed\"\n | \"group_name_updated\"\n | \"group_icon_updated\"\n | \"contact_card_shared\"\n | \"call\";",
|
|
1029
1077
|
"export interface SystemEventParty {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
1030
|
-
"export interface ContactCardItem {\n
|
|
1078
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}",
|
|
1031
1079
|
"export interface CallMarker {\n id: UUID;\n mode: \"audio\";\n status: Call[\"status\"];\n answered_at: string | null;\n ended_at: string | null;\n from: CallContact;\n to: [CallContact];\n duration_seconds: number | null;\n}",
|
|
1032
1080
|
"export type DeliveryStatus =\n | \"sent\"\n | \"delivered\"\n | \"read\";",
|
|
1033
1081
|
"export interface MessageDelivery {\n contact: ChatHandle;\n delivered_at: string | null;\n read_at: string | null;\n}",
|
|
1034
1082
|
"export interface Chat {\n id: UUID;\n display_name: string | null;\n group_chat_icon?: string | null;\n handles: ChatHandle[];\n is_group: boolean;\n /**\n * The caller's side of a message request on this Chat: `pending` while a\n * sender with no Contact edge to the caller wrote to them and they have not\n * answered, `accepted` or `deleted` once they have. Absent when the caller\n * was never asked; an agent never is.\n */\n created_at: string;\n updated_at: string;\n}",
|
|
1035
1083
|
"export interface RequestOptions {\n signal?: AbortSignal;\n timeout?: number;\n maxRetries?: number;\n headers?: HeadersInit;\n}",
|
|
1036
1084
|
"export interface MessageCreateResponse {\n from: string;\n chat_id: UUID;\n created_new_chat: boolean;\n is_group: boolean;\n handles: ChatHandle[];\n message: SentMessage;\n}",
|
|
1037
|
-
"export interface SentMessage {\n id: UUID;\n parts: Array<\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n >;\n created_at: string;\n sent_at: string | null;\n delivered_at?: string | null;\n delivery_status: DeliveryStatus;\n from_handle?: ChatHandle | null;\n reply_to?: ReplyTo | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n is_system_message: false;\n}"
|
|
1085
|
+
"export interface SentMessage {\n id: UUID;\n parts: Array<\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n >;\n created_at: string;\n sent_at: string | null;\n delivered_at?: string | null;\n delivery_status: DeliveryStatus;\n from_handle?: ChatHandle | null;\n reply_to?: ReplyTo | null;\n /**\n * Whether the sender sent this Message silently, so the recipient's device\n * showed no banner and played no sound.\n */\n silent?: boolean;\n is_system_message: false;\n}"
|
|
1038
1086
|
],
|
|
1039
1087
|
"requestBody": {
|
|
1040
1088
|
"required": true,
|
|
@@ -1070,10 +1118,10 @@ export const METHOD_DOCS = [
|
|
|
1070
1118
|
"export type UUID = string;",
|
|
1071
1119
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
1072
1120
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
1073
|
-
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n
|
|
1121
|
+
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n verified: boolean;\n /** True when the caller holds this Handle as a Contact. */\n is_contact: boolean;\n activity_version?: string;\n activity?: ChatActivity | null;\n}",
|
|
1074
1122
|
"export interface ChatActivity {\n id: UUID;\n text: string;\n emoji: string | null;\n updated_at: string;\n expires_at: string;\n}",
|
|
1075
1123
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}",
|
|
1076
|
-
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SystemPartResponse;",
|
|
1124
|
+
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n | SystemPartResponse;",
|
|
1077
1125
|
"export interface TextPartResponse extends TextPart {\n mentions?: Array<{\n id: string;\n handle: string;\n is_me: boolean;\n range: [number, number];\n }> | null;\n /** @deprecated Use mentions instead. */\n mention?: string | null;\n /** @deprecated Use mentions instead. */\n mention_range?: [number, number] | null;\n reactions: Reaction[] | null;\n}",
|
|
1078
1126
|
"export interface TextPart {\n type: \"text\";\n value: string;\n mention?: string | null;\n mention_range?: [number, number] | null;\n}",
|
|
1079
1127
|
"export interface Reaction {\n is_me: boolean;\n handle: ChatHandle;\n type: ReactionType;\n custom_emoji?: string | null;\n}",
|
|
@@ -1084,15 +1132,22 @@ export const METHOD_DOCS = [
|
|
|
1084
1132
|
"export interface ButtonsPartResponse extends ButtonsPart {\n reactions: Reaction[] | null;\n}",
|
|
1085
1133
|
"export interface ButtonsPart {\n type: \"buttons\";\n items: ButtonItem[];\n}",
|
|
1086
1134
|
"export interface ButtonItem {\n /** Link button: the tap opens this HTTPS URL instead of sending the label. */\n url?: string;\n /** The button's visible text, 1 to 80 characters, and what a tap sends. */\n label: string;\n}",
|
|
1135
|
+
"export interface SelectionPartResponse extends SelectionPart {\n /** Durable response state for this viewer across devices. Existing Chat rules allow at most one human user; only that user can respond. */\n readonly has_responded: boolean;\n reactions: null;\n}",
|
|
1136
|
+
"export interface SelectionPart {\n type: \"selection\";\n /** Coming soon. Selected options toggle off locally; the sole submit action is a centered compact light-blue Send button. */\n options: SelectionOption[];\n}",
|
|
1137
|
+
"export interface SelectionOption {\n /** Unique case-sensitive ASCII token, 1–100 characters. Never derived from label. */\n value: string;\n /** Trimmed visible label, 1–80 characters. */\n label: string;\n}",
|
|
1138
|
+
"export interface Chat {\n id: UUID;\n display_name: string | null;\n group_chat_icon?: string | null;\n handles: ChatHandle[];\n is_group: boolean;\n /**\n * The caller's side of a message request on this Chat: `pending` while a\n * sender with no Contact edge to the caller wrote to them and they have not\n * answered, `accepted` or `deleted` once they have. Absent when the caller\n * was never asked; an agent never is.\n */\n created_at: string;\n updated_at: string;\n}",
|
|
1139
|
+
"export interface SelectionResponsePartResponse extends SelectionResponsePart {}",
|
|
1140
|
+
"export interface SelectionResponsePart {\n type: \"selection_response\";\n /**\n * Unique known values, nonempty and in source-option order, authoritative with\n * reply_to. New preceding text is literal '• ' + each source label joined with\n * '\\n'. The server accepts exact legacy comma-joined labels for compatibility\n * only, never arbitrary label parsing. iOS checked circles are presentation;\n * portable text remains bullets. Coming soon.\n */\n selected_values: string[];\n}",
|
|
1087
1141
|
"export interface SystemPartResponse {\n type: \"system\";\n value: string;\n reactions: null;\n}",
|
|
1088
1142
|
"export interface ReplyTo {\n message_id: UUID;\n part_index?: number;\n}",
|
|
1089
1143
|
"export interface SystemEvent {\n type: SystemEventType;\n actor: SystemEventParty;\n subject: SystemEventParty | null;\n value: string | null;\n icon_attachment_id: UUID | null;\n contact_card: ContactCardItem | null;\n call: CallMarker | null;\n}",
|
|
1090
1144
|
"export type SystemEventType =\n | \"chat_created\"\n | \"participant_added\"\n | \"participant_removed\"\n | \"group_name_updated\"\n | \"group_icon_updated\"\n | \"contact_card_shared\"\n | \"call\";",
|
|
1091
1145
|
"export interface SystemEventParty {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
1092
|
-
"export interface ContactCardItem {\n
|
|
1146
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}",
|
|
1093
1147
|
"export interface CallMarker {\n id: UUID;\n mode: \"audio\";\n status: Call[\"status\"];\n answered_at: string | null;\n ended_at: string | null;\n from: CallContact;\n to: [CallContact];\n duration_seconds: number | null;\n}",
|
|
1094
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
1148
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
1095
1149
|
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
1150
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";",
|
|
1096
1151
|
"export type DeliveryStatus =\n | \"sent\"\n | \"delivered\"\n | \"read\";",
|
|
1097
1152
|
"export interface MessageDelivery {\n contact: ChatHandle;\n delivered_at: string | null;\n read_at: string | null;\n}"
|
|
1098
1153
|
],
|
|
@@ -1118,10 +1173,10 @@ export const METHOD_DOCS = [
|
|
|
1118
1173
|
"export type UUID = string;",
|
|
1119
1174
|
"export type ChatHandle = UserChatHandle | AgentChatHandle;",
|
|
1120
1175
|
"export interface UserChatHandle extends ChatHandleBase {\n kind: \"user\";\n}",
|
|
1121
|
-
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n
|
|
1176
|
+
"interface ChatHandleBase {\n id: UUID;\n handle: string;\n status?: \"active\" | \"left\" | \"removed\" | null;\n joined_at: string;\n left_at?: string | null;\n is_me?: boolean | null;\n display_name: string | null;\n image_url: string | null;\n about: string | null;\n verified: boolean;\n /** True when the caller holds this Handle as a Contact. */\n is_contact: boolean;\n activity_version?: string;\n activity?: ChatActivity | null;\n}",
|
|
1122
1177
|
"export interface ChatActivity {\n id: UUID;\n text: string;\n emoji: string | null;\n updated_at: string;\n expires_at: string;\n}",
|
|
1123
1178
|
"export interface AgentChatHandle extends ChatHandleBase {\n kind: \"agent\";\n}",
|
|
1124
|
-
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SystemPartResponse;",
|
|
1179
|
+
"export type MessagePartResponse =\n | TextPartResponse\n | MediaPartResponse\n | LinkPartResponse\n | ButtonsPartResponse\n | SelectionPartResponse\n | SelectionResponsePartResponse\n | SystemPartResponse;",
|
|
1125
1180
|
"export interface TextPartResponse extends TextPart {\n mentions?: Array<{\n id: string;\n handle: string;\n is_me: boolean;\n range: [number, number];\n }> | null;\n /** @deprecated Use mentions instead. */\n mention?: string | null;\n /** @deprecated Use mentions instead. */\n mention_range?: [number, number] | null;\n reactions: Reaction[] | null;\n}",
|
|
1126
1181
|
"export interface TextPart {\n type: \"text\";\n value: string;\n mention?: string | null;\n mention_range?: [number, number] | null;\n}",
|
|
1127
1182
|
"export interface Reaction {\n is_me: boolean;\n handle: ChatHandle;\n type: ReactionType;\n custom_emoji?: string | null;\n}",
|
|
@@ -1132,15 +1187,22 @@ export const METHOD_DOCS = [
|
|
|
1132
1187
|
"export interface ButtonsPartResponse extends ButtonsPart {\n reactions: Reaction[] | null;\n}",
|
|
1133
1188
|
"export interface ButtonsPart {\n type: \"buttons\";\n items: ButtonItem[];\n}",
|
|
1134
1189
|
"export interface ButtonItem {\n /** Link button: the tap opens this HTTPS URL instead of sending the label. */\n url?: string;\n /** The button's visible text, 1 to 80 characters, and what a tap sends. */\n label: string;\n}",
|
|
1190
|
+
"export interface SelectionPartResponse extends SelectionPart {\n /** Durable response state for this viewer across devices. Existing Chat rules allow at most one human user; only that user can respond. */\n readonly has_responded: boolean;\n reactions: null;\n}",
|
|
1191
|
+
"export interface SelectionPart {\n type: \"selection\";\n /** Coming soon. Selected options toggle off locally; the sole submit action is a centered compact light-blue Send button. */\n options: SelectionOption[];\n}",
|
|
1192
|
+
"export interface SelectionOption {\n /** Unique case-sensitive ASCII token, 1–100 characters. Never derived from label. */\n value: string;\n /** Trimmed visible label, 1–80 characters. */\n label: string;\n}",
|
|
1193
|
+
"export interface Chat {\n id: UUID;\n display_name: string | null;\n group_chat_icon?: string | null;\n handles: ChatHandle[];\n is_group: boolean;\n /**\n * The caller's side of a message request on this Chat: `pending` while a\n * sender with no Contact edge to the caller wrote to them and they have not\n * answered, `accepted` or `deleted` once they have. Absent when the caller\n * was never asked; an agent never is.\n */\n created_at: string;\n updated_at: string;\n}",
|
|
1194
|
+
"export interface SelectionResponsePartResponse extends SelectionResponsePart {}",
|
|
1195
|
+
"export interface SelectionResponsePart {\n type: \"selection_response\";\n /**\n * Unique known values, nonempty and in source-option order, authoritative with\n * reply_to. New preceding text is literal '• ' + each source label joined with\n * '\\n'. The server accepts exact legacy comma-joined labels for compatibility\n * only, never arbitrary label parsing. iOS checked circles are presentation;\n * portable text remains bullets. Coming soon.\n */\n selected_values: string[];\n}",
|
|
1135
1196
|
"export interface SystemPartResponse {\n type: \"system\";\n value: string;\n reactions: null;\n}",
|
|
1136
1197
|
"export interface ReplyTo {\n message_id: UUID;\n part_index?: number;\n}",
|
|
1137
1198
|
"export interface SystemEvent {\n type: SystemEventType;\n actor: SystemEventParty;\n subject: SystemEventParty | null;\n value: string | null;\n icon_attachment_id: UUID | null;\n contact_card: ContactCardItem | null;\n call: CallMarker | null;\n}",
|
|
1138
1199
|
"export type SystemEventType =\n | \"chat_created\"\n | \"participant_added\"\n | \"participant_removed\"\n | \"group_name_updated\"\n | \"group_icon_updated\"\n | \"contact_card_shared\"\n | \"call\";",
|
|
1139
1200
|
"export interface SystemEventParty {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
1140
|
-
"export interface ContactCardItem {\n
|
|
1201
|
+
"export interface ContactCardItem {\n handle: string;\n first_name: string;\n last_name: string | null;\n image_url: string | null;\n is_active: boolean;\n kind: \"user\" | \"agent\";\n}",
|
|
1141
1202
|
"export interface CallMarker {\n id: UUID;\n mode: \"audio\";\n status: Call[\"status\"];\n answered_at: string | null;\n ended_at: string | null;\n from: CallContact;\n to: [CallContact];\n duration_seconds: number | null;\n}",
|
|
1142
|
-
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n
|
|
1203
|
+
"export interface Call {\n id: UUID;\n chat_id: UUID;\n from: CallContact;\n to: [CallContact];\n mode: \"audio\";\n /** `ringing` and `in-progress` are live. Terminal states set `ended_at`. */\n status: \"ringing\" | \"in-progress\" | CallTerminalStatus;\n revision: number;\n created_at: string;\n ringing_at: string;\n answered_at: string | null;\n ended_at: string | null;\n}",
|
|
1143
1204
|
"export interface CallContact {\n id: UUID;\n handle: string;\n kind: \"user\" | \"agent\";\n}",
|
|
1205
|
+
"export type CallTerminalStatus =\n | \"completed\"\n | \"no-answer\"\n | \"canceled\"\n | \"busy\"\n | \"failed\";",
|
|
1144
1206
|
"export type DeliveryStatus =\n | \"sent\"\n | \"delivered\"\n | \"read\";",
|
|
1145
1207
|
"export interface MessageDelivery {\n contact: ChatHandle;\n delivered_at: string | null;\n read_at: string | null;\n}"
|
|
1146
1208
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-docs.js","sourceRoot":"","sources":["../src/generated-docs.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,kEAAkE;IAC9E,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE,kEAAkE;CAC5E,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAyB;IAC/C;QACE,QAAQ,EAAE,sBAAsB;QAChC,WAAW,EAAE,+EAA+E;QAC5F,YAAY,EAAE;YACZ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AAuD;qBAChE;iBACF;aACF;SACF;QACD,YAAY,EAAE,IAAI;QAClB,cAAc,EAAE,CAAC;KAClB;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"generated-docs.js","sourceRoot":"","sources":["../src/generated-docs.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,kEAAkE;IAC9E,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE,kEAAkE;CAC5E,CAAC;AACF,MAAM,CAAC,MAAM,WAAW,GAAyB;IAC/C;QACE,QAAQ,EAAE,sBAAsB;QAChC,WAAW,EAAE,+EAA+E;QAC5F,YAAY,EAAE;YACZ,gBAAgB;YAChB,0BAA0B;SAC3B;QACD,YAAY,EAAE,QAAQ;QACtB,MAAM,EAAE,qBAAqB;QAC7B,aAAa,EAAE,aAAa;QAC5B,SAAS,EAAE,iBAAiB;QAC5B,aAAa,EAAE,wgBAAwgB;QACvhB,aAAa,EAAE;YACb,sIAAsI;SACvI;QACD,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,IAAI;QAClB,cAAc,EAAE,CAAC;KAClB;IACD;QACE,QAAQ,EAAE,2BAA2B;QACrC,WAAW,EAAE,sHAAsH;QACnI,YAAY,EAAE;YACZ,8BAA8B;YAC9B,0BAA0B;SAC3B;QACD,YAAY,EAAE,MAAM;QACpB,MAAM,EAAE,iBAAiB;QACzB,aAAa,EAAE,eAAe;QAC9B,SAAS,EAAE,mBAAmB;QAC9B,aAAa,EAAE,yCAAyC;QACxD,aAAa,EAAE;YACb,sNAAsN;YACtN,s4CAAs4C;YACt4C,sIAAsI;YACtI,qNAAqN;YACrN,4BAA4B;SAC7B;QACD,aAAa,EAAE;YACb,UAAU,EAAE,IAAI;YAChB,SAAS,EAAE;gBACT,kBAAkB,EAAE;oBAClB,QAAQ,EAAE;wBACR,MAAM,EAAE,2CAA2C;qBACpD;iBACF;aACF;SACF;QACD,YAAY,EAAE,IAAI;QAClB,cAAc,E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AAE;YACb,UAAU,EAAE,IAAI;YAChB,SAAS,EAAE;gBACT,kBAAkB,EAAE;oBAClB,QAAQ,EAAE;wBACR,MAAM,EAAE,uDAAuD;qBAChE;iBACF;aACF;SACF;QACD,YAAY,EAAE,IAAI;QAClB,cAAc,EAAE,CAAC;KAClB;CACF,CAAC"}
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAA+C,MAAM,qBAAqB,CAAC;AAElF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAIjE,eAAO,MAAM,eAAe,EAAE,MAAoB,CAAC;AACnD,MAAM,WAAW,mBAAmB;IAAG,MAAM,EAAE,KAAK,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE;AAC1E,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACnD,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAC5C;AAED,eAAO,MAAM,oBAAoB,GAAI,UAAS,qBAA0B,KAAG,SAyD1E,CAAC"}
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { McpServer } from "@modelcontextprotocol/server";
|
|
2
|
-
import Relay, { BUTTONS_GUIDANCE } from "@relaymessenger/sdk";
|
|
2
|
+
import Relay, { BUTTONS_GUIDANCE, SELECTION_GUIDANCE } from "@relaymessenger/sdk";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { collectLocalTokens, resolveAgentAuth } from "./auth.js";
|
|
5
5
|
import { searchDocs } from "./search-docs.js";
|
|
@@ -49,7 +49,8 @@ export const createRelayMcpServer = (options = {}) => {
|
|
|
49
49
|
+ "A message's parts may include one buttons part ({ type: \"buttons\", items: [{ label }, { label, url }] }, 1 to 5 items) beside a text part; "
|
|
50
50
|
+ "search_docs(\"buttons\") shows the shape. "
|
|
51
51
|
+ "A link is its own message whose only part is { type: \"link\", value: \"https://...\" }, drawn as a card; send the words first, then the link. "
|
|
52
|
-
+ BUTTONS_GUIDANCE
|
|
52
|
+
+ BUTTONS_GUIDANCE + " " + SELECTION_GUIDANCE
|
|
53
|
+
+ ' A selection part is { type: "selection", options: [{ value: "research", label: "Research" }] }. Search selection with detail verbose for types. Incoming selection_response.selected_values and reply_to remain in Message parts and events.',
|
|
53
54
|
inputSchema: z.object({ code: z.string().min(1).max(100_000), intent: z.string().max(2_000).optional() }).strict(),
|
|
54
55
|
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true },
|
|
55
56
|
}, async ({ code }) => {
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,EAAE,gBAAgB,EAAE,kBAAkB,EAA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AAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAA4B,EAAE,CAAC;QAC/G,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC7H,CAAC;IACH,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relaymessenger/mcp",
|
|
3
|
-
"version": "0.1.7-staging.
|
|
3
|
+
"version": "0.1.7-staging.16",
|
|
4
4
|
"description": "Local MCP v2 stdio server for current Relay messaging tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@modelcontextprotocol/server": "2.0.0",
|
|
48
|
-
"@relaymessenger/sdk": "0.3.6-staging.
|
|
48
|
+
"@relaymessenger/sdk": "0.3.6-staging.14",
|
|
49
49
|
"minisearch": "7.2.0",
|
|
50
50
|
"quickjs-emscripten": "0.32.0",
|
|
51
51
|
"typescript": "5.9.3",
|