@inkeep/agents-manage-api 0.33.1 → 0.33.2

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.
Files changed (3) hide show
  1. package/dist/index.cjs +106 -12
  2. package/dist/index.js +106 -12
  3. package/package.json +4 -4
package/dist/index.cjs CHANGED
@@ -84,6 +84,100 @@ function setupOpenAPIRoutes(app25) {
84
84
  url: serverUrl,
85
85
  description: "API Server"
86
86
  }
87
+ ],
88
+ tags: [
89
+ {
90
+ name: "Agent",
91
+ description: "Operations for managing individual agents"
92
+ },
93
+ {
94
+ name: "Agent Artifact Component Relations",
95
+ description: "Operations for managing agent artifact component relationships"
96
+ },
97
+ {
98
+ name: "Agent Data Component Relations",
99
+ description: "Operations for managing agent data component relationships"
100
+ },
101
+ {
102
+ name: "Agents",
103
+ description: "Operations for managing agents"
104
+ },
105
+ {
106
+ name: "API Keys",
107
+ description: "Operations for managing API keys"
108
+ },
109
+ {
110
+ name: "Artifact Component",
111
+ description: "Operations for managing artifact components"
112
+ },
113
+ {
114
+ name: "Context Config",
115
+ description: "Operations for managing context configurations"
116
+ },
117
+ {
118
+ name: "Credential",
119
+ description: "Operations for managing credentials"
120
+ },
121
+ {
122
+ name: "Credential Store",
123
+ description: "Operations for managing credential stores"
124
+ },
125
+ {
126
+ name: "Data Component",
127
+ description: "Operations for managing data components"
128
+ },
129
+ {
130
+ name: "External Agents",
131
+ description: "Operations for managing external agents"
132
+ },
133
+ {
134
+ name: "Full Agent",
135
+ description: "Operations for managing complete agent definitions"
136
+ },
137
+ {
138
+ name: "Full Project",
139
+ description: "Operations for managing complete project definitions"
140
+ },
141
+ {
142
+ name: "Function Tools",
143
+ description: "Operations for managing function tools"
144
+ },
145
+ {
146
+ name: "Functions",
147
+ description: "Operations for managing functions"
148
+ },
149
+ {
150
+ name: "OAuth",
151
+ description: "OAuth authentication endpoints for MCP tools"
152
+ },
153
+ {
154
+ name: "Projects",
155
+ description: "Operations for managing projects"
156
+ },
157
+ {
158
+ name: "Sub Agent External Agent Relations",
159
+ description: "Operations for managing sub agent external agent relationships"
160
+ },
161
+ {
162
+ name: "Sub Agent Relations",
163
+ description: "Operations for managing sub agent relationships"
164
+ },
165
+ {
166
+ name: "Sub Agent Team Agent Relations",
167
+ description: "Operations for managing sub agent team agent relationships"
168
+ },
169
+ {
170
+ name: "SubAgent",
171
+ description: "Operations for managing sub agents"
172
+ },
173
+ {
174
+ name: "SubAgent Tool Relations",
175
+ description: "Operations for managing sub agent tool relationships"
176
+ },
177
+ {
178
+ name: "Tools",
179
+ description: "Operations for managing MCP tools"
180
+ }
87
181
  ]
88
182
  });
89
183
  return c.json(document);
