MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / embedded_plugin_files

Function embedded_plugin_files

src/agents/cursor.rs:205–207  ·  view source on GitHub ↗

The Cursor plugin's composed deploy set, sourced from the shared `plugin/` tree via [`crate::agents::plugin_bundle::cursor_files`]. Each entry is `(deploy_relative_path, file_contents)`. The manifest, `mcp.json`, and `hooks/hooks.json` entries are rendered through helpers at install time to inject the package version and the absolute tracedecay binary path.

()

Source from the content-addressed store, hash-verified

203/// install time to inject the package version and the absolute tracedecay
204/// binary path.
205fn embedded_plugin_files() -> Vec<(&'static str, &'static str)> {
206 crate::agents::plugin_bundle::cursor_files()
207}
208
209fn cursor_plugin_install_dir(home: &Path) -> PathBuf {
210 home.join(".cursor/plugins/local/tracedecay")

Calls 1

cursor_filesFunction · 0.85