@copilotkitnext/web-inspector 0.0.13 → 0.0.15

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.
@@ -0,0 +1,9 @@
1
+
2
+ 
3
+ > @copilotkitnext/web-inspector@0.0.14 build:css /Users/mme/Projects/CopilotKit2/main/packages/web-inspector
4
+ > npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./src/styles/generated.css -m
5
+
6
+ ⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏⠋⠙⠹⠸⠼⠴⠦⠧≈ tailwindcss v4.1.11
7
+
8
+ Done in 49ms
9
+ ⠙
@@ -1,29 +1,23 @@
1
-
2
- > @copilotkitnext/web-inspector@0.0.13-alpha.1 build /Users/mme/Projects/CopilotKit2/main/packages/web-inspector
3
- > pnpm run build:css && tsup
4
-
5
-
6
- > @copilotkitnext/web-inspector@0.0.13-alpha.1 build:css /Users/mme/Projects/CopilotKit2/main/packages/web-inspector
7
- > npx @tailwindcss/cli -i ./src/styles/tailwind.css -o ./src/styles/generated.css -m
8
-
9
- tailwindcss v4.1.11
10
-
11
- Done in 34ms
12
- CLI Building entry: src/index.ts
13
- CLI Using tsconfig: tsconfig.json
14
- CLI tsup v8.5.0
15
- CLI Using tsup config: /Users/mme/Projects/CopilotKit2/main/packages/web-inspector/tsup.config.ts
16
- CLI Target: es2022
17
- CLI Cleaning output folder
18
- CJS Build start
19
- ESM Build start
20
- CJS dist/index.js 64.49 KB
21
- CJS dist/index.js.map 93.21 KB
22
- CJS ⚡️ Build success in 20ms
23
- ESM dist/index.mjs 63.11 KB
24
- ESM dist/index.mjs.map 93.19 KB
25
- ESM ⚡️ Build success in 20ms
26
- DTS Build start
27
- DTS ⚡️ Build success in 1508ms
28
- DTS dist/index.d.ts 3.21 KB
29
- DTS dist/index.d.mts 3.21 KB
1
+
2
+ 
3
+ > @copilotkitnext/web-inspector@0.0.14 build /Users/mme/Projects/CopilotKit2/main/packages/web-inspector
4
+ > tsup
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.0
9
+ CLI Using tsup config: /Users/mme/Projects/CopilotKit2/main/packages/web-inspector/tsup.config.ts
10
+ CLI Target: es2022
11
+ CLI Cleaning output folder
12
+ CJS Build start
13
+ ESM Build start
14
+ CJS dist/index.js 113.57 KB
15
+ CJS dist/index.js.map 171.75 KB
16
+ CJS ⚡️ Build success in 37ms
17
+ ESM dist/index.mjs 111.46 KB
18
+ ESM dist/index.mjs.map 171.71 KB
19
+ ESM ⚡️ Build success in 39ms
20
+ DTS Build start
21
+ DTS ⚡️ Build success in 1566ms
22
+ DTS dist/index.d.ts 4.56 KB
23
+ DTS dist/index.d.mts 4.56 KB
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
  }