@otto-code/protocol 0.5.6 → 0.5.8

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.
@@ -5687,6 +5687,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5687
5687
  activityStats: z.ZodOptional<z.ZodBoolean>;
5688
5688
  runsClear: z.ZodOptional<z.ZodBoolean>;
5689
5689
  projectLinks: z.ZodOptional<z.ZodBoolean>;
5690
+ fileOutsideWorkspace: z.ZodOptional<z.ZodBoolean>;
5690
5691
  }, z.core.$strip>>;
5691
5692
  }, z.core.$loose>, z.ZodTransform<{
5692
5693
  hostname: string | null;
@@ -5748,6 +5749,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5748
5749
  activityStats?: boolean | undefined;
5749
5750
  runsClear?: boolean | undefined;
5750
5751
  projectLinks?: boolean | undefined;
5752
+ fileOutsideWorkspace?: boolean | undefined;
5751
5753
  } | undefined;
5752
5754
  }, {
5753
5755
  [x: string]: unknown;
@@ -5810,6 +5812,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5810
5812
  activityStats?: boolean | undefined;
5811
5813
  runsClear?: boolean | undefined;
5812
5814
  projectLinks?: boolean | undefined;
5815
+ fileOutsideWorkspace?: boolean | undefined;
5813
5816
  } | undefined;
5814
5817
  }>>;
5815
5818
  export declare const StatusMessageSchema: z.ZodObject<{
package/dist/messages.js CHANGED
@@ -2967,6 +2967,12 @@ export const ServerInfoStatusPayloadSchema = z
2967
2967
  runsClear: z.boolean().optional(),
2968
2968
  // COMPAT(projectLinks): added in v0.5.6, drop the gate when daemon floor >= v0.5.6.
2969
2969
  projectLinks: z.boolean().optional(),
2970
+ // COMPAT(fileOutsideWorkspace): added in v0.5.8, drop the gate when daemon floor >= v0.5.8.
2971
+ // Set when the daemon will serve single-file read/write/watch for paths
2972
+ // outside every known workspace (bounded only by OS filesystem
2973
+ // permissions). The client gates this behind an "edit anyway" warning;
2974
+ // an old daemon leaves the flag unset and out-of-project files are not offered.
2975
+ fileOutsideWorkspace: z.boolean().optional(),
2970
2976
  })
2971
2977
  .optional(),
2972
2978
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otto-code/protocol",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "Otto shared protocol schemas and wire types",
5
5
  "files": [
6
6
  "dist",