@getpaseo/server 0.1.12 → 0.1.14
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/server/client/daemon-client.d.ts +84 -87
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +253 -299
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/agent-manager.d.ts +2 -1
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +23 -0
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/agent/agent-sdk-types.d.ts +0 -15
- package/dist/server/server/agent/agent-sdk-types.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.js +268 -35
- package/dist/server/server/agent/providers/claude-agent.js.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +85 -36
- package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/server/server/bootstrap.d.ts.map +1 -1
- package/dist/server/server/bootstrap.js +3 -1
- package/dist/server/server/bootstrap.js.map +1 -1
- package/dist/server/server/daemon-version.d.ts +5 -0
- package/dist/server/server/daemon-version.d.ts.map +1 -0
- package/dist/server/server/daemon-version.js +22 -0
- package/dist/server/server/daemon-version.js.map +1 -0
- package/dist/server/server/dictation/dictation-stream-manager.d.ts +1 -0
- package/dist/server/server/dictation/dictation-stream-manager.d.ts.map +1 -1
- package/dist/server/server/dictation/dictation-stream-manager.js +32 -1
- package/dist/server/server/dictation/dictation-stream-manager.js.map +1 -1
- package/dist/server/server/package-version.d.ts +13 -0
- package/dist/server/server/package-version.d.ts.map +1 -0
- package/dist/server/server/package-version.js +47 -0
- package/dist/server/server/package-version.js.map +1 -0
- package/dist/server/server/persisted-config.d.ts +2 -2
- package/dist/server/server/pid-lock.d.ts.map +1 -1
- package/dist/server/server/pid-lock.js +16 -2
- package/dist/server/server/pid-lock.js.map +1 -1
- package/dist/server/server/session.d.ts +23 -21
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +975 -850
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/server/websocket-server.d.ts +5 -1
- package/dist/server/server/websocket-server.d.ts.map +1 -1
- package/dist/server/server/websocket-server.js +27 -16
- package/dist/server/server/websocket-server.js.map +1 -1
- package/dist/server/shared/agent-attention-notification.d.ts +40 -0
- package/dist/server/shared/agent-attention-notification.d.ts.map +1 -0
- package/dist/server/shared/agent-attention-notification.js +130 -0
- package/dist/server/shared/agent-attention-notification.js.map +1 -0
- package/dist/server/shared/messages.d.ts +974 -619
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +285 -296
- package/dist/server/shared/messages.js.map +1 -1
- package/dist/server/utils/checkout-git.d.ts +3 -0
- package/dist/server/utils/checkout-git.d.ts.map +1 -1
- package/dist/server/utils/checkout-git.js +102 -23
- package/dist/server/utils/checkout-git.js.map +1 -1
- package/dist/server/utils/directory-suggestions.d.ts +15 -0
- package/dist/server/utils/directory-suggestions.d.ts.map +1 -1
- package/dist/server/utils/directory-suggestions.js +348 -21
- package/dist/server/utils/directory-suggestions.js.map +1 -1
- package/dist/server/utils/worktree-metadata.d.ts +4 -4
- package/dist/server/utils/worktree.d.ts +1 -0
- package/dist/server/utils/worktree.d.ts.map +1 -1
- package/dist/server/utils/worktree.js +41 -77
- package/dist/server/utils/worktree.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, AgentRuntimeInfo, AgentTimelineItem, AgentUsage } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, AgentRuntimeInfo, AgentTimelineItem, AgentUsage } from '../server/agent/agent-sdk-types.js';
|
|
3
3
|
export declare const AgentStatusSchema: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>;
|
|
4
4
|
export declare const AgentPermissionResponseSchema: z.ZodType<AgentPermissionResponse>;
|
|
5
5
|
export declare const AgentPermissionRequestPayloadSchema: z.ZodType<AgentPermissionRequest>;
|
|
@@ -106,18 +106,69 @@ export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<"typ
|
|
|
106
106
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
107
107
|
timestamp: z.ZodString;
|
|
108
108
|
shouldNotify: z.ZodBoolean;
|
|
109
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
title: z.ZodString;
|
|
111
|
+
body: z.ZodString;
|
|
112
|
+
data: z.ZodObject<{
|
|
113
|
+
serverId: z.ZodString;
|
|
114
|
+
agentId: z.ZodString;
|
|
115
|
+
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
agentId: string;
|
|
118
|
+
reason: "finished" | "error" | "permission";
|
|
119
|
+
serverId: string;
|
|
120
|
+
}, {
|
|
121
|
+
agentId: string;
|
|
122
|
+
reason: "finished" | "error" | "permission";
|
|
123
|
+
serverId: string;
|
|
124
|
+
}>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
title: string;
|
|
127
|
+
body: string;
|
|
128
|
+
data: {
|
|
129
|
+
agentId: string;
|
|
130
|
+
reason: "finished" | "error" | "permission";
|
|
131
|
+
serverId: string;
|
|
132
|
+
};
|
|
133
|
+
}, {
|
|
134
|
+
title: string;
|
|
135
|
+
body: string;
|
|
136
|
+
data: {
|
|
137
|
+
agentId: string;
|
|
138
|
+
reason: "finished" | "error" | "permission";
|
|
139
|
+
serverId: string;
|
|
140
|
+
};
|
|
141
|
+
}>>;
|
|
109
142
|
}, "strip", z.ZodTypeAny, {
|
|
110
143
|
reason: "finished" | "error" | "permission";
|
|
111
144
|
provider: string;
|
|
112
145
|
type: "attention_required";
|
|
113
146
|
timestamp: string;
|
|
114
147
|
shouldNotify: boolean;
|
|
148
|
+
notification?: {
|
|
149
|
+
title: string;
|
|
150
|
+
body: string;
|
|
151
|
+
data: {
|
|
152
|
+
agentId: string;
|
|
153
|
+
reason: "finished" | "error" | "permission";
|
|
154
|
+
serverId: string;
|
|
155
|
+
};
|
|
156
|
+
} | undefined;
|
|
115
157
|
}, {
|
|
116
158
|
reason: "finished" | "error" | "permission";
|
|
117
159
|
provider: string;
|
|
118
160
|
type: "attention_required";
|
|
119
161
|
timestamp: string;
|
|
120
162
|
shouldNotify: boolean;
|
|
163
|
+
notification?: {
|
|
164
|
+
title: string;
|
|
165
|
+
body: string;
|
|
166
|
+
data: {
|
|
167
|
+
agentId: string;
|
|
168
|
+
reason: "finished" | "error" | "permission";
|
|
169
|
+
serverId: string;
|
|
170
|
+
};
|
|
171
|
+
} | undefined;
|
|
121
172
|
}>]>;
|
|
122
173
|
export declare const AgentSnapshotPayloadSchema: z.ZodObject<{
|
|
123
174
|
id: z.ZodString;
|
|
@@ -227,67 +278,6 @@ export declare const AudioPlayedMessageSchema: z.ZodObject<{
|
|
|
227
278
|
id: string;
|
|
228
279
|
type: "audio_played";
|
|
229
280
|
}>;
|
|
230
|
-
export declare const RequestAgentListMessageSchema: z.ZodObject<{
|
|
231
|
-
type: z.ZodLiteral<"request_agent_list">;
|
|
232
|
-
requestId: z.ZodString;
|
|
233
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
234
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
235
|
-
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
labels?: Record<string, string> | undefined;
|
|
237
|
-
}, {
|
|
238
|
-
labels?: Record<string, string> | undefined;
|
|
239
|
-
}>>;
|
|
240
|
-
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
type: "request_agent_list";
|
|
242
|
-
requestId: string;
|
|
243
|
-
filter?: {
|
|
244
|
-
labels?: Record<string, string> | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
}, {
|
|
247
|
-
type: "request_agent_list";
|
|
248
|
-
requestId: string;
|
|
249
|
-
filter?: {
|
|
250
|
-
labels?: Record<string, string> | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
}>;
|
|
253
|
-
export declare const SubscribeAgentUpdatesMessageSchema: z.ZodObject<{
|
|
254
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
255
|
-
subscriptionId: z.ZodString;
|
|
256
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
257
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
258
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
259
|
-
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
agentId?: string | undefined;
|
|
261
|
-
labels?: Record<string, string> | undefined;
|
|
262
|
-
}, {
|
|
263
|
-
agentId?: string | undefined;
|
|
264
|
-
labels?: Record<string, string> | undefined;
|
|
265
|
-
}>>;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
type: "subscribe_agent_updates";
|
|
268
|
-
subscriptionId: string;
|
|
269
|
-
filter?: {
|
|
270
|
-
agentId?: string | undefined;
|
|
271
|
-
labels?: Record<string, string> | undefined;
|
|
272
|
-
} | undefined;
|
|
273
|
-
}, {
|
|
274
|
-
type: "subscribe_agent_updates";
|
|
275
|
-
subscriptionId: string;
|
|
276
|
-
filter?: {
|
|
277
|
-
agentId?: string | undefined;
|
|
278
|
-
labels?: Record<string, string> | undefined;
|
|
279
|
-
} | undefined;
|
|
280
|
-
}>;
|
|
281
|
-
export declare const UnsubscribeAgentUpdatesMessageSchema: z.ZodObject<{
|
|
282
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
283
|
-
subscriptionId: z.ZodString;
|
|
284
|
-
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
type: "unsubscribe_agent_updates";
|
|
286
|
-
subscriptionId: string;
|
|
287
|
-
}, {
|
|
288
|
-
type: "unsubscribe_agent_updates";
|
|
289
|
-
subscriptionId: string;
|
|
290
|
-
}>;
|
|
291
281
|
export declare const DeleteAgentRequestMessageSchema: z.ZodObject<{
|
|
292
282
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
293
283
|
agentId: z.ZodString;
|
|
@@ -425,6 +415,13 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
425
415
|
limit: number;
|
|
426
416
|
cursor?: string | undefined;
|
|
427
417
|
}>>;
|
|
418
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
subscriptionId?: string | undefined;
|
|
422
|
+
}, {
|
|
423
|
+
subscriptionId?: string | undefined;
|
|
424
|
+
}>>;
|
|
428
425
|
}, "strip", z.ZodTypeAny, {
|
|
429
426
|
type: "fetch_agents_request";
|
|
430
427
|
requestId: string;
|
|
@@ -443,6 +440,9 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
443
440
|
limit: number;
|
|
444
441
|
cursor?: string | undefined;
|
|
445
442
|
} | undefined;
|
|
443
|
+
subscribe?: {
|
|
444
|
+
subscriptionId?: string | undefined;
|
|
445
|
+
} | undefined;
|
|
446
446
|
}, {
|
|
447
447
|
type: "fetch_agents_request";
|
|
448
448
|
requestId: string;
|
|
@@ -461,6 +461,9 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
|
|
|
461
461
|
limit: number;
|
|
462
462
|
cursor?: string | undefined;
|
|
463
463
|
} | undefined;
|
|
464
|
+
subscribe?: {
|
|
465
|
+
subscriptionId?: string | undefined;
|
|
466
|
+
} | undefined;
|
|
464
467
|
}>;
|
|
465
468
|
export declare const FetchAgentRequestMessageSchema: z.ZodObject<{
|
|
466
469
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
@@ -1598,15 +1601,15 @@ export declare const CheckoutPrCreateRequestSchema: z.ZodObject<{
|
|
|
1598
1601
|
type: "checkout_pr_create_request";
|
|
1599
1602
|
requestId: string;
|
|
1600
1603
|
title?: string | undefined;
|
|
1601
|
-
baseRef?: string | undefined;
|
|
1602
1604
|
body?: string | undefined;
|
|
1605
|
+
baseRef?: string | undefined;
|
|
1603
1606
|
}, {
|
|
1604
1607
|
cwd: string;
|
|
1605
1608
|
type: "checkout_pr_create_request";
|
|
1606
1609
|
requestId: string;
|
|
1607
1610
|
title?: string | undefined;
|
|
1608
|
-
baseRef?: string | undefined;
|
|
1609
1611
|
body?: string | undefined;
|
|
1612
|
+
baseRef?: string | undefined;
|
|
1610
1613
|
}>;
|
|
1611
1614
|
export declare const CheckoutPrStatusRequestSchema: z.ZodObject<{
|
|
1612
1615
|
type: z.ZodLiteral<"checkout_pr_status_request">;
|
|
@@ -1659,18 +1662,27 @@ export declare const BranchSuggestionsRequestSchema: z.ZodObject<{
|
|
|
1659
1662
|
export declare const DirectorySuggestionsRequestSchema: z.ZodObject<{
|
|
1660
1663
|
type: z.ZodLiteral<"directory_suggestions_request">;
|
|
1661
1664
|
query: z.ZodString;
|
|
1665
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1666
|
+
includeFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1667
|
+
includeDirectories: z.ZodOptional<z.ZodBoolean>;
|
|
1662
1668
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1663
1669
|
requestId: z.ZodString;
|
|
1664
1670
|
}, "strip", z.ZodTypeAny, {
|
|
1665
1671
|
type: "directory_suggestions_request";
|
|
1666
1672
|
query: string;
|
|
1667
1673
|
requestId: string;
|
|
1674
|
+
cwd?: string | undefined;
|
|
1668
1675
|
limit?: number | undefined;
|
|
1676
|
+
includeFiles?: boolean | undefined;
|
|
1677
|
+
includeDirectories?: boolean | undefined;
|
|
1669
1678
|
}, {
|
|
1670
1679
|
type: "directory_suggestions_request";
|
|
1671
1680
|
query: string;
|
|
1672
1681
|
requestId: string;
|
|
1682
|
+
cwd?: string | undefined;
|
|
1673
1683
|
limit?: number | undefined;
|
|
1684
|
+
includeFiles?: boolean | undefined;
|
|
1685
|
+
includeDirectories?: boolean | undefined;
|
|
1674
1686
|
}>;
|
|
1675
1687
|
export declare const PaseoWorktreeListRequestSchema: z.ZodObject<{
|
|
1676
1688
|
type: z.ZodLiteral<"paseo_worktree_list_request">;
|
|
@@ -1803,34 +1815,48 @@ export declare const PingMessageSchema: z.ZodObject<{
|
|
|
1803
1815
|
export declare const ListCommandsRequestSchema: z.ZodObject<{
|
|
1804
1816
|
type: z.ZodLiteral<"list_commands_request">;
|
|
1805
1817
|
agentId: z.ZodString;
|
|
1818
|
+
draftConfig: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
1820
|
+
cwd: z.ZodString;
|
|
1821
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1823
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
1824
|
+
}, "strip", z.ZodTypeAny, {
|
|
1825
|
+
provider: string;
|
|
1826
|
+
cwd: string;
|
|
1827
|
+
modeId?: string | undefined;
|
|
1828
|
+
model?: string | undefined;
|
|
1829
|
+
thinkingOptionId?: string | undefined;
|
|
1830
|
+
}, {
|
|
1831
|
+
provider: string;
|
|
1832
|
+
cwd: string;
|
|
1833
|
+
modeId?: string | undefined;
|
|
1834
|
+
model?: string | undefined;
|
|
1835
|
+
thinkingOptionId?: string | undefined;
|
|
1836
|
+
}>>;
|
|
1806
1837
|
requestId: z.ZodString;
|
|
1807
1838
|
}, "strip", z.ZodTypeAny, {
|
|
1808
1839
|
agentId: string;
|
|
1809
1840
|
type: "list_commands_request";
|
|
1810
1841
|
requestId: string;
|
|
1842
|
+
draftConfig?: {
|
|
1843
|
+
provider: string;
|
|
1844
|
+
cwd: string;
|
|
1845
|
+
modeId?: string | undefined;
|
|
1846
|
+
model?: string | undefined;
|
|
1847
|
+
thinkingOptionId?: string | undefined;
|
|
1848
|
+
} | undefined;
|
|
1811
1849
|
}, {
|
|
1812
1850
|
agentId: string;
|
|
1813
1851
|
type: "list_commands_request";
|
|
1814
1852
|
requestId: string;
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
}, "strip", z.ZodTypeAny, {
|
|
1823
|
-
agentId: string;
|
|
1824
|
-
type: "execute_command_request";
|
|
1825
|
-
requestId: string;
|
|
1826
|
-
commandName: string;
|
|
1827
|
-
args?: string | undefined;
|
|
1828
|
-
}, {
|
|
1829
|
-
agentId: string;
|
|
1830
|
-
type: "execute_command_request";
|
|
1831
|
-
requestId: string;
|
|
1832
|
-
commandName: string;
|
|
1833
|
-
args?: string | undefined;
|
|
1853
|
+
draftConfig?: {
|
|
1854
|
+
provider: string;
|
|
1855
|
+
cwd: string;
|
|
1856
|
+
modeId?: string | undefined;
|
|
1857
|
+
model?: string | undefined;
|
|
1858
|
+
thinkingOptionId?: string | undefined;
|
|
1859
|
+
} | undefined;
|
|
1834
1860
|
}>;
|
|
1835
1861
|
export declare const RegisterPushTokenMessageSchema: z.ZodObject<{
|
|
1836
1862
|
type: z.ZodLiteral<"register_push_token">;
|
|
@@ -2112,6 +2138,13 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2112
2138
|
limit: number;
|
|
2113
2139
|
cursor?: string | undefined;
|
|
2114
2140
|
}>>;
|
|
2141
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
2142
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
2143
|
+
}, "strip", z.ZodTypeAny, {
|
|
2144
|
+
subscriptionId?: string | undefined;
|
|
2145
|
+
}, {
|
|
2146
|
+
subscriptionId?: string | undefined;
|
|
2147
|
+
}>>;
|
|
2115
2148
|
}, "strip", z.ZodTypeAny, {
|
|
2116
2149
|
type: "fetch_agents_request";
|
|
2117
2150
|
requestId: string;
|
|
@@ -2130,6 +2163,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2130
2163
|
limit: number;
|
|
2131
2164
|
cursor?: string | undefined;
|
|
2132
2165
|
} | undefined;
|
|
2166
|
+
subscribe?: {
|
|
2167
|
+
subscriptionId?: string | undefined;
|
|
2168
|
+
} | undefined;
|
|
2133
2169
|
}, {
|
|
2134
2170
|
type: "fetch_agents_request";
|
|
2135
2171
|
requestId: string;
|
|
@@ -2148,6 +2184,9 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2148
2184
|
limit: number;
|
|
2149
2185
|
cursor?: string | undefined;
|
|
2150
2186
|
} | undefined;
|
|
2187
|
+
subscribe?: {
|
|
2188
|
+
subscriptionId?: string | undefined;
|
|
2189
|
+
} | undefined;
|
|
2151
2190
|
}>, z.ZodObject<{
|
|
2152
2191
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
2153
2192
|
requestId: z.ZodString;
|
|
@@ -2161,42 +2200,6 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2161
2200
|
agentId: string;
|
|
2162
2201
|
type: "fetch_agent_request";
|
|
2163
2202
|
requestId: string;
|
|
2164
|
-
}>, z.ZodObject<{
|
|
2165
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
2166
|
-
subscriptionId: z.ZodString;
|
|
2167
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
2168
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2169
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
2170
|
-
}, "strip", z.ZodTypeAny, {
|
|
2171
|
-
agentId?: string | undefined;
|
|
2172
|
-
labels?: Record<string, string> | undefined;
|
|
2173
|
-
}, {
|
|
2174
|
-
agentId?: string | undefined;
|
|
2175
|
-
labels?: Record<string, string> | undefined;
|
|
2176
|
-
}>>;
|
|
2177
|
-
}, "strip", z.ZodTypeAny, {
|
|
2178
|
-
type: "subscribe_agent_updates";
|
|
2179
|
-
subscriptionId: string;
|
|
2180
|
-
filter?: {
|
|
2181
|
-
agentId?: string | undefined;
|
|
2182
|
-
labels?: Record<string, string> | undefined;
|
|
2183
|
-
} | undefined;
|
|
2184
|
-
}, {
|
|
2185
|
-
type: "subscribe_agent_updates";
|
|
2186
|
-
subscriptionId: string;
|
|
2187
|
-
filter?: {
|
|
2188
|
-
agentId?: string | undefined;
|
|
2189
|
-
labels?: Record<string, string> | undefined;
|
|
2190
|
-
} | undefined;
|
|
2191
|
-
}>, z.ZodObject<{
|
|
2192
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
2193
|
-
subscriptionId: z.ZodString;
|
|
2194
|
-
}, "strip", z.ZodTypeAny, {
|
|
2195
|
-
type: "unsubscribe_agent_updates";
|
|
2196
|
-
subscriptionId: string;
|
|
2197
|
-
}, {
|
|
2198
|
-
type: "unsubscribe_agent_updates";
|
|
2199
|
-
subscriptionId: string;
|
|
2200
2203
|
}>, z.ZodObject<{
|
|
2201
2204
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
2202
2205
|
agentId: z.ZodString;
|
|
@@ -3124,15 +3127,15 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3124
3127
|
type: "checkout_pr_create_request";
|
|
3125
3128
|
requestId: string;
|
|
3126
3129
|
title?: string | undefined;
|
|
3127
|
-
baseRef?: string | undefined;
|
|
3128
3130
|
body?: string | undefined;
|
|
3131
|
+
baseRef?: string | undefined;
|
|
3129
3132
|
}, {
|
|
3130
3133
|
cwd: string;
|
|
3131
3134
|
type: "checkout_pr_create_request";
|
|
3132
3135
|
requestId: string;
|
|
3133
3136
|
title?: string | undefined;
|
|
3134
|
-
baseRef?: string | undefined;
|
|
3135
3137
|
body?: string | undefined;
|
|
3138
|
+
baseRef?: string | undefined;
|
|
3136
3139
|
}>, z.ZodObject<{
|
|
3137
3140
|
type: z.ZodLiteral<"checkout_pr_status_request">;
|
|
3138
3141
|
cwd: z.ZodString;
|
|
@@ -3181,18 +3184,27 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3181
3184
|
}>, z.ZodObject<{
|
|
3182
3185
|
type: z.ZodLiteral<"directory_suggestions_request">;
|
|
3183
3186
|
query: z.ZodString;
|
|
3187
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
3188
|
+
includeFiles: z.ZodOptional<z.ZodBoolean>;
|
|
3189
|
+
includeDirectories: z.ZodOptional<z.ZodBoolean>;
|
|
3184
3190
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3185
3191
|
requestId: z.ZodString;
|
|
3186
3192
|
}, "strip", z.ZodTypeAny, {
|
|
3187
3193
|
type: "directory_suggestions_request";
|
|
3188
3194
|
query: string;
|
|
3189
3195
|
requestId: string;
|
|
3196
|
+
cwd?: string | undefined;
|
|
3190
3197
|
limit?: number | undefined;
|
|
3198
|
+
includeFiles?: boolean | undefined;
|
|
3199
|
+
includeDirectories?: boolean | undefined;
|
|
3191
3200
|
}, {
|
|
3192
3201
|
type: "directory_suggestions_request";
|
|
3193
3202
|
query: string;
|
|
3194
3203
|
requestId: string;
|
|
3204
|
+
cwd?: string | undefined;
|
|
3195
3205
|
limit?: number | undefined;
|
|
3206
|
+
includeFiles?: boolean | undefined;
|
|
3207
|
+
includeDirectories?: boolean | undefined;
|
|
3196
3208
|
}>, z.ZodObject<{
|
|
3197
3209
|
type: z.ZodLiteral<"paseo_worktree_list_request">;
|
|
3198
3210
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -3316,33 +3328,48 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3316
3328
|
}>, z.ZodObject<{
|
|
3317
3329
|
type: z.ZodLiteral<"list_commands_request">;
|
|
3318
3330
|
agentId: z.ZodString;
|
|
3331
|
+
draftConfig: z.ZodOptional<z.ZodObject<{
|
|
3332
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
3333
|
+
cwd: z.ZodString;
|
|
3334
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
3335
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3336
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
3337
|
+
}, "strip", z.ZodTypeAny, {
|
|
3338
|
+
provider: string;
|
|
3339
|
+
cwd: string;
|
|
3340
|
+
modeId?: string | undefined;
|
|
3341
|
+
model?: string | undefined;
|
|
3342
|
+
thinkingOptionId?: string | undefined;
|
|
3343
|
+
}, {
|
|
3344
|
+
provider: string;
|
|
3345
|
+
cwd: string;
|
|
3346
|
+
modeId?: string | undefined;
|
|
3347
|
+
model?: string | undefined;
|
|
3348
|
+
thinkingOptionId?: string | undefined;
|
|
3349
|
+
}>>;
|
|
3319
3350
|
requestId: z.ZodString;
|
|
3320
3351
|
}, "strip", z.ZodTypeAny, {
|
|
3321
3352
|
agentId: string;
|
|
3322
3353
|
type: "list_commands_request";
|
|
3323
3354
|
requestId: string;
|
|
3355
|
+
draftConfig?: {
|
|
3356
|
+
provider: string;
|
|
3357
|
+
cwd: string;
|
|
3358
|
+
modeId?: string | undefined;
|
|
3359
|
+
model?: string | undefined;
|
|
3360
|
+
thinkingOptionId?: string | undefined;
|
|
3361
|
+
} | undefined;
|
|
3324
3362
|
}, {
|
|
3325
3363
|
agentId: string;
|
|
3326
3364
|
type: "list_commands_request";
|
|
3327
3365
|
requestId: string;
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
}
|
|
3335
|
-
agentId: string;
|
|
3336
|
-
type: "execute_command_request";
|
|
3337
|
-
requestId: string;
|
|
3338
|
-
commandName: string;
|
|
3339
|
-
args?: string | undefined;
|
|
3340
|
-
}, {
|
|
3341
|
-
agentId: string;
|
|
3342
|
-
type: "execute_command_request";
|
|
3343
|
-
requestId: string;
|
|
3344
|
-
commandName: string;
|
|
3345
|
-
args?: string | undefined;
|
|
3366
|
+
draftConfig?: {
|
|
3367
|
+
provider: string;
|
|
3368
|
+
cwd: string;
|
|
3369
|
+
modeId?: string | undefined;
|
|
3370
|
+
model?: string | undefined;
|
|
3371
|
+
thinkingOptionId?: string | undefined;
|
|
3372
|
+
} | undefined;
|
|
3346
3373
|
}>, z.ZodObject<{
|
|
3347
3374
|
type: z.ZodLiteral<"register_push_token">;
|
|
3348
3375
|
token: z.ZodString;
|
|
@@ -4059,6 +4086,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4059
4086
|
status: z.ZodLiteral<"server_info">;
|
|
4060
4087
|
serverId: z.ZodString;
|
|
4061
4088
|
hostname: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4089
|
+
version: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4062
4090
|
capabilities: z.ZodEffects<z.ZodOptional<z.ZodUnknown>, z.objectOutputType<{
|
|
4063
4091
|
voice: z.ZodOptional<z.ZodObject<{
|
|
4064
4092
|
dictation: z.ZodObject<{
|
|
@@ -4105,6 +4133,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4105
4133
|
status: z.ZodLiteral<"server_info">;
|
|
4106
4134
|
serverId: z.ZodString;
|
|
4107
4135
|
hostname: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4136
|
+
version: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4108
4137
|
capabilities: z.ZodEffects<z.ZodOptional<z.ZodUnknown>, z.objectOutputType<{
|
|
4109
4138
|
voice: z.ZodOptional<z.ZodObject<{
|
|
4110
4139
|
dictation: z.ZodObject<{
|
|
@@ -4151,6 +4180,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4151
4180
|
status: z.ZodLiteral<"server_info">;
|
|
4152
4181
|
serverId: z.ZodString;
|
|
4153
4182
|
hostname: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4183
|
+
version: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4154
4184
|
capabilities: z.ZodEffects<z.ZodOptional<z.ZodUnknown>, z.objectOutputType<{
|
|
4155
4185
|
voice: z.ZodOptional<z.ZodObject<{
|
|
4156
4186
|
dictation: z.ZodObject<{
|
|
@@ -4195,6 +4225,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4195
4225
|
}, z.ZodTypeAny, "passthrough"> | undefined, unknown>;
|
|
4196
4226
|
}, z.ZodTypeAny, "passthrough">>, {
|
|
4197
4227
|
hostname: string | null;
|
|
4228
|
+
version: string | null;
|
|
4198
4229
|
status: "server_info";
|
|
4199
4230
|
serverId: string;
|
|
4200
4231
|
capabilities?: z.objectOutputType<{
|
|
@@ -4243,6 +4274,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4243
4274
|
status: z.ZodLiteral<"server_info">;
|
|
4244
4275
|
serverId: z.ZodString;
|
|
4245
4276
|
hostname: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4277
|
+
version: z.ZodOptional<z.ZodEffects<z.ZodUnknown, string | null, unknown>>;
|
|
4246
4278
|
capabilities: z.ZodEffects<z.ZodOptional<z.ZodUnknown>, z.objectOutputType<{
|
|
4247
4279
|
voice: z.ZodOptional<z.ZodObject<{
|
|
4248
4280
|
dictation: z.ZodObject<{
|
|
@@ -5851,18 +5883,69 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5851
5883
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
5852
5884
|
timestamp: z.ZodString;
|
|
5853
5885
|
shouldNotify: z.ZodBoolean;
|
|
5886
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
5887
|
+
title: z.ZodString;
|
|
5888
|
+
body: z.ZodString;
|
|
5889
|
+
data: z.ZodObject<{
|
|
5890
|
+
serverId: z.ZodString;
|
|
5891
|
+
agentId: z.ZodString;
|
|
5892
|
+
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
5893
|
+
}, "strip", z.ZodTypeAny, {
|
|
5894
|
+
agentId: string;
|
|
5895
|
+
reason: "finished" | "error" | "permission";
|
|
5896
|
+
serverId: string;
|
|
5897
|
+
}, {
|
|
5898
|
+
agentId: string;
|
|
5899
|
+
reason: "finished" | "error" | "permission";
|
|
5900
|
+
serverId: string;
|
|
5901
|
+
}>;
|
|
5902
|
+
}, "strip", z.ZodTypeAny, {
|
|
5903
|
+
title: string;
|
|
5904
|
+
body: string;
|
|
5905
|
+
data: {
|
|
5906
|
+
agentId: string;
|
|
5907
|
+
reason: "finished" | "error" | "permission";
|
|
5908
|
+
serverId: string;
|
|
5909
|
+
};
|
|
5910
|
+
}, {
|
|
5911
|
+
title: string;
|
|
5912
|
+
body: string;
|
|
5913
|
+
data: {
|
|
5914
|
+
agentId: string;
|
|
5915
|
+
reason: "finished" | "error" | "permission";
|
|
5916
|
+
serverId: string;
|
|
5917
|
+
};
|
|
5918
|
+
}>>;
|
|
5854
5919
|
}, "strip", z.ZodTypeAny, {
|
|
5855
5920
|
reason: "finished" | "error" | "permission";
|
|
5856
5921
|
provider: string;
|
|
5857
5922
|
type: "attention_required";
|
|
5858
5923
|
timestamp: string;
|
|
5859
5924
|
shouldNotify: boolean;
|
|
5925
|
+
notification?: {
|
|
5926
|
+
title: string;
|
|
5927
|
+
body: string;
|
|
5928
|
+
data: {
|
|
5929
|
+
agentId: string;
|
|
5930
|
+
reason: "finished" | "error" | "permission";
|
|
5931
|
+
serverId: string;
|
|
5932
|
+
};
|
|
5933
|
+
} | undefined;
|
|
5860
5934
|
}, {
|
|
5861
5935
|
reason: "finished" | "error" | "permission";
|
|
5862
5936
|
provider: string;
|
|
5863
5937
|
type: "attention_required";
|
|
5864
5938
|
timestamp: string;
|
|
5865
5939
|
shouldNotify: boolean;
|
|
5940
|
+
notification?: {
|
|
5941
|
+
title: string;
|
|
5942
|
+
body: string;
|
|
5943
|
+
data: {
|
|
5944
|
+
agentId: string;
|
|
5945
|
+
reason: "finished" | "error" | "permission";
|
|
5946
|
+
serverId: string;
|
|
5947
|
+
};
|
|
5948
|
+
} | undefined;
|
|
5866
5949
|
}>]>;
|
|
5867
5950
|
timestamp: z.ZodString;
|
|
5868
5951
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5908,6 +5991,15 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5908
5991
|
type: "attention_required";
|
|
5909
5992
|
timestamp: string;
|
|
5910
5993
|
shouldNotify: boolean;
|
|
5994
|
+
notification?: {
|
|
5995
|
+
title: string;
|
|
5996
|
+
body: string;
|
|
5997
|
+
data: {
|
|
5998
|
+
agentId: string;
|
|
5999
|
+
reason: "finished" | "error" | "permission";
|
|
6000
|
+
serverId: string;
|
|
6001
|
+
};
|
|
6002
|
+
} | undefined;
|
|
5911
6003
|
};
|
|
5912
6004
|
seq?: number | undefined;
|
|
5913
6005
|
epoch?: string | undefined;
|
|
@@ -5952,6 +6044,15 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5952
6044
|
type: "attention_required";
|
|
5953
6045
|
timestamp: string;
|
|
5954
6046
|
shouldNotify: boolean;
|
|
6047
|
+
notification?: {
|
|
6048
|
+
title: string;
|
|
6049
|
+
body: string;
|
|
6050
|
+
data: {
|
|
6051
|
+
agentId: string;
|
|
6052
|
+
reason: "finished" | "error" | "permission";
|
|
6053
|
+
serverId: string;
|
|
6054
|
+
};
|
|
6055
|
+
} | undefined;
|
|
5955
6056
|
};
|
|
5956
6057
|
seq?: number | undefined;
|
|
5957
6058
|
epoch?: string | undefined;
|
|
@@ -5999,6 +6100,15 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
5999
6100
|
type: "attention_required";
|
|
6000
6101
|
timestamp: string;
|
|
6001
6102
|
shouldNotify: boolean;
|
|
6103
|
+
notification?: {
|
|
6104
|
+
title: string;
|
|
6105
|
+
body: string;
|
|
6106
|
+
data: {
|
|
6107
|
+
agentId: string;
|
|
6108
|
+
reason: "finished" | "error" | "permission";
|
|
6109
|
+
serverId: string;
|
|
6110
|
+
};
|
|
6111
|
+
} | undefined;
|
|
6002
6112
|
};
|
|
6003
6113
|
seq?: number | undefined;
|
|
6004
6114
|
epoch?: string | undefined;
|
|
@@ -6046,6 +6156,15 @@ export declare const AgentStreamMessageSchema: z.ZodObject<{
|
|
|
6046
6156
|
type: "attention_required";
|
|
6047
6157
|
timestamp: string;
|
|
6048
6158
|
shouldNotify: boolean;
|
|
6159
|
+
notification?: {
|
|
6160
|
+
title: string;
|
|
6161
|
+
body: string;
|
|
6162
|
+
data: {
|
|
6163
|
+
agentId: string;
|
|
6164
|
+
reason: "finished" | "error" | "permission";
|
|
6165
|
+
serverId: string;
|
|
6166
|
+
};
|
|
6167
|
+
} | undefined;
|
|
6049
6168
|
};
|
|
6050
6169
|
seq?: number | undefined;
|
|
6051
6170
|
epoch?: string | undefined;
|
|
@@ -6441,6 +6560,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6441
6560
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
6442
6561
|
payload: z.ZodObject<{
|
|
6443
6562
|
requestId: z.ZodString;
|
|
6563
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6444
6564
|
entries: z.ZodArray<z.ZodObject<{
|
|
6445
6565
|
agent: z.ZodObject<{
|
|
6446
6566
|
id: z.ZodString;
|
|
@@ -6811,6 +6931,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6811
6931
|
prevCursor: string | null;
|
|
6812
6932
|
hasMore: boolean;
|
|
6813
6933
|
};
|
|
6934
|
+
subscriptionId?: string | null | undefined;
|
|
6814
6935
|
}, {
|
|
6815
6936
|
entries: {
|
|
6816
6937
|
agent: {
|
|
@@ -6871,6 +6992,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6871
6992
|
prevCursor: string | null;
|
|
6872
6993
|
hasMore: boolean;
|
|
6873
6994
|
};
|
|
6995
|
+
subscriptionId?: string | null | undefined;
|
|
6874
6996
|
}>;
|
|
6875
6997
|
}, "strip", z.ZodTypeAny, {
|
|
6876
6998
|
type: "fetch_agents_response";
|
|
@@ -6934,6 +7056,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6934
7056
|
prevCursor: string | null;
|
|
6935
7057
|
hasMore: boolean;
|
|
6936
7058
|
};
|
|
7059
|
+
subscriptionId?: string | null | undefined;
|
|
6937
7060
|
};
|
|
6938
7061
|
}, {
|
|
6939
7062
|
type: "fetch_agents_response";
|
|
@@ -6997,6 +7120,7 @@ export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{
|
|
|
6997
7120
|
prevCursor: string | null;
|
|
6998
7121
|
hasMore: boolean;
|
|
6999
7122
|
};
|
|
7123
|
+
subscriptionId?: string | null | undefined;
|
|
7000
7124
|
};
|
|
7001
7125
|
}>;
|
|
7002
7126
|
export declare const FetchAgentResponseMessageSchema: z.ZodObject<{
|
|
@@ -7857,6 +7981,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7857
7981
|
baseRef: z.ZodNull;
|
|
7858
7982
|
aheadBehind: z.ZodNull;
|
|
7859
7983
|
aheadOfOrigin: z.ZodNull;
|
|
7984
|
+
behindOfOrigin: z.ZodNull;
|
|
7860
7985
|
hasRemote: z.ZodBoolean;
|
|
7861
7986
|
remoteUrl: z.ZodNull;
|
|
7862
7987
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7875,6 +8000,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7875
8000
|
isDirty: null;
|
|
7876
8001
|
aheadBehind: null;
|
|
7877
8002
|
aheadOfOrigin: null;
|
|
8003
|
+
behindOfOrigin: null;
|
|
7878
8004
|
hasRemote: boolean;
|
|
7879
8005
|
}, {
|
|
7880
8006
|
error: {
|
|
@@ -7892,6 +8018,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7892
8018
|
isDirty: null;
|
|
7893
8019
|
aheadBehind: null;
|
|
7894
8020
|
aheadOfOrigin: null;
|
|
8021
|
+
behindOfOrigin: null;
|
|
7895
8022
|
hasRemote: boolean;
|
|
7896
8023
|
}>, z.ZodObject<{
|
|
7897
8024
|
cwd: z.ZodString;
|
|
@@ -7924,6 +8051,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7924
8051
|
behind: number;
|
|
7925
8052
|
}>>;
|
|
7926
8053
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
8054
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
7927
8055
|
hasRemote: z.ZodBoolean;
|
|
7928
8056
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
7929
8057
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7945,6 +8073,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7945
8073
|
behind: number;
|
|
7946
8074
|
} | null;
|
|
7947
8075
|
aheadOfOrigin: number | null;
|
|
8076
|
+
behindOfOrigin: number | null;
|
|
7948
8077
|
hasRemote: boolean;
|
|
7949
8078
|
}, {
|
|
7950
8079
|
error: {
|
|
@@ -7965,6 +8094,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7965
8094
|
behind: number;
|
|
7966
8095
|
} | null;
|
|
7967
8096
|
aheadOfOrigin: number | null;
|
|
8097
|
+
behindOfOrigin: number | null;
|
|
7968
8098
|
hasRemote: boolean;
|
|
7969
8099
|
}>, z.ZodObject<{
|
|
7970
8100
|
cwd: z.ZodString;
|
|
@@ -7998,6 +8128,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7998
8128
|
behind: number;
|
|
7999
8129
|
}>>;
|
|
8000
8130
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
8131
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
8001
8132
|
hasRemote: z.ZodBoolean;
|
|
8002
8133
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
8003
8134
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8020,6 +8151,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8020
8151
|
behind: number;
|
|
8021
8152
|
} | null;
|
|
8022
8153
|
aheadOfOrigin: number | null;
|
|
8154
|
+
behindOfOrigin: number | null;
|
|
8023
8155
|
hasRemote: boolean;
|
|
8024
8156
|
}, {
|
|
8025
8157
|
error: {
|
|
@@ -8041,6 +8173,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8041
8173
|
behind: number;
|
|
8042
8174
|
} | null;
|
|
8043
8175
|
aheadOfOrigin: number | null;
|
|
8176
|
+
behindOfOrigin: number | null;
|
|
8044
8177
|
hasRemote: boolean;
|
|
8045
8178
|
}>]>;
|
|
8046
8179
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8061,6 +8194,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8061
8194
|
isDirty: null;
|
|
8062
8195
|
aheadBehind: null;
|
|
8063
8196
|
aheadOfOrigin: null;
|
|
8197
|
+
behindOfOrigin: null;
|
|
8064
8198
|
hasRemote: boolean;
|
|
8065
8199
|
} | {
|
|
8066
8200
|
error: {
|
|
@@ -8081,6 +8215,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8081
8215
|
behind: number;
|
|
8082
8216
|
} | null;
|
|
8083
8217
|
aheadOfOrigin: number | null;
|
|
8218
|
+
behindOfOrigin: number | null;
|
|
8084
8219
|
hasRemote: boolean;
|
|
8085
8220
|
} | {
|
|
8086
8221
|
error: {
|
|
@@ -8102,6 +8237,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8102
8237
|
behind: number;
|
|
8103
8238
|
} | null;
|
|
8104
8239
|
aheadOfOrigin: number | null;
|
|
8240
|
+
behindOfOrigin: number | null;
|
|
8105
8241
|
hasRemote: boolean;
|
|
8106
8242
|
};
|
|
8107
8243
|
}, {
|
|
@@ -8122,6 +8258,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8122
8258
|
isDirty: null;
|
|
8123
8259
|
aheadBehind: null;
|
|
8124
8260
|
aheadOfOrigin: null;
|
|
8261
|
+
behindOfOrigin: null;
|
|
8125
8262
|
hasRemote: boolean;
|
|
8126
8263
|
} | {
|
|
8127
8264
|
error: {
|
|
@@ -8142,6 +8279,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8142
8279
|
behind: number;
|
|
8143
8280
|
} | null;
|
|
8144
8281
|
aheadOfOrigin: number | null;
|
|
8282
|
+
behindOfOrigin: number | null;
|
|
8145
8283
|
hasRemote: boolean;
|
|
8146
8284
|
} | {
|
|
8147
8285
|
error: {
|
|
@@ -8163,6 +8301,7 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
8163
8301
|
behind: number;
|
|
8164
8302
|
} | null;
|
|
8165
8303
|
aheadOfOrigin: number | null;
|
|
8304
|
+
behindOfOrigin: number | null;
|
|
8166
8305
|
hasRemote: boolean;
|
|
8167
8306
|
};
|
|
8168
8307
|
}>;
|
|
@@ -8965,18 +9104,21 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
8965
9104
|
state: z.ZodString;
|
|
8966
9105
|
baseRefName: z.ZodString;
|
|
8967
9106
|
headRefName: z.ZodString;
|
|
9107
|
+
isMerged: z.ZodBoolean;
|
|
8968
9108
|
}, "strip", z.ZodTypeAny, {
|
|
8969
9109
|
title: string;
|
|
8970
9110
|
url: string;
|
|
8971
9111
|
state: string;
|
|
8972
9112
|
baseRefName: string;
|
|
8973
9113
|
headRefName: string;
|
|
9114
|
+
isMerged: boolean;
|
|
8974
9115
|
}, {
|
|
8975
9116
|
title: string;
|
|
8976
9117
|
url: string;
|
|
8977
9118
|
state: string;
|
|
8978
9119
|
baseRefName: string;
|
|
8979
9120
|
headRefName: string;
|
|
9121
|
+
isMerged: boolean;
|
|
8980
9122
|
}>>;
|
|
8981
9123
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
8982
9124
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -9002,6 +9144,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
9002
9144
|
state: string;
|
|
9003
9145
|
baseRefName: string;
|
|
9004
9146
|
headRefName: string;
|
|
9147
|
+
isMerged: boolean;
|
|
9005
9148
|
} | null;
|
|
9006
9149
|
requestId: string;
|
|
9007
9150
|
githubFeaturesEnabled: boolean;
|
|
@@ -9017,6 +9160,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
9017
9160
|
state: string;
|
|
9018
9161
|
baseRefName: string;
|
|
9019
9162
|
headRefName: string;
|
|
9163
|
+
isMerged: boolean;
|
|
9020
9164
|
} | null;
|
|
9021
9165
|
requestId: string;
|
|
9022
9166
|
githubFeaturesEnabled: boolean;
|
|
@@ -9035,6 +9179,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
9035
9179
|
state: string;
|
|
9036
9180
|
baseRefName: string;
|
|
9037
9181
|
headRefName: string;
|
|
9182
|
+
isMerged: boolean;
|
|
9038
9183
|
} | null;
|
|
9039
9184
|
requestId: string;
|
|
9040
9185
|
githubFeaturesEnabled: boolean;
|
|
@@ -9053,6 +9198,7 @@ export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{
|
|
|
9053
9198
|
state: string;
|
|
9054
9199
|
baseRefName: string;
|
|
9055
9200
|
headRefName: string;
|
|
9201
|
+
isMerged: boolean;
|
|
9056
9202
|
} | null;
|
|
9057
9203
|
requestId: string;
|
|
9058
9204
|
githubFeaturesEnabled: boolean;
|
|
@@ -9132,21 +9278,43 @@ export declare const DirectorySuggestionsResponseSchema: z.ZodObject<{
|
|
|
9132
9278
|
type: z.ZodLiteral<"directory_suggestions_response">;
|
|
9133
9279
|
payload: z.ZodObject<{
|
|
9134
9280
|
directories: z.ZodArray<z.ZodString, "many">;
|
|
9281
|
+
entries: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9282
|
+
path: z.ZodString;
|
|
9283
|
+
kind: z.ZodEnum<["file", "directory"]>;
|
|
9284
|
+
}, "strip", z.ZodTypeAny, {
|
|
9285
|
+
path: string;
|
|
9286
|
+
kind: "file" | "directory";
|
|
9287
|
+
}, {
|
|
9288
|
+
path: string;
|
|
9289
|
+
kind: "file" | "directory";
|
|
9290
|
+
}>, "many">>>;
|
|
9135
9291
|
error: z.ZodNullable<z.ZodString>;
|
|
9136
9292
|
requestId: z.ZodString;
|
|
9137
9293
|
}, "strip", z.ZodTypeAny, {
|
|
9138
9294
|
error: string | null;
|
|
9295
|
+
entries: {
|
|
9296
|
+
path: string;
|
|
9297
|
+
kind: "file" | "directory";
|
|
9298
|
+
}[];
|
|
9139
9299
|
requestId: string;
|
|
9140
9300
|
directories: string[];
|
|
9141
9301
|
}, {
|
|
9142
9302
|
error: string | null;
|
|
9143
9303
|
requestId: string;
|
|
9144
9304
|
directories: string[];
|
|
9305
|
+
entries?: {
|
|
9306
|
+
path: string;
|
|
9307
|
+
kind: "file" | "directory";
|
|
9308
|
+
}[] | undefined;
|
|
9145
9309
|
}>;
|
|
9146
9310
|
}, "strip", z.ZodTypeAny, {
|
|
9147
9311
|
type: "directory_suggestions_response";
|
|
9148
9312
|
payload: {
|
|
9149
9313
|
error: string | null;
|
|
9314
|
+
entries: {
|
|
9315
|
+
path: string;
|
|
9316
|
+
kind: "file" | "directory";
|
|
9317
|
+
}[];
|
|
9150
9318
|
requestId: string;
|
|
9151
9319
|
directories: string[];
|
|
9152
9320
|
};
|
|
@@ -9156,6 +9324,10 @@ export declare const DirectorySuggestionsResponseSchema: z.ZodObject<{
|
|
|
9156
9324
|
error: string | null;
|
|
9157
9325
|
requestId: string;
|
|
9158
9326
|
directories: string[];
|
|
9327
|
+
entries?: {
|
|
9328
|
+
path: string;
|
|
9329
|
+
kind: "file" | "directory";
|
|
9330
|
+
}[] | undefined;
|
|
9159
9331
|
};
|
|
9160
9332
|
}>;
|
|
9161
9333
|
export declare const PaseoWorktreeListResponseSchema: z.ZodObject<{
|
|
@@ -9875,69 +10047,6 @@ export declare const ListCommandsResponseSchema: z.ZodObject<{
|
|
|
9875
10047
|
requestId: string;
|
|
9876
10048
|
};
|
|
9877
10049
|
}>;
|
|
9878
|
-
export declare const ExecuteCommandResponseSchema: z.ZodObject<{
|
|
9879
|
-
type: z.ZodLiteral<"execute_command_response">;
|
|
9880
|
-
payload: z.ZodObject<{
|
|
9881
|
-
agentId: z.ZodString;
|
|
9882
|
-
result: z.ZodNullable<z.ZodObject<{
|
|
9883
|
-
text: z.ZodString;
|
|
9884
|
-
timeline: z.ZodArray<z.ZodType<AgentTimelineItem, z.ZodTypeDef, unknown>, "many">;
|
|
9885
|
-
usage: z.ZodOptional<z.ZodType<AgentUsage, z.ZodTypeDef, AgentUsage>>;
|
|
9886
|
-
}, "strip", z.ZodTypeAny, {
|
|
9887
|
-
text: string;
|
|
9888
|
-
timeline: AgentTimelineItem[];
|
|
9889
|
-
usage?: AgentUsage | undefined;
|
|
9890
|
-
}, {
|
|
9891
|
-
text: string;
|
|
9892
|
-
timeline: unknown[];
|
|
9893
|
-
usage?: AgentUsage | undefined;
|
|
9894
|
-
}>>;
|
|
9895
|
-
error: z.ZodNullable<z.ZodString>;
|
|
9896
|
-
requestId: z.ZodString;
|
|
9897
|
-
}, "strip", z.ZodTypeAny, {
|
|
9898
|
-
error: string | null;
|
|
9899
|
-
agentId: string;
|
|
9900
|
-
requestId: string;
|
|
9901
|
-
result: {
|
|
9902
|
-
text: string;
|
|
9903
|
-
timeline: AgentTimelineItem[];
|
|
9904
|
-
usage?: AgentUsage | undefined;
|
|
9905
|
-
} | null;
|
|
9906
|
-
}, {
|
|
9907
|
-
error: string | null;
|
|
9908
|
-
agentId: string;
|
|
9909
|
-
requestId: string;
|
|
9910
|
-
result: {
|
|
9911
|
-
text: string;
|
|
9912
|
-
timeline: unknown[];
|
|
9913
|
-
usage?: AgentUsage | undefined;
|
|
9914
|
-
} | null;
|
|
9915
|
-
}>;
|
|
9916
|
-
}, "strip", z.ZodTypeAny, {
|
|
9917
|
-
type: "execute_command_response";
|
|
9918
|
-
payload: {
|
|
9919
|
-
error: string | null;
|
|
9920
|
-
agentId: string;
|
|
9921
|
-
requestId: string;
|
|
9922
|
-
result: {
|
|
9923
|
-
text: string;
|
|
9924
|
-
timeline: AgentTimelineItem[];
|
|
9925
|
-
usage?: AgentUsage | undefined;
|
|
9926
|
-
} | null;
|
|
9927
|
-
};
|
|
9928
|
-
}, {
|
|
9929
|
-
type: "execute_command_response";
|
|
9930
|
-
payload: {
|
|
9931
|
-
error: string | null;
|
|
9932
|
-
agentId: string;
|
|
9933
|
-
requestId: string;
|
|
9934
|
-
result: {
|
|
9935
|
-
text: string;
|
|
9936
|
-
timeline: unknown[];
|
|
9937
|
-
usage?: AgentUsage | undefined;
|
|
9938
|
-
} | null;
|
|
9939
|
-
};
|
|
9940
|
-
}>;
|
|
9941
10050
|
export declare const ListTerminalsResponseSchema: z.ZodObject<{
|
|
9942
10051
|
type: z.ZodLiteral<"list_terminals_response">;
|
|
9943
10052
|
payload: z.ZodObject<{
|
|
@@ -11733,18 +11842,69 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
11733
11842
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
11734
11843
|
timestamp: z.ZodString;
|
|
11735
11844
|
shouldNotify: z.ZodBoolean;
|
|
11845
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
11846
|
+
title: z.ZodString;
|
|
11847
|
+
body: z.ZodString;
|
|
11848
|
+
data: z.ZodObject<{
|
|
11849
|
+
serverId: z.ZodString;
|
|
11850
|
+
agentId: z.ZodString;
|
|
11851
|
+
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
11852
|
+
}, "strip", z.ZodTypeAny, {
|
|
11853
|
+
agentId: string;
|
|
11854
|
+
reason: "finished" | "error" | "permission";
|
|
11855
|
+
serverId: string;
|
|
11856
|
+
}, {
|
|
11857
|
+
agentId: string;
|
|
11858
|
+
reason: "finished" | "error" | "permission";
|
|
11859
|
+
serverId: string;
|
|
11860
|
+
}>;
|
|
11861
|
+
}, "strip", z.ZodTypeAny, {
|
|
11862
|
+
title: string;
|
|
11863
|
+
body: string;
|
|
11864
|
+
data: {
|
|
11865
|
+
agentId: string;
|
|
11866
|
+
reason: "finished" | "error" | "permission";
|
|
11867
|
+
serverId: string;
|
|
11868
|
+
};
|
|
11869
|
+
}, {
|
|
11870
|
+
title: string;
|
|
11871
|
+
body: string;
|
|
11872
|
+
data: {
|
|
11873
|
+
agentId: string;
|
|
11874
|
+
reason: "finished" | "error" | "permission";
|
|
11875
|
+
serverId: string;
|
|
11876
|
+
};
|
|
11877
|
+
}>>;
|
|
11736
11878
|
}, "strip", z.ZodTypeAny, {
|
|
11737
11879
|
reason: "finished" | "error" | "permission";
|
|
11738
11880
|
provider: string;
|
|
11739
11881
|
type: "attention_required";
|
|
11740
11882
|
timestamp: string;
|
|
11741
11883
|
shouldNotify: boolean;
|
|
11884
|
+
notification?: {
|
|
11885
|
+
title: string;
|
|
11886
|
+
body: string;
|
|
11887
|
+
data: {
|
|
11888
|
+
agentId: string;
|
|
11889
|
+
reason: "finished" | "error" | "permission";
|
|
11890
|
+
serverId: string;
|
|
11891
|
+
};
|
|
11892
|
+
} | undefined;
|
|
11742
11893
|
}, {
|
|
11743
11894
|
reason: "finished" | "error" | "permission";
|
|
11744
11895
|
provider: string;
|
|
11745
11896
|
type: "attention_required";
|
|
11746
11897
|
timestamp: string;
|
|
11747
11898
|
shouldNotify: boolean;
|
|
11899
|
+
notification?: {
|
|
11900
|
+
title: string;
|
|
11901
|
+
body: string;
|
|
11902
|
+
data: {
|
|
11903
|
+
agentId: string;
|
|
11904
|
+
reason: "finished" | "error" | "permission";
|
|
11905
|
+
serverId: string;
|
|
11906
|
+
};
|
|
11907
|
+
} | undefined;
|
|
11748
11908
|
}>]>;
|
|
11749
11909
|
timestamp: z.ZodString;
|
|
11750
11910
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11790,6 +11950,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
11790
11950
|
type: "attention_required";
|
|
11791
11951
|
timestamp: string;
|
|
11792
11952
|
shouldNotify: boolean;
|
|
11953
|
+
notification?: {
|
|
11954
|
+
title: string;
|
|
11955
|
+
body: string;
|
|
11956
|
+
data: {
|
|
11957
|
+
agentId: string;
|
|
11958
|
+
reason: "finished" | "error" | "permission";
|
|
11959
|
+
serverId: string;
|
|
11960
|
+
};
|
|
11961
|
+
} | undefined;
|
|
11793
11962
|
};
|
|
11794
11963
|
seq?: number | undefined;
|
|
11795
11964
|
epoch?: string | undefined;
|
|
@@ -11834,6 +12003,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
11834
12003
|
type: "attention_required";
|
|
11835
12004
|
timestamp: string;
|
|
11836
12005
|
shouldNotify: boolean;
|
|
12006
|
+
notification?: {
|
|
12007
|
+
title: string;
|
|
12008
|
+
body: string;
|
|
12009
|
+
data: {
|
|
12010
|
+
agentId: string;
|
|
12011
|
+
reason: "finished" | "error" | "permission";
|
|
12012
|
+
serverId: string;
|
|
12013
|
+
};
|
|
12014
|
+
} | undefined;
|
|
11837
12015
|
};
|
|
11838
12016
|
seq?: number | undefined;
|
|
11839
12017
|
epoch?: string | undefined;
|
|
@@ -11881,6 +12059,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
11881
12059
|
type: "attention_required";
|
|
11882
12060
|
timestamp: string;
|
|
11883
12061
|
shouldNotify: boolean;
|
|
12062
|
+
notification?: {
|
|
12063
|
+
title: string;
|
|
12064
|
+
body: string;
|
|
12065
|
+
data: {
|
|
12066
|
+
agentId: string;
|
|
12067
|
+
reason: "finished" | "error" | "permission";
|
|
12068
|
+
serverId: string;
|
|
12069
|
+
};
|
|
12070
|
+
} | undefined;
|
|
11884
12071
|
};
|
|
11885
12072
|
seq?: number | undefined;
|
|
11886
12073
|
epoch?: string | undefined;
|
|
@@ -11928,6 +12115,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
11928
12115
|
type: "attention_required";
|
|
11929
12116
|
timestamp: string;
|
|
11930
12117
|
shouldNotify: boolean;
|
|
12118
|
+
notification?: {
|
|
12119
|
+
title: string;
|
|
12120
|
+
body: string;
|
|
12121
|
+
data: {
|
|
12122
|
+
agentId: string;
|
|
12123
|
+
reason: "finished" | "error" | "permission";
|
|
12124
|
+
serverId: string;
|
|
12125
|
+
};
|
|
12126
|
+
} | undefined;
|
|
11931
12127
|
};
|
|
11932
12128
|
seq?: number | undefined;
|
|
11933
12129
|
epoch?: string | undefined;
|
|
@@ -12133,6 +12329,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12133
12329
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
12134
12330
|
payload: z.ZodObject<{
|
|
12135
12331
|
requestId: z.ZodString;
|
|
12332
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12136
12333
|
entries: z.ZodArray<z.ZodObject<{
|
|
12137
12334
|
agent: z.ZodObject<{
|
|
12138
12335
|
id: z.ZodString;
|
|
@@ -12503,6 +12700,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12503
12700
|
prevCursor: string | null;
|
|
12504
12701
|
hasMore: boolean;
|
|
12505
12702
|
};
|
|
12703
|
+
subscriptionId?: string | null | undefined;
|
|
12506
12704
|
}, {
|
|
12507
12705
|
entries: {
|
|
12508
12706
|
agent: {
|
|
@@ -12563,6 +12761,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12563
12761
|
prevCursor: string | null;
|
|
12564
12762
|
hasMore: boolean;
|
|
12565
12763
|
};
|
|
12764
|
+
subscriptionId?: string | null | undefined;
|
|
12566
12765
|
}>;
|
|
12567
12766
|
}, "strip", z.ZodTypeAny, {
|
|
12568
12767
|
type: "fetch_agents_response";
|
|
@@ -12626,6 +12825,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12626
12825
|
prevCursor: string | null;
|
|
12627
12826
|
hasMore: boolean;
|
|
12628
12827
|
};
|
|
12828
|
+
subscriptionId?: string | null | undefined;
|
|
12629
12829
|
};
|
|
12630
12830
|
}, {
|
|
12631
12831
|
type: "fetch_agents_response";
|
|
@@ -12689,6 +12889,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
12689
12889
|
prevCursor: string | null;
|
|
12690
12890
|
hasMore: boolean;
|
|
12691
12891
|
};
|
|
12892
|
+
subscriptionId?: string | null | undefined;
|
|
12692
12893
|
};
|
|
12693
12894
|
}>, z.ZodObject<{
|
|
12694
12895
|
type: z.ZodLiteral<"fetch_agent_response">;
|
|
@@ -13690,6 +13891,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13690
13891
|
baseRef: z.ZodNull;
|
|
13691
13892
|
aheadBehind: z.ZodNull;
|
|
13692
13893
|
aheadOfOrigin: z.ZodNull;
|
|
13894
|
+
behindOfOrigin: z.ZodNull;
|
|
13693
13895
|
hasRemote: z.ZodBoolean;
|
|
13694
13896
|
remoteUrl: z.ZodNull;
|
|
13695
13897
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13708,6 +13910,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13708
13910
|
isDirty: null;
|
|
13709
13911
|
aheadBehind: null;
|
|
13710
13912
|
aheadOfOrigin: null;
|
|
13913
|
+
behindOfOrigin: null;
|
|
13711
13914
|
hasRemote: boolean;
|
|
13712
13915
|
}, {
|
|
13713
13916
|
error: {
|
|
@@ -13725,6 +13928,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13725
13928
|
isDirty: null;
|
|
13726
13929
|
aheadBehind: null;
|
|
13727
13930
|
aheadOfOrigin: null;
|
|
13931
|
+
behindOfOrigin: null;
|
|
13728
13932
|
hasRemote: boolean;
|
|
13729
13933
|
}>, z.ZodObject<{
|
|
13730
13934
|
cwd: z.ZodString;
|
|
@@ -13757,6 +13961,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13757
13961
|
behind: number;
|
|
13758
13962
|
}>>;
|
|
13759
13963
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13964
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13760
13965
|
hasRemote: z.ZodBoolean;
|
|
13761
13966
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
13762
13967
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13778,6 +13983,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13778
13983
|
behind: number;
|
|
13779
13984
|
} | null;
|
|
13780
13985
|
aheadOfOrigin: number | null;
|
|
13986
|
+
behindOfOrigin: number | null;
|
|
13781
13987
|
hasRemote: boolean;
|
|
13782
13988
|
}, {
|
|
13783
13989
|
error: {
|
|
@@ -13798,6 +14004,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13798
14004
|
behind: number;
|
|
13799
14005
|
} | null;
|
|
13800
14006
|
aheadOfOrigin: number | null;
|
|
14007
|
+
behindOfOrigin: number | null;
|
|
13801
14008
|
hasRemote: boolean;
|
|
13802
14009
|
}>, z.ZodObject<{
|
|
13803
14010
|
cwd: z.ZodString;
|
|
@@ -13831,6 +14038,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13831
14038
|
behind: number;
|
|
13832
14039
|
}>>;
|
|
13833
14040
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
14041
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
13834
14042
|
hasRemote: z.ZodBoolean;
|
|
13835
14043
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
13836
14044
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13853,6 +14061,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13853
14061
|
behind: number;
|
|
13854
14062
|
} | null;
|
|
13855
14063
|
aheadOfOrigin: number | null;
|
|
14064
|
+
behindOfOrigin: number | null;
|
|
13856
14065
|
hasRemote: boolean;
|
|
13857
14066
|
}, {
|
|
13858
14067
|
error: {
|
|
@@ -13874,6 +14083,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13874
14083
|
behind: number;
|
|
13875
14084
|
} | null;
|
|
13876
14085
|
aheadOfOrigin: number | null;
|
|
14086
|
+
behindOfOrigin: number | null;
|
|
13877
14087
|
hasRemote: boolean;
|
|
13878
14088
|
}>]>;
|
|
13879
14089
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13894,6 +14104,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13894
14104
|
isDirty: null;
|
|
13895
14105
|
aheadBehind: null;
|
|
13896
14106
|
aheadOfOrigin: null;
|
|
14107
|
+
behindOfOrigin: null;
|
|
13897
14108
|
hasRemote: boolean;
|
|
13898
14109
|
} | {
|
|
13899
14110
|
error: {
|
|
@@ -13914,6 +14125,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13914
14125
|
behind: number;
|
|
13915
14126
|
} | null;
|
|
13916
14127
|
aheadOfOrigin: number | null;
|
|
14128
|
+
behindOfOrigin: number | null;
|
|
13917
14129
|
hasRemote: boolean;
|
|
13918
14130
|
} | {
|
|
13919
14131
|
error: {
|
|
@@ -13935,6 +14147,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13935
14147
|
behind: number;
|
|
13936
14148
|
} | null;
|
|
13937
14149
|
aheadOfOrigin: number | null;
|
|
14150
|
+
behindOfOrigin: number | null;
|
|
13938
14151
|
hasRemote: boolean;
|
|
13939
14152
|
};
|
|
13940
14153
|
}, {
|
|
@@ -13955,6 +14168,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13955
14168
|
isDirty: null;
|
|
13956
14169
|
aheadBehind: null;
|
|
13957
14170
|
aheadOfOrigin: null;
|
|
14171
|
+
behindOfOrigin: null;
|
|
13958
14172
|
hasRemote: boolean;
|
|
13959
14173
|
} | {
|
|
13960
14174
|
error: {
|
|
@@ -13975,6 +14189,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13975
14189
|
behind: number;
|
|
13976
14190
|
} | null;
|
|
13977
14191
|
aheadOfOrigin: number | null;
|
|
14192
|
+
behindOfOrigin: number | null;
|
|
13978
14193
|
hasRemote: boolean;
|
|
13979
14194
|
} | {
|
|
13980
14195
|
error: {
|
|
@@ -13996,6 +14211,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13996
14211
|
behind: number;
|
|
13997
14212
|
} | null;
|
|
13998
14213
|
aheadOfOrigin: number | null;
|
|
14214
|
+
behindOfOrigin: number | null;
|
|
13999
14215
|
hasRemote: boolean;
|
|
14000
14216
|
};
|
|
14001
14217
|
}>, z.ZodObject<{
|
|
@@ -14790,18 +15006,21 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14790
15006
|
state: z.ZodString;
|
|
14791
15007
|
baseRefName: z.ZodString;
|
|
14792
15008
|
headRefName: z.ZodString;
|
|
15009
|
+
isMerged: z.ZodBoolean;
|
|
14793
15010
|
}, "strip", z.ZodTypeAny, {
|
|
14794
15011
|
title: string;
|
|
14795
15012
|
url: string;
|
|
14796
15013
|
state: string;
|
|
14797
15014
|
baseRefName: string;
|
|
14798
15015
|
headRefName: string;
|
|
15016
|
+
isMerged: boolean;
|
|
14799
15017
|
}, {
|
|
14800
15018
|
title: string;
|
|
14801
15019
|
url: string;
|
|
14802
15020
|
state: string;
|
|
14803
15021
|
baseRefName: string;
|
|
14804
15022
|
headRefName: string;
|
|
15023
|
+
isMerged: boolean;
|
|
14805
15024
|
}>>;
|
|
14806
15025
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
14807
15026
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -14827,6 +15046,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14827
15046
|
state: string;
|
|
14828
15047
|
baseRefName: string;
|
|
14829
15048
|
headRefName: string;
|
|
15049
|
+
isMerged: boolean;
|
|
14830
15050
|
} | null;
|
|
14831
15051
|
requestId: string;
|
|
14832
15052
|
githubFeaturesEnabled: boolean;
|
|
@@ -14842,6 +15062,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14842
15062
|
state: string;
|
|
14843
15063
|
baseRefName: string;
|
|
14844
15064
|
headRefName: string;
|
|
15065
|
+
isMerged: boolean;
|
|
14845
15066
|
} | null;
|
|
14846
15067
|
requestId: string;
|
|
14847
15068
|
githubFeaturesEnabled: boolean;
|
|
@@ -14860,6 +15081,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14860
15081
|
state: string;
|
|
14861
15082
|
baseRefName: string;
|
|
14862
15083
|
headRefName: string;
|
|
15084
|
+
isMerged: boolean;
|
|
14863
15085
|
} | null;
|
|
14864
15086
|
requestId: string;
|
|
14865
15087
|
githubFeaturesEnabled: boolean;
|
|
@@ -14878,6 +15100,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14878
15100
|
state: string;
|
|
14879
15101
|
baseRefName: string;
|
|
14880
15102
|
headRefName: string;
|
|
15103
|
+
isMerged: boolean;
|
|
14881
15104
|
} | null;
|
|
14882
15105
|
requestId: string;
|
|
14883
15106
|
githubFeaturesEnabled: boolean;
|
|
@@ -14954,21 +15177,43 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14954
15177
|
type: z.ZodLiteral<"directory_suggestions_response">;
|
|
14955
15178
|
payload: z.ZodObject<{
|
|
14956
15179
|
directories: z.ZodArray<z.ZodString, "many">;
|
|
15180
|
+
entries: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15181
|
+
path: z.ZodString;
|
|
15182
|
+
kind: z.ZodEnum<["file", "directory"]>;
|
|
15183
|
+
}, "strip", z.ZodTypeAny, {
|
|
15184
|
+
path: string;
|
|
15185
|
+
kind: "file" | "directory";
|
|
15186
|
+
}, {
|
|
15187
|
+
path: string;
|
|
15188
|
+
kind: "file" | "directory";
|
|
15189
|
+
}>, "many">>>;
|
|
14957
15190
|
error: z.ZodNullable<z.ZodString>;
|
|
14958
15191
|
requestId: z.ZodString;
|
|
14959
15192
|
}, "strip", z.ZodTypeAny, {
|
|
14960
15193
|
error: string | null;
|
|
15194
|
+
entries: {
|
|
15195
|
+
path: string;
|
|
15196
|
+
kind: "file" | "directory";
|
|
15197
|
+
}[];
|
|
14961
15198
|
requestId: string;
|
|
14962
15199
|
directories: string[];
|
|
14963
15200
|
}, {
|
|
14964
15201
|
error: string | null;
|
|
14965
15202
|
requestId: string;
|
|
14966
15203
|
directories: string[];
|
|
15204
|
+
entries?: {
|
|
15205
|
+
path: string;
|
|
15206
|
+
kind: "file" | "directory";
|
|
15207
|
+
}[] | undefined;
|
|
14967
15208
|
}>;
|
|
14968
15209
|
}, "strip", z.ZodTypeAny, {
|
|
14969
15210
|
type: "directory_suggestions_response";
|
|
14970
15211
|
payload: {
|
|
14971
15212
|
error: string | null;
|
|
15213
|
+
entries: {
|
|
15214
|
+
path: string;
|
|
15215
|
+
kind: "file" | "directory";
|
|
15216
|
+
}[];
|
|
14972
15217
|
requestId: string;
|
|
14973
15218
|
directories: string[];
|
|
14974
15219
|
};
|
|
@@ -14978,6 +15223,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
14978
15223
|
error: string | null;
|
|
14979
15224
|
requestId: string;
|
|
14980
15225
|
directories: string[];
|
|
15226
|
+
entries?: {
|
|
15227
|
+
path: string;
|
|
15228
|
+
kind: "file" | "directory";
|
|
15229
|
+
}[] | undefined;
|
|
14981
15230
|
};
|
|
14982
15231
|
}>, z.ZodObject<{
|
|
14983
15232
|
type: z.ZodLiteral<"paseo_worktree_list_response">;
|
|
@@ -15676,68 +15925,6 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
15676
15925
|
}[];
|
|
15677
15926
|
requestId: string;
|
|
15678
15927
|
};
|
|
15679
|
-
}>, z.ZodObject<{
|
|
15680
|
-
type: z.ZodLiteral<"execute_command_response">;
|
|
15681
|
-
payload: z.ZodObject<{
|
|
15682
|
-
agentId: z.ZodString;
|
|
15683
|
-
result: z.ZodNullable<z.ZodObject<{
|
|
15684
|
-
text: z.ZodString;
|
|
15685
|
-
timeline: z.ZodArray<z.ZodType<AgentTimelineItem, z.ZodTypeDef, unknown>, "many">;
|
|
15686
|
-
usage: z.ZodOptional<z.ZodType<AgentUsage, z.ZodTypeDef, AgentUsage>>;
|
|
15687
|
-
}, "strip", z.ZodTypeAny, {
|
|
15688
|
-
text: string;
|
|
15689
|
-
timeline: AgentTimelineItem[];
|
|
15690
|
-
usage?: AgentUsage | undefined;
|
|
15691
|
-
}, {
|
|
15692
|
-
text: string;
|
|
15693
|
-
timeline: unknown[];
|
|
15694
|
-
usage?: AgentUsage | undefined;
|
|
15695
|
-
}>>;
|
|
15696
|
-
error: z.ZodNullable<z.ZodString>;
|
|
15697
|
-
requestId: z.ZodString;
|
|
15698
|
-
}, "strip", z.ZodTypeAny, {
|
|
15699
|
-
error: string | null;
|
|
15700
|
-
agentId: string;
|
|
15701
|
-
requestId: string;
|
|
15702
|
-
result: {
|
|
15703
|
-
text: string;
|
|
15704
|
-
timeline: AgentTimelineItem[];
|
|
15705
|
-
usage?: AgentUsage | undefined;
|
|
15706
|
-
} | null;
|
|
15707
|
-
}, {
|
|
15708
|
-
error: string | null;
|
|
15709
|
-
agentId: string;
|
|
15710
|
-
requestId: string;
|
|
15711
|
-
result: {
|
|
15712
|
-
text: string;
|
|
15713
|
-
timeline: unknown[];
|
|
15714
|
-
usage?: AgentUsage | undefined;
|
|
15715
|
-
} | null;
|
|
15716
|
-
}>;
|
|
15717
|
-
}, "strip", z.ZodTypeAny, {
|
|
15718
|
-
type: "execute_command_response";
|
|
15719
|
-
payload: {
|
|
15720
|
-
error: string | null;
|
|
15721
|
-
agentId: string;
|
|
15722
|
-
requestId: string;
|
|
15723
|
-
result: {
|
|
15724
|
-
text: string;
|
|
15725
|
-
timeline: AgentTimelineItem[];
|
|
15726
|
-
usage?: AgentUsage | undefined;
|
|
15727
|
-
} | null;
|
|
15728
|
-
};
|
|
15729
|
-
}, {
|
|
15730
|
-
type: "execute_command_response";
|
|
15731
|
-
payload: {
|
|
15732
|
-
error: string | null;
|
|
15733
|
-
agentId: string;
|
|
15734
|
-
requestId: string;
|
|
15735
|
-
result: {
|
|
15736
|
-
text: string;
|
|
15737
|
-
timeline: unknown[];
|
|
15738
|
-
usage?: AgentUsage | undefined;
|
|
15739
|
-
} | null;
|
|
15740
|
-
};
|
|
15741
15928
|
}>, z.ZodObject<{
|
|
15742
15929
|
type: z.ZodLiteral<"list_terminals_response">;
|
|
15743
15930
|
payload: z.ZodObject<{
|
|
@@ -16642,8 +16829,6 @@ export type ClearAgentAttentionMessage = z.infer<typeof ClearAgentAttentionMessa
|
|
|
16642
16829
|
export type ClientHeartbeatMessage = z.infer<typeof ClientHeartbeatMessageSchema>;
|
|
16643
16830
|
export type ListCommandsRequest = z.infer<typeof ListCommandsRequestSchema>;
|
|
16644
16831
|
export type ListCommandsResponse = z.infer<typeof ListCommandsResponseSchema>;
|
|
16645
|
-
export type ExecuteCommandRequest = z.infer<typeof ExecuteCommandRequestSchema>;
|
|
16646
|
-
export type ExecuteCommandResponse = z.infer<typeof ExecuteCommandResponseSchema>;
|
|
16647
16832
|
export type RegisterPushTokenMessage = z.infer<typeof RegisterPushTokenMessageSchema>;
|
|
16648
16833
|
export type ListTerminalsRequest = z.infer<typeof ListTerminalsRequestSchema>;
|
|
16649
16834
|
export type ListTerminalsResponse = z.infer<typeof ListTerminalsResponseSchema>;
|
|
@@ -16762,6 +16947,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16762
16947
|
limit: number;
|
|
16763
16948
|
cursor?: string | undefined;
|
|
16764
16949
|
}>>;
|
|
16950
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
16951
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
16952
|
+
}, "strip", z.ZodTypeAny, {
|
|
16953
|
+
subscriptionId?: string | undefined;
|
|
16954
|
+
}, {
|
|
16955
|
+
subscriptionId?: string | undefined;
|
|
16956
|
+
}>>;
|
|
16765
16957
|
}, "strip", z.ZodTypeAny, {
|
|
16766
16958
|
type: "fetch_agents_request";
|
|
16767
16959
|
requestId: string;
|
|
@@ -16780,6 +16972,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16780
16972
|
limit: number;
|
|
16781
16973
|
cursor?: string | undefined;
|
|
16782
16974
|
} | undefined;
|
|
16975
|
+
subscribe?: {
|
|
16976
|
+
subscriptionId?: string | undefined;
|
|
16977
|
+
} | undefined;
|
|
16783
16978
|
}, {
|
|
16784
16979
|
type: "fetch_agents_request";
|
|
16785
16980
|
requestId: string;
|
|
@@ -16798,6 +16993,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16798
16993
|
limit: number;
|
|
16799
16994
|
cursor?: string | undefined;
|
|
16800
16995
|
} | undefined;
|
|
16996
|
+
subscribe?: {
|
|
16997
|
+
subscriptionId?: string | undefined;
|
|
16998
|
+
} | undefined;
|
|
16801
16999
|
}>, z.ZodObject<{
|
|
16802
17000
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
16803
17001
|
requestId: z.ZodString;
|
|
@@ -16811,42 +17009,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16811
17009
|
agentId: string;
|
|
16812
17010
|
type: "fetch_agent_request";
|
|
16813
17011
|
requestId: string;
|
|
16814
|
-
}>, z.ZodObject<{
|
|
16815
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
16816
|
-
subscriptionId: z.ZodString;
|
|
16817
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
16818
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16819
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
16820
|
-
}, "strip", z.ZodTypeAny, {
|
|
16821
|
-
agentId?: string | undefined;
|
|
16822
|
-
labels?: Record<string, string> | undefined;
|
|
16823
|
-
}, {
|
|
16824
|
-
agentId?: string | undefined;
|
|
16825
|
-
labels?: Record<string, string> | undefined;
|
|
16826
|
-
}>>;
|
|
16827
|
-
}, "strip", z.ZodTypeAny, {
|
|
16828
|
-
type: "subscribe_agent_updates";
|
|
16829
|
-
subscriptionId: string;
|
|
16830
|
-
filter?: {
|
|
16831
|
-
agentId?: string | undefined;
|
|
16832
|
-
labels?: Record<string, string> | undefined;
|
|
16833
|
-
} | undefined;
|
|
16834
|
-
}, {
|
|
16835
|
-
type: "subscribe_agent_updates";
|
|
16836
|
-
subscriptionId: string;
|
|
16837
|
-
filter?: {
|
|
16838
|
-
agentId?: string | undefined;
|
|
16839
|
-
labels?: Record<string, string> | undefined;
|
|
16840
|
-
} | undefined;
|
|
16841
|
-
}>, z.ZodObject<{
|
|
16842
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
16843
|
-
subscriptionId: z.ZodString;
|
|
16844
|
-
}, "strip", z.ZodTypeAny, {
|
|
16845
|
-
type: "unsubscribe_agent_updates";
|
|
16846
|
-
subscriptionId: string;
|
|
16847
|
-
}, {
|
|
16848
|
-
type: "unsubscribe_agent_updates";
|
|
16849
|
-
subscriptionId: string;
|
|
16850
17012
|
}>, z.ZodObject<{
|
|
16851
17013
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
16852
17014
|
agentId: z.ZodString;
|
|
@@ -17774,15 +17936,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17774
17936
|
type: "checkout_pr_create_request";
|
|
17775
17937
|
requestId: string;
|
|
17776
17938
|
title?: string | undefined;
|
|
17777
|
-
baseRef?: string | undefined;
|
|
17778
17939
|
body?: string | undefined;
|
|
17940
|
+
baseRef?: string | undefined;
|
|
17779
17941
|
}, {
|
|
17780
17942
|
cwd: string;
|
|
17781
17943
|
type: "checkout_pr_create_request";
|
|
17782
17944
|
requestId: string;
|
|
17783
17945
|
title?: string | undefined;
|
|
17784
|
-
baseRef?: string | undefined;
|
|
17785
17946
|
body?: string | undefined;
|
|
17947
|
+
baseRef?: string | undefined;
|
|
17786
17948
|
}>, z.ZodObject<{
|
|
17787
17949
|
type: z.ZodLiteral<"checkout_pr_status_request">;
|
|
17788
17950
|
cwd: z.ZodString;
|
|
@@ -17831,18 +17993,27 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17831
17993
|
}>, z.ZodObject<{
|
|
17832
17994
|
type: z.ZodLiteral<"directory_suggestions_request">;
|
|
17833
17995
|
query: z.ZodString;
|
|
17996
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
17997
|
+
includeFiles: z.ZodOptional<z.ZodBoolean>;
|
|
17998
|
+
includeDirectories: z.ZodOptional<z.ZodBoolean>;
|
|
17834
17999
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
17835
18000
|
requestId: z.ZodString;
|
|
17836
18001
|
}, "strip", z.ZodTypeAny, {
|
|
17837
18002
|
type: "directory_suggestions_request";
|
|
17838
18003
|
query: string;
|
|
17839
18004
|
requestId: string;
|
|
18005
|
+
cwd?: string | undefined;
|
|
17840
18006
|
limit?: number | undefined;
|
|
18007
|
+
includeFiles?: boolean | undefined;
|
|
18008
|
+
includeDirectories?: boolean | undefined;
|
|
17841
18009
|
}, {
|
|
17842
18010
|
type: "directory_suggestions_request";
|
|
17843
18011
|
query: string;
|
|
17844
18012
|
requestId: string;
|
|
18013
|
+
cwd?: string | undefined;
|
|
17845
18014
|
limit?: number | undefined;
|
|
18015
|
+
includeFiles?: boolean | undefined;
|
|
18016
|
+
includeDirectories?: boolean | undefined;
|
|
17846
18017
|
}>, z.ZodObject<{
|
|
17847
18018
|
type: z.ZodLiteral<"paseo_worktree_list_request">;
|
|
17848
18019
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -17966,33 +18137,48 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17966
18137
|
}>, z.ZodObject<{
|
|
17967
18138
|
type: z.ZodLiteral<"list_commands_request">;
|
|
17968
18139
|
agentId: z.ZodString;
|
|
18140
|
+
draftConfig: z.ZodOptional<z.ZodObject<{
|
|
18141
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
18142
|
+
cwd: z.ZodString;
|
|
18143
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
18144
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18145
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
18146
|
+
}, "strip", z.ZodTypeAny, {
|
|
18147
|
+
provider: string;
|
|
18148
|
+
cwd: string;
|
|
18149
|
+
modeId?: string | undefined;
|
|
18150
|
+
model?: string | undefined;
|
|
18151
|
+
thinkingOptionId?: string | undefined;
|
|
18152
|
+
}, {
|
|
18153
|
+
provider: string;
|
|
18154
|
+
cwd: string;
|
|
18155
|
+
modeId?: string | undefined;
|
|
18156
|
+
model?: string | undefined;
|
|
18157
|
+
thinkingOptionId?: string | undefined;
|
|
18158
|
+
}>>;
|
|
17969
18159
|
requestId: z.ZodString;
|
|
17970
18160
|
}, "strip", z.ZodTypeAny, {
|
|
17971
18161
|
agentId: string;
|
|
17972
18162
|
type: "list_commands_request";
|
|
17973
18163
|
requestId: string;
|
|
18164
|
+
draftConfig?: {
|
|
18165
|
+
provider: string;
|
|
18166
|
+
cwd: string;
|
|
18167
|
+
modeId?: string | undefined;
|
|
18168
|
+
model?: string | undefined;
|
|
18169
|
+
thinkingOptionId?: string | undefined;
|
|
18170
|
+
} | undefined;
|
|
17974
18171
|
}, {
|
|
17975
18172
|
agentId: string;
|
|
17976
18173
|
type: "list_commands_request";
|
|
17977
18174
|
requestId: string;
|
|
17978
|
-
|
|
17979
|
-
|
|
17980
|
-
|
|
17981
|
-
|
|
17982
|
-
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
agentId: string;
|
|
17986
|
-
type: "execute_command_request";
|
|
17987
|
-
requestId: string;
|
|
17988
|
-
commandName: string;
|
|
17989
|
-
args?: string | undefined;
|
|
17990
|
-
}, {
|
|
17991
|
-
agentId: string;
|
|
17992
|
-
type: "execute_command_request";
|
|
17993
|
-
requestId: string;
|
|
17994
|
-
commandName: string;
|
|
17995
|
-
args?: string | undefined;
|
|
18175
|
+
draftConfig?: {
|
|
18176
|
+
provider: string;
|
|
18177
|
+
cwd: string;
|
|
18178
|
+
modeId?: string | undefined;
|
|
18179
|
+
model?: string | undefined;
|
|
18180
|
+
thinkingOptionId?: string | undefined;
|
|
18181
|
+
} | undefined;
|
|
17996
18182
|
}>, z.ZodObject<{
|
|
17997
18183
|
type: z.ZodLiteral<"register_push_token">;
|
|
17998
18184
|
token: z.ZodString;
|
|
@@ -18202,16 +18388,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18202
18388
|
} | {
|
|
18203
18389
|
id: string;
|
|
18204
18390
|
type: "audio_played";
|
|
18205
|
-
} | {
|
|
18206
|
-
type: "subscribe_agent_updates";
|
|
18207
|
-
subscriptionId: string;
|
|
18208
|
-
filter?: {
|
|
18209
|
-
agentId?: string | undefined;
|
|
18210
|
-
labels?: Record<string, string> | undefined;
|
|
18211
|
-
} | undefined;
|
|
18212
|
-
} | {
|
|
18213
|
-
type: "unsubscribe_agent_updates";
|
|
18214
|
-
subscriptionId: string;
|
|
18215
18391
|
} | {
|
|
18216
18392
|
agentId: string;
|
|
18217
18393
|
type: "delete_agent_request";
|
|
@@ -18249,6 +18425,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18249
18425
|
limit: number;
|
|
18250
18426
|
cursor?: string | undefined;
|
|
18251
18427
|
} | undefined;
|
|
18428
|
+
subscribe?: {
|
|
18429
|
+
subscriptionId?: string | undefined;
|
|
18430
|
+
} | undefined;
|
|
18252
18431
|
} | {
|
|
18253
18432
|
agentId: string;
|
|
18254
18433
|
type: "fetch_agent_request";
|
|
@@ -18470,8 +18649,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18470
18649
|
type: "checkout_pr_create_request";
|
|
18471
18650
|
requestId: string;
|
|
18472
18651
|
title?: string | undefined;
|
|
18473
|
-
baseRef?: string | undefined;
|
|
18474
18652
|
body?: string | undefined;
|
|
18653
|
+
baseRef?: string | undefined;
|
|
18475
18654
|
} | {
|
|
18476
18655
|
cwd: string;
|
|
18477
18656
|
type: "checkout_pr_status_request";
|
|
@@ -18491,7 +18670,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18491
18670
|
type: "directory_suggestions_request";
|
|
18492
18671
|
query: string;
|
|
18493
18672
|
requestId: string;
|
|
18673
|
+
cwd?: string | undefined;
|
|
18494
18674
|
limit?: number | undefined;
|
|
18675
|
+
includeFiles?: boolean | undefined;
|
|
18676
|
+
includeDirectories?: boolean | undefined;
|
|
18495
18677
|
} | {
|
|
18496
18678
|
type: "paseo_worktree_list_request";
|
|
18497
18679
|
requestId: string;
|
|
@@ -18536,12 +18718,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18536
18718
|
agentId: string;
|
|
18537
18719
|
type: "list_commands_request";
|
|
18538
18720
|
requestId: string;
|
|
18539
|
-
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
|
|
18721
|
+
draftConfig?: {
|
|
18722
|
+
provider: string;
|
|
18723
|
+
cwd: string;
|
|
18724
|
+
modeId?: string | undefined;
|
|
18725
|
+
model?: string | undefined;
|
|
18726
|
+
thinkingOptionId?: string | undefined;
|
|
18727
|
+
} | undefined;
|
|
18545
18728
|
} | {
|
|
18546
18729
|
type: "register_push_token";
|
|
18547
18730
|
token: string;
|
|
@@ -18612,16 +18795,6 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18612
18795
|
} | {
|
|
18613
18796
|
id: string;
|
|
18614
18797
|
type: "audio_played";
|
|
18615
|
-
} | {
|
|
18616
|
-
type: "subscribe_agent_updates";
|
|
18617
|
-
subscriptionId: string;
|
|
18618
|
-
filter?: {
|
|
18619
|
-
agentId?: string | undefined;
|
|
18620
|
-
labels?: Record<string, string> | undefined;
|
|
18621
|
-
} | undefined;
|
|
18622
|
-
} | {
|
|
18623
|
-
type: "unsubscribe_agent_updates";
|
|
18624
|
-
subscriptionId: string;
|
|
18625
18798
|
} | {
|
|
18626
18799
|
agentId: string;
|
|
18627
18800
|
type: "delete_agent_request";
|
|
@@ -18659,6 +18832,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18659
18832
|
limit: number;
|
|
18660
18833
|
cursor?: string | undefined;
|
|
18661
18834
|
} | undefined;
|
|
18835
|
+
subscribe?: {
|
|
18836
|
+
subscriptionId?: string | undefined;
|
|
18837
|
+
} | undefined;
|
|
18662
18838
|
} | {
|
|
18663
18839
|
agentId: string;
|
|
18664
18840
|
type: "fetch_agent_request";
|
|
@@ -18880,8 +19056,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18880
19056
|
type: "checkout_pr_create_request";
|
|
18881
19057
|
requestId: string;
|
|
18882
19058
|
title?: string | undefined;
|
|
18883
|
-
baseRef?: string | undefined;
|
|
18884
19059
|
body?: string | undefined;
|
|
19060
|
+
baseRef?: string | undefined;
|
|
18885
19061
|
} | {
|
|
18886
19062
|
cwd: string;
|
|
18887
19063
|
type: "checkout_pr_status_request";
|
|
@@ -18901,7 +19077,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18901
19077
|
type: "directory_suggestions_request";
|
|
18902
19078
|
query: string;
|
|
18903
19079
|
requestId: string;
|
|
19080
|
+
cwd?: string | undefined;
|
|
18904
19081
|
limit?: number | undefined;
|
|
19082
|
+
includeFiles?: boolean | undefined;
|
|
19083
|
+
includeDirectories?: boolean | undefined;
|
|
18905
19084
|
} | {
|
|
18906
19085
|
type: "paseo_worktree_list_request";
|
|
18907
19086
|
requestId: string;
|
|
@@ -18946,12 +19125,13 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18946
19125
|
agentId: string;
|
|
18947
19126
|
type: "list_commands_request";
|
|
18948
19127
|
requestId: string;
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
19128
|
+
draftConfig?: {
|
|
19129
|
+
provider: string;
|
|
19130
|
+
cwd: string;
|
|
19131
|
+
modeId?: string | undefined;
|
|
19132
|
+
model?: string | undefined;
|
|
19133
|
+
thinkingOptionId?: string | undefined;
|
|
19134
|
+
} | undefined;
|
|
18955
19135
|
} | {
|
|
18956
19136
|
type: "register_push_token";
|
|
18957
19137
|
token: string;
|
|
@@ -19990,18 +20170,69 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
19990
20170
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
19991
20171
|
timestamp: z.ZodString;
|
|
19992
20172
|
shouldNotify: z.ZodBoolean;
|
|
20173
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
20174
|
+
title: z.ZodString;
|
|
20175
|
+
body: z.ZodString;
|
|
20176
|
+
data: z.ZodObject<{
|
|
20177
|
+
serverId: z.ZodString;
|
|
20178
|
+
agentId: z.ZodString;
|
|
20179
|
+
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
20180
|
+
}, "strip", z.ZodTypeAny, {
|
|
20181
|
+
agentId: string;
|
|
20182
|
+
reason: "finished" | "error" | "permission";
|
|
20183
|
+
serverId: string;
|
|
20184
|
+
}, {
|
|
20185
|
+
agentId: string;
|
|
20186
|
+
reason: "finished" | "error" | "permission";
|
|
20187
|
+
serverId: string;
|
|
20188
|
+
}>;
|
|
20189
|
+
}, "strip", z.ZodTypeAny, {
|
|
20190
|
+
title: string;
|
|
20191
|
+
body: string;
|
|
20192
|
+
data: {
|
|
20193
|
+
agentId: string;
|
|
20194
|
+
reason: "finished" | "error" | "permission";
|
|
20195
|
+
serverId: string;
|
|
20196
|
+
};
|
|
20197
|
+
}, {
|
|
20198
|
+
title: string;
|
|
20199
|
+
body: string;
|
|
20200
|
+
data: {
|
|
20201
|
+
agentId: string;
|
|
20202
|
+
reason: "finished" | "error" | "permission";
|
|
20203
|
+
serverId: string;
|
|
20204
|
+
};
|
|
20205
|
+
}>>;
|
|
19993
20206
|
}, "strip", z.ZodTypeAny, {
|
|
19994
20207
|
reason: "finished" | "error" | "permission";
|
|
19995
20208
|
provider: string;
|
|
19996
20209
|
type: "attention_required";
|
|
19997
20210
|
timestamp: string;
|
|
19998
20211
|
shouldNotify: boolean;
|
|
20212
|
+
notification?: {
|
|
20213
|
+
title: string;
|
|
20214
|
+
body: string;
|
|
20215
|
+
data: {
|
|
20216
|
+
agentId: string;
|
|
20217
|
+
reason: "finished" | "error" | "permission";
|
|
20218
|
+
serverId: string;
|
|
20219
|
+
};
|
|
20220
|
+
} | undefined;
|
|
19999
20221
|
}, {
|
|
20000
20222
|
reason: "finished" | "error" | "permission";
|
|
20001
20223
|
provider: string;
|
|
20002
20224
|
type: "attention_required";
|
|
20003
20225
|
timestamp: string;
|
|
20004
20226
|
shouldNotify: boolean;
|
|
20227
|
+
notification?: {
|
|
20228
|
+
title: string;
|
|
20229
|
+
body: string;
|
|
20230
|
+
data: {
|
|
20231
|
+
agentId: string;
|
|
20232
|
+
reason: "finished" | "error" | "permission";
|
|
20233
|
+
serverId: string;
|
|
20234
|
+
};
|
|
20235
|
+
} | undefined;
|
|
20005
20236
|
}>]>;
|
|
20006
20237
|
timestamp: z.ZodString;
|
|
20007
20238
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -20047,6 +20278,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20047
20278
|
type: "attention_required";
|
|
20048
20279
|
timestamp: string;
|
|
20049
20280
|
shouldNotify: boolean;
|
|
20281
|
+
notification?: {
|
|
20282
|
+
title: string;
|
|
20283
|
+
body: string;
|
|
20284
|
+
data: {
|
|
20285
|
+
agentId: string;
|
|
20286
|
+
reason: "finished" | "error" | "permission";
|
|
20287
|
+
serverId: string;
|
|
20288
|
+
};
|
|
20289
|
+
} | undefined;
|
|
20050
20290
|
};
|
|
20051
20291
|
seq?: number | undefined;
|
|
20052
20292
|
epoch?: string | undefined;
|
|
@@ -20091,6 +20331,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20091
20331
|
type: "attention_required";
|
|
20092
20332
|
timestamp: string;
|
|
20093
20333
|
shouldNotify: boolean;
|
|
20334
|
+
notification?: {
|
|
20335
|
+
title: string;
|
|
20336
|
+
body: string;
|
|
20337
|
+
data: {
|
|
20338
|
+
agentId: string;
|
|
20339
|
+
reason: "finished" | "error" | "permission";
|
|
20340
|
+
serverId: string;
|
|
20341
|
+
};
|
|
20342
|
+
} | undefined;
|
|
20094
20343
|
};
|
|
20095
20344
|
seq?: number | undefined;
|
|
20096
20345
|
epoch?: string | undefined;
|
|
@@ -20138,6 +20387,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20138
20387
|
type: "attention_required";
|
|
20139
20388
|
timestamp: string;
|
|
20140
20389
|
shouldNotify: boolean;
|
|
20390
|
+
notification?: {
|
|
20391
|
+
title: string;
|
|
20392
|
+
body: string;
|
|
20393
|
+
data: {
|
|
20394
|
+
agentId: string;
|
|
20395
|
+
reason: "finished" | "error" | "permission";
|
|
20396
|
+
serverId: string;
|
|
20397
|
+
};
|
|
20398
|
+
} | undefined;
|
|
20141
20399
|
};
|
|
20142
20400
|
seq?: number | undefined;
|
|
20143
20401
|
epoch?: string | undefined;
|
|
@@ -20185,6 +20443,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20185
20443
|
type: "attention_required";
|
|
20186
20444
|
timestamp: string;
|
|
20187
20445
|
shouldNotify: boolean;
|
|
20446
|
+
notification?: {
|
|
20447
|
+
title: string;
|
|
20448
|
+
body: string;
|
|
20449
|
+
data: {
|
|
20450
|
+
agentId: string;
|
|
20451
|
+
reason: "finished" | "error" | "permission";
|
|
20452
|
+
serverId: string;
|
|
20453
|
+
};
|
|
20454
|
+
} | undefined;
|
|
20188
20455
|
};
|
|
20189
20456
|
seq?: number | undefined;
|
|
20190
20457
|
epoch?: string | undefined;
|
|
@@ -20390,6 +20657,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20390
20657
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
20391
20658
|
payload: z.ZodObject<{
|
|
20392
20659
|
requestId: z.ZodString;
|
|
20660
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20393
20661
|
entries: z.ZodArray<z.ZodObject<{
|
|
20394
20662
|
agent: z.ZodObject<{
|
|
20395
20663
|
id: z.ZodString;
|
|
@@ -20760,6 +21028,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20760
21028
|
prevCursor: string | null;
|
|
20761
21029
|
hasMore: boolean;
|
|
20762
21030
|
};
|
|
21031
|
+
subscriptionId?: string | null | undefined;
|
|
20763
21032
|
}, {
|
|
20764
21033
|
entries: {
|
|
20765
21034
|
agent: {
|
|
@@ -20820,6 +21089,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20820
21089
|
prevCursor: string | null;
|
|
20821
21090
|
hasMore: boolean;
|
|
20822
21091
|
};
|
|
21092
|
+
subscriptionId?: string | null | undefined;
|
|
20823
21093
|
}>;
|
|
20824
21094
|
}, "strip", z.ZodTypeAny, {
|
|
20825
21095
|
type: "fetch_agents_response";
|
|
@@ -20883,6 +21153,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20883
21153
|
prevCursor: string | null;
|
|
20884
21154
|
hasMore: boolean;
|
|
20885
21155
|
};
|
|
21156
|
+
subscriptionId?: string | null | undefined;
|
|
20886
21157
|
};
|
|
20887
21158
|
}, {
|
|
20888
21159
|
type: "fetch_agents_response";
|
|
@@ -20946,6 +21217,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
20946
21217
|
prevCursor: string | null;
|
|
20947
21218
|
hasMore: boolean;
|
|
20948
21219
|
};
|
|
21220
|
+
subscriptionId?: string | null | undefined;
|
|
20949
21221
|
};
|
|
20950
21222
|
}>, z.ZodObject<{
|
|
20951
21223
|
type: z.ZodLiteral<"fetch_agent_response">;
|
|
@@ -21947,6 +22219,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21947
22219
|
baseRef: z.ZodNull;
|
|
21948
22220
|
aheadBehind: z.ZodNull;
|
|
21949
22221
|
aheadOfOrigin: z.ZodNull;
|
|
22222
|
+
behindOfOrigin: z.ZodNull;
|
|
21950
22223
|
hasRemote: z.ZodBoolean;
|
|
21951
22224
|
remoteUrl: z.ZodNull;
|
|
21952
22225
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21965,6 +22238,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21965
22238
|
isDirty: null;
|
|
21966
22239
|
aheadBehind: null;
|
|
21967
22240
|
aheadOfOrigin: null;
|
|
22241
|
+
behindOfOrigin: null;
|
|
21968
22242
|
hasRemote: boolean;
|
|
21969
22243
|
}, {
|
|
21970
22244
|
error: {
|
|
@@ -21982,6 +22256,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21982
22256
|
isDirty: null;
|
|
21983
22257
|
aheadBehind: null;
|
|
21984
22258
|
aheadOfOrigin: null;
|
|
22259
|
+
behindOfOrigin: null;
|
|
21985
22260
|
hasRemote: boolean;
|
|
21986
22261
|
}>, z.ZodObject<{
|
|
21987
22262
|
cwd: z.ZodString;
|
|
@@ -22014,6 +22289,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22014
22289
|
behind: number;
|
|
22015
22290
|
}>>;
|
|
22016
22291
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22292
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22017
22293
|
hasRemote: z.ZodBoolean;
|
|
22018
22294
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
22019
22295
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22035,6 +22311,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22035
22311
|
behind: number;
|
|
22036
22312
|
} | null;
|
|
22037
22313
|
aheadOfOrigin: number | null;
|
|
22314
|
+
behindOfOrigin: number | null;
|
|
22038
22315
|
hasRemote: boolean;
|
|
22039
22316
|
}, {
|
|
22040
22317
|
error: {
|
|
@@ -22055,6 +22332,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22055
22332
|
behind: number;
|
|
22056
22333
|
} | null;
|
|
22057
22334
|
aheadOfOrigin: number | null;
|
|
22335
|
+
behindOfOrigin: number | null;
|
|
22058
22336
|
hasRemote: boolean;
|
|
22059
22337
|
}>, z.ZodObject<{
|
|
22060
22338
|
cwd: z.ZodString;
|
|
@@ -22088,6 +22366,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22088
22366
|
behind: number;
|
|
22089
22367
|
}>>;
|
|
22090
22368
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22369
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
22091
22370
|
hasRemote: z.ZodBoolean;
|
|
22092
22371
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
22093
22372
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22110,6 +22389,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22110
22389
|
behind: number;
|
|
22111
22390
|
} | null;
|
|
22112
22391
|
aheadOfOrigin: number | null;
|
|
22392
|
+
behindOfOrigin: number | null;
|
|
22113
22393
|
hasRemote: boolean;
|
|
22114
22394
|
}, {
|
|
22115
22395
|
error: {
|
|
@@ -22131,6 +22411,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22131
22411
|
behind: number;
|
|
22132
22412
|
} | null;
|
|
22133
22413
|
aheadOfOrigin: number | null;
|
|
22414
|
+
behindOfOrigin: number | null;
|
|
22134
22415
|
hasRemote: boolean;
|
|
22135
22416
|
}>]>;
|
|
22136
22417
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22151,6 +22432,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22151
22432
|
isDirty: null;
|
|
22152
22433
|
aheadBehind: null;
|
|
22153
22434
|
aheadOfOrigin: null;
|
|
22435
|
+
behindOfOrigin: null;
|
|
22154
22436
|
hasRemote: boolean;
|
|
22155
22437
|
} | {
|
|
22156
22438
|
error: {
|
|
@@ -22171,6 +22453,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22171
22453
|
behind: number;
|
|
22172
22454
|
} | null;
|
|
22173
22455
|
aheadOfOrigin: number | null;
|
|
22456
|
+
behindOfOrigin: number | null;
|
|
22174
22457
|
hasRemote: boolean;
|
|
22175
22458
|
} | {
|
|
22176
22459
|
error: {
|
|
@@ -22192,6 +22475,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22192
22475
|
behind: number;
|
|
22193
22476
|
} | null;
|
|
22194
22477
|
aheadOfOrigin: number | null;
|
|
22478
|
+
behindOfOrigin: number | null;
|
|
22195
22479
|
hasRemote: boolean;
|
|
22196
22480
|
};
|
|
22197
22481
|
}, {
|
|
@@ -22212,6 +22496,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22212
22496
|
isDirty: null;
|
|
22213
22497
|
aheadBehind: null;
|
|
22214
22498
|
aheadOfOrigin: null;
|
|
22499
|
+
behindOfOrigin: null;
|
|
22215
22500
|
hasRemote: boolean;
|
|
22216
22501
|
} | {
|
|
22217
22502
|
error: {
|
|
@@ -22232,6 +22517,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22232
22517
|
behind: number;
|
|
22233
22518
|
} | null;
|
|
22234
22519
|
aheadOfOrigin: number | null;
|
|
22520
|
+
behindOfOrigin: number | null;
|
|
22235
22521
|
hasRemote: boolean;
|
|
22236
22522
|
} | {
|
|
22237
22523
|
error: {
|
|
@@ -22253,6 +22539,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22253
22539
|
behind: number;
|
|
22254
22540
|
} | null;
|
|
22255
22541
|
aheadOfOrigin: number | null;
|
|
22542
|
+
behindOfOrigin: number | null;
|
|
22256
22543
|
hasRemote: boolean;
|
|
22257
22544
|
};
|
|
22258
22545
|
}>, z.ZodObject<{
|
|
@@ -23047,18 +23334,21 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23047
23334
|
state: z.ZodString;
|
|
23048
23335
|
baseRefName: z.ZodString;
|
|
23049
23336
|
headRefName: z.ZodString;
|
|
23337
|
+
isMerged: z.ZodBoolean;
|
|
23050
23338
|
}, "strip", z.ZodTypeAny, {
|
|
23051
23339
|
title: string;
|
|
23052
23340
|
url: string;
|
|
23053
23341
|
state: string;
|
|
23054
23342
|
baseRefName: string;
|
|
23055
23343
|
headRefName: string;
|
|
23344
|
+
isMerged: boolean;
|
|
23056
23345
|
}, {
|
|
23057
23346
|
title: string;
|
|
23058
23347
|
url: string;
|
|
23059
23348
|
state: string;
|
|
23060
23349
|
baseRefName: string;
|
|
23061
23350
|
headRefName: string;
|
|
23351
|
+
isMerged: boolean;
|
|
23062
23352
|
}>>;
|
|
23063
23353
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
23064
23354
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -23084,6 +23374,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23084
23374
|
state: string;
|
|
23085
23375
|
baseRefName: string;
|
|
23086
23376
|
headRefName: string;
|
|
23377
|
+
isMerged: boolean;
|
|
23087
23378
|
} | null;
|
|
23088
23379
|
requestId: string;
|
|
23089
23380
|
githubFeaturesEnabled: boolean;
|
|
@@ -23099,6 +23390,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23099
23390
|
state: string;
|
|
23100
23391
|
baseRefName: string;
|
|
23101
23392
|
headRefName: string;
|
|
23393
|
+
isMerged: boolean;
|
|
23102
23394
|
} | null;
|
|
23103
23395
|
requestId: string;
|
|
23104
23396
|
githubFeaturesEnabled: boolean;
|
|
@@ -23117,6 +23409,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23117
23409
|
state: string;
|
|
23118
23410
|
baseRefName: string;
|
|
23119
23411
|
headRefName: string;
|
|
23412
|
+
isMerged: boolean;
|
|
23120
23413
|
} | null;
|
|
23121
23414
|
requestId: string;
|
|
23122
23415
|
githubFeaturesEnabled: boolean;
|
|
@@ -23135,6 +23428,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23135
23428
|
state: string;
|
|
23136
23429
|
baseRefName: string;
|
|
23137
23430
|
headRefName: string;
|
|
23431
|
+
isMerged: boolean;
|
|
23138
23432
|
} | null;
|
|
23139
23433
|
requestId: string;
|
|
23140
23434
|
githubFeaturesEnabled: boolean;
|
|
@@ -23211,21 +23505,43 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23211
23505
|
type: z.ZodLiteral<"directory_suggestions_response">;
|
|
23212
23506
|
payload: z.ZodObject<{
|
|
23213
23507
|
directories: z.ZodArray<z.ZodString, "many">;
|
|
23508
|
+
entries: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23509
|
+
path: z.ZodString;
|
|
23510
|
+
kind: z.ZodEnum<["file", "directory"]>;
|
|
23511
|
+
}, "strip", z.ZodTypeAny, {
|
|
23512
|
+
path: string;
|
|
23513
|
+
kind: "file" | "directory";
|
|
23514
|
+
}, {
|
|
23515
|
+
path: string;
|
|
23516
|
+
kind: "file" | "directory";
|
|
23517
|
+
}>, "many">>>;
|
|
23214
23518
|
error: z.ZodNullable<z.ZodString>;
|
|
23215
23519
|
requestId: z.ZodString;
|
|
23216
23520
|
}, "strip", z.ZodTypeAny, {
|
|
23217
23521
|
error: string | null;
|
|
23522
|
+
entries: {
|
|
23523
|
+
path: string;
|
|
23524
|
+
kind: "file" | "directory";
|
|
23525
|
+
}[];
|
|
23218
23526
|
requestId: string;
|
|
23219
23527
|
directories: string[];
|
|
23220
23528
|
}, {
|
|
23221
23529
|
error: string | null;
|
|
23222
23530
|
requestId: string;
|
|
23223
23531
|
directories: string[];
|
|
23532
|
+
entries?: {
|
|
23533
|
+
path: string;
|
|
23534
|
+
kind: "file" | "directory";
|
|
23535
|
+
}[] | undefined;
|
|
23224
23536
|
}>;
|
|
23225
23537
|
}, "strip", z.ZodTypeAny, {
|
|
23226
23538
|
type: "directory_suggestions_response";
|
|
23227
23539
|
payload: {
|
|
23228
23540
|
error: string | null;
|
|
23541
|
+
entries: {
|
|
23542
|
+
path: string;
|
|
23543
|
+
kind: "file" | "directory";
|
|
23544
|
+
}[];
|
|
23229
23545
|
requestId: string;
|
|
23230
23546
|
directories: string[];
|
|
23231
23547
|
};
|
|
@@ -23235,6 +23551,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23235
23551
|
error: string | null;
|
|
23236
23552
|
requestId: string;
|
|
23237
23553
|
directories: string[];
|
|
23554
|
+
entries?: {
|
|
23555
|
+
path: string;
|
|
23556
|
+
kind: "file" | "directory";
|
|
23557
|
+
}[] | undefined;
|
|
23238
23558
|
};
|
|
23239
23559
|
}>, z.ZodObject<{
|
|
23240
23560
|
type: z.ZodLiteral<"paseo_worktree_list_response">;
|
|
@@ -23933,68 +24253,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
23933
24253
|
}[];
|
|
23934
24254
|
requestId: string;
|
|
23935
24255
|
};
|
|
23936
|
-
}>, z.ZodObject<{
|
|
23937
|
-
type: z.ZodLiteral<"execute_command_response">;
|
|
23938
|
-
payload: z.ZodObject<{
|
|
23939
|
-
agentId: z.ZodString;
|
|
23940
|
-
result: z.ZodNullable<z.ZodObject<{
|
|
23941
|
-
text: z.ZodString;
|
|
23942
|
-
timeline: z.ZodArray<z.ZodType<AgentTimelineItem, z.ZodTypeDef, unknown>, "many">;
|
|
23943
|
-
usage: z.ZodOptional<z.ZodType<AgentUsage, z.ZodTypeDef, AgentUsage>>;
|
|
23944
|
-
}, "strip", z.ZodTypeAny, {
|
|
23945
|
-
text: string;
|
|
23946
|
-
timeline: AgentTimelineItem[];
|
|
23947
|
-
usage?: AgentUsage | undefined;
|
|
23948
|
-
}, {
|
|
23949
|
-
text: string;
|
|
23950
|
-
timeline: unknown[];
|
|
23951
|
-
usage?: AgentUsage | undefined;
|
|
23952
|
-
}>>;
|
|
23953
|
-
error: z.ZodNullable<z.ZodString>;
|
|
23954
|
-
requestId: z.ZodString;
|
|
23955
|
-
}, "strip", z.ZodTypeAny, {
|
|
23956
|
-
error: string | null;
|
|
23957
|
-
agentId: string;
|
|
23958
|
-
requestId: string;
|
|
23959
|
-
result: {
|
|
23960
|
-
text: string;
|
|
23961
|
-
timeline: AgentTimelineItem[];
|
|
23962
|
-
usage?: AgentUsage | undefined;
|
|
23963
|
-
} | null;
|
|
23964
|
-
}, {
|
|
23965
|
-
error: string | null;
|
|
23966
|
-
agentId: string;
|
|
23967
|
-
requestId: string;
|
|
23968
|
-
result: {
|
|
23969
|
-
text: string;
|
|
23970
|
-
timeline: unknown[];
|
|
23971
|
-
usage?: AgentUsage | undefined;
|
|
23972
|
-
} | null;
|
|
23973
|
-
}>;
|
|
23974
|
-
}, "strip", z.ZodTypeAny, {
|
|
23975
|
-
type: "execute_command_response";
|
|
23976
|
-
payload: {
|
|
23977
|
-
error: string | null;
|
|
23978
|
-
agentId: string;
|
|
23979
|
-
requestId: string;
|
|
23980
|
-
result: {
|
|
23981
|
-
text: string;
|
|
23982
|
-
timeline: AgentTimelineItem[];
|
|
23983
|
-
usage?: AgentUsage | undefined;
|
|
23984
|
-
} | null;
|
|
23985
|
-
};
|
|
23986
|
-
}, {
|
|
23987
|
-
type: "execute_command_response";
|
|
23988
|
-
payload: {
|
|
23989
|
-
error: string | null;
|
|
23990
|
-
agentId: string;
|
|
23991
|
-
requestId: string;
|
|
23992
|
-
result: {
|
|
23993
|
-
text: string;
|
|
23994
|
-
timeline: unknown[];
|
|
23995
|
-
usage?: AgentUsage | undefined;
|
|
23996
|
-
} | null;
|
|
23997
|
-
};
|
|
23998
24256
|
}>, z.ZodObject<{
|
|
23999
24257
|
type: z.ZodLiteral<"list_terminals_response">;
|
|
24000
24258
|
payload: z.ZodObject<{
|
|
@@ -25058,6 +25316,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25058
25316
|
type: "attention_required";
|
|
25059
25317
|
timestamp: string;
|
|
25060
25318
|
shouldNotify: boolean;
|
|
25319
|
+
notification?: {
|
|
25320
|
+
title: string;
|
|
25321
|
+
body: string;
|
|
25322
|
+
data: {
|
|
25323
|
+
agentId: string;
|
|
25324
|
+
reason: "finished" | "error" | "permission";
|
|
25325
|
+
serverId: string;
|
|
25326
|
+
};
|
|
25327
|
+
} | undefined;
|
|
25061
25328
|
};
|
|
25062
25329
|
seq?: number | undefined;
|
|
25063
25330
|
epoch?: string | undefined;
|
|
@@ -25155,6 +25422,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25155
25422
|
prevCursor: string | null;
|
|
25156
25423
|
hasMore: boolean;
|
|
25157
25424
|
};
|
|
25425
|
+
subscriptionId?: string | null | undefined;
|
|
25158
25426
|
};
|
|
25159
25427
|
} | {
|
|
25160
25428
|
type: "fetch_agent_response";
|
|
@@ -25312,6 +25580,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25312
25580
|
isDirty: null;
|
|
25313
25581
|
aheadBehind: null;
|
|
25314
25582
|
aheadOfOrigin: null;
|
|
25583
|
+
behindOfOrigin: null;
|
|
25315
25584
|
hasRemote: boolean;
|
|
25316
25585
|
} | {
|
|
25317
25586
|
error: {
|
|
@@ -25332,6 +25601,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25332
25601
|
behind: number;
|
|
25333
25602
|
} | null;
|
|
25334
25603
|
aheadOfOrigin: number | null;
|
|
25604
|
+
behindOfOrigin: number | null;
|
|
25335
25605
|
hasRemote: boolean;
|
|
25336
25606
|
} | {
|
|
25337
25607
|
error: {
|
|
@@ -25353,6 +25623,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25353
25623
|
behind: number;
|
|
25354
25624
|
} | null;
|
|
25355
25625
|
aheadOfOrigin: number | null;
|
|
25626
|
+
behindOfOrigin: number | null;
|
|
25356
25627
|
hasRemote: boolean;
|
|
25357
25628
|
};
|
|
25358
25629
|
} | {
|
|
@@ -25490,6 +25761,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25490
25761
|
state: string;
|
|
25491
25762
|
baseRefName: string;
|
|
25492
25763
|
headRefName: string;
|
|
25764
|
+
isMerged: boolean;
|
|
25493
25765
|
} | null;
|
|
25494
25766
|
requestId: string;
|
|
25495
25767
|
githubFeaturesEnabled: boolean;
|
|
@@ -25514,6 +25786,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25514
25786
|
type: "directory_suggestions_response";
|
|
25515
25787
|
payload: {
|
|
25516
25788
|
error: string | null;
|
|
25789
|
+
entries: {
|
|
25790
|
+
path: string;
|
|
25791
|
+
kind: "file" | "directory";
|
|
25792
|
+
}[];
|
|
25517
25793
|
requestId: string;
|
|
25518
25794
|
directories: string[];
|
|
25519
25795
|
};
|
|
@@ -25648,18 +25924,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25648
25924
|
}[];
|
|
25649
25925
|
requestId: string;
|
|
25650
25926
|
};
|
|
25651
|
-
} | {
|
|
25652
|
-
type: "execute_command_response";
|
|
25653
|
-
payload: {
|
|
25654
|
-
error: string | null;
|
|
25655
|
-
agentId: string;
|
|
25656
|
-
requestId: string;
|
|
25657
|
-
result: {
|
|
25658
|
-
text: string;
|
|
25659
|
-
timeline: AgentTimelineItem[];
|
|
25660
|
-
usage?: AgentUsage | undefined;
|
|
25661
|
-
} | null;
|
|
25662
|
-
};
|
|
25663
25927
|
} | {
|
|
25664
25928
|
type: "list_terminals_response";
|
|
25665
25929
|
payload: {
|
|
@@ -26044,6 +26308,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26044
26308
|
type: "attention_required";
|
|
26045
26309
|
timestamp: string;
|
|
26046
26310
|
shouldNotify: boolean;
|
|
26311
|
+
notification?: {
|
|
26312
|
+
title: string;
|
|
26313
|
+
body: string;
|
|
26314
|
+
data: {
|
|
26315
|
+
agentId: string;
|
|
26316
|
+
reason: "finished" | "error" | "permission";
|
|
26317
|
+
serverId: string;
|
|
26318
|
+
};
|
|
26319
|
+
} | undefined;
|
|
26047
26320
|
};
|
|
26048
26321
|
seq?: number | undefined;
|
|
26049
26322
|
epoch?: string | undefined;
|
|
@@ -26141,6 +26414,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26141
26414
|
prevCursor: string | null;
|
|
26142
26415
|
hasMore: boolean;
|
|
26143
26416
|
};
|
|
26417
|
+
subscriptionId?: string | null | undefined;
|
|
26144
26418
|
};
|
|
26145
26419
|
} | {
|
|
26146
26420
|
type: "fetch_agent_response";
|
|
@@ -26298,6 +26572,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26298
26572
|
isDirty: null;
|
|
26299
26573
|
aheadBehind: null;
|
|
26300
26574
|
aheadOfOrigin: null;
|
|
26575
|
+
behindOfOrigin: null;
|
|
26301
26576
|
hasRemote: boolean;
|
|
26302
26577
|
} | {
|
|
26303
26578
|
error: {
|
|
@@ -26318,6 +26593,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26318
26593
|
behind: number;
|
|
26319
26594
|
} | null;
|
|
26320
26595
|
aheadOfOrigin: number | null;
|
|
26596
|
+
behindOfOrigin: number | null;
|
|
26321
26597
|
hasRemote: boolean;
|
|
26322
26598
|
} | {
|
|
26323
26599
|
error: {
|
|
@@ -26339,6 +26615,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26339
26615
|
behind: number;
|
|
26340
26616
|
} | null;
|
|
26341
26617
|
aheadOfOrigin: number | null;
|
|
26618
|
+
behindOfOrigin: number | null;
|
|
26342
26619
|
hasRemote: boolean;
|
|
26343
26620
|
};
|
|
26344
26621
|
} | {
|
|
@@ -26476,6 +26753,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26476
26753
|
state: string;
|
|
26477
26754
|
baseRefName: string;
|
|
26478
26755
|
headRefName: string;
|
|
26756
|
+
isMerged: boolean;
|
|
26479
26757
|
} | null;
|
|
26480
26758
|
requestId: string;
|
|
26481
26759
|
githubFeaturesEnabled: boolean;
|
|
@@ -26502,6 +26780,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26502
26780
|
error: string | null;
|
|
26503
26781
|
requestId: string;
|
|
26504
26782
|
directories: string[];
|
|
26783
|
+
entries?: {
|
|
26784
|
+
path: string;
|
|
26785
|
+
kind: "file" | "directory";
|
|
26786
|
+
}[] | undefined;
|
|
26505
26787
|
};
|
|
26506
26788
|
} | {
|
|
26507
26789
|
type: "paseo_worktree_list_response";
|
|
@@ -26634,18 +26916,6 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26634
26916
|
}[];
|
|
26635
26917
|
requestId: string;
|
|
26636
26918
|
};
|
|
26637
|
-
} | {
|
|
26638
|
-
type: "execute_command_response";
|
|
26639
|
-
payload: {
|
|
26640
|
-
error: string | null;
|
|
26641
|
-
agentId: string;
|
|
26642
|
-
requestId: string;
|
|
26643
|
-
result: {
|
|
26644
|
-
text: string;
|
|
26645
|
-
timeline: unknown[];
|
|
26646
|
-
usage?: AgentUsage | undefined;
|
|
26647
|
-
} | null;
|
|
26648
|
-
};
|
|
26649
26919
|
} | {
|
|
26650
26920
|
type: "list_terminals_response";
|
|
26651
26921
|
payload: {
|
|
@@ -26868,6 +27138,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26868
27138
|
limit: number;
|
|
26869
27139
|
cursor?: string | undefined;
|
|
26870
27140
|
}>>;
|
|
27141
|
+
subscribe: z.ZodOptional<z.ZodObject<{
|
|
27142
|
+
subscriptionId: z.ZodOptional<z.ZodString>;
|
|
27143
|
+
}, "strip", z.ZodTypeAny, {
|
|
27144
|
+
subscriptionId?: string | undefined;
|
|
27145
|
+
}, {
|
|
27146
|
+
subscriptionId?: string | undefined;
|
|
27147
|
+
}>>;
|
|
26871
27148
|
}, "strip", z.ZodTypeAny, {
|
|
26872
27149
|
type: "fetch_agents_request";
|
|
26873
27150
|
requestId: string;
|
|
@@ -26886,6 +27163,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26886
27163
|
limit: number;
|
|
26887
27164
|
cursor?: string | undefined;
|
|
26888
27165
|
} | undefined;
|
|
27166
|
+
subscribe?: {
|
|
27167
|
+
subscriptionId?: string | undefined;
|
|
27168
|
+
} | undefined;
|
|
26889
27169
|
}, {
|
|
26890
27170
|
type: "fetch_agents_request";
|
|
26891
27171
|
requestId: string;
|
|
@@ -26904,6 +27184,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26904
27184
|
limit: number;
|
|
26905
27185
|
cursor?: string | undefined;
|
|
26906
27186
|
} | undefined;
|
|
27187
|
+
subscribe?: {
|
|
27188
|
+
subscriptionId?: string | undefined;
|
|
27189
|
+
} | undefined;
|
|
26907
27190
|
}>, z.ZodObject<{
|
|
26908
27191
|
type: z.ZodLiteral<"fetch_agent_request">;
|
|
26909
27192
|
requestId: z.ZodString;
|
|
@@ -26917,42 +27200,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26917
27200
|
agentId: string;
|
|
26918
27201
|
type: "fetch_agent_request";
|
|
26919
27202
|
requestId: string;
|
|
26920
|
-
}>, z.ZodObject<{
|
|
26921
|
-
type: z.ZodLiteral<"subscribe_agent_updates">;
|
|
26922
|
-
subscriptionId: z.ZodString;
|
|
26923
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
26924
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26925
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
26926
|
-
}, "strip", z.ZodTypeAny, {
|
|
26927
|
-
agentId?: string | undefined;
|
|
26928
|
-
labels?: Record<string, string> | undefined;
|
|
26929
|
-
}, {
|
|
26930
|
-
agentId?: string | undefined;
|
|
26931
|
-
labels?: Record<string, string> | undefined;
|
|
26932
|
-
}>>;
|
|
26933
|
-
}, "strip", z.ZodTypeAny, {
|
|
26934
|
-
type: "subscribe_agent_updates";
|
|
26935
|
-
subscriptionId: string;
|
|
26936
|
-
filter?: {
|
|
26937
|
-
agentId?: string | undefined;
|
|
26938
|
-
labels?: Record<string, string> | undefined;
|
|
26939
|
-
} | undefined;
|
|
26940
|
-
}, {
|
|
26941
|
-
type: "subscribe_agent_updates";
|
|
26942
|
-
subscriptionId: string;
|
|
26943
|
-
filter?: {
|
|
26944
|
-
agentId?: string | undefined;
|
|
26945
|
-
labels?: Record<string, string> | undefined;
|
|
26946
|
-
} | undefined;
|
|
26947
|
-
}>, z.ZodObject<{
|
|
26948
|
-
type: z.ZodLiteral<"unsubscribe_agent_updates">;
|
|
26949
|
-
subscriptionId: z.ZodString;
|
|
26950
|
-
}, "strip", z.ZodTypeAny, {
|
|
26951
|
-
type: "unsubscribe_agent_updates";
|
|
26952
|
-
subscriptionId: string;
|
|
26953
|
-
}, {
|
|
26954
|
-
type: "unsubscribe_agent_updates";
|
|
26955
|
-
subscriptionId: string;
|
|
26956
27203
|
}>, z.ZodObject<{
|
|
26957
27204
|
type: z.ZodLiteral<"delete_agent_request">;
|
|
26958
27205
|
agentId: z.ZodString;
|
|
@@ -27880,15 +28127,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27880
28127
|
type: "checkout_pr_create_request";
|
|
27881
28128
|
requestId: string;
|
|
27882
28129
|
title?: string | undefined;
|
|
27883
|
-
baseRef?: string | undefined;
|
|
27884
28130
|
body?: string | undefined;
|
|
28131
|
+
baseRef?: string | undefined;
|
|
27885
28132
|
}, {
|
|
27886
28133
|
cwd: string;
|
|
27887
28134
|
type: "checkout_pr_create_request";
|
|
27888
28135
|
requestId: string;
|
|
27889
28136
|
title?: string | undefined;
|
|
27890
|
-
baseRef?: string | undefined;
|
|
27891
28137
|
body?: string | undefined;
|
|
28138
|
+
baseRef?: string | undefined;
|
|
27892
28139
|
}>, z.ZodObject<{
|
|
27893
28140
|
type: z.ZodLiteral<"checkout_pr_status_request">;
|
|
27894
28141
|
cwd: z.ZodString;
|
|
@@ -27937,18 +28184,27 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27937
28184
|
}>, z.ZodObject<{
|
|
27938
28185
|
type: z.ZodLiteral<"directory_suggestions_request">;
|
|
27939
28186
|
query: z.ZodString;
|
|
28187
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
28188
|
+
includeFiles: z.ZodOptional<z.ZodBoolean>;
|
|
28189
|
+
includeDirectories: z.ZodOptional<z.ZodBoolean>;
|
|
27940
28190
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
27941
28191
|
requestId: z.ZodString;
|
|
27942
28192
|
}, "strip", z.ZodTypeAny, {
|
|
27943
28193
|
type: "directory_suggestions_request";
|
|
27944
28194
|
query: string;
|
|
27945
28195
|
requestId: string;
|
|
28196
|
+
cwd?: string | undefined;
|
|
27946
28197
|
limit?: number | undefined;
|
|
28198
|
+
includeFiles?: boolean | undefined;
|
|
28199
|
+
includeDirectories?: boolean | undefined;
|
|
27947
28200
|
}, {
|
|
27948
28201
|
type: "directory_suggestions_request";
|
|
27949
28202
|
query: string;
|
|
27950
28203
|
requestId: string;
|
|
28204
|
+
cwd?: string | undefined;
|
|
27951
28205
|
limit?: number | undefined;
|
|
28206
|
+
includeFiles?: boolean | undefined;
|
|
28207
|
+
includeDirectories?: boolean | undefined;
|
|
27952
28208
|
}>, z.ZodObject<{
|
|
27953
28209
|
type: z.ZodLiteral<"paseo_worktree_list_request">;
|
|
27954
28210
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -28072,33 +28328,48 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28072
28328
|
}>, z.ZodObject<{
|
|
28073
28329
|
type: z.ZodLiteral<"list_commands_request">;
|
|
28074
28330
|
agentId: z.ZodString;
|
|
28331
|
+
draftConfig: z.ZodOptional<z.ZodObject<{
|
|
28332
|
+
provider: z.ZodEnum<[string, ...string[]]>;
|
|
28333
|
+
cwd: z.ZodString;
|
|
28334
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
28335
|
+
model: z.ZodOptional<z.ZodString>;
|
|
28336
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
28337
|
+
}, "strip", z.ZodTypeAny, {
|
|
28338
|
+
provider: string;
|
|
28339
|
+
cwd: string;
|
|
28340
|
+
modeId?: string | undefined;
|
|
28341
|
+
model?: string | undefined;
|
|
28342
|
+
thinkingOptionId?: string | undefined;
|
|
28343
|
+
}, {
|
|
28344
|
+
provider: string;
|
|
28345
|
+
cwd: string;
|
|
28346
|
+
modeId?: string | undefined;
|
|
28347
|
+
model?: string | undefined;
|
|
28348
|
+
thinkingOptionId?: string | undefined;
|
|
28349
|
+
}>>;
|
|
28075
28350
|
requestId: z.ZodString;
|
|
28076
28351
|
}, "strip", z.ZodTypeAny, {
|
|
28077
28352
|
agentId: string;
|
|
28078
28353
|
type: "list_commands_request";
|
|
28079
28354
|
requestId: string;
|
|
28355
|
+
draftConfig?: {
|
|
28356
|
+
provider: string;
|
|
28357
|
+
cwd: string;
|
|
28358
|
+
modeId?: string | undefined;
|
|
28359
|
+
model?: string | undefined;
|
|
28360
|
+
thinkingOptionId?: string | undefined;
|
|
28361
|
+
} | undefined;
|
|
28080
28362
|
}, {
|
|
28081
28363
|
agentId: string;
|
|
28082
28364
|
type: "list_commands_request";
|
|
28083
28365
|
requestId: string;
|
|
28084
|
-
|
|
28085
|
-
|
|
28086
|
-
|
|
28087
|
-
|
|
28088
|
-
|
|
28089
|
-
|
|
28090
|
-
|
|
28091
|
-
agentId: string;
|
|
28092
|
-
type: "execute_command_request";
|
|
28093
|
-
requestId: string;
|
|
28094
|
-
commandName: string;
|
|
28095
|
-
args?: string | undefined;
|
|
28096
|
-
}, {
|
|
28097
|
-
agentId: string;
|
|
28098
|
-
type: "execute_command_request";
|
|
28099
|
-
requestId: string;
|
|
28100
|
-
commandName: string;
|
|
28101
|
-
args?: string | undefined;
|
|
28366
|
+
draftConfig?: {
|
|
28367
|
+
provider: string;
|
|
28368
|
+
cwd: string;
|
|
28369
|
+
modeId?: string | undefined;
|
|
28370
|
+
model?: string | undefined;
|
|
28371
|
+
thinkingOptionId?: string | undefined;
|
|
28372
|
+
} | undefined;
|
|
28102
28373
|
}>, z.ZodObject<{
|
|
28103
28374
|
type: z.ZodLiteral<"register_push_token">;
|
|
28104
28375
|
token: z.ZodString;
|
|
@@ -28308,16 +28579,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28308
28579
|
} | {
|
|
28309
28580
|
id: string;
|
|
28310
28581
|
type: "audio_played";
|
|
28311
|
-
} | {
|
|
28312
|
-
type: "subscribe_agent_updates";
|
|
28313
|
-
subscriptionId: string;
|
|
28314
|
-
filter?: {
|
|
28315
|
-
agentId?: string | undefined;
|
|
28316
|
-
labels?: Record<string, string> | undefined;
|
|
28317
|
-
} | undefined;
|
|
28318
|
-
} | {
|
|
28319
|
-
type: "unsubscribe_agent_updates";
|
|
28320
|
-
subscriptionId: string;
|
|
28321
28582
|
} | {
|
|
28322
28583
|
agentId: string;
|
|
28323
28584
|
type: "delete_agent_request";
|
|
@@ -28355,6 +28616,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28355
28616
|
limit: number;
|
|
28356
28617
|
cursor?: string | undefined;
|
|
28357
28618
|
} | undefined;
|
|
28619
|
+
subscribe?: {
|
|
28620
|
+
subscriptionId?: string | undefined;
|
|
28621
|
+
} | undefined;
|
|
28358
28622
|
} | {
|
|
28359
28623
|
agentId: string;
|
|
28360
28624
|
type: "fetch_agent_request";
|
|
@@ -28576,8 +28840,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28576
28840
|
type: "checkout_pr_create_request";
|
|
28577
28841
|
requestId: string;
|
|
28578
28842
|
title?: string | undefined;
|
|
28579
|
-
baseRef?: string | undefined;
|
|
28580
28843
|
body?: string | undefined;
|
|
28844
|
+
baseRef?: string | undefined;
|
|
28581
28845
|
} | {
|
|
28582
28846
|
cwd: string;
|
|
28583
28847
|
type: "checkout_pr_status_request";
|
|
@@ -28597,7 +28861,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28597
28861
|
type: "directory_suggestions_request";
|
|
28598
28862
|
query: string;
|
|
28599
28863
|
requestId: string;
|
|
28864
|
+
cwd?: string | undefined;
|
|
28600
28865
|
limit?: number | undefined;
|
|
28866
|
+
includeFiles?: boolean | undefined;
|
|
28867
|
+
includeDirectories?: boolean | undefined;
|
|
28601
28868
|
} | {
|
|
28602
28869
|
type: "paseo_worktree_list_request";
|
|
28603
28870
|
requestId: string;
|
|
@@ -28642,12 +28909,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28642
28909
|
agentId: string;
|
|
28643
28910
|
type: "list_commands_request";
|
|
28644
28911
|
requestId: string;
|
|
28645
|
-
|
|
28646
|
-
|
|
28647
|
-
|
|
28648
|
-
|
|
28649
|
-
|
|
28650
|
-
|
|
28912
|
+
draftConfig?: {
|
|
28913
|
+
provider: string;
|
|
28914
|
+
cwd: string;
|
|
28915
|
+
modeId?: string | undefined;
|
|
28916
|
+
model?: string | undefined;
|
|
28917
|
+
thinkingOptionId?: string | undefined;
|
|
28918
|
+
} | undefined;
|
|
28651
28919
|
} | {
|
|
28652
28920
|
type: "register_push_token";
|
|
28653
28921
|
token: string;
|
|
@@ -28718,16 +28986,6 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28718
28986
|
} | {
|
|
28719
28987
|
id: string;
|
|
28720
28988
|
type: "audio_played";
|
|
28721
|
-
} | {
|
|
28722
|
-
type: "subscribe_agent_updates";
|
|
28723
|
-
subscriptionId: string;
|
|
28724
|
-
filter?: {
|
|
28725
|
-
agentId?: string | undefined;
|
|
28726
|
-
labels?: Record<string, string> | undefined;
|
|
28727
|
-
} | undefined;
|
|
28728
|
-
} | {
|
|
28729
|
-
type: "unsubscribe_agent_updates";
|
|
28730
|
-
subscriptionId: string;
|
|
28731
28989
|
} | {
|
|
28732
28990
|
agentId: string;
|
|
28733
28991
|
type: "delete_agent_request";
|
|
@@ -28765,6 +29023,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28765
29023
|
limit: number;
|
|
28766
29024
|
cursor?: string | undefined;
|
|
28767
29025
|
} | undefined;
|
|
29026
|
+
subscribe?: {
|
|
29027
|
+
subscriptionId?: string | undefined;
|
|
29028
|
+
} | undefined;
|
|
28768
29029
|
} | {
|
|
28769
29030
|
agentId: string;
|
|
28770
29031
|
type: "fetch_agent_request";
|
|
@@ -28986,8 +29247,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28986
29247
|
type: "checkout_pr_create_request";
|
|
28987
29248
|
requestId: string;
|
|
28988
29249
|
title?: string | undefined;
|
|
28989
|
-
baseRef?: string | undefined;
|
|
28990
29250
|
body?: string | undefined;
|
|
29251
|
+
baseRef?: string | undefined;
|
|
28991
29252
|
} | {
|
|
28992
29253
|
cwd: string;
|
|
28993
29254
|
type: "checkout_pr_status_request";
|
|
@@ -29007,7 +29268,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
29007
29268
|
type: "directory_suggestions_request";
|
|
29008
29269
|
query: string;
|
|
29009
29270
|
requestId: string;
|
|
29271
|
+
cwd?: string | undefined;
|
|
29010
29272
|
limit?: number | undefined;
|
|
29273
|
+
includeFiles?: boolean | undefined;
|
|
29274
|
+
includeDirectories?: boolean | undefined;
|
|
29011
29275
|
} | {
|
|
29012
29276
|
type: "paseo_worktree_list_request";
|
|
29013
29277
|
requestId: string;
|
|
@@ -29052,12 +29316,13 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
29052
29316
|
agentId: string;
|
|
29053
29317
|
type: "list_commands_request";
|
|
29054
29318
|
requestId: string;
|
|
29055
|
-
|
|
29056
|
-
|
|
29057
|
-
|
|
29058
|
-
|
|
29059
|
-
|
|
29060
|
-
|
|
29319
|
+
draftConfig?: {
|
|
29320
|
+
provider: string;
|
|
29321
|
+
cwd: string;
|
|
29322
|
+
modeId?: string | undefined;
|
|
29323
|
+
model?: string | undefined;
|
|
29324
|
+
thinkingOptionId?: string | undefined;
|
|
29325
|
+
} | undefined;
|
|
29061
29326
|
} | {
|
|
29062
29327
|
type: "register_push_token";
|
|
29063
29328
|
token: string;
|
|
@@ -30102,18 +30367,69 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30102
30367
|
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
30103
30368
|
timestamp: z.ZodString;
|
|
30104
30369
|
shouldNotify: z.ZodBoolean;
|
|
30370
|
+
notification: z.ZodOptional<z.ZodObject<{
|
|
30371
|
+
title: z.ZodString;
|
|
30372
|
+
body: z.ZodString;
|
|
30373
|
+
data: z.ZodObject<{
|
|
30374
|
+
serverId: z.ZodString;
|
|
30375
|
+
agentId: z.ZodString;
|
|
30376
|
+
reason: z.ZodEnum<["finished", "error", "permission"]>;
|
|
30377
|
+
}, "strip", z.ZodTypeAny, {
|
|
30378
|
+
agentId: string;
|
|
30379
|
+
reason: "finished" | "error" | "permission";
|
|
30380
|
+
serverId: string;
|
|
30381
|
+
}, {
|
|
30382
|
+
agentId: string;
|
|
30383
|
+
reason: "finished" | "error" | "permission";
|
|
30384
|
+
serverId: string;
|
|
30385
|
+
}>;
|
|
30386
|
+
}, "strip", z.ZodTypeAny, {
|
|
30387
|
+
title: string;
|
|
30388
|
+
body: string;
|
|
30389
|
+
data: {
|
|
30390
|
+
agentId: string;
|
|
30391
|
+
reason: "finished" | "error" | "permission";
|
|
30392
|
+
serverId: string;
|
|
30393
|
+
};
|
|
30394
|
+
}, {
|
|
30395
|
+
title: string;
|
|
30396
|
+
body: string;
|
|
30397
|
+
data: {
|
|
30398
|
+
agentId: string;
|
|
30399
|
+
reason: "finished" | "error" | "permission";
|
|
30400
|
+
serverId: string;
|
|
30401
|
+
};
|
|
30402
|
+
}>>;
|
|
30105
30403
|
}, "strip", z.ZodTypeAny, {
|
|
30106
30404
|
reason: "finished" | "error" | "permission";
|
|
30107
30405
|
provider: string;
|
|
30108
30406
|
type: "attention_required";
|
|
30109
30407
|
timestamp: string;
|
|
30110
30408
|
shouldNotify: boolean;
|
|
30409
|
+
notification?: {
|
|
30410
|
+
title: string;
|
|
30411
|
+
body: string;
|
|
30412
|
+
data: {
|
|
30413
|
+
agentId: string;
|
|
30414
|
+
reason: "finished" | "error" | "permission";
|
|
30415
|
+
serverId: string;
|
|
30416
|
+
};
|
|
30417
|
+
} | undefined;
|
|
30111
30418
|
}, {
|
|
30112
30419
|
reason: "finished" | "error" | "permission";
|
|
30113
30420
|
provider: string;
|
|
30114
30421
|
type: "attention_required";
|
|
30115
30422
|
timestamp: string;
|
|
30116
30423
|
shouldNotify: boolean;
|
|
30424
|
+
notification?: {
|
|
30425
|
+
title: string;
|
|
30426
|
+
body: string;
|
|
30427
|
+
data: {
|
|
30428
|
+
agentId: string;
|
|
30429
|
+
reason: "finished" | "error" | "permission";
|
|
30430
|
+
serverId: string;
|
|
30431
|
+
};
|
|
30432
|
+
} | undefined;
|
|
30117
30433
|
}>]>;
|
|
30118
30434
|
timestamp: z.ZodString;
|
|
30119
30435
|
seq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -30159,6 +30475,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30159
30475
|
type: "attention_required";
|
|
30160
30476
|
timestamp: string;
|
|
30161
30477
|
shouldNotify: boolean;
|
|
30478
|
+
notification?: {
|
|
30479
|
+
title: string;
|
|
30480
|
+
body: string;
|
|
30481
|
+
data: {
|
|
30482
|
+
agentId: string;
|
|
30483
|
+
reason: "finished" | "error" | "permission";
|
|
30484
|
+
serverId: string;
|
|
30485
|
+
};
|
|
30486
|
+
} | undefined;
|
|
30162
30487
|
};
|
|
30163
30488
|
seq?: number | undefined;
|
|
30164
30489
|
epoch?: string | undefined;
|
|
@@ -30203,6 +30528,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30203
30528
|
type: "attention_required";
|
|
30204
30529
|
timestamp: string;
|
|
30205
30530
|
shouldNotify: boolean;
|
|
30531
|
+
notification?: {
|
|
30532
|
+
title: string;
|
|
30533
|
+
body: string;
|
|
30534
|
+
data: {
|
|
30535
|
+
agentId: string;
|
|
30536
|
+
reason: "finished" | "error" | "permission";
|
|
30537
|
+
serverId: string;
|
|
30538
|
+
};
|
|
30539
|
+
} | undefined;
|
|
30206
30540
|
};
|
|
30207
30541
|
seq?: number | undefined;
|
|
30208
30542
|
epoch?: string | undefined;
|
|
@@ -30250,6 +30584,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30250
30584
|
type: "attention_required";
|
|
30251
30585
|
timestamp: string;
|
|
30252
30586
|
shouldNotify: boolean;
|
|
30587
|
+
notification?: {
|
|
30588
|
+
title: string;
|
|
30589
|
+
body: string;
|
|
30590
|
+
data: {
|
|
30591
|
+
agentId: string;
|
|
30592
|
+
reason: "finished" | "error" | "permission";
|
|
30593
|
+
serverId: string;
|
|
30594
|
+
};
|
|
30595
|
+
} | undefined;
|
|
30253
30596
|
};
|
|
30254
30597
|
seq?: number | undefined;
|
|
30255
30598
|
epoch?: string | undefined;
|
|
@@ -30297,6 +30640,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30297
30640
|
type: "attention_required";
|
|
30298
30641
|
timestamp: string;
|
|
30299
30642
|
shouldNotify: boolean;
|
|
30643
|
+
notification?: {
|
|
30644
|
+
title: string;
|
|
30645
|
+
body: string;
|
|
30646
|
+
data: {
|
|
30647
|
+
agentId: string;
|
|
30648
|
+
reason: "finished" | "error" | "permission";
|
|
30649
|
+
serverId: string;
|
|
30650
|
+
};
|
|
30651
|
+
} | undefined;
|
|
30300
30652
|
};
|
|
30301
30653
|
seq?: number | undefined;
|
|
30302
30654
|
epoch?: string | undefined;
|
|
@@ -30502,6 +30854,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30502
30854
|
type: z.ZodLiteral<"fetch_agents_response">;
|
|
30503
30855
|
payload: z.ZodObject<{
|
|
30504
30856
|
requestId: z.ZodString;
|
|
30857
|
+
subscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30505
30858
|
entries: z.ZodArray<z.ZodObject<{
|
|
30506
30859
|
agent: z.ZodObject<{
|
|
30507
30860
|
id: z.ZodString;
|
|
@@ -30872,6 +31225,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30872
31225
|
prevCursor: string | null;
|
|
30873
31226
|
hasMore: boolean;
|
|
30874
31227
|
};
|
|
31228
|
+
subscriptionId?: string | null | undefined;
|
|
30875
31229
|
}, {
|
|
30876
31230
|
entries: {
|
|
30877
31231
|
agent: {
|
|
@@ -30932,6 +31286,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30932
31286
|
prevCursor: string | null;
|
|
30933
31287
|
hasMore: boolean;
|
|
30934
31288
|
};
|
|
31289
|
+
subscriptionId?: string | null | undefined;
|
|
30935
31290
|
}>;
|
|
30936
31291
|
}, "strip", z.ZodTypeAny, {
|
|
30937
31292
|
type: "fetch_agents_response";
|
|
@@ -30995,6 +31350,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
30995
31350
|
prevCursor: string | null;
|
|
30996
31351
|
hasMore: boolean;
|
|
30997
31352
|
};
|
|
31353
|
+
subscriptionId?: string | null | undefined;
|
|
30998
31354
|
};
|
|
30999
31355
|
}, {
|
|
31000
31356
|
type: "fetch_agents_response";
|
|
@@ -31058,6 +31414,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
31058
31414
|
prevCursor: string | null;
|
|
31059
31415
|
hasMore: boolean;
|
|
31060
31416
|
};
|
|
31417
|
+
subscriptionId?: string | null | undefined;
|
|
31061
31418
|
};
|
|
31062
31419
|
}>, z.ZodObject<{
|
|
31063
31420
|
type: z.ZodLiteral<"fetch_agent_response">;
|
|
@@ -32059,6 +32416,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32059
32416
|
baseRef: z.ZodNull;
|
|
32060
32417
|
aheadBehind: z.ZodNull;
|
|
32061
32418
|
aheadOfOrigin: z.ZodNull;
|
|
32419
|
+
behindOfOrigin: z.ZodNull;
|
|
32062
32420
|
hasRemote: z.ZodBoolean;
|
|
32063
32421
|
remoteUrl: z.ZodNull;
|
|
32064
32422
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32077,6 +32435,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32077
32435
|
isDirty: null;
|
|
32078
32436
|
aheadBehind: null;
|
|
32079
32437
|
aheadOfOrigin: null;
|
|
32438
|
+
behindOfOrigin: null;
|
|
32080
32439
|
hasRemote: boolean;
|
|
32081
32440
|
}, {
|
|
32082
32441
|
error: {
|
|
@@ -32094,6 +32453,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32094
32453
|
isDirty: null;
|
|
32095
32454
|
aheadBehind: null;
|
|
32096
32455
|
aheadOfOrigin: null;
|
|
32456
|
+
behindOfOrigin: null;
|
|
32097
32457
|
hasRemote: boolean;
|
|
32098
32458
|
}>, z.ZodObject<{
|
|
32099
32459
|
cwd: z.ZodString;
|
|
@@ -32126,6 +32486,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32126
32486
|
behind: number;
|
|
32127
32487
|
}>>;
|
|
32128
32488
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
32489
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
32129
32490
|
hasRemote: z.ZodBoolean;
|
|
32130
32491
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
32131
32492
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32147,6 +32508,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32147
32508
|
behind: number;
|
|
32148
32509
|
} | null;
|
|
32149
32510
|
aheadOfOrigin: number | null;
|
|
32511
|
+
behindOfOrigin: number | null;
|
|
32150
32512
|
hasRemote: boolean;
|
|
32151
32513
|
}, {
|
|
32152
32514
|
error: {
|
|
@@ -32167,6 +32529,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32167
32529
|
behind: number;
|
|
32168
32530
|
} | null;
|
|
32169
32531
|
aheadOfOrigin: number | null;
|
|
32532
|
+
behindOfOrigin: number | null;
|
|
32170
32533
|
hasRemote: boolean;
|
|
32171
32534
|
}>, z.ZodObject<{
|
|
32172
32535
|
cwd: z.ZodString;
|
|
@@ -32200,6 +32563,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32200
32563
|
behind: number;
|
|
32201
32564
|
}>>;
|
|
32202
32565
|
aheadOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
32566
|
+
behindOfOrigin: z.ZodNullable<z.ZodNumber>;
|
|
32203
32567
|
hasRemote: z.ZodBoolean;
|
|
32204
32568
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
32205
32569
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32222,6 +32586,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32222
32586
|
behind: number;
|
|
32223
32587
|
} | null;
|
|
32224
32588
|
aheadOfOrigin: number | null;
|
|
32589
|
+
behindOfOrigin: number | null;
|
|
32225
32590
|
hasRemote: boolean;
|
|
32226
32591
|
}, {
|
|
32227
32592
|
error: {
|
|
@@ -32243,6 +32608,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32243
32608
|
behind: number;
|
|
32244
32609
|
} | null;
|
|
32245
32610
|
aheadOfOrigin: number | null;
|
|
32611
|
+
behindOfOrigin: number | null;
|
|
32246
32612
|
hasRemote: boolean;
|
|
32247
32613
|
}>]>;
|
|
32248
32614
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -32263,6 +32629,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32263
32629
|
isDirty: null;
|
|
32264
32630
|
aheadBehind: null;
|
|
32265
32631
|
aheadOfOrigin: null;
|
|
32632
|
+
behindOfOrigin: null;
|
|
32266
32633
|
hasRemote: boolean;
|
|
32267
32634
|
} | {
|
|
32268
32635
|
error: {
|
|
@@ -32283,6 +32650,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32283
32650
|
behind: number;
|
|
32284
32651
|
} | null;
|
|
32285
32652
|
aheadOfOrigin: number | null;
|
|
32653
|
+
behindOfOrigin: number | null;
|
|
32286
32654
|
hasRemote: boolean;
|
|
32287
32655
|
} | {
|
|
32288
32656
|
error: {
|
|
@@ -32304,6 +32672,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32304
32672
|
behind: number;
|
|
32305
32673
|
} | null;
|
|
32306
32674
|
aheadOfOrigin: number | null;
|
|
32675
|
+
behindOfOrigin: number | null;
|
|
32307
32676
|
hasRemote: boolean;
|
|
32308
32677
|
};
|
|
32309
32678
|
}, {
|
|
@@ -32324,6 +32693,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32324
32693
|
isDirty: null;
|
|
32325
32694
|
aheadBehind: null;
|
|
32326
32695
|
aheadOfOrigin: null;
|
|
32696
|
+
behindOfOrigin: null;
|
|
32327
32697
|
hasRemote: boolean;
|
|
32328
32698
|
} | {
|
|
32329
32699
|
error: {
|
|
@@ -32344,6 +32714,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32344
32714
|
behind: number;
|
|
32345
32715
|
} | null;
|
|
32346
32716
|
aheadOfOrigin: number | null;
|
|
32717
|
+
behindOfOrigin: number | null;
|
|
32347
32718
|
hasRemote: boolean;
|
|
32348
32719
|
} | {
|
|
32349
32720
|
error: {
|
|
@@ -32365,6 +32736,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32365
32736
|
behind: number;
|
|
32366
32737
|
} | null;
|
|
32367
32738
|
aheadOfOrigin: number | null;
|
|
32739
|
+
behindOfOrigin: number | null;
|
|
32368
32740
|
hasRemote: boolean;
|
|
32369
32741
|
};
|
|
32370
32742
|
}>, z.ZodObject<{
|
|
@@ -33159,18 +33531,21 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33159
33531
|
state: z.ZodString;
|
|
33160
33532
|
baseRefName: z.ZodString;
|
|
33161
33533
|
headRefName: z.ZodString;
|
|
33534
|
+
isMerged: z.ZodBoolean;
|
|
33162
33535
|
}, "strip", z.ZodTypeAny, {
|
|
33163
33536
|
title: string;
|
|
33164
33537
|
url: string;
|
|
33165
33538
|
state: string;
|
|
33166
33539
|
baseRefName: string;
|
|
33167
33540
|
headRefName: string;
|
|
33541
|
+
isMerged: boolean;
|
|
33168
33542
|
}, {
|
|
33169
33543
|
title: string;
|
|
33170
33544
|
url: string;
|
|
33171
33545
|
state: string;
|
|
33172
33546
|
baseRefName: string;
|
|
33173
33547
|
headRefName: string;
|
|
33548
|
+
isMerged: boolean;
|
|
33174
33549
|
}>>;
|
|
33175
33550
|
githubFeaturesEnabled: z.ZodBoolean;
|
|
33176
33551
|
error: z.ZodNullable<z.ZodObject<{
|
|
@@ -33196,6 +33571,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33196
33571
|
state: string;
|
|
33197
33572
|
baseRefName: string;
|
|
33198
33573
|
headRefName: string;
|
|
33574
|
+
isMerged: boolean;
|
|
33199
33575
|
} | null;
|
|
33200
33576
|
requestId: string;
|
|
33201
33577
|
githubFeaturesEnabled: boolean;
|
|
@@ -33211,6 +33587,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33211
33587
|
state: string;
|
|
33212
33588
|
baseRefName: string;
|
|
33213
33589
|
headRefName: string;
|
|
33590
|
+
isMerged: boolean;
|
|
33214
33591
|
} | null;
|
|
33215
33592
|
requestId: string;
|
|
33216
33593
|
githubFeaturesEnabled: boolean;
|
|
@@ -33229,6 +33606,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33229
33606
|
state: string;
|
|
33230
33607
|
baseRefName: string;
|
|
33231
33608
|
headRefName: string;
|
|
33609
|
+
isMerged: boolean;
|
|
33232
33610
|
} | null;
|
|
33233
33611
|
requestId: string;
|
|
33234
33612
|
githubFeaturesEnabled: boolean;
|
|
@@ -33247,6 +33625,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33247
33625
|
state: string;
|
|
33248
33626
|
baseRefName: string;
|
|
33249
33627
|
headRefName: string;
|
|
33628
|
+
isMerged: boolean;
|
|
33250
33629
|
} | null;
|
|
33251
33630
|
requestId: string;
|
|
33252
33631
|
githubFeaturesEnabled: boolean;
|
|
@@ -33323,21 +33702,43 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33323
33702
|
type: z.ZodLiteral<"directory_suggestions_response">;
|
|
33324
33703
|
payload: z.ZodObject<{
|
|
33325
33704
|
directories: z.ZodArray<z.ZodString, "many">;
|
|
33705
|
+
entries: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33706
|
+
path: z.ZodString;
|
|
33707
|
+
kind: z.ZodEnum<["file", "directory"]>;
|
|
33708
|
+
}, "strip", z.ZodTypeAny, {
|
|
33709
|
+
path: string;
|
|
33710
|
+
kind: "file" | "directory";
|
|
33711
|
+
}, {
|
|
33712
|
+
path: string;
|
|
33713
|
+
kind: "file" | "directory";
|
|
33714
|
+
}>, "many">>>;
|
|
33326
33715
|
error: z.ZodNullable<z.ZodString>;
|
|
33327
33716
|
requestId: z.ZodString;
|
|
33328
33717
|
}, "strip", z.ZodTypeAny, {
|
|
33329
33718
|
error: string | null;
|
|
33719
|
+
entries: {
|
|
33720
|
+
path: string;
|
|
33721
|
+
kind: "file" | "directory";
|
|
33722
|
+
}[];
|
|
33330
33723
|
requestId: string;
|
|
33331
33724
|
directories: string[];
|
|
33332
33725
|
}, {
|
|
33333
33726
|
error: string | null;
|
|
33334
33727
|
requestId: string;
|
|
33335
33728
|
directories: string[];
|
|
33729
|
+
entries?: {
|
|
33730
|
+
path: string;
|
|
33731
|
+
kind: "file" | "directory";
|
|
33732
|
+
}[] | undefined;
|
|
33336
33733
|
}>;
|
|
33337
33734
|
}, "strip", z.ZodTypeAny, {
|
|
33338
33735
|
type: "directory_suggestions_response";
|
|
33339
33736
|
payload: {
|
|
33340
33737
|
error: string | null;
|
|
33738
|
+
entries: {
|
|
33739
|
+
path: string;
|
|
33740
|
+
kind: "file" | "directory";
|
|
33741
|
+
}[];
|
|
33341
33742
|
requestId: string;
|
|
33342
33743
|
directories: string[];
|
|
33343
33744
|
};
|
|
@@ -33347,6 +33748,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33347
33748
|
error: string | null;
|
|
33348
33749
|
requestId: string;
|
|
33349
33750
|
directories: string[];
|
|
33751
|
+
entries?: {
|
|
33752
|
+
path: string;
|
|
33753
|
+
kind: "file" | "directory";
|
|
33754
|
+
}[] | undefined;
|
|
33350
33755
|
};
|
|
33351
33756
|
}>, z.ZodObject<{
|
|
33352
33757
|
type: z.ZodLiteral<"paseo_worktree_list_response">;
|
|
@@ -34045,68 +34450,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
34045
34450
|
}[];
|
|
34046
34451
|
requestId: string;
|
|
34047
34452
|
};
|
|
34048
|
-
}>, z.ZodObject<{
|
|
34049
|
-
type: z.ZodLiteral<"execute_command_response">;
|
|
34050
|
-
payload: z.ZodObject<{
|
|
34051
|
-
agentId: z.ZodString;
|
|
34052
|
-
result: z.ZodNullable<z.ZodObject<{
|
|
34053
|
-
text: z.ZodString;
|
|
34054
|
-
timeline: z.ZodArray<z.ZodType<AgentTimelineItem, z.ZodTypeDef, unknown>, "many">;
|
|
34055
|
-
usage: z.ZodOptional<z.ZodType<AgentUsage, z.ZodTypeDef, AgentUsage>>;
|
|
34056
|
-
}, "strip", z.ZodTypeAny, {
|
|
34057
|
-
text: string;
|
|
34058
|
-
timeline: AgentTimelineItem[];
|
|
34059
|
-
usage?: AgentUsage | undefined;
|
|
34060
|
-
}, {
|
|
34061
|
-
text: string;
|
|
34062
|
-
timeline: unknown[];
|
|
34063
|
-
usage?: AgentUsage | undefined;
|
|
34064
|
-
}>>;
|
|
34065
|
-
error: z.ZodNullable<z.ZodString>;
|
|
34066
|
-
requestId: z.ZodString;
|
|
34067
|
-
}, "strip", z.ZodTypeAny, {
|
|
34068
|
-
error: string | null;
|
|
34069
|
-
agentId: string;
|
|
34070
|
-
requestId: string;
|
|
34071
|
-
result: {
|
|
34072
|
-
text: string;
|
|
34073
|
-
timeline: AgentTimelineItem[];
|
|
34074
|
-
usage?: AgentUsage | undefined;
|
|
34075
|
-
} | null;
|
|
34076
|
-
}, {
|
|
34077
|
-
error: string | null;
|
|
34078
|
-
agentId: string;
|
|
34079
|
-
requestId: string;
|
|
34080
|
-
result: {
|
|
34081
|
-
text: string;
|
|
34082
|
-
timeline: unknown[];
|
|
34083
|
-
usage?: AgentUsage | undefined;
|
|
34084
|
-
} | null;
|
|
34085
|
-
}>;
|
|
34086
|
-
}, "strip", z.ZodTypeAny, {
|
|
34087
|
-
type: "execute_command_response";
|
|
34088
|
-
payload: {
|
|
34089
|
-
error: string | null;
|
|
34090
|
-
agentId: string;
|
|
34091
|
-
requestId: string;
|
|
34092
|
-
result: {
|
|
34093
|
-
text: string;
|
|
34094
|
-
timeline: AgentTimelineItem[];
|
|
34095
|
-
usage?: AgentUsage | undefined;
|
|
34096
|
-
} | null;
|
|
34097
|
-
};
|
|
34098
|
-
}, {
|
|
34099
|
-
type: "execute_command_response";
|
|
34100
|
-
payload: {
|
|
34101
|
-
error: string | null;
|
|
34102
|
-
agentId: string;
|
|
34103
|
-
requestId: string;
|
|
34104
|
-
result: {
|
|
34105
|
-
text: string;
|
|
34106
|
-
timeline: unknown[];
|
|
34107
|
-
usage?: AgentUsage | undefined;
|
|
34108
|
-
} | null;
|
|
34109
|
-
};
|
|
34110
34453
|
}>, z.ZodObject<{
|
|
34111
34454
|
type: z.ZodLiteral<"list_terminals_response">;
|
|
34112
34455
|
payload: z.ZodObject<{
|
|
@@ -35170,6 +35513,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35170
35513
|
type: "attention_required";
|
|
35171
35514
|
timestamp: string;
|
|
35172
35515
|
shouldNotify: boolean;
|
|
35516
|
+
notification?: {
|
|
35517
|
+
title: string;
|
|
35518
|
+
body: string;
|
|
35519
|
+
data: {
|
|
35520
|
+
agentId: string;
|
|
35521
|
+
reason: "finished" | "error" | "permission";
|
|
35522
|
+
serverId: string;
|
|
35523
|
+
};
|
|
35524
|
+
} | undefined;
|
|
35173
35525
|
};
|
|
35174
35526
|
seq?: number | undefined;
|
|
35175
35527
|
epoch?: string | undefined;
|
|
@@ -35267,6 +35619,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35267
35619
|
prevCursor: string | null;
|
|
35268
35620
|
hasMore: boolean;
|
|
35269
35621
|
};
|
|
35622
|
+
subscriptionId?: string | null | undefined;
|
|
35270
35623
|
};
|
|
35271
35624
|
} | {
|
|
35272
35625
|
type: "fetch_agent_response";
|
|
@@ -35424,6 +35777,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35424
35777
|
isDirty: null;
|
|
35425
35778
|
aheadBehind: null;
|
|
35426
35779
|
aheadOfOrigin: null;
|
|
35780
|
+
behindOfOrigin: null;
|
|
35427
35781
|
hasRemote: boolean;
|
|
35428
35782
|
} | {
|
|
35429
35783
|
error: {
|
|
@@ -35444,6 +35798,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35444
35798
|
behind: number;
|
|
35445
35799
|
} | null;
|
|
35446
35800
|
aheadOfOrigin: number | null;
|
|
35801
|
+
behindOfOrigin: number | null;
|
|
35447
35802
|
hasRemote: boolean;
|
|
35448
35803
|
} | {
|
|
35449
35804
|
error: {
|
|
@@ -35465,6 +35820,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35465
35820
|
behind: number;
|
|
35466
35821
|
} | null;
|
|
35467
35822
|
aheadOfOrigin: number | null;
|
|
35823
|
+
behindOfOrigin: number | null;
|
|
35468
35824
|
hasRemote: boolean;
|
|
35469
35825
|
};
|
|
35470
35826
|
} | {
|
|
@@ -35602,6 +35958,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35602
35958
|
state: string;
|
|
35603
35959
|
baseRefName: string;
|
|
35604
35960
|
headRefName: string;
|
|
35961
|
+
isMerged: boolean;
|
|
35605
35962
|
} | null;
|
|
35606
35963
|
requestId: string;
|
|
35607
35964
|
githubFeaturesEnabled: boolean;
|
|
@@ -35626,6 +35983,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35626
35983
|
type: "directory_suggestions_response";
|
|
35627
35984
|
payload: {
|
|
35628
35985
|
error: string | null;
|
|
35986
|
+
entries: {
|
|
35987
|
+
path: string;
|
|
35988
|
+
kind: "file" | "directory";
|
|
35989
|
+
}[];
|
|
35629
35990
|
requestId: string;
|
|
35630
35991
|
directories: string[];
|
|
35631
35992
|
};
|
|
@@ -35760,18 +36121,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35760
36121
|
}[];
|
|
35761
36122
|
requestId: string;
|
|
35762
36123
|
};
|
|
35763
|
-
} | {
|
|
35764
|
-
type: "execute_command_response";
|
|
35765
|
-
payload: {
|
|
35766
|
-
error: string | null;
|
|
35767
|
-
agentId: string;
|
|
35768
|
-
requestId: string;
|
|
35769
|
-
result: {
|
|
35770
|
-
text: string;
|
|
35771
|
-
timeline: AgentTimelineItem[];
|
|
35772
|
-
usage?: AgentUsage | undefined;
|
|
35773
|
-
} | null;
|
|
35774
|
-
};
|
|
35775
36124
|
} | {
|
|
35776
36125
|
type: "list_terminals_response";
|
|
35777
36126
|
payload: {
|
|
@@ -36156,6 +36505,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36156
36505
|
type: "attention_required";
|
|
36157
36506
|
timestamp: string;
|
|
36158
36507
|
shouldNotify: boolean;
|
|
36508
|
+
notification?: {
|
|
36509
|
+
title: string;
|
|
36510
|
+
body: string;
|
|
36511
|
+
data: {
|
|
36512
|
+
agentId: string;
|
|
36513
|
+
reason: "finished" | "error" | "permission";
|
|
36514
|
+
serverId: string;
|
|
36515
|
+
};
|
|
36516
|
+
} | undefined;
|
|
36159
36517
|
};
|
|
36160
36518
|
seq?: number | undefined;
|
|
36161
36519
|
epoch?: string | undefined;
|
|
@@ -36253,6 +36611,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36253
36611
|
prevCursor: string | null;
|
|
36254
36612
|
hasMore: boolean;
|
|
36255
36613
|
};
|
|
36614
|
+
subscriptionId?: string | null | undefined;
|
|
36256
36615
|
};
|
|
36257
36616
|
} | {
|
|
36258
36617
|
type: "fetch_agent_response";
|
|
@@ -36410,6 +36769,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36410
36769
|
isDirty: null;
|
|
36411
36770
|
aheadBehind: null;
|
|
36412
36771
|
aheadOfOrigin: null;
|
|
36772
|
+
behindOfOrigin: null;
|
|
36413
36773
|
hasRemote: boolean;
|
|
36414
36774
|
} | {
|
|
36415
36775
|
error: {
|
|
@@ -36430,6 +36790,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36430
36790
|
behind: number;
|
|
36431
36791
|
} | null;
|
|
36432
36792
|
aheadOfOrigin: number | null;
|
|
36793
|
+
behindOfOrigin: number | null;
|
|
36433
36794
|
hasRemote: boolean;
|
|
36434
36795
|
} | {
|
|
36435
36796
|
error: {
|
|
@@ -36451,6 +36812,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36451
36812
|
behind: number;
|
|
36452
36813
|
} | null;
|
|
36453
36814
|
aheadOfOrigin: number | null;
|
|
36815
|
+
behindOfOrigin: number | null;
|
|
36454
36816
|
hasRemote: boolean;
|
|
36455
36817
|
};
|
|
36456
36818
|
} | {
|
|
@@ -36588,6 +36950,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36588
36950
|
state: string;
|
|
36589
36951
|
baseRefName: string;
|
|
36590
36952
|
headRefName: string;
|
|
36953
|
+
isMerged: boolean;
|
|
36591
36954
|
} | null;
|
|
36592
36955
|
requestId: string;
|
|
36593
36956
|
githubFeaturesEnabled: boolean;
|
|
@@ -36614,6 +36977,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36614
36977
|
error: string | null;
|
|
36615
36978
|
requestId: string;
|
|
36616
36979
|
directories: string[];
|
|
36980
|
+
entries?: {
|
|
36981
|
+
path: string;
|
|
36982
|
+
kind: "file" | "directory";
|
|
36983
|
+
}[] | undefined;
|
|
36617
36984
|
};
|
|
36618
36985
|
} | {
|
|
36619
36986
|
type: "paseo_worktree_list_response";
|
|
@@ -36746,18 +37113,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36746
37113
|
}[];
|
|
36747
37114
|
requestId: string;
|
|
36748
37115
|
};
|
|
36749
|
-
} | {
|
|
36750
|
-
type: "execute_command_response";
|
|
36751
|
-
payload: {
|
|
36752
|
-
error: string | null;
|
|
36753
|
-
agentId: string;
|
|
36754
|
-
requestId: string;
|
|
36755
|
-
result: {
|
|
36756
|
-
text: string;
|
|
36757
|
-
timeline: unknown[];
|
|
36758
|
-
usage?: AgentUsage | undefined;
|
|
36759
|
-
} | null;
|
|
36760
|
-
};
|
|
36761
37116
|
} | {
|
|
36762
37117
|
type: "list_terminals_response";
|
|
36763
37118
|
payload: {
|