@cloud411716/fancy-webnovel 4.30.28 → 4.30.30
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/package.json
CHANGED
|
@@ -126,7 +126,7 @@ export const BUILTIN_STYLES = [
|
|
|
126
126
|
dna: '日常载体 + 里世界身份 + 非常规边界;平凡物件/场所/职业背后藏着一个隐藏世界、交易或身份;名字自带世界关系词,不是事件摘要,也不是“载体 + 普通状态”。',
|
|
127
127
|
concept_examples: ["末班电梯:末班之后多停一层没有编号的楼层;走出去的人,会在监控里多一个同名替身。", "负一层便利店:没有客流,却一直营业;店员不收钱,只收“你明天还会来”的承诺。", "共享充电宝·第七号:第七号永远满电,但借的人会少一天。", "异界里程:公交卡余额其实是异界里程;刷一次能上一条只在午夜出现的公交线,车上都是拿愿换座的乘客。", "鬼市手牌:澡堂手牌是鬼市摊位号;池水下面是交易桌,洗掉的是霉运,留下的是皮相。", "灯烬留愿:路灯熄灭后,灯座里剩下一撮金色灯灰;把灰抹在掌心,能听见昨夜没说完的愿。", "站牌余诺:站牌背面的旧愿词被雨泡开后,最下面一行会浮出下一个等车人的名字。", "炉底残签:香炉底压着一截没烧完的签;抽出来,签上的判词会替你记住一个不该记住的人。"],
|
|
128
128
|
naming_mode: 'hybrid',
|
|
129
|
-
generation_chain: ['
|
|
129
|
+
generation_chain: ['从世界母体 + 十一个来源库的映射里选一个日常公共载体;不要背固定载体池', '给它一个里世界身份:入口、凭证、据点、柜台、摊位、名单、货币、通道、身份证明', '写清表层功能 + 里层谁在用、交换什么、规则是什么(全部留给 note)', '推歪边界,生成反常后果、代价、漏洞', '从里层关系留下的痕迹取 name;name 必须自带一个世界/规则/制度/债务/身份/异常边界的关系词', '校验:name 不能描述事件过程,也不能只是“载体 + 普通状态”;遮住 note 也要有一处不对劲'],
|
|
130
130
|
image_pool: ['电梯', '物业', '门禁', '打卡', '加班', '调休', '充电宝', '便利店', '末班车', '监控'],
|
|
131
131
|
hook_rule: '名字本身就是高概念钩子:一个具体载体 + 一个世界关系/异常边界;note 负责展开里世界、规则、代价和漏洞,但不能替名字补精彩。',
|
|
132
132
|
naming_rules: {
|
|
@@ -134,7 +134,7 @@ export const BUILTIN_STYLES = [
|
|
|
134
134
|
syntax: ['载体+边界/残留', '场所/职业+异常属性', '制度词+超自然后果'],
|
|
135
135
|
suffixes: [],
|
|
136
136
|
forbidden: ['纯工具名词直接入库', '无边界修饰的机务段/信号楼/电梯/业委会/快递柜', '裸载体当名字'],
|
|
137
|
-
trace_hints: ['隅', '痕', '烬', '
|
|
137
|
+
trace_hints: ['隅', '痕', '烬', '赊', '契', '诺', '印', '留', '封', '录', '据', '牌'],
|
|
138
138
|
trace_forbidden: ['分钟', '刻', '一日', '一次', '满格', '最后', '持续'],
|
|
139
139
|
trace_diversity: ['同一批 10 条:同一结尾痕迹字最多 2 条,同一双字后缀最多 2 条', '同一分系累计 20 条:同一开头字最多 4 条,同一结尾字最多 4 条,至少 8 种结尾,四字名最多 18 条,至少 2 条五字以上', 'A/B/C 三种句式都要出现,不能全是器物残痕', '不得原样复用示例名'],
|
|
140
140
|
trace_grounding: ['名字里的痕迹必须是 note 里那场事件真实留下的东西', '名字含炉→note 必须出现炉;名字以烬结尾→note 必须有可燃物/灰/烧完', '名字以印/契/录/香结尾→note 必须有对应的印痕/契约/册档/气味'],
|
|
@@ -339,7 +339,7 @@ function kindCoverageProblem(file, kind) {
|
|
|
339
339
|
|
|
340
340
|
// 名字必须自带一个“世界关系/规则/制度/债务/身份/异常边界”词,不能只是
|
|
341
341
|
// 日常载体 + 普通状态。这里列的是正向关系词,不是题材词,也不是黑名单。
|
|
342
|
-
const CHARGING_BAR_HIGH_CONCEPT = /(
|
|
342
|
+
const CHARGING_BAR_HIGH_CONCEPT = /(异|鬼|神|仙|魔|妖|灵|愿|祀|契|约|诺|债|赊|欠|封|禁|界|关|籍|谱|录|记|榜|令|判|证|符|咒|阵|劫|缘|命|魂|魄|尸|棺|庙|祠|观|寺|隅|限|期|签|单|条|据|状|书|印|章|戳|票|券|牌|档|案|册|簿|账|款|罚|税|押|保|征信|公告|登记|合同|存根|回执|通知|决定|调解|判决|公证|委托|授权|申请|体检|签收|酒测|行程|户籍|拍卖|生死|死亡|离婚|结婚|房产|营业|许可|通行|身份|工作|学生|社保|医保|香|火|炉|金|漆|孔)/;
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* charging-bar 主风格的“名字自带高概念”底:名字不能只是
|
|
@@ -1447,9 +1447,9 @@ export async function runGenerationWithPlan(ctx, invocation, session, taskList,
|
|
|
1447
1447
|
facetLabels,
|
|
1448
1448
|
constraintGenres: genres,
|
|
1449
1449
|
});
|
|
1450
|
-
const scopeBlockText = '
|
|
1450
|
+
const scopeBlockText = '世界母体总生成范围(仅用于了解后续队列,不是本批):'
|
|
1451
1451
|
+ planned.all.map((item) => `\`${item.kind || item.mode}\`(${item.label})`).join('、')
|
|
1452
|
-
+ '
|
|
1452
|
+
+ '。本批只写下面“本批 kind”指定的 kind,不要生成其它 kind。';
|
|
1453
1453
|
const baseForItem = (item) => renderBasePrompt({
|
|
1454
1454
|
mode: 'world',
|
|
1455
1455
|
genres,
|
|
@@ -532,8 +532,8 @@ export function stylePromptBlock(styles, selected, { genres = [] } = {}) {
|
|
|
532
532
|
lines.push('- 生成链路:');
|
|
533
533
|
for (const step of style.generation_chain) lines.push(' - ' + step);
|
|
534
534
|
}
|
|
535
|
-
if (
|
|
536
|
-
lines.push('-
|
|
535
|
+
if (isNaming) {
|
|
536
|
+
lines.push('- 载体来源:不设固定载体池;先从世界母体 + 十一个来源库的映射里找载体,日常载体只做底层逻辑,不直接当名字。');
|
|
537
537
|
}
|
|
538
538
|
if (isNaming && style.hook_rule) lines.push('- 钩子要求:' + style.hook_rule);
|
|
539
539
|
const rules = style.naming_rules || {};
|
|
@@ -564,9 +564,7 @@ export function stylePromptBlock(styles, selected, { genres = [] } = {}) {
|
|
|
564
564
|
for (const item of asArray(rules.trace_surprise)) lines.push(' - ' + item);
|
|
565
565
|
}
|
|
566
566
|
if (rules.tone) lines.push('- 语气:' + rules.tone);
|
|
567
|
-
const preferred = asArray(style.lexicon && style.lexicon.preferred);
|
|
568
567
|
const forbidden = asArray(style.lexicon && style.lexicon.forbidden);
|
|
569
|
-
if (preferred.length) lines.push('- 偏好词/意象:' + preferred.join('、'));
|
|
570
568
|
if (forbidden.length) lines.push('- 禁用词/意象:' + forbidden.join('、'));
|
|
571
569
|
|
|
572
570
|
const anchors = [];
|