build: PaddedCell-style install.mjs + SDK-aligned packaging

install.mjs (--install/--build-only/--uninstall/--openclaw-profile-path),
tsconfig outDir dist/fabric, package.json openclaw file dep + main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
h z
2026-05-15 17:30:37 +01:00
parent 9221664428
commit 7fed6d07f6
537 changed files with 536836 additions and 3 deletions

View File

@@ -4,9 +4,8 @@
"private": true,
"type": "module",
"description": "Fabric channel plugin for OpenClaw",
"main": "index.js",
"openclaw": {
"extensions": ["./index.ts"],
"setupEntry": "./src/setup-entry.ts",
"channel": {
"id": "fabric",
"label": "Fabric",
@@ -16,6 +15,11 @@
"dependencies": {
"socket.io-client": "^4.8.3"
},
"devDependencies": {
"typescript": "^5.7.2",
"@types/node": "^22.10.1",
"openclaw": "file:/home/hzhang/.nvm/versions/node/v25.8.1/lib/node_modules/openclaw"
},
"scripts": {
"build": "tsc -p tsconfig.json"
}