@inkeep/agents-manage-api 0.19.0 → 0.19.1

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/dist/index.cjs CHANGED
@@ -142,7 +142,7 @@ app.openapi(
142
142
  description: "List of agents retrieved successfully",
143
143
  content: {
144
144
  "application/json": {
145
- schema: agentsCore.ListResponseSchema(agentsCore.AgentApiSelectSchema)
145
+ schema: agentsCore.AgentListResponse
146
146
  }
147
147
  }
148
148
  },
@@ -180,7 +180,7 @@ app.openapi(
180
180
  description: "Agent found",
181
181
  content: {
182
182
  "application/json": {
183
- schema: agentsCore.SingleResponseSchema(agentsCore.AgentApiSelectSchema)
183
+ schema: agentsCore.AgentResponse
184
184
  }
185
185
  }
186
186
  },
@@ -308,7 +308,7 @@ app.openapi(
308
308
  description: "Agent created successfully",
309
309
  content: {
310
310
  "application/json": {
311
- schema: agentsCore.SingleResponseSchema(agentsCore.AgentApiSelectSchema)
311
+ schema: agentsCore.AgentResponse
312
312
  }
313
313
  }
314
314
  },
@@ -351,7 +351,7 @@ app.openapi(
351
351
  description: "Agent updated successfully",
352
352
  content: {
353
353
  "application/json": {
354
- schema: agentsCore.SingleResponseSchema(agentsCore.AgentApiSelectSchema)
354
+ schema: agentsCore.AgentResponse
355
355
  }
356
356
  }
357
357
  },
@@ -436,7 +436,7 @@ app2.openapi(
436
436
  description: "List of API keys retrieved successfully",
437
437
  content: {
438
438
  "application/json": {
439
- schema: agentsCore.ListResponseSchema(agentsCore.ApiKeyApiSelectSchema)
439
+ schema: agentsCore.ApiKeyListResponse
440
440
  }
441
441
  }
442
442
  },
@@ -476,7 +476,7 @@ app2.openapi(
476
476
  description: "API key found",
477
477
  content: {
478
478
  "application/json": {
479
- schema: agentsCore.SingleResponseSchema(agentsCore.ApiKeyApiSelectSchema)
479
+ schema: agentsCore.ApiKeyResponse
480
480
  }
481
481
  }
482
482
  },
@@ -598,7 +598,7 @@ app2.openapi(
598
598
  description: "API key updated successfully",
599
599
  content: {
600
600
  "application/json": {
601
- schema: agentsCore.SingleResponseSchema(agentsCore.ApiKeyApiSelectSchema)
601
+ schema: agentsCore.ApiKeyResponse
602
602
  }
603
603
  }
604
604
  },
@@ -690,7 +690,7 @@ app3.openapi(
690
690
  description: "List of artifact components retrieved successfully",
691
691
  content: {
692
692
  "application/json": {
693
- schema: agentsCore.ListResponseSchema(agentsCore.ArtifactComponentApiSelectSchema)
693
+ schema: agentsCore.ArtifactComponentListResponse
694
694
  }
695
695
  }
696
696
  },
@@ -723,7 +723,7 @@ app3.openapi(
723
723
  description: "Artifact component found",
724
724
  content: {
725
725
  "application/json": {
726
- schema: agentsCore.SingleResponseSchema(agentsCore.ArtifactComponentApiSelectSchema)
726
+ schema: agentsCore.ArtifactComponentResponse
727
727
  }
728
728
  }
729
729
  },
@@ -767,7 +767,7 @@ app3.openapi(
767
767
  description: "Artifact component created successfully",
768
768
  content: {
769
769
  "application/json": {
770
- schema: agentsCore.SingleResponseSchema(agentsCore.ArtifactComponentApiSelectSchema)
770
+ schema: agentsCore.ArtifactComponentResponse
771
771
  }
772
772
  }
773
773
  },
@@ -834,7 +834,7 @@ app3.openapi(
834
834
  description: "Artifact component updated successfully",
835
835
  content: {
836
836
  "application/json": {
837
- schema: agentsCore.SingleResponseSchema(agentsCore.ArtifactComponentApiSelectSchema)
837
+ schema: agentsCore.ArtifactComponentResponse
838
838
  }
839
839
  }
840
840
  },
@@ -935,7 +935,7 @@ app4.openapi(
935
935
  description: "List of context configurations retrieved successfully",
936
936
  content: {
937
937
  "application/json": {
938
- schema: agentsCore.ListResponseSchema(agentsCore.ContextConfigApiSelectSchema)
938
+ schema: agentsCore.ContextConfigListResponse
939
939
  }
940
940
  }
941
941
  },
@@ -968,7 +968,7 @@ app4.openapi(
968
968
  description: "Context configuration found",
969
969
  content: {
970
970
  "application/json": {
971
- schema: agentsCore.SingleResponseSchema(agentsCore.ContextConfigApiSelectSchema)
971
+ schema: agentsCore.ContextConfigResponse
972
972
  }
973
973
  }
974
974
  },
