@xagent/x-cli 1.1.85 → 1.1.89

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