@getmateo/protocol 0.0.0-stage → 0.18.0
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/LICENSE +211 -0
- package/README.md +11 -2
- package/dist/addresses.d.ts +6 -0
- package/dist/addresses.js +2 -0
- package/dist/agent-attention-notification.d.ts +57 -0
- package/dist/agent-attention-notification.js +177 -0
- package/dist/agent-deep-link.d.ts +8 -0
- package/dist/agent-deep-link.js +49 -0
- package/dist/agent-labels.d.ts +14 -0
- package/dist/agent-labels.js +38 -0
- package/dist/agent-lifecycle.d.ts +3 -0
- package/dist/agent-lifecycle.js +8 -0
- package/dist/agent-message.d.ts +20 -0
- package/dist/agent-message.js +12 -0
- package/dist/agent-profile.d.ts +31 -0
- package/dist/agent-profile.js +32 -0
- package/dist/agent-runtime-config.d.ts +4 -0
- package/dist/agent-runtime-config.js +5 -0
- package/dist/agent-shells.d.ts +25 -0
- package/dist/agent-shells.js +17 -0
- package/dist/agent-state-bucket.d.ts +15 -0
- package/dist/agent-state-bucket.js +41 -0
- package/dist/agent-title-limits.d.ts +2 -0
- package/dist/agent-title-limits.js +2 -0
- package/dist/agent-types.d.ts +484 -0
- package/dist/agent-types.js +33 -0
- package/dist/binary-frames/demux.d.ts +15 -0
- package/dist/binary-frames/demux.js +28 -0
- package/dist/binary-frames/file-transfer.d.ts +51 -0
- package/dist/binary-frames/file-transfer.js +108 -0
- package/dist/binary-frames/host-route.d.ts +13 -0
- package/dist/binary-frames/host-route.js +39 -0
- package/dist/binary-frames/index.d.ts +5 -0
- package/dist/binary-frames/index.js +5 -0
- package/dist/binary-frames/terminal.d.ts +35 -0
- package/dist/binary-frames/terminal.js +100 -0
- package/dist/branch-slug.d.ts +14 -0
- package/dist/branch-slug.js +49 -0
- package/dist/browser-automation/capabilities.d.ts +7 -0
- package/dist/browser-automation/capabilities.js +31 -0
- package/dist/browser-automation/rpc-schemas.d.ts +1224 -0
- package/dist/browser-automation/rpc-schemas.js +497 -0
- package/dist/browser-download-rules.d.ts +21 -0
- package/dist/browser-download-rules.js +54 -0
- package/dist/build-metadata.d.ts +17 -0
- package/dist/build-metadata.js +61 -0
- package/dist/chat/rpc-schemas.d.ts +158 -0
- package/dist/chat/rpc-schemas.js +104 -0
- package/dist/chat/types.d.ts +30 -0
- package/dist/chat/types.js +23 -0
- package/dist/check-traits.d.ts +11 -0
- package/dist/check-traits.js +10 -0
- package/dist/chunked-transport.d.ts +42 -0
- package/dist/chunked-transport.js +277 -0
- package/dist/client-capabilities.d.ts +24 -0
- package/dist/client-capabilities.js +52 -0
- package/dist/connection-offer.d.ts +36 -0
- package/dist/connection-offer.js +53 -0
- package/dist/daemon-auth.d.ts +548 -0
- package/dist/daemon-auth.js +152 -0
- package/dist/daemon-endpoints.d.ts +54 -0
- package/dist/daemon-endpoints.js +243 -0
- package/dist/error-utils.d.ts +11 -0
- package/dist/error-utils.js +27 -0
- package/dist/fleet.d.ts +381 -0
- package/dist/fleet.js +134 -0
- package/dist/forge-manifest.d.ts +66 -0
- package/dist/forge-manifest.js +92 -0
- package/dist/generated/validation/ws-outbound-schema-metadata.d.ts +14187 -0
- package/dist/generated/validation/ws-outbound-schema-metadata.js +262 -0
- package/dist/generated/validation/ws-outbound.aot.d.ts +520 -0
- package/dist/generated/validation/ws-outbound.aot.js +106677 -0
- package/dist/git-remote.d.ts +33 -0
- package/dist/git-remote.js +94 -0
- package/dist/gitea-status.d.ts +10 -0
- package/dist/gitea-status.js +23 -0
- package/dist/gitlab-pipeline.d.ts +10 -0
- package/dist/gitlab-pipeline.js +17 -0
- package/dist/global-terminal.d.ts +3 -0
- package/dist/global-terminal.js +8 -0
- package/dist/host-connection-schema.d.ts +11 -0
- package/dist/host-connection-schema.js +9 -0
- package/dist/host-target.d.ts +20 -0
- package/dist/host-target.js +137 -0
- package/dist/hosts.d.ts +133 -0
- package/dist/hosts.js +82 -0
- package/dist/literal-union.d.ts +2 -0
- package/dist/literal-union.js +2 -0
- package/dist/loop/rpc-schemas.d.ts +636 -0
- package/dist/loop/rpc-schemas.js +164 -0
- package/dist/mateo-config-schema.d.ts +138 -0
- package/dist/mateo-config-schema.js +98 -0
- package/dist/mateo-tool-call-detail.d.ts +2 -0
- package/dist/mateo-tool-call-detail.js +3 -0
- package/dist/mateo-tool-presentation/agent-message.d.ts +10 -0
- package/dist/mateo-tool-presentation/agent-message.js +23 -0
- package/dist/mateo-tool-presentation/catalog.d.ts +321 -0
- package/dist/mateo-tool-presentation/catalog.js +319 -0
- package/dist/mateo-tool-presentation/detail-sections.d.ts +15 -0
- package/dist/mateo-tool-presentation/detail-sections.js +161 -0
- package/dist/mateo-tool-presentation/index.d.ts +22 -0
- package/dist/mateo-tool-presentation/index.js +62 -0
- package/dist/mateo-tool-presentation/summary-text.d.ts +7 -0
- package/dist/mateo-tool-presentation/summary-text.js +22 -0
- package/dist/messages.d.ts +70260 -0
- package/dist/messages.js +6740 -0
- package/dist/path-utils.d.ts +2 -0
- package/dist/path-utils.js +16 -0
- package/dist/plugin-browser-consent-copy.d.ts +193 -0
- package/dist/plugin-browser-consent-copy.js +109 -0
- package/dist/plugin-browser-grants.d.ts +48 -0
- package/dist/plugin-browser-grants.js +56 -0
- package/dist/plugin-browser.d.ts +321 -0
- package/dist/plugin-browser.js +109 -0
- package/dist/plugin-config.d.ts +18 -0
- package/dist/plugin-config.js +13 -0
- package/dist/plugin-overview.d.ts +12 -0
- package/dist/plugin-overview.js +50 -0
- package/dist/plugin-registry.d.ts +153 -0
- package/dist/plugin-registry.js +83 -0
- package/dist/plugin-requirements.d.ts +11 -0
- package/dist/plugin-requirements.js +26 -0
- package/dist/plugin-source-reference.d.ts +11 -0
- package/dist/plugin-source-reference.js +68 -0
- package/dist/provider-config.d.ts +141 -0
- package/dist/provider-config.js +113 -0
- package/dist/provider-icon-names.d.ts +5 -0
- package/dist/provider-icon-names.js +54 -0
- package/dist/provider-manifest.d.ts +30 -0
- package/dist/provider-manifest.js +247 -0
- package/dist/provider-snapshot-codec.d.ts +18 -0
- package/dist/provider-snapshot-codec.js +71 -0
- package/dist/schedule/cadence.d.ts +6 -0
- package/dist/schedule/cadence.js +28 -0
- package/dist/schedule/cron-expression.d.ts +14 -0
- package/dist/schedule/cron-expression.js +107 -0
- package/dist/schedule/rpc-schemas.d.ts +570 -0
- package/dist/schedule/rpc-schemas.js +158 -0
- package/dist/schedule/types.d.ts +201 -0
- package/dist/schedule/types.js +68 -0
- package/dist/search/text-match.d.ts +78 -0
- package/dist/search/text-match.js +330 -0
- package/dist/service-defaults.d.ts +3 -0
- package/dist/service-defaults.js +5 -0
- package/dist/ssh-transport.d.ts +11 -0
- package/dist/ssh-transport.js +72 -0
- package/dist/terminal-activity.d.ts +21 -0
- package/dist/terminal-activity.js +25 -0
- package/dist/terminal-input-mode.d.ts +30 -0
- package/dist/terminal-input-mode.js +180 -0
- package/dist/terminal-key-input.d.ts +13 -0
- package/dist/terminal-key-input.js +210 -0
- package/dist/terminal-profile.d.ts +10 -0
- package/dist/terminal-profile.js +11 -0
- package/dist/terminal-profiles.d.ts +41 -0
- package/dist/terminal-profiles.js +276 -0
- package/dist/terminal-snapshot.d.ts +4 -0
- package/dist/terminal-snapshot.js +220 -0
- package/dist/terminal-stream-protocol.d.ts +2 -0
- package/dist/terminal-stream-protocol.js +2 -0
- package/dist/terminal-subscription-key.d.ts +2 -0
- package/dist/terminal-subscription-key.js +9 -0
- package/dist/timeline-identity.d.ts +3 -0
- package/dist/timeline-identity.js +8 -0
- package/dist/tool-call-display.d.ts +13 -0
- package/dist/tool-call-display.js +144 -0
- package/dist/tool-name-normalization.d.ts +9 -0
- package/dist/tool-name-normalization.js +82 -0
- package/dist/user-agent.d.ts +26 -0
- package/dist/user-agent.js +101 -0
- package/dist/validation/ws-outbound-envelope.d.ts +13413 -0
- package/dist/validation/ws-outbound-envelope.js +17 -0
- package/dist/validation/ws-outbound.d.ts +12 -0
- package/dist/validation/ws-outbound.js +38 -0
- package/dist/websocket-message-limit.d.ts +5 -0
- package/dist/websocket-message-limit.js +5 -0
- package/dist/workspace-labels.d.ts +9 -0
- package/dist/workspace-labels.js +19 -0
- package/package.json +48 -4
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ChatCreateRequestSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"chat/create">;
|
|
4
|
+
requestId: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const ChatListRequestSchema: z.ZodObject<{
|
|
9
|
+
type: z.ZodLiteral<"chat/list">;
|
|
10
|
+
requestId: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const ChatInspectRequestSchema: z.ZodObject<{
|
|
13
|
+
type: z.ZodLiteral<"chat/inspect">;
|
|
14
|
+
requestId: z.ZodString;
|
|
15
|
+
room: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const ChatDeleteRequestSchema: z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"chat/delete">;
|
|
19
|
+
requestId: z.ZodString;
|
|
20
|
+
room: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export declare const ChatPostRequestSchema: z.ZodObject<{
|
|
23
|
+
type: z.ZodLiteral<"chat/post">;
|
|
24
|
+
requestId: z.ZodString;
|
|
25
|
+
room: z.ZodString;
|
|
26
|
+
body: z.ZodString;
|
|
27
|
+
authorAgentId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
replyToMessageId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export declare const ChatReadRequestSchema: z.ZodObject<{
|
|
31
|
+
type: z.ZodLiteral<"chat/read">;
|
|
32
|
+
requestId: z.ZodString;
|
|
33
|
+
room: z.ZodString;
|
|
34
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
since: z.ZodOptional<z.ZodString>;
|
|
36
|
+
authorAgentId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export declare const ChatWaitRequestSchema: z.ZodObject<{
|
|
39
|
+
type: z.ZodLiteral<"chat/wait">;
|
|
40
|
+
requestId: z.ZodString;
|
|
41
|
+
room: z.ZodString;
|
|
42
|
+
afterMessageId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export declare const ChatCreateResponseSchema: z.ZodObject<{
|
|
46
|
+
type: z.ZodLiteral<"chat/create/response">;
|
|
47
|
+
payload: z.ZodObject<{
|
|
48
|
+
requestId: z.ZodString;
|
|
49
|
+
room: z.ZodNullable<z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
53
|
+
createdAt: z.ZodString;
|
|
54
|
+
updatedAt: z.ZodString;
|
|
55
|
+
messageCount: z.ZodNumber;
|
|
56
|
+
lastMessageAt: z.ZodNullable<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
error: z.ZodNullable<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
export declare const ChatListResponseSchema: z.ZodObject<{
|
|
62
|
+
type: z.ZodLiteral<"chat/list/response">;
|
|
63
|
+
payload: z.ZodObject<{
|
|
64
|
+
requestId: z.ZodString;
|
|
65
|
+
rooms: z.ZodArray<z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
69
|
+
createdAt: z.ZodString;
|
|
70
|
+
updatedAt: z.ZodString;
|
|
71
|
+
messageCount: z.ZodNumber;
|
|
72
|
+
lastMessageAt: z.ZodNullable<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
error: z.ZodNullable<z.ZodString>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const ChatInspectResponseSchema: z.ZodObject<{
|
|
78
|
+
type: z.ZodLiteral<"chat/inspect/response">;
|
|
79
|
+
payload: z.ZodObject<{
|
|
80
|
+
requestId: z.ZodString;
|
|
81
|
+
room: z.ZodNullable<z.ZodObject<{
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
85
|
+
createdAt: z.ZodString;
|
|
86
|
+
updatedAt: z.ZodString;
|
|
87
|
+
messageCount: z.ZodNumber;
|
|
88
|
+
lastMessageAt: z.ZodNullable<z.ZodString>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
|
+
error: z.ZodNullable<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
export declare const ChatDeleteResponseSchema: z.ZodObject<{
|
|
94
|
+
type: z.ZodLiteral<"chat/delete/response">;
|
|
95
|
+
payload: z.ZodObject<{
|
|
96
|
+
requestId: z.ZodString;
|
|
97
|
+
room: z.ZodNullable<z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
101
|
+
createdAt: z.ZodString;
|
|
102
|
+
updatedAt: z.ZodString;
|
|
103
|
+
messageCount: z.ZodNumber;
|
|
104
|
+
lastMessageAt: z.ZodNullable<z.ZodString>;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
error: z.ZodNullable<z.ZodString>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
export declare const ChatPostResponseSchema: z.ZodObject<{
|
|
110
|
+
type: z.ZodLiteral<"chat/post/response">;
|
|
111
|
+
payload: z.ZodObject<{
|
|
112
|
+
requestId: z.ZodString;
|
|
113
|
+
message: z.ZodNullable<z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
roomId: z.ZodString;
|
|
116
|
+
authorAgentId: z.ZodString;
|
|
117
|
+
body: z.ZodString;
|
|
118
|
+
replyToMessageId: z.ZodNullable<z.ZodString>;
|
|
119
|
+
mentionAgentIds: z.ZodArray<z.ZodString>;
|
|
120
|
+
createdAt: z.ZodString;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
error: z.ZodNullable<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
export declare const ChatReadResponseSchema: z.ZodObject<{
|
|
126
|
+
type: z.ZodLiteral<"chat/read/response">;
|
|
127
|
+
payload: z.ZodObject<{
|
|
128
|
+
requestId: z.ZodString;
|
|
129
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
roomId: z.ZodString;
|
|
132
|
+
authorAgentId: z.ZodString;
|
|
133
|
+
body: z.ZodString;
|
|
134
|
+
replyToMessageId: z.ZodNullable<z.ZodString>;
|
|
135
|
+
mentionAgentIds: z.ZodArray<z.ZodString>;
|
|
136
|
+
createdAt: z.ZodString;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
error: z.ZodNullable<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
export declare const ChatWaitResponseSchema: z.ZodObject<{
|
|
142
|
+
type: z.ZodLiteral<"chat/wait/response">;
|
|
143
|
+
payload: z.ZodObject<{
|
|
144
|
+
requestId: z.ZodString;
|
|
145
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
146
|
+
id: z.ZodString;
|
|
147
|
+
roomId: z.ZodString;
|
|
148
|
+
authorAgentId: z.ZodString;
|
|
149
|
+
body: z.ZodString;
|
|
150
|
+
replyToMessageId: z.ZodNullable<z.ZodString>;
|
|
151
|
+
mentionAgentIds: z.ZodArray<z.ZodString>;
|
|
152
|
+
createdAt: z.ZodString;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
timedOut: z.ZodBoolean;
|
|
155
|
+
error: z.ZodNullable<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
//# sourceMappingURL=rpc-schemas.d.ts.map
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { ChatMessageSchema, ChatRoomDetailSchema } from "./types.js";
|
|
3
|
+
// COMPAT(chatRooms): retained after the v0.3.0 feature removal; remove after 2027-02-09 when mixed-version peers no longer send legacy messages.
|
|
4
|
+
export const ChatCreateRequestSchema = z.object({
|
|
5
|
+
type: z.literal("chat/create"),
|
|
6
|
+
requestId: z.string(),
|
|
7
|
+
name: z.string(),
|
|
8
|
+
purpose: z.string().optional(),
|
|
9
|
+
});
|
|
10
|
+
export const ChatListRequestSchema = z.object({
|
|
11
|
+
type: z.literal("chat/list"),
|
|
12
|
+
requestId: z.string(),
|
|
13
|
+
});
|
|
14
|
+
export const ChatInspectRequestSchema = z.object({
|
|
15
|
+
type: z.literal("chat/inspect"),
|
|
16
|
+
requestId: z.string(),
|
|
17
|
+
room: z.string(),
|
|
18
|
+
});
|
|
19
|
+
export const ChatDeleteRequestSchema = z.object({
|
|
20
|
+
type: z.literal("chat/delete"),
|
|
21
|
+
requestId: z.string(),
|
|
22
|
+
room: z.string(),
|
|
23
|
+
});
|
|
24
|
+
export const ChatPostRequestSchema = z.object({
|
|
25
|
+
type: z.literal("chat/post"),
|
|
26
|
+
requestId: z.string(),
|
|
27
|
+
room: z.string(),
|
|
28
|
+
body: z.string(),
|
|
29
|
+
authorAgentId: z.string().optional(),
|
|
30
|
+
replyToMessageId: z.string().optional(),
|
|
31
|
+
});
|
|
32
|
+
export const ChatReadRequestSchema = z.object({
|
|
33
|
+
type: z.literal("chat/read"),
|
|
34
|
+
requestId: z.string(),
|
|
35
|
+
room: z.string(),
|
|
36
|
+
limit: z.number().int().nonnegative().optional(),
|
|
37
|
+
since: z.string().optional(),
|
|
38
|
+
authorAgentId: z.string().optional(),
|
|
39
|
+
});
|
|
40
|
+
export const ChatWaitRequestSchema = z.object({
|
|
41
|
+
type: z.literal("chat/wait"),
|
|
42
|
+
requestId: z.string(),
|
|
43
|
+
room: z.string(),
|
|
44
|
+
afterMessageId: z.string().optional(),
|
|
45
|
+
timeoutMs: z.number().int().nonnegative().optional(),
|
|
46
|
+
});
|
|
47
|
+
export const ChatCreateResponseSchema = z.object({
|
|
48
|
+
type: z.literal("chat/create/response"),
|
|
49
|
+
payload: z.object({
|
|
50
|
+
requestId: z.string(),
|
|
51
|
+
room: ChatRoomDetailSchema.nullable(),
|
|
52
|
+
error: z.string().nullable(),
|
|
53
|
+
}),
|
|
54
|
+
});
|
|
55
|
+
export const ChatListResponseSchema = z.object({
|
|
56
|
+
type: z.literal("chat/list/response"),
|
|
57
|
+
payload: z.object({
|
|
58
|
+
requestId: z.string(),
|
|
59
|
+
rooms: z.array(ChatRoomDetailSchema),
|
|
60
|
+
error: z.string().nullable(),
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
export const ChatInspectResponseSchema = z.object({
|
|
64
|
+
type: z.literal("chat/inspect/response"),
|
|
65
|
+
payload: z.object({
|
|
66
|
+
requestId: z.string(),
|
|
67
|
+
room: ChatRoomDetailSchema.nullable(),
|
|
68
|
+
error: z.string().nullable(),
|
|
69
|
+
}),
|
|
70
|
+
});
|
|
71
|
+
export const ChatDeleteResponseSchema = z.object({
|
|
72
|
+
type: z.literal("chat/delete/response"),
|
|
73
|
+
payload: z.object({
|
|
74
|
+
requestId: z.string(),
|
|
75
|
+
room: ChatRoomDetailSchema.nullable(),
|
|
76
|
+
error: z.string().nullable(),
|
|
77
|
+
}),
|
|
78
|
+
});
|
|
79
|
+
export const ChatPostResponseSchema = z.object({
|
|
80
|
+
type: z.literal("chat/post/response"),
|
|
81
|
+
payload: z.object({
|
|
82
|
+
requestId: z.string(),
|
|
83
|
+
message: ChatMessageSchema.nullable(),
|
|
84
|
+
error: z.string().nullable(),
|
|
85
|
+
}),
|
|
86
|
+
});
|
|
87
|
+
export const ChatReadResponseSchema = z.object({
|
|
88
|
+
type: z.literal("chat/read/response"),
|
|
89
|
+
payload: z.object({
|
|
90
|
+
requestId: z.string(),
|
|
91
|
+
messages: z.array(ChatMessageSchema),
|
|
92
|
+
error: z.string().nullable(),
|
|
93
|
+
}),
|
|
94
|
+
});
|
|
95
|
+
export const ChatWaitResponseSchema = z.object({
|
|
96
|
+
type: z.literal("chat/wait/response"),
|
|
97
|
+
payload: z.object({
|
|
98
|
+
requestId: z.string(),
|
|
99
|
+
messages: z.array(ChatMessageSchema),
|
|
100
|
+
timedOut: z.boolean(),
|
|
101
|
+
error: z.string().nullable(),
|
|
102
|
+
}),
|
|
103
|
+
});
|
|
104
|
+
//# sourceMappingURL=rpc-schemas.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ChatRoomSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
6
|
+
createdAt: z.ZodString;
|
|
7
|
+
updatedAt: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type ChatRoom = z.infer<typeof ChatRoomSchema>;
|
|
10
|
+
export declare const ChatMessageSchema: z.ZodObject<{
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
roomId: z.ZodString;
|
|
13
|
+
authorAgentId: z.ZodString;
|
|
14
|
+
body: z.ZodString;
|
|
15
|
+
replyToMessageId: z.ZodNullable<z.ZodString>;
|
|
16
|
+
mentionAgentIds: z.ZodArray<z.ZodString>;
|
|
17
|
+
createdAt: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
20
|
+
export declare const ChatRoomDetailSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
purpose: z.ZodNullable<z.ZodString>;
|
|
24
|
+
createdAt: z.ZodString;
|
|
25
|
+
updatedAt: z.ZodString;
|
|
26
|
+
messageCount: z.ZodNumber;
|
|
27
|
+
lastMessageAt: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
export type ChatRoomDetail = z.infer<typeof ChatRoomDetailSchema>;
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
// COMPAT(chatRooms): retained after the v0.3.0 feature removal; remove after 2027-02-09 when mixed-version peers no longer send legacy messages.
|
|
3
|
+
export const ChatRoomSchema = z.object({
|
|
4
|
+
id: z.string(),
|
|
5
|
+
name: z.string(),
|
|
6
|
+
purpose: z.string().nullable(),
|
|
7
|
+
createdAt: z.string(),
|
|
8
|
+
updatedAt: z.string(),
|
|
9
|
+
});
|
|
10
|
+
export const ChatMessageSchema = z.object({
|
|
11
|
+
id: z.string(),
|
|
12
|
+
roomId: z.string(),
|
|
13
|
+
authorAgentId: z.string(),
|
|
14
|
+
body: z.string(),
|
|
15
|
+
replyToMessageId: z.string().nullable(),
|
|
16
|
+
mentionAgentIds: z.array(z.string()),
|
|
17
|
+
createdAt: z.string(),
|
|
18
|
+
});
|
|
19
|
+
export const ChatRoomDetailSchema = ChatRoomSchema.extend({
|
|
20
|
+
messageCount: z.number().int().nonnegative(),
|
|
21
|
+
lastMessageAt: z.string().nullable(),
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Forge-neutral check traits carried on the wire alongside the stable check
|
|
3
|
+
* status union. Traits are open-ended by design (unknown values must be
|
|
4
|
+
* ignored by consumers); these constants cover the traits the shipped forges
|
|
5
|
+
* emit today so producers and the presentation layer cannot drift apart.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CHECK_TRAIT_MANUAL = "manual";
|
|
8
|
+
export declare const CHECK_TRAIT_ACTION_REQUIRED = "action_required";
|
|
9
|
+
export declare const CHECK_TRAIT_WARNING = "warning";
|
|
10
|
+
export type KnownCheckTrait = typeof CHECK_TRAIT_MANUAL | typeof CHECK_TRAIT_ACTION_REQUIRED | typeof CHECK_TRAIT_WARNING;
|
|
11
|
+
//# sourceMappingURL=check-traits.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Forge-neutral check traits carried on the wire alongside the stable check
|
|
3
|
+
* status union. Traits are open-ended by design (unknown values must be
|
|
4
|
+
* ignored by consumers); these constants cover the traits the shipped forges
|
|
5
|
+
* emit today so producers and the presentation layer cannot drift apart.
|
|
6
|
+
*/
|
|
7
|
+
export const CHECK_TRAIT_MANUAL = "manual";
|
|
8
|
+
export const CHECK_TRAIT_ACTION_REQUIRED = "action_required";
|
|
9
|
+
export const CHECK_TRAIT_WARNING = "warning";
|
|
10
|
+
//# sourceMappingURL=check-traits.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
type Frame = string | Uint8Array;
|
|
2
|
+
/** A malformed wire frame, distinct from a consumer delivery failure. */
|
|
3
|
+
export declare class ChunkedTransportProtocolError extends Error {
|
|
4
|
+
}
|
|
5
|
+
/** Connection-scoped ordered framing, below serialization and routing, above encryption. */
|
|
6
|
+
export declare class ChunkedTransport {
|
|
7
|
+
private readonly io;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
private assembly;
|
|
10
|
+
private size;
|
|
11
|
+
private kind;
|
|
12
|
+
private closed;
|
|
13
|
+
private pending;
|
|
14
|
+
private queuedBytes;
|
|
15
|
+
private activeBytes;
|
|
16
|
+
private readonly drainWaiters;
|
|
17
|
+
constructor(io: {
|
|
18
|
+
frameBytes: number;
|
|
19
|
+
supportsDrain?: boolean;
|
|
20
|
+
/** Writes are admitted synchronously in order; promises track only their drain. */
|
|
21
|
+
supportsConcurrentWrites?: boolean;
|
|
22
|
+
send: (frame: Frame, waitForDrain: boolean) => void | Promise<void>;
|
|
23
|
+
deliver: (frame: Frame) => void;
|
|
24
|
+
onFailure?: (error: unknown) => void;
|
|
25
|
+
onProgress?: () => void;
|
|
26
|
+
});
|
|
27
|
+
/** Bytes waiting behind the active write; physical buffering owns the active frame. */
|
|
28
|
+
get queuedByteLength(): number;
|
|
29
|
+
get isWriting(): boolean;
|
|
30
|
+
send(frame: Frame, options?: {
|
|
31
|
+
waitForDrain?: boolean;
|
|
32
|
+
byteLength?: number;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
private sendChunks;
|
|
35
|
+
receive(frame: Frame): void;
|
|
36
|
+
private assemble;
|
|
37
|
+
private waitForDrain;
|
|
38
|
+
private fail;
|
|
39
|
+
close(): void;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=chunked-transport.d.ts.map
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { MAX_WEBSOCKET_MESSAGE_BYTES } from "./websocket-message-limit.js";
|
|
2
|
+
/** A malformed wire frame, distinct from a consumer delivery failure. */
|
|
3
|
+
export class ChunkedTransportProtocolError extends Error {
|
|
4
|
+
}
|
|
5
|
+
// Reserved outside the application binary opcode space. Version, kind, flags follow.
|
|
6
|
+
const OPCODE = 0x31;
|
|
7
|
+
const HEADER = 4;
|
|
8
|
+
// Keep a single physical write short enough that heartbeat controls can pass on slow links.
|
|
9
|
+
const PACED_FRAME_BYTES = 256 * 1024;
|
|
10
|
+
/** Connection-scoped ordered framing, below serialization and routing, above encryption. */
|
|
11
|
+
export class ChunkedTransport {
|
|
12
|
+
constructor(io) {
|
|
13
|
+
this.io = io;
|
|
14
|
+
this.enabled = false;
|
|
15
|
+
this.size = 0;
|
|
16
|
+
this.kind = 0;
|
|
17
|
+
this.closed = false;
|
|
18
|
+
this.queuedBytes = 0;
|
|
19
|
+
this.activeBytes = 0;
|
|
20
|
+
this.drainWaiters = new Set();
|
|
21
|
+
assertFrameBudget(io.frameBytes);
|
|
22
|
+
}
|
|
23
|
+
/** Bytes waiting behind the active write; physical buffering owns the active frame. */
|
|
24
|
+
get queuedByteLength() {
|
|
25
|
+
return this.queuedBytes - this.activeBytes;
|
|
26
|
+
}
|
|
27
|
+
get isWriting() {
|
|
28
|
+
return this.pending !== undefined;
|
|
29
|
+
}
|
|
30
|
+
send(frame, options = {}) {
|
|
31
|
+
assertFrameBudget(this.io.frameBytes);
|
|
32
|
+
const byteLength = options.byteLength ?? frameByteLength(frame);
|
|
33
|
+
if (byteLength > MAX_WEBSOCKET_MESSAGE_BYTES)
|
|
34
|
+
throw new Error("Logical message too large");
|
|
35
|
+
const control = this.enabled && isHeartbeatControl(frame);
|
|
36
|
+
const chunk = !control &&
|
|
37
|
+
this.enabled &&
|
|
38
|
+
this.io.supportsDrain !== false &&
|
|
39
|
+
byteLength > Math.min(this.io.frameBytes, PACED_FRAME_BYTES);
|
|
40
|
+
if (this.closed)
|
|
41
|
+
throw new Error("Transport closed");
|
|
42
|
+
let started = false;
|
|
43
|
+
const write = () => {
|
|
44
|
+
if (this.closed)
|
|
45
|
+
throw new Error("Transport closed");
|
|
46
|
+
started = true;
|
|
47
|
+
this.activeBytes += byteLength;
|
|
48
|
+
// A synchronous rejection did not admit a frame. Only accepted writes can
|
|
49
|
+
// fail the connection; queued admission failures still belong to their sender.
|
|
50
|
+
const result = chunk
|
|
51
|
+
? this.sendChunks(typeof frame === "string" ? new TextEncoder().encode(frame) : frame, typeof frame === "string")
|
|
52
|
+
: this.io.send(frame, options.waitForDrain === true);
|
|
53
|
+
if (!result)
|
|
54
|
+
return;
|
|
55
|
+
return this.waitForDrain(result).catch((error) => {
|
|
56
|
+
this.fail(error);
|
|
57
|
+
throw error;
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
if (this.queuedBytes + byteLength > MAX_WEBSOCKET_MESSAGE_BYTES) {
|
|
61
|
+
const error = new Error("Logical output queue exceeded its byte limit");
|
|
62
|
+
this.fail(error);
|
|
63
|
+
const rejected = Promise.reject(error);
|
|
64
|
+
void rejected.catch(() => { });
|
|
65
|
+
return rejected;
|
|
66
|
+
}
|
|
67
|
+
this.queuedBytes += byteLength;
|
|
68
|
+
if (control) {
|
|
69
|
+
// Only transport heartbeat controls bypass logical ordering, never application RPCs.
|
|
70
|
+
// The physical socket still preserves wire order and enforces its high-water bound.
|
|
71
|
+
let result;
|
|
72
|
+
try {
|
|
73
|
+
result = this.io.send(frame, options.waitForDrain === true);
|
|
74
|
+
}
|
|
75
|
+
catch (error) {
|
|
76
|
+
this.queuedBytes -= byteLength;
|
|
77
|
+
throw error;
|
|
78
|
+
}
|
|
79
|
+
if (!result) {
|
|
80
|
+
this.queuedBytes -= byteLength;
|
|
81
|
+
return Promise.resolve();
|
|
82
|
+
}
|
|
83
|
+
return this.waitForDrain(result)
|
|
84
|
+
.catch((error) => {
|
|
85
|
+
this.fail(error);
|
|
86
|
+
throw error;
|
|
87
|
+
})
|
|
88
|
+
.finally(() => {
|
|
89
|
+
this.queuedBytes -= byteLength;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
let result;
|
|
93
|
+
try {
|
|
94
|
+
result = this.pending ? this.pending.then(write) : write();
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
this.queuedBytes -= byteLength;
|
|
98
|
+
if (started)
|
|
99
|
+
this.activeBytes -= byteLength;
|
|
100
|
+
throw error;
|
|
101
|
+
}
|
|
102
|
+
if (!result) {
|
|
103
|
+
this.queuedBytes -= byteLength;
|
|
104
|
+
if (started)
|
|
105
|
+
this.activeBytes -= byteLength;
|
|
106
|
+
return Promise.resolve();
|
|
107
|
+
}
|
|
108
|
+
const completion = Promise.resolve(result).finally(() => {
|
|
109
|
+
this.queuedBytes -= byteLength;
|
|
110
|
+
if (started)
|
|
111
|
+
this.activeBytes -= byteLength;
|
|
112
|
+
});
|
|
113
|
+
// Ordinary writes already entered an ordered writer and can use its bounded
|
|
114
|
+
// window. Chunk sequences remain a barrier so their frames never interleave.
|
|
115
|
+
if (chunk || !this.io.supportsConcurrentWrites) {
|
|
116
|
+
const tail = completion.then(() => undefined, () => undefined);
|
|
117
|
+
this.pending = tail;
|
|
118
|
+
void tail.then(() => {
|
|
119
|
+
if (this.pending === tail)
|
|
120
|
+
this.pending = undefined;
|
|
121
|
+
return undefined;
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
return completion;
|
|
125
|
+
}
|
|
126
|
+
sendChunks(bytes, text) {
|
|
127
|
+
const capacity = Math.min(this.io.frameBytes, PACED_FRAME_BYTES) - HEADER;
|
|
128
|
+
const writeChunk = (offset) => {
|
|
129
|
+
if (this.closed)
|
|
130
|
+
throw new Error("Transport closed");
|
|
131
|
+
const end = Math.min(bytes.byteLength, offset + capacity);
|
|
132
|
+
const wire = new Uint8Array(HEADER + end - offset);
|
|
133
|
+
wire.set([
|
|
134
|
+
OPCODE,
|
|
135
|
+
1,
|
|
136
|
+
text ? 0 : 1,
|
|
137
|
+
(offset === 0 ? 1 : 0) | (end === bytes.byteLength ? 2 : 0),
|
|
138
|
+
]);
|
|
139
|
+
wire.set(bytes.subarray(offset, end), HEADER);
|
|
140
|
+
const result = this.io.send(wire, true);
|
|
141
|
+
return result ? this.waitForDrain(result) : undefined;
|
|
142
|
+
};
|
|
143
|
+
const first = writeChunk(0);
|
|
144
|
+
return (async () => {
|
|
145
|
+
await first;
|
|
146
|
+
for (let offset = capacity; offset < bytes.byteLength; offset += capacity)
|
|
147
|
+
await writeChunk(offset);
|
|
148
|
+
})();
|
|
149
|
+
}
|
|
150
|
+
receive(frame) {
|
|
151
|
+
if (this.closed)
|
|
152
|
+
return;
|
|
153
|
+
let message;
|
|
154
|
+
try {
|
|
155
|
+
message = this.assemble(frame);
|
|
156
|
+
}
|
|
157
|
+
catch (error) {
|
|
158
|
+
this.close();
|
|
159
|
+
throw new ChunkedTransportProtocolError(error instanceof Error ? error.message : String(error), { cause: error });
|
|
160
|
+
}
|
|
161
|
+
if (typeof frame !== "string" && frame[0] === OPCODE)
|
|
162
|
+
this.io.onProgress?.();
|
|
163
|
+
if (message !== undefined)
|
|
164
|
+
this.io.deliver(message);
|
|
165
|
+
}
|
|
166
|
+
assemble(frame) {
|
|
167
|
+
if (typeof frame === "string" || frame[0] !== OPCODE) {
|
|
168
|
+
if (this.assembly && !isHeartbeatControl(frame))
|
|
169
|
+
throw new Error("Interrupted chunked message");
|
|
170
|
+
return frame;
|
|
171
|
+
}
|
|
172
|
+
if (!this.enabled ||
|
|
173
|
+
frame.length <= HEADER ||
|
|
174
|
+
frame[1] !== 1 ||
|
|
175
|
+
frame[2] > 1 ||
|
|
176
|
+
(frame[3] & ~3) !== 0)
|
|
177
|
+
throw new Error("Invalid chunk header");
|
|
178
|
+
const start = (frame[3] & 1) !== 0;
|
|
179
|
+
const end = (frame[3] & 2) !== 0;
|
|
180
|
+
if (start === !!this.assembly)
|
|
181
|
+
throw new Error("Invalid chunk sequence");
|
|
182
|
+
if (start) {
|
|
183
|
+
this.assembly = new Uint8Array(0);
|
|
184
|
+
this.kind = frame[2];
|
|
185
|
+
this.size = 0;
|
|
186
|
+
}
|
|
187
|
+
if (frame[2] !== this.kind)
|
|
188
|
+
throw new Error("Chunk kind changed");
|
|
189
|
+
this.size += frame.length - HEADER;
|
|
190
|
+
if (this.size > MAX_WEBSOCKET_MESSAGE_BYTES)
|
|
191
|
+
throw new Error("Logical message too large");
|
|
192
|
+
const payload = frame.subarray(HEADER);
|
|
193
|
+
if (this.assembly.byteLength < this.size) {
|
|
194
|
+
const capacity = Math.min(MAX_WEBSOCKET_MESSAGE_BYTES, Math.max(this.size, this.assembly.byteLength * 2, 16384));
|
|
195
|
+
const grown = new Uint8Array(capacity);
|
|
196
|
+
grown.set(this.assembly.subarray(0, this.size - payload.byteLength));
|
|
197
|
+
this.assembly = grown;
|
|
198
|
+
}
|
|
199
|
+
this.assembly.set(payload, this.size - payload.byteLength);
|
|
200
|
+
if (!end)
|
|
201
|
+
return;
|
|
202
|
+
const data = this.assembly.subarray(0, this.size);
|
|
203
|
+
this.assembly = undefined;
|
|
204
|
+
this.size = 0;
|
|
205
|
+
return this.kind === 0 ? new TextDecoder("utf-8", { fatal: true }).decode(data) : data.slice();
|
|
206
|
+
}
|
|
207
|
+
waitForDrain(pending) {
|
|
208
|
+
// Do not retain an abandoned physical promise's logical queue or encoded message.
|
|
209
|
+
// The physical owner can close without ever invoking its send callback.
|
|
210
|
+
const waiters = this.drainWaiters;
|
|
211
|
+
let finish;
|
|
212
|
+
const result = new Promise((resolve, reject) => {
|
|
213
|
+
finish = (error) => {
|
|
214
|
+
if (error)
|
|
215
|
+
reject(error);
|
|
216
|
+
else
|
|
217
|
+
resolve();
|
|
218
|
+
};
|
|
219
|
+
});
|
|
220
|
+
const settle = (error) => {
|
|
221
|
+
const callback = finish;
|
|
222
|
+
finish = undefined;
|
|
223
|
+
waiters.delete(settle);
|
|
224
|
+
callback?.(error);
|
|
225
|
+
};
|
|
226
|
+
waiters.add(settle);
|
|
227
|
+
void pending.then(() => settle(), (error) => settle(error instanceof Error ? error : new Error(String(error))));
|
|
228
|
+
return result;
|
|
229
|
+
}
|
|
230
|
+
fail(error) {
|
|
231
|
+
if (this.closed)
|
|
232
|
+
return;
|
|
233
|
+
this.close();
|
|
234
|
+
this.io.onFailure?.(error);
|
|
235
|
+
}
|
|
236
|
+
close() {
|
|
237
|
+
if (this.closed)
|
|
238
|
+
return;
|
|
239
|
+
this.closed = true;
|
|
240
|
+
this.enabled = false;
|
|
241
|
+
this.assembly = undefined;
|
|
242
|
+
this.size = 0;
|
|
243
|
+
const error = new Error("Transport closed");
|
|
244
|
+
for (const cancel of this.drainWaiters)
|
|
245
|
+
cancel(error);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
function isHeartbeatControl(frame) {
|
|
249
|
+
return frame === '{"type":"ping"}' || frame === '{"type":"pong"}';
|
|
250
|
+
}
|
|
251
|
+
function assertFrameBudget(bytes) {
|
|
252
|
+
if (!Number.isSafeInteger(bytes) || bytes <= HEADER)
|
|
253
|
+
throw new Error("Invalid transport frame budget");
|
|
254
|
+
}
|
|
255
|
+
function frameByteLength(frame) {
|
|
256
|
+
if (typeof frame !== "string")
|
|
257
|
+
return frame.byteLength;
|
|
258
|
+
let bytes = 0;
|
|
259
|
+
for (let index = 0; index < frame.length; index++) {
|
|
260
|
+
const code = frame.charCodeAt(index);
|
|
261
|
+
if (code <= 0x7f)
|
|
262
|
+
bytes++;
|
|
263
|
+
else if (code <= 0x7ff)
|
|
264
|
+
bytes += 2;
|
|
265
|
+
else if (code >= 0xd800 &&
|
|
266
|
+
code <= 0xdbff &&
|
|
267
|
+
frame.charCodeAt(index + 1) >= 0xdc00 &&
|
|
268
|
+
frame.charCodeAt(index + 1) <= 0xdfff) {
|
|
269
|
+
bytes += 4;
|
|
270
|
+
index++;
|
|
271
|
+
}
|
|
272
|
+
else
|
|
273
|
+
bytes += 3;
|
|
274
|
+
}
|
|
275
|
+
return bytes;
|
|
276
|
+
}
|
|
277
|
+
//# sourceMappingURL=chunked-transport.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const CLIENT_CAPS: {
|
|
2
|
+
readonly binaryChunkingV1: "binary_chunking_v1";
|
|
3
|
+
readonly helloRejection: "hello_rejection";
|
|
4
|
+
readonly ownedSubscriptions: "owned_subscriptions";
|
|
5
|
+
readonly explicitEventSubscriptions: "explicit_event_subscriptions";
|
|
6
|
+
readonly allProviders: "all_providers";
|
|
7
|
+
readonly selectiveAgentTimeline: "selective_agent_timeline";
|
|
8
|
+
readonly reasoningMergeEnum: "reasoning_merge_enum";
|
|
9
|
+
readonly customModeIcons: "custom_mode_icons";
|
|
10
|
+
readonly terminalReflowableSnapshot: "terminal_reflowable_snapshot";
|
|
11
|
+
readonly providerSubagents: "provider_subagents";
|
|
12
|
+
readonly projectedSubagentTimeline: "projected_subagent_timeline";
|
|
13
|
+
readonly projectUpdates: "project_updates";
|
|
14
|
+
readonly compactProviderSnapshots: "compact_provider_snapshots";
|
|
15
|
+
readonly providerSnapshotReferences: "provider_snapshot_references";
|
|
16
|
+
readonly timelineReplacementInvalidation: "timeline_replacement_invalidation";
|
|
17
|
+
readonly timelineNotifications: "timeline_notifications";
|
|
18
|
+
readonly pluginTimelineItems: "plugin_timeline_items";
|
|
19
|
+
readonly workspaceSetupObservation: "workspace_setup_observation";
|
|
20
|
+
readonly workspaceSetupBlocked: "workspace_setup_blocked";
|
|
21
|
+
readonly browserHost: "browser_host";
|
|
22
|
+
};
|
|
23
|
+
export type ClientCapability = (typeof CLIENT_CAPS)[keyof typeof CLIENT_CAPS];
|
|
24
|
+
//# sourceMappingURL=client-capabilities.d.ts.map
|