@kolisachint/hoocode-agent 0.4.10 → 0.4.11
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/CHANGELOG.md +10 -0
- package/dist/core/lifeguard.d.ts +1 -0
- package/dist/core/lifeguard.d.ts.map +1 -1
- package/dist/core/lifeguard.js +6 -0
- package/dist/core/lifeguard.js.map +1 -1
- package/dist/core/subagent-pool.d.ts.map +1 -1
- package/dist/core/subagent-pool.js +5 -4
- package/dist/core/subagent-pool.js.map +1 -1
- package/dist/core/task-store.d.ts +3 -2
- package/dist/core/task-store.d.ts.map +1 -1
- package/dist/core/task-store.js +3 -2
- package/dist/core/task-store.js.map +1 -1
- package/dist/core/tools/subagent.d.ts.map +1 -1
- package/dist/core/tools/subagent.js +15 -5
- package/dist/core/tools/subagent.js.map +1 -1
- package/dist/modes/interactive/components/task-panel.d.ts +4 -3
- package/dist/modes/interactive/components/task-panel.d.ts.map +1 -1
- package/dist/modes/interactive/components/task-panel.js +52 -21
- package/dist/modes/interactive/components/task-panel.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +5 -3
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +4 -4
|
@@ -2234,14 +2234,16 @@ 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
2242
|
this.addMessageToChat(event.message);
|
|
2238
2243
|
this.updatePendingMessagesDisplay();
|
|
2239
2244
|
this.ui.requestRender();
|
|
2240
2245
|
}
|
|
2241
2246
|
else if (event.message.role === "assistant") {
|
|
2242
|
-
// Main agent is moving on to its next turn: retire any finished subagent
|
|
2243
|
-
// tasks that were kept visible after a parallel spawn.
|
|
2244
|
-
taskStore.retireFinished();
|
|
2245
2247
|
this.streamingComponent = new AssistantMessageComponent(undefined, this.hideThinkingBlock, this.getMarkdownThemeWithSettings(), this.hiddenThinkingLabel);
|
|
2246
2248
|
this.streamingMessage = event.message;
|
|
2247
2249
|
this.chatContainer.addChild(this.streamingComponent);
|