@gobing-ai/knowledge-kit 0.1.10 → 0.1.12

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 (158) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/index.js +2478 -1737
  3. package/package.json +1 -1
  4. package/plugins/generations/image-gen/README.md +108 -0
  5. package/plugins/generations/image-gen/assets/sample/cover__clean-webapp-ui.jpg +0 -0
  6. package/plugins/generations/image-gen/assets/sample/cover__cute.jpg +0 -0
  7. package/plugins/generations/image-gen/assets/sample/cover__daily-news.jpg +0 -0
  8. package/plugins/generations/image-gen/assets/sample/cover__editorial.jpg +0 -0
  9. package/plugins/generations/image-gen/assets/sample/cover__fresh.jpg +0 -0
  10. package/plugins/generations/image-gen/assets/sample/cover__minimalist.jpg +0 -0
  11. package/plugins/generations/image-gen/assets/sample/cover__photorealistic.jpg +0 -0
  12. package/plugins/generations/image-gen/assets/sample/cover__sketch.jpg +0 -0
  13. package/plugins/generations/image-gen/assets/sample/cover__technical-diagram.jpg +0 -0
  14. package/plugins/generations/image-gen/assets/sample/cover__vibrant.jpg +0 -0
  15. package/plugins/generations/image-gen/assets/sample/cover__warm.jpg +0 -0
  16. package/plugins/generations/image-gen/assets/sample/cover__xhs-knowledge.jpg +0 -0
  17. package/plugins/generations/image-gen/assets/sample/daily-news-cover__clean-webapp-ui.jpg +0 -0
  18. package/plugins/generations/image-gen/assets/sample/daily-news-cover__cute.jpg +0 -0
  19. package/plugins/generations/image-gen/assets/sample/daily-news-cover__daily-news.jpg +0 -0
  20. package/plugins/generations/image-gen/assets/sample/daily-news-cover__editorial.jpg +0 -0
  21. package/plugins/generations/image-gen/assets/sample/daily-news-cover__fresh.jpg +0 -0
  22. package/plugins/generations/image-gen/assets/sample/daily-news-cover__minimalist.jpg +0 -0
  23. package/plugins/generations/image-gen/assets/sample/daily-news-cover__photorealistic.jpg +0 -0
  24. package/plugins/generations/image-gen/assets/sample/daily-news-cover__sketch.jpg +0 -0
  25. package/plugins/generations/image-gen/assets/sample/daily-news-cover__technical-diagram.jpg +0 -0
  26. package/plugins/generations/image-gen/assets/sample/daily-news-cover__vibrant.jpg +0 -0
  27. package/plugins/generations/image-gen/assets/sample/daily-news-cover__warm.jpg +0 -0
  28. package/plugins/generations/image-gen/assets/sample/daily-news-cover__xhs-knowledge.jpg +0 -0
  29. package/plugins/generations/image-gen/assets/sample/free__clean-webapp-ui.jpg +0 -0
  30. package/plugins/generations/image-gen/assets/sample/free__cute.jpg +0 -0
  31. package/plugins/generations/image-gen/assets/sample/free__daily-news.jpg +0 -0
  32. package/plugins/generations/image-gen/assets/sample/free__editorial.jpg +0 -0
  33. package/plugins/generations/image-gen/assets/sample/free__fresh.jpg +0 -0
  34. package/plugins/generations/image-gen/assets/sample/free__minimalist.jpg +0 -0
  35. package/plugins/generations/image-gen/assets/sample/free__photorealistic.jpg +0 -0
  36. package/plugins/generations/image-gen/assets/sample/free__sketch.jpg +0 -0
  37. package/plugins/generations/image-gen/assets/sample/free__technical-diagram.jpg +0 -0
  38. package/plugins/generations/image-gen/assets/sample/free__vibrant.jpg +0 -0
  39. package/plugins/generations/image-gen/assets/sample/free__warm.jpg +0 -0
  40. package/plugins/generations/image-gen/assets/sample/free__xhs-knowledge.jpg +0 -0
  41. package/plugins/generations/image-gen/assets/sample/illustration__clean-webapp-ui.jpg +0 -0
  42. package/plugins/generations/image-gen/assets/sample/illustration__cute.jpg +0 -0
  43. package/plugins/generations/image-gen/assets/sample/illustration__daily-news.jpg +0 -0
  44. package/plugins/generations/image-gen/assets/sample/illustration__editorial.jpg +0 -0
  45. package/plugins/generations/image-gen/assets/sample/illustration__fresh.jpg +0 -0
  46. package/plugins/generations/image-gen/assets/sample/illustration__minimalist.jpg +0 -0
  47. package/plugins/generations/image-gen/assets/sample/illustration__photorealistic.jpg +0 -0
  48. package/plugins/generations/image-gen/assets/sample/illustration__sketch.jpg +0 -0
  49. package/plugins/generations/image-gen/assets/sample/illustration__technical-diagram.jpg +0 -0
  50. package/plugins/generations/image-gen/assets/sample/illustration__vibrant.jpg +0 -0
  51. package/plugins/generations/image-gen/assets/sample/illustration__warm.jpg +0 -0
  52. package/plugins/generations/image-gen/assets/sample/illustration__xhs-knowledge.jpg +0 -0
  53. package/plugins/generations/image-gen/assets/sample/xhs-card__clean-webapp-ui.jpg +0 -0
  54. package/plugins/generations/image-gen/assets/sample/xhs-card__cute.jpg +0 -0
  55. package/plugins/generations/image-gen/assets/sample/xhs-card__daily-news.jpg +0 -0
  56. package/plugins/generations/image-gen/assets/sample/xhs-card__editorial.jpg +0 -0
  57. package/plugins/generations/image-gen/assets/sample/xhs-card__fresh.jpg +0 -0
  58. package/plugins/generations/image-gen/assets/sample/xhs-card__minimalist.jpg +0 -0
  59. package/plugins/generations/image-gen/assets/sample/xhs-card__photorealistic.jpg +0 -0
  60. package/plugins/generations/image-gen/assets/sample/xhs-card__sketch.jpg +0 -0
  61. package/plugins/generations/image-gen/assets/sample/xhs-card__technical-diagram.jpg +0 -0
  62. package/plugins/generations/image-gen/assets/sample/xhs-card__vibrant.jpg +0 -0
  63. package/plugins/generations/image-gen/assets/sample/xhs-card__warm.jpg +0 -0
  64. package/plugins/generations/image-gen/assets/sample/xhs-card__xhs-knowledge.jpg +0 -0
  65. package/plugins/generations/image-gen/dist/index.js +102 -58
  66. package/plugins/generations/image-gen/scripts/compose-e2e-artifact.ts +5 -21
  67. package/plugins/generations/image-gen/scripts/gen-samples.ts +208 -0
  68. package/plugins/generations/image-gen/src/compose/chromium.ts +2 -3
  69. package/plugins/generations/image-gen/src/presets.ts +6 -3
  70. package/plugins/generations/image-gen/src/providers/errors.ts +16 -1
  71. package/plugins/generations/image-gen/src/providers/minimax.ts +46 -17
  72. package/plugins/ingestions/web-search/src/index.ts +1 -1
  73. package/plugins/kk/README.md +18 -0
  74. package/plugins/kk/commands/image-extract.md +1 -0
  75. package/plugins/kk/commands/image-generate.md +1 -0
  76. package/plugins/kk/commands/tell-me.md +1 -0
  77. package/plugins/kk/commands/workflow-run.md +7 -1
  78. package/plugins/kk/decisions/extract/it-topics.yaml +24 -0
  79. package/plugins/kk/decisions/kk-itc.yaml +6 -4
  80. package/plugins/kk/plugin.json +1 -1
  81. package/plugins/kk/publish-presets/daily-ai-voice-migration.json +146 -0
  82. package/plugins/kk/publish-presets/daily-ai-voice.json +11 -3
  83. package/plugins/kk/schedules/kk-collect.grok-bot.md.tmpl +69 -0
  84. package/plugins/kk/schedules/kk-daily-ai-voice3.cron.tmpl +18 -0
  85. package/plugins/kk/schedules/kk-daily-publish3-cn-peak.cron.tmpl +15 -5
  86. package/plugins/kk/schedules/kk-daily-publish3-overseas.cron.tmpl +9 -4
  87. package/plugins/kk/scripts/daily-scheduled-run.ts +298 -0
  88. package/plugins/kk/scripts/daily-stages.ts +1403 -156
  89. package/plugins/kk/scripts/kk-workflow-stages.ts +266 -10
  90. package/plugins/kk/scripts/safety-artifact-check.ts +277 -0
  91. package/plugins/kk/scripts/voice3-publish-window.ts +202 -0
  92. package/plugins/kk/skills/article-adapt/SKILL.md +1 -0
  93. package/plugins/kk/skills/audio-authoring/SKILL.md +1 -0
  94. package/plugins/kk/skills/content-judge/SKILL.md +1 -0
  95. package/plugins/kk/skills/content-safety/SKILL.md +1 -0
  96. package/plugins/kk/skills/explain-things/SKILL.md +1 -0
  97. package/plugins/kk/skills/image-authoring/SKILL.md +1 -0
  98. package/plugins/kk/skills/itc-generating/SKILL.md +1 -0
  99. package/plugins/kk/skills/publish/SKILL.md +1 -0
  100. package/plugins/kk/skills/smart-seo/SKILL.md +1 -0
  101. package/plugins/kk/skills/storm-research/SKILL.md +1 -0
  102. package/plugins/kk/skills/taste-unslop/SKILL.md +1 -0
  103. package/plugins/kk/skills/topic/SKILL.md +1 -0
  104. package/plugins/kk/skills/web-automation/SKILL.md +1 -0
  105. package/plugins/kk/skills/xhs-images/SKILL.md +1 -0
  106. package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +177 -128
  107. package/plugins/kk/workflows/kk-daily-ai-voice3.yaml +161 -61
  108. package/plugins/kk/workflows/kk-daily-publish3.yaml +82 -26
  109. package/plugins/kk/workflows/kk-daily-safety.yaml +156 -69
  110. package/plugins/kk/workflows/kk-itc-author.yaml +75 -0
  111. package/plugins/kk/workflows/kk-itc-publish-tail.yaml +25 -3
  112. package/plugins/kk/workflows/kk-itc.yaml +36 -4
  113. package/plugins/publishings/bilibili-pub/dist/index.js +2 -1
  114. package/plugins/publishings/bilibili-pub/dist/profile-check.js +2 -1
  115. package/plugins/publishings/cnblogs-pub/dist/index.js +2 -1
  116. package/plugins/publishings/cnblogs-pub/dist/profile-check.js +2 -1
  117. package/plugins/publishings/csdn-pub/dist/index.js +2 -1
  118. package/plugins/publishings/csdn-pub/dist/profile-check.js +2 -1
  119. package/plugins/publishings/infoq-pub/dist/index.js +2 -1
  120. package/plugins/publishings/infoq-pub/dist/profile-check.js +2 -1
  121. package/plugins/publishings/jike-pub/dist/index.js +2 -1
  122. package/plugins/publishings/jike-pub/dist/profile-check.js +2 -1
  123. package/plugins/publishings/juejin-pub/dist/index.js +2 -1
  124. package/plugins/publishings/juejin-pub/dist/profile-check.js +2 -1
  125. package/plugins/publishings/linkedin-pub/dist/index.js +21333 -0
  126. package/plugins/publishings/linkedin-pub/dist/profile-check.js +21005 -0
  127. package/plugins/publishings/linkedin-pub/package.json +19 -0
  128. package/plugins/publishings/linkedin-pub/plugin.json +12 -0
  129. package/plugins/publishings/linkedin-pub/src/index.ts +705 -0
  130. package/plugins/publishings/linkedin-pub/src/profile-check.ts +17 -0
  131. package/plugins/publishings/linkedin-pub/tsconfig.json +4 -0
  132. package/plugins/publishings/podcast-pub/dist/index.js +46 -8
  133. package/plugins/publishings/podcast-pub/src/index.ts +62 -5
  134. package/plugins/publishings/shipinhao-pub/dist/index.js +2 -1
  135. package/plugins/publishings/shipinhao-pub/dist/profile-check.js +2 -1
  136. package/plugins/publishings/sspai-pub/dist/index.js +2 -1
  137. package/plugins/publishings/sspai-pub/dist/profile-check.js +2 -1
  138. package/plugins/publishings/substack-pub/dist/index.js +2 -1
  139. package/plugins/publishings/substack-pub/dist/profile-check.js +2 -1
  140. package/plugins/publishings/surfdash-pub/dist/index.js +461 -53
  141. package/plugins/publishings/surfdash-pub/src/digest-check.ts +85 -19
  142. package/plugins/publishings/surfdash-pub/src/index.ts +592 -65
  143. package/plugins/publishings/threads-pub/dist/index.js +7 -0
  144. package/plugins/publishings/threads-pub/src/index.ts +12 -0
  145. package/plugins/publishings/wechatmp-pub/dist/index.js +936 -98
  146. package/plugins/publishings/wechatmp-pub/dist/profile-check.js +60 -3
  147. package/plugins/publishings/wechatmp-pub/src/flow.ts +1134 -86
  148. package/plugins/publishings/wechatmp-pub/src/index.ts +112 -30
  149. package/plugins/publishings/wechatmp-pub/src/page.ts +105 -0
  150. package/plugins/publishings/weibo-pub/dist/index.js +2 -1
  151. package/plugins/publishings/weibo-pub/dist/profile-check.js +2 -1
  152. package/plugins/publishings/x-pub/dist/index.js +9 -1
  153. package/plugins/publishings/x-pub/dist/profile-check.js +2 -1
  154. package/plugins/publishings/x-pub/src/index.ts +11 -0
  155. package/plugins/publishings/xhs-pub/dist/index.js +2 -1
  156. package/plugins/publishings/xhs-pub/dist/profile-check.js +2 -1
  157. package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +2 -1
  158. package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +2 -1
