@deepraxis/sdk 0.1.0-dev.7ee6a7d → 0.1.0-dev.95813a3

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.
@@ -16,7 +16,7 @@ export declare function createAgent(transport: Transport): {
16
16
  inference_geo?: string;
17
17
  speed?: "standard" | "fast";
18
18
  settings?: {
19
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
19
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
20
20
  };
21
21
  };
22
22
  multiagent: null | Types.AgentManaged39;
@@ -146,7 +146,7 @@ export declare function createAgent(transport: Transport): {
146
146
  inference_geo?: string;
147
147
  speed?: "standard" | "fast";
148
148
  settings?: {
149
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
149
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
150
150
  };
151
151
  };
152
152
  multiagent: null | Types.AgentManaged39;
@@ -263,6 +263,78 @@ export declare function createAgent(transport: Transport): {
263
263
  allowed: Array<string>;
264
264
  };
265
265
  }>;
266
+ endUsers: {
267
+ block: {
268
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
269
+ external_user_id: string;
270
+ first_seen_at: string | null;
271
+ last_active_at: string | null;
272
+ session_count: number;
273
+ cost_micro_usd: number;
274
+ blocked: boolean;
275
+ }>;
276
+ };
277
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
278
+ id: string;
279
+ status: "pending";
280
+ }>;
281
+ list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
282
+ data: Array<{
283
+ external_user_id: string;
284
+ first_seen_at: string | null;
285
+ last_active_at: string | null;
286
+ session_count: number;
287
+ cost_micro_usd: number;
288
+ blocked: boolean;
289
+ }>;
290
+ next_page: string | null;
291
+ }>;
292
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
293
+ external_user_id: string;
294
+ first_seen_at: string | null;
295
+ last_active_at: string | null;
296
+ session_count: number;
297
+ cost_micro_usd: number;
298
+ blocked: boolean;
299
+ recent_sessions: Array<{
300
+ id: string;
301
+ title: string | null;
302
+ source: string | null;
303
+ created_at: string;
304
+ updated_at: string;
305
+ }>;
306
+ }>;
307
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
308
+ id: string;
309
+ status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
310
+ counts: {
311
+ sessions?: number;
312
+ events?: number;
313
+ messages?: number;
314
+ d1_rows?: number;
315
+ attachments?: number;
316
+ };
317
+ snapshot_key?: string;
318
+ error?: string;
319
+ created_at: string;
320
+ updated_at: string;
321
+ }>;
322
+ revokeTokens: {
323
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
324
+ revoked: number;
325
+ }>;
326
+ };
327
+ unblock: {
328
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
329
+ external_user_id: string;
330
+ first_seen_at: string | null;
331
+ last_active_at: string | null;
332
+ session_count: number;
333
+ cost_micro_usd: number;
334
+ blocked: boolean;
335
+ }>;
336
+ };
337
+ };
266
338
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
267
339
  data: Array<{
268
340
  id: string;
@@ -277,7 +349,7 @@ export declare function createAgent(transport: Transport): {
277
349
  inference_geo?: string;
278
350
  speed?: "standard" | "fast";
279
351
  settings?: {
280
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
352
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
281
353
  };
282
354
  };
283
355
  multiagent: null | Types.AgentManaged39;
@@ -409,7 +481,7 @@ export declare function createAgent(transport: Transport): {
409
481
  inference_geo?: string;
410
482
  speed?: "standard" | "fast";
411
483
  settings?: {
412
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
484
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
413
485
  };
414
486
  };
415
487
  multiagent: null | Types.AgentManaged39;
@@ -539,7 +611,7 @@ export declare function createAgent(transport: Transport): {
539
611
  inference_geo?: string;
540
612
  speed?: "standard" | "fast";
541
613
  settings?: {
542
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
614
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
543
615
  };
544
616
  };
545
617
  multiagent: null | Types.AgentManaged39;
@@ -671,7 +743,7 @@ export declare function createAgent(transport: Transport): {
671
743
  inference_geo?: string;
672
744
  speed?: "standard" | "fast";
673
745
  settings?: {
674
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
746
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
675
747
  };
676
748
  };
677
749
  multiagent: null | Types.AgentManaged39;
@@ -798,6 +870,7 @@ export declare function createAgent(transport: Transport): {
798
870
  id: string;
799
871
  name: string;
800
872
  sandbox_id: string | null;
873
+ machine_state: "not_started" | "provisioned";
801
874
  environment_id: string | null;
802
875
  status: "active" | "archived";
803
876
  created_at: string;
@@ -820,12 +893,16 @@ export declare function createAgent(transport: Transport): {
820
893
  sandbox_id: string;
821
894
  envd_access_token: string;
822
895
  template_id: string;
896
+ tier: "light" | "heavy";
897
+ lease_id: string | null;
898
+ lease_expires_at: string | null;
823
899
  }>;
824
900
  create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
825
901
  type: "computer";
826
902
  id: string;
827
903
  name: string;
828
904
  sandbox_id: string | null;
905
+ machine_state: "not_started" | "provisioned";
829
906
  environment_id: string | null;
830
907
  status: "active" | "archived";
831
908
  created_at: string;
@@ -852,12 +929,25 @@ export declare function createAgent(transport: Transport): {
852
929
  }>;
853
930
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
854
931
  };
932
+ leases: {
933
+ delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
934
+ id: string;
935
+ type: "computer_lease_released";
936
+ }>;
937
+ renew: {
938
+ create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
939
+ lease_id: string;
940
+ lease_expires_at: string;
941
+ }>;
942
+ };
943
+ };
855
944
  list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
