diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d9246dd..cf198b9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.10.0" + ".": "1.11.0" } diff --git a/.stats.yml b/.stats.yml index 183571e..0e65bf2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 29 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-e67b8e285739a9a3998fbe39b5eb97fac5bb8f571781d4f5d242b3824d4d743e.yml -openapi_spec_hash: bd661c93deb864b606bfc2d2ee110a1f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-b1433c9d499d0eee441fab12578e7c11fe2f67bbf6f9fd5f894086b21f41dd30.yml +openapi_spec_hash: 95d25454996689921708f43481d6cdcc config_hash: 00b1a3fd1b197bd253cdd6b7bc360c02 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a9f29c..d846491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 1.11.0 (2025-09-26) + +Full Changelog: [v1.10.0...v1.11.0](https://github.com/ArcadeAI/arcade-js/compare/v1.10.0...v1.11.0) + +### Features + +* **api:** api update ([2774d49](https://github.com/ArcadeAI/arcade-js/commit/2774d494ee56c8204f2110294cde4421cd92808c)) + + +### Performance Improvements + +* faster formatting ([2e812f3](https://github.com/ArcadeAI/arcade-js/commit/2e812f3ffbbdf74581845a75bce2d0df8753b9db)) + + +### Chores + +* do not install brew dependencies in ./scripts/bootstrap by default ([22535ef](https://github.com/ArcadeAI/arcade-js/commit/22535ef346a33b239bd0337abe136ffd0a42b956)) + ## 1.10.0 (2025-09-11) Full Changelog: [v1.9.1...v1.10.0](https://github.com/ArcadeAI/arcade-js/compare/v1.9.1...v1.10.0) diff --git a/package.json b/package.json index 9e6ab36..0a4c290 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@arcadeai/arcadejs", - "version": "1.10.0", + "version": "1.11.0", "description": "The official TypeScript library for the Arcade API", "author": "Arcade ", "types": "dist/index.d.ts", diff --git a/scripts/bootstrap b/scripts/bootstrap index 0af58e2..f68beda 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -4,10 +4,18 @@ set -e cd "$(dirname "$0")/.." -if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ]; then +if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then brew bundle check >/dev/null 2>&1 || { - echo "==> Installing Homebrew dependencies…" - brew bundle + echo -n "==> Install Homebrew dependencies? (y/N): " + read -r response + case "$response" in + [yY][eE][sS]|[yY]) + brew bundle + ;; + *) + ;; + esac + echo } fi diff --git a/scripts/fast-format b/scripts/fast-format new file mode 100755 index 0000000..03fb1a3 --- /dev/null +++ b/scripts/fast-format @@ -0,0 +1,40 @@ +#!/usr/bin/env bash + +set -euo pipefail + +echo "Script started with $# arguments" +echo "Arguments: $*" +echo "Script location: $(dirname "$0")" + +cd "$(dirname "$0")/.." +echo "Changed to directory: $(pwd)" + +if [ $# -eq 0 ]; then + echo "Usage: $0 [additional-formatter-args...]" + echo "The file should contain one file path per line" + exit 1 +fi + +FILE_LIST="$1" + +echo "Looking for file: $FILE_LIST" + +if [ ! -f "$FILE_LIST" ]; then + echo "Error: File '$FILE_LIST' not found" + exit 1 +fi + +echo "==> Running eslint --fix" +ESLINT_FILES="$(grep '\.ts$' "$FILE_LIST" || true)" +if ! [ -z "$ESLINT_FILES" ]; then + echo "$ESLINT_FILES" | ESLINT_USE_FLAT_CONFIG="false" xargs ./node_modules/.bin/eslint --cache --fix +fi + +echo "==> Running prettier --write" +# format things eslint didn't +PRETTIER_FILES="$(grep '\.\(js\|json\)$' "$FILE_LIST" || true)" +if ! [ -z "$PRETTIER_FILES" ]; then + echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \ + --write --cache --cache-strategy metadata \ + '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs' +fi diff --git a/src/resources/workers.ts b/src/resources/workers.ts index dff8533..4c3dc9f 100644 --- a/src/resources/workers.ts +++ b/src/resources/workers.ts @@ -180,8 +180,6 @@ export interface WorkerResponse { mcp?: WorkerResponse.Mcp; - oxp?: WorkerResponse.Oxp; - type?: 'http' | 'mcp' | 'unknown'; } @@ -223,30 +221,6 @@ export namespace WorkerResponse { uri?: string; } - - export interface Oxp { - retry?: number; - - secret?: Oxp.Secret; - - timeout?: number; - - uri?: string; - } - - export namespace Oxp { - export interface Secret { - binding?: 'static' | 'tenant' | 'project' | 'account'; - - editable?: boolean; - - exists?: boolean; - - hint?: string; - - value?: string; - } - } } export interface WorkerCreateParams { diff --git a/src/version.ts b/src/version.ts index 36c3648..c5ad6f9 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.10.0'; // x-release-please-version +export const VERSION = '1.11.0'; // x-release-please-version