@hachej/boring-execution 0.4.26 → 0.4.28

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.
@@ -8,7 +8,7 @@ export declare const version = 3;
8
8
  export declare const streamType = "application/x-ndjson";
9
9
  /**
10
10
  * Native methods sent over the wire unchanged. Pi's stateful readers (`openBinaryReader`, `openDirReader`) hold an open handle; a
11
- * stateless request cannot, so they travel as the request-bound methods of `PositionalCall`, and `watch` as one streamed request. The optional bounded `listFiles` (pi-durable 1.2.0) is not forwarded: a remote view omits it, as Pi allows.
11
+ * stateless request cannot, so they travel as the request-bound methods of `PositionalCall`, and `watch` as one streamed request. The optional bounded `listFiles` (pi-durable 1.4.0) is not forwarded: a remote view omits it, as Pi allows.
12
12
  */
13
13
  export type FileMethod = Exclude<keyof FileSystem, 'id' | 'cwd' | 'cleanup' | 'openBinaryReader' | 'openDirReader' | 'watch' | 'listFiles'>;
14
14
  type Arguments<Method> = Method extends (...args: [...infer Input, Context]) => unknown ? Input : never;
@@ -249,7 +249,7 @@ declare const requestSchema: z.ZodObject<{
249
249
  }, z.core.$strict>], "method">;
250
250
  schema: z.ZodLiteral<"boring.remote-files">;
251
251
  version: z.ZodLiteral<3>;
252
- nativeVersion: z.ZodLiteral<"pi-durable@1.2.0">;
252
+ nativeVersion: z.ZodLiteral<"pi-durable@1.4.0">;
253
253
  requestId: z.ZodString;
254
254
  identity: z.ZodPipe<z.ZodUnknown, z.ZodTransform<import("./contracts.js").WorkspaceIdentity, unknown>>;
255
255
  filesystemId: z.ZodString;
@@ -261,7 +261,7 @@ export declare const envelope: z.ZodObject<{
261
261
  result: z.ZodUnknown;
262
262
  schema: z.ZodLiteral<"boring.remote-files">;
263
263
  version: z.ZodLiteral<3>;
264
- nativeVersion: z.ZodLiteral<"pi-durable@1.2.0">;
264
+ nativeVersion: z.ZodLiteral<"pi-durable@1.4.0">;
265
265
  requestId: z.ZodString;
266
266
  identity: z.ZodPipe<z.ZodUnknown, z.ZodTransform<import("./contracts.js").WorkspaceIdentity, unknown>>;
267
267
  filesystemId: z.ZodString;
@@ -319,7 +319,7 @@ export declare const streamFrame: z.ZodDiscriminatedUnion<[z.ZodObject<{
319
319
  }>>;
320
320
  schema: z.ZodLiteral<"boring.remote-files">;
321
321
  version: z.ZodLiteral<3>;
322
- nativeVersion: z.ZodLiteral<"pi-durable@1.2.0">;
322
+ nativeVersion: z.ZodLiteral<"pi-durable@1.4.0">;
323
323
  requestId: z.ZodString;
324
324
  identity: z.ZodPipe<z.ZodUnknown, z.ZodTransform<import("./contracts.js").WorkspaceIdentity, unknown>>;
325
325
  filesystemId: z.ZodString;
@@ -3,7 +3,7 @@ import type { Shell, ShellExecOptions, ShellOutputSkip, ExecutionErrorCode } fro
3
3
  import type { WorkspaceIdentity } from './contracts.js';
4
4
  export declare const schema = "boring.remote-shell";
5
5
  export declare const version = 2;
6
- export declare const nativeVersion = "pi-durable@1.2.0";
6
+ export declare const nativeVersion = "pi-durable@1.4.0";
7
7
  export declare const contentType = "application/x-ndjson";
8
8
  export type WireOptions = Omit<ShellExecOptions, 'onOutput'>;
9
9
  export type ShellResult = Awaited<ReturnType<Shell['exec']>>;
@@ -1,7 +1,7 @@
1
1
  import { ExecutionError, ok, err } from '@earendil-works/pi-durable/env';
2
2
  export const schema = 'boring.remote-shell';
3
3
  export const version = 2;
4
- export const nativeVersion = 'pi-durable@1.2.0';
4
+ export const nativeVersion = 'pi-durable@1.4.0';
5
5
  export const contentType = 'application/x-ndjson';
6
6
  function isRecord(value) {
7
7
  return value !== null && typeof value === 'object' && !Array.isArray(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hachej/boring-execution",
3
- "version": "0.4.26",
3
+ "version": "0.4.28",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",
@@ -52,11 +52,11 @@
52
52
  }
53
53
  },
54
54
  "peerDependencies": {
55
- "@earendil-works/pi-durable": "~1.2.0",
56
- "@earendil-works/chord": "~1.2.0",
55
+ "@earendil-works/pi-durable": "~1.4.0",
56
+ "@earendil-works/chord": "~1.4.0",
57
57
  "just-bash": "^3.6.0",
58
58
  "isomorphic-git": "^1.42.6",
59
- "@hachej/boring-files": "^0.4.26",
59
+ "@hachej/boring-files": "^0.4.28",
60
60
  "zod": "^4.6.5",
61
61
  "@aws-sdk/client-bedrock-agentcore": "^3.1146.0"
62
62
  },