Skip to content

Commit 8be8359

Browse files
release: 1.3.0 (#26)
* codegen metadata * feat(api): api update * feat(api): api update * codegen metadata * feat: Update public API and graphql to support creating multiple service accounts and API keys * feat(api): api update * feat(api): api update * codegen metadata * codegen metadata * feat: Add API support for public access on oz session link * feat(api): api update * feat(api): api update * chore(internal): more robust bootstrap script * feat: Add Gemini as a third-party Oz harness. * codegen metadata * feat: implement server-side cloud-to-cloud handoff for agent follow-ups (REMOTE-1290) * feat: Accept and persist executor on schedule and integration create/update APIs * feat(api): api update * release: 1.3.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent bcf0a2b commit 8be8359

12 files changed

Lines changed: 311 additions & 9 deletions

File tree

.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.2.0"
2+
".": "1.3.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 15
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-252ab435934e85d5f76957188c64906abf76a0351c5861383327cb1297a2ac8a.yml
3-
openapi_spec_hash: ed801bb30428c1c66cb0af97e3f6ee9c
4-
config_hash: 253e4b5ca01236d448980a78491c17c5
1+
configured_endpoints: 19
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-348bf98eecccd80255fdcee166b5eb385d8d9743811d080f94a1ec33337abc48.yml
3+
openapi_spec_hash: e192bff5e5b54b3a763136e6cbd70e76
4+
config_hash: c5fc921cc04f541a85f92299f365eba6

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 1.3.0 (2026-04-23)
4+
5+
Full Changelog: [v1.2.0...v1.3.0](https://github.com/warpdotdev/oz-sdk-typescript/compare/v1.2.0...v1.3.0)
6+
7+
### Features
8+
9+
* Accept and persist executor on schedule and integration create/update APIs ([5f9b8bc](https://github.com/warpdotdev/oz-sdk-typescript/commit/5f9b8bc3957e30ac32b1719ac58d098db375c94c))
10+
* Add API support for public access on oz session link ([4cb146c](https://github.com/warpdotdev/oz-sdk-typescript/commit/4cb146ccb9e0c03c84fc58bfc0913ac80de798e0))
11+
* Add Gemini as a third-party Oz harness. ([a40afa5](https://github.com/warpdotdev/oz-sdk-typescript/commit/a40afa57024e4c08626b7fe6b46adb6db0d326b7))
12+
* **api:** api update ([c8c6e74](https://github.com/warpdotdev/oz-sdk-typescript/commit/c8c6e74fc51ae73bf32104dd482ad2202bf34849))
13+
* **api:** api update ([272c460](https://github.com/warpdotdev/oz-sdk-typescript/commit/272c4604fc764ca8e844cbbdf9b3adea785bf378))
14+
* **api:** api update ([aedca4a](https://github.com/warpdotdev/oz-sdk-typescript/commit/aedca4a06790460e99ce7194cd7eba11e9769449))
15+
* **api:** api update ([b01e3a7](https://github.com/warpdotdev/oz-sdk-typescript/commit/b01e3a7535604d26079b1cbe00aca5cded1452e5))
16+
* **api:** api update ([5f82281](https://github.com/warpdotdev/oz-sdk-typescript/commit/5f82281f598ced615fb4349b76433f2b11f7e166))
17+
* **api:** api update ([b0a1504](https://github.com/warpdotdev/oz-sdk-typescript/commit/b0a1504a65ce72f232540eb69916bdd71bdabfe4))
18+
* **api:** api update ([5036b1b](https://github.com/warpdotdev/oz-sdk-typescript/commit/5036b1bb235dc35f844a85d269be889a82e852ca))
19+
* implement server-side cloud-to-cloud handoff for agent follow-ups (REMOTE-1290) ([1134f2b](https://github.com/warpdotdev/oz-sdk-typescript/commit/1134f2b93bb30785866bc67831b75182d65c6a45))
20+
* Update public API and graphql to support creating multiple service accounts and API keys ([1fa19c3](https://github.com/warpdotdev/oz-sdk-typescript/commit/1fa19c39375550cc1dfe4b7dd0bce5bb58361821))
21+
22+
23+
### Chores
24+
25+
* **internal:** more robust bootstrap script ([1c52dcf](https://github.com/warpdotdev/oz-sdk-typescript/commit/1c52dcf1aa971ee4dbd8b672e8dff5c7765d8148))
26+
327
## 1.2.0 (2026-04-15)
428

529
Full Changelog: [v1.1.1...v1.2.0](https://github.com/warpdotdev/oz-sdk-typescript/compare/v1.1.1...v1.2.0)

api.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,22 @@ Methods:
6060
- <code title="post /agent/schedules/{scheduleId}/pause">client.agent.schedules.<a href="./src/resources/agent/schedules.ts">pause</a>(scheduleID) -> ScheduledAgentItem</code>
6161
- <code title="post /agent/schedules/{scheduleId}/resume">client.agent.schedules.<a href="./src/resources/agent/schedules.ts">resume</a>(scheduleID) -> ScheduledAgentItem</code>
6262

63+
## Agent
64+
65+
Types:
66+
67+
- <code><a href="./src/resources/agent/agent_.ts">AgentResponse</a></code>
68+
- <code><a href="./src/resources/agent/agent_.ts">CreateAgentRequest</a></code>
69+
- <code><a href="./src/resources/agent/agent_.ts">ListAgentIdentitiesResponse</a></code>
70+
- <code><a href="./src/resources/agent/agent_.ts">UpdateAgentRequest</a></code>
71+
72+
Methods:
73+
74+
- <code title="post /agent/identities">client.agent.agent.<a href="./src/resources/agent/agent_.ts">create</a>({ ...params }) -> AgentResponse</code>
75+
- <code title="put /agent/identities/{uid}">client.agent.agent.<a href="./src/resources/agent/agent_.ts">update</a>(uid, { ...params }) -> AgentResponse</code>
76+
- <code title="get /agent/identities">client.agent.agent.<a href="./src/resources/agent/agent_.ts">list</a>() -> ListAgentIdentitiesResponse</code>
77+
- <code title="delete /agent/identities/{uid}">client.agent.agent.<a href="./src/resources/agent/agent_.ts">delete</a>(uid) -> void</code>
78+
6379
## Sessions
6480

6581
Types:

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.2.0",
3+
"version": "1.3.0",
44
"description": "The official TypeScript library for the Oz API API",
55
"author": "Oz API <>",
66
"types": "dist/index.d.ts",

scripts/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7-
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
7+
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then
88
brew bundle check >/dev/null 2>&1 || {
99
echo -n "==> Install Homebrew dependencies? (y/N): "
1010
read -r response

src/resources/agent/agent.ts

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
import { APIResource } from '../../core/resource';
44
import * as AgentAPI from './agent';
5+
import * as AgentAgentAPI from './agent_';
6+
import {
7+
Agent as AgentAPIAgent,
8+
AgentCreateParams,
9+
AgentResponse,
10+
AgentUpdateParams,
11+
CreateAgentRequest,
12+
ListAgentIdentitiesResponse,
13+
UpdateAgentRequest,
14+
} from './agent_';
515
import * as RunsAPI from './runs';
616
import {
717
ArtifactItem,
@@ -35,6 +45,7 @@ import { path } from '../../internal/utils/path';
3545
export class Agent extends APIResource {
3646
runs: RunsAPI.Runs = new RunsAPI.Runs(this._client);
3747
schedules: SchedulesAPI.Schedules = new SchedulesAPI.Schedules(this._client);
48+
agent: AgentAgentAPI.Agent = new AgentAgentAPI.Agent(this._client);
3849
sessions: SessionsAPI.Sessions = new SessionsAPI.Sessions(this._client);
3950

4051
/**
@@ -246,6 +257,16 @@ export interface AmbientAgentConfig {
246257
*/
247258
name?: string;
248259

260+
/**
261+
* Configures sharing behavior for the run's shared session. When set, the worker
262+
* emits `--share public:<level>` and the bundled Warp client applies an
263+
* anyone-with-link ACL to the shared session once it has bootstrapped. The same
264+
* ACL is mirrored onto the backing conversation so link viewers can read the
265+
* conversation without being on the run's team. Subject to the workspace-level
266+
* anyone-with-link sharing setting.
267+
*/
268+
session_sharing?: AmbientAgentConfig.SessionSharing;
269+
249270
/**
250271
* Skill specification identifying which agent skill to use. Format:
251272
* "{owner}/{repo}:{skill_path}" Example:
@@ -272,8 +293,9 @@ export namespace AmbientAgentConfig {
272293
*
273294
* - oz: Warp's built-in harness (default)
274295
* - claude: Claude Code harness
296+
* - gemini: Gemini CLI harness
275297
*/
276-
type?: 'oz' | 'claude';
298+
type?: 'oz' | 'claude' | 'gemini';
277299
}
278300

279301
/**
@@ -288,6 +310,27 @@ export namespace AmbientAgentConfig {
288310
*/
289311
claude_auth_secret_name?: string;
290312
}
313+
314+
/**
315+
* Configures sharing behavior for the run's shared session. When set, the worker
316+
* emits `--share public:<level>` and the bundled Warp client applies an
317+
* anyone-with-link ACL to the shared session once it has bootstrapped. The same
318+
* ACL is mirrored onto the backing conversation so link viewers can read the
319+
* conversation without being on the run's team. Subject to the workspace-level
320+
* anyone-with-link sharing setting.
321+
*/
322+
export interface SessionSharing {
323+
/**
324+
* Grants anyone-with-link access at the specified level to the run's shared
325+
* session and backing conversation.
326+
*
327+
* - VIEWER: link viewers can read the session and conversation.
328+
* - EDITOR: link viewers can also interact with the session. Anonymous
329+
* (unauthenticated) reads are not supported in this release; link viewers must
330+
* still be authenticated Warp users.
331+
*/
332+
public_access?: 'VIEWER' | 'EDITOR';
333+
}
291334
}
292335

293336
/**
@@ -1019,6 +1062,7 @@ export namespace AgentRunParams {
10191062

10201063
Agent.Runs = Runs;
10211064
Agent.Schedules = Schedules;
1065+
Agent.Agent = AgentAPIAgent;
10221066
Agent.Sessions = Sessions;
10231067

10241068
export declare namespace Agent {
@@ -1064,5 +1108,15 @@ export declare namespace Agent {
10641108
type ScheduleUpdateParams as ScheduleUpdateParams,
10651109
};
10661110

1111+
export {
1112+
AgentAPIAgent as Agent,
1113+
type AgentResponse as AgentResponse,
1114+
type CreateAgentRequest as CreateAgentRequest,
1115+
type ListAgentIdentitiesResponse as ListAgentIdentitiesResponse,
1116+
type UpdateAgentRequest as UpdateAgentRequest,
1117+
type AgentCreateParams as AgentCreateParams,
1118+
type AgentUpdateParams as AgentUpdateParams,
1119+
};
1120+
10671121
export { Sessions as Sessions, type SessionCheckRedirectResponse as SessionCheckRedirectResponse };
10681122
}

src/resources/agent/agent_.ts

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
import { APIResource } from '../../core/resource';
4+
import { APIPromise } from '../../core/api-promise';
5+
import { buildHeaders } from '../../internal/headers';
6+
import { RequestOptions } from '../../internal/request-options';
7+
import { path } from '../../internal/utils/path';
8+
9+
/**
10+
* Operations for running and managing cloud agents
11+
*/
12+
export class Agent extends APIResource {
13+
/**
14+
* Create a new agent for the caller's team. Agents can be used as the execution
15+
* principal for team-owned runs.
16+
*
17+
* @example
18+
* ```ts
19+
* const agentResponse = await client.agent.agent.create({
20+
* name: 'name',
21+
* });
22+
* ```
23+
*/
24+
create(body: AgentCreateParams, options?: RequestOptions): APIPromise<AgentResponse> {
25+
return this._client.post('/agent/identities', { body, ...options });
26+
}
27+
28+
/**
29+
* Update an existing agent.
30+
*
31+
* @example
32+
* ```ts
33+
* const agentResponse = await client.agent.agent.update(
34+
* 'uid',
35+
* );
36+
* ```
37+
*/
38+
update(uid: string, body: AgentUpdateParams, options?: RequestOptions): APIPromise<AgentResponse> {
39+
return this._client.put(path`/agent/identities/${uid}`, { body, ...options });
40+
}
41+
42+
/**
43+
* List all agents for the caller's team. Each agent includes an `available` flag
44+
* indicating whether it is within the team's plan limit and may be used for runs.
45+
*
46+
* @example
47+
* ```ts
48+
* const listAgentIdentitiesResponse =
49+
* await client.agent.agent.list();
50+
* ```
51+
*/
52+
list(options?: RequestOptions): APIPromise<ListAgentIdentitiesResponse> {
53+
return this._client.get('/agent/identities', options);
54+
}
55+
56+
/**
57+
* Delete an agent. All API keys associated with the agent are deleted atomically.
58+
*
59+
* @example
60+
* ```ts
61+
* await client.agent.agent.delete('uid');
62+
* ```
63+
*/
64+
delete(uid: string, options?: RequestOptions): APIPromise<void> {
65+
return this._client.delete(path`/agent/identities/${uid}`, {
66+
...options,
67+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
68+
});
69+
}
70+
}
71+
72+
export interface AgentResponse {
73+
/**
74+
* Whether this agent is within the team's plan limit and can be used for runs
75+
*/
76+
available: boolean;
77+
78+
/**
79+
* When the agent was created (RFC3339)
80+
*/
81+
created_at: string;
82+
83+
/**
84+
* Name of the agent
85+
*/
86+
name: string;
87+
88+
/**
89+
* Unique identifier for the agent
90+
*/
91+
uid: string;
92+
}
93+
94+
export interface CreateAgentRequest {
95+
/**
96+
* A name for the agent
97+
*/
98+
name: string;
99+
}
100+
101+
export interface ListAgentIdentitiesResponse {
102+
agents: Array<AgentResponse>;
103+
}
104+
105+
export interface UpdateAgentRequest {
106+
/**
107+
* The new name for the agent
108+
*/
109+
name?: string;
110+
}
111+
112+
export interface AgentCreateParams {
113+
/**
114+
* A name for the agent
115+
*/
116+
name: string;
117+
}
118+
119+
export interface AgentUpdateParams {
120+
/**
121+
* The new name for the agent
122+
*/
123+
name?: string;
124+
}
125+
126+
export declare namespace Agent {
127+
export {
128+
type AgentResponse as AgentResponse,
129+
type CreateAgentRequest as CreateAgentRequest,
130+
type ListAgentIdentitiesResponse as ListAgentIdentitiesResponse,
131+
type UpdateAgentRequest as UpdateAgentRequest,
132+
type AgentCreateParams as AgentCreateParams,
133+
type AgentUpdateParams as AgentUpdateParams,
134+
};
135+
}

src/resources/agent/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,11 @@ export {
4141
type ScheduleUpdateParams,
4242
} from './schedules';
4343
export { Sessions, type SessionCheckRedirectResponse } from './sessions';
44+
export {
45+
type AgentResponse,
46+
type CreateAgentRequest,
47+
type ListAgentIdentitiesResponse,
48+
type UpdateAgentRequest,
49+
type AgentCreateParams,
50+
type AgentUpdateParams,
51+
} from './agent_';

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.2.0'; // x-release-please-version
1+
export const VERSION = '1.3.0'; // x-release-please-version

0 commit comments

Comments
 (0)