cto-ai-cli 5.2.0 → 7.1.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.
package/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "cto-ai-cli",
3
- "version": "5.2.0",
4
- "description": "Your AI is reading too much code. CTO analyzes your project and selects the optimal files for AI context — saving tokens, improving output quality, and ensuring type definitions are included.",
3
+ "version": "7.1.0",
4
+ "description": "AI context selection done right. Picks the right files, sanitizes secrets, learns from your feedback. --context, --audit, --accept/--reject.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "cto-ai-cli": "dist/cli/score.js",
8
- "cto-score": "dist/cli/score.js",
9
- "cto-mcp": "dist/mcp/v2.js",
10
- "cto-api": "dist/api/server.js",
11
- "cto-gateway": "dist/cli/gateway.js"
7
+ "cto": "dist/cli/index.js",
8
+ "cto-mcp": "dist/mcp/index.js"
12
9
  },
13
10
  "main": "./dist/engine/index.js",
14
11
  "types": "./dist/engine/index.d.ts",
@@ -16,46 +13,27 @@
16
13
  ".": {
17
14
  "import": "./dist/engine/index.js",
18
15
  "types": "./dist/engine/index.d.ts"
19
- },
20
- "./engine": {
21
- "import": "./dist/engine/index.js",
22
- "types": "./dist/engine/index.d.ts"
23
- },
24
- "./interact": {
25
- "import": "./dist/interact/index.js",
26
- "types": "./dist/interact/index.d.ts"
27
- },
28
- "./govern": {
29
- "import": "./dist/govern/index.js",
30
- "types": "./dist/govern/index.d.ts"
31
16
  }
32
17
  },
33
18
  "scripts": {
34
19
  "build": "tsup",
35
- "dev": "tsup --watch",
36
- "start": "node dist/cli/score.js",
20
+ "start": "node dist/cli/index.js",
37
21
  "test": "vitest run",
38
- "test:watch": "vitest",
39
22
  "test:coverage": "vitest run --coverage",
40
- "lint": "eslint src/",
41
23
  "typecheck": "tsc --noEmit",
42
- "build:action": "ncc build dist/action/index.js -o dist/action-bundle --source-map --license licenses.txt",
43
24
  "prepublishOnly": "npm run build"
44
25
  },
45
26
  "keywords": [
46
27
  "ai",
47
28
  "context",
48
29
  "llm",
49
- "risk-modeling",
50
30
  "token-optimization",
51
- "deterministic-selection",
52
- "audit",
53
- "governance",
31
+ "secret-detection",
32
+ "mcp",
54
33
  "claude",
55
34
  "cursor",
56
35
  "copilot",
57
- "cli",
58
- "mcp"
36
+ "windsurf"
59
37
  ],
60
38
  "author": "Diego Tobon Henao <datobonn2000@gmail.com>",
61
39
  "license": "MIT",
@@ -73,29 +51,17 @@
73
51
  "files": [
74
52
  "dist",
75
53
  "README.md",
76
- "DOCS.md",
77
54
  "LICENSE"
78
55
  ],
79
56
  "dependencies": {
80
57
  "@modelcontextprotocol/sdk": "^1.12.1",
81
58
  "chalk": "^5.3.0",
82
- "chokidar": "^3.6.0",
83
- "diff": "^5.2.0",
84
59
  "js-tiktoken": "^1.0.12",
85
- "ts-morph": "^22.0.0",
86
- "yaml": "^2.4.5"
60
+ "ts-morph": "^22.0.0"
87
61
  },
88
62
  "devDependencies": {
89
- "@actions/core": "^3.0.0",
90
- "@actions/github": "^9.0.0",
91
- "@types/cli-progress": "^3.11.5",
92
- "@types/diff": "^5.2.1",
93
63
  "@types/node": "^20.12.12",
94
- "@typescript-eslint/eslint-plugin": "^7.10.0",
95
- "@typescript-eslint/parser": "^7.10.0",
96
- "@vercel/ncc": "^0.38.4",
97
64
  "@vitest/coverage-v8": "^1.6.0",
98
- "eslint": "^8.57.0",
99
65
  "tsup": "^8.0.2",
100
66
  "typescript": "^5.4.5",
101
67
  "vitest": "^1.6.0"