856
945
  data: Array<{
857
946
  type: "computer";
858
947
  id: string;
859
948
  name: string;
860
949
  sandbox_id: string | null;
950
+ machine_state: "not_started" | "provisioned";
861
951
  environment_id: string | null;
862
952
  status: "active" | "archived";
863
953
  created_at: string;
@@ -872,6 +962,7 @@ export declare function createAgent(transport: Transport): {
872
962
  id: string;
873
963
  name: string;
874
964
  sandbox_id: string | null;
965
+ machine_state: "not_started" | "provisioned";
875
966
  environment_id: string | null;
876
967
  status: "active" | "archived";
877
968
  created_at: string;
@@ -880,12 +971,14 @@ export declare function createAgent(transport: Transport): {
880
971
  implementation: "virtual" | "sandbox";
881
972
  storage_bytes: number;
882
973
  file_count: number;
974
+ stats_complete: boolean;
883
975
  }>;
884
976
  update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
885
977
  type: "computer";
886
978
  id: string;
887
979
  name: string;
888
980
  sandbox_id: string | null;
981
+ machine_state: "not_started" | "provisioned";
889
982
  environment_id: string | null;
890
983
  status: "active" | "archived";
891
984
  created_at: string;
@@ -1169,8 +1262,68 @@ export declare function createAgent(transport: Transport): {
1169
1262
  };
1170
1263
  }>;
1171
1264
  };
1265
+ embed: {
1266
+ exchange: {
1267
+ create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
1268
+ token: string;
1269
+ expires_at: string;
1270
+ }>;
1271
+ };
1272
+ retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
1273
+ agent?: {
1274
+ name?: string;
1275
+ avatar?: string;
1276
+ };
1277
+ layout?: "inline" | "sidebar" | "popup" | "modal";
1278
+ launcher?: {
1279
+ type: "none" | "bubble" | "mascot";
1280
+ image?: string;
1281
+ position?: "bottom-right" | "bottom-left";
1282
+ label?: string;
1283
+ };
1284
+ header?: {
1285
+ title?: string;
1286
+ subtitle?: string;
1287
+ icon?: string;
1288
+ };
1289
+ theme?: {
1290
+ colorScheme?: "light" | "dark" | "system";
1291
+ accent?: string;
1292
+ surface?: string;
1293
+ grayscale?: "neutral" | "warm" | "cool";
1294
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1295
+ density?: "compact" | "normal" | "spacious";
1296
+ fontFamily?: string;
1297
+ fontSize?: number;
1298
+ };
1299
+ locale?: "zh" | "en";
1300
+ startScreen?: {
1301
+ greeting?: string;
1302
+ prompts?: Array<{
1303
+ label: string;
1304
+ prompt: string;
1305
+ }>;
1306
+ };
1307
+ composer?: {
1308
+ placeholder?: string;
1309
+ };
1310
+ disclaimer?: string;
1311
+ footer?: string;
1312
+ history?: {
1313
+ enabled?: boolean;
1314
+ };
1315
+ }>;
1316
+ };
1172
1317
  embedTokens: {
1318
+ anonymous: {
1319
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
1320
+ token: string;
1321
+ expires_at: string;
1322
+ visitor_secret?: string;
1323
+ }>;
1324
+ };
1173
1325
  create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
