@actalk/inkos-core 1.5.0 → 1.6.1-canary.49.1
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/dist/agent/agent-session.d.ts +4 -0
- package/dist/agent/agent-session.d.ts.map +1 -1
- package/dist/agent/agent-session.js +78 -5
- package/dist/agent/agent-session.js.map +1 -1
- package/dist/agent/agent-system-prompt.d.ts +2 -0
- package/dist/agent/agent-system-prompt.d.ts.map +1 -1
- package/dist/agent/agent-system-prompt.js +181 -16
- package/dist/agent/agent-system-prompt.js.map +1 -1
- package/dist/agent/agent-tools.d.ts +97 -1
- package/dist/agent/agent-tools.d.ts.map +1 -1
- package/dist/agent/agent-tools.js +434 -3
- package/dist/agent/agent-tools.js.map +1 -1
- package/dist/agent/film-authoring-tools.d.ts +89 -0
- package/dist/agent/film-authoring-tools.d.ts.map +1 -0
- package/dist/agent/film-authoring-tools.js +336 -0
- package/dist/agent/film-authoring-tools.js.map +1 -0
- package/dist/agent/index.d.ts +2 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +2 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/llm-stub.d.ts +19 -0
- package/dist/agent/llm-stub.d.ts.map +1 -0
- package/dist/agent/llm-stub.js +134 -0
- package/dist/agent/llm-stub.js.map +1 -0
- package/dist/agents/composer.d.ts.map +1 -1
- package/dist/agents/composer.js +24 -12
- package/dist/agents/composer.js.map +1 -1
- package/dist/agents/researcher.d.ts +38 -0
- package/dist/agents/researcher.d.ts.map +1 -0
- package/dist/agents/researcher.js +164 -0
- package/dist/agents/researcher.js.map +1 -0
- package/dist/agents/script-storyboard.d.ts +51 -0
- package/dist/agents/script-storyboard.d.ts.map +1 -0
- package/dist/agents/script-storyboard.js +368 -0
- package/dist/agents/script-storyboard.js.map +1 -0
- package/dist/index.d.ts +23 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -2
- package/dist/index.js.map +1 -1
- package/dist/interaction/action-envelope.d.ts +669 -1
- package/dist/interaction/action-envelope.d.ts.map +1 -1
- package/dist/interaction/action-envelope.js +87 -0
- package/dist/interaction/action-envelope.js.map +1 -1
- package/dist/interaction/edit-controller.d.ts.map +1 -1
- package/dist/interaction/edit-controller.js +91 -1
- package/dist/interaction/edit-controller.js.map +1 -1
- package/dist/interaction/intents.d.ts +2 -2
- package/dist/interaction/project-control.d.ts +1 -1
- package/dist/interaction/session-transcript-schema.d.ts +22 -22
- package/dist/interaction/session.d.ts +14 -14
- package/dist/interaction/session.d.ts.map +1 -1
- package/dist/interaction/session.js +1 -1
- package/dist/interaction/session.js.map +1 -1
- package/dist/interactive-film/authoring-generate.d.ts +4 -0
- package/dist/interactive-film/authoring-generate.d.ts.map +1 -0
- package/dist/interactive-film/authoring-generate.js +16 -0
- package/dist/interactive-film/authoring-generate.js.map +1 -0
- package/dist/interactive-film/authoring-store.d.ts +35 -0
- package/dist/interactive-film/authoring-store.d.ts.map +1 -0
- package/dist/interactive-film/authoring-store.js +114 -0
- package/dist/interactive-film/authoring-store.js.map +1 -0
- package/dist/interactive-film/authoring-tools.d.ts +9 -0
- package/dist/interactive-film/authoring-tools.d.ts.map +1 -0
- package/dist/interactive-film/authoring-tools.js +19 -0
- package/dist/interactive-film/authoring-tools.js.map +1 -0
- package/dist/interactive-film/delta.d.ts +591 -0
- package/dist/interactive-film/delta.d.ts.map +1 -0
- package/dist/interactive-film/delta.js +54 -0
- package/dist/interactive-film/delta.js.map +1 -0
- package/dist/interactive-film/emotion.d.ts +20 -0
- package/dist/interactive-film/emotion.d.ts.map +1 -0
- package/dist/interactive-film/emotion.js +57 -0
- package/dist/interactive-film/emotion.js.map +1 -0
- package/dist/interactive-film/evaluator.d.ts +7 -0
- package/dist/interactive-film/evaluator.d.ts.map +1 -0
- package/dist/interactive-film/evaluator.js +40 -0
- package/dist/interactive-film/evaluator.js.map +1 -0
- package/dist/interactive-film/export-html.d.ts +6 -0
- package/dist/interactive-film/export-html.d.ts.map +1 -0
- package/dist/interactive-film/export-html.js +84 -0
- package/dist/interactive-film/export-html.js.map +1 -0
- package/dist/interactive-film/export-ink.d.ts +3 -0
- package/dist/interactive-film/export-ink.d.ts.map +1 -0
- package/dist/interactive-film/export-ink.js +51 -0
- package/dist/interactive-film/export-ink.js.map +1 -0
- package/dist/interactive-film/film-context.d.ts +4 -0
- package/dist/interactive-film/film-context.d.ts.map +1 -0
- package/dist/interactive-film/film-context.js +30 -0
- package/dist/interactive-film/film-context.js.map +1 -0
- package/dist/interactive-film/generate.d.ts +13 -0
- package/dist/interactive-film/generate.d.ts.map +1 -0
- package/dist/interactive-film/generate.js +32 -0
- package/dist/interactive-film/generate.js.map +1 -0
- package/dist/interactive-film/graph-schema.d.ts +819 -0
- package/dist/interactive-film/graph-schema.d.ts.map +1 -0
- package/dist/interactive-film/graph-schema.js +84 -0
- package/dist/interactive-film/graph-schema.js.map +1 -0
- package/dist/interactive-film/graph-store.d.ts +5 -0
- package/dist/interactive-film/graph-store.d.ts.map +1 -0
- package/dist/interactive-film/graph-store.js +24 -0
- package/dist/interactive-film/graph-store.js.map +1 -0
- package/dist/interactive-film/memory-link.d.ts +9 -0
- package/dist/interactive-film/memory-link.d.ts.map +1 -0
- package/dist/interactive-film/memory-link.js +15 -0
- package/dist/interactive-film/memory-link.js.map +1 -0
- package/dist/interactive-film/node-image.d.ts +29 -0
- package/dist/interactive-film/node-image.d.ts.map +1 -0
- package/dist/interactive-film/node-image.js +52 -0
- package/dist/interactive-film/node-image.js.map +1 -0
- package/dist/interactive-film/paths.d.ts +14 -0
- package/dist/interactive-film/paths.d.ts.map +1 -0
- package/dist/interactive-film/paths.js +60 -0
- package/dist/interactive-film/paths.js.map +1 -0
- package/dist/interactive-film/validation.d.ts +14 -0
- package/dist/interactive-film/validation.d.ts.map +1 -0
- package/dist/interactive-film/validation.js +292 -0
- package/dist/interactive-film/validation.js.map +1 -0
- package/dist/llm/provider.d.ts.map +1 -1
- package/dist/llm/provider.js +53 -16
- package/dist/llm/provider.js.map +1 -1
- package/dist/models/book.d.ts +13 -0
- package/dist/models/book.d.ts.map +1 -1
- package/dist/models/book.js +3 -0
- package/dist/models/book.js.map +1 -1
- package/dist/models/input-governance.d.ts +14 -5
- package/dist/models/input-governance.d.ts.map +1 -1
- package/dist/models/input-governance.js +3 -0
- package/dist/models/input-governance.js.map +1 -1
- package/dist/models/project.d.ts +63 -10
- package/dist/models/project.d.ts.map +1 -1
- package/dist/models/project.js +11 -0
- package/dist/models/project.js.map +1 -1
- package/dist/pipeline/runner.js +1 -1
- package/dist/pipeline/runner.js.map +1 -1
- package/dist/pipeline/script-storyboard-runner.d.ts +127 -0
- package/dist/pipeline/script-storyboard-runner.d.ts.map +1 -0
- package/dist/pipeline/script-storyboard-runner.js +446 -0
- package/dist/pipeline/script-storyboard-runner.js.map +1 -0
- package/dist/play/play-agents.d.ts.map +1 -1
- package/dist/play/play-agents.js +5 -2
- package/dist/play/play-agents.js.map +1 -1
- package/dist/play/play-store.d.ts +2 -2
- package/dist/skills/builtin-prompts.d.ts +10 -0
- package/dist/skills/builtin-prompts.d.ts.map +1 -0
- package/dist/skills/builtin-prompts.js +152 -0
- package/dist/skills/builtin-prompts.js.map +1 -0
- package/dist/skills/builtin.d.ts +3 -0
- package/dist/skills/builtin.d.ts.map +1 -0
- package/dist/skills/builtin.js +252 -0
- package/dist/skills/builtin.js.map +1 -0
- package/dist/skills/context-planner.d.ts +17 -0
- package/dist/skills/context-planner.d.ts.map +1 -0
- package/dist/skills/context-planner.js +48 -0
- package/dist/skills/context-planner.js.map +1 -0
- package/dist/skills/external-loader.d.ts +20 -0
- package/dist/skills/external-loader.d.ts.map +1 -0
- package/dist/skills/external-loader.js +126 -0
- package/dist/skills/external-loader.js.map +1 -0
- package/dist/skills/index.d.ts +8 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +8 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/skills/prompt-pack.d.ts +33 -0
- package/dist/skills/prompt-pack.d.ts.map +1 -0
- package/dist/skills/prompt-pack.js +82 -0
- package/dist/skills/prompt-pack.js.map +1 -0
- package/dist/skills/registry.d.ts +6 -0
- package/dist/skills/registry.d.ts.map +1 -0
- package/dist/skills/registry.js +101 -0
- package/dist/skills/registry.js.map +1 -0
- package/dist/skills/types.d.ts +146 -0
- package/dist/skills/types.d.ts.map +1 -0
- package/dist/skills/types.js +32 -0
- package/dist/skills/types.js.map +1 -0
- package/dist/state/manager.d.ts +8 -2
- package/dist/state/manager.d.ts.map +1 -1
- package/dist/state/manager.js +58 -5
- package/dist/state/manager.js.map +1 -1
- package/dist/utils/context-assembly.d.ts +3 -0
- package/dist/utils/context-assembly.d.ts.map +1 -1
- package/dist/utils/context-assembly.js +3 -0
- package/dist/utils/context-assembly.js.map +1 -1
- package/dist/utils/web-search.d.ts +6 -1
- package/dist/utils/web-search.d.ts.map +1 -1
- package/dist/utils/web-search.js +8 -4
- package/dist/utils/web-search.js.map +1 -1
- package/package.json +14 -3
|
@@ -21,37 +21,89 @@ function buildChatPrompt(isZh) {
|
|
|
21
21
|
|
|
22
22
|
这里不是自动生产入口。用户讨论、提问、比较方案时,直接回答。
|
|
23
23
|
|
|
24
|
-
可用工具:propose_action
|
|
24
|
+
可用工具:propose_action、research_web。用户明确要创建长篇、生成短篇、启动互动世界、生成封面、创建剧本、创建分镜,或打开同人/续写/番外/仿写辅助入口时调用 propose_action。用户明确要求联网研究、事实核查、年代/职业/世界观资料时调用 research_web;研究报告只是参考材料,不会自动改设定或正文。
|
|
25
25
|
|
|
26
|
-
生产型动作:create_book、short_run、play_start、generate_cover。确认后会切换到对应 session 执行。
|
|
26
|
+
生产型动作:create_book、short_run、play_start、generate_cover、script_create、storyboard_create、interactive_film_create。确认后会切换到对应 session 执行。
|
|
27
27
|
辅助入口动作:fanfic_init、continuation_import、spinoff_create、style_imitation。确认后只打开现有 Studio 工具,不能声称已经生成成品。
|
|
28
28
|
辅助入口是“打开工具并准备材料”,不是立即生成成品。用户明确提到“同人 / 续写 / 番外 / 仿写 / 文风分析 / 参考文风 / 模仿笔法 / 先分析再仿写”时,必须调用 propose_action,不要用普通文字追问书名、原文、父书路径或解释流程。材料缺失时从用户方向临时概括一个短标题,instruction 里写清“待用户在入口补充材料”。映射:同人=fanfic_init,续写=continuation_import,番外/正典资料/不进入主线=spinoff_create,仿写/文风分析/参考文风/模仿笔法=style_imitation。确认卡标题/摘要必须说“打开入口 / 准备材料”,不要说“直接生成成品”。
|
|
29
29
|
|
|
30
|
-
调用 propose_action 时,instruction 必须自包含:写清目标入口、标题/书名/路径、故事或视觉方向、用户提到的关键上下文;不要让下一条 session 依赖上一轮聊天上下文猜。能确定的执行参数必须同时填进结构化字段:createBook / shortRun / playStart / generateCover,不要只写在 instruction 文本里。互动世界如果用户说“开放世界/自由玩/自己行动”,playStart.mode 填 open;如果用户说“分支互动/点着玩/给选项”,playStart.mode 填 guided。
|
|
31
|
-
信息不足时只问一个关键问题。不要在 chat
|
|
30
|
+
调用 propose_action 时,instruction 必须自包含:写清目标入口、标题/书名/路径、故事或视觉方向、用户提到的关键上下文;不要让下一条 session 依赖上一轮聊天上下文猜。能确定的执行参数必须同时填进结构化字段:createBook / shortRun / playStart / generateCover / scriptCreate / storyboardCreate / interactiveFilmCreate,不要只写在 instruction 文本里。互动世界如果用户说“开放世界/自由玩/自己行动”,playStart.mode 填 open;如果用户说“分支互动/点着玩/给选项”,playStart.mode 填 guided。互动影游/互动剧/影游交付/盛世天下式多结局剧本,使用 interactive_film_create,不要路由到 play_start。
|
|
31
|
+
信息不足时只问一个关键问题。不要在 chat 里创建、写入、编辑或生成故事/图片产物;research_web 保存的参考报告除外。
|
|
32
32
|
|
|
33
33
|
${commonOutputRules(true)}`
|
|
34
34
|
: `You are the InkOS general chat assistant.
|
|
35
35
|
|
|
36
36
|
This is not an automatic production surface. Answer questions, discussion, comparisons, and issue reports directly.
|
|
37
37
|
|
|
38
|
-
Available
|
|
38
|
+
Available tools: propose_action and research_web. Use propose_action when the user clearly wants to create a book, run short fiction, start a play world, generate a cover, create a script, create a storyboard, or open assisted fanfiction / continuation / side-story / style-imitation workflows. Use research_web when the user explicitly asks for web research, fact checking, era/profession/worldbuilding references, or market research; research reports are reference material only and do not automatically change canon or prose.
|
|
39
39
|
|
|
40
|
-
Production actions: create_book, short_run, play_start, generate_cover. After confirmation, InkOS switches to the matching session and runs them.
|
|
40
|
+
Production actions: create_book, short_run, play_start, generate_cover, script_create, storyboard_create, interactive_film_create. After confirmation, InkOS switches to the matching session and runs them.
|
|
41
41
|
Assisted workflow actions: fanfic_init, continuation_import, spinoff_create, style_imitation. After confirmation, InkOS only opens the existing Studio tool; do not claim finished content was generated.
|
|
42
42
|
Assisted workflows open a tool and prepare materials; they do not immediately generate finished content. When the user explicitly asks for fanfiction, continuation, side-story/spinoff, style imitation, style analysis, reference-style analysis, prose mimicry, or "analyze first then imitate", you must call propose_action. Do not answer by asking for a title/source text/parent-book path or by explaining the workflow in plain text. If materials are missing, infer a short temporary title from the user's direction, and say in the instruction that the user will fill missing materials in the opened tool. Mapping: fanfiction=fanfic_init, continuation=continuation_import, side-story/spinoff/canon-materials=spinoff_create, style imitation/style analysis/reference-style/prose mimicry=style_imitation. The confirmation card title/summary must say "open workflow / prepare materials"; do not say finished content will be generated.
|
|
43
43
|
|
|
44
|
-
When calling propose_action, instruction must be self-contained: include target surface, title/book/path, story or visual direction, and concrete context behind references like "that book" or "this cover". Do not make the next session infer missing context from this chat. Put known execution arguments into the structured createBook / shortRun / playStart / generateCover fields as well; do not leave them only in instruction text. For interactive worlds, set playStart.mode=open when the user asks for open/free-form play, and playStart.mode=guided when the user asks for branching/choice-led play.
|
|
45
|
-
If information is missing, ask one key question. Do not create, write, edit, or generate
|
|
44
|
+
When calling propose_action, instruction must be self-contained: include target surface, title/book/path, story or visual direction, and concrete context behind references like "that book" or "this cover". Do not make the next session infer missing context from this chat. Put known execution arguments into the structured createBook / shortRun / playStart / generateCover / scriptCreate / storyboardCreate / interactiveFilmCreate fields as well; do not leave them only in instruction text. For interactive worlds, set playStart.mode=open when the user asks for open/free-form play, and playStart.mode=guided when the user asks for branching/choice-led play. For interactive film/drama/game-script deliverables with branch logic, flags, endings, scripts, and storyboards, use interactive_film_create instead of play_start.
|
|
45
|
+
If information is missing, ask one key question. Do not create, write, edit, or generate story/image artifacts in chat; research_web reference reports are the only exception.
|
|
46
46
|
|
|
47
47
|
${commonOutputRules(false)}`;
|
|
48
48
|
}
|
|
49
|
+
function appendSkillGuidance(prompt, isZh, skills) {
|
|
50
|
+
if (!skills || skills.usedSkills.length === 0)
|
|
51
|
+
return prompt;
|
|
52
|
+
const skillLines = skills.usedSkills.flatMap((skill) => {
|
|
53
|
+
const prefix = skills.forcedSkillIds.includes(skill.id) ? (isZh ? "强制" : "forced") : (isZh ? "自动" : "auto");
|
|
54
|
+
const packs = skill.promptPacks.length > 0 ? `; promptPacks=${skill.promptPacks.join(", ")}` : "";
|
|
55
|
+
const line = `- ${skill.id} (${prefix}): ${skill.whenToUse}${packs}`;
|
|
56
|
+
const body = skill.body.trim();
|
|
57
|
+
if (!body)
|
|
58
|
+
return [line];
|
|
59
|
+
return [
|
|
60
|
+
line,
|
|
61
|
+
isZh ? ` 领域规则:\n${indentSkillBody(body, " ")}` : ` Domain guidance:\n${indentSkillBody(body, " ")}`,
|
|
62
|
+
];
|
|
63
|
+
});
|
|
64
|
+
const unavailable = skills.missingSkillIds.length > 0
|
|
65
|
+
? (isZh
|
|
66
|
+
? `\n不可用 skill:${skills.missingSkillIds.join(", ")}。不要假装已使用这些 skill。`
|
|
67
|
+
: `\nUnavailable skills: ${skills.missingSkillIds.join(", ")}. Do not pretend these skills were used.`)
|
|
68
|
+
: "";
|
|
69
|
+
const disabled = skills.disabledSkillIds.length > 0
|
|
70
|
+
? (isZh
|
|
71
|
+
? `\n已禁用 skill:${skills.disabledSkillIds.join(", ")}。不要按这些 skill 调整行为。`
|
|
72
|
+
: `\nDisabled skills: ${skills.disabledSkillIds.join(", ")}. Do not follow those skills.`)
|
|
73
|
+
: "";
|
|
74
|
+
const guidance = isZh
|
|
75
|
+
? [
|
|
76
|
+
"## Skill 指导",
|
|
77
|
+
"",
|
|
78
|
+
"本轮可用的专业 skill 如下。强制 skill 是用户/界面明确要求的专业能力,除非不可用或违反安全/权限边界,否则必须按它的领域规则组织回答和工具提案。",
|
|
79
|
+
"Skill 只提供专业指导、上下文需求和 prompt pack;它不授予执行权限。创建、写入、编辑、生成图片等副作用仍必须通过当前 session 允许的工具和确认闸门。",
|
|
80
|
+
...skillLines,
|
|
81
|
+
unavailable.trim(),
|
|
82
|
+
disabled.trim(),
|
|
83
|
+
].filter(Boolean).join("\n")
|
|
84
|
+
: [
|
|
85
|
+
"## Skill Guidance",
|
|
86
|
+
"",
|
|
87
|
+
"Available professional skills for this turn are listed below. Forced skills were explicitly requested by the user or UI; follow their domain guidance unless unavailable or unsafe.",
|
|
88
|
+
"Skills provide guidance, context needs, and prompt packs only. They do not grant execution permission. Side effects still require the current session's allowed tools and confirmation gates.",
|
|
89
|
+
...skillLines,
|
|
90
|
+
unavailable.trim(),
|
|
91
|
+
disabled.trim(),
|
|
92
|
+
].filter(Boolean).join("\n");
|
|
93
|
+
return `${prompt}\n\n${guidance}`;
|
|
94
|
+
}
|
|
95
|
+
function indentSkillBody(body, prefix) {
|
|
96
|
+
return body
|
|
97
|
+
.split(/\r?\n/)
|
|
98
|
+
.map((line) => `${prefix}${line}`)
|
|
99
|
+
.join("\n");
|
|
100
|
+
}
|
|
49
101
|
function buildBookCreatePrompt(isZh, confirmed) {
|
|
50
102
|
if (!confirmed) {
|
|
51
103
|
return isZh
|
|
52
104
|
? `你是 InkOS 建书助手。当前入口先分阶段聊清长篇/连载书籍草案,再让用户确认是否创建。
|
|
53
105
|
|
|
54
|
-
还不能直接建书。故事核心齐全时必须调用 propose_action,action=create_book;不要用普通文字手写确认卡。用户说“先确认/确认后再建”时,propose_action
|
|
106
|
+
还不能直接建书。故事核心齐全时必须调用 propose_action,action=create_book;不要用普通文字手写确认卡。用户说“先确认/确认后再建”时,propose_action 就是确认卡,仍然调用它,不要先用普通文字整理一遍再等用户二次确认。用户明确要求联网查年代、职业、制度、地域或世界观资料时,可以调用 research_web;研究报告只是建书参考,不会自动写入设定。
|
|
55
107
|
故事核心:书名、题材、平台、世界观、主角、核心冲突。用户已经给出书名/题材方向/主角或开局压力时,就视为足够进入确认卡;核心冲突没有明说时,基于题材、主角处境和用户要求提炼一个“暂定核心冲突”,不要卡住追问。目标章数/单章字数是运行参数,用户没说就用默认 200/3000,不要追问。
|
|
56
108
|
|
|
57
109
|
确认卡 instruction 必须自包含,写清:标题、题材、平台、篇幅、世界观与规则、主角压力、核心冲突、第一阶段方向、用户的人称/比例/禁忌/节奏要求。同时填 createBook:title、genre、platform、targetChapters、chapterWordCount、language;用户没说章数/单章字数就填默认 200/3000,不要只把这些写在 instruction 文本里。
|
|
@@ -60,7 +112,7 @@ function buildBookCreatePrompt(isZh, confirmed) {
|
|
|
60
112
|
${commonOutputRules(true)}`
|
|
61
113
|
: `You are the InkOS book creation assistant. This surface stages a long-form / serialized book draft and asks for confirmation before creation.
|
|
62
114
|
|
|
63
|
-
Do not create directly yet. When the story core is clear, you must call propose_action with action=create_book; do not hand-write the confirmation card as plain text. If the user says "confirm first" or "create after confirmation", propose_action is that confirmation card; still call it instead of summarizing in plain text and waiting for a second confirmation.
|
|
115
|
+
Do not create directly yet. When the story core is clear, you must call propose_action with action=create_book; do not hand-write the confirmation card as plain text. If the user says "confirm first" or "create after confirmation", propose_action is that confirmation card; still call it instead of summarizing in plain text and waiting for a second confirmation. If the user explicitly asks for web research about era, profession, institutions, region, or worldbuilding references, you may call research_web; research reports are references only and do not automatically become canon.
|
|
64
116
|
Story core: title, genre, platform, world, protagonist, and core conflict. If the user gives a title / genre direction / protagonist or opening pressure, that is enough for a confirmation card; when core conflict is not explicit, infer a working core conflict from the genre, protagonist situation, and user constraints instead of blocking on a question. Target chapters / words per chapter are run parameters; if omitted, use defaults 200/3000 and do not ask.
|
|
65
117
|
|
|
66
118
|
The confirmation instruction must be self-contained: title, genre, platform, length, world/rules, protagonist pressure, core conflict, first-phase direction, and user constraints such as POV, ratios, taboos, or pacing. Also fill createBook: title, genre, platform, targetChapters, chapterWordCount, language; if chapter count / per-chapter length is omitted, fill the defaults 200/3000 instead of leaving them only in instruction text.
|
|
@@ -127,6 +179,108 @@ Available tool: propose_action. Use action=short_run for full short production;
|
|
|
127
179
|
instruction must be self-contained: genre direction, title/working title, protagonist pressure, core conflict, emotional payoff, cover direction, or target short path. For full short production, also fill shortRun: direction, chapters, charsPerChapter, cover; charsPerChapter is per-chapter 900-1200 Chinese chars, not total story length.
|
|
128
180
|
If title or cover direction is missing, invent a working version inside instruction; ask one key question only when genre, protagonist pressure, or core conflict is too vague. Do not create books/ projects, start play worlds, or route short-fiction requests to book creation.
|
|
129
181
|
|
|
182
|
+
${commonOutputRules(false)}`;
|
|
183
|
+
}
|
|
184
|
+
function buildScriptPrompt(isZh, confirmed) {
|
|
185
|
+
if (confirmed) {
|
|
186
|
+
return isZh
|
|
187
|
+
? `你是 InkOS 剧本创作助手。用户已经点击确认创建剧本。
|
|
188
|
+
|
|
189
|
+
唯一动作:立即调用 script_create,写入 dramas/ 下的剧本规格和剧本 Markdown。
|
|
190
|
+
不要先输出剧本正文、解释或流程说明;不要创建长篇书籍、短篇成品或互动世界。
|
|
191
|
+
|
|
192
|
+
${commonOutputRules(true)}`
|
|
193
|
+
: `You are the InkOS script creation assistant. The user has confirmed script creation.
|
|
194
|
+
|
|
195
|
+
Only action: immediately call script_create to write the script spec and script Markdown under dramas/.
|
|
196
|
+
Do not write the script body, explanation, or workflow notes first; do not create books, standalone shorts, or play worlds.
|
|
197
|
+
|
|
198
|
+
${commonOutputRules(false)}`;
|
|
199
|
+
}
|
|
200
|
+
return isZh
|
|
201
|
+
? `你是 InkOS 剧本创作助手。当前入口负责把小说、创意、大纲或已有文本转成用户可继续修改的剧本。
|
|
202
|
+
|
|
203
|
+
可用工具:propose_action,action=script_create。用户已经说明想做“剧本 / 短剧剧本 / 小说改剧本 / 互动剧本 / 广播剧 / 分镜前剧本”时,先确认规格,不要在聊天里直接写完整剧本。
|
|
204
|
+
确认卡要把空间留给用户:标题/暂定名、原素材类型、目标剧本格式、集数或时长、保留什么、可改什么、对白/场景/低成本拍摄等要求。不要替用户擅自决定忠实改编、商业强化或低成本拍摄强度;没有说清时写“待用户后续调整”或问一个关键问题。
|
|
205
|
+
instruction 必须自包含;能确定的执行参数同时填 scriptCreate:title、sourceKind、targetFormat、sourceText/sourcePath、requirements、episodeCount、episodeDuration。sourceText 只放用户当前明确给出的素材;素材太长时要求用户通过入口补充 sourcePath,不要凭空改写、压缩或替用户补素材。
|
|
206
|
+
只有标题/素材/目标格式都太空时才问一个关键问题。
|
|
207
|
+
|
|
208
|
+
${commonOutputRules(true)}`
|
|
209
|
+
: `You are the InkOS script creation assistant. This surface turns a novel, idea, outline, or existing text into an editable script.
|
|
210
|
+
|
|
211
|
+
Available tool: propose_action with action=script_create. When the user asks for a script, vertical short-drama script, novel-to-script adaptation, interactive script, audio drama, or script-before-storyboard work, confirm the spec first; do not write the full script in chat.
|
|
212
|
+
The confirmation card should leave creative room for the user: title/working title, source type, target script format, episode count or duration, what to preserve, what may change, dialogue/scene/production constraints. Do not decide fidelity, commercialization, or low-budget adaptation strength for the user; if unclear, say it remains adjustable or ask one key question.
|
|
213
|
+
instruction must be self-contained. Also fill scriptCreate when known: title, sourceKind, targetFormat, sourceText/sourcePath, requirements, episodeCount, episodeDuration. sourceText may contain the user's current material or compact summary; if the source is too long, ask the user to provide it through the entry or sourcePath instead of inventing it.
|
|
214
|
+
Ask one key question only when title/source/target format are all too vague.
|
|
215
|
+
|
|
216
|
+
${commonOutputRules(false)}`;
|
|
217
|
+
}
|
|
218
|
+
function buildStoryboardPrompt(isZh, confirmed) {
|
|
219
|
+
if (confirmed) {
|
|
220
|
+
return isZh
|
|
221
|
+
? `你是 InkOS 分镜创作助手。用户已经点击确认创建分镜。
|
|
222
|
+
|
|
223
|
+
唯一动作:立即调用 storyboard_create,写入 storyboards/ 下的分镜规格、分镜表和分镜图提示词 Markdown。
|
|
224
|
+
不要先输出分镜正文、解释或流程说明;不要创建长篇书籍、短篇成品或互动世界。
|
|
225
|
+
|
|
226
|
+
${commonOutputRules(true)}`
|
|
227
|
+
: `You are the InkOS storyboard creation assistant. The user has confirmed storyboard creation.
|
|
228
|
+
|
|
229
|
+
Only action: immediately call storyboard_create to write storyboard spec, storyboard table, and image prompts under storyboards/.
|
|
230
|
+
Do not write storyboard content, explanations, or workflow notes first; do not create books, standalone shorts, or play worlds.
|
|
231
|
+
|
|
232
|
+
${commonOutputRules(false)}`;
|
|
233
|
+
}
|
|
234
|
+
return isZh
|
|
235
|
+
? `你是 InkOS 分镜创作助手。当前入口负责把剧本、小说片段、创意或场景列表拆成可拍、可画、可继续修改的分镜。
|
|
236
|
+
|
|
237
|
+
可用工具:propose_action,action=storyboard_create。用户已经说明想做“分镜 / 镜头表 / 分镜图提示词 / 剧本转分镜 / 小说转分镜”时,先确认规格,不要在聊天里直接写完整分镜。
|
|
238
|
+
确认卡要把空间留给用户:标题/暂定名、原素材类型、分镜粒度、画幅、视觉风格、镜头上限、是否需要图像提示词、哪些信息必须保留。不要替用户擅自锁死拍法、风格或镜头数量;没有说清时写“待用户后续调整”或问一个关键问题。
|
|
239
|
+
instruction 必须自包含;能确定的执行参数同时填 storyboardCreate:title、sourceKind、sourceText/sourcePath、requirements、visualStyle、aspectRatio、granularity、maxShots。sourceText 只放用户当前明确给出的素材;素材太长时要求用户通过入口补充 sourcePath,不要凭空改写、压缩或替用户补素材。
|
|
240
|
+
只有标题/素材/目标分镜形态都太空时才问一个关键问题。
|
|
241
|
+
|
|
242
|
+
${commonOutputRules(true)}`
|
|
243
|
+
: `You are the InkOS storyboard creation assistant. This surface turns scripts, novel excerpts, ideas, or scene lists into editable storyboard tables and image prompts.
|
|
244
|
+
|
|
245
|
+
Available tool: propose_action with action=storyboard_create. When the user asks for storyboard, shot list, storyboard image prompts, script-to-storyboard, or novel-to-storyboard work, confirm the spec first; do not write the full storyboard in chat.
|
|
246
|
+
The confirmation card should leave creative room for the user: title/working title, source type, shot granularity, aspect ratio, visual style, max shots, whether image prompts are needed, and what must be preserved. Do not lock shooting style, visual style, or shot count unless the user specified them; if unclear, say it remains adjustable or ask one key question.
|
|
247
|
+
instruction must be self-contained. Also fill storyboardCreate when known: title, sourceKind, sourceText/sourcePath, requirements, visualStyle, aspectRatio, granularity, maxShots. sourceText may contain the user's current material or compact summary; if the source is too long, ask the user to provide it through the entry or sourcePath instead of inventing it.
|
|
248
|
+
Ask one key question only when title/source/target storyboard form are all too vague.
|
|
249
|
+
|
|
250
|
+
${commonOutputRules(false)}`;
|
|
251
|
+
}
|
|
252
|
+
function buildInteractiveFilmPrompt(isZh, confirmed) {
|
|
253
|
+
if (confirmed) {
|
|
254
|
+
return isZh
|
|
255
|
+
? `你是 InkOS 互动影游创作助手。用户已经点击确认创建互动影游。
|
|
256
|
+
|
|
257
|
+
唯一动作:立即调用 interactive_film_create,写入 interactive-films/ 下的互动规格、剧情树、变量旗标、互动剧本、分镜、图像提示词和图片资产 manifest。
|
|
258
|
+
不要先输出正文、解释或流程说明;不要启动 Play 世界,不要创建普通剧本或普通分镜。
|
|
259
|
+
|
|
260
|
+
${commonOutputRules(true)}`
|
|
261
|
+
: `You are the InkOS interactive-film creation assistant. The user has confirmed interactive-film creation.
|
|
262
|
+
|
|
263
|
+
Only action: immediately call interactive_film_create to write interactive spec, story tree, variables/flags, interactive script, storyboard, image prompts, and asset manifest under interactive-films/.
|
|
264
|
+
Do not write the content, explanation, or workflow notes first; do not start a Play world or create a plain script/storyboard instead.
|
|
265
|
+
|
|
266
|
+
${commonOutputRules(false)}`;
|
|
267
|
+
}
|
|
268
|
+
return isZh
|
|
269
|
+
? `你是 InkOS 互动影游创作助手。当前入口负责把创意、小说、剧本、大纲或投稿需求整理成可制作的互动影游交付稿。
|
|
270
|
+
|
|
271
|
+
可用工具:propose_action,action=interactive_film_create。用户已经说明想做“互动影游 / 互动剧 / 互动叙事类游戏 / 分支剧本 / 多结局影游 / 盛世天下式多走向剧本”时,先确认规格,不要在聊天里直接写完整交付稿。
|
|
272
|
+
确认卡要把空间留给用户:标题/暂定名、原素材类型、分支结构、多结局目标、变量/旗标系统、目标受众、预算、段落/集数、视觉/分镜要求。不要默认 RPG 数值、战斗公式、装备系统或固定游戏模板;只有用户明确要求才写。
|
|
273
|
+
instruction 必须自包含;能确定的执行参数同时填 interactiveFilmCreate:title、sourceKind、sourceText/sourcePath、requirements、targetAudience、episodeCount、episodeDuration、budget、referenceMode。sourceText 只放用户当前明确给出的素材;素材太长时要求用户通过入口补充 sourcePath,不要凭空改写、压缩或替用户补素材。
|
|
274
|
+
只有标题/素材/互动目标都太空时才问一个关键问题。
|
|
275
|
+
|
|
276
|
+
${commonOutputRules(true)}`
|
|
277
|
+
: `You are the InkOS interactive-film creation assistant. This surface turns ideas, novels, scripts, outlines, or submission requirements into editable interactive film/game-script deliverables.
|
|
278
|
+
|
|
279
|
+
Available tool: propose_action with action=interactive_film_create. When the user asks for interactive film, interactive drama, branching narrative game, multi-ending script, or choice-led film/game deliverables, confirm the spec first; do not write the full package in chat.
|
|
280
|
+
The confirmation card should leave creative room for the user: title/working title, source type, branching structure, endings, variables/flags, target audience, budget, episode/segment count, visual/storyboard needs. Do not default to RPG stats, combat formulas, equipment systems, or a fixed game template unless the user explicitly asks.
|
|
281
|
+
instruction must be self-contained. Also fill interactiveFilmCreate when known: title, sourceKind, sourceText/sourcePath, requirements, targetAudience, episodeCount, episodeDuration, budget, referenceMode. sourceText may contain the user's current material; if the source is too long, ask for sourcePath instead of inventing it.
|
|
282
|
+
Ask one key question only when title/source/interactive goal are all too vague.
|
|
283
|
+
|
|
130
284
|
${commonOutputRules(false)}`;
|
|
131
285
|
}
|
|
132
286
|
function buildPlayPrompt(isZh, confirmedStart, playWorldExists) {
|
|
@@ -296,6 +450,7 @@ function buildBookPrompt(bookId, isZh) {
|
|
|
296
450
|
- rename_entity:统一改角色/实体名。
|
|
297
451
|
- patch_chapter_text:对已有章节做局部定点修补。
|
|
298
452
|
- replace_chapter_text:用户已经给出某章完整替换正文时,整章覆盖并标记复核;不要用它让模型自己生成新正文,模型生成型重写仍走 reviser。
|
|
453
|
+
- research_web:用户明确要求联网研究、事实核查、年代/职业/地域/制度资料时使用;报告保存为参考材料,不会自动改当前书设定或正文。
|
|
299
454
|
- grep:搜索内容。
|
|
300
455
|
- ls:列出文件或章节。
|
|
301
456
|
|
|
@@ -317,6 +472,7 @@ function buildBookPrompt(bookId, isZh) {
|
|
|
317
472
|
- 用户要求某章内局部小修 → patch_chapter_text。
|
|
318
473
|
- 用户粘贴/提供某章完整新正文并要求替换 → replace_chapter_text。
|
|
319
474
|
- 用户要求生成或重做封面 → generate_cover。
|
|
475
|
+
- 用户要求查外部事实、年代职业细节、真实地域制度资料 → research_web;如需把研究结果写入设定,必须再由用户明确确认后用 write_truth_file。
|
|
320
476
|
- 其他普通讨论 → 直接回答。
|
|
321
477
|
|
|
322
478
|
## 章节索引
|
|
@@ -350,6 +506,7 @@ ${commonOutputRules(true)}`
|
|
|
350
506
|
- rename_entity: rename characters or entities.
|
|
351
507
|
- patch_chapter_text: apply a local chapter patch.
|
|
352
508
|
- replace_chapter_text: replace a whole chapter only when the user provides the complete replacement chapter text; mark it for review. Do not use it for model-generated rewrites — use reviser.
|
|
509
|
+
- research_web: collect web research or fact checks for era/profession/region/institution details. Reports are saved as reference material and do not automatically change canon or prose.
|
|
353
510
|
- grep: search content.
|
|
354
511
|
- ls: list files or chapters.
|
|
355
512
|
|
|
@@ -371,6 +528,7 @@ ${commonOutputRules(true)}`
|
|
|
371
528
|
- Local chapter edits → patch_chapter_text.
|
|
372
529
|
- User-provided full replacement for an existing chapter → replace_chapter_text.
|
|
373
530
|
- Cover generation/regeneration → generate_cover.
|
|
531
|
+
- External facts, era/profession details, or real-world regional/institutional references → research_web. If the research should affect canon, wait for explicit confirmation and then use write_truth_file.
|
|
374
532
|
- Ordinary discussion → answer directly.
|
|
375
533
|
|
|
376
534
|
## Chapter Index
|
|
@@ -383,22 +541,29 @@ ${commonOutputRules(false)}`;
|
|
|
383
541
|
}
|
|
384
542
|
export function buildAgentSystemPrompt(bookId, language, sessionKind = bookId ? "book" : "chat", options = {}) {
|
|
385
543
|
const isZh = language === "zh";
|
|
544
|
+
const withSkills = (prompt) => appendSkillGuidance(prompt, isZh, options.skills);
|
|
386
545
|
if (sessionKind === "book-create")
|
|
387
|
-
return buildBookCreatePrompt(isZh, isConfirmedAction(options, "create_book"));
|
|
546
|
+
return withSkills(buildBookCreatePrompt(isZh, isConfirmedAction(options, "create_book")));
|
|
388
547
|
if (sessionKind === "short") {
|
|
389
548
|
const confirmedIntent = isConfirmedAction(options, "short_run")
|
|
390
549
|
? "short_run"
|
|
391
550
|
: isConfirmedAction(options, "generate_cover")
|
|
392
551
|
? "generate_cover"
|
|
393
552
|
: undefined;
|
|
394
|
-
return buildShortPrompt(isZh, confirmedIntent);
|
|
553
|
+
return withSkills(buildShortPrompt(isZh, confirmedIntent));
|
|
395
554
|
}
|
|
396
555
|
if (sessionKind === "play")
|
|
397
|
-
return buildPlayPrompt(isZh, isConfirmedAction(options, "play_start"), options.playWorldExists === true);
|
|
556
|
+
return withSkills(buildPlayPrompt(isZh, isConfirmedAction(options, "play_start"), options.playWorldExists === true));
|
|
557
|
+
if (sessionKind === "script")
|
|
558
|
+
return withSkills(buildScriptPrompt(isZh, isConfirmedAction(options, "script_create")));
|
|
559
|
+
if (sessionKind === "storyboard")
|
|
560
|
+
return withSkills(buildStoryboardPrompt(isZh, isConfirmedAction(options, "storyboard_create")));
|
|
561
|
+
if (sessionKind === "interactive-film")
|
|
562
|
+
return withSkills(buildInteractiveFilmPrompt(isZh, isConfirmedAction(options, "interactive_film_create")));
|
|
398
563
|
if (sessionKind === "edit")
|
|
399
|
-
return buildEditPrompt(bookId, isZh);
|
|
564
|
+
return withSkills(buildEditPrompt(bookId, isZh));
|
|
400
565
|
if (sessionKind === "book" && bookId)
|
|
401
|
-
return buildBookPrompt(bookId, isZh);
|
|
402
|
-
return buildChatPrompt(isZh);
|
|
566
|
+
return withSkills(buildBookPrompt(bookId, isZh));
|
|
567
|
+
return withSkills(buildChatPrompt(isZh));
|
|
403
568
|
}
|
|
404
569
|
//# sourceMappingURL=agent-system-prompt.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-system-prompt.js","sourceRoot":"","sources":["../../src/agent/agent-system-prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-system-prompt.js","sourceRoot":"","sources":["../../src/agent/agent-system-prompt.ts"],"names":[],"mappings":"AAWA,SAAS,iBAAiB,CACxB,OAA6C,EAC7C,MAAuB;IAEvB,OAAO,CAAC,OAAO,EAAE,YAAY,KAAK,QAAQ,IAAI,OAAO,EAAE,YAAY,KAAK,OAAO,CAAC;WAC3E,OAAO,CAAC,eAAe,KAAK,MAAM,CAAC;AAC1C,CAAC;AAED,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAI;QACT,CAAC,CAAC;;;;wBAIkB;QACpB,CAAC,CAAC;;;;qGAI+F,CAAC;AACtG,CAAC;AAED,SAAS,eAAe,CAAC,IAAa;IACpC,OAAO,IAAI;QACT,CAAC,CAAC;;;;;;;;;;;;;EAaJ,iBAAiB,CAAC,IAAI,CAAC,EAAE;QACvB,CAAC,CAAC;;;;;;;;;;;;;EAaJ,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;AAC7B,CAAC;AAED,SAAS,mBAAmB,CAAC,MAAc,EAAE,IAAa,EAAE,MAAyC;IACnG,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,MAAM,CAAC;IAC7D,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC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AAW,KAAK,MAAM;QAAE,OAAO,UAAU,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;IAC7E,IAAI,WAAW,KAAK,MAAM,IAAI,MAAM;QAAE,OAAO,UAAU,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;IACvF,OAAO,UAAU,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { type PlayOpeningSeedResult, type PlayReplayResult, type PlayStepResult,
|
|
|
4
4
|
import type { AgentContext } from "../agents/base.js";
|
|
5
5
|
import { type ActionPayload } from "../interaction/action-envelope.js";
|
|
6
6
|
declare const ProposeActionParams: import("@sinclair/typebox").TObject<{
|
|
7
|
-
action: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"create_book">, import("@sinclair/typebox").TLiteral<"short_run">, import("@sinclair/typebox").TLiteral<"play_start">, import("@sinclair/typebox").TLiteral<"generate_cover">, import("@sinclair/typebox").TLiteral<"fanfic_init">, import("@sinclair/typebox").TLiteral<"continuation_import">, import("@sinclair/typebox").TLiteral<"spinoff_create">, import("@sinclair/typebox").TLiteral<"style_imitation">]>;
|
|
7
|
+
action: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"create_book">, import("@sinclair/typebox").TLiteral<"short_run">, import("@sinclair/typebox").TLiteral<"play_start">, import("@sinclair/typebox").TLiteral<"generate_cover">, import("@sinclair/typebox").TLiteral<"fanfic_init">, import("@sinclair/typebox").TLiteral<"continuation_import">, import("@sinclair/typebox").TLiteral<"spinoff_create">, import("@sinclair/typebox").TLiteral<"style_imitation">, import("@sinclair/typebox").TLiteral<"script_create">, import("@sinclair/typebox").TLiteral<"storyboard_create">, import("@sinclair/typebox").TLiteral<"interactive_film_create">, import("@sinclair/typebox").TLiteral<"draft_structure">, import("@sinclair/typebox").TLiteral<"connect_choice">, import("@sinclair/typebox").TLiteral<"remove_node">]>;
|
|
8
8
|
instruction: import("@sinclair/typebox").TString;
|
|
9
9
|
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
10
|
summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -46,6 +46,45 @@ declare const ProposeActionParams: import("@sinclair/typebox").TObject<{
|
|
|
46
46
|
coverPrompt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
47
47
|
outputDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
48
|
}>>;
|
|
49
|
+
scriptCreate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
50
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
51
|
+
sourceKind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
52
|
+
targetFormat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical_short_drama">, import("@sinclair/typebox").TLiteral<"screenplay">, import("@sinclair/typebox").TLiteral<"audio_drama">, import("@sinclair/typebox").TLiteral<"interactive_script">, import("@sinclair/typebox").TLiteral<"general_script">]>>;
|
|
53
|
+
sourceText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
54
|
+
sourcePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
55
|
+
requirements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
56
|
+
episodeCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
57
|
+
episodeDuration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
58
|
+
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
59
|
+
outDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
60
|
+
}>>;
|
|
61
|
+
storyboardCreate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
62
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
63
|
+
sourceKind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
64
|
+
sourceText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
65
|
+
sourcePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
+
requirements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
67
|
+
visualStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
68
|
+
aspectRatio: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
69
|
+
granularity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
70
|
+
maxShots: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
71
|
+
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
+
outDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
73
|
+
}>>;
|
|
74
|
+
interactiveFilmCreate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
75
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
76
|
+
sourceKind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
77
|
+
sourceText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
78
|
+
sourcePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
79
|
+
requirements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
80
|
+
targetAudience: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
81
|
+
episodeCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
82
|
+
episodeDuration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
83
|
+
budget: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
84
|
+
referenceMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
85
|
+
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
86
|
+
outDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
87
|
+
}>>;
|
|
49
88
|
}>;
|
|
50
89
|
type ProposeActionToolOptions = {
|
|
51
90
|
readonly sameSession?: boolean;
|
|
@@ -55,6 +94,12 @@ export declare function createSubAgentTool(pipeline: PipelineRunner, activeBookI
|
|
|
55
94
|
readonly actionPayload?: ActionPayload;
|
|
56
95
|
readonly architectCreateOnly?: boolean;
|
|
57
96
|
}): AgentTool<any>;
|
|
97
|
+
declare const ResearchWebParams: import("@sinclair/typebox").TObject<{
|
|
98
|
+
topic: import("@sinclair/typebox").TString;
|
|
99
|
+
purpose: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"worldbuilding">, import("@sinclair/typebox").TLiteral<"era">, import("@sinclair/typebox").TLiteral<"profession">, import("@sinclair/typebox").TLiteral<"market">, import("@sinclair/typebox").TLiteral<"fact-check">, import("@sinclair/typebox").TLiteral<"general">]>;
|
|
100
|
+
depth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"quick">, import("@sinclair/typebox").TLiteral<"standard">, import("@sinclair/typebox").TLiteral<"deep">]>>;
|
|
101
|
+
}>;
|
|
102
|
+
export declare function createResearchWebTool(projectRoot: string): AgentTool<typeof ResearchWebParams>;
|
|
58
103
|
declare const ShortFictionRunParams: import("@sinclair/typebox").TObject<{
|
|
59
104
|
direction: import("@sinclair/typebox").TString;
|
|
60
105
|
reference: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -71,6 +116,57 @@ declare const ShortFictionRunParams: import("@sinclair/typebox").TObject<{
|
|
|
71
116
|
export declare function createShortFictionRunTool(pipeline: PipelineRunner, projectRoot: string, options?: {
|
|
72
117
|
readonly actionPayload?: ActionPayload;
|
|
73
118
|
}): AgentTool<typeof ShortFictionRunParams>;
|
|
119
|
+
declare const ScriptCreateParams: import("@sinclair/typebox").TObject<{
|
|
120
|
+
title: import("@sinclair/typebox").TString;
|
|
121
|
+
instruction: import("@sinclair/typebox").TString;
|
|
122
|
+
sourceKind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
123
|
+
targetFormat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"vertical_short_drama">, import("@sinclair/typebox").TLiteral<"screenplay">, import("@sinclair/typebox").TLiteral<"audio_drama">, import("@sinclair/typebox").TLiteral<"interactive_script">, import("@sinclair/typebox").TLiteral<"general_script">]>>;
|
|
124
|
+
sourceText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
125
|
+
sourcePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
126
|
+
requirements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
127
|
+
episodeCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
128
|
+
episodeDuration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
129
|
+
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
130
|
+
outDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
131
|
+
}>;
|
|
132
|
+
export declare function createScriptCreationTool(pipeline: PipelineRunner, projectRoot: string, options?: {
|
|
133
|
+
readonly actionPayload?: ActionPayload;
|
|
134
|
+
}): AgentTool<typeof ScriptCreateParams>;
|
|
135
|
+
declare const StoryboardCreateParams: import("@sinclair/typebox").TObject<{
|
|
136
|
+
title: import("@sinclair/typebox").TString;
|
|
137
|
+
instruction: import("@sinclair/typebox").TString;
|
|
138
|
+
sourceKind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
139
|
+
sourceText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
140
|
+
sourcePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
141
|
+
requirements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
142
|
+
visualStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
143
|
+
aspectRatio: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
144
|
+
granularity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
145
|
+
maxShots: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
146
|
+
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
147
|
+
outDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
148
|
+
}>;
|
|
149
|
+
export declare function createStoryboardCreationTool(pipeline: PipelineRunner, projectRoot: string, options?: {
|
|
150
|
+
readonly actionPayload?: ActionPayload;
|
|
151
|
+
}): AgentTool<typeof StoryboardCreateParams>;
|
|
152
|
+
declare const InteractiveFilmCreateParams: import("@sinclair/typebox").TObject<{
|
|
153
|
+
title: import("@sinclair/typebox").TString;
|
|
154
|
+
instruction: import("@sinclair/typebox").TString;
|
|
155
|
+
sourceKind: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
156
|
+
sourceText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
157
|
+
sourcePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
158
|
+
requirements: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
159
|
+
targetAudience: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
160
|
+
episodeCount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
161
|
+
episodeDuration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
162
|
+
budget: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
163
|
+
referenceMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
164
|
+
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
165
|
+
outDir: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
166
|
+
}>;
|
|
167
|
+
export declare function createInteractiveFilmCreationTool(pipeline: PipelineRunner, projectRoot: string, options?: {
|
|
168
|
+
readonly actionPayload?: ActionPayload;
|
|
169
|
+
}): AgentTool<typeof InteractiveFilmCreateParams>;
|
|
74
170
|
declare const GenerateCoverParams: import("@sinclair/typebox").TObject<{
|
|
75
171
|
title: import("@sinclair/typebox").TString;
|
|
76
172
|
intro: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-tools.d.ts","sourceRoot":"","sources":["../../src/agent/agent-tools.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAA4C,MAAM,6BAA6B,CAAC;AACvG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-tools.d.ts","sourceRoot":"","sources":["../../src/agent/agent-tools.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAA4C,MAAM,6BAA6B,CAAC;AACvG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAkB5D,OAAO,EAAc,KAAK,qBAAqB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAE3J,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAiD,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAsFtH,QAA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