@silverhand-ai/daemon 0.0.1-alpha.6
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/cli.js +617 -0
- package/dist/daemon.js +634 -0
- package/package.json +25 -0
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@silverhand-ai/daemon",
|
|
3
|
+
"version": "0.0.1-alpha.6",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Silverhand user-managed computer daemon",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public",
|
|
9
|
+
"tag": "alpha"
|
|
10
|
+
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"silverhand-daemon": "dist/daemon.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "pnpm --filter @silverhand/host exec esbuild src/daemon/entry.ts --bundle --platform=node --format=esm --target=node20 --outfile=../silverhand-daemon/dist/daemon.js --minify=${SILVERHAND_MINIFY:-false} --banner:js='import{createRequire}from\"node:module\";const require=createRequire(import.meta.url);' && pnpm --filter @silverhand/cli exec esbuild src/cli.ts --bundle --platform=node --format=esm --target=node20 --outfile=../silverhand-daemon/dist/cli.js --minify=${SILVERHAND_MINIFY:-false} --banner:js='import{createRequire}from\"node:module\";const require=createRequire(import.meta.url);'",
|
|
19
|
+
"build:publish": "SILVERHAND_MINIFY=true pnpm run build",
|
|
20
|
+
"pack:dry": "npm pack --dry-run",
|
|
21
|
+
"publish:check": "pnpm --filter @silverhand/host run test:publish-guards",
|
|
22
|
+
"prepack": "pnpm run build:publish",
|
|
23
|
+
"prepublishOnly": "pnpm run publish:check && pnpm run build:publish && test -f dist/daemon.js && test -f dist/cli.js"
|
|
24
|
+
}
|
|
25
|
+
}
|