@voidrun/sdk 0.0.15 → 0.0.18
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 +57 -0
- package/dist/CodeInterpreter.d.ts.map +1 -0
- package/dist/CodeInterpreter.js +231 -0
- package/dist/CodeInterpreter.js.map +1 -0
- package/dist/Commands.d.ts +62 -0
- package/dist/Commands.d.ts.map +1 -0
- package/dist/Commands.js +179 -0
- package/dist/Commands.js.map +1 -0
- package/dist/PtySession.d.ts +1 -1
- package/dist/PtySession.d.ts.map +1 -1
- package/dist/PtySession.js +7 -7
- package/dist/PtySession.js.map +1 -1
- package/dist/Sandbox.d.ts +12 -2
- package/dist/Sandbox.d.ts.map +1 -1
- package/dist/Sandbox.js +98 -2
- 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 +85 -2
- package/dist/api-client/apis/ExecutionApi.d.ts.map +1 -1
- package/dist/api-client/apis/ExecutionApi.js +223 -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/CommandKillResponse.d.ts +39 -0
- package/dist/api-client/models/CommandKillResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandKillResponse.js +44 -0
- package/dist/api-client/models/CommandKillResponse.js.map +1 -0
- package/dist/api-client/models/CommandListResponse.d.ts +40 -0
- package/dist/api-client/models/CommandListResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandListResponse.js +45 -0
- package/dist/api-client/models/CommandListResponse.js.map +1 -0
- package/dist/api-client/models/CommandRunResponse.d.ts +45 -0
- package/dist/api-client/models/CommandRunResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandRunResponse.js +46 -0
- package/dist/api-client/models/CommandRunResponse.js.map +1 -0
- package/dist/api-client/models/CommandWaitResponse.d.ts +45 -0
- package/dist/api-client/models/CommandWaitResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandWaitResponse.js +46 -0
- package/dist/api-client/models/CommandWaitResponse.js.map +1 -0
- 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/ExecRequest.d.ts +7 -1
- package/dist/api-client/models/ExecRequest.d.ts.map +1 -1
- package/dist/api-client/models/ExecRequest.js +2 -0
- package/dist/api-client/models/ExecRequest.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/KillBackgroundProcessRequest.d.ts +33 -0
- package/dist/api-client/models/KillBackgroundProcessRequest.d.ts.map +1 -0
- package/dist/api-client/models/KillBackgroundProcessRequest.js +44 -0
- package/dist/api-client/models/KillBackgroundProcessRequest.js.map +1 -0
- 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/ProcessInfo.d.ts +57 -0
- package/dist/api-client/models/ProcessInfo.d.ts.map +1 -0
- package/dist/api-client/models/ProcessInfo.js +50 -0
- package/dist/api-client/models/ProcessInfo.js.map +1 -0
- 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/RunBackgroundCommandRequest.d.ts +53 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.d.ts.map +1 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.js +50 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.js.map +1 -0
- 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 +51 -44
- package/dist/api-client/models/index.d.ts.map +1 -1
- package/dist/api-client/models/index.js +51 -44
- package/dist/api-client/models/index.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -44,6 +44,7 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
45
45
|
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
46
46
|
'orgId': json['orgId'] == null ? undefined : json['orgId'],
|
|
47
|
+
'envVars': json['envVars'] == null ? undefined : json['envVars'],
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export function SandboxToJSON(json) {
|
|
@@ -64,6 +65,7 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
65
|
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
65
66
|
'createdBy': value['createdBy'],
|
|
66
67
|
'orgId': value['orgId'],
|
|
68
|
+
'envVars': value['envVars'],
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
71
|
//# sourceMappingURL=Sandbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sandbox.js","sourceRoot":"","sources":["../../../src/api-client/models/Sandbox.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"Sandbox.js","sourceRoot":"","sources":["../../../src/api-client/models/Sandbox.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACp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AC;QACzB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE;QAC/F,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { StartWatch200ResponseData } from './StartWatch200ResponseData
|
|
12
|
+
import type { StartWatch200ResponseData } from './StartWatch200ResponseData';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartWatch200Response.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/StartWatch200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"StartWatch200Response.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/StartWatch200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,yBAAyB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { StartWatch200ResponseDataFromJSON, StartWatch200ResponseDataToJSON, } from './StartWatch200ResponseData
|
|
14
|
+
import { StartWatch200ResponseDataFromJSON, StartWatch200ResponseDataToJSON, } from './StartWatch200ResponseData';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the StartWatch200Response interface.
|
|
17
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartWatch200Response.js","sourceRoot":"","sources":["../../../src/api-client/models/StartWatch200Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,iCAAiC,EAEjC,+BAA+B,GAElC,MAAM,
|
|
1
|
+
{"version":3,"file":"StartWatch200Response.js","sourceRoot":"","sources":["../../../src/api-client/models/StartWatch200Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,iCAAiC,EAEjC,+BAA+B,GAElC,MAAM,6BAA6B,CAAC;AA4BrC;;GAEG;AACH,MAAM,UAAU,+BAA+B,CAAC,KAAa;IACzD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iCAAiC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC7F,CAAC;AACN,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,MAAM,EAAE,+BAA+B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACzD,CAAC;AACN,CAAC"}
|
|
@@ -1,45 +1,52 @@
|
|
|
1
|
-
export * from './APIKeyResponse
|
|
2
|
-
export * from './ApiResponseSandbox
|
|
3
|
-
export * from './ApiResponseSandboxesList
|
|
4
|
-
export * from './ApiResponseSandboxesListMeta
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './
|
|
35
|
-
export * from './
|
|
36
|
-
export * from './
|
|
37
|
-
export * from './
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
1
|
+
export * from './APIKeyResponse';
|
|
2
|
+
export * from './ApiResponseSandbox';
|
|
3
|
+
export * from './ApiResponseSandboxesList';
|
|
4
|
+
export * from './ApiResponseSandboxesListMeta';
|
|
5
|
+
export * from './CommandKillResponse';
|
|
6
|
+
export * from './CommandListResponse';
|
|
7
|
+
export * from './CommandRunResponse';
|
|
8
|
+
export * from './CommandWaitResponse';
|
|
9
|
+
export * from './CompressRequest';
|
|
10
|
+
export * from './CreateFileRequest';
|
|
11
|
+
export * from './CreateImageRequest';
|
|
12
|
+
export * from './CreatePTYSession200Response';
|
|
13
|
+
export * from './CreatePTYSession200ResponseAllOfData';
|
|
14
|
+
export * from './CreatePTYSessionRequest';
|
|
15
|
+
export * from './CreateSandbox201Response';
|
|
16
|
+
export * from './CreateSandboxRequest';
|
|
17
|
+
export * from './DiskUsage';
|
|
18
|
+
export * from './ErrorResponse';
|
|
19
|
+
export * from './ExecRequest';
|
|
20
|
+
export * from './ExecResponse';
|
|
21
|
+
export * from './ExecResponseData';
|
|
22
|
+
export * from './ExecuteInSessionRequest';
|
|
23
|
+
export * from './ExtractRequest';
|
|
24
|
+
export * from './FileEvent';
|
|
25
|
+
export * from './FileInfo';
|
|
26
|
+
export * from './FileStats';
|
|
27
|
+
export * from './GenerateAPIKeyRequest';
|
|
28
|
+
export * from './GeneratedAPIKeyResponse';
|
|
29
|
+
export * from './GetPTYBuffer200Response';
|
|
30
|
+
export * from './GetPTYBuffer200ResponseAllOfData';
|
|
31
|
+
export * from './Image';
|
|
32
|
+
export * from './KillBackgroundProcessRequest';
|
|
33
|
+
export * from './ListFiles200Response';
|
|
34
|
+
export * from './ListFiles200ResponseData';
|
|
35
|
+
export * from './ListPTYSessions200Response';
|
|
36
|
+
export * from './ListPTYSessions200ResponseAllOfData';
|
|
37
|
+
export * from './Organization';
|
|
38
|
+
export * from './PTYSessionInfo';
|
|
39
|
+
export * from './ProcessInfo';
|
|
40
|
+
export * from './RegisterRequest';
|
|
41
|
+
export * from './RegisterResponse';
|
|
42
|
+
export * from './RegisterResponseData';
|
|
43
|
+
export * from './ResizeTerminalRequest';
|
|
44
|
+
export * from './RestoreSandboxRequest';
|
|
45
|
+
export * from './RunBackgroundCommandRequest';
|
|
46
|
+
export * from './Sandbox';
|
|
47
|
+
export * from './Snapshot';
|
|
48
|
+
export * from './StartWatch200Response';
|
|
49
|
+
export * from './StartWatch200ResponseData';
|
|
50
|
+
export * from './StartWatchRequest';
|
|
51
|
+
export * from './SuccessResponse';
|
|
45
52
|
//# 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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3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,47 +1,54 @@
|
|
|
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 './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './
|
|
35
|
-
export * from './
|
|
36
|
-
export * from './
|
|
37
|
-
export * from './
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
45
|
-
export * from './
|
|
46
|
-
export * from './
|
|
3
|
+
export * from './APIKeyResponse';
|
|
4
|
+
export * from './ApiResponseSandbox';
|
|
5
|
+
export * from './ApiResponseSandboxesList';
|
|
6
|
+
export * from './ApiResponseSandboxesListMeta';
|
|
7
|
+
export * from './CommandKillResponse';
|
|
8
|
+
export * from './CommandListResponse';
|
|
9
|
+
export * from './CommandRunResponse';
|
|
10
|
+
export * from './CommandWaitResponse';
|
|
11
|
+
export * from './CompressRequest';
|
|
12
|
+
export * from './CreateFileRequest';
|
|
13
|
+
export * from './CreateImageRequest';
|
|
14
|
+
export * from './CreatePTYSession200Response';
|
|
15
|
+
export * from './CreatePTYSession200ResponseAllOfData';
|
|
16
|
+
export * from './CreatePTYSessionRequest';
|
|
17
|
+
export * from './CreateSandbox201Response';
|
|
18
|
+
export * from './CreateSandboxRequest';
|
|
19
|
+
export * from './DiskUsage';
|
|
20
|
+
export * from './ErrorResponse';
|
|
21
|
+
export * from './ExecRequest';
|
|
22
|
+
export * from './ExecResponse';
|
|
23
|
+
export * from './ExecResponseData';
|
|
24
|
+
export * from './ExecuteInSessionRequest';
|
|
25
|
+
export * from './ExtractRequest';
|
|
26
|
+
export * from './FileEvent';
|
|
27
|
+
export * from './FileInfo';
|
|
28
|
+
export * from './FileStats';
|
|
29
|
+
export * from './GenerateAPIKeyRequest';
|
|
30
|
+
export * from './GeneratedAPIKeyResponse';
|
|
31
|
+
export * from './GetPTYBuffer200Response';
|
|
32
|
+
export * from './GetPTYBuffer200ResponseAllOfData';
|
|
33
|
+
export * from './Image';
|
|
34
|
+
export * from './KillBackgroundProcessRequest';
|
|
35
|
+
export * from './ListFiles200Response';
|
|
36
|
+
export * from './ListFiles200ResponseData';
|
|
37
|
+
export * from './ListPTYSessions200Response';
|
|
38
|
+
export * from './ListPTYSessions200ResponseAllOfData';
|
|
39
|
+
export * from './Organization';
|
|
40
|
+
export * from './PTYSessionInfo';
|
|
41
|
+
export * from './ProcessInfo';
|
|
42
|
+
export * from './RegisterRequest';
|
|
43
|
+
export * from './RegisterResponse';
|
|
44
|
+
export * from './RegisterResponseData';
|
|
45
|
+
export * from './ResizeTerminalRequest';
|
|
46
|
+
export * from './RestoreSandboxRequest';
|
|
47
|
+
export * from './RunBackgroundCommandRequest';
|
|
48
|
+
export * from './Sandbox';
|
|
49
|
+
export * from './Snapshot';
|
|
50
|
+
export * from './StartWatch200Response';
|
|
51
|
+
export * from './StartWatch200ResponseData';
|
|
52
|
+
export * from './StartWatchRequest';
|
|
53
|
+
export * from './SuccessResponse';
|
|
47
54
|
//# 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,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,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,gCAAgC,CAAC;AAC/C,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,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,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,11 @@ 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
|
|
7
|
+
export { CodeInterpreter } from "./CodeInterpreter.js";
|
|
8
|
+
export { Commands } from "./Commands.js";
|
|
9
|
+
export type { PtyOptions, PtyResize, PtySessionInfo, FileWatchOptions, FileChangeEvent, ExecStreamHandlers, ExecStreamExit } from "./types.js";
|
|
10
|
+
export type { SupportedLanguage, CodeExecutionOptions, CodeExecutionResult } from "./CodeInterpreter.js";
|
|
11
|
+
export type { ProcessInfo, CommandRunResponse, CommandListResponse, CommandKillResponse, CommandWaitResponse, ProcessAttachHandlers } from "./Commands.js";
|
|
8
12
|
export declare class VoidRun {
|
|
9
13
|
private readonly apiKey;
|
|
10
14
|
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":"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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,8 @@ 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";
|
|
10
|
+
export { Commands } from "./Commands.js";
|
|
9
11
|
export class VoidRun {
|
|
10
12
|
apiKey;
|
|
11
13
|
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,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js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AAW,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/types.d.ts
CHANGED
|
@@ -67,6 +67,17 @@ export type RunCommandOptions = {
|
|
|
67
67
|
timeout?: number;
|
|
68
68
|
prompt?: string | RegExp;
|
|
69
69
|
};
|
|
70
|
+
export type ExecStreamExit = {
|
|
71
|
+
exitCode: number;
|
|
72
|
+
error?: string;
|
|
73
|
+
};
|
|
74
|
+
export type ExecStreamHandlers = {
|
|
75
|
+
onStdout?: (data: string) => void;
|
|
76
|
+
onStderr?: (data: string) => void;
|
|
77
|
+
onExit?: (result: ExecStreamExit) => void;
|
|
78
|
+
onError?: (error: Error) => void;
|
|
79
|
+
signal?: AbortSignal;
|
|
80
|
+
};
|
|
70
81
|
export type FileWatchOptions = {
|
|
71
82
|
recursive?: boolean;
|
|
72
83
|
ignoreHidden?: boolean;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAA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EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,WAAW,CAAC;CACxB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACpC,CAAA;AAED,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAClE,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidrun/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "VoidRun AI Sandbox SDK",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsc",
|
|
13
13
|
"clean": "rm -rf dist",
|
|
14
|
-
"prepublishOnly": "npm run clean && npm run build"
|
|
14
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
15
|
+
"publish": "npm version patch && npm publish --access public"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [],
|
|
17
18
|
"author": "VoidRun",
|