@@ -1012,7 +1012,7 @@ app4.openapi(
1012
1012
  description: "Context configuration created successfully",
1013
1013
  content: {
1014
1014
  "application/json": {
1015
- schema: agentsCore.SingleResponseSchema(agentsCore.ContextConfigApiSelectSchema)
1015
+ schema: agentsCore.ContextConfigResponse
1016
1016
  }
1017
1017
  }
1018
1018
  },
@@ -1054,7 +1054,7 @@ app4.openapi(
1054
1054
  description: "Context configuration updated successfully",
1055
1055
  content: {
1056
1056
  "application/json": {
1057
- schema: agentsCore.SingleResponseSchema(agentsCore.ContextConfigApiSelectSchema)
1057
+ schema: agentsCore.ContextConfigResponse
1058
1058
  }
1059
1059
  }
1060
1060
  },
@@ -1128,7 +1128,7 @@ app5.openapi(
1128
1128
  description: "List of credentials retrieved successfully",
1129
1129
  content: {
1130
1130
  "application/json": {
1131
- schema: agentsCore.ListResponseSchema(agentsCore.CredentialReferenceApiSelectSchema)
1131
+ schema: agentsCore.CredentialReferenceListResponse
1132
1132
  }
1133
1133
  }
1134
1134
  },
@@ -1162,7 +1162,7 @@ app5.openapi(
1162
1162
  description: "Credential found",
1163
1163
  content: {
1164
1164
  "application/json": {
1165
- schema: agentsCore.SingleResponseSchema(agentsCore.CredentialReferenceApiSelectSchema)
1165
+ schema: agentsCore.CredentialReferenceResponse
1166
1166
  }
1167
1167
  }
1168
1168
  },
@@ -1207,7 +1207,7 @@ app5.openapi(
1207
1207
  description: "Credential created successfully",
1208
1208
  content: {
1209
1209
  "application/json": {
1210
- schema: agentsCore.SingleResponseSchema(agentsCore.CredentialReferenceApiSelectSchema)
1210
+ schema: agentsCore.CredentialReferenceResponse
1211
1211
  }
1212
1212
  }
1213
1213
  },
@@ -1249,7 +1249,7 @@ app5.openapi(
1249
1249
  description: "Credential updated successfully",
1250
1250
  content: {
1251
1251
  "application/json": {
1252
- schema: agentsCore.SingleResponseSchema(agentsCore.CredentialReferenceApiSelectSchema)
1252
+ schema: agentsCore.CredentialReferenceResponse
1253
1253
  }
1254
1254
  }
1255
1255
  },
@@ -1363,7 +1363,7 @@ app6.openapi(
1363
1363
  description: "List of data components retrieved successfully",
1364
1364
  content: {
1365
1365
  "application/json": {
1366
- schema: agentsCore.ListResponseSchema(agentsCore.DataComponentApiSelectSchema)
1366
+ schema: agentsCore.DataComponentListResponse
1367
1367
  }
1368
1368
  }
1369
1369
  },
@@ -1396,7 +1396,7 @@ app6.openapi(
1396
1396
  description: "Data component found",
1397
1397
  content: {
1398
1398
  "application/json": {
1399
- schema: agentsCore.SingleResponseSchema(agentsCore.DataComponentApiSelectSchema)
1399
+ schema: agentsCore.DataComponentResponse
1400
1400
  }
1401
1401
  }
1402
1402
  },
@@ -1440,7 +1440,7 @@ app6.openapi(
1440
1440
  description: "Data component created successfully",
1441
1441
  content: {
1442
1442
  "application/json": {
1443
- schema: agentsCore.SingleResponseSchema(agentsCore.DataComponentApiSelectSchema)
1443
+ schema: agentsCore.DataComponentResponse
1444
1444
  }
1445
1445
  }
1446
1446
  },
@@ -1491,7 +1491,7 @@ app6.openapi(
1491
1491
  description: "Data component updated successfully",
1492
1492
  content: {
1493
1493
  "application/json": {
1494
- schema: agentsCore.SingleResponseSchema(agentsCore.DataComponentApiSelectSchema)
1494
+ schema: agentsCore.DataComponentResponse
1495
1495
  }
1496
1496
  }
1497
1497
  },
@@ -1582,7 +1582,7 @@ app7.openapi(
1582
1582
  description: "List of external agents retrieved successfully",
1583
1583
  content: {
1584
1584
  "application/json": {
1585
- schema: agentsCore.ListResponseSchema(agentsCore.ExternalAgentApiSelectSchema)
1585
+ schema: agentsCore.ExternalAgentListResponse
1586
1586
  }
1587
1587
  }
1588
1588
  },
@@ -1621,7 +1621,7 @@ app7.openapi(
1621
1621
  description: "External agent found",
1622
1622
  content: {
1623
1623
  "application/json": {
1624
- schema: agentsCore.SingleResponseSchema(agentsCore.ExternalAgentApiSelectSchema)
1624
+ schema: agentsCore.ExternalAgentResponse
1625
1625
  }
1626
1626
  }
1627
1627
  },
