@deepraxis/sdk 0.1.1-dev.d25d171 → 0.1.1-dev.d775f1e

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,14 +42,17 @@ 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";
51
53
  computer_id?: string;
52
54
  subagent_model?: string | null;
55
+ image_model?: string | null;
53
56
  subagents?: Array<{
54
57
  name: string;
55
58
  description: string;
@@ -198,14 +201,17 @@ export declare function createAgent(transport: Transport): {
198
201
  id: string;
199
202
  access: "read_only" | "read_write" | "invoke";
200
203
  instructions?: string;
204
+ readonly verified?: boolean;
201
205
  enabled?: boolean;
202
206
  } | {
203
207
  type: "search" | "browser";
208
+ readonly verified?: boolean;
204
209
  enabled?: boolean;
205
210
  }>;
206
211
  kind: "personal" | "service";
207
212
  computer_id?: string;
208
213
  subagent_model?: string | null;
214
+ image_model?: string | null;
209
215
  subagents?: Array<{
210
216
  name: string;
211
217
  description: string;
@@ -352,49 +358,53 @@ export declare function createAgent(transport: Transport): {
352
358
  }>;
353
359
  };
354
360
  };
355
- };
356
- endUsers: {
357
361
  block: {
358
- create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
359
- external_user_id: string;
362
+ create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
363
+ id: string;
364
+ type: "identified" | "anonymous";
365
+ merged_into: string | null;
366
+ blocked: boolean;
360
367
  first_seen_at: string | null;
361
- last_active_at: string | null;
368
+ last_seen_at: string | null;
362
369
  session_count: number;
363
370
  cost: {
364
371
  amount: string;
365
372
  currency: "USD";
366
373
  };
367
- blocked: boolean;
368
374
  }>;
369
375
  };
370
- delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
376
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
371
377
  id: string;
372
378
  status: "pending";
373
379
  }>;
374
- list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
380
+ list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
375
381
  data: Array<{
376
- external_user_id: string;
382
+ id: string;
383
+ type: "identified" | "anonymous";
384
+ merged_into: string | null;
385
+ blocked: boolean;
377
386
  first_seen_at: string | null;
378
- last_active_at: string | null;
387
+ last_seen_at: string | null;
379
388
  session_count: number;
380
389
  cost: {
381
390
  amount: string;
382
391
  currency: "USD";
383
392
  };
384
- blocked: boolean;
385
393
  }>;
386
394
  next_page: string | null;
387
395
  }>;
388
- retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
389
- external_user_id: string;
396
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetCustomerData>) => Promise<{
397
+ id: string;
398
+ type: "identified" | "anonymous";
399
+ merged_into: string | null;
400
+ blocked: boolean;
390
401
  first_seen_at: string | null;
391
- last_active_at: string | null;
402
+ last_seen_at: string | null;
392
403
  session_count: number;
393
404
  cost: {
394
405
  amount: string;
395
406
  currency: "USD";
396
407
  };
397
- blocked: boolean;
398
408
  recent_sessions: Array<{
399
409
  id: string;
400
410
  title: string | null;
@@ -403,7 +413,7 @@ export declare function createAgent(transport: Transport): {
403
413
  updated_at: string;
404
414
  }>;
405
415
  }>;
406
- retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
416
+ retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
407
417
  id: string;
408
418
  status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
409
419
  counts: {
@@ -419,21 +429,23 @@ export declare function createAgent(transport: Transport): {
419
429
  updated_at: string;
420
430
  }>;
421
431
  revokeTokens: {
422
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
432
+ create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
423
433
  revoked: number;
424
434
  }>;
425
435
  };
426
436
  unblock: {
427
- create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
428
- external_user_id: string;
437
+ create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
438
+ id: string;
439
+ type: "identified" | "anonymous";
440
+ merged_into: string | null;
441
+ blocked: boolean;
429
442
  first_seen_at: string | null;
430
- last_active_at: string | null;
443
+ last_seen_at: string | null;
431
444
  session_count: number;
432
445
  cost: {
433
446
  amount: string;
434
447
  currency: "USD";
435
448
  };
436
- blocked: boolean;
437
449
  }>;
438
450
  };
439
451
  };
