Legacy Plugin Tool Lister (plugins/legacy.rs)

Codewhale · crates/tui/src/commands/groups/plugins/legacy.rs · rust · MIT
ai, dev-tools, cli, pos, tag:plugins, tag:legacy

CLI command that scans a directory for legacy executable plugins and displays read‑only inventory details without executing them.

// Source: https://github.com/Hmbown/Codewhale | License: MIT | Copyright 2024-2025 DeepSeek-TUI Contributors
// Provided via justclaw.it.com; keep this notice with the code.
//! Legacy executable plugin-tool inventory (`[tools].plugin_dir`).
//!
//! These are scripts, not declarative bundles: they are discovered by
//! scanning a directory, they carry their own approval requirement, and
//! they never share bundle trust state. `/plugin tools` reports them
//! read-only — nothing here installs, trusts, or executes anything.
//!
//! FEAT-020: this module consumes the portable `PluginLegacyScan` from the
//! plugin facet; no concrete `App` or `PluginMetadata` crosses the boundary.

use codewhale_command_contract::facets::{CommandPluginContext, CommandPresentationContext};
use std::fmt::Write

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key