@gobing-ai/knowledge-kit 0.1.22 → 0.1.24
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/index.js +282 -147
- package/package.json +5 -5
- package/plugins/generations/content-gen/dist/index.js +9 -9
- package/plugins/generations/core-facts-gen/dist/index.js +12 -12
- package/plugins/generations/daily-article-gen/dist/index.js +12 -12
- package/plugins/generations/dailynews-gen/dist/index.js +11 -11
- package/plugins/generations/dailynews-gen/src/script-plan.ts +2 -2
- package/plugins/generations/episode-plan-gen/dist/index.js +12 -12
- package/plugins/generations/gemini-tts/dist/index.js +56 -16
- package/plugins/generations/gemini-tts/src/gemini-client.ts +34 -6
- package/plugins/generations/image-gen/dist/index.js +9 -9
- package/plugins/generations/music-gen/README.md +2 -2
- package/plugins/generations/music-gen/dist/index.js +62 -26
- package/plugins/generations/music-gen/presets/formats/song.yaml +6 -1
- package/plugins/generations/music-gen/presets/themes/synthwave.yaml +6 -1
- package/plugins/generations/music-gen/src/adapter/instance.ts +34 -11
- package/plugins/generations/music-gen/src/presets.ts +36 -3
- package/plugins/generations/news-report-gen/dist/index.js +12 -12
- package/plugins/generations/omni-voice-gen/uv.toml +5 -0
- package/plugins/generations/vibe-voice-tts/README.md +64 -0
- package/plugins/generations/vibe-voice-tts/dist/index.js +14259 -0
- package/plugins/generations/vibe-voice-tts/package.json +16 -0
- package/plugins/generations/vibe-voice-tts/plugin.json +6 -0
- package/plugins/generations/vibe-voice-tts/profiles.json +10 -0
- package/plugins/generations/vibe-voice-tts/pyproject.toml +9 -0
- package/plugins/generations/vibe-voice-tts/python/worker.py +566 -0
- package/plugins/generations/vibe-voice-tts/src/index.ts +88 -0
- package/plugins/generations/vibe-voice-tts/src/vibevoice-client.ts +828 -0
- package/plugins/generations/vibe-voice-tts/tsconfig.json +8 -0
- package/plugins/generations/vibe-voice-tts/uv.lock +1767 -0
- package/plugins/generations/vibe-voice-tts/uv.toml +4 -0
- package/plugins/generations/voice-gen/dist/index.js +40 -10
- package/plugins/generations/voice-gen/src/voicebox-client.ts +50 -1
- package/plugins/generations/voxcpm-tts/dist/index.js +90 -18
- package/plugins/generations/voxcpm-tts/python/worker.py +9 -0
- package/plugins/generations/voxcpm-tts/src/index.ts +41 -0
- package/plugins/generations/voxcpm-tts/src/voxcpm-client.ts +32 -11
- package/plugins/generations/voxcpm-tts/uv.toml +5 -0
- package/plugins/ingestions/aihot-ingest/dist/index.js +12 -12
- package/plugins/ingestions/horizon-ingest/dist/index.js +12 -12
- package/plugins/ingestions/karakeep-local/dist/index.js +13 -13
- package/plugins/ingestions/last30days-ingest/dist/index.js +12 -12
- package/plugins/ingestions/web-search/dist/index.js +10 -10
- package/plugins/kk/README.md +21 -0
- package/plugins/kk/decisions/kk-safety.yaml +5 -2
- package/plugins/kk/plugin.json +1 -1
- package/plugins/kk/publish-presets/daily-ai-voice.json +16 -16
- package/plugins/kk/schedules/kk-serve.launchd.plist.tmpl +12 -1
- package/plugins/kk/scripts/cover-compositor.ts +104 -26
- package/plugins/kk/scripts/daily-stages.ts +481 -63
- package/plugins/kk/scripts/kk-workflow-stages.ts +218 -17
- package/plugins/kk/scripts/safety-artifact-check.ts +28 -5
- package/plugins/kk/scripts/series-names.ts +16 -3
- package/plugins/kk/skills/news-editorial/SKILL.md +1 -1
- package/plugins/kk/skills/news-editorial/references/style-contract.zh.md +3 -3
- package/plugins/kk/workflows/kk-daily-ai-voice.yaml +4 -3
- package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +6 -5
- package/plugins/kk/workflows/kk-daily-safety.yaml +12 -10
- package/plugins/kk/workflows/kk-music.yaml +20 -16
- package/plugins/kk/workflows/kk-news-generate.yaml +26 -3
- package/plugins/kk/workflows/kk-publish.yaml +4 -1
- package/plugins/publishings/bilibili-pub/dist/index.js +22 -22
- package/plugins/publishings/bilibili-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/cnblogs-pub/dist/index.js +22 -22
- package/plugins/publishings/cnblogs-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/csdn-pub/dist/index.js +22 -22
- package/plugins/publishings/csdn-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/emdash-pub/dist/index.js +9 -9
- package/plugins/publishings/infoq-pub/dist/index.js +22 -22
- package/plugins/publishings/infoq-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/jike-pub/dist/index.js +22 -22
- package/plugins/publishings/jike-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/juejin-pub/dist/index.js +22 -22
- package/plugins/publishings/juejin-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/linkedin-pub/dist/index.js +133 -33
- package/plugins/publishings/linkedin-pub/dist/profile-check.js +27 -22
- package/plugins/publishings/linkedin-pub/src/index.ts +192 -18
- package/plugins/publishings/medium-pub/dist/index.js +9 -9
- package/plugins/publishings/podcast-pub/dist/index.js +240 -37
- package/plugins/publishings/podcast-pub/src/index.ts +154 -3
- package/plugins/publishings/podcast-pub/src/seo.ts +25 -8
- package/plugins/publishings/podcast-pub/src/show-notes-brief.ts +93 -23
- package/plugins/publishings/podcast-pub/src/show-notes.ts +26 -6
- package/plugins/publishings/qiita-pub/dist/index.js +9 -9
- package/plugins/publishings/shipinhao-pub/dist/index.js +23 -23
- package/plugins/publishings/shipinhao-pub/dist/profile-check.js +23 -23
- package/plugins/publishings/shipinhao-pub/src/selectors.ts +2 -1
- package/plugins/publishings/sspai-pub/dist/index.js +22 -22
- package/plugins/publishings/sspai-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/substack-pub/dist/index.js +22 -22
- package/plugins/publishings/substack-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/surfdash-pub/dist/index.js +207 -95
- package/plugins/publishings/surfdash-pub/src/digest-check.ts +30 -1
- package/plugins/publishings/surfdash-pub/src/index.ts +101 -76
- package/plugins/publishings/surfdash-pub/src/media-upload.ts +83 -0
- package/plugins/publishings/surfdash-pub/src/patch.ts +49 -26
- package/plugins/publishings/surfdash-pub/src/topic-claims.ts +12 -4
- package/plugins/publishings/threads-pub/dist/index.js +83 -27
- package/plugins/publishings/threads-pub/dist/profile-check.js +34 -23
- package/plugins/publishings/threads-pub/src/post-rail.ts +121 -4
- package/plugins/publishings/wechatmp-pub/dist/index.js +274 -98
- package/plugins/publishings/wechatmp-pub/dist/profile-check.js +27 -23
- package/plugins/publishings/wechatmp-pub/src/cgi-draft.ts +87 -53
- package/plugins/publishings/wechatmp-pub/src/enrich.ts +117 -13
- package/plugins/publishings/wechatmp-pub/src/flow.ts +183 -43
- package/plugins/publishings/wechatmp-pub/src/modes.ts +30 -12
- package/plugins/publishings/weibo-pub/dist/index.js +22 -22
- package/plugins/publishings/weibo-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/x-pub/dist/index.js +113 -32
- package/plugins/publishings/x-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/x-pub/src/post-rail.ts +155 -20
- package/plugins/publishings/xhs-pub/dist/index.js +22 -22
- package/plugins/publishings/xhs-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +22 -22
- package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +22 -22
- package/plugins/publishings/zenn-pub/dist/index.js +9 -9
|
@@ -5065,7 +5065,7 @@ var init_zod = __esm(() => {
|
|
|
5065
5065
|
init_external();
|
|
5066
5066
|
});
|
|
5067
5067
|
|
|
5068
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
5068
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
5069
5069
|
var ErrorCode;
|
|
5070
5070
|
var init_errors3 = __esm(() => {
|
|
5071
5071
|
ErrorCode = {
|
|
@@ -5076,7 +5076,7 @@ var init_errors3 = __esm(() => {
|
|
|
5076
5076
|
};
|
|
5077
5077
|
});
|
|
5078
5078
|
|
|
5079
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
5079
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
5080
5080
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
5081
5081
|
var init_api_response = __esm(() => {
|
|
5082
5082
|
init_errors3();
|
|
@@ -5099,13 +5099,13 @@ var init_api_response = __esm(() => {
|
|
|
5099
5099
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
5100
5100
|
});
|
|
5101
5101
|
|
|
5102
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
5102
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
5103
5103
|
var init_cursor = () => {};
|
|
5104
5104
|
|
|
5105
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
5105
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
5106
5106
|
var init_event_severity = () => {};
|
|
5107
5107
|
|
|
5108
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
5108
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
5109
5109
|
function processStream(name) {
|
|
5110
5110
|
const proc = globalThis.process;
|
|
5111
5111
|
const stream = proc?.[name];
|
|
@@ -5123,7 +5123,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
5123
5123
|
}
|
|
5124
5124
|
var defaultStderrTarget;
|
|
5125
5125
|
|
|
5126
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
5126
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
5127
5127
|
var init_dist = __esm(() => {
|
|
5128
5128
|
init_api_response();
|
|
5129
5129
|
init_cursor();
|
|
@@ -12121,7 +12121,7 @@ var init_dist2 = __esm(() => {
|
|
|
12121
12121
|
$visitAsync = visit.visitAsync;
|
|
12122
12122
|
});
|
|
12123
12123
|
|
|
12124
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12124
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
12125
12125
|
var configSchema;
|
|
12126
12126
|
var init_config = __esm(() => {
|
|
12127
12127
|
init_dist2();
|
|
@@ -12145,7 +12145,7 @@ var init_config = __esm(() => {
|
|
|
12145
12145
|
});
|
|
12146
12146
|
});
|
|
12147
12147
|
|
|
12148
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12148
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
12149
12149
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
12150
12150
|
import { dirname, resolve as resolvePath } from "path";
|
|
12151
12151
|
function createNodeFileSystem(root, paths) {
|
|
@@ -12500,14 +12500,14 @@ var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx)
|
|
|
12500
12500
|
});
|
|
12501
12501
|
}
|
|
12502
12502
|
});
|
|
12503
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12503
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
12504
12504
|
init_file_system_node();
|
|
12505
12505
|
init_config();
|
|
12506
12506
|
|
|
12507
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12507
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
12508
12508
|
init_file_system_node();
|
|
12509
12509
|
|
|
12510
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12510
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
12511
12511
|
function normalizeSeparators(path) {
|
|
12512
12512
|
return path.replaceAll("\\", "/");
|
|
12513
12513
|
}
|
|
@@ -12541,7 +12541,7 @@ function dirnamePath(path) {
|
|
|
12541
12541
|
return normalized.slice(0, index);
|
|
12542
12542
|
}
|
|
12543
12543
|
|
|
12544
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12544
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
12545
12545
|
async function ensureDirForFile(path, fs = createNodeFileSystem()) {
|
|
12546
12546
|
await fs.ensureDir(dirnamePath(path));
|
|
12547
12547
|
}
|
|
@@ -4813,7 +4813,7 @@ var init_zod = __esm(() => {
|
|
|
4813
4813
|
init_external();
|
|
4814
4814
|
});
|
|
4815
4815
|
|
|
4816
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4816
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
4817
4817
|
var ErrorCode;
|
|
4818
4818
|
var init_errors3 = __esm(() => {
|
|
4819
4819
|
ErrorCode = {
|
|
@@ -4824,7 +4824,7 @@ var init_errors3 = __esm(() => {
|
|
|
4824
4824
|
};
|
|
4825
4825
|
});
|
|
4826
4826
|
|
|
4827
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4827
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
4828
4828
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
4829
4829
|
var init_api_response = __esm(() => {
|
|
4830
4830
|
init_errors3();
|
|
@@ -4847,13 +4847,13 @@ var init_api_response = __esm(() => {
|
|
|
4847
4847
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
4848
4848
|
});
|
|
4849
4849
|
|
|
4850
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4850
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
4851
4851
|
var init_cursor = () => {};
|
|
4852
4852
|
|
|
4853
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4853
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
4854
4854
|
var init_event_severity = () => {};
|
|
4855
4855
|
|
|
4856
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4856
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
4857
4857
|
function processStream(name) {
|
|
4858
4858
|
const proc = globalThis.process;
|
|
4859
4859
|
const stream = proc?.[name];
|
|
@@ -4871,7 +4871,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
4871
4871
|
}
|
|
4872
4872
|
var defaultStderrTarget;
|
|
4873
4873
|
|
|
4874
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4874
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
4875
4875
|
var init_dist = __esm(() => {
|
|
4876
4876
|
init_api_response();
|
|
4877
4877
|
init_cursor();
|
|
@@ -11869,7 +11869,7 @@ var init_dist2 = __esm(() => {
|
|
|
11869
11869
|
$visitAsync = visit.visitAsync;
|
|
11870
11870
|
});
|
|
11871
11871
|
|
|
11872
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11872
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
11873
11873
|
var configSchema;
|
|
11874
11874
|
var init_config = __esm(() => {
|
|
11875
11875
|
init_dist2();
|
|
@@ -11893,7 +11893,7 @@ var init_config = __esm(() => {
|
|
|
11893
11893
|
});
|
|
11894
11894
|
});
|
|
11895
11895
|
|
|
11896
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11896
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
11897
11897
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
11898
11898
|
import { dirname, resolve as resolvePath } from "path";
|
|
11899
11899
|
function createNodeFileSystem(root, paths) {
|
|
@@ -12249,14 +12249,14 @@ var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx)
|
|
|
12249
12249
|
});
|
|
12250
12250
|
}
|
|
12251
12251
|
});
|
|
12252
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12252
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
12253
12253
|
init_file_system_node();
|
|
12254
12254
|
init_config();
|
|
12255
12255
|
|
|
12256
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12256
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
12257
12257
|
init_file_system_node();
|
|
12258
12258
|
|
|
12259
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12259
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
12260
12260
|
function normalizeSeparators(path) {
|
|
12261
12261
|
return path.replaceAll("\\", "/");
|
|
12262
12262
|
}
|
|
@@ -12290,7 +12290,7 @@ function dirnamePath(path) {
|
|
|
12290
12290
|
return normalized.slice(0, index);
|
|
12291
12291
|
}
|
|
12292
12292
|
|
|
12293
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12293
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
12294
12294
|
async function ensureDirForFile(path, fs = createNodeFileSystem()) {
|
|
12295
12295
|
await fs.ensureDir(dirnamePath(path));
|
|
12296
12296
|
}
|
|
@@ -27,7 +27,7 @@ var __esm = (fn, res, err) => () => {
|
|
|
27
27
|
};
|
|
28
28
|
var __require = import.meta.require;
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
30
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
31
31
|
var ErrorCode;
|
|
32
32
|
var init_errors = __esm(() => {
|
|
33
33
|
ErrorCode = {
|
|
@@ -38,7 +38,7 @@ var init_errors = __esm(() => {
|
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
41
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
42
42
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
43
43
|
var init_api_response = __esm(() => {
|
|
44
44
|
init_errors();
|
|
@@ -61,13 +61,13 @@ var init_api_response = __esm(() => {
|
|
|
61
61
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
64
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
65
65
|
var init_cursor = () => {};
|
|
66
66
|
|
|
67
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
67
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
68
68
|
var init_event_severity = () => {};
|
|
69
69
|
|
|
70
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
70
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
71
71
|
function processStream(name) {
|
|
72
72
|
const proc = globalThis.process;
|
|
73
73
|
const stream = proc?.[name];
|
|
@@ -85,7 +85,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
85
85
|
}
|
|
86
86
|
var defaultStderrTarget;
|
|
87
87
|
|
|
88
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
88
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
89
89
|
var init_dist = __esm(() => {
|
|
90
90
|
init_api_response();
|
|
91
91
|
init_cursor();
|
|
@@ -11611,7 +11611,7 @@ var init_zod = __esm(() => {
|
|
|
11611
11611
|
init_external();
|
|
11612
11612
|
});
|
|
11613
11613
|
|
|
11614
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11614
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
11615
11615
|
var configSchema;
|
|
11616
11616
|
var init_config = __esm(() => {
|
|
11617
11617
|
init_dist2();
|
|
@@ -11635,7 +11635,7 @@ var init_config = __esm(() => {
|
|
|
11635
11635
|
});
|
|
11636
11636
|
});
|
|
11637
11637
|
|
|
11638
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11638
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
11639
11639
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
11640
11640
|
import { dirname, resolve as resolvePath } from "path";
|
|
11641
11641
|
function createNodeFileSystem(root, paths) {
|
|
@@ -13857,7 +13857,7 @@ var ConfigError = class extends Error {
|
|
|
13857
13857
|
}
|
|
13858
13858
|
};
|
|
13859
13859
|
|
|
13860
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.
|
|
13860
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.8.4+5042690a1c1c0ae5/node_modules/@gobing-ai/ts-infra/dist/logger.js
|
|
13861
13861
|
var ROOT_CATEGORY = "app";
|
|
13862
13862
|
function toLogTapeLevel(level) {
|
|
13863
13863
|
return level === "warn" ? "warning" : level;
|
|
@@ -13926,14 +13926,14 @@ async function initializeLogger(options = {}) {
|
|
|
13926
13926
|
throw error;
|
|
13927
13927
|
}
|
|
13928
13928
|
}
|
|
13929
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
13929
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
13930
13930
|
init_file_system_node();
|
|
13931
13931
|
init_config();
|
|
13932
13932
|
|
|
13933
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
13933
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
13934
13934
|
init_file_system_node();
|
|
13935
13935
|
|
|
13936
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
13936
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
13937
13937
|
function normalizeSeparators(path) {
|
|
13938
13938
|
return path.replaceAll("\\", "/");
|
|
13939
13939
|
}
|
|
@@ -13950,7 +13950,7 @@ function joinPath(...segments) {
|
|
|
13950
13950
|
return absolute ? joined : joined.replace(/^\//, "");
|
|
13951
13951
|
}
|
|
13952
13952
|
|
|
13953
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
13953
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
13954
13954
|
async function walkDir(path, fs = createNodeFileSystem(), exclude) {
|
|
13955
13955
|
const startReal = fs.realPath?.(path) ?? path;
|
|
13956
13956
|
const visited = new Set([startReal]);
|
|
@@ -4813,7 +4813,7 @@ var init_zod = __esm(() => {
|
|
|
4813
4813
|
init_external();
|
|
4814
4814
|
});
|
|
4815
4815
|
|
|
4816
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4816
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
4817
4817
|
var ErrorCode;
|
|
4818
4818
|
var init_errors3 = __esm(() => {
|
|
4819
4819
|
ErrorCode = {
|
|
@@ -4824,7 +4824,7 @@ var init_errors3 = __esm(() => {
|
|
|
4824
4824
|
};
|
|
4825
4825
|
});
|
|
4826
4826
|
|
|
4827
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4827
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
4828
4828
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
4829
4829
|
var init_api_response = __esm(() => {
|
|
4830
4830
|
init_errors3();
|
|
@@ -4847,13 +4847,13 @@ var init_api_response = __esm(() => {
|
|
|
4847
4847
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
4848
4848
|
});
|
|
4849
4849
|
|
|
4850
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4850
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
4851
4851
|
var init_cursor = () => {};
|
|
4852
4852
|
|
|
4853
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4853
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
4854
4854
|
var init_event_severity = () => {};
|
|
4855
4855
|
|
|
4856
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4856
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
4857
4857
|
function processStream(name) {
|
|
4858
4858
|
const proc = globalThis.process;
|
|
4859
4859
|
const stream = proc?.[name];
|
|
@@ -4871,7 +4871,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
4871
4871
|
}
|
|
4872
4872
|
var defaultStderrTarget;
|
|
4873
4873
|
|
|
4874
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4874
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
4875
4875
|
var init_dist = __esm(() => {
|
|
4876
4876
|
init_api_response();
|
|
4877
4877
|
init_cursor();
|
|
@@ -11869,7 +11869,7 @@ var init_dist2 = __esm(() => {
|
|
|
11869
11869
|
$visitAsync = visit.visitAsync;
|
|
11870
11870
|
});
|
|
11871
11871
|
|
|
11872
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11872
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
11873
11873
|
var configSchema;
|
|
11874
11874
|
var init_config = __esm(() => {
|
|
11875
11875
|
init_dist2();
|
|
@@ -11893,7 +11893,7 @@ var init_config = __esm(() => {
|
|
|
11893
11893
|
});
|
|
11894
11894
|
});
|
|
11895
11895
|
|
|
11896
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11896
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
11897
11897
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
11898
11898
|
import { dirname, resolve as resolvePath } from "path";
|
|
11899
11899
|
function createNodeFileSystem(root, paths) {
|
|
@@ -12250,14 +12250,14 @@ var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx)
|
|
|
12250
12250
|
});
|
|
12251
12251
|
}
|
|
12252
12252
|
});
|
|
12253
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12253
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
12254
12254
|
init_file_system_node();
|
|
12255
12255
|
init_config();
|
|
12256
12256
|
|
|
12257
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12257
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
12258
12258
|
init_file_system_node();
|
|
12259
12259
|
|
|
12260
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12260
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/path.js
|
|
12261
12261
|
function normalizeSeparators(path) {
|
|
12262
12262
|
return path.replaceAll("\\", "/");
|
|
12263
12263
|
}
|
|
@@ -12291,7 +12291,7 @@ function dirnamePath(path) {
|
|
|
12291
12291
|
return normalized.slice(0, index);
|
|
12292
12292
|
}
|
|
12293
12293
|
|
|
12294
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12294
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/fs.js
|
|
12295
12295
|
async function ensureDirForFile(path, fs = createNodeFileSystem()) {
|
|
12296
12296
|
await fs.ensureDir(dirnamePath(path));
|
|
12297
12297
|
}
|
|
@@ -4827,7 +4827,7 @@ var init_zod = __esm(() => {
|
|
|
4827
4827
|
init_external();
|
|
4828
4828
|
});
|
|
4829
4829
|
|
|
4830
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4830
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/errors.js
|
|
4831
4831
|
var ErrorCode;
|
|
4832
4832
|
var init_errors3 = __esm(() => {
|
|
4833
4833
|
ErrorCode = {
|
|
@@ -4838,7 +4838,7 @@ var init_errors3 = __esm(() => {
|
|
|
4838
4838
|
};
|
|
4839
4839
|
});
|
|
4840
4840
|
|
|
4841
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4841
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/api-response.js
|
|
4842
4842
|
var API_ERROR_CODES, ERROR_CODE_TO_HTTP, CLIENT_SAFE_CODES;
|
|
4843
4843
|
var init_api_response = __esm(() => {
|
|
4844
4844
|
init_errors3();
|
|
@@ -4861,13 +4861,13 @@ var init_api_response = __esm(() => {
|
|
|
4861
4861
|
CLIENT_SAFE_CODES = new Set([ErrorCode.NotFound, ErrorCode.Validation, ErrorCode.Conflict]);
|
|
4862
4862
|
});
|
|
4863
4863
|
|
|
4864
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4864
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/cursor.js
|
|
4865
4865
|
var init_cursor = () => {};
|
|
4866
4866
|
|
|
4867
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4867
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/event-severity.js
|
|
4868
4868
|
var init_event_severity = () => {};
|
|
4869
4869
|
|
|
4870
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4870
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/output.js
|
|
4871
4871
|
function processStream(name) {
|
|
4872
4872
|
const proc = globalThis.process;
|
|
4873
4873
|
const stream = proc?.[name];
|
|
@@ -4885,7 +4885,7 @@ function echoError(message, target = defaultStderrTarget ?? processStream("stder
|
|
|
4885
4885
|
}
|
|
4886
4886
|
var defaultStderrTarget;
|
|
4887
4887
|
|
|
4888
|
-
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.
|
|
4888
|
+
// ../../node_modules/.bun/@gobing-ai+ts-utils@0.8.4/node_modules/@gobing-ai/ts-utils/dist/index.js
|
|
4889
4889
|
var init_dist = __esm(() => {
|
|
4890
4890
|
init_api_response();
|
|
4891
4891
|
init_cursor();
|
|
@@ -11883,7 +11883,7 @@ var init_dist2 = __esm(() => {
|
|
|
11883
11883
|
$visitAsync = visit.visitAsync;
|
|
11884
11884
|
});
|
|
11885
11885
|
|
|
11886
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11886
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/config.js
|
|
11887
11887
|
var configSchema;
|
|
11888
11888
|
var init_config = __esm(() => {
|
|
11889
11889
|
init_dist2();
|
|
@@ -11907,7 +11907,7 @@ var init_config = __esm(() => {
|
|
|
11907
11907
|
});
|
|
11908
11908
|
});
|
|
11909
11909
|
|
|
11910
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
11910
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/file-system-node.js
|
|
11911
11911
|
import { appendFileSync, cpSync, createReadStream, createWriteStream, existsSync, mkdirSync, readdirSync, readFileSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
11912
11912
|
import { dirname, resolve as resolvePath } from "path";
|
|
11913
11913
|
function createNodeFileSystem(root, paths) {
|
|
@@ -12269,7 +12269,7 @@ var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx)
|
|
|
12269
12269
|
});
|
|
12270
12270
|
}
|
|
12271
12271
|
});
|
|
12272
|
-
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.
|
|
12272
|
+
// ../../node_modules/.bun/@gobing-ai+ts-runtime@0.8.4+b85a65bb895e3074/node_modules/@gobing-ai/ts-runtime/dist/index.js
|
|
12273
12273
|
init_file_system_node();
|
|
12274
12274
|
init_config();
|
|
12275
12275
|
|
|
@@ -14404,7 +14404,7 @@ var ConfigError = class extends Error {
|
|
|
14404
14404
|
}
|
|
14405
14405
|
};
|
|
14406
14406
|
|
|
14407
|
-
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.
|
|
14407
|
+
// ../../node_modules/.bun/@gobing-ai+ts-infra@0.8.4+5042690a1c1c0ae5/node_modules/@gobing-ai/ts-infra/dist/logger.js
|
|
14408
14408
|
var ROOT_CATEGORY = "app";
|
|
14409
14409
|
function toLogTapeLevel(level) {
|
|
14410
14410
|
return level === "warn" ? "warning" : level;
|
package/plugins/kk/README.md
CHANGED
|
@@ -97,6 +97,27 @@ whole day, and the daily run closes as no-content. A render without the key is s
|
|
|
97
97
|
value is simply empty, which spur reads as "not set". The rendered artifact carries a live
|
|
98
98
|
credential: keep it in `~/Library/LaunchAgents` (or your crontab), never in a committed file.
|
|
99
99
|
|
|
100
|
+
The `kk-serve` plist additionally binds **`NODE_PATH` to the module root that carries
|
|
101
|
+
`@gobing-ai/spur`** (resolved from the `spur` on `PATH`, else the bun-global default). The project's
|
|
102
|
+
decision catalogs (`decisions.paths` → `plugins/kk/decisions`) declare
|
|
103
|
+
`$schema: "@gobing-ai/spur/schemas/decision-catalog.schema.json"`, and Bun's resolver does not search
|
|
104
|
+
the global install — so every job the scheduler launches, and every nested `spur`/`kk` it launches,
|
|
105
|
+
loses the whole decision layer without it. Not hypothetical: on 2026-11-19 a `bun install` run in
|
|
106
|
+
`$HOME` pruned the checkout's `/Users/robin/node_modules/@gobing-ai/spur` shadow, after which
|
|
107
|
+
`kk store label` died at catalog load (empty label artifact → `kk-collect` closed `failed-check`)
|
|
108
|
+
and spur's `decide` action silently loaded **zero** project catalogs, so `kk-safety-verdict` produced
|
|
109
|
+
no row and the safety gate refused the day's drafts. Leave the key in place when you hand-edit the
|
|
110
|
+
plist; re-rendering restores it.
|
|
111
|
+
|
|
112
|
+
Neither owner covers a bare interactive `kk store label` / `spur decision` in your own shell, which is
|
|
113
|
+
why this checkout keeps a `node_modules/@gobing-ai/spur` symlink to the installed package — the only
|
|
114
|
+
resolver that exists before any of those wrappers run. Nothing declares the package as a dependency
|
|
115
|
+
(it has to stay a latest global tool), so `bun install` is free to prune the link; `bun run prepare`
|
|
116
|
+
re-creates it from the `spur` on `PATH` on every install (`scripts/link-spur.ts`). Check with
|
|
117
|
+
`spur --no-logo decision list | grep -c plugins/kk/decisions` (0 = the decision layer is invisible) and
|
|
118
|
+
repair with `bun scripts/link-spur.ts`. A global `NODE_PATH` export in your shell rc is not the fix:
|
|
119
|
+
it leaks one checkout's global tree into every project on the machine.
|
|
120
|
+
|
|
100
121
|
`kk-collect` collects every ingestion source into the kk store and never publishes. Two ticks that
|
|
101
122
|
overlap are **one** collection: the first state takes `kk store lock acquire --name collect` and a
|
|
102
123
|
tick that finds the claim inside its TTL exits 0 (`skipped`) without collecting. Before relying on
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
# `kk-daily-safety` used to read the judge's self-reported `confidence` field in a shell `jq`
|
|
4
4
|
# filter on the accept edge. The verdict is now a catalog decision over the SAME artifacts as
|
|
5
5
|
# evidence, so the outcome is calibrated, ledgered (`decision_logs`) and carries a declared
|
|
6
|
-
# fallback. The fallback is `escalate`, never `pass`:
|
|
7
|
-
#
|
|
6
|
+
# fallback. The fallback is `escalate`, never `pass`: the decision can always refuse to publish.
|
|
7
|
+
# A JUDGED escalate (the model read the evidence and could not settle it) needs a human, and the
|
|
8
|
+
# accept guard refuses it for an unattended run; an ABSTAINED row (`source: "default"` — the maker
|
|
9
|
+
# refused or was unavailable, so nothing was judged) is named by `kk stage daily-safety-verdict` and
|
|
10
|
+
# leaves the gate's own verdict in charge, because an abstention is not a verdict.
|
|
8
11
|
#
|
|
9
12
|
# Resolution: registered through `decisions.paths` in `.spur/config.yaml`
|
|
10
13
|
# (project-relative `plugins/kk/decisions`). No maker is named here on purpose — the project
|
package/plugins/kk/plugin.json
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
"name": "daily-ai-voice",
|
|
4
4
|
"targets": [
|
|
5
5
|
{
|
|
6
|
-
"plugin": "
|
|
7
|
-
"operation": "
|
|
8
|
-
"variant": "
|
|
6
|
+
"plugin": "podcast-pub",
|
|
7
|
+
"operation": "episode",
|
|
8
|
+
"variant": "episode",
|
|
9
9
|
"tier": 0,
|
|
10
10
|
"window": "after-generate",
|
|
11
11
|
"mode": "live",
|
|
12
12
|
"required": true
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"plugin": "
|
|
16
|
-
"operation": "
|
|
17
|
-
"variant": "
|
|
15
|
+
"plugin": "surfdash-pub",
|
|
16
|
+
"operation": "post",
|
|
17
|
+
"variant": "article",
|
|
18
18
|
"tier": 0,
|
|
19
19
|
"window": "after-generate",
|
|
20
20
|
"mode": "live",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"variant": "article",
|
|
73
73
|
"tier": 2,
|
|
74
74
|
"window": "cn-peak",
|
|
75
|
-
"mode": "
|
|
75
|
+
"mode": "off"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"plugin": "xhs-pub",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"operation": "post",
|
|
104
104
|
"variant": "social:weibo",
|
|
105
105
|
"tier": 3,
|
|
106
|
-
"window": "
|
|
106
|
+
"window": "cn-peak",
|
|
107
107
|
"mode": "live"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -152,29 +152,29 @@
|
|
|
152
152
|
"plugin": "x-pub",
|
|
153
153
|
"operation": "post",
|
|
154
154
|
"mode": "live",
|
|
155
|
-
"reason": "operator instruction 2026-11-
|
|
156
|
-
"until": "
|
|
155
|
+
"reason": "operator instruction 2026-11-21: publish illustrated promo post linking unified {{podcast_url}} (temporary until RSS sync lag resolved); no draftable rail exists, so this is a recorded exception to ADR-022",
|
|
156
|
+
"until": "until Xiaoyuzhou/Apple Podcasts RSS sync lag resolved"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
"plugin": "weibo-pub",
|
|
160
160
|
"operation": "post",
|
|
161
161
|
"mode": "live",
|
|
162
|
-
"reason": "operator instruction 2026-11-
|
|
163
|
-
"until": "
|
|
162
|
+
"reason": "operator instruction 2026-11-21: replace long article with illustrated promo post linking unified {{podcast_url}} in cn-peak (temporary until RSS sync lag resolved); no draftable rail exists, so this is a recorded exception to ADR-022",
|
|
163
|
+
"until": "until Xiaoyuzhou/Apple Podcasts RSS sync lag resolved"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"plugin": "threads-pub",
|
|
167
167
|
"operation": "post",
|
|
168
168
|
"mode": "live",
|
|
169
|
-
"reason": "operator instruction 2026-11-
|
|
170
|
-
"until": "
|
|
169
|
+
"reason": "operator instruction 2026-11-21: publish illustrated promo post linking unified {{podcast_url}} (temporary until RSS sync lag resolved); no draftable rail exists, so this is a recorded exception to ADR-022",
|
|
170
|
+
"until": "until Xiaoyuzhou/Apple Podcasts RSS sync lag resolved"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"plugin": "linkedin-pub",
|
|
174
174
|
"operation": "post",
|
|
175
175
|
"mode": "live",
|
|
176
|
-
"reason": "operator instruction 2026-11-
|
|
177
|
-
"until": "
|
|
176
|
+
"reason": "operator instruction 2026-11-21: publish illustrated promo post linking unified {{podcast_url}} (temporary until RSS sync lag resolved); no draftable rail exists, so this is a recorded exception to ADR-022",
|
|
177
|
+
"until": "until Xiaoyuzhou/Apple Podcasts RSS sync lag resolved"
|
|
178
178
|
}
|
|
179
179
|
]
|
|
180
180
|
}
|
|
@@ -46,9 +46,18 @@
|
|
|
46
46
|
</array>
|
|
47
47
|
<key>WorkingDirectory</key>
|
|
48
48
|
<string>{{repo}}</string>
|
|
49
|
-
<!-- The environment block is load-bearing
|
|
49
|
+
<!-- The environment block is load-bearing three times over:
|
|
50
50
|
- PATH — launchd starts with /usr/bin:/bin:/usr/sbin:/sbin and the scheduler's job worker
|
|
51
51
|
runs its commands through /bin/sh -c, so bare `spur`, `kk`, `jq` and `bun` must resolve.
|
|
52
|
+
- NODE_PATH — the module root carrying `@gobing-ai/spur`. Project decision catalogs
|
|
53
|
+
(`decisions.paths` → `plugins/kk/decisions`) declare `$schema:
|
|
54
|
+
"@gobing-ai/spur/schemas/decision-catalog.schema.json"`, and Bun's resolver does not
|
|
55
|
+
search the global install, so WITHOUT this every registered catalog fails to load: kk
|
|
56
|
+
answers `Decision catalog … Cannot find package '@gobing-ai/spur'` (2026-11-19: a whole
|
|
57
|
+
`kk-collect` tick lost its labels and the next 04:30 run lost its `kk-safety-verdict`
|
|
58
|
+
row, which the gate read as a refusal) and spur's `decide` action silently loads ZERO
|
|
59
|
+
project catalogs. `kk schedule render` binds the path from the `spur` on PATH that the
|
|
60
|
+
`Program` below names; render from a shell that has it.
|
|
52
61
|
- TYPESAFE_API_KEY — spur keeps the decision-maker credential env-only, and a server
|
|
53
62
|
started from launchd inherits nothing from the operator's shell; without the key every
|
|
54
63
|
`typesafe`-routed decision (kk-item-china-politics, -sensitivity, -audience) falls back
|
|
@@ -62,6 +71,8 @@
|
|
|
62
71
|
<dict>
|
|
63
72
|
<key>PATH</key>
|
|
64
73
|
<string>{{home}}/.bun/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
|
74
|
+
<key>NODE_PATH</key>
|
|
75
|
+
<string>{{spur_modules}}</string>
|
|
65
76
|
<key>TYPESAFE_API_KEY</key>
|
|
66
77
|
<string>{{typesafe_api_key}}</string>
|
|
67
78
|
</dict>
|