Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
publish:
name: publish
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v6
Expand All @@ -31,5 +34,3 @@ jobs:
- name: Publish to NPM
run: |
bash ./bin/publish-npm
env:
NPM_TOKEN: ${{ secrets.OZ_API_NPM_TOKEN || secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@ jobs:
- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
NPM_TOKEN: ${{ secrets.OZ_API_NPM_TOKEN || secrets.NPM_TOKEN }}

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ dist-deno
/*.tgz
.idea/
.eslintcache

oidc
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.1.0-alpha.0"
".": "1.1.0-alpha.1"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 14
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-7283a1794d3c59ddc27241892d1b962ee01c1bc5c0d9a456ff716c3d5e2420a7.yml
openapi_spec_hash: b8754eda5e237d0938d6b808fe33bf9b
config_hash: 1888db8b2f33dc16874aea51a90e78f7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-e281c64ee44d0db13ba9ce62d3a61e8b17fcd1fad9bffb5c3b0e3dfb2b5e66e1.yml
openapi_spec_hash: 6bd667f546147c5fac3bffe34522ba2f
config_hash: 13082483d6856f6f89d1cf72b9ddff49
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 1.1.0-alpha.1 (2026-04-02)

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)

### Features

* **api:** api update ([2a72eed](https://github.com/warpdotdev/oz-sdk-typescript/commit/2a72eed3e37028822c08d95c62284f7ad2031a10))


### Chores

* update SDK settings ([5fb3398](https://github.com/warpdotdev/oz-sdk-typescript/commit/5fb3398dc8a3cc0ef1502eaba66ff163f002639d))
* update SDK settings ([1ebeed5](https://github.com/warpdotdev/oz-sdk-typescript/commit/1ebeed5341749a0e508853beedf9e0a4955a5c93))
* update SDK settings ([ca7e29f](https://github.com/warpdotdev/oz-sdk-typescript/commit/ca7e29f68a7d7d2dca4258eab6591f5ce8fa7961))

## 1.1.0-alpha.0 (2026-04-02)

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)
Expand Down
4 changes: 0 additions & 4 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

errors=()

if [ -z "${NPM_TOKEN}" ]; then
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

lenErrors=${#errors[@]}

if [[ lenErrors -gt 0 ]]; then
Expand Down
12 changes: 10 additions & 2 deletions bin/publish-npm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

set -eux

npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
if [[ ${NPM_TOKEN:-} ]]; then
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-} ]]; then
echo "ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission"
exit 1
fi

pnpm build
cd dist
Expand Down Expand Up @@ -57,5 +62,8 @@ else
TAG="latest"
fi

# Install OIDC compatible npm version
npm install --prefix ../oidc/ npm@11.6.2

# Publish with the appropriate tag
pnpm publish --no-git-checks --tag "$TAG"
pnpm publish --npm-path "$(cd ../ && pwd)/oidc/node_modules/.bin/npm" --no-git-checks --tag "$TAG"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oz-agent-sdk",
"version": "1.1.0-alpha.0",
"version": "1.1.0-alpha.1",
"description": "The official TypeScript library for the Oz API API",
"author": "Oz API <>",
"types": "dist/index.d.ts",
Expand Down
11 changes: 4 additions & 7 deletions src/resources/agent/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export interface AmbientAgentConfig {

/**
* Specifies which execution harness to use for the agent run. Default (nil/empty)
* uses Warp's built-in harness.
* uses Warp's built-in Oz harness.
*/
harness?: AmbientAgentConfig.Harness;

Expand Down Expand Up @@ -233,16 +233,13 @@ export interface AmbientAgentConfig {
export namespace AmbientAgentConfig {
/**
* Specifies which execution harness to use for the agent run. Default (nil/empty)
* uses Warp's built-in harness.
* uses Warp's built-in Oz harness.
*/
export interface Harness {
/**
* The harness type identifier.
*
* - oz: Warp's built-in harness (default)
* - claude: Claude Code harness
* The harness type identifier (e.g. "claude").
*/
type?: 'oz' | 'claude';
type?: string;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.1.0-alpha.0'; // x-release-please-version
export const VERSION = '1.1.0-alpha.1'; // x-release-please-version
4 changes: 2 additions & 2 deletions tests/api-resources/agent/schedules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('resource schedules', () => {
base_prompt: 'base_prompt',
computer_use_enabled: true,
environment_id: 'environment_id',
harness: { type: 'oz' },
harness: { type: 'type' },
idle_timeout_minutes: 1,
mcp_servers: {
foo: {
Expand Down Expand Up @@ -93,7 +93,7 @@ describe('resource schedules', () => {
base_prompt: 'base_prompt',
computer_use_enabled: true,
environment_id: 'environment_id',
harness: { type: 'oz' },
harness: { type: 'type' },
idle_timeout_minutes: 1,
mcp_servers: {
foo: {
Expand Down
Loading