Skip to content

Commit 2baa18e

Browse files
authored
feat(sdk): Python and JS SDKs for API v1.4.0 (#155)
1 parent d6e1af7 commit 2baa18e

43 files changed

Lines changed: 3569 additions & 1088 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agent-infra/sandbox",
3-
"version": "1.0.12",
3+
"version": "1.0.13",
44
"description": "Node.js SDK for AIO Sandbox integration providing tools and interfaces",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.mjs",

sdk/js/src/Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { File_ } from "./api/resources/file/client/Client.js";
1414
import { Jupyter } from "./api/resources/jupyter/client/Client.js";
1515
import { Mcp } from "./api/resources/mcp/client/Client.js";
1616
import { Nodejs } from "./api/resources/nodejs/client/Client.js";
17+
import { Proxy } from "./api/resources/proxy/client/Client.js";
1718
import { SandboxService } from "./api/resources/sandbox/client/Client.js";
1819
import { Shell } from "./api/resources/shell/client/Client.js";
1920
import { Skills } from "./api/resources/skills/client/Client.js";
@@ -47,6 +48,7 @@ export class SandboxClient {
4748
protected _code: Code | undefined;
4849
protected _util: Util | undefined;
4950
protected _skills: Skills | undefined;
51+
protected _proxy: Proxy | undefined;
5052
protected _auth: Auth | undefined;
5153

5254
constructor(_options: SandboxClient.Options) {
@@ -132,6 +134,10 @@ export class SandboxClient {
132134
return (this._skills ??= new Skills(this._options));
133135
}
134136

137+
public get proxy(): Proxy {
138+
return (this._proxy ??= new Proxy(this._options));
139+
}
140+
135141
public get auth(): Auth {
136142
return (this._auth ??= new Auth(this._options));
137143
}

sdk/js/src/api/resources/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ export * as jupyter from "./jupyter/index.js";
2727
export * as mcp from "./mcp/index.js";
2828
export * from "./nodejs/client/requests/index.js";
2929
export * as nodejs from "./nodejs/index.js";
30+
export * from "./proxy/client/requests/index.js";
31+
export * as proxy from "./proxy/index.js";
3032
export * as sandbox from "./sandbox/index.js";
3133
export * from "./shell/client/requests/index.js";
3234
export * as shell from "./shell/index.js";

0 commit comments

Comments
 (0)