@gobing-ai/knowledge-kit 0.1.14 → 0.1.16

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 (120) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/index.js +2399 -177
  3. package/package.json +1 -1
  4. package/plugins/generations/content-gen/dist/index.js +60 -54
  5. package/plugins/generations/content-gen/src/storm.ts +94 -61
  6. package/plugins/generations/core-facts-gen/dist/index.js +3 -3
  7. package/plugins/generations/daily-article-gen/dist/index.js +3 -3
  8. package/plugins/generations/dailynews-gen/dist/index.js +73 -10
  9. package/plugins/generations/dailynews-gen/src/index.ts +23 -1
  10. package/plugins/generations/dailynews-gen/src/script-plan.ts +103 -5
  11. package/plugins/generations/episode-plan-gen/dist/index.js +3 -3
  12. package/plugins/generations/gemini-tts/dist/index.js +3 -3
  13. package/plugins/generations/image-gen/README.md +31 -10
  14. package/plugins/generations/image-gen/assets/sample/cover__quasi-news-podcast.jpg +0 -0
  15. package/plugins/generations/image-gen/assets/sample/daily-news-cover__quasi-news-podcast.jpg +0 -0
  16. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__clean-webapp-ui.jpg +0 -0
  17. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__cute.jpg +0 -0
  18. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__daily-news.jpg +0 -0
  19. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__editorial.jpg +0 -0
  20. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__fresh.jpg +0 -0
  21. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__minimalist.jpg +0 -0
  22. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__photorealistic.jpg +0 -0
  23. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__quasi-news-podcast.jpg +0 -0
  24. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__sketch.jpg +0 -0
  25. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__technical-diagram.jpg +0 -0
  26. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__vibrant.jpg +0 -0
  27. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__warm.jpg +0 -0
  28. package/plugins/generations/image-gen/assets/sample/daily-news-podcast-cover__xhs-knowledge.jpg +0 -0
  29. package/plugins/generations/image-gen/assets/sample/free__quasi-news-podcast.jpg +0 -0
  30. package/plugins/generations/image-gen/assets/sample/illustration__quasi-news-podcast.jpg +0 -0
  31. package/plugins/generations/image-gen/assets/sample/xhs-card__quasi-news-podcast.jpg +0 -0
  32. package/plugins/generations/image-gen/dist/index.js +3 -3
  33. package/plugins/generations/image-gen/presets/formats/daily-news-podcast-cover.yaml +18 -0
  34. package/plugins/generations/image-gen/presets/styles/quasi-news-podcast.yaml +9 -0
  35. package/plugins/generations/news-report-gen/dist/index.js +3 -3
  36. package/plugins/generations/voice-gen/dist/index.js +3 -3
  37. package/plugins/generations/voxcpm-tts/dist/index.js +3 -3
  38. package/plugins/ingestions/aihot-ingest/dist/index.js +3 -3
  39. package/plugins/ingestions/horizon-ingest/dist/index.js +3 -3
  40. package/plugins/ingestions/last30days-ingest/dist/index.js +3 -3
  41. package/plugins/ingestions/web-search/dist/index.js +3 -3
  42. package/plugins/kk/plugin.json +1 -1
  43. package/plugins/kk/publish-presets/daily-ai-voice-migration.json +12 -3
  44. package/plugins/kk/publish-presets/daily-ai-voice.json +11 -3
  45. package/plugins/kk/scripts/cover-compositor.ts +152 -0
  46. package/plugins/kk/scripts/daily-cover-mock.ts +164 -0
  47. package/plugins/kk/scripts/daily-scheduled-run.ts +192 -3
  48. package/plugins/kk/scripts/daily-stages.ts +599 -27
  49. package/plugins/kk/scripts/daily-triage-core.ts +451 -0
  50. package/plugins/kk/scripts/daily-triage.ts +74 -0
  51. package/plugins/kk/scripts/kk-workflow-stages.ts +51 -6
  52. package/plugins/kk/skills/content-judge/SKILL.md +5 -4
  53. package/plugins/kk/skills/content-judge/references/rubrics.md +14 -0
  54. package/plugins/kk/skills/content-safety/references/platforms/wechatmp.md +16 -10
  55. package/plugins/kk/skills/news-editorial/SKILL.md +122 -0
  56. package/plugins/kk/skills/news-editorial/references/selection.md +47 -0
  57. package/plugins/kk/skills/news-editorial/references/style-contract.zh.md +100 -0
  58. package/plugins/kk/skills/publish/SKILL.md +4 -4
  59. package/plugins/kk/skills/web-automation/SKILL.md +229 -77
  60. package/plugins/kk/skills/web-automation/references/browser-launch.md +127 -36
  61. package/plugins/kk/skills/wiki-authoring/SKILL.md +53 -0
  62. package/plugins/kk/skills/wiki-authoring/references/page-shapes.md +44 -0
  63. package/plugins/kk/workflows/kk-daily-ai-voice2.yaml +4 -6
  64. package/plugins/kk/workflows/kk-daily-ai-voice3.yaml +185 -224
  65. package/plugins/kk/workflows/kk-daily-publish3.yaml +16 -8
  66. package/plugins/kk/workflows/kk-daily-safety.yaml +32 -7
  67. package/plugins/publishings/bilibili-pub/dist/index.js +6 -4
  68. package/plugins/publishings/bilibili-pub/dist/profile-check.js +3 -1
  69. package/plugins/publishings/cnblogs-pub/dist/index.js +6 -4
  70. package/plugins/publishings/cnblogs-pub/dist/profile-check.js +3 -1
  71. package/plugins/publishings/csdn-pub/dist/index.js +6 -4
  72. package/plugins/publishings/csdn-pub/dist/profile-check.js +6 -4
  73. package/plugins/publishings/emdash-pub/dist/index.js +3 -3
  74. package/plugins/publishings/infoq-pub/dist/index.js +6 -4
  75. package/plugins/publishings/infoq-pub/dist/profile-check.js +6 -4
  76. package/plugins/publishings/jike-pub/dist/index.js +6 -4
  77. package/plugins/publishings/jike-pub/dist/profile-check.js +6 -4
  78. package/plugins/publishings/juejin-pub/dist/index.js +6 -4
  79. package/plugins/publishings/juejin-pub/dist/profile-check.js +6 -4
  80. package/plugins/publishings/linkedin-pub/dist/index.js +6 -4
  81. package/plugins/publishings/linkedin-pub/dist/profile-check.js +6 -4
  82. package/plugins/publishings/medium-pub/dist/index.js +3 -3
  83. package/plugins/publishings/podcast-pub/dist/index.js +148 -5
  84. package/plugins/publishings/podcast-pub/src/index.ts +71 -2
  85. package/plugins/publishings/podcast-pub/src/map.ts +3 -0
  86. package/plugins/publishings/podcast-pub/src/transcript.ts +195 -0
  87. package/plugins/publishings/qiita-pub/dist/index.js +3 -3
  88. package/plugins/publishings/shipinhao-pub/dist/index.js +227 -53
  89. package/plugins/publishings/shipinhao-pub/dist/profile-check.js +51 -2
  90. package/plugins/publishings/shipinhao-pub/plugin.json +2 -2
  91. package/plugins/publishings/shipinhao-pub/src/flow.ts +335 -79
  92. package/plugins/publishings/shipinhao-pub/src/index.ts +16 -8
  93. package/plugins/publishings/shipinhao-pub/src/profile-check.ts +1 -1
  94. package/plugins/publishings/shipinhao-pub/src/selectors.ts +103 -5
  95. package/plugins/publishings/sspai-pub/dist/index.js +6 -4
  96. package/plugins/publishings/sspai-pub/dist/profile-check.js +3 -1
  97. package/plugins/publishings/substack-pub/dist/index.js +6 -4
  98. package/plugins/publishings/substack-pub/dist/profile-check.js +6 -4
  99. package/plugins/publishings/surfdash-pub/dist/index.js +237 -14
  100. package/plugins/publishings/surfdash-pub/src/index.ts +127 -6
  101. package/plugins/publishings/surfdash-pub/src/topic-claims.ts +189 -0
  102. package/plugins/publishings/threads-pub/dist/index.js +3 -3
  103. package/plugins/publishings/wechatmp-pub/dist/index.js +62 -40
  104. package/plugins/publishings/wechatmp-pub/dist/profile-check.js +6 -4
  105. package/plugins/publishings/wechatmp-pub/src/enrich.ts +10 -3
  106. package/plugins/publishings/wechatmp-pub/src/flow.ts +73 -37
  107. package/plugins/publishings/wechatmp-pub/src/page.ts +14 -0
  108. package/plugins/publishings/weibo-pub/dist/index.js +6 -4
  109. package/plugins/publishings/weibo-pub/dist/profile-check.js +6 -4
  110. package/plugins/publishings/x-pub/dist/index.js +6 -4
  111. package/plugins/publishings/x-pub/dist/profile-check.js +6 -4
  112. package/plugins/publishings/xhs-pub/dist/index.js +562 -34
  113. package/plugins/publishings/xhs-pub/dist/profile-check.js +25 -4
  114. package/plugins/publishings/xhs-pub/src/errors.ts +45 -0
  115. package/plugins/publishings/xhs-pub/src/flow.ts +773 -45
  116. package/plugins/publishings/xhs-pub/src/page.ts +33 -0
  117. package/plugins/publishings/xiaoyuzhou-pub/dist/index.js +6 -4
  118. package/plugins/publishings/xiaoyuzhou-pub/dist/profile-check.js +3 -1
  119. package/plugins/publishings/zenn-pub/dist/index.js +3 -3
  120. package/plugins/kk/scripts/daily-voice-style.zh.md +0 -70