@@ -1669,7 +1669,7 @@ app7.openapi(
1669
1669
  description: "External agent created successfully",
1670
1670
  content: {
1671
1671
  "application/json": {
1672
- schema: agentsCore.SingleResponseSchema(agentsCore.ExternalAgentApiSelectSchema)
1672
+ schema: agentsCore.ExternalAgentResponse
1673
1673
  }
1674
1674
  }
1675
1675
  },
@@ -1720,7 +1720,7 @@ app7.openapi(
1720
1720
  description: "External agent updated successfully",
1721
1721
  content: {
1722
1722
  "application/json": {
1723
- schema: agentsCore.SingleResponseSchema(agentsCore.ExternalAgentApiSelectSchema)
1723
+ schema: agentsCore.ExternalAgentResponse
1724
1724
  }
1725
1725
  }
1726
1726
  },
@@ -1806,7 +1806,7 @@ app8.openapi(
1806
1806
  description: "List of functions",
1807
1807
  content: {
1808
1808
  "application/json": {
1809
- schema: agentsCore.ListResponseSchema(agentsCore.FunctionApiSelectSchema)
1809
+ schema: agentsCore.FunctionListResponse
1810
1810
  }
1811
1811
  }
1812
1812
  },
@@ -1850,7 +1850,7 @@ app8.openapi(
1850
1850
  description: "Function details",
1851
1851
  content: {
1852
1852
  "application/json": {
1853
- schema: agentsCore.SingleResponseSchema(agentsCore.FunctionApiSelectSchema)
1853
+ schema: agentsCore.FunctionResponse
1854
1854
  }
1855
1855
  }
1856
1856
  },
@@ -1902,7 +1902,7 @@ app8.openapi(
1902
1902
  description: "Function created",
1903
1903
  content: {
1904
1904
  "application/json": {
1905
- schema: agentsCore.SingleResponseSchema(agentsCore.FunctionApiSelectSchema)
1905
+ schema: agentsCore.FunctionResponse
1906
1906
  }
1907
1907
  }
1908
1908
  },
@@ -1958,7 +1958,7 @@ app8.openapi(
1958
1958
  description: "Function updated",
1959
1959
  content: {
1960
1960
  "application/json": {
1961
- schema: agentsCore.SingleResponseSchema(agentsCore.FunctionApiSelectSchema)
1961
+ schema: agentsCore.FunctionResponse
1962
1962
  }
1963
1963
  }
1964
1964
  },
@@ -2569,7 +2569,7 @@ app11.openapi(
2569
2569
  description: "List of projects retrieved successfully",
2570
2570
  content: {
2571
2571
  "application/json": {
2572
- schema: agentsCore.ListResponseSchema(agentsCore.ProjectApiSelectSchema)
2572
+ schema: agentsCore.ProjectListResponse
2573
2573
  }
2574
2574
  }
2575
2575
  },
@@ -2603,7 +2603,7 @@ app11.openapi(
2603
2603
  description: "Project found",
2604
2604
  content: {
2605
2605
  "application/json": {
2606
- schema: agentsCore.SingleResponseSchema(agentsCore.ProjectApiSelectSchema)
2606
+ schema: agentsCore.ProjectResponse
2607
2607
  }
2608
2608
  }
2609
2609
  },
@@ -2645,7 +2645,7 @@ app11.openapi(
2645
2645
  description: "Project created successfully",
2646
2646
  content: {
2647
2647
  "application/json": {
2648
- schema: agentsCore.SingleResponseSchema(agentsCore.ProjectApiSelectSchema)
2648
+ schema: agentsCore.ProjectResponse
2649
2649
  }
2650
2650
  }
2651
2651
  },
@@ -2703,7 +2703,7 @@ app11.openapi(
2703
2703
  description: "Project updated successfully",
2704
2704
  content: {
2705
2705
  "application/json": {
2706
- schema: agentsCore.SingleResponseSchema(agentsCore.ProjectApiSelectSchema)
2706
+ schema: agentsCore.ProjectResponse
2707
2707
  }
2708
2708
  }
2709
2709
  },
@@ -3540,7 +3540,7 @@ app15.openapi(
3540
3540
  description: "List of subAgents retrieved successfully",
3541
3541
  content: {
3542
3542
  "application/json": {
3543
- schema: agentsCore.ListResponseSchema(agentsCore.SubAgentApiSelectSchema)
3543
+ schema: agentsCore.SubAgentListResponse
3544
3544
  }
3545
3545
  }
3546
3546
  },
@@ -3580,7 +3580,7 @@ app15.openapi(
3580
3580
  description: "SubAgent found",
3581
3581
  content: {
3582
3582
  "application/json": {
3583
- schema: agentsCore.SingleResponseSchema(agentsCore.SubAgentApiSelectSchema)
3583
+ schema: agentsCore.SubAgentResponse
3584
3584
  }
3585
3585
  }
3586
3586
  },
@@ -3628,7 +3628,7 @@ app15.openapi(
3628
3628
  description: "SubAgent created successfully",
3629
3629
  content: {
3630
3630
  "application/json": {
3631
- schema: agentsCore.SingleResponseSchema(agentsCore.SubAgentApiSelectSchema)
3631
+ schema: agentsCore.SubAgentResponse
3632
3632
  }
3633
3633
  }
3634
3634
  },
