@songsid/agend 2.4.0-beta.2 → 2.4.0-beta.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.
- package/dist/agent-cli.js +1 -1
- package/dist/agent-endpoint.d.ts +1 -1
- package/dist/agent-endpoint.js +8 -2
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-token-header.d.ts +1 -1
- package/dist/agent-token-header.js +1 -1
- package/dist/auth-api.d.ts +3 -0
- package/dist/auth-api.js +15 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/agy-model-switch.d.ts +22 -0
- package/dist/backend/agy-model-switch.js +62 -0
- package/dist/backend/agy-model-switch.js.map +1 -0
- package/dist/backend/antigravity.js +60 -3
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/cli-runtime-switch.d.ts +71 -0
- package/dist/backend/cli-runtime-switch.js +176 -0
- package/dist/backend/cli-runtime-switch.js.map +1 -0
- package/dist/backend/codex-model-switch.d.ts +41 -0
- package/dist/backend/codex-model-switch.js +170 -0
- package/dist/backend/codex-model-switch.js.map +1 -0
- package/dist/backend/credential-profile.js +1 -1
- package/dist/backend/credential-profile.js.map +1 -1
- package/dist/backend/grok-model-switch.d.ts +16 -0
- package/dist/backend/grok-model-switch.js +45 -0
- package/dist/backend/grok-model-switch.js.map +1 -0
- package/dist/backend/grok.js +1 -1
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/muse.d.ts +2 -0
- package/dist/backend/muse.js +7 -3
- package/dist/backend/muse.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-server.js +10 -1
- package/dist/channel/mcp-server.js.map +1 -1
- package/dist/channel/mcp-tools.js +8 -0
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/classic-channel-manager.d.ts +1 -1
- package/dist/classic-channel-manager.js +1 -1
- package/dist/cli-audited.js +12 -12
- package/dist/cli-audited.js.map +1 -1
- package/dist/daemon.d.ts +48 -2
- package/dist/daemon.js +302 -21
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-consumed-watch.js +3 -0
- package/dist/delivery-consumed-watch.js.map +1 -1
- package/dist/event-log.d.ts +1 -1
- package/dist/event-log.js +1 -1
- package/dist/fleet-manager.d.ts +104 -2
- package/dist/fleet-manager.js +665 -27
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +10 -0
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +2 -0
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +18 -0
- package/dist/general-knowledge/skills/hub/SKILL.md +154 -0
- package/dist/general-knowledge/skills/model-discovery/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +17 -3
- package/dist/hub/admin-dashboard.d.ts +85 -0
- package/dist/hub/admin-dashboard.js +161 -0
- package/dist/hub/admin-dashboard.js.map +1 -0
- package/dist/hub/attachments/store.d.ts +2 -0
- package/dist/hub/attachments/store.js +6 -0
- package/dist/hub/attachments/store.js.map +1 -1
- package/dist/hub/client.d.ts +10 -0
- package/dist/hub/client.js +72 -10
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +20 -0
- package/dist/hub/compose/member.js +212 -17
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +8 -0
- package/dist/hub/compose/server.js +13 -2
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/display-name.d.ts +10 -0
- package/dist/hub/display-name.js +35 -0
- package/dist/hub/display-name.js.map +1 -0
- package/dist/hub/execution/service.d.ts +1 -0
- package/dist/hub/execution/service.js +1 -1
- package/dist/hub/execution/service.js.map +1 -1
- package/dist/hub/fleet-info.d.ts +12 -0
- package/dist/hub/fleet-info.js +14 -0
- package/dist/hub/fleet-info.js.map +1 -0
- package/dist/hub/fleet-update-model.d.ts +100 -0
- package/dist/hub/fleet-update-model.js +15 -0
- package/dist/hub/fleet-update-model.js.map +1 -0
- package/dist/hub/fleet-updates.d.ts +46 -0
- package/dist/hub/fleet-updates.js +282 -0
- package/dist/hub/fleet-updates.js.map +1 -0
- package/dist/hub/fleet-versions.d.ts +28 -0
- package/dist/hub/fleet-versions.js +80 -0
- package/dist/hub/fleet-versions.js.map +1 -0
- package/dist/hub/http/compose.d.ts +2 -0
- package/dist/hub/http/compose.js +192 -16
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/deps.d.ts +1 -0
- package/dist/hub/http/schema.js +13 -1
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/member/display-name.d.ts +9 -0
- package/dist/hub/member/display-name.js +71 -0
- package/dist/hub/member/display-name.js.map +1 -0
- package/dist/hub/member/exposure-api.d.ts +4 -0
- package/dist/hub/member/exposure-api.js +8 -3
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/exposures.d.ts +4 -0
- package/dist/hub/member/exposures.js +20 -0
- package/dist/hub/member/exposures.js.map +1 -1
- package/dist/hub/member/pairing-api.js +3 -2
- package/dist/hub/member/pairing-api.js.map +1 -1
- package/dist/hub/member/recommendations.d.ts +37 -0
- package/dist/hub/member/recommendations.js +129 -0
- package/dist/hub/member/recommendations.js.map +1 -0
- package/dist/hub/member/room-ask.d.ts +60 -1
- package/dist/hub/member/room-ask.js +254 -24
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-post-answers.d.ts +52 -0
- package/dist/hub/member/room-post-answers.js +152 -0
- package/dist/hub/member/room-post-answers.js.map +1 -0
- package/dist/hub/member/room-post-receipt.d.ts +21 -0
- package/dist/hub/member/room-post-receipt.js +49 -0
- package/dist/hub/member/room-post-receipt.js.map +1 -0
- package/dist/hub/member/room-post.d.ts +100 -0
- package/dist/hub/member/room-post.js +223 -0
- package/dist/hub/member/room-post.js.map +1 -0
- package/dist/hub/member/updates.d.ts +92 -0
- package/dist/hub/member/updates.js +316 -0
- package/dist/hub/member/updates.js.map +1 -0
- package/dist/hub/protocol.d.ts +658 -1
- package/dist/hub/protocol.js +90 -13
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/published-version.d.ts +3 -0
- package/dist/hub/published-version.js +35 -0
- package/dist/hub/published-version.js.map +1 -0
- package/dist/hub/recommendation-model.d.ts +36 -0
- package/dist/hub/recommendation-model.js +9 -0
- package/dist/hub/recommendation-model.js.map +1 -0
- package/dist/hub/recommendations.d.ts +58 -0
- package/dist/hub/recommendations.js +211 -0
- package/dist/hub/recommendations.js.map +1 -0
- package/dist/hub/representative.d.ts +3 -0
- package/dist/hub/representative.js +2 -1
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/room-context-model.d.ts +43 -0
- package/dist/hub/room-context-model.js +12 -0
- package/dist/hub/room-context-model.js.map +1 -0
- package/dist/hub/rooms/agents.d.ts +41 -9
- package/dist/hub/rooms/agents.js +183 -21
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/assistant.d.ts +1 -6
- package/dist/hub/rooms/assistant.js +7 -2
- package/dist/hub/rooms/assistant.js.map +1 -1
- package/dist/hub/rooms/automation.d.ts +24 -0
- package/dist/hub/rooms/automation.js +66 -0
- package/dist/hub/rooms/automation.js.map +1 -0
- package/dist/hub/rooms/buttons.d.ts +85 -0
- package/dist/hub/rooms/buttons.js +62 -0
- package/dist/hub/rooms/buttons.js.map +1 -0
- package/dist/hub/rooms/context-cursor.d.ts +18 -0
- package/dist/hub/rooms/context-cursor.js +61 -0
- package/dist/hub/rooms/context-cursor.js.map +1 -0
- package/dist/hub/rooms/context.d.ts +1 -1
- package/dist/hub/rooms/context.js +4 -4
- package/dist/hub/rooms/context.js.map +1 -1
- package/dist/hub/rooms/mentions.d.ts +15 -0
- package/dist/hub/rooms/mentions.js +43 -0
- package/dist/hub/rooms/mentions.js.map +1 -0
- package/dist/hub/rooms/post-replies.d.ts +23 -0
- package/dist/hub/rooms/post-replies.js +114 -0
- package/dist/hub/rooms/post-replies.js.map +1 -0
- package/dist/hub/rooms/schema.d.ts +9 -0
- package/dist/hub/rooms/schema.js +43 -0
- package/dist/hub/rooms/schema.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +136 -1
- package/dist/hub/rooms/service.js +727 -18
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +27 -3
- package/dist/hub/rooms.js +1 -1
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/runtime.js +12 -0
- package/dist/hub/runtime.js.map +1 -1
- package/dist/hub/server.d.ts +6 -1
- package/dist/hub/server.js +75 -5
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/settings-directory-proof.js +22 -1
- package/dist/hub/settings-directory-proof.js.map +1 -1
- package/dist/hub/types.d.ts +133 -2
- package/dist/hub-contact-windows.d.ts +11 -0
- package/dist/hub-contact-windows.js +56 -0
- package/dist/hub-contact-windows.js.map +1 -0
- package/dist/hub-pairing-summary.d.ts +1 -1
- package/dist/hub-room-conversation.d.ts +14 -0
- package/dist/hub-room-conversation.js +60 -0
- package/dist/hub-room-conversation.js.map +1 -0
- package/dist/hub-update-notice.d.ts +12 -0
- package/dist/hub-update-notice.js +35 -0
- package/dist/hub-update-notice.js.map +1 -0
- package/dist/locale.js +58 -2
- package/dist/locale.js.map +1 -1
- package/dist/native-mcp.js +9 -6
- package/dist/native-mcp.js.map +1 -1
- package/dist/outbound-handlers.d.ts +14 -4
- package/dist/outbound-handlers.js +54 -1
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +12 -0
- package/dist/outbound-schemas.js +12 -0
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-port.d.ts +2 -0
- package/dist/queued-handoffs.d.ts +16 -4
- package/dist/queued-handoffs.js +18 -1
- package/dist/queued-handoffs.js.map +1 -1
- package/dist/runtime-cli-install.js +13 -10
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/settings-api.d.ts +1 -0
- package/dist/settings-api.js +87 -0
- package/dist/settings-api.js.map +1 -1
- package/dist/tmux-manager.d.ts +2 -0
- package/dist/tmux-manager.js +2 -0
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tool-permissions.js +3 -0
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/chat-msg-actions.js +3 -222
- package/dist/ui/hub-admin-overview.js +189 -0
- package/dist/ui/hub-client.js +36 -4
- package/dist/ui/hub-fleet-versions.js +393 -0
- package/dist/ui/hub-room-agent-strings.js +28 -0
- package/dist/ui/hub-room-composer.js +16 -8
- package/dist/ui/hub-room-members-strings.js +2 -2
- package/dist/ui/hub-room-members.js +3 -2
- package/dist/ui/hub-room-notify.js +161 -0
- package/dist/ui/hub-room-search.js +126 -0
- package/dist/ui/hub-room-strings.js +47 -1
- package/dist/ui/hub-room-thread.js +243 -35
- package/dist/ui/hub-room-unread.js +2 -1
- package/dist/ui/hub-strings.js +8 -0
- package/dist/ui/image-annotate.js +2 -283
- package/dist/ui/image-lightbox.js +2 -176
- package/dist/ui/image-zoom.js +2 -242
- package/dist/ui/notice-hub-update.js +94 -0
- package/dist/ui/panel-chat.js +121 -12
- package/dist/ui/panel-hub.js +133 -19
- package/dist/ui/panel-notices.js +3 -1
- package/dist/ui/panel-settings.js +1 -1
- package/dist/ui/settings-hub-updates.js +67 -0
- package/dist/ui/settings-hub.js +28 -3
- package/dist/ui/settings-registry.js +1 -0
- package/dist/ui/settings-update.js +11 -5
- package/dist/ui/settings-web-authority.js +1 -1
- package/dist/ui/shared/app-i18n.js +2 -0
- package/dist/ui/shared/app-nav.js +6 -2
- package/dist/ui/shared/app-prefs.js +2 -1
- package/dist/ui/shared/app-shell.js +29 -4
- package/dist/ui/shared/app-update.js +90 -8
- package/dist/ui/shared/app.css +33 -0
- package/dist/ui/shared/chat-composer.js +6 -3
- package/dist/ui/shared/chat-msg-actions.js +225 -0
- package/dist/ui/shared/chat-thread.js +70 -5
- package/dist/ui/shared/chat-work-bar.css +48 -0
- package/dist/ui/shared/hub-chat.css +16 -2
- package/dist/ui/shared/hub-owner.css +104 -0
- package/dist/ui/shared/hub-rooms-u2.css +16 -0
- package/dist/ui/shared/hub.css +5 -0
- package/dist/ui/shared/image-annotate.js +306 -0
- package/dist/ui/shared/image-lightbox.js +183 -0
- package/dist/ui/shared/image-zoom.js +242 -0
- package/dist/ui/shared/instance-nav.js +36 -7
- package/dist/ui/shared/model-picker.css +4 -3
- package/dist/ui/shared/view-strings.js +8 -0
- package/dist/ui/shared/web-authorize.js +2 -2
- package/dist/update-dispatch.d.ts +8 -1
- package/dist/update-dispatch.js +16 -1
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-idle.d.ts +65 -0
- package/dist/update-idle.js +190 -0
- package/dist/update-idle.js.map +1 -0
- package/dist/update-launch.d.ts +1 -1
- package/dist/update-launch.js +9 -2
- package/dist/update-launch.js.map +1 -1
- package/dist/usage/i18n-keys.d.ts +1 -1
- package/dist/usage/i18n-keys.js +1 -1
- package/dist/usage/i18n-keys.js.map +1 -1
- package/dist/usage/profile-timeline.d.ts +2 -0
- package/dist/usage/profile-timeline.js +4 -0
- package/dist/usage/profile-timeline.js.map +1 -1
- package/dist/usage/providers.js +4 -4
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/quota-history.d.ts +1 -1
- package/dist/view-api.js +1 -1
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.js +19 -2
- package/dist/web-api.js.map +1 -1
- package/dist/web-notices.d.ts +3 -0
- package/dist/web-notices.js +17 -2
- package/dist/web-notices.js.map +1 -1
- package/dist/web-prefs.js +1 -0
- package/dist/web-prefs.js.map +1 -1
- package/dist/web-update.d.ts +15 -1
- package/package.json +1 -1
package/dist/hub/protocol.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/** Strict P1 frame schemas; importing this file creates no state, sockets or timers. */
|
|
2
2
|
import { z } from "zod";
|
|
3
|
+
export { HUB_ROOM_CONTEXT_CAPABILITY } from "./room-context-model.js";
|
|
4
|
+
/** Phase 3 receiver offer; old-Hub compatibility is negotiated by the member client. */
|
|
5
|
+
export declare const HUB_FLEET_UPDATE_CAPABILITY = "fleet-update-v1";
|
|
3
6
|
import type { HubMemberFrame, HubServerFrame, HubAuthorizationRequest, HubAskerEnvelope } from "./types.js";
|
|
4
7
|
export declare const HUB_VERSION = 1;
|
|
5
8
|
export declare const HUB_PATHS: {
|
|
@@ -10,9 +13,30 @@ export declare const HUB_PATHS: {
|
|
|
10
13
|
export declare const HUB_CAPABILITIES: readonly ["identity-v1", "receipts-v1", "reconcile-v1"];
|
|
11
14
|
/** Track C's injectable adapter uses these frames; advertised only when live dispatch is composed (R2). */
|
|
12
15
|
export declare const HUB_ROOM_ASK_CAPABILITY = "room-ask-v1";
|
|
16
|
+
/** Opted into by the mounted agent room-post adapter, never by an uncomposed member. */
|
|
17
|
+
export declare const HUB_ROOM_POST_CAPABILITY = "room-post-v1";
|
|
18
|
+
/** M-3127: a room answer may carry the reply's buttons or poll (answerButtonsSchema); both ends list it. */
|
|
19
|
+
export declare const HUB_ROOM_BUTTONS_CAPABILITY = "room-answer-buttons-v1";
|
|
20
|
+
/**
|
|
21
|
+
* M-3127: an agent reacts to the room question it was asked (its `react` tool, the Fleet chat's minimal reply). It rides on
|
|
22
|
+
* room-answer-buttons-v1 (the same release): a capability of its own would make a 17th in a room-post member's hello, which
|
|
23
|
+
* older Hubs refuse and members still must not send (see HUB_OPTIONAL_CAPABILITIES).
|
|
24
|
+
*/
|
|
25
|
+
export declare const HUB_ROOM_REACT_CAPABILITY = "room-answer-buttons-v1";
|
|
26
|
+
/**
|
|
27
|
+
* M-3125: files on a room ask and its answer (`attachments`). Like reactions, they ride on room-answer-buttons-v1 — unreleased,
|
|
28
|
+
* shipping in the same release as these files — plus attachments-v1 (the file frames). A name of their own would be a 17th in
|
|
29
|
+
* the member hello (Fable #3925). Never room-ask-v1 + attachments-v1: released alpha Fleets list both, and their strict
|
|
30
|
+
* room.ask schema refuses `attachments`. So #3925 must land in the same release as room-answer-buttons-v1 (#3935).
|
|
31
|
+
*/
|
|
32
|
+
export declare const roomFilesNegotiated: (features: ReadonlySet<string> | undefined) => boolean;
|
|
13
33
|
/** Optional link features this build offers, never required: an older peer that lacks one keeps working without it.
|
|
14
34
|
* `welcome-caps-v1` lets the Hub answer with its own list; a feature is enabled only when both ends list it. Each feature
|
|
15
|
-
* PR adds its own flag here (#3226: attachments-v1, buttons-v1, quota-band-v1) and checks `features` before sending.
|
|
35
|
+
* PR adds its own flag here (#3226: attachments-v1, buttons-v1, quota-band-v1) and checks `features` before sending.
|
|
36
|
+
* LIMIT (M-3127): a member's hello sends HUB_CAPABILITIES + these + room-ask-v1 (+ room-post-v1 when its agent-room adapter
|
|
37
|
+
* is composed). That legacy list makes exactly 16 (pinned by tests/hub-room-agent-react-m3127.test.ts).
|
|
38
|
+
* M-3144 permits 32 sends for fleet-update-v1, with one bounded retry dropping only that offer when an
|
|
39
|
+
* older 16-cap Hub closes before welcome. Do not silently truncate other features. */
|
|
16
40
|
export declare const HUB_OPTIONAL_CAPABILITIES: readonly string[];
|
|
17
41
|
export declare const HUB_ATTACHMENT_FILE_MAX: number;
|
|
18
42
|
export declare const HUB_ATTACHMENTS_PER_MESSAGE = 10;
|
|
@@ -290,12 +314,24 @@ export declare const roomAskSchema: z.ZodObject<{
|
|
|
290
314
|
name: z.ZodString;
|
|
291
315
|
}, z.core.$strict>;
|
|
292
316
|
text: z.ZodString;
|
|
317
|
+
contextState: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
generation: z.ZodString;
|
|
319
|
+
after: z.ZodNumber;
|
|
320
|
+
through: z.ZodNumber;
|
|
321
|
+
}, z.core.$strict>>;
|
|
293
322
|
context: z.ZodArray<z.ZodObject<{
|
|
294
323
|
author: z.ZodString;
|
|
295
324
|
text: z.ZodString;
|
|
296
325
|
at: z.ZodNumber;
|
|
297
326
|
repliedTo: z.ZodOptional<z.ZodLiteral<true>>;
|
|
298
327
|
}, z.core.$strict>>;
|
|
328
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
329
|
+
id: z.ZodString;
|
|
330
|
+
name: z.ZodString;
|
|
331
|
+
size: z.ZodNumber;
|
|
332
|
+
mime: z.ZodString;
|
|
333
|
+
sha256: z.ZodString;
|
|
334
|
+
}, z.core.$strict>>>;
|
|
299
335
|
}, z.core.$strict>;
|
|
300
336
|
export declare const roomAnswerSchema: z.ZodObject<{
|
|
301
337
|
messageId: z.ZodString;
|
|
@@ -303,11 +339,206 @@ export declare const roomAnswerSchema: z.ZodObject<{
|
|
|
303
339
|
exposureId: z.ZodString;
|
|
304
340
|
answerId: z.ZodString;
|
|
305
341
|
text: z.ZodString;
|
|
342
|
+
buttons: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
labels: z.ZodArray<z.ZodString>;
|
|
345
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
346
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
347
|
+
seconds: z.ZodNumber;
|
|
348
|
+
multi: z.ZodBoolean;
|
|
349
|
+
reveal: z.ZodEnum<{
|
|
350
|
+
close: "close";
|
|
351
|
+
live: "live";
|
|
352
|
+
}>;
|
|
353
|
+
showVoters: z.ZodBoolean;
|
|
354
|
+
question: z.ZodString;
|
|
355
|
+
}, z.core.$strict>>;
|
|
356
|
+
}, z.core.$strict>>;
|
|
357
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
358
|
+
id: z.ZodString;
|
|
359
|
+
name: z.ZodString;
|
|
360
|
+
size: z.ZodNumber;
|
|
361
|
+
mime: z.ZodString;
|
|
362
|
+
sha256: z.ZodString;
|
|
363
|
+
}, z.core.$strict>>>;
|
|
306
364
|
}, z.core.$strict>;
|
|
307
365
|
export declare const roomAnswerAckSchema: z.ZodObject<{
|
|
308
366
|
messageId: z.ZodString;
|
|
309
367
|
answerId: z.ZodString;
|
|
310
368
|
}, z.core.$strict>;
|
|
369
|
+
/** M-3127 (room-answer-buttons-v1): `messageId` is the delivery (the question as the agent got it); "" takes the agent's reaction back. */
|
|
370
|
+
export declare const roomReactSchema: z.ZodObject<{
|
|
371
|
+
messageId: z.ZodString;
|
|
372
|
+
roomId: z.ZodString;
|
|
373
|
+
exposureId: z.ZodString;
|
|
374
|
+
emoji: z.ZodString;
|
|
375
|
+
}, z.core.$strict>;
|
|
376
|
+
export declare const roomReactResultSchema: z.ZodObject<{
|
|
377
|
+
messageId: z.ZodString;
|
|
378
|
+
ok: z.ZodBoolean;
|
|
379
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
380
|
+
archived: "archived";
|
|
381
|
+
denied: "denied";
|
|
382
|
+
invalid: "invalid";
|
|
383
|
+
"not-found": "not-found";
|
|
384
|
+
revoked: "revoked";
|
|
385
|
+
}>>;
|
|
386
|
+
}, z.core.$strict>;
|
|
387
|
+
export declare const roomListSchema: z.ZodObject<{
|
|
388
|
+
exposureId: z.ZodString;
|
|
389
|
+
}, z.core.$strict>;
|
|
390
|
+
export declare const roomListResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
391
|
+
ok: z.ZodLiteral<true>;
|
|
392
|
+
exposureId: z.ZodString;
|
|
393
|
+
rooms: z.ZodArray<z.ZodObject<{
|
|
394
|
+
id: z.ZodString;
|
|
395
|
+
name: z.ZodString;
|
|
396
|
+
}, z.core.$strict>>;
|
|
397
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
399
|
+
ok: z.ZodLiteral<false>;
|
|
400
|
+
exposureId: z.ZodString;
|
|
401
|
+
code: z.ZodEnum<{
|
|
402
|
+
"ambiguous-room": "ambiguous-room";
|
|
403
|
+
archived: "archived";
|
|
404
|
+
backpressure: "backpressure";
|
|
405
|
+
conflict: "conflict";
|
|
406
|
+
denied: "denied";
|
|
407
|
+
invalid: "invalid";
|
|
408
|
+
"not-found": "not-found";
|
|
409
|
+
"rate-limited": "rate-limited";
|
|
410
|
+
revoked: "revoked";
|
|
411
|
+
stale: "stale";
|
|
412
|
+
unavailable: "unavailable";
|
|
413
|
+
}>;
|
|
414
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
}, z.core.$strict>], "ok">;
|
|
416
|
+
export declare const roomPostSchema: z.ZodObject<{
|
|
417
|
+
exposureId: z.ZodString;
|
|
418
|
+
room: z.ZodString;
|
|
419
|
+
text: z.ZodString;
|
|
420
|
+
idempotencyKey: z.ZodString;
|
|
421
|
+
onBehalfOf: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
receiptId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
423
|
+
}, z.core.$strict>>;
|
|
424
|
+
}, z.core.$strict>;
|
|
425
|
+
export declare const roomPostResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
426
|
+
ok: z.ZodLiteral<true>;
|
|
427
|
+
roomId: z.ZodString;
|
|
428
|
+
messageId: z.ZodString;
|
|
429
|
+
at: z.ZodNumber;
|
|
430
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
431
|
+
ok: z.ZodLiteral<false>;
|
|
432
|
+
code: z.ZodEnum<{
|
|
433
|
+
"ambiguous-room": "ambiguous-room";
|
|
434
|
+
archived: "archived";
|
|
435
|
+
backpressure: "backpressure";
|
|
436
|
+
conflict: "conflict";
|
|
437
|
+
denied: "denied";
|
|
438
|
+
invalid: "invalid";
|
|
439
|
+
"not-found": "not-found";
|
|
440
|
+
"rate-limited": "rate-limited";
|
|
441
|
+
revoked: "revoked";
|
|
442
|
+
stale: "stale";
|
|
443
|
+
unavailable: "unavailable";
|
|
444
|
+
}>;
|
|
445
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
446
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
447
|
+
id: z.ZodString;
|
|
448
|
+
name: z.ZodString;
|
|
449
|
+
}, z.core.$strict>>>;
|
|
450
|
+
}, z.core.$strict>], "ok">;
|
|
451
|
+
export declare const roomMembersSchema: z.ZodObject<{
|
|
452
|
+
exposureId: z.ZodString;
|
|
453
|
+
room: z.ZodString;
|
|
454
|
+
}, z.core.$strict>;
|
|
455
|
+
export declare const roomMembersResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
456
|
+
ok: z.ZodLiteral<true>;
|
|
457
|
+
roomId: z.ZodString;
|
|
458
|
+
members: z.ZodArray<z.ZodObject<{
|
|
459
|
+
id: z.ZodString;
|
|
460
|
+
kind: z.ZodEnum<{
|
|
461
|
+
agent: "agent";
|
|
462
|
+
assistant: "assistant";
|
|
463
|
+
person: "person";
|
|
464
|
+
}>;
|
|
465
|
+
name: z.ZodString;
|
|
466
|
+
presence: z.ZodString;
|
|
467
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
468
|
+
name: z.ZodString;
|
|
469
|
+
}, z.core.$strict>>;
|
|
470
|
+
presenceReason: z.ZodOptional<z.ZodString>;
|
|
471
|
+
presenceNote: z.ZodOptional<z.ZodString>;
|
|
472
|
+
}, z.core.$strict>>;
|
|
473
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
474
|
+
ok: z.ZodLiteral<false>;
|
|
475
|
+
code: z.ZodEnum<{
|
|
476
|
+
"ambiguous-room": "ambiguous-room";
|
|
477
|
+
archived: "archived";
|
|
478
|
+
backpressure: "backpressure";
|
|
479
|
+
conflict: "conflict";
|
|
480
|
+
denied: "denied";
|
|
481
|
+
invalid: "invalid";
|
|
482
|
+
"not-found": "not-found";
|
|
483
|
+
"rate-limited": "rate-limited";
|
|
484
|
+
revoked: "revoked";
|
|
485
|
+
stale: "stale";
|
|
486
|
+
unavailable: "unavailable";
|
|
487
|
+
}>;
|
|
488
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
490
|
+
id: z.ZodString;
|
|
491
|
+
name: z.ZodString;
|
|
492
|
+
}, z.core.$strict>>>;
|
|
493
|
+
}, z.core.$strict>], "ok">;
|
|
494
|
+
export declare const peopleSearchSchema: z.ZodObject<{
|
|
495
|
+
exposureId: z.ZodString;
|
|
496
|
+
q: z.ZodString;
|
|
497
|
+
}, z.core.$strict>;
|
|
498
|
+
export declare const peopleSearchResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
499
|
+
ok: z.ZodLiteral<true>;
|
|
500
|
+
people: z.ZodArray<z.ZodObject<{
|
|
501
|
+
id: z.ZodString;
|
|
502
|
+
name: z.ZodString;
|
|
503
|
+
login: z.ZodString;
|
|
504
|
+
}, z.core.$strict>>;
|
|
505
|
+
truncated: z.ZodBoolean;
|
|
506
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
507
|
+
ok: z.ZodLiteral<false>;
|
|
508
|
+
code: z.ZodEnum<{
|
|
509
|
+
"ambiguous-room": "ambiguous-room";
|
|
510
|
+
archived: "archived";
|
|
511
|
+
backpressure: "backpressure";
|
|
512
|
+
conflict: "conflict";
|
|
513
|
+
denied: "denied";
|
|
514
|
+
invalid: "invalid";
|
|
515
|
+
"not-found": "not-found";
|
|
516
|
+
"rate-limited": "rate-limited";
|
|
517
|
+
revoked: "revoked";
|
|
518
|
+
stale: "stale";
|
|
519
|
+
unavailable: "unavailable";
|
|
520
|
+
}>;
|
|
521
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
522
|
+
}, z.core.$strict>], "ok">;
|
|
523
|
+
export declare const roomPostAnswerSchema: z.ZodObject<{
|
|
524
|
+
id: z.ZodString;
|
|
525
|
+
idempotencyKey: z.ZodString;
|
|
526
|
+
postId: z.ZodString;
|
|
527
|
+
roomId: z.ZodString;
|
|
528
|
+
exposureId: z.ZodString;
|
|
529
|
+
message: z.ZodObject<{
|
|
530
|
+
id: z.ZodString;
|
|
531
|
+
author: z.ZodObject<{
|
|
532
|
+
name: z.ZodString;
|
|
533
|
+
}, z.core.$strict>;
|
|
534
|
+
text: z.ZodString;
|
|
535
|
+
at: z.ZodNumber;
|
|
536
|
+
}, z.core.$strict>;
|
|
537
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
538
|
+
}, z.core.$strict>;
|
|
539
|
+
export declare const roomPostAnswerAckSchema: z.ZodObject<{
|
|
540
|
+
id: z.ZodString;
|
|
541
|
+
}, z.core.$strict>;
|
|
311
542
|
export declare const agentStateSchema: z.ZodObject<{
|
|
312
543
|
exposureId: z.ZodString;
|
|
313
544
|
state: z.ZodEnum<{
|
|
@@ -422,6 +653,73 @@ export declare const relocationStatementSchema: z.ZodObject<{
|
|
|
422
653
|
/** The authenticated link is the target. No caller-supplied Fleet ID, owner or credential. */
|
|
423
654
|
export declare const memberLeavePayloadSchema: z.ZodObject<{}, z.core.$strict>;
|
|
424
655
|
export declare const memberFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
656
|
+
v: z.ZodLiteral<1>;
|
|
657
|
+
type: z.ZodLiteral<"room.list">;
|
|
658
|
+
requestId: z.ZodString;
|
|
659
|
+
linkEpoch: z.ZodNumber;
|
|
660
|
+
payload: z.ZodObject<{
|
|
661
|
+
exposureId: z.ZodString;
|
|
662
|
+
}, z.core.$strict>;
|
|
663
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
664
|
+
v: z.ZodLiteral<1>;
|
|
665
|
+
type: z.ZodLiteral<"room.post">;
|
|
666
|
+
requestId: z.ZodString;
|
|
667
|
+
linkEpoch: z.ZodNumber;
|
|
668
|
+
payload: z.ZodObject<{
|
|
669
|
+
exposureId: z.ZodString;
|
|
670
|
+
room: z.ZodString;
|
|
671
|
+
text: z.ZodString;
|
|
672
|
+
idempotencyKey: z.ZodString;
|
|
673
|
+
onBehalfOf: z.ZodOptional<z.ZodObject<{
|
|
674
|
+
receiptId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
675
|
+
}, z.core.$strict>>;
|
|
676
|
+
}, z.core.$strict>;
|
|
677
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
678
|
+
v: z.ZodLiteral<1>;
|
|
679
|
+
type: z.ZodLiteral<"room.members">;
|
|
680
|
+
requestId: z.ZodString;
|
|
681
|
+
linkEpoch: z.ZodNumber;
|
|
682
|
+
payload: z.ZodObject<{
|
|
683
|
+
exposureId: z.ZodString;
|
|
684
|
+
room: z.ZodString;
|
|
685
|
+
}, z.core.$strict>;
|
|
686
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
687
|
+
v: z.ZodLiteral<1>;
|
|
688
|
+
type: z.ZodLiteral<"people.search">;
|
|
689
|
+
requestId: z.ZodString;
|
|
690
|
+
linkEpoch: z.ZodNumber;
|
|
691
|
+
payload: z.ZodObject<{
|
|
692
|
+
exposureId: z.ZodString;
|
|
693
|
+
q: z.ZodString;
|
|
694
|
+
}, z.core.$strict>;
|
|
695
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
696
|
+
v: z.ZodLiteral<1>;
|
|
697
|
+
type: z.ZodLiteral<"room.post-answer-ack">;
|
|
698
|
+
requestId: z.ZodString;
|
|
699
|
+
linkEpoch: z.ZodNumber;
|
|
700
|
+
payload: z.ZodObject<{
|
|
701
|
+
id: z.ZodString;
|
|
702
|
+
}, z.core.$strict>;
|
|
703
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
704
|
+
v: z.ZodLiteral<1>;
|
|
705
|
+
type: z.ZodLiteral<"room.context-state">;
|
|
706
|
+
requestId: z.ZodString;
|
|
707
|
+
linkEpoch: z.ZodNumber;
|
|
708
|
+
payload: z.ZodObject<{
|
|
709
|
+
exposureId: z.ZodString;
|
|
710
|
+
generation: z.ZodString;
|
|
711
|
+
}, z.core.$strict>;
|
|
712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
713
|
+
v: z.ZodLiteral<1>;
|
|
714
|
+
type: z.ZodLiteral<"room.context-input">;
|
|
715
|
+
requestId: z.ZodString;
|
|
716
|
+
linkEpoch: z.ZodNumber;
|
|
717
|
+
payload: z.ZodObject<{
|
|
718
|
+
exposureId: z.ZodString;
|
|
719
|
+
generation: z.ZodString;
|
|
720
|
+
messageId: z.ZodString;
|
|
721
|
+
}, z.core.$strict>;
|
|
722
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
425
723
|
v: z.ZodLiteral<1>;
|
|
426
724
|
type: z.ZodLiteral<"room.answer">;
|
|
427
725
|
requestId: z.ZodString;
|
|
@@ -432,6 +730,28 @@ export declare const memberFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
432
730
|
exposureId: z.ZodString;
|
|
433
731
|
answerId: z.ZodString;
|
|
434
732
|
text: z.ZodString;
|
|
733
|
+
buttons: z.ZodOptional<z.ZodObject<{
|
|
734
|
+
id: z.ZodString;
|
|
735
|
+
labels: z.ZodArray<z.ZodString>;
|
|
736
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
737
|
+
poll: z.ZodOptional<z.ZodObject<{
|
|
738
|
+
seconds: z.ZodNumber;
|
|
739
|
+
multi: z.ZodBoolean;
|
|
740
|
+
reveal: z.ZodEnum<{
|
|
741
|
+
close: "close";
|
|
742
|
+
live: "live";
|
|
743
|
+
}>;
|
|
744
|
+
showVoters: z.ZodBoolean;
|
|
745
|
+
question: z.ZodString;
|
|
746
|
+
}, z.core.$strict>>;
|
|
747
|
+
}, z.core.$strict>>;
|
|
748
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
749
|
+
id: z.ZodString;
|
|
750
|
+
name: z.ZodString;
|
|
751
|
+
size: z.ZodNumber;
|
|
752
|
+
mime: z.ZodString;
|
|
753
|
+
sha256: z.ZodString;
|
|
754
|
+
}, z.core.$strict>>>;
|
|
435
755
|
}, z.core.$strict>;
|
|
436
756
|
}, z.core.$strict>, z.ZodObject<{
|
|
437
757
|
v: z.ZodLiteral<1>;
|
|
@@ -461,6 +781,17 @@ export declare const memberFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
461
781
|
}>>;
|
|
462
782
|
note: z.ZodOptional<z.ZodString>;
|
|
463
783
|
}, z.core.$strict>;
|
|
784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
785
|
+
v: z.ZodLiteral<1>;
|
|
786
|
+
type: z.ZodLiteral<"room.react">;
|
|
787
|
+
requestId: z.ZodString;
|
|
788
|
+
linkEpoch: z.ZodNumber;
|
|
789
|
+
payload: z.ZodObject<{
|
|
790
|
+
messageId: z.ZodString;
|
|
791
|
+
roomId: z.ZodString;
|
|
792
|
+
exposureId: z.ZodString;
|
|
793
|
+
emoji: z.ZodString;
|
|
794
|
+
}, z.core.$strict>;
|
|
464
795
|
}, z.core.$strict>, z.ZodObject<{
|
|
465
796
|
v: z.ZodLiteral<1>;
|
|
466
797
|
type: z.ZodLiteral<"member.leave">;
|
|
@@ -477,6 +808,73 @@ export declare const memberFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
477
808
|
capabilities: z.ZodArray<z.ZodString>;
|
|
478
809
|
memberBootId: z.ZodString;
|
|
479
810
|
}, z.core.$strict>;
|
|
811
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
812
|
+
v: z.ZodLiteral<1>;
|
|
813
|
+
type: z.ZodLiteral<"fleet.update-status">;
|
|
814
|
+
requestId: z.ZodString;
|
|
815
|
+
linkEpoch: z.ZodNumber;
|
|
816
|
+
payload: z.ZodObject<{
|
|
817
|
+
id: z.ZodString;
|
|
818
|
+
version: z.ZodString;
|
|
819
|
+
sequence: z.ZodNumber;
|
|
820
|
+
state: z.ZodEnum<{
|
|
821
|
+
cancelled: "cancelled";
|
|
822
|
+
done: "done";
|
|
823
|
+
expired: "expired";
|
|
824
|
+
failed: "failed";
|
|
825
|
+
refused: "refused";
|
|
826
|
+
"rolled-back": "rolled-back";
|
|
827
|
+
updating: "updating";
|
|
828
|
+
waiting: "waiting";
|
|
829
|
+
}>;
|
|
830
|
+
waitingSince: z.ZodOptional<z.ZodNumber>;
|
|
831
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
833
|
+
reasonCode: z.ZodOptional<z.ZodEnum<{
|
|
834
|
+
"already-current": "already-current";
|
|
835
|
+
"busy-24h": "busy-24h";
|
|
836
|
+
interrupted: "interrupted";
|
|
837
|
+
"launch-failed": "launch-failed";
|
|
838
|
+
"no-permission": "no-permission";
|
|
839
|
+
"not-found": "not-found";
|
|
840
|
+
"not-service": "not-service";
|
|
841
|
+
"npm-unavailable": "npm-unavailable";
|
|
842
|
+
"offline-7d": "offline-7d";
|
|
843
|
+
"owner-disabled": "owner-disabled";
|
|
844
|
+
"request-open": "request-open";
|
|
845
|
+
revoked: "revoked";
|
|
846
|
+
"rollback-failed": "rollback-failed";
|
|
847
|
+
unsupported: "unsupported";
|
|
848
|
+
"update-running": "update-running";
|
|
849
|
+
"version-not-found": "version-not-found";
|
|
850
|
+
}>>;
|
|
851
|
+
currentVersion: z.ZodOptional<z.ZodString>;
|
|
852
|
+
}, z.core.$strict>;
|
|
853
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
854
|
+
v: z.ZodLiteral<1>;
|
|
855
|
+
type: z.ZodLiteral<"fleet.info">;
|
|
856
|
+
requestId: z.ZodString;
|
|
857
|
+
linkEpoch: z.ZodNumber;
|
|
858
|
+
payload: z.ZodObject<{
|
|
859
|
+
version: z.ZodString;
|
|
860
|
+
runsAsService: z.ZodBoolean;
|
|
861
|
+
recommendations: z.ZodOptional<z.ZodLiteral<true>>;
|
|
862
|
+
updatesAllowed: z.ZodOptional<z.ZodBoolean>;
|
|
863
|
+
}, z.core.$strict>;
|
|
864
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
865
|
+
v: z.ZodLiteral<1>;
|
|
866
|
+
type: z.ZodLiteral<"fleet.recommendation-ack">;
|
|
867
|
+
requestId: z.ZodString;
|
|
868
|
+
linkEpoch: z.ZodNumber;
|
|
869
|
+
payload: z.ZodObject<{
|
|
870
|
+
revision: z.ZodNumber;
|
|
871
|
+
version: z.ZodNullable<z.ZodString>;
|
|
872
|
+
status: z.ZodEnum<{
|
|
873
|
+
cleared: "cleared";
|
|
874
|
+
current: "current";
|
|
875
|
+
offered: "offered";
|
|
876
|
+
}>;
|
|
877
|
+
}, z.core.$strict>;
|
|
480
878
|
}, z.core.$strict>, z.ZodObject<{
|
|
481
879
|
v: z.ZodLiteral<1>;
|
|
482
880
|
type: z.ZodLiteral<"exposure.snapshot">;
|
|
@@ -710,6 +1108,194 @@ export declare const memberFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
710
1108
|
}, z.core.$strict>;
|
|
711
1109
|
}, z.core.$strict>]>;
|
|
712
1110
|
export declare const serverFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1111
|
+
v: z.ZodLiteral<1>;
|
|
1112
|
+
type: z.ZodLiteral<"room.list-result">;
|
|
1113
|
+
requestId: z.ZodString;
|
|
1114
|
+
linkEpoch: z.ZodNumber;
|
|
1115
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1116
|
+
ok: z.ZodLiteral<true>;
|
|
1117
|
+
exposureId: z.ZodString;
|
|
1118
|
+
rooms: z.ZodArray<z.ZodObject<{
|
|
1119
|
+
id: z.ZodString;
|
|
1120
|
+
name: z.ZodString;
|
|
1121
|
+
}, z.core.$strict>>;
|
|
1122
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1124
|
+
ok: z.ZodLiteral<false>;
|
|
1125
|
+
exposureId: z.ZodString;
|
|
1126
|
+
code: z.ZodEnum<{
|
|
1127
|
+
"ambiguous-room": "ambiguous-room";
|
|
1128
|
+
archived: "archived";
|
|
1129
|
+
backpressure: "backpressure";
|
|
1130
|
+
conflict: "conflict";
|
|
1131
|
+
denied: "denied";
|
|
1132
|
+
invalid: "invalid";
|
|
1133
|
+
"not-found": "not-found";
|
|
1134
|
+
"rate-limited": "rate-limited";
|
|
1135
|
+
revoked: "revoked";
|
|
1136
|
+
stale: "stale";
|
|
1137
|
+
unavailable: "unavailable";
|
|
1138
|
+
}>;
|
|
1139
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
1140
|
+
}, z.core.$strict>], "ok">;
|
|
1141
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1142
|
+
v: z.ZodLiteral<1>;
|
|
1143
|
+
type: z.ZodLiteral<"room.post-result">;
|
|
1144
|
+
requestId: z.ZodString;
|
|
1145
|
+
linkEpoch: z.ZodNumber;
|
|
1146
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1147
|
+
ok: z.ZodLiteral<true>;
|
|
1148
|
+
roomId: z.ZodString;
|
|
1149
|
+
messageId: z.ZodString;
|
|
1150
|
+
at: z.ZodNumber;
|
|
1151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1152
|
+
ok: z.ZodLiteral<false>;
|
|
1153
|
+
code: z.ZodEnum<{
|
|
1154
|
+
"ambiguous-room": "ambiguous-room";
|
|
1155
|
+
archived: "archived";
|
|
1156
|
+
backpressure: "backpressure";
|
|
1157
|
+
conflict: "conflict";
|
|
1158
|
+
denied: "denied";
|
|
1159
|
+
invalid: "invalid";
|
|
1160
|
+
"not-found": "not-found";
|
|
1161
|
+
"rate-limited": "rate-limited";
|
|
1162
|
+
revoked: "revoked";
|
|
1163
|
+
stale: "stale";
|
|
1164
|
+
unavailable: "unavailable";
|
|
1165
|
+
}>;
|
|
1166
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
1167
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1168
|
+
id: z.ZodString;
|
|
1169
|
+
name: z.ZodString;
|
|
1170
|
+
}, z.core.$strict>>>;
|
|
1171
|
+
}, z.core.$strict>], "ok">;
|
|
1172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1173
|
+
v: z.ZodLiteral<1>;
|
|
1174
|
+
type: z.ZodLiteral<"room.members-result">;
|
|
1175
|
+
requestId: z.ZodString;
|
|
1176
|
+
linkEpoch: z.ZodNumber;
|
|
1177
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1178
|
+
ok: z.ZodLiteral<true>;
|
|
1179
|
+
roomId: z.ZodString;
|
|
1180
|
+
members: z.ZodArray<z.ZodObject<{
|
|
1181
|
+
id: z.ZodString;
|
|
1182
|
+
kind: z.ZodEnum<{
|
|
1183
|
+
agent: "agent";
|
|
1184
|
+
assistant: "assistant";
|
|
1185
|
+
person: "person";
|
|
1186
|
+
}>;
|
|
1187
|
+
name: z.ZodString;
|
|
1188
|
+
presence: z.ZodString;
|
|
1189
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
1190
|
+
name: z.ZodString;
|
|
1191
|
+
}, z.core.$strict>>;
|
|
1192
|
+
presenceReason: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
presenceNote: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
}, z.core.$strict>>;
|
|
1195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1196
|
+
ok: z.ZodLiteral<false>;
|
|
1197
|
+
code: z.ZodEnum<{
|
|
1198
|
+
"ambiguous-room": "ambiguous-room";
|
|
1199
|
+
archived: "archived";
|
|
1200
|
+
backpressure: "backpressure";
|
|
1201
|
+
conflict: "conflict";
|
|
1202
|
+
denied: "denied";
|
|
1203
|
+
invalid: "invalid";
|
|
1204
|
+
"not-found": "not-found";
|
|
1205
|
+
"rate-limited": "rate-limited";
|
|
1206
|
+
revoked: "revoked";
|
|
1207
|
+
stale: "stale";
|
|
1208
|
+
unavailable: "unavailable";
|
|
1209
|
+
}>;
|
|
1210
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
1211
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1212
|
+
id: z.ZodString;
|
|
1213
|
+
name: z.ZodString;
|
|
1214
|
+
}, z.core.$strict>>>;
|
|
1215
|
+
}, z.core.$strict>], "ok">;
|
|
1216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1217
|
+
v: z.ZodLiteral<1>;
|
|
1218
|
+
type: z.ZodLiteral<"people.search-result">;
|
|
1219
|
+
requestId: z.ZodString;
|
|
1220
|
+
linkEpoch: z.ZodNumber;
|
|
1221
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1222
|
+
ok: z.ZodLiteral<true>;
|
|
1223
|
+
people: z.ZodArray<z.ZodObject<{
|
|
1224
|
+
id: z.ZodString;
|
|
1225
|
+
name: z.ZodString;
|
|
1226
|
+
login: z.ZodString;
|
|
1227
|
+
}, z.core.$strict>>;
|
|
1228
|
+
truncated: z.ZodBoolean;
|
|
1229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1230
|
+
ok: z.ZodLiteral<false>;
|
|
1231
|
+
code: z.ZodEnum<{
|
|
1232
|
+
"ambiguous-room": "ambiguous-room";
|
|
1233
|
+
archived: "archived";
|
|
1234
|
+
backpressure: "backpressure";
|
|
1235
|
+
conflict: "conflict";
|
|
1236
|
+
denied: "denied";
|
|
1237
|
+
invalid: "invalid";
|
|
1238
|
+
"not-found": "not-found";
|
|
1239
|
+
"rate-limited": "rate-limited";
|
|
1240
|
+
revoked: "revoked";
|
|
1241
|
+
stale: "stale";
|
|
1242
|
+
unavailable: "unavailable";
|
|
1243
|
+
}>;
|
|
1244
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
1245
|
+
}, z.core.$strict>], "ok">;
|
|
1246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1247
|
+
v: z.ZodLiteral<1>;
|
|
1248
|
+
type: z.ZodLiteral<"room.post-answer">;
|
|
1249
|
+
requestId: z.ZodString;
|
|
1250
|
+
linkEpoch: z.ZodNumber;
|
|
1251
|
+
payload: z.ZodObject<{
|
|
1252
|
+
id: z.ZodString;
|
|
1253
|
+
idempotencyKey: z.ZodString;
|
|
1254
|
+
postId: z.ZodString;
|
|
1255
|
+
roomId: z.ZodString;
|
|
1256
|
+
exposureId: z.ZodString;
|
|
1257
|
+
message: z.ZodObject<{
|
|
1258
|
+
id: z.ZodString;
|
|
1259
|
+
author: z.ZodObject<{
|
|
1260
|
+
name: z.ZodString;
|
|
1261
|
+
}, z.core.$strict>;
|
|
1262
|
+
text: z.ZodString;
|
|
1263
|
+
at: z.ZodNumber;
|
|
1264
|
+
}, z.core.$strict>;
|
|
1265
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
}, z.core.$strict>;
|
|
1267
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1268
|
+
v: z.ZodLiteral<1>;
|
|
1269
|
+
type: z.ZodLiteral<"room.context-state-result">;
|
|
1270
|
+
requestId: z.ZodString;
|
|
1271
|
+
linkEpoch: z.ZodNumber;
|
|
1272
|
+
payload: z.ZodObject<{
|
|
1273
|
+
exposureId: z.ZodString;
|
|
1274
|
+
generation: z.ZodString;
|
|
1275
|
+
ok: z.ZodBoolean;
|
|
1276
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
1277
|
+
denied: "denied";
|
|
1278
|
+
"not-found": "not-found";
|
|
1279
|
+
stale: "stale";
|
|
1280
|
+
}>>;
|
|
1281
|
+
}, z.core.$strict>;
|
|
1282
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1283
|
+
v: z.ZodLiteral<1>;
|
|
1284
|
+
type: z.ZodLiteral<"room.context-input-result">;
|
|
1285
|
+
requestId: z.ZodString;
|
|
1286
|
+
linkEpoch: z.ZodNumber;
|
|
1287
|
+
payload: z.ZodObject<{
|
|
1288
|
+
exposureId: z.ZodString;
|
|
1289
|
+
generation: z.ZodString;
|
|
1290
|
+
messageId: z.ZodString;
|
|
1291
|
+
ok: z.ZodBoolean;
|
|
1292
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
1293
|
+
denied: "denied";
|
|
1294
|
+
"not-found": "not-found";
|
|
1295
|
+
stale: "stale";
|
|
1296
|
+
}>>;
|
|
1297
|
+
}, z.core.$strict>;
|
|
1298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
713
1299
|
v: z.ZodLiteral<1>;
|
|
714
1300
|
type: z.ZodLiteral<"room.ask">;
|
|
715
1301
|
requestId: z.ZodString;
|
|
@@ -723,12 +1309,24 @@ export declare const serverFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
723
1309
|
name: z.ZodString;
|
|
724
1310
|
}, z.core.$strict>;
|
|
725
1311
|
text: z.ZodString;
|
|
1312
|
+
contextState: z.ZodOptional<z.ZodObject<{
|
|
1313
|
+
generation: z.ZodString;
|
|
1314
|
+
after: z.ZodNumber;
|
|
1315
|
+
through: z.ZodNumber;
|
|
1316
|
+
}, z.core.$strict>>;
|
|
726
1317
|
context: z.ZodArray<z.ZodObject<{
|
|
727
1318
|
author: z.ZodString;
|
|
728
1319
|
text: z.ZodString;
|
|
729
1320
|
at: z.ZodNumber;
|
|
730
1321
|
repliedTo: z.ZodOptional<z.ZodLiteral<true>>;
|
|
731
1322
|
}, z.core.$strict>>;
|
|
1323
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
|
+
id: z.ZodString;
|
|
1325
|
+
name: z.ZodString;
|
|
1326
|
+
size: z.ZodNumber;
|
|
1327
|
+
mime: z.ZodString;
|
|
1328
|
+
sha256: z.ZodString;
|
|
1329
|
+
}, z.core.$strict>>>;
|
|
732
1330
|
}, z.core.$strict>;
|
|
733
1331
|
}, z.core.$strict>, z.ZodObject<{
|
|
734
1332
|
v: z.ZodLiteral<1>;
|
|
@@ -739,6 +1337,22 @@ export declare const serverFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
739
1337
|
messageId: z.ZodString;
|
|
740
1338
|
answerId: z.ZodString;
|
|
741
1339
|
}, z.core.$strict>;
|
|
1340
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1341
|
+
v: z.ZodLiteral<1>;
|
|
1342
|
+
type: z.ZodLiteral<"room.react-result">;
|
|
1343
|
+
requestId: z.ZodString;
|
|
1344
|
+
linkEpoch: z.ZodNumber;
|
|
1345
|
+
payload: z.ZodObject<{
|
|
1346
|
+
messageId: z.ZodString;
|
|
1347
|
+
ok: z.ZodBoolean;
|
|
1348
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
1349
|
+
archived: "archived";
|
|
1350
|
+
denied: "denied";
|
|
1351
|
+
invalid: "invalid";
|
|
1352
|
+
"not-found": "not-found";
|
|
1353
|
+
revoked: "revoked";
|
|
1354
|
+
}>>;
|
|
1355
|
+
}, z.core.$strict>;
|
|
742
1356
|
}, z.core.$strict>, z.ZodObject<{
|
|
743
1357
|
v: z.ZodLiteral<1>;
|
|
744
1358
|
type: z.ZodLiteral<"welcome">;
|
|
@@ -758,6 +1372,49 @@ export declare const serverFrameSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
758
1372
|
signature: z.ZodString;
|
|
759
1373
|
}, z.core.$strict>>;
|
|
760
1374
|
}, z.core.$strict>;
|
|
1375
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1376
|
+
v: z.ZodLiteral<1>;
|
|
1377
|
+
type: z.ZodLiteral<"fleet.update">;
|
|
1378
|
+
requestId: z.ZodString;
|
|
1379
|
+
linkEpoch: z.ZodNumber;
|
|
1380
|
+
payload: z.ZodObject<{
|
|
1381
|
+
id: z.ZodString;
|
|
1382
|
+
version: z.ZodString;
|
|
1383
|
+
requestedAt: z.ZodNumber;
|
|
1384
|
+
expiresAt: z.ZodNumber;
|
|
1385
|
+
requestedBy: z.ZodObject<{
|
|
1386
|
+
name: z.ZodString;
|
|
1387
|
+
}, z.core.$strict>;
|
|
1388
|
+
}, z.core.$strict>;
|
|
1389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1390
|
+
v: z.ZodLiteral<1>;
|
|
1391
|
+
type: z.ZodLiteral<"fleet.update-cancel">;
|
|
1392
|
+
requestId: z.ZodString;
|
|
1393
|
+
linkEpoch: z.ZodNumber;
|
|
1394
|
+
payload: z.ZodObject<{
|
|
1395
|
+
id: z.ZodString;
|
|
1396
|
+
version: z.ZodString;
|
|
1397
|
+
}, z.core.$strict>;
|
|
1398
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1399
|
+
v: z.ZodLiteral<1>;
|
|
1400
|
+
type: z.ZodLiteral<"fleet.update-status-ack">;
|
|
1401
|
+
requestId: z.ZodString;
|
|
1402
|
+
linkEpoch: z.ZodNumber;
|
|
1403
|
+
payload: z.ZodObject<{
|
|
1404
|
+
id: z.ZodString;
|
|
1405
|
+
version: z.ZodString;
|
|
1406
|
+
sequence: z.ZodNumber;
|
|
1407
|
+
}, z.core.$strict>;
|
|
1408
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1409
|
+
v: z.ZodLiteral<1>;
|
|
1410
|
+
type: z.ZodLiteral<"fleet.recommendation">;
|
|
1411
|
+
requestId: z.ZodString;
|
|
1412
|
+
linkEpoch: z.ZodNumber;
|
|
1413
|
+
payload: z.ZodObject<{
|
|
1414
|
+
revision: z.ZodNumber;
|
|
1415
|
+
setAt: z.ZodNumber;
|
|
1416
|
+
version: z.ZodNullable<z.ZodString>;
|
|
1417
|
+
}, z.core.$strict>;
|
|
761
1418
|
}, z.core.$strict>, z.ZodObject<{
|
|
762
1419
|
v: z.ZodLiteral<1>;
|
|
763
1420
|
type: z.ZodLiteral<"question">;
|