57 lines
1014 B
JSON
57 lines
1014 B
JSON
{
|
|
"module": "node-tools",
|
|
"version": "1",
|
|
"slug": "node-tools",
|
|
"invokes": [
|
|
"*"
|
|
],
|
|
"provides": [
|
|
{
|
|
"name": "mcp-endpoint",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"serves": {
|
|
"mcp-endpoint": {
|
|
"port": 4270
|
|
}
|
|
},
|
|
"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": "typescript",
|
|
"entrypoints": [
|
|
"src/main.js"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|