@xagent/x-cli 1.1.84 → 1.1.88
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 +25 -25
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/package.json +6 -63
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@xagent/x-cli",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"description": "An open-source AI agent that brings advanced AI capabilities directly into your terminal.",
|
|
4
|
+
"version": "1.1.88",
|
|
5
|
+
"description": "An open-source AI agent that brings advanced AI capabilities directly into your terminal. (Legacy package name - use 'one-shot' for new installations)",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -15,47 +15,8 @@
|
|
|
15
15
|
"bin": {
|
|
16
16
|
"grok": "./dist/index.js"
|
|
17
17
|
},
|
|
18
|
-
"files": [
|
|
19
|
-
|
|
20
|
-
"README.md",
|
|
21
|
-
"package.json"
|
|
22
|
-
],
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "tsup src/index.ts --format esm --dts",
|
|
25
|
-
"dev": "tsx watch src/index.ts",
|
|
26
|
-
"lint": "eslint src --ext .ts",
|
|
27
|
-
"typecheck": "tsc --noEmit",
|
|
28
|
-
"prepare": "husky install",
|
|
29
|
-
"dev:site": "cd apps/site && npm run start",
|
|
30
|
-
"build:site": "cd apps/site && npm run build",
|
|
31
|
-
"sync:docs": "cd apps/site && node src/scripts/sync-agent-docs.js",
|
|
32
|
-
"smart-push": "./scripts/smart-push.sh",
|
|
33
|
-
"push": "echo '🚨 BLOCKED: Use npm run smart-push instead' && echo '💡 Direct git push bypasses automation' && exit 1",
|
|
34
|
-
"git-push": "echo '🚨 BLOCKED: Use npm run smart-push instead' && echo '💡 Direct git push bypasses automation' && exit 1"
|
|
35
|
-
},
|
|
36
|
-
"lint-staged": {
|
|
37
|
-
".agent/**/*.{md,mdx}": "prettier --write",
|
|
38
|
-
"apps/site/docs/**/*.{md,mdx}": [],
|
|
39
|
-
"*.{ts,tsx}": [
|
|
40
|
-
"eslint --fix --ignore-pattern 'dist/**'"
|
|
41
|
-
],
|
|
42
|
-
"*.{js,jsx,mjs}": [
|
|
43
|
-
"eslint --fix --ignore-pattern 'dist/**'"
|
|
44
|
-
],
|
|
45
|
-
"*.{md,mdx}": [
|
|
46
|
-
"prettier --write"
|
|
47
|
-
],
|
|
48
|
-
"*.{json,yml,yaml}": [
|
|
49
|
-
"prettier --write"
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"keywords": [
|
|
53
|
-
"cli",
|
|
54
|
-
"agent",
|
|
55
|
-
"text-editor",
|
|
56
|
-
"ai",
|
|
57
|
-
"x-ai"
|
|
58
|
-
],
|
|
18
|
+
"files": ["dist", "README.md", "package.json"],
|
|
19
|
+
"keywords": ["cli", "agent", "text-editor", "ai", "x-ai", "legacy"],
|
|
59
20
|
"author": "x-cli-team",
|
|
60
21
|
"license": "MIT",
|
|
61
22
|
"dependencies": {
|
|
@@ -85,21 +46,6 @@
|
|
|
85
46
|
"terminal-image": "^4.0.0",
|
|
86
47
|
"tiktoken": "^1.0.21"
|
|
87
48
|
},
|
|
88
|
-
"devDependencies": {
|
|
89
|
-
"@eslint/js": "^9.37.0",
|
|
90
|
-
"@types/fs-extra": "^11.0.2",
|
|
91
|
-
"@types/node": "^20.8.0",
|
|
92
|
-
"@types/react": "^18.3.3",
|
|
93
|
-
"@typescript-eslint/eslint-plugin": "^8.37.0",
|
|
94
|
-
"@typescript-eslint/parser": "^8.37.0",
|
|
95
|
-
"esbuild": "^0.25.10",
|
|
96
|
-
"eslint": "^9.31.0",
|
|
97
|
-
"husky": "^9.1.7",
|
|
98
|
-
"lint-staged": "^16.2.4",
|
|
99
|
-
"prettier": "^3.6.2",
|
|
100
|
-
"tsup": "^8.5.0",
|
|
101
|
-
"tsx": "^4.0.0"
|
|
102
|
-
},
|
|
103
49
|
"engines": {
|
|
104
50
|
"node": ">=18.0.0"
|
|
105
51
|
},
|
|
@@ -112,16 +58,13 @@
|
|
|
112
58
|
"url": "https://github.com/x-cli-team/x-cli/issues"
|
|
113
59
|
},
|
|
114
60
|
"homepage": "https://x-cli.dev",
|
|
115
|
-
"icon": "docs/assets/logos/x-cli-logo.svg",
|
|
116
61
|
"publishConfig": {
|
|
117
62
|
"access": "public"
|
|
118
63
|
},
|
|
119
|
-
"
|
|
120
|
-
"hoisting": false
|
|
121
|
-
},
|
|
64
|
+
"deprecated": "This package has been renamed to 'one-shot'. Please use 'npm install -g one-shot' instead.",
|
|
122
65
|
"optionalDependencies": {
|
|
123
66
|
"tree-sitter": "^0.21.1",
|
|
124
|
-
"tree-sitter-javascript": "^0.
|
|
67
|
+
"tree-sitter-javascript": "^0.23.4",
|
|
125
68
|
"tree-sitter-python": "^0.21.0",
|
|
126
69
|
"tree-sitter-typescript": "^0.21.2"
|
|
127
70
|
},
|