@poe-platform/safe-js 0.1.789 → 0.1.791

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,2 +1,9 @@
1
1
  export type SpawnEnvironment = Record<string, string | undefined>;
2
+ export interface SafeBashEnvOptions {
3
+ safeBash?: boolean;
4
+ cwd?: string;
5
+ safeBashBin?: string;
6
+ }
7
+ export declare function resolveSafeBashBinaryPath(overrideBin?: string): string;
8
+ export declare function resolveSafeBashEnvOverrides(options: SafeBashEnvOptions): Record<string, string>;
2
9
  export declare function mergeSpawnEnvironment(...sources: Array<SpawnEnvironment | NodeJS.ProcessEnv | undefined>): Record<string, string>;
@@ -128,6 +128,8 @@ export interface SpawnOptions {
128
128
  mountPoeCode?: boolean;
129
129
  /** Override runner workspace sync behavior. */
130
130
  runnerSync?: RuntimeOverrideOptions["runnerSync"];
131
+ /** Opt-in: use workspace-backed safe-bash as the agent SHELL (default: false) */
132
+ safeBash?: boolean;
131
133
  }
132
134
  export interface SpawnUsage {
133
135
  inputTokens: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poe-platform/safe-js",
3
- "version": "0.1.789",
3
+ "version": "0.1.791",
4
4
  "description": "Budgeted JavaScript interpreter with explicit host capabilities and resumable execution",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@poe-platform/safe-fs": "0.1.789",
61
+ "@poe-platform/safe-fs": "0.1.791",
62
62
  "@petamoriken/float16": "^3.9.3",
63
63
  "@noble/hashes": "2.4.0",
64
64
  "@formatjs/intl-localematcher": "0.8.13",