The node's runtime is the Go binary: one static executable the host runs as ./node-tools from its own bundle. Node.js stays on the machine for the TypeScript bundles the runtime launches. The TypeScript source stays in the repository: it is the runtime image the per-module containers run until WP4c.
46 lines
887 B
JSON
46 lines
887 B
JSON
{
|
|
"module": "node-tools",
|
|
"version": "1",
|
|
"slug": "node-tools",
|
|
"invokes": [
|
|
"*"
|
|
],
|
|
"own-secrets": {
|
|
"broker": "${dir:mesh-state}/broker"
|
|
},
|
|
"listens": [
|
|
{
|
|
"name": "mcp",
|
|
"port": 4270,
|
|
"protocol": "tcp",
|
|
"from": "machine",
|
|
"why": "the mesh's tools for whoever is on this machine, over MCP on loopback; the machine's login is the authority (novox/hq ADR 0152, 0175)"
|
|
}
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "mesh-state",
|
|
"type": "directory",
|
|
"mode": "0755",
|
|
"place": "mesh"
|
|
},
|
|
{
|
|
"id": "interpreter",
|
|
"type": "package",
|
|
"package": "nodejs"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "runtime",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/node-tools",
|
|
"binary": "node-tools"
|
|
}
|
|
]
|
|
}
|
|
}
|