@getmateo/protocol 0.19.13 → 0.19.15

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.
@@ -1,6 +1,7 @@
1
1
  export { AgentProfileSchema, AgentSkillSelectionSchema, type AgentProfile, type AgentSkillSelection, } from "./agent-profile.js";
2
2
  export { PluginIdSchema, PluginRequirementsSchema, DirectoryPluginSourceSchema, PluginSourceSchema, type PluginRequirements, type PluginSource, } from "./plugin-config.js";
3
3
  export { TerminalProfileSchema, type TerminalProfile } from "./terminal-profile.js";
4
+ export { DEFAULT_NOTIFICATION_PREFERENCES, NotificationEventsPreferencesSchema, NotificationPluginsPreferencesSchema, NotificationPreferencesSchema, normalizeNotificationPreferences, shouldDeliverNotification, type NotificationKind, type NotificationPreferences, type NotificationPreferencesInput, } from "./notification-preferences.js";
4
5
  import { z } from "zod";
5
6
  import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema } from "./chat/rpc-schemas.js";
6
7
  import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema } from "./schedule/rpc-schemas.js";
@@ -1288,8 +1289,8 @@ export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{
1288
1289
  declare const WorkspaceStateBucketSchema: z.ZodEnum<{
1289
1290
  running: "running";
1290
1291
  failed: "failed";
1291
- attention: "attention";
1292
1292
  needs_input: "needs_input";
1293
+ attention: "attention";
1293
1294
  done: "done";
1294
1295
  }>;
1295
1296
  export declare const FetchWorkspacesRequestMessageSchema: z.ZodObject<{
@@ -4394,6 +4395,20 @@ export declare const ListCommandsRequestSchema: z.ZodObject<{
4394
4395
  export declare const RegisterPushTokenMessageSchema: z.ZodObject<{
4395
4396
  type: z.ZodLiteral<"register_push_token">;
4396
4397
  token: z.ZodString;
4398
+ preferences: z.ZodOptional<z.ZodObject<{
4399
+ enabled: z.ZodOptional<z.ZodBoolean>;
4400
+ events: z.ZodOptional<z.ZodObject<{
4401
+ agentPermission: z.ZodOptional<z.ZodBoolean>;
4402
+ agentError: z.ZodOptional<z.ZodBoolean>;
4403
+ agentFinished: z.ZodOptional<z.ZodBoolean>;
4404
+ terminalNeedsInput: z.ZodOptional<z.ZodBoolean>;
4405
+ terminalFinished: z.ZodOptional<z.ZodBoolean>;
4406
+ }, z.core.$strip>>;
4407
+ plugins: z.ZodOptional<z.ZodObject<{
4408
+ enabled: z.ZodOptional<z.ZodBoolean>;
4409
+ muted: z.ZodOptional<z.ZodArray<z.ZodString>>;
4410
+ }, z.core.$strip>>;
4411
+ }, z.core.$strip>>;
4397
4412
  }, z.core.$strip>;
4398
4413
  export declare const PushUnregisterRequestSchema: z.ZodObject<{
4399
4414
  type: z.ZodLiteral<"push.unregister.request">;
@@ -4636,6 +4651,7 @@ export declare const SessionEventSubscriptionSchema: z.ZodEnum<{
4636
4651
  workspace_setup_progress: "workspace_setup_progress";
4637
4652
  "agent.provider_subagents.update": "agent.provider_subagents.update";
4638
4653
  terminal_attention_required: "terminal_attention_required";
4654
+ "plugin.notification": "plugin.notification";
4639
4655
  "status.server_info": "status.server_info";
4640
4656
  "status.daemon_config_changed": "status.daemon_config_changed";
4641
4657
  "status.plugin_catalog_changed": "status.plugin_catalog_changed";
@@ -4659,6 +4675,7 @@ export declare const SessionEventsSetSubscriptionRequestSchema: z.ZodObject<{
4659
4675
  workspace_setup_progress: "workspace_setup_progress";
4660
4676
  "agent.provider_subagents.update": "agent.provider_subagents.update";
4661
4677
  terminal_attention_required: "terminal_attention_required";
4678
+ "plugin.notification": "plugin.notification";
4662
4679
  "status.server_info": "status.server_info";
4663
4680
  "status.daemon_config_changed": "status.daemon_config_changed";
4664
4681
  "status.plugin_catalog_changed": "status.plugin_catalog_changed";
@@ -4713,8 +4730,8 @@ export declare const BrowserHostRegisterRequestSchema: z.ZodObject<{
4713
4730
  hostKind: z.ZodString;
4714
4731
  supportedCommands: z.ZodArray<z.ZodEnum<{
4715
4732
  type: "type";
4716
- select: "select";
4717
4733
  fill: "fill";
4734
+ select: "select";
4718
4735
  logs: "logs";
4719
4736
  list_tabs: "list_tabs";
4720
4737
  new_tab: "new_tab";
@@ -4845,8 +4862,8 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4845
4862
  hostKind: z.ZodString;
4846
4863
  supportedCommands: z.ZodArray<z.ZodEnum<{
4847
4864
  type: "type";
4848
- select: "select";
4849
4865
  fill: "fill";
4866
+ select: "select";
4850
4867
  logs: "logs";
4851
4868
  list_tabs: "list_tabs";
4852
4869
  new_tab: "new_tab";
@@ -5114,6 +5131,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
5114
5131
  workspace_setup_progress: "workspace_setup_progress";
5115
5132
  "agent.provider_subagents.update": "agent.provider_subagents.update";
5116
5133
  terminal_attention_required: "terminal_attention_required";
5134
+ "plugin.notification": "plugin.notification";
5117
5135
  "status.server_info": "status.server_info";
5118
5136
  "status.daemon_config_changed": "status.daemon_config_changed";
5119
5137
  "status.plugin_catalog_changed": "status.plugin_catalog_changed";
@@ -7693,6 +7711,20 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
7693
7711
  }, z.core.$strip>, z.ZodObject<{
7694
7712
  type: z.ZodLiteral<"register_push_token">;
7695
7713
  token: z.ZodString;
7714
+ preferences: z.ZodOptional<z.ZodObject<{
7715
+ enabled: z.ZodOptional<z.ZodBoolean>;
7716
+ events: z.ZodOptional<z.ZodObject<{
7717
+ agentPermission: z.ZodOptional<z.ZodBoolean>;
7718
+ agentError: z.ZodOptional<z.ZodBoolean>;
7719
+ agentFinished: z.ZodOptional<z.ZodBoolean>;
7720
+ terminalNeedsInput: z.ZodOptional<z.ZodBoolean>;
7721
+ terminalFinished: z.ZodOptional<z.ZodBoolean>;
7722
+ }, z.core.$strip>>;
7723
+ plugins: z.ZodOptional<z.ZodObject<{
7724
+ enabled: z.ZodOptional<z.ZodBoolean>;
7725
+ muted: z.ZodOptional<z.ZodArray<z.ZodString>>;
7726
+ }, z.core.$strip>>;
7727
+ }, z.core.$strip>>;
7696
7728
  }, z.core.$strip>, z.ZodObject<{
7697
7729
  type: z.ZodLiteral<"push.unregister.request">;
7698
7730
  token: z.ZodString;
@@ -8196,6 +8228,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
8196
8228
  daemonConfigReload: z.ZodOptional<z.ZodBoolean>;
8197
8229
  relayConfig: z.ZodOptional<z.ZodBoolean>;
8198
8230
  pushTokenRevocation: z.ZodOptional<z.ZodBoolean>;
8231
+ pushNotificationPreferences: z.ZodOptional<z.ZodBoolean>;
8199
8232
  plugins: z.ZodOptional<z.ZodBoolean>;
8200
8233
  pluginManagement: z.ZodOptional<z.ZodBoolean>;
8201
8234
  pluginLogs: z.ZodOptional<z.ZodBoolean>;
@@ -8209,6 +8242,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
8209
8242
  pluginThemes: z.ZodOptional<z.ZodBoolean>;
8210
8243
  pluginSettings: z.ZodOptional<z.ZodBoolean>;
8211
8244
  pluginTimelineItems: z.ZodOptional<z.ZodBoolean>;
8245
+ pluginNotifications: z.ZodOptional<z.ZodBoolean>;
8212
8246
  globalTerminals: z.ZodOptional<z.ZodBoolean>;
8213
8247
  terminalBusyCount: z.ZodOptional<z.ZodBoolean>;
8214
8248
  terminalBinaryInput: z.ZodOptional<z.ZodBoolean>;
@@ -8342,6 +8376,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
8342
8376
  daemonConfigReload?: boolean | undefined;
8343
8377
  relayConfig?: boolean | undefined;
8344
8378
  pushTokenRevocation?: boolean | undefined;
8379
+ pushNotificationPreferences?: boolean | undefined;
8345
8380
  plugins?: boolean | undefined;
8346
8381
  pluginManagement?: boolean | undefined;
8347
8382
  pluginLogs?: boolean | undefined;
@@ -8355,6 +8390,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
8355
8390
  pluginThemes?: boolean | undefined;
8356
8391
  pluginSettings?: boolean | undefined;
8357
8392
  pluginTimelineItems?: boolean | undefined;
8393
+ pluginNotifications?: boolean | undefined;
8358
8394
  globalTerminals?: boolean | undefined;
8359
8395
  terminalBusyCount?: boolean | undefined;
8360
8396
  terminalBinaryInput?: boolean | undefined;
@@ -8489,6 +8525,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
8489
8525
  daemonConfigReload?: boolean | undefined;
8490
8526
  relayConfig?: boolean | undefined;
8491
8527
  pushTokenRevocation?: boolean | undefined;
8528
+ pushNotificationPreferences?: boolean | undefined;
8492
8529
  plugins?: boolean | undefined;
8493
8530
  pluginManagement?: boolean | undefined;
8494
8531
  pluginLogs?: boolean | undefined;
@@ -8502,6 +8539,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
8502
8539
  pluginThemes?: boolean | undefined;
8503
8540
  pluginSettings?: boolean | undefined;
8504
8541
  pluginTimelineItems?: boolean | undefined;
8542
+ pluginNotifications?: boolean | undefined;
8505
8543
  globalTerminals?: boolean | undefined;
8506
8544
  terminalBusyCount?: boolean | undefined;
8507
8545
  terminalBinaryInput?: boolean | undefined;
@@ -9550,8 +9588,8 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
9550
9588
  status: z.ZodEnum<{
9551
9589
  running: "running";
9552
9590
  failed: "failed";
9553
- attention: "attention";
9554
9591
  needs_input: "needs_input";
9592
+ attention: "attention";
9555
9593
  done: "done";
9556
9594
  }>;
9557
9595
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -9735,7 +9773,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
9735
9773
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
9736
9774
  name: string;
9737
9775
  archivingAt: string | null;
9738
- status: "running" | "failed" | "attention" | "needs_input" | "done";
9776
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
9739
9777
  statusEnteredAt: string | null;
9740
9778
  activityAt: string | null;
9741
9779
  scripts: {
@@ -9848,7 +9886,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
9848
9886
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
9849
9887
  name: string;
9850
9888
  archivingAt: string | null;
9851
- status: "running" | "failed" | "attention" | "needs_input" | "done";
9889
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
9852
9890
  statusEnteredAt: string | null;
9853
9891
  activityAt: string | null;
9854
9892
  scripts: {
@@ -10878,8 +10916,8 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
10878
10916
  status: z.ZodEnum<{
10879
10917
  running: "running";
10880
10918
  failed: "failed";
10881
- attention: "attention";
10882
10919
  needs_input: "needs_input";
10920
+ attention: "attention";
10883
10921
  done: "done";
10884
10922
  }>;
10885
10923
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -11063,7 +11101,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
11063
11101
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
11064
11102
  name: string;
11065
11103
  archivingAt: string | null;
11066
- status: "running" | "failed" | "attention" | "needs_input" | "done";
11104
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
11067
11105
  statusEnteredAt: string | null;
11068
11106
  activityAt: string | null;
11069
11107
  scripts: {
@@ -11176,7 +11214,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
11176
11214
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
11177
11215
  name: string;
11178
11216
  archivingAt: string | null;
11179
- status: "running" | "failed" | "attention" | "needs_input" | "done";
11217
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
11180
11218
  statusEnteredAt: string | null;
11181
11219
  activityAt: string | null;
11182
11220
  scripts: {
@@ -11362,8 +11400,8 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
11362
11400
  status: z.ZodEnum<{
11363
11401
  running: "running";
11364
11402
  failed: "failed";
11365
- attention: "attention";
11366
11403
  needs_input: "needs_input";
11404
+ attention: "attention";
11367
11405
  done: "done";
11368
11406
  }>;
11369
11407
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -11547,7 +11585,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
11547
11585
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
11548
11586
  name: string;
11549
11587
  archivingAt: string | null;
11550
- status: "running" | "failed" | "attention" | "needs_input" | "done";
11588
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
11551
11589
  statusEnteredAt: string | null;
11552
11590
  activityAt: string | null;
11553
11591
  scripts: {
@@ -11660,7 +11698,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
11660
11698
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
11661
11699
  name: string;
11662
11700
  archivingAt: string | null;
11663
- status: "running" | "failed" | "attention" | "needs_input" | "done";
11701
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
11664
11702
  statusEnteredAt: string | null;
11665
11703
  activityAt: string | null;
11666
11704
  scripts: {
@@ -12221,8 +12259,8 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
12221
12259
  status: z.ZodEnum<{
12222
12260
  running: "running";
12223
12261
  failed: "failed";
12224
- attention: "attention";
12225
12262
  needs_input: "needs_input";
12263
+ attention: "attention";
12226
12264
  done: "done";
12227
12265
  }>;
12228
12266
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -12406,7 +12444,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
12406
12444
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
12407
12445
  name: string;
12408
12446
  archivingAt: string | null;
12409
- status: "running" | "failed" | "attention" | "needs_input" | "done";
12447
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
12410
12448
  statusEnteredAt: string | null;
12411
12449
  activityAt: string | null;
12412
12450
  scripts: {
@@ -12519,7 +12557,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
12519
12557
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
12520
12558
  name: string;
12521
12559
  archivingAt: string | null;
12522
- status: "running" | "failed" | "attention" | "needs_input" | "done";
12560
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
12523
12561
  statusEnteredAt: string | null;
12524
12562
  activityAt: string | null;
12525
12563
  scripts: {
@@ -13891,8 +13929,8 @@ export declare const CreationSnapshotSchema: z.ZodObject<{
13891
13929
  status: z.ZodEnum<{
13892
13930
  running: "running";
13893
13931
  failed: "failed";
13894
- attention: "attention";
13895
13932
  needs_input: "needs_input";
13933
+ attention: "attention";
13896
13934
  done: "done";
13897
13935
  }>;
13898
13936
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -14076,7 +14114,7 @@ export declare const CreationSnapshotSchema: z.ZodObject<{
14076
14114
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
14077
14115
  name: string;
14078
14116
  archivingAt: string | null;
14079
- status: "running" | "failed" | "attention" | "needs_input" | "done";
14117
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
14080
14118
  statusEnteredAt: string | null;
14081
14119
  activityAt: string | null;
14082
14120
  scripts: {
@@ -14189,7 +14227,7 @@ export declare const CreationSnapshotSchema: z.ZodObject<{
14189
14227
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
14190
14228
  name: string;
14191
14229
  archivingAt: string | null;
14192
- status: "running" | "failed" | "attention" | "needs_input" | "done";
14230
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
14193
14231
  statusEnteredAt: string | null;
14194
14232
  activityAt: string | null;
14195
14233
  scripts: {
@@ -14446,8 +14484,8 @@ export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{
14446
14484
  status: z.ZodEnum<{
14447
14485
  running: "running";
14448
14486
  failed: "failed";
14449
- attention: "attention";
14450
14487
  needs_input: "needs_input";
14488
+ attention: "attention";
14451
14489
  done: "done";
14452
14490
  }>;
14453
14491
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -14631,7 +14669,7 @@ export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{
14631
14669
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
14632
14670
  name: string;
14633
14671
  archivingAt: string | null;
14634
- status: "running" | "failed" | "attention" | "needs_input" | "done";
14672
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
14635
14673
  statusEnteredAt: string | null;
14636
14674
  activityAt: string | null;
14637
14675
  scripts: {
@@ -14744,7 +14782,7 @@ export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{
14744
14782
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
14745
14783
  name: string;
14746
14784
  archivingAt: string | null;
14747
- status: "running" | "failed" | "attention" | "needs_input" | "done";
14785
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
14748
14786
  statusEnteredAt: string | null;
14749
14787
  activityAt: string | null;
14750
14788
  scripts: {
@@ -14999,8 +15037,8 @@ export declare const AgentCreationUpdateSchema: z.ZodObject<{
14999
15037
  status: z.ZodEnum<{
15000
15038
  running: "running";
15001
15039
  failed: "failed";
15002
- attention: "attention";
15003
15040
  needs_input: "needs_input";
15041
+ attention: "attention";
15004
15042
  done: "done";
15005
15043
  }>;
15006
15044
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -15184,7 +15222,7 @@ export declare const AgentCreationUpdateSchema: z.ZodObject<{
15184
15222
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
15185
15223
  name: string;
15186
15224
  archivingAt: string | null;
15187
- status: "running" | "failed" | "attention" | "needs_input" | "done";
15225
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
15188
15226
  statusEnteredAt: string | null;
15189
15227
  activityAt: string | null;
15190
15228
  scripts: {
@@ -15297,7 +15335,7 @@ export declare const AgentCreationUpdateSchema: z.ZodObject<{
15297
15335
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
15298
15336
  name: string;
15299
15337
  archivingAt: string | null;
15300
- status: "running" | "failed" | "attention" | "needs_input" | "done";
15338
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
15301
15339
  statusEnteredAt: string | null;
15302
15340
  activityAt: string | null;
15303
15341
  scripts: {
@@ -15557,8 +15595,8 @@ export declare const CreationSubscribeResponseSchema: z.ZodObject<{
15557
15595
  status: z.ZodEnum<{
15558
15596
  running: "running";
15559
15597
  failed: "failed";
15560
- attention: "attention";
15561
15598
  needs_input: "needs_input";
15599
+ attention: "attention";
15562
15600
  done: "done";
15563
15601
  }>;
15564
15602
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -15742,7 +15780,7 @@ export declare const CreationSubscribeResponseSchema: z.ZodObject<{
15742
15780
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
15743
15781
  name: string;
15744
15782
  archivingAt: string | null;
15745
- status: "running" | "failed" | "attention" | "needs_input" | "done";
15783
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
15746
15784
  statusEnteredAt: string | null;
15747
15785
  activityAt: string | null;
15748
15786
  scripts: {
@@ -15855,7 +15893,7 @@ export declare const CreationSubscribeResponseSchema: z.ZodObject<{
15855
15893
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
15856
15894
  name: string;
15857
15895
  archivingAt: string | null;
15858
- status: "running" | "failed" | "attention" | "needs_input" | "done";
15896
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
15859
15897
  statusEnteredAt: string | null;
15860
15898
  activityAt: string | null;
15861
15899
  scripts: {
@@ -16199,8 +16237,8 @@ export declare const AgentCreateResponseSchema: z.ZodObject<{
16199
16237
  status: z.ZodEnum<{
16200
16238
  running: "running";
16201
16239
  failed: "failed";
16202
- attention: "attention";
16203
16240
  needs_input: "needs_input";
16241
+ attention: "attention";
16204
16242
  done: "done";
16205
16243
  }>;
16206
16244
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -16384,7 +16422,7 @@ export declare const AgentCreateResponseSchema: z.ZodObject<{
16384
16422
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
16385
16423
  name: string;
16386
16424
  archivingAt: string | null;
16387
- status: "running" | "failed" | "attention" | "needs_input" | "done";
16425
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
16388
16426
  statusEnteredAt: string | null;
16389
16427
  activityAt: string | null;
16390
16428
  scripts: {
@@ -16497,7 +16535,7 @@ export declare const AgentCreateResponseSchema: z.ZodObject<{
16497
16535
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
16498
16536
  name: string;
16499
16537
  archivingAt: string | null;
16500
- status: "running" | "failed" | "attention" | "needs_input" | "done";
16538
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
16501
16539
  statusEnteredAt: string | null;
16502
16540
  activityAt: string | null;
16503
16541
  scripts: {
@@ -16838,8 +16876,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
16838
16876
  status: z.ZodEnum<{
16839
16877
  running: "running";
16840
16878
  failed: "failed";
16841
- attention: "attention";
16842
16879
  needs_input: "needs_input";
16880
+ attention: "attention";
16843
16881
  done: "done";
16844
16882
  }>;
16845
16883
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -17023,7 +17061,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
17023
17061
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
17024
17062
  name: string;
17025
17063
  archivingAt: string | null;
17026
- status: "running" | "failed" | "attention" | "needs_input" | "done";
17064
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
17027
17065
  statusEnteredAt: string | null;
17028
17066
  activityAt: string | null;
17029
17067
  scripts: {
@@ -17136,7 +17174,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
17136
17174
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
17137
17175
  name: string;
17138
17176
  archivingAt: string | null;
17139
- status: "running" | "failed" | "attention" | "needs_input" | "done";
17177
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
17140
17178
  statusEnteredAt: string | null;
17141
17179
  activityAt: string | null;
17142
17180
  scripts: {
@@ -17371,8 +17409,8 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
17371
17409
  status: z.ZodEnum<{
17372
17410
  running: "running";
17373
17411
  failed: "failed";
17374
- attention: "attention";
17375
17412
  needs_input: "needs_input";
17413
+ attention: "attention";
17376
17414
  done: "done";
17377
17415
  }>;
17378
17416
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -17556,7 +17594,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
17556
17594
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
17557
17595
  name: string;
17558
17596
  archivingAt: string | null;
17559
- status: "running" | "failed" | "attention" | "needs_input" | "done";
17597
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
17560
17598
  statusEnteredAt: string | null;
17561
17599
  activityAt: string | null;
17562
17600
  scripts: {
@@ -17669,7 +17707,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
17669
17707
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
17670
17708
  name: string;
17671
17709
  archivingAt: string | null;
17672
- status: "running" | "failed" | "attention" | "needs_input" | "done";
17710
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
17673
17711
  statusEnteredAt: string | null;
17674
17712
  activityAt: string | null;
17675
17713
  scripts: {
@@ -18516,6 +18554,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
18516
18554
  tracked: "tracked";
18517
18555
  gone: "gone";
18518
18556
  }>>;
18557
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18558
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18519
18559
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18520
18560
  isGit: z.ZodLiteral<false>;
18521
18561
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -18547,6 +18587,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
18547
18587
  tracked: "tracked";
18548
18588
  gone: "gone";
18549
18589
  }>>;
18590
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18591
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18550
18592
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18551
18593
  isGit: z.ZodLiteral<true>;
18552
18594
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -18582,6 +18624,8 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
18582
18624
  tracked: "tracked";
18583
18625
  gone: "gone";
18584
18626
  }>>;
18627
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18628
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18585
18629
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18586
18630
  isGit: z.ZodLiteral<true>;
18587
18631
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -18676,6 +18720,8 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
18676
18720
  tracked: "tracked";
18677
18721
  gone: "gone";
18678
18722
  }>>;
18723
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18724
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18679
18725
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18680
18726
  isGit: z.ZodLiteral<false>;
18681
18727
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -18707,6 +18753,8 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
18707
18753
  tracked: "tracked";
18708
18754
  gone: "gone";
18709
18755
  }>>;
18756
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18757
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18710
18758
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18711
18759
  isGit: z.ZodLiteral<true>;
18712
18760
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -18742,6 +18790,8 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
18742
18790
  tracked: "tracked";
18743
18791
  gone: "gone";
18744
18792
  }>>;
18793
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18794
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18745
18795
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18746
18796
  isGit: z.ZodLiteral<true>;
18747
18797
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -19958,8 +20008,8 @@ export declare const CreateMateoWorktreeResponseSchema: z.ZodObject<{
19958
20008
  status: z.ZodEnum<{
19959
20009
  running: "running";
19960
20010
  failed: "failed";
19961
- attention: "attention";
19962
20011
  needs_input: "needs_input";
20012
+ attention: "attention";
19963
20013
  done: "done";
19964
20014
  }>;
19965
20015
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -20143,7 +20193,7 @@ export declare const CreateMateoWorktreeResponseSchema: z.ZodObject<{
20143
20193
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
20144
20194
  name: string;
20145
20195
  archivingAt: string | null;
20146
- status: "running" | "failed" | "attention" | "needs_input" | "done";
20196
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
20147
20197
  statusEnteredAt: string | null;
20148
20198
  activityAt: string | null;
20149
20199
  scripts: {
@@ -20256,7 +20306,7 @@ export declare const CreateMateoWorktreeResponseSchema: z.ZodObject<{
20256
20306
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
20257
20307
  name: string;
20258
20308
  archivingAt: string | null;
20259
- status: "running" | "failed" | "attention" | "needs_input" | "done";
20309
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
20260
20310
  statusEnteredAt: string | null;
20261
20311
  activityAt: string | null;
20262
20312
  scripts: {
@@ -21882,6 +21932,43 @@ export declare const TerminalAttentionRequiredSchema: z.ZodObject<{
21882
21932
  shouldNotify: z.ZodBoolean;
21883
21933
  }, z.core.$strip>;
21884
21934
  }, z.core.$strip>;
21935
+ export declare const PluginNotificationOpenTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
21936
+ type: z.ZodLiteral<"agent">;
21937
+ agentId: z.ZodString;
21938
+ }, z.core.$strip>, z.ZodObject<{
21939
+ type: z.ZodLiteral<"workspace">;
21940
+ workspaceId: z.ZodString;
21941
+ }, z.core.$strip>, z.ZodObject<{
21942
+ type: z.ZodLiteral<"screen">;
21943
+ screenId: z.ZodString;
21944
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21945
+ }, z.core.$strip>], "type">;
21946
+ export type PluginNotificationOpenTarget = z.infer<typeof PluginNotificationOpenTargetSchema>;
21947
+ export declare const PluginNotificationMessageSchema: z.ZodObject<{
21948
+ type: z.ZodLiteral<"plugin.notification">;
21949
+ payload: z.ZodObject<{
21950
+ subscriptionId: z.ZodOptional<z.ZodString>;
21951
+ serverId: z.ZodOptional<z.ZodString>;
21952
+ pluginId: z.ZodString;
21953
+ notificationId: z.ZodString;
21954
+ title: z.ZodString;
21955
+ body: z.ZodString;
21956
+ open: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
21957
+ type: z.ZodLiteral<"agent">;
21958
+ agentId: z.ZodString;
21959
+ }, z.core.$strip>, z.ZodObject<{
21960
+ type: z.ZodLiteral<"workspace">;
21961
+ workspaceId: z.ZodString;
21962
+ }, z.core.$strip>, z.ZodObject<{
21963
+ type: z.ZodLiteral<"screen">;
21964
+ screenId: z.ZodString;
21965
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21966
+ }, z.core.$strip>], "type">>;
21967
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
21968
+ shouldNotify: z.ZodBoolean;
21969
+ }, z.core.$strip>;
21970
+ }, z.core.$strip>;
21971
+ export type PluginNotificationMessage = z.infer<typeof PluginNotificationMessageSchema>;
21885
21972
  export declare const DaemonUpdateResponseSchema: z.ZodObject<{
21886
21973
  type: z.ZodLiteral<"daemon.update.response">;
21887
21974
  payload: z.ZodObject<{
@@ -26084,8 +26171,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26084
26171
  status: z.ZodEnum<{
26085
26172
  running: "running";
26086
26173
  failed: "failed";
26087
- attention: "attention";
26088
26174
  needs_input: "needs_input";
26175
+ attention: "attention";
26089
26176
  done: "done";
26090
26177
  }>;
26091
26178
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -26269,7 +26356,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26269
26356
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
26270
26357
  name: string;
26271
26358
  archivingAt: string | null;
26272
- status: "running" | "failed" | "attention" | "needs_input" | "done";
26359
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
26273
26360
  statusEnteredAt: string | null;
26274
26361
  activityAt: string | null;
26275
26362
  scripts: {
@@ -26382,7 +26469,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
26382
26469
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
26383
26470
  name: string;
26384
26471
  archivingAt: string | null;
26385
- status: "running" | "failed" | "attention" | "needs_input" | "done";
26472
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
26386
26473
  statusEnteredAt: string | null;
26387
26474
  activityAt: string | null;
26388
26475
  scripts: {
@@ -27474,8 +27561,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27474
27561
  status: z.ZodEnum<{
27475
27562
  running: "running";
27476
27563
  failed: "failed";
27477
- attention: "attention";
27478
27564
  needs_input: "needs_input";
27565
+ attention: "attention";
27479
27566
  done: "done";
27480
27567
  }>;
27481
27568
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -27659,7 +27746,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27659
27746
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
27660
27747
  name: string;
27661
27748
  archivingAt: string | null;
27662
- status: "running" | "failed" | "attention" | "needs_input" | "done";
27749
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
27663
27750
  statusEnteredAt: string | null;
27664
27751
  activityAt: string | null;
27665
27752
  scripts: {
@@ -27772,7 +27859,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
27772
27859
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
27773
27860
  name: string;
27774
27861
  archivingAt: string | null;
27775
- status: "running" | "failed" | "attention" | "needs_input" | "done";
27862
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
27776
27863
  statusEnteredAt: string | null;
27777
27864
  activityAt: string | null;
27778
27865
  scripts: {
@@ -28003,8 +28090,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28003
28090
  status: z.ZodEnum<{
28004
28091
  running: "running";
28005
28092
  failed: "failed";
28006
- attention: "attention";
28007
28093
  needs_input: "needs_input";
28094
+ attention: "attention";
28008
28095
  done: "done";
28009
28096
  }>;
28010
28097
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -28188,7 +28275,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28188
28275
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
28189
28276
  name: string;
28190
28277
  archivingAt: string | null;
28191
- status: "running" | "failed" | "attention" | "needs_input" | "done";
28278
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
28192
28279
  statusEnteredAt: string | null;
28193
28280
  activityAt: string | null;
28194
28281
  scripts: {
@@ -28301,7 +28388,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
28301
28388
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
28302
28389
  name: string;
28303
28390
  archivingAt: string | null;
28304
- status: "running" | "failed" | "attention" | "needs_input" | "done";
28391
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
28305
28392
  statusEnteredAt: string | null;
28306
28393
  activityAt: string | null;
28307
28394
  scripts: {
@@ -29639,8 +29726,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29639
29726
  status: z.ZodEnum<{
29640
29727
  running: "running";
29641
29728
  failed: "failed";
29642
- attention: "attention";
29643
29729
  needs_input: "needs_input";
29730
+ attention: "attention";
29644
29731
  done: "done";
29645
29732
  }>;
29646
29733
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -29824,7 +29911,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29824
29911
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
29825
29912
  name: string;
29826
29913
  archivingAt: string | null;
29827
- status: "running" | "failed" | "attention" | "needs_input" | "done";
29914
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
29828
29915
  statusEnteredAt: string | null;
29829
29916
  activityAt: string | null;
29830
29917
  scripts: {
@@ -29937,7 +30024,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
29937
30024
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
29938
30025
  name: string;
29939
30026
  archivingAt: string | null;
29940
- status: "running" | "failed" | "attention" | "needs_input" | "done";
30027
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
29941
30028
  statusEnteredAt: string | null;
29942
30029
  activityAt: string | null;
29943
30030
  scripts: {
@@ -30172,8 +30259,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30172
30259
  status: z.ZodEnum<{
30173
30260
  running: "running";
30174
30261
  failed: "failed";
30175
- attention: "attention";
30176
30262
  needs_input: "needs_input";
30263
+ attention: "attention";
30177
30264
  done: "done";
30178
30265
  }>;
30179
30266
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -30357,7 +30444,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30357
30444
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
30358
30445
  name: string;
30359
30446
  archivingAt: string | null;
30360
- status: "running" | "failed" | "attention" | "needs_input" | "done";
30447
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
30361
30448
  statusEnteredAt: string | null;
30362
30449
  activityAt: string | null;
30363
30450
  scripts: {
@@ -30470,7 +30557,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30470
30557
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
30471
30558
  name: string;
30472
30559
  archivingAt: string | null;
30473
- status: "running" | "failed" | "attention" | "needs_input" | "done";
30560
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
30474
30561
  statusEnteredAt: string | null;
30475
30562
  activityAt: string | null;
30476
30563
  scripts: {
@@ -30723,8 +30810,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30723
30810
  status: z.ZodEnum<{
30724
30811
  running: "running";
30725
30812
  failed: "failed";
30726
- attention: "attention";
30727
30813
  needs_input: "needs_input";
30814
+ attention: "attention";
30728
30815
  done: "done";
30729
30816
  }>;
30730
30817
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -30908,7 +30995,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
30908
30995
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
30909
30996
  name: string;
30910
30997
  archivingAt: string | null;
30911
- status: "running" | "failed" | "attention" | "needs_input" | "done";
30998
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
30912
30999
  statusEnteredAt: string | null;
30913
31000
  activityAt: string | null;
30914
31001
  scripts: {
@@ -31021,7 +31108,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31021
31108
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
31022
31109
  name: string;
31023
31110
  archivingAt: string | null;
31024
- status: "running" | "failed" | "attention" | "needs_input" | "done";
31111
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
31025
31112
  statusEnteredAt: string | null;
31026
31113
  activityAt: string | null;
31027
31114
  scripts: {
@@ -31276,8 +31363,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31276
31363
  status: z.ZodEnum<{
31277
31364
  running: "running";
31278
31365
  failed: "failed";
31279
- attention: "attention";
31280
31366
  needs_input: "needs_input";
31367
+ attention: "attention";
31281
31368
  done: "done";
31282
31369
  }>;
31283
31370
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -31461,7 +31548,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31461
31548
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
31462
31549
  name: string;
31463
31550
  archivingAt: string | null;
31464
- status: "running" | "failed" | "attention" | "needs_input" | "done";
31551
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
31465
31552
  statusEnteredAt: string | null;
31466
31553
  activityAt: string | null;
31467
31554
  scripts: {
@@ -31574,7 +31661,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31574
31661
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
31575
31662
  name: string;
31576
31663
  archivingAt: string | null;
31577
- status: "running" | "failed" | "attention" | "needs_input" | "done";
31664
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
31578
31665
  statusEnteredAt: string | null;
31579
31666
  activityAt: string | null;
31580
31667
  scripts: {
@@ -31828,8 +31915,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
31828
31915
  status: z.ZodEnum<{
31829
31916
  running: "running";
31830
31917
  failed: "failed";
31831
- attention: "attention";
31832
31918
  needs_input: "needs_input";
31919
+ attention: "attention";
31833
31920
  done: "done";
31834
31921
  }>;
31835
31922
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -32013,7 +32100,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32013
32100
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
32014
32101
  name: string;
32015
32102
  archivingAt: string | null;
32016
- status: "running" | "failed" | "attention" | "needs_input" | "done";
32103
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
32017
32104
  statusEnteredAt: string | null;
32018
32105
  activityAt: string | null;
32019
32106
  scripts: {
@@ -32126,7 +32213,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32126
32213
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
32127
32214
  name: string;
32128
32215
  archivingAt: string | null;
32129
- status: "running" | "failed" | "attention" | "needs_input" | "done";
32216
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
32130
32217
  statusEnteredAt: string | null;
32131
32218
  activityAt: string | null;
32132
32219
  scripts: {
@@ -32385,8 +32472,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32385
32472
  status: z.ZodEnum<{
32386
32473
  running: "running";
32387
32474
  failed: "failed";
32388
- attention: "attention";
32389
32475
  needs_input: "needs_input";
32476
+ attention: "attention";
32390
32477
  done: "done";
32391
32478
  }>;
32392
32479
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -32570,7 +32657,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32570
32657
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
32571
32658
  name: string;
32572
32659
  archivingAt: string | null;
32573
- status: "running" | "failed" | "attention" | "needs_input" | "done";
32660
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
32574
32661
  statusEnteredAt: string | null;
32575
32662
  activityAt: string | null;
32576
32663
  scripts: {
@@ -32683,7 +32770,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
32683
32770
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
32684
32771
  name: string;
32685
32772
  archivingAt: string | null;
32686
- status: "running" | "failed" | "attention" | "needs_input" | "done";
32773
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
32687
32774
  statusEnteredAt: string | null;
32688
32775
  activityAt: string | null;
32689
32776
  scripts: {
@@ -33733,6 +33820,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33733
33820
  tracked: "tracked";
33734
33821
  gone: "gone";
33735
33822
  }>>;
33823
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33824
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33736
33825
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33737
33826
  isGit: z.ZodLiteral<false>;
33738
33827
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -33764,6 +33853,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33764
33853
  tracked: "tracked";
33765
33854
  gone: "gone";
33766
33855
  }>>;
33856
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33857
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33767
33858
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33768
33859
  isGit: z.ZodLiteral<true>;
33769
33860
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -33799,6 +33890,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33799
33890
  tracked: "tracked";
33800
33891
  gone: "gone";
33801
33892
  }>>;
33893
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33894
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33802
33895
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33803
33896
  isGit: z.ZodLiteral<true>;
33804
33897
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -33837,6 +33930,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33837
33930
  tracked: "tracked";
33838
33931
  gone: "gone";
33839
33932
  }>>;
33933
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33934
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33840
33935
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33841
33936
  isGit: z.ZodLiteral<false>;
33842
33937
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -33868,6 +33963,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33868
33963
  tracked: "tracked";
33869
33964
  gone: "gone";
33870
33965
  }>>;
33966
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33967
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33871
33968
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33872
33969
  isGit: z.ZodLiteral<true>;
33873
33970
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -33903,6 +34000,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
33903
34000
  tracked: "tracked";
33904
34001
  gone: "gone";
33905
34002
  }>>;
34003
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34004
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33906
34005
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33907
34006
  isGit: z.ZodLiteral<true>;
33908
34007
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -34889,8 +34988,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
34889
34988
  status: z.ZodEnum<{
34890
34989
  running: "running";
34891
34990
  failed: "failed";
34892
- attention: "attention";
34893
34991
  needs_input: "needs_input";
34992
+ attention: "attention";
34894
34993
  done: "done";
34895
34994
  }>;
34896
34995
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -35074,7 +35173,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
35074
35173
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
35075
35174
  name: string;
35076
35175
  archivingAt: string | null;
35077
- status: "running" | "failed" | "attention" | "needs_input" | "done";
35176
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
35078
35177
  statusEnteredAt: string | null;
35079
35178
  activityAt: string | null;
35080
35179
  scripts: {
@@ -35187,7 +35286,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
35187
35286
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
35188
35287
  name: string;
35189
35288
  archivingAt: string | null;
35190
- status: "running" | "failed" | "attention" | "needs_input" | "done";
35289
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
35191
35290
  statusEnteredAt: string | null;
35192
35291
  activityAt: string | null;
35193
35292
  scripts: {
@@ -36219,6 +36318,29 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
36219
36318
  body: z.ZodString;
36220
36319
  shouldNotify: z.ZodBoolean;
36221
36320
  }, z.core.$strip>;
36321
+ }, z.core.$strip>, z.ZodObject<{
36322
+ type: z.ZodLiteral<"plugin.notification">;
36323
+ payload: z.ZodObject<{
36324
+ subscriptionId: z.ZodOptional<z.ZodString>;
36325
+ serverId: z.ZodOptional<z.ZodString>;
36326
+ pluginId: z.ZodString;
36327
+ notificationId: z.ZodString;
36328
+ title: z.ZodString;
36329
+ body: z.ZodString;
36330
+ open: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
36331
+ type: z.ZodLiteral<"agent">;
36332
+ agentId: z.ZodString;
36333
+ }, z.core.$strip>, z.ZodObject<{
36334
+ type: z.ZodLiteral<"workspace">;
36335
+ workspaceId: z.ZodString;
36336
+ }, z.core.$strip>, z.ZodObject<{
36337
+ type: z.ZodLiteral<"screen">;
36338
+ screenId: z.ZodString;
36339
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36340
+ }, z.core.$strip>], "type">>;
36341
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
36342
+ shouldNotify: z.ZodBoolean;
36343
+ }, z.core.$strip>;
36222
36344
  }, z.core.$strip>, z.ZodObject<{
36223
36345
  type: z.ZodLiteral<"chat/create/response">;
36224
36346
  payload: z.ZodObject<{
@@ -37652,7 +37774,7 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
37652
37774
  timeline_replacement_invalidation: z.ZodOptional<z.ZodBoolean>;
37653
37775
  timeline_notifications: z.ZodOptional<z.ZodBoolean>;
37654
37776
  browser_host: z.ZodOptional<z.ZodObject<{
37655
- supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab" | "list_downloads")[], string[]>>;
37777
+ supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "select" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab" | "list_downloads")[], string[]>>;
37656
37778
  hostKind: z.ZodDefault<z.ZodString>;
37657
37779
  }, z.core.$loose>>;
37658
37780
  }, z.core.$loose>>;
@@ -37752,8 +37874,8 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
37752
37874
  hostKind: z.ZodString;
37753
37875
  supportedCommands: z.ZodArray<z.ZodEnum<{
37754
37876
  type: "type";
37755
- select: "select";
37756
37877
  fill: "fill";
37878
+ select: "select";
37757
37879
  logs: "logs";
37758
37880
  list_tabs: "list_tabs";
37759
37881
  new_tab: "new_tab";
@@ -38021,6 +38143,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
38021
38143
  workspace_setup_progress: "workspace_setup_progress";
38022
38144
  "agent.provider_subagents.update": "agent.provider_subagents.update";
38023
38145
  terminal_attention_required: "terminal_attention_required";
38146
+ "plugin.notification": "plugin.notification";
38024
38147
  "status.server_info": "status.server_info";
38025
38148
  "status.daemon_config_changed": "status.daemon_config_changed";
38026
38149
  "status.plugin_catalog_changed": "status.plugin_catalog_changed";
@@ -40600,6 +40723,20 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40600
40723
  }, z.core.$strip>, z.ZodObject<{
40601
40724
  type: z.ZodLiteral<"register_push_token">;
40602
40725
  token: z.ZodString;
40726
+ preferences: z.ZodOptional<z.ZodObject<{
40727
+ enabled: z.ZodOptional<z.ZodBoolean>;
40728
+ events: z.ZodOptional<z.ZodObject<{
40729
+ agentPermission: z.ZodOptional<z.ZodBoolean>;
40730
+ agentError: z.ZodOptional<z.ZodBoolean>;
40731
+ agentFinished: z.ZodOptional<z.ZodBoolean>;
40732
+ terminalNeedsInput: z.ZodOptional<z.ZodBoolean>;
40733
+ terminalFinished: z.ZodOptional<z.ZodBoolean>;
40734
+ }, z.core.$strip>>;
40735
+ plugins: z.ZodOptional<z.ZodObject<{
40736
+ enabled: z.ZodOptional<z.ZodBoolean>;
40737
+ muted: z.ZodOptional<z.ZodArray<z.ZodString>>;
40738
+ }, z.core.$strip>>;
40739
+ }, z.core.$strip>>;
40603
40740
  }, z.core.$strip>, z.ZodObject<{
40604
40741
  type: z.ZodLiteral<"push.unregister.request">;
40605
40742
  token: z.ZodString;
@@ -43414,8 +43551,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43414
43551
  status: z.ZodEnum<{
43415
43552
  running: "running";
43416
43553
  failed: "failed";
43417
- attention: "attention";
43418
43554
  needs_input: "needs_input";
43555
+ attention: "attention";
43419
43556
  done: "done";
43420
43557
  }>;
43421
43558
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -43599,7 +43736,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43599
43736
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
43600
43737
  name: string;
43601
43738
  archivingAt: string | null;
43602
- status: "running" | "failed" | "attention" | "needs_input" | "done";
43739
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
43603
43740
  statusEnteredAt: string | null;
43604
43741
  activityAt: string | null;
43605
43742
  scripts: {
@@ -43712,7 +43849,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
43712
43849
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
43713
43850
  name: string;
43714
43851
  archivingAt: string | null;
43715
- status: "running" | "failed" | "attention" | "needs_input" | "done";
43852
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
43716
43853
  statusEnteredAt: string | null;
43717
43854
  activityAt: string | null;
43718
43855
  scripts: {
@@ -44804,8 +44941,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44804
44941
  status: z.ZodEnum<{
44805
44942
  running: "running";
44806
44943
  failed: "failed";
44807
- attention: "attention";
44808
44944
  needs_input: "needs_input";
44945
+ attention: "attention";
44809
44946
  done: "done";
44810
44947
  }>;
44811
44948
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -44989,7 +45126,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
44989
45126
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
44990
45127
  name: string;
44991
45128
  archivingAt: string | null;
44992
- status: "running" | "failed" | "attention" | "needs_input" | "done";
45129
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
44993
45130
  statusEnteredAt: string | null;
44994
45131
  activityAt: string | null;
44995
45132
  scripts: {
@@ -45102,7 +45239,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45102
45239
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
45103
45240
  name: string;
45104
45241
  archivingAt: string | null;
45105
- status: "running" | "failed" | "attention" | "needs_input" | "done";
45242
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
45106
45243
  statusEnteredAt: string | null;
45107
45244
  activityAt: string | null;
45108
45245
  scripts: {
@@ -45333,8 +45470,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45333
45470
  status: z.ZodEnum<{
45334
45471
  running: "running";
45335
45472
  failed: "failed";
45336
- attention: "attention";
45337
45473
  needs_input: "needs_input";
45474
+ attention: "attention";
45338
45475
  done: "done";
45339
45476
  }>;
45340
45477
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -45518,7 +45655,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45518
45655
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
45519
45656
  name: string;
45520
45657
  archivingAt: string | null;
45521
- status: "running" | "failed" | "attention" | "needs_input" | "done";
45658
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
45522
45659
  statusEnteredAt: string | null;
45523
45660
  activityAt: string | null;
45524
45661
  scripts: {
@@ -45631,7 +45768,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
45631
45768
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
45632
45769
  name: string;
45633
45770
  archivingAt: string | null;
45634
- status: "running" | "failed" | "attention" | "needs_input" | "done";
45771
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
45635
45772
  statusEnteredAt: string | null;
45636
45773
  activityAt: string | null;
45637
45774
  scripts: {
@@ -46969,8 +47106,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
46969
47106
  status: z.ZodEnum<{
46970
47107
  running: "running";
46971
47108
  failed: "failed";
46972
- attention: "attention";
46973
47109
  needs_input: "needs_input";
47110
+ attention: "attention";
46974
47111
  done: "done";
46975
47112
  }>;
46976
47113
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -47154,7 +47291,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47154
47291
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
47155
47292
  name: string;
47156
47293
  archivingAt: string | null;
47157
- status: "running" | "failed" | "attention" | "needs_input" | "done";
47294
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
47158
47295
  statusEnteredAt: string | null;
47159
47296
  activityAt: string | null;
47160
47297
  scripts: {
@@ -47267,7 +47404,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47267
47404
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
47268
47405
  name: string;
47269
47406
  archivingAt: string | null;
47270
- status: "running" | "failed" | "attention" | "needs_input" | "done";
47407
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
47271
47408
  statusEnteredAt: string | null;
47272
47409
  activityAt: string | null;
47273
47410
  scripts: {
@@ -47502,8 +47639,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47502
47639
  status: z.ZodEnum<{
47503
47640
  running: "running";
47504
47641
  failed: "failed";
47505
- attention: "attention";
47506
47642
  needs_input: "needs_input";
47643
+ attention: "attention";
47507
47644
  done: "done";
47508
47645
  }>;
47509
47646
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -47687,7 +47824,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47687
47824
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
47688
47825
  name: string;
47689
47826
  archivingAt: string | null;
47690
- status: "running" | "failed" | "attention" | "needs_input" | "done";
47827
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
47691
47828
  statusEnteredAt: string | null;
47692
47829
  activityAt: string | null;
47693
47830
  scripts: {
@@ -47800,7 +47937,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47800
47937
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
47801
47938
  name: string;
47802
47939
  archivingAt: string | null;
47803
- status: "running" | "failed" | "attention" | "needs_input" | "done";
47940
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
47804
47941
  statusEnteredAt: string | null;
47805
47942
  activityAt: string | null;
47806
47943
  scripts: {
@@ -48053,8 +48190,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48053
48190
  status: z.ZodEnum<{
48054
48191
  running: "running";
48055
48192
  failed: "failed";
48056
- attention: "attention";
48057
48193
  needs_input: "needs_input";
48194
+ attention: "attention";
48058
48195
  done: "done";
48059
48196
  }>;
48060
48197
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -48238,7 +48375,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48238
48375
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
48239
48376
  name: string;
48240
48377
  archivingAt: string | null;
48241
- status: "running" | "failed" | "attention" | "needs_input" | "done";
48378
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
48242
48379
  statusEnteredAt: string | null;
48243
48380
  activityAt: string | null;
48244
48381
  scripts: {
@@ -48351,7 +48488,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48351
48488
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
48352
48489
  name: string;
48353
48490
  archivingAt: string | null;
48354
- status: "running" | "failed" | "attention" | "needs_input" | "done";
48491
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
48355
48492
  statusEnteredAt: string | null;
48356
48493
  activityAt: string | null;
48357
48494
  scripts: {
@@ -48606,8 +48743,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48606
48743
  status: z.ZodEnum<{
48607
48744
  running: "running";
48608
48745
  failed: "failed";
48609
- attention: "attention";
48610
48746
  needs_input: "needs_input";
48747
+ attention: "attention";
48611
48748
  done: "done";
48612
48749
  }>;
48613
48750
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -48791,7 +48928,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48791
48928
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
48792
48929
  name: string;
48793
48930
  archivingAt: string | null;
48794
- status: "running" | "failed" | "attention" | "needs_input" | "done";
48931
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
48795
48932
  statusEnteredAt: string | null;
48796
48933
  activityAt: string | null;
48797
48934
  scripts: {
@@ -48904,7 +49041,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
48904
49041
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
48905
49042
  name: string;
48906
49043
  archivingAt: string | null;
48907
- status: "running" | "failed" | "attention" | "needs_input" | "done";
49044
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
48908
49045
  statusEnteredAt: string | null;
48909
49046
  activityAt: string | null;
48910
49047
  scripts: {
@@ -49158,8 +49295,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49158
49295
  status: z.ZodEnum<{
49159
49296
  running: "running";
49160
49297
  failed: "failed";
49161
- attention: "attention";
49162
49298
  needs_input: "needs_input";
49299
+ attention: "attention";
49163
49300
  done: "done";
49164
49301
  }>;
49165
49302
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -49343,7 +49480,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49343
49480
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
49344
49481
  name: string;
49345
49482
  archivingAt: string | null;
49346
- status: "running" | "failed" | "attention" | "needs_input" | "done";
49483
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
49347
49484
  statusEnteredAt: string | null;
49348
49485
  activityAt: string | null;
49349
49486
  scripts: {
@@ -49456,7 +49593,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49456
49593
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
49457
49594
  name: string;
49458
49595
  archivingAt: string | null;
49459
- status: "running" | "failed" | "attention" | "needs_input" | "done";
49596
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
49460
49597
  statusEnteredAt: string | null;
49461
49598
  activityAt: string | null;
49462
49599
  scripts: {
@@ -49715,8 +49852,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49715
49852
  status: z.ZodEnum<{
49716
49853
  running: "running";
49717
49854
  failed: "failed";
49718
- attention: "attention";
49719
49855
  needs_input: "needs_input";
49856
+ attention: "attention";
49720
49857
  done: "done";
49721
49858
  }>;
49722
49859
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -49900,7 +50037,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
49900
50037
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
49901
50038
  name: string;
49902
50039
  archivingAt: string | null;
49903
- status: "running" | "failed" | "attention" | "needs_input" | "done";
50040
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
49904
50041
  statusEnteredAt: string | null;
49905
50042
  activityAt: string | null;
49906
50043
  scripts: {
@@ -50013,7 +50150,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50013
50150
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
50014
50151
  name: string;
50015
50152
  archivingAt: string | null;
50016
- status: "running" | "failed" | "attention" | "needs_input" | "done";
50153
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
50017
50154
  statusEnteredAt: string | null;
50018
50155
  activityAt: string | null;
50019
50156
  scripts: {
@@ -51063,6 +51200,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51063
51200
  tracked: "tracked";
51064
51201
  gone: "gone";
51065
51202
  }>>;
51203
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51204
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51066
51205
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51067
51206
  isGit: z.ZodLiteral<false>;
51068
51207
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -51094,6 +51233,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51094
51233
  tracked: "tracked";
51095
51234
  gone: "gone";
51096
51235
  }>>;
51236
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51237
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51097
51238
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51098
51239
  isGit: z.ZodLiteral<true>;
51099
51240
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -51129,6 +51270,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51129
51270
  tracked: "tracked";
51130
51271
  gone: "gone";
51131
51272
  }>>;
51273
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51274
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51132
51275
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51133
51276
  isGit: z.ZodLiteral<true>;
51134
51277
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -51167,6 +51310,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51167
51310
  tracked: "tracked";
51168
51311
  gone: "gone";
51169
51312
  }>>;
51313
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51314
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51170
51315
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51171
51316
  isGit: z.ZodLiteral<false>;
51172
51317
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -51198,6 +51343,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51198
51343
  tracked: "tracked";
51199
51344
  gone: "gone";
51200
51345
  }>>;
51346
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51347
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51201
51348
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51202
51349
  isGit: z.ZodLiteral<true>;
51203
51350
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -51233,6 +51380,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51233
51380
  tracked: "tracked";
51234
51381
  gone: "gone";
51235
51382
  }>>;
51383
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51384
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51236
51385
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51237
51386
  isGit: z.ZodLiteral<true>;
51238
51387
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -52219,8 +52368,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52219
52368
  status: z.ZodEnum<{
52220
52369
  running: "running";
52221
52370
  failed: "failed";
52222
- attention: "attention";
52223
52371
  needs_input: "needs_input";
52372
+ attention: "attention";
52224
52373
  done: "done";
52225
52374
  }>;
52226
52375
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -52404,7 +52553,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52404
52553
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
52405
52554
  name: string;
52406
52555
  archivingAt: string | null;
52407
- status: "running" | "failed" | "attention" | "needs_input" | "done";
52556
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
52408
52557
  statusEnteredAt: string | null;
52409
52558
  activityAt: string | null;
52410
52559
  scripts: {
@@ -52517,7 +52666,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
52517
52666
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
52518
52667
  name: string;
52519
52668
  archivingAt: string | null;
52520
- status: "running" | "failed" | "attention" | "needs_input" | "done";
52669
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
52521
52670
  statusEnteredAt: string | null;
52522
52671
  activityAt: string | null;
52523
52672
  scripts: {
@@ -53549,6 +53698,29 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
53549
53698
  body: z.ZodString;
53550
53699
  shouldNotify: z.ZodBoolean;
53551
53700
  }, z.core.$strip>;
53701
+ }, z.core.$strip>, z.ZodObject<{
53702
+ type: z.ZodLiteral<"plugin.notification">;
53703
+ payload: z.ZodObject<{
53704
+ subscriptionId: z.ZodOptional<z.ZodString>;
53705
+ serverId: z.ZodOptional<z.ZodString>;
53706
+ pluginId: z.ZodString;
53707
+ notificationId: z.ZodString;
53708
+ title: z.ZodString;
53709
+ body: z.ZodString;
53710
+ open: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
53711
+ type: z.ZodLiteral<"agent">;
53712
+ agentId: z.ZodString;
53713
+ }, z.core.$strip>, z.ZodObject<{
53714
+ type: z.ZodLiteral<"workspace">;
53715
+ workspaceId: z.ZodString;
53716
+ }, z.core.$strip>, z.ZodObject<{
53717
+ type: z.ZodLiteral<"screen">;
53718
+ screenId: z.ZodString;
53719
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53720
+ }, z.core.$strip>], "type">>;
53721
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
53722
+ shouldNotify: z.ZodBoolean;
53723
+ }, z.core.$strip>;
53552
53724
  }, z.core.$strip>, z.ZodObject<{
53553
53725
  type: z.ZodLiteral<"chat/create/response">;
53554
53726
  payload: z.ZodObject<{
@@ -54626,7 +54798,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
54626
54798
  timeline_replacement_invalidation: z.ZodOptional<z.ZodBoolean>;
54627
54799
  timeline_notifications: z.ZodOptional<z.ZodBoolean>;
54628
54800
  browser_host: z.ZodOptional<z.ZodObject<{
54629
- supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab" | "list_downloads")[], string[]>>;
54801
+ supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("type" | "fill" | "select" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab" | "list_downloads")[], string[]>>;
54630
54802
  hostKind: z.ZodDefault<z.ZodString>;
54631
54803
  }, z.core.$loose>>;
54632
54804
  }, z.core.$loose>>;
@@ -54724,8 +54896,8 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
54724
54896
  hostKind: z.ZodString;
54725
54897
  supportedCommands: z.ZodArray<z.ZodEnum<{
54726
54898
  type: "type";
54727
- select: "select";
54728
54899
  fill: "fill";
54900
+ select: "select";
54729
54901
  logs: "logs";
54730
54902
  list_tabs: "list_tabs";
54731
54903
  new_tab: "new_tab";
@@ -54993,6 +55165,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
54993
55165
  workspace_setup_progress: "workspace_setup_progress";
54994
55166
  "agent.provider_subagents.update": "agent.provider_subagents.update";
54995
55167
  terminal_attention_required: "terminal_attention_required";
55168
+ "plugin.notification": "plugin.notification";
54996
55169
  "status.server_info": "status.server_info";
54997
55170
  "status.daemon_config_changed": "status.daemon_config_changed";
54998
55171
  "status.plugin_catalog_changed": "status.plugin_catalog_changed";
@@ -57572,6 +57745,20 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
57572
57745
  }, z.core.$strip>, z.ZodObject<{
57573
57746
  type: z.ZodLiteral<"register_push_token">;
57574
57747
  token: z.ZodString;
57748
+ preferences: z.ZodOptional<z.ZodObject<{
57749
+ enabled: z.ZodOptional<z.ZodBoolean>;
57750
+ events: z.ZodOptional<z.ZodObject<{
57751
+ agentPermission: z.ZodOptional<z.ZodBoolean>;
57752
+ agentError: z.ZodOptional<z.ZodBoolean>;
57753
+ agentFinished: z.ZodOptional<z.ZodBoolean>;
57754
+ terminalNeedsInput: z.ZodOptional<z.ZodBoolean>;
57755
+ terminalFinished: z.ZodOptional<z.ZodBoolean>;
57756
+ }, z.core.$strip>>;
57757
+ plugins: z.ZodOptional<z.ZodObject<{
57758
+ enabled: z.ZodOptional<z.ZodBoolean>;
57759
+ muted: z.ZodOptional<z.ZodArray<z.ZodString>>;
57760
+ }, z.core.$strip>>;
57761
+ }, z.core.$strip>>;
57575
57762
  }, z.core.$strip>, z.ZodObject<{
57576
57763
  type: z.ZodLiteral<"push.unregister.request">;
57577
57764
  token: z.ZodString;
@@ -60388,8 +60575,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60388
60575
  status: z.ZodEnum<{
60389
60576
  running: "running";
60390
60577
  failed: "failed";
60391
- attention: "attention";
60392
60578
  needs_input: "needs_input";
60579
+ attention: "attention";
60393
60580
  done: "done";
60394
60581
  }>;
60395
60582
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -60573,7 +60760,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60573
60760
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
60574
60761
  name: string;
60575
60762
  archivingAt: string | null;
60576
- status: "running" | "failed" | "attention" | "needs_input" | "done";
60763
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
60577
60764
  statusEnteredAt: string | null;
60578
60765
  activityAt: string | null;
60579
60766
  scripts: {
@@ -60686,7 +60873,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
60686
60873
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
60687
60874
  name: string;
60688
60875
  archivingAt: string | null;
60689
- status: "running" | "failed" | "attention" | "needs_input" | "done";
60876
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
60690
60877
  statusEnteredAt: string | null;
60691
60878
  activityAt: string | null;
60692
60879
  scripts: {
@@ -61778,8 +61965,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61778
61965
  status: z.ZodEnum<{
61779
61966
  running: "running";
61780
61967
  failed: "failed";
61781
- attention: "attention";
61782
61968
  needs_input: "needs_input";
61969
+ attention: "attention";
61783
61970
  done: "done";
61784
61971
  }>;
61785
61972
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -61963,7 +62150,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
61963
62150
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
61964
62151
  name: string;
61965
62152
  archivingAt: string | null;
61966
- status: "running" | "failed" | "attention" | "needs_input" | "done";
62153
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
61967
62154
  statusEnteredAt: string | null;
61968
62155
  activityAt: string | null;
61969
62156
  scripts: {
@@ -62076,7 +62263,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62076
62263
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
62077
62264
  name: string;
62078
62265
  archivingAt: string | null;
62079
- status: "running" | "failed" | "attention" | "needs_input" | "done";
62266
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
62080
62267
  statusEnteredAt: string | null;
62081
62268
  activityAt: string | null;
62082
62269
  scripts: {
@@ -62307,8 +62494,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62307
62494
  status: z.ZodEnum<{
62308
62495
  running: "running";
62309
62496
  failed: "failed";
62310
- attention: "attention";
62311
62497
  needs_input: "needs_input";
62498
+ attention: "attention";
62312
62499
  done: "done";
62313
62500
  }>;
62314
62501
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -62492,7 +62679,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62492
62679
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
62493
62680
  name: string;
62494
62681
  archivingAt: string | null;
62495
- status: "running" | "failed" | "attention" | "needs_input" | "done";
62682
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
62496
62683
  statusEnteredAt: string | null;
62497
62684
  activityAt: string | null;
62498
62685
  scripts: {
@@ -62605,7 +62792,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
62605
62792
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
62606
62793
  name: string;
62607
62794
  archivingAt: string | null;
62608
- status: "running" | "failed" | "attention" | "needs_input" | "done";
62795
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
62609
62796
  statusEnteredAt: string | null;
62610
62797
  activityAt: string | null;
62611
62798
  scripts: {
@@ -63943,8 +64130,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
63943
64130
  status: z.ZodEnum<{
63944
64131
  running: "running";
63945
64132
  failed: "failed";
63946
- attention: "attention";
63947
64133
  needs_input: "needs_input";
64134
+ attention: "attention";
63948
64135
  done: "done";
63949
64136
  }>;
63950
64137
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -64128,7 +64315,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64128
64315
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
64129
64316
  name: string;
64130
64317
  archivingAt: string | null;
64131
- status: "running" | "failed" | "attention" | "needs_input" | "done";
64318
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
64132
64319
  statusEnteredAt: string | null;
64133
64320
  activityAt: string | null;
64134
64321
  scripts: {
@@ -64241,7 +64428,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64241
64428
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
64242
64429
  name: string;
64243
64430
  archivingAt: string | null;
64244
- status: "running" | "failed" | "attention" | "needs_input" | "done";
64431
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
64245
64432
  statusEnteredAt: string | null;
64246
64433
  activityAt: string | null;
64247
64434
  scripts: {
@@ -64476,8 +64663,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64476
64663
  status: z.ZodEnum<{
64477
64664
  running: "running";
64478
64665
  failed: "failed";
64479
- attention: "attention";
64480
64666
  needs_input: "needs_input";
64667
+ attention: "attention";
64481
64668
  done: "done";
64482
64669
  }>;
64483
64670
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -64661,7 +64848,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64661
64848
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
64662
64849
  name: string;
64663
64850
  archivingAt: string | null;
64664
- status: "running" | "failed" | "attention" | "needs_input" | "done";
64851
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
64665
64852
  statusEnteredAt: string | null;
64666
64853
  activityAt: string | null;
64667
64854
  scripts: {
@@ -64774,7 +64961,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
64774
64961
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
64775
64962
  name: string;
64776
64963
  archivingAt: string | null;
64777
- status: "running" | "failed" | "attention" | "needs_input" | "done";
64964
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
64778
64965
  statusEnteredAt: string | null;
64779
64966
  activityAt: string | null;
64780
64967
  scripts: {
@@ -65027,8 +65214,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65027
65214
  status: z.ZodEnum<{
65028
65215
  running: "running";
65029
65216
  failed: "failed";
65030
- attention: "attention";
65031
65217
  needs_input: "needs_input";
65218
+ attention: "attention";
65032
65219
  done: "done";
65033
65220
  }>;
65034
65221
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -65212,7 +65399,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65212
65399
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
65213
65400
  name: string;
65214
65401
  archivingAt: string | null;
65215
- status: "running" | "failed" | "attention" | "needs_input" | "done";
65402
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
65216
65403
  statusEnteredAt: string | null;
65217
65404
  activityAt: string | null;
65218
65405
  scripts: {
@@ -65325,7 +65512,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65325
65512
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
65326
65513
  name: string;
65327
65514
  archivingAt: string | null;
65328
- status: "running" | "failed" | "attention" | "needs_input" | "done";
65515
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
65329
65516
  statusEnteredAt: string | null;
65330
65517
  activityAt: string | null;
65331
65518
  scripts: {
@@ -65580,8 +65767,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65580
65767
  status: z.ZodEnum<{
65581
65768
  running: "running";
65582
65769
  failed: "failed";
65583
- attention: "attention";
65584
65770
  needs_input: "needs_input";
65771
+ attention: "attention";
65585
65772
  done: "done";
65586
65773
  }>;
65587
65774
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -65765,7 +65952,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65765
65952
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
65766
65953
  name: string;
65767
65954
  archivingAt: string | null;
65768
- status: "running" | "failed" | "attention" | "needs_input" | "done";
65955
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
65769
65956
  statusEnteredAt: string | null;
65770
65957
  activityAt: string | null;
65771
65958
  scripts: {
@@ -65878,7 +66065,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
65878
66065
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
65879
66066
  name: string;
65880
66067
  archivingAt: string | null;
65881
- status: "running" | "failed" | "attention" | "needs_input" | "done";
66068
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
65882
66069
  statusEnteredAt: string | null;
65883
66070
  activityAt: string | null;
65884
66071
  scripts: {
@@ -66132,8 +66319,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66132
66319
  status: z.ZodEnum<{
66133
66320
  running: "running";
66134
66321
  failed: "failed";
66135
- attention: "attention";
66136
66322
  needs_input: "needs_input";
66323
+ attention: "attention";
66137
66324
  done: "done";
66138
66325
  }>;
66139
66326
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -66317,7 +66504,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66317
66504
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
66318
66505
  name: string;
66319
66506
  archivingAt: string | null;
66320
- status: "running" | "failed" | "attention" | "needs_input" | "done";
66507
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
66321
66508
  statusEnteredAt: string | null;
66322
66509
  activityAt: string | null;
66323
66510
  scripts: {
@@ -66430,7 +66617,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66430
66617
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
66431
66618
  name: string;
66432
66619
  archivingAt: string | null;
66433
- status: "running" | "failed" | "attention" | "needs_input" | "done";
66620
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
66434
66621
  statusEnteredAt: string | null;
66435
66622
  activityAt: string | null;
66436
66623
  scripts: {
@@ -66689,8 +66876,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66689
66876
  status: z.ZodEnum<{
66690
66877
  running: "running";
66691
66878
  failed: "failed";
66692
- attention: "attention";
66693
66879
  needs_input: "needs_input";
66880
+ attention: "attention";
66694
66881
  done: "done";
66695
66882
  }>;
66696
66883
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -66874,7 +67061,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66874
67061
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
66875
67062
  name: string;
66876
67063
  archivingAt: string | null;
66877
- status: "running" | "failed" | "attention" | "needs_input" | "done";
67064
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
66878
67065
  statusEnteredAt: string | null;
66879
67066
  activityAt: string | null;
66880
67067
  scripts: {
@@ -66987,7 +67174,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
66987
67174
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
66988
67175
  name: string;
66989
67176
  archivingAt: string | null;
66990
- status: "running" | "failed" | "attention" | "needs_input" | "done";
67177
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
66991
67178
  statusEnteredAt: string | null;
66992
67179
  activityAt: string | null;
66993
67180
  scripts: {
@@ -68037,6 +68224,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
68037
68224
  tracked: "tracked";
68038
68225
  gone: "gone";
68039
68226
  }>>;
68227
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68228
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68040
68229
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68041
68230
  isGit: z.ZodLiteral<false>;
68042
68231
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -68068,6 +68257,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
68068
68257
  tracked: "tracked";
68069
68258
  gone: "gone";
68070
68259
  }>>;
68260
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68261
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68071
68262
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68072
68263
  isGit: z.ZodLiteral<true>;
68073
68264
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -68103,6 +68294,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
68103
68294
  tracked: "tracked";
68104
68295
  gone: "gone";
68105
68296
  }>>;
68297
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68298
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68106
68299
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68107
68300
  isGit: z.ZodLiteral<true>;
68108
68301
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -68141,6 +68334,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
68141
68334
  tracked: "tracked";
68142
68335
  gone: "gone";
68143
68336
  }>>;
68337
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68338
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68144
68339
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68145
68340
  isGit: z.ZodLiteral<false>;
68146
68341
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -68172,6 +68367,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
68172
68367
  tracked: "tracked";
68173
68368
  gone: "gone";
68174
68369
  }>>;
68370
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68371
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68175
68372
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68176
68373
  isGit: z.ZodLiteral<true>;
68177
68374
  isMateoOwnedWorktree: z.ZodLiteral<false>;
@@ -68207,6 +68404,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
68207
68404
  tracked: "tracked";
68208
68405
  gone: "gone";
68209
68406
  }>>;
68407
+ pullRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68408
+ pushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68210
68409
  firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68211
68410
  isGit: z.ZodLiteral<true>;
68212
68411
  isMateoOwnedWorktree: z.ZodLiteral<true>;
@@ -69193,8 +69392,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69193
69392
  status: z.ZodEnum<{
69194
69393
  running: "running";
69195
69394
  failed: "failed";
69196
- attention: "attention";
69197
69395
  needs_input: "needs_input";
69396
+ attention: "attention";
69198
69397
  done: "done";
69199
69398
  }>;
69200
69399
  hasRunning: z.ZodOptional<z.ZodBoolean>;
@@ -69378,7 +69577,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69378
69577
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
69379
69578
  name: string;
69380
69579
  archivingAt: string | null;
69381
- status: "running" | "failed" | "attention" | "needs_input" | "done";
69580
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
69382
69581
  statusEnteredAt: string | null;
69383
69582
  activityAt: string | null;
69384
69583
  scripts: {
@@ -69491,7 +69690,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
69491
69690
  workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout";
69492
69691
  name: string;
69493
69692
  archivingAt: string | null;
69494
- status: "running" | "failed" | "attention" | "needs_input" | "done";
69693
+ status: "running" | "failed" | "needs_input" | "attention" | "done";
69495
69694
  statusEnteredAt: string | null;
69496
69695
  activityAt: string | null;
69497
69696
  scripts: {
@@ -70523,6 +70722,29 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
70523
70722
  body: z.ZodString;
70524
70723
  shouldNotify: z.ZodBoolean;
70525
70724
  }, z.core.$strip>;
70725
+ }, z.core.$strip>, z.ZodObject<{
70726
+ type: z.ZodLiteral<"plugin.notification">;
70727
+ payload: z.ZodObject<{
70728
+ subscriptionId: z.ZodOptional<z.ZodString>;
70729
+ serverId: z.ZodOptional<z.ZodString>;
70730
+ pluginId: z.ZodString;
70731
+ notificationId: z.ZodString;
70732
+ title: z.ZodString;
70733
+ body: z.ZodString;
70734
+ open: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
70735
+ type: z.ZodLiteral<"agent">;
70736
+ agentId: z.ZodString;
70737
+ }, z.core.$strip>, z.ZodObject<{
70738
+ type: z.ZodLiteral<"workspace">;
70739
+ workspaceId: z.ZodString;
70740
+ }, z.core.$strip>, z.ZodObject<{
70741
+ type: z.ZodLiteral<"screen">;
70742
+ screenId: z.ZodString;
70743
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
70744
+ }, z.core.$strip>], "type">>;
70745
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
70746
+ shouldNotify: z.ZodBoolean;
70747
+ }, z.core.$strip>;
70526
70748
  }, z.core.$strip>, z.ZodObject<{
70527
70749
  type: z.ZodLiteral<"chat/create/response">;
70528
70750
  payload: z.ZodObject<{