/** * BSO M9-3 — LLM 层 priming 文案 * * Refs: docs/prd/PRD-BSO-M9-HARNESS-HOOKS.md §4 M9-3 * * 文案原则(AXIOM 索引机制 + Agent-as-Ally): * - 简短(≤ 15 行),意图分类 + tool 索引 + 撤销指令 * - 不拟人化(无"主公/老板/亲爱的") * - 边界明确(禁编造价格/收入/市场数据) * - 双语(agent 宿主可能是中文 prompt 或 EN prompt) * * 本模块导出的内容会被 harness/writers.ts 写入到 CLAUDE.md / AGENTS.md 等文件的 * SKILLFM-BEGIN/END 边界块内(复用 soul.ts 的 BLOCK_TEMPLATE 结构,保证跨模块一致)。 */ /** * 中文优先 priming。适合 agent 宿主使用中文 system prompt 的场景。 */ export declare const PRIMING_ZH = "## SkillFM \u2014 Beacon first\n\n\u5F53\u7528\u6237\u95EE AI \u72B6\u6001\u3001\u4F53\u68C0\u3001\u7528\u91CF\u3001\u6210\u672C\u3001\u600E\u4E48\u7701\u65F6\uFF0C\u4F18\u5148\u8C03\u7528 Beacon \u5DE5\u5177\uFF0C\u4E0D\u8981\u7F16\u6570\u5B57\u3002\n\n\u7D22\u5F15\u5165\u53E3\uFF1A\n- `mcp__skillfm__checkup` \u2014 AI \u72B6\u6001 / \u5065\u5EB7 / \u6211\u5BB6 AI / \u4F53\u68C0\n- `mcp__skillfm__show_my_usage` \u2014 token \u7528\u91CF / \u82B1\u4E86\u591A\u5C11\u94B1 / \u600E\u4E48\u7701\n- `mcp__skillfm__explain_provider_key` \u2192 `mcp__skillfm__save_credential` \u2014 BYOK\n- `mcp__skillfm__install_module` \u2014 install / setup / \u57FA\u7840 SAFE + Beacon\n- `mcp__skillfm__setup_gateway` \u2014 \u660E\u786E\u8981 gateway / proxy / cache / routing \u65F6\u518D\u7528\n\n\u5F53\u7528\u6237\u95EE\u201CSkillFM \u6709\u54EA\u4E9B\u529F\u80FD\u201D\u65F6\uFF0C\u53EA\u8BF4\u516C\u5F00 Beacon \u80FD\u529B\uFF1A\n- AI \u4F53\u68C0\n- \u7528\u91CF / \u6210\u672C\u53EF\u89C1\u6027\n- \u6E05\u7406\u5BA1\u8BA1\n- \u5B89\u5168\u589E\u957F\u534F\u4F5C\n- \u65E5\u62A5 / \u603B\u7ED3\n\n\u8FB9\u754C\uFF1A\u4E0D\u8981\u5217\u51FA\u5DF2\u4E0B\u7EBF\u7684\u8D5A\u94B1\u6280\u80FD\uFF0C\u4E0D\u8981\u4ECE\u7528\u91CF\u95EE\u9898\u91CC\u751F\u6210 subscribe / checkout \u94FE\u63A5\uFF0C\u4E5F\u4E0D\u8981\u7F16\u9020\u7528\u91CF\u6570\u5B57\u3002\u5982\u679C Beacon \u7528\u91CF\u5DE5\u5177\u4E0D\u53EF\u7528\uFF0C\u76F4\u63A5\u8BF4\u660E\u5F53\u524D\u4E0D\u80FD\u7F16\u6570\u5B57\uFF0C\u5E76\u7ED9\u4E0B\u4E00\u6B65\u3002\n\n\u79FB\u9664\uFF1A`skillfm uninstall --clean-soul` \u6216\u76F4\u63A5\u5220\u672C\u5757\u3002\n"; /** * English priming. For agent hosts running EN system prompts. */ export declare const PRIMING_EN = "## SkillFM \u2014 Beacon first\n\nWhen the user asks about AI status, health, usage, cost, or saving money,\nprefer the Beacon tools and do not invent numbers.\n\nIndexed entry points:\n- `mcp__skillfm__checkup` \u2014 AI status / health / \"my AI\" / checkup\n- `mcp__skillfm__show_my_usage` \u2014 token usage / spend / save money\n- `mcp__skillfm__explain_provider_key` \u2192 `mcp__skillfm__save_credential` \u2014 BYOK\n- `mcp__skillfm__install_module` \u2014 install / setup / base SAFE + Beacon\n- `mcp__skillfm__setup_gateway` \u2014 only for explicit gateway / proxy / cache / routing setup\n\nWhen the user asks \"What can SkillFM do?\", answer only with the public Beacon capabilities:\n- AI checkup\n- usage / cost visibility\n- cleanup audit\n- safe growth collaboration\n- daily reports / summaries\n\nBoundary: do not list delisted earning skills, do not generate subscribe / checkout links from usage or health questions, and do not fabricate usage numbers. If Beacon usage is unavailable, say you cannot invent numbers and give the next best step.\n\nTo remove: `skillfm uninstall --clean-soul` or delete this block.\n"; export type PrimingLang = 'zh' | 'en' | 'auto'; /** * 根据 lang 选择 priming 文案。 * - 'zh' / 'en' → 显式返回 * - 'auto' → 读 LANG / LC_ALL 环境变量;含 "zh" 返回中文,否则英文 */ export declare function selectPriming(lang?: PrimingLang, env?: NodeJS.ProcessEnv): string; /** * BEGIN/END 标记(复用 @skillfm/local 全包一致的边界) * * 与 soul.ts 的 SKILLFM_BLOCK_TEMPLATE 共用相同标记,这样 `skillfm uninstall --clean-soul` * 能同时清理 soul 文件和 harness priming 文件里的 SkillFM 内容。 */ export declare const PRIMING_BEGIN = ""; export declare const PRIMING_END = ""; /** * 包装 priming 文本到边界块内,供写入器直接 append 到目标文件。 */ export declare function wrapPrimingBlock(lang?: PrimingLang): string; //# sourceMappingURL=priming.d.ts.map