@deepraxis/sdk 0.1.1-dev.842dfd1 → 0.1.1-dev.8668e4c

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.
@@ -42,6 +42,7 @@ export declare function createAgent(transport: Transport): {
42
42
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
43
43
  id: string;
44
44
  access: "read_only" | "read_write" | "invoke";
45
+ customer_access?: "read_only" | "read_write" | "invoke";
45
46
  instructions?: string;
46
47
  readonly verified?: boolean;
47
48
  enabled?: boolean;
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
159
160
  };
160
161
  avatar: string | null;
161
162
  creation_source: string | null;
163
+ managed_by: string | null;
162
164
  identity_number: string | null;
163
165
  environment_id?: string | null;
164
166
  vault_ids?: Array<string>;
@@ -225,6 +227,7 @@ export declare function createAgent(transport: Transport): {
225
227
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
226
228
  id: string;
227
229
  access: "read_only" | "read_write" | "invoke";
230
+ customer_access?: "read_only" | "read_write" | "invoke";
228
231
  instructions?: string;
229
232
  readonly verified?: boolean;
230
233
  enabled?: boolean;
@@ -349,6 +352,7 @@ export declare function createAgent(transport: Transport): {
349
352
  };
350
353
  avatar: string | null;
351
354
  creation_source: string | null;
355
+ managed_by: string | null;
352
356
  identity_number: string | null;
353
357
  environment_id?: string | null;
354
358
  vault_ids?: Array<string>;
@@ -761,6 +765,7 @@ export declare function createAgent(transport: Transport): {
761
765
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
762
766
  id: string;
763
767
  access: "read_only" | "read_write" | "invoke";
768
+ customer_access?: "read_only" | "read_write" | "invoke";
764
769
  instructions?: string;
765
770
  readonly verified?: boolean;
766
771
  enabled?: boolean;
@@ -885,6 +890,7 @@ export declare function createAgent(transport: Transport): {
885
890
  };
886
891
  avatar: string | null;
887
892
  creation_source: string | null;
893
+ managed_by: string | null;
888
894
  identity_number: string | null;
889
895
  environment_id?: string | null;
890
896
  vault_ids?: Array<string>;
@@ -938,6 +944,7 @@ export declare function createAgent(transport: Transport): {
938
944
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
939
945
  id: string;
940
946
  access: "read_only" | "read_write" | "invoke";
947
+ customer_access?: "read_only" | "read_write" | "invoke";
941
948
  instructions?: string;
942
949
  readonly verified?: boolean;
943
950
  enabled?: boolean;
@@ -1062,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
1062
1069
  };
1063
1070
  avatar: string | null;
1064
1071
  creation_source: string | null;
1072
+ managed_by: string | null;
1065
1073
  identity_number: string | null;
1066
1074
  environment_id?: string | null;
1067
1075
  vault_ids?: Array<string>;
@@ -1144,6 +1152,11 @@ export declare function createAgent(transport: Transport): {
1144
1152
  max_file_bytes: number;
1145
1153
  max_files_per_session: number;
1146
1154
  };
1155
+ share_links: {
1156
+ enabled: boolean;
1157
+ daily_session_cap: number | null;
1158
+ daily_spend_cap_micro_usd: number | null;
1159
+ };
1147
1160
  }>;
1148
1161
  unarchive: {
1149
1162
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1388,6 +1401,7 @@ export declare function createAgent(transport: Transport): {
1388
1401
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1389
1402
  id: string;
1390
1403
  access: "read_only" | "read_write" | "invoke";
1404
+ customer_access?: "read_only" | "read_write" | "invoke";
1391
1405
  instructions?: string;
1392
1406
  readonly verified?: boolean;
1393
1407
  enabled?: boolean;
@@ -1512,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
1512
1526
  };
1513
1527
  avatar: string | null;
1514
1528
  creation_source: string | null;
1529
+ managed_by: string | null;
1515
1530
  identity_number: string | null;
1516
1531
  environment_id?: string | null;
1517
1532
  vault_ids?: Array<string>;
@@ -1564,6 +1579,7 @@ export declare function createAgent(transport: Transport): {
1564
1579
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1565
1580
  id: string;
1566
1581
  access: "read_only" | "read_write" | "invoke";
1582
+ customer_access?: "read_only" | "read_write" | "invoke";
1567
1583
  instructions?: string;
1568
1584
  readonly verified?: boolean;
1569
1585
  enabled?: boolean;
@@ -1688,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
1688
1704
  };
1689
1705
  avatar: string | null;
1690
1706
  creation_source: string | null;
1707
+ managed_by: string | null;
1691
1708
  identity_number: string | null;
1692
1709
  environment_id?: string | null;
1693
1710
  vault_ids?: Array<string>;
@@ -1707,6 +1724,11 @@ export declare function createAgent(transport: Transport): {
1707
1724
  max_file_bytes: number;
1708
1725
  max_files_per_session: number;
1709
1726
  };
1727
+ share_links: {
1728
+ enabled: boolean;
1729
+ daily_session_cap: number | null;
1730
+ daily_spend_cap_micro_usd: number | null;
1731
+ };
1710
1732
  }>;
1711
1733
  versions: {
1712
1734
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
@@ -1951,6 +1973,7 @@ export declare function createAgent(transport: Transport): {
1951
1973
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1952
1974
  id: string;
1953
1975
  access: "read_only" | "read_write" | "invoke";
1976
+ customer_access?: "read_only" | "read_write" | "invoke";
1954
1977
  instructions?: string;
1955
1978
  readonly verified?: boolean;
1956
1979
  enabled?: boolean;
@@ -2075,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
2075
2098
  };
2076
2099
  avatar: string | null;
2077
2100
  creation_source: string | null;
2101
+ managed_by: string | null;
2078
2102
  identity_number: string | null;
2079
2103
  environment_id?: string | null;
2080
2104
  vault_ids?: Array<string>;
@@ -2127,6 +2151,7 @@ export declare function createAgent(transport: Transport): {
2127
2151
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
2128
2152
  id: string;
2129
2153
  access: "read_only" | "read_write" | "invoke";
2154
+ customer_access?: "read_only" | "read_write" | "invoke";
2130
2155
  instructions?: string;
2131
2156
  readonly verified?: boolean;
2132
2157
  enabled?: boolean;
@@ -2251,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
2251
2276
  };
2252
2277
  avatar: string | null;
2253
2278
  creation_source: string | null;
2279
+ managed_by: string | null;
2254
2280
  identity_number: string | null;
2255
2281
  environment_id?: string | null;
2256
2282
  vault_ids?: Array<string>;
@@ -4285,6 +4311,538 @@ export declare function createAgent(transport: Transport): {
4285
4311
  }>;
4286
4312
  next_page: string | null;
4287
4313
  }>;
4314
+ name: {
4315
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4316
+ id: string;
4317
+ agent: {
4318
+ id: string;
4319
+ description: null | string;
4320
+ mcp_servers: Array<{
4321
+ type: "url";
4322
+ name: string;
4323
+ url: string;
4324
+ headers?: {
4325
+ [key: string]: string;
4326
+ };
4327
+ timeout_ms?: number;
4328
+ } | {
4329
+ type: "sse";
4330
+ name: string;
4331
+ url: string;
4332
+ headers?: {
4333
+ [key: string]: string;
4334
+ };
4335
+ timeout_ms?: number;
4336
+ } | {
4337
+ type: "stdio";
4338
+ name: string;
4339
+ command: string;
4340
+ args?: Array<string>;
4341
+ env?: {
4342
+ [key: string]: string;
4343
+ };
4344
+ timeout_ms?: number;
4345
+ }>;
4346
+ model: {
4347
+ id: string;
4348
+ effort?: {
4349
+ type: "low";
4350
+ } | {
4351
+ type: "medium";
4352
+ } | {
4353
+ type: "high";
4354
+ } | {
4355
+ type: "xhigh";
4356
+ } | {
4357
+ type: "max";
4358
+ };
4359
+ inference_geo?: string;
4360
+ speed?: "standard" | "fast";
4361
+ settings?: {
4362
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4363
+ max_output_tokens?: number;
4364
+ };
4365
+ };
4366
+ multiagent: null | {
4367
+ agents: Array<{
4368
+ model: string;
4369
+ type: "advisor";
4370
+ } | {
4371
+ id: string;
4372
+ description: null | string;
4373
+ mcp_servers: Array<{
4374
+ type: "url";
4375
+ name: string;
4376
+ url: string;
4377
+ headers?: {
4378
+ [key: string]: string;
4379
+ };
4380
+ timeout_ms?: number;
4381
+ } | {
4382
+ type: "sse";
4383
+ name: string;
4384
+ url: string;
4385
+ headers?: {
4386
+ [key: string]: string;
4387
+ };
4388
+ timeout_ms?: number;
4389
+ } | {
4390
+ type: "stdio";
4391
+ name: string;
4392
+ command: string;
4393
+ args?: Array<string>;
4394
+ env?: {
4395
+ [key: string]: string;
4396
+ };
4397
+ timeout_ms?: number;
4398
+ }>;
4399
+ model: {
4400
+ id: string;
4401
+ effort?: {
4402
+ type: "low";
4403
+ } | {
4404
+ type: "medium";
4405
+ } | {
4406
+ type: "high";
4407
+ } | {
4408
+ type: "xhigh";
4409
+ } | {
4410
+ type: "max";
4411
+ };
4412
+ inference_geo?: string;
4413
+ speed?: "standard" | "fast";
4414
+ };
4415
+ name: string;
4416
+ skills: Array<{
4417
+ skill_id: string;
4418
+ type: "anthropic";
4419
+ version: string;
4420
+ } | {
4421
+ skill_id: string;
4422
+ type: "custom";
4423
+ version: string;
4424
+ }>;
4425
+ system: null | string;
4426
+ tools: Array<{
4427
+ configs: Array<{
4428
+ enabled: boolean;
4429
+ name: "bash";
4430
+ permission_policy: {
4431
+ type: "always_allow";
4432
+ } | {
4433
+ type: "always_ask";
4434
+ } | {
4435
+ type: "auto";
4436
+ };
4437
+ type: "bash";
4438
+ } | {
4439
+ enabled: boolean;
4440
+ name: "edit";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "edit";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "read";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "read";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "write";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "write";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "glob";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "glob";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "grep";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "grep";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "web_fetch";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "web_fetch";
4504
+ allowed_domains?: Array<string>;
4505
+ blocked_domains?: Array<string>;
4506
+ max_content_tokens?: null | number;
4507
+ } | {
4508
+ enabled: boolean;
4509
+ name: "web_search";
4510
+ permission_policy: {
4511
+ type: "always_allow";
4512
+ } | {
4513
+ type: "always_ask";
4514
+ } | {
4515
+ type: "auto";
4516
+ };
4517
+ type: "web_search";
4518
+ allowed_domains?: Array<string>;
4519
+ blocked_domains?: Array<string>;
4520
+ user_location?: null | {
4521
+ type: "approximate";
4522
+ city?: null | string;
4523
+ country?: null | string;
4524
+ region?: null | string;
4525
+ timezone?: null | string;
4526
+ };
4527
+ } | {
4528
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4529
+ enabled: boolean;
4530
+ permission_policy: {
4531
+ type: "always_allow" | "always_ask";
4532
+ };
4533
+ }>;
4534
+ default_config: {
4535
+ enabled: boolean;
4536
+ permission_policy: {
4537
+ type: "always_allow";
4538
+ } | {
4539
+ type: "always_ask";
4540
+ } | {
4541
+ type: "auto";
4542
+ };
4543
+ };
4544
+ type: "agent_toolset_20260401";
4545
+ } | {
4546
+ type: "mcp_toolset";
4547
+ mcp_server_name: string;
4548
+ default_config?: {
4549
+ enabled?: boolean | null;
4550
+ permission_policy?: null | {
4551
+ type: "always_allow" | "always_ask";
4552
+ };
4553
+ } | null;
4554
+ configs?: Array<{
4555
+ name: string;
4556
+ enabled?: boolean | null;
4557
+ permission_policy?: null | {
4558
+ type: "always_allow" | "always_ask";
4559
+ };
4560
+ }> | null;
4561
+ } | {
4562
+ description: string;
4563
+ input_schema: {
4564
+ type: "object";
4565
+ properties?: null | {
4566
+ [key: string]: unknown;
4567
+ };
4568
+ required?: null | Array<string>;
4569
+ [key: string]: unknown;
4570
+ };
4571
+ name: string;
4572
+ type: "custom";
4573
+ }>;
4574
+ type: "agent";
4575
+ version: number;
4576
+ }>;
4577
+ type: "coordinator";
4578
+ };
4579
+ name: string;
4580
+ skills: Array<{
4581
+ skill_id: string;
4582
+ type: "anthropic";
4583
+ version: string;
4584
+ } | {
4585
+ skill_id: string;
4586
+ type: "custom";
4587
+ version: string;
4588
+ }>;
4589
+ system: null | string;
4590
+ tools: Array<{
4591
+ configs: Array<{
4592
+ enabled: boolean;
4593
+ name: "bash";
4594
+ permission_policy: {
4595
+ type: "always_allow";
4596
+ } | {
4597
+ type: "always_ask";
4598
+ } | {
4599
+ type: "auto";
4600
+ };
4601
+ type: "bash";
4602
+ } | {
4603
+ enabled: boolean;
4604
+ name: "edit";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "edit";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "read";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "read";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "write";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "write";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "glob";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "glob";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "grep";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "grep";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "web_fetch";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "web_fetch";
4668
+ allowed_domains?: Array<string>;
4669
+ blocked_domains?: Array<string>;
4670
+ max_content_tokens?: null | number;
4671
+ } | {
4672
+ enabled: boolean;
4673
+ name: "web_search";
4674
+ permission_policy: {
4675
+ type: "always_allow";
4676
+ } | {
4677
+ type: "always_ask";
4678
+ } | {
4679
+ type: "auto";
4680
+ };
4681
+ type: "web_search";
4682
+ allowed_domains?: Array<string>;
4683
+ blocked_domains?: Array<string>;
4684
+ user_location?: null | {
4685
+ type: "approximate";
4686
+ city?: null | string;
4687
+ country?: null | string;
4688
+ region?: null | string;
4689
+ timezone?: null | string;
4690
+ };
4691
+ } | {
4692
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4693
+ enabled: boolean;
4694
+ permission_policy: {
4695
+ type: "always_allow" | "always_ask";
4696
+ };
4697
+ }>;
4698
+ default_config: {
4699
+ enabled: boolean;
4700
+ permission_policy: {
4701
+ type: "always_allow";
4702
+ } | {
4703
+ type: "always_ask";
4704
+ } | {
4705
+ type: "auto";
4706
+ };
4707
+ };
4708
+ type: "agent_toolset_20260401";
4709
+ } | {
4710
+ type: "mcp_toolset";
4711
+ mcp_server_name: string;
4712
+ default_config?: {
4713
+ enabled?: boolean | null;
4714
+ permission_policy?: null | {
4715
+ type: "always_allow" | "always_ask";
4716
+ };
4717
+ } | null;
4718
+ configs?: Array<{
4719
+ name: string;
4720
+ enabled?: boolean | null;
4721
+ permission_policy?: null | {
4722
+ type: "always_allow" | "always_ask";
4723
+ };
4724
+ }> | null;
4725
+ } | {
4726
+ description: string;
4727
+ input_schema: {
4728
+ type: "object";
4729
+ properties?: null | {
4730
+ [key: string]: unknown;
4731
+ };
4732
+ required?: null | Array<string>;
4733
+ [key: string]: unknown;
4734
+ };
4735
+ name: string;
4736
+ type: "custom";
4737
+ }>;
4738
+ type: "agent";
4739
+ version: number;
4740
+ };
4741
+ archived_at: null | string;
4742
+ budget: null | {
4743
+ max_list_cost: {
4744
+ amount: string;
4745
+ currency: "USD";
4746
+ };
4747
+ type: "limit";
4748
+ };
4749
+ created_at: string;
4750
+ environment_id?: string;
4751
+ metadata: {
4752
+ [key: string]: string;
4753
+ };
4754
+ outcome_evaluations: Array<{
4755
+ completed_at: null | string;
4756
+ description: string;
4757
+ explanation: null | string;
4758
+ iteration: number;
4759
+ outcome_id: string;
4760
+ result: string;
4761
+ type: "outcome_evaluation";
4762
+ }>;
4763
+ resources: Array<{
4764
+ id: string;
4765
+ created_at: string;
4766
+ mount_path: string;
4767
+ type: "github_repository";
4768
+ updated_at: string;
4769
+ url: string;
4770
+ checkout?: null | {
4771
+ name: string;
4772
+ type: "branch";
4773
+ } | {
4774
+ sha: string;
4775
+ type: "commit";
4776
+ };
4777
+ } | {
4778
+ id: string;
4779
+ created_at: string;
4780
+ file_id: string;
4781
+ mount_path: string;
4782
+ type: "file";
4783
+ updated_at: string;
4784
+ } | {
4785
+ memory_store_id: string;
4786
+ type: "memory_store";
4787
+ access?: null | "read_write" | "read_only";
4788
+ description?: string;
4789
+ instructions?: null | string;
4790
+ mount_path?: null | string;
4791
+ name?: null | string;
4792
+ }>;
4793
+ stats: {
4794
+ active_seconds?: number;
4795
+ duration_seconds?: number;
4796
+ };
4797
+ status: "rescheduling" | "running" | "idle" | "terminated";
4798
+ title: null | string;
4799
+ type: "session";
4800
+ updated_at: string;
4801
+ usage: {
4802
+ active_seconds?: number;
4803
+ cache_creation?: {
4804
+ ephemeral_1h_input_tokens?: number;
4805
+ ephemeral_5m_input_tokens?: number;
4806
+ };
4807
+ cache_read_input_tokens?: number;
4808
+ input_tokens?: number;
4809
+ list_cost?: null | {
4810
+ amount: string;
4811
+ currency: "USD";
4812
+ };
4813
+ output_tokens?: number;
4814
+ server_tool_use?: null | {
4815
+ web_fetch_requests?: number;
4816
+ web_search_requests?: number;
4817
+ };
4818
+ cost_by_product?: {
4819
+ [key: string]: string;
4820
+ };
4821
+ subagent_cost_micro_usd?: number;
4822
+ };
4823
+ vault_ids: Array<string>;
4824
+ deployment_id?: null | string;
4825
+ cwd: string;
4826
+ computer_id?: string;
4827
+ model?: {
4828
+ id: string;
4829
+ thinking: {
4830
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4831
+ can_disable: boolean;
4832
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4833
+ } | null;
4834
+ };
4835
+ thinking?: {
4836
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4837
+ } | null;
4838
+ forked_from?: {
4839
+ session_id: string;
4840
+ message_id: string;
4841
+ } | null;
4842
+ readonly external_user_id: string | null;
4843
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4844
+ }>;
4845
+ };
4288
4846
  requests: {
4289
4847
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4290
4848
  data: Array<{