dsh-plugin-yushe 0.28.3 → 0.28.4

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.
Files changed (2) hide show
  1. package/lib/index.js +6 -6
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -7469,8 +7469,8 @@ var HABIT_FIELDS = {
7469
7469
  threads: { label: "\u770B\u697C\u4E2D\u697C", type: "bool", def: true, chat: true, group: "read" },
7470
7470
  commentsPerVideo: { label: "\u6BCF\u4E2A\u89C6\u9891\u770B\u51E0\u6761\u8BC4\u8BBA", type: "int", min: 0, max: 20, def: 5, chat: true, group: "read" },
7471
7471
  // —— 细配置:互动上限(max = 硬顶)——
7472
- commentsPerDay: { label: "\u6BCF\u5929\u6700\u591A\u8BC4\u8BBA\u51E0\u6761", type: "int", min: 0, max: 20, def: 6, chat: true, group: "cap" },
7473
- repliesPerDay: { label: "\u6BCF\u5929\u6700\u591A\u56DE\u590D\u51E0\u6761\u8BC4\u8BBA", type: "int", min: 0, max: 20, def: 6, chat: true, group: "cap" },
7472
+ commentsPerDay: { label: "\u6BCF\u5929\u6700\u591A\u8BC4\u8BBA\u51E0\u6761", type: "int", min: 0, max: 30, def: 12, chat: true, group: "cap" },
7473
+ repliesPerDay: { label: "\u6BCF\u5929\u6700\u591A\u56DE\u590D\u51E0\u6761\u8BC4\u8BBA", type: "int", min: 0, max: 30, def: 12, chat: true, group: "cap" },
7474
7474
  dynCommentsPerDay: { label: "\u6BCF\u5929\u6700\u591A\u8BC4\u8BBA\u51E0\u6761\u52A8\u6001", type: "int", min: 0, max: 10, def: 3, chat: true, group: "cap" },
7475
7475
  postsPerDay: { label: "\u6BCF\u5929\u6700\u591A\u53D1\u51E0\u6761\u52A8\u6001", type: "int", min: 0, max: 5, def: 2, chat: true, group: "cap" },
7476
7476
  dmsPerDay: { label: "\u6BCF\u5929\u6700\u591A\u56DE\u51E0\u6761\u964C\u751F\u4EBA\u79C1\u4FE1", type: "int", min: 0, max: 10, def: 3, zero: "\u4E0D\u56DE", chat: true, group: "cap" },
@@ -7490,7 +7490,7 @@ var HABIT_FIELDS = {
7490
7490
  var KNOBS = {
7491
7491
  out: { label: "\u7231\u4E0D\u7231\u51FA\u95E8", levels: ["\u5B85", "\u770B\u6027\u683C", "\u7231\u901B"], fields: { outBias: [0.5, 1, 1.8], tripsPerDay: [2, 0, 0], restBias: [1.5, 1, 0.6] } },
7492
7492
  depth: { label: "\u8BFB\u591A\u6DF1", levels: ["\u6D45", "\u4E2D", "\u6DF1"], fields: { readBudget: [150, 300, 600], tripToolCalls: [6, 12, 20], subtitle: [false, true, true], subtitleChars: [0, 1500, 4e3], danmaku: [false, false, true], threads: [false, true, true], commentsPerVideo: [3, 5, 10] } },
7493
- interact: { label: "\u4E92\u52A8\u591A\u5C11", levels: L3, fields: { commentsPerDay: [2, 6, 12], repliesPerDay: [2, 6, 12], dynCommentsPerDay: [1, 3, 6], postsPerDay: [1, 2, 3], dmsPerDay: [1, 3, 6], likesPerDay: [5, 15, 30], commentLikesPerDay: [5, 15, 30], collectsPerDay: [2, 5, 10], followsPerDay: [1, 2, 4], unfollowsPerDay: [0, 1, 2], perPersonPerDay: [2, 4, 6], replyToReplies: [false, true, true] } }
7493
+ interact: { label: "\u4E92\u52A8\u591A\u5C11", levels: L3, fields: { commentsPerDay: [4, 12, 20], repliesPerDay: [4, 12, 20], dynCommentsPerDay: [1, 3, 6], postsPerDay: [1, 2, 3], dmsPerDay: [1, 3, 6], likesPerDay: [5, 15, 30], commentLikesPerDay: [5, 15, 30], collectsPerDay: [2, 5, 10], followsPerDay: [1, 2, 4], unfollowsPerDay: [0, 1, 2], perPersonPerDay: [2, 4, 6], replyToReplies: [false, true, true] } }
7494
7494
  };
7495
7495
  var CUSTOM = "\u81EA\u5B9A\u4E49";
7496
7496
  function schemaWith(caps = []) {
@@ -9480,7 +9480,7 @@ async function speak(deps, from, { kind, what, max, target, args, material = [],
9480
9480
  }
9481
9481
 
9482
9482
  // plugin/src/host/tools/speak/comment.js
9483
- var CAP6 = { key: "commentsPerDay", label: "\u6BCF\u5929\u6700\u591A\u8BC4\u8BBA\u51E0\u6761", levels: { \u5C11: 2, \u9002\u4E2D: 6, \u591A: 12 }, max: 20 };
9483
+ var CAP6 = { key: "commentsPerDay", label: "\u6BCF\u5929\u6700\u591A\u8BC4\u8BBA\u51E0\u6761", levels: { \u5C11: 4, \u9002\u4E2D: 12, \u591A: 20 }, max: 30 };
9484
9484
  async function videoMaterial(biliRead, bvid, ledger) {
9485
9485
  const v = await viewOf(biliRead, bvid);
9486
9486
  ledger.note("bili_video", { bvid: v.bvid }, { ok: true });
@@ -9635,7 +9635,7 @@ var post_default = defineTool({
9635
9635
  });
9636
9636
 
9637
9637
  // plugin/src/host/tools/speak/reply.js
9638
- var CAP10 = { key: "repliesPerDay", label: "\u6BCF\u5929\u6700\u591A\u56DE\u590D\u51E0\u6761\u8BC4\u8BBA", levels: { \u5C11: 2, \u9002\u4E2D: 6, \u591A: 12 }, max: 20 };
9638
+ var CAP10 = { key: "repliesPerDay", label: "\u6BCF\u5929\u6700\u591A\u56DE\u590D\u51E0\u6761\u8BC4\u8BBA", levels: { \u5C11: 4, \u9002\u4E2D: 12, \u591A: 20 }, max: 30 };
9639
9639
  var reply_default = defineTool({
9640
9640
  name: "bili_reply",
9641
9641
  kind: "speak",
@@ -10788,7 +10788,7 @@ function createWorkSessions({ ctx, pond, life, log: log2 }) {
10788
10788
  // plugin/src/host/index.js
10789
10789
  var name = "dsh-plugin-yushe";
10790
10790
  var inject = ["systemPrompt"];
10791
- var VERSION = "0.28.3";
10791
+ var VERSION = "0.28.4";
10792
10792
  var STATUS_PATH = "/api/dsh-yushe/status";
10793
10793
  var SAY_PATH = "/api/dsh-yushe/probe/say";
10794
10794
  var ROAM_PATH = "/api/dsh-yushe/probe/roam";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-yushe",
3
- "version": "0.28.3",
3
+ "version": "0.28.4",
4
4
  "repository": { "type": "git", "url": "git+https://github.com/yuna78/dsh-plugin-yushe.git" },
5
5
  "homepage": "https://github.com/yuna78/dsh-plugin-yushe#readme",
6
6
  "bugs": "https://github.com/yuna78/dsh-plugin-yushe/issues",