1326
+ hosted_url?: string;
1174
1327
  id: string;
1175
1328
  token: string;
1176
1329
  expires_at: string;
@@ -1234,7 +1387,7 @@ export declare function createAgent(transport: Transport): {
1234
1387
  inference_geo?: string;
1235
1388
  speed?: "standard" | "fast";
1236
1389
  settings?: {
1237
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1390
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1238
1391
  };
1239
1392
  };
1240
1393
  multiagent: null | Types.AgentManaged171;
@@ -1265,18 +1418,20 @@ export declare function createAgent(transport: Transport): {
1265
1418
  model?: {
1266
1419
  id: string;
1267
1420
  thinking: {
1268
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
1421
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1269
1422
  can_disable: boolean;
1270
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
1423
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1271
1424
  } | null;
1272
1425
  };
1273
1426
  thinking?: {
1274
- effort: "low" | "medium" | "high" | "xhigh" | "none";
1427
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1275
1428
  } | null;
1276
1429
  forked_from?: {
1277
1430
  session_id: string;
1278
1431
  message_id: string;
1279
1432
  } | null;
1433
+ readonly external_user_id: string | null;
1434
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1280
1435
  }>;
1281
1436
  backgroundTasks: {
1282
1437
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
@@ -1353,7 +1508,7 @@ export declare function createAgent(transport: Transport): {
1353
1508
  inference_geo?: string;
1354
1509
  speed?: "standard" | "fast";
1355
1510
  settings?: {
1356
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1511
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1357
1512
  };
1358
1513
  };
1359
1514
  multiagent: null | Types.AgentManaged171;
@@ -1384,18 +1539,20 @@ export declare function createAgent(transport: Transport): {
1384
1539
  model?: {
1385
1540
  id: string;
1386
1541
  thinking: {
1387
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
1542
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
1388
1543
  can_disable: boolean;
1389
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
1544
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
1390
1545
  } | null;
1391
1546
  };
1392
1547
  thinking?: {
1393
- effort: "low" | "medium" | "high" | "xhigh" | "none";
1548
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1394
1549
  } | null;
1395
1550
  forked_from?: {
1396
1551
  session_id: string;
1397
1552
  message_id: string;
1398
1553
  } | null;
1554
+ readonly external_user_id: string | null;
1555
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
1399
1556
  }>;
1400
1557
  events: {
1401
1558
  list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
@@ -1404,6 +1561,12 @@ export declare function createAgent(transport: Transport): {
1404
1561
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1405
1562
  type: "user.message";
1406
1563
  processed_at?: null | string;
1564
+ praxis_context?: {
1565
+ items: Array<{
1566
+ name: string;
1567
+ value: string;
1568
+ }>;
1569
+ };
1407
1570
  message_id?: string;
1408
1571
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
1409
1572
  id: string;
@@ -1453,6 +1616,10 @@ export declare function createAgent(transport: Transport): {
1453
1616
  };
1454
1617
  source?: "app" | "codemode";
1455
1618
  parent_tool_use_id?: string;
1619
+ title?: string;
1620
+ input_titles?: {
1621
+ [key: string]: string;
1622
+ };
1456
1623
  } | {
1457
1624
  id: string;
1458
1625
  mcp_tool_use_id: string;
@@ -1580,7 +1747,18 @@ export declare function createAgent(transport: Transport): {
1580
1747
  next_page: string | null;
1581
1748
  }>;
1582
1749
  send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
1583
- data?: Array<Types.AgentManaged185 | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1750
+ data?: Array<{
1751
+ id: string;
1752
+ content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
1753
+ type: "user.message";
1754
+ processed_at?: null | string;
1755
+ praxis_context?: {
1756
+ items: Array<{
1757
+ name: string;
1758
+ value: string;
1759
+ }>;
1760
+ };
1761
+ } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
1584
1762
  id: string;
1585
1763
  type: "user.steer";
1586
1764
  event_id: string;
@@ -1613,6 +1791,27 @@ export declare function createAgent(transport: Transport): {
1613
1791
  type: "url";
1614
1792
  name: string;
1615
1793
  url: string;
1794
+ headers?: {
1795
+ [key: string]: string;
1796
+ };
1797
+ timeout_ms?: number;
1798
+ } | {
1799
+ type: "sse";
1800
+ name: string;
1801
+ url: string;
1802
+ headers?: {
1803
+ [key: string]: string;
1804
+ };
1805
+ timeout_ms?: number;
1806
+ } | {
1807
+ type: "stdio";
1808
+ name: string;
1809
+ command: string;
1810
+ args?: Array<string>;
1811
+ env?: {
1812
+ [key: string]: string;
1813
+ };
1814
+ timeout_ms?: number;
1616
1815
  }>;
1617
1816
  model: {
1618
1817
  id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
@@ -1630,7 +1829,7 @@ export declare function createAgent(transport: Transport): {
1630
1829
  inference_geo?: string;
1631
1830
  speed?: "standard" | "fast";
1632
1831
  settings?: {
1633
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
1832
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1634
1833
  };
1635
1834
  };
1636
1835
  multiagent: null | {
@@ -1644,6 +1843,27 @@ export declare function createAgent(transport: Transport): {
1644
1843
  type: "url";
1645
1844
  name: string;
1646
1845
  url: string;
1846
+ headers?: {
1847
+ [key: string]: string;
1848
+ };
1849
+ timeout_ms?: number;
1850
+ } | {
1851
+ type: "sse";
1852
+ name: string;
1853
+ url: string;
1854
+ headers?: {
1855
+ [key: string]: string;
1856
+ };
1857
+ timeout_ms?: number;
1858
+ } | {
1859
+ type: "stdio";
1860
+ name: string;
1861
+ command: string;
1862
+ args?: Array<string>;
1863
+ env?: {
1864
+ [key: string]: string;
1865
+ };
1866
+ timeout_ms?: number;
1647
1867
  }>;
1648
1868
  model: {
1649
1869
  id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
@@ -2072,18 +2292,20 @@ export declare function createAgent(transport: Transport): {
2072
2292
  model?: {
2073
2293
  id: string;
2074
2294
  thinking: {
2075
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2295
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2076
2296
  can_disable: boolean;
2077
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2297
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2078
2298
  } | null;
2079
2299
  };
2080
2300
  thinking?: {
2081
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2301
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2082
2302
  } | null;
2083
2303
  forked_from?: {
2084
2304
  session_id: string;
2085
2305
  message_id: string;
2086
2306
  } | null;
2307
+ readonly external_user_id: string | null;
2308
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2087
2309
  }>;
2088
2310
  list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
2089
2311
  data: Array<{
@@ -2098,7 +2320,7 @@ export declare function createAgent(transport: Transport): {
2098
2320
  inference_geo?: string;
2099
2321
  speed?: "standard" | "fast";
2100
2322
  settings?: {
2101
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2323
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2102
2324
  };
2103
2325
  };
2104
2326
  multiagent: null | Types.AgentManaged171;
@@ -2129,18 +2351,20 @@ export declare function createAgent(transport: Transport): {
2129
2351
  model?: {
2130
2352
  id: string;
2131
2353
  thinking: {
2132
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2354
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2133
2355
  can_disable: boolean;
2134
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2356
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2135
2357
  } | null;
2136
2358
  };
2137
2359
  thinking?: {
2138
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2360
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2139
2361
  } | null;
2140
2362
  forked_from?: {
2141
2363
  session_id: string;
2142
2364
  message_id: string;
2143
2365
  } | null;
2366
+ readonly external_user_id: string | null;
2367
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2144
2368
  }>;
2145
2369
  next_page: string | null;
2146
2370
  }>;
@@ -2173,7 +2397,7 @@ export declare function createAgent(transport: Transport): {
2173
2397
  inference_geo?: string;
2174
2398
  speed?: "standard" | "fast";
2175
2399
  settings?: {
2176
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2400
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2177
2401
  };
2178
2402
  };
2179
2403
  multiagent: null | Types.AgentManaged171;
@@ -2204,18 +2428,20 @@ export declare function createAgent(transport: Transport): {
2204
2428
  model?: {
2205
2429
  id: string;
2206
2430
  thinking: {
2207
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2431
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2208
2432
  can_disable: boolean;
2209
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2433
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2210
2434
  } | null;
2211
2435
  };
2212
2436
  thinking?: {
2213
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2437
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2214
2438
  } | null;
2215
2439
  forked_from?: {
2216
2440
  session_id: string;
2217
2441
  message_id: string;
2218
2442
  } | null;
2443
+ readonly external_user_id: string | null;
2444
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2219
2445
  }>;
2220
2446
  retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
2221
2447
  type: "session_compaction";
@@ -2230,9 +2456,9 @@ export declare function createAgent(transport: Transport): {
2230
2456
  id: string;
2231
2457
  display_name: string;
2232
2458
  thinking: {
2233
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2459
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2234
2460
  can_disable: boolean;
2235
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2461
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2236
2462
  } | null;
2237
2463
  };
2238
2464
  total_tokens: number | null;
@@ -2311,6 +2537,12 @@ export declare function createAgent(transport: Transport): {
2311
2537
  content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
2312
2538
  type: "user.message";
2313
2539
  processed_at?: null | string;
2540
+ praxis_context?: {
2541
+ items: Array<{
2542
+ name: string;
2543
+ value: string;
2544
+ }>;
2545
+ };
2314
2546
  message_id?: string;
2315
2547
  } | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
2316
2548
  id: string;
@@ -2360,6 +2592,10 @@ export declare function createAgent(transport: Transport): {
2360
2592
  };
2361
2593
  };
2362
2594
  source?: "app" | "codemode";
2595
+ title?: string;
2596
+ input_titles?: {
2597
+ [key: string]: string;
2598
+ };
2363
2599
  } | {
2364
2600
  id: string;
2365
2601
  mcp_tool_use_id: string;
@@ -2499,7 +2735,7 @@ export declare function createAgent(transport: Transport): {
2499
2735
  inference_geo?: string;
2500
2736
  speed?: "standard" | "fast";
2501
2737
  settings?: {
2502
- reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
2738
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2503
2739
  };
2504
2740
  };
2505
2741
  multiagent: null | Types.AgentManaged171;
@@ -2530,18 +2766,20 @@ export declare function createAgent(transport: Transport): {
2530
2766
  model?: {
2531
2767
  id: string;
2532
2768
  thinking: {
2533
- efforts: Array<"low" | "medium" | "high" | "xhigh">;
2769
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
2534
2770
  can_disable: boolean;
2535
- default_effort: "low" | "medium" | "high" | "xhigh" | null;
2771
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
2536
2772
  } | null;
2537
2773
  };
2538
2774
  thinking?: {
2539
- effort: "low" | "medium" | "high" | "xhigh" | "none";
2775
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2540
2776
  } | null;
2541
2777
  forked_from?: {
2542
2778
  session_id: string;
2543
2779
  message_id: string;
2544
2780
  } | null;
2781
+ readonly external_user_id: string | null;
2782
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2545
2783
  }>;
2546
2784
  };
2547
2785
  toolsets: {
@@ -3571,9 +3809,142 @@ export declare function createOrganization(transport: Transport): {
3571
3809
  }>;
3572
3810
  };
3573
3811
  feedback: {
3812
+ counts: {
3813
+ list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
3814
+ object: "feedback.counts";
3815
+ open: number;
3816
+ awaiting_customer: number;
3817
+ in_progress: number;
3818
+ resolved: number;
3819
+ closed: number;
3820
+ total: number;
3821
+ }>;
3822
+ };
3574
3823
  create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
3575
3824
  id: string;
3576
3825
  }>;
3826
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
3827
+ object: "page";
3828
+ data: Array<{
3829
+ object: "feedback";
3830
+ id: string;
3831
+ title?: string | null;
3832
+ type?: string | null;
3833
+ message: string;
3834
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
3835
+ status: "unresolved" | "resolved" | "ignored";
3836
+ source: "console" | "api" | "codemode";
3837
+ url?: string | null;
3838
+ first_response_due_time?: string | null;
3839
+ first_response_time?: string | null;
3840
+ last_message_time: string;
3841
+ unread: boolean;
3842
+ create_time: string;
3843
+ update_time: string;
3844
+ reporter?: {
3845
+ type?: "user" | "api_key" | "agent_session";
3846
+ };
3847
+ last_message_preview?: {
3848
+ author_kind?: "customer" | "staff" | "system";
3849
+ body?: string;
3850
+ create_time?: string;
3851
+ } | null;
3852
+ attachments: Array<{
3853
+ id?: string;
3854
+ name?: string;
3855
+ content_type?: string;
3856
+ size?: number;
3857
+ create_time?: string;
3858
+ }>;
3859
+ }>;
3860
+ has_more: boolean;
3861
+ next_page: string | null;
3862
+ }>;
3863
+ messages: {
3864
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
3865
+ object: "feedback.message";
3866
+ id: string;
3867
+ feedback_id: string;
3868
+ author: {
3869
+ kind?: "customer" | "staff" | "system";
3870
+ name?: string;
3871
+ };
3872
+ body: string;
3873
+ event?: {
3874
+ type?: "phase_changed" | "assigned";
3875
+ from?: string | null;
3876
+ to?: string | null;
3877
+ } | null;
3878
+ attachments: Array<{
3879
+ id?: string;
3880
+ name?: string;
3881
+ content_type?: string;
3882
+ size?: number;
3883
+ create_time?: string;
3884
+ }>;
3885
+ create_time: string;
3886
+ }>;
3887
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
3888
+ object: "page";
3889
+ data: Array<{
3890
+ object: "feedback.message";
3891
+ id: string;
3892
+ feedback_id: string;
3893
+ author: {
3894
+ kind?: "customer" | "staff" | "system";
3895
+ name?: string;
3896
+ };
3897
+ body: string;
3898
+ event?: {
3899
+ type?: "phase_changed" | "assigned";
3900
+ from?: string | null;
3901
+ to?: string | null;
3902
+ } | null;
3903
+ attachments: Array<{
3904
+ id?: string;
3905
+ name?: string;
3906
+ content_type?: string;
3907
+ size?: number;
3908
+ create_time?: string;
3909
+ }>;
3910
+ create_time: string;
3911
+ }>;
3912
+ has_more: boolean;
3913
+ next_page: string | null;
3914
+ }>;
3915
+ };
3916
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
3917
+ object: "feedback";
3918
+ id: string;
3919
+ title?: string | null;
3920
+ type?: string | null;
3921
+ message: string;
3922
+ phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
3923
+ status: "unresolved" | "resolved" | "ignored";
3924
+ source: "console" | "api" | "codemode";
3925
+ url?: string | null;
3926
+ first_response_due_time?: string | null;
3927
+ first_response_time?: string | null;
3928
+ last_message_time: string;
3929
+ unread: boolean;
3930
+ create_time: string;
3931
+ update_time: string;
3932
+ reporter?: {
3933
+ type?: "user" | "api_key" | "agent_session";
3934
+ };
3935
+ last_message_preview?: {
3936
+ author_kind?: "customer" | "staff" | "system";
3937
+ body?: string;
3938
+ create_time?: string;
3939
+ } | null;
3940
+ attachments: Array<{
3941
+ id?: string;
3942
+ name?: string;
3943
+ content_type?: string;
3944
+ size?: number;
3945
+ create_time?: string;
3946
+ }>;
3947
+ }>;
3577
3948
  };
3578
3949
  usage: {
3579
3950
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{