@vfarcic/dot-ai 1.2.3 → 1.3.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/routes/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AA6I5E;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAsPjF,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAInE;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAEtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/routes/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAuL5E;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAC5C,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,CACR,EA6QA,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAInE;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAEtC"}
@@ -23,8 +23,16 @@ const ToolDiscoveryQuerySchema = zod_1.z.object({
23
23
  });
24
24
  const ResourceSearchQuerySchema = zod_1.z.object({
25
25
  q: zod_1.z.string().describe('Search query'),
26
- limit: zod_1.z.coerce.number().optional().default(20).describe('Maximum results to return'),
27
- offset: zod_1.z.coerce.number().optional().default(0).describe('Offset for pagination'),
26
+ limit: zod_1.z.coerce
27
+ .number()
28
+ .optional()
29
+ .default(20)
30
+ .describe('Maximum results to return'),
31
+ offset: zod_1.z.coerce
32
+ .number()
33
+ .optional()
34
+ .default(0)
35
+ .describe('Offset for pagination'),
28
36
  });
29
37
  const ResourceListQuerySchema = zod_1.z.object({
30
38
  kind: zod_1.z.string().describe('Resource kind (e.g., Pod, Deployment)'),
@@ -37,7 +45,10 @@ const SingleResourceQuerySchema = zod_1.z.object({
37
45
  kind: zod_1.z.string().describe('Resource kind'),
38
46
  apiVersion: zod_1.z.string().describe('API version'),
39
47
  name: zod_1.z.string().describe('Resource name'),
40
- namespace: zod_1.z.string().optional().describe('Namespace (for namespaced resources)'),
48
+ namespace: zod_1.z
49
+ .string()
50
+ .optional()
51
+ .describe('Namespace (for namespaced resources)'),
41
52
  });
42
53
  const ResourceKindsQuerySchema = zod_1.z.object({
43
54
  namespace: zod_1.z.string().optional().describe('Filter kinds by namespace'),
@@ -50,12 +61,21 @@ const EventsQuerySchema = zod_1.z.object({
50
61
  const LogsQuerySchema = zod_1.z.object({
51
62
  name: zod_1.z.string().describe('Pod name'),
52
63
  namespace: zod_1.z.string().describe('Pod namespace'),
53
- container: zod_1.z.string().optional().describe('Container name (defaults to first container)'),
64
+ container: zod_1.z
65
+ .string()
66
+ .optional()
67
+ .describe('Container name (defaults to first container)'),
54
68
  tailLines: zod_1.z.coerce.number().optional().describe('Number of lines from end'),
55
- previous: zod_1.z.coerce.boolean().optional().describe('Get logs from previous container instance'),
69
+ previous: zod_1.z.coerce
70
+ .boolean()
71
+ .optional()
72
+ .describe('Get logs from previous container instance'),
56
73
  });
57
74
  const VisualizationQuerySchema = zod_1.z.object({
58
- reload: zod_1.z.coerce.boolean().optional().describe('Force regeneration of visualization'),
75
+ reload: zod_1.z.coerce
76
+ .boolean()
77
+ .optional()
78
+ .describe('Force regeneration of visualization'),
59
79
  });
60
80
  /**
61
81
  * Path parameter schemas
@@ -70,17 +90,30 @@ const SessionIdParamsSchema = zod_1.z.object({
70
90
  sessionId: zod_1.z.string().describe('Session ID'),
71
91
  });
72
92
  const SourceIdentifierParamsSchema = zod_1.z.object({
73
- sourceIdentifier: zod_1.z.string().describe('Source identifier (e.g., namespace/name of GitKnowledgeSource CR)'),
93
+ sourceIdentifier: zod_1.z
94
+ .string()
95
+ .describe('Source identifier (e.g., namespace/name of GitKnowledgeSource CR)'),
74
96
  });
75
97
  const KnowledgeAskBodySchema = zod_1.z.object({
76
- query: zod_1.z.string().min(1).describe('The question to answer from the knowledge base'),
77
- limit: zod_1.z.coerce.number().optional().default(20).describe('Maximum chunks to retrieve per search (default: 20)'),
78
- uriFilter: zod_1.z.string().optional().describe('Optional: filter searches to specific document URI'),
98
+ query: zod_1.z
99
+ .string()
100
+ .min(1)
101
+ .describe('The question to answer from the knowledge base'),
102
+ limit: zod_1.z.coerce
103
+ .number()
104
+ .optional()
105
+ .default(20)
106
+ .describe('Maximum chunks to retrieve per search (default: 20)'),
107
+ uriFilter: zod_1.z
108
+ .string()
109
+ .optional()
110
+ .describe('Optional: filter searches to specific document URI'),
79
111
  });
80
112
  /**
81
113
  * OpenAPI schema placeholder - returns raw OpenAPI spec object
82
114
  */
83
- const OpenApiResponseSchema = zod_1.z.object({
115
+ const OpenApiResponseSchema = zod_1.z
116
+ .object({
84
117
  openapi: zod_1.z.string(),
85
118
  info: zod_1.z.object({
86
119
  title: zod_1.z.string(),
@@ -88,7 +121,8 @@ const OpenApiResponseSchema = zod_1.z.object({
88
121
  version: zod_1.z.string(),
89
122
  }),
90
123
  paths: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
91
- }).passthrough();
124
+ })
125
+ .passthrough();
92
126
  /**
93
127
  * All route definitions for the REST API
94
128
  */
@@ -330,6 +364,22 @@ exports.routeDefinitions = [
330
364
  500: schemas_1.KnowledgeAskErrorSchema,
331
365
  },
332
366
  },
367
+ // ============================================
368
+ // Embeddings Endpoint (PRD #384)
369
+ // ============================================
370
+ {
371
+ path: '/api/v1/embeddings/migrate',
372
+ method: 'POST',
373
+ description: 'Migrate embedding vectors when switching between embedding providers. Re-embeds all data using the current provider.',
374
+ tags: ['Embeddings'],
375
+ body: schemas_1.EmbeddingMigrationRequestSchema,
376
+ response: schemas_1.EmbeddingMigrationResponseSchema,
377
+ errorResponses: {
378
+ 400: schemas_1.EmbeddingMigrationBadRequestErrorSchema,
379
+ 503: schemas_1.EmbeddingMigrationServiceUnavailableErrorSchema,
380
+ 500: schemas_1.EmbeddingMigrationErrorSchema,
381
+ },
382
+ },
333
383
  ];
334
384
  /**
335
385
  * Register all routes with the provided registry
@@ -164,6 +164,7 @@ export declare const InternalServerErrorSchema: z.ZodObject<{
164
164
  PROMPT_GET_ERROR: "PROMPT_GET_ERROR";
165
165
  VISUALIZATION_ERROR: "VISUALIZATION_ERROR";
166
166
  SESSION_RETRIEVAL_ERROR: "SESSION_RETRIEVAL_ERROR";
167
+ MIGRATION_ERROR: "MIGRATION_ERROR";
167
168
  }>;
168
169
  }, z.core.$strip>;
169
170
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/interfaces/schemas/common.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,UAAU;;;;iBAOrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;iBAOhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAA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;;;;;;iBAI9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;iBAI9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;iBAUhC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;iBAItC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;iBASxC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBpC,CAAC"}
@@ -109,6 +109,7 @@ exports.InternalServerErrorSchema = exports.ErrorResponseSchema.extend({
109
109
  'PROMPT_GET_ERROR',
110
110
  'VISUALIZATION_ERROR',
111
111
  'SESSION_RETRIEVAL_ERROR',
112
+ 'MIGRATION_ERROR',
112
113
  ]),
113
114
  }),
114
115
  });
@@ -0,0 +1,138 @@
1
+ /**
2
+ * Embedding Migration REST API Response Schemas
3
+ *
4
+ * PRD #384: Optional Local Embedding Service
5
+ * Schemas for the embedding migration endpoint (not exposed via MCP)
6
+ */
7
+ import { z } from 'zod';
8
+ /**
9
+ * Embedding migration request body
10
+ */
11
+ export declare const EmbeddingMigrationRequestSchema: z.ZodObject<{
12
+ collection: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ export type EmbeddingMigrationRequest = z.infer<typeof EmbeddingMigrationRequestSchema>;
15
+ /**
16
+ * Per-collection migration result
17
+ */
18
+ export declare const CollectionMigrationResultSchema: z.ZodObject<{
19
+ collection: z.ZodString;
20
+ status: z.ZodEnum<{
21
+ failed: "failed";
22
+ migrated: "migrated";
23
+ skipped: "skipped";
24
+ }>;
25
+ previousDimensions: z.ZodNumber;
26
+ newDimensions: z.ZodNumber;
27
+ total: z.ZodNumber;
28
+ processed: z.ZodNumber;
29
+ failed: z.ZodNumber;
30
+ error: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ export type CollectionMigrationResult = z.infer<typeof CollectionMigrationResultSchema>;
33
+ /**
34
+ * Embedding migration response data
35
+ */
36
+ export declare const EmbeddingMigrationDataSchema: z.ZodObject<{
37
+ collections: z.ZodArray<z.ZodObject<{
38
+ collection: z.ZodString;
39
+ status: z.ZodEnum<{
40
+ failed: "failed";
41
+ migrated: "migrated";
42
+ skipped: "skipped";
43
+ }>;
44
+ previousDimensions: z.ZodNumber;
45
+ newDimensions: z.ZodNumber;
46
+ total: z.ZodNumber;
47
+ processed: z.ZodNumber;
48
+ failed: z.ZodNumber;
49
+ error: z.ZodOptional<z.ZodString>;
50
+ }, z.core.$strip>>;
51
+ summary: z.ZodObject<{
52
+ totalCollections: z.ZodNumber;
53
+ migrated: z.ZodNumber;
54
+ skipped: z.ZodNumber;
55
+ failed: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ }, z.core.$strip>;
58
+ export type EmbeddingMigrationData = z.infer<typeof EmbeddingMigrationDataSchema>;
59
+ /**
60
+ * Embedding migration success response
61
+ */
62
+ export declare const EmbeddingMigrationResponseSchema: z.ZodObject<{
63
+ success: z.ZodLiteral<true>;
64
+ data: z.ZodObject<{
65
+ collections: z.ZodArray<z.ZodObject<{
66
+ collection: z.ZodString;
67
+ status: z.ZodEnum<{
68
+ failed: "failed";
69
+ migrated: "migrated";
70
+ skipped: "skipped";
71
+ }>;
72
+ previousDimensions: z.ZodNumber;
73
+ newDimensions: z.ZodNumber;
74
+ total: z.ZodNumber;
75
+ processed: z.ZodNumber;
76
+ failed: z.ZodNumber;
77
+ error: z.ZodOptional<z.ZodString>;
78
+ }, z.core.$strip>>;
79
+ summary: z.ZodObject<{
80
+ totalCollections: z.ZodNumber;
81
+ migrated: z.ZodNumber;
82
+ skipped: z.ZodNumber;
83
+ failed: z.ZodNumber;
84
+ }, z.core.$strip>;
85
+ }, z.core.$strip>;
86
+ meta: z.ZodOptional<z.ZodObject<{
87
+ timestamp: z.ZodString;
88
+ requestId: z.ZodOptional<z.ZodString>;
89
+ version: z.ZodString;
90
+ }, z.core.$strip>>;
91
+ }, z.core.$strip>;
92
+ export type EmbeddingMigrationResponse = z.infer<typeof EmbeddingMigrationResponseSchema>;
93
+ /**
94
+ * Embedding migration error responses
95
+ */
96
+ export declare const EmbeddingMigrationBadRequestErrorSchema: z.ZodObject<{
97
+ success: z.ZodLiteral<false>;
98
+ meta: z.ZodOptional<z.ZodObject<{
99
+ timestamp: z.ZodString;
100
+ requestId: z.ZodOptional<z.ZodString>;
101
+ version: z.ZodString;
102
+ }, z.core.$strip>>;
103
+ error: z.ZodObject<{
104
+ code: z.ZodLiteral<"BAD_REQUEST">;
105
+ message: z.ZodString;
106
+ details: z.ZodOptional<z.ZodUnknown>;
107
+ }, z.core.$strip>;
108
+ }, z.core.$strip>;
109
+ export declare const EmbeddingMigrationServiceUnavailableErrorSchema: z.ZodObject<{
110
+ success: z.ZodLiteral<false>;
111
+ meta: z.ZodOptional<z.ZodObject<{
112
+ timestamp: z.ZodString;
113
+ requestId: z.ZodOptional<z.ZodString>;
114
+ version: z.ZodString;
115
+ }, z.core.$strip>>;
116
+ error: z.ZodObject<{
117
+ code: z.ZodEnum<{
118
+ PLUGIN_UNAVAILABLE: "PLUGIN_UNAVAILABLE";
119
+ EMBEDDING_SERVICE_UNAVAILABLE: "EMBEDDING_SERVICE_UNAVAILABLE";
120
+ }>;
121
+ message: z.ZodString;
122
+ details: z.ZodOptional<z.ZodUnknown>;
123
+ }, z.core.$strip>;
124
+ }, z.core.$strip>;
125
+ export declare const EmbeddingMigrationErrorSchema: z.ZodObject<{
126
+ success: z.ZodLiteral<false>;
127
+ meta: z.ZodOptional<z.ZodObject<{
128
+ timestamp: z.ZodString;
129
+ requestId: z.ZodOptional<z.ZodString>;
130
+ version: z.ZodString;
131
+ }, z.core.$strip>>;
132
+ error: z.ZodObject<{
133
+ code: z.ZodLiteral<"MIGRATION_ERROR">;
134
+ message: z.ZodString;
135
+ details: z.ZodOptional<z.ZodUnknown>;
136
+ }, z.core.$strip>;
137
+ }, z.core.$strip>;
138
+ //# sourceMappingURL=embeddings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings.d.ts","sourceRoot":"","sources":["../../../src/interfaces/schemas/embeddings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,eAAO,MAAM,+BAA+B;;iBAO1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;iBAW1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;iBAYvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE5C,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;iBAOhD,CAAC;AAEL,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;iBAOxD,CAAC;AAEL,eAAO,MAAM,6BAA6B;;;;;;;;;;;;iBAMxC,CAAC"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /**
3
+ * Embedding Migration REST API Response Schemas
4
+ *
5
+ * PRD #384: Optional Local Embedding Service
6
+ * Schemas for the embedding migration endpoint (not exposed via MCP)
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.EmbeddingMigrationErrorSchema = exports.EmbeddingMigrationServiceUnavailableErrorSchema = exports.EmbeddingMigrationBadRequestErrorSchema = exports.EmbeddingMigrationResponseSchema = exports.EmbeddingMigrationDataSchema = exports.CollectionMigrationResultSchema = exports.EmbeddingMigrationRequestSchema = void 0;
10
+ const zod_1 = require("zod");
11
+ const common_1 = require("./common");
12
+ /**
13
+ * Embedding migration request body
14
+ */
15
+ exports.EmbeddingMigrationRequestSchema = zod_1.z.object({
16
+ collection: zod_1.z
17
+ .string()
18
+ .optional()
19
+ .describe('Collection name to migrate. If omitted, migrates all collections.'),
20
+ });
21
+ /**
22
+ * Per-collection migration result
23
+ */
24
+ exports.CollectionMigrationResultSchema = zod_1.z.object({
25
+ collection: zod_1.z.string().describe('Collection name'),
26
+ status: zod_1.z
27
+ .enum(['migrated', 'skipped', 'failed'])
28
+ .describe('Migration outcome'),
29
+ previousDimensions: zod_1.z.number().describe('Vector dimensions before migration'),
30
+ newDimensions: zod_1.z.number().describe('Vector dimensions after migration'),
31
+ total: zod_1.z.number().describe('Total points in the collection'),
32
+ processed: zod_1.z.number().describe('Points successfully re-embedded'),
33
+ failed: zod_1.z.number().describe('Points that failed to re-embed'),
34
+ error: zod_1.z.string().optional().describe('Error message if migration failed'),
35
+ });
36
+ /**
37
+ * Embedding migration response data
38
+ */
39
+ exports.EmbeddingMigrationDataSchema = zod_1.z.object({
40
+ collections: zod_1.z
41
+ .array(exports.CollectionMigrationResultSchema)
42
+ .describe('Per-collection results'),
43
+ summary: zod_1.z.object({
44
+ totalCollections: zod_1.z.number().describe('Total collections processed'),
45
+ migrated: zod_1.z.number().describe('Collections successfully migrated'),
46
+ skipped: zod_1.z
47
+ .number()
48
+ .describe('Collections skipped (dimensions already match)'),
49
+ failed: zod_1.z.number().describe('Collections that failed to migrate'),
50
+ }),
51
+ });
52
+ /**
53
+ * Embedding migration success response
54
+ */
55
+ exports.EmbeddingMigrationResponseSchema = (0, common_1.createSuccessResponseSchema)(exports.EmbeddingMigrationDataSchema);
56
+ /**
57
+ * Embedding migration error responses
58
+ */
59
+ exports.EmbeddingMigrationBadRequestErrorSchema = common_1.ErrorResponseSchema.extend({
60
+ error: zod_1.z.object({
61
+ code: zod_1.z.literal('BAD_REQUEST'),
62
+ message: zod_1.z.string(),
63
+ details: zod_1.z.unknown().optional(),
64
+ }),
65
+ });
66
+ exports.EmbeddingMigrationServiceUnavailableErrorSchema = common_1.ErrorResponseSchema.extend({
67
+ error: zod_1.z.object({
68
+ code: zod_1.z.enum(['EMBEDDING_SERVICE_UNAVAILABLE', 'PLUGIN_UNAVAILABLE']),
69
+ message: zod_1.z.string(),
70
+ details: zod_1.z.unknown().optional(),
71
+ }),
72
+ });
73
+ exports.EmbeddingMigrationErrorSchema = common_1.ErrorResponseSchema.extend({
74
+ error: zod_1.z.object({
75
+ code: zod_1.z.literal('MIGRATION_ERROR'),
76
+ message: zod_1.z.string(),
77
+ details: zod_1.z.unknown().optional(),
78
+ }),
79
+ });
@@ -18,4 +18,5 @@ export { LogsDataSchema, LogsResponseSchema, LogsBadRequestErrorSchema, LogsPlug
18
18
  export { SessionMetadataSchema, SessionDataSchema, SessionResponseDataSchema, SessionResponseSchema, SessionNotFoundErrorSchema, SessionRetrievalErrorSchema, type SessionMetadata, type SessionData, type SessionResponseData, type SessionResponse, } from './sessions';
19
19
  export { PromptArgumentSchema, PromptInfoSchema, PromptsListDataSchema, PromptsListResponseSchema, PromptMessageSchema, PromptGetDataSchema, PromptGetResponseSchema, PromptGetRequestSchema, PromptNotFoundErrorSchema, PromptValidationErrorSchema, PromptsListErrorSchema, PromptGetErrorSchema, type PromptArgument, type PromptInfo, type PromptsListData, type PromptsListResponse, type PromptMessage, type PromptGetData, type PromptGetResponse, type PromptGetRequest, } from './prompts';
20
20
  export { DeleteBySourceDataSchema, DeleteBySourceResponseSchema, DeleteBySourceBadRequestErrorSchema, DeleteBySourcePluginUnavailableErrorSchema, DeleteBySourceErrorSchema, KnowledgeAskRequestSchema, KnowledgeAskSourceSchema, KnowledgeAskChunkSchema, KnowledgeAskDataSchema, KnowledgeAskResponseSchema, KnowledgeAskBadRequestErrorSchema, KnowledgeAskAIUnavailableErrorSchema, KnowledgeAskPluginUnavailableErrorSchema, KnowledgeAskErrorSchema, type DeleteBySourceData, type DeleteBySourceResponse, type KnowledgeAskRequest, type KnowledgeAskSource, type KnowledgeAskChunk, type KnowledgeAskData, type KnowledgeAskResponse, } from './knowledge';
21
+ export { EmbeddingMigrationRequestSchema, CollectionMigrationResultSchema, EmbeddingMigrationDataSchema, EmbeddingMigrationResponseSchema, EmbeddingMigrationBadRequestErrorSchema, EmbeddingMigrationServiceUnavailableErrorSchema, EmbeddingMigrationErrorSchema, type EmbeddingMigrationRequest, type CollectionMigrationResult, type EmbeddingMigrationData, type EmbeddingMigrationResponse, } from './embeddings';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,KAAK,IAAI,EACT,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,SA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B,GAC1B,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,KAAK,IAAI,EACT,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACvB,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,0CAA0C,EAC1C,gCAAgC,EAChC,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,GAC3B,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,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AAqB,EACrB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC3B,sBAAsB,EACtB,oBAAoB,EACpB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,mCAAmC,EACnC,0CAA0C,EAC1C,yBAAyB,EAEzB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,EAC1B,iCAAiC,EACjC,oCAAoC,EACpC,wCAAwC,EACxC,uBAAuB,EACvB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,uCAAuC,EACvC,+CAA+C,EAC/C,6BAA6B,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,GAChC,MAAM,cAAc,CAAC"}
@@ -13,7 +13,7 @@
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.ResourceSyncResponseSchema = exports.ResourceSyncDataSchema = exports.ResourceSyncRequestSchema = exports.NamespacesResponseSchema = exports.NamespacesDataSchema = exports.SingleResourceResponseSchema = exports.SingleResourceDataSchema = exports.ResourceListResponseSchema = exports.ResourceListDataSchema = exports.ResourceSearchResponseSchema = exports.ResourceSearchDataSchema = exports.ResourceSummarySchema = exports.ResourceKindsResponseSchema = exports.ResourceKindsDataSchema = exports.ResourceKindSchema = exports.VisualizationInternalErrorSchema = exports.VisualizationServiceUnavailableErrorSchema = exports.VisualizationNotFoundErrorSchema = exports.VisualizationResponseSchema = exports.VisualizationResponseDataSchema = exports.VisualizationSchema = exports.VisualizationContentSchema = exports.BarChartContentSchema = exports.BarChartDataItemSchema = exports.DiffContentSchema = exports.CardsContentSchema = exports.CardItemSchema = exports.TableContentSchema = exports.CodeContentSchema = exports.VisualizationTypeSchema = exports.ToolDiscoveryErrorSchema = exports.ToolExecutionErrorSchema = exports.InvalidToolRequestErrorSchema = exports.ToolNotFoundErrorSchema = exports.ToolExecutionResponseSchema = exports.ToolExecutionDataSchema = exports.ToolDiscoveryResponseSchema = exports.ToolDiscoveryDataSchema = exports.ToolInfoSchema = exports.ToolParameterSchema = exports.createSuccessResponseSchema = exports.InternalServerErrorSchema = exports.ServiceUnavailableErrorSchema = exports.MethodNotAllowedErrorSchema = exports.BadRequestErrorSchema = exports.NotFoundErrorSchema = exports.ErrorResponseSchema = exports.RestApiResponseSchema = exports.ErrorDetailsSchema = exports.MetaSchema = void 0;
15
15
  exports.KnowledgeAskBadRequestErrorSchema = exports.KnowledgeAskResponseSchema = exports.KnowledgeAskDataSchema = exports.KnowledgeAskChunkSchema = exports.KnowledgeAskSourceSchema = exports.KnowledgeAskRequestSchema = exports.DeleteBySourceErrorSchema = exports.DeleteBySourcePluginUnavailableErrorSchema = exports.DeleteBySourceBadRequestErrorSchema = exports.DeleteBySourceResponseSchema = exports.DeleteBySourceDataSchema = exports.PromptGetErrorSchema = exports.PromptsListErrorSchema = exports.PromptValidationErrorSchema = exports.PromptNotFoundErrorSchema = exports.PromptGetRequestSchema = exports.PromptGetResponseSchema = exports.PromptGetDataSchema = exports.PromptMessageSchema = exports.PromptsListResponseSchema = exports.PromptsListDataSchema = exports.PromptInfoSchema = exports.PromptArgumentSchema = exports.SessionRetrievalErrorSchema = exports.SessionNotFoundErrorSchema = exports.SessionResponseSchema = exports.SessionResponseDataSchema = exports.SessionDataSchema = exports.SessionMetadataSchema = exports.LogsErrorSchema = exports.LogsPluginUnavailableErrorSchema = exports.LogsBadRequestErrorSchema = exports.LogsResponseSchema = exports.LogsDataSchema = exports.EventsErrorSchema = exports.EventsPluginUnavailableErrorSchema = exports.EventsBadRequestErrorSchema = exports.EventsResponseSchema = exports.EventsDataSchema = exports.KubernetesEventSchema = exports.EventInvolvedObjectSchema = exports.ResourceSyncErrorSchema = exports.NamespacesErrorSchema = exports.SingleResourceErrorSchema = exports.ResourceListErrorSchema = exports.ResourceSearchErrorSchema = exports.ResourceKindsErrorSchema = exports.ResourcePluginUnavailableErrorSchema = exports.ResourceBadRequestErrorSchema = exports.ResourceNotFoundErrorSchema = void 0;
16
- exports.KnowledgeAskErrorSchema = exports.KnowledgeAskPluginUnavailableErrorSchema = exports.KnowledgeAskAIUnavailableErrorSchema = void 0;
16
+ exports.EmbeddingMigrationErrorSchema = exports.EmbeddingMigrationServiceUnavailableErrorSchema = exports.EmbeddingMigrationBadRequestErrorSchema = exports.EmbeddingMigrationResponseSchema = exports.EmbeddingMigrationDataSchema = exports.CollectionMigrationResultSchema = exports.EmbeddingMigrationRequestSchema = exports.KnowledgeAskErrorSchema = exports.KnowledgeAskPluginUnavailableErrorSchema = exports.KnowledgeAskAIUnavailableErrorSchema = void 0;
17
17
  // Common schemas
18
18
  var common_1 = require("./common");
19
19
  Object.defineProperty(exports, "MetaSchema", { enumerable: true, get: function () { return common_1.MetaSchema; } });
@@ -136,3 +136,12 @@ Object.defineProperty(exports, "KnowledgeAskBadRequestErrorSchema", { enumerable
136
136
  Object.defineProperty(exports, "KnowledgeAskAIUnavailableErrorSchema", { enumerable: true, get: function () { return knowledge_1.KnowledgeAskAIUnavailableErrorSchema; } });
137
137
  Object.defineProperty(exports, "KnowledgeAskPluginUnavailableErrorSchema", { enumerable: true, get: function () { return knowledge_1.KnowledgeAskPluginUnavailableErrorSchema; } });
138
138
  Object.defineProperty(exports, "KnowledgeAskErrorSchema", { enumerable: true, get: function () { return knowledge_1.KnowledgeAskErrorSchema; } });
139
+ // Embeddings schemas (PRD #384)
140
+ var embeddings_1 = require("./embeddings");
141
+ Object.defineProperty(exports, "EmbeddingMigrationRequestSchema", { enumerable: true, get: function () { return embeddings_1.EmbeddingMigrationRequestSchema; } });
142
+ Object.defineProperty(exports, "CollectionMigrationResultSchema", { enumerable: true, get: function () { return embeddings_1.CollectionMigrationResultSchema; } });
143
+ Object.defineProperty(exports, "EmbeddingMigrationDataSchema", { enumerable: true, get: function () { return embeddings_1.EmbeddingMigrationDataSchema; } });
144
+ Object.defineProperty(exports, "EmbeddingMigrationResponseSchema", { enumerable: true, get: function () { return embeddings_1.EmbeddingMigrationResponseSchema; } });
145
+ Object.defineProperty(exports, "EmbeddingMigrationBadRequestErrorSchema", { enumerable: true, get: function () { return embeddings_1.EmbeddingMigrationBadRequestErrorSchema; } });
146
+ Object.defineProperty(exports, "EmbeddingMigrationServiceUnavailableErrorSchema", { enumerable: true, get: function () { return embeddings_1.EmbeddingMigrationServiceUnavailableErrorSchema; } });
147
+ Object.defineProperty(exports, "EmbeddingMigrationErrorSchema", { enumerable: true, get: function () { return embeddings_1.EmbeddingMigrationErrorSchema; } });
@@ -79,7 +79,7 @@ function buildUserMessage(intent, context) {
79
79
  capabilities: capabilitiesText
80
80
  });
81
81
  }
82
- /** Kubectl tool names for investigation and dry-run validation */
82
+ /** Kubectl and Helm tool names for investigation and dry-run validation */
83
83
  const KUBECTL_INVESTIGATION_TOOL_NAMES = [
84
84
  'kubectl_get',
85
85
  'kubectl_describe',
@@ -91,7 +91,14 @@ const KUBECTL_INVESTIGATION_TOOL_NAMES = [
91
91
  // Dry-run tools for validation
92
92
  'kubectl_patch_dryrun',
93
93
  'kubectl_apply_dryrun',
94
- 'kubectl_delete_dryrun'
94
+ 'kubectl_delete_dryrun',
95
+ // Helm investigation tools (PRD #251: Helm Day-2 operations)
96
+ 'helm_list',
97
+ 'helm_status',
98
+ 'helm_history',
99
+ 'helm_get_values',
100
+ // Helm dry-run validation (PRD #251)
101
+ 'helm_install_dryrun'
95
102
  ];
96
103
  /**
97
104
  * Executes AI tool loop with kubectl investigation tools
@@ -1 +1 @@
1
- {"version":3,"file":"remediate.d.ts","sourceRoot":"","sources":["../../src/tools/remediate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAuB,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAgBnF,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,0BAA0B,yfAAwf,CAAC;AAIhiB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CASvC,CAAC;AAGF,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAID,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB;IACjE,QAAQ,EAAE,WAAW,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,MAAM,EAAE,eAAe,GAAG,mBAAmB,GAAG,QAAQ,GAAG,uBAAuB,GAAG,sBAAsB,GAAG,WAAW,CAAC;IAC1H,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC;AAGD,MAAM,MAAM,gBAAgB,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EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CAC/B;AAID;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChD;AA4LD;;GAEG;AACH,UAAU,uBAAuB;IAC/B,WAAW,EAAE,QAAQ,GAAG,UAAU,GAAG,cAAc,CAAC;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,iBAAiB,EAAE,CAAC;QAC7B,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;KACjC,CAAC;IACF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,uBAAuB,CAmGhF;AA8YD;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA0M9F"}
@@ -63,7 +63,7 @@ exports.REMEDIATE_TOOL_INPUT_SCHEMA = {
63
63
  executedCommands: zod_1.z.array(zod_1.z.string()).optional().describe('Commands that were executed to remediate the issue'),
64
64
  interaction_id: zod_1.z.string().optional().describe('INTERNAL ONLY - Do not populate. Used for evaluation dataset generation.')
65
65
  };
66
- /** Kubectl tool names for investigation and validation */
66
+ /** Kubectl and Helm tool names for investigation and validation */
67
67
  const KUBECTL_INVESTIGATION_TOOL_NAMES = [
68
68
  'kubectl_get',
69
69
  'kubectl_describe',
@@ -72,6 +72,11 @@ const KUBECTL_INVESTIGATION_TOOL_NAMES = [
72
72
  'kubectl_api_resources',
73
73
  'kubectl_get_crd_schema',
74
74
  'kubectl_get_resource_json',
75
+ // Helm investigation tools (PRD #251: Helm Day-2 operations)
76
+ 'helm_list',
77
+ 'helm_status',
78
+ 'helm_history',
79
+ 'helm_get_values',
75
80
  // Dry-run tools for validation
76
81
  'kubectl_patch_dryrun',
77
82
  'kubectl_apply_dryrun',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vfarcic/dot-ai",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "description": "AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance",
5
5
  "mcpName": "io.github.vfarcic/dot-ai",
6
6
  "main": "dist/index.js",
@@ -59,7 +59,7 @@ Once investigation is complete, respond with ONLY this JSON format:
59
59
  "actions": [
60
60
  {
61
61
  "description": "Specific action to take",
62
- "command": "kubectl command to execute",
62
+ "command": "command to execute (kubectl, helm, etc.)",
63
63
  "risk": "low|medium|high",
64
64
  "rationale": "Why this action addresses the issue"
65
65
  }