@deepraxis/sdk 0.1.1-dev.54635ff → 0.1.1-dev.61eb886
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 +1 -59
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +6 -108
- package/dist/generated/sdk.gen.js +5 -253
- package/dist/generated/types.gen.d.ts +1797 -2773
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +15 -332
- package/dist/operations.generated.js +16 -395
- package/dist/resources.generated.d.ts +90 -418
- package/dist/resources.generated.js +0 -31
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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>;
|
|
@@ -2691,6 +2309,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2691
2309
|
run_id: string | null;
|
|
2692
2310
|
message_id?: string;
|
|
2693
2311
|
} | {
|
|
2312
|
+
full_access_available?: boolean;
|
|
2694
2313
|
id: string;
|
|
2695
2314
|
input: Types.AgentManaged197;
|
|
2696
2315
|
mcp_server_name: string;
|
|
@@ -2713,6 +2332,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2713
2332
|
};
|
|
2714
2333
|
source?: "app" | "codemode";
|
|
2715
2334
|
parent_tool_use_id?: string;
|
|
2335
|
+
user_once?: true;
|
|
2336
|
+
guarded_rule?: string;
|
|
2337
|
+
permission_suggestions?: Array<{
|
|
2338
|
+
type: "add_rules";
|
|
2339
|
+
behavior: "allow";
|
|
2340
|
+
destination: "agent" | "session";
|
|
2341
|
+
rules: Array<{
|
|
2342
|
+
tool_name: string;
|
|
2343
|
+
rule_content: string;
|
|
2344
|
+
}>;
|
|
2345
|
+
}>;
|
|
2716
2346
|
title?: string;
|
|
2717
2347
|
input_titles?: {
|
|
2718
2348
|
[key: string]: string;
|
|
@@ -2731,6 +2361,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2731
2361
|
};
|
|
2732
2362
|
source?: "app" | "codemode";
|
|
2733
2363
|
} | {
|
|
2364
|
+
full_access_available?: boolean;
|
|
2734
2365
|
id: string;
|
|
2735
2366
|
input: Types.AgentManaged206;
|
|
2736
2367
|
name: string;
|
|
@@ -2740,6 +2371,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2371
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2741
2372
|
session_thread_id?: null | string;
|
|
2742
2373
|
run_id: string | null;
|
|
2374
|
+
user_once?: true;
|
|
2375
|
+
guarded_rule?: string;
|
|
2376
|
+
permission_suggestions?: Array<{
|
|
2377
|
+
type: "add_rules";
|
|
2378
|
+
behavior: "allow";
|
|
2379
|
+
destination: "agent" | "session";
|
|
2380
|
+
rules: Array<{
|
|
2381
|
+
tool_name: string;
|
|
2382
|
+
rule_content: string;
|
|
2383
|
+
}>;
|
|
2384
|
+
}>;
|
|
2743
2385
|
} | {
|
|
2744
2386
|
id: string;
|
|
2745
2387
|
processed_at: string;
|
|
@@ -2760,6 +2402,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2760
2402
|
type: "session.status_idle";
|
|
2761
2403
|
run_id: string | null;
|
|
2762
2404
|
} | 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 | {
|
|
2405
|
+
permission_mode_version?: number;
|
|
2406
|
+
previous_permission_mode?: string | null;
|
|
2407
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2763
2408
|
id: string;
|
|
2764
2409
|
processed_at: string;
|
|
2765
2410
|
type: "session.updated";
|
|
@@ -3381,10 +3026,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3381
3026
|
web_fetch_requests?: number;
|
|
3382
3027
|
web_search_requests?: number;
|
|
3383
3028
|
};
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
currency: "USD";
|
|
3029
|
+
cost_by_product?: {
|
|
3030
|
+
[key: string]: string;
|
|
3387
3031
|
};
|
|
3032
|
+
subagent_cost_micro_usd?: number;
|
|
3388
3033
|
};
|
|
3389
3034
|
vault_ids: Array<string>;
|
|
3390
3035
|
deployment_id?: null | string;
|
|
@@ -3671,6 +3316,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3671
3316
|
run_id: string | null;
|
|
3672
3317
|
message_id?: string;
|
|
3673
3318
|
} | {
|
|
3319
|
+
full_access_available?: boolean;
|
|
3674
3320
|
id: string;
|
|
3675
3321
|
input: Types.AgentManaged197;
|
|
3676
3322
|
mcp_server_name: string;
|
|
@@ -3693,6 +3339,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3693
3339
|
};
|
|
3694
3340
|
};
|
|
3695
3341
|
source?: "app" | "codemode";
|
|
3342
|
+
user_once?: true;
|
|
3343
|
+
guarded_rule?: string;
|
|
3344
|
+
permission_suggestions?: Array<{
|
|
3345
|
+
type: "add_rules";
|
|
3346
|
+
behavior: "allow";
|
|
3347
|
+
destination: "agent" | "session";
|
|
3348
|
+
rules: Array<{
|
|
3349
|
+
tool_name: string;
|
|
3350
|
+
rule_content: string;
|
|
3351
|
+
}>;
|
|
3352
|
+
}>;
|
|
3696
3353
|
title?: string;
|
|
3697
3354
|
input_titles?: {
|
|
3698
3355
|
[key: string]: string;
|
|
@@ -3711,6 +3368,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3711
3368
|
};
|
|
3712
3369
|
source?: "app" | "codemode";
|
|
3713
3370
|
} | {
|
|
3371
|
+
full_access_available?: boolean;
|
|
3714
3372
|
id: string;
|
|
3715
3373
|
input: Types.AgentManaged206;
|
|
3716
3374
|
name: string;
|
|
@@ -3720,6 +3378,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3720
3378
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3721
3379
|
session_thread_id?: null | string;
|
|
3722
3380
|
run_id: string | null;
|
|
3381
|
+
user_once?: true;
|
|
3382
|
+
guarded_rule?: string;
|
|
3383
|
+
permission_suggestions?: Array<{
|
|
3384
|
+
type: "add_rules";
|
|
3385
|
+
behavior: "allow";
|
|
3386
|
+
destination: "agent" | "session";
|
|
3387
|
+
rules: Array<{
|
|
3388
|
+
tool_name: string;
|
|
3389
|
+
rule_content: string;
|
|
3390
|
+
}>;
|
|
3391
|
+
}>;
|
|
3723
3392
|
} | {
|
|
3724
3393
|
id: string;
|
|
3725
3394
|
processed_at: string;
|
|
@@ -3740,6 +3409,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3740
3409
|
type: "session.status_idle";
|
|
3741
3410
|
run_id: string | null;
|
|
3742
3411
|
} | 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 | {
|
|
3412
|
+
permission_mode_version?: number;
|
|
3413
|
+
previous_permission_mode?: string | null;
|
|
3414
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3743
3415
|
id: string;
|
|
3744
3416
|
processed_at: string;
|
|
3745
3417
|
type: "session.updated";
|