@taico/client 0.2.11 → 0.2.12

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.
@@ -1348,254 +1348,250 @@ export interface paths {
1348
1348
  patch?: never;
1349
1349
  trace?: never;
1350
1350
  };
1351
- "/api/v1/chat-providers": {
1351
+ "/api/v1/context/blocks": {
1352
1352
  parameters: {
1353
1353
  query?: never;
1354
1354
  header?: never;
1355
1355
  path?: never;
1356
1356
  cookie?: never;
1357
1357
  };
1358
- /** List all chat providers */
1359
- get: operations["ChatProvidersController_listChatProviders"];
1358
+ /** List wiki pages without content */
1359
+ get: operations["ContextController_listBlocks"];
1360
1360
  put?: never;
1361
- /** Create a new chat provider */
1362
- post: operations["ChatProvidersController_createChatProvider"];
1361
+ /** Create a new wiki page */
1362
+ post: operations["ContextController_createBlock"];
1363
1363
  delete?: never;
1364
1364
  options?: never;
1365
1365
  head?: never;
1366
1366
  patch?: never;
1367
1367
  trace?: never;
1368
1368
  };
1369
- "/api/v1/chat-providers/{id}": {
1369
+ "/api/v1/context/blocks/search/query": {
1370
1370
  parameters: {
1371
1371
  query?: never;
1372
1372
  header?: never;
1373
1373
  path?: never;
1374
1374
  cookie?: never;
1375
1375
  };
1376
- /** Get chat provider by ID */
1377
- get: operations["ChatProvidersController_getChatProvider"];
1376
+ /** Search blocks by query string */
1377
+ get: operations["ContextController_searchBlocks"];
1378
1378
  put?: never;
1379
1379
  post?: never;
1380
- /** Delete a chat provider */
1381
- delete: operations["ChatProvidersController_deleteChatProvider"];
1380
+ delete?: never;
1382
1381
  options?: never;
1383
1382
  head?: never;
1384
- /** Update a chat provider */
1385
- patch: operations["ChatProvidersController_updateChatProvider"];
1383
+ patch?: never;
1386
1384
  trace?: never;
1387
1385
  };
1388
- "/api/v1/chat-providers/set-active": {
1386
+ "/api/v1/context/blocks/tree": {
1389
1387
  parameters: {
1390
1388
  query?: never;
1391
1389
  header?: never;
1392
1390
  path?: never;
1393
1391
  cookie?: never;
1394
1392
  };
1395
- get?: never;
1393
+ /** Get page hierarchy tree */
1394
+ get: operations["ContextController_getBlockTree"];
1396
1395
  put?: never;
1397
- /** Set the active chat provider */
1398
- post: operations["ChatProvidersController_setActiveChatProvider"];
1396
+ post?: never;
1399
1397
  delete?: never;
1400
1398
  options?: never;
1401
1399
  head?: never;
1402
1400
  patch?: never;
1403
1401
  trace?: never;
1404
1402
  };
1405
- "/api/v1/chat-providers/deactivate": {
1403
+ "/api/v1/context/blocks/export": {
1406
1404
  parameters: {
1407
1405
  query?: never;
1408
1406
  header?: never;
1409
1407
  path?: never;
1410
1408
  cookie?: never;
1411
1409
  };
1412
- get?: never;
1410
+ /** Export all context blocks as markdown zip */
1411
+ get: operations["ContextController_exportBlocks"];
1413
1412
  put?: never;
1414
- /** Deactivate the active chat provider */
1415
- post: operations["ChatProvidersController_deactivateActiveChatProvider"];
1413
+ post?: never;
1416
1414
  delete?: never;
1417
1415
  options?: never;
1418
1416
  head?: never;
1419
1417
  patch?: never;
1420
1418
  trace?: never;
1421
1419
  };
1422
- "/api/v1/secrets": {
1420
+ "/api/v1/context/blocks/import": {
1423
1421
  parameters: {
1424
1422
  query?: never;
1425
1423
  header?: never;
1426
1424
  path?: never;
1427
1425
  cookie?: never;
1428
1426
  };
1429
- /** List all secrets - values not included */
1430
- get: operations["SecretsController_listSecrets"];
1427
+ get?: never;
1431
1428
  put?: never;
1432
- /** Create a new secret */
1433
- post: operations["SecretsController_createSecret"];
1429
+ /** Import context blocks from markdown zip */
1430
+ post: operations["ContextController_importBlocks"];
1434
1431
  delete?: never;
1435
1432
  options?: never;
1436
1433
  head?: never;
1437
1434
  patch?: never;
1438
1435
  trace?: never;
1439
1436
  };
1440
- "/api/v1/secrets/{id}": {
1437
+ "/api/v1/context/blocks/{id}": {
1441
1438
  parameters: {
1442
1439
  query?: never;
1443
1440
  header?: never;
1444
1441
  path?: never;
1445
1442
  cookie?: never;
1446
1443
  };
1447
- /** Get secret metadata by ID - value not included */
1448
- get: operations["SecretsController_getSecret"];
1444
+ /** Fetch a wiki page by ID */
1445
+ get: operations["ContextController_getBlock"];
1449
1446
  put?: never;
1450
1447
  post?: never;
1451
- /** Delete a secret */
1452
- delete: operations["SecretsController_deleteSecret"];
1448
+ /** Delete a wiki page */
1449
+ delete: operations["ContextController_deleteBlock"];
1453
1450
  options?: never;
1454
1451
  head?: never;
1455
- /** Update a secret */
1456
- patch: operations["SecretsController_updateSecret"];
1452
+ /** Update an existing wiki page */
1453
+ patch: operations["ContextController_updateBlock"];
1457
1454
  trace?: never;
1458
1455
  };
1459
- "/api/v1/secrets/{id}/value": {
1456
+ "/api/v1/context/blocks/{id}/append": {
1460
1457
  parameters: {
1461
1458
  query?: never;
1462
1459
  header?: never;
1463
1460
  path?: never;
1464
1461
  cookie?: never;
1465
1462
  };
1466
- /** Get decrypted secret value */
1467
- get: operations["SecretsController_getSecretValue"];
1463
+ get?: never;
1468
1464
  put?: never;
1469
- post?: never;
1465
+ /** Append content to an existing wiki page */
1466
+ post: operations["ContextController_appendToBlock"];
1470
1467
  delete?: never;
1471
1468
  options?: never;
1472
1469
  head?: never;
1473
1470
  patch?: never;
1474
1471
  trace?: never;
1475
1472
  };
1476
- "/api/v1/context/blocks": {
1473
+ "/api/v1/context/blocks/{id}/reorder": {
1477
1474
  parameters: {
1478
1475
  query?: never;
1479
1476
  header?: never;
1480
1477
  path?: never;
1481
1478
  cookie?: never;
1482
1479
  };
1483
- /** List wiki pages without content */
1484
- get: operations["ContextController_listBlocks"];
1480
+ get?: never;
1485
1481
  put?: never;
1486
- /** Create a new wiki page */
1487
- post: operations["ContextController_createBlock"];
1482
+ post?: never;
1488
1483
  delete?: never;
1489
1484
  options?: never;
1490
1485
  head?: never;
1491
- patch?: never;
1486
+ /** Reorder a page within siblings */
1487
+ patch: operations["ContextController_reorderBlock"];
1492
1488
  trace?: never;
1493
1489
  };
1494
- "/api/v1/context/blocks/search/query": {
1490
+ "/api/v1/context/blocks/{id}/move": {
1495
1491
  parameters: {
1496
1492
  query?: never;
1497
1493
  header?: never;
1498
1494
  path?: never;
1499
1495
  cookie?: never;
1500
1496
  };
1501
- /** Search blocks by query string */
1502
- get: operations["ContextController_searchBlocks"];
1497
+ get?: never;
1503
1498
  put?: never;
1504
1499
  post?: never;
1505
1500
  delete?: never;
1506
1501
  options?: never;
1507
1502
  head?: never;
1508
- patch?: never;
1503
+ /** Move page to different parent */
1504
+ patch: operations["ContextController_moveBlock"];
1509
1505
  trace?: never;
1510
1506
  };
1511
- "/api/v1/context/blocks/tree": {
1507
+ "/api/v1/context/blocks/{id}/tags": {
1512
1508
  parameters: {
1513
1509
  query?: never;
1514
1510
  header?: never;
1515
1511
  path?: never;
1516
1512
  cookie?: never;
1517
1513
  };
1518
- /** Get page hierarchy tree */
1519
- get: operations["ContextController_getBlockTree"];
1514
+ get?: never;
1520
1515
  put?: never;
1521
- post?: never;
1516
+ /** Add a tag to a wiki page */
1517
+ post: operations["ContextController_addTagToBlock"];
1522
1518
  delete?: never;
1523
1519
  options?: never;
1524
1520
  head?: never;
1525
1521
  patch?: never;
1526
1522
  trace?: never;
1527
1523
  };
1528
- "/api/v1/context/blocks/export": {
1524
+ "/api/v1/context/blocks/{id}/tags/{tagId}": {
1529
1525
  parameters: {
1530
1526
  query?: never;
1531
1527
  header?: never;
1532
1528
  path?: never;
1533
1529
  cookie?: never;
1534
1530
  };
1535
- /** Export all context blocks as markdown zip */
1536
- get: operations["ContextController_exportBlocks"];
1531
+ get?: never;
1537
1532
  put?: never;
1538
1533
  post?: never;
1539
- delete?: never;
1534
+ /** Remove a tag from a wiki page */
1535
+ delete: operations["ContextController_removeTagFromBlock"];
1540
1536
  options?: never;
1541
1537
  head?: never;
1542
1538
  patch?: never;
1543
1539
  trace?: never;
1544
1540
  };
1545
- "/api/v1/context/blocks/import": {
1541
+ "/api/v1/context/blocks/mcp": {
1546
1542
  parameters: {
1547
1543
  query?: never;
1548
1544
  header?: never;
1549
1545
  path?: never;
1550
1546
  cookie?: never;
1551
1547
  };
1552
- get?: never;
1553
- put?: never;
1554
- /** Import context blocks from markdown zip */
1555
- post: operations["ContextController_importBlocks"];
1556
- delete?: never;
1557
- options?: never;
1558
- head?: never;
1559
- patch?: never;
1548
+ get: operations["ContextController_handleMcp_get"];
1549
+ put: operations["ContextController_handleMcp_put"];
1550
+ post: operations["ContextController_handleMcp_post"];
1551
+ delete: operations["ContextController_handleMcp_delete"];
1552
+ options: operations["ContextController_handleMcp_options"];
1553
+ head: operations["ContextController_handleMcp_head"];
1554
+ patch: operations["ContextController_handleMcp_patch"];
1560
1555
  trace?: never;
1561
1556
  };
1562
- "/api/v1/context/blocks/{id}": {
1557
+ "/api/v1/chat-providers": {
1563
1558
  parameters: {
1564
1559
  query?: never;
1565
1560
  header?: never;
1566
1561
  path?: never;
1567
1562
  cookie?: never;
1568
1563
  };
1569
- /** Fetch a wiki page by ID */
1570
- get: operations["ContextController_getBlock"];
1564
+ /** List all chat providers */
1565
+ get: operations["ChatProvidersController_listChatProviders"];
1571
1566
  put?: never;
1572
- post?: never;
1573
- /** Delete a wiki page */
1574
- delete: operations["ContextController_deleteBlock"];
1567
+ /** Create a new chat provider */
1568
+ post: operations["ChatProvidersController_createChatProvider"];
1569
+ delete?: never;
1575
1570
  options?: never;
1576
1571
  head?: never;
1577
- /** Update an existing wiki page */
1578
- patch: operations["ContextController_updateBlock"];
1572
+ patch?: never;
1579
1573
  trace?: never;
1580
1574
  };
1581
- "/api/v1/context/blocks/{id}/append": {
1575
+ "/api/v1/chat-providers/{id}": {
1582
1576
  parameters: {
1583
1577
  query?: never;
1584
1578
  header?: never;
1585
1579
  path?: never;
1586
1580
  cookie?: never;
1587
1581
  };
1588
- get?: never;
1582
+ /** Get chat provider by ID */
1583
+ get: operations["ChatProvidersController_getChatProvider"];
1589
1584
  put?: never;
1590
- /** Append content to an existing wiki page */
1591
- post: operations["ContextController_appendToBlock"];
1592
- delete?: never;
1585
+ post?: never;
1586
+ /** Delete a chat provider */
1587
+ delete: operations["ChatProvidersController_deleteChatProvider"];
1593
1588
  options?: never;
1594
1589
  head?: never;
1595
- patch?: never;
1590
+ /** Update a chat provider */
1591
+ patch: operations["ChatProvidersController_updateChatProvider"];
1596
1592
  trace?: never;
1597
1593
  };
1598
- "/api/v1/context/blocks/{id}/reorder": {
1594
+ "/api/v1/chat-providers/set-active": {
1599
1595
  parameters: {
1600
1596
  query?: never;
1601
1597
  header?: never;
@@ -1604,15 +1600,15 @@ export interface paths {
1604
1600
  };
1605
1601
  get?: never;
1606
1602
  put?: never;
1607
- post?: never;
1603
+ /** Set the active chat provider */
1604
+ post: operations["ChatProvidersController_setActiveChatProvider"];
1608
1605
  delete?: never;
1609
1606
  options?: never;
1610
1607
  head?: never;
1611
- /** Reorder a page within siblings */
1612
- patch: operations["ContextController_reorderBlock"];
1608
+ patch?: never;
1613
1609
  trace?: never;
1614
1610
  };
1615
- "/api/v1/context/blocks/{id}/move": {
1611
+ "/api/v1/chat-providers/deactivate": {
1616
1612
  parameters: {
1617
1613
  query?: never;
1618
1614
  header?: never;
@@ -1621,62 +1617,66 @@ export interface paths {
1621
1617
  };
1622
1618
  get?: never;
1623
1619
  put?: never;
1624
- post?: never;
1620
+ /** Deactivate the active chat provider */
1621
+ post: operations["ChatProvidersController_deactivateActiveChatProvider"];
1625
1622
  delete?: never;
1626
1623
  options?: never;
1627
1624
  head?: never;
1628
- /** Move page to different parent */
1629
- patch: operations["ContextController_moveBlock"];
1625
+ patch?: never;
1630
1626
  trace?: never;
1631
1627
  };
1632
- "/api/v1/context/blocks/{id}/tags": {
1628
+ "/api/v1/secrets": {
1633
1629
  parameters: {
1634
1630
  query?: never;
1635
1631
  header?: never;
1636
1632
  path?: never;
1637
1633
  cookie?: never;
1638
1634
  };
1639
- get?: never;
1635
+ /** List all secrets - values not included */
1636
+ get: operations["SecretsController_listSecrets"];
1640
1637
  put?: never;
1641
- /** Add a tag to a wiki page */
1642
- post: operations["ContextController_addTagToBlock"];
1638
+ /** Create a new secret */
1639
+ post: operations["SecretsController_createSecret"];
1643
1640
  delete?: never;
1644
1641
  options?: never;
1645
1642
  head?: never;
1646
1643
  patch?: never;
1647
1644
  trace?: never;
1648
1645
  };
1649
- "/api/v1/context/blocks/{id}/tags/{tagId}": {
1646
+ "/api/v1/secrets/{id}": {
1650
1647
  parameters: {
1651
1648
  query?: never;
1652
1649
  header?: never;
1653
1650
  path?: never;
1654
1651
  cookie?: never;
1655
1652
  };
1656
- get?: never;
1653
+ /** Get secret metadata by ID - value not included */
1654
+ get: operations["SecretsController_getSecret"];
1657
1655
  put?: never;
1658
1656
  post?: never;
1659
- /** Remove a tag from a wiki page */
1660
- delete: operations["ContextController_removeTagFromBlock"];
1657
+ /** Delete a secret */
1658
+ delete: operations["SecretsController_deleteSecret"];
1661
1659
  options?: never;
1662
1660
  head?: never;
1663
- patch?: never;
1661
+ /** Update a secret */
1662
+ patch: operations["SecretsController_updateSecret"];
1664
1663
  trace?: never;
1665
1664
  };
1666
- "/api/v1/context/blocks/mcp": {
1665
+ "/api/v1/secrets/{id}/value": {
1667
1666
  parameters: {
1668
1667
  query?: never;
1669
1668
  header?: never;
1670
1669
  path?: never;
1671
1670
  cookie?: never;
1672
1671
  };
1673
- get: operations["ContextController_handleMcp_get"];
1674
- put: operations["ContextController_handleMcp_put"];
1675
- post: operations["ContextController_handleMcp_post"];
1676
- delete: operations["ContextController_handleMcp_delete"];
1677
- options: operations["ContextController_handleMcp_options"];
1678
- head: operations["ContextController_handleMcp_head"];
1679
- patch: operations["ContextController_handleMcp_patch"];
1672
+ /** Get decrypted secret value */
1673
+ get: operations["SecretsController_getSecretValue"];
1674
+ put?: never;
1675
+ post?: never;
1676
+ delete?: never;
1677
+ options?: never;
1678
+ head?: never;
1679
+ patch?: never;
1680
1680
  trace?: never;
1681
1681
  };
1682
1682
  "/api/v1/executions/queue": {
@@ -4708,241 +4708,58 @@ export interface components {
4708
4708
  */
4709
4709
  requestedByClientId: string;
4710
4710
  };
4711
- CreateChatProviderDto: {
4711
+ CreateBlockDto: {
4712
4712
  /**
4713
- * @description Display name for the chat provider
4714
- * @example OpenAI Production
4713
+ * @description Title of the context block
4714
+ * @example How to onboard new agents
4715
4715
  */
4716
- name: string;
4716
+ title: string;
4717
4717
  /**
4718
- * @description Type of chat provider
4719
- * @example openai
4720
- * @enum {string}
4718
+ * @description Markdown content of the block
4719
+ * @example # Welcome to Context
4720
+ * This is the onboarding guide.
4721
4721
  */
4722
- type: "openai";
4722
+ content: string;
4723
4723
  /**
4724
- * @description ID of the secret containing the API key
4724
+ * @description Array of tag names to associate with the block
4725
+ * @example [
4726
+ * "documentation",
4727
+ * "onboarding"
4728
+ * ]
4729
+ */
4730
+ tagNames?: string[];
4731
+ /**
4732
+ * @description Parent block ID for nesting
4725
4733
  * @example 123e4567-e89b-12d3-a456-426614174000
4726
4734
  */
4727
- secretId?: string;
4735
+ parentId?: string;
4728
4736
  };
4729
- ChatProviderResponseDto: {
4737
+ ContextTagResponseDto: {
4730
4738
  /**
4731
- * @description Chat provider identifier
4739
+ * @description Unique identifier for the tag
4732
4740
  * @example 123e4567-e89b-12d3-a456-426614174000
4733
4741
  */
4734
4742
  id: string;
4735
4743
  /**
4736
- * @description Display name of the chat provider
4737
- * @example OpenAI Production
4744
+ * @description Name of the tag
4745
+ * @example project-alpha
4738
4746
  */
4739
4747
  name: string;
4740
4748
  /**
4741
- * @description Type of chat provider
4742
- * @example openai
4743
- * @enum {string}
4749
+ * @description Color for the tag (hex format)
4750
+ * @example #FF5733
4744
4751
  */
4745
- type: "openai";
4752
+ color?: string;
4753
+ };
4754
+ BlockResponseDto: {
4746
4755
  /**
4747
- * @description ID of the secret containing the API key
4756
+ * @description Unique identifier for the block
4748
4757
  * @example 123e4567-e89b-12d3-a456-426614174000
4749
4758
  */
4750
- secretId?: string | null;
4759
+ id: string;
4751
4760
  /**
4752
- * @description Whether this provider is currently active
4753
- * @example true
4754
- */
4755
- isActive: boolean;
4756
- /**
4757
- * @description Whether this provider has all required configuration
4758
- * @example true
4759
- */
4760
- isConfigured: boolean;
4761
- /**
4762
- * @description Row version for optimistic locking
4763
- * @example 1
4764
- */
4765
- rowVersion: number;
4766
- /**
4767
- * @description ISO timestamp when the provider was created
4768
- * @example 2024-01-01T00:00:00.000Z
4769
- */
4770
- createdAt: string;
4771
- /**
4772
- * @description ISO timestamp when the provider was last updated
4773
- * @example 2024-01-01T00:00:00.000Z
4774
- */
4775
- updatedAt: string;
4776
- };
4777
- UpdateChatProviderDto: {
4778
- /**
4779
- * @description Display name for the chat provider
4780
- * @example OpenAI Production
4781
- */
4782
- name?: string;
4783
- /**
4784
- * @description ID of the secret containing the API key
4785
- * @example 123e4567-e89b-12d3-a456-426614174000
4786
- */
4787
- secretId?: string;
4788
- /**
4789
- * @description API key for the chat provider. If provided, a secret will be created automatically.
4790
- * @example sk-...
4791
- */
4792
- apiKey?: string;
4793
- };
4794
- SetActiveChatProviderDto: {
4795
- /**
4796
- * @description ID of the chat provider to set as active
4797
- * @example 123e4567-e89b-12d3-a456-426614174000
4798
- */
4799
- providerId: string;
4800
- };
4801
- CreateSecretDto: {
4802
- /**
4803
- * @description Unique name for the secret
4804
- * @example OPENAI_API_KEY
4805
- */
4806
- name: string;
4807
- /**
4808
- * @description Human-readable description of the secret
4809
- * @example OpenAI API key for agent completions
4810
- */
4811
- description?: string;
4812
- /**
4813
- * @description The secret value (will be encrypted at rest)
4814
- * @example sk-...
4815
- */
4816
- value: string;
4817
- };
4818
- SecretResponseDto: {
4819
- /**
4820
- * @description Secret identifier
4821
- * @example 123e4567-e89b-12d3-a456-426614174000
4822
- */
4823
- id: string;
4824
- /**
4825
- * @description Name of the secret
4826
- * @example OPENAI_API_KEY
4827
- */
4828
- name: string;
4829
- /**
4830
- * @description Human-readable description
4831
- * @example OpenAI API key for agent completions
4832
- */
4833
- description?: string | null;
4834
- /**
4835
- * @description ID of the actor who created this secret
4836
- * @example 123e4567-e89b-12d3-a456-426614174000
4837
- */
4838
- createdByActorId: string;
4839
- /**
4840
- * @description Slug of the actor who created this secret
4841
- * @example fran
4842
- */
4843
- createdBy?: string | null;
4844
- /**
4845
- * @description Row version for optimistic locking
4846
- * @example 1
4847
- */
4848
- rowVersion: number;
4849
- /**
4850
- * @description ISO timestamp when the secret was created
4851
- * @example 2024-01-01T00:00:00.000Z
4852
- */
4853
- createdAt: string;
4854
- /**
4855
- * @description ISO timestamp when the secret was last updated
4856
- * @example 2024-01-01T00:00:00.000Z
4857
- */
4858
- updatedAt: string;
4859
- };
4860
- SecretValueResponseDto: {
4861
- /**
4862
- * @description Secret identifier
4863
- * @example 123e4567-e89b-12d3-a456-426614174000
4864
- */
4865
- id: string;
4866
- /**
4867
- * @description Name of the secret
4868
- * @example OPENAI_API_KEY
4869
- */
4870
- name: string;
4871
- /**
4872
- * @description The decrypted secret value
4873
- * @example sk-...
4874
- */
4875
- value: string;
4876
- };
4877
- UpdateSecretDto: {
4878
- /**
4879
- * @description New name for the secret
4880
- * @example OPENAI_API_KEY_V2
4881
- */
4882
- name?: string;
4883
- /**
4884
- * @description New description for the secret
4885
- * @example Updated OpenAI API key
4886
- */
4887
- description?: string | null;
4888
- /**
4889
- * @description New secret value (will be encrypted at rest)
4890
- * @example sk-...
4891
- */
4892
- value?: string;
4893
- };
4894
- CreateBlockDto: {
4895
- /**
4896
- * @description Title of the context block
4897
- * @example How to onboard new agents
4898
- */
4899
- title: string;
4900
- /**
4901
- * @description Markdown content of the block
4902
- * @example # Welcome to Context
4903
- * This is the onboarding guide.
4904
- */
4905
- content: string;
4906
- /**
4907
- * @description Array of tag names to associate with the block
4908
- * @example [
4909
- * "documentation",
4910
- * "onboarding"
4911
- * ]
4912
- */
4913
- tagNames?: string[];
4914
- /**
4915
- * @description Parent block ID for nesting
4916
- * @example 123e4567-e89b-12d3-a456-426614174000
4917
- */
4918
- parentId?: string;
4919
- };
4920
- ContextTagResponseDto: {
4921
- /**
4922
- * @description Unique identifier for the tag
4923
- * @example 123e4567-e89b-12d3-a456-426614174000
4924
- */
4925
- id: string;
4926
- /**
4927
- * @description Name of the tag
4928
- * @example project-alpha
4929
- */
4930
- name: string;
4931
- /**
4932
- * @description Color for the tag (hex format)
4933
- * @example #FF5733
4934
- */
4935
- color?: string;
4936
- };
4937
- BlockResponseDto: {
4938
- /**
4939
- * @description Unique identifier for the block
4940
- * @example 123e4567-e89b-12d3-a456-426614174000
4941
- */
4942
- id: string;
4943
- /**
4944
- * @description Title of the context block
4945
- * @example How to onboard new agents
4761
+ * @description Title of the context block
4762
+ * @example How to onboard new agents
4946
4763
  */
4947
4764
  title: string;
4948
4765
  /**
@@ -5177,65 +4994,248 @@ export interface components {
5177
4994
  */
5178
4995
  newParentId: Record<string, never> | null;
5179
4996
  };
5180
- TaskExecutionQueueEntryResponseDto: {
4997
+ CreateChatProviderDto: {
5181
4998
  /**
5182
- * @description Task ID present in the execution queue
5183
- * @example 8c9d2c6c-2e2f-49eb-a7f7-5d483b7f0f1f
4999
+ * @description Display name for the chat provider
5000
+ * @example OpenAI Production
5184
5001
  */
5185
- taskId: string;
5002
+ name: string;
5186
5003
  /**
5187
- * @description Task name at the time of retrieval
5188
- * @example Investigate worker auth flow
5004
+ * @description Type of chat provider
5005
+ * @example openai
5006
+ * @enum {string}
5189
5007
  */
5190
- taskName: string | null;
5008
+ type: "openai" | "adk";
5191
5009
  /**
5192
- * @description Current task status
5193
- * @enum {string|null}
5010
+ * @description ID of the secret containing the API key
5011
+ * @example 123e4567-e89b-12d3-a456-426614174000
5194
5012
  */
5195
- taskStatus: "NOT_STARTED" | "IN_PROGRESS" | "FOR_REVIEW" | "DONE" | null;
5013
+ secretId?: string;
5196
5014
  };
5197
- ActiveTaskExecutionTagSnapshotResponseDto: {
5015
+ ChatProviderResponseDto: {
5198
5016
  /**
5199
- * @description Tag ID at the time the task was claimed
5200
- * @example d2dce6f1-24ec-47cc-b7fd-11a4e2672ad7
5017
+ * @description Chat provider identifier
5018
+ * @example 123e4567-e89b-12d3-a456-426614174000
5201
5019
  */
5202
5020
  id: string;
5203
5021
  /**
5204
- * @description Tag name at the time the task was claimed
5205
- * @example backend
5022
+ * @description Display name of the chat provider
5023
+ * @example OpenAI Production
5206
5024
  */
5207
5025
  name: string;
5208
- };
5209
- ActiveTaskExecutionResponseDto: {
5210
5026
  /**
5211
- * @description Execution ID
5212
- * @example b8f98a43-a5d1-42a5-a64d-934da729e8f8
5027
+ * @description Type of chat provider
5028
+ * @example openai
5029
+ * @enum {string}
5213
5030
  */
5214
- id: string;
5031
+ type: "openai" | "adk";
5215
5032
  /**
5216
- * @description Task ID for the active execution
5217
- * @example 8c9d2c6c-2e2f-49eb-a7f7-5d483b7f0f1f
5033
+ * @description ID of the secret containing the API key
5034
+ * @example 123e4567-e89b-12d3-a456-426614174000
5218
5035
  */
5219
- taskId: string;
5036
+ secretId?: string | null;
5220
5037
  /**
5221
- * @description Task name at the time of retrieval
5222
- * @example Investigate worker auth flow
5038
+ * @description Whether this provider is currently active
5039
+ * @example true
5223
5040
  */
5224
- taskName: string | null;
5041
+ isActive: boolean;
5225
5042
  /**
5226
- * @description Current task status
5227
- * @enum {string|null}
5043
+ * @description Whether this provider has all required configuration
5044
+ * @example true
5228
5045
  */
5229
- taskStatus: "NOT_STARTED" | "IN_PROGRESS" | "FOR_REVIEW" | "DONE" | null;
5046
+ isConfigured: boolean;
5230
5047
  /**
5231
- * @description When the task was claimed into the active table
5232
- * @example 2026-04-03T08:25:00.000Z
5048
+ * @description Row version for optimistic locking
5049
+ * @example 1
5233
5050
  */
5234
- claimedAt: string;
5051
+ rowVersion: number;
5235
5052
  /**
5236
- * @description Latest worker heartbeat received for this active execution
5237
- * @example 2026-04-03T08:25:10.000Z
5238
- */
5053
+ * @description ISO timestamp when the provider was created
5054
+ * @example 2024-01-01T00:00:00.000Z
5055
+ */
5056
+ createdAt: string;
5057
+ /**
5058
+ * @description ISO timestamp when the provider was last updated
5059
+ * @example 2024-01-01T00:00:00.000Z
5060
+ */
5061
+ updatedAt: string;
5062
+ };
5063
+ UpdateChatProviderDto: {
5064
+ /**
5065
+ * @description Display name for the chat provider
5066
+ * @example OpenAI Production
5067
+ */
5068
+ name?: string;
5069
+ /**
5070
+ * @description ID of the secret containing the API key
5071
+ * @example 123e4567-e89b-12d3-a456-426614174000
5072
+ */
5073
+ secretId?: string;
5074
+ /**
5075
+ * @description API key for the chat provider. If provided, a secret will be created automatically.
5076
+ * @example sk-...
5077
+ */
5078
+ apiKey?: string;
5079
+ };
5080
+ SetActiveChatProviderDto: {
5081
+ /**
5082
+ * @description ID of the chat provider to set as active
5083
+ * @example 123e4567-e89b-12d3-a456-426614174000
5084
+ */
5085
+ providerId: string;
5086
+ };
5087
+ CreateSecretDto: {
5088
+ /**
5089
+ * @description Unique name for the secret
5090
+ * @example OPENAI_API_KEY
5091
+ */
5092
+ name: string;
5093
+ /**
5094
+ * @description Human-readable description of the secret
5095
+ * @example OpenAI API key for agent completions
5096
+ */
5097
+ description?: string;
5098
+ /**
5099
+ * @description The secret value (will be encrypted at rest)
5100
+ * @example sk-...
5101
+ */
5102
+ value: string;
5103
+ };
5104
+ SecretResponseDto: {
5105
+ /**
5106
+ * @description Secret identifier
5107
+ * @example 123e4567-e89b-12d3-a456-426614174000
5108
+ */
5109
+ id: string;
5110
+ /**
5111
+ * @description Name of the secret
5112
+ * @example OPENAI_API_KEY
5113
+ */
5114
+ name: string;
5115
+ /**
5116
+ * @description Human-readable description
5117
+ * @example OpenAI API key for agent completions
5118
+ */
5119
+ description?: string | null;
5120
+ /**
5121
+ * @description ID of the actor who created this secret
5122
+ * @example 123e4567-e89b-12d3-a456-426614174000
5123
+ */
5124
+ createdByActorId: string;
5125
+ /**
5126
+ * @description Slug of the actor who created this secret
5127
+ * @example fran
5128
+ */
5129
+ createdBy?: string | null;
5130
+ /**
5131
+ * @description Row version for optimistic locking
5132
+ * @example 1
5133
+ */
5134
+ rowVersion: number;
5135
+ /**
5136
+ * @description ISO timestamp when the secret was created
5137
+ * @example 2024-01-01T00:00:00.000Z
5138
+ */
5139
+ createdAt: string;
5140
+ /**
5141
+ * @description ISO timestamp when the secret was last updated
5142
+ * @example 2024-01-01T00:00:00.000Z
5143
+ */
5144
+ updatedAt: string;
5145
+ };
5146
+ SecretValueResponseDto: {
5147
+ /**
5148
+ * @description Secret identifier
5149
+ * @example 123e4567-e89b-12d3-a456-426614174000
5150
+ */
5151
+ id: string;
5152
+ /**
5153
+ * @description Name of the secret
5154
+ * @example OPENAI_API_KEY
5155
+ */
5156
+ name: string;
5157
+ /**
5158
+ * @description The decrypted secret value
5159
+ * @example sk-...
5160
+ */
5161
+ value: string;
5162
+ };
5163
+ UpdateSecretDto: {
5164
+ /**
5165
+ * @description New name for the secret
5166
+ * @example OPENAI_API_KEY_V2
5167
+ */
5168
+ name?: string;
5169
+ /**
5170
+ * @description New description for the secret
5171
+ * @example Updated OpenAI API key
5172
+ */
5173
+ description?: string | null;
5174
+ /**
5175
+ * @description New secret value (will be encrypted at rest)
5176
+ * @example sk-...
5177
+ */
5178
+ value?: string;
5179
+ };
5180
+ TaskExecutionQueueEntryResponseDto: {
5181
+ /**
5182
+ * @description Task ID present in the execution queue
5183
+ * @example 8c9d2c6c-2e2f-49eb-a7f7-5d483b7f0f1f
5184
+ */
5185
+ taskId: string;
5186
+ /**
5187
+ * @description Task name at the time of retrieval
5188
+ * @example Investigate worker auth flow
5189
+ */
5190
+ taskName: string | null;
5191
+ /**
5192
+ * @description Current task status
5193
+ * @enum {string|null}
5194
+ */
5195
+ taskStatus: "NOT_STARTED" | "IN_PROGRESS" | "FOR_REVIEW" | "DONE" | null;
5196
+ };
5197
+ ActiveTaskExecutionTagSnapshotResponseDto: {
5198
+ /**
5199
+ * @description Tag ID at the time the task was claimed
5200
+ * @example d2dce6f1-24ec-47cc-b7fd-11a4e2672ad7
5201
+ */
5202
+ id: string;
5203
+ /**
5204
+ * @description Tag name at the time the task was claimed
5205
+ * @example backend
5206
+ */
5207
+ name: string;
5208
+ };
5209
+ ActiveTaskExecutionResponseDto: {
5210
+ /**
5211
+ * @description Execution ID
5212
+ * @example b8f98a43-a5d1-42a5-a64d-934da729e8f8
5213
+ */
5214
+ id: string;
5215
+ /**
5216
+ * @description Task ID for the active execution
5217
+ * @example 8c9d2c6c-2e2f-49eb-a7f7-5d483b7f0f1f
5218
+ */
5219
+ taskId: string;
5220
+ /**
5221
+ * @description Task name at the time of retrieval
5222
+ * @example Investigate worker auth flow
5223
+ */
5224
+ taskName: string | null;
5225
+ /**
5226
+ * @description Current task status
5227
+ * @enum {string|null}
5228
+ */
5229
+ taskStatus: "NOT_STARTED" | "IN_PROGRESS" | "FOR_REVIEW" | "DONE" | null;
5230
+ /**
5231
+ * @description When the task was claimed into the active table
5232
+ * @example 2026-04-03T08:25:00.000Z
5233
+ */
5234
+ claimedAt: string;
5235
+ /**
5236
+ * @description Latest worker heartbeat received for this active execution
5237
+ * @example 2026-04-03T08:25:10.000Z
5238
+ */
5239
5239
  lastHeartbeatAt: string | null;
5240
5240
  /**
5241
5241
  * @description Agent runtime session identifier associated with this execution
@@ -9072,27 +9072,30 @@ export interface operations {
9072
9072
  };
9073
9073
  };
9074
9074
  };
9075
- ChatProvidersController_listChatProviders: {
9075
+ ContextController_listBlocks: {
9076
9076
  parameters: {
9077
- query?: never;
9077
+ query?: {
9078
+ /** @description Filter blocks by tag name */
9079
+ tag?: string;
9080
+ };
9078
9081
  header?: never;
9079
9082
  path?: never;
9080
9083
  cookie?: never;
9081
9084
  };
9082
9085
  requestBody?: never;
9083
9086
  responses: {
9084
- /** @description List of chat providers */
9087
+ /** @description List of wiki pages */
9085
9088
  200: {
9086
9089
  headers: {
9087
9090
  [name: string]: unknown;
9088
9091
  };
9089
9092
  content: {
9090
- "application/json": components["schemas"]["ChatProviderResponseDto"][];
9093
+ "application/json": components["schemas"]["BlockListResponseDto"];
9091
9094
  };
9092
9095
  };
9093
9096
  };
9094
9097
  };
9095
- ChatProvidersController_createChatProvider: {
9098
+ ContextController_createBlock: {
9096
9099
  parameters: {
9097
9100
  query?: never;
9098
9101
  header?: never;
@@ -9101,106 +9104,125 @@ export interface operations {
9101
9104
  };
9102
9105
  requestBody: {
9103
9106
  content: {
9104
- "application/json": components["schemas"]["CreateChatProviderDto"];
9107
+ "application/json": components["schemas"]["CreateBlockDto"];
9105
9108
  };
9106
9109
  };
9107
9110
  responses: {
9108
- /** @description Chat provider created successfully */
9111
+ /** @description Context page created successfully */
9109
9112
  201: {
9110
9113
  headers: {
9111
9114
  [name: string]: unknown;
9112
9115
  };
9113
9116
  content: {
9114
- "application/json": components["schemas"]["ChatProviderResponseDto"];
9117
+ "application/json": components["schemas"]["BlockResponseDto"];
9118
+ };
9119
+ };
9120
+ /** @description Invalid input data */
9121
+ 400: {
9122
+ headers: {
9123
+ [name: string]: unknown;
9115
9124
  };
9125
+ content?: never;
9116
9126
  };
9117
9127
  };
9118
9128
  };
9119
- ChatProvidersController_getChatProvider: {
9129
+ ContextController_searchBlocks: {
9120
9130
  parameters: {
9121
- query?: never;
9122
- header?: never;
9123
- path: {
9124
- /** @description Chat provider identifier */
9125
- id: string;
9131
+ query: {
9132
+ /** @description Search query string */
9133
+ query: string;
9134
+ /** @description Maximum number of results to return */
9135
+ limit?: number;
9136
+ /** @description Minimum score threshold (0-1, higher is stricter) */
9137
+ threshold?: number;
9126
9138
  };
9139
+ header?: never;
9140
+ path?: never;
9127
9141
  cookie?: never;
9128
9142
  };
9129
9143
  requestBody?: never;
9130
9144
  responses: {
9131
- /** @description Chat provider details */
9145
+ /** @description Search results sorted by relevance */
9132
9146
  200: {
9133
9147
  headers: {
9134
9148
  [name: string]: unknown;
9135
9149
  };
9136
9150
  content: {
9137
- "application/json": components["schemas"]["ChatProviderResponseDto"];
9138
- };
9139
- };
9140
- /** @description Chat provider not found */
9141
- 404: {
9142
- headers: {
9143
- [name: string]: unknown;
9151
+ "application/json": components["schemas"]["BlockSearchResultDto"][];
9144
9152
  };
9145
- content?: never;
9146
9153
  };
9147
9154
  };
9148
9155
  };
9149
- ChatProvidersController_deleteChatProvider: {
9156
+ ContextController_getBlockTree: {
9150
9157
  parameters: {
9151
9158
  query?: never;
9152
9159
  header?: never;
9153
- path: {
9154
- /** @description Chat provider identifier */
9155
- id: string;
9156
- };
9160
+ path?: never;
9157
9161
  cookie?: never;
9158
9162
  };
9159
9163
  requestBody?: never;
9160
9164
  responses: {
9161
- /** @description Chat provider deleted successfully */
9162
- 204: {
9165
+ /** @description Page hierarchy tree */
9166
+ 200: {
9163
9167
  headers: {
9164
9168
  [name: string]: unknown;
9165
9169
  };
9166
- content?: never;
9170
+ content: {
9171
+ "application/json": components["schemas"]["BlockTreeResponseDto"][];
9172
+ };
9167
9173
  };
9168
- /** @description Chat provider not found */
9169
- 404: {
9174
+ };
9175
+ };
9176
+ ContextController_exportBlocks: {
9177
+ parameters: {
9178
+ query?: never;
9179
+ header?: never;
9180
+ path?: never;
9181
+ cookie?: never;
9182
+ };
9183
+ requestBody?: never;
9184
+ responses: {
9185
+ /** @description Context blocks archive downloaded successfully */
9186
+ 200: {
9170
9187
  headers: {
9171
9188
  [name: string]: unknown;
9172
9189
  };
9173
- content?: never;
9190
+ content: {
9191
+ "application/zip": string;
9192
+ };
9174
9193
  };
9175
9194
  };
9176
9195
  };
9177
- ChatProvidersController_updateChatProvider: {
9196
+ ContextController_importBlocks: {
9178
9197
  parameters: {
9179
9198
  query?: never;
9180
9199
  header?: never;
9181
- path: {
9182
- /** @description Chat provider identifier */
9183
- id: string;
9184
- };
9200
+ path?: never;
9185
9201
  cookie?: never;
9186
9202
  };
9187
9203
  requestBody: {
9188
9204
  content: {
9189
- "application/json": components["schemas"]["UpdateChatProviderDto"];
9205
+ "multipart/form-data": {
9206
+ /**
9207
+ * Format: binary
9208
+ * @description Zip file exported from context blocks
9209
+ */
9210
+ file: string;
9211
+ };
9190
9212
  };
9191
9213
  };
9192
9214
  responses: {
9193
- /** @description Chat provider updated successfully */
9194
- 200: {
9215
+ /** @description Context blocks imported successfully */
9216
+ 201: {
9195
9217
  headers: {
9196
9218
  [name: string]: unknown;
9197
9219
  };
9198
9220
  content: {
9199
- "application/json": components["schemas"]["ChatProviderResponseDto"];
9221
+ "application/json": components["schemas"]["ImportBlocksResponseDto"];
9200
9222
  };
9201
9223
  };
9202
- /** @description Chat provider not found */
9203
- 404: {
9224
+ /** @description No archive file uploaded or invalid file type */
9225
+ 400: {
9204
9226
  headers: {
9205
9227
  [name: string]: unknown;
9206
9228
  };
@@ -9208,47 +9230,42 @@ export interface operations {
9208
9230
  };
9209
9231
  };
9210
9232
  };
9211
- ChatProvidersController_setActiveChatProvider: {
9233
+ ContextController_getBlock: {
9212
9234
  parameters: {
9213
9235
  query?: never;
9214
9236
  header?: never;
9215
- path?: never;
9216
- cookie?: never;
9217
- };
9218
- requestBody: {
9219
- content: {
9220
- "application/json": components["schemas"]["SetActiveChatProviderDto"];
9237
+ path: {
9238
+ /** @description Context block identifier */
9239
+ id: string;
9221
9240
  };
9241
+ cookie?: never;
9222
9242
  };
9243
+ requestBody?: never;
9223
9244
  responses: {
9224
- /** @description Active chat provider set successfully */
9245
+ /** @description Context page retrieved successfully */
9225
9246
  200: {
9226
9247
  headers: {
9227
9248
  [name: string]: unknown;
9228
9249
  };
9229
9250
  content: {
9230
- "application/json": components["schemas"]["ChatProviderResponseDto"];
9231
- };
9232
- };
9233
- /** @description Chat provider not found */
9234
- 404: {
9235
- headers: {
9236
- [name: string]: unknown;
9251
+ "application/json": components["schemas"]["BlockResponseDto"];
9237
9252
  };
9238
- content?: never;
9239
9253
  };
9240
9254
  };
9241
9255
  };
9242
- ChatProvidersController_deactivateActiveChatProvider: {
9256
+ ContextController_deleteBlock: {
9243
9257
  parameters: {
9244
9258
  query?: never;
9245
9259
  header?: never;
9246
- path?: never;
9260
+ path: {
9261
+ /** @description Context block identifier */
9262
+ id: string;
9263
+ };
9247
9264
  cookie?: never;
9248
9265
  };
9249
9266
  requestBody?: never;
9250
9267
  responses: {
9251
- /** @description Active chat provider deactivated successfully */
9268
+ /** @description Context page deleted successfully */
9252
9269
  204: {
9253
9270
  headers: {
9254
9271
  [name: string]: unknown;
@@ -9257,101 +9274,121 @@ export interface operations {
9257
9274
  };
9258
9275
  };
9259
9276
  };
9260
- SecretsController_listSecrets: {
9277
+ ContextController_updateBlock: {
9261
9278
  parameters: {
9262
9279
  query?: never;
9263
9280
  header?: never;
9264
- path?: never;
9281
+ path: {
9282
+ /** @description Context block identifier */
9283
+ id: string;
9284
+ };
9265
9285
  cookie?: never;
9266
9286
  };
9267
- requestBody?: never;
9287
+ requestBody: {
9288
+ content: {
9289
+ "application/json": components["schemas"]["UpdateBlockDto"];
9290
+ };
9291
+ };
9268
9292
  responses: {
9269
- /** @description List of secrets (no values) */
9293
+ /** @description Context page updated successfully */
9270
9294
  200: {
9271
9295
  headers: {
9272
9296
  [name: string]: unknown;
9273
9297
  };
9274
9298
  content: {
9275
- "application/json": components["schemas"]["SecretResponseDto"][];
9299
+ "application/json": components["schemas"]["BlockResponseDto"];
9300
+ };
9301
+ };
9302
+ /** @description No update fields provided */
9303
+ 400: {
9304
+ headers: {
9305
+ [name: string]: unknown;
9276
9306
  };
9307
+ content?: never;
9277
9308
  };
9278
9309
  };
9279
9310
  };
9280
- SecretsController_createSecret: {
9311
+ ContextController_appendToBlock: {
9281
9312
  parameters: {
9282
9313
  query?: never;
9283
9314
  header?: never;
9284
- path?: never;
9315
+ path: {
9316
+ /** @description Context block identifier */
9317
+ id: string;
9318
+ };
9285
9319
  cookie?: never;
9286
9320
  };
9287
9321
  requestBody: {
9288
9322
  content: {
9289
- "application/json": components["schemas"]["CreateSecretDto"];
9323
+ "application/json": components["schemas"]["AppendBlockDto"];
9290
9324
  };
9291
9325
  };
9292
9326
  responses: {
9293
- /** @description Secret created successfully */
9294
- 201: {
9327
+ /** @description Context page content appended successfully */
9328
+ 200: {
9295
9329
  headers: {
9296
9330
  [name: string]: unknown;
9297
9331
  };
9298
9332
  content: {
9299
- "application/json": components["schemas"]["SecretResponseDto"];
9333
+ "application/json": components["schemas"]["BlockResponseDto"];
9300
9334
  };
9301
9335
  };
9302
9336
  };
9303
9337
  };
9304
- SecretsController_getSecret: {
9338
+ ContextController_reorderBlock: {
9305
9339
  parameters: {
9306
9340
  query?: never;
9307
9341
  header?: never;
9308
9342
  path: {
9309
- /** @description Secret identifier */
9343
+ /** @description Context block identifier */
9310
9344
  id: string;
9311
9345
  };
9312
9346
  cookie?: never;
9313
9347
  };
9314
- requestBody?: never;
9348
+ requestBody: {
9349
+ content: {
9350
+ "application/json": components["schemas"]["ReorderBlockDto"];
9351
+ };
9352
+ };
9315
9353
  responses: {
9316
- /** @description Secret metadata */
9354
+ /** @description Page reordered successfully */
9317
9355
  200: {
9318
9356
  headers: {
9319
9357
  [name: string]: unknown;
9320
9358
  };
9321
9359
  content: {
9322
- "application/json": components["schemas"]["SecretResponseDto"];
9323
- };
9324
- };
9325
- /** @description Secret not found */
9326
- 404: {
9327
- headers: {
9328
- [name: string]: unknown;
9360
+ "application/json": components["schemas"]["BlockResponseDto"];
9329
9361
  };
9330
- content?: never;
9331
9362
  };
9332
9363
  };
9333
9364
  };
9334
- SecretsController_deleteSecret: {
9365
+ ContextController_moveBlock: {
9335
9366
  parameters: {
9336
9367
  query?: never;
9337
9368
  header?: never;
9338
9369
  path: {
9339
- /** @description Secret identifier */
9370
+ /** @description Context block identifier */
9340
9371
  id: string;
9341
9372
  };
9342
9373
  cookie?: never;
9343
9374
  };
9344
- requestBody?: never;
9375
+ requestBody: {
9376
+ content: {
9377
+ "application/json": components["schemas"]["MoveBlockDto"];
9378
+ };
9379
+ };
9345
9380
  responses: {
9346
- /** @description Secret deleted successfully */
9347
- 204: {
9381
+ /** @description Page moved successfully */
9382
+ 200: {
9348
9383
  headers: {
9349
9384
  [name: string]: unknown;
9350
9385
  };
9351
- content?: never;
9386
+ content: {
9387
+ "application/json": components["schemas"]["BlockResponseDto"];
9388
+ };
9352
9389
  };
9353
- /** @description Secret not found */
9354
- 404: {
9390
+ /** @description Circular reference detected or parent not found */
9391
+ 400: {
9355
9392
  headers: {
9356
9393
  [name: string]: unknown;
9357
9394
  };
@@ -9359,33 +9396,33 @@ export interface operations {
9359
9396
  };
9360
9397
  };
9361
9398
  };
9362
- SecretsController_updateSecret: {
9399
+ ContextController_addTagToBlock: {
9363
9400
  parameters: {
9364
9401
  query?: never;
9365
9402
  header?: never;
9366
9403
  path: {
9367
- /** @description Secret identifier */
9404
+ /** @description Context block identifier */
9368
9405
  id: string;
9369
9406
  };
9370
9407
  cookie?: never;
9371
9408
  };
9372
9409
  requestBody: {
9373
9410
  content: {
9374
- "application/json": components["schemas"]["UpdateSecretDto"];
9411
+ "application/json": components["schemas"]["CreateTagDto"];
9375
9412
  };
9376
9413
  };
9377
9414
  responses: {
9378
- /** @description Secret updated successfully */
9379
- 200: {
9415
+ /** @description Tag added to page successfully */
9416
+ 201: {
9380
9417
  headers: {
9381
9418
  [name: string]: unknown;
9382
9419
  };
9383
9420
  content: {
9384
- "application/json": components["schemas"]["SecretResponseDto"];
9421
+ "application/json": components["schemas"]["BlockResponseDto"];
9385
9422
  };
9386
9423
  };
9387
- /** @description Secret not found */
9388
- 404: {
9424
+ /** @description Invalid input data */
9425
+ 400: {
9389
9426
  headers: {
9390
9427
  [name: string]: unknown;
9391
9428
  };
@@ -9393,83 +9430,56 @@ export interface operations {
9393
9430
  };
9394
9431
  };
9395
9432
  };
9396
- SecretsController_getSecretValue: {
9433
+ ContextController_removeTagFromBlock: {
9397
9434
  parameters: {
9398
9435
  query?: never;
9399
9436
  header?: never;
9400
9437
  path: {
9401
- /** @description Secret identifier */
9402
9438
  id: string;
9439
+ tagId: string;
9403
9440
  };
9404
9441
  cookie?: never;
9405
9442
  };
9406
9443
  requestBody?: never;
9407
9444
  responses: {
9408
- /** @description Decrypted secret value */
9445
+ /** @description Tag removed from page successfully */
9409
9446
  200: {
9410
9447
  headers: {
9411
9448
  [name: string]: unknown;
9412
9449
  };
9413
9450
  content: {
9414
- "application/json": components["schemas"]["SecretValueResponseDto"];
9415
- };
9416
- };
9417
- /** @description Secret not found */
9418
- 404: {
9419
- headers: {
9420
- [name: string]: unknown;
9451
+ "application/json": components["schemas"]["BlockResponseDto"];
9421
9452
  };
9422
- content?: never;
9423
9453
  };
9424
9454
  };
9425
9455
  };
9426
- ContextController_listBlocks: {
9456
+ ContextController_handleMcp_get: {
9427
9457
  parameters: {
9428
- query?: {
9429
- /** @description Filter blocks by tag name */
9430
- tag?: string;
9431
- };
9458
+ query?: never;
9432
9459
  header?: never;
9433
9460
  path?: never;
9434
9461
  cookie?: never;
9435
9462
  };
9436
9463
  requestBody?: never;
9437
9464
  responses: {
9438
- /** @description List of wiki pages */
9439
9465
  200: {
9440
9466
  headers: {
9441
9467
  [name: string]: unknown;
9442
9468
  };
9443
- content: {
9444
- "application/json": components["schemas"]["BlockListResponseDto"];
9445
- };
9469
+ content?: never;
9446
9470
  };
9447
9471
  };
9448
9472
  };
9449
- ContextController_createBlock: {
9473
+ ContextController_handleMcp_put: {
9450
9474
  parameters: {
9451
9475
  query?: never;
9452
9476
  header?: never;
9453
9477
  path?: never;
9454
9478
  cookie?: never;
9455
9479
  };
9456
- requestBody: {
9457
- content: {
9458
- "application/json": components["schemas"]["CreateBlockDto"];
9459
- };
9460
- };
9480
+ requestBody?: never;
9461
9481
  responses: {
9462
- /** @description Context page created successfully */
9463
- 201: {
9464
- headers: {
9465
- [name: string]: unknown;
9466
- };
9467
- content: {
9468
- "application/json": components["schemas"]["BlockResponseDto"];
9469
- };
9470
- };
9471
- /** @description Invalid input data */
9472
- 400: {
9482
+ 200: {
9473
9483
  headers: {
9474
9484
  [name: string]: unknown;
9475
9485
  };
@@ -9477,34 +9487,24 @@ export interface operations {
9477
9487
  };
9478
9488
  };
9479
9489
  };
9480
- ContextController_searchBlocks: {
9490
+ ContextController_handleMcp_post: {
9481
9491
  parameters: {
9482
- query: {
9483
- /** @description Search query string */
9484
- query: string;
9485
- /** @description Maximum number of results to return */
9486
- limit?: number;
9487
- /** @description Minimum score threshold (0-1, higher is stricter) */
9488
- threshold?: number;
9489
- };
9492
+ query?: never;
9490
9493
  header?: never;
9491
9494
  path?: never;
9492
9495
  cookie?: never;
9493
9496
  };
9494
9497
  requestBody?: never;
9495
9498
  responses: {
9496
- /** @description Search results sorted by relevance */
9497
9499
  200: {
9498
9500
  headers: {
9499
9501
  [name: string]: unknown;
9500
9502
  };
9501
- content: {
9502
- "application/json": components["schemas"]["BlockSearchResultDto"][];
9503
- };
9503
+ content?: never;
9504
9504
  };
9505
9505
  };
9506
9506
  };
9507
- ContextController_getBlockTree: {
9507
+ ContextController_handleMcp_delete: {
9508
9508
  parameters: {
9509
9509
  query?: never;
9510
9510
  header?: never;
@@ -9513,18 +9513,15 @@ export interface operations {
9513
9513
  };
9514
9514
  requestBody?: never;
9515
9515
  responses: {
9516
- /** @description Page hierarchy tree */
9517
9516
  200: {
9518
9517
  headers: {
9519
9518
  [name: string]: unknown;
9520
9519
  };
9521
- content: {
9522
- "application/json": components["schemas"]["BlockTreeResponseDto"][];
9523
- };
9520
+ content?: never;
9524
9521
  };
9525
9522
  };
9526
9523
  };
9527
- ContextController_exportBlocks: {
9524
+ ContextController_handleMcp_options: {
9528
9525
  parameters: {
9529
9526
  query?: never;
9530
9527
  header?: never;
@@ -9533,47 +9530,24 @@ export interface operations {
9533
9530
  };
9534
9531
  requestBody?: never;
9535
9532
  responses: {
9536
- /** @description Context blocks archive downloaded successfully */
9537
9533
  200: {
9538
9534
  headers: {
9539
9535
  [name: string]: unknown;
9540
9536
  };
9541
- content: {
9542
- "application/zip": string;
9543
- };
9537
+ content?: never;
9544
9538
  };
9545
9539
  };
9546
9540
  };
9547
- ContextController_importBlocks: {
9541
+ ContextController_handleMcp_head: {
9548
9542
  parameters: {
9549
9543
  query?: never;
9550
9544
  header?: never;
9551
9545
  path?: never;
9552
9546
  cookie?: never;
9553
9547
  };
9554
- requestBody: {
9555
- content: {
9556
- "multipart/form-data": {
9557
- /**
9558
- * Format: binary
9559
- * @description Zip file exported from context blocks
9560
- */
9561
- file: string;
9562
- };
9563
- };
9564
- };
9548
+ requestBody?: never;
9565
9549
  responses: {
9566
- /** @description Context blocks imported successfully */
9567
- 201: {
9568
- headers: {
9569
- [name: string]: unknown;
9570
- };
9571
- content: {
9572
- "application/json": components["schemas"]["ImportBlocksResponseDto"];
9573
- };
9574
- };
9575
- /** @description No archive file uploaded or invalid file type */
9576
- 400: {
9550
+ 200: {
9577
9551
  headers: {
9578
9552
  [name: string]: unknown;
9579
9553
  };
@@ -9581,165 +9555,152 @@ export interface operations {
9581
9555
  };
9582
9556
  };
9583
9557
  };
9584
- ContextController_getBlock: {
9558
+ ContextController_handleMcp_patch: {
9585
9559
  parameters: {
9586
9560
  query?: never;
9587
9561
  header?: never;
9588
- path: {
9589
- /** @description Context block identifier */
9590
- id: string;
9591
- };
9562
+ path?: never;
9592
9563
  cookie?: never;
9593
9564
  };
9594
9565
  requestBody?: never;
9595
9566
  responses: {
9596
- /** @description Context page retrieved successfully */
9597
9567
  200: {
9598
9568
  headers: {
9599
9569
  [name: string]: unknown;
9600
9570
  };
9601
- content: {
9602
- "application/json": components["schemas"]["BlockResponseDto"];
9603
- };
9571
+ content?: never;
9604
9572
  };
9605
9573
  };
9606
9574
  };
9607
- ContextController_deleteBlock: {
9575
+ ChatProvidersController_listChatProviders: {
9608
9576
  parameters: {
9609
9577
  query?: never;
9610
9578
  header?: never;
9611
- path: {
9612
- /** @description Context block identifier */
9613
- id: string;
9614
- };
9579
+ path?: never;
9615
9580
  cookie?: never;
9616
9581
  };
9617
9582
  requestBody?: never;
9618
9583
  responses: {
9619
- /** @description Context page deleted successfully */
9620
- 204: {
9584
+ /** @description List of chat providers */
9585
+ 200: {
9621
9586
  headers: {
9622
9587
  [name: string]: unknown;
9623
9588
  };
9624
- content?: never;
9589
+ content: {
9590
+ "application/json": components["schemas"]["ChatProviderResponseDto"][];
9591
+ };
9625
9592
  };
9626
9593
  };
9627
9594
  };
9628
- ContextController_updateBlock: {
9595
+ ChatProvidersController_createChatProvider: {
9629
9596
  parameters: {
9630
9597
  query?: never;
9631
9598
  header?: never;
9632
- path: {
9633
- /** @description Context block identifier */
9634
- id: string;
9635
- };
9599
+ path?: never;
9636
9600
  cookie?: never;
9637
9601
  };
9638
9602
  requestBody: {
9639
9603
  content: {
9640
- "application/json": components["schemas"]["UpdateBlockDto"];
9604
+ "application/json": components["schemas"]["CreateChatProviderDto"];
9641
9605
  };
9642
9606
  };
9643
9607
  responses: {
9644
- /** @description Context page updated successfully */
9645
- 200: {
9608
+ /** @description Chat provider created successfully */
9609
+ 201: {
9646
9610
  headers: {
9647
9611
  [name: string]: unknown;
9648
9612
  };
9649
9613
  content: {
9650
- "application/json": components["schemas"]["BlockResponseDto"];
9651
- };
9652
- };
9653
- /** @description No update fields provided */
9654
- 400: {
9655
- headers: {
9656
- [name: string]: unknown;
9614
+ "application/json": components["schemas"]["ChatProviderResponseDto"];
9657
9615
  };
9658
- content?: never;
9659
9616
  };
9660
9617
  };
9661
9618
  };
9662
- ContextController_appendToBlock: {
9619
+ ChatProvidersController_getChatProvider: {
9663
9620
  parameters: {
9664
9621
  query?: never;
9665
9622
  header?: never;
9666
9623
  path: {
9667
- /** @description Context block identifier */
9624
+ /** @description Chat provider identifier */
9668
9625
  id: string;
9669
9626
  };
9670
9627
  cookie?: never;
9671
9628
  };
9672
- requestBody: {
9673
- content: {
9674
- "application/json": components["schemas"]["AppendBlockDto"];
9675
- };
9676
- };
9629
+ requestBody?: never;
9677
9630
  responses: {
9678
- /** @description Context page content appended successfully */
9631
+ /** @description Chat provider details */
9679
9632
  200: {
9680
9633
  headers: {
9681
9634
  [name: string]: unknown;
9682
9635
  };
9683
9636
  content: {
9684
- "application/json": components["schemas"]["BlockResponseDto"];
9637
+ "application/json": components["schemas"]["ChatProviderResponseDto"];
9685
9638
  };
9686
9639
  };
9640
+ /** @description Chat provider not found */
9641
+ 404: {
9642
+ headers: {
9643
+ [name: string]: unknown;
9644
+ };
9645
+ content?: never;
9646
+ };
9687
9647
  };
9688
9648
  };
9689
- ContextController_reorderBlock: {
9649
+ ChatProvidersController_deleteChatProvider: {
9690
9650
  parameters: {
9691
9651
  query?: never;
9692
9652
  header?: never;
9693
9653
  path: {
9694
- /** @description Context block identifier */
9654
+ /** @description Chat provider identifier */
9695
9655
  id: string;
9696
9656
  };
9697
9657
  cookie?: never;
9698
9658
  };
9699
- requestBody: {
9700
- content: {
9701
- "application/json": components["schemas"]["ReorderBlockDto"];
9702
- };
9703
- };
9659
+ requestBody?: never;
9704
9660
  responses: {
9705
- /** @description Page reordered successfully */
9706
- 200: {
9661
+ /** @description Chat provider deleted successfully */
9662
+ 204: {
9707
9663
  headers: {
9708
9664
  [name: string]: unknown;
9709
9665
  };
9710
- content: {
9711
- "application/json": components["schemas"]["BlockResponseDto"];
9666
+ content?: never;
9667
+ };
9668
+ /** @description Chat provider not found */
9669
+ 404: {
9670
+ headers: {
9671
+ [name: string]: unknown;
9712
9672
  };
9673
+ content?: never;
9713
9674
  };
9714
9675
  };
9715
9676
  };
9716
- ContextController_moveBlock: {
9677
+ ChatProvidersController_updateChatProvider: {
9717
9678
  parameters: {
9718
9679
  query?: never;
9719
9680
  header?: never;
9720
9681
  path: {
9721
- /** @description Context block identifier */
9682
+ /** @description Chat provider identifier */
9722
9683
  id: string;
9723
9684
  };
9724
9685
  cookie?: never;
9725
9686
  };
9726
9687
  requestBody: {
9727
9688
  content: {
9728
- "application/json": components["schemas"]["MoveBlockDto"];
9689
+ "application/json": components["schemas"]["UpdateChatProviderDto"];
9729
9690
  };
9730
9691
  };
9731
9692
  responses: {
9732
- /** @description Page moved successfully */
9693
+ /** @description Chat provider updated successfully */
9733
9694
  200: {
9734
9695
  headers: {
9735
9696
  [name: string]: unknown;
9736
9697
  };
9737
9698
  content: {
9738
- "application/json": components["schemas"]["BlockResponseDto"];
9699
+ "application/json": components["schemas"]["ChatProviderResponseDto"];
9739
9700
  };
9740
9701
  };
9741
- /** @description Circular reference detected or parent not found */
9742
- 400: {
9702
+ /** @description Chat provider not found */
9703
+ 404: {
9743
9704
  headers: {
9744
9705
  [name: string]: unknown;
9745
9706
  };
@@ -9747,33 +9708,30 @@ export interface operations {
9747
9708
  };
9748
9709
  };
9749
9710
  };
9750
- ContextController_addTagToBlock: {
9711
+ ChatProvidersController_setActiveChatProvider: {
9751
9712
  parameters: {
9752
9713
  query?: never;
9753
9714
  header?: never;
9754
- path: {
9755
- /** @description Context block identifier */
9756
- id: string;
9757
- };
9715
+ path?: never;
9758
9716
  cookie?: never;
9759
9717
  };
9760
9718
  requestBody: {
9761
9719
  content: {
9762
- "application/json": components["schemas"]["CreateTagDto"];
9720
+ "application/json": components["schemas"]["SetActiveChatProviderDto"];
9763
9721
  };
9764
9722
  };
9765
9723
  responses: {
9766
- /** @description Tag added to page successfully */
9767
- 201: {
9724
+ /** @description Active chat provider set successfully */
9725
+ 200: {
9768
9726
  headers: {
9769
9727
  [name: string]: unknown;
9770
9728
  };
9771
9729
  content: {
9772
- "application/json": components["schemas"]["BlockResponseDto"];
9730
+ "application/json": components["schemas"]["ChatProviderResponseDto"];
9773
9731
  };
9774
9732
  };
9775
- /** @description Invalid input data */
9776
- 400: {
9733
+ /** @description Chat provider not found */
9734
+ 404: {
9777
9735
  headers: {
9778
9736
  [name: string]: unknown;
9779
9737
  };
@@ -9781,30 +9739,25 @@ export interface operations {
9781
9739
  };
9782
9740
  };
9783
9741
  };
9784
- ContextController_removeTagFromBlock: {
9742
+ ChatProvidersController_deactivateActiveChatProvider: {
9785
9743
  parameters: {
9786
9744
  query?: never;
9787
9745
  header?: never;
9788
- path: {
9789
- id: string;
9790
- tagId: string;
9791
- };
9746
+ path?: never;
9792
9747
  cookie?: never;
9793
9748
  };
9794
9749
  requestBody?: never;
9795
9750
  responses: {
9796
- /** @description Tag removed from page successfully */
9797
- 200: {
9751
+ /** @description Active chat provider deactivated successfully */
9752
+ 204: {
9798
9753
  headers: {
9799
9754
  [name: string]: unknown;
9800
9755
  };
9801
- content: {
9802
- "application/json": components["schemas"]["BlockResponseDto"];
9803
- };
9756
+ content?: never;
9804
9757
  };
9805
9758
  };
9806
9759
  };
9807
- ContextController_handleMcp_get: {
9760
+ SecretsController_listSecrets: {
9808
9761
  parameters: {
9809
9762
  query?: never;
9810
9763
  header?: never;
@@ -9813,41 +9766,64 @@ export interface operations {
9813
9766
  };
9814
9767
  requestBody?: never;
9815
9768
  responses: {
9769
+ /** @description List of secrets (no values) */
9816
9770
  200: {
9817
9771
  headers: {
9818
9772
  [name: string]: unknown;
9819
9773
  };
9820
- content?: never;
9774
+ content: {
9775
+ "application/json": components["schemas"]["SecretResponseDto"][];
9776
+ };
9821
9777
  };
9822
9778
  };
9823
9779
  };
9824
- ContextController_handleMcp_put: {
9780
+ SecretsController_createSecret: {
9825
9781
  parameters: {
9826
9782
  query?: never;
9827
9783
  header?: never;
9828
9784
  path?: never;
9829
9785
  cookie?: never;
9830
9786
  };
9831
- requestBody?: never;
9787
+ requestBody: {
9788
+ content: {
9789
+ "application/json": components["schemas"]["CreateSecretDto"];
9790
+ };
9791
+ };
9832
9792
  responses: {
9833
- 200: {
9793
+ /** @description Secret created successfully */
9794
+ 201: {
9834
9795
  headers: {
9835
9796
  [name: string]: unknown;
9836
9797
  };
9837
- content?: never;
9798
+ content: {
9799
+ "application/json": components["schemas"]["SecretResponseDto"];
9800
+ };
9838
9801
  };
9839
9802
  };
9840
9803
  };
9841
- ContextController_handleMcp_post: {
9804
+ SecretsController_getSecret: {
9842
9805
  parameters: {
9843
9806
  query?: never;
9844
9807
  header?: never;
9845
- path?: never;
9808
+ path: {
9809
+ /** @description Secret identifier */
9810
+ id: string;
9811
+ };
9846
9812
  cookie?: never;
9847
9813
  };
9848
9814
  requestBody?: never;
9849
9815
  responses: {
9816
+ /** @description Secret metadata */
9850
9817
  200: {
9818
+ headers: {
9819
+ [name: string]: unknown;
9820
+ };
9821
+ content: {
9822
+ "application/json": components["schemas"]["SecretResponseDto"];
9823
+ };
9824
+ };
9825
+ /** @description Secret not found */
9826
+ 404: {
9851
9827
  headers: {
9852
9828
  [name: string]: unknown;
9853
9829
  };
@@ -9855,33 +9831,27 @@ export interface operations {
9855
9831
  };
9856
9832
  };
9857
9833
  };
9858
- ContextController_handleMcp_delete: {
9834
+ SecretsController_deleteSecret: {
9859
9835
  parameters: {
9860
9836
  query?: never;
9861
9837
  header?: never;
9862
- path?: never;
9838
+ path: {
9839
+ /** @description Secret identifier */
9840
+ id: string;
9841
+ };
9863
9842
  cookie?: never;
9864
9843
  };
9865
9844
  requestBody?: never;
9866
9845
  responses: {
9867
- 200: {
9846
+ /** @description Secret deleted successfully */
9847
+ 204: {
9868
9848
  headers: {
9869
9849
  [name: string]: unknown;
9870
9850
  };
9871
9851
  content?: never;
9872
9852
  };
9873
- };
9874
- };
9875
- ContextController_handleMcp_options: {
9876
- parameters: {
9877
- query?: never;
9878
- header?: never;
9879
- path?: never;
9880
- cookie?: never;
9881
- };
9882
- requestBody?: never;
9883
- responses: {
9884
- 200: {
9853
+ /** @description Secret not found */
9854
+ 404: {
9885
9855
  headers: {
9886
9856
  [name: string]: unknown;
9887
9857
  };
@@ -9889,16 +9859,33 @@ export interface operations {
9889
9859
  };
9890
9860
  };
9891
9861
  };
9892
- ContextController_handleMcp_head: {
9862
+ SecretsController_updateSecret: {
9893
9863
  parameters: {
9894
9864
  query?: never;
9895
9865
  header?: never;
9896
- path?: never;
9866
+ path: {
9867
+ /** @description Secret identifier */
9868
+ id: string;
9869
+ };
9897
9870
  cookie?: never;
9898
9871
  };
9899
- requestBody?: never;
9872
+ requestBody: {
9873
+ content: {
9874
+ "application/json": components["schemas"]["UpdateSecretDto"];
9875
+ };
9876
+ };
9900
9877
  responses: {
9878
+ /** @description Secret updated successfully */
9901
9879
  200: {
9880
+ headers: {
9881
+ [name: string]: unknown;
9882
+ };
9883
+ content: {
9884
+ "application/json": components["schemas"]["SecretResponseDto"];
9885
+ };
9886
+ };
9887
+ /** @description Secret not found */
9888
+ 404: {
9902
9889
  headers: {
9903
9890
  [name: string]: unknown;
9904
9891
  };
@@ -9906,16 +9893,29 @@ export interface operations {
9906
9893
  };
9907
9894
  };
9908
9895
  };
9909
- ContextController_handleMcp_patch: {
9896
+ SecretsController_getSecretValue: {
9910
9897
  parameters: {
9911
9898
  query?: never;
9912
9899
  header?: never;
9913
- path?: never;
9900
+ path: {
9901
+ /** @description Secret identifier */
9902
+ id: string;
9903
+ };
9914
9904
  cookie?: never;
9915
9905
  };
9916
9906
  requestBody?: never;
9917
9907
  responses: {
9908
+ /** @description Decrypted secret value */
9918
9909
  200: {
9910
+ headers: {
9911
+ [name: string]: unknown;
9912
+ };
9913
+ content: {
9914
+ "application/json": components["schemas"]["SecretValueResponseDto"];
9915
+ };
9916
+ };
9917
+ /** @description Secret not found */
9918
+ 404: {
9919
9919
  headers: {
9920
9920
  [name: string]: unknown;
9921
9921
  };