- Add ruleRegistry and onAuthenticated options to YonexusClientRuntime
- Dispatch non-builtin messages to rule registry
- Fire onAuthenticated callback on auth_success
- Reload persisted state on reconnect so externally-written secrets are picked up
- Re-send hello on auth_failed("not_paired") when client has a valid secret
- Always enter waiting_pair_confirm after pair_request regardless of notification status
- Expose __yonexusClient on globalThis for cross-plugin communication
- Wire onStateChange in transport creation (previously missing, prevented connection)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
766 B
JSON
38 lines
766 B
JSON
{
|
|
"name": "yonexus-client",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Yonexus.Client OpenClaw plugin scaffold",
|
|
"type": "module",
|
|
"main": "dist/plugin/index.js",
|
|
"openclaw": {
|
|
"extensions": ["./dist/Yonexus.Client/plugin/index.js"]
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"plugin",
|
|
"scripts",
|
|
"protocol",
|
|
"README.md",
|
|
"PLAN.md",
|
|
"SCAFFOLD.md",
|
|
"STRUCTURE.md",
|
|
"TASKS.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"clean": "rm -rf dist",
|
|
"check": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.2",
|
|
"typescript": "^5.6.3",
|
|
"vitest": "^4.1.3"
|
|
}
|
|
}
|