opencode-empirical-plan 0.3.5 → 0.3.6
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
|
@@ -44,15 +44,17 @@ const REMINDER_TEXT = `## [Empirical Plan Reminder]
|
|
|
44
44
|
skill(name="empirical-plan")
|
|
45
45
|
\`\`\`
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
**重要**:通过专职 Coordinator Sub-Session 运行生命周期,禁止在当前 session 内联执行:
|
|
48
48
|
\`\`\`
|
|
49
49
|
// 1. 初始化生命周期
|
|
50
50
|
lifecycle_start(run_dir="<绝对路径>/.opencode/plans/YYYYMMDD-<主题>")
|
|
51
51
|
|
|
52
|
-
// 2. 启动 Coordinator
|
|
52
|
+
// 2. 启动 Coordinator(Plan 完成后按需决定是否 Execute + Reflect)
|
|
53
53
|
task(subagent_type="coordinator-plan", load_skills=["empirical-plan"], run_in_background=false, prompt="run_dir: <绝对路径>\\n目标:<描述>")
|
|
54
54
|
\`\`\`
|
|
55
55
|
|
|
56
|
+
Coordinator 完成 Plan 后会判断:若 plan 本身即交付物(调研/方案/分析),可取消 Execute 和 Reflect 直接返回。
|
|
57
|
+
|
|
56
58
|
如果这只是一个澄清问题(非任务),或本 session 已加载过 empirical-plan,可跳过。`;
|
|
57
59
|
|
|
58
60
|
interface TextPartLike {
|