Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(plugins): read the catalog fields the catalog actually uses (#2403)

Lan047c4eab1c97
diff --git a/apps/desktop/src/features/plugins/PluginDetailSheet.tsx b/apps/desktop/src/features/plugins/PluginDetailSheet.tsx
index 14d471a97..e9500356e 100644
--- a/apps/desktop/src/features/plugins/PluginDetailSheet.tsx
+++ b/apps/desktop/src/features/plugins/PluginDetailSheet.tsx
@@ -114,6 +114,19 @@ export function PluginDetailSheet({
<span>{detail.author}</span>
</>
) : null}
+ {detail?.publisherId ? (
+ <>
+ <span className="plugins-dot" aria-hidden>
+ ·
+ </span>
+ {/* The account that published it, which is not the display
+ author: one is who wrote the plugin, the other is who
+ the platform verified. */}
+ <span className="plugins-sheet-publisher">
+ {t("plugins.publisher", { id: detail.publisherId })}
+ </span>
+ </>
+ ) : null}
</div>
</div>
<TooltipButton
diff --git a/apps/desktop/test/market-browse-user-path.test.mjs b/apps/desktop/test/market-browse-user-path.test.mjs
index e7aab134c..01f4d7994 100644
--- a/apps/desktop/test/market-browse-user-path.test.mjs
+++ b/apps/desktop/test/market-browse-user-path.test.mjs
@@ -96,7 +96,9 @@ usePluginBrowseState.setState({ tab: "market" });
const check = (value, message) => { if (!value) throw new Error(message); };
const frame = () => new Promise(requestAnimationFrame);
const until = async (condition, message) => {
- const end = performance.now() + 5000;
+ // Electron competes with the rest of the suite for the machine; a page that
+ // is slow to settle is not a failure.
+ const end = performance.now() + 15000;
while (!condition()) { if (performance.now() > end) throw new Error(message); await frame(); }
};
const cards = () => [...document.querySelectorAll(".plugins-card-name")].map((n) => n.textContent);
diff --git a/apps/desktop/test/plugin-detail-metadata.test.mjs b/apps/desktop/test/plugin-detail-metadata.test.mjs
new file mode 100644
index 000000000..9863191bf
--- /dev/null
+++ b/apps/desktop/test/plugin-detail-metadata.test.mjs
@@ -0,0 +1,114 @@
+import assert from "node:assert/strict";
+import test from "node:test";
+import { createElement } from "react";
+import { renderToStaticMarkup } from "react-dom/server";
+import { createInstance } from "i18next";
+import { catalogs } from "@pi-desktop/i18n";
+import { createServer } from "vite";
+import { fileURLToPath } from "node:url";
+
+/*
+ * What the detail sheet shows for a plugin the catalog describes fully.
+ *
+ * The catalog is camelCase; the entry used to be parsed as snake_case, so the
+ * readme, the safety notes and the publisher were always absent and the sheet
+ * rendered none of them however complete the published document was. This
+ * renders the real sheet from a detail built the way the host builds it.
+ */
+
+const ROOT = fileURLToPath(new URL("..", import.meta.url));
+
+async function withSheet(run) {
+ const server = await createServer({
+ root: ROOT,
+ configFile: false,
+ server: { middlewareMode: true, hmr: false, ws: false },
+ esbuild: { jsx: "automatic" },
+ appType: "custom",
+ optimizeDeps: { noDiscovery: true, include: [] },
+ });
+ try {
+ const { PluginDetailSheet } = await server.ssrLoadModule(
+ "/src/features/plugins/PluginDetailSheet.tsx",
+ );
+ const i18n = createInstance();
+ await i18n.init({ lng: "en", resources: { en: { translation: catalogs.en } } });
+ await run({ PluginDetailSheet, t: i18n.t.bind(i18n) });
+ } finally {
+ await server.close();
+ }
+}
+
+function detail(overrides = {}) {
+ return {
+ id: "pi.rich",
+ name: "Rich",
+ description: "has metadata",
+ author: "Rich Author",
+ publisherId: "tioit-wang",
+ trust: "community",
+ latestVersion: "1.0.0",
+ updatedAt: "2026-01-01T00:00:00Z",
+ categories: ["themes"],
+ permissionSummary: ["ui.theme"],
+ permissions: ["ui.theme"],
+ safetyNotes: "Reads nothing outside its own folder.",
+ readmeMarkdown: "# Rich\n\nA readme the sheet should render.",
+ versions: [
+ {
+ version: "1.0.0",
+ publishedAt: "2026-01-01T00:00:00Z",
+ shasum: "ab".repeat(32),
+ url: "packages/pi.rich-1.0.0.piplug",
+ sizeBytes: 12,
+ permissions: ["ui.theme"],
+ },
+ ],
+ ...overrides,
+ };
+}
+
+function model(t, overrides = {}) {
+ const current = detail(overrides.detail);
+ return {
+ t,
+ locale: "en",
+ selectedId: current.id,
+ closeDetail: () => {},
+ detail: current,
+ detailLoading: false,
+ activeVersion: current.versions[0],
+ installTarget: "1.0.0",
+ detailWithdrawn: false,
+ detailPackagePending: false,
+ detailUpToDate: false,
+ detailPermissions: ["ui.theme"],
+ installedDetail: undefined,
+ isPluginBusy: () => false,
+ queueInstall: () => {},
+ setSelectedVersion: () => {},
+ reviewSummaries: {},
+ reviewsStatus: "ready",
+ reviewsId: null,
+ openReviews: () => {},
+ closeReviews: () => {},
+ };
+}
+
+test("the sheet renders the published readme, safety notes and publisher", async () => {
+ await withSheet(({ PluginDetailSheet, t }) => {
+ const html = renderToStaticMarkup(createElement(PluginDetailSheet, model(t)));
+ assert.match(html, /# Rich|A readme the sheet should render\./, "readme missing");
+ assert.match(html, /Reads nothing outside its own folder\./, "safety notes missing");
+ assert.match(html, /Publisher tioit-wang/, "publisher missing");
+ });
+});
+
+test("a catalog entry without those fields renders without them", async () => {
+ await withSheet(({ PluginDetailSheet, t }) => {
+ const bare = detail({ publisherId: undefined, safetyNotes: undefined, readmeMarkdown: undefined });
+ const html = renderToStaticMarkup(createElement(PluginDetailSheet, model(t, { detail: bare })));
+ assert.doesNotMatch(html, /Publisher /, "publisher must not render when absent");
+ assert.doesNotMatch(html, /Reads nothing/, "safety notes must not render when absent");
+ });
+});
diff --git a/crates/host-core/src/plugins/marketplace.rs b/crates/host-core/src/plugins/marketplace.rs
index 79f331d3c..2cf68d280 100644
--- a/crates/host-core/src/plugins/marketplace.rs
+++ b/crates/host-core/src/plugins/marketplace.rs
@@ -112,6 +112,10 @@ impl PluginManager {
pub(crate) fn ensure_default_catalog(&self) -> Result<()> {
let path = self.catalog_path();
if path.exists() {
+ // The snapshot may have been written by a build that could not read
+ // the catalog's multi-word fields; replacing it is a one-time cost
+ // and a no-op afterwards.
+ let _ = self.migrate_catalog_metadata();
return Ok(());
}
// Prefer the official remote marketplace repo; fall back to bundled demos.
@@ -265,11 +269,44 @@ impl PluginManager {
"providerId": catalog.provider_id,
"fetchedAt": Utc::now().to_rfc3339(),
"pluginCount": catalog.plugins.len(),
+ "metadataGeneration": CATALOG_METADATA_GENERATION,
});
fs::write(meta_path, serde_json::to_string_pretty(&meta)?)?;
Ok(catalog)
}
+ /// Bring a snapshot written before the catalog fields were readable back to
+ /// the current shape, once.
+ ///
+ /// The previous parser accepted snake_case only, so `readmeMarkdown`,
+ /// `publisherId`, `safetyNotes` and `iconUrl` were dropped and recorded as
+ /// null. A snapshot like that cannot be repaired without the source: it is
+ /// fetched again, and the marker in `cache-meta.json` keeps the next launch
+ /// from repeating the request. A failed fetch leaves the snapshot in place
+ /// and the marker absent, so the next launch tries again.
+ pub(crate) fn migrate_catalog_metadata(&self) -> Result<()> {
+ let meta_path = self.market_cache_meta_path();
+ let Ok(raw) = fs::read_to_string(&meta_path) else {
+ return Ok(());
+ };
+ let Ok(meta) = serde_json::from_str::<Value>(&raw) else {
+ return Ok(());
+ };
+ if meta
+ .get("metadataGeneration")
+ .and_then(Value::as_u64)
+ .is_some_and(|generation| generation >= u64::from(CATALOG_METADATA_GENERATION))
+ {
+ return Ok(());
+ }
+ if !self.catalog_path().exists() || !self.uses_download_resolve() {
+ // A bundled or local-file catalog has no center to ask; its entries
+ // are written by this build and already carry the fields.
+ return Ok(());
+ }
+ self.refresh_catalog_from_remote(true).map(|_| ())
+ }
+
pub fn refresh_market(&self, force: bool) -> Result<Value> {
let catalog = self.refresh_catalog_from_remote(force)?;
// A refresh the user asked for must not be answered by a page cached
@@ -685,6 +722,11 @@ pub(crate) fn category_label(labels: &CategoryLabels, id: &str, locale: &str) ->
id.to_string()
}
+/// Shape of the catalog metadata this build reads and writes. A snapshot
+/// recorded under an older generation is refreshed once; see
+/// `migrate_catalog_metadata`.
+const CATALOG_METADATA_GENERATION: u32 = 2;
+
pub(crate) fn host_supports_version(version: &MarketVersion) -> bool {
let Some(required) = version.min_pi_desktop.as_deref().map(str::trim) else {
return true;
diff --git a/crates/host-core/src/plugins/model.rs b/crates/host-core/src/plugins/model.rs
index 19ccba6f4..19698450a 100644
--- a/crates/host-core/src/plugins/model.rs
+++ b/crates/host-core/src/plugins/model.rs
@@ -416,12 +416,13 @@ pub struct MarketDownloadInfo {
}
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
+#[serde(rename_all = "camelCase")]
pub(crate) struct MarketCatalogEntry {
pub(crate) id: String,
pub(crate) name: String,
pub(crate) description: String,
pub(crate) author: String,
- #[serde(default)]
+ #[serde(default, alias = "icon_url")]
pub(crate) icon_url: Option<String>,
#[serde(default)]
pub(crate) categories: Vec<String>,
@@ -431,7 +432,7 @@ pub(crate) struct MarketCatalogEntry {
/// from the official/mirror source; see `resolve_trust`.
#[serde(default)]
pub(crate) trust: Option<String>,
- #[serde(default)]
+ #[serde(default, alias = "publisher_id")]
pub(crate) publisher_id: Option<String>,
#[serde(default)]
pub(crate) downloads: Option<u64>,
@@ -439,13 +440,13 @@ pub(crate) struct MarketCatalogEntry {
pub(crate) homepage: Option<String>,
#[serde(default)]
pub(crate) repository: Option<String>,
- #[serde(default)]
+ #[serde(default, alias = "readme_markdown")]
pub(crate) readme_markdown: Option<String>,
/// Display strings per locale, resolved against the app language before a
/// card or detail view is built.
#[serde(default)]
pub(crate) i18n: Option<PluginI18nMap>,
- #[serde(default)]
+ #[serde(default, alias = "safety_notes")]
pub(crate) safety_notes: Option<String>,
pub(crate) versions: Vec<MarketVersion>,
}
@@ -455,28 +456,29 @@ pub(crate) type CategoryLabels =
std::collections::BTreeMap<String, std::collections::BTreeMap<String, String>>;
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
+#[serde(rename_all = "camelCase")]
pub(crate) struct MarketCatalogFile {
/// Absent or 1 means the v1 schema. v2 adds provenance, review verdicts,
/// yank state, and a declared artifact base.
- #[serde(default = "default_schema_version")]
+ #[serde(default = "default_schema_version", alias = "schema_version")]
pub(crate) schema_version: u32,
- #[serde(default = "default_provider_id")]
+ #[serde(default = "default_provider_id", alias = "provider_id")]
pub(crate) provider_id: String,
- #[serde(default)]
+ #[serde(default, alias = "catalog_id")]
pub(crate) catalog_id: Option<String>,
#[serde(default)]
pub(crate) name: Option<String>,
#[serde(default)]
pub(crate) homepage: Option<String>,
- #[serde(default)]
+ #[serde(default, alias = "updated_at")]
pub(crate) updated_at: Option<String>,
- #[serde(default)]
+ #[serde(default, alias = "generated_at")]
pub(crate) generated_at: Option<String>,
- #[serde(default)]
+ #[serde(default, alias = "policy_version")]
pub(crate) policy_version: Option<String>,
/// Base a relative package URL resolves against. A mirror declares its own
/// base, so switching source never sends a download to another provider.
- #[serde(default)]
+ #[serde(default, alias = "artifact_base_url")]
pub(crate) artifact_base_url: Option<String>,
/// Category labels by id, in both guaranteed languages. Entries carry ids;
/// a client renders the label for its own language and falls back to the
@@ -526,3 +528,100 @@ pub struct InstallResult {
#[serde(default)]
pub permission_diff: Vec<String>,
}
+
+#[cfg(test)]
+mod catalog_parsing_tests {
+ use super::*;
+
+ /// The center publishes camelCase. Every multi-word field used to be
+ /// dropped silently, which is why a detail sheet showed no readme, no
+ /// safety notes and no publisher.
+ const CAMEL: &str = r##"{
+ "schemaVersion": 2,
+ "providerId": "official",
+ "catalogId": "pi-plugin-center",
+ "updatedAt": "2026-11-01T00:00:00Z",
+ "policyVersion": "2026.10.2",
+ "artifactBaseUrl": "https://cdn.example/plugins",
+ "categoryLabels": { "themes": { "en": "Themes", "zh-CN": "外观主题" } },
+ "plugins": [{
+ "id": "pi.parchment", "name": "Parchment", "description": "warm", "author": "acme",
+ "iconUrl": "https://example.test/icon.png",
+ "publisherId": "tioit-wang",
+ "readmeMarkdown": "# Parchment\n\nwarm paper.",
+ "safetyNotes": "Writes nothing.",
+ "categories": ["themes"],
+ "versions": [{ "version": "1.0.0", "publishedAt": "2026-01-01T00:00:00Z",
+ "shasum": "ab", "url": "packages/pi.parchment-1.0.0.piplug",
+ "sizeBytes": 1, "permissions": [] }]
+ }]
+ }"##;
+
+ fn parse(raw: &str) -> MarketCatalogFile {
+ serde_json::from_str(raw).unwrap_or_else(|error| panic!("catalog is unreadable: {error}"))
+ }
+
+ #[test]
+ fn every_camel_case_field_reaches_the_entry() {
+ let file = parse(CAMEL);
+ assert_eq!(file.schema_version, 2);
+ assert_eq!(file.provider_id, "official");
+ assert_eq!(file.catalog_id.as_deref(), Some("pi-plugin-center"));
+ assert_eq!(file.policy_version.as_deref(), Some("2026.10.2"));
+ assert_eq!(file.updated_at.as_deref(), Some("2026-11-01T00:00:00Z"));
+ assert_eq!(
+ file.artifact_base_url.as_deref(),
+ Some("https://cdn.example/plugins")
+ );
+ assert_eq!(file.category_labels["themes"]["zh-CN"], "外观主题");
+
+ let entry = &file.plugins[0];
+ assert_eq!(entry.publisher_id.as_deref(), Some("tioit-wang"));
+ assert_eq!(
+ entry.icon_url.as_deref(),
+ Some("https://example.test/icon.png")
+ );
+ assert_eq!(
+ entry.readme_markdown.as_deref(),
+ Some("# Parchment\n\nwarm paper.")
+ );
+ assert_eq!(entry.safety_notes.as_deref(), Some("Writes nothing."));
+ }
+
+ /// A snapshot written by an older build is snake_case, and an upgrade must
+ /// not turn it into a catalog with no metadata until the next refresh.
+ #[test]
+ fn a_snapshot_written_by_an_older_build_still_reads() {
+ let legacy = CAMEL
+ .replace("\"schemaVersion\"", "\"schema_version\"")
+ .replace("\"providerId\"", "\"provider_id\"")
+ .replace("\"artifactBaseUrl\"", "\"artifact_base_url\"")
+ .replace("\"publisherId\"", "\"publisher_id\"")
+ .replace("\"readmeMarkdown\"", "\"readme_markdown\"")
+ .replace("\"safetyNotes\"", "\"safety_notes\"");
+ let file = parse(&legacy);
+ let entry = &file.plugins[0];
+ assert_eq!(file.schema_version, 2);
+ assert_eq!(entry.publisher_id.as_deref(), Some("tioit-wang"));
+ assert_eq!(
+ entry.readme_markdown.as_deref(),
+ Some("# Parchment\n\nwarm paper.")
+ );
+ assert_eq!(entry.safety_notes.as_deref(), Some("Writes nothing."));
+ }
+
+ #[test]
+ fn what_the_client_writes_is_what_the_client_reads() {
+ let file = parse(CAMEL);
+ let written = serde_json::to_string(&file).unwrap();
+ assert!(
+ written.contains("\"readmeMarkdown\""),
+ "snapshot must stay camelCase: {written}"
+ );
+ let reread = parse(&written);
+ assert_eq!(
+ reread.plugins[0].readme_markdown,
+ file.plugins[0].readme_markdown
+ );
+ }
+}
diff --git a/crates/host-core/src/plugins/tests.rs b/crates/host-core/src/plugins/tests.rs
index 3d59df547..8aea66c4a 100644
--- a/crates/host-core/src/plugins/tests.rs
+++ b/crates/host-core/src/plugins/tests.rs
@@ -2706,3 +2706,58 @@ fn a_valid_id_cannot_take_over_a_legacy_plugin_stored_under_its_sanitized_name()
assert_eq!(fs::read_to_string(&registry_path).unwrap(), registry);
assert_eq!(ids(&mgr), ["e2e.foo!bar"]);
}
+
+/// What the detail sheet reads comes from the catalog document, and the
+/// document is camelCase. The parser used to accept snake_case only, so a
+/// published readme, safety notes and publisher were recorded as null and the
+/// sheet showed none of them.
+#[test]
+fn detail_carries_readme_safety_notes_and_publisher() {
+ let _guard = lock_market_env();
+ let dir = tempdir().unwrap();
+ let catalog_path = dir.path().join("catalog.json");
+ let catalog = r##"{
+ "schemaVersion": 2,
+ "providerId": "official",
+ "catalogId": "pi-plugin-center",
+ "plugins": [{
+ "id": "pi.rich", "name": "Rich", "description": "has metadata", "author": "Rich Author",
+ "publisherId": "tioit-wang",
+ "readmeMarkdown": "# Rich\n\nA readme the sheet should render.",
+ "safetyNotes": "Reads nothing outside its own folder.",
+ "categories": ["themes"],
+ "versions": [{
+ "version": "1.0.0", "publishedAt": "2026-01-01T00:00:00Z",
+ "shasum": "abababababababababababababababababababababababababababababababab",
+ "url": "packages/pi.rich-1.0.0.piplug", "sizeBytes": 12,
+ "permissions": [], "minPiDesktop": ">=0.2.0"
+ }]
+ }]
+ }"##;
+ fs::write(&catalog_path, catalog).unwrap();
+ // Safety: test-only process env mutation, serialized by the market lock.
+ unsafe {
+ std::env::set_var(
+ "PI_DESKTOP_PLUGIN_MARKET_URL",
+ format!("file://{}", catalog_path.to_string_lossy()),
+ );
+ std::env::set_var("PI_DESKTOP_DATA_DIR", dir.path());
+ }
+
+ let mgr = PluginManager::new(dir.path(), MarketChannel::Official, None);
+ let detail = mgr.market_get("pi.rich").unwrap();
+ unsafe {
+ std::env::remove_var("PI_DESKTOP_PLUGIN_MARKET_URL");
+ std::env::remove_var("PI_DESKTOP_DATA_DIR");
+ }
+
+ assert_eq!(
+ detail.readme_markdown.as_deref(),
+ Some("# Rich\n\nA readme the sheet should render.")
+ );
+ assert_eq!(
+ detail.safety_notes.as_deref(),
+ Some("Reads nothing outside its own folder.")
+ );
+ assert_eq!(detail.summary.publisher_id.as_deref(), Some("tioit-wang"));
+}
diff --git a/docs/spec/07-plugins/07-plugin-marketplace.md b/docs/spec/07-plugins/07-plugin-marketplace.md
index faf41dd79..2d42bedab 100644
--- a/docs/spec/07-plugins/07-plugin-marketplace.md
+++ b/docs/spec/07-plugins/07-plugin-marketplace.md
@@ -559,6 +559,11 @@ This is a renderer-only presentation choice; plugin permissions and activation
contracts are unchanged.
The Detail sheet must show:
+- The publisher account the catalog names, beside the display author — one is
+ who wrote the plugin, the other is who the platform recorded
+- The published readme, rendered as Markdown, and the publisher's safety notes
+ as a callout; both come from the catalog document, so a client that drops
+ them in parsing shows a plugin with no description of itself
- Permissions, grouped and labeled by risk tier
- Ratings summary between permissions and versions: the one-decimal average,
the rating count, and the good / medium / bad split; an unavailable centre
diff --git a/packages/i18n/src/locales/de/index.ts b/packages/i18n/src/locales/de/index.ts
index 18d3245fa..a408c1b0c 100644
--- a/packages/i18n/src/locales/de/index.ts
+++ b/packages/i18n/src/locales/de/index.ts
@@ -2516,6 +2516,7 @@ sklm: {
"marketSource": "Quelle: {{url}}",
"marketLoading": "Marktplatz wird geladen…",
"marketEmpty": "Keine Plugins entsprechen Ihrer Suche",
+ "publisher": "Herausgeber {{id}}",
"browseTotal": "{{count}} Plugins",
"sortLabel": "Sortieren",
"sortRecommended": "Empfohlen",
diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.ts
index 4521ecd92..73de63591 100644
--- a/packages/i18n/src/locales/en/index.ts
+++ b/packages/i18n/src/locales/en/index.ts
@@ -2536,6 +2536,7 @@ importConfirm: "Imported extensions run inside the agent process with the same a
marketSource: "Source: {{url}}",
marketLoading: "Loading marketplace…",
marketEmpty: "No plugins matched your search",
+ publisher: "Publisher {{id}}",
browseTotal: "{{count}} plugins",
sortLabel: "Sort",
sortRecommended: "Recommended",
diff --git a/packages/i18n/src/locales/es/index.ts b/packages/i18n/src/locales/es/index.ts
index 1b0da73b9..0aaf9d543 100644
--- a/packages/i18n/src/locales/es/index.ts
+++ b/packages/i18n/src/locales/es/index.ts
@@ -2516,6 +2516,7 @@ sklm: {
"marketSource": "Fuente: {{url}}",
"marketLoading": "Cargando mercado...",
"marketEmpty": "Ningún complemento coincidió con su búsqueda",
+ "publisher": "Editor {{id}}",
"browseTotal": "{{count}} complementos",
"sortLabel": "Ordenar",
"sortRecommended": "Recomendados",
diff --git a/packages/i18n/src/locales/fr/index.ts b/packages/i18n/src/locales/fr/index.ts
index 2dd14691b..5e072985b 100644
--- a/packages/i18n/src/locales/fr/index.ts
+++ b/packages/i18n/src/locales/fr/index.ts
@@ -2516,6 +2516,7 @@ sklm: {
"marketSource": "Source : {{url}}",
"marketLoading": "Chargement du marché…",
"marketEmpty": "Aucun plugin ne correspond à votre recherche",
+ "publisher": "Éditeur {{id}}",
"browseTotal": "{{count}} plugins",
"sortLabel": "Trier",
"sortRecommended": "Recommandés",
diff --git a/packages/i18n/src/locales/ko/index.ts b/packages/i18n/src/locales/ko/index.ts
index 4cc4b931c..085742c3f 100644
--- a/packages/i18n/src/locales/ko/index.ts
+++ b/packages/i18n/src/locales/ko/index.ts
@@ -2532,6 +2532,7 @@ importConfirm: "가져온 확장은 에이전트 프로세스 안에서 에이
marketSource: "출처: {{url}}",
marketLoading: "마켓플레이스 불러오는 중…",
marketEmpty: "검색과 일치하는 플러그인 없음",
+ publisher: "게시자 {{id}}",
browseTotal: "플러그인 {{count}}개",
sortLabel: "정렬",
sortRecommended: "추천",
diff --git a/packages/i18n/src/locales/pt-BR/index.ts b/packages/i18n/src/locales/pt-BR/index.ts
index 3cdaf36fd..289333f92 100644
--- a/packages/i18n/src/locales/pt-BR/index.ts
+++ b/packages/i18n/src/locales/pt-BR/index.ts
@@ -2482,6 +2482,7 @@ export const ptBR = {
marketSource: "Fonte: {{url}}",
marketLoading: "Carregando marketplace…",
marketEmpty: "Nenhum plugin corresponde à sua pesquisa.",
+ publisher: "Publicador {{id}}",
browseTotal: "{{count}} plugins",
sortLabel: "Ordenar",
sortRecommended: "Recomendados",
diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.ts
index dc816236a..0163c2585 100644
--- a/packages/i18n/src/locales/tr/index.ts
+++ b/packages/i18n/src/locales/tr/index.ts
@@ -2526,6 +2526,7 @@ importConfirm: "İçe aktarılan uzantılar ajan sürecinde, ajanın kendi araç
marketSource: "Kaynak: {{url}}",
marketLoading: "Mağaza yükleniyor…",
marketEmpty: "Aramanızla eşleşen eklenti yok",
+ publisher: "Yayıncı {{id}}",
browseTotal: "{{count}} eklenti",
sortLabel: "Sırala",
sortRecommended: "Önerilen",
diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.ts
index 2af8f334a..5193bea57 100644
--- a/packages/i18n/src/locales/zh-CN/index.ts
+++ b/packages/i18n/src/locales/zh-CN/index.ts
@@ -2511,6 +2511,7 @@ sklm: {
marketSource: "来源:{{url}}",
marketLoading: "正在加载插件市场…",
marketEmpty: "没有匹配的插件",
+ publisher: "发布者 {{id}}",
browseTotal: "共 {{count}} 个插件",
sortLabel: "排序",
sortRecommended: "推荐",
diff --git a/packages/i18n/src/locales/zh-TW/index.ts b/packages/i18n/src/locales/zh-TW/index.ts
index 8e9222ca5..022a31009 100644
--- a/packages/i18n/src/locales/zh-TW/index.ts
+++ b/packages/i18n/src/locales/zh-TW/index.ts
@@ -2511,6 +2511,7 @@ sklm: {
marketSource: "來源:{{url}}",
marketLoading: "正在載入外掛市場…",
marketEmpty: "沒有匹配的外掛",
+ publisher: "發布者 {{id}}",
browseTotal: "共 {{count}} 個外掛",
sortLabel: "排序",
sortRecommended: "推薦",
diff --git a/packages/shared/src/changelog-de.ts b/packages/shared/src/changelog-de.ts
index a57a26dda..1457a43a6 100644
--- a/packages/shared/src/changelog-de.ts
+++ b/packages/shared/src/changelog-de.ts
@@ -13,6 +13,7 @@ export const deEntries: ChangelogEntry[] = [
"Neu generierte Prompts bleiben nach der letzten Antwort an der richtigen Stelle, wenn ihr Archiv außerhalb des geladenen Verlaufs fertig wird.",
"Den Plugin-Marktplatz als eine Liste durchsuchen, die beim Scrollen nachlädt, nach Empfohlen, Beliebt, Neueste oder Name sortieren und die Trefferzahl je Kategorie sehen; ist das Plugin-Center nicht erreichbar, antwortet der zuletzt gespeicherte Katalog.",
"Jedes Plugin liegt jetzt auf einem zweisprachigen Regal, sodass der Marktplatz auf Deutsch oder Englisch liest und nach derselben Kategorie filtert.",
+ "Plugin-Details zeigen jetzt Herausgeber, Readme und Sicherheitshinweise aus dem Katalog; sie gingen beim Einlesen verloren.",
],
},
{
diff --git a/packages/shared/src/changelog-en.ts b/packages/shared/src/changelog-en.ts
index c0e285ba3..ba4878c09 100644
--- a/packages/shared/src/changelog-en.ts
+++ b/packages/shared/src/changelog-en.ts
@@ -13,6 +13,7 @@ export const enEntries: ChangelogEntry[] = [
"Regenerated prompts keep their position after the latest reply when their archive finishes outside the loaded history.",
"Browse the plugin marketplace as one list that loads more as you scroll, sort by recommended, popular, newest, or name, and see how many plugins match each category; the last saved catalog answers when the plugin center is unreachable.",
"Every plugin now sits on a bilingual shelf, so the marketplace reads in English or Chinese and filters by one shared category.",
+ "Plugin details now show the publisher, the readme and the safety notes the catalog publishes; they were being dropped when the catalog was read.",
],
},
{
diff --git a/packages/shared/src/changelog-es.ts b/packages/shared/src/changelog-es.ts
index 77ab09f78..dc5b3f0e5 100644
--- a/packages/shared/src/changelog-es.ts
+++ b/packages/shared/src/changelog-es.ts
@@ -13,6 +13,7 @@ export const esEntries: ChangelogEntry[] = [
"Los prompts regenerados mantienen su posición después de la respuesta más reciente cuando su archivo se completa fuera del historial cargado.",
"Explora el marketplace de complementos en una lista que carga más al desplazarte, ordena por recomendados, populares, recientes o nombre y consulta cuántos coinciden en cada categoría; si el centro de complementos no responde, se usa el último catálogo guardado.",
"Cada complemento está ahora en un estante bilingüe, así que el marketplace se lee en español o chino y filtra por la misma categoría.",
+ "Los detalles del complemento muestran ahora el editor, el readme y las notas de seguridad del catálogo, que se perdían al leerlo.",
],
},
{
diff --git a/packages/shared/src/changelog-fr.ts b/packages/shared/src/changelog-fr.ts
index c51bfc05d..766188fc3 100644
--- a/packages/shared/src/changelog-fr.ts
+++ b/packages/shared/src/changelog-fr.ts
@@ -13,6 +13,7 @@ export const frEntries: ChangelogEntry[] = [
"Les prompts régénérés gardent leur place après la réponse la plus récente lorsque leur archivage se termine hors de l’historique chargé.",
"Parcourez la marketplace de plugins dans une liste qui se charge au défilement, triez par recommandés, populaires, récents ou nom, et voyez le nombre de résultats par catégorie ; le dernier catalogue enregistré répond si le centre de plugins est injoignable.",
"Chaque plugin est désormais rangé sur une étagère bilingue : la marketplace se lit en français ou en chinois et filtre par la même catégorie.",
+ "Les détails d'un plugin affichent désormais l’éditeur, le readme et les notes de sécurité du catalogue, qui étaient perdus à la lecture.",
],
},
{
diff --git a/packages/shared/src/changelog-ko.ts b/packages/shared/src/changelog-ko.ts
index 5d0df92c0..505dcbed8 100644
--- a/packages/shared/src/changelog-ko.ts
+++ b/packages/shared/src/changelog-ko.ts
@@ -13,6 +13,7 @@ export const koEntries: ChangelogEntry[] = [
"다시 생성한 프롬프트는 보관 처리가 로드된 기록 범위 밖에서 끝나도 최신 답변 뒤의 올바른 위치를 유지합니다.",
"플러그인 마켓플레이스를 스크롤하면 계속 불러오는 하나의 목록으로 탐색하고 추천·인기·최신·이름순으로 정렬하며 카테고리별 일치 수를 확인할 수 있습니다. 플러그인 센터에 연결할 수 없으면 마지막으로 저장된 카탈로그를 사용합니다.",
"모든 플러그인이 이중 언어 카테고리로 정리되어, 마켓플레이스가 한국어와 중국어에서 같은 분류로 표시되고 필터링됩니다.",
+ "플러그인 상세 화면에 게시자, README, 안전 안내가 표시됩니다. 이전에는 카탈로그를 읽을 때 사라졌습니다.",
],
},
{
diff --git a/packages/shared/src/changelog-pt-BR.ts b/packages/shared/src/changelog-pt-BR.ts
index 57181d070..42fb556de 100644
--- a/packages/shared/src/changelog-pt-BR.ts
+++ b/packages/shared/src/changelog-pt-BR.ts
@@ -13,6 +13,7 @@ export const ptBREntries: ChangelogEntry[] = [
"Prompts regenerados permanecem na posição correta após a resposta mais recente quando o arquivamento termina fora do histórico carregado.",
"Navegue pelo marketplace de plugins em uma lista que carrega mais ao rolar, ordene por recomendados, populares, recentes ou nome e veja quantos plugins correspondem a cada categoria; se a central de plugins não responder, o último catálogo salvo é usado.",
"Cada plugin agora fica em uma prateleira bilíngue, então o marketplace é lido em português ou chinês e filtra pela mesma categoria.",
+ "Os detalhes do plugin agora mostram o publicador, o readme e as notas de segurança do catálogo, que eram descartados na leitura.",
],
},
{
diff --git a/packages/shared/src/changelog-tr.ts b/packages/shared/src/changelog-tr.ts
index 4c2f7ca2e..71238a5b4 100644
--- a/packages/shared/src/changelog-tr.ts
+++ b/packages/shared/src/changelog-tr.ts
@@ -13,6 +13,7 @@ export const trEntries: ChangelogEntry[] = [
"Yeniden oluşturulan istemler, arşivleri yüklenen geçmişin dışında tamamlandığında en son yanıttan sonraki doğru konumlarında kalır.",
"Eklenti pazarına kaydırdıkça yüklenen tek bir listede göz atın, önerilen, popüler, en yeni veya ada göre sıralayın ve her kategoride kaç eklentinin eşleştiğini görün; eklenti merkezine ulaşılamazsa son kaydedilen katalog kullanılır.",
"Her eklenti artık iki dilli bir rafa yerleşiyor; pazar yeri Türkçe veya Çince okunuyor ve aynı kategoriyle filtreleniyor.",
+ "Eklenti ayrıntıları artık yayıncıyı, README'yi ve güvenlik notlarını gösteriyor; katalog okunurken kayboluyorlardı.",
],
},
{
diff --git a/packages/shared/src/changelog-zh-CN.ts b/packages/shared/src/changelog-zh-CN.ts
index 567694bed..32872d72e 100644
--- a/packages/shared/src/changelog-zh-CN.ts
+++ b/packages/shared/src/changelog-zh-CN.ts
@@ -13,6 +13,7 @@ export const zhCNEntries: ChangelogEntry[] = [
"重新生成的提示即使在已加载历史范围之外完成归档,也会保持在最新回答之后的正确位置。",
"插件市场改为滚动自动加载,可按推荐、最热、最新或名称排序,分类显示匹配数量;插件中心不可用时使用本机保存的目录。",
"所有插件都按双语分类归档,插件市场在中英文下都能正确显示,并按同一套分类筛选。",
+ "插件详情现在会显示发布者、说明文档和安全说明——这些内容之前读取目录时被丢弃了。",
],
},
{
diff --git a/packages/shared/src/changelog-zh-TW.ts b/packages/shared/src/changelog-zh-TW.ts
index a6ce7962a..6248b239b 100644
--- a/packages/shared/src/changelog-zh-TW.ts
+++ b/packages/shared/src/changelog-zh-TW.ts
@@ -13,6 +13,7 @@ export const zhTWEntries: ChangelogEntry[] = [
"重新產生的提示即使在已載入歷史範圍之外完成封存,也會維持在最新回覆之後的正確位置。",
"外掛市集改為捲動自動載入,可依推薦、最熱門、最新或名稱排序,分類會顯示符合數量;外掛中心無法使用時改用本機儲存的目錄。",
"所有外掛都依雙語分類歸檔,外掛市集在中英文下都能正確顯示,並依同一套分類篩選。",
+ "外掛詳情現在會顯示發布者、說明文件與安全說明——這些內容先前讀取目錄時被丟棄了。",
],
},
{