@copilotkitnext/web-inspector 0.0.14 → 0.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkitnext/web-inspector",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "Lit-based web component for the CopilotKit web inspector",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,10 +15,10 @@
15
15
  "access": "public"
16
16
  },
17
17
  "dependencies": {
18
- "@ag-ui/client": "0.0.40-alpha.3",
18
+ "@ag-ui/client": "0.0.40-alpha.6",
19
19
  "lit": "^3.2.0",
20
20
  "lucide": "^0.525.0",
21
- "@copilotkitnext/core": "0.0.14"
21
+ "@copilotkitnext/core": "0.0.16"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@tailwindcss/cli": "^4.1.11",
@@ -28,8 +28,8 @@
28
28
  "tailwindcss": "^4.0.8",
29
29
  "tsup": "^8.5.0",
30
30
  "typescript": "5.8.2",
31
- "@copilotkitnext/eslint-config": "0.0.0",
32
- "@copilotkitnext/typescript-config": "0.0.0"
31
+ "@copilotkitnext/typescript-config": "0.0.0",
32
+ "@copilotkitnext/eslint-config": "0.0.0"
33
33
  },
34
34
  "engines": {
35
35
  "node": ">=18"
package/src/index.ts CHANGED
@@ -114,13 +114,13 @@ export class WebInspectorElement extends LitElement {
114
114
  button: {
115
115
  position: { x: EDGE_MARGIN, y: EDGE_MARGIN },
116
116
  size: { ...DEFAULT_BUTTON_SIZE },
117
- anchor: { horizontal: "right", vertical: "bottom" },
117
+ anchor: { horizontal: "right", vertical: "top" },
118
118
  anchorOffset: { x: EDGE_MARGIN, y: EDGE_MARGIN },
119
119
  },
120
120
  window: {
121
121
  position: { x: EDGE_MARGIN, y: EDGE_MARGIN },
122
122
  size: { ...DEFAULT_WINDOW_SIZE },
123
- anchor: { horizontal: "right", vertical: "bottom" },
123
+ anchor: { horizontal: "right", vertical: "top" },
124
124
  anchorOffset: { x: EDGE_MARGIN, y: EDGE_MARGIN },
125
125
  },
126
126
  };
@@ -727,10 +727,10 @@ export class WebInspectorElement extends LitElement {
727
727
  this.measureContext("button");
728
728
  this.measureContext("window");
729
729
 
730
- this.contextState.button.anchor = { horizontal: "right", vertical: "bottom" };
730
+ this.contextState.button.anchor = { horizontal: "right", vertical: "top" };
731
731
  this.contextState.button.anchorOffset = { x: EDGE_MARGIN, y: EDGE_MARGIN };
732
732
 
733
- this.contextState.window.anchor = { horizontal: "right", vertical: "bottom" };
733
+ this.contextState.window.anchor = { horizontal: "right", vertical: "top" };
734
734
  this.contextState.window.anchorOffset = { x: EDGE_MARGIN, y: EDGE_MARGIN };
735
735
 
736
736
  this.hydrateStateFromCookie();