@fmdzc/cli-ai 3.1.2 → 3.2.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/README.md +54 -90
- package/dist/chunk-QPVTJWSV.js +2 -0
- package/dist/cli.js +54 -0
- package/dist/devtools-32J76P22.js +8 -0
- package/dist/execa-N2ZQBAY7.js +44 -0
- package/dist/index.js +494 -52
- package/package.json +21 -15
- package/dist/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fmdzc/cli-ai",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "CLI AI Assistant v3 - Natural language to shell commands with persistent REPL session",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"build": "tsup",
|
|
27
27
|
"dev": "tsup --watch",
|
|
28
28
|
"typecheck": "tsc --noEmit",
|
|
29
|
-
"lint": "eslint src
|
|
30
|
-
"lint:security": "eslint src --
|
|
29
|
+
"lint": "eslint src",
|
|
30
|
+
"lint:security": "eslint src --rule 'security/*: error'",
|
|
31
31
|
"format": "prettier --write src/**/*.{ts,tsx}",
|
|
32
32
|
"test": "vitest run",
|
|
33
33
|
"test:watch": "vitest",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"audit:fix": "pnpm audit --fix",
|
|
36
36
|
"security": "pnpm audit && pnpm lint:security",
|
|
37
37
|
"prepare": "tsup",
|
|
38
|
-
"prepublishOnly": "pnpm typecheck && pnpm audit && pnpm build",
|
|
38
|
+
"prepublishOnly": "pnpm typecheck && pnpm audit --audit-level=high && pnpm build",
|
|
39
39
|
"link:global": "pnpm build && pnpm link --global",
|
|
40
40
|
"unlink:global": "pnpm unlink --global",
|
|
41
41
|
"uninstall": "node scripts/uninstall.js",
|
|
@@ -82,14 +82,15 @@
|
|
|
82
82
|
"packageManager": "pnpm@10.10.0",
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
85
|
-
"@inkjs/ui": "^2.0.0",
|
|
86
85
|
"@napi-rs/keyring": "^1.2.0",
|
|
87
86
|
"@openrouter/sdk": "^0.3.12",
|
|
88
87
|
"chalk": "^5.3.0",
|
|
88
|
+
"cli-highlight": "^2.1.11",
|
|
89
89
|
"clipboardy": "^4.0.0",
|
|
90
90
|
"conf": "^13.0.0",
|
|
91
91
|
"execa": "^9.0.0",
|
|
92
92
|
"ink": "^6.0.0",
|
|
93
|
+
"marked": "^15.0.12",
|
|
93
94
|
"openai": "^6.16.0",
|
|
94
95
|
"react": "^19.0.0",
|
|
95
96
|
"zod": "^3.23.0"
|
|
@@ -105,24 +106,29 @@
|
|
|
105
106
|
"@napi-rs/keyring-win32-ia32-msvc": "^1.2.0",
|
|
106
107
|
"@napi-rs/keyring-win32-x64-msvc": "^1.2.0"
|
|
107
108
|
},
|
|
109
|
+
"pnpm": {
|
|
110
|
+
"overrides": {
|
|
111
|
+
"minimatch": ">=10.2.1"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
108
114
|
"devDependencies": {
|
|
109
|
-
"@eslint/js": "
|
|
115
|
+
"@eslint/js": "^9.39.0",
|
|
110
116
|
"@trivago/prettier-plugin-sort-imports": "5.2.2",
|
|
111
117
|
"@types/node": "^22.0.0",
|
|
112
118
|
"@types/react": "^19.0.0",
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"eslint": "8.57.0",
|
|
116
|
-
"eslint-config-prettier": "10.1.8",
|
|
119
|
+
"eslint": "^9.39.0",
|
|
120
|
+
"eslint-config-prettier": "^10.1.1",
|
|
117
121
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
118
|
-
"eslint-plugin-react": "7.
|
|
119
|
-
"eslint-plugin-react-hooks": "5.2.0",
|
|
122
|
+
"eslint-plugin-react": "^7.37.0",
|
|
123
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
120
124
|
"eslint-plugin-security": "^3.0.0",
|
|
121
|
-
"eslint-plugin-unused-imports": "4.2.0",
|
|
122
|
-
"
|
|
123
|
-
"
|
|
125
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
126
|
+
"globals": "^16.5.0",
|
|
127
|
+
"ink-testing-library": "^4.0.0",
|
|
128
|
+
"prettier": "^3.8.0",
|
|
124
129
|
"tsup": "^8.0.0",
|
|
125
130
|
"typescript": "^5.6.0",
|
|
131
|
+
"typescript-eslint": "^8.50.0",
|
|
126
132
|
"vitest": "^4.0.17"
|
|
127
133
|
}
|
|
128
134
|
}
|
package/dist/index.d.ts
DELETED