chore(plugin): adopt fai-plugin-sdk naming + fai-plugins repo URL

Three SDK families convention from
fai/platform/docs/architecture/sdks.md: base name carries
family, suffix carries language. This plugin now depends on
fai-plugin-sdk (was fai-studio-plugin-sdk) and moves to the
fai-plugins/ org on Forgejo.

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-05-26 00:59:18 +02:00
parent 65986ff8a1
commit 0ec78fb06f
4 changed files with 9 additions and 9 deletions

4
Cargo.lock generated
View file

@ -39,7 +39,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "fai-studio-plugin-sdk"
name = "fai-plugin-sdk"
version = "0.1.0"
dependencies = [
"wit-bindgen",
@ -209,7 +209,7 @@ dependencies = [
name = "studio_theme_solarized"
version = "0.1.0"
dependencies = [
"fai-studio-plugin-sdk",
"fai-plugin-sdk",
]
[[package]]

View file

@ -15,17 +15,17 @@ authors = ["Dr. Stefan Flemming <platform@flemming.ai>"]
license = "Apache-2.0"
publish = false
description = "F∆I Studio plugin — Solarized Light and Dark theme"
repository = "https://git.flemming.ai/fai-modules/studio-theme-solarized"
repository = "https://git.flemming.ai/fai-plugins/studio-theme-solarized"
rust-version = "1.85"
[lib]
crate-type = ["cdylib"]
[dependencies]
# The SDK lives in fai/fai_studio_plugin_sdk during bootstrap;
# 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/studio-plugin-sdk.
fai-studio-plugin-sdk = { path = "../../fai_studio_plugin_sdk" }
# https://git.flemming.ai/fai/plugin-sdk-rust.
fai-plugin-sdk = { path = "../../fai_plugin_sdk_rust" }
[package.metadata.component]
package = "fai:studio-plugin"

View file

@ -39,7 +39,7 @@ falls back to its built-in renderer / the `[EN]` badge.
v0.2 will split the WIT into one world per hook so a theme
plugin only writes the theme impl. See
`docs/advanced/studio-plugin-sdk.md` in `fai/platform` for
`docs/advanced/plugin-sdk.md` in `fai/platform` for
the design notes.
## Build

View file

@ -5,12 +5,12 @@
//! export.
//!
//! This is the proof-of-contract plugin for the
//! `fai-studio-plugin-sdk` v0.1 shape: one struct, one
//! `fai-plugin-sdk` v0.1 shape: one struct, one
//! `Guest` impl, one `export_plugin!` invocation.
#![allow(clippy::result_large_err)]
use fai_studio_plugin_sdk::{bindings, export_plugin};
use fai_plugin_sdk::{bindings, export_plugin};
// Type aliases against the SDK's bindings so the impl block
// reads cleanly. Once the SDK v0.2 ships proper re-exports +