aggroot 1.5.3 → 1.5.5

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.
Files changed (2) hide show
  1. package/dist/index.cjs +536 -536
  2. package/package.json +161 -161
package/package.json CHANGED
@@ -1,161 +1,161 @@
1
- {
2
- "name": "aggroot",
3
- "version": "1.5.3",
4
- "description": "AggRoot - AI Assistant (Node.js/TypeScript Version)",
5
- "keywords": [
6
- "ai",
7
- "assistant",
8
- "llm",
9
- "agent"
10
- ],
11
- "repository": {
12
- "type": "git",
13
- "url": "https://gitcode.com/Mario_z/aita.git"
14
- },
15
- "license": "MIT",
16
- "author": "zhangzhuo",
17
- "type": "module",
18
- "imports": {
19
- "#core/*": "./dist/core/*.js",
20
- "#tools/*": "./dist/tools/*.js",
21
- "#models/*": "./dist/models/*.js",
22
- "#memory/*": "./dist/memory/*.js",
23
- "#types": "./dist/types/index.js",
24
- "#config": "./dist/config.js"
25
- },
26
- "main": "./dist/index.cjs",
27
- "bin": {
28
- "aggroot": "dist/cli.cjs"
29
- },
30
- "directories": {
31
- "doc": "docs",
32
- "test": "tests"
33
- },
34
- "files": [
35
- "dist/",
36
- "share/",
37
- "scripts/",
38
- ".env.example",
39
- "install-windows.bat",
40
- "install-linux.sh",
41
- "README.md"
42
- ],
43
- "scripts": {
44
- "dev": "node --no-warnings --import=tsx --watch src/index.ts",
45
- "dev:no-watch": "node --no-warnings --import=tsx src/index.ts",
46
- "dev:silent": "node --no-warnings --import=tsx --watch src/index.ts",
47
- "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && node scripts/obfuscate.mjs && node scripts/verify-no-source.mjs",
48
- "build:all": "node scripts/build-all.mjs",
49
- "build:dev": "tsc",
50
- "prepack": "npm run build",
51
- "start": "node --no-warnings --max-old-space-size=4096 dist/index.cjs",
52
- "type-check": "tsc --noEmit",
53
- "lint": "eslint .",
54
- "lint:fix": "eslint . --fix",
55
- "format": "prettier --write .",
56
- "format:check": "prettier --check .",
57
- "test": "vitest",
58
- "test:run": "vitest run",
59
- "test:coverage": "vitest run --coverage",
60
- "test:cross-platform": "node test-cross-platform.js",
61
- "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true});require('fs').rmSync('logs',{recursive:true,force:true})\"",
62
- "prepare": "echo skip",
63
- "pre-commit": "lint-staged",
64
- "rebuild-native": "npm rebuild better-sqlite3 sharp",
65
- "rebuild:windows": "npm rebuild --build-from-source better-sqlite3 sharp",
66
- "rebuild:linux": "npm rebuild --build-from-source better-sqlite3 sharp",
67
- "install:all": "npm install && npm run rebuild-native"
68
- },
69
- "dependencies": {
70
- "@modelcontextprotocol/sdk": "^1.29.0",
71
- "@vscode/ripgrep": "^1.17.1",
72
- "@xenova/transformers": "^2.17.0",
73
- "aggroot": "file:",
74
- "ajv": "^8.18.0",
75
- "ajv-formats": "^3.0.1",
76
- "chalk": "^5.6.2",
77
- "chokidar": "^5.0.0",
78
- "cli-table3": "^0.6.5",
79
- "diff": "^9.0.0",
80
- "docx": "^9.6.1",
81
- "dotenv": "^17.3.1",
82
- "exceljs": "^4.4.0",
83
- "glob": "^13.0.6",
84
- "iconv-lite": "^0.7.2",
85
- "ink": "^6.8.0",
86
- "inquirer": "^12.0.0",
87
- "lru-cache": "^11.2.7",
88
- "mammoth": "^1.12.0",
89
- "marked": "^18.0.3",
90
- "openai": "^4.67.0",
91
- "ora": "^8.1.0",
92
- "pino": "^9.5.0",
93
- "pino-pretty": "^11.2.0",
94
- "playwright": "^1.60.0",
95
- "pptxgenjs": "^4.0.1",
96
- "react": "^19.2.4",
97
- "react-reconciler": "^0.31.0",
98
- "scheduler": "^0.27.0",
99
- "simple-git": "^3.26.0",
100
- "string-width": "^8.2.1",
101
- "tiktoken": "^1.0.22",
102
- "tree-sitter-c": "^0.24.1",
103
- "tree-sitter-cpp": "^0.23.4",
104
- "ts-morph": "^27.0.2",
105
- "uuid": "^13.0.0",
106
- "web-tree-sitter": "^0.26.8",
107
- "zod": "^3.25.76",
108
- "@aggroot/server": "workspace:*",
109
- "@aggroot/protocol": "workspace:*"
110
- },
111
- "optionalDependencies": {
112
- "@honcho-ai/sdk": "^2.1.1",
113
- "better-sqlite3": "^12.8.0",
114
- "sharp": "^0.34.5"
115
- },
116
- "devDependencies": {
117
- "@eslint/js": "^9.13.0",
118
- "@types/ajv": "^0.0.5",
119
- "@types/better-sqlite3": "^7.6.13",
120
- "@types/diff": "^7.0.2",
121
- "@types/node": "^20.14.0",
122
- "@types/react": "^19.2.14",
123
- "@types/react-reconciler": "^0.31.0",
124
- "@vitest/coverage-v8": "^2.1.0",
125
- "esbuild": "^0.28.0",
126
- "eslint": "^9.13.0",
127
- "eslint-config-prettier": "^9.1.0",
128
- "husky": "^9.1.6",
129
- "javascript-obfuscator": "^4.2.2",
130
- "lint-staged": "^15.2.10",
131
- "prettier": "^3.3.3",
132
- "tsx": "^4.19.0",
133
- "typescript": "^5.6.0",
134
- "typescript-eslint": "^8.10.0",
135
- "vitest": "^2.1.0"
136
- },
137
- "engines": {
138
- "node": ">=20.0.0"
139
- },
140
- "os": [
141
- "win32",
142
- "linux",
143
- "darwin"
144
- ],
145
- "cpu": [
146
- "x64",
147
- "arm64",
148
- "ia32"
149
- ],
150
- "publishConfig": {
151
- "access": "public"
152
- },
153
- "lint-staged": {
154
- "*.{js,ts,json,md}": [
155
- "prettier --write"
156
- ],
157
- "*.{js,ts}": [
158
- "eslint --fix"
159
- ]
160
- }
161
- }
1
+ {
2
+ "name": "aggroot",
3
+ "version": "1.5.5",
4
+ "description": "AggRoot - AI Assistant (Node.js/TypeScript Version)",
5
+ "keywords": [
6
+ "ai",
7
+ "assistant",
8
+ "llm",
9
+ "agent"
10
+ ],
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://gitcode.com/Mario_z/aita.git"
14
+ },
15
+ "license": "MIT",
16
+ "author": "zhangzhuo",
17
+ "type": "module",
18
+ "imports": {
19
+ "#core/*": "./dist/core/*.js",
20
+ "#tools/*": "./dist/tools/*.js",
21
+ "#models/*": "./dist/models/*.js",
22
+ "#memory/*": "./dist/memory/*.js",
23
+ "#types": "./dist/types/index.js",
24
+ "#config": "./dist/config.js"
25
+ },
26
+ "main": "./dist/index.cjs",
27
+ "bin": {
28
+ "aggroot": "dist/cli.cjs"
29
+ },
30
+ "directories": {
31
+ "doc": "docs",
32
+ "test": "tests"
33
+ },
34
+ "files": [
35
+ "dist/",
36
+ "share/",
37
+ "scripts/",
38
+ ".env.example",
39
+ "install-windows.bat",
40
+ "install-linux.sh",
41
+ "README.md"
42
+ ],
43
+ "scripts": {
44
+ "dev": "node --no-warnings --import=tsx --watch src/index.ts",
45
+ "dev:no-watch": "node --no-warnings --import=tsx src/index.ts",
46
+ "dev:silent": "node --no-warnings --import=tsx --watch src/index.ts",
47
+ "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && node scripts/obfuscate.mjs && node scripts/verify-no-source.mjs",
48
+ "build:all": "node scripts/build-all.mjs",
49
+ "build:dev": "tsc",
50
+ "prepack": "npm run build",
51
+ "start": "node --no-warnings --max-old-space-size=4096 dist/index.cjs",
52
+ "type-check": "tsc --noEmit",
53
+ "lint": "eslint .",
54
+ "lint:fix": "eslint . --fix",
55
+ "format": "prettier --write .",
56
+ "format:check": "prettier --check .",
57
+ "test": "vitest",
58
+ "test:run": "vitest run",
59
+ "test:coverage": "vitest run --coverage",
60
+ "test:cross-platform": "node test-cross-platform.js",
61
+ "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true});require('fs').rmSync('logs',{recursive:true,force:true})\"",
62
+ "prepare": "husky",
63
+ "pre-commit": "lint-staged",
64
+ "rebuild-native": "npm rebuild better-sqlite3 sharp",
65
+ "rebuild:windows": "npm rebuild --build-from-source better-sqlite3 sharp",
66
+ "rebuild:linux": "npm rebuild --build-from-source better-sqlite3 sharp",
67
+ "install:all": "npm install && npm run rebuild-native"
68
+ },
69
+ "dependencies": {
70
+ "@modelcontextprotocol/sdk": "^1.29.0",
71
+ "@vscode/ripgrep": "^1.17.1",
72
+ "@xenova/transformers": "^2.17.0",
73
+ "aggroot": "file:",
74
+ "ajv": "^8.18.0",
75
+ "ajv-formats": "^3.0.1",
76
+ "chalk": "^5.6.2",
77
+ "chokidar": "^5.0.0",
78
+ "cli-table3": "^0.6.5",
79
+ "diff": "^9.0.0",
80
+ "docx": "^9.6.1",
81
+ "dotenv": "^17.3.1",
82
+ "exceljs": "^4.4.0",
83
+ "glob": "^13.0.6",
84
+ "iconv-lite": "^0.7.2",
85
+ "ink": "^6.8.0",
86
+ "inquirer": "^12.0.0",
87
+ "lru-cache": "^11.2.7",
88
+ "mammoth": "^1.12.0",
89
+ "marked": "^18.0.3",
90
+ "openai": "^4.67.0",
91
+ "ora": "^8.1.0",
92
+ "pino": "^9.5.0",
93
+ "pino-pretty": "^11.2.0",
94
+ "playwright": "^1.60.0",
95
+ "pptxgenjs": "^4.0.1",
96
+ "react": "^19.2.4",
97
+ "react-reconciler": "^0.31.0",
98
+ "scheduler": "^0.27.0",
99
+ "simple-git": "^3.26.0",
100
+ "string-width": "^8.2.1",
101
+ "tiktoken": "^1.0.22",
102
+ "tree-sitter-c": "^0.24.1",
103
+ "tree-sitter-cpp": "^0.23.4",
104
+ "ts-morph": "^27.0.2",
105
+ "uuid": "^13.0.0",
106
+ "web-tree-sitter": "^0.26.8",
107
+ "zod": "^3.25.76",
108
+ "@aggroot/server": "workspace:*",
109
+ "@aggroot/protocol": "workspace:*"
110
+ },
111
+ "optionalDependencies": {
112
+ "@honcho-ai/sdk": "^2.1.1",
113
+ "better-sqlite3": "^12.8.0",
114
+ "sharp": "^0.34.5"
115
+ },
116
+ "devDependencies": {
117
+ "@eslint/js": "^9.13.0",
118
+ "@types/ajv": "^0.0.5",
119
+ "@types/better-sqlite3": "^7.6.13",
120
+ "@types/diff": "^7.0.2",
121
+ "@types/node": "^20.14.0",
122
+ "@types/react": "^19.2.14",
123
+ "@types/react-reconciler": "^0.31.0",
124
+ "@vitest/coverage-v8": "^2.1.0",
125
+ "esbuild": "^0.28.0",
126
+ "eslint": "^9.13.0",
127
+ "eslint-config-prettier": "^9.1.0",
128
+ "husky": "^9.1.6",
129
+ "javascript-obfuscator": "^4.2.2",
130
+ "lint-staged": "^15.2.10",
131
+ "prettier": "^3.3.3",
132
+ "tsx": "^4.19.0",
133
+ "typescript": "^5.6.0",
134
+ "typescript-eslint": "^8.10.0",
135
+ "vitest": "^2.1.0"
136
+ },
137
+ "engines": {
138
+ "node": ">=20.0.0"
139
+ },
140
+ "os": [
141
+ "win32",
142
+ "linux",
143
+ "darwin"
144
+ ],
145
+ "cpu": [
146
+ "x64",
147
+ "arm64",
148
+ "ia32"
149
+ ],
150
+ "publishConfig": {
151
+ "access": "public"
152
+ },
153
+ "lint-staged": {
154
+ "*.{js,ts,json,md}": [
155
+ "prettier --write"
156
+ ],
157
+ "*.{js,ts}": [
158
+ "eslint --fix"
159
+ ]
160
+ }
161
+ }