@fastgpt-sdk/sandbox-adapter 0.0.33 → 0.0.34

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/dist/index.cjs CHANGED
@@ -48279,7 +48279,7 @@ class OpenSandboxAdapter extends BaseSandboxAdapter {
48279
48279
  async stop() {
48280
48280
  try {
48281
48281
  this._status = { state: "Stopping" };
48282
- await this.sandbox.pause();
48282
+ await this.sandbox.kill();
48283
48283
  this._status = { state: "Stopped" };
48284
48284
  } catch (error) {
48285
48285
  const message = error instanceof import_opensandbox.SandboxException ? error.error.message : undefined;
package/dist/index.js CHANGED
@@ -48263,7 +48263,7 @@ class OpenSandboxAdapter extends BaseSandboxAdapter {
48263
48263
  async stop() {
48264
48264
  try {
48265
48265
  this._status = { state: "Stopping" };
48266
- await this.sandbox.pause();
48266
+ await this.sandbox.kill();
48267
48267
  this._status = { state: "Stopped" };
48268
48268
  } catch (error) {
48269
48269
  const message = error instanceof import_opensandbox.SandboxException ? error.error.message : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastgpt-sdk/sandbox-adapter",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "Unified abstraction layer for cloud sandbox providers with adapter pattern and feature polyfilling",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",