Docs already said any module or app could publish bread.command.<app>.<verb>, but command is reserved so both unsourced bread-emit and sourced App emit rejected the whole namespace. Keep command unclaimable as an app id; accept bread.command.<known-app>.<verb> (and let an app command another known app). Also ship bread-emit and bread-module-host, and give udev enumerate the same classification fields as a live add so boot-time devices are not all unknown.
1 line
No EOL
8.9 KiB
JSON
1 line
No EOL
8.9 KiB
JSON
{"nodes": [{"id": "$graphify-root$_examples_modules_git_branch_widget_lua", "label": "git-branch-widget.lua", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L1"}, {"id": "$graphify-root$_examples_modules_git_branch_widget_shell_quote", "label": "shell_quote()", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L41", "_callable": true}, {"id": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "label": "focused_tab_cwd()", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L50", "_callable": true}, {"id": "$graphify-root$_examples_modules_git_branch_widget_git_info", "label": "git_info()", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L88", "_callable": true}, {"id": "$graphify-root$_examples_modules_git_branch_widget_widget_root", "label": "widget_root()", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L111", "_callable": true}, {"id": "$graphify-root$_examples_modules_git_branch_widget_update", "label": "update()", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L122", "_callable": true}, {"id": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "label": "M.on_load()", "file_type": "code", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L133", "_callable": true}], "edges": [{"source": "$graphify-root$_examples_modules_git_branch_widget_lua", "target": "$graphify-root$_examples_modules_git_branch_widget_shell_quote", "relation": "contains", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L41", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_lua", "target": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "relation": "contains", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_lua", "target": "$graphify-root$_examples_modules_git_branch_widget_git_info", "relation": "contains", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L88", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_lua", "target": "$graphify-root$_examples_modules_git_branch_widget_widget_root", "relation": "contains", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L111", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_lua", "target": "$graphify-root$_examples_modules_git_branch_widget_update", "relation": "contains", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L122", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_lua", "target": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "relation": "contains", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L133", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_git_info", "target": "$graphify-root$_examples_modules_git_branch_widget_shell_quote", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L89", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_update", "target": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L123", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_update", "target": "$graphify-root$_examples_modules_git_branch_widget_git_info", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L124", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_update", "target": "$graphify-root$_examples_modules_git_branch_widget_widget_root", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L129", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "target": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L134", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "target": "$graphify-root$_examples_modules_git_branch_widget_git_info", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L135", "weight": 1.0}, {"source": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "target": "$graphify-root$_examples_modules_git_branch_widget_widget_root", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L142", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "bread.hyprland.active_window", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "bread.fs.exists", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L57", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "bread.exec_capture", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L61", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "bread.json.decode", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L66", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "ipairs", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L71", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "ipairs", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L73", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_focused_tab_cwd", "callee": "ipairs", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L75", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_git_info", "callee": "bread.exec_capture", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L91", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_git_info", "callee": "bread.exec_capture", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L99", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_git_info", "callee": "bread.exec_capture", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L105", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_update", "callee": "bread.widget.update", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L126", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "callee": "bread.widget.register", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L137", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "callee": "bread.on", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L149", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "callee": "bread.on", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L150", "receiver": null}, {"caller_nid": "$graphify-root$_examples_modules_git_branch_widget_m_on_load", "callee": "bread.every", "is_member_call": false, "source_file": "examples/modules/git-branch-widget.lua", "source_location": "L151", "receiver": null}]} |