@deepraxis/sdk 0.1.1-dev.d76350c → 0.1.1-dev.d774271

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -160,6 +160,7 @@ export declare function createAgent(transport: Transport): {
160
160
  };
161
161
  avatar: string | null;
162
162
  creation_source: string | null;
163
+ managed_by: string | null;
163
164
  identity_number: string | null;
164
165
  environment_id?: string | null;
165
166
  vault_ids?: Array<string>;
@@ -351,6 +352,7 @@ export declare function createAgent(transport: Transport): {
351
352
  };
352
353
  avatar: string | null;
353
354
  creation_source: string | null;
355
+ managed_by: string | null;
354
356
  identity_number: string | null;
355
357
  environment_id?: string | null;
356
358
  vault_ids?: Array<string>;
@@ -888,6 +890,7 @@ export declare function createAgent(transport: Transport): {
888
890
  };
889
891
  avatar: string | null;
890
892
  creation_source: string | null;
893
+ managed_by: string | null;
891
894
  identity_number: string | null;
892
895
  environment_id?: string | null;
893
896
  vault_ids?: Array<string>;
@@ -1066,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
1066
1069
  };
1067
1070
  avatar: string | null;
1068
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
1069
1073
  identity_number: string | null;
1070
1074
  environment_id?: string | null;
1071
1075
  vault_ids?: Array<string>;
@@ -1522,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
1522
1526
  };
1523
1527
  avatar: string | null;
1524
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1525
1530
  identity_number: string | null;
1526
1531
  environment_id?: string | null;
1527
1532
  vault_ids?: Array<string>;
@@ -1699,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
1699
1704
  };
1700
1705
  avatar: string | null;
1701
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1702
1708
  identity_number: string | null;
1703
1709
  environment_id?: string | null;
1704
1710
  vault_ids?: Array<string>;
@@ -2092,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
2092
2098
  };
2093
2099
  avatar: string | null;
2094
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
2095
2102
  identity_number: string | null;
2096
2103
  environment_id?: string | null;
2097
2104
  vault_ids?: Array<string>;
@@ -2269,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
2269
2276
  };
2270
2277
  avatar: string | null;
2271
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
2272
2280
  identity_number: string | null;
2273
2281
  environment_id?: string | null;
2274
2282
  vault_ids?: Array<string>;
@@ -2356,6 +2364,18 @@ export declare function createAgent(transport: Transport): {
2356
2364
  tier: "light" | "heavy";
2357
2365
  }>;
2358
2366
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2367
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2368
+ variant: "image" | "pdf" | "text" | "original";
2369
+ version?: string;
2370
+ mime_type?: string;
2371
+ size?: number;
2372
+ file_id?: string;
2373
+ url?: string;
2374
+ expires_at?: string;
2375
+ cached: boolean;
2376
+ fallback?: "content";
2377
+ skipped?: boolean;
2378
+ }>;
2359
2379
  };
