@copilotkitnext/web-inspector 0.0.13 → 0.0.14

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.d.mts CHANGED
@@ -14,8 +14,11 @@ declare class WebInspectorElement extends LitElement {
14
14
  private coreUnsubscribe;
15
15
  private agentSubscriptions;
16
16
  private agentEvents;
17
+ private agentMessages;
18
+ private agentStates;
17
19
  private flattenedEvents;
18
20
  private eventCounter;
21
+ private contextStore;
19
22
  private pointerId;
20
23
  private dragStart;
21
24
  private dragOffset;
@@ -26,6 +29,10 @@ declare class WebInspectorElement extends LitElement {
26
29
  private ignoreNextButtonClick;
27
30
  private selectedMenu;
28
31
  private contextMenuOpen;
32
+ private dockMode;
33
+ private previousBodyMargins;
34
+ private transitionTimeoutId;
35
+ private pendingSelectedContext;
29
36
  get core(): CopilotKitCore | null;
30
37
  set core(value: CopilotKitCore | null);
31
38
  private readonly contextState;
@@ -42,10 +49,22 @@ declare class WebInspectorElement extends LitElement {
42
49
  private subscribeToAgent;
43
50
  private unsubscribeFromAgent;
44
51
  private recordAgentEvent;
52
+ private syncAgentMessages;
53
+ private syncAgentState;
45
54
  private updateContextOptions;
46
55
  private getEventsForSelectedContext;
56
+ private getLatestStateForAgent;
57
+ private getLatestMessagesForAgent;
58
+ private getAgentStatus;
59
+ private getAgentStats;
60
+ private renderToolCallDetails;
61
+ private formatToolCallArguments;
62
+ private hasRenderableState;
63
+ private formatStateForDisplay;
47
64
  private getEventBadgeClasses;
48
65
  private stringifyPayload;
66
+ private extractEventFromPayload;
67
+ private copyToClipboard;
49
68
  static styles: lit.CSSResult[];
50
69
  connectedCallback(): void;
51
70
  disconnectedCallback(): void;
@@ -53,6 +72,7 @@ declare class WebInspectorElement extends LitElement {
53
72
  render(): lit.TemplateResult<1>;
54
73
  private renderButton;
55
74
  private renderWindow;
75
+ private hydrateStateFromCookieEarly;
56
76
  private hydrateStateFromCookie;
57
77
  private get activeContext();
58
78
  private handlePointerDown;
@@ -75,26 +95,50 @@ declare class WebInspectorElement extends LitElement {
75
95
  private getViewportSize;
76
96
  private persistState;
77
97
  private clampWindowSize;
98
+ private setDockMode;
99
+ private startHostTransition;
100
+ private applyDockStyles;
101
+ private removeDockStyles;
78
102
  private updateHostTransform;
79
103
  private setDragging;
80
104
  private updateAnchorFromPosition;
105
+ private snapButtonToCorner;
81
106
  private applyAnchorPosition;
82
107
  private resetResizeTracking;
83
108
  private resetPointerTracking;
84
109
  private openInspector;
85
110
  private closeInspector;
86
111
  private renderIcon;
112
+ private renderDockControls;
113
+ private getDockedWindowStyles;
114
+ private handleDockClick;
87
115
  private serializeAttributes;
88
116
  private contextOptions;
89
117
  private selectedContext;
90
118
  private expandedRows;
119
+ private copiedEvents;
120
+ private expandedTools;
121
+ private expandedContextItems;
91
122
  private getSelectedMenu;
92
123
  private renderMainContent;
93
124
  private renderEventsTable;
125
+ private renderAgentsView;
94
126
  private renderContextDropdown;
95
127
  private handleMenuSelect;
96
128
  private handleContextDropdownToggle;
97
129
  private handleContextOptionSelect;
130
+ private renderToolsView;
131
+ private extractToolsFromAgents;
132
+ private renderToolCard;
133
+ private extractSchemaInfo;
134
+ private isZodOptional;
135
+ private extractZodFieldInfo;
136
+ private toggleToolExpansion;
137
+ private renderContextView;
138
+ private renderContextCard;
139
+ private getContextValuePreview;
140
+ private formatContextValue;
141
+ private toggleContextExpansion;
98
142
  private handleGlobalPointerDown;
99
143
  private toggleRowExpansion;
100
144
  }
package/dist/index.d.ts CHANGED
@@ -14,8 +14,11 @@ declare class WebInspectorElement extends LitElement {
14
14
  private coreUnsubscribe;
15
15
  private agentSubscriptions;
16
16
  private agentEvents;
17
+ private agentMessages;
18
+ private agentStates;
17
19
  private flattenedEvents;
18
20
  private eventCounter;
21
+ private contextStore;
19
22
  private pointerId;
20
23
  private dragStart;
21
24
  private dragOffset;
@@ -26,6 +29,10 @@ declare class WebInspectorElement extends LitElement {
26
29
  private ignoreNextButtonClick;
27
30
  private selectedMenu;
28
31
  private contextMenuOpen;
32
+ private dockMode;
33
+ private previousBodyMargins;
34
+ private transitionTimeoutId;
35
+ private pendingSelectedContext;
29
36
  get core(): CopilotKitCore | null;
30
37
  set core(value: CopilotKitCore | null);
31
38
  private readonly contextState;
@@ -42,10 +49,22 @@ declare class WebInspectorElement extends LitElement {
42
49
  private subscribeToAgent;
43
50
  private unsubscribeFromAgent;
44
51
  private recordAgentEvent;
52
+ private syncAgentMessages;
53
+ private syncAgentState;
45
54
  private updateContextOptions;
46
55
  private getEventsForSelectedContext;
56
+ private getLatestStateForAgent;
57
+ private getLatestMessagesForAgent;
58
+ private getAgentStatus;
59
+ private getAgentStats;
60
+ private renderToolCallDetails;
61
+ private formatToolCallArguments;
62
+ private hasRenderableState;
63
+ private formatStateForDisplay;
47
64
  private getEventBadgeClasses;
48
65
  private stringifyPayload;
66
+ private extractEventFromPayload;
67
+ private copyToClipboard;
49
68
  static styles: lit.CSSResult[];
50
69
  connectedCallback(): void;
51
70
  disconnectedCallback(): void;
@@ -53,6 +72,7 @@ declare class WebInspectorElement extends LitElement {
53
72
  render(): lit.TemplateResult<1>;
54
73
  private renderButton;
55
74
  private renderWindow;
75
+ private hydrateStateFromCookieEarly;
56
76
  private hydrateStateFromCookie;
57
77
  private get activeContext();
58
78
  private handlePointerDown;
@@ -75,26 +95,50 @@ declare class WebInspectorElement extends LitElement {
75
95
  private getViewportSize;
76
96
  private persistState;
77
97
  private clampWindowSize;
98
+ private setDockMode;
99
+ private startHostTransition;
100
+ private applyDockStyles;
101
+ private removeDockStyles;
78
102
  private updateHostTransform;
79
103
  private setDragging;
80
104
  private updateAnchorFromPosition;
105
+ private snapButtonToCorner;
81
106
  private applyAnchorPosition;
82
107
  private resetResizeTracking;
83
108
  private resetPointerTracking;
84
109
  private openInspector;
85
110
  private closeInspector;
86
111
  private renderIcon;
112
+ private renderDockControls;
113
+ private getDockedWindowStyles;
114
+ private handleDockClick;
87
115
  private serializeAttributes;
88
116
  private contextOptions;
89
117
  private selectedContext;
90
118
  private expandedRows;
119
+ private copiedEvents;
120
+ private expandedTools;
121
+ private expandedContextItems;
91
122
  private getSelectedMenu;
92
123
  private renderMainContent;
93
124
  private renderEventsTable;
125
+ private renderAgentsView;
94
126
  private renderContextDropdown;
95
127
  private handleMenuSelect;
96
128
  private handleContextDropdownToggle;
97
129
  private handleContextOptionSelect;
130
+ private renderToolsView;
131
+ private extractToolsFromAgents;
132
+ private renderToolCard;
133
+ private extractSchemaInfo;
134
+ private isZodOptional;
135
+ private extractZodFieldInfo;
136
+ private toggleToolExpansion;
137
+ private renderContextView;
138
+ private renderContextCard;
139
+ private getContextValuePreview;
140
+ private formatContextValue;
141
+ private toggleContextExpansion;
98
142
  private handleGlobalPointerDown;
99
143
  private toggleRowExpansion;
100
144
  }