From 89a01c2db29663c669fa4948be1fb37dee394710 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 25 Feb 2026 13:06:45 -0500 Subject: [PATCH] chore: Rename repo to braintrust-sdk-javascript --- .github/workflows/integration-tests.yaml | 2 +- Dockerfile | 2 +- integrations/browser-js/package.json | 2 +- integrations/val.town/vals/tutorial/README.md | 2 +- js/package.json | 2 +- js/scripts/push-release-tag.sh | 4 ++-- js/src/node/index.ts | 2 +- js/src/wrappers/ai-sdk/ai-sdk.ts | 2 +- package.json | 2 +- scripts/claude-docker.sh | 2 +- scripts/create-integration-test-pr.sh | 4 ++-- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 66cf7ddae..fc1b8216a 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -34,7 +34,7 @@ jobs: git submodule init git submodule update --init --recursive cd sdk - git remote set-url origin https://github.com/braintrustdata/braintrust-sdk.git + git remote set-url origin https://github.com/braintrustdata/braintrust-sdk-javascript.git git fetch origin git checkout ${{ github.event.pull_request.head.sha }} diff --git a/Dockerfile b/Dockerfile index e922e05fb..e145bd3d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Development container for braintrust-sdk-ruby +# Development container for braintrust-sdk-javascript FROM debian:trixie-slim # Set UTF-8 locale diff --git a/integrations/browser-js/package.json b/integrations/browser-js/package.json index 233900945..a52957be3 100644 --- a/integrations/browser-js/package.json +++ b/integrations/browser-js/package.json @@ -43,7 +43,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/braintrustdata/braintrust-sdk.git", + "url": "git+https://github.com/braintrustdata/braintrust-sdk-javascript.git", "directory": "sdk/integrations/browser-js" }, "homepage": "https://www.braintrust.dev/docs", diff --git a/integrations/val.town/vals/tutorial/README.md b/integrations/val.town/vals/tutorial/README.md index c7f82d267..545d506bf 100644 --- a/integrations/val.town/vals/tutorial/README.md +++ b/integrations/val.town/vals/tutorial/README.md @@ -12,7 +12,7 @@ The Braintrust SDK enables you to: - Run comprehensive evaluations using the `Eval` framework - Track and improve your model's performance over time -This template helps you get started with the Braintrust SDK. It's based on our [official GitHub repository](https://github.com/braintrustdata/braintrust-sdk). +This template helps you get started with the Braintrust SDK. It's based on our [official GitHub repository](https://github.com/braintrustdata/braintrust-sdk-javascript). ## Getting started diff --git a/js/package.json b/js/package.json index b808cce2c..12d8aa471 100644 --- a/js/package.json +++ b/js/package.json @@ -4,7 +4,7 @@ "description": "SDK for integrating Braintrust", "repository": { "type": "git", - "url": "git+https://github.com/braintrustdata/braintrust-sdk.git", + "url": "git+https://github.com/braintrustdata/braintrust-sdk-javascript.git", "directory": "blob/main/js" }, "homepage": "https://www.braintrust.dev/docs", diff --git a/js/scripts/push-release-tag.sh b/js/scripts/push-release-tag.sh index e8d9c5080..3c8d4a712 100755 --- a/js/scripts/push-release-tag.sh +++ b/js/scripts/push-release-tag.sh @@ -24,7 +24,7 @@ done # Fetch latest tags git fetch --tags --prune -REPO_URL="https://github.com/braintrustdata/braintrust-sdk" +REPO_URL="https://github.com/braintrustdata/braintrust-sdk-javascript" TAG_PREFIX="js-sdk-v" COMMIT=$(git rev-parse --short HEAD) @@ -98,5 +98,5 @@ git push origin "$TAG" echo "" echo "Tag ${TAG} has been created and pushed to origin. Check GitHub Actions for build progress:" -echo "https://github.com/braintrustdata/braintrust-sdk/actions/workflows/publish-js-sdk.yaml" +echo "https://github.com/braintrustdata/braintrust-sdk-javascript/actions/workflows/publish-js-sdk.yaml" echo "" diff --git a/js/src/node/index.ts b/js/src/node/index.ts index 821cbcaaa..ba75fa586 100644 --- a/js/src/node/index.ts +++ b/js/src/node/index.ts @@ -3,7 +3,7 @@ * for running evaluations, logging completions, loading and invoking functions, and more. * * `braintrust` is distributed as a [library on NPM](https://www.npmjs.com/package/braintrust). - * It is also open source and available on [GitHub](https://github.com/braintrustdata/braintrust-sdk/tree/main/js). + * It is also open source and available on [GitHub](https://github.com/braintrustdata/braintrust-sdk-javascript/tree/main/js). * * ### Quickstart * diff --git a/js/src/wrappers/ai-sdk/ai-sdk.ts b/js/src/wrappers/ai-sdk/ai-sdk.ts index d9e605ce1..bff9c31ab 100644 --- a/js/src/wrappers/ai-sdk/ai-sdk.ts +++ b/js/src/wrappers/ai-sdk/ai-sdk.ts @@ -103,7 +103,7 @@ export function wrapAISDK(aiSDK: T, options: WrapAISDKOptions = {}): T { // These cause Proxy invariant violations because we return wrapped functions instead // of the original values. Using prototype chain preserves all properties (enumerable // and non-enumerable) while avoiding invariants since the target has no own properties. - // See: https://github.com/braintrustdata/braintrust-sdk/pull/1259 + // See: https://github.com/braintrustdata/braintrust-sdk-javascript/pull/1259 const target = isModuleNamespace(aiSDK) ? Object.setPrototypeOf({}, aiSDK) : aiSDK; diff --git a/package.json b/package.json index 5f6b55b62..649e19b07 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "braintrust-sdk-js", "version": "0.0.1", - "repository": "https://github.com/braintrustdata/braintrust-sdk", + "repository": "https://github.com/braintrustdata/braintrust-sdk-javascript", "license": "MIT", "private": true, "workspaces": [ diff --git a/scripts/claude-docker.sh b/scripts/claude-docker.sh index f5d503939..ca2309cb9 100755 --- a/scripts/claude-docker.sh +++ b/scripts/claude-docker.sh @@ -5,7 +5,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" # Docker container label -DOCKER_LABEL="braintrust-sdk" +DOCKER_LABEL="braintrust-sdk-javascript" COMMAND="${1:-}" diff --git a/scripts/create-integration-test-pr.sh b/scripts/create-integration-test-pr.sh index 233d94b7c..71accc79a 100755 --- a/scripts/create-integration-test-pr.sh +++ b/scripts/create-integration-test-pr.sh @@ -55,7 +55,7 @@ fi git submodule init git submodule update --init --recursive cd sdk -git remote set-url origin https://github.com/braintrustdata/braintrust-sdk.git +git remote set-url origin https://github.com/braintrustdata/braintrust-sdk-javascript.git git fetch origin # Create a temporary branch to avoid detached HEAD state @@ -66,7 +66,7 @@ git checkout "$COMMIT_HASH" # Get commit author and PR number COMMIT_AUTHOR=$(git log -1 --format='%an <%ae>') PR_NUMBER=$(gh pr list --head "$BRANCH_NAME" --json number --jq '.[0].number') -SDK_PR_URL="https://github.com/braintrustdata/braintrust-sdk/pull/${PR_NUMBER}" +SDK_PR_URL="https://github.com/braintrustdata/braintrust-sdk-javascript/pull/${PR_NUMBER}" cd .. git add sdk