Take the catalogue's composition rules into the node-engine
ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk carries no composition rule. The catalogue functions only the node-engine's composition reaches (Resolve, Resolution's Compose, Declaration, DataItems, LeftOut, Rules and the rest, the settings, placeholder and template refusals, the rendering helpers) are copied with their tests into internal/compose/resolution; a method of a mesh-sdk shape becomes a function taking it first. The composition calls its own copies, and the captured catalogue its tests read lives here now, shared by mesh-compose's tests. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"module": "rofi",
|
||||
"version": "1",
|
||||
"moved": true,
|
||||
"capabilities": [
|
||||
"package-manager"
|
||||
],
|
||||
"requires": [
|
||||
"x11-display"
|
||||
],
|
||||
"claims": [
|
||||
{
|
||||
"name": "node-launcher",
|
||||
"scope": "node",
|
||||
"serves": [
|
||||
"menu",
|
||||
"secret"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tools": [
|
||||
"rofi_applications",
|
||||
"rofi_themes",
|
||||
"rofi_run"
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"id": "package",
|
||||
"type": "package",
|
||||
"package": "rofi"
|
||||
},
|
||||
{
|
||||
"id": "configuration-dir",
|
||||
"type": "directory",
|
||||
"path": "${machine:account-home}/.config/rofi",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"unknown": "move-out"
|
||||
},
|
||||
{
|
||||
"id": "themes-dir",
|
||||
"type": "directory",
|
||||
"path": "${machine:account-home}/.config/rofi/themes",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"unknown": "move-out"
|
||||
},
|
||||
{
|
||||
"id": "configuration",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/rofi/config.rasi",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"template": "files/config.rasi"
|
||||
},
|
||||
{
|
||||
"id": "theme",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/rofi/themes/mesh.rasi",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"template": "files/themes/mesh.rasi"
|
||||
},
|
||||
{
|
||||
"id": "theme-powermenu",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/rofi/themes/mesh-powermenu.rasi",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"template": "files/themes/mesh-powermenu.rasi"
|
||||
},
|
||||
{
|
||||
"id": "dmenu",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.local/bin/dmenu",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"template": "files/bin/dmenu"
|
||||
},
|
||||
{
|
||||
"id": "launch",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.local/bin/rofi-launch",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"template": "files/bin/rofi-launch"
|
||||
},
|
||||
{
|
||||
"id": "powermenu",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.local/bin/rofi-powermenu",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"template": "files/bin/rofi-powermenu"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "tools",
|
||||
"kind": "bundle",
|
||||
"language": "go",
|
||||
"system": "arch",
|
||||
"from": "cmd/rofi-tools",
|
||||
"binary": "rofi-tools",
|
||||
"loads": [
|
||||
"rofi-tools"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"collection": "contribution:node-display-session:config",
|
||||
"name": "display-session",
|
||||
"template": "files/i3/50-rofi.conf"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user