File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Packagist
2+ on :
3+ workflow_dispatch :
4+
5+ jobs :
6+ publish :
7+ name : publish
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v6
12+
13+ - name : Publish to Packagist
14+ run : |-
15+ curl --fail-with-body -X POST -H 'Content-Type: application/json' "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_SAFE_KEY}" -d '{"repository":"https://www.github.com/browserbase/stagehand-php"}'
16+ env :
17+ PACKAGIST_USERNAME : ${{ secrets.STAGEHAND_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }}
18+ PACKAGIST_SAFE_KEY : ${{ secrets.STAGEHAND_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }}
Original file line number Diff line number Diff line change 11configured_endpoints : 8
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-43e6dd4ce19381de488d296e9036fea15bfea9a6f946cf8ccf4e02aecc8fb765.yml
33openapi_spec_hash : f736e7a8acea0d73e1031c86ea803246
4- config_hash : 75b561cd2ba925e4f2a62ec2f1d13738
4+ config_hash : b375728ccf7d33287335852f4f59c293
Original file line number Diff line number Diff line change @@ -77,22 +77,10 @@ The REST API documentation can be found on [docs.stagehand.dev](https://docs.sta
7777
7878## Installation
7979
80- To use this package, install via Composer by adding the following to your application's ` composer.json ` :
81-
8280<!-- x-release-please-start-version -->
8381
84- ``` json
85- {
86- "repositories" : [
87- {
88- "type" : " vcs" ,
89- "url" : " git@github.com:browserbase/stagehand-php.git"
90- }
91- ],
92- "require" : {
93- "browserbase/stagehand" : " dev-main"
94- }
95- }
82+ ```
83+ composer require "browserbase/stagehand 3.9.1"
9684```
9785
9886<!-- x-release-please-end -->
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ private function parsedGenerator(): \Generator
4949 }
5050
5151 if ($ data = $ row ['data ' ] ?? '' ) {
52- if (str_starts_with ($ data , needle: 'finished ' )) {
52+ if (str_starts_with ($ data , needle: '{"data":{"status":" finished" ' )) {
5353 $ done = true ;
5454
5555 continue ;
You can’t perform that action at this time.
0 commit comments