deltabox-lite 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/index.d.ts +7 -0
  2. 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deltabox-lite",
3
- "version": "0.2.0",
3
+ "version": "0.3.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.2.0",
28
- "deltabox-lite-darwin-x64": "0.2.0",
29
- "deltabox-lite-linux-arm64": "0.2.0",
30
- "deltabox-lite-linux-x64": "0.2.0",
31
- "deltabox-lite-windows-x64": "0.2.0"
27
+ "deltabox-lite-darwin-arm64": "0.3.0",
28
+ "deltabox-lite-darwin-x64": "0.3.0",
29
+ "deltabox-lite-linux-arm64": "0.3.0",
30
+ "deltabox-lite-linux-x64": "0.3.0",
31
+ "deltabox-lite-windows-x64": "0.3.0"
32
32
  }
33
33
  }