@@ -19847,9 +19847,11 @@ import { isAbsolute, join as join3, relative, resolve as resolve3, sep } from "p
19847
19847
  // ../../packages/publish-harness/src/bot-fs.ts
19848
19848
  import {
19849
19849
  chmodSync,
19850
+ closeSync,
19850
19851
  copyFileSync,
19851
19852
  lstatSync,
19852
19853
  mkdirSync as mkdirSync2,
19854
+ openSync,
19853
19855
  readdirSync as readdirSync2,
19854
19856
  realpathSync as realpathSync2,
19855
19857
  rmdirSync
@@ -20101,7 +20103,6 @@ class BotError extends Error {
20101
20103
  this.code = code;
20102
20104
  }
20103
20105
  }
20104
-
20105
20106
  // ../../packages/publish-harness/src/index.ts
20106
20107
  import { homedir as homedir4 } from "os";
20107
20108
  import { join as join4, resolve as resolve4 } from "path";
@@ -20461,9 +20461,11 @@ import { isAbsolute, join as join4, relative, resolve as resolve4, sep } from "p
20461
20461
  // ../../packages/publish-harness/src/bot-fs.ts
20462
20462
  import {
20463
20463
  chmodSync,
20464
+ closeSync,
20464
20465
  copyFileSync,
20465
20466
  lstatSync,
20466
20467
  mkdirSync as mkdirSync2,
20468
+ openSync,
20467
20469
  readdirSync as readdirSync2,
20468
20470
  realpathSync as realpathSync2,
20469
20471
  rmdirSync
@@ -20708,7 +20710,6 @@ class BotError extends Error {
20708
20710
  this.code = code;
20709
20711
  }
20710
20712
  }