@@ -2418,7 +2512,7 @@ app11.openapi(
2418
2512
  app11.openapi(
2419
2513
  zodOpenapi.createRoute({
2420
2514
  method: "get",
2421
- path: "/:id",
2515
+ path: "/{id}",
2422
2516
  summary: "Get Function Tool by ID",
2423
2517
  operationId: "get-function-tool",
2424
2518
  tags: ["Function Tools"],
@@ -2517,7 +2611,7 @@ app11.openapi(
2517
2611
  app11.openapi(
2518
2612
  zodOpenapi.createRoute({
2519
2613
  method: "put",
2520
- path: "/:id",
2614
+ path: "/{id}",
2521
2615
  summary: "Update Function Tool",
2522
2616
  operationId: "update-function-tool",
2523
2617
  tags: ["Function Tools"],
@@ -2577,7 +2671,7 @@ app11.openapi(
2577
2671
  app11.openapi(
2578
2672
  zodOpenapi.createRoute({
2579
2673
  method: "delete",
2580
- path: "/:id",
2674
+ path: "/{id}",
2581
2675
  summary: "Delete Function Tool",
2582
2676
  operationId: "delete-function-tool",
2583
2677
  tags: ["Function Tools"],
@@ -2848,7 +2942,7 @@ var app13 = new zodOpenapi.OpenAPIHono();
2848
2942
  app13.openapi(
2849
2943
  zodOpenapi.createRoute({
2850
2944
  method: "get",
2851
- path: "/agent/:subAgentId",
2945
+ path: "/agent/{subAgentId}",
2852
2946
  summary: "Get Artifact Components for Agent",
2853
2947
  operationId: "get-artifact-components-for-agent",
2854
2948
  tags: ["Agent Artifact Component Relations"],
@@ -2880,7 +2974,7 @@ app13.openapi(
2880
2974
  app13.openapi(
2881
2975
  zodOpenapi.createRoute({
2882
2976
  method: "get",
2883
- path: "/component/:artifactComponentId/agents",
2977
+ path: "/component/{artifactComponentId}/agents",
2884
2978
  summary: "Get Agents Using Artifact Component",
2885
2979
  operationId: "get-agents-using-artifact-component",
2886
2980
  tags: ["Agent Artifact Component Relations"],
@@ -2990,7 +3084,7 @@ app13.openapi(
2990
3084
  app13.openapi(
2991
3085
  zodOpenapi.createRoute({
2992
3086
  method: "delete",
2993
- path: "/agent/:subAgentId/component/:artifactComponentId",
3087
+ path: "/agent/{subAgentId}/component/{artifactComponentId}",
2994
3088
  summary: "Remove Artifact Component from Agent",
2995
3089
  operationId: "remove-artifact-component-from-agent",
2996
3090
  tags: ["Agent Artifact Component Relations"],
@@ -3032,7 +3126,7 @@ app13.openapi(
3032
3126
  app13.openapi(
3033
3127
  zodOpenapi.createRoute({
3034
3128
  method: "get",
3035
- path: "/agent/:subAgentId/component/:artifactComponentId/exists",
3129
+ path: "/agent/{subAgentId}/component/{artifactComponentId}/exists",
3036
3130
  summary: "Check if Artifact Component is Associated with Agent",
3037
3131
  operationId: "check-artifact-component-agent-association",
3038
3132
  tags: ["Agent Artifact Component Relations"],
@@ -3067,7 +3161,7 @@ var app14 = new zodOpenapi.OpenAPIHono();
3067
3161
  app14.openapi(
3068
3162
  zodOpenapi.createRoute({
3069
3163
  method: "get",
3070
- path: "/agent/:subAgentId",
3164
+ path: "/agent/{subAgentId}",
3071
3165
  summary: "Get Data Components for Agent",
3072
3166
  operationId: "get-data-components-for-agent",
3073
3167
  tags: ["Agent Data Component Relations"],
@@ -3097,7 +3191,7 @@ app14.openapi(
3097
3191
  app14.openapi(
3098
3192
  zodOpenapi.createRoute({
3099
3193
  method: "get",
3100
- path: "/component/:dataComponentId/agents",
3194
+ path: "/component/{dataComponentId}/agents",
3101
3195
  summary: "Get Agents Using Data Component",
3102
3196
  operationId: "get-agents-using-data-component",
3103
3197
  tags: ["Agent Data Component Relations"],
@@ -3203,7 +3297,7 @@ app14.openapi(
3203
3297
  app14.openapi(
3204
3298
  zodOpenapi.createRoute({
3205
3299
  method: "delete",
3206
- path: "/agent/:subAgentId/component/:dataComponentId",
3300
+ path: "/agent/{subAgentId}/component/{dataComponentId}",
3207
3301
  summary: "Remove Data Component from Agent",
3208
3302
  operationId: "remove-data-component-from-agent",
3209
3303
  tags: ["Agent Data Component Relations"],
@@ -3245,7 +3339,7 @@ app14.openapi(
3245
3339
  app14.openapi(
3246
3340
  zodOpenapi.createRoute({
3247
3341
  method: "get",
3248
- path: "/agent/:subAgentId/component/:dataComponentId/exists",
3342
+ path: "/agent/{subAgentId}/component/{dataComponentId}/exists",
3249
3343
  summary: "Check if Data Component is Associated with Agent",
3250
3344
  operationId: "check-data-component-agent-association",
3251
3345
  tags: ["Agent Data Component Relations"],
@@ -5568,7 +5662,7 @@ function createManagementHono(serverConfig, credentialStores) {
5568
5662
  zodOpenapi.createRoute({
5569
5663
  method: "get",
5570
5664
  path: "/health",
5571
- tags: ["health"],
5665
+ operationId: "health",
5572
5666
  summary: "Health check",
5573
5667
  description: "Check if the management service is healthy",
5574
5668
  responses: {
package/dist/index.js CHANGED
@@ -80,6 +80,100 @@ function setupOpenAPIRoutes(app25) {
80
80
  url: serverUrl,
81
81
  description: "API Server"
82
82
  }
83
+ ],
84
+ tags: [
85
+ {
86
+ name: "Agent",
87
+ description: "Operations for managing individual agents"
88
+ },
89
+ {
90
+ name: "Agent Artifact Component Relations",
91
+ description: "Operations for managing agent artifact component relationships"
92
+ },
93
+ {
94
+ name: "Agent Data Component Relations",
95
+ description: "Operations for managing agent data component relationships"
96
+ },
97
+ {
98
+ name: "Agents",
99
+ description: "Operations for managing agents"
100
+ },
101
+ {
102
+ name: "API Keys",
103
+ description: "Operations for managing API keys"
104
+ },
105
+ {
106
+ name: "Artifact Component",
107
+ description: "Operations for managing artifact components"
108
+ },
109
+ {
110
+ name: "Context Config",
111
+ description: "Operations for managing context configurations"
112
+ },
113
+ {
114
+ name: "Credential",
115
+ description: "Operations for managing credentials"
116
+ },
117
+ {
118
+ name: "Credential Store",
119
+ description: "Operations for managing credential stores"
120
+ },
121
+ {
122
+ name: "Data Component",
123
+ description: "Operations for managing data components"
124
+ },
125
+ {
126
+ name: "External Agents",
127
+ description: "Operations for managing external agents"
128
+ },
129
+ {
130
+ name: "Full Agent",
131
+ description: "Operations for managing complete agent definitions"
132
+ },
133
+ {
134
+ name: "Full Project",
135
+ description: "Operations for managing complete project definitions"
136
+ },
137
+ {
138
+ name: "Function Tools",
139
+ description: "Operations for managing function tools"
140
+ },
141
+ {
142
+ name: "Functions",
143
+ description: "Operations for managing functions"
144
+ },
145
+ {
146
+ name: "OAuth",
147
+ description: "OAuth authentication endpoints for MCP tools"
148
+ },
149
+ {
150
+ name: "Projects",
151
+ description: "Operations for managing projects"
152
+ },
153
+ {
154
+ name: "Sub Agent External Agent Relations",
155
+ description: "Operations for managing sub agent external agent relationships"
156
+ },
157
+ {
158
+ name: "Sub Agent Relations",
159
+ description: "Operations for managing sub agent relationships"
160
+ },
161
+ {
162
+ name: "Sub Agent Team Agent Relations",
163
+ description: "Operations for managing sub agent team agent relationships"
164
+ },
165
+ {
166
+ name: "SubAgent",
167
+ description: "Operations for managing sub agents"
168
+ },
169
+ {
170
+ name: "SubAgent Tool Relations",
171
+ description: "Operations for managing sub agent tool relationships"
172
+ },
173
+ {
174
+ name: "Tools",
175
+ description: "Operations for managing MCP tools"
176
+ }
83
177
  ]
84
178
  });
85
179
  return c.json(document);
@@ -2414,7 +2508,7 @@ app11.openapi(
2414
2508
  app11.openapi(
2415
2509
  createRoute({
2416
2510
  method: "get",
2417
- path: "/:id",
2511
+ path: "/{id}",
2418
2512
  summary: "Get Function Tool by ID",
2419
2513
  operationId: "get-function-tool",
2420
2514
  tags: ["Function Tools"],
@@ -2513,7 +2607,7 @@ app11.openapi(
2513
2607
  app11.openapi(
2514
2608
  createRoute({
2515
2609
  method: "put",
2516
- path: "/:id",
2610
+ path: "/{id}",
2517
2611
  summary: "Update Function Tool",
2518
2612
  operationId: "update-function-tool",
2519
2613
  tags: ["Function Tools"],
@@ -2573,7 +2667,7 @@ app11.openapi(
2573
2667
  app11.openapi(
2574
2668
  createRoute({
2575
2669
  method: "delete",
2576
- path: "/:id",
2670
+ path: "/{id}",
2577
2671
  summary: "Delete Function Tool",
2578
2672
  operationId: "delete-function-tool",
2579
2673
  tags: ["Function Tools"],
@@ -2844,7 +2938,7 @@ var app13 = new OpenAPIHono();
2844
2938
  app13.openapi(
2845
2939
  createRoute({
2846
2940
  method: "get",
2847
- path: "/agent/:subAgentId",
2941
+ path: "/agent/{subAgentId}",
2848
2942
  summary: "Get Artifact Components for Agent",
2849
2943
  operationId: "get-artifact-components-for-agent",
2850
2944
  tags: ["Agent Artifact Component Relations"],
@@ -2876,7 +2970,7 @@ app13.openapi(
2876
2970
  app13.openapi(
2877
2971
  createRoute({
2878
2972
  method: "get",
2879
- path: "/component/:artifactComponentId/agents",
2973
+ path: "/component/{artifactComponentId}/agents",
2880
2974
  summary: "Get Agents Using Artifact Component",
2881
2975
  operationId: "get-agents-using-artifact-component",
2882
2976
  tags: ["Agent Artifact Component Relations"],
@@ -2986,7 +3080,7 @@ app13.openapi(
2986
3080
  app13.openapi(
2987
3081
  createRoute({
2988
3082
  method: "delete",
2989
- path: "/agent/:subAgentId/component/:artifactComponentId",
3083
+ path: "/agent/{subAgentId}/component/{artifactComponentId}",
2990
3084
  summary: "Remove Artifact Component from Agent",
2991
3085
  operationId: "remove-artifact-component-from-agent",
2992
3086
  tags: ["Agent Artifact Component Relations"],
@@ -3028,7 +3122,7 @@ app13.openapi(
3028
3122
  app13.openapi(
3029
3123
  createRoute({
3030
3124
  method: "get",
3031
- path: "/agent/:subAgentId/component/:artifactComponentId/exists",
3125
+ path: "/agent/{subAgentId}/component/{artifactComponentId}/exists",
3032
3126
  summary: "Check if Artifact Component is Associated with Agent",
3033
3127
  operationId: "check-artifact-component-agent-association",
3034
3128
  tags: ["Agent Artifact Component Relations"],
@@ -3063,7 +3157,7 @@ var app14 = new OpenAPIHono();
3063
3157
  app14.openapi(
3064
3158
  createRoute({
3065
3159
  method: "get",
3066
- path: "/agent/:subAgentId",
3160
+ path: "/agent/{subAgentId}",
3067
3161
  summary: "Get Data Components for Agent",
3068
3162
  operationId: "get-data-components-for-agent",
3069
3163
  tags: ["Agent Data Component Relations"],
@@ -3093,7 +3187,7 @@ app14.openapi(
3093
3187
  app14.openapi(
3094
3188
  createRoute({
3095
3189
  method: "get",
3096
- path: "/component/:dataComponentId/agents",
3190
+ path: "/component/{dataComponentId}/agents",
3097
3191
  summary: "Get Agents Using Data Component",
3098
3192
  operationId: "get-agents-using-data-component",
3099
3193
  tags: ["Agent Data Component Relations"],
@@ -3199,7 +3293,7 @@ app14.openapi(
3199
3293
  app14.openapi(
3200
3294
  createRoute({
3201
3295
  method: "delete",
3202
- path: "/agent/:subAgentId/component/:dataComponentId",
3296
+ path: "/agent/{subAgentId}/component/{dataComponentId}",
3203
3297
  summary: "Remove Data Component from Agent",
3204
3298
  operationId: "remove-data-component-from-agent",
3205
3299
  tags: ["Agent Data Component Relations"],
@@ -3241,7 +3335,7 @@ app14.openapi(
3241
3335
  app14.openapi(
3242
3336
  createRoute({
3243
3337
  method: "get",
3244
- path: "/agent/:subAgentId/component/:dataComponentId/exists",
3338
+ path: "/agent/{subAgentId}/component/{dataComponentId}/exists",
3245
3339
  summary: "Check if Data Component is Associated with Agent",
3246
3340
  operationId: "check-data-component-agent-association",
3247
3341
  tags: ["Agent Data Component Relations"],
@@ -5564,7 +5658,7 @@ function createManagementHono(serverConfig, credentialStores) {
5564
5658
  createRoute({
5565
5659
  method: "get",
5566
5660
  path: "/health",
5567
- tags: ["health"],
5661
+ operationId: "health",
5568
5662
  summary: "Health check",
5569
5663
  description: "Check if the management service is healthy",
5570
5664
  responses: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-manage-api",
3
- "version": "0.33.1",
3
+ "version": "0.33.2",
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,12 +23,13 @@
23
23
  "openid-client": "^6.6.4",
24
24
  "pino": "^9.7.0",
25
25
  "zod": "^4.1.11",
26
- "@inkeep/agents-core": "^0.33.1"
26
+ "@inkeep/agents-core": "^0.33.2"
27
27
  },
28
28
  "optionalDependencies": {
29
29
  "keytar": "^7.9.0"
30
30
  },
31
31
  "devDependencies": {
32
+ "@electric-sql/pglite": "^0.3.13",
32
33
  "@hono/vite-dev-server": "^0.20.1",
33
34
  "@types/node": "^20.11.24",
34
35
  "@vitest/coverage-v8": "^3.2.4",
@@ -38,8 +39,7 @@
38
39
  "typescript": "^5.3.3",
39
40
  "vite": "^7.1.11",
40
41
  "vite-tsconfig-paths": "^5.1.4",
41
- "vitest": "^3.2.4",
42
- "@electric-sql/pglite": "^0.3.13"
42
+ "vitest": "^3.2.4"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22.0.0"