deltabox-lite 0.1.1 → 0.1.2
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/index.d.ts +3 -0
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export interface NativeExecResult {
|
|
|
51
51
|
stderr: string
|
|
52
52
|
duration_ms: number
|
|
53
53
|
truncated: boolean
|
|
54
|
+
network_denials: Array<{ target: string; reason: string }>
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
/**
|
|
@@ -112,6 +113,7 @@ export interface NativeAbortResult {
|
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
export interface NativeDeltaboxInstance {
|
|
116
|
+
networkApprovalsVersion(): number
|
|
115
117
|
startSession(
|
|
116
118
|
policy?: string,
|
|
117
119
|
durability?: 'fast' | 'strict',
|
|
@@ -128,6 +130,7 @@ export interface NativeDeltaboxInstance {
|
|
|
128
130
|
environment?: NativeEnvironmentEntry[],
|
|
129
131
|
label?: string,
|
|
130
132
|
executionProfile?: NativeExecutionProfile,
|
|
133
|
+
networkAllow?: string[],
|
|
131
134
|
): Promise<NativeExecResult>
|
|
132
135
|
readFile(sessionId: string, path: string): Promise<Buffer>
|
|
133
136
|
writeFile(sessionId: string, path: string, content: Buffer): Promise<void>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deltabox-lite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Native sandbox runtime with diff, commit, and abort for AI coding agents",
|
|
6
6
|
"repository": "https://github.com/delta-box/deltabox-lite",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"deltabox-lite-darwin-arm64": "0.1.
|
|
27
|
-
"deltabox-lite-darwin-x64": "0.1.
|
|
28
|
-
"deltabox-lite-linux-arm64": "0.1.
|
|
29
|
-
"deltabox-lite-linux-x64": "0.1.
|
|
26
|
+
"deltabox-lite-darwin-arm64": "0.1.2",
|
|
27
|
+
"deltabox-lite-darwin-x64": "0.1.2",
|
|
28
|
+
"deltabox-lite-linux-arm64": "0.1.2",
|
|
29
|
+
"deltabox-lite-linux-x64": "0.1.2"
|
|
30
30
|
}
|
|
31
31
|
}
|