@camerontaylor/paseo-protocol 0.9.1-fork.1 → 0.10.2-fork.1

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
@@ -1997,6 +1997,17 @@ export const CheckoutRenameBranchRequestSchema = z.object({
1997
1997
  branch: z.string(),
1998
1998
  requestId: z.string(),
1999
1999
  });
2000
+ /**
2001
+ * Change the branch a checkout is compared with. Paseo-owned worktrees persist it in
2002
+ * worktree.json; plain checkouts persist it in the repository's git config, where every
2003
+ * comparison against that repository reads it.
2004
+ */
2005
+ export const CheckoutBaseRefSetRequestSchema = z.object({
2006
+ type: z.literal("checkout.base_ref.set.request"),
2007
+ cwd: z.string(),
2008
+ baseRef: z.string(),
2009
+ requestId: z.string(),
2010
+ });
2000
2011
  export const StashSaveRequestSchema = z.object({
2001
2012
  type: z.literal("stash_save_request"),
2002
2013
  cwd: z.string(),
@@ -2026,6 +2037,14 @@ export const BranchSuggestionsRequestSchema = z.object({
2026
2037
  requestId: z.string(),
2027
2038
  });
2028
2039
  export const GitHubSearchItemSchema = z.object({
2040
+ checks: z
2041
+ .array(z.object({
2042
+ name: z.string(),
2043
+ status: z.string(),
2044
+ url: z.string().nullable(),
2045
+ workflow: z.string().optional(),
2046
+ }))
2047
+ .optional(),
2029
2048
  kind: z.enum(["issue", "pr"]),
2030
2049
  forge: z.string().optional(),
2031
2050
  number: z.number(),
@@ -2820,6 +2839,7 @@ export const SessionInboundMessageSchema = z.discriminatedUnion("type", [
2820
2839
  PullRequestTimelineRequestSchema,
2821
2840
  CheckoutSwitchBranchRequestSchema,
2822
2841
  CheckoutRenameBranchRequestSchema,
2842
+ CheckoutBaseRefSetRequestSchema,
2823
2843
  StashSaveRequestSchema,
2824
2844
  StashPopRequestSchema,
2825
2845
  StashListRequestSchema,
@@ -3036,6 +3056,7 @@ const ServerCapabilitiesFromUnknownSchema = z
3036
3056
  export const ServerInfoStatusPayloadSchema = z
3037
3057
  .object({
3038
3058
  status: z.literal("server_info"),
3059
+ protocolVersion: z.number().int().optional(),
3039
3060
  serverId: z.string().trim().min(1),
3040
3061
  hostname: ServerInfoHostnameSchema.optional(),
3041
3062
  version: ServerInfoVersionSchema.optional(),
@@ -3065,6 +3086,10 @@ export const ServerInfoStatusPayloadSchema = z
3065
3086
  workspaceSetupRun: z.boolean().optional(),
3066
3087
  // COMPAT(workspaceTerminals): added in v0.8.0, remove gate after 2027-09-05.
3067
3088
  workspaceTerminals: z.boolean().optional(),
3089
+ // COMPAT(packageJsonScripts): added in fork v0.10.1, remove gate after 2027-04-01.
3090
+ packageJsonScripts: z.boolean().optional(),
3091
+ // COMPAT(checkoutBaseRefSet): added in fork v0.10.1, remove after 2027-09-30 when the supported daemon floor advertises it.
3092
+ checkoutBaseRefSet: z.boolean().optional(),
3068
3093
  // COMPAT(checkoutForgeSetAutoMerge): added in v0.2.0-beta.1. Remove the
3069
3094
  // feature gate and checkoutGithubSetAutoMerge fallback after 2027-01-17
3070
3095
  // once the supported daemon floor is >= v0.2.0.
@@ -3085,6 +3110,8 @@ export const ServerInfoStatusPayloadSchema = z
3085
3110
  // and github_search fallback after 2027-01-17 once the supported daemon
3086
3111
  // floor is >= v0.2.0.
3087
3112
  forgeSearch: z.boolean().optional(),
3113
+ // COMPAT(forgeSearchChecks): added in v0.10.1-fork, remove after 2027-09-30.
3114
+ forgeSearchChecks: z.boolean().optional(),
3088
3115
  // COMPAT(daemonStatusRpc): added in v0.1.76, remove gate after 2026-11-18.
3089
3116
  daemonStatusRpc: z.boolean().optional(),
3090
3117
  // COMPAT(daemonConfigReload): added in v0.4.0, remove gate after 2027-02-14.
@@ -3391,6 +3418,7 @@ export const WorkspaceScriptLifecycleSchema = z.enum(["running", "stopped"]);
3391
3418
  export const WorkspaceScriptHealthSchema = z.enum(["healthy", "unhealthy"]);
3392
3419
  export const WorkspaceScriptPayloadSchema = z.object({
3393
3420
  scriptName: z.string(),
3421
+ packageJson: z.object({ path: z.string(), script: z.string() }).optional(),
3394
3422
  type: z.enum(["script", "service"]).optional().default("service"),
3395
3423
  hostname: z.string(),
3396
3424
  port: z.number().int().positive().nullable(),
@@ -5166,6 +5194,17 @@ export const CheckoutRenameBranchResponseSchema = z.object({
5166
5194
  error: CheckoutErrorSchema.nullable(),
5167
5195
  }),
5168
5196
  });
5197
+ export const CheckoutBaseRefSetResponseSchema = z.object({
5198
+ type: z.literal("checkout.base_ref.set.response"),
5199
+ payload: z.object({
5200
+ requestId: z.string(),
5201
+ success: z.boolean(),
5202
+ cwd: z.string(),
5203
+ /** Display name of the base now in effect, null when the request failed. */
5204
+ baseRef: z.string().nullable(),
5205
+ error: CheckoutErrorSchema.nullable(),
5206
+ }),
5207
+ });
5169
5208
  const StashEntrySchema = z.object({
5170
5209
  index: z.number().int().min(0),
5171
5210
  message: z.string(),
@@ -5219,6 +5258,8 @@ export const BranchSuggestionsResponseSchema = z.object({
5219
5258
  committerDate: z.number(),
5220
5259
  hasLocal: z.boolean().optional(),
5221
5260
  hasRemote: z.boolean().optional(),
5261
+ localRefs: z.array(z.string()).optional(),
5262
+ remoteRefs: z.array(z.string()).optional(),
5222
5263
  localAhead: z.number().int().nonnegative().optional(),
5223
5264
  localBehind: z.number().int().nonnegative().optional(),
5224
5265
  }))
@@ -6150,6 +6191,7 @@ export const SessionOutboundMessageSchema = z.discriminatedUnion("type", [
6150
6191
  PullRequestTimelineResponseSchema,
6151
6192
  CheckoutSwitchBranchResponseSchema,
6152
6193
  CheckoutRenameBranchResponseSchema,
6194
+ CheckoutBaseRefSetResponseSchema,
6153
6195
  StashSaveResponseSchema,
6154
6196
  StashPopResponseSchema,
6155
6197
  StashListResponseSchema,
@@ -6232,10 +6274,17 @@ export const WSHelloMessageSchema = z.object({
6232
6274
  clientId: z.string().min(1),
6233
6275
  clientType: z.enum(["mobile", "browser", "cli", "mcp", "hub"]),
6234
6276
  protocolVersion: z.number().int(),
6277
+ auth: z
6278
+ .discriminatedUnion("kind", [
6279
+ z.object({ kind: z.literal("password"), password: z.string() }),
6280
+ z.object({ kind: z.literal("localCredential"), token: z.string() }),
6281
+ ])
6282
+ .optional(),
6235
6283
  appVersion: z.string().optional(),
6236
6284
  capabilities: z
6237
6285
  .object({
6238
6286
  voice: z.boolean().optional(),
6287
+ [CLIENT_CAPS.helloRejection]: z.boolean().optional(),
6239
6288
  pushNotifications: z.boolean().optional(),
6240
6289
  [CLIENT_CAPS.explicitEventSubscriptions]: z.boolean().optional(),
6241
6290
  [CLIENT_CAPS.allProviders]: z.boolean().optional(),
@@ -6268,6 +6317,11 @@ export const WSSessionOutboundSchema = z.object({
6268
6317
  type: z.literal("session"),
6269
6318
  message: SessionOutboundMessageSchema,
6270
6319
  });
6320
+ export const WSHelloRejectedMessageSchema = z.object({
6321
+ type: z.literal("hello.rejected"),
6322
+ reason: z.enum(["password_required", "incorrect_password", "incompatible_protocol"]),
6323
+ accepts: z.array(z.literal("password")),
6324
+ });
6271
6325
  // Complete WebSocket message schemas
6272
6326
  export const WSInboundMessageSchema = z.discriminatedUnion("type", [
6273
6327
  WSPingMessageSchema,
@@ -6278,6 +6332,7 @@ export const WSInboundMessageSchema = z.discriminatedUnion("type", [
6278
6332
  export const WSOutboundMessageSchema = z.discriminatedUnion("type", [
6279
6333
  WSPongMessageSchema,
6280
6334
  WSSessionOutboundSchema,
6335
+ WSHelloRejectedMessageSchema,
6281
6336
  ]);
6282
6337
  // ============================================================================
6283
6338
  // Helper functions for message conversion
@@ -73,7 +73,13 @@ export function formatResolvedCommand(resolved) {
73
73
  export function resolveTerminalProfileLaunch(profile, prompt) {
74
74
  return { name: profile.name, ...substitutePrompt(profile, prompt) };
75
75
  }
76
- const WELL_KNOWN_COMMAND_ICONS = new Map(KNOWN_PROVIDER_ICON_NAMES.map((name) => [name, name]));
76
+ // CLIs whose binary is not named after their icon. Matching stays exact, so a
77
+ // command only gets an icon when its whole base name is listed.
78
+ const COMMAND_ICON_ALIASES = [["cursor-agent", "cursor"]];
79
+ const WELL_KNOWN_COMMAND_ICONS = new Map([
80
+ ...KNOWN_PROVIDER_ICON_NAMES.map((name) => [name, name]),
81
+ ...COMMAND_ICON_ALIASES,
82
+ ]);
77
83
  function getCommandBaseName(command) {
78
84
  const lastSlash = command.lastIndexOf("/");
79
85
  const lastBackslash = command.lastIndexOf("\\");
@@ -1386,6 +1386,10 @@ export declare const WSOutboundMessageSchema: {
1386
1386
  }, import("zod/v4/core").$strip>>>;
1387
1387
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
1388
1388
  scriptName: import("zod").ZodString;
1389
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
1390
+ path: import("zod").ZodString;
1391
+ script: import("zod").ZodString;
1392
+ }, import("zod/v4/core").$strip>>;
1389
1393
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
1390
1394
  script: "script";
1391
1395
  service: "service";
@@ -1571,6 +1575,10 @@ export declare const WSOutboundMessageSchema: {
1571
1575
  health: "healthy" | "unhealthy" | null;
1572
1576
  exitCode: number | null;
1573
1577
  terminalId: string | null;
1578
+ packageJson?: {
1579
+ path: string;
1580
+ script: string;
1581
+ } | undefined;
1574
1582
  localProxyUrl?: string | null | undefined;
1575
1583
  publicProxyUrl?: string | null | undefined;
1576
1584
  }[];
@@ -1681,6 +1689,10 @@ export declare const WSOutboundMessageSchema: {
1681
1689
  health: "healthy" | "unhealthy" | null;
1682
1690
  exitCode: number | null;
1683
1691
  terminalId: string | null;
1692
+ packageJson?: {
1693
+ path: string;
1694
+ script: string;
1695
+ } | undefined;
1684
1696
  localProxyUrl?: string | null | undefined;
1685
1697
  publicProxyUrl?: string | null | undefined;
1686
1698
  }[];
@@ -1987,6 +1999,10 @@ export declare const WSOutboundMessageSchema: {
1987
1999
  workspaceId: import("zod").ZodString;
1988
2000
  scripts: import("zod").ZodArray<import("zod").ZodObject<{
1989
2001
  scriptName: import("zod").ZodString;
2002
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
2003
+ path: import("zod").ZodString;
2004
+ script: import("zod").ZodString;
2005
+ }, import("zod/v4/core").$strip>>;
1990
2006
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
1991
2007
  script: "script";
1992
2008
  service: "service";
@@ -2666,6 +2682,10 @@ export declare const WSOutboundMessageSchema: {
2666
2682
  }, import("zod/v4/core").$strip>>>;
2667
2683
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
2668
2684
  scriptName: import("zod").ZodString;
2685
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
2686
+ path: import("zod").ZodString;
2687
+ script: import("zod").ZodString;
2688
+ }, import("zod/v4/core").$strip>>;
2669
2689
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
2670
2690
  script: "script";
2671
2691
  service: "service";
@@ -2851,6 +2871,10 @@ export declare const WSOutboundMessageSchema: {
2851
2871
  health: "healthy" | "unhealthy" | null;
2852
2872
  exitCode: number | null;
2853
2873
  terminalId: string | null;
2874
+ packageJson?: {
2875
+ path: string;
2876
+ script: string;
2877
+ } | undefined;
2854
2878
  localProxyUrl?: string | null | undefined;
2855
2879
  publicProxyUrl?: string | null | undefined;
2856
2880
  }[];
@@ -2961,6 +2985,10 @@ export declare const WSOutboundMessageSchema: {
2961
2985
  health: "healthy" | "unhealthy" | null;
2962
2986
  exitCode: number | null;
2963
2987
  terminalId: string | null;
2988
+ packageJson?: {
2989
+ path: string;
2990
+ script: string;
2991
+ } | undefined;
2964
2992
  localProxyUrl?: string | null | undefined;
2965
2993
  publicProxyUrl?: string | null | undefined;
2966
2994
  }[];
@@ -3181,6 +3209,10 @@ export declare const WSOutboundMessageSchema: {
3181
3209
  }, import("zod/v4/core").$strip>>>;
3182
3210
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
3183
3211
  scriptName: import("zod").ZodString;
3212
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3213
+ path: import("zod").ZodString;
3214
+ script: import("zod").ZodString;
3215
+ }, import("zod/v4/core").$strip>>;
3184
3216
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3185
3217
  script: "script";
3186
3218
  service: "service";
@@ -3366,6 +3398,10 @@ export declare const WSOutboundMessageSchema: {
3366
3398
  health: "healthy" | "unhealthy" | null;
3367
3399
  exitCode: number | null;
3368
3400
  terminalId: string | null;
3401
+ packageJson?: {
3402
+ path: string;
3403
+ script: string;
3404
+ } | undefined;
3369
3405
  localProxyUrl?: string | null | undefined;
3370
3406
  publicProxyUrl?: string | null | undefined;
3371
3407
  }[];
@@ -3476,6 +3512,10 @@ export declare const WSOutboundMessageSchema: {
3476
3512
  health: "healthy" | "unhealthy" | null;
3477
3513
  exitCode: number | null;
3478
3514
  terminalId: string | null;
3515
+ packageJson?: {
3516
+ path: string;
3517
+ script: string;
3518
+ } | undefined;
3479
3519
  localProxyUrl?: string | null | undefined;
3480
3520
  publicProxyUrl?: string | null | undefined;
3481
3521
  }[];
@@ -3687,6 +3727,10 @@ export declare const WSOutboundMessageSchema: {
3687
3727
  scriptName: import("zod").ZodOptional<import("zod").ZodString>;
3688
3728
  script: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
3689
3729
  scriptName: import("zod").ZodString;
3730
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3731
+ path: import("zod").ZodString;
3732
+ script: import("zod").ZodString;
3733
+ }, import("zod/v4/core").$strip>>;
3690
3734
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3691
3735
  script: "script";
3692
3736
  service: "service";
@@ -3709,6 +3753,10 @@ export declare const WSOutboundMessageSchema: {
3709
3753
  }, import("zod/v4/core").$strip>>>;
3710
3754
  scripts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3711
3755
  scriptName: import("zod").ZodString;
3756
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3757
+ path: import("zod").ZodString;
3758
+ script: import("zod").ZodString;
3759
+ }, import("zod/v4/core").$strip>>;
3712
3760
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3713
3761
  script: "script";
3714
3762
  service: "service";
@@ -3739,6 +3787,10 @@ export declare const WSOutboundMessageSchema: {
3739
3787
  scriptName: import("zod").ZodOptional<import("zod").ZodString>;
3740
3788
  script: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
3741
3789
  scriptName: import("zod").ZodString;
3790
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3791
+ path: import("zod").ZodString;
3792
+ script: import("zod").ZodString;
3793
+ }, import("zod/v4/core").$strip>>;
3742
3794
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3743
3795
  script: "script";
3744
3796
  service: "service";
@@ -3761,6 +3813,10 @@ export declare const WSOutboundMessageSchema: {
3761
3813
  }, import("zod/v4/core").$strip>>>;
3762
3814
  scripts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3763
3815
  scriptName: import("zod").ZodString;
3816
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3817
+ path: import("zod").ZodString;
3818
+ script: import("zod").ZodString;
3819
+ }, import("zod/v4/core").$strip>>;
3764
3820
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3765
3821
  script: "script";
3766
3822
  service: "service";
@@ -3791,6 +3847,10 @@ export declare const WSOutboundMessageSchema: {
3791
3847
  scriptName: import("zod").ZodOptional<import("zod").ZodString>;
3792
3848
  script: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
3793
3849
  scriptName: import("zod").ZodString;
3850
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3851
+ path: import("zod").ZodString;
3852
+ script: import("zod").ZodString;
3853
+ }, import("zod/v4/core").$strip>>;
3794
3854
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3795
3855
  script: "script";
3796
3856
  service: "service";
@@ -3813,6 +3873,10 @@ export declare const WSOutboundMessageSchema: {
3813
3873
  }, import("zod/v4/core").$strip>>>;
3814
3874
  scripts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3815
3875
  scriptName: import("zod").ZodString;
3876
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
3877
+ path: import("zod").ZodString;
3878
+ script: import("zod").ZodString;
3879
+ }, import("zod/v4/core").$strip>>;
3816
3880
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
3817
3881
  script: "script";
3818
3882
  service: "service";
@@ -4798,6 +4862,10 @@ export declare const WSOutboundMessageSchema: {
4798
4862
  }, import("zod/v4/core").$strip>>>;
4799
4863
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
4800
4864
  scriptName: import("zod").ZodString;
4865
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
4866
+ path: import("zod").ZodString;
4867
+ script: import("zod").ZodString;
4868
+ }, import("zod/v4/core").$strip>>;
4801
4869
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
4802
4870
  script: "script";
4803
4871
  service: "service";
@@ -4983,6 +5051,10 @@ export declare const WSOutboundMessageSchema: {
4983
5051
  health: "healthy" | "unhealthy" | null;
4984
5052
  exitCode: number | null;
4985
5053
  terminalId: string | null;
5054
+ packageJson?: {
5055
+ path: string;
5056
+ script: string;
5057
+ } | undefined;
4986
5058
  localProxyUrl?: string | null | undefined;
4987
5059
  publicProxyUrl?: string | null | undefined;
4988
5060
  }[];
@@ -5093,6 +5165,10 @@ export declare const WSOutboundMessageSchema: {
5093
5165
  health: "healthy" | "unhealthy" | null;
5094
5166
  exitCode: number | null;
5095
5167
  terminalId: string | null;
5168
+ packageJson?: {
5169
+ path: string;
5170
+ script: string;
5171
+ } | undefined;
5096
5172
  localProxyUrl?: string | null | undefined;
5097
5173
  publicProxyUrl?: string | null | undefined;
5098
5174
  }[];
@@ -5299,6 +5375,10 @@ export declare const WSOutboundMessageSchema: {
5299
5375
  }, import("zod/v4/core").$strip>>>;
5300
5376
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
5301
5377
  scriptName: import("zod").ZodString;
5378
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
5379
+ path: import("zod").ZodString;
5380
+ script: import("zod").ZodString;
5381
+ }, import("zod/v4/core").$strip>>;
5302
5382
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
5303
5383
  script: "script";
5304
5384
  service: "service";
@@ -5484,6 +5564,10 @@ export declare const WSOutboundMessageSchema: {
5484
5564
  health: "healthy" | "unhealthy" | null;
5485
5565
  exitCode: number | null;
5486
5566
  terminalId: string | null;
5567
+ packageJson?: {
5568
+ path: string;
5569
+ script: string;
5570
+ } | undefined;
5487
5571
  localProxyUrl?: string | null | undefined;
5488
5572
  publicProxyUrl?: string | null | undefined;
5489
5573
  }[];
@@ -5594,6 +5678,10 @@ export declare const WSOutboundMessageSchema: {
5594
5678
  health: "healthy" | "unhealthy" | null;
5595
5679
  exitCode: number | null;
5596
5680
  terminalId: string | null;
5681
+ packageJson?: {
5682
+ path: string;
5683
+ script: string;
5684
+ } | undefined;
5597
5685
  localProxyUrl?: string | null | undefined;
5598
5686
  publicProxyUrl?: string | null | undefined;
5599
5687
  }[];
@@ -5818,6 +5906,10 @@ export declare const WSOutboundMessageSchema: {
5818
5906
  }, import("zod/v4/core").$strip>>>;
5819
5907
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
5820
5908
  scriptName: import("zod").ZodString;
5909
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
5910
+ path: import("zod").ZodString;
5911
+ script: import("zod").ZodString;
5912
+ }, import("zod/v4/core").$strip>>;
5821
5913
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
5822
5914
  script: "script";
5823
5915
  service: "service";
@@ -6003,6 +6095,10 @@ export declare const WSOutboundMessageSchema: {
6003
6095
  health: "healthy" | "unhealthy" | null;
6004
6096
  exitCode: number | null;
6005
6097
  terminalId: string | null;
6098
+ packageJson?: {
6099
+ path: string;
6100
+ script: string;
6101
+ } | undefined;
6006
6102
  localProxyUrl?: string | null | undefined;
6007
6103
  publicProxyUrl?: string | null | undefined;
6008
6104
  }[];
@@ -6113,6 +6209,10 @@ export declare const WSOutboundMessageSchema: {
6113
6209
  health: "healthy" | "unhealthy" | null;
6114
6210
  exitCode: number | null;
6115
6211
  terminalId: string | null;
6212
+ packageJson?: {
6213
+ path: string;
6214
+ script: string;
6215
+ } | undefined;
6116
6216
  localProxyUrl?: string | null | undefined;
6117
6217
  publicProxyUrl?: string | null | undefined;
6118
6218
  }[];
@@ -6339,6 +6439,10 @@ export declare const WSOutboundMessageSchema: {
6339
6439
  }, import("zod/v4/core").$strip>>>;
6340
6440
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
6341
6441
  scriptName: import("zod").ZodString;
6442
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
6443
+ path: import("zod").ZodString;
6444
+ script: import("zod").ZodString;
6445
+ }, import("zod/v4/core").$strip>>;
6342
6446
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
6343
6447
  script: "script";
6344
6448
  service: "service";
@@ -6524,6 +6628,10 @@ export declare const WSOutboundMessageSchema: {
6524
6628
  health: "healthy" | "unhealthy" | null;
6525
6629
  exitCode: number | null;
6526
6630
  terminalId: string | null;
6631
+ packageJson?: {
6632
+ path: string;
6633
+ script: string;
6634
+ } | undefined;
6527
6635
  localProxyUrl?: string | null | undefined;
6528
6636
  publicProxyUrl?: string | null | undefined;
6529
6637
  }[];
@@ -6634,6 +6742,10 @@ export declare const WSOutboundMessageSchema: {
6634
6742
  health: "healthy" | "unhealthy" | null;
6635
6743
  exitCode: number | null;
6636
6744
  terminalId: string | null;
6745
+ packageJson?: {
6746
+ path: string;
6747
+ script: string;
6748
+ } | undefined;
6637
6749
  localProxyUrl?: string | null | undefined;
6638
6750
  publicProxyUrl?: string | null | undefined;
6639
6751
  }[];
@@ -6859,6 +6971,10 @@ export declare const WSOutboundMessageSchema: {
6859
6971
  }, import("zod/v4/core").$strip>>>;
6860
6972
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
6861
6973
  scriptName: import("zod").ZodString;
6974
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
6975
+ path: import("zod").ZodString;
6976
+ script: import("zod").ZodString;
6977
+ }, import("zod/v4/core").$strip>>;
6862
6978
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
6863
6979
  script: "script";
6864
6980
  service: "service";
@@ -7044,6 +7160,10 @@ export declare const WSOutboundMessageSchema: {
7044
7160
  health: "healthy" | "unhealthy" | null;
7045
7161
  exitCode: number | null;
7046
7162
  terminalId: string | null;
7163
+ packageJson?: {
7164
+ path: string;
7165
+ script: string;
7166
+ } | undefined;
7047
7167
  localProxyUrl?: string | null | undefined;
7048
7168
  publicProxyUrl?: string | null | undefined;
7049
7169
  }[];
@@ -7154,6 +7274,10 @@ export declare const WSOutboundMessageSchema: {
7154
7274
  health: "healthy" | "unhealthy" | null;
7155
7275
  exitCode: number | null;
7156
7276
  terminalId: string | null;
7277
+ packageJson?: {
7278
+ path: string;
7279
+ script: string;
7280
+ } | undefined;
7157
7281
  localProxyUrl?: string | null | undefined;
7158
7282
  publicProxyUrl?: string | null | undefined;
7159
7283
  }[];
@@ -7384,6 +7508,10 @@ export declare const WSOutboundMessageSchema: {
7384
7508
  }, import("zod/v4/core").$strip>>>;
7385
7509
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
7386
7510
  scriptName: import("zod").ZodString;
7511
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
7512
+ path: import("zod").ZodString;
7513
+ script: import("zod").ZodString;
7514
+ }, import("zod/v4/core").$strip>>;
7387
7515
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
7388
7516
  script: "script";
7389
7517
  service: "service";
@@ -7569,6 +7697,10 @@ export declare const WSOutboundMessageSchema: {
7569
7697
  health: "healthy" | "unhealthy" | null;
7570
7698
  exitCode: number | null;
7571
7699
  terminalId: string | null;
7700
+ packageJson?: {
7701
+ path: string;
7702
+ script: string;
7703
+ } | undefined;
7572
7704
  localProxyUrl?: string | null | undefined;
7573
7705
  publicProxyUrl?: string | null | undefined;
7574
7706
  }[];
@@ -7679,6 +7811,10 @@ export declare const WSOutboundMessageSchema: {
7679
7811
  health: "healthy" | "unhealthy" | null;
7680
7812
  exitCode: number | null;
7681
7813
  terminalId: string | null;
7814
+ packageJson?: {
7815
+ path: string;
7816
+ script: string;
7817
+ } | undefined;
7682
7818
  localProxyUrl?: string | null | undefined;
7683
7819
  publicProxyUrl?: string | null | undefined;
7684
7820
  }[];
@@ -9559,6 +9695,23 @@ export declare const WSOutboundMessageSchema: {
9559
9695
  message: import("zod").ZodString;
9560
9696
  }, import("zod/v4/core").$strip>>;
9561
9697
  }, import("zod/v4/core").$strip>;
9698
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
9699
+ type: import("zod").ZodLiteral<"checkout.base_ref.set.response">;
9700
+ payload: import("zod").ZodObject<{
9701
+ requestId: import("zod").ZodString;
9702
+ success: import("zod").ZodBoolean;
9703
+ cwd: import("zod").ZodString;
9704
+ baseRef: import("zod").ZodNullable<import("zod").ZodString>;
9705
+ error: import("zod").ZodNullable<import("zod").ZodObject<{
9706
+ code: import("zod").ZodEnum<{
9707
+ NOT_GIT_REPO: "NOT_GIT_REPO";
9708
+ NOT_ALLOWED: "NOT_ALLOWED";
9709
+ MERGE_CONFLICT: "MERGE_CONFLICT";
9710
+ UNKNOWN: "UNKNOWN";
9711
+ }>;
9712
+ message: import("zod").ZodString;
9713
+ }, import("zod/v4/core").$strip>>;
9714
+ }, import("zod/v4/core").$strip>;
9562
9715
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
9563
9716
  type: import("zod").ZodLiteral<"stash_save_response">;
9564
9717
  payload: import("zod").ZodObject<{
@@ -9630,6 +9783,8 @@ export declare const WSOutboundMessageSchema: {
9630
9783
  committerDate: import("zod").ZodNumber;
9631
9784
  hasLocal: import("zod").ZodOptional<import("zod").ZodBoolean>;
9632
9785
  hasRemote: import("zod").ZodOptional<import("zod").ZodBoolean>;
9786
+ localRefs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
9787
+ remoteRefs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
9633
9788
  localAhead: import("zod").ZodOptional<import("zod").ZodNumber>;
9634
9789
  localBehind: import("zod").ZodOptional<import("zod").ZodNumber>;
9635
9790
  }, import("zod/v4/core").$strip>>>;
@@ -9747,6 +9902,10 @@ export declare const WSOutboundMessageSchema: {
9747
9902
  }, import("zod/v4/core").$strip>>>;
9748
9903
  scripts: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
9749
9904
  scriptName: import("zod").ZodString;
9905
+ packageJson: import("zod").ZodOptional<import("zod").ZodObject<{
9906
+ path: import("zod").ZodString;
9907
+ script: import("zod").ZodString;
9908
+ }, import("zod/v4/core").$strip>>;
9750
9909
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<{
9751
9910
  script: "script";
9752
9911
  service: "service";
@@ -9932,6 +10091,10 @@ export declare const WSOutboundMessageSchema: {
9932
10091
  health: "healthy" | "unhealthy" | null;
9933
10092
  exitCode: number | null;
9934
10093
  terminalId: string | null;
10094
+ packageJson?: {
10095
+ path: string;
10096
+ script: string;
10097
+ } | undefined;
9935
10098
  localProxyUrl?: string | null | undefined;
9936
10099
  publicProxyUrl?: string | null | undefined;
9937
10100
  }[];
@@ -10042,6 +10205,10 @@ export declare const WSOutboundMessageSchema: {
10042
10205
  health: "healthy" | "unhealthy" | null;
10043
10206
  exitCode: number | null;
10044
10207
  terminalId: string | null;
10208
+ packageJson?: {
10209
+ path: string;
10210
+ script: string;
10211
+ } | undefined;
10045
10212
  localProxyUrl?: string | null | undefined;
10046
10213
  publicProxyUrl?: string | null | undefined;
10047
10214
  }[];
@@ -11818,6 +11985,14 @@ export declare const WSOutboundMessageSchema: {
11818
11985
  newVersion: import("zod").ZodNullable<import("zod").ZodString>;
11819
11986
  }, import("zod/v4/core").$strip>;
11820
11987
  }, import("zod/v4/core").$strip>], "type">;
11988
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
11989
+ type: import("zod").ZodLiteral<"hello.rejected">;
11990
+ reason: import("zod").ZodEnum<{
11991
+ password_required: "password_required";
11992
+ incorrect_password: "incorrect_password";
11993
+ incompatible_protocol: "incompatible_protocol";
11994
+ }>;
11995
+ accepts: import("zod").ZodArray<import("zod").ZodLiteral<"password">>;
11821
11996
  }, import("zod/v4/core").$strip>], "type">;
11822
11997
  };
11823
11998
  //# sourceMappingURL=ws-outbound-schema-metadata.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camerontaylor/paseo-protocol",
3
- "version": "0.9.1-fork.1",
3
+ "version": "0.10.2-fork.1",
4
4
  "description": "Paseo shared protocol schemas and wire types",
5
5
  "files": [
6
6
  "dist",