exomind 0.5.3 → 0.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/cli.js CHANGED
@@ -3119,7 +3119,7 @@ var {
3119
3119
  // package.json
3120
3120
  var package_default = {
3121
3121
  name: "exomind",
3122
- version: "0.5.3",
3122
+ version: "0.6.0",
3123
3123
  description: "ExoMind \u8DE8\u5E73\u53F0\u547D\u4EE4\u884C\u5BA2\u6237\u7AEF \u2014 \u901A\u8FC7 REST \u4E0E ExoMind \u77E5\u8BC6\u5E93\u4EA4\u4E92(ingest/query/search/review),\u66FF\u4EE3 Windows \u4E0D\u53EF\u7528\u7684 MCP \u5BA2\u6237\u7AEF\u3002",
3124
3124
  bin: {
3125
3125
  exomind: "dist/cli.js"
@@ -4368,7 +4368,13 @@ async function doWechat(client, opts, id) {
4368
4368
  if (!opts.account) throw new Error("\u8BF7\u63D0\u4F9B --account: exomind draft wechat <id> --account <\u516C\u4F17\u53F7>");
4369
4369
  const r = await client.post(
4370
4370
  `/drafts/${encodeURIComponent(id)}/submit-wechat`,
4371
- { account: opts.account, digest: opts.digest, author: opts.author, cover: opts.cover },
4371
+ {
4372
+ account: opts.account,
4373
+ digest: opts.digest,
4374
+ author: opts.author,
4375
+ cover: opts.cover,
4376
+ ...opts.coverPrompt ? { cover_image_prompt: opts.coverPrompt } : {}
4377
+ },
4372
4378
  { timeoutMs: opTimeout(12e4) }
4373
4379
  );
4374
4380
  output(r, () => {
@@ -4972,7 +4978,7 @@ reviewCmd.action(run((client, opts) => list(client, { limit: toInt(opts.limit) }
4972
4978
  reviewCmd.command("mark [name...]").description("\u6807\u8BB0\u590D\u4E60 (rating: 1=\u5FD8\u8BB0 2=\u5403\u529B 3=\u987A\u5229 4=\u8F7B\u677E)").option("-r, --rating <n>", "1-4", "3").action(run((client, opts, args) => mark(client, { rating: toInt(opts.rating) }, args)));
4973
4979
  program2.command("synthesize [topic...]").description("\u4E3B\u9898\u7EFC\u5408\u62A5\u544A").option("-d, --depth <n>", "\u6DF1\u5EA6 1-5", "2").action(run(synthesize));
4974
4980
  program2.command("topics").description("\u9009\u9898\u63A8\u8350").option("-c, --count <n>", "\u6570\u91CF", "5").action(run((client, opts) => topics(client, { count: toInt(opts.count) })));
4975
- program2.command("draft <action> [target...]").description("\u8349\u7A3F: new <\u9009\u9898> \u751F\u6210 / list \u5217\u8868 / show <id> \u770B\u6B63\u6587 / publish <id> \u5165\u5E93 / wechat <id> \u6295\u516C\u4F17\u53F7").option("--account <name>", "\u76EE\u6807\u516C\u4F17\u53F7(new/wechat)").option("--status <s>", "\u72B6\u6001\u8FC7\u6EE4(list)").option("-p, --page <n>", "\u9875\u7801(list)", "1").option("-s, --size <n>", "\u6BCF\u9875(list)", "20").option("--digest <text>", "\u6458\u8981(wechat,\u53EF\u9009)").option("--author <name>", "\u7B14\u540D(wechat,\u53EF\u9009)").option("--cover <mode>", "\u5C01\u9762(wechat): config=\u53F7\u914D\u7F6E\u9ED8\u8BA4 / default=\u670D\u52A1\u7AEF\u9ED8\u8BA4\u5C01\u9762", "config").action(run((client, opts, args) => draft(client, opts, args)));
4981
+ program2.command("draft <action> [target...]").description("\u8349\u7A3F: new <\u9009\u9898> \u751F\u6210 / list \u5217\u8868 / show <id> \u770B\u6B63\u6587 / publish <id> \u5165\u5E93 / wechat <id> \u6295\u516C\u4F17\u53F7").option("--account <name>", "\u76EE\u6807\u516C\u4F17\u53F7(new/wechat)").option("--status <s>", "\u72B6\u6001\u8FC7\u6EE4(list)").option("-p, --page <n>", "\u9875\u7801(list)", "1").option("-s, --size <n>", "\u6BCF\u9875(list)", "20").option("--digest <text>", "\u6458\u8981(wechat,\u53EF\u9009)").option("--author <name>", "\u7B14\u540D(wechat,\u53EF\u9009)").option("--cover <mode>", "\u5C01\u9762\u7B56\u7565(wechat): ai=AI\u540E\u53F0\u51FA\u56FE(\u9ED8\u8BA4) / auto=\u670D\u52A1\u7AEF\u515C\u5E95 / provided=\u7528\u53F7\u914D\u7F6E\u5C01\u9762 / none", "ai").option("--cover-prompt <text>", "AI\u5C01\u9762\u753B\u9762\u63D0\u793A(cover=ai\u53EF\u9009,\u76F4\u4F20yyps;\u4E0D\u586B\u5219\u8BFB\u5168\u6587\u63D0\u70BC)").action(run((client, opts, args) => draft(client, opts, args)));
4976
4982
  program2.command("gaps").description("\u77E5\u8BC6\u7F3A\u53E3(\u88AB\u591A\u6B21\u641C\u7D22\u4F46\u65E0\u7ED3\u679C)").option("-d, --days <n>", "\u56DE\u6EAF\u5929\u6570", "30").action(run((client, opts) => gaps(client, { days: toInt(opts.days) })));
4977
4983
  program2.command("feedback [page...]").description("\u5BF9\u9875\u9762/\u5B9E\u4F53\u6253\u53CD\u9988 (positive|negative)").action(run(feedback));
4978
4984
  program2.command("daily").description("\u6BCF\u65E5\u6D3B\u52A8\u6458\u8981").option("-d, --days <n>", "\u56DE\u6EAF\u5929\u6570", "1").action(run((client, opts) => daily(client, { days: toInt(opts.days) })));