@mastra/platform-workspace 1.2.1 → 1.3.0-alpha.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 +11 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/sandbox.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Buffer } from "buffer";
|
|
2
2
|
import nodePath from "path";
|
|
3
|
-
import { FileExistsError, FileNotFoundError, MastraFilesystem, MastraSandbox, ProcessHandle, SandboxNotReadyError, SandboxProcessManager, WorkspaceReadOnlyError } from "@mastra/core/workspace";
|
|
3
|
+
import { FileExistsError, FileNotFoundError, MastraFilesystem, MastraSandbox, ProcessHandle, SandboxNotReadyError, SandboxProcessManager, UnsupportedStdinCloseError, WorkspaceReadOnlyError } from "@mastra/core/workspace";
|
|
4
4
|
//#region src/client.ts
|
|
5
5
|
const DEFAULT_PROXY_URL = "https://workspaces.mastra.ai";
|
|
6
6
|
/**
|
|
@@ -800,6 +800,9 @@ var PlatformProcessHandle = class extends ProcessHandle {
|
|
|
800
800
|
async sendStdin() {
|
|
801
801
|
throw new Error("Platform sandbox command execution does not support stdin");
|
|
802
802
|
}
|
|
803
|
+
async closeStdin() {
|
|
804
|
+
throw new UnsupportedStdinCloseError("Platform sandbox command execution does not support closing stdin");
|
|
805
|
+
}
|
|
803
806
|
};
|
|
804
807
|
var PlatformProcessManager = class extends SandboxProcessManager {
|
|
805
808
|
spawnCounter = 0;
|