ADR 0593 §1 and §7: compose, its bus reader and runtime reader, takein, validate, the overlay generator, the composer's run and mesh-compose, and the judgement of a move leave mesh-sdk for the node-engine's internal packages, so no other module composes and a change to them rebuilds only the node-engine. The shapes others read (the composer's request and verdict, the overlay's names, compositions and answers) stay in mesh-sdk. The node's grant is now a golden file of what the grants part composes, since the composer of the bus's user list leaves mesh-sdk too. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
82 lines
1.6 KiB
Plaintext
82 lines
1.6 KiB
Plaintext
{
|
|
"module": "triggerhappy",
|
|
"version": "1",
|
|
"moved": true,
|
|
"capabilities": [
|
|
"service-manager"
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "node-hotkeys",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"tools": [
|
|
"triggerhappy_keys",
|
|
"triggerhappy_devices",
|
|
"triggerhappy_dump",
|
|
"triggerhappy_check"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/triggerhappy.service.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "as-account",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/triggerhappy.service.d/mesh.conf",
|
|
"mode": "0644",
|
|
"template": "files/service.conf"
|
|
},
|
|
{
|
|
"id": "triggers-dir",
|
|
"type": "directory",
|
|
"path": "/etc/triggerhappy/triggers.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "triggers",
|
|
"type": "file",
|
|
"path": "/etc/triggerhappy/triggers.d/mesh.conf",
|
|
"mode": "0644",
|
|
"template": "files/triggers.conf"
|
|
},
|
|
{
|
|
"id": "service",
|
|
"type": "service",
|
|
"unit": "triggerhappy.service",
|
|
"state": "running",
|
|
"boot": "enabled",
|
|
"restart-on": [
|
|
"as-account",
|
|
"triggers"
|
|
]
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/triggerhappy-tools",
|
|
"binary": "triggerhappy-tools",
|
|
"loads": [
|
|
"triggerhappy-tools"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|