opencode-avatar 0.3.19 → 0.3.20
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13110,7 +13110,7 @@ var AvatarPlugin = async ({ client }) => {
|
|
|
13110
13110
|
isThinking = false;
|
|
13111
13111
|
isToolActive = false;
|
|
13112
13112
|
currentRequestId = null;
|
|
13113
|
-
const sessionId = event.properties?.
|
|
13113
|
+
const sessionId = event.properties?.sessionID || currentAgentName || "unknown-session";
|
|
13114
13114
|
updateToolUsage(client, sessionId, sessionId, "idle").catch((err) => {
|
|
13115
13115
|
console.error(`[Avatar] Failed to update idle state:`, err);
|
|
13116
13116
|
});
|