{ "name": "@waggle/hive-mind-hooks-openclaw", "version": "0.1.0", "description": "OpenClaw silent capture shim for hive-mind. Registers in-process internal hooks (agent:bootstrap / message:received / message:sent / compact:before) that route gateway conversation episodes into hive-mind frames via @waggle/hive-mind-shim-core. Reversible, create-if-missing install — writes a managed ~/.openclaw/hooks/hive-mind/ dir + minimal-touch JSON5 edit, with literal byte-identical uninstall (JSON5 round-trip is lossy). Stop debounced (message:sent is 0..N/turn). Built on @waggle/hive-mind-hooks-core.", "license": "Apache-2.0", "type": "module", "main": "dist/index.js", "bin": { "openclaw-hooks": "dist/bin/openclaw-hooks.js" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./handler": "./dist/handler.js" }, "scripts": { "build": "tsc --build && node scripts/build-handler.mjs", "build:clean": "tsc --build --clean && node --input-type=module -e \"import { rmSync } from 'node:fs'; rmSync('dist/handler.bundle.cjs', { force: true })\"", "prepack": "npm run build", "typecheck": "tsc --build && tsc --noEmit -p tsconfig.test.json", "test": "npm run build && node ../../node_modules/vitest/vitest.mjs run --root ../.. --config vitest.config.ts packages/hive-mind-hooks-openclaw/tests", "test:watch": "vitest" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" }, "dependencies": { "@waggle/hive-mind-hooks-core": "*", "@waggle/hive-mind-shim-core": "*", "json5": "^2.2.3" }, "peerDependencies": { "@waggle/hive-mind-cli": "*" }, "peerDependenciesMeta": { "@waggle/hive-mind-cli": { "optional": true } }, "repository": { "type": "git", "url": "git+https://github.com/marolinik/waggle-os.git", "directory": "packages/hive-mind-hooks-openclaw" }, "homepage": "https://github.com/marolinik/waggle-os/tree/main/packages/hive-mind-hooks-openclaw#readme", "bugs": { "url": "https://github.com/marolinik/waggle-os/issues" }, "author": "Egzakta Group d.o.o. (https://egzakta.com)", "keywords": [ "openclaw", "hive-mind", "memory", "ai", "hook", "silent-capture", "json5", "in-process" ], "types": "dist/index.d.ts" }