@vfarcic/dot-ai 0.46.0 → 0.48.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":"schema.d.ts","sourceRoot":"","sources":["../../src/core/schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAMlD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAIxD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC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hC;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,cAAc,CAAC,CAAuB;gBAElC,MAAM,EAAE,eAAe;IAcnC;;OAEG;IACG,iBAAiB,CACrB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,EACrC,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,GAClD,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAsB9B;;;OAGG;YACW,sBAAsB;IAwDpC;;OAEG;YACW,yBAAyB;IAgCvC;;OAEG;IACH,OAAO,CAAC,0BAA0B;IASlC;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAsClC;;OAEG;YACW,wBAAwB;IAkGtC;;OAEG;YACW,oBAAoB;IAgDlC;;OAEG;YACW,uBAAuB;IAarC;;OAEG;YACW,kBAAkB;IAuChC;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA0E/B;;OAEG;YACW,sBAAsB;IAiEpC;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAgCjC;;OAEG;YACW,uBAAuB;CA6EtC"}
@@ -5,7 +5,7 @@ import { z } from 'zod';
5
5
  import { DotAI } from '../core/index';
6
6
  import { Logger } from '../core/error-handling';
7
7
  export declare const RECOMMEND_TOOL_NAME = "recommend";
8
- export declare const RECOMMEND_TOOL_DESCRIPTION = "Deploy, create, run, or setup applications on Kubernetes with AI-powered recommendations. Ask the user to describe their application first, then use their response here.";
8
+ export declare const RECOMMEND_TOOL_DESCRIPTION = "Deploy, create, setup, install, or run applications, infrastructure, and services on Kubernetes with AI recommendations. Describe what you want to deploy.";
9
9
  export declare const RECOMMEND_TOOL_INPUT_SCHEMA: {
10
10
  intent: z.ZodString;
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"recommend.d.ts","sourceRoot":"","sources":["../../src/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,EAAE,CAAA;CAAE,CAAC,CAyOxD"}
@@ -49,10 +49,10 @@ const crypto = __importStar(require("crypto"));
49
49
  const session_utils_1 = require("../core/session-utils");
50
50
  // Tool metadata for direct MCP registration
51
51
  exports.RECOMMEND_TOOL_NAME = 'recommend';
52
- exports.RECOMMEND_TOOL_DESCRIPTION = 'Deploy, create, run, or setup applications on Kubernetes with AI-powered recommendations. Ask the user to describe their application first, then use their response here.';
52
+ exports.RECOMMEND_TOOL_DESCRIPTION = 'Deploy, create, setup, install, or run applications, infrastructure, and services on Kubernetes with AI recommendations. Describe what you want to deploy.';
53
53
  // Zod schema for MCP registration
54
54
  exports.RECOMMEND_TOOL_INPUT_SCHEMA = {
55
- intent: zod_1.z.string().min(1).max(1000).describe('What the user wants to deploy, create, run, or setup on Kubernetes (based on their description). Ask the user to describe their application first, then use their response here. Examples: "deploy a web application", "create a database cluster", "run my Node.js API", "setup a Redis cache", "launch a microservice", "build a CI/CD pipeline", "deploy a WordPress site", "create a monitoring stack", "run a Python Flask app", "setup MongoDB", "deploy a React frontend", "create a load balancer"')
55
+ intent: zod_1.z.string().min(1).max(1000).describe('What the user wants to deploy, create, setup, install, or run on Kubernetes. Examples: "deploy web application", "create PostgreSQL database", "setup Redis cache", "install Prometheus monitoring", "configure Ingress controller", "provision storage volumes", "launch MongoDB operator", "run Node.js API", "setup CI/CD pipeline", "create load balancer", "install Grafana dashboard", "deploy React frontend"')
56
56
  };
57
57
  /**
58
58
  * Validate intent meaningfulness using AI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vfarcic/dot-ai",
3
- "version": "0.46.0",
3
+ "version": "0.48.0",
4
4
  "description": "Universal Kubernetes application deployment agent with CLI and MCP interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,8 +16,10 @@ Analyze the user intent and extract all relevant deployment concepts. Consider t
16
16
 
17
17
  ### **Infrastructure & Integration**
18
18
  - Data storage: database, cache, persistent storage, file storage, object storage
19
+ - Database services: PostgreSQL, MongoDB, MySQL, Redis, Elasticsearch clusters
19
20
  - Connectivity: external database, message queue, third-party API, service mesh
20
- - Networking: public access, internal service, load balancing, ingress
21
+ - Networking: public access, internal service, load balancing, ingress, networking policies
22
+ - Infrastructure operators: monitoring, logging, backup, security operators
21
23
 
22
24
  ### **Operational Requirements**
23
25
  - Scaling: auto-scaling, high availability, load balancing, horizontal scaling
@@ -29,6 +31,8 @@ Analyze the user intent and extract all relevant deployment concepts. Consider t
29
31
  - Programming languages: golang, java, python, nodejs, react, angular
30
32
  - Frameworks: spring boot, express, flask, django, rails
31
33
  - Databases: postgresql, mysql, mongodb, redis, elasticsearch
34
+ - Infrastructure tools: prometheus, grafana, ingress-nginx, istio, knative
35
+ - Operators: database operators, monitoring operators, backup operators
32
36
 
33
37
  ## Response Format
34
38
 
@@ -14,9 +14,10 @@ An intent is **TOO VAGUE OR GENERIC** if it:
14
14
  - Extremely short without any technical context (1-2 words like "database", "container")
15
15
 
16
16
  An intent is **SPECIFIC ENOUGH** if it includes ANY of:
17
- - Specific technology or framework (Node.js, PostgreSQL, Redis, React, Python, etc.)
18
- - Clear architectural pattern (stateless app, microservice, web server, REST API, etc.)
19
- - Application type or purpose (frontend, backend, database, cache, queue, etc.)
17
+ - Specific technology or framework (Node.js, PostgreSQL, Redis, React, Python, Prometheus, Grafana, etc.)
18
+ - Clear architectural pattern (stateless app, microservice, web server, REST API, operator, etc.)
19
+ - Application type or purpose (frontend, backend, database, cache, queue, monitoring, storage, etc.)
20
+ - Infrastructure component (load balancer, ingress controller, persistent storage, networking, etc.)
20
21
  - Deployment context that helps understand Kubernetes resource needs
21
22
 
22
23
  **IMPORTANT**: Be generous in accepting intents. Focus on rejecting only truly meaningless requests. Terms like "stateless app", "web application", "microservice", "database cluster" provide sufficient Kubernetes deployment context.
@@ -40,6 +41,14 @@ An intent is **SPECIFIC ENOUGH** if it includes ANY of:
40
41
  - "Node.js application" (technology + type)
41
42
  - "frontend service" (purpose + type)
42
43
  - "cache service" (purpose + type)
44
+ - "PostgreSQL database" (technology + infrastructure type)
45
+ - "Redis cache" (technology + infrastructure purpose)
46
+ - "Prometheus monitoring" (technology + infrastructure purpose)
47
+ - "Ingress controller" (infrastructure component + type)
48
+ - "MongoDB operator" (technology + operator pattern)
49
+ - "load balancer" (infrastructure component)
50
+ - "persistent storage" (infrastructure capability)
51
+ - "CI/CD pipeline" (workflow automation)
43
52
 
44
53
  ## Response Format
45
54
 
@@ -14,14 +14,19 @@ You are a Kubernetes expert. Given this user intent and available resources, sel
14
14
  ## Instructions
15
15
 
16
16
  Select all resources that could be relevant for this intent. Consider:
17
- - Direct relevance to the user's needs
17
+ - Direct relevance to the user's needs (applications, infrastructure, operators, networking, storage)
18
18
  - Common Kubernetes patterns and best practices
19
- - **Organizational patterns** and resource suggestions from your organization's best practices (see above)
19
+ - **PRIORITY: Organizational pattern resources** - If organizational patterns are provided above, ALWAYS include ALL resources from patterns that match this intent, even if individual resources don't seem directly relevant
20
+ - **Pattern resource completeness** - Organizational patterns represent complete, battle-tested solutions. Include entire pattern resource sets to avoid incomplete deployments
20
21
  - Resource relationships and combinations
21
22
  - Production deployment patterns
22
23
  - Complex multi-component solutions
23
24
  - **Custom Resource Definitions (CRDs)** that might provide higher-level abstractions or simpler alternatives
24
25
  - Platform-specific resources (e.g., Crossplane, Knative, Istio, ArgoCD) that could simplify the deployment
26
+ - **Infrastructure components**: networking (Ingress, Service, NetworkPolicy), storage (PVC, StorageClass), security (RBAC, ServiceAccount)
27
+ - **Database operators**: PostgreSQL, MongoDB, MySQL, Redis operators that provide managed database services
28
+ - **Monitoring and observability**: Prometheus, Grafana, AlertManager, logging operators
29
+ - **Operator patterns**: Look for operators that provide simplified management of complex infrastructure
25
30
  - **CRD Selection Priority**: If you see multiple CRDs from the same group with similar purposes (like "App" and "AppClaim"), include the namespace-scoped ones (marked as "Namespaced: true") rather than cluster-scoped ones, as they're more appropriate for application deployments
26
31
 
27
32
  Don't limit yourself - if the intent is complex, select as many resources as needed. **Be extra inclusive** - the detailed schema analysis phase will filter out inappropriate resources, so it's better to include more candidates initially.
@@ -31,6 +31,8 @@ Analyze the user's intent and determine the best solution(s). **Provide multiple
31
31
  - **Combine relevant patterns** - A single solution can be influenced by multiple patterns
32
32
  - **Prioritize by specificity** - More specific patterns should have higher influence than generic ones
33
33
  - **Layer pattern guidance** - Generic patterns provide baseline, specific patterns add requirements
34
+ - **Use complete patterns** - When a pattern is relevant, include ALL resources from that pattern unless you have a specific technical reason to exclude them
35
+ - **Pattern resource completeness** - Organizational patterns represent battle-tested, complete solutions. Missing pattern resources often leads to incomplete deployments
34
36
  - **Avoid conflicts** - If patterns conflict, prioritize user intent and technical accuracy
35
37
 
36
38
  **IMPORTANT**: Always provide at least 2-3 different solution alternatives when possible, even if some score lower than others. Users benefit from seeing multiple options to choose from.
@@ -39,6 +41,8 @@ Analyze the user's intent and determine the best solution(s). **Provide multiple
39
41
 
40
42
  **Capability Verification**: For each resource in your solution, examine its schema fields to verify it can fulfill the user's requirements. Do not assume capabilities that aren't explicitly present in the schema fields.
41
43
 
44
+ **IMPORTANT - Pattern vs Individual Resource Validation**: When using organizational patterns, validate the PATTERN as a whole, not individual resources. Individual resources in a pattern may serve supporting roles and don't need to individually fulfill the complete user requirement - they work together as a complete solution.
45
+
42
46
  **Complete Solutions**: Include ALL resource types needed for the solution to work. If your analysis mentions integration with other resources, include those resources in your resources array. For example, if a workload resource has built-in templates or references to other resource types, include those referenced resource types in your solution even if they're managed through the primary resource.
43
47
 
44
48
  **Integration Validation**: For multi-resource solutions, verify that resources have schema fields to reference each other.