diff --git a/Cargo.toml b/Cargo.toml index 9951f2d..2d7409d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,13 +22,13 @@ rust-version = "1.85" crate-type = ["cdylib"] [dependencies] -# The SDK lives in fai/fai_plugin_sdk_rust during bootstrap; -# in production this will be a git dependency pointing at -# https://git.flemming.ai/fai/chain-plugin-sdk-rust. +# Local path during bootstrap; externally this is the git +# dependency https://git.flemming.ai/fai/chain-plugin-sdk-rust +# pinned to a released tag (see docs/advanced/plugin-sdk.md). chain-plugin-sdk = { path = "../../fai_chain_plugin_sdk_rust" } [package.metadata.component] -package = "fai:studio-plugin" +package = "chain:studio-plugin" [profile.release] opt-level = "s" diff --git a/README.md b/README.md index 48128c4..cbf8e79 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ component. What remains for full round-trip: that lists installed `studio.theme.*` capabilities. Until those land, this plugin can be inspected with -`wasm-tools component wit` and packed via `fai pack` — +`wasm-tools component wit` and packed via `chain pack` — `/tmp/studio-theme-solarized-0.1.0.fai` is sha256 `e3d5aae44bb97f14f8f84e293ef8742700956b69c7d6fe46bb8b3c97fc1b23a0`. @@ -47,5 +47,5 @@ the design notes. ```bash cargo build --release --target wasm32-wasip2 cp target/wasm32-wasip2/release/studio_theme_solarized.wasm module.wasm -fai pack . +chain pack . ```