2360
2380
  leases: {
2361
2381
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -3214,6 +3234,11 @@ export declare function createAgent(transport: Transport): {
3214
3234
  vault_ids: Array<string>;
3215
3235
  deployment_id?: null | string;
3216
3236
  cwd: string;
3237
+ workspace?: {
3238
+ kind: "shared" | "isolated";
3239
+ path?: string;
3240
+ branch?: string;
3241
+ };
3217
3242
  computer_id?: string;
3218
3243
  model?: {
3219
3244
  id: string;
@@ -3274,6 +3299,11 @@ export declare function createAgent(transport: Transport): {
3274
3299
  vault_ids: Array<string>;
3275
3300
  deployment_id?: null | string;
3276
3301
  cwd: string;
3302
+ workspace?: {
3303
+ kind: "shared" | "isolated";
3304
+ path?: string;
3305
+ branch?: string;
3306
+ };
3277
3307
  computer_id?: string;
3278
3308
  model?: {
3279
3309
  id: string;
@@ -3436,6 +3466,11 @@ export declare function createAgent(transport: Transport): {
3436
3466
  vault_ids: Array<string>;
3437
3467
  deployment_id?: null | string;
3438
3468
  cwd: string;
3469
+ workspace?: {
3470
+ kind: "shared" | "isolated";
3471
+ path?: string;
3472
+ branch?: string;
3473
+ };
3439
3474
  computer_id?: string;
3440
3475
  model?: {
3441
3476
  id: string;
@@ -4128,160 +4163,708 @@ export declare function createAgent(transport: Transport): {
4128
4163
  properties?: null | {
4129
4164
  [key: string]: unknown;
4130
4165
  };
4131
- required?: null | Array<string>;
4132
- [key: string]: unknown;
4133
- };
4134
- name: string;
4135
- type: "custom";
4136
- }>;
4137
- type: "agent";
4138
- version: number;
4139
- };
4140
- archived_at: null | string;
4141
- budget: null | {
4142
- max_list_cost: {
4143
- amount: string;
4144
- currency: "USD";
4166
+ required?: null | Array<string>;
4167
+ [key: string]: unknown;
4168
+ };
4169
+ name: string;
4170
+ type: "custom";
4171
+ }>;
4172
+ type: "agent";
4173
+ version: number;
4174
+ };
4175
+ archived_at: null | string;
4176
+ budget: null | {
4177
+ max_list_cost: {
4178
+ amount: string;
4179
+ currency: "USD";
4180
+ };
4181
+ type: "limit";
4182
+ };
4183
+ created_at: string;
4184
+ environment_id?: string;
4185
+ metadata: {
4186
+ [key: string]: string;
4187
+ };
4188
+ outcome_evaluations: Array<{
4189
+ completed_at: null | string;
4190
+ description: string;
4191
+ explanation: null | string;
4192
+ iteration: number;
4193
+ outcome_id: string;
4194
+ result: string;
4195
+ type: "outcome_evaluation";
4196
+ }>;
4197
+ resources: Array<{
4198
+ id: string;
4199
+ created_at: string;
4200
+ mount_path: string;
4201
+ type: "github_repository";
4202
+ updated_at: string;
4203
+ url: string;
4204
+ checkout?: null | {
4205
+ name: string;
4206
+ type: "branch";
4207
+ } | {
4208
+ sha: string;
4209
+ type: "commit";
4210
+ };
4211
+ } | {
4212
+ id: string;
4213
+ created_at: string;
4214
+ file_id: string;
4215
+ mount_path: string;
4216
+ type: "file";
4217
+ updated_at: string;
4218
+ } | {
4219
+ memory_store_id: string;
4220
+ type: "memory_store";
4221
+ access?: null | "read_write" | "read_only";
4222
+ description?: string;
4223
+ instructions?: null | string;
4224
+ mount_path?: null | string;
4225
+ name?: null | string;
4226
+ }>;
4227
+ stats: {
4228
+ active_seconds?: number;
4229
+ duration_seconds?: number;
4230
+ };
4231
+ status: "rescheduling" | "running" | "idle" | "terminated";
4232
+ title: null | string;
4233
+ type: "session";
4234
+ updated_at: string;
4235
+ usage: {
4236
+ active_seconds?: number;
4237
+ cache_creation?: {
4238
+ ephemeral_1h_input_tokens?: number;
4239
+ ephemeral_5m_input_tokens?: number;
4240
+ };
4241
+ cache_read_input_tokens?: number;
4242
+ input_tokens?: number;
4243
+ list_cost?: null | {
4244
+ amount: string;
4245
+ currency: "USD";
4246
+ };
4247
+ output_tokens?: number;
4248
+ server_tool_use?: null | {
4249
+ web_fetch_requests?: number;
4250
+ web_search_requests?: number;
4251
+ };
4252
+ cost_by_product?: {
4253
+ [key: string]: string;
4254
+ };
4255
+ subagent_cost_micro_usd?: number;
4256
+ };
4257
+ vault_ids: Array<string>;
4258
+ deployment_id?: null | string;
4259
+ cwd: string;
4260
+ workspace?: {
4261
+ kind: "shared" | "isolated";
4262
+ path?: string;
4263
+ branch?: string;
4264
+ };
4265
+ computer_id?: string;
4266
+ model?: {
4267
+ id: string;
4268
+ thinking: {
4269
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4270
+ can_disable: boolean;
4271
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4272
+ } | null;
4273
+ };
4274
+ thinking?: {
4275
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4276
+ } | null;
4277
+ forked_from?: {
4278
+ session_id: string;
4279
+ message_id: string;
4280
+ } | null;
4281
+ readonly external_user_id: string | null;
4282
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4283
+ }>;
4284
+ list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
4285
+ data: Array<{
4286
+ id: string;
4287
+ agent: {
4288
+ id: string;
4289
+ description: null | string;
4290
+ mcp_servers: Array<Types.AgentManaged36>;
4291
+ model: {
4292
+ id: string;
4293
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4294
+ inference_geo?: string;
4295
+ speed?: "standard" | "fast";
4296
+ settings?: {
4297
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4298
+ max_output_tokens?: number;
4299
+ };
4300
+ };
4301
+ multiagent: null | Types.AgentManaged171;
4302
+ name: string;
4303
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4304
+ system: null | string;
4305
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4306
+ type: "agent";
4307
+ version: number;
4308
+ };
4309
+ archived_at: null | string;
4310
+ budget: null | Types.AgentManaged76;
4311
+ created_at: string;
4312
+ environment_id?: string;
4313
+ metadata: Types.AgentManaged173;
4314
+ outcome_evaluations: Array<Types.AgentManaged174>;
4315
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4316
+ stats: Types.AgentManaged178;
4317
+ status: "rescheduling" | "running" | "idle" | "terminated";
4318
+ title: null | string;
4319
+ type: "session";
4320
+ updated_at: string;
4321
+ usage: Types.AgentManaged179;
4322
+ vault_ids: Array<string>;
4323
+ deployment_id?: null | string;
4324
+ cwd: string;
4325
+ workspace?: {
4326
+ kind: "shared" | "isolated";
4327
+ path?: string;
4328
+ branch?: string;
4329
+ };
4330
+ computer_id?: string;
4331
+ model?: {
4332
+ id: string;
4333
+ thinking: {
4334
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4335
+ can_disable: boolean;
4336
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4337
+ } | null;
4338
+ };
4339
+ thinking?: {
4340
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4341
+ } | null;
4342
+ forked_from?: {
4343
+ session_id: string;
4344
+ message_id: string;
4345
+ } | null;
4346
+ readonly external_user_id: string | null;
4347
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4348
+ }>;
4349
+ next_page: string | null;
4350
+ }>;
4351
+ name: {
4352
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4353
+ id: string;
4354
+ agent: {
4355
+ id: string;
4356
+ description: null | string;
4357
+ mcp_servers: Array<{
4358
+ type: "url";
4359
+ name: string;
4360
+ url: string;
4361
+ headers?: {
4362
+ [key: string]: string;
4363
+ };
4364
+ timeout_ms?: number;
4365
+ } | {
4366
+ type: "sse";
4367
+ name: string;
4368
+ url: string;
4369
+ headers?: {
4370
+ [key: string]: string;
4371
+ };
4372
+ timeout_ms?: number;
4373
+ } | {
4374
+ type: "stdio";
4375
+ name: string;
4376
+ command: string;
4377
+ args?: Array<string>;
4378
+ env?: {
4379
+ [key: string]: string;
4380
+ };
4381
+ timeout_ms?: number;
4382
+ }>;
4383
+ model: {
4384
+ id: string;
4385
+ effort?: {
4386
+ type: "low";
4387
+ } | {
4388
+ type: "medium";
4389
+ } | {
4390
+ type: "high";
4391
+ } | {
4392
+ type: "xhigh";
4393
+ } | {
4394
+ type: "max";
4395
+ };
4396
+ inference_geo?: string;
4397
+ speed?: "standard" | "fast";
4398
+ settings?: {
4399
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4400
+ max_output_tokens?: number;
4401
+ };
4402
+ };
4403
+ multiagent: null | {
4404
+ agents: Array<{
4405
+ model: string;
4406
+ type: "advisor";
4407
+ } | {
4408
+ id: string;
4409
+ description: null | string;
4410
+ mcp_servers: Array<{
4411
+ type: "url";
4412
+ name: string;
4413
+ url: string;
4414
+ headers?: {
4415
+ [key: string]: string;
4416
+ };
4417
+ timeout_ms?: number;
4418
+ } | {
4419
+ type: "sse";
4420
+ name: string;
4421
+ url: string;
4422
+ headers?: {
4423
+ [key: string]: string;
4424
+ };
4425
+ timeout_ms?: number;
4426
+ } | {
4427
+ type: "stdio";
4428
+ name: string;
4429
+ command: string;
4430
+ args?: Array<string>;
4431
+ env?: {
4432
+ [key: string]: string;
4433
+ };
4434
+ timeout_ms?: number;
4435
+ }>;
4436
+ model: {
4437
+ id: string;
4438
+ effort?: {
4439
+ type: "low";
4440
+ } | {
4441
+ type: "medium";
4442
+ } | {
4443
+ type: "high";
4444
+ } | {
4445
+ type: "xhigh";
4446
+ } | {
4447
+ type: "max";
4448
+ };
4449
+ inference_geo?: string;
4450
+ speed?: "standard" | "fast";
4451
+ };
4452
+ name: string;
4453
+ skills: Array<{
4454
+ skill_id: string;
4455
+ type: "anthropic";
4456
+ version: string;
4457
+ } | {
4458
+ skill_id: string;
4459
+ type: "custom";
4460
+ version: string;
4461
+ }>;
4462
+ system: null | string;
4463
+ tools: Array<{
4464
+ configs: Array<{
4465
+ enabled: boolean;
4466
+ name: "bash";
4467
+ permission_policy: {
4468
+ type: "always_allow";
4469
+ } | {
4470
+ type: "always_ask";
4471
+ } | {
4472
+ type: "auto";
4473
+ };
4474
+ type: "bash";
4475
+ } | {
4476
+ enabled: boolean;
4477
+ name: "edit";
4478
+ permission_policy: {
4479
+ type: "always_allow";
4480
+ } | {
4481
+ type: "always_ask";
4482
+ } | {
4483
+ type: "auto";
4484
+ };
4485
+ type: "edit";
4486
+ } | {
4487
+ enabled: boolean;
4488
+ name: "read";
4489
+ permission_policy: {
4490
+ type: "always_allow";
4491
+ } | {
4492
+ type: "always_ask";
4493
+ } | {
4494
+ type: "auto";
4495
+ };
4496
+ type: "read";
4497
+ } | {
4498
+ enabled: boolean;
4499
+ name: "write";
4500
+ permission_policy: {
4501
+ type: "always_allow";
4502
+ } | {
4503
+ type: "always_ask";
4504
+ } | {
4505
+ type: "auto";
4506
+ };
4507
+ type: "write";
4508
+ } | {
4509
+ enabled: boolean;
4510
+ name: "glob";
4511
+ permission_policy: {
4512
+ type: "always_allow";
4513
+ } | {
4514
+ type: "always_ask";
4515
+ } | {
4516
+ type: "auto";
4517
+ };
4518
+ type: "glob";
4519
+ } | {
4520
+ enabled: boolean;
4521
+ name: "grep";
4522
+ permission_policy: {
4523
+ type: "always_allow";
4524
+ } | {
4525
+ type: "always_ask";
4526
+ } | {
4527
+ type: "auto";
4528
+ };
4529
+ type: "grep";
4530
+ } | {
4531
+ enabled: boolean;
4532
+ name: "web_fetch";
4533
+ permission_policy: {
4534
+ type: "always_allow";
4535
+ } | {
4536
+ type: "always_ask";
4537
+ } | {
4538
+ type: "auto";
4539
+ };
4540
+ type: "web_fetch";
4541
+ allowed_domains?: Array<string>;
4542
+ blocked_domains?: Array<string>;
4543
+ max_content_tokens?: null | number;
4544
+ } | {
4545
+ enabled: boolean;
4546
+ name: "web_search";
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ type: "web_search";
4555
+ allowed_domains?: Array<string>;
4556
+ blocked_domains?: Array<string>;
4557
+ user_location?: null | {
4558
+ type: "approximate";
4559
+ city?: null | string;
4560
+ country?: null | string;
4561
+ region?: null | string;
4562
+ timezone?: null | string;
4563
+ };
4564
+ } | {
4565
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4566
+ enabled: boolean;
4567
+ permission_policy: {
4568
+ type: "always_allow" | "always_ask";
4569
+ };
4570
+ }>;
4571
+ default_config: {
4572
+ enabled: boolean;
4573
+ permission_policy: {
4574
+ type: "always_allow";
4575
+ } | {
4576
+ type: "always_ask";
4577
+ } | {
4578
+ type: "auto";
4579
+ };
4580
+ };
4581
+ type: "agent_toolset_20260401";
4582
+ } | {
4583
+ type: "mcp_toolset";
4584
+ mcp_server_name: string;
4585
+ default_config?: {
4586
+ enabled?: boolean | null;
4587
+ permission_policy?: null | {
4588
+ type: "always_allow" | "always_ask";
4589
+ };
4590
+ } | null;
4591
+ configs?: Array<{
4592
+ name: string;
4593
+ enabled?: boolean | null;
4594
+ permission_policy?: null | {
4595
+ type: "always_allow" | "always_ask";
4596
+ };
4597
+ }> | null;
4598
+ } | {
4599
+ description: string;
4600
+ input_schema: {
4601
+ type: "object";
4602
+ properties?: null | {
4603
+ [key: string]: unknown;
4604
+ };
4605
+ required?: null | Array<string>;
4606
+ [key: string]: unknown;
4607
+ };
4608
+ name: string;
4609
+ type: "custom";
4610
+ }>;
4611
+ type: "agent";
4612
+ version: number;
4613
+ }>;
4614
+ type: "coordinator";
4615
+ };
4616
+ name: string;
4617
+ skills: Array<{
4618
+ skill_id: string;
4619
+ type: "anthropic";
4620
+ version: string;
4621
+ } | {
4622
+ skill_id: string;
4623
+ type: "custom";
4624
+ version: string;
4625
+ }>;
4626
+ system: null | string;
4627
+ tools: Array<{
4628
+ configs: Array<{
4629
+ enabled: boolean;
4630
+ name: "bash";
4631
+ permission_policy: {
4632
+ type: "always_allow";
4633
+ } | {
4634
+ type: "always_ask";
4635
+ } | {
4636
+ type: "auto";
4637
+ };
4638
+ type: "bash";
4639
+ } | {
4640
+ enabled: boolean;
4641
+ name: "edit";
4642
+ permission_policy: {
4643
+ type: "always_allow";
4644
+ } | {
4645
+ type: "always_ask";
4646
+ } | {
4647
+ type: "auto";
4648
+ };
4649
+ type: "edit";
4650
+ } | {
4651
+ enabled: boolean;
4652
+ name: "read";
4653
+ permission_policy: {
4654
+ type: "always_allow";
4655
+ } | {
4656
+ type: "always_ask";
4657
+ } | {
4658
+ type: "auto";
4659
+ };
4660
+ type: "read";
4661
+ } | {
4662
+ enabled: boolean;
4663
+ name: "write";
4664
+ permission_policy: {
4665
+ type: "always_allow";
4666
+ } | {
4667
+ type: "always_ask";
4668
+ } | {
4669
+ type: "auto";
4670
+ };
4671
+ type: "write";
4672
+ } | {
4673
+ enabled: boolean;
4674
+ name: "glob";
4675
+ permission_policy: {
4676
+ type: "always_allow";
4677
+ } | {
4678
+ type: "always_ask";
4679
+ } | {
4680
+ type: "auto";
4681
+ };
4682
+ type: "glob";
4683
+ } | {
4684
+ enabled: boolean;
4685
+ name: "grep";
4686
+ permission_policy: {
4687
+ type: "always_allow";
4688
+ } | {
4689
+ type: "always_ask";
4690
+ } | {
4691
+ type: "auto";
4692
+ };
4693
+ type: "grep";
4694
+ } | {
4695
+ enabled: boolean;
4696
+ name: "web_fetch";
4697
+ permission_policy: {
4698
+ type: "always_allow";
4699
+ } | {
4700
+ type: "always_ask";
4701
+ } | {
4702
+ type: "auto";
4703
+ };
4704
+ type: "web_fetch";
4705
+ allowed_domains?: Array<string>;
4706
+ blocked_domains?: Array<string>;
4707
+ max_content_tokens?: null | number;
4708
+ } | {
4709
+ enabled: boolean;
4710
+ name: "web_search";
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ type: "web_search";
4719
+ allowed_domains?: Array<string>;
4720
+ blocked_domains?: Array<string>;
4721
+ user_location?: null | {
4722
+ type: "approximate";
4723
+ city?: null | string;
4724
+ country?: null | string;
4725
+ region?: null | string;
4726
+ timezone?: null | string;
4727
+ };
4728
+ } | {
4729
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4730
+ enabled: boolean;
4731
+ permission_policy: {
4732
+ type: "always_allow" | "always_ask";
4733
+ };
4734
+ }>;
4735
+ default_config: {
4736
+ enabled: boolean;
4737
+ permission_policy: {
4738
+ type: "always_allow";
4739
+ } | {
4740
+ type: "always_ask";
4741
+ } | {
4742
+ type: "auto";
4743
+ };
4744
+ };
4745
+ type: "agent_toolset_20260401";
4746
+ } | {
4747
+ type: "mcp_toolset";
4748
+ mcp_server_name: string;
4749
+ default_config?: {
4750
+ enabled?: boolean | null;
4751
+ permission_policy?: null | {
4752
+ type: "always_allow" | "always_ask";
4753
+ };
4754
+ } | null;
4755
+ configs?: Array<{
4756
+ name: string;
4757
+ enabled?: boolean | null;
4758
+ permission_policy?: null | {
4759
+ type: "always_allow" | "always_ask";
4760
+ };
4761
+ }> | null;
4762
+ } | {
4763
+ description: string;
4764
+ input_schema: {
4765
+ type: "object";
4766
+ properties?: null | {
4767
+ [key: string]: unknown;
4768
+ };
4769
+ required?: null | Array<string>;
4770
+ [key: string]: unknown;
4771
+ };
4772
+ name: string;
4773
+ type: "custom";
4774
+ }>;
4775
+ type: "agent";
4776
+ version: number;
4145
4777
  };
4146
- type: "limit";
4147
- };
4148
- created_at: string;
4149
- environment_id?: string;
4150
- metadata: {
4151
- [key: string]: string;
4152
- };
4153
- outcome_evaluations: Array<{
4154
- completed_at: null | string;
4155
- description: string;
4156
- explanation: null | string;
4157
- iteration: number;
4158
- outcome_id: string;
4159
- result: string;
4160
- type: "outcome_evaluation";
4161
- }>;
4162
- resources: Array<{
4163
- id: string;
4164
- created_at: string;
4165
- mount_path: string;
4166
- type: "github_repository";
4167
- updated_at: string;
4168
- url: string;
4169
- checkout?: null | {
4170
- name: string;
4171
- type: "branch";
4172
- } | {
4173
- sha: string;
4174
- type: "commit";
4778
+ archived_at: null | string;
4779
+ budget: null | {
4780
+ max_list_cost: {
4781
+ amount: string;
4782
+ currency: "USD";
4783
+ };
4784
+ type: "limit";
4175
4785
  };
4176
- } | {
4177
- id: string;
4178
4786
  created_at: string;
4179
- file_id: string;
4180
- mount_path: string;
4181
- type: "file";
4182
- updated_at: string;
4183
- } | {
4184
- memory_store_id: string;
4185
- type: "memory_store";
4186
- access?: null | "read_write" | "read_only";
4187
- description?: string;
4188
- instructions?: null | string;
4189
- mount_path?: null | string;
4190
- name?: null | string;
4191
- }>;
4192
- stats: {
4193
- active_seconds?: number;
4194
- duration_seconds?: number;
4195
- };
4196
- status: "rescheduling" | "running" | "idle" | "terminated";
4197
- title: null | string;
4198
- type: "session";
4199
- updated_at: string;
4200
- usage: {
4201
- active_seconds?: number;
4202
- cache_creation?: {
4203
- ephemeral_1h_input_tokens?: number;
4204
- ephemeral_5m_input_tokens?: number;
4205
- };
4206
- cache_read_input_tokens?: number;
4207
- input_tokens?: number;
4208
- list_cost?: null | {
4209
- amount: string;
4210
- currency: "USD";
4211
- };
4212
- output_tokens?: number;
4213
- server_tool_use?: null | {
4214
- web_fetch_requests?: number;
4215
- web_search_requests?: number;
4216
- };
4217
- cost_by_product?: {
4787
+ environment_id?: string;
4788
+ metadata: {
4218
4789
  [key: string]: string;
4219
4790
  };
4220
- subagent_cost_micro_usd?: number;
4221
- };
4222
- vault_ids: Array<string>;
4223
- deployment_id?: null | string;
4224
- cwd: string;
4225
- computer_id?: string;
4226
- model?: {
4227
- id: string;
4228
- thinking: {
4229
- efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4230
- can_disable: boolean;
4231
- default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4232
- } | null;
4233
- };
4234
- thinking?: {
4235
- effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4236
- } | null;
4237
- forked_from?: {
4238
- session_id: string;
4239
- message_id: string;
4240
- } | null;
4241
- readonly external_user_id: string | null;
4242
- readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4243
- }>;
4244
- list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
4245
- data: Array<{
4246
- id: string;
4247
- agent: {
4791
+ outcome_evaluations: Array<{
4792
+ completed_at: null | string;
4793
+ description: string;
4794
+ explanation: null | string;
4795
+ iteration: number;
4796
+ outcome_id: string;
4797
+ result: string;
4798
+ type: "outcome_evaluation";
4799
+ }>;
4800
+ resources: Array<{
4248
4801
  id: string;
4249
- description: null | string;
4250
- mcp_servers: Array<Types.AgentManaged36>;
4251
- model: {
4252
- id: string;
4253
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
4254
- inference_geo?: string;
4255
- speed?: "standard" | "fast";
4256
- settings?: {
4257
- reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4258
- max_output_tokens?: number;
4259
- };
4802
+ created_at: string;
4803
+ mount_path: string;
4804
+ type: "github_repository";
4805
+ updated_at: string;
4806
+ url: string;
4807
+ checkout?: null | {
4808
+ name: string;
4809
+ type: "branch";
4810
+ } | {
4811
+ sha: string;
4812
+ type: "commit";
4260
4813
  };
4261
- multiagent: null | Types.AgentManaged171;
4262
- name: string;
4263
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4264
- system: null | string;
4265
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4266
- type: "agent";
4267
- version: number;
4814
+ } | {
4815
+ id: string;
4816
+ created_at: string;
4817
+ file_id: string;
4818
+ mount_path: string;
4819
+ type: "file";
4820
+ updated_at: string;
4821
+ } | {
4822
+ memory_store_id: string;
4823
+ type: "memory_store";
4824
+ access?: null | "read_write" | "read_only";
4825
+ description?: string;
4826
+ instructions?: null | string;
4827
+ mount_path?: null | string;
4828
+ name?: null | string;
4829
+ }>;
4830
+ stats: {
4831
+ active_seconds?: number;
4832
+ duration_seconds?: number;
4268
4833
  };
4269
- archived_at: null | string;
4270
- budget: null | Types.AgentManaged76;
4271
- created_at: string;
4272
- environment_id?: string;
4273
- metadata: Types.AgentManaged173;
4274
- outcome_evaluations: Array<Types.AgentManaged174>;
4275
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4276
- stats: Types.AgentManaged178;
4277
4834
  status: "rescheduling" | "running" | "idle" | "terminated";
4278
4835
  title: null | string;
4279
4836
  type: "session";
4280
4837
  updated_at: string;
4281
- usage: Types.AgentManaged179;
4838
+ usage: {
4839
+ active_seconds?: number;
4840
+ cache_creation?: {
4841
+ ephemeral_1h_input_tokens?: number;
4842
+ ephemeral_5m_input_tokens?: number;
4843
+ };
4844
+ cache_read_input_tokens?: number;
4845
+ input_tokens?: number;
4846
+ list_cost?: null | {
4847
+ amount: string;
4848
+ currency: "USD";
4849
+ };
4850
+ output_tokens?: number;
4851
+ server_tool_use?: null | {
4852
+ web_fetch_requests?: number;
4853
+ web_search_requests?: number;
4854
+ };
4855
+ cost_by_product?: {
4856
+ [key: string]: string;
4857
+ };
4858
+ subagent_cost_micro_usd?: number;
4859
+ };
4282
4860
  vault_ids: Array<string>;
4283
4861
  deployment_id?: null | string;
4284
4862
  cwd: string;
4863
+ workspace?: {
4864
+ kind: "shared" | "isolated";
4865
+ path?: string;
4866
+ branch?: string;
4867
+ };
4285
4868
  computer_id?: string;
4286
4869
  model?: {
4287
4870
  id: string;
@@ -4301,8 +4884,7 @@ export declare function createAgent(transport: Transport): {
4301
4884
  readonly external_user_id: string | null;
4302
4885
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4303
4886
  }>;
4304
- next_page: string | null;
4305
- }>;
4887
+ };
4306
4888
  requests: {
4307
4889
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4308
4890
  data: Array<{
@@ -4374,6 +4956,11 @@ export declare function createAgent(transport: Transport): {
4374
4956
  vault_ids: Array<string>;
4375
4957
  deployment_id?: null | string;
4376
4958
  cwd: string;
4959
+ workspace?: {
4960
+ kind: "shared" | "isolated";
4961
+ path?: string;
4962
+ branch?: string;
4963
+ };
4377
4964
  computer_id?: string;
4378
4965
  model?: {
4379
4966
  id: string;
@@ -4740,6 +5327,11 @@ export declare function createAgent(transport: Transport): {
4740
5327
  vault_ids: Array<string>;
4741
5328
  deployment_id?: null | string;
4742
5329
  cwd: string;
5330
+ workspace?: {
5331
+ kind: "shared" | "isolated";
5332
+ path?: string;
5333
+ branch?: string;
5334
+ };
4743
5335
  computer_id?: string;
4744
5336
  model?: {
4745
5337
  id: string;
@@ -5537,6 +6129,7 @@ export declare function createDevops(transport: Transport): {
5537
6129
  };
5538
6130
  };
5539
6131
  pullRequests: {
6132
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
5540
6133
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
5541
6134
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
5542
6135
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
@@ -5756,6 +6349,12 @@ export declare function createMedia(transport: Transport): {
5756
6349
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
5757
6350
  };
5758
6351
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6352
+ voices: {
6353
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6354
+ designs: {
6355
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6356
+ };
6357
+ };
5759
6358
  };
5760
6359
  speech: {
5761
6360
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -6756,6 +7355,18 @@ export declare function createRegistry(transport: Transport): {
6756
7355
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6757
7356
  };
6758
7357
  packages: {
7358
+ git: {
7359
+ commits: {
7360
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
7361
+ };
7362
+ files: {
7363
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7364
+ };
7365
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7366
+ trees: {
7367
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7368
+ };
7369
+ };
6759
7370
  installations: {
6760
7371
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6761
7372
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -6793,6 +7404,26 @@ export declare function createSandbox(transport: Transport): {
6793
7404
  };
6794
7405
  };
6795
7406
  sandboxes: {
7407
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7408
+ type: "snapshot";
7409
+ snapshot: string;
7410
+ refs: number;
7411
+ truncated: boolean;
7412
+ package: string;
7413
+ } | {
7414
+ type: "screenshot";
7415
+ mediaType: string;
7416
+ data: string;
7417
+ width: number;
7418
+ height: number;
7419
+ bytes: number;
7420
+ } | {
7421
+ type: "ok";
7422
+ ms?: number;
7423
+ } | {
7424
+ type: "wait";
7425
+ ms: number;
7426
+ }>;
6796
7427
  commands: {
6797
7428
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
6798
7429
  stdout: string;