跳到主要内容

ideon write resume

命令作用

ideon write resume 会从 .ideon/write/state.json 恢复最近一次失败或中断的写作运行。

用法

ideon write resume [--no-interactive] [--enrich-links]

参数与选项

参数/选项简写必填类型默认值允许值说明
--no-interactivebooleanfalsetrue 或省略即使在 TTY 中也强制使用纯非交互输出。
--enrich-linksbooleanfalsetrue 或省略在 resume 执行期间启用链接增强阶段。

示例

最小可用示例
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-postx-thread)会被跳过。

输出与退出码

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

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

相关命令

版本与弃用说明

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