Skip to content

Commit 23e4042

Browse files
committed
rm publish, fix required deps
1 parent 49cad24 commit 23e4042

File tree

4 files changed

+9
-70
lines changed

4 files changed

+9
-70
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -43,73 +43,6 @@ jobs:
4343
BROWSERBASE_API_KEY: ${{ secrets.BROWSERBASE_API_KEY }}
4444
BROWSERBASE_PROJECT_ID: ${{ secrets.BROWSERBASE_PROJECT_ID }}
4545
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
46+
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
4647
run: |
4748
pnpm test
48-
49-
publish:
50-
name: Publish to NPM
51-
runs-on: ubuntu-latest
52-
needs: test
53-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
54-
55-
steps:
56-
- name: Checkout code
57-
uses: actions/checkout@v4
58-
with:
59-
fetch-depth: 0
60-
token: ${{ secrets.GITHUB_TOKEN }}
61-
62-
- name: Setup Node.js
63-
uses: actions/setup-node@v4
64-
with:
65-
node-version: '18'
66-
cache: 'pnpm'
67-
registry-url: 'https://registry.npmjs.org'
68-
69-
- name: Install pnpm
70-
uses: pnpm/action-setup@v4
71-
with:
72-
version: 8
73-
74-
- name: Install dependencies
75-
run: pnpm install --frozen-lockfile
76-
77-
- name: Configure git
78-
run: |
79-
git config --global user.name 'github-actions[bot]'
80-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
81-
82-
- name: Bump version
83-
id: version
84-
run: |
85-
# Get current version from package.json
86-
CURRENT_VERSION=$(node -p "require('./package.json').version")
87-
echo "current_version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
88-
89-
# Bump minor version
90-
npm version minor --no-git-tag-version
91-
92-
# Get new version
93-
NEW_VERSION=$(node -p "require('./package.json').version")
94-
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
95-
96-
# Commit version bump
97-
git add package.json pnpm-lock.yaml
98-
git commit -m "chore: bump version to $NEW_VERSION [skip ci]"
99-
100-
- name: Build for production
101-
run: pnpm build
102-
103-
- name: Publish to NPM
104-
env:
105-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
106-
run: pnpm publish --no-git-checks
107-
108-
- name: Create git tag
109-
run: |
110-
git tag "v${{ steps.version.outputs.new_version }}"
111-
112-
- name: Push changes and tags
113-
run: |
114-
git push origin main
115-
git push origin "v${{ steps.version.outputs.new_version }}"

evals/mcp-eval-minimal.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"steps": [
5858
{
5959
"user": "Create a browser session named 'test-session'",
60-
"expectedState": "Created session"
60+
"expectedState": "session created"
6161
},
6262
{
6363
"user": "List active sessions",

evals/run-evals.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ program
7373
"BROWSERBASE_API_KEY",
7474
"BROWSERBASE_PROJECT_ID",
7575
"ANTHROPIC_API_KEY",
76+
"GEMINI_API_KEY",
7677
];
7778
const missingVars = requiredEnvVars.filter((v) => !process.env[v]);
7879

@@ -110,6 +111,11 @@ program
110111
),
111112
);
112113
break;
114+
case "GEMINI_API_KEY":
115+
console.error(
116+
chalk.yellow(" export GEMINI_API_KEY='your_gemini_key_here'"),
117+
);
118+
break;
113119
}
114120
}
115121
process.exit(1);

src/tools/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function handleCreateSession(
9999
content: [
100100
{
101101
type: "text",
102-
text: `Browserbase Live Session View URL: https://www.browserbase.com/sessions/${session.sessionId}\nBrowserbase Live Debugger URL: ${debugUrl}`,
102+
text: `Browserbase Live Session View URL: https://www.browserbase.com/sessions/${session.sessionId}\nBrowserbase Live Debugger URL: ${debugUrl} \n session created`,
103103
},
104104
],
105105
};

0 commit comments

Comments
 (0)