@@ -59,7 +59,29 @@ async function resolveScriptPlan(fs: FileSystem, docs: Doc[]): Promise<ScriptPla
59
59
  } catch {
60
60
  return fallback([{ itemId: 'episode', rule: 'schema' }]);
61
61
  }
62
- const validated = validateScriptPlan(planJson, docs, style);
62
+ let preExcludedIds: Set<string> | undefined;
63
+ const curateExcludedPath = process.env.DAILYNEWS_CURATE_EXCLUDED;
64
+ if (curateExcludedPath && (await fs.exists(curateExcludedPath))) {
65
+ try {
66
+ const rawExcluded = JSON.parse(await fs.readFile(curateExcludedPath));
67
+ if (Array.isArray(rawExcluded)) {
68
+ preExcludedIds = new Set(
69
+ rawExcluded
70
+ .map((entry: unknown) =>
71
+ entry !== null &&
72
+ typeof entry === 'object' &&
73
+ typeof (entry as { id?: unknown }).id === 'string'
74
+ ? (entry as { id: string }).id
75
+ : '',
76
+ )
77
+ .filter(Boolean),
78
+ );
79
+ }
80
+ } catch {
81
+ // Ignore malformed sidecar; validateScriptPlan will validate against docs.
82
+ }
83
+ }
84
+ const validated = validateScriptPlan(planJson, docs, style, preExcludedIds);
63
85
  if (!validated.ok) {
64
86
  return fallback(validated.errors);
65
87
  }
@@ -7,25 +7,55 @@ import { z } from 'zod';
7
7
  * (`docs/design/daily-voice-script-plan.md` §3). `version` is pinned so a future shape change
8
8
  * fails loud as `schema` instead of mis-substituting.
9
9
  */
10
+ export interface ScriptPlanItemCard {
11
+ copy: string;
12
+ points: string[];
13
+ subject: string;
14
+ }
15
+
16
+ export interface ScriptPlanCards {
17
+ title: string;
18
+ body: string;
19
+ }
20
+
21
+ export interface ScriptPlanSocial {
22
+ short: string;
23
+ long: string;
24
+ }
25
+
10
26
  export interface ScriptPlan {
11
27
  version: 1;
12
28
  intro: string;
13
29
  outro: string;
14
- items: { id: string; lead: string; insight: string }[];
30
+ items: { id: string; lead: string; insight: string; card?: ScriptPlanItemCard }[];
15
31
  /**
16
32
  * Docs deliberately not spoken (topic-boundary exclusions, task 0189). An id here is
17
33
  * exempt from `missing-item`; listing an id in both `items` and `excluded` is a
18
34
  * `conflict-id` error, and an unknown id is `unknown-id` like any plan item.
19
35
  */
20
36
  excluded?: { id: string; reason: string }[];
37
+ /** Optional master-artifact fields rendered deterministically by `daily-editorial-render` (0345 R10). */
38
+ cover?: string;
39
+ cards?: ScriptPlanCards;
40
+ social?: ScriptPlanSocial;
21
41
  }
