experimental-ash 0.44.0 → 0.45.0
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/CHANGELOG.md +6 -0
- package/dist/src/compiled/.vendor-stamp.json +2 -2
- package/dist/src/compiled/@vercel/sandbox/index.d.ts +12 -0
- package/dist/src/compiled/@vercel/sandbox/index.js +5 -5
- package/dist/src/compiled/@vercel/sandbox/package.json +1 -1
- package/dist/src/compiled/@workflow/core/runtime.js +13 -13
- package/dist/src/compiled/_chunks/node/{auth-CVVvWjaK.js → auth-BsyzphzW.js} +1 -1
- package/dist/src/compiled/_chunks/node/{version-nR4RSpFw.js → version-BGue04qw.js} +1 -1
- package/dist/src/compiled/just-bash/index.d.ts +8 -0
- package/dist/src/context/dynamic-skill-lifecycle.d.ts +4 -3
- package/dist/src/context/dynamic-skill-lifecycle.js +1 -1
- package/dist/src/context/keys.d.ts +11 -4
- package/dist/src/execution/sandbox/bindings/local.js +1 -1
- package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
- package/dist/src/execution/sandbox/session.js +1 -1
- package/dist/src/harness/tool-loop.js +1 -1
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/packages/ash-scaffold/src/channels.js +1 -1
- package/dist/src/public/definitions/sandbox.d.ts +1 -1
- package/dist/src/shared/sandbox-session.d.ts +21 -0
- package/dist/src/shared/skill-package.d.ts +7 -0
- package/dist/src/shared/skill-package.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# experimental-ash
|
|
2
2
|
|
|
3
|
+
## 0.45.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8672b13: Dynamic skills now clear stale model announcements when removed, reject duplicate dynamic names before materializing, and remove stale skill package directories through the Ash sandbox file API. Sandbox sessions also expose `removePath()` for deleting files or directory trees.
|
|
8
|
+
|
|
3
9
|
## 0.44.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"@standard-schema/spec": "1.1.0",
|
|
22
22
|
"turndown": "7.2.4",
|
|
23
23
|
"@vercel/oidc": "3.5.0",
|
|
24
|
-
"@vercel/sandbox": "2.0
|
|
24
|
+
"@vercel/sandbox": "2.1.0",
|
|
25
25
|
"@workflow/core": "5.0.0-beta.10",
|
|
26
26
|
"@workflow/errors": "5.0.0-beta.6",
|
|
27
27
|
"zod": "4.4.3",
|
|
28
28
|
"zod-validation-error": "5.0.0"
|
|
29
29
|
},
|
|
30
|
-
"scriptHash": "
|
|
30
|
+
"scriptHash": "3ca25d8480d76331751f15b85150bcb6cea056aa28c4fc04012dddcdaccae3e5"
|
|
31
31
|
}
|
|
@@ -63,6 +63,17 @@ export interface SandboxRunCommandParams {
|
|
|
63
63
|
sudo?: boolean | undefined;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
export interface SandboxRmOptions {
|
|
67
|
+
force?: boolean | undefined;
|
|
68
|
+
recursive?: boolean | undefined;
|
|
69
|
+
signal?: AbortSignal | undefined;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare class FileSystem {
|
|
73
|
+
rm(path: string, options?: SandboxRmOptions): Promise<void>;
|
|
74
|
+
unlink(path: string, options?: { signal?: AbortSignal | undefined }): Promise<void>;
|
|
75
|
+
}
|
|
76
|
+
|
|
66
77
|
export interface SandboxCommandLogMessage {
|
|
67
78
|
data: string;
|
|
68
79
|
stream: "stdout" | "stderr";
|
|
@@ -89,6 +100,7 @@ export type SandboxCommandResult = SandboxCommandFinished;
|
|
|
89
100
|
|
|
90
101
|
export declare class Sandbox {
|
|
91
102
|
currentSnapshotId?: string | undefined;
|
|
103
|
+
readonly fs: FileSystem;
|
|
92
104
|
id: string;
|
|
93
105
|
name: string;
|
|
94
106
|
networkPolicy?: NetworkPolicy | undefined;
|