@deepraxis/sdk 0.1.1-dev.1538445 → 0.1.1-dev.27bb19e

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.
@@ -49,7 +49,7 @@ export declare function createAgent(transport: Transport): {
49
49
  readonly verified?: boolean;
50
50
  enabled?: boolean;
51
51
  }>;
52
- kind: "personal" | "service";
52
+ kind: "general" | "personal" | "service";
53
53
  computer_id?: string;
54
54
  subagent_model?: string | null;
55
55
  image_model?: string | null;
@@ -151,6 +151,7 @@ export declare function createAgent(transport: Transport): {
151
151
  mcpServers?: Array<string>;
152
152
  hooks?: Array<string>;
153
153
  };
154
+ idleCompaction?: boolean;
154
155
  } | null;
155
156
  models?: {
156
157
  allowed: Array<string>;
@@ -208,7 +209,7 @@ export declare function createAgent(transport: Transport): {
208
209
  readonly verified?: boolean;
209
210
  enabled?: boolean;
210
211
  }>;
211
- kind: "personal" | "service";
212
+ kind: "general" | "personal" | "service";
212
213
  computer_id?: string;
213
214
  subagent_model?: string | null;
214
215
  image_model?: string | null;
@@ -310,6 +311,7 @@ export declare function createAgent(transport: Transport): {
310
311
  mcpServers?: Array<string>;
311
312
  hooks?: Array<string>;
312
313
  };
314
+ idleCompaction?: boolean;
313
315
  } | null;
314
316
  models?: {
315
317
  allowed: Array<string>;
@@ -496,7 +498,7 @@ export declare function createAgent(transport: Transport): {
496
498
  readonly verified?: boolean;
497
499
  enabled?: boolean;
498
500
  }>;
499
- kind: "personal" | "service";
501
+ kind: "general" | "personal" | "service";
500
502
  computer_id?: string;
501
503
  subagent_model?: string | null;
502
504
  image_model?: string | null;
@@ -598,6 +600,7 @@ export declare function createAgent(transport: Transport): {
598
600
  mcpServers?: Array<string>;
599
601
  hooks?: Array<string>;
600
602
  };
603
+ idleCompaction?: boolean;
601
604
  } | null;
