# Conflicts: # node-tools/internal/firstview/firstview_test.go # node-tools/internal/runtime/announce_test.go # node-tools/internal/runtime/busstate.go # node-tools/internal/runtime/ledgers_test.go
106 lines
2.2 KiB
JSON
106 lines
2.2 KiB
JSON
{
|
|
"module": "node-tools",
|
|
"version": "0.1",
|
|
"slug": "node-tools",
|
|
"tool-runner": true,
|
|
"invokes": [
|
|
"*"
|
|
],
|
|
"uses": [
|
|
"operator-channel"
|
|
],
|
|
"provides": [
|
|
{
|
|
"name": "mcp-endpoint",
|
|
"scope": "node",
|
|
"credential": {
|
|
"form": "none"
|
|
},
|
|
"answered-by": "helper"
|
|
}
|
|
],
|
|
"serves": {
|
|
"mcp-endpoint": {
|
|
"port": 4270
|
|
}
|
|
},
|
|
"own-secrets": {
|
|
"broker": "${dir:mesh-state}/broker",
|
|
"ledgers": "${dir:mesh-state}/ledgers"
|
|
},
|
|
"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",
|
|
"states": [
|
|
"bus-state-calls",
|
|
"finding-calls",
|
|
"ledger-calls",
|
|
"ledger-upkeep-calls",
|
|
"put-sessions",
|
|
"seat-settle-delay",
|
|
"sent-objects-calls"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"state": [
|
|
"bound",
|
|
"findings",
|
|
{
|
|
"name": "approvals",
|
|
"per-machine": true,
|
|
"ttl-seconds": 172800
|
|
}
|
|
],
|
|
"consumes": [
|
|
"mesh-catalog.catalog-revision",
|
|
"mesh-catalog.registration-changed",
|
|
"mesh-catalog.seat-definition-changed",
|
|
"mesh-catalog.seat-definition-removed",
|
|
"mesh-conditions.findings-asked",
|
|
"seat:mesh-module-assigner.views.assignments",
|
|
"seat:mesh-module-assigner.views.seat-holders",
|
|
"mesh-delivery.source-moved"
|
|
],
|
|
"streams": [
|
|
{
|
|
"name": "node-tools-findings",
|
|
"events": ["finding-written.*", "finding-cleared.*", "findings-stated.*"],
|
|
"max-age-days": 7,
|
|
"max-mib": 16
|
|
}
|
|
],
|
|
"reads": [
|
|
"mesh-provisioner.provisions",
|
|
"mesh-provisioner.plans"
|
|
]
|
|
}
|