cto-ai-cli 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.
package/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "cto-ai-cli",
3
+ "version": "1.3.0",
4
+ "description": "CTO — AI Token Optimizer for Claude, Cursor, Copilot, Gemini & Windsurf. Analyze, optimize, and generate context files.",
5
+ "type": "module",
6
+ "bin": {
7
+ "cto": "dist/cli/index.js",
8
+ "cto-mcp": "dist/mcp/index.js"
9
+ },
10
+ "main": "./dist/core/index.js",
11
+ "types": "./dist/core/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/core/index.js",
15
+ "types": "./dist/core/index.d.ts"
16
+ },
17
+ "./cli": {
18
+ "import": "./dist/cli/index.js"
19
+ },
20
+ "./mcp": {
21
+ "import": "./dist/mcp/index.js"
22
+ }
23
+ },
24
+ "scripts": {
25
+ "build": "tsup",
26
+ "dev": "tsup --watch",
27
+ "start": "node dist/cli/index.js",
28
+ "test": "vitest run",
29
+ "test:watch": "vitest",
30
+ "test:coverage": "vitest run --coverage",
31
+ "lint": "eslint src/",
32
+ "typecheck": "tsc --noEmit",
33
+ "prepublishOnly": "npm run build"
34
+ },
35
+ "keywords": [
36
+ "claude",
37
+ "cursor",
38
+ "copilot",
39
+ "gemini",
40
+ "windsurf",
41
+ "token",
42
+ "optimizer",
43
+ "ai",
44
+ "mcp",
45
+ "cli",
46
+ "context",
47
+ "llm"
48
+ ],
49
+ "author": "Diego Tobon Henao <datobonn2000@gmail.com>",
50
+ "license": "MIT",
51
+ "engines": {
52
+ "node": ">=18.0.0"
53
+ },
54
+ "files": [
55
+ "dist",
56
+ "README.md",
57
+ "LICENSE"
58
+ ],
59
+ "dependencies": {
60
+ "chalk": "^5.3.0",
61
+ "commander": "^12.1.0",
62
+ "yaml": "^2.4.5",
63
+ "glob": "^10.3.12",
64
+ "diff": "^5.2.0",
65
+ "cli-table3": "^0.6.4",
66
+ "cli-progress": "^3.12.0",
67
+ "@inquirer/prompts": "^7.2.1",
68
+ "js-tiktoken": "^1.0.12",
69
+ "ts-morph": "^22.0.0",
70
+ "chokidar": "^3.6.0",
71
+ "@modelcontextprotocol/sdk": "^1.12.1"
72
+ },
73
+ "devDependencies": {
74
+ "@types/node": "^20.12.12",
75
+ "@types/diff": "^5.2.1",
76
+ "@types/cli-progress": "^3.11.5",
77
+ "tsup": "^8.0.2",
78
+ "typescript": "^5.4.5",
79
+ "vitest": "^1.6.0",
80
+ "@vitest/coverage-v8": "^1.6.0",
81
+ "eslint": "^8.57.0",
82
+ "@typescript-eslint/eslint-plugin": "^7.10.0",
83
+ "@typescript-eslint/parser": "^7.10.0"
84
+ }
85
+ }