跳到主要内容

ideon write resume

命令作用​

ideon write resume 会从会话状态文件恢复最近一次失败或中断的写作运行。

用法​

ideon write resume [--no-interactive] [--seo-check] [--seo-check-mode <mode>] [--seo-check-max-turns <n>] [--enrich-links] [--link <expression->url>] [--unlink <expression>] [--max-links <n>]

参数与选项​

参数/选项简写必填类型默认值允许值说明
--no-interactive无否booleanfalsetrue 或省略即使在 TTY 中也强制使用纯非交互输出。
--seo-check无否booleanfalsetrue 或省略在继续恢复的流水线之前重新运行 SEO lint 与编辑器修订。
--seo-check-mode <mode>无否enumerrors-only(来自设置)errors-only、strict重新运行时的 SEO 检查通过模式。
--seo-check-max-turns <n>无否integer10(来自设置)1–20重新运行 SEO 检查时编辑器智能体的最大轮次。
--enrich-links无否booleanfalsetrue 或省略在 resume 执行期间启用链接增强阶段。
--link <expression->url>无否可重复 string无"文字->https://..."添加或更新自定义链接。需要 --enrich-links。
--unlink <expression>无否可重复 string无任意 expression 字符串按 expression 删除自定义链接。需要 --enrich-links。
--max-links <n>无否正整数由文章长度决定任意正整数限制生成链接数量。需要 --enrich-links。

示例​

最小可用示例
ideon write resume
常见生产示例
ideon write "Long-form article about API docs" --primary article=1 && ideon write resume
排障验证示例
ideon write resume && ideon preview --no-open
单次执行 agent 安全示例
ideon write resume --no-interactive

链接增强​

  • 链接增强是面向符合条件的长内容 markdown 输出的后处理链接建议流程。
  • 它会选取短语、解析来源 URL,并写入 *.links.json sidecar 文件,而不会改写 markdown。
  • 在 ideon write resume 中,只有显式传入 --enrich-links 时才会执行链接增强。
  • 短内容渠道(如 x-post、x-thread)会被跳过。

输出与退出码​

成功时,Ideon 会从最近检查点阶段继续执行,并将最终输出写入对应运行目录。

退出码含义
0恢复执行成功。
1没有可恢复会话,或恢复过程中发生运行时错误。
130命令被 Ctrl+C 中断。

相关命令​

版本与弃用说明​

  • 当前行为对应 Ideon 0.1.6。
  • 此命令无已弃用参数。