From addaed322cef5470c14a626686fbcee2d084563e Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 27 May 2025 22:13:43 +0000 Subject: [PATCH 1/2] SDK regeneration --- package.json | 2 +- src/Client.ts | 16 +- src/api/resources/browser/client/Client.ts | 28 +- src/api/resources/code/client/Client.ts | 4 +- src/api/resources/env/client/Client.ts | 12 +- src/api/resources/instance/client/Client.ts | 40 +- .../instance/client/requests/BashRequest.ts | 1 + src/api/resources/notebook/client/Client.ts | 28 +- .../instance/client/requests/BashRequest.ts | 2 + src/version.ts | 2 +- yarn.lock | 401 +++++++++--------- 11 files changed, 267 insertions(+), 269 deletions(-) diff --git a/package.json b/package.json index 59e846a..9e8c02b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scrapybara", - "version": "2.5.1", + "version": "2.5.2", "private": false, "repository": "https://github.com/scrapybara/scrapybara-ts", "main": "./index.js", diff --git a/src/Client.ts b/src/Client.ts index 8894257..f199fb3 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -83,8 +83,8 @@ export class ScrapybaraClient { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -162,8 +162,8 @@ export class ScrapybaraClient { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -238,8 +238,8 @@ export class ScrapybaraClient { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -300,8 +300,8 @@ export class ScrapybaraClient { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/browser/client/Client.ts b/src/api/resources/browser/client/Client.ts index 03cde8b..d674373 100644 --- a/src/api/resources/browser/client/Client.ts +++ b/src/api/resources/browser/client/Client.ts @@ -52,8 +52,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -132,8 +132,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -212,8 +212,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -300,8 +300,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -392,8 +392,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -480,8 +480,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -561,8 +561,8 @@ export class Browser { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/code/client/Client.ts b/src/api/resources/code/client/Client.ts index 63ede2e..e2ab1a4 100644 --- a/src/api/resources/code/client/Client.ts +++ b/src/api/resources/code/client/Client.ts @@ -56,8 +56,8 @@ export class Code { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/env/client/Client.ts b/src/api/resources/env/client/Client.ts index dc308b9..d44910a 100644 --- a/src/api/resources/env/client/Client.ts +++ b/src/api/resources/env/client/Client.ts @@ -49,8 +49,8 @@ export class Env { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -135,8 +135,8 @@ export class Env { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -220,8 +220,8 @@ export class Env { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/instance/client/Client.ts b/src/api/resources/instance/client/Client.ts index e7b9c22..d38653b 100644 --- a/src/api/resources/instance/client/Client.ts +++ b/src/api/resources/instance/client/Client.ts @@ -54,8 +54,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -134,8 +134,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -219,8 +219,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -302,8 +302,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -388,8 +388,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -473,8 +473,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -566,8 +566,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -648,8 +648,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -728,8 +728,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -816,8 +816,8 @@ export class Instance { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/instance/client/requests/BashRequest.ts b/src/api/resources/instance/client/requests/BashRequest.ts index a4ce9f9..f976293 100644 --- a/src/api/resources/instance/client/requests/BashRequest.ts +++ b/src/api/resources/instance/client/requests/BashRequest.ts @@ -12,4 +12,5 @@ export interface BashRequest { restart?: boolean; listSessions?: boolean; checkSession?: number; + timeout?: number; } diff --git a/src/api/resources/notebook/client/Client.ts b/src/api/resources/notebook/client/Client.ts index c49daf7..c0c681c 100644 --- a/src/api/resources/notebook/client/Client.ts +++ b/src/api/resources/notebook/client/Client.ts @@ -52,8 +52,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -136,8 +136,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -219,8 +219,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -301,8 +301,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -388,8 +388,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -475,8 +475,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -560,8 +560,8 @@ export class Notebook { headers: { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "scrapybara", - "X-Fern-SDK-Version": "2.5.1", - "User-Agent": "scrapybara/2.5.1", + "X-Fern-SDK-Version": "2.5.2", + "User-Agent": "scrapybara/2.5.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/serialization/resources/instance/client/requests/BashRequest.ts b/src/serialization/resources/instance/client/requests/BashRequest.ts index 37c65fe..442ed06 100644 --- a/src/serialization/resources/instance/client/requests/BashRequest.ts +++ b/src/serialization/resources/instance/client/requests/BashRequest.ts @@ -13,6 +13,7 @@ export const BashRequest: core.serialization.Schema= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" @@ -2675,10 +2669,10 @@ saxes@^6.0.0: dependencies: xmlchars "^2.2.0" -schema-utils@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.0.tgz#3b669f04f71ff2dfb5aba7ce2d5a9d79b35622c0" - integrity sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g== +schema-utils@^4.3.0, schema-utils@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.3.2.tgz#0c10878bf4a73fd2b1dfd14b9462b26788c806ae" + integrity sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ== dependencies: "@types/json-schema" "^7.0.9" ajv "^8.9.0" @@ -2690,10 +2684,10 @@ semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.7.1: - version "7.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f" - integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA== +semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.7.2: + version "7.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" + integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== serialize-javascript@^6.0.2: version "6.0.2" @@ -2878,9 +2872,9 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== tapable@^2.1.1, tapable@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" - integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + version "2.2.2" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.2.tgz#ab4984340d30cb9989a490032f086dbb8b56d872" + integrity sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg== terser-webpack-plugin@^5.3.11: version "5.3.14" @@ -2894,12 +2888,12 @@ terser-webpack-plugin@^5.3.11: terser "^5.31.1" terser@^5.31.1: - version "5.39.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.39.0.tgz#0e82033ed57b3ddf1f96708d123cca717d86ca3a" - integrity sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw== + version "5.40.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.40.0.tgz#839a80db42bfee8340085f44ea99b5cba36c55c8" + integrity sha512-cfeKl/jjwSR5ar7d0FGmave9hFGJT8obyo0z+CrQOylLDbk7X81nPU6vq9VORa5jU30SkDnT2FXjLbR8HLP+xA== dependencies: "@jridgewell/source-map" "^0.3.3" - acorn "^8.8.2" + acorn "^8.14.0" commander "^2.20.0" source-map-support "~0.5.20" @@ -2947,9 +2941,9 @@ tr46@~0.0.3: integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== ts-jest@^29.1.1: - version "29.3.2" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.3.2.tgz#0576cdf0a507f811fe73dcd16d135ce89f8156cb" - integrity sha512-bJJkrWc6PjFVz5g2DGCNUo8z7oFEYaz1xP1NpeDU7KNLMWPpEyV8Chbpkn8xjzgRDpQhnGMyvyldoL7h8JXyug== + version "29.3.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.3.4.tgz#9354472aceae1d3867a80e8e02014ea5901aee41" + integrity sha512-Iqbrm8IXOmV+ggWHOTEbjwyCf2xZlUMv5npExksXohL+tk8va4Fjhb+X2+Rt9NBmgO7bJ8WpnMLOwih/DnMlFA== dependencies: bs-logger "^0.2.6" ejs "^3.1.10" @@ -2958,8 +2952,8 @@ ts-jest@^29.1.1: json5 "^2.2.3" lodash.memoize "^4.1.2" make-error "^1.3.6" - semver "^7.7.1" - type-fest "^4.39.1" + semver "^7.7.2" + type-fest "^4.41.0" yargs-parser "^21.1.1" ts-loader@^9.5.1: @@ -2983,10 +2977,10 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -type-fest@^4.39.1: - version "4.40.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.40.0.tgz#62bc09caccb99a75e1ad6b9b4653e8805e5e1eee" - integrity sha512-ABHZ2/tS2JkvH1PEjxFDTUWC8dB5OsIGZP4IFLhR293GqT5Y5qB1WwL2kMPYhQW9DVgVD8Hd7I8gjwPIf5GFkw== +type-fest@^4.41.0: + version "4.41.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.41.0.tgz#6ae1c8e5731273c2bf1f58ad39cbae2c91a46c58" + integrity sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA== typescript@~5.7.2: version "5.7.3" @@ -3003,7 +2997,7 @@ universalify@^0.2.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== -update-browserslist-db@^1.1.1: +update-browserslist-db@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz#348377dd245216f9e7060ff50b15a1b740b75420" integrity sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw== @@ -3048,9 +3042,9 @@ walker@^1.0.8: makeerror "1.0.12" watchpack@^2.4.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.2.tgz#2feeaed67412e7c33184e5a79ca738fbd38564da" - integrity sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw== + version "2.4.4" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.4.tgz#473bda72f0850453da6425081ea46fc0d7602947" + integrity sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" @@ -3066,17 +3060,18 @@ webidl-conversions@^7.0.0: integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== webpack-sources@^3.2.3: - version "3.2.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" - integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== + version "3.3.0" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.3.0.tgz#8d3449f1ed3f254e722a529a0a344a37d2d17048" + integrity sha512-77R0RDmJfj9dyv5p3bM5pOHa+X8/ZkO9c7kpDstigkC4nIDobadsfSGCwB4bKhMVxqAok8tajaoR8rirM7+VFQ== webpack@^5.97.1: - version "5.99.6" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.99.6.tgz#0d6ba7ce1d3609c977f193d2634d54e5cf36379d" - integrity sha512-TJOLrJ6oeccsGWPl7ujCYuc0pIq2cNsuD6GZDma8i5o5Npvcco/z+NKvZSFsP0/x6SShVb0+X2JK/JHUjKY9dQ== + version "5.99.9" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.99.9.tgz#d7de799ec17d0cce3c83b70744b4aedb537d8247" + integrity sha512-brOPwM3JnmOa+7kd3NsmOUOwbDAj8FT9xDsG3IW0MgbN9yZV7Oi/s/+MNQ/EcSMqw7qfoRyXPoeEWT8zLVdVGg== dependencies: "@types/eslint-scope" "^3.7.7" "@types/estree" "^1.0.6" + "@types/json-schema" "^7.0.15" "@webassemblyjs/ast" "^1.14.1" "@webassemblyjs/wasm-edit" "^1.14.1" "@webassemblyjs/wasm-parser" "^1.14.1" @@ -3093,7 +3088,7 @@ webpack@^5.97.1: loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^4.3.0" + schema-utils "^4.3.2" tapable "^2.1.1" terser-webpack-plugin "^5.3.11" watchpack "^2.4.1" @@ -3157,9 +3152,9 @@ write-file-atomic@^4.0.2: signal-exit "^3.0.7" ws@^8.11.0: - version "8.18.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.1.tgz#ea131d3784e1dfdff91adb0a4a116b127515e3cb" - integrity sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w== + version "8.18.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.2.tgz#42738b2be57ced85f46154320aabb51ab003705a" + integrity sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ== xml-name-validator@^4.0.0: version "4.0.0" @@ -3210,6 +3205,6 @@ zod-to-json-schema@^3.24.0: integrity sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g== zod@^3.24.0: - version "3.24.3" - resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.3.tgz#1f40f750a05e477396da64438e0e1c0995dafd87" - integrity sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg== + version "3.25.31" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.25.31.tgz#beff55c696ea66263310749989f3e63bb7faa11a" + integrity sha512-SVCtUpZ1D9TFcRnCY7wlCpGEzV4+2HlXnJiwrgq1T93m98BIT6M5lbxRrEm7v6pYZXV4QNQo1t2KVv93JXk6XA== From 56af92be2f496f688dabb69e30d6a65a90134849 Mon Sep 17 00:00:00 2001 From: Cooper Miller Date: Tue, 27 May 2025 16:30:14 -0700 Subject: [PATCH 2/2] bashtool --- src/tools/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/index.ts b/src/tools/index.ts index 707c6a1..ed0a2fa 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -183,6 +183,7 @@ export function bashTool(instance: UbuntuInstance) { restart: z.boolean().optional().default(false).describe("Whether to restart the shell"), listSessions: z.boolean().optional().default(false).describe("Whether to list available sessions"), checkSession: z.number().optional().describe("Session ID to check if it exists"), + timeout: z.number().optional().describe("Timeout for command execution"), }), execute: async (params) => { return instance.bash({ @@ -191,6 +192,7 @@ export function bashTool(instance: UbuntuInstance) { restart: params.restart, listSessions: params.listSessions, checkSession: params.checkSession, + timeout: params.timeout, }); }, });