20711
-
20712
20713
  // ../../packages/publish-harness/src/profile-dir.ts
20713
20714
  import { mkdir as mkdir2, stat } from "fs/promises";
20714
20715
  async function ensureProfileDir2(profileDir, headless) {
@@ -19847,9 +19847,11 @@ import { isAbsolute, join as join3, relative, resolve as resolve3, sep } from "p
19847
19847
  // ../../packages/publish-harness/src/bot-fs.ts
19848
19848
  import {
19849
19849
  chmodSync,
19850
+ closeSync,
19850
19851
  copyFileSync,
19851
19852
  lstatSync,
19852
19853
  mkdirSync as mkdirSync2,
19854
+ openSync,
19853
19855
  readdirSync as readdirSync2,
19854
19856
  realpathSync as realpathSync2,
19855
19857
  rmdirSync
@@ -20101,7 +20103,6 @@ class BotError extends Error {
20101
20103
  this.code = code;
20102
20104
  }
20103
20105
  }
20104
-
20105
20106
  // ../../packages/publish-harness/src/index.ts
20106
20107
  import { homedir as homedir4 } from "os";
20107
20108
  import { join as join4, resolve as resolve4 } from "path";
@@ -20458,9 +20458,11 @@ import { isAbsolute, join as join4, relative, resolve as resolve4, sep } from "p
20458
20458
  // ../../packages/publish-harness/src/bot-fs.ts
20459
20459
  import {
20460
20460
  chmodSync,
20461
+ closeSync,
20461
20462
  copyFileSync,
20462
20463
  lstatSync,
20463
20464
  mkdirSync as mkdirSync2,
20465
+ openSync,
20464
20466
  readdirSync as readdirSync2,
20465
20467
  realpathSync as realpathSync2,
20466
20468
  rmdirSync
@@ -20705,7 +20707,6 @@ class BotError extends Error {
20705
20707
  this.code = code;
20706
20708
  }
20707
20709
  }
20708
-
20709
20710
  // ../../packages/publish-harness/src/profile-dir.ts
20710
20711
  import { mkdir as mkdir2, stat } from "fs/promises";
20711
20712
  async function ensureProfileDir2(profileDir, headless) {
@@ -20119,9 +20119,11 @@ import { isAbsolute, join as join3, relative, resolve as resolve3, sep } from "p
20119
20119
  // ../../packages/publish-harness/src/bot-fs.ts
20120
20120
  import {
20121
20121
  chmodSync,
20122
+ closeSync,
20122
20123
  copyFileSync,
20123
20124
  lstatSync,
20124
20125
  mkdirSync as mkdirSync2,
20126
+ openSync,
20125
20127
  readdirSync as readdirSync2,
20126
20128
  realpathSync as realpathSync2,
20127
20129
  rmdirSync
@@ -20373,7 +20375,6 @@ class BotError extends Error {
20373
20375
  this.code = code;
20374
20376
  }
20375
20377
  }
20376
-
20377
20378
  // ../../packages/publish-harness/src/index.ts
20378
20379
  import { homedir as homedir4 } from "os";
20379
20380
  import { join as join4, resolve as resolve4 } from "path";
@@ -20458,9 +20458,11 @@ import { isAbsolute, join as join4, relative, resolve as resolve4, sep } from "p
20458
20458
  // ../../packages/publish-harness/src/bot-fs.ts
20459
20459
  import {
20460
20460
  chmodSync,
20461
+ closeSync,
20461
20462
  copyFileSync,
20462
20463
  lstatSync,
20463
20464
  mkdirSync as mkdirSync2,
20465
+ openSync,
20464
20466
  readdirSync as readdirSync2,
20465
20467
  realpathSync as realpathSync2,
20466
20468
  rmdirSync
@@ -20705,7 +20707,6 @@ class BotError extends Error {
20705
20707
  this.code = code;
20706
20708
  }
20707
20709
  }
20708
-
20709
20710
  // ../../packages/publish-harness/src/profile-dir.ts
20710
20711
  import { mkdir as mkdir2, stat } from "fs/promises";
20711
20712
  async function ensureProfileDir2(profileDir, headless) {
@@ -20119,9 +20119,11 @@ import { isAbsolute, join as join3, relative, resolve as resolve3, sep } from "p
20119
20119
  // ../../packages/publish-harness/src/bot-fs.ts
20120
20120
  import {
20121
20121
  chmodSync,
20122
+ closeSync,
20122
20123
  copyFileSync,
20123
20124
  lstatSync,
20124
20125
  mkdirSync as mkdirSync2,
20126
+ openSync,
20125
20127
  readdirSync as readdirSync2,
20126
20128
  realpathSync as realpathSync2,
20127
20129
  rmdirSync
@@ -20373,7 +20375,6 @@ class BotError extends Error {
20373
20375
  this.code = code;
20374
20376
  }
20375
20377
  }
20376
-
20377
20378
  // ../../packages/publish-harness/src/index.ts
20378
20379
  import { homedir as homedir4 } from "os";
20379
20380
  import { join as join4, resolve as resolve4 } from "path";
@@ -20458,9 +20458,11 @@ import { isAbsolute, join as join4, relative, resolve as resolve4, sep } from "p
20458
20458
  // ../../packages/publish-harness/src/bot-fs.ts
20459
20459
  import {
20460
20460
  chmodSync,
20461
+ closeSync,
20461
20462
  copyFileSync,
20462
20463
  lstatSync,
20463
20464
  mkdirSync as mkdirSync2,
20465
+ openSync,
20464
20466
  readdirSync as readdirSync2,
20465
20467
  realpathSync as realpathSync2,
20466
20468
  rmdirSync
@@ -20705,7 +20707,6 @@ class BotError extends Error {
20705
20707
  this.code = code;
20706
20708
  }
20707
20709
  }
20708
-
20709
20710
  // ../../packages/publish-harness/src/profile-dir.ts
20710
20711
  import { mkdir as mkdir2, stat } from "fs/promises";
20711
20712
  async function ensureProfileDir2(profileDir, headless) {
@@ -20119,9 +20119,11 @@ import { isAbsolute, join as join3, relative, resolve as resolve3, sep } from "p
20119
20119
  // ../../packages/publish-harness/src/bot-fs.ts
20120
20120
  import {
20121
20121
  chmodSync,
20122
+ closeSync,
20122
20123
  copyFileSync,
20123
20124
  lstatSync,
20124
20125
  mkdirSync as mkdirSync2,
20126
+ openSync,
20125
20127
  readdirSync as readdirSync2,
20126
20128
  realpathSync as realpathSync2,
20127
20129
  rmdirSync
@@ -20373,7 +20375,6 @@ class BotError extends Error {
20373
20375
  this.code = code;
20374
20376
  }
20375
20377
  }
20376
-
20377
20378
  // ../../packages/publish-harness/src/index.ts
20378
20379
  import { homedir as homedir4 } from "os";
20379
20380
  import { join as join4, resolve as resolve4 } from "path";
@@ -20458,9 +20458,11 @@ import { isAbsolute, join as join4, relative, resolve as resolve4, sep } from "p
20458
20458
  // ../../packages/publish-harness/src/bot-fs.ts
20459
20459
  import {
20460
20460
  chmodSync,
20461
+ closeSync,
20461
20462
  copyFileSync,
20462
20463
  lstatSync,
20463
20464
  mkdirSync as mkdirSync2,
20465
+ openSync,
20464
20466
  readdirSync as readdirSync2,
20465
20467
  realpathSync as realpathSync2,
20466
20468
  rmdirSync
@@ -20705,7 +20707,6 @@ class BotError extends Error {
20705
20707
  this.code = code;
20706
20708
  }
20707
20709
  }
20708
-
20709
20710
  // ../../packages/publish-harness/src/profile-dir.ts
20710
20711
  import { mkdir as mkdir2, stat } from "fs/promises";
20711
20712
  async function ensureProfileDir2(profileDir, headless) {
@@ -20119,9 +20119,11 @@ import { isAbsolute, join as join3, relative, resolve as resolve3, sep } from "p
20119
20119
  // ../../packages/publish-harness/src/bot-fs.ts
20120
20120
  import {
20121
20121
  chmodSync,
20122
+ closeSync,
20122
20123
  copyFileSync,
20123
20124
  lstatSync,
20124
20125
  mkdirSync as mkdirSync2,
20126
+ openSync,
20125
20127
  readdirSync as readdirSync2,
20126
20128
  realpathSync as realpathSync2,
20127
20129
  rmdirSync
@@ -20373,7 +20375,6 @@ class BotError extends Error {
20373
20375
  this.code = code;
20374
20376
  }
20375
20377
  }
20376
-
20377
20378
  // ../../packages/publish-harness/src/index.ts
20378
20379
  import { homedir as homedir4 } from "os";
20379
20380
  import { join as join4, resolve as resolve4 } from "path";