@getpaseo/protocol 0.1.85 → 0.1.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/messages.js CHANGED
@@ -26,6 +26,18 @@ const MutableDaemonProviderConfigSchema = z
26
26
  additionalModels: z.array(MutableDaemonProviderModelSchema).optional(),
27
27
  })
28
28
  .passthrough();
29
+ const MutableStructuredGenerationProviderSchema = z
30
+ .object({
31
+ provider: z.string().min(1),
32
+ model: z.string().min(1).optional(),
33
+ thinkingOptionId: z.string().min(1).optional(),
34
+ })
35
+ .passthrough();
36
+ const MutableMetadataGenerationConfigSchema = z
37
+ .object({
38
+ providers: z.array(MutableStructuredGenerationProviderSchema).default([]),
39
+ })
40
+ .passthrough();
29
41
  export const MutableDaemonConfigSchema = z
30
42
  .object({
31
43
  mcp: z
@@ -34,6 +46,7 @@ export const MutableDaemonConfigSchema = z
34
46
  })
35
47
  .passthrough(),
36
48
  providers: z.record(z.string(), MutableDaemonProviderConfigSchema).default({}),
49
+ metadataGeneration: MutableMetadataGenerationConfigSchema.default({ providers: [] }),
37
50
  autoArchiveAfterMerge: z.boolean().default(false),
38
51
  appendSystemPrompt: z.string().default(""),
39
52
  })
@@ -44,6 +57,7 @@ export const MutableDaemonConfigPatchSchema = z
44
57
  providers: z
45
58
  .record(z.string(), MutableDaemonProviderConfigSchema.partial().passthrough())
46
59
  .optional(),
60
+ metadataGeneration: MutableMetadataGenerationConfigSchema.partial().optional(),
47
61
  autoArchiveAfterMerge: z.boolean().optional(),
48
62
  appendSystemPrompt: z.string().optional(),
49
63
  })
@@ -1129,6 +1143,11 @@ export const CheckoutPushRequestSchema = z.object({
1129
1143
  cwd: z.string(),
1130
1144
  requestId: z.string(),
1131
1145
  });
1146
+ export const CheckoutRefreshRequestSchema = z.object({
1147
+ type: z.literal("checkout.refresh.request"),
1148
+ cwd: z.string(),
1149
+ requestId: z.string(),
1150
+ });
1132
1151
  export const CheckoutPrCreateRequestSchema = z.object({
1133
1152
  type: z.literal("checkout_pr_create_request"),
1134
1153
  cwd: z.string(),
@@ -1572,6 +1591,7 @@ export const SessionInboundMessageSchema = z.discriminatedUnion("type", [
1572
1591
  CheckoutMergeFromBaseRequestSchema,
1573
1592
  CheckoutPullRequestSchema,
1574
1593
  CheckoutPushRequestSchema,
1594
+ CheckoutRefreshRequestSchema,
1575
1595
  CheckoutPrCreateRequestSchema,
1576
1596
  CheckoutPrMergeRequestSchema,
1577
1597
  CheckoutGithubSetAutoMergeRequestSchema,
@@ -1785,6 +1805,8 @@ export const ServerInfoStatusPayloadSchema = z
1785
1805
  "terminal-restore-modes": z.boolean().optional(),
1786
1806
  // COMPAT(rewind): added in v0.1.X, drop the gate when floor >= v0.1.X.
1787
1807
  rewind: z.boolean().optional(),
1808
+ // COMPAT(checkoutRefresh): added in v0.1.86, remove gate after 2026-11-29.
1809
+ checkoutRefresh: z.boolean().optional(),
1788
1810
  })
1789
1811
  .optional(),
1790
1812
  })
@@ -2644,6 +2666,15 @@ export const CheckoutPushResponseSchema = z.object({
2644
2666
  requestId: z.string(),
2645
2667
  }),
2646
2668
  });
2669
+ export const CheckoutRefreshResponseSchema = z.object({
2670
+ type: z.literal("checkout.refresh.response"),
2671
+ payload: z.object({
2672
+ cwd: z.string(),
2673
+ success: z.boolean(),
2674
+ error: CheckoutErrorSchema.nullable(),
2675
+ requestId: z.string(),
2676
+ }),
2677
+ });
2647
2678
  export const CheckoutPrCreateResponseSchema = z.object({
2648
2679
  type: z.literal("checkout_pr_create_response"),
2649
2680
  payload: z.object({
@@ -3196,6 +3227,7 @@ export const SessionOutboundMessageSchema = z.discriminatedUnion("type", [
3196
3227
  CheckoutMergeFromBaseResponseSchema,
3197
3228
  CheckoutPullResponseSchema,
3198
3229
  CheckoutPushResponseSchema,
3230
+ CheckoutRefreshResponseSchema,
3199
3231
  CheckoutPrCreateResponseSchema,
3200
3232
  CheckoutPrMergeResponseSchema,
3201
3233
  CheckoutGithubSetAutoMergeResponseSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/protocol",
3
- "version": "0.1.85",
3
+ "version": "0.1.86",
4
4
  "description": "Paseo shared protocol schemas and wire types",
5
5
  "files": [
6
6
  "dist",