@copilotkit/web-inspector 1.57.0 → 1.57.1
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.cjs +1 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -8
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -19
package/dist/index.cjs
CHANGED
|
@@ -1821,7 +1821,6 @@ var WebInspectorElement = class extends lit.LitElement {
|
|
|
1821
1821
|
this.agentSubscriptions = /* @__PURE__ */ new Map();
|
|
1822
1822
|
this.agentEvents = /* @__PURE__ */ new Map();
|
|
1823
1823
|
this.agentMessages = /* @__PURE__ */ new Map();
|
|
1824
|
-
this.agentRunThreadId = /* @__PURE__ */ new Map();
|
|
1825
1824
|
this.liveMessageVersion = /* @__PURE__ */ new Map();
|
|
1826
1825
|
this.agentStates = /* @__PURE__ */ new Map();
|
|
1827
1826
|
this.flattenedEvents = [];
|
|
@@ -2317,12 +2316,6 @@ var WebInspectorElement = class extends lit.LitElement {
|
|
|
2317
2316
|
this._threadsErrorByAgent.delete(agentId);
|
|
2318
2317
|
this._threads = Array.from(this._threadsByAgent.values()).flat();
|
|
2319
2318
|
this.requestUpdate();
|
|
2320
|
-
},
|
|
2321
|
-
onAgentRunStarted: ({ agent }) => {
|
|
2322
|
-
this.subscribeToAgent(agent);
|
|
2323
|
-
const runThreadId = agent.threadId;
|
|
2324
|
-
if (agent.agentId && runThreadId) this.agentRunThreadId.set(agent.agentId, runThreadId);
|
|
2325
|
-
this.requestUpdate();
|
|
2326
2319
|
}
|
|
2327
2320
|
};
|
|
2328
2321
|
this.coreUnsubscribe = core.subscribe(this.coreSubscriber).unsubscribe;
|
|
@@ -2561,7 +2554,7 @@ var WebInspectorElement = class extends lit.LitElement {
|
|
|
2561
2554
|
const messages = this.normalizeAgentMessages(agent.messages);
|
|
2562
2555
|
if (messages) this.agentMessages.set(agent.agentId, messages);
|
|
2563
2556
|
else this.agentMessages.delete(agent.agentId);
|
|
2564
|
-
const runThreadId =
|
|
2557
|
+
const runThreadId = agent.threadId;
|
|
2565
2558
|
if (runThreadId) this.liveMessageVersion.set(runThreadId, (this.liveMessageVersion.get(runThreadId) ?? 0) + 1);
|
|
2566
2559
|
this.requestUpdate();
|
|
2567
2560
|
} catch (error) {
|