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 11configured_endpoints : 23
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-2783b07289e9f71f07550497c5180824f3dbc92477b5d1d8a80fa6dce4e3b8b6 .yml
3- openapi_spec_hash : e1d4cff965beed1ec255bf387d55d940
4- config_hash : 5a6e285f6e3a958a887b31b972a3f49c
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-8c84aaafca600b8a8f64e590997958a0b9dcb6172fdf3220dd243c20bd0ee3dc .yml
3+ openapi_spec_hash : 82d67b5080e55941b619875c222b94b8
4+ config_hash : 236823a4936c76818117c16aa5c188df
Original file line number Diff line number Diff line change @@ -250,6 +250,11 @@ export interface AmbientAgentConfig {
250250 */
251251 mcp_servers ?: { [ key : string ] : McpServerConfig } ;
252252
253+ /**
254+ * Memory stores to attach to this run.
255+ */
256+ memory_stores ?: Array < AmbientAgentConfig . MemoryStore > ;
257+
253258 /**
254259 * LLM model to use (uses team default if not specified)
255260 */
@@ -318,6 +323,26 @@ export namespace AmbientAgentConfig {
318323 claude_auth_secret_name ?: string ;
319324 }
320325
326+ /**
327+ * Reference to a memory store to attach to an agent.
328+ */
329+ export interface MemoryStore {
330+ /**
331+ * Access level for the store.
332+ */
333+ access : 'read_write' | 'read_only' ;
334+
335+ /**
336+ * Instructions for how the agent should use this memory store. Must not be empty.
337+ */
338+ instructions : string ;
339+
340+ /**
341+ * UID of the memory store.
342+ */
343+ uid : string ;
344+ }
345+
321346 /**
322347 * Configures sharing behavior for the run's shared session. When set, the worker
323348 * emits `--share public:<level>` and the bundled Warp client applies an
Original file line number Diff line number Diff line change @@ -178,6 +178,11 @@ export interface ScheduledAgentItem {
178178 */
179179 agent_config ?: AgentAPI . AmbientAgentConfig ;
180180
181+ /**
182+ * UID of the agent that this schedule runs as
183+ */
184+ agent_uid ?: string ;
185+
181186 created_by ?: AgentAPI . UserProfile ;
182187
183188 /**
Original file line number Diff line number Diff line change @@ -45,13 +45,20 @@ describe('resource schedules', () => {
4545 warp_id : 'warp_id' ,
4646 } ,
4747 } ,
48+ memory_stores : [
49+ {
50+ access : 'read_write' ,
51+ instructions : 'instructions' ,
52+ uid : 'uid' ,
53+ } ,
54+ ] ,
4855 model_id : 'model_id' ,
4956 name : 'name' ,
5057 session_sharing : { public_access : 'VIEWER' } ,
5158 skill_spec : 'skill_spec' ,
5259 worker_host : 'worker_host' ,
5360 } ,
54- agent_uid : 'agent_uid ' ,
61+ agent_uid : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e ' ,
5562 enabled : true ,
5663 mode : 'normal' ,
5764 prompt : 'Review open pull requests and provide feedback' ,
@@ -110,13 +117,20 @@ describe('resource schedules', () => {
110117 warp_id : 'warp_id' ,
111118 } ,
112119 } ,
120+ memory_stores : [
121+ {
122+ access : 'read_write' ,
123+ instructions : 'instructions' ,
124+ uid : 'uid' ,
125+ } ,
126+ ] ,
113127 model_id : 'model_id' ,
114128 name : 'name' ,
115129 session_sharing : { public_access : 'VIEWER' } ,
116130 skill_spec : 'skill_spec' ,
117131 worker_host : 'worker_host' ,
118132 } ,
119- agent_uid : 'agent_uid ' ,
133+ agent_uid : '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e ' ,
120134 mode : 'normal' ,
121135 prompt : 'prompt' ,
122136 } ) ;
You can’t perform that action at this time.
0 commit comments