Skip to content

Commit 9cc6526

Browse files
authored
Merge pull request #21 from warpdotdev/release-please--branches--main--changes--next--components--oz-agent-sdk
release: 1.1.0-alpha.1
2 parents bbfa0db + 0c4d479 commit 9cc6526

12 files changed

Lines changed: 41 additions & 26 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
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
@@ -31,5 +34,3 @@ jobs:
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 }}

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,4 @@ jobs:
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

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ dist-deno
99
/*.tgz
1010
.idea/
1111
.eslintcache
12-
12+
oidc

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.1.0-alpha.0"
2+
".": "1.1.0-alpha.1"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_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

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
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

520
Full 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)

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
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-
95
lenErrors=${#errors[@]}
106

117
if [[ lenErrors -gt 0 ]]; then

bin/publish-npm

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
set -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

712
pnpm build
813
cd dist
@@ -57,5 +62,8 @@ else
5762
TAG="latest"
5863
fi
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"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

src/resources/agent/agent.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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 {
233233
export 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

0 commit comments

Comments
 (0)