The stdio channel is the bundle's bus: subscribe asks the runtime (mesh/subscribe), which binds the module's durable consumer and hands each event over as mesh/event — answered once every matching handler has taken it, as an error when one failed so the runtime does not acknowledge it; request asks the runtime (mesh/ask). The session starts as the stdio module loads when the runtime launched the process, because a handler module subscribes at import, before the launcher says what it serves; initialize and tools/list are answered once it has. topicMatches as the runtime's. 0.1.6.
29 lines
771 B
JSON
29 lines
771 B
JSON
{
|
|
"name": "@novox/mesh-sdk",
|
|
"version": "0.1.6",
|
|
"description": "The stable spine a Novox Mesh module's own code builds against.",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./contracts": "./dist/contracts/index.js",
|
|
"./provisioner": "./dist/provisioner/index.js",
|
|
"./tools": "./dist/tools/index.js",
|
|
"./messaging": "./dist/messaging/index.js",
|
|
"./events": "./dist/events/index.js",
|
|
"./primitives": "./dist/primitives/index.js",
|
|
"./stdio": "./dist/stdio/index.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "node --test --experimental-strip-types 'test/*.test.ts'",
|
|
"prepare": "tsc"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.6.0"
|
|
}
|
|
}
|