@adhdev/daemon-standalone 0.9.82-rc.170 → 0.9.82-rc.171
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/dist/index.js +24 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/index-hxj4PXgC.js +99 -0
- package/public/assets/index-xCZFA0tp.css +1 -0
- package/public/index.html +2 -2
package/dist/index.js
CHANGED
|
@@ -63895,17 +63895,21 @@ ${formatManifestValidationIssues2(validation.issues)}`,
|
|
|
63895
63895
|
shortFinalSummary = extractFinalSummaryFromMessages(this.adapter?.getScriptParsedStatus()?.messages);
|
|
63896
63896
|
} catch {
|
|
63897
63897
|
}
|
|
63898
|
-
this.
|
|
63899
|
-
|
|
63900
|
-
|
|
63901
|
-
|
|
63902
|
-
|
|
63903
|
-
|
|
63904
|
-
|
|
63905
|
-
|
|
63906
|
-
|
|
63907
|
-
|
|
63908
|
-
|
|
63898
|
+
if (this.provider.requiresFinalAssistantBeforeIdle === true && !shortFinalSummary) {
|
|
63899
|
+
LOG2.info("CLI", `[${this.type}] suppressed short completion without final assistant evidence`);
|
|
63900
|
+
} else {
|
|
63901
|
+
this.pushEvent({
|
|
63902
|
+
event: "agent:generating_completed",
|
|
63903
|
+
chatTitle,
|
|
63904
|
+
duration: 0,
|
|
63905
|
+
timestamp: now,
|
|
63906
|
+
finalSummary: shortFinalSummary,
|
|
63907
|
+
completionDiagnostic: {
|
|
63908
|
+
reason: "short_generating_suppressed",
|
|
63909
|
+
shortDurationMs
|
|
63910
|
+
}
|
|
63911
|
+
});
|
|
63912
|
+
}
|
|
63909
63913
|
} else {
|
|
63910
63914
|
this.completedDebouncePending = {
|
|
63911
63915
|
chatTitle,
|
|
@@ -73142,6 +73146,15 @@ ${e?.stderr || ""}`
|
|
|
73142
73146
|
const events = drainPendingMeshCoordinatorEvents(meshId || void 0, coordinatorDaemonId);
|
|
73143
73147
|
return { success: true, events };
|
|
73144
73148
|
}
|
|
73149
|
+
case "interactive_prompt_response": {
|
|
73150
|
+
const sessionId = typeof args?.targetSessionId === "string" && args.targetSessionId.trim() ? args.targetSessionId.trim() : typeof args?.sessionId === "string" && args.sessionId.trim() ? args.sessionId.trim() : "";
|
|
73151
|
+
if (!sessionId) return { success: false, error: "targetSessionId required" };
|
|
73152
|
+
const response = normalizeInteractivePromptResponse2(args?.response ?? args);
|
|
73153
|
+
const instance = this.deps.instanceManager.getInstance(sessionId);
|
|
73154
|
+
if (!instance) return { success: false, error: `No running instance for session ${sessionId}` };
|
|
73155
|
+
this.deps.instanceManager.sendEvent(sessionId, "interactive_prompt_response", response);
|
|
73156
|
+
return { success: true };
|
|
73157
|
+
}
|
|
73145
73158
|
case "launch_cli":
|
|
73146
73159
|
case "stop_cli":
|
|
73147
73160
|
case "set_cli_view_mode":
|