@deepraxis/sdk 0.1.1-dev.1538445 → 0.1.1-dev.39dae15

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.
@@ -635,6 +635,7 @@ export declare function createAgent(transport: Transport): {
635
635
  type: "agent";
636
636
  updated_at: string;
637
637
  version: number;
638
+ latest_version?: number;
638
639
  active_version: number;
639
640
  created_by: {
640
641
  type: "user";
@@ -1055,6 +1056,7 @@ export declare function createAgent(transport: Transport): {
1055
1056
  type: "agent";
1056
1057
  updated_at: string;
1057
1058
  version: number;
1059
+ latest_version?: number;
1058
1060
  active_version: number;
1059
1061
  created_by: {
1060
1062
  type: "user";
@@ -1215,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
1215
1217
  type: "agent";
1216
1218
  updated_at: string;
1217
1219
  version: number;
1220
+ latest_version?: number;
1218
1221
  active_version: number;
1219
1222
  created_by: {
1220
1223
  type: "user";
@@ -1356,227 +1359,26 @@ export declare function createAgent(transport: Transport): {
1356
1359
  archived_at: null | string;
1357
1360
  created_at: string;
1358
1361
  description: null | string;
1359
- mcp_servers: Array<{
1360
- type: "url";
1361
- name: string;
1362
- url: string;
1363
- headers?: {
1364
- [key: string]: string;
1365
- };
1366
- timeout_ms?: number;
1367
- } | {
1368
- type: "sse";
1369
- name: string;
1370
- url: string;
1371
- headers?: {
1372
- [key: string]: string;
1373
- };
1374
- timeout_ms?: number;
1375
- } | {
1376
- type: "stdio";
1377
- name: string;
1378
- command: string;
1379
- args?: Array<string>;
1380
- env?: {
1381
- [key: string]: string;
1382
- };
1383
- timeout_ms?: number;
1384
- }>;
1385
- metadata: {
1386
- [key: string]: string;
1387
- };
1362
+ mcp_servers: Array<Types.AgentManaged36>;
1363
+ metadata: Types.AgentManaged37;
1388
1364
  model: {
1389
1365
  id: string;
1390
- effort?: {
1391
- type: "low";
1392
- } | {
1393
- type: "medium";
1394
- } | {
1395
- type: "high";
1396
- } | {
1397
- type: "xhigh";
1398
- } | {
1399
- type: "max";
1400
- };
1366
+ effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1401
1367
  inference_geo?: string;
1402
1368
  speed?: "standard" | "fast";
1403
1369
  settings?: {
1404
1370
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1405
1371
  };
1406
1372
  };
1407
- multiagent: null | {
1408
- agents: Array<{
1409
- id: string;
1410
- type: "agent";
1411
- version: number;
1412
- } | {
1413
- model: string;
1414
- type: "advisor";
1415
- }>;
1416
- type: "coordinator";
1417
- };
1373
+ multiagent: null | Types.AgentManaged39;
1418
1374
  name: string;
1419
- skills: Array<{
1420
- skill_id: string;
1421
- type: "anthropic";
1422
- version: string;
1423
- } | {
1424
- skill_id: string;
1425
- type: "custom";
1426
- version: string;
1427
- }>;
1375
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1428
1376
  system: null | string;
1429
- tools: Array<{
1430
- configs: Array<{
1431
- enabled: boolean;
1432
- name: "bash";
1433
- permission_policy: {
1434
- type: "always_allow";
1435
- } | {
1436
- type: "always_ask";
1437
- } | {
1438
- type: "auto";
1439
- };
1440
- type: "bash";
1441
- } | {
1442
- enabled: boolean;
1443
- name: "edit";
1444
- permission_policy: {
1445
- type: "always_allow";
1446
- } | {
1447
- type: "always_ask";
1448
- } | {
1449
- type: "auto";
1450
- };
1451
- type: "edit";
1452
- } | {
1453
- enabled: boolean;
1454
- name: "read";
1455
- permission_policy: {
1456
- type: "always_allow";
1457
- } | {
1458
- type: "always_ask";
1459
- } | {
1460
- type: "auto";
1461
- };
1462
- type: "read";
1463
- } | {
1464
- enabled: boolean;
1465
- name: "write";
1466
- permission_policy: {
1467
- type: "always_allow";
1468
- } | {
1469
- type: "always_ask";
1470
- } | {
1471
- type: "auto";
1472
- };
1473
- type: "write";
1474
- } | {
1475
- enabled: boolean;
1476
- name: "glob";
1477
- permission_policy: {
1478
- type: "always_allow";
1479
- } | {
1480
- type: "always_ask";
1481
- } | {
1482
- type: "auto";
1483
- };
1484
- type: "glob";
1485
- } | {
1486
- enabled: boolean;
1487
- name: "grep";
1488
- permission_policy: {
1489
- type: "always_allow";
1490
- } | {
1491
- type: "always_ask";
1492
- } | {
1493
- type: "auto";
1494
- };
1495
- type: "grep";
1496
- } | {
1497
- enabled: boolean;
1498
- name: "web_fetch";
1499
- permission_policy: {
1500
- type: "always_allow";
1501
- } | {
1502
- type: "always_ask";
1503
- } | {
1504
- type: "auto";
1505
- };
1506
- type: "web_fetch";
1507
- allowed_domains?: Array<string>;
1508
- blocked_domains?: Array<string>;
1509
- max_content_tokens?: null | number;
1510
- } | {
1511
- enabled: boolean;
1512
- name: "web_search";
1513
- permission_policy: {
1514
- type: "always_allow";
1515
- } | {
1516
- type: "always_ask";
1517
- } | {
1518
- type: "auto";
1519
- };
1520
- type: "web_search";
1521
- allowed_domains?: Array<string>;
1522
- blocked_domains?: Array<string>;
1523
- user_location?: null | {
1524
- type: "approximate";
1525
- city?: null | string;
1526
- country?: null | string;
1527
- region?: null | string;
1528
- timezone?: null | string;
1529
- };
1530
- } | {
1531
- name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1532
- enabled: boolean;
1533
- permission_policy: {
1534
- type: "always_allow" | "always_ask";
1535
- };
1536
- }>;
1537
- default_config: {
1538
- enabled: boolean;
1539
- permission_policy: {
1540
- type: "always_allow";
1541
- } | {
1542
- type: "always_ask";
1543
- } | {
1544
- type: "auto";
1545
- };
1546
- };
1547
- type: "agent_toolset_20260401";
1548
- } | {
1549
- type: "mcp_toolset";
1550
- mcp_server_name: string;
1551
- default_config?: {
1552
- enabled?: boolean | null;
1553
- permission_policy?: null | {
1554
- type: "always_allow" | "always_ask";
1555
- };
1556
- } | null;
1557
- configs?: Array<{
1558
- name: string;
1559
- enabled?: boolean | null;
1560
- permission_policy?: null | {
1561
- type: "always_allow" | "always_ask";
1562
- };
1563
- }> | null;
1564
- } | {
1565
- description: string;
1566
- input_schema: {
1567
- type: "object";
1568
- properties?: null | {
1569
- [key: string]: unknown;
1570
- };
1571
- required?: null | Array<string>;
1572
- [key: string]: unknown;
1573
- };
1574
- name: string;
1575
- type: "custom";
1576
- }>;
1377
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1577
1378
  type: "agent";
1578
1379
  updated_at: string;
1579
1380
  version: number;
1381
+ latest_version?: number;
1580
1382
  active_version: number;
1581
1383
  created_by: {
1582
1384
  type: "user";
@@ -2017,7 +1819,7 @@ export declare function createAgent(transport: Transport): {
2017
1819
  } | {
2018
1820
  id: string;
2019
1821
  type: "agent_with_overrides";
2020
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1822
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2021
1823
  cwd?: string;
2022
1824
  model?: string | {
2023
1825
  id: string;
@@ -2054,7 +1856,7 @@ export declare function createAgent(transport: Transport): {
2054
1856
  } | {
2055
1857
  id: string;
2056
1858
  type: "agent_with_overrides";
2057
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1859
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2058
1860
  cwd?: string;
2059
1861
  model?: string | {
2060
1862
  id: string;
@@ -2092,7 +1894,7 @@ export declare function createAgent(transport: Transport): {
2092
1894
  } | {
2093
1895
  id: string;
2094
1896
  type: "agent_with_overrides";
2095
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1897
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2096
1898
  cwd?: string;
2097
1899
  model?: string | {
2098
1900
  id: string;
@@ -2131,7 +1933,7 @@ export declare function createAgent(transport: Transport): {
2131
1933
  } | {
2132
1934
  id: string;
2133
1935
  type: "agent_with_overrides";
2134
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1936
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2135
1937
  cwd?: string;
2136
1938
  model?: string | {
2137
1939
  id: string;
@@ -2168,7 +1970,7 @@ export declare function createAgent(transport: Transport): {
2168
1970
  } | {
2169
1971
  id: string;
2170
1972
  type: "agent_with_overrides";
2171
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
1973
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2172
1974
  cwd?: string;
2173
1975
  model?: string | {
2174
1976
  id: string;
@@ -2209,7 +2011,7 @@ export declare function createAgent(transport: Transport): {
2209
2011
  } | {
2210
2012
  id: string;
2211
2013
  type: "agent_with_overrides";
2212
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2014
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2213
2015
  cwd?: string;
2214
2016
  model?: string | {
2215
2017
  id: string;
@@ -2247,7 +2049,7 @@ export declare function createAgent(transport: Transport): {
2247
2049
  } | {
2248
2050
  id: string;
2249
2051
  type: "agent_with_overrides";
2250
- permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
2052
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2251
2053
  cwd?: string;
2252
2054
  model?: string | {
2253
2055
  id: string;
@@ -2507,6 +2309,7 @@ export declare function createAgent(transport: Transport): {
2507
2309
  run_id: string | null;
2508
2310
  message_id?: string;
2509
2311
  } | {
2312
+ full_access_available?: boolean;
2510
2313
  id: string;
2511
2314
  input: Types.AgentManaged197;
2512
2315
  mcp_server_name: string;
@@ -2529,6 +2332,17 @@ export declare function createAgent(transport: Transport): {
2529
2332
  };
2530
2333
  source?: "app" | "codemode";
2531
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
+ }>;
2532
2346
  title?: string;
2533
2347
  input_titles?: {
2534
2348
  [key: string]: string;
@@ -2547,6 +2361,7 @@ export declare function createAgent(transport: Transport): {
2547
2361
  };
2548
2362
  source?: "app" | "codemode";
2549
2363
  } | {
2364
+ full_access_available?: boolean;
2550
2365
  id: string;
2551
2366
  input: Types.AgentManaged206;
2552
2367
  name: string;
@@ -2556,6 +2371,17 @@ export declare function createAgent(transport: Transport): {
2556
2371
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2557
2372
  session_thread_id?: null | string;
2558
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
+ }>;
2559
2385
  } | {
2560
2386
  id: string;
2561
2387
  processed_at: string;
@@ -2576,6 +2402,9 @@ export declare function createAgent(transport: Transport): {
2576
2402
  type: "session.status_idle";
2577
2403
  run_id: string | null;
2578
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;
2579
2408
  id: string;
2580
2409
  processed_at: string;
2581
2410
  type: "session.updated";
@@ -3197,10 +3026,10 @@ export declare function createAgent(transport: Transport): {
3197
3026
  web_fetch_requests?: number;
3198
3027
  web_search_requests?: number;
3199
3028
  };
3200
- runtime_cost?: {
3201
- amount: string;
3202
- currency: "USD";
3029
+ cost_by_product?: {
3030
+ [key: string]: string;
3203
3031
  };
3032
+ subagent_cost_micro_usd?: number;
3204
3033
  };
3205
3034
  vault_ids: Array<string>;
3206
3035
  deployment_id?: null | string;
@@ -3487,6 +3316,7 @@ export declare function createAgent(transport: Transport): {
3487
3316
  run_id: string | null;
3488
3317
  message_id?: string;
3489
3318
  } | {
3319
+ full_access_available?: boolean;
3490
3320
  id: string;
3491
3321
  input: Types.AgentManaged197;
3492
3322
  mcp_server_name: string;
@@ -3509,6 +3339,17 @@ export declare function createAgent(transport: Transport): {
3509
3339
  };
3510
3340
  };
3511
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
+ }>;
3512
3353
  title?: string;
3513
3354
  input_titles?: {
3514
3355
  [key: string]: string;
@@ -3527,6 +3368,7 @@ export declare function createAgent(transport: Transport): {
3527
3368
  };
3528
3369
  source?: "app" | "codemode";
3529
3370
  } | {
3371
+ full_access_available?: boolean;
3530
3372
  id: string;
3531
3373
  input: Types.AgentManaged206;
3532
3374
  name: string;
@@ -3536,6 +3378,17 @@ export declare function createAgent(transport: Transport): {
3536
3378
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3537
3379
  session_thread_id?: null | string;
3538
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
+ }>;
3539
3392
  } | {
3540
3393
  id: string;
3541
3394
  processed_at: string;
@@ -3556,6 +3409,9 @@ export declare function createAgent(transport: Transport): {
3556
3409
  type: "session.status_idle";
3557
3410
  run_id: string | null;
3558
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;
3559
3415
  id: string;
3560
3416
  processed_at: string;
3561
3417
  type: "session.updated";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.1538445",
3
+ "version": "0.1.1-dev.39dae15",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {