@deepraxis/sdk 0.1.1-dev.54635ff → 0.1.1-dev.68542bb

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,9 +42,11 @@ export declare function createAgent(transport: Transport): {
42
42
  id: string;
43
43
  access: "read_only" | "read_write" | "invoke";
44
44
  instructions?: string;
45
+ readonly verified?: boolean;
45
46
  enabled?: boolean;
46
47
  } | {
47
48
  type: "search" | "browser";
49
+ readonly verified?: boolean;
48
50
  enabled?: boolean;
49
51
  }>;
50
52
  kind: "personal" | "service";
@@ -199,9 +201,11 @@ export declare function createAgent(transport: Transport): {
199
201
  id: string;
200
202
  access: "read_only" | "read_write" | "invoke";
201
203
  instructions?: string;
204
+ readonly verified?: boolean;
202
205
  enabled?: boolean;
203
206
  } | {
204
207
  type: "search" | "browser";
208
+ readonly verified?: boolean;
205
209
  enabled?: boolean;
206
210
  }>;
207
211
  kind: "personal" | "service";
@@ -445,90 +449,6 @@ export declare function createAgent(transport: Transport): {
445
449
  }>;
446
450
  };
447
451
  };
448
- endUsers: {
449
- block: {
450
- create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
451
- external_user_id: string;
452
- first_seen_at: string | null;
453
- last_active_at: string | null;
454
- session_count: number;
455
- cost: {
456
- amount: string;
457
- currency: "USD";
458
- };
459
- blocked: boolean;
460
- }>;
461
- };
462
- delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
463
- id: string;
464
- status: "pending";
465
- }>;
466
- list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
467
- data: Array<{
468
- external_user_id: string;
469
- first_seen_at: string | null;
470
- last_active_at: string | null;
471
- session_count: number;
472
- cost: {
473
- amount: string;
474
- currency: "USD";
475
- };
476
- blocked: boolean;
477
- }>;
478
- next_page: string | null;
479
- }>;
480
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
481
- external_user_id: string;
482
- first_seen_at: string | null;
483
- last_active_at: string | null;
484
- session_count: number;
485
- cost: {
486
- amount: string;
487
- currency: "USD";
488
- };
489
- blocked: boolean;
490
- recent_sessions: Array<{
491
- id: string;
492
- title: string | null;
493
- source: string | null;
494
- created_at: string;
495
- updated_at: string;
496
- }>;
497
- }>;
498
- retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
499
- id: string;
500
- status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
501
- counts: {
502
- sessions?: number;
503
- events?: number;
504
- messages?: number;
505
- d1_rows?: number;
506
- attachments?: number;
507
- };
508
- snapshot_key?: string;
509
- error?: string;
510
- created_at: string;
511
- updated_at: string;
512
- }>;
513
- revokeTokens: {
514
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
515
- revoked: number;
516
- }>;
517
- };
518
- unblock: {
519
- create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
520
- external_user_id: string;
521
- first_seen_at: string | null;
522
- last_active_at: string | null;
523
- session_count: number;
524
- cost: {
525
- amount: string;
526
- currency: "USD";
527
- };
528
- blocked: boolean;
529
- }>;
530
- };
531
- };
532
452
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
533
453
  data: Array<{
534
454
  id: string;
@@ -569,9 +489,11 @@ export declare function createAgent(transport: Transport): {
569
489
  id: string;
570
490
  access: "read_only" | "read_write" | "invoke";
571
491
  instructions?: string;
492
+ readonly verified?: boolean;
572
493
  enabled?: boolean;
573
494
  } | {
574
495
  type: "search" | "browser";
496
+ readonly verified?: boolean;
575
497
  enabled?: boolean;
576
498
  }>;
577
499
  kind: "personal" | "service";
@@ -713,6 +635,7 @@ export declare function createAgent(transport: Transport): {
713
635
  type: "agent";
714
636
  updated_at: string;
715
637
  version: number;
638
+ latest_version?: number;
716
639
  active_version: number;
717
640
  created_by: {
718
641
  type: "user";
@@ -728,9 +651,11 @@ export declare function createAgent(transport: Transport): {
728
651
  id: string;
729
652
  access: "read_only" | "read_write" | "invoke";
730
653
  instructions?: string;
654
+ readonly verified?: boolean;
731
655
  enabled?: boolean;
732
656
  } | {
733
657
  type: "search" | "browser";
658
+ readonly verified?: boolean;
734
659
  enabled?: boolean;
735
660
  }>;
736
661
  kind: "personal" | "service";
@@ -1131,6 +1056,7 @@ export declare function createAgent(transport: Transport): {
1131
1056
  type: "agent";
1132
1057
  updated_at: string;
1133
1058
  version: number;
1059
+ latest_version?: number;
1134
1060
  active_version: number;
1135
1061
  created_by: {
1136
1062
  type: "user";
@@ -1146,9 +1072,11 @@ export declare function createAgent(transport: Transport): {
1146
1072
  id: string;
1147
1073
  access: "read_only" | "read_write" | "invoke";
1148
1074
  instructions?: string;
1075
+ readonly verified?: boolean;
1149
1076
  enabled?: boolean;
1150
1077
  } | {
1151
1078
  type: "search" | "browser";
1079
+ readonly verified?: boolean;
1152
1080
  enabled?: boolean;
1153
1081
  }>;
1154
1082
  kind: "personal" | "service";
@@ -1289,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
1289
1217
  type: "agent";
1290
1218
  updated_at: string;
1291
1219
  version: number;
1220
+ latest_version?: number;
1292
1221
  active_version: number;
1293
1222
  created_by: {
1294
1223
  type: "user";
@@ -1304,9 +1233,11 @@ export declare function createAgent(transport: Transport): {
1304
1233
  id: string;
1305
1234
  access: "read_only" | "read_write" | "invoke";
1306
1235
  instructions?: string;
1236
+ readonly verified?: boolean;
1307
1237
  enabled?: boolean;
1308
1238
  } | {
1309
1239
  type: "search" | "browser";
1240
+ readonly verified?: boolean;
1310
1241
  enabled?: boolean;
1311
1242
  }>;
1312
1243
  kind: "personal" | "service";
@@ -1428,227 +1359,26 @@ export declare function createAgent(transport: Transport): {
1428
1359
  archived_at: null | string;
1429
1360
  created_at: string;
1430
1361
  description: null | string;
1431
- mcp_servers: Array<{
1432
- type: "url";
1433
- name: string;
1434
- url: string;
1435
- headers?: {
1436
- [key: string]: string;
1437
- };
1438
- timeout_ms?: number;
1439
- } | {
1440
- type: "sse";
1441
- name: string;
1442
- url: string;
1443
- headers?: {
1444
- [key: string]: string;
1445
- };
1446
- timeout_ms?: number;
1447
- } | {
1448
- type: "stdio";
1449
- name: string;
1450
- command: string;
1451
- args?: Array<string>;
1452
- env?: {
1453
- [key: string]: string;
1454
- };
1455
- timeout_ms?: number;
1456
- }>;
1457
- metadata: {
1458
- [key: string]: string;
1459
- };
1362
+ mcp_servers: Array<Types.AgentManaged36>;
1363
+ metadata: Types.AgentManaged37;
1460
1364
  model: {
1461
1365
  id: string;
1462
- effort?: {
1463
- type: "low";
1464
- } | {
1465
- type: "medium";
1466
- } | {
1467
- type: "high";
1468
- } | {
1469
- type: "xhigh";
1470
- } | {
1471
- type: "max";
1472
- };
1366
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1473
1367
  inference_geo?: string;
1474
1368
  speed?: "standard" | "fast";
1475
1369
  settings?: {
1476
1370
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1477
1371
  };
1478
1372
  };
1479
- multiagent: null | {
1480
- agents: Array<{
1481
- id: string;
1482
- type: "agent";
1483
- version: number;
1484
- } | {
1485
- model: string;
1486
- type: "advisor";
1487
- }>;
1488
- type: "coordinator";
1489
- };
1373
+ multiagent: null | Types.AgentManaged39;
1490
1374
  name: string;
1491
- skills: Array<{
1492
- skill_id: string;
1493
- type: "anthropic";
1494
- version: string;
1495
- } | {
1496
- skill_id: string;
1497
- type: "custom";
1498
- version: string;
1499
- }>;
1375
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1500
1376
  system: null | string;
1501
- tools: Array<{
1502
- configs: Array<{
1503
- enabled: boolean;
1504
- name: "bash";
1505
- permission_policy: {
1506
- type: "always_allow";
1507
- } | {
1508
- type: "always_ask";
1509
- } | {
1510
- type: "auto";
1511
- };
1512
- type: "bash";
1513
- } | {
1514
- enabled: boolean;
1515
- name: "edit";
1516
- permission_policy: {
1517
- type: "always_allow";
1518
- } | {
1519
- type: "always_ask";
1520
- } | {
1521
- type: "auto";
1522
- };
1523
- type: "edit";
1524
- } | {
1525
- enabled: boolean;
1526
- name: "read";
1527
- permission_policy: {
1528
- type: "always_allow";
1529
- } | {
1530
- type: "always_ask";
1531
- } | {
1532
- type: "auto";
1533
- };
1534
- type: "read";
1535
- } | {
1536
- enabled: boolean;
1537
- name: "write";
1538
- permission_policy: {
1539
- type: "always_allow";
1540
- } | {
1541
- type: "always_ask";
1542
- } | {
1543
- type: "auto";
1544
- };
1545
- type: "write";
1546
- } | {
1547
- enabled: boolean;
1548
- name: "glob";
1549
- permission_policy: {
1550
- type: "always_allow";
1551
- } | {
1552
- type: "always_ask";
1553
- } | {
1554
- type: "auto";
1555
- };
1556
- type: "glob";
1557
- } | {
1558
- enabled: boolean;
1559
- name: "grep";
1560
- permission_policy: {
1561
- type: "always_allow";
1562
- } | {
1563
- type: "always_ask";
1564
- } | {
1565
- type: "auto";
1566
- };
1567
- type: "grep";
1568
- } | {
1569
- enabled: boolean;
1570
- name: "web_fetch";
1571
- permission_policy: {
1572
- type: "always_allow";
1573
- } | {
1574
- type: "always_ask";
1575
- } | {
1576
- type: "auto";
1577
- };
1578
- type: "web_fetch";
1579
- allowed_domains?: Array<string>;
1580
- blocked_domains?: Array<string>;
1581
- max_content_tokens?: null | number;
1582
- } | {
1583
- enabled: boolean;
1584
- name: "web_search";
1585
- permission_policy: {
1586
- type: "always_allow";
1587
- } | {
1588
- type: "always_ask";
1589
- } | {
1590
- type: "auto";
1591
- };
1592
- type: "web_search";
1593
- allowed_domains?: Array<string>;
1594
- blocked_domains?: Array<string>;
1595
- user_location?: null | {
1596
- type: "approximate";
1597
- city?: null | string;
1598
- country?: null | string;
1599
- region?: null | string;
1600
- timezone?: null | string;
1601
- };
1602
- } | {
1603
- name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1604
- enabled: boolean;
1605
- permission_policy: {
1606
- type: "always_allow" | "always_ask";
1607
- };
1608
- }>;
1609
- default_config: {
1610
- enabled: boolean;
1611
- permission_policy: {
1612
- type: "always_allow";
1613
- } | {
1614
- type: "always_ask";
1615
- } | {
1616
- type: "auto";
1617
- };
1618
- };
1619
- type: "agent_toolset_20260401";
1620
- } | {
1621
- type: "mcp_toolset";
1622
- mcp_server_name: string;
1623
- default_config?: {
1624
- enabled?: boolean | null;
1625
- permission_policy?: null | {
1626
- type: "always_allow" | "always_ask";
1627
- };
1628
- } | null;
1629
- configs?: Array<{
1630
- name: string;
1631
- enabled?: boolean | null;
1632
- permission_policy?: null | {
1633
- type: "always_allow" | "always_ask";
1634
- };
1635
- }> | null;
1636
- } | {
1637
- description: string;
1638
- input_schema: {
1639
- type: "object";
1640
- properties?: null | {
1641
- [key: string]: unknown;
1642
- };
1643
- required?: null | Array<string>;
1644
- [key: string]: unknown;
1645
- };
1646
- name: string;
1647
- type: "custom";
1648
- }>;
1377
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1649
1378
  type: "agent";
1650
1379
  updated_at: string;
1651
1380
  version: number;
1381
+ latest_version?: number;
1652
1382
  active_version: number;
1653
1383
  created_by: {
1654
1384
  type: "user";
@@ -1664,9 +1394,11 @@ export declare function createAgent(transport: Transport): {
1664
1394
  id: string;
1665
1395
  access: "read_only" | "read_write" | "invoke";
1666
1396
  instructions?: string;
1397
+ readonly verified?: boolean;
1667
1398
  enabled?: boolean;
1668
1399
  } | {
1669
1400
  type: "search" | "browser";
1401
+ readonly verified?: boolean;
1670
1402
  enabled?: boolean;
1671
1403
  }>;
1672
1404
  kind: "personal" | "service";
@@ -1823,9 +1555,11 @@ export declare function createAgent(transport: Transport): {
1823
1555
  id: string;
1824
1556
  access: "read_only" | "read_write" | "invoke";
1825
1557
  instructions?: string;
1558
+ readonly verified?: boolean;
1826
1559
  enabled?: boolean;
1827
1560
  } | {
1828
1561
  type: "search" | "browser";
1562
+ readonly verified?: boolean;
1829
1563
  enabled?: boolean;
1830
1564
  }>;
1831
1565
  kind: "personal" | "service";
@@ -2085,7 +1819,7 @@ export declare function createAgent(transport: Transport): {
2085
1819
  } | {
2086
1820
  id: string;
2087
1821
  type: "agent_with_overrides";
2088
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1822
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2089
1823
  cwd?: string;
2090
1824
  model?: string | {
2091
1825
  id: string;
@@ -2122,7 +1856,7 @@ export declare function createAgent(transport: Transport): {
2122
1856
  } | {
2123
1857
  id: string;
2124
1858
  type: "agent_with_overrides";
2125
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1859
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2126
1860
  cwd?: string;
2127
1861
  model?: string | {
2128
1862
  id: string;
@@ -2160,7 +1894,7 @@ export declare function createAgent(transport: Transport): {
2160
1894
  } | {
2161
1895
  id: string;
2162
1896
  type: "agent_with_overrides";
2163
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1897
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2164
1898
  cwd?: string;
2165
1899
  model?: string | {
2166
1900
  id: string;
@@ -2199,7 +1933,7 @@ export declare function createAgent(transport: Transport): {
2199
1933
  } | {
2200
1934
  id: string;
2201
1935
  type: "agent_with_overrides";
2202
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1936
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2203
1937
  cwd?: string;
2204
1938
  model?: string | {
2205
1939
  id: string;
@@ -2236,7 +1970,7 @@ export declare function createAgent(transport: Transport): {
2236
1970
  } | {
2237
1971
  id: string;
2238
1972
  type: "agent_with_overrides";
2239
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1973
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2240
1974
  cwd?: string;
2241
1975
  model?: string | {
2242
1976
  id: string;
@@ -2277,7 +2011,7 @@ export declare function createAgent(transport: Transport): {
2277
2011
  } | {
2278
2012
  id: string;
2279
2013
  type: "agent_with_overrides";
2280
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2014
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2281
2015
  cwd?: string;
2282
2016
  model?: string | {
2283
2017
  id: string;
@@ -2315,7 +2049,7 @@ export declare function createAgent(transport: Transport): {
2315
2049
  } | {
2316
2050
  id: string;
2317
2051
  type: "agent_with_overrides";
2318
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2052
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2319
2053
  cwd?: string;
2320
2054
  model?: string | {
2321
2055
  id: string;
@@ -2344,122 +2078,6 @@ export declare function createAgent(transport: Transport): {
2344
2078
  };
2345
2079
  }>;
2346
2080
  };
2347
- embed: {
2348
- exchange: {
2349
- create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2350
- token: string;
2351
- expires_at: string;
2352
- }>;
2353
- };
2354
- retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2355
- agent?: {
2356
- name?: string;
2357
- avatar?: string;
2358
- };
2359
- layout?: "inline" | "sidebar" | "popup" | "modal";
2360
- launcher?: {
2361
- type: "none" | "bubble" | "mascot";
2362
- pack?: {
2363
- preset?: "mint" | "cat" | "bot";
2364
- images?: {
2365
- idle: string;
2366
- greet?: string;
2367
- listening?: string;
2368
- thinking?: string;
2369
- talking?: string;
2370
- "talking-2"?: string;
2371
- sorry?: string;
2372
- sleep?: string;
2373
- };
2374
- };
2375
- image?: string;
2376
- motion?: "float" | "none";
2377
- position?: "bottom-right" | "bottom-left";
2378
- label?: string;
2379
- };
2380
- header?: {
2381
- title?: string;
2382
- subtitle?: string;
2383
- icon?: string;
2384
- };
2385
- theme?: {
2386
- colorScheme?: "light" | "dark" | "system";
2387
- accent?: string;
2388
- surface?: string;
2389
- grayscale?: "neutral" | "warm" | "cool";
2390
- radius?: "none" | "sm" | "md" | "lg" | "full";
2391
- density?: "compact" | "normal" | "spacious";
2392
- fontFamily?: string;
2393
- fontSize?: number;
2394
- };
2395
- locale?: "zh" | "en";
2396
- startScreen?: {
2397
- greeting?: string;
2398
- prompts?: Array<{
2399
- label: string;
2400
- prompt: string;
2401
- }>;
2402
- };
2403
- composer?: {
2404
- placeholder?: string;
2405
- };
2406
- disclaimer?: string;
2407
- footer?: string;
2408
- history?: {
2409
- enabled?: boolean;
2410
- };
2411
- }>;
2412
- };
2413
- embedTokens: {
2414
- anonymous: {
2415
- create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2416
- token: string;
2417
- expires_at: string;
2418
- visitor_secret?: string;
2419
- }>;
2420
- };
2421
- create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2422
- hosted_url?: string;
2423
- id: string;
2424
- token: string;
2425
- expires_at: string;
2426
- }>;
2427
- list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
2428
- data: Array<{
2429
- id: string;
2430
- type: "embed_token";
2431
- agent_id: string;
2432
- agent_version: number;
2433
- external_user_id: string;
2434
- created_at: string;
2435
- expires_at: string;
2436
- revoked_at: string | null;
2437
- host_origin: string | null;
2438
- issued_by: {
2439
- type: "user" | "api_key";
2440
- id: string;
2441
- };
2442
- }>;
2443
- next_page: string | null;
2444
- }>;
2445
- revoke: {
2446
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
2447
- id: string;
2448
- type: "embed_token";
2449
- agent_id: string;
2450
- agent_version: number;
2451
- external_user_id: string;
2452
- created_at: string;
2453
- expires_at: string;
2454
- revoked_at: string | null;
2455
- host_origin: string | null;
2456
- issued_by: {
2457
- type: "user" | "api_key";
2458
- id: string;
2459
- };
2460
- }>;
2461
- };
2462
- };
2463
2081
  environments: {
2464
2082
  archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2465
2083
  create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
@@ -2566,16 +2184,22 @@ export declare function createAgent(transport: Transport): {
2566
2184
  compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
2567
2185
  type: "session_compaction";
2568
2186
  id: string;
2569
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
2187
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2570
2188
  reason?: string;
2571
2189
  } | {
2572
2190
  type: "session_compaction";
2573
2191
  id: string;
2574
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
2192
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
2575
2193
  reason?: string;
2576
2194
  }>;
2577
2195
  compactions: {
2578
2196
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
2197
+ active: {
2198
+ type: "session_compaction";
2199
+ id: string;
2200
+ status: "queued" | "running";
2201
+ trigger: "manual" | "auto";
2202
+ } | null;
2579
2203
  data: Array<{
2580
2204
  type: "context_compaction";
2581
2205
  id: string;
@@ -2691,6 +2315,7 @@ export declare function createAgent(transport: Transport): {
2691
2315
  run_id: string | null;
2692
2316
  message_id?: string;
2693
2317
  } | {
2318
+ full_access_available?: boolean;
2694
2319
  id: string;
2695
2320
  input: Types.AgentManaged197;
2696
2321
  mcp_server_name: string;
@@ -2713,6 +2338,17 @@ export declare function createAgent(transport: Transport): {
2713
2338
  };
2714
2339
  source?: "app" | "codemode";
2715
2340
  parent_tool_use_id?: string;
2341
+ user_once?: true;
2342
+ guarded_rule?: string;
2343
+ permission_suggestions?: Array<{
2344
+ type: "add_rules";
2345
+ behavior: "allow";
2346
+ destination: "agent" | "session";
2347
+ rules: Array<{
2348
+ tool_name: string;
2349
+ rule_content: string;
2350
+ }>;
2351
+ }>;
2716
2352
  title?: string;
2717
2353
  input_titles?: {
2718
2354
  [key: string]: string;
@@ -2731,6 +2367,7 @@ export declare function createAgent(transport: Transport): {
2731
2367
  };
2732
2368
  source?: "app" | "codemode";
2733
2369
  } | {
2370
+ full_access_available?: boolean;
2734
2371
  id: string;
2735
2372
  input: Types.AgentManaged206;
2736
2373
  name: string;
@@ -2740,6 +2377,17 @@ export declare function createAgent(transport: Transport): {
2740
2377
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2741
2378
  session_thread_id?: null | string;
2742
2379
  run_id: string | null;
2380
+ user_once?: true;
2381
+ guarded_rule?: string;
2382
+ permission_suggestions?: Array<{
2383
+ type: "add_rules";
2384
+ behavior: "allow";
2385
+ destination: "agent" | "session";
2386
+ rules: Array<{
2387
+ tool_name: string;
2388
+ rule_content: string;
2389
+ }>;
2390
+ }>;
2743
2391
  } | {
2744
2392
  id: string;
2745
2393
  processed_at: string;
@@ -2760,6 +2408,9 @@ export declare function createAgent(transport: Transport): {
2760
2408
  type: "session.status_idle";
2761
2409
  run_id: string | null;
2762
2410
  } | 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 | {
2411
+ permission_mode_version?: number;
2412
+ previous_permission_mode?: string | null;
2413
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2763
2414
  id: string;
2764
2415
  processed_at: string;
2765
2416
  type: "session.updated";
@@ -3381,10 +3032,10 @@ export declare function createAgent(transport: Transport): {
3381
3032
  web_fetch_requests?: number;
3382
3033
  web_search_requests?: number;
3383
3034
  };
3384
- runtime_cost?: {
3385
- amount: string;
3386
- currency: "USD";
3035
+ cost_by_product?: {
3036
+ [key: string]: string;
3387
3037
  };
3038
+ subagent_cost_micro_usd?: number;
3388
3039
  };
3389
3040
  vault_ids: Array<string>;
3390
3041
  deployment_id?: null | string;
@@ -3547,7 +3198,7 @@ export declare function createAgent(transport: Transport): {
3547
3198
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
3548
3199
  type: "session_compaction";
3549
3200
  id: string;
3550
- status: "queued" | "running" | "skipped" | "succeeded" | "failed";
3201
+ status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
3551
3202
  reason?: string;
3552
3203
  }>;
3553
3204
  retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
@@ -3671,6 +3322,7 @@ export declare function createAgent(transport: Transport): {
3671
3322
  run_id: string | null;
3672
3323
  message_id?: string;
3673
3324
  } | {
3325
+ full_access_available?: boolean;
3674
3326
  id: string;
3675
3327
  input: Types.AgentManaged197;
3676
3328
  mcp_server_name: string;
@@ -3693,6 +3345,17 @@ export declare function createAgent(transport: Transport): {
3693
3345
  };
3694
3346
  };
3695
3347
  source?: "app" | "codemode";
3348
+ user_once?: true;
3349
+ guarded_rule?: string;
3350
+ permission_suggestions?: Array<{
3351
+ type: "add_rules";
3352
+ behavior: "allow";
3353
+ destination: "agent" | "session";
3354
+ rules: Array<{
3355
+ tool_name: string;
3356
+ rule_content: string;
3357
+ }>;
3358
+ }>;
3696
3359
  title?: string;
3697
3360
  input_titles?: {
3698
3361
  [key: string]: string;
@@ -3711,6 +3374,7 @@ export declare function createAgent(transport: Transport): {
3711
3374
  };
3712
3375
  source?: "app" | "codemode";
3713
3376
  } | {
3377
+ full_access_available?: boolean;
3714
3378
  id: string;
3715
3379
  input: Types.AgentManaged206;
3716
3380
  name: string;
@@ -3720,6 +3384,17 @@ export declare function createAgent(transport: Transport): {
3720
3384
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3721
3385
  session_thread_id?: null | string;
3722
3386
  run_id: string | null;
3387
+ user_once?: true;
3388
+ guarded_rule?: string;
3389
+ permission_suggestions?: Array<{
3390
+ type: "add_rules";
3391
+ behavior: "allow";
3392
+ destination: "agent" | "session";
3393
+ rules: Array<{
3394
+ tool_name: string;
3395
+ rule_content: string;
3396
+ }>;
3397
+ }>;
3723
3398
  } | {
3724
3399
  id: string;
3725
3400
  processed_at: string;
@@ -3740,6 +3415,9 @@ export declare function createAgent(transport: Transport): {
3740
3415
  type: "session.status_idle";
3741
3416
  run_id: string | null;
3742
3417
  } | 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 | {
3418
+ permission_mode_version?: number;
3419
+ previous_permission_mode?: string | null;
3420
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3743
3421
  id: string;
3744
3422
  processed_at: string;
3745
3423
  type: "session.updated";
@@ -4008,6 +3686,13 @@ export declare function createAutomation(transport: Transport): {
4008
3686
  hooks: {
4009
3687
  send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
4010
3688
  };
3689
+ humanTasks: {
3690
+ cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
3691
+ delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
3692
+ list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
3693
+ respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
3694
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
3695
+ };
4011
3696
  resolve: {
4012
3697
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
4013
3698
  };
@@ -4341,6 +4026,20 @@ export declare function createMedia(transport: Transport): {
4341
4026
  };
4342
4027
  };
4343
4028
  export declare function createMeta(transport: Transport): {
4029
+ docs: {
4030
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
4031
+ path: string;
4032
+ title: string;
4033
+ url: string;
4034
+ markdown: string;
4035
+ }>;
4036
+ search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
4037
+ path: string;
4038
+ title: string;
4039
+ url: string;
4040
+ snippet: string;
4041
+ }[]>;
4042
+ };
4344
4043
  health: {
4345
4044
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
4346
4045
  };