deltabox-lite 0.2.0 → 0.4.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/index.d.ts +17 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -122,6 +122,13 @@ export interface NativeDeltaboxInstance {
|
|
|
122
122
|
requireFilesystemMode?: boolean,
|
|
123
123
|
): Promise<NativeSessionInfo>
|
|
124
124
|
stopSession(sessionId: string): Promise<NativeSessionInfo>
|
|
125
|
+
/**
|
|
126
|
+
* Take ownership of a session whose owner process died (an orphan). Its
|
|
127
|
+
* pending changes are kept; commit or abort them, then stop the session.
|
|
128
|
+
*/
|
|
129
|
+
adoptSession(sessionId: string): Promise<NativeSessionInfo>
|
|
130
|
+
/** Running sessions of this project whose owner process died. */
|
|
131
|
+
orphanedSessions(): Promise<string[]>
|
|
125
132
|
sessionStatus(sessionId: string): Promise<NativeSessionInfo>
|
|
126
133
|
exec(
|
|
127
134
|
sessionId: string,
|
|
@@ -136,6 +143,16 @@ export interface NativeDeltaboxInstance {
|
|
|
136
143
|
* among executions that are still running.
|
|
137
144
|
*/
|
|
138
145
|
execId?: string,
|
|
146
|
+
/**
|
|
147
|
+
* Exact absolute paths this command may read and execute (rx). Requires
|
|
148
|
+
* `filesystem.allow_approval` in the session policy; never persisted.
|
|
149
|
+
*/
|
|
150
|
+
fsReadAllow?: string[],
|
|
151
|
+
/**
|
|
152
|
+
* Exact absolute paths this command may read, write and execute (rwx).
|
|
153
|
+
* Writes outside the workspace cannot be rolled back.
|
|
154
|
+
*/
|
|
155
|
+
fsWriteAllow?: string[],
|
|
139
156
|
): Promise<NativeExecResult>
|
|
140
157
|
/**
|
|
141
158
|
* End the command started by `exec` with this `execId`: its whole process
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deltabox-lite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"README.md"
|
|
25
25
|
],
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"deltabox-lite-darwin-arm64": "0.
|
|
28
|
-
"deltabox-lite-darwin-x64": "0.
|
|
29
|
-
"deltabox-lite-linux-arm64": "0.
|
|
30
|
-
"deltabox-lite-linux-x64": "0.
|
|
31
|
-
"deltabox-lite-windows-x64": "0.
|
|
27
|
+
"deltabox-lite-darwin-arm64": "0.4.0",
|
|
28
|
+
"deltabox-lite-darwin-x64": "0.4.0",
|
|
29
|
+
"deltabox-lite-linux-arm64": "0.4.0",
|
|
30
|
+
"deltabox-lite-linux-x64": "0.4.0",
|
|
31
|
+
"deltabox-lite-windows-x64": "0.4.0"
|
|
32
32
|
}
|
|
33
33
|
}
|