-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
242 lines (242 loc) · 7.23 KB
/
Copy pathpackage.json
File metadata and controls
242 lines (242 loc) · 7.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"name": "mastery",
"version": "1.0.32",
"description": "AI Engineering Mastery Agent - A standalone ReAct agent with 12 professional coding skills, sandbox execution, graph planning, 3-layer memory, and MCP protocol support",
"author": "novvoo",
"type": "module",
"main": "src/index.js",
"bin": {
"agent": "src/index.js"
},
"scripts": {
"start": "bun src/index.js",
"start:debug": "DEBUG=true AGENT_TRACE=true bun src/index.js",
"start:inspect": "bun --inspect src/index.js",
"dev": "bun --watch src/index.js",
"dev:debug": "DEBUG=true AGENT_TRACE=true bun --watch src/index.js",
"dev:inspect": "bun --inspect --watch src/index.js",
"test": "eslint src tests desktop/main-app desktop/main-app.js desktop/renderer desktop/tests && prettier --check \"src/**/*.js\" && bun test --isolate --timeout 15000 && node tests/core-integration.mjs && node tests/e2e-agent.mjs",
"test:debug": "bun --inspect-brk tests/core-integration.mjs",
"test:desktop": "bun test --isolate desktop/tests/desktop.test.js",
"test:desktop:ipc": "bun test --isolate desktop/tests/desktop.test.js",
"test:runtime": "bun test --isolate tests/runtime/integration.test.js",
"test:adapters": "bun test --isolate tests/adapters/cli.test.js",
"test:smoke": "bun test --isolate tests/smoke/",
"test:coverage": "eslint src tests desktop/main-app desktop/main-app.js desktop/renderer desktop/tests && prettier --check \"src/**/*.js\" && bun test --isolate tests/ --coverage && node tests/core-integration.mjs && node tests/e2e-agent.mjs",
"lint": "eslint src tests desktop/main-app desktop/main-app.js desktop/renderer desktop/tests",
"lint:src": "eslint src",
"lint:tests": "eslint tests",
"lint:desktop": "eslint desktop/main-app desktop/main-app.js desktop/renderer desktop/tests",
"format": "prettier --write \"src/**/*.js\"",
"format:check": "prettier --check \"src/**/*.js\"",
"examples": "bun examples/runtime-usage.js",
"examples:plugins": "bun examples/plugin-system.js",
"examples:desktop": "bun examples/desktop-integration.js",
"examples:performance": "bun examples/performance-tests.js",
"examples:all": "bun examples/runtime-usage.js && bun examples/plugin-system.js && bun examples/desktop-integration.js",
"desktop:dev": "node scripts/desktop-dev.js",
"desktop:start": "electron desktop/main.js",
"desktop:renderer:build": "vite build --config desktop/vite.config.js",
"desktop:build": "bun scripts/build-desktop.js",
"desktop:build:win": "bun scripts/build-desktop.js --win",
"desktop:build:mac": "bun scripts/build-desktop.js --mac",
"desktop:build:linux": "bun scripts/build-desktop.js --linux",
"desktop:build:all": "bun scripts/build-desktop.js --win --mac --linux",
"build:cli": "bun scripts/build-cli.js",
"build:all": "bun scripts/build-all.js",
"release:prepare": "bun scripts/prepare-release-package.mjs",
"release:cli": "bun scripts/release-cli.js",
"release:desktop": "bun scripts/release-desktop.js",
"release:all": "bun scripts/release-all.js",
"package:release": "bun scripts/prepare-release-package.mjs",
"publish": "bun run release:all"
},
"keywords": [
"ai-agent",
"coding-assistant",
"react-agent",
"llm",
"mcp",
"sandbox",
"graph-planner",
"memory-system",
"eval-framework"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/novvoo/mastery.git"
},
"files": [
"src/",
"package.json",
"README.md",
"LICENSE"
],
"dependencies": {
"@huggingface/tokenizers": "^0.1.3",
"boxen": "^8.0.1",
"chalk": "^5.3.0",
"cli-table3": "^0.6.5",
"diff": "^9.0.0",
"dotenv": "^17.0.0",
"glob": "^10.4.5",
"https-proxy-agent": "^9.0.0",
"inquirer": "^13.4.3",
"mammoth": "^1.12.0",
"onnxruntime-node": "^1.26.0",
"openai": "^4.73.0",
"ora": "^8.2.0",
"pdf-parse": "^2.4.5",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"electron": "^42.4.1",
"electron-builder": "^24.13.3",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"framer-motion": "^11.3.19",
"prettier": "^3.8.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite": "^7.0.10"
},
"build": {
"appId": "com.mastery.agent",
"productName": "AI Engineering Mastery Agent",
"copyright": "Copyright © 2024 AI Engineering Mastery Agent",
"directories": {
"output": "release/desktop",
"buildResources": "build"
},
"extraMetadata": {
"main": "desktop/main.js"
},
"files": [
"desktop/main.js",
"desktop/main-app.js",
"desktop/main-app/**/*",
"desktop/preload-entry/**/*",
"desktop/preload.cjs",
"desktop/preload.js",
"desktop/workspace.js",
"desktop/renderer/**/*",
"desktop/build/**/*",
{
"from": "src",
"to": "src",
"filter": [
"**/*"
]
},
"package.json"
],
"extraResources": [
{
"from": "src",
"to": "src",
"filter": [
"**/*"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"artifactName": "desktop-${productName}-${version}-${arch}-setup.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "AI Agent"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"category": "public.app-category.developer-tools",
"hardenedRuntime": true,
"artifactName": "desktop-${productName}-${version}-${arch}.${ext}"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 540,
"height": 380
}
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Development",
"maintainer": "Mastery@example.com",
"desktop": {
"Name": "AI Engineering Mastery Agent",
"Comment": "AI Engineering Mastery Agent - Desktop Application",
"Categories": "Development;IDE;AI",
"StartupWMClass": "mastery"
},
"artifactName": "desktop-${productName}-${version}-${arch}.${ext}"
},
"publish": {
"provider": "github"
},
"portable": {
"artifactName": "desktop-${productName}-${version}-${arch}-portable.${ext}"
}
},
"workspaces": []
}