Skip to content

Commit f173a80

Browse files
feat: Removed MCP from readme for now
1 parent a06a892 commit f173a80

4 files changed

Lines changed: 38 additions & 4 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to NuGet in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/browserbase/stagehand-net/actions/workflows/publish-nuget.yml
4+
name: Publish to NuGet
5+
on:
6+
workflow_dispatch:
7+
release:
8+
types: [published]
9+
jobs:
10+
publish:
11+
name: publish
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v6
16+
17+
- name: Set up .NET
18+
uses: actions/setup-dotnet@v5
19+
with:
20+
dotnet-version: '8.0.x'
21+
22+
- name: Build and pack
23+
run: dotnet pack
24+
--configuration Release
25+
--output "${{github.workspace}}/artifacts/packages"
26+
27+
- name: Publish package to nuget.org
28+
run: dotnet nuget push
29+
$(find ${{ github.workspace }}/artifacts/packages/*.nupkg ! -name "*.symbols.nupkg")
30+
--source https://api.nuget.org/v3/index.json
31+
--api-key $NUGET_API_KEY
32+
env:
33+
NUGET_API_KEY: ${{ secrets.STAGEHAND_NUGET_API_KEY || secrets.NUGET_API_KEY }}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 8
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-8fbb3fa8f3a37c1c7408de427fe125aadec49f705e8e30d191601a9b69c4cc41.yml
33
openapi_spec_hash: 48b4dfac35a842d7fb0d228caf87544e
4-
config_hash: 242651c4871c2869ba3c2e3d337505b9
4+
config_hash: 7386d24e2f03a3b2a89b3f6881446348

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ Most existing browser automation tools either require you to write low-level cod
6767

6868
## Installation
6969

70+
Install the package from [NuGet](https://www.nuget.org/packages/Stagehand):
71+
7072
```bash
71-
git clone git@github.com:browserbase/stagehand-net.git
72-
dotnet add reference stagehand-net/src/Stagehand
73+
dotnet add package Stagehand
7374
```
7475

7576
## Requirements

src/Stagehand/Core/Sse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal static async IAsyncEnumerable<T> Enumerate<T>(
3232
continue;
3333
}
3434

35-
if (item.Data.StartsWith("finished"))
35+
if (item.Data.StartsWith("{\"data\":{\"status\":\"finished\""))
3636
{
3737
// In this case we don't break because we still want to iterate through the full stream.
3838
done = true;

0 commit comments

Comments
 (0)