@phamvuhoang/otto-core 0.33.0 → 0.34.0

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.
Files changed (56) hide show
  1. package/dist/codebase-memory-adapter.d.ts +106 -0
  2. package/dist/codebase-memory-adapter.d.ts.map +1 -0
  3. package/dist/codebase-memory-adapter.js +142 -0
  4. package/dist/codebase-memory-adapter.js.map +1 -0
  5. package/dist/context-compressor.d.ts +11 -0
  6. package/dist/context-compressor.d.ts.map +1 -1
  7. package/dist/context-compressor.js +16 -0
  8. package/dist/context-compressor.js.map +1 -1
  9. package/dist/eval-run.d.ts +6 -0
  10. package/dist/eval-run.d.ts.map +1 -1
  11. package/dist/eval-run.js +27 -5
  12. package/dist/eval-run.js.map +1 -1
  13. package/dist/eval.d.ts +35 -0
  14. package/dist/eval.d.ts.map +1 -1
  15. package/dist/eval.js +42 -1
  16. package/dist/eval.js.map +1 -1
  17. package/dist/extension-profiles.d.ts.map +1 -1
  18. package/dist/extension-profiles.js +11 -0
  19. package/dist/extension-profiles.js.map +1 -1
  20. package/dist/fanout.d.ts +48 -1
  21. package/dist/fanout.d.ts.map +1 -1
  22. package/dist/fanout.js +121 -11
  23. package/dist/fanout.js.map +1 -1
  24. package/dist/handoff.d.ts +32 -0
  25. package/dist/handoff.d.ts.map +1 -0
  26. package/dist/handoff.js +58 -0
  27. package/dist/handoff.js.map +1 -0
  28. package/dist/index.d.ts +6 -4
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +6 -4
  31. package/dist/index.js.map +1 -1
  32. package/dist/loop.d.ts.map +1 -1
  33. package/dist/loop.js +59 -2
  34. package/dist/loop.js.map +1 -1
  35. package/dist/panel.d.ts +10 -0
  36. package/dist/panel.d.ts.map +1 -1
  37. package/dist/panel.js +29 -4
  38. package/dist/panel.js.map +1 -1
  39. package/dist/plan-tasks.d.ts +39 -5
  40. package/dist/plan-tasks.d.ts.map +1 -1
  41. package/dist/plan-tasks.js +85 -12
  42. package/dist/plan-tasks.js.map +1 -1
  43. package/dist/report-finalize.d.ts +9 -0
  44. package/dist/report-finalize.d.ts.map +1 -1
  45. package/dist/report-finalize.js +28 -1
  46. package/dist/report-finalize.js.map +1 -1
  47. package/dist/run-report.d.ts +45 -0
  48. package/dist/run-report.d.ts.map +1 -1
  49. package/dist/run-report.js +18 -0
  50. package/dist/run-report.js.map +1 -1
  51. package/dist/tools.d.ts +17 -0
  52. package/dist/tools.d.ts.map +1 -1
  53. package/dist/tools.js +48 -0
  54. package/dist/tools.js.map +1 -1
  55. package/package.json +1 -1
  56. package/templates/subtask.md +17 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phamvuhoang/otto-core",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "description": "Claude Code AFK orchestration: iteration loop, native-sandbox runner, template renderer.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,6 +27,23 @@ much as you safely can within scope and note the gap in your commit message.
27
27
  Write the failing test first where it applies, implement, run the relevant
28
28
  feedback loop, and make a single focused commit for this task. Do not push.
29
29
 
30
+ **Mandatory: before finishing, write `handoff.json` at the worktree root** so
31
+ the orchestrator can reconcile your work without re-deriving it. It must be a
32
+ JSON object with these keys:
33
+
34
+ ```
35
+ {
36
+ "changedFiles": ["path/one.ts", "path/two.ts"],
37
+ "testsRun": [{ "command": "pnpm test", "passed": true }],
38
+ "risks": ["anything the orchestrator or reviewer should double-check"],
39
+ "deferred": ["work you knowingly left out of scope"]
40
+ }
41
+ ```
42
+
43
+ `testsRun` entries are `{command, passed}` pairs for every feedback-loop
44
+ command you ran. Leave `risks`/`deferred` as empty arrays if there are none —
45
+ do not omit the file or any key.
46
+
30
47
  </task>
31
48
 
32
49
  @include:prompt.md