22
42
 
23
43
  /**
24
- * Machine-readable part of the style sidecar `plugins/kk/scripts/daily-voice-style.zh.md` — the
44
+ * Machine-readable part of the style contract `plugins/kk/skills/news-editorial/references/style-contract.zh.md` (ADR-045) — the
25
45
  * same fenced `json` block the script-write prompt reads, so prompt and validator share one source.
26
46
  */
27
47
  export interface StyleContract {
28
- caps: { intro: number; outro: number; lead: number; insight: number };
48
+ caps: {
49
+ intro: number;
50
+ outro: number;
51
+ lead: number;
52
+ insight: number;
53
+ cover?: number;
54
+ cardCopy?: number;
55
+ cardTitle?: number;
56
+ socialShort?: number;
57
+ socialLong?: number;
58
+ };
29
59
  banned: string[];
30
60
  }
31
61
 
@@ -37,6 +67,12 @@ export interface ScriptPlanError {
37
67
 
38
68
  export type ScriptPlanValidation = { ok: true; plan: ScriptPlan } | { ok: false; errors: ScriptPlanError[] };
39
69
 
70
+ const ScriptPlanItemCardSchema = z.object({
71
+ copy: z.string().min(1),
72
+ points: z.array(z.string().min(1)).min(2).max(4),
73
+ subject: z.string().min(1),
74
+ });
75
+
40
76
  /**
41
77
  * Empty spoken text is a shape error (`schema`), not a cap/banned case: an empty intro or insight
42
78
  * would normalize to a bare 「。」 segment, which no valid episode contains.
@@ -45,6 +81,7 @@ const ScriptPlanItemSchema = z.object({
45
81
  id: z.string().min(1),
46
82
  lead: z.string().min(1),
47
83
  insight: z.string().min(1),
84
+ card: ScriptPlanItemCardSchema.optional(),
48
85
  });
49
86
 
50
87
  const ScriptPlanExclusionSchema = z.object({
@@ -52,12 +89,25 @@ const ScriptPlanExclusionSchema = z.object({
52
89
  reason: z.string().min(1),
53
90
  });
54
91
 
92
+ const ScriptPlanCardsSchema = z.object({
93
+ title: z.string().min(1),
94
+ body: z.string().min(1),
95
+ });
96
+
97
+ const ScriptPlanSocialSchema = z.object({
98
+ short: z.string().min(1),
99
+ long: z.string().min(1),
100
+ });
101
+
55
102
  const ScriptPlanSchema = z.object({
56
103
  version: z.literal(1),
57
104
  intro: z.string().min(1),
58
105
  outro: z.string().min(1),
59
106
  items: z.array(ScriptPlanItemSchema),
60
107
  excluded: z.array(ScriptPlanExclusionSchema).optional(),
108
+ cover: z.string().min(1).optional(),
109
+ cards: ScriptPlanCardsSchema.optional(),
110
+ social: ScriptPlanSocialSchema.optional(),
61
111
  });
62
112
 
63
113
  const StyleContractSchema = z.object({
@@ -66,6 +116,11 @@ const StyleContractSchema = z.object({
66
116
  outro: z.number().int().positive(),
67
117
  lead: z.number().int().positive(),
68
118
  insight: z.number().int().positive(),
119
+ cover: z.number().int().positive().optional(),
120
+ cardCopy: z.number().int().positive().optional(),
121
+ cardTitle: z.number().int().positive().optional(),
122
+ socialShort: z.number().int().positive().optional(),
123
+ socialLong: z.number().int().positive().optional(),
69
124
  }),
70
125
  banned: z.array(z.string().min(1)),
71
126
  });
@@ -131,7 +186,12 @@ function redundantInsightClauses(insight: string, reference: string): number {
131
186
  }
132
187
  return count;
133
188
  }
134
- export function validateScriptPlan(plan: unknown, docs: Doc[], style: StyleContract): ScriptPlanValidation {
189
+ export function validateScriptPlan(
190
+ plan: unknown,
191
+ docs: Doc[],
192
+ style: StyleContract,
193
+ preExcludedIds?: ReadonlySet<string>,
194
+ ): ScriptPlanValidation {
135
195
  const parsed = ScriptPlanSchema.safeParse(plan);
136
196
  if (!parsed.success) {
137
197
  return { ok: false, errors: [{ itemId: 'episode', rule: 'schema' }] };
@@ -146,7 +206,9 @@ export function validateScriptPlan(plan: unknown, docs: Doc[], style: StyleContr
146
206
  const plannedIds = new Set(valid.items.map((item) => item.id));
147
207
  const excludedIds = new Set((valid.excluded ?? []).map((ex) => ex.id));
148
208
  for (const ex of valid.excluded ?? []) {
149
- if (!docIds.has(ex.id)) errors.push({ itemId: ex.id, rule: 'unknown-id' });
209
+ if (!docIds.has(ex.id) && !preExcludedIds?.has(ex.id)) {
210
+ errors.push({ itemId: ex.id, rule: 'unknown-id' });
211
+ }
150
212
  if (plannedIds.has(ex.id)) errors.push({ itemId: ex.id, rule: 'conflict-id' });
151
213
  }
152
214
  for (const doc of docs) {
@@ -155,9 +217,26 @@ export function validateScriptPlan(plan: unknown, docs: Doc[], style: StyleContr
155
217
 
156
218
  if (valid.intro.length > style.caps.intro) errors.push({ itemId: 'episode', rule: 'cap:intro' });
157
219
  if (valid.outro.length > style.caps.outro) errors.push({ itemId: 'episode', rule: 'cap:outro' });
220
+ if (valid.cover !== undefined && valid.cover.length > (style.caps.cover ?? 240)) {
221
+ errors.push({ itemId: 'episode', rule: 'cap:cover' });
222
+ }
223
+ if (valid.cards !== undefined && valid.cards.title.length > (style.caps.cardTitle ?? 20)) {
224
+ errors.push({ itemId: 'episode', rule: 'cap:cardTitle' });
225
+ }
226
+ if (valid.social !== undefined) {
227
+ if (valid.social.short.length > (style.caps.socialShort ?? 140)) {
228
+ errors.push({ itemId: 'episode', rule: 'cap:socialShort' });
229
+ }
230
+ if (valid.social.long.length > (style.caps.socialLong ?? 500)) {
231
+ errors.push({ itemId: 'episode', rule: 'cap:socialLong' });
232
+ }
233
+ }
158
234
  for (const item of valid.items) {
159
235
  if (item.lead.length > style.caps.lead) errors.push({ itemId: item.id, rule: 'cap:lead' });
160
236
  if (item.insight.length > style.caps.insight) errors.push({ itemId: item.id, rule: 'cap:insight' });
237
+ if (item.card !== undefined && item.card.copy.length > (style.caps.cardCopy ?? 12)) {
238
+ errors.push({ itemId: item.id, rule: 'cap:cardCopy' });
239
+ }
161
240
  const doc = docs.find((entry) => entry.id === item.id);
162
241
  // unknown-id is already reported above; skip the redundancy check rather than double-report.
163
242
  if (
@@ -171,9 +250,28 @@ export function validateScriptPlan(plan: unknown, docs: Doc[], style: StyleContr
171
250
  const fields: { itemId: string; text: string }[] = [
172
251
  { itemId: 'episode', text: valid.intro },
173
252
  { itemId: 'episode', text: valid.outro },
253
+ ...(valid.cover !== undefined ? [{ itemId: 'episode', text: valid.cover }] : []),
254
+ ...(valid.cards !== undefined
255
+ ? [
256
+ { itemId: 'episode', text: valid.cards.title },
257
+ { itemId: 'episode', text: valid.cards.body },
258
+ ]
259
+ : []),
260
+ ...(valid.social !== undefined
261
+ ? [
262
+ { itemId: 'episode', text: valid.social.short },
263
+ { itemId: 'episode', text: valid.social.long },
264
+ ]
265
+ : []),
174
266
  ...valid.items.flatMap((item) => [
175
267
  { itemId: item.id, text: item.lead },
176
268
  { itemId: item.id, text: item.insight },
269
+ ...(item.card !== undefined
270
+ ? [
271
+ { itemId: item.id, text: item.card.copy },
272
+ ...item.card.points.map((point) => ({ itemId: item.id, text: point })),
273
+ ]
274
+ : []),
177
275
  ]),
178
276
  ];
179
277
  for (const field of fields) {
@@ -12057,7 +12057,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12057
12057
  shortVideo: Object.freeze({
12058
12058
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12059
12059
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12060
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12060
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12061
12061
  })
12062
12062
  })
12063
12063
  });
@@ -12225,11 +12225,11 @@ var PluginManifestSchemaBase = looseObject({
12225
12225
  });
12226
12226
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12227
12227
  if (manifest.browserSession !== undefined) {
12228
- if (manifest.kind !== "publish") {
12228
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12229
12229
  ctx.addIssue({
12230
12230
  code: "custom",
12231
12231
  path: ["browserSession"],
12232
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12232
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12233
12233
  });
12234
12234
  }
12235
12235
  if (manifest.check === undefined) {
@@ -12060,7 +12060,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12060
12060
  shortVideo: Object.freeze({
12061
12061
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12062
12062
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12063
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12063
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12064
12064
  })
12065
12065
  })
12066
12066
  });
@@ -12228,11 +12228,11 @@ var PluginManifestSchemaBase = looseObject({
12228
12228
  });
12229
12229
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12230
12230
  if (manifest.browserSession !== undefined) {
12231
- if (manifest.kind !== "publish") {
12231
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12232
12232
  ctx.addIssue({
12233
12233
  code: "custom",
12234
12234
  path: ["browserSession"],
12235
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12235
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12236
12236
  });
12237
12237
  }
12238
12238
  if (manifest.check === undefined) {
@@ -19,6 +19,7 @@ job — subject “a request flowing through an API gateway to three microservic
19
19
  | --- | --- | --- | --- | --- | --- |
20
20
  | [`cover`](#format-cover) | cover | 21:9 | 1344×576 | vibrant | Article cover image template (21:9 ultrawide cinematic aspect ratio) |
21
21
  | [`daily-news-cover`](#format-daily-news-cover) | cover | 21:9 | 1344×576 | daily-news | Daily AI tech-sharing episode cover — fixed composition and palette; subject is the only per-run input |
22
+ | [`daily-news-podcast-cover`](#format-daily-news-podcast-cover) | cover | 21:9 | 1344×576 | quasi-news-podcast | Daily AI quasi-news podcast episode cover — fixed ultrawide composition with lower-third negative space for headline text |
22
23
  | [`free`](#format-free) | free | 1:1 | 1024×1024 | vibrant | General-purpose image generation template with rich art direction defaults |
23
24
  | [`illustration`](#format-illustration) | illustration | 4:3 | 1152×864 | technical-diagram | Article illustration template for inline images (4:3 aspect ratio) |
24
25
  | [`xhs-card`](#format-xhs-card) | free | 3:4 | 1080×1440 | xhs-knowledge | Xiaohongshu (XHS) knowledge card — 3:4 portrait card. Chinese headline and bullets are typeset from Noto Sans SC via headless Chromium; the provider prompt is the illustration only and must not ask for writing. Adapted from baoyu-xhs-images (MIT © Jim Liu); see plugins/kk/skills/xhs-images/references/card-layouts.md. |
@@ -34,6 +35,7 @@ job — subject “a request flowing through an API gateway to three microservic
34
35
  | `fresh` | Clean, natural aesthetic with bright whites and green-toned accents. Evokes clarity, health, and new beginnings. Light and airy with generous whitespace. | |
35
36
  | `minimalist` | Simple, clean aesthetic with plenty of whitespace. Focus on essential elements with subtle colors and elegant composition. Less is more — every element serves a purpose. | |
36
37
  | `photorealistic` | Highly detailed, realistic images with professional photography quality. Natural lighting, realistic textures, and cinematic depth create convincing photographic results. | |
38
+ | `quasi-news-podcast` | House style for quasi-news podcast cover — editorial documentary photography, dramatic contrast, deep navy/slate shadows | |
37
39
  | `sketch` | Hand-drawn, artistic feel with organic lines and pencil drawing aesthetic. Warm and approachable with natural imperfections that convey authenticity and human touch. | |
38
40
  | `technical-diagram` | Clean, technical illustrations with precise lines and professional diagram style. Minimal color palette focused on clarity and technical accuracy. Communicates complexity with visual simplicity. | |
39
41
  | `vibrant` | Bold colors and high contrast for eye-catching visuals. Energetic and dynamic composition designed to grab attention. Maximum visual impact with saturated hues and dramatic lighting. | |
@@ -52,8 +54,9 @@ cover job · 21:9 · default style `vibrant`
52
54
  | --- | --- | --- |
53
55
  | <img src="assets/sample/cover__clean-webapp-ui.jpg" alt="cover × clean-webapp-ui" width="260"><br>`clean-webapp-ui` | <img src="assets/sample/cover__cute.jpg" alt="cover × cute" width="260"><br>`cute` | <img src="assets/sample/cover__daily-news.jpg" alt="cover × daily-news" width="260"><br>`daily-news` |
54
56
  | <img src="assets/sample/cover__editorial.jpg" alt="cover × editorial" width="260"><br>`editorial` | <img src="assets/sample/cover__fresh.jpg" alt="cover × fresh" width="260"><br>`fresh` | <img src="assets/sample/cover__minimalist.jpg" alt="cover × minimalist" width="260"><br>`minimalist` |
55
- | <img src="assets/sample/cover__photorealistic.jpg" alt="cover × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/cover__sketch.jpg" alt="cover × sketch" width="260"><br>`sketch` | <img src="assets/sample/cover__technical-diagram.jpg" alt="cover × technical-diagram" width="260"><br>`technical-diagram` |
56
- | <img src="assets/sample/cover__vibrant.jpg" alt="cover × vibrant" width="260"><br>`vibrant` ★ | <img src="assets/sample/cover__warm.jpg" alt="cover × warm" width="260"><br>`warm` | <img src="assets/sample/cover__xhs-knowledge.jpg" alt="cover × xhs-knowledge" width="260"><br>`xhs-knowledge` |
57
+ | <img src="assets/sample/cover__photorealistic.jpg" alt="cover × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/cover__quasi-news-podcast.jpg" alt="cover × quasi-news-podcast" width="260"><br>`quasi-news-podcast` | <img src="assets/sample/cover__sketch.jpg" alt="cover × sketch" width="260"><br>`sketch` |
58
+ | <img src="assets/sample/cover__technical-diagram.jpg" alt="cover × technical-diagram" width="260"><br>`technical-diagram` | <img src="assets/sample/cover__vibrant.jpg" alt="cover × vibrant" width="260"><br>`vibrant` ★ | <img src="assets/sample/cover__warm.jpg" alt="cover × warm" width="260"><br>`warm` |
59
+ | <img src="assets/sample/cover__xhs-knowledge.jpg" alt="cover × xhs-knowledge" width="260"><br>`xhs-knowledge` |
57
60
 
58
61
  <a id="format-daily-news-cover"></a>
59
62
 
@@ -65,8 +68,23 @@ cover job · 21:9 · default style `daily-news`
65
68
  | --- | --- | --- |
66
69
  | <img src="assets/sample/daily-news-cover__clean-webapp-ui.jpg" alt="daily-news-cover × clean-webapp-ui" width="260"><br>`clean-webapp-ui` | <img src="assets/sample/daily-news-cover__cute.jpg" alt="daily-news-cover × cute" width="260"><br>`cute` | <img src="assets/sample/daily-news-cover__daily-news.jpg" alt="daily-news-cover × daily-news" width="260"><br>`daily-news` ★ |
67
70
  | <img src="assets/sample/daily-news-cover__editorial.jpg" alt="daily-news-cover × editorial" width="260"><br>`editorial` | <img src="assets/sample/daily-news-cover__fresh.jpg" alt="daily-news-cover × fresh" width="260"><br>`fresh` | <img src="assets/sample/daily-news-cover__minimalist.jpg" alt="daily-news-cover × minimalist" width="260"><br>`minimalist` |
68
- | <img src="assets/sample/daily-news-cover__photorealistic.jpg" alt="daily-news-cover × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/daily-news-cover__sketch.jpg" alt="daily-news-cover × sketch" width="260"><br>`sketch` | <img src="assets/sample/daily-news-cover__technical-diagram.jpg" alt="daily-news-cover × technical-diagram" width="260"><br>`technical-diagram` |
69
- | <img src="assets/sample/daily-news-cover__vibrant.jpg" alt="daily-news-cover × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/daily-news-cover__warm.jpg" alt="daily-news-cover × warm" width="260"><br>`warm` | <img src="assets/sample/daily-news-cover__xhs-knowledge.jpg" alt="daily-news-cover × xhs-knowledge" width="260"><br>`xhs-knowledge` |
71
+ | <img src="assets/sample/daily-news-cover__photorealistic.jpg" alt="daily-news-cover × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/daily-news-cover__quasi-news-podcast.jpg" alt="daily-news-cover × quasi-news-podcast" width="260"><br>`quasi-news-podcast` | <img src="assets/sample/daily-news-cover__sketch.jpg" alt="daily-news-cover × sketch" width="260"><br>`sketch` |
72
+ | <img src="assets/sample/daily-news-cover__technical-diagram.jpg" alt="daily-news-cover × technical-diagram" width="260"><br>`technical-diagram` | <img src="assets/sample/daily-news-cover__vibrant.jpg" alt="daily-news-cover × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/daily-news-cover__warm.jpg" alt="daily-news-cover × warm" width="260"><br>`warm` |
73
+ | <img src="assets/sample/daily-news-cover__xhs-knowledge.jpg" alt="daily-news-cover × xhs-knowledge" width="260"><br>`xhs-knowledge` |
74
+
75
+ <a id="format-daily-news-podcast-cover"></a>
76
+
77
+ ### daily-news-podcast-cover
78
+
79
+ cover job · 21:9 · default style `quasi-news-podcast`
80
+
81
+ | | | |
82
+ | --- | --- | --- |
83
+ | <img src="assets/sample/daily-news-podcast-cover__clean-webapp-ui.jpg" alt="daily-news-podcast-cover × clean-webapp-ui" width="260"><br>`clean-webapp-ui` | <img src="assets/sample/daily-news-podcast-cover__cute.jpg" alt="daily-news-podcast-cover × cute" width="260"><br>`cute` | <img src="assets/sample/daily-news-podcast-cover__daily-news.jpg" alt="daily-news-podcast-cover × daily-news" width="260"><br>`daily-news` |
84
+ | <img src="assets/sample/daily-news-podcast-cover__editorial.jpg" alt="daily-news-podcast-cover × editorial" width="260"><br>`editorial` | <img src="assets/sample/daily-news-podcast-cover__fresh.jpg" alt="daily-news-podcast-cover × fresh" width="260"><br>`fresh` | <img src="assets/sample/daily-news-podcast-cover__minimalist.jpg" alt="daily-news-podcast-cover × minimalist" width="260"><br>`minimalist` |
85
+ | <img src="assets/sample/daily-news-podcast-cover__photorealistic.jpg" alt="daily-news-podcast-cover × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/daily-news-podcast-cover__quasi-news-podcast.jpg" alt="daily-news-podcast-cover × quasi-news-podcast" width="260"><br>`quasi-news-podcast` ★ | <img src="assets/sample/daily-news-podcast-cover__sketch.jpg" alt="daily-news-podcast-cover × sketch" width="260"><br>`sketch` |
86
+ | <img src="assets/sample/daily-news-podcast-cover__technical-diagram.jpg" alt="daily-news-podcast-cover × technical-diagram" width="260"><br>`technical-diagram` | <img src="assets/sample/daily-news-podcast-cover__vibrant.jpg" alt="daily-news-podcast-cover × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/daily-news-podcast-cover__warm.jpg" alt="daily-news-podcast-cover × warm" width="260"><br>`warm` |
87
+ | <img src="assets/sample/daily-news-podcast-cover__xhs-knowledge.jpg" alt="daily-news-podcast-cover × xhs-knowledge" width="260"><br>`xhs-knowledge` |
70
88
 
71
89
  <a id="format-free"></a>
72
90
 
@@ -78,8 +96,9 @@ free job · 1:1 · default style `vibrant`
78
96
  | --- | --- | --- |
79
97
  | <img src="assets/sample/free__clean-webapp-ui.jpg" alt="free × clean-webapp-ui" width="260"><br>`clean-webapp-ui` | <img src="assets/sample/free__cute.jpg" alt="free × cute" width="260"><br>`cute` | <img src="assets/sample/free__daily-news.jpg" alt="free × daily-news" width="260"><br>`daily-news` |
80
98
  | <img src="assets/sample/free__editorial.jpg" alt="free × editorial" width="260"><br>`editorial` | <img src="assets/sample/free__fresh.jpg" alt="free × fresh" width="260"><br>`fresh` | <img src="assets/sample/free__minimalist.jpg" alt="free × minimalist" width="260"><br>`minimalist` |
81
- | <img src="assets/sample/free__photorealistic.jpg" alt="free × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/free__sketch.jpg" alt="free × sketch" width="260"><br>`sketch` | <img src="assets/sample/free__technical-diagram.jpg" alt="free × technical-diagram" width="260"><br>`technical-diagram` |
82
- | <img src="assets/sample/free__vibrant.jpg" alt="free × vibrant" width="260"><br>`vibrant` ★ | <img src="assets/sample/free__warm.jpg" alt="free × warm" width="260"><br>`warm` | <img src="assets/sample/free__xhs-knowledge.jpg" alt="free × xhs-knowledge" width="260"><br>`xhs-knowledge` |
99
+ | <img src="assets/sample/free__photorealistic.jpg" alt="free × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/free__quasi-news-podcast.jpg" alt="free × quasi-news-podcast" width="260"><br>`quasi-news-podcast` | <img src="assets/sample/free__sketch.jpg" alt="free × sketch" width="260"><br>`sketch` |
100
+ | <img src="assets/sample/free__technical-diagram.jpg" alt="free × technical-diagram" width="260"><br>`technical-diagram` | <img src="assets/sample/free__vibrant.jpg" alt="free × vibrant" width="260"><br>`vibrant` ★ | <img src="assets/sample/free__warm.jpg" alt="free × warm" width="260"><br>`warm` |
101
+ | <img src="assets/sample/free__xhs-knowledge.jpg" alt="free × xhs-knowledge" width="260"><br>`xhs-knowledge` |
83
102
 
84
103
  <a id="format-illustration"></a>
85
104
 
@@ -91,8 +110,9 @@ illustration job · 4:3 · default style `technical-diagram`
91
110
  | --- | --- | --- |
92
111
  | <img src="assets/sample/illustration__clean-webapp-ui.jpg" alt="illustration × clean-webapp-ui" width="260"><br>`clean-webapp-ui` | <img src="assets/sample/illustration__cute.jpg" alt="illustration × cute" width="260"><br>`cute` | <img src="assets/sample/illustration__daily-news.jpg" alt="illustration × daily-news" width="260"><br>`daily-news` |
93
112
  | <img src="assets/sample/illustration__editorial.jpg" alt="illustration × editorial" width="260"><br>`editorial` | <img src="assets/sample/illustration__fresh.jpg" alt="illustration × fresh" width="260"><br>`fresh` | <img src="assets/sample/illustration__minimalist.jpg" alt="illustration × minimalist" width="260"><br>`minimalist` |
94
- | <img src="assets/sample/illustration__photorealistic.jpg" alt="illustration × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/illustration__sketch.jpg" alt="illustration × sketch" width="260"><br>`sketch` | <img src="assets/sample/illustration__technical-diagram.jpg" alt="illustration × technical-diagram" width="260"><br>`technical-diagram` ★ |
95
- | <img src="assets/sample/illustration__vibrant.jpg" alt="illustration × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/illustration__warm.jpg" alt="illustration × warm" width="260"><br>`warm` | <img src="assets/sample/illustration__xhs-knowledge.jpg" alt="illustration × xhs-knowledge" width="260"><br>`xhs-knowledge` |
113
+ | <img src="assets/sample/illustration__photorealistic.jpg" alt="illustration × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/illustration__quasi-news-podcast.jpg" alt="illustration × quasi-news-podcast" width="260"><br>`quasi-news-podcast` | <img src="assets/sample/illustration__sketch.jpg" alt="illustration × sketch" width="260"><br>`sketch` |
114
+ | <img src="assets/sample/illustration__technical-diagram.jpg" alt="illustration × technical-diagram" width="260"><br>`technical-diagram` ★ | <img src="assets/sample/illustration__vibrant.jpg" alt="illustration × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/illustration__warm.jpg" alt="illustration × warm" width="260"><br>`warm` |
115
+ | <img src="assets/sample/illustration__xhs-knowledge.jpg" alt="illustration × xhs-knowledge" width="260"><br>`xhs-knowledge` |
96
116
 
97
117
  <a id="format-xhs-card"></a>
98
118
 
@@ -104,5 +124,6 @@ free job · 3:4 · default style `xhs-knowledge`
104
124
  | --- | --- | --- |
105
125
  | <img src="assets/sample/xhs-card__clean-webapp-ui.jpg" alt="xhs-card × clean-webapp-ui" width="260"><br>`clean-webapp-ui` | <img src="assets/sample/xhs-card__cute.jpg" alt="xhs-card × cute" width="260"><br>`cute` | <img src="assets/sample/xhs-card__daily-news.jpg" alt="xhs-card × daily-news" width="260"><br>`daily-news` |
106
126
  | <img src="assets/sample/xhs-card__editorial.jpg" alt="xhs-card × editorial" width="260"><br>`editorial` | <img src="assets/sample/xhs-card__fresh.jpg" alt="xhs-card × fresh" width="260"><br>`fresh` | <img src="assets/sample/xhs-card__minimalist.jpg" alt="xhs-card × minimalist" width="260"><br>`minimalist` |
107
- | <img src="assets/sample/xhs-card__photorealistic.jpg" alt="xhs-card × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/xhs-card__sketch.jpg" alt="xhs-card × sketch" width="260"><br>`sketch` | <img src="assets/sample/xhs-card__technical-diagram.jpg" alt="xhs-card × technical-diagram" width="260"><br>`technical-diagram` |
108
- | <img src="assets/sample/xhs-card__vibrant.jpg" alt="xhs-card × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/xhs-card__warm.jpg" alt="xhs-card × warm" width="260"><br>`warm` | <img src="assets/sample/xhs-card__xhs-knowledge.jpg" alt="xhs-card × xhs-knowledge" width="260"><br>`xhs-knowledge` ★ |
127
+ | <img src="assets/sample/xhs-card__photorealistic.jpg" alt="xhs-card × photorealistic" width="260"><br>`photorealistic` | <img src="assets/sample/xhs-card__quasi-news-podcast.jpg" alt="xhs-card × quasi-news-podcast" width="260"><br>`quasi-news-podcast` | <img src="assets/sample/xhs-card__sketch.jpg" alt="xhs-card × sketch" width="260"><br>`sketch` |
128
+ | <img src="assets/sample/xhs-card__technical-diagram.jpg" alt="xhs-card × technical-diagram" width="260"><br>`technical-diagram` | <img src="assets/sample/xhs-card__vibrant.jpg" alt="xhs-card × vibrant" width="260"><br>`vibrant` | <img src="assets/sample/xhs-card__warm.jpg" alt="xhs-card × warm" width="260"><br>`warm` |
129
+ | <img src="assets/sample/xhs-card__xhs-knowledge.jpg" alt="xhs-card × xhs-knowledge" width="260"><br>`xhs-knowledge` ★ |
@@ -12398,7 +12398,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12398
12398
  shortVideo: Object.freeze({
12399
12399
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12400
12400
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12401
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12401
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12402
12402
  })
12403
12403
  })
12404
12404
  });
@@ -12566,11 +12566,11 @@ var PluginManifestSchemaBase = looseObject({
12566
12566
  });
12567
12567
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12568
12568
  if (manifest.browserSession !== undefined) {
12569
- if (manifest.kind !== "publish") {
12569
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12570
12570
  ctx.addIssue({
12571
12571
  code: "custom",
12572
12572
  path: ["browserSession"],
12573
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12573
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12574
12574
  });
12575
12575
  }
12576
12576
  if (manifest.check === undefined) {
@@ -0,0 +1,18 @@
1
+ name: daily-news-podcast-cover
2
+ description: Daily AI quasi-news podcast episode cover — fixed ultrawide composition with lower-third negative space for headline text
3
+ job: cover
4
+ aspectRatio: '21:9'
5
+ width: 1344
6
+ height: 576
7
+ defaultStyle: quasi-news-podcast
8
+ keywords: [editorial documentary, dramatic contrast, news podcast, lead story scene]
9
+ outputFilename: 'daily-news-podcast-cover.png'
10
+ variables:
11
+ subject:
12
+ description: Concrete visual scene for the day's lead story (objects, settings, symbols, dramatic lighting; no text)
13
+ default: an illuminated advanced semiconductor wafer glowing under industrial microscope inspection in a dark cleanroom
14
+ template: |-
15
+ Ultrawide quasi-news podcast cover background scene for a daily technology news report.
16
+ Scene: {{subject | an illuminated advanced semiconductor wafer glowing under industrial microscope inspection in a dark cleanroom}}.
17
+ Composition: dramatic cinematic lighting, clear focal subject in upper-center or right-third, generous dark negative space in the lower third for headline text overlay, uncluttered background.
18
+ Atmosphere: urgent, authoritative, investigative, cutting-edge technology journalism.
@@ -0,0 +1,9 @@
1
+ name: quasi-news-podcast
2
+ description: House style for quasi-news podcast cover — editorial documentary photography, dramatic contrast, deep navy/slate shadows
3
+ modifiers: editorial documentary photography, cinematic dramatic lighting, high contrast, deep navy and slate shadows, crisp focal subject, clean composition, uncluttered lower third
4
+ palette:
5
+ - { role: background, name: deep navy slate, hex: '#0A1424' }
6
+ - { role: primary, name: signal white, hex: '#FFFFFF' }
7
+ - { role: accent, name: urgent amber, hex: '#FFB800' }
8
+ negative: text, letters, words, numbers, captions, watermark, logo, brand marks, flags, real people, recognizable faces, blurry, clutter, distorted graphics
9
+ source: { kind: authored }
@@ -12057,7 +12057,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12057
12057
  shortVideo: Object.freeze({
12058
12058
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12059
12059
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12060
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12060
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12061
12061
  })
12062
12062
  })
12063
12063
  });
@@ -12225,11 +12225,11 @@ var PluginManifestSchemaBase = looseObject({
12225
12225
  });
12226
12226
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12227
12227
  if (manifest.browserSession !== undefined) {
12228
- if (manifest.kind !== "publish") {
12228
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12229
12229
  ctx.addIssue({
12230
12230
  code: "custom",
12231
12231
  path: ["browserSession"],
12232
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12232
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12233
12233
  });
12234
12234
  }
12235
12235
  if (manifest.check === undefined) {
@@ -12057,7 +12057,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12057
12057
  shortVideo: Object.freeze({
12058
12058
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12059
12059
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12060
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12060
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12061
12061
  })
12062
12062
  })
12063
12063
  });
@@ -12225,11 +12225,11 @@ var PluginManifestSchemaBase = looseObject({
12225
12225
  });
12226
12226
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12227
12227
  if (manifest.browserSession !== undefined) {
12228
- if (manifest.kind !== "publish") {
12228
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12229
12229
  ctx.addIssue({
12230
12230
  code: "custom",
12231
12231
  path: ["browserSession"],
12232
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12232
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12233
12233
  });
12234
12234
  }
12235
12235
  if (manifest.check === undefined) {
@@ -12060,7 +12060,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12060
12060
  shortVideo: Object.freeze({
12061
12061
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12062
12062
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12063
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12063
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12064
12064
  })
12065
12065
  })
12066
12066
  });
@@ -12228,11 +12228,11 @@ var PluginManifestSchemaBase = looseObject({
12228
12228
  });
12229
12229
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12230
12230
  if (manifest.browserSession !== undefined) {
12231
- if (manifest.kind !== "publish") {
12231
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12232
12232
  ctx.addIssue({
12233
12233
  code: "custom",
12234
12234
  path: ["browserSession"],
12235
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12235
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12236
12236
  });
12237
12237
  }
12238
12238
  if (manifest.check === undefined) {
@@ -12309,7 +12309,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12309
12309
  shortVideo: Object.freeze({
12310
12310
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12311
12311
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12312
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12312
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12313
12313
  })
12314
12314
  })
12315
12315
  });
@@ -12477,11 +12477,11 @@ var PluginManifestSchemaBase = looseObject({
12477
12477
  });
12478
12478
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12479
12479
  if (manifest.browserSession !== undefined) {
12480
- if (manifest.kind !== "publish") {
12480
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12481
12481
  ctx.addIssue({
12482
12482
  code: "custom",
12483
12483
  path: ["browserSession"],
12484
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12484
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12485
12485
  });
12486
12486
  }
12487
12487
  if (manifest.check === undefined) {
@@ -12058,7 +12058,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12058
12058
  shortVideo: Object.freeze({
12059
12059
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12060
12060
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12061
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12061
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12062
12062
  })
12063
12063
  })
12064
12064
  });
@@ -12226,11 +12226,11 @@ var PluginManifestSchemaBase = looseObject({
12226
12226
  });
12227
12227
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12228
12228
  if (manifest.browserSession !== undefined) {
12229
- if (manifest.kind !== "publish") {
12229
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12230
12230
  ctx.addIssue({
12231
12231
  code: "custom",
12232
12232
  path: ["browserSession"],
12233
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12233
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12234
12234
  });
12235
12235
  }
12236
12236
  if (manifest.check === undefined) {
@@ -12059,7 +12059,7 @@ var PLATFORM_CONTENT_LIMITS = Object.freeze({
12059
12059
  shortVideo: Object.freeze({
12060
12060
  douyin: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12061
12061
  kuaishou: Object.freeze({ max: 1000, unit: "unicode_code_points" }),
12062
- shipinhao: Object.freeze({ max: 1000, unit: "unicode_code_points" })
12062
+ shipinhao: Object.freeze({ max: 100, unit: "unicode_code_points" })
12063
12063
  })
12064
12064
  })
12065
12065
  });
@@ -12227,11 +12227,11 @@ var PluginManifestSchemaBase = looseObject({
12227
12227
  });
12228
12228
  var PluginManifestSchema = PluginManifestSchemaBase.superRefine((manifest, ctx) => {
12229
12229
  if (manifest.browserSession !== undefined) {
12230
- if (manifest.kind !== "publish") {
12230
+ if (manifest.kind !== "publish" && manifest.kind !== "ingestion") {
12231
12231
  ctx.addIssue({
12232
12232
  code: "custom",
12233
12233
  path: ["browserSession"],
12234
- message: `browserSession requires kind "publish", not "${manifest.kind}"`
12234
+ message: `browserSession requires kind "publish" or "ingestion", not "${manifest.kind}"`
12235
12235
  });
12236
12236
  }
12237
12237
  if (manifest.check === undefined) {