@copilotkit/web-inspector 1.66.2-canary.1785878925 → 1.66.4
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 +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +9 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +3 -3
- package/src/__tests__/web-inspector.spec.ts +24 -0
- package/src/index.ts +10 -0
package/dist/index.cjs
CHANGED
|
@@ -54,6 +54,8 @@ const AGENT_EVENT_TYPES = [
|
|
|
54
54
|
"RUN_STARTED",
|
|
55
55
|
"RUN_FINISHED",
|
|
56
56
|
"RUN_ERROR",
|
|
57
|
+
"STEP_STARTED",
|
|
58
|
+
"STEP_FINISHED",
|
|
57
59
|
"TEXT_MESSAGE_START",
|
|
58
60
|
"TEXT_MESSAGE_CONTENT",
|
|
59
61
|
"TEXT_MESSAGE_END",
|
|
@@ -4351,6 +4353,12 @@ var WebInspectorElement = class extends lit.LitElement {
|
|
|
4351
4353
|
onRunErrorEvent: ({ event }) => {
|
|
4352
4354
|
this.recordAgentEvent(agentId, "RUN_ERROR", event);
|
|
4353
4355
|
},
|
|
4356
|
+
onStepStartedEvent: ({ event }) => {
|
|
4357
|
+
this.recordAgentEvent(agentId, "STEP_STARTED", event);
|
|
4358
|
+
},
|
|
4359
|
+
onStepFinishedEvent: ({ event }) => {
|
|
4360
|
+
this.recordAgentEvent(agentId, "STEP_FINISHED", event);
|
|
4361
|
+
},
|
|
4354
4362
|
onTextMessageStartEvent: ({ event }) => {
|
|
4355
4363
|
this.recordAgentEvent(agentId, "TEXT_MESSAGE_START", event);
|
|
4356
4364
|
},
|