@deepraxis/sdk 0.1.1-dev.b176367 → 0.1.1-dev.c64b603
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.
- package/METHODS.md +29 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +66 -2
- package/dist/generated/sdk.gen.js +161 -1
- package/dist/generated/types.gen.d.ts +1025 -30
- package/dist/operations.generated.d.ts +191 -6
- package/dist/operations.generated.js +234 -6
- package/dist/resources.generated.d.ts +192 -4
- package/dist/resources.generated.js +14 -0
- package/package.json +1 -1
|
@@ -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,6 +358,96 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
358
|
}>;
|
|
353
359
|
};
|
|
354
360
|
};
|
|
361
|
+
block: {
|
|
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;
|
|
367
|
+
first_seen_at: string | null;
|
|
368
|
+
last_seen_at: string | null;
|
|
369
|
+
session_count: number;
|
|
370
|
+
cost: {
|
|
371
|
+
amount: string;
|
|
372
|
+
currency: "USD";
|
|
373
|
+
};
|
|
374
|
+
}>;
|
|
375
|
+
};
|
|
376
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
|
|
377
|
+
id: string;
|
|
378
|
+
status: "pending";
|
|
379
|
+
}>;
|
|
380
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
|
|
381
|
+
data: Array<{
|
|
382
|
+
id: string;
|
|
383
|
+
type: "identified" | "anonymous";
|
|
384
|
+
merged_into: string | null;
|
|
385
|
+
blocked: boolean;
|
|
386
|
+
first_seen_at: string | null;
|
|
387
|
+
last_seen_at: string | null;
|
|
388
|
+
session_count: number;
|
|
389
|
+
cost: {
|
|
390
|
+
amount: string;
|
|
391
|
+
currency: "USD";
|
|
392
|
+
};
|
|
393
|
+
}>;
|
|
394
|
+
next_page: string | null;
|
|
395
|
+
}>;
|
|
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;
|
|
401
|
+
first_seen_at: string | null;
|
|
402
|
+
last_seen_at: string | null;
|
|
403
|
+
session_count: number;
|
|
404
|
+
cost: {
|
|
405
|
+
amount: string;
|
|
406
|
+
currency: "USD";
|
|
407
|
+
};
|
|
408
|
+
recent_sessions: Array<{
|
|
409
|
+
id: string;
|
|
410
|
+
title: string | null;
|
|
411
|
+
source: string | null;
|
|
412
|
+
created_at: string;
|
|
413
|
+
updated_at: string;
|
|
414
|
+
}>;
|
|
415
|
+
}>;
|
|
416
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
417
|
+
id: string;
|
|
418
|
+
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
419
|
+
counts: {
|
|
420
|
+
sessions?: number;
|
|
421
|
+
events?: number;
|
|
422
|
+
messages?: number;
|
|
423
|
+
d1_rows?: number;
|
|
424
|
+
attachments?: number;
|
|
425
|
+
};
|
|
426
|
+
snapshot_key?: string;
|
|
427
|
+
error?: string;
|
|
428
|
+
created_at: string;
|
|
429
|
+
updated_at: string;
|
|
430
|
+
}>;
|
|
431
|
+
revokeTokens: {
|
|
432
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
433
|
+
revoked: number;
|
|
434
|
+
}>;
|
|
435
|
+
};
|
|
436
|
+
unblock: {
|
|
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;
|
|
442
|
+
first_seen_at: string | null;
|
|
443
|
+
last_seen_at: string | null;
|
|
444
|
+
session_count: number;
|
|
445
|
+
cost: {
|
|
446
|
+
amount: string;
|
|
447
|
+
currency: "USD";
|
|
448
|
+
};
|
|
449
|
+
}>;
|
|
450
|
+
};
|
|
355
451
|
};
|
|
356
452
|
endUsers: {
|
|
357
453
|
block: {
|
|
@@ -360,7 +456,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
360
456
|
first_seen_at: string | null;
|
|
361
457
|
last_active_at: string | null;
|
|
362
458
|
session_count: number;
|
|
363
|
-
|
|
459
|
+
cost: {
|
|
460
|
+
amount: string;
|
|
461
|
+
currency: "USD";
|
|
462
|
+
};
|
|
364
463
|
blocked: boolean;
|
|
365
464
|
}>;
|
|
366
465
|
};
|
|
@@ -374,7 +473,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
374
473
|
first_seen_at: string | null;
|
|
375
474
|
last_active_at: string | null;
|
|
376
475
|
session_count: number;
|
|
377
|
-
|
|
476
|
+
cost: {
|
|
477
|
+
amount: string;
|
|
478
|
+
currency: "USD";
|
|
479
|
+
};
|
|
378
480
|
blocked: boolean;
|
|
379
481
|
}>;
|
|
380
482
|
next_page: string | null;
|
|
@@ -384,7 +486,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
384
486
|
first_seen_at: string | null;
|
|
385
487
|
last_active_at: string | null;
|
|
386
488
|
session_count: number;
|
|
387
|
-
|
|
489
|
+
cost: {
|
|
490
|
+
amount: string;
|
|
491
|
+
currency: "USD";
|
|
492
|
+
};
|
|
388
493
|
blocked: boolean;
|
|
389
494
|
recent_sessions: Array<{
|
|
390
495
|
id: string;
|
|
@@ -420,7 +525,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
420
525
|
first_seen_at: string | null;
|
|
421
526
|
last_active_at: string | null;
|
|
422
527
|
session_count: number;
|
|
423
|
-
|
|
528
|
+
cost: {
|
|
529
|
+
amount: string;
|
|
530
|
+
currency: "USD";
|
|
531
|
+
};
|
|
424
532
|
blocked: boolean;
|
|
425
533
|
}>;
|
|
426
534
|
};
|
|
@@ -465,14 +573,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
465
573
|
id: string;
|
|
466
574
|
access: "read_only" | "read_write" | "invoke";
|
|
467
575
|
instructions?: string;
|
|
576
|
+
readonly verified?: boolean;
|
|
468
577
|
enabled?: boolean;
|
|
469
578
|
} | {
|
|
470
579
|
type: "search" | "browser";
|
|
580
|
+
readonly verified?: boolean;
|
|
471
581
|
enabled?: boolean;
|
|
472
582
|
}>;
|
|
473
583
|
kind: "personal" | "service";
|
|
474
584
|
computer_id?: string;
|
|
475
585
|
subagent_model?: string | null;
|
|
586
|
+
image_model?: string | null;
|
|
476
587
|
subagents?: Array<{
|
|
477
588
|
name: string;
|
|
478
589
|
description: string;
|
|
@@ -623,14 +734,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
623
734
|
id: string;
|
|
624
735
|
access: "read_only" | "read_write" | "invoke";
|
|
625
736
|
instructions?: string;
|
|
737
|
+
readonly verified?: boolean;
|
|
626
738
|
enabled?: boolean;
|
|
627
739
|
} | {
|
|
628
740
|
type: "search" | "browser";
|
|
741
|
+
readonly verified?: boolean;
|
|
629
742
|
enabled?: boolean;
|
|
630
743
|
}>;
|
|
631
744
|
kind: "personal" | "service";
|
|
632
745
|
computer_id?: string;
|
|
633
746
|
subagent_model?: string | null;
|
|
747
|
+
image_model?: string | null;
|
|
634
748
|
subagents?: Array<{
|
|
635
749
|
name: string;
|
|
636
750
|
description: string;
|
|
@@ -740,6 +854,64 @@ export declare function createAgent(transport: Transport): {
|
|
|
740
854
|
vault_ids?: Array<string>;
|
|
741
855
|
status: "active" | "archived";
|
|
742
856
|
}>;
|
|
857
|
+
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
858
|
+
agent?: {
|
|
859
|
+
name?: string;
|
|
860
|
+
avatar?: string;
|
|
861
|
+
};
|
|
862
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
863
|
+
launcher?: {
|
|
864
|
+
type: "none" | "bubble" | "mascot";
|
|
865
|
+
pack?: {
|
|
866
|
+
preset?: "mint" | "cat" | "bot";
|
|
867
|
+
images?: {
|
|
868
|
+
idle: string;
|
|
869
|
+
greet?: string;
|
|
870
|
+
listening?: string;
|
|
871
|
+
thinking?: string;
|
|
872
|
+
talking?: string;
|
|
873
|
+
"talking-2"?: string;
|
|
874
|
+
sorry?: string;
|
|
875
|
+
sleep?: string;
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
image?: string;
|
|
879
|
+
motion?: "float" | "none";
|
|
880
|
+
position?: "bottom-right" | "bottom-left";
|
|
881
|
+
label?: string;
|
|
882
|
+
};
|
|
883
|
+
header?: {
|
|
884
|
+
title?: string;
|
|
885
|
+
subtitle?: string;
|
|
886
|
+
icon?: string;
|
|
887
|
+
};
|
|
888
|
+
theme?: {
|
|
889
|
+
colorScheme?: "light" | "dark" | "system";
|
|
890
|
+
accent?: string;
|
|
891
|
+
surface?: string;
|
|
892
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
893
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
894
|
+
density?: "compact" | "normal" | "spacious";
|
|
895
|
+
fontFamily?: string;
|
|
896
|
+
fontSize?: number;
|
|
897
|
+
};
|
|
898
|
+
locale?: "zh" | "en";
|
|
899
|
+
startScreen?: {
|
|
900
|
+
greeting?: string;
|
|
901
|
+
prompts?: Array<{
|
|
902
|
+
label: string;
|
|
903
|
+
prompt: string;
|
|
904
|
+
}>;
|
|
905
|
+
};
|
|
906
|
+
composer?: {
|
|
907
|
+
placeholder?: string;
|
|
908
|
+
};
|
|
909
|
+
disclaimer?: string;
|
|
910
|
+
footer?: string;
|
|
911
|
+
history?: {
|
|
912
|
+
enabled?: boolean;
|
|
913
|
+
};
|
|
914
|
+
}>;
|
|
743
915
|
unarchive: {
|
|
744
916
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
745
917
|
id: string;
|
|
@@ -982,14 +1154,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
982
1154
|
id: string;
|
|
983
1155
|
access: "read_only" | "read_write" | "invoke";
|
|
984
1156
|
instructions?: string;
|
|
1157
|
+
readonly verified?: boolean;
|
|
985
1158
|
enabled?: boolean;
|
|
986
1159
|
} | {
|
|
987
1160
|
type: "search" | "browser";
|
|
1161
|
+
readonly verified?: boolean;
|
|
988
1162
|
enabled?: boolean;
|
|
989
1163
|
}>;
|
|
990
1164
|
kind: "personal" | "service";
|
|
991
1165
|
computer_id?: string;
|
|
992
1166
|
subagent_model?: string | null;
|
|
1167
|
+
image_model?: string | null;
|
|
993
1168
|
subagents?: Array<{
|
|
994
1169
|
name: string;
|
|
995
1170
|
description: string;
|
|
@@ -1139,14 +1314,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1139
1314
|
id: string;
|
|
1140
1315
|
access: "read_only" | "read_write" | "invoke";
|
|
1141
1316
|
instructions?: string;
|
|
1317
|
+
readonly verified?: boolean;
|
|
1142
1318
|
enabled?: boolean;
|
|
1143
1319
|
} | {
|
|
1144
1320
|
type: "search" | "browser";
|
|
1321
|
+
readonly verified?: boolean;
|
|
1145
1322
|
enabled?: boolean;
|
|
1146
1323
|
}>;
|
|
1147
1324
|
kind: "personal" | "service";
|
|
1148
1325
|
computer_id?: string;
|
|
1149
1326
|
subagent_model?: string | null;
|
|
1327
|
+
image_model?: string | null;
|
|
1150
1328
|
subagents?: Array<{
|
|
1151
1329
|
name: string;
|
|
1152
1330
|
description: string;
|
|
@@ -1498,14 +1676,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1498
1676
|
id: string;
|
|
1499
1677
|
access: "read_only" | "read_write" | "invoke";
|
|
1500
1678
|
instructions?: string;
|
|
1679
|
+
readonly verified?: boolean;
|
|
1501
1680
|
enabled?: boolean;
|
|
1502
1681
|
} | {
|
|
1503
1682
|
type: "search" | "browser";
|
|
1683
|
+
readonly verified?: boolean;
|
|
1504
1684
|
enabled?: boolean;
|
|
1505
1685
|
}>;
|
|
1506
1686
|
kind: "personal" | "service";
|
|
1507
1687
|
computer_id?: string;
|
|
1508
1688
|
subagent_model?: string | null;
|
|
1689
|
+
image_model?: string | null;
|
|
1509
1690
|
subagents?: Array<{
|
|
1510
1691
|
name: string;
|
|
1511
1692
|
description: string;
|
|
@@ -1656,14 +1837,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1656
1837
|
id: string;
|
|
1657
1838
|
access: "read_only" | "read_write" | "invoke";
|
|
1658
1839
|
instructions?: string;
|
|
1840
|
+
readonly verified?: boolean;
|
|
1659
1841
|
enabled?: boolean;
|
|
1660
1842
|
} | {
|
|
1661
1843
|
type: "search" | "browser";
|
|
1844
|
+
readonly verified?: boolean;
|
|
1662
1845
|
enabled?: boolean;
|
|
1663
1846
|
}>;
|
|
1664
1847
|
kind: "personal" | "service";
|
|
1665
1848
|
computer_id?: string;
|
|
1666
1849
|
subagent_model?: string | null;
|
|
1850
|
+
image_model?: string | null;
|
|
1667
1851
|
subagents?: Array<{
|
|
1668
1852
|
name: string;
|
|
1669
1853
|
description: string;
|
|
@@ -3213,6 +3397,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3213
3397
|
web_fetch_requests?: number;
|
|
3214
3398
|
web_search_requests?: number;
|
|
3215
3399
|
};
|
|
3400
|
+
runtime_cost?: {
|
|
3401
|
+
amount: string;
|
|
3402
|
+
currency: "USD";
|
|
3403
|
+
};
|
|
3216
3404
|
};
|
|
3217
3405
|
vault_ids: Array<string>;
|
|
3218
3406
|
deployment_id?: null | string;
|
|
@@ -20,6 +20,19 @@ export function createAgent(transport) {
|
|
|
20
20
|
create: bind(transport, sdk.createCustomerGrantCode),
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
|
+
block: {
|
|
24
|
+
create: bind(transport, sdk.blockCustomer),
|
|
25
|
+
},
|
|
26
|
+
delete: bind(transport, sdk.deleteCustomer),
|
|
27
|
+
list: bind(transport, sdk.listCustomers),
|
|
28
|
+
retrieve: bind(transport, sdk.getCustomer),
|
|
29
|
+
retrieveDeletion: bind(transport, sdk.getCustomerDeletion),
|
|
30
|
+
revokeTokens: {
|
|
31
|
+
create: bind(transport, sdk.revokeCustomerTokens),
|
|
32
|
+
},
|
|
33
|
+
unblock: {
|
|
34
|
+
create: bind(transport, sdk.unblockCustomer),
|
|
35
|
+
},
|
|
23
36
|
},
|
|
24
37
|
endUsers: {
|
|
25
38
|
block: {
|
|
@@ -38,6 +51,7 @@ export function createAgent(transport) {
|
|
|
38
51
|
},
|
|
39
52
|
list: bind(transport, sdk.agentsList),
|
|
40
53
|
retrieve: bind(transport, sdk.agentsRetrieve),
|
|
54
|
+
retrieveAppearance: bind(transport, sdk.getAgentAppearance),
|
|
41
55
|
unarchive: {
|
|
42
56
|
create: bind(transport, sdk.unarchiveAgent),
|
|
43
57
|
},
|