File tree Expand file tree Collapse file tree
tests/api-resources/agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 publish :
1313 name : publish
1414 runs-on : ubuntu-latest
15+ permissions :
16+ contents : read
17+ id-token : write
1518
1619 steps :
1720 - uses : actions/checkout@v6
3134 - name : Publish to NPM
3235 run : |
3336 bash ./bin/publish-npm
34- env :
35- NPM_TOKEN : ${{ secrets.OZ_API_NPM_TOKEN || secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1717 - name : Check release environment
1818 run : |
1919 bash ./bin/check-release-environment
20- env :
21- NPM_TOKEN : ${{ secrets.OZ_API_NPM_TOKEN || secrets.NPM_TOKEN }}
2220
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ dist-deno
99/* .tgz
1010.idea /
1111.eslintcache
12-
12+ oidc
Original file line number Diff line number Diff line change 11{
2- "." : " 1.1.0-alpha.0 "
2+ "." : " 1.1.0-alpha.1 "
33}
Original file line number Diff line number Diff line change 11configured_endpoints : 14
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-7283a1794d3c59ddc27241892d1b962ee01c1bc5c0d9a456ff716c3d5e2420a7 .yml
3- openapi_spec_hash : b8754eda5e237d0938d6b808fe33bf9b
4- config_hash : 1888db8b2f33dc16874aea51a90e78f7
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-e281c64ee44d0db13ba9ce62d3a61e8b17fcd1fad9bffb5c3b0e3dfb2b5e66e1 .yml
3+ openapi_spec_hash : 6bd667f546147c5fac3bffe34522ba2f
4+ config_hash : 13082483d6856f6f89d1cf72b9ddff49
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.1.0-alpha.1 (2026-04-02)
4+
5+ Full Changelog: [ v1.1.0-alpha.0...v1.1.0-alpha.1] ( https://github.com/warpdotdev/oz-sdk-typescript/compare/v1.1.0-alpha.0...v1.1.0-alpha.1 )
6+
7+ ### Features
8+
9+ * ** api:** api update ([ 2a72eed] ( https://github.com/warpdotdev/oz-sdk-typescript/commit/2a72eed3e37028822c08d95c62284f7ad2031a10 ) )
10+
11+
12+ ### Chores
13+
14+ * update SDK settings ([ 5fb3398] ( https://github.com/warpdotdev/oz-sdk-typescript/commit/5fb3398dc8a3cc0ef1502eaba66ff163f002639d ) )
15+ * update SDK settings ([ 1ebeed5] ( https://github.com/warpdotdev/oz-sdk-typescript/commit/1ebeed5341749a0e508853beedf9e0a4955a5c93 ) )
16+ * update SDK settings ([ ca7e29f] ( https://github.com/warpdotdev/oz-sdk-typescript/commit/ca7e29f68a7d7d2dca4258eab6591f5ce8fa7961 ) )
17+
318## 1.1.0-alpha.0 (2026-04-02)
419
520Full Changelog: [ v1.0.2...v1.1.0-alpha.0] ( https://github.com/warpdotdev/oz-sdk-typescript/compare/v1.0.2...v1.1.0-alpha.0 )
Original file line number Diff line number Diff line change 22
33errors=()
44
5- if [ -z " ${NPM_TOKEN} " ]; then
6- errors+=(" The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets" )
7- fi
8-
95lenErrors=${# errors[@]}
106
117if [[ lenErrors -gt 0 ]]; then
Original file line number Diff line number Diff line change 22
33set -eux
44
5- npm config set ' //registry.npmjs.org/:_authToken' " $NPM_TOKEN "
5+ if [[ ${NPM_TOKEN:- } ]]; then
6+ npm config set ' //registry.npmjs.org/:_authToken' " $NPM_TOKEN "
7+ elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:- } ]]; then
8+ echo " ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission"
9+ exit 1
10+ fi
611
712pnpm build
813cd dist
5762 TAG=" latest"
5863fi
5964
65+ # Install OIDC compatible npm version
66+ npm install --prefix ../oidc/ npm@11.6.2
67+
6068# Publish with the appropriate tag
61- pnpm publish --no-git-checks --tag " $TAG "
69+ pnpm publish --npm-path " $( cd ../ && pwd ) /oidc/node_modules/.bin/npm " -- no-git-checks --tag " $TAG "
Original file line number Diff line number Diff line change 11{
22 "name" : " oz-agent-sdk" ,
3- "version" : " 1.1.0-alpha.0 " ,
3+ "version" : " 1.1.0-alpha.1 " ,
44 "description" : " The official TypeScript library for the Oz API API" ,
55 "author" : " Oz API <>" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export interface AmbientAgentConfig {
186186
187187 /**
188188 * Specifies which execution harness to use for the agent run. Default (nil/empty)
189- * uses Warp's built-in harness.
189+ * uses Warp's built-in Oz harness.
190190 */
191191 harness ?: AmbientAgentConfig . Harness ;
192192
@@ -233,16 +233,13 @@ export interface AmbientAgentConfig {
233233export namespace AmbientAgentConfig {
234234 /**
235235 * Specifies which execution harness to use for the agent run. Default (nil/empty)
236- * uses Warp's built-in harness.
236+ * uses Warp's built-in Oz harness.
237237 */
238238 export interface Harness {
239239 /**
240- * The harness type identifier.
241- *
242- * - oz: Warp's built-in harness (default)
243- * - claude: Claude Code harness
240+ * The harness type identifier (e.g. "claude").
244241 */
245- type ?: 'oz' | 'claude' ;
242+ type ?: string ;
246243 }
247244}
248245
You can’t perform that action at this time.
0 commit comments