@kolisachint/hoocode-agent 0.4.12 → 0.4.14

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 (34) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/core/dispatch-evaluator.d.ts +17 -0
  3. package/dist/core/dispatch-evaluator.d.ts.map +1 -1
  4. package/dist/core/dispatch-evaluator.js +44 -10
  5. package/dist/core/dispatch-evaluator.js.map +1 -1
  6. package/dist/core/subagent-pool.d.ts.map +1 -1
  7. package/dist/core/subagent-pool.js +7 -2
  8. package/dist/core/subagent-pool.js.map +1 -1
  9. package/dist/core/task-store.d.ts +12 -7
  10. package/dist/core/task-store.d.ts.map +1 -1
  11. package/dist/core/task-store.js +23 -15
  12. package/dist/core/task-store.js.map +1 -1
  13. package/dist/core/token-budget.d.ts.map +1 -1
  14. package/dist/core/token-budget.js +15 -12
  15. package/dist/core/token-budget.js.map +1 -1
  16. package/dist/core/tools/subagent.d.ts +1 -1
  17. package/dist/core/tools/subagent.d.ts.map +1 -1
  18. package/dist/core/tools/subagent.js +15 -7
  19. package/dist/core/tools/subagent.js.map +1 -1
  20. package/dist/modes/interactive/components/task-panel.d.ts +1 -1
  21. package/dist/modes/interactive/components/task-panel.d.ts.map +1 -1
  22. package/dist/modes/interactive/components/task-panel.js +31 -12
  23. package/dist/modes/interactive/components/task-panel.js.map +1 -1
  24. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  25. package/dist/modes/interactive/components/tool-execution.js +4 -2
  26. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  27. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  28. package/dist/modes/interactive/interactive-mode.js +7 -5
  29. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  30. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  31. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  32. package/examples/extensions/sandbox/package.json +1 -1
  33. package/examples/extensions/with-deps/package.json +1 -1
  34. package/package.json +4 -4
@@ -2234,11 +2234,13 @@ export class InteractiveMode {
2234
2234
  this.ui.requestRender();
2235
2235
  }
2236
2236
  else if (event.message.role === "user") {
2237
- // A new user message starts a new turn: retire any finished subagent
2238
- // tasks from the previous turn. Finished tasks stay visible (with their
2239
- // final status, tokens, and time) until this point — not the moment they
2240
- // finish — so their outcome remains glanceable for the whole turn.
2241
- taskStore.retireFinished();
2237
+ // A new user message starts a new turn: drop finished tasks from the
2238
+ // previous turn and restart numbering from #1 once the pane is empty.
2239
+ // Finished tasks stay visible (with their final status, tokens, and time)
2240
+ // until this point — not the moment they finish — so their outcome remains
2241
+ // glanceable for the whole turn. Active tasks are kept: a follow-up/steer
2242
+ // message can arrive while a subagent is still running.
2243
+ taskStore.reset();
2242
2244
  this.addMessageToChat(event.message);
2243
2245
  this.updatePendingMessagesDisplay();
2244
2246
  this.ui.requestRender();