@epoch-agent/server 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3055,7 +3055,8 @@ interface PluginHitView {
3055
3055
  name: string;
3056
3056
  description?: string;
3057
3057
  source: string;
3058
- category?: string;
3058
+ /** 挂着的那几类(2026-09-28 起是复数,判据在 core 的 `EntrySchema.category` 上) */
3059
+ category?: readonly string[];
3059
3060
  keywords?: readonly string[];
3060
3061
  /** 目录里那一格「谁写的」。**摊平在投影里做**,判据在 `WirePluginHit.author` 上 */
3061
3062
  author?: {
package/dist/index.js CHANGED
@@ -3282,7 +3282,7 @@ function toWirePluginHit(hit, installed) {
3282
3282
  ref: hit.ref,
3283
3283
  name: hit.entry.name,
3284
3284
  description: hit.entry.description ?? "",
3285
- category: hit.entry.category ?? null,
3285
+ categories: hit.entry.category ?? null,
3286
3286
  keywords: [...hit.entry.keywords ?? []],
3287
3287
  sourceType: hit.sourceType ?? null,
3288
3288
  installable: hit.installable,