@gobing-ai/knowledge-kit 0.1.27 → 0.1.28
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/.claude-plugin/marketplace.json +1 -1
- package/dist/board/collect/index.js +10 -0
- package/dist/board/daily-voice/index.js +1327 -2168
- package/dist/board/itc/index.js +10 -0
- package/dist/index.js +5980 -4651
- package/package.json +1 -1
- package/plugins/ingestions/aihot-ingest/dist/index.js +4 -1
- package/plugins/ingestions/aihot-ingest/src/rss.ts +22 -11
- package/plugins/kk/plugin.json +1 -1
- package/plugins/kk/scripts/daily-stages.ts +7 -7
- package/plugins/kk/workflows/kk-news-generate.yaml +1 -1
- package/plugins/publishings/bilibili-pub/dist/index.js +81 -80
- package/plugins/publishings/bilibili-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/cnblogs-pub/dist/index.js +81 -80
- package/plugins/publishings/cnblogs-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/csdn-pub/dist/index.js +81 -80
- package/plugins/publishings/csdn-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/infoq-pub/dist/index.js +81 -80
- package/plugins/publishings/infoq-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/jike-pub/dist/index.js +81 -80
- package/plugins/publishings/jike-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/juejin-pub/dist/index.js +81 -80
- package/plugins/publishings/juejin-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/linkedin-pub/dist/index.js +81 -80
- package/plugins/publishings/linkedin-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/medium-pub/dist/index.js +81 -80
- package/plugins/publishings/medium-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/shipinhao-pub/dist/index.js +272 -85
- package/plugins/publishings/shipinhao-pub/dist/profile-check.js +112 -3
- package/plugins/publishings/shipinhao-pub/src/cover-crop.ts +60 -0
- package/plugins/publishings/shipinhao-pub/src/flow.ts +15 -2
- package/plugins/publishings/shipinhao-pub/src/profile-check.ts +15 -12
- package/plugins/publishings/shipinhao-pub/src/selectors.ts +22 -1
- package/plugins/publishings/sspai-pub/dist/index.js +81 -80
- package/plugins/publishings/sspai-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/substack-pub/dist/index.js +81 -80
- package/plugins/publishings/substack-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/surfdash-pub/dist/index.js +43 -5
- package/plugins/publishings/threads-pub/dist/index.js +86 -81
- package/plugins/publishings/threads-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/threads-pub/src/index.ts +10 -0
- package/plugins/publishings/wechatmp-pub/dist/index.js +84 -83
- package/plugins/publishings/wechatmp-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/weibo-pub/dist/index.js +217 -83
- package/plugins/publishings/weibo-pub/dist/profile-check.js +123 -3
- package/plugins/publishings/weibo-pub/src/index.ts +60 -2
- package/plugins/publishings/weibo-pub/src/profile-check.ts +4 -2
- package/plugins/publishings/x-pub/dist/index.js +81 -80
- package/plugins/publishings/x-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/xhs-pub/dist/index.js +81 -80
- package/plugins/publishings/xhs-pub/dist/profile-check.js +1 -1
- package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +81 -80
- package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +1 -1
package/dist/board/itc/index.js
CHANGED
|
@@ -521,6 +521,16 @@ function createBoardClient(options) {
|
|
|
521
521
|
storeChannels: (query) => getJson(`${aggregateReader}/api/workflows/kk-collect/store/channels?${storeChannelsQueryString(query)}`),
|
|
522
522
|
runDetail: (runId) => getJson(`${board}/api/runs/${encodeURIComponent(runId)}`),
|
|
523
523
|
evidence: (workflow, runId) => getJson(`${reader}/api/workflows/${encodeURIComponent(workflow)}/runs/${encodeURIComponent(runId)}/evidence`),
|
|
524
|
+
day: (day) => getJson(`${reader}/api/days/${encodeURIComponent(day)}`),
|
|
525
|
+
days: (from, until) => getJson(`${reader}/api/days?from=${encodeURIComponent(from)}&until=${encodeURIComponent(until)}`),
|
|
526
|
+
action: async (kind, body) => {
|
|
527
|
+
const response = await doFetch(`${reader}/api/actions/${encodeURIComponent(kind)}`, {
|
|
528
|
+
method: "POST",
|
|
529
|
+
headers: { "content-type": "application/json", "x-kk-action": "1" },
|
|
530
|
+
body: JSON.stringify(body)
|
|
531
|
+
});
|
|
532
|
+
return { status: response.status, body: await response.json() };
|
|
533
|
+
},
|
|
524
534
|
progress: (runId) => getJson(`${board}/api/runs/${encodeURIComponent(runId)}/progress`)
|
|
525
535
|
};
|
|
526
536
|
}
|