@getpaseo/protocol 0.4.0-beta.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,10 @@
1
1
  export declare const PARENT_AGENT_ID_LABEL = "paseo.parent-agent-id";
2
+ export declare function getOpenAgentTabLabel(clientId: string): string;
3
+ export declare function isOpenAgentTabLabel(label: string): boolean;
2
4
  export interface AgentLabelSource {
3
5
  labels?: Record<string, unknown> | null;
4
6
  }
5
7
  export declare function getParentAgentIdFromLabels(labels: Record<string, unknown> | null | undefined): string | null;
6
8
  export declare function isDelegatedAgent(agent: AgentLabelSource): boolean;
9
+ export declare function hasOpenAgentTab(labels: Record<string, unknown> | null | undefined): boolean;
7
10
  //# sourceMappingURL=agent-labels.d.ts.map
@@ -1,4 +1,11 @@
1
1
  export const PARENT_AGENT_ID_LABEL = "paseo.parent-agent-id";
2
+ const OPEN_AGENT_TAB_LABEL_PREFIX = "paseo.open-agent-tab.";
3
+ export function getOpenAgentTabLabel(clientId) {
4
+ return `${OPEN_AGENT_TAB_LABEL_PREFIX}${clientId}`;
5
+ }
6
+ export function isOpenAgentTabLabel(label) {
7
+ return label.startsWith(OPEN_AGENT_TAB_LABEL_PREFIX);
8
+ }
2
9
  export function getParentAgentIdFromLabels(labels) {
3
10
  const parentAgentId = labels?.[PARENT_AGENT_ID_LABEL];
4
11
  return typeof parentAgentId === "string" && parentAgentId.trim().length > 0
@@ -8,4 +15,7 @@ export function getParentAgentIdFromLabels(labels) {
8
15
  export function isDelegatedAgent(agent) {
9
16
  return getParentAgentIdFromLabels(agent.labels) !== null;
10
17
  }
18
+ export function hasOpenAgentTab(labels) {
19
+ return Object.entries(labels ?? {}).some(([label, value]) => isOpenAgentTabLabel(label) && value === "true");
20
+ }
11
21
  //# sourceMappingURL=agent-labels.js.map
@@ -48285,6 +48285,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
48285
48285
  }
48286
48286
  }
48287
48287
  }
48288
+ if (__o_3470["hasUncommittedWorktreeSetupChanges"] !== undefined) {
48289
+ if (typeof __o_3470["hasUncommittedWorktreeSetupChanges"] !== "boolean") {
48290
+ __ui_3467.push({ code: "invalid_type", expected: "boolean", input: __o_3470["hasUncommittedWorktreeSetupChanges"], path: ["message"].concat("payload").concat("hasUncommittedWorktreeSetupChanges") });
48291
+ }
48292
+ }
48288
48293
  __uo_3469 = __o_3470;
48289
48294
  }
48290
48295
  if (__ui_3467.length === 0) {
@@ -48710,6 +48715,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
48710
48715
  __ui_3516.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3551["size"], path: ["message"].concat("payload").concat("revision").concat("size") });
48711
48716
  }
48712
48717
  }
48718
+ if (__o_3519["hasUncommittedWorktreeSetupChanges"] !== undefined) {
48719
+ if (typeof __o_3519["hasUncommittedWorktreeSetupChanges"] !== "boolean") {
48720
+ __ui_3516.push({ code: "invalid_type", expected: "boolean", input: __o_3519["hasUncommittedWorktreeSetupChanges"], path: ["message"].concat("payload").concat("hasUncommittedWorktreeSetupChanges") });
48721
+ }
48722
+ }
48713
48723
  __uo_3518 = __o_3519;
48714
48724
  }