@@ -3675,7 +3675,7 @@ app15.openapi(
3675
3675
  description: "SubAgent updated successfully",
3676
3676
  content: {
3677
3677
  "application/json": {
3678
- schema: agentsCore.SingleResponseSchema(agentsCore.SubAgentApiSelectSchema)
3678
+ schema: agentsCore.SubAgentResponse
3679
3679
  }
3680
3680
  }
3681
3681
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { loadEnvironmentFiles, getLogger, createDatabaseClient, commonGetErrorResponses, ListResponseSchema, PaginationQueryParamsSchema, TenantProjectParamsSchema, AgentApiSelectSchema, listAgents, SingleResponseSchema, TenantProjectIdParamsSchema, getAgentById, createApiError, getAgentSubAgentInfos, TenantProjectAgentParamsSchema, AgentWithinContextOfProjectSchema, getFullAgentDefinition, AgentApiInsertSchema, createAgent, AgentApiUpdateSchema, updateAgent, ErrorResponseSchema, deleteAgent, ApiKeyApiSelectSchema, listApiKeysPaginated, getApiKeyById, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, generateApiKey, createApiKey, ApiKeyApiUpdateSchema, updateApiKey, deleteApiKey, ArtifactComponentApiSelectSchema, listArtifactComponentsPaginated, getArtifactComponentById, ArtifactComponentApiInsertSchema, validatePropsAsJsonSchema, createArtifactComponent, ArtifactComponentApiUpdateSchema, updateArtifactComponent, deleteArtifactComponent, ContextConfigApiSelectSchema, listContextConfigsPaginated, TenantProjectAgentIdParamsSchema, getContextConfigById, ContextConfigApiInsertSchema, createContextConfig, commonUpdateErrorResponses, ContextConfigApiUpdateSchema, updateContextConfig, commonDeleteErrorResponses, deleteContextConfig, CredentialReferenceApiSelectSchema, listCredentialReferencesPaginated, getCredentialReferenceWithTools, CredentialReferenceApiInsertSchema, createCredentialReference, CredentialReferenceApiUpdateSchema, updateCredentialReference, getCredentialReferenceById, getCredentialStoreLookupKeyFromRetrievalParams, deleteCredentialReference, DataComponentApiSelectSchema, listDataComponentsPaginated, getDataComponent, DataComponentApiInsertSchema, createDataComponent, DataComponentApiUpdateSchema, updateDataComponent, deleteDataComponent, ExternalAgentApiSelectSchema, listExternalAgentsPaginated, getExternalAgent, ExternalAgentApiInsertSchema, createExternalAgent, ExternalAgentApiUpdateSchema, updateExternalAgent, deleteExternalAgent, FunctionApiSelectSchema, listFunctions, getFunction, FunctionApiInsertSchema, upsertFunction, FunctionApiUpdateSchema, deleteFunction, FunctionToolApiSelectSchema, listFunctionTools, getFunctionToolById, FunctionToolApiInsertSchema, createFunctionTool, FunctionToolApiUpdateSchema, updateFunctionTool, deleteFunctionTool, createFullAgentServerSide, getFullAgent, updateFullAgentServerSide, deleteFullAgent, TenantParamsSchema, ProjectApiSelectSchema, listProjectsPaginated, TenantIdParamsSchema, getProject, ProjectApiInsertSchema, createProject, ProjectApiUpdateSchema, updateProject, deleteProject, getArtifactComponentsForAgent, getAgentsUsingArtifactComponent, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, getSubAgentById, isArtifactComponentAssociatedWithAgent, associateArtifactComponentWithAgent, RemovedResponseSchema, removeArtifactComponentFromAgent, ExistsResponseSchema, getDataComponentsForAgent, getAgentsUsingDataComponent, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, isDataComponentAssociatedWithAgent, associateDataComponentWithAgent, removeDataComponentFromAgent, SubAgentRelationApiSelectSchema, SubAgentRelationQuerySchema, getAgentRelationsBySource, getAgentRelationsByTarget, getExternalAgentRelations, listAgentRelations, getAgentRelationById, SubAgentRelationApiInsertSchema, validateExternalAgent, validateInternalSubAgent, createSubAgentRelation, SubAgentRelationApiUpdateSchema, updateAgentRelation, deleteSubAgentRelation, SubAgentApiSelectSchema, listSubAgentsPaginated, SubAgentApiInsertSchema, createSubAgent, SubAgentApiUpdateSchema, updateSubAgent, deleteSubAgent, SubAgentToolRelationApiSelectSchema, getAgentToolRelationByAgent, getAgentToolRelationByTool, listAgentToolRelations, getAgentToolRelationById, getAgentsForTool, SubAgentToolRelationApiInsertSchema, createAgentToolRelation, SubAgentToolRelationApiUpdateSchema, updateAgentToolRelation, deleteAgentToolRelation, McpToolSchema, ToolStatusSchema, listTools, dbResultToMcpTool, getToolById, ToolApiInsertSchema, createTool, ToolApiUpdateSchema, updateTool, deleteTool, CredentialStoreType, generateIdFromName, FullProjectDefinitionSchema, createFullProjectServerSide, getFullProject, updateFullProjectServerSide, deleteFullProject, createDefaultCredentialStores, CredentialStoreRegistry, discoverOAuthEndpoints, handleApiError } from '@inkeep/agents-core';
1
+ import { loadEnvironmentFiles, getLogger, createDatabaseClient, commonGetErrorResponses, AgentListResponse, PaginationQueryParamsSchema, TenantProjectParamsSchema, listAgents, AgentResponse, TenantProjectIdParamsSchema, getAgentById, createApiError, ListResponseSchema, getAgentSubAgentInfos, SingleResponseSchema, TenantProjectAgentParamsSchema, AgentWithinContextOfProjectSchema, getFullAgentDefinition, AgentApiInsertSchema, createAgent, AgentApiUpdateSchema, updateAgent, ErrorResponseSchema, deleteAgent, ApiKeyListResponse, listApiKeysPaginated, ApiKeyResponse, getApiKeyById, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, generateApiKey, createApiKey, ApiKeyApiUpdateSchema, updateApiKey, deleteApiKey, ArtifactComponentListResponse, listArtifactComponentsPaginated, ArtifactComponentResponse, getArtifactComponentById, ArtifactComponentApiInsertSchema, validatePropsAsJsonSchema, createArtifactComponent, ArtifactComponentApiUpdateSchema, updateArtifactComponent, deleteArtifactComponent, ContextConfigListResponse, listContextConfigsPaginated, ContextConfigResponse, TenantProjectAgentIdParamsSchema, getContextConfigById, ContextConfigApiInsertSchema, createContextConfig, commonUpdateErrorResponses, ContextConfigApiUpdateSchema, updateContextConfig, commonDeleteErrorResponses, deleteContextConfig, CredentialReferenceListResponse, listCredentialReferencesPaginated, CredentialReferenceApiSelectSchema, CredentialReferenceResponse, getCredentialReferenceWithTools, CredentialReferenceApiInsertSchema, createCredentialReference, CredentialReferenceApiUpdateSchema, updateCredentialReference, getCredentialReferenceById, getCredentialStoreLookupKeyFromRetrievalParams, deleteCredentialReference, DataComponentListResponse, listDataComponentsPaginated, DataComponentResponse, getDataComponent, DataComponentApiInsertSchema, createDataComponent, DataComponentApiUpdateSchema, updateDataComponent, deleteDataComponent, ExternalAgentListResponse, listExternalAgentsPaginated, ExternalAgentResponse, getExternalAgent, ExternalAgentApiInsertSchema, createExternalAgent, ExternalAgentApiUpdateSchema, updateExternalAgent, deleteExternalAgent, FunctionListResponse, listFunctions, FunctionResponse, getFunction, FunctionApiInsertSchema, upsertFunction, FunctionApiUpdateSchema, deleteFunction, FunctionToolApiSelectSchema, listFunctionTools, getFunctionToolById, FunctionToolApiInsertSchema, createFunctionTool, FunctionToolApiUpdateSchema, updateFunctionTool, deleteFunctionTool, createFullAgentServerSide, getFullAgent, updateFullAgentServerSide, deleteFullAgent, ProjectListResponse, TenantParamsSchema, listProjectsPaginated, ProjectResponse, TenantIdParamsSchema, getProject, ProjectApiInsertSchema, createProject, ProjectApiUpdateSchema, updateProject, deleteProject, ArtifactComponentApiSelectSchema, getArtifactComponentsForAgent, getAgentsUsingArtifactComponent, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, getSubAgentById, isArtifactComponentAssociatedWithAgent, associateArtifactComponentWithAgent, RemovedResponseSchema, removeArtifactComponentFromAgent, ExistsResponseSchema, DataComponentApiSelectSchema, getDataComponentsForAgent, getAgentsUsingDataComponent, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, isDataComponentAssociatedWithAgent, associateDataComponentWithAgent, removeDataComponentFromAgent, SubAgentRelationApiSelectSchema, SubAgentRelationQuerySchema, getAgentRelationsBySource, getAgentRelationsByTarget, getExternalAgentRelations, listAgentRelations, getAgentRelationById, SubAgentRelationApiInsertSchema, validateExternalAgent, validateInternalSubAgent, createSubAgentRelation, SubAgentRelationApiUpdateSchema, updateAgentRelation, deleteSubAgentRelation, SubAgentListResponse, listSubAgentsPaginated, SubAgentResponse, SubAgentApiInsertSchema, createSubAgent, SubAgentApiUpdateSchema, updateSubAgent, deleteSubAgent, SubAgentToolRelationApiSelectSchema, getAgentToolRelationByAgent, getAgentToolRelationByTool, listAgentToolRelations, getAgentToolRelationById, getAgentsForTool, SubAgentToolRelationApiInsertSchema, createAgentToolRelation, SubAgentToolRelationApiUpdateSchema, updateAgentToolRelation, deleteAgentToolRelation, McpToolSchema, ToolStatusSchema, listTools, dbResultToMcpTool, getToolById, ToolApiInsertSchema, createTool, ToolApiUpdateSchema, updateTool, deleteTool, CredentialStoreType, generateIdFromName, FullProjectDefinitionSchema, createFullProjectServerSide, getFullProject, updateFullProjectServerSide, deleteFullProject, createDefaultCredentialStores, CredentialStoreRegistry, discoverOAuthEndpoints, handleApiError } from '@inkeep/agents-core';
2
2
  import { OpenAPIHono, createRoute, z as z$1 } from '@hono/zod-openapi';
3
3
  import { Hono } from 'hono';
4
4
  import { cors } from 'hono/cors';
@@ -138,7 +138,7 @@ app.openapi(
138
138
  description: "List of agents retrieved successfully",
139
139
  content: {
140
140
  "application/json": {
141
- schema: ListResponseSchema(AgentApiSelectSchema)
141
+ schema: AgentListResponse
142
142
  }
143
143
  }
144
144
  },
@@ -176,7 +176,7 @@ app.openapi(
176
176
  description: "Agent found",
177
177
  content: {
178
178
  "application/json": {
179
- schema: SingleResponseSchema(AgentApiSelectSchema)
179
+ schema: AgentResponse
180
180
  }
181
181
  }
182
182
  },
@@ -304,7 +304,7 @@ app.openapi(
304
304
  description: "Agent created successfully",
305
305
  content: {
306
306
  "application/json": {
307
- schema: SingleResponseSchema(AgentApiSelectSchema)
307
+ schema: AgentResponse
308
308
  }
309
309
  }
310
310
  },
@@ -347,7 +347,7 @@ app.openapi(
347
347
  description: "Agent updated successfully",
348
348
  content: {
349
349
  "application/json": {
350
- schema: SingleResponseSchema(AgentApiSelectSchema)
350
+ schema: AgentResponse
351
351
  }
352
352
  }
353
353
  },
@@ -432,7 +432,7 @@ app2.openapi(
432
432
  description: "List of API keys retrieved successfully",
433
433
  content: {
434
434
  "application/json": {
435
- schema: ListResponseSchema(ApiKeyApiSelectSchema)
435
+ schema: ApiKeyListResponse
436
436
  }
437
437
  }
438
438
  },
@@ -472,7 +472,7 @@ app2.openapi(
472
472
  description: "API key found",
473
473
  content: {
474
474
  "application/json": {
475
- schema: SingleResponseSchema(ApiKeyApiSelectSchema)
475
+ schema: ApiKeyResponse
476
476
  }
477
477
  }
478
478
  },
@@ -594,7 +594,7 @@ app2.openapi(
594
594
  description: "API key updated successfully",
595
595
  content: {
596
596
  "application/json": {
597
- schema: SingleResponseSchema(ApiKeyApiSelectSchema)
597
+ schema: ApiKeyResponse
598
598
  }
599
599
  }
600
600
  },
@@ -686,7 +686,7 @@ app3.openapi(
686
686
  description: "List of artifact components retrieved successfully",
687
687
  content: {
688
688
  "application/json": {
689
- schema: ListResponseSchema(ArtifactComponentApiSelectSchema)
689
+ schema: ArtifactComponentListResponse
690
690
  }
691
691
  }
692
692
  },
@@ -719,7 +719,7 @@ app3.openapi(
719
719
  description: "Artifact component found",
720
720
  content: {
721
721
  "application/json": {
722
- schema: SingleResponseSchema(ArtifactComponentApiSelectSchema)
722
+ schema: ArtifactComponentResponse
723
723
  }
724
724
  }
725
725
  },
@@ -763,7 +763,7 @@ app3.openapi(
763
763
  description: "Artifact component created successfully",
764
764
  content: {
765
765
  "application/json": {
766
- schema: SingleResponseSchema(ArtifactComponentApiSelectSchema)
766
+ schema: ArtifactComponentResponse
767
767
  }
768
768
  }
769
769
  },
@@ -830,7 +830,7 @@ app3.openapi(
830
830
  description: "Artifact component updated successfully",
831
831
  content: {
832
832
  "application/json": {
833
- schema: SingleResponseSchema(ArtifactComponentApiSelectSchema)
833
+ schema: ArtifactComponentResponse
834
834
  }
835
835
  }
836
836
  },
@@ -931,7 +931,7 @@ app4.openapi(
931
931
  description: "List of context configurations retrieved successfully",
932
932
  content: {
933
933
  "application/json": {
934
- schema: ListResponseSchema(ContextConfigApiSelectSchema)
934
+ schema: ContextConfigListResponse
935
935
  }
936
936
  }
937
937
  },
@@ -964,7 +964,7 @@ app4.openapi(
964
964
  description: "Context configuration found",
965
965
  content: {
966
966
  "application/json": {
967
- schema: SingleResponseSchema(ContextConfigApiSelectSchema)
967
+ schema: ContextConfigResponse
968
968
  }
969
969
  }
970
970
  },
@@ -1008,7 +1008,7 @@ app4.openapi(
1008
1008
  description: "Context configuration created successfully",
1009
1009
  content: {
1010
1010
  "application/json": {
1011
- schema: SingleResponseSchema(ContextConfigApiSelectSchema)
1011
+ schema: ContextConfigResponse
1012
1012
  }
1013
1013
  }
1014
1014
  },
@@ -1050,7 +1050,7 @@ app4.openapi(
1050
1050
  description: "Context configuration updated successfully",
1051
1051
  content: {
1052
1052
  "application/json": {
1053
- schema: SingleResponseSchema(ContextConfigApiSelectSchema)
1053
+ schema: ContextConfigResponse
1054
1054
  }
1055
1055
  }
1056
1056
  },
@@ -1124,7 +1124,7 @@ app5.openapi(
1124
1124
  description: "List of credentials retrieved successfully",
1125
1125
  content: {
1126
1126
  "application/json": {
1127
- schema: ListResponseSchema(CredentialReferenceApiSelectSchema)
1127
+ schema: CredentialReferenceListResponse
1128
1128
  }
1129
1129
  }
1130
1130
  },
@@ -1158,7 +1158,7 @@ app5.openapi(
1158
1158
  description: "Credential found",
1159
1159
  content: {
1160
1160
  "application/json": {
1161
- schema: SingleResponseSchema(CredentialReferenceApiSelectSchema)
1161
+ schema: CredentialReferenceResponse
1162
1162
  }
1163
1163
  }
1164
1164
  },
@@ -1203,7 +1203,7 @@ app5.openapi(
1203
1203
  description: "Credential created successfully",
1204
1204
  content: {
1205
1205
  "application/json": {
1206
- schema: SingleResponseSchema(CredentialReferenceApiSelectSchema)
1206
+ schema: CredentialReferenceResponse
1207
1207
  }
1208
1208
  }
1209
1209
  },
@@ -1245,7 +1245,7 @@ app5.openapi(
1245
1245
  description: "Credential updated successfully",
1246
1246
  content: {
1247
1247
  "application/json": {
1248
- schema: SingleResponseSchema(CredentialReferenceApiSelectSchema)
1248
+ schema: CredentialReferenceResponse
1249
1249
  }
1250
1250
  }
1251
1251
  },
@@ -1359,7 +1359,7 @@ app6.openapi(
1359
1359
  description: "List of data components retrieved successfully",
1360
1360
  content: {
1361
1361
  "application/json": {
1362
- schema: ListResponseSchema(DataComponentApiSelectSchema)
1362
+ schema: DataComponentListResponse
1363
1363
  }
1364
1364
  }
1365
1365
  },
@@ -1392,7 +1392,7 @@ app6.openapi(
1392
1392
  description: "Data component found",
1393
1393
  content: {
1394
1394
  "application/json": {
1395
- schema: SingleResponseSchema(DataComponentApiSelectSchema)
1395
+ schema: DataComponentResponse
1396
1396
  }
1397
1397
  }
1398
1398
  },
@@ -1436,7 +1436,7 @@ app6.openapi(
1436
1436
  description: "Data component created successfully",
1437
1437
  content: {
1438
1438
  "application/json": {
1439
- schema: SingleResponseSchema(DataComponentApiSelectSchema)
1439
+ schema: DataComponentResponse
1440
1440
  }
1441
1441
  }
1442
1442
  },
@@ -1487,7 +1487,7 @@ app6.openapi(
1487
1487
  description: "Data component updated successfully",
1488
1488
  content: {
1489
1489
  "application/json": {
1490
- schema: SingleResponseSchema(DataComponentApiSelectSchema)
1490
+ schema: DataComponentResponse
1491
1491
  }
1492
1492
  }
1493
1493
  },
@@ -1578,7 +1578,7 @@ app7.openapi(
1578
1578
  description: "List of external agents retrieved successfully",
1579
1579
  content: {
1580
1580
  "application/json": {
1581
- schema: ListResponseSchema(ExternalAgentApiSelectSchema)
1581
+ schema: ExternalAgentListResponse
1582
1582
  }
1583
1583
  }
1584
1584
  },
@@ -1617,7 +1617,7 @@ app7.openapi(
1617
1617
  description: "External agent found",
1618
1618
  content: {
1619
1619
  "application/json": {
1620
- schema: SingleResponseSchema(ExternalAgentApiSelectSchema)
1620
+ schema: ExternalAgentResponse
1621
1621
  }
1622
1622
  }
1623
1623
  },
@@ -1665,7 +1665,7 @@ app7.openapi(
1665
1665
  description: "External agent created successfully",
1666
1666
  content: {
1667
1667
  "application/json": {
1668
- schema: SingleResponseSchema(ExternalAgentApiSelectSchema)
1668
+ schema: ExternalAgentResponse
1669
1669
  }
1670
1670
  }
1671
1671
  },
@@ -1716,7 +1716,7 @@ app7.openapi(
1716
1716
  description: "External agent updated successfully",
1717
1717
  content: {
1718
1718
  "application/json": {
1719
- schema: SingleResponseSchema(ExternalAgentApiSelectSchema)
1719
+ schema: ExternalAgentResponse
1720
1720
  }
1721
1721
  }
1722
1722
  },
@@ -1802,7 +1802,7 @@ app8.openapi(
1802
1802
  description: "List of functions",
1803
1803
  content: {
1804
1804
  "application/json": {
1805
- schema: ListResponseSchema(FunctionApiSelectSchema)
1805
+ schema: FunctionListResponse
1806
1806
  }
1807
1807
  }
1808
1808
  },
@@ -1846,7 +1846,7 @@ app8.openapi(
1846
1846
  description: "Function details",
1847
1847
  content: {
1848
1848
  "application/json": {
1849
- schema: SingleResponseSchema(FunctionApiSelectSchema)
1849
+ schema: FunctionResponse
1850
1850
  }
1851
1851
  }
1852
1852
  },
@@ -1898,7 +1898,7 @@ app8.openapi(
1898
1898
  description: "Function created",
1899
1899
  content: {
1900
1900
  "application/json": {
1901
- schema: SingleResponseSchema(FunctionApiSelectSchema)
1901
+ schema: FunctionResponse
1902
1902
  }
1903
1903
  }
1904
1904
  },
@@ -1954,7 +1954,7 @@ app8.openapi(
1954
1954
  description: "Function updated",
1955
1955
  content: {
1956
1956
  "application/json": {
1957
- schema: SingleResponseSchema(FunctionApiSelectSchema)
1957
+ schema: FunctionResponse
1958
1958
  }
1959
1959
  }
1960
1960
  },
@@ -2565,7 +2565,7 @@ app11.openapi(
2565
2565
  description: "List of projects retrieved successfully",
2566
2566
  content: {
2567
2567
  "application/json": {
2568
- schema: ListResponseSchema(ProjectApiSelectSchema)
2568
+ schema: ProjectListResponse
2569
2569
  }
2570
2570
  }
2571
2571
  },
@@ -2599,7 +2599,7 @@ app11.openapi(
2599
2599
  description: "Project found",
2600
2600
  content: {
2601
2601
  "application/json": {
2602
- schema: SingleResponseSchema(ProjectApiSelectSchema)
2602
+ schema: ProjectResponse
2603
2603
  }
2604
2604
  }
2605
2605
  },
@@ -2641,7 +2641,7 @@ app11.openapi(
2641
2641
  description: "Project created successfully",
2642
2642
  content: {
2643
2643
  "application/json": {
2644
- schema: SingleResponseSchema(ProjectApiSelectSchema)
2644
+ schema: ProjectResponse
2645
2645
  }
2646
2646
  }
2647
2647
  },
@@ -2699,7 +2699,7 @@ app11.openapi(
2699
2699
  description: "Project updated successfully",
2700
2700
  content: {
2701
2701
  "application/json": {
2702
- schema: SingleResponseSchema(ProjectApiSelectSchema)
2702
+ schema: ProjectResponse
2703
2703
  }
2704
2704
  }
2705
2705
  },
@@ -3536,7 +3536,7 @@ app15.openapi(
3536
3536
  description: "List of subAgents retrieved successfully",
3537
3537
  content: {
3538
3538
  "application/json": {
3539
- schema: ListResponseSchema(SubAgentApiSelectSchema)
3539
+ schema: SubAgentListResponse
3540
3540
  }
3541
3541
  }
3542
3542
  },
@@ -3576,7 +3576,7 @@ app15.openapi(
3576
3576
  description: "SubAgent found",
3577
3577
  content: {
3578
3578
  "application/json": {
3579
- schema: SingleResponseSchema(SubAgentApiSelectSchema)
3579
+ schema: SubAgentResponse
3580
3580
  }
3581
3581
  }
3582
3582
  },
@@ -3624,7 +3624,7 @@ app15.openapi(
3624
3624
  description: "SubAgent created successfully",
3625
3625
  content: {
3626
3626
  "application/json": {
3627
- schema: SingleResponseSchema(SubAgentApiSelectSchema)
3627
+ schema: SubAgentResponse
3628
3628
  }
3629
3629
  }
3630
3630
  },
@@ -3671,7 +3671,7 @@ app15.openapi(
3671
3671
  description: "SubAgent updated successfully",
3672
3672
  content: {
3673
3673
  "application/json": {
3674
- schema: SingleResponseSchema(SubAgentApiSelectSchema)
3674
+ schema: SubAgentResponse
3675
3675
  }
3676
3676
  }
3677
3677
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-manage-api",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Agents Manage API for Inkeep Agent Framework - handles CRUD operations and OAuth",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "openid-client": "^6.6.4",
24
24
  "pino": "^9.7.0",
25
25
  "zod": "^4.1.11",
26
- "@inkeep/agents-core": "^0.19.0"
26
+ "@inkeep/agents-core": "^0.19.1"
27
27
  },
28
28
  "optionalDependencies": {
29
29
  "keytar": "^7.9.0"