@epoch-agent/core 2.5.0 → 2.6.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
@@ -9703,6 +9703,7 @@ declare const EntrySchema: z.ZodPipe<z.ZodObject<{
9703
9703
  reviewing: "reviewing";
9704
9704
  offline: "offline";
9705
9705
  }>>>;
9706
+ statusReason: z.ZodCatch<z.ZodOptional<z.ZodString>>;
9706
9707
  }, z.core.$strip>, z.ZodTransform<{
9707
9708
  category?: string[] | undefined;
9708
9709
  name: string;
@@ -9724,6 +9725,7 @@ declare const EntrySchema: z.ZodPipe<z.ZodObject<{
9724
9725
  homepage?: string | undefined;
9725
9726
  visibility?: "private" | "public" | undefined;
9726
9727
  status?: "rejected" | "listed" | "reviewing" | "offline" | undefined;
9728
+ statusReason?: string | undefined;
9727
9729
  }, {
9728
9730
  name: string;
9729
9731
  source: string;
@@ -9745,6 +9747,7 @@ declare const EntrySchema: z.ZodPipe<z.ZodObject<{
9745
9747
  homepage?: string | undefined;
9746
9748
  visibility?: "private" | "public" | undefined;
9747
9749
  status?: "rejected" | "listed" | "reviewing" | "offline" | undefined;
9750
+ statusReason?: string | undefined;
9748
9751
  }>>;
9749
9752
  /**
9750
9753
  * 市场说了算的那几格「要不要印在屏幕上」(2026-09-10)。
@@ -9766,7 +9769,7 @@ declare const EntrySchema: z.ZodPipe<z.ZodObject<{
9766
9769
  * 别的一个字都不动。这条性质是这个功能能成立的全部前提 —— 一张能藏掉 `source`
9767
9770
  * 的名单会让一份合法的目录变得装不了东西,而报错会指着一个和它无关的地方。
9768
9771
  */
9769
- declare const MARKETPLACE_DISPLAY_FIELDS: readonly ["status", "downloads", "likes", "author", "category", "visibility", "icon", "homepage", "size"];
9772
+ declare const MARKETPLACE_DISPLAY_FIELDS: readonly ["status", "statusReason", "downloads", "likes", "author", "category", "visibility", "icon", "homepage", "size"];
9770
9773
  /** {@link MARKETPLACE_DISPLAY_FIELDS} 里的一格 */
9771
9774
  type MarketplaceDisplayField = (typeof MARKETPLACE_DISPLAY_FIELDS)[number];
9772
9775
  declare const DisplaySchema: z.ZodObject<{
@@ -9840,6 +9843,7 @@ declare const CatalogSchema: z.ZodObject<{
9840
9843
  reviewing: "reviewing";
9841
9844
  offline: "offline";
9842
9845
  }>>>;
9846
+ statusReason: z.ZodCatch<z.ZodOptional<z.ZodString>>;
9843
9847
  }, z.core.$strip>, z.ZodTransform<{
9844
9848
  category?: string[] | undefined;
9845
9849
  name: string;
@@ -9861,6 +9865,7 @@ declare const CatalogSchema: z.ZodObject<{
9861
9865
  homepage?: string | undefined;
9862
9866
  visibility?: "private" | "public" | undefined;
9863
9867
  status?: "rejected" | "listed" | "reviewing" | "offline" | undefined;
9868
+ statusReason?: string | undefined;
9864
9869
  }, {
9865
9870
  name: string;
9866
9871
  source: string;
@@ -9882,6 +9887,7 @@ declare const CatalogSchema: z.ZodObject<{
9882
9887
  homepage?: string | undefined;
9883
9888
  visibility?: "private" | "public" | undefined;
9884
9889
  status?: "rejected" | "listed" | "reviewing" | "offline" | undefined;
9890
+ statusReason?: string | undefined;
9885
9891
  }>>>;
9886
9892
  }, z.core.$strip>;
9887
9893
  declare const RecordSchema: z.ZodObject<{
@@ -9928,6 +9934,7 @@ declare const RecordSchema: z.ZodObject<{
9928
9934
  reviewing: "reviewing";
9929
9935
  offline: "offline";
9930
9936
  }>>>;
9937
+ statusReason: z.ZodCatch<z.ZodOptional<z.ZodString>>;
9931
9938
  }, z.core.$strip>, z.ZodTransform<{
9932
9939
  category?: string[] | undefined;
9933
9940
  name: string;
@@ -9949,6 +9956,7 @@ declare const RecordSchema: z.ZodObject<{
9949
9956
  homepage?: string | undefined;
9950
9957
  visibility?: "private" | "public" | undefined;
9951
9958
  status?: "rejected" | "listed" | "reviewing" | "offline" | undefined;
9959
+ statusReason?: string | undefined;
9952
9960
  }, {
9953
9961
  name: string;
9954
9962
  source: string;
@@ -9970,6 +9978,7 @@ declare const RecordSchema: z.ZodObject<{
9970
9978
  homepage?: string | undefined;
9971
9979
  visibility?: "private" | "public" | undefined;
9972
9980
  status?: "rejected" | "listed" | "reviewing" | "offline" | undefined;
9981
+ statusReason?: string | undefined;
9973
9982
  }>>>;
9974
9983
  }, z.core.$strip>;
9975
9984
  }, z.core.$strip>;
package/dist/index.js CHANGED
@@ -7596,7 +7596,8 @@ var EntryShape = z.object({
7596
7596
  size: z.number().int().positive().optional(),
7597
7597
  homepage: z.string().min(1).optional(),
7598
7598
  visibility: z.enum(PLUGIN_VISIBILITY).optional().catch(void 0),
7599
- status: z.enum(["listed", "reviewing", "rejected", "offline"]).optional().catch(void 0)
7599
+ status: z.enum(["listed", "reviewing", "rejected", "offline"]).optional().catch(void 0),
7600
+ statusReason: z.string().min(1).optional().catch(void 0)
7600
7601
  });
7601
7602
  var EntrySchema = EntryShape.transform(({ category, ...rest }) => {
7602
7603
  const picked = category === void 0 ? [] : typeof category === "string" ? [category] : category;
@@ -7604,6 +7605,7 @@ var EntrySchema = EntryShape.transform(({ category, ...rest }) => {
7604
7605
  });
7605
7606
  var MARKETPLACE_DISPLAY_FIELDS = [
7606
7607
  "status",
7608
+ "statusReason",
7607
7609
  "downloads",
7608
7610
  "likes",
7609
7611
  "author",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epoch-agent/core",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "private": false,
5
5
  "description": "epoch-agent 核心引擎:ReAct 循环、Provider 路由、工具调度、记忆管理",
6
6
  "repository": {
@@ -27,8 +27,8 @@
27
27
  "gpt-tokenizer": "^3.4.0",
28
28
  "js-yaml": "^5.2.3",
29
29
  "zod": "^4.4.3",
30
- "@epoch-agent/protocol": "2.5.0",
31
- "@epoch-agent/infra": "2.5.0"
30
+ "@epoch-agent/infra": "2.6.0",
31
+ "@epoch-agent/protocol": "2.6.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@ai-sdk/alibaba": "^2.0.69",