48715
48725
  if (__ui_3516.length === 0) {
@@ -229,8 +229,8 @@ export declare const ProviderSnapshotEntrySchema: z.ZodObject<{
229
229
  export declare const CompactProviderSnapshotModelSchema: z.ZodObject<{
230
230
  description: z.ZodOptional<z.ZodString>;
231
231
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
232
- id: z.ZodString;
233
232
  label: z.ZodString;
233
+ id: z.ZodString;
234
234
  isDefault: z.ZodOptional<z.ZodBoolean>;
235
235
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
236
236
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -251,8 +251,8 @@ export declare const ProviderSnapshotThinkingSetSchema: z.ZodObject<{
251
251
  export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
252
252
  error: z.ZodOptional<z.ZodString>;
253
253
  description: z.ZodOptional<z.ZodString>;
254
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
255
254
  label: z.ZodOptional<z.ZodString>;
255
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
256
256
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
257
257
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
258
  provider: z.ZodString;
@@ -265,8 +265,8 @@ export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{
265
265
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
266
266
  description: z.ZodOptional<z.ZodString>;
267
267
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
268
- id: z.ZodString;
269
268
  label: z.ZodString;
269
+ id: z.ZodString;
270
270
  isDefault: z.ZodOptional<z.ZodBoolean>;
271
271
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
272
272
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -279,8 +279,8 @@ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
279
279
  entries: z.ZodArray<z.ZodObject<{
280
280
  error: z.ZodOptional<z.ZodString>;
281
281
  description: z.ZodOptional<z.ZodString>;
282
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
283
282
  label: z.ZodOptional<z.ZodString>;
283
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
284
284
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
285
285
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
286
  provider: z.ZodString;
@@ -293,8 +293,8 @@ export declare const CompactProviderSnapshotSchema: z.ZodObject<{
293
293
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
294
  description: z.ZodOptional<z.ZodString>;
295
295
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
296
- id: z.ZodString;
297
296
  label: z.ZodString;
297
+ id: z.ZodString;
298
298
  isDefault: z.ZodOptional<z.ZodBoolean>;
299
299
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
300
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -10655,6 +10655,7 @@ export declare const ReadProjectConfigResponseMessageSchema: z.ZodObject<{
10655
10655
  mtimeMs: z.ZodNumber;
10656
10656
  size: z.ZodNumber;
10657
10657
  }, z.core.$strip>>;
10658
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
10658
10659
  }, z.core.$strip>, z.ZodObject<{
10659
10660
  requestId: z.ZodString;
10660
10661
  repoRoot: z.ZodString;
@@ -10714,6 +10715,7 @@ export declare const WriteProjectConfigResponseMessageSchema: z.ZodObject<{
10714
10715
  mtimeMs: z.ZodNumber;
10715
10716
  size: z.ZodNumber;
10716
10717
  }, z.core.$strip>;
10718
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
10717
10719
  }, z.core.$strip>, z.ZodObject<{
10718
10720
  requestId: z.ZodString;
10719
10721
  repoRoot: z.ZodString;
@@ -12917,8 +12919,8 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
12917
12919
  entries: z.ZodArray<z.ZodObject<{
12918
12920
  error: z.ZodOptional<z.ZodString>;
12919
12921
  description: z.ZodOptional<z.ZodString>;
12920
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12921
12922
  label: z.ZodOptional<z.ZodString>;
12923
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
12922
12924
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12923
12925
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12924
12926
  provider: z.ZodString;
@@ -12931,8 +12933,8 @@ export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{
12931
12933
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
12932
12934
  description: z.ZodOptional<z.ZodString>;
12933
12935
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12934
- id: z.ZodString;
12935
12936
  label: z.ZodString;
12937
+ id: z.ZodString;
12936
12938
  isDefault: z.ZodOptional<z.ZodBoolean>;
12937
12939
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
12938
12940
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -13000,8 +13002,8 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
13000
13002
  entries: z.ZodArray<z.ZodObject<{
13001
13003
  error: z.ZodOptional<z.ZodString>;
13002
13004
  description: z.ZodOptional<z.ZodString>;
13003
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
13004
13005
  label: z.ZodOptional<z.ZodString>;
13006
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
13005
13007
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13006
13008
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13007
13009
  provider: z.ZodString;
@@ -13014,8 +13016,8 @@ export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{
13014
13016
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
13015
13017
  description: z.ZodOptional<z.ZodString>;
13016
13018
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13017
- id: z.ZodString;
13018
13019
  label: z.ZodString;
13020
+ id: z.ZodString;
13019
13021
  isDefault: z.ZodOptional<z.ZodBoolean>;
13020
13022
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
13021
13023
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -18252,6 +18254,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18252
18254
  mtimeMs: z.ZodNumber;
18253
18255
  size: z.ZodNumber;
18254
18256
  }, z.core.$strip>>;
18257
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
18255
18258
  }, z.core.$strip>, z.ZodObject<{
18256
18259
  requestId: z.ZodString;
18257
18260
  repoRoot: z.ZodString;
@@ -18310,6 +18313,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
18310
18313
  mtimeMs: z.ZodNumber;
18311
18314
  size: z.ZodNumber;
18312
18315
  }, z.core.$strip>;
18316
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
18313
18317
  }, z.core.$strip>, z.ZodObject<{
18314
18318
  requestId: z.ZodString;
18315
18319
  repoRoot: z.ZodString;
@@ -20392,8 +20396,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20392
20396
  entries: z.ZodArray<z.ZodObject<{
20393
20397
  error: z.ZodOptional<z.ZodString>;
20394
20398
  description: z.ZodOptional<z.ZodString>;
20395
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
20396
20399
  label: z.ZodOptional<z.ZodString>;
20400
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
20397
20401
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
20398
20402
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20399
20403
  provider: z.ZodString;
@@ -20406,8 +20410,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20406
20410
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
20407
20411
  description: z.ZodOptional<z.ZodString>;
20408
20412
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20409
- id: z.ZodString;
20410
20413
  label: z.ZodString;
20414
+ id: z.ZodString;
20411
20415
  isDefault: z.ZodOptional<z.ZodBoolean>;
20412
20416
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
20413
20417
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -20474,8 +20478,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20474
20478
  entries: z.ZodArray<z.ZodObject<{
20475
20479
  error: z.ZodOptional<z.ZodString>;
20476
20480
  description: z.ZodOptional<z.ZodString>;
20477
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
20478
20481
  label: z.ZodOptional<z.ZodString>;
20482
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
20479
20483
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
20480
20484
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20481
20485
  provider: z.ZodString;
@@ -20488,8 +20492,8 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20488
20492
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
20489
20493
  description: z.ZodOptional<z.ZodString>;
20490
20494
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20491
- id: z.ZodString;
20492
20495
  label: z.ZodString;
20496
+ id: z.ZodString;
20493
20497
  isDefault: z.ZodOptional<z.ZodBoolean>;
20494
20498
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
20495
20499
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -28342,6 +28346,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28342
28346
  mtimeMs: z.ZodNumber;
28343
28347
  size: z.ZodNumber;
28344
28348
  }, z.core.$strip>>;
28349
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
28345
28350
  }, z.core.$strip>, z.ZodObject<{
28346
28351
  requestId: z.ZodString;
28347
28352
  repoRoot: z.ZodString;
@@ -28400,6 +28405,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
28400
28405
  mtimeMs: z.ZodNumber;
28401
28406
  size: z.ZodNumber;
28402
28407
  }, z.core.$strip>;
28408
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
28403
28409
  }, z.core.$strip>, z.ZodObject<{
28404
28410
  requestId: z.ZodString;
28405
28411
  repoRoot: z.ZodString;
@@ -30482,8 +30488,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30482
30488
  entries: z.ZodArray<z.ZodObject<{
30483
30489
  error: z.ZodOptional<z.ZodString>;
30484
30490
  description: z.ZodOptional<z.ZodString>;
30485
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
30486
30491
  label: z.ZodOptional<z.ZodString>;
30492
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
30487
30493
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
30488
30494
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30489
30495
  provider: z.ZodString;
@@ -30496,8 +30502,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30496
30502
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
30497
30503
  description: z.ZodOptional<z.ZodString>;
30498
30504
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30499
- id: z.ZodString;
30500
30505
  label: z.ZodString;
30506
+ id: z.ZodString;
30501
30507
  isDefault: z.ZodOptional<z.ZodBoolean>;
30502
30508
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
30503
30509
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -30564,8 +30570,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30564
30570
  entries: z.ZodArray<z.ZodObject<{
30565
30571
  error: z.ZodOptional<z.ZodString>;
30566
30572
  description: z.ZodOptional<z.ZodString>;
30567
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
30568
30573
  label: z.ZodOptional<z.ZodString>;
30574
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
30569
30575
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
30570
30576
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30571
30577
  provider: z.ZodString;
@@ -30578,8 +30584,8 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
30578
30584
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
30579
30585
  description: z.ZodOptional<z.ZodString>;
30580
30586
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
30581
- id: z.ZodString;
30582
30587
  label: z.ZodString;
30588
+ id: z.ZodString;
30583
30589
  isDefault: z.ZodOptional<z.ZodBoolean>;
30584
30590
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
30585
30591
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -38082,6 +38088,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38082
38088
  mtimeMs: z.ZodNumber;
38083
38089
  size: z.ZodNumber;
38084
38090
  }, z.core.$strip>>;
38091
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
38085
38092
  }, z.core.$strip>, z.ZodObject<{
38086
38093
  requestId: z.ZodString;
38087
38094
  repoRoot: z.ZodString;
@@ -38140,6 +38147,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
38140
38147
  mtimeMs: z.ZodNumber;
38141
38148
  size: z.ZodNumber;
38142
38149
  }, z.core.$strip>;
38150
+ hasUncommittedWorktreeSetupChanges: z.ZodOptional<z.ZodBoolean>;
38143
38151
  }, z.core.$strip>, z.ZodObject<{
38144
38152
  requestId: z.ZodString;
38145
38153
  repoRoot: z.ZodString;
@@ -40222,8 +40230,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
40222
40230
  entries: z.ZodArray<z.ZodObject<{
40223
40231
  error: z.ZodOptional<z.ZodString>;
40224
40232
  description: z.ZodOptional<z.ZodString>;
40225
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
40226
40233
  label: z.ZodOptional<z.ZodString>;
40234
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
40227
40235
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
40228
40236
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40229
40237
  provider: z.ZodString;
@@ -40236,8 +40244,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
40236
40244
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
40237
40245
  description: z.ZodOptional<z.ZodString>;
40238
40246
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40239
- id: z.ZodString;
40240
40247
  label: z.ZodString;
40248
+ id: z.ZodString;
40241
40249
  isDefault: z.ZodOptional<z.ZodBoolean>;
40242
40250
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
40243
40251
  isSelectable: z.ZodOptional<z.ZodBoolean>;
@@ -40304,8 +40312,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
40304
40312
  entries: z.ZodArray<z.ZodObject<{
40305
40313
  error: z.ZodOptional<z.ZodString>;
40306
40314
  description: z.ZodOptional<z.ZodString>;
40307
- status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
40308
40315
  label: z.ZodOptional<z.ZodString>;
40316
+ status: z.ZodType<ProviderStatus, unknown, z.core.$ZodTypeInternals<ProviderStatus, unknown>>;
40309
40317
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
40310
40318
  defaultModeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40311
40319
  provider: z.ZodString;
@@ -40318,8 +40326,8 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
40318
40326
  models: z.ZodOptional<z.ZodArray<z.ZodObject<{
40319
40327
  description: z.ZodOptional<z.ZodString>;
40320
40328
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40321
- id: z.ZodString;
40322
40329
  label: z.ZodString;
40330
+ id: z.ZodString;
40323
40331
  isDefault: z.ZodOptional<z.ZodBoolean>;
40324
40332
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
40325
40333
  isSelectable: z.ZodOptional<z.ZodBoolean>;
package/dist/messages.js CHANGED
@@ -3670,6 +3670,7 @@ export const ReadProjectConfigResponseMessageSchema = z.object({
3670
3670
  ok: z.literal(true),
3671
3671
  config: PaseoConfigRawSchema.nullable(),
3672
3672
  revision: PaseoConfigRevisionSchema.nullable(),
3673
+ hasUncommittedWorktreeSetupChanges: z.boolean().optional(),
3673
3674
  }),
3674
3675
  z.object({
3675
3676
  requestId: z.string(),
@@ -3690,6 +3691,7 @@ export const WriteProjectConfigResponseMessageSchema = z.object({
3690
3691
  ok: z.literal(true),
3691
3692
  config: PaseoConfigRawSchema,
3692
3693
  revision: PaseoConfigRevisionSchema,
3694
+ hasUncommittedWorktreeSetupChanges: z.boolean().optional(),
3693
3695
  }),
3694
3696
  z.object({
3695
3697
  requestId: z.string(),
@@ -4237,6 +4237,7 @@ export declare const WSOutboundMessageSchema: {
4237
4237
  mtimeMs: import("zod").ZodNumber;
4238
4238
  size: import("zod").ZodNumber;
4239
4239
  }, import("zod/v4/core").$strip>>;
4240
+ hasUncommittedWorktreeSetupChanges: import("zod").ZodOptional<import("zod").ZodBoolean>;
4240
4241
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4241
4242
  requestId: import("zod").ZodString;
4242
4243
  repoRoot: import("zod").ZodString;
@@ -4295,6 +4296,7 @@ export declare const WSOutboundMessageSchema: {
4295
4296
  mtimeMs: import("zod").ZodNumber;
4296
4297
  size: import("zod").ZodNumber;
4297
4298
  }, import("zod/v4/core").$strip>;
4299
+ hasUncommittedWorktreeSetupChanges: import("zod").ZodOptional<import("zod").ZodBoolean>;
4298
4300
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4299
4301
  requestId: import("zod").ZodString;
4300
4302
  repoRoot: import("zod").ZodString;
@@ -6377,8 +6379,8 @@ export declare const WSOutboundMessageSchema: {
6377
6379
  entries: import("zod").ZodArray<import("zod").ZodObject<{
6378
6380
  error: import("zod").ZodOptional<import("zod").ZodString>;
6379
6381
  description: import("zod").ZodOptional<import("zod").ZodString>;
6380
- status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
6381
6382
  label: import("zod").ZodOptional<import("zod").ZodString>;
6383
+ status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
6382
6384
  enabled: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
6383
6385
  defaultModeId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
6384
6386
  provider: import("zod").ZodString;
@@ -6391,8 +6393,8 @@ export declare const WSOutboundMessageSchema: {
6391
6393
  models: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6392
6394
  description: import("zod").ZodOptional<import("zod").ZodString>;
6393
6395
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
6394
- id: import("zod").ZodString;
6395
6396
  label: import("zod").ZodString;
6397
+ id: import("zod").ZodString;
6396
6398
  isDefault: import("zod").ZodOptional<import("zod").ZodBoolean>;
6397
6399
  aliases: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6398
6400
  isSelectable: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -6459,8 +6461,8 @@ export declare const WSOutboundMessageSchema: {
6459
6461
  entries: import("zod").ZodArray<import("zod").ZodObject<{
6460
6462
  error: import("zod").ZodOptional<import("zod").ZodString>;
6461
6463
  description: import("zod").ZodOptional<import("zod").ZodString>;
6462
- status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
6463
6464
  label: import("zod").ZodOptional<import("zod").ZodString>;
6465
+ status: import("zod").ZodType<import("../agent-types.js").ProviderStatus, unknown, import("zod/v4/core").$ZodTypeInternals<import("../agent-types.js").ProviderStatus, unknown>>;
6464
6466
  enabled: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
6465
6467
  defaultModeId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
6466
6468
  provider: import("zod").ZodString;
@@ -6473,8 +6475,8 @@ export declare const WSOutboundMessageSchema: {
6473
6475
  models: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
6474
6476
  description: import("zod").ZodOptional<import("zod").ZodString>;
6475
6477
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
6476
- id: import("zod").ZodString;
6477
6478
  label: import("zod").ZodString;
6479
+ id: import("zod").ZodString;
6478
6480
  isDefault: import("zod").ZodOptional<import("zod").ZodBoolean>;
6479
6481
  aliases: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6480
6482
  isSelectable: import("zod").ZodOptional<import("zod").ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/protocol",
3
- "version": "0.4.0-beta.1",
3
+ "version": "0.4.0",
4
4
  "description": "Paseo shared protocol schemas and wire types",
5
5
  "files": [
6
6
  "dist",