@@ -477,14 +489,17 @@ export declare function createAgent(transport: Transport): {
477
489
  id: string;
478
490
  access: "read_only" | "read_write" | "invoke";
479
491
  instructions?: string;
492
+ readonly verified?: boolean;
480
493
  enabled?: boolean;
481
494
  } | {
482
495
  type: "search" | "browser";
496
+ readonly verified?: boolean;
483
497
  enabled?: boolean;
484
498
  }>;
485
499
  kind: "personal" | "service";
486
500
  computer_id?: string;
487
501
  subagent_model?: string | null;
502
+ image_model?: string | null;
488
503
  subagents?: Array<{
489
504
  name: string;
490
505
  description: string;
@@ -620,6 +635,7 @@ export declare function createAgent(transport: Transport): {
620
635
  type: "agent";
621
636
  updated_at: string;
622
637
  version: number;
638
+ latest_version?: number;
623
639
  active_version: number;
624
640
  created_by: {
625
641
  type: "user";
@@ -635,14 +651,17 @@ export declare function createAgent(transport: Transport): {
635
651
  id: string;
636
652
  access: "read_only" | "read_write" | "invoke";
637
653
  instructions?: string;
654
+ readonly verified?: boolean;
638
655
  enabled?: boolean;
639
656
  } | {
640
657
  type: "search" | "browser";
658
+ readonly verified?: boolean;
641
659
  enabled?: boolean;
642
660
  }>;
643
661
  kind: "personal" | "service";
644
662
  computer_id?: string;
645
663
  subagent_model?: string | null;
664
+ image_model?: string | null;
646
665
  subagents?: Array<{
647
666
  name: string;
648
667
  description: string;
@@ -752,6 +771,64 @@ export declare function createAgent(transport: Transport): {
752
771
  vault_ids?: Array<string>;
753
772
  status: "active" | "archived";
754
773
  }>;
774
+ retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
775
+ agent?: {
776
+ name?: string;
777
+ avatar?: string;
778
+ };
779
+ layout?: "inline" | "sidebar" | "popup" | "modal";
780
+ launcher?: {
781
+ type: "none" | "bubble" | "mascot";
782
+ pack?: {
783
+ preset?: "mint" | "cat" | "bot";
784
+ images?: {
785
+ idle: string;
786
+ greet?: string;
787
+ listening?: string;
788
+ thinking?: string;
789
+ talking?: string;
790
+ "talking-2"?: string;
791
+ sorry?: string;
792
+ sleep?: string;
793
+ };
794
+ };
795
+ image?: string;
796
+ motion?: "float" | "none";
797
+ position?: "bottom-right" | "bottom-left";
798
+ label?: string;
799
+ };
800
+ header?: {
801
+ title?: string;
802
+ subtitle?: string;
803
+ icon?: string;
804
+ };
805
+ theme?: {
806
+ colorScheme?: "light" | "dark" | "system";
807
+ accent?: string;
808
+ surface?: string;
809
+ grayscale?: "neutral" | "warm" | "cool";
810
+ radius?: "none" | "sm" | "md" | "lg" | "full";
811
+ density?: "compact" | "normal" | "spacious";
812
+ fontFamily?: string;
813
+ fontSize?: number;
814
+ };
815
+ locale?: "zh" | "en";
816
+ startScreen?: {
817
+ greeting?: string;
818
+ prompts?: Array<{
819
+ label: string;
820
+ prompt: string;
821
+ }>;
822
+ };
823
+ composer?: {
824
+ placeholder?: string;
825
+ };
826
+ disclaimer?: string;
827
+ footer?: string;
828
+ history?: {
829
+ enabled?: boolean;
830
+ };
831
+ }>;
755
832
  unarchive: {
756
833
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
757
834
  id: string;
@@ -994,14 +1071,17 @@ export declare function createAgent(transport: Transport): {
994
1071
  id: string;
995
1072
  access: "read_only" | "read_write" | "invoke";
996
1073
  instructions?: string;
1074
+ readonly verified?: boolean;
997
1075
  enabled?: boolean;
998
1076
  } | {
999
1077
  type: "search" | "browser";
1078
+ readonly verified?: boolean;
1000
1079
  enabled?: boolean;
1001
1080
  }>;
1002
1081
  kind: "personal" | "service";
1003
1082
  computer_id?: string;
1004
1083
  subagent_model?: string | null;
1084
+ image_model?: string | null;
1005
1085
  subagents?: Array<{
1006
1086
  name: string;
1007
1087
  description: string;
@@ -1136,6 +1216,7 @@ export declare function createAgent(transport: Transport): {
1136
1216
  type: "agent";
1137
1217
  updated_at: string;
1138
1218
  version: number;
1219
+ latest_version?: number;
1139
1220
  active_version: number;
1140
1221
  created_by: {
1141
1222
  type: "user";
@@ -1151,14 +1232,17 @@ export declare function createAgent(transport: Transport): {
1151
1232
  id: string;
1152
1233
  access: "read_only" | "read_write" | "invoke";
1153
1234
  instructions?: string;
1235
+ readonly verified?: boolean;
1154
1236
  enabled?: boolean;
1155
1237
  } | {
1156
1238
  type: "search" | "browser";
1239
+ readonly verified?: boolean;
1157
1240
  enabled?: boolean;
1158
1241
  }>;
1159
1242
  kind: "personal" | "service";
1160
1243
  computer_id?: string;
1161
1244
  subagent_model?: string | null;
1245
+ image_model?: string | null;
1162
1246
  subagents?: Array<{
1163
1247
  name: string;
1164
1248
  description: string;
@@ -1274,227 +1358,26 @@ export declare function createAgent(transport: Transport): {
1274
1358
  archived_at: null | string;
1275
1359
  created_at: string;
1276
1360
  description: null | string;
1277
- mcp_servers: Array<{
1278
- type: "url";
1279
- name: string;
1280
- url: string;
1281
- headers?: {
1282
- [key: string]: string;
1283
- };
1284
- timeout_ms?: number;
1285
- } | {
1286
- type: "sse";
1287
- name: string;
1288
- url: string;
1289
- headers?: {
1290
- [key: string]: string;
1291
- };
1292
- timeout_ms?: number;
1293
- } | {
1294
- type: "stdio";
1295
- name: string;
1296
- command: string;
1297
- args?: Array<string>;
1298
- env?: {
1299
- [key: string]: string;
1300
- };
1301
- timeout_ms?: number;
1302
- }>;
1303
- metadata: {
1304
- [key: string]: string;
1305
- };
1361
+ mcp_servers: Array<Types.AgentManaged36>;
1362
+ metadata: Types.AgentManaged37;
1306
1363
  model: {
1307
1364
  id: string;
1308
- effort?: {
1309
- type: "low";
1310
- } | {
1311
- type: "medium";
1312
- } | {
1313
- type: "high";
1314
- } | {
1315
- type: "xhigh";
1316
- } | {
1317
- type: "max";
1318
- };
1365
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1319
1366
  inference_geo?: string;
1320
1367
  speed?: "standard" | "fast";
1321
1368
  settings?: {
1322
1369
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1323
1370
  };
1324
1371
  };
1325
- multiagent: null | {
1326
- agents: Array<{
1327
- id: string;
1328
- type: "agent";
1329
- version: number;
1330
- } | {
1331
- model: string;
1332
- type: "advisor";
1333
- }>;
1334
- type: "coordinator";
1335
- };
1372
+ multiagent: null | Types.AgentManaged39;
1336
1373
  name: string;
1337
- skills: Array<{
1338
- skill_id: string;
1339
- type: "anthropic";
1340
- version: string;
1341
- } | {
1342
- skill_id: string;
1343
- type: "custom";
1344
- version: string;
1345
- }>;
1374
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1346
1375
  system: null | string;
1347
- tools: Array<{
1348
- configs: Array<{
1349
- enabled: boolean;
1350
- name: "bash";
1351
- permission_policy: {
1352
- type: "always_allow";
1353
- } | {
1354
- type: "always_ask";
1355
- } | {
1356
- type: "auto";
1357
- };
1358
- type: "bash";
1359
- } | {
1360
- enabled: boolean;
1361
- name: "edit";
1362
- permission_policy: {
1363
- type: "always_allow";
1364
- } | {
1365
- type: "always_ask";
1366
- } | {
1367
- type: "auto";
1368
- };
1369
- type: "edit";
1370
- } | {
1371
- enabled: boolean;
1372
- name: "read";
1373
- permission_policy: {
1374
- type: "always_allow";
1375
- } | {
1376
- type: "always_ask";
1377
- } | {
1378
- type: "auto";
1379
- };
1380
- type: "read";
1381
- } | {
1382
- enabled: boolean;
1383
- name: "write";
1384
- permission_policy: {
1385
- type: "always_allow";
1386
- } | {
1387
- type: "always_ask";
1388
- } | {
1389
- type: "auto";
1390
- };
1391
- type: "write";
1392
- } | {
1393
- enabled: boolean;
1394
- name: "glob";
1395
- permission_policy: {
1396
- type: "always_allow";
1397
- } | {
1398
- type: "always_ask";
1399
- } | {
1400
- type: "auto";
1401
- };
1402
- type: "glob";
1403
- } | {
1404
- enabled: boolean;
1405
- name: "grep";
1406
- permission_policy: {
1407
- type: "always_allow";
1408
- } | {
1409
- type: "always_ask";
1410
- } | {
1411
- type: "auto";
1412
- };
1413
- type: "grep";
1414
- } | {
1415
- enabled: boolean;
1416
- name: "web_fetch";
1417
- permission_policy: {
1418
- type: "always_allow";
1419
- } | {
1420
- type: "always_ask";
1421
- } | {
1422
- type: "auto";
1423
- };
1424
- type: "web_fetch";
1425
- allowed_domains?: Array<string>;
1426
- blocked_domains?: Array<string>;
1427
- max_content_tokens?: null | number;
1428
- } | {
1429
- enabled: boolean;
1430
- name: "web_search";
1431
- permission_policy: {
1432
- type: "always_allow";
1433
- } | {
1434
- type: "always_ask";
1435
- } | {
1436
- type: "auto";
1437
- };
1438
- type: "web_search";
1439
- allowed_domains?: Array<string>;
1440
- blocked_domains?: Array<string>;
1441
- user_location?: null | {
1442
- type: "approximate";
1443
- city?: null | string;
1444
- country?: null | string;
1445
- region?: null | string;
1446
- timezone?: null | string;
1447
- };
1448
- } | {
1449
- name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1450
- enabled: boolean;
1451
- permission_policy: {
1452
- type: "always_allow" | "always_ask";
1453
- };
1454
- }>;
1455
- default_config: {
1456
- enabled: boolean;
1457
- permission_policy: {
1458
- type: "always_allow";
1459
- } | {
1460
- type: "always_ask";
1461
- } | {
1462
- type: "auto";
1463
- };
1464
- };
1465
- type: "agent_toolset_20260401";
1466
- } | {
1467
- type: "mcp_toolset";
1468
- mcp_server_name: string;
1469
- default_config?: {
1470
- enabled?: boolean | null;
1471
- permission_policy?: null | {
1472
- type: "always_allow" | "always_ask";
1473
- };
1474
- } | null;
1475
- configs?: Array<{
1476
- name: string;
1477
- enabled?: boolean | null;
1478
- permission_policy?: null | {
1479
- type: "always_allow" | "always_ask";
1480
- };
1481
- }> | null;
1482
- } | {
1483
- description: string;
1484
- input_schema: {
1485
- type: "object";
1486
- properties?: null | {
1487
- [key: string]: unknown;
1488
- };
1489
- required?: null | Array<string>;
1490
- [key: string]: unknown;
1491
- };
1492
- name: string;
1493
- type: "custom";
1494
- }>;
1376
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1495
1377
  type: "agent";
1496
1378
  updated_at: string;
1497
1379
  version: number;
1380
+ latest_version?: number;
1498
1381
  active_version: number;
1499
1382
  created_by: {
1500
1383
  type: "user";
@@ -1510,14 +1393,17 @@ export declare function createAgent(transport: Transport): {
1510
1393
  id: string;
1511
1394
  access: "read_only" | "read_write" | "invoke";
1512
1395
  instructions?: string;
1396
+ readonly verified?: boolean;
1513
1397
  enabled?: boolean;
1514
1398
  } | {
1515
1399
  type: "search" | "browser";
1400
+ readonly verified?: boolean;
1516
1401
  enabled?: boolean;
1517
1402
  }>;
1518
1403
  kind: "personal" | "service";
1519
1404
  computer_id?: string;
1520
1405
  subagent_model?: string | null;
1406
+ image_model?: string | null;
1521
1407
  subagents?: Array<{
1522
1408
  name: string;
1523
1409
  description: string;
@@ -1668,14 +1554,17 @@ export declare function createAgent(transport: Transport): {
1668
1554
  id: string;
1669
1555
  access: "read_only" | "read_write" | "invoke";
1670
1556
  instructions?: string;
1557
+ readonly verified?: boolean;
1671
1558
  enabled?: boolean;
1672
1559
  } | {
1673
1560
  type: "search" | "browser";
1561
+ readonly verified?: boolean;
1674
1562
  enabled?: boolean;
1675
1563
  }>;
1676
1564
  kind: "personal" | "service";
1677
1565
  computer_id?: string;
1678
1566
  subagent_model?: string | null;
1567
+ image_model?: string | null;
1679
1568
  subagents?: Array<{
1680
1569
  name: string;
1681
1570
  description: string;
@@ -2188,122 +2077,6 @@ export declare function createAgent(transport: Transport): {
2188
2077
  };
2189
2078
  }>;
2190
2079
  };
2191
- embed: {
2192
- exchange: {
2193
- create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
2194
- token: string;
2195
- expires_at: string;
2196
- }>;
2197
- };
2198
- retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
2199
- agent?: {
2200
- name?: string;
2201
- avatar?: string;
2202
- };
2203
- layout?: "inline" | "sidebar" | "popup" | "modal";
2204
- launcher?: {
2205
- type: "none" | "bubble" | "mascot";
2206
- pack?: {
2207
- preset?: "mint" | "cat" | "bot";
2208
- images?: {
2209
- idle: string;
2210
- greet?: string;
2211
- listening?: string;
2212
- thinking?: string;
2213
- talking?: string;
2214
- "talking-2"?: string;
2215
- sorry?: string;
2216
- sleep?: string;
2217
- };
2218
- };
2219
- image?: string;
2220
- motion?: "float" | "none";
2221
- position?: "bottom-right" | "bottom-left";
2222
- label?: string;
2223
- };
2224
- header?: {
2225
- title?: string;
2226
- subtitle?: string;
2227
- icon?: string;
2228
- };
2229
- theme?: {
2230
- colorScheme?: "light" | "dark" | "system";
2231
- accent?: string;
2232
- surface?: string;
2233
- grayscale?: "neutral" | "warm" | "cool";
2234
- radius?: "none" | "sm" | "md" | "lg" | "full";
2235
- density?: "compact" | "normal" | "spacious";
2236
- fontFamily?: string;
2237
- fontSize?: number;
2238
- };
2239
- locale?: "zh" | "en";
2240
- startScreen?: {
2241
- greeting?: string;
2242
- prompts?: Array<{
2243
- label: string;
2244
- prompt: string;
2245
- }>;
2246
- };
2247
- composer?: {
2248
- placeholder?: string;
2249
- };
2250
- disclaimer?: string;
2251
- footer?: string;
2252
- history?: {
2253
- enabled?: boolean;
2254
- };
2255
- }>;
2256
- };
2257
- embedTokens: {
2258
- anonymous: {
2259
- create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
2260
- token: string;
2261
- expires_at: string;
2262
- visitor_secret?: string;
2263
- }>;
2264
- };
2265
- create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
2266
- hosted_url?: string;
2267
- id: string;
2268
- token: string;
2269
- expires_at: string;
2270
- }>;
2271
- list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
2272
- data: Array<{
2273
- id: string;
2274
- type: "embed_token";
2275
- agent_id: string;
2276
- agent_version: number;
2277
- external_user_id: string;
2278
- created_at: string;
2279
- expires_at: string;
2280
- revoked_at: string | null;
2281
- host_origin: string | null;
2282
- issued_by: {
2283
- type: "user" | "api_key";
2284
- id: string;
2285
- };
2286
- }>;
2287
- next_page: string | null;
2288
- }>;
2289
- revoke: {
2290
- create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
2291
- id: string;
2292
- type: "embed_token";
2293
- agent_id: string;
2294
- agent_version: number;
2295
- external_user_id: string;
2296
- created_at: string;
2297
- expires_at: string;
2298
- revoked_at: string | null;
2299
- host_origin: string | null;
2300
- issued_by: {
2301
- type: "user" | "api_key";
2302
- id: string;
2303
- };
2304
- }>;
2305
- };
2306
- };
2307
2080
  environments: {
2308
2081
  archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2309
2082
  create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;