Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ jobs:
# The bundled plugin is dependency-free too; its suites cover the
# manifest contract, the registry, the exec/ssh transport, the four
# platform backends, and the MCP stdio protocol. No GUI input runs.
run: (cd plugins/computer-use && npm test)
run: (cd crates/tui/plugins/computer-use && npm test)

safety-gate:
name: Safety gate
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ CODEWHALE_0_9_0_CUTOVER.md
.playwright-mcp/

# computer-use plugin smoke receipts (per-run local evidence)
plugins/computer-use/receipts/
crates/tui/plugins/computer-use/receipts/
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ recorder.

## Development

The bundle lives at `plugins/computer-use` in the Codewhale repository and has
The bundle lives at `crates/tui/plugins/computer-use` in the Codewhale repository and has
no dependencies to install; run its suites from that directory.

```bash
Expand Down
8 changes: 4 additions & 4 deletions crates/tui/src/plugins/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//! [`super::discovery::DiscoveryConfig::builtin_plugin_dirs`] and
//! [`super::types::PluginScope::Builtin`] have existed since plugin discovery
//! landed, with no producer: every construction site passed an empty list, so
//! the in-repo `plugins/computer-use` bundle reached nobody who had not cloned
//! the repository. This module is that producer. It is not a second install
//! the in-repo `crates/tui/plugins/computer-use` bundle reached nobody who had
//! not cloned the repository. This module is that producer. It is not a second install
//! path — installed bundles still arrive through
//! [`super::install`], and discovery, trust, and enablement are unchanged.
//!
Expand Down Expand Up @@ -47,12 +47,12 @@ macro_rules! bundle_file {
($relative:literal) => {
(
$relative,
include_str!(concat!("../../../../plugins/computer-use/", $relative)),
include_str!(concat!("../../plugins/computer-use/", $relative)),
)
};
}

/// The runtime tree of `plugins/computer-use`, relative path → contents.
/// The runtime tree of `crates/tui/plugins/computer-use`, relative path → contents.
///
/// Development-only files (`tests/`, `scripts/smoke.mjs`, `package.json`,
/// `README.md`) are deliberately absent: nothing at runtime reads them, and
Expand Down
5 changes: 1 addition & 4 deletions crates/tui/src/plugins/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2305,10 +2305,7 @@ args = ["server.js", "--mode=worker", "-e", "console.log('ready')"]
#[test]
fn bundled_computer_use_plugin_validates() {
use crate::plugins::agent_plugin;
let root = PathBuf::from(concat!(
env!("CARGO_MANIFEST_DIR"),
"/../../plugins/computer-use"
));
let root = PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/plugins/computer-use"));
let validated = PluginManifest::validate_from_path(&root.join("plugin.json"))
.expect("in-repo computer-use bundle must validate");
assert_eq!(validated.manifest.plugin.name, "computer-use");
Expand Down
2 changes: 1 addition & 1 deletion crates/tui/src/tui/views/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ fn reviewed_product_catalog(locale: Locale) -> Vec<PluginProduct> {
)
.into_owned(),
publisher: "Codewhale".into(),
source_reference: "plugins/computer-use".into(),
source_reference: "crates/tui/plugins/computer-use".into(),
components: vec![
PluginProductComponent {
kind: PluginProductComponentKind::Mcp,
Expand Down
Loading