602
605
  models?: {
603
606
  allowed: Array<string>;
@@ -635,6 +638,7 @@ export declare function createAgent(transport: Transport): {
635
638
  type: "agent";
636
639
  updated_at: string;
637
640
  version: number;
641
+ latest_version?: number;
638
642
  active_version: number;
639
643
  created_by: {
640
644
  type: "user";
@@ -657,7 +661,7 @@ export declare function createAgent(transport: Transport): {
657
661
  readonly verified?: boolean;
658
662
  enabled?: boolean;
659
663
  }>;
660
- kind: "personal" | "service";
664
+ kind: "general" | "personal" | "service";
661
665
  computer_id?: string;
662
666
  subagent_model?: string | null;
663
667
  image_model?: string | null;
@@ -759,6 +763,7 @@ export declare function createAgent(transport: Transport): {
759
763
  mcpServers?: Array<string>;
760
764
  hooks?: Array<string>;
761
765
  };
766
+ idleCompaction?: boolean;
762
767
  } | null;
763
768
  models?: {
764
769
  allowed: Array<string>;
@@ -1055,6 +1060,7 @@ export declare function createAgent(transport: Transport): {
1055
1060
  type: "agent";
1056
1061
  updated_at: string;
1057
1062
  version: number;
1063
+ latest_version?: number;
1058
1064
  active_version: number;
1059
1065
  created_by: {
1060
1066
  type: "user";
@@ -1077,7 +1083,7 @@ export declare function createAgent(transport: Transport): {
1077
1083
  readonly verified?: boolean;
1078
1084
  enabled?: boolean;
1079
1085
  }>;
1080
- kind: "personal" | "service";
1086
+ kind: "general" | "personal" | "service";
1081
1087
  computer_id?: string;
1082
1088
  subagent_model?: string | null;
1083
1089
  image_model?: string | null;
@@ -1179,6 +1185,7 @@ export declare function createAgent(transport: Transport): {
1179
1185
  mcpServers?: Array<string>;
1180
1186
  hooks?: Array<string>;
1181
1187
  };
1188
+ idleCompaction?: boolean;
1182
1189
  } | null;
1183
1190
  models?: {
1184
1191
  allowed: Array<string>;
@@ -1215,6 +1222,7 @@ export declare function createAgent(transport: Transport): {
1215
1222
  type: "agent";
1216
1223
  updated_at: string;
1217
1224
  version: number;
1225
+ latest_version?: number;
1218
1226
  active_version: number;
1219
1227
  created_by: {
1220
1228
  type: "user";
@@ -1237,7 +1245,7 @@ export declare function createAgent(transport: Transport): {
1237
1245
  readonly verified?: boolean;
1238
1246
  enabled?: boolean;
1239
1247
  }>;
1240
- kind: "personal" | "service";
1248
+ kind: "general" | "personal" | "service";
1241
1249
  computer_id?: string;
1242
1250
  subagent_model?: string | null;
1243
1251
  image_model?: string | null;
@@ -1339,6 +1347,7 @@ export declare function createAgent(transport: Transport): {
1339
1347
  mcpServers?: Array<string>;
1340
1348
  hooks?: Array<string>;
1341
1349
  };
1350
+ idleCompaction?: boolean;
1342
1351
  } | null;
1343
1352
  models?: {
1344
1353
  allowed: Array<string>;
@@ -1356,227 +1365,26 @@ export declare function createAgent(transport: Transport): {
1356
1365
  archived_at: null | string;
1357
1366
  created_at: string;
1358
1367
  description: null | string;
1359
- mcp_servers: Array<{
1360
- type: "url";
1361
- name: string;
1362
- url: string;
1363
- headers?: {
1364
- [key: string]: string;
1365
- };
1366
- timeout_ms?: number;
1367
- } | {
1368
- type: "sse";
1369
- name: string;
1370
- url: string;
1371
- headers?: {
1372
- [key: string]: string;
1373
- };
1374
- timeout_ms?: number;
1375
- } | {
1376
- type: "stdio";
1377
- name: string;
1378
- command: string;
1379
- args?: Array<string>;
1380
- env?: {
1381
- [key: string]: string;
1382
- };
1383
- timeout_ms?: number;
1384
- }>;
1385
- metadata: {
1386
- [key: string]: string;
1387
- };
1368
+ mcp_servers: Array<Types.AgentManaged36>;
1369
+ metadata: Types.AgentManaged37;
1388
1370
  model: {
1389
1371
  id: string;
1390
- effort?: {
1391
- type: "low";
1392
- } | {
1393
- type: "medium";
1394
- } | {
1395
- type: "high";
1396
- } | {
1397
- type: "xhigh";
1398
- } | {
1399
- type: "max";
1400
- };
1372
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1401
1373
  inference_geo?: string;
1402
1374
  speed?: "standard" | "fast";
1403
1375
  settings?: {
1404
1376
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1405
1377
  };
1406
1378
  };
1407
- multiagent: null | {
1408
- agents: Array<{
1409
- id: string;
1410
- type: "agent";
1411
- version: number;
1412
- } | {
1413
- model: string;
1414
- type: "advisor";
1415
- }>;
1416
- type: "coordinator";
1417
- };
1379
+ multiagent: null | Types.AgentManaged39;
1418
1380
  name: string;
1419
- skills: Array<{
1420
- skill_id: string;
1421
- type: "anthropic";
1422
- version: string;
1423
- } | {
1424
- skill_id: string;
1425
- type: "custom";
1426
- version: string;
1427
- }>;
1381
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1428
1382
  system: null | string;
1429
- tools: Array<{
1430
- configs: Array<{
1431
- enabled: boolean;
1432
- name: "bash";
1433
- permission_policy: {
1434
- type: "always_allow";
1435
- } | {
1436
- type: "always_ask";
1437
- } | {
1438
- type: "auto";
1439
- };
1440
- type: "bash";
1441
- } | {
1442
- enabled: boolean;
1443
- name: "edit";
1444
- permission_policy: {
1445
- type: "always_allow";
1446
- } | {
1447
- type: "always_ask";
1448
- } | {
1449
- type: "auto";
1450
- };
1451
- type: "edit";
1452
- } | {
1453
- enabled: boolean;
1454
- name: "read";
1455
- permission_policy: {
1456
- type: "always_allow";
1457
- } | {
1458
- type: "always_ask";
1459
- } | {
1460
- type: "auto";
1461
- };
1462
- type: "read";
1463
- } | {
1464
- enabled: boolean;
1465
- name: "write";
1466
- permission_policy: {
1467
- type: "always_allow";
1468
- } | {
1469
- type: "always_ask";
1470
- } | {
1471
- type: "auto";
1472
- };
1473
- type: "write";
1474
- } | {
1475
- enabled: boolean;
1476
- name: "glob";
1477
- permission_policy: {
1478
- type: "always_allow";
1479
- } | {
1480
- type: "always_ask";
1481
- } | {
1482
- type: "auto";
1483
- };
1484
- type: "glob";
1485
- } | {
1486
- enabled: boolean;
1487
- name: "grep";
1488
- permission_policy: {
1489
- type: "always_allow";
1490
- } | {
1491
- type: "always_ask";
1492
- } | {
1493
- type: "auto";
1494
- };
1495
- type: "grep";
1496
- } | {
1497
- enabled: boolean;
1498
- name: "web_fetch";
1499
- permission_policy: {
1500
- type: "always_allow";
1501
- } | {
1502
- type: "always_ask";
1503
- } | {
1504
- type: "auto";
1505
- };
1506
- type: "web_fetch";
1507
- allowed_domains?: Array<string>;
1508
- blocked_domains?: Array<string>;
1509
- max_content_tokens?: null | number;
1510
- } | {
1511
- enabled: boolean;
1512
- name: "web_search";
1513
- permission_policy: {
1514
- type: "always_allow";
1515
- } | {
1516
- type: "always_ask";
1517
- } | {
1518
- type: "auto";
1519
- };
1520
- type: "web_search";
1521
- allowed_domains?: Array<string>;
1522
- blocked_domains?: Array<string>;
1523
- user_location?: null | {
1524
- type: "approximate";
1525
- city?: null | string;
1526
- country?: null | string;
1527
- region?: null | string;
1528
- timezone?: null | string;
1529
- };
1530
- } | {
1531
- name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1532
- enabled: boolean;
1533
- permission_policy: {
1534
- type: "always_allow" | "always_ask";
1535
- };
1536
- }>;
1537
- default_config: {
1538
- enabled: boolean;
1539
- permission_policy: {
1540
- type: "always_allow";
1541
- } | {
1542
- type: "always_ask";
1543
- } | {
1544
- type: "auto";
1545
- };
1546
- };
1547
- type: "agent_toolset_20260401";
1548
- } | {
1549
- type: "mcp_toolset";
1550
- mcp_server_name: string;
1551
- default_config?: {
1552
- enabled?: boolean | null;
1553
- permission_policy?: null | {
1554
- type: "always_allow" | "always_ask";
1555
- };
1556
- } | null;
1557
- configs?: Array<{
1558
- name: string;
1559
- enabled?: boolean | null;
1560
- permission_policy?: null | {
1561
- type: "always_allow" | "always_ask";
1562
- };
1563
- }> | null;
1564
- } | {
1565
- description: string;
1566
- input_schema: {
1567
- type: "object";
1568
- properties?: null | {
1569
- [key: string]: unknown;
1570
- };
1571
- required?: null | Array<string>;
1572
- [key: string]: unknown;
1573
- };
1574
- name: string;
1575
- type: "custom";
1576
- }>;
1383
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1577
1384
  type: "agent";
1578
1385
  updated_at: string;
1579
1386
  version: number;
1387
+ latest_version?: number;
1580
1388
  active_version: number;
1581
1389
  created_by: {
1582
1390
  type: "user";
@@ -1599,7 +1407,7 @@ export declare function createAgent(transport: Transport): {
1599
1407
  readonly verified?: boolean;
1600
1408
  enabled?: boolean;
1601
1409
  }>;
1602
- kind: "personal" | "service";
1410
+ kind: "general" | "personal" | "service";
1603
1411
  computer_id?: string;
1604
1412
  subagent_model?: string | null;
1605
1413
  image_model?: string | null;
@@ -1701,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
1701
1509
  mcpServers?: Array<string>;
1702
1510
  hooks?: Array<string>;
1703
1511
  };
1512
+ idleCompaction?: boolean;
1704
1513
  } | null;
1705
1514
  models?: {
1706
1515
  allowed: Array<string>;
@@ -1760,7 +1569,7 @@ export declare function createAgent(transport: Transport): {
1760
1569
  readonly verified?: boolean;
1761
1570
  enabled?: boolean;
1762
1571
  }>;
1763
- kind: "personal" | "service";
1572
+ kind: "general" | "personal" | "service";
1764
1573
  computer_id?: string;
1765
1574
  subagent_model?: string | null;
1766
1575
  image_model?: string | null;
@@ -1862,6 +1671,7 @@ export declare function createAgent(transport: Transport): {
1862
1671
  mcpServers?: Array<string>;
1863
1672
  hooks?: Array<string>;
1864
1673
  };
1674
+ idleCompaction?: boolean;
1865
1675
  } | null;
1866
1676
  models?: {
1867
1677
  allowed: Array<string>;
@@ -2017,7 +1827,7 @@ export declare function createAgent(transport: Transport): {
2017
1827
  } | {
2018
1828
  id: string;
2019
1829
  type: "agent_with_overrides";
2020
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1830
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2021
1831
  cwd?: string;
2022
1832
  model?: string | {
2023
1833
  id: string;
@@ -2054,7 +1864,7 @@ export declare function createAgent(transport: Transport): {
2054
1864
  } | {
2055
1865
  id: string;
2056
1866
  type: "agent_with_overrides";
2057
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1867
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2058
1868
  cwd?: string;
2059
1869
  model?: string | {
2060
1870
  id: string;
@@ -2092,7 +1902,7 @@ export declare function createAgent(transport: Transport): {
2092
1902
  } | {
2093
1903
  id: string;
2094
1904
  type: "agent_with_overrides";
2095
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1905
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2096
1906
  cwd?: string;
2097
1907
  model?: string | {
2098
1908
  id: string;
@@ -2131,7 +1941,7 @@ export declare function createAgent(transport: Transport): {
2131
1941
  } | {
2132
1942
  id: string;
2133
1943
  type: "agent_with_overrides";
2134
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1944
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2135
1945
  cwd?: string;
2136
1946
  model?: string | {
2137
1947
  id: string;
@@ -2168,7 +1978,7 @@ export declare function createAgent(transport: Transport): {
2168
1978
  } | {
2169
1979
  id: string;
2170
1980
  type: "agent_with_overrides";
2171
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1981
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2172
1982
  cwd?: string;
2173
1983
  model?: string | {
2174
1984
  id: string;
@@ -2209,7 +2019,7 @@ export declare function createAgent(transport: Transport): {
2209
2019
  } | {
2210
2020
  id: string;
2211
2021
  type: "agent_with_overrides";
2212
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2022
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2213
2023
  cwd?: string;
2214
2024
  model?: string | {
2215
2025
  id: string;
@@ -2247,7 +2057,7 @@ export declare function createAgent(transport: Transport): {
2247
2057
  } | {
2248
2058
  id: string;
2249
2059
  type: "agent_with_overrides";
2250
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2060
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2251
2061
  cwd?: string;
2252
2062
  model?: string | {
2253
2063
  id: string;
@@ -2382,21 +2192,27 @@ export declare function createAgent(transport: Transport): {
2382
2192
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2383
2193
  type: "session_compaction";
2384
2194
  id: string;
2385
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
2195
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2386
2196
  reason?: string;
2387
2197
  } | {
2388
2198
  type: "session_compaction";
2389
2199
  id: string;
2390
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
2200
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2391
2201
  reason?: string;
2392
2202
  }>;
2393
2203
  compactions: {
2394
2204
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
2205
+ active: {
2206
+ type: "session_compaction";
2207
+ id: string;
2208
+ status: "queued" | "running";
2209
+ trigger: "manual" | "auto" | "idle";
2210
+ } | null;
2395
2211
  data: Array<{
2396
2212
  type: "context_compaction";
2397
2213
  id: string;
2398
2214
  event_id: string | null;
2399
- trigger: "auto" | "manual" | "model_downshift";
2215
+ trigger: "auto" | "manual" | "model_downshift" | "idle";
2400
2216
  status: "succeeded" | "failed";
2401
2217
  model: string;
2402
2218
  compacted_message_count: number;
@@ -2507,6 +2323,7 @@ export declare function createAgent(transport: Transport): {
2507
2323
  run_id: string | null;
2508
2324
  message_id?: string;
2509
2325
  } | {
2326
+ full_access_available?: boolean;
2510
2327
  id: string;
2511
2328
  input: Types.AgentManaged197;
2512
2329
  mcp_server_name: string;
@@ -2529,6 +2346,17 @@ export declare function createAgent(transport: Transport): {
2529
2346
  };
2530
2347
  source?: "app" | "codemode";
2531
2348
  parent_tool_use_id?: string;
2349
+ user_once?: true;
2350
+ guarded_rule?: string;
2351
+ permission_suggestions?: Array<{
2352
+ type: "add_rules";
2353
+ behavior: "allow";
2354
+ destination: "agent" | "session";
2355
+ rules: Array<{
2356
+ tool_name: string;
2357
+ rule_content: string;
2358
+ }>;
2359
+ }>;
2532
2360
  title?: string;
2533
2361
  input_titles?: {
2534
2362
  [key: string]: string;
@@ -2547,6 +2375,7 @@ export declare function createAgent(transport: Transport): {
2547
2375
  };
2548
2376
  source?: "app" | "codemode";
2549
2377
  } | {
2378
+ full_access_available?: boolean;
2550
2379
  id: string;
2551
2380
  input: Types.AgentManaged206;
2552
2381
  name: string;
@@ -2556,6 +2385,17 @@ export declare function createAgent(transport: Transport): {
2556
2385
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2557
2386
  session_thread_id?: null | string;
2558
2387
  run_id: string | null;
2388
+ user_once?: true;
2389
+ guarded_rule?: string;
2390
+ permission_suggestions?: Array<{
2391
+ type: "add_rules";
2392
+ behavior: "allow";
2393
+ destination: "agent" | "session";
2394
+ rules: Array<{
2395
+ tool_name: string;
2396
+ rule_content: string;
2397
+ }>;
2398
+ }>;
2559
2399
  } | {
2560
2400
  id: string;
2561
2401
  processed_at: string;
@@ -2576,6 +2416,9 @@ export declare function createAgent(transport: Transport): {
2576
2416
  type: "session.status_idle";
2577
2417
  run_id: string | null;
2578
2418
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2419
+ permission_mode_version?: number;
2420
+ previous_permission_mode?: string | null;
2421
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2579
2422
  id: string;
2580
2423
  processed_at: string;
2581
2424
  type: "session.updated";
@@ -3197,10 +3040,10 @@ export declare function createAgent(transport: Transport): {
3197
3040
  web_fetch_requests?: number;
3198
3041
  web_search_requests?: number;
3199
3042
  };
3200
- runtime_cost?: {
3201
- amount: string;
3202
- currency: "USD";
3043
+ cost_by_product?: {
3044
+ [key: string]: string;
3203
3045
  };
3046
+ subagent_cost_micro_usd?: number;
3204
3047
  };
3205
3048
  vault_ids: Array<string>;
3206
3049
  deployment_id?: null | string;
@@ -3363,7 +3206,7 @@ export declare function createAgent(transport: Transport): {
3363
3206
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3364
3207
  type: "session_compaction";
3365
3208
  id: string;
3366
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3209
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3367
3210
  reason?: string;
3368
3211
  }>;
3369
3212
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3487,6 +3330,7 @@ export declare function createAgent(transport: Transport): {
3487
3330
  run_id: string | null;
3488
3331
  message_id?: string;
3489
3332
  } | {
3333
+ full_access_available?: boolean;
3490
3334
  id: string;
3491
3335
  input: Types.AgentManaged197;
3492
3336
  mcp_server_name: string;
@@ -3509,6 +3353,17 @@ export declare function createAgent(transport: Transport): {
3509
3353
  };
3510
3354
  };
3511
3355
  source?: "app" | "codemode";
3356
+ user_once?: true;
3357
+ guarded_rule?: string;
3358
+ permission_suggestions?: Array<{
3359
+ type: "add_rules";
3360
+ behavior: "allow";
3361
+ destination: "agent" | "session";
3362
+ rules: Array<{
3363
+ tool_name: string;
3364
+ rule_content: string;
3365
+ }>;
3366
+ }>;
3512
3367
  title?: string;
3513
3368
  input_titles?: {
3514
3369
  [key: string]: string;
@@ -3527,6 +3382,7 @@ export declare function createAgent(transport: Transport): {
3527
3382
  };
3528
3383
  source?: "app" | "codemode";
3529
3384
  } | {
3385
+ full_access_available?: boolean;
3530
3386
  id: string;
3531
3387
  input: Types.AgentManaged206;
3532
3388
  name: string;
@@ -3536,6 +3392,17 @@ export declare function createAgent(transport: Transport): {
3536
3392
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3537
3393
  session_thread_id?: null | string;
3538
3394
  run_id: string | null;
3395
+ user_once?: true;
3396
+ guarded_rule?: string;
3397
+ permission_suggestions?: Array<{
3398
+ type: "add_rules";
3399
+ behavior: "allow";
3400
+ destination: "agent" | "session";
3401
+ rules: Array<{
3402
+ tool_name: string;
3403
+ rule_content: string;
3404
+ }>;
3405
+ }>;
3539
3406
  } | {
3540
3407
  id: string;
3541
3408
  processed_at: string;
@@ -3556,6 +3423,9 @@ export declare function createAgent(transport: Transport): {
3556
3423
  type: "session.status_idle";
3557
3424
  run_id: string | null;
3558
3425
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
3426
+ permission_mode_version?: number;
3427
+ previous_permission_mode?: string | null;
3428
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3559
3429
  id: string;
3560
3430
  processed_at: string;
3561
3431
  type: "session.updated";
@@ -3824,6 +3694,13 @@ export declare function createAutomation(transport: Transport): {
3824
3694
  hooks: {
3825
3695
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
3826
3696
  };
3697
+ humanTasks: {
3698
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
3699
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
3700
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
3701
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
3702
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
3703
+ };
3827
3704
  resolve: {
3828
3705
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
3829
3706
  };
@@ -4157,6 +4034,20 @@ export declare function createMedia(transport: Transport): {
4157
4034
  };
4158
4035
  };
4159
4036
  export declare function createMeta(transport: Transport): {
4037
+ docs: {
4038
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
4039
+ path: string;
4040
+ title: string;
4041
+ url: string;
4042
+ markdown: string;
4043
+ }>;
4044
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
4045
+ path: string;
4046
+ title: string;
4047
+ url: string;
4048
+ snippet: string;
4049
+ }[]>;
4050
+ };
4160
4051
  health: {
4161
4052
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4162
4053
  };
@@ -236,6 +236,13 @@ export function createAutomation(transport) {
236
236
  hooks: {
237
237
  send: bind(transport, sdk.automationHooksReceive),
238
238
  },
239
+ humanTasks: {
240
+ cancel: bind(transport, sdk.automationHumanTasksCancel),
241
+ delegate: bind(transport, sdk.automationHumanTasksDelegate),
242
+ list: bindPage(transport, sdk.automationHumanTasksList),
243
+ respond: bind(transport, sdk.automationHumanTasksRespond),
244
+ retrieve: bind(transport, sdk.automationHumanTasksGet),
245
+ },
239
246
  resolve: {
240
247
  retrieve: bind(transport, sdk.automationResolveResolve),
241
248
  },
@@ -526,6 +533,10 @@ export function createMedia(transport) {
526
533
  }
527
534
  export function createMeta(transport) {
528
535
  return {
536
+ docs: {
537
+ retrieve: bind(transport, sdk.metaDocsRetrieve),
538
+ search: bind(transport, sdk.metaDocsSearch),
539
+ },
529
540
  health: {
530
541
  retrieve: bind(transport, sdk.healthCheck),
531
542
  },