@adhdev/daemon-standalone 0.9.82-rc.99 → 1.0.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/dist/index.js +86588 -43350
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
- package/public/assets/index-DuHZKmcF.js +121 -0
- package/public/assets/index-p-ehiI_L.css +1 -0
- package/public/assets/{terminal-D46M5EWH.js → terminal-CqjiB824.js} +21 -21
- package/public/assets/vendor-B6OqYKvq.js +2776 -0
- package/public/index.html +3 -3
- package/public/snake.html +229 -0
- package/vendor/mcp-server/index.js +6539 -2572
- package/vendor/mcp-server/index.js.map +1 -1
- package/vendor/mcp-server/package.json +3 -2
- package/vendor/session-host-daemon/index.d.mts +0 -10
- package/vendor/session-host-daemon/index.d.ts +0 -10
- package/vendor/session-host-daemon/index.js +305 -196
- package/vendor/session-host-daemon/index.js.map +1 -1
- package/vendor/session-host-daemon/index.mjs +299 -188
- package/vendor/session-host-daemon/index.mjs.map +1 -1
- package/public/assets/index-Bso1b8Lh.css +0 -1
- package/public/assets/index-DaIkPFUd.js +0 -99
- package/public/assets/vendor-CgiI0UIA.js +0 -2745
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adhdev/daemon-standalone",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "ADHDev standalone daemon — embedded HTTP/WS server for local dashboard",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"adhdev-mcp": "./vendor/mcp-server/index.js"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"preinstall": "node -e \"const major=Number.parseInt(process.versions.node.split('.')[0],10); if (process.platform === 'win32' && major >= 24) { console.error('\\n✗ ADHDev standalone does not currently support Node.js 24+ on Windows.\\n Install Node.js 22.x on Windows, then retry.\\n'); process.exit(1); }\"",
|
|
12
|
+
"preinstall": "node -e \"const major=Number.parseInt(process.versions.node.split('.')[0],10); if (process.platform === 'win32' && major >= 24 && !process.env.ADHDEV_BOOTSTRAP && !process.env.CI) { console.error('\\n✗ ADHDev standalone does not currently support Node.js 24+ on Windows.\\n Install Node.js 22.x on Windows, then retry.\\n'); process.exit(1); }\"",
|
|
13
13
|
"build": "tsup",
|
|
14
|
-
"bundle:web": "node -e \"const{cpSync,mkdirSync}=require('fs');mkdirSync('public',{recursive:true});cpSync('../web-standalone/dist','public',{recursive:true});console.log('bundled web-standalone → public/')\"",
|
|
14
|
+
"bundle:web": "node -e \"const{cpSync,mkdirSync,rmSync}=require('fs');rmSync('public',{recursive:true,force:true});mkdirSync('public',{recursive:true});cpSync('../web-standalone/dist','public',{recursive:true});console.log('bundled web-standalone → public/ (clean)')\"",
|
|
15
15
|
"bundle:vendor": "node ./scripts/vendor-runtime-deps.mjs",
|
|
16
16
|
"dev": "tsx src/index.ts",
|
|
17
17
|
"start": "node dist/index.js",
|
|
18
|
-
"test": "node --import tsx --test test/*.test.ts",
|
|
18
|
+
"test": "node --import tsx --test test/*.test.ts && vitest run",
|
|
19
19
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
20
20
|
"prepublishOnly": "cd ../.. && npm run build -w packages/session-host-daemon && npm run build -w packages/mcp-server && npm run build -w packages/daemon-core && npm run build -w packages/web-standalone && cd packages/daemon-standalone && npm run bundle:web && npm run bundle:vendor && npm run build"
|
|
21
21
|
},
|
|
@@ -49,9 +49,11 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^22.0.0",
|
|
51
51
|
"@types/ws": "^8.18.1",
|
|
52
|
+
"playwright": "^1.60.0",
|
|
52
53
|
"tsup": "^8.2.0",
|
|
53
54
|
"tsx": "^4.19.0",
|
|
54
|
-
"typescript": "^5.5.0"
|
|
55
|
+
"typescript": "^5.5.0",
|
|
56
|
+
"vitest": "^4.1.3"
|
|
55
57
|
},
|
|
56
58
|
"repository": {
|
|
57
59
|
"type": "git",
|