@voidrun/sdk 0.0.14 → 0.0.17
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/README.md +115 -62
- package/dist/CodeInterpreter.d.ts +77 -0
- package/dist/CodeInterpreter.d.ts.map +1 -0
- package/dist/CodeInterpreter.js +323 -0
- package/dist/CodeInterpreter.js.map +1 -0
- package/dist/PtySession.d.ts +1 -1
- package/dist/PtySession.d.ts.map +1 -1
- package/dist/PtySession.js +46 -7
- package/dist/PtySession.js.map +1 -1
- package/dist/Sandbox.d.ts +5 -0
- package/dist/Sandbox.d.ts.map +1 -1
- package/dist/Sandbox.js +5 -0
- package/dist/Sandbox.js.map +1 -1
- package/dist/api-client/apis/AuthenticationApi.d.ts +2 -2
- package/dist/api-client/apis/AuthenticationApi.d.ts.map +1 -1
- package/dist/api-client/apis/AuthenticationApi.js +2 -2
- package/dist/api-client/apis/AuthenticationApi.js.map +1 -1
- package/dist/api-client/apis/ExecutionApi.d.ts +2 -2
- package/dist/api-client/apis/ExecutionApi.d.ts.map +1 -1
- package/dist/api-client/apis/ExecutionApi.js +2 -2
- package/dist/api-client/apis/ExecutionApi.js.map +1 -1
- package/dist/api-client/apis/FileSystemApi.d.ts +2 -2
- package/dist/api-client/apis/FileSystemApi.d.ts.map +1 -1
- package/dist/api-client/apis/FileSystemApi.js +2 -2
- package/dist/api-client/apis/FileSystemApi.js.map +1 -1
- package/dist/api-client/apis/ImagesApi.d.ts +2 -2
- package/dist/api-client/apis/ImagesApi.d.ts.map +1 -1
- package/dist/api-client/apis/ImagesApi.js +2 -2
- package/dist/api-client/apis/ImagesApi.js.map +1 -1
- package/dist/api-client/apis/OrganizationsApi.d.ts +2 -2
- package/dist/api-client/apis/OrganizationsApi.d.ts.map +1 -1
- package/dist/api-client/apis/OrganizationsApi.js +2 -2
- package/dist/api-client/apis/OrganizationsApi.js.map +1 -1
- package/dist/api-client/apis/SandboxesApi.d.ts +2 -2
- package/dist/api-client/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/api-client/apis/SandboxesApi.js +2 -2
- package/dist/api-client/apis/SandboxesApi.js.map +1 -1
- package/dist/api-client/apis/index.d.ts +6 -6
- package/dist/api-client/apis/index.d.ts.map +1 -1
- package/dist/api-client/apis/index.js +6 -6
- package/dist/api-client/apis/index.js.map +1 -1
- package/dist/api-client/index.d.ts +3 -3
- package/dist/api-client/index.d.ts.map +1 -1
- package/dist/api-client/index.js +3 -3
- package/dist/api-client/index.js.map +1 -1
- package/dist/api-client/models/ApiResponseSandbox.d.ts +1 -1
- package/dist/api-client/models/ApiResponseSandbox.d.ts.map +1 -1
- package/dist/api-client/models/ApiResponseSandbox.js +1 -1
- package/dist/api-client/models/ApiResponseSandbox.js.map +1 -1
- package/dist/api-client/models/ApiResponseSandboxesList.d.ts +2 -2
- package/dist/api-client/models/ApiResponseSandboxesList.d.ts.map +1 -1
- package/dist/api-client/models/ApiResponseSandboxesList.js +2 -2
- package/dist/api-client/models/ApiResponseSandboxesList.js.map +1 -1
- package/dist/api-client/models/CreatePTYSession200Response.d.ts +1 -1
- package/dist/api-client/models/CreatePTYSession200Response.d.ts.map +1 -1
- package/dist/api-client/models/CreatePTYSession200Response.js +1 -1
- package/dist/api-client/models/CreatePTYSession200Response.js.map +1 -1
- package/dist/api-client/models/CreateSandbox201Response.d.ts +1 -1
- package/dist/api-client/models/CreateSandbox201Response.d.ts.map +1 -1
- package/dist/api-client/models/CreateSandbox201Response.js +1 -1
- package/dist/api-client/models/CreateSandbox201Response.js.map +1 -1
- package/dist/api-client/models/CreateSandboxRequest.d.ts +8 -0
- package/dist/api-client/models/CreateSandboxRequest.d.ts.map +1 -1
- package/dist/api-client/models/CreateSandboxRequest.js +2 -0
- package/dist/api-client/models/CreateSandboxRequest.js.map +1 -1
- package/dist/api-client/models/ExecResponse.d.ts +1 -1
- package/dist/api-client/models/ExecResponse.d.ts.map +1 -1
- package/dist/api-client/models/ExecResponse.js +1 -1
- package/dist/api-client/models/ExecResponse.js.map +1 -1
- package/dist/api-client/models/GetPTYBuffer200Response.d.ts +1 -1
- package/dist/api-client/models/GetPTYBuffer200Response.d.ts.map +1 -1
- package/dist/api-client/models/GetPTYBuffer200Response.js +1 -1
- package/dist/api-client/models/GetPTYBuffer200Response.js.map +1 -1
- package/dist/api-client/models/ListFiles200Response.d.ts +1 -1
- package/dist/api-client/models/ListFiles200Response.d.ts.map +1 -1
- package/dist/api-client/models/ListFiles200Response.js +1 -1
- package/dist/api-client/models/ListFiles200Response.js.map +1 -1
- package/dist/api-client/models/ListFiles200ResponseData.d.ts +1 -1
- package/dist/api-client/models/ListFiles200ResponseData.d.ts.map +1 -1
- package/dist/api-client/models/ListFiles200ResponseData.js +1 -1
- package/dist/api-client/models/ListFiles200ResponseData.js.map +1 -1
- package/dist/api-client/models/ListPTYSessions200Response.d.ts +1 -1
- package/dist/api-client/models/ListPTYSessions200Response.d.ts.map +1 -1
- package/dist/api-client/models/ListPTYSessions200Response.js +1 -1
- package/dist/api-client/models/ListPTYSessions200Response.js.map +1 -1
- package/dist/api-client/models/ListPTYSessions200ResponseAllOfData.d.ts +1 -1
- package/dist/api-client/models/ListPTYSessions200ResponseAllOfData.d.ts.map +1 -1
- package/dist/api-client/models/ListPTYSessions200ResponseAllOfData.js +1 -1
- package/dist/api-client/models/ListPTYSessions200ResponseAllOfData.js.map +1 -1
- package/dist/api-client/models/RegisterResponse.d.ts +1 -1
- package/dist/api-client/models/RegisterResponse.d.ts.map +1 -1
- package/dist/api-client/models/RegisterResponse.js +1 -1
- package/dist/api-client/models/RegisterResponse.js.map +1 -1
- package/dist/api-client/models/Sandbox.d.ts +8 -0
- package/dist/api-client/models/Sandbox.d.ts.map +1 -1
- package/dist/api-client/models/Sandbox.js +2 -0
- package/dist/api-client/models/Sandbox.js.map +1 -1
- package/dist/api-client/models/StartWatch200Response.d.ts +1 -1
- package/dist/api-client/models/StartWatch200Response.d.ts.map +1 -1
- package/dist/api-client/models/StartWatch200Response.js +1 -1
- package/dist/api-client/models/StartWatch200Response.js.map +1 -1
- package/dist/api-client/models/index.d.ts +44 -44
- package/dist/api-client/models/index.d.ts.map +1 -1
- package/dist/api-client/models/index.js +44 -44
- package/dist/api-client/models/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/runtime.js +3 -5
- package/dist/utils/runtime.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
export * from './APIKeyResponse
|
|
2
|
-
export * from './ApiResponseSandbox
|
|
3
|
-
export * from './ApiResponseSandboxesList
|
|
4
|
-
export * from './ApiResponseSandboxesListMeta
|
|
5
|
-
export * from './CompressRequest
|
|
6
|
-
export * from './CreateFileRequest
|
|
7
|
-
export * from './CreateImageRequest
|
|
8
|
-
export * from './CreatePTYSession200Response
|
|
9
|
-
export * from './CreatePTYSession200ResponseAllOfData
|
|
10
|
-
export * from './CreatePTYSessionRequest
|
|
11
|
-
export * from './CreateSandbox201Response
|
|
12
|
-
export * from './CreateSandboxRequest
|
|
13
|
-
export * from './DiskUsage
|
|
14
|
-
export * from './ErrorResponse
|
|
15
|
-
export * from './ExecRequest
|
|
16
|
-
export * from './ExecResponse
|
|
17
|
-
export * from './ExecResponseData
|
|
18
|
-
export * from './ExecuteInSessionRequest
|
|
19
|
-
export * from './ExtractRequest
|
|
20
|
-
export * from './FileEvent
|
|
21
|
-
export * from './FileInfo
|
|
22
|
-
export * from './FileStats
|
|
23
|
-
export * from './GenerateAPIKeyRequest
|
|
24
|
-
export * from './GeneratedAPIKeyResponse
|
|
25
|
-
export * from './GetPTYBuffer200Response
|
|
26
|
-
export * from './GetPTYBuffer200ResponseAllOfData
|
|
27
|
-
export * from './Image
|
|
28
|
-
export * from './ListFiles200Response
|
|
29
|
-
export * from './ListFiles200ResponseData
|
|
30
|
-
export * from './ListPTYSessions200Response
|
|
31
|
-
export * from './ListPTYSessions200ResponseAllOfData
|
|
32
|
-
export * from './Organization
|
|
33
|
-
export * from './PTYSessionInfo
|
|
34
|
-
export * from './RegisterRequest
|
|
35
|
-
export * from './RegisterResponse
|
|
36
|
-
export * from './RegisterResponseData
|
|
37
|
-
export * from './ResizeTerminalRequest
|
|
38
|
-
export * from './RestoreSandboxRequest
|
|
39
|
-
export * from './Sandbox
|
|
40
|
-
export * from './Snapshot
|
|
41
|
-
export * from './StartWatch200Response
|
|
42
|
-
export * from './StartWatch200ResponseData
|
|
43
|
-
export * from './StartWatchRequest
|
|
44
|
-
export * from './SuccessResponse
|
|
1
|
+
export * from './APIKeyResponse';
|
|
2
|
+
export * from './ApiResponseSandbox';
|
|
3
|
+
export * from './ApiResponseSandboxesList';
|
|
4
|
+
export * from './ApiResponseSandboxesListMeta';
|
|
5
|
+
export * from './CompressRequest';
|
|
6
|
+
export * from './CreateFileRequest';
|
|
7
|
+
export * from './CreateImageRequest';
|
|
8
|
+
export * from './CreatePTYSession200Response';
|
|
9
|
+
export * from './CreatePTYSession200ResponseAllOfData';
|
|
10
|
+
export * from './CreatePTYSessionRequest';
|
|
11
|
+
export * from './CreateSandbox201Response';
|
|
12
|
+
export * from './CreateSandboxRequest';
|
|
13
|
+
export * from './DiskUsage';
|
|
14
|
+
export * from './ErrorResponse';
|
|
15
|
+
export * from './ExecRequest';
|
|
16
|
+
export * from './ExecResponse';
|
|
17
|
+
export * from './ExecResponseData';
|
|
18
|
+
export * from './ExecuteInSessionRequest';
|
|
19
|
+
export * from './ExtractRequest';
|
|
20
|
+
export * from './FileEvent';
|
|
21
|
+
export * from './FileInfo';
|
|
22
|
+
export * from './FileStats';
|
|
23
|
+
export * from './GenerateAPIKeyRequest';
|
|
24
|
+
export * from './GeneratedAPIKeyResponse';
|
|
25
|
+
export * from './GetPTYBuffer200Response';
|
|
26
|
+
export * from './GetPTYBuffer200ResponseAllOfData';
|
|
27
|
+
export * from './Image';
|
|
28
|
+
export * from './ListFiles200Response';
|
|
29
|
+
export * from './ListFiles200ResponseData';
|
|
30
|
+
export * from './ListPTYSessions200Response';
|
|
31
|
+
export * from './ListPTYSessions200ResponseAllOfData';
|
|
32
|
+
export * from './Organization';
|
|
33
|
+
export * from './PTYSessionInfo';
|
|
34
|
+
export * from './RegisterRequest';
|
|
35
|
+
export * from './RegisterResponse';
|
|
36
|
+
export * from './RegisterResponseData';
|
|
37
|
+
export * from './ResizeTerminalRequest';
|
|
38
|
+
export * from './RestoreSandboxRequest';
|
|
39
|
+
export * from './Sandbox';
|
|
40
|
+
export * from './Snapshot';
|
|
41
|
+
export * from './StartWatch200Response';
|
|
42
|
+
export * from './StartWatch200ResponseData';
|
|
43
|
+
export * from './StartWatchRequest';
|
|
44
|
+
export * from './SuccessResponse';
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './APIKeyResponse
|
|
4
|
-
export * from './ApiResponseSandbox
|
|
5
|
-
export * from './ApiResponseSandboxesList
|
|
6
|
-
export * from './ApiResponseSandboxesListMeta
|
|
7
|
-
export * from './CompressRequest
|
|
8
|
-
export * from './CreateFileRequest
|
|
9
|
-
export * from './CreateImageRequest
|
|
10
|
-
export * from './CreatePTYSession200Response
|
|
11
|
-
export * from './CreatePTYSession200ResponseAllOfData
|
|
12
|
-
export * from './CreatePTYSessionRequest
|
|
13
|
-
export * from './CreateSandbox201Response
|
|
14
|
-
export * from './CreateSandboxRequest
|
|
15
|
-
export * from './DiskUsage
|
|
16
|
-
export * from './ErrorResponse
|
|
17
|
-
export * from './ExecRequest
|
|
18
|
-
export * from './ExecResponse
|
|
19
|
-
export * from './ExecResponseData
|
|
20
|
-
export * from './ExecuteInSessionRequest
|
|
21
|
-
export * from './ExtractRequest
|
|
22
|
-
export * from './FileEvent
|
|
23
|
-
export * from './FileInfo
|
|
24
|
-
export * from './FileStats
|
|
25
|
-
export * from './GenerateAPIKeyRequest
|
|
26
|
-
export * from './GeneratedAPIKeyResponse
|
|
27
|
-
export * from './GetPTYBuffer200Response
|
|
28
|
-
export * from './GetPTYBuffer200ResponseAllOfData
|
|
29
|
-
export * from './Image
|
|
30
|
-
export * from './ListFiles200Response
|
|
31
|
-
export * from './ListFiles200ResponseData
|
|
32
|
-
export * from './ListPTYSessions200Response
|
|
33
|
-
export * from './ListPTYSessions200ResponseAllOfData
|
|
34
|
-
export * from './Organization
|
|
35
|
-
export * from './PTYSessionInfo
|
|
36
|
-
export * from './RegisterRequest
|
|
37
|
-
export * from './RegisterResponse
|
|
38
|
-
export * from './RegisterResponseData
|
|
39
|
-
export * from './ResizeTerminalRequest
|
|
40
|
-
export * from './RestoreSandboxRequest
|
|
41
|
-
export * from './Sandbox
|
|
42
|
-
export * from './Snapshot
|
|
43
|
-
export * from './StartWatch200Response
|
|
44
|
-
export * from './StartWatch200ResponseData
|
|
45
|
-
export * from './StartWatchRequest
|
|
46
|
-
export * from './SuccessResponse
|
|
3
|
+
export * from './APIKeyResponse';
|
|
4
|
+
export * from './ApiResponseSandbox';
|
|
5
|
+
export * from './ApiResponseSandboxesList';
|
|
6
|
+
export * from './ApiResponseSandboxesListMeta';
|
|
7
|
+
export * from './CompressRequest';
|
|
8
|
+
export * from './CreateFileRequest';
|
|
9
|
+
export * from './CreateImageRequest';
|
|
10
|
+
export * from './CreatePTYSession200Response';
|
|
11
|
+
export * from './CreatePTYSession200ResponseAllOfData';
|
|
12
|
+
export * from './CreatePTYSessionRequest';
|
|
13
|
+
export * from './CreateSandbox201Response';
|
|
14
|
+
export * from './CreateSandboxRequest';
|
|
15
|
+
export * from './DiskUsage';
|
|
16
|
+
export * from './ErrorResponse';
|
|
17
|
+
export * from './ExecRequest';
|
|
18
|
+
export * from './ExecResponse';
|
|
19
|
+
export * from './ExecResponseData';
|
|
20
|
+
export * from './ExecuteInSessionRequest';
|
|
21
|
+
export * from './ExtractRequest';
|
|
22
|
+
export * from './FileEvent';
|
|
23
|
+
export * from './FileInfo';
|
|
24
|
+
export * from './FileStats';
|
|
25
|
+
export * from './GenerateAPIKeyRequest';
|
|
26
|
+
export * from './GeneratedAPIKeyResponse';
|
|
27
|
+
export * from './GetPTYBuffer200Response';
|
|
28
|
+
export * from './GetPTYBuffer200ResponseAllOfData';
|
|
29
|
+
export * from './Image';
|
|
30
|
+
export * from './ListFiles200Response';
|
|
31
|
+
export * from './ListFiles200ResponseData';
|
|
32
|
+
export * from './ListPTYSessions200Response';
|
|
33
|
+
export * from './ListPTYSessions200ResponseAllOfData';
|
|
34
|
+
export * from './Organization';
|
|
35
|
+
export * from './PTYSessionInfo';
|
|
36
|
+
export * from './RegisterRequest';
|
|
37
|
+
export * from './RegisterResponse';
|
|
38
|
+
export * from './RegisterResponseData';
|
|
39
|
+
export * from './ResizeTerminalRequest';
|
|
40
|
+
export * from './RestoreSandboxRequest';
|
|
41
|
+
export * from './Sandbox';
|
|
42
|
+
export * from './Snapshot';
|
|
43
|
+
export * from './StartWatch200Response';
|
|
44
|
+
export * from './StartWatch200ResponseData';
|
|
45
|
+
export * from './StartWatchRequest';
|
|
46
|
+
export * from './SuccessResponse';
|
|
47
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-client/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-client/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,9 @@ export type { FileEntry } from "./types.js";
|
|
|
4
4
|
export { PTY } from "./PTY.js";
|
|
5
5
|
export { PtySession } from "./PtySession.js";
|
|
6
6
|
export { FileWatcher } from "./FileWatcher.js";
|
|
7
|
+
export { CodeInterpreter } from "./CodeInterpreter.js";
|
|
7
8
|
export type { PtyOptions, PtyResize, PtySessionInfo, FileWatchOptions, FileChangeEvent } from "./types.js";
|
|
9
|
+
export type { SupportedLanguage, CodeExecutionOptions, CodeExecutionResult } from "./CodeInterpreter.js";
|
|
8
10
|
export declare class VoidRun {
|
|
9
11
|
private readonly apiKey;
|
|
10
12
|
private readonly baseUrl;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3D,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3D,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC3G,YAAY,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEzG,qBAAa,OAAO;IAChB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IACvC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;gBAGhC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,aAAa;IAuB/C,aAAa,CAAC,OAAO,EAAE,cAAc;IAoBrC,UAAU,CAAC,EAAE,EAAE,MAAM;IAQrB,aAAa;;;;IAQb,aAAa,CAAC,EAAE,EAAE,MAAM;CAKjC"}
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { wrapRequest } from "./utils/runtime.js";
|
|
|
6
6
|
export { PTY } from "./PTY.js";
|
|
7
7
|
export { PtySession } from "./PtySession.js";
|
|
8
8
|
export { FileWatcher } from "./FileWatcher.js";
|
|
9
|
+
export { CodeInterpreter } from "./CodeInterpreter.js";
|
|
9
10
|
export class VoidRun {
|
|
10
11
|
apiKey;
|
|
11
12
|
baseUrl;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,YAAY,EAAE,aAAa,EAAuE,MAAM,uBAAuB,CAAC;AAC5L,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMjD,sBAAsB;AACtB,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C,QAAQ,CAAC,IAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;IAED,KAAK,CAAC,aAAa;QACf,MAAM,QAAQ,GAAG,MAAM,WAAW,CAA2B,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;QAChG,OAAO;YACH,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAU,EAAE,EAAE,CAAC,IAAI,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE;YACnF,IAAI,EAAE,QAAQ,EAAE,IAAI,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE;SAC1E,CAAA;IACL,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,EAAU;QAC1B,MAAM,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC;YAC9C,EAAE,EAAE,EAAE;SACT,CAAC,CAAC,CAAC;IACR,CAAC;CACJ"}
|
package/dist/utils/runtime.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ResponseError } from "../api-client/index.js";
|
|
2
2
|
class RuntimeError extends Error {
|
|
3
|
-
|
|
4
|
-
constructor(message, cause) {
|
|
3
|
+
constructor(message) {
|
|
5
4
|
super(message);
|
|
6
|
-
this.cause = cause;
|
|
7
5
|
}
|
|
8
6
|
}
|
|
9
7
|
export async function wrapRequest(promise) {
|
|
@@ -32,11 +30,11 @@ export async function wrapRequest(promise) {
|
|
|
32
30
|
const message = bodyMessage
|
|
33
31
|
? `Request failed (${status} ${statusText}): ${bodyMessage}`
|
|
34
32
|
: `Request failed (${status} ${statusText})`;
|
|
35
|
-
throw new RuntimeError(message
|
|
33
|
+
throw new RuntimeError(message);
|
|
36
34
|
}
|
|
37
35
|
// Handle network errors (e.g., server down)
|
|
38
36
|
const fallback = err instanceof Error ? err.message : 'Network or unexpected error';
|
|
39
|
-
throw new RuntimeError(`Network error: ${fallback}
|
|
37
|
+
throw new RuntimeError(`Network error: ${fallback}`);
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
//# sourceMappingURL=runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/utils/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,YAAa,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/utils/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,YAAa,SAAQ,KAAK;IAC5B,YAAY,OAAe;QACvB,KAAK,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;CACJ;AAED,MAAM,CAAC,KAAK,UAAU,WAAW,CAAI,OAAmB;IACpD,IAAI,CAAC;QACD,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC;QAC3B,OAAO,IAAI,CAAA;IACf,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAChB,IAAI,GAAG,YAAY,aAAa,EAAE,CAAC;YAC/B,MAAM,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC;YACnC,MAAM,UAAU,GAAG,GAAG,CAAC,QAAQ,CAAC,UAAU,IAAI,YAAY,CAAC;YAC3D,IAAI,WAA+B,CAAC;YAEpC,IAAI,CAAC;gBACD,MAAM,SAAS,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;gBAC5C,WAAW,GAAG,SAAS,EAAE,KAAK,IAAI,SAAS,EAAE,OAAO,CAAC;YACzD,CAAC;YAAC,MAAM,CAAC;gBACL,IAAI,CAAC;oBACD,MAAM,SAAS,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,I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