@deepraxis/sdk 0.1.1-dev.9beb33a → 0.1.1-dev.a766ddd
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 +1708 -2764
- 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 +14 -331
- package/dist/operations.generated.js +15 -394
- package/dist/resources.generated.d.ts +74 -418
- package/dist/resources.generated.js +0 -31
- package/package.json +1 -1
|
@@ -449,90 +449,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
449
449
|
}>;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
|
-
endUsers: {
|
|
453
|
-
block: {
|
|
454
|
-
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
455
|
-
external_user_id: string;
|
|
456
|
-
first_seen_at: string | null;
|
|
457
|
-
last_active_at: string | null;
|
|
458
|
-
session_count: number;
|
|
459
|
-
cost: {
|
|
460
|
-
amount: string;
|
|
461
|
-
currency: "USD";
|
|
462
|
-
};
|
|
463
|
-
blocked: boolean;
|
|
464
|
-
}>;
|
|
465
|
-
};
|
|
466
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
|
|
467
|
-
id: string;
|
|
468
|
-
status: "pending";
|
|
469
|
-
}>;
|
|
470
|
-
list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
|
|
471
|
-
data: Array<{
|
|
472
|
-
external_user_id: string;
|
|
473
|
-
first_seen_at: string | null;
|
|
474
|
-
last_active_at: string | null;
|
|
475
|
-
session_count: number;
|
|
476
|
-
cost: {
|
|
477
|
-
amount: string;
|
|
478
|
-
currency: "USD";
|
|
479
|
-
};
|
|
480
|
-
blocked: boolean;
|
|
481
|
-
}>;
|
|
482
|
-
next_page: string | null;
|
|
483
|
-
}>;
|
|
484
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
|
|
485
|
-
external_user_id: string;
|
|
486
|
-
first_seen_at: string | null;
|
|
487
|
-
last_active_at: string | null;
|
|
488
|
-
session_count: number;
|
|
489
|
-
cost: {
|
|
490
|
-
amount: string;
|
|
491
|
-
currency: "USD";
|
|
492
|
-
};
|
|
493
|
-
blocked: boolean;
|
|
494
|
-
recent_sessions: Array<{
|
|
495
|
-
id: string;
|
|
496
|
-
title: string | null;
|
|
497
|
-
source: string | null;
|
|
498
|
-
created_at: string;
|
|
499
|
-
updated_at: string;
|
|
500
|
-
}>;
|
|
501
|
-
}>;
|
|
502
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
|
|
503
|
-
id: string;
|
|
504
|
-
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
505
|
-
counts: {
|
|
506
|
-
sessions?: number;
|
|
507
|
-
events?: number;
|
|
508
|
-
messages?: number;
|
|
509
|
-
d1_rows?: number;
|
|
510
|
-
attachments?: number;
|
|
511
|
-
};
|
|
512
|
-
snapshot_key?: string;
|
|
513
|
-
error?: string;
|
|
514
|
-
created_at: string;
|
|
515
|
-
updated_at: string;
|
|
516
|
-
}>;
|
|
517
|
-
revokeTokens: {
|
|
518
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
|
|
519
|
-
revoked: number;
|
|
520
|
-
}>;
|
|
521
|
-
};
|
|
522
|
-
unblock: {
|
|
523
|
-
create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
|
|
524
|
-
external_user_id: string;
|
|
525
|
-
first_seen_at: string | null;
|
|
526
|
-
last_active_at: string | null;
|
|
527
|
-
session_count: number;
|
|
528
|
-
cost: {
|
|
529
|
-
amount: string;
|
|
530
|
-
currency: "USD";
|
|
531
|
-
};
|
|
532
|
-
blocked: boolean;
|
|
533
|
-
}>;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
452
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
537
453
|
data: Array<{
|
|
538
454
|
id: string;
|
|
@@ -719,6 +635,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
719
635
|
type: "agent";
|
|
720
636
|
updated_at: string;
|
|
721
637
|
version: number;
|
|
638
|
+
latest_version?: number;
|
|
722
639
|
active_version: number;
|
|
723
640
|
created_by: {
|
|
724
641
|
type: "user";
|
|
@@ -1139,6 +1056,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1139
1056
|
type: "agent";
|
|
1140
1057
|
updated_at: string;
|
|
1141
1058
|
version: number;
|
|
1059
|
+
latest_version?: number;
|
|
1142
1060
|
active_version: number;
|
|
1143
1061
|
created_by: {
|
|
1144
1062
|
type: "user";
|
|
@@ -1299,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1299
1217
|
type: "agent";
|
|
1300
1218
|
updated_at: string;
|
|
1301
1219
|
version: number;
|
|
1220
|
+
latest_version?: number;
|
|
1302
1221
|
active_version: number;
|
|
1303
1222
|
created_by: {
|
|
1304
1223
|
type: "user";
|
|
@@ -1440,227 +1359,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1440
1359
|
archived_at: null | string;
|
|
1441
1360
|
created_at: string;
|
|
1442
1361
|
description: null | string;
|
|
1443
|
-
mcp_servers: Array<
|
|
1444
|
-
|
|
1445
|
-
name: string;
|
|
1446
|
-
url: string;
|
|
1447
|
-
headers?: {
|
|
1448
|
-
[key: string]: string;
|
|
1449
|
-
};
|
|
1450
|
-
timeout_ms?: number;
|
|
1451
|
-
} | {
|
|
1452
|
-
type: "sse";
|
|
1453
|
-
name: string;
|
|
1454
|
-
url: string;
|
|
1455
|
-
headers?: {
|
|
1456
|
-
[key: string]: string;
|
|
1457
|
-
};
|
|
1458
|
-
timeout_ms?: number;
|
|
1459
|
-
} | {
|
|
1460
|
-
type: "stdio";
|
|
1461
|
-
name: string;
|
|
1462
|
-
command: string;
|
|
1463
|
-
args?: Array<string>;
|
|
1464
|
-
env?: {
|
|
1465
|
-
[key: string]: string;
|
|
1466
|
-
};
|
|
1467
|
-
timeout_ms?: number;
|
|
1468
|
-
}>;
|
|
1469
|
-
metadata: {
|
|
1470
|
-
[key: string]: string;
|
|
1471
|
-
};
|
|
1362
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1363
|
+
metadata: Types.AgentManaged37;
|
|
1472
1364
|
model: {
|
|
1473
1365
|
id: string;
|
|
1474
|
-
effort?:
|
|
1475
|
-
type: "low";
|
|
1476
|
-
} | {
|
|
1477
|
-
type: "medium";
|
|
1478
|
-
} | {
|
|
1479
|
-
type: "high";
|
|
1480
|
-
} | {
|
|
1481
|
-
type: "xhigh";
|
|
1482
|
-
} | {
|
|
1483
|
-
type: "max";
|
|
1484
|
-
};
|
|
1366
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1485
1367
|
inference_geo?: string;
|
|
1486
1368
|
speed?: "standard" | "fast";
|
|
1487
1369
|
settings?: {
|
|
1488
1370
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1489
1371
|
};
|
|
1490
1372
|
};
|
|
1491
|
-
multiagent: null |
|
|
1492
|
-
agents: Array<{
|
|
1493
|
-
id: string;
|
|
1494
|
-
type: "agent";
|
|
1495
|
-
version: number;
|
|
1496
|
-
} | {
|
|
1497
|
-
model: string;
|
|
1498
|
-
type: "advisor";
|
|
1499
|
-
}>;
|
|
1500
|
-
type: "coordinator";
|
|
1501
|
-
};
|
|
1373
|
+
multiagent: null | Types.AgentManaged39;
|
|
1502
1374
|
name: string;
|
|
1503
|
-
skills: Array<
|
|
1504
|
-
skill_id: string;
|
|
1505
|
-
type: "anthropic";
|
|
1506
|
-
version: string;
|
|
1507
|
-
} | {
|
|
1508
|
-
skill_id: string;
|
|
1509
|
-
type: "custom";
|
|
1510
|
-
version: string;
|
|
1511
|
-
}>;
|
|
1375
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1512
1376
|
system: null | string;
|
|
1513
|
-
tools: Array<
|
|
1514
|
-
configs: Array<{
|
|
1515
|
-
enabled: boolean;
|
|
1516
|
-
name: "bash";
|
|
1517
|
-
permission_policy: {
|
|
1518
|
-
type: "always_allow";
|
|
1519
|
-
} | {
|
|
1520
|
-
type: "always_ask";
|
|
1521
|
-
} | {
|
|
1522
|
-
type: "auto";
|
|
1523
|
-
};
|
|
1524
|
-
type: "bash";
|
|
1525
|
-
} | {
|
|
1526
|
-
enabled: boolean;
|
|
1527
|
-
name: "edit";
|
|
1528
|
-
permission_policy: {
|
|
1529
|
-
type: "always_allow";
|
|
1530
|
-
} | {
|
|
1531
|
-
type: "always_ask";
|
|
1532
|
-
} | {
|
|
1533
|
-
type: "auto";
|
|
1534
|
-
};
|
|
1535
|
-
type: "edit";
|
|
1536
|
-
} | {
|
|
1537
|
-
enabled: boolean;
|
|
1538
|
-
name: "read";
|
|
1539
|
-
permission_policy: {
|
|
1540
|
-
type: "always_allow";
|
|
1541
|
-
} | {
|
|
1542
|
-
type: "always_ask";
|
|
1543
|
-
} | {
|
|
1544
|
-
type: "auto";
|
|
1545
|
-
};
|
|
1546
|
-
type: "read";
|
|
1547
|
-
} | {
|
|
1548
|
-
enabled: boolean;
|
|
1549
|
-
name: "write";
|
|
1550
|
-
permission_policy: {
|
|
1551
|
-
type: "always_allow";
|
|
1552
|
-
} | {
|
|
1553
|
-
type: "always_ask";
|
|
1554
|
-
} | {
|
|
1555
|
-
type: "auto";
|
|
1556
|
-
};
|
|
1557
|
-
type: "write";
|
|
1558
|
-
} | {
|
|
1559
|
-
enabled: boolean;
|
|
1560
|
-
name: "glob";
|
|
1561
|
-
permission_policy: {
|
|
1562
|
-
type: "always_allow";
|
|
1563
|
-
} | {
|
|
1564
|
-
type: "always_ask";
|
|
1565
|
-
} | {
|
|
1566
|
-
type: "auto";
|
|
1567
|
-
};
|
|
1568
|
-
type: "glob";
|
|
1569
|
-
} | {
|
|
1570
|
-
enabled: boolean;
|
|
1571
|
-
name: "grep";
|
|
1572
|
-
permission_policy: {
|
|
1573
|
-
type: "always_allow";
|
|
1574
|
-
} | {
|
|
1575
|
-
type: "always_ask";
|
|
1576
|
-
} | {
|
|
1577
|
-
type: "auto";
|
|
1578
|
-
};
|
|
1579
|
-
type: "grep";
|
|
1580
|
-
} | {
|
|
1581
|
-
enabled: boolean;
|
|
1582
|
-
name: "web_fetch";
|
|
1583
|
-
permission_policy: {
|
|
1584
|
-
type: "always_allow";
|
|
1585
|
-
} | {
|
|
1586
|
-
type: "always_ask";
|
|
1587
|
-
} | {
|
|
1588
|
-
type: "auto";
|
|
1589
|
-
};
|
|
1590
|
-
type: "web_fetch";
|
|
1591
|
-
allowed_domains?: Array<string>;
|
|
1592
|
-
blocked_domains?: Array<string>;
|
|
1593
|
-
max_content_tokens?: null | number;
|
|
1594
|
-
} | {
|
|
1595
|
-
enabled: boolean;
|
|
1596
|
-
name: "web_search";
|
|
1597
|
-
permission_policy: {
|
|
1598
|
-
type: "always_allow";
|
|
1599
|
-
} | {
|
|
1600
|
-
type: "always_ask";
|
|
1601
|
-
} | {
|
|
1602
|
-
type: "auto";
|
|
1603
|
-
};
|
|
1604
|
-
type: "web_search";
|
|
1605
|
-
allowed_domains?: Array<string>;
|
|
1606
|
-
blocked_domains?: Array<string>;
|
|
1607
|
-
user_location?: null | {
|
|
1608
|
-
type: "approximate";
|
|
1609
|
-
city?: null | string;
|
|
1610
|
-
country?: null | string;
|
|
1611
|
-
region?: null | string;
|
|
1612
|
-
timezone?: null | string;
|
|
1613
|
-
};
|
|
1614
|
-
} | {
|
|
1615
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1616
|
-
enabled: boolean;
|
|
1617
|
-
permission_policy: {
|
|
1618
|
-
type: "always_allow" | "always_ask";
|
|
1619
|
-
};
|
|
1620
|
-
}>;
|
|
1621
|
-
default_config: {
|
|
1622
|
-
enabled: boolean;
|
|
1623
|
-
permission_policy: {
|
|
1624
|
-
type: "always_allow";
|
|
1625
|
-
} | {
|
|
1626
|
-
type: "always_ask";
|
|
1627
|
-
} | {
|
|
1628
|
-
type: "auto";
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
|
-
type: "agent_toolset_20260401";
|
|
1632
|
-
} | {
|
|
1633
|
-
type: "mcp_toolset";
|
|
1634
|
-
mcp_server_name: string;
|
|
1635
|
-
default_config?: {
|
|
1636
|
-
enabled?: boolean | null;
|
|
1637
|
-
permission_policy?: null | {
|
|
1638
|
-
type: "always_allow" | "always_ask";
|
|
1639
|
-
};
|
|
1640
|
-
} | null;
|
|
1641
|
-
configs?: Array<{
|
|
1642
|
-
name: string;
|
|
1643
|
-
enabled?: boolean | null;
|
|
1644
|
-
permission_policy?: null | {
|
|
1645
|
-
type: "always_allow" | "always_ask";
|
|
1646
|
-
};
|
|
1647
|
-
}> | null;
|
|
1648
|
-
} | {
|
|
1649
|
-
description: string;
|
|
1650
|
-
input_schema: {
|
|
1651
|
-
type: "object";
|
|
1652
|
-
properties?: null | {
|
|
1653
|
-
[key: string]: unknown;
|
|
1654
|
-
};
|
|
1655
|
-
required?: null | Array<string>;
|
|
1656
|
-
[key: string]: unknown;
|
|
1657
|
-
};
|
|
1658
|
-
name: string;
|
|
1659
|
-
type: "custom";
|
|
1660
|
-
}>;
|
|
1377
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1661
1378
|
type: "agent";
|
|
1662
1379
|
updated_at: string;
|
|
1663
1380
|
version: number;
|
|
1381
|
+
latest_version?: number;
|
|
1664
1382
|
active_version: number;
|
|
1665
1383
|
created_by: {
|
|
1666
1384
|
type: "user";
|
|
@@ -2101,7 +1819,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2101
1819
|
} | {
|
|
2102
1820
|
id: string;
|
|
2103
1821
|
type: "agent_with_overrides";
|
|
2104
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1822
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2105
1823
|
cwd?: string;
|
|
2106
1824
|
model?: string | {
|
|
2107
1825
|
id: string;
|
|
@@ -2138,7 +1856,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2138
1856
|
} | {
|
|
2139
1857
|
id: string;
|
|
2140
1858
|
type: "agent_with_overrides";
|
|
2141
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1859
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2142
1860
|
cwd?: string;
|
|
2143
1861
|
model?: string | {
|
|
2144
1862
|
id: string;
|
|
@@ -2176,7 +1894,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2176
1894
|
} | {
|
|
2177
1895
|
id: string;
|
|
2178
1896
|
type: "agent_with_overrides";
|
|
2179
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1897
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2180
1898
|
cwd?: string;
|
|
2181
1899
|
model?: string | {
|
|
2182
1900
|
id: string;
|
|
@@ -2215,7 +1933,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2215
1933
|
} | {
|
|
2216
1934
|
id: string;
|
|
2217
1935
|
type: "agent_with_overrides";
|
|
2218
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1936
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2219
1937
|
cwd?: string;
|
|
2220
1938
|
model?: string | {
|
|
2221
1939
|
id: string;
|
|
@@ -2252,7 +1970,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2252
1970
|
} | {
|
|
2253
1971
|
id: string;
|
|
2254
1972
|
type: "agent_with_overrides";
|
|
2255
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1973
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2256
1974
|
cwd?: string;
|
|
2257
1975
|
model?: string | {
|
|
2258
1976
|
id: string;
|
|
@@ -2293,7 +2011,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2293
2011
|
} | {
|
|
2294
2012
|
id: string;
|
|
2295
2013
|
type: "agent_with_overrides";
|
|
2296
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2014
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2297
2015
|
cwd?: string;
|
|
2298
2016
|
model?: string | {
|
|
2299
2017
|
id: string;
|
|
@@ -2331,7 +2049,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2331
2049
|
} | {
|
|
2332
2050
|
id: string;
|
|
2333
2051
|
type: "agent_with_overrides";
|
|
2334
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2052
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2335
2053
|
cwd?: string;
|
|
2336
2054
|
model?: string | {
|
|
2337
2055
|
id: string;
|
|
@@ -2360,122 +2078,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2360
2078
|
};
|
|
2361
2079
|
}>;
|
|
2362
2080
|
};
|
|
2363
|
-
embed: {
|
|
2364
|
-
exchange: {
|
|
2365
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2366
|
-
token: string;
|
|
2367
|
-
expires_at: string;
|
|
2368
|
-
}>;
|
|
2369
|
-
};
|
|
2370
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2371
|
-
agent?: {
|
|
2372
|
-
name?: string;
|
|
2373
|
-
avatar?: string;
|
|
2374
|
-
};
|
|
2375
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2376
|
-
launcher?: {
|
|
2377
|
-
type: "none" | "bubble" | "mascot";
|
|
2378
|
-
pack?: {
|
|
2379
|
-
preset?: "mint" | "cat" | "bot";
|
|
2380
|
-
images?: {
|
|
2381
|
-
idle: string;
|
|
2382
|
-
greet?: string;
|
|
2383
|
-
listening?: string;
|
|
2384
|
-
thinking?: string;
|
|
2385
|
-
talking?: string;
|
|
2386
|
-
"talking-2"?: string;
|
|
2387
|
-
sorry?: string;
|
|
2388
|
-
sleep?: string;
|
|
2389
|
-
};
|
|
2390
|
-
};
|
|
2391
|
-
image?: string;
|
|
2392
|
-
motion?: "float" | "none";
|
|
2393
|
-
position?: "bottom-right" | "bottom-left";
|
|
2394
|
-
label?: string;
|
|
2395
|
-
};
|
|
2396
|
-
header?: {
|
|
2397
|
-
title?: string;
|
|
2398
|
-
subtitle?: string;
|
|
2399
|
-
icon?: string;
|
|
2400
|
-
};
|
|
2401
|
-
theme?: {
|
|
2402
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2403
|
-
accent?: string;
|
|
2404
|
-
surface?: string;
|
|
2405
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2406
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2407
|
-
density?: "compact" | "normal" | "spacious";
|
|
2408
|
-
fontFamily?: string;
|
|
2409
|
-
fontSize?: number;
|
|
2410
|
-
};
|
|
2411
|
-
locale?: "zh" | "en";
|
|
2412
|
-
startScreen?: {
|
|
2413
|
-
greeting?: string;
|
|
2414
|
-
prompts?: Array<{
|
|
2415
|
-
label: string;
|
|
2416
|
-
prompt: string;
|
|
2417
|
-
}>;
|
|
2418
|
-
};
|
|
2419
|
-
composer?: {
|
|
2420
|
-
placeholder?: string;
|
|
2421
|
-
};
|
|
2422
|
-
disclaimer?: string;
|
|
2423
|
-
footer?: string;
|
|
2424
|
-
history?: {
|
|
2425
|
-
enabled?: boolean;
|
|
2426
|
-
};
|
|
2427
|
-
}>;
|
|
2428
|
-
};
|
|
2429
|
-
embedTokens: {
|
|
2430
|
-
anonymous: {
|
|
2431
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2432
|
-
token: string;
|
|
2433
|
-
expires_at: string;
|
|
2434
|
-
visitor_secret?: string;
|
|
2435
|
-
}>;
|
|
2436
|
-
};
|
|
2437
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2438
|
-
hosted_url?: string;
|
|
2439
|
-
id: string;
|
|
2440
|
-
token: string;
|
|
2441
|
-
expires_at: string;
|
|
2442
|
-
}>;
|
|
2443
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2444
|
-
data: Array<{
|
|
2445
|
-
id: string;
|
|
2446
|
-
type: "embed_token";
|
|
2447
|
-
agent_id: string;
|
|
2448
|
-
agent_version: number;
|
|
2449
|
-
external_user_id: string;
|
|
2450
|
-
created_at: string;
|
|
2451
|
-
expires_at: string;
|
|
2452
|
-
revoked_at: string | null;
|
|
2453
|
-
host_origin: string | null;
|
|
2454
|
-
issued_by: {
|
|
2455
|
-
type: "user" | "api_key";
|
|
2456
|
-
id: string;
|
|
2457
|
-
};
|
|
2458
|
-
}>;
|
|
2459
|
-
next_page: string | null;
|
|
2460
|
-
}>;
|
|
2461
|
-
revoke: {
|
|
2462
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2463
|
-
id: string;
|
|
2464
|
-
type: "embed_token";
|
|
2465
|
-
agent_id: string;
|
|
2466
|
-
agent_version: number;
|
|
2467
|
-
external_user_id: string;
|
|
2468
|
-
created_at: string;
|
|
2469
|
-
expires_at: string;
|
|
2470
|
-
revoked_at: string | null;
|
|
2471
|
-
host_origin: string | null;
|
|
2472
|
-
issued_by: {
|
|
2473
|
-
type: "user" | "api_key";
|
|
2474
|
-
id: string;
|
|
2475
|
-
};
|
|
2476
|
-
}>;
|
|
2477
|
-
};
|
|
2478
|
-
};
|
|
2479
2081
|
environments: {
|
|
2480
2082
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2481
2083
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2707,6 +2309,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2707
2309
|
run_id: string | null;
|
|
2708
2310
|
message_id?: string;
|
|
2709
2311
|
} | {
|
|
2312
|
+
full_access_available?: boolean;
|
|
2710
2313
|
id: string;
|
|
2711
2314
|
input: Types.AgentManaged197;
|
|
2712
2315
|
mcp_server_name: string;
|
|
@@ -2729,6 +2332,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2729
2332
|
};
|
|
2730
2333
|
source?: "app" | "codemode";
|
|
2731
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
|
+
}>;
|
|
2732
2346
|
title?: string;
|
|
2733
2347
|
input_titles?: {
|
|
2734
2348
|
[key: string]: string;
|
|
@@ -2747,6 +2361,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2747
2361
|
};
|
|
2748
2362
|
source?: "app" | "codemode";
|
|
2749
2363
|
} | {
|
|
2364
|
+
full_access_available?: boolean;
|
|
2750
2365
|
id: string;
|
|
2751
2366
|
input: Types.AgentManaged206;
|
|
2752
2367
|
name: string;
|
|
@@ -2756,6 +2371,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2756
2371
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2757
2372
|
session_thread_id?: null | string;
|
|
2758
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
|
+
}>;
|
|
2759
2385
|
} | {
|
|
2760
2386
|
id: string;
|
|
2761
2387
|
processed_at: string;
|
|
@@ -2776,6 +2402,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2776
2402
|
type: "session.status_idle";
|
|
2777
2403
|
run_id: string | null;
|
|
2778
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;
|
|
2779
2408
|
id: string;
|
|
2780
2409
|
processed_at: string;
|
|
2781
2410
|
type: "session.updated";
|
|
@@ -3397,10 +3026,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3397
3026
|
web_fetch_requests?: number;
|
|
3398
3027
|
web_search_requests?: number;
|
|
3399
3028
|
};
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
currency: "USD";
|
|
3029
|
+
cost_by_product?: {
|
|
3030
|
+
[key: string]: string;
|
|
3403
3031
|
};
|
|
3032
|
+
subagent_cost_micro_usd?: number;
|
|
3404
3033
|
};
|
|
3405
3034
|
vault_ids: Array<string>;
|
|
3406
3035
|
deployment_id?: null | string;
|
|
@@ -3687,6 +3316,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3687
3316
|
run_id: string | null;
|
|
3688
3317
|
message_id?: string;
|
|
3689
3318
|
} | {
|
|
3319
|
+
full_access_available?: boolean;
|
|
3690
3320
|
id: string;
|
|
3691
3321
|
input: Types.AgentManaged197;
|
|
3692
3322
|
mcp_server_name: string;
|
|
@@ -3709,6 +3339,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3709
3339
|
};
|
|
3710
3340
|
};
|
|
3711
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
|
+
}>;
|
|
3712
3353
|
title?: string;
|
|
3713
3354
|
input_titles?: {
|
|
3714
3355
|
[key: string]: string;
|
|
@@ -3727,6 +3368,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3727
3368
|
};
|
|
3728
3369
|
source?: "app" | "codemode";
|
|
3729
3370
|
} | {
|
|
3371
|
+
full_access_available?: boolean;
|
|
3730
3372
|
id: string;
|
|
3731
3373
|
input: Types.AgentManaged206;
|
|
3732
3374
|
name: string;
|
|
@@ -3736,6 +3378,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3736
3378
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3737
3379
|
session_thread_id?: null | string;
|
|
3738
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
|
+
}>;
|
|
3739
3392
|
} | {
|
|
3740
3393
|
id: string;
|
|
3741
3394
|
processed_at: string;
|
|
@@ -3756,6 +3409,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3756
3409
|
type: "session.status_idle";
|
|
3757
3410
|
run_id: string | null;
|
|
3758
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;
|
|
3759
3415
|
id: string;
|
|
3760
3416
|
processed_at: string;
|
|
3761
3417
|
type: "session.updated";
|