@copilotkitnext/angular 0.0.34-pr.fix-express-endpoint → 2.0.0-next.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.
Files changed (42) hide show
  1. package/dist/esm2022/lib/agent.mjs +3 -3
  2. package/dist/esm2022/lib/chat-state.mjs +3 -3
  3. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-buttons.mjs +18 -18
  4. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-renderer.mjs +3 -3
  5. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-toolbar.mjs +3 -3
  6. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message.mjs +6 -6
  7. package/dist/esm2022/lib/components/chat/copilot-chat-audio-recorder.mjs +3 -3
  8. package/dist/esm2022/lib/components/chat/copilot-chat-buttons.mjs +18 -18
  9. package/dist/esm2022/lib/components/chat/copilot-chat-input.mjs +3 -3
  10. package/dist/esm2022/lib/components/chat/copilot-chat-message-view-cursor.mjs +3 -3
  11. package/dist/esm2022/lib/components/chat/copilot-chat-message-view.mjs +3 -3
  12. package/dist/esm2022/lib/components/chat/copilot-chat-textarea.mjs +3 -3
  13. package/dist/esm2022/lib/components/chat/copilot-chat-tool-calls-view.mjs +3 -3
  14. package/dist/esm2022/lib/components/chat/copilot-chat-toolbar.mjs +3 -3
  15. package/dist/esm2022/lib/components/chat/copilot-chat-tools-menu.mjs +3 -3
  16. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-branch-navigation.mjs +3 -3
  17. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-buttons.mjs +9 -9
  18. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-renderer.mjs +3 -3
  19. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-toolbar.mjs +3 -3
  20. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.mjs +3 -3
  21. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.types.mjs +1 -1
  22. package/dist/esm2022/lib/components/chat/copilot-chat-view-disclaimer.mjs +3 -3
  23. package/dist/esm2022/lib/components/chat/copilot-chat-view-feather.mjs +3 -3
  24. package/dist/esm2022/lib/components/chat/copilot-chat-view-handlers.mjs +3 -3
  25. package/dist/esm2022/lib/components/chat/copilot-chat-view-input-container.mjs +3 -3
  26. package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-to-bottom-button.mjs +3 -3
  27. package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-view.mjs +3 -3
  28. package/dist/esm2022/lib/components/chat/copilot-chat-view.mjs +3 -3
  29. package/dist/esm2022/lib/components/chat/copilot-chat.mjs +3 -3
  30. package/dist/esm2022/lib/copilotkit.mjs +3 -3
  31. package/dist/esm2022/lib/directives/copilotkit-agent-context.mjs +3 -3
  32. package/dist/esm2022/lib/directives/stick-to-bottom.mjs +3 -3
  33. package/dist/esm2022/lib/directives/tooltip.mjs +6 -6
  34. package/dist/esm2022/lib/human-in-the-loop.mjs +3 -3
  35. package/dist/esm2022/lib/render-tool-calls.mjs +3 -3
  36. package/dist/esm2022/lib/resize-observer.mjs +3 -3
  37. package/dist/esm2022/lib/scroll-position.mjs +3 -3
  38. package/dist/esm2022/lib/slots/copilot-slot.mjs +3 -3
  39. package/dist/fesm2022/copilotkitnext-angular.mjs +152 -152
  40. package/dist/fesm2022/copilotkitnext-angular.mjs.map +1 -1
  41. package/dist/styles.css +21 -6
  42. package/package.json +13 -10
package/dist/styles.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -165,6 +165,9 @@
165
165
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
166
166
  padding-block: 0;
167
167
  }
168
+ ::-webkit-calendar-picker-indicator {
169
+ line-height: 1;
170
+ }
168
171
  :-moz-ui-invalid {
169
172
  box-shadow: none;
170
173
  }
@@ -327,7 +330,7 @@
327
330
  }
328
331
  :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
329
332
  border-color: var(--tw-prose-hr);
330
- border-top-width: 1;
333
+ border-top-width: 1px;
331
334
  margin-top: 3em;
332
335
  margin-bottom: 3em;
333
336
  }
@@ -412,7 +415,7 @@
412
415
  font-weight: 500;
413
416
  font-family: inherit;
414
417
  color: var(--tw-prose-kbd);
415
- box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
418
+ box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
416
419
  font-size: 0.875em;
417
420
  border-radius: 0.3125rem;
418
421
  padding-top: 0.1875em;
@@ -548,7 +551,7 @@
548
551
  --tw-prose-quote-borders: oklch(92.8% 0.006 264.531);
549
552
  --tw-prose-captions: oklch(55.1% 0.027 264.364);
550
553
  --tw-prose-kbd: oklch(21% 0.034 264.665);
551
- --tw-prose-kbd-shadows: NaN NaN NaN;
554
+ --tw-prose-kbd-shadows: color-mix(in oklab, oklch(21% 0.034 264.665) 10%, transparent);
552
555
  --tw-prose-code: oklch(21% 0.034 264.665);
553
556
  --tw-prose-pre-code: oklch(92.8% 0.006 264.531);
554
557
  --tw-prose-pre-bg: oklch(27.8% 0.033 256.848);
@@ -566,7 +569,7 @@
566
569
  --tw-prose-invert-quote-borders: oklch(37.3% 0.034 259.733);
567
570
  --tw-prose-invert-captions: oklch(70.7% 0.022 261.325);
568
571
  --tw-prose-invert-kbd: #fff;
569
- --tw-prose-invert-kbd-shadows: 255 255 255;
572
+ --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
570
573
  --tw-prose-invert-code: #fff;
571
574
  --tw-prose-invert-pre-code: oklch(87.2% 0.01 258.338);
572
575
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
@@ -1004,7 +1007,7 @@
1004
1007
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1005
1008
  }
1006
1009
  .transition {
1007
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
1010
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
1008
1011
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1009
1012
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1010
1013
  }
@@ -1416,6 +1419,11 @@
1416
1419
  inherits: false;
1417
1420
  initial-value: 1;
1418
1421
  }
1422
+ @property --tw-enter-blur {
1423
+ syntax: "*";
1424
+ inherits: false;
1425
+ initial-value: 0;
1426
+ }
1419
1427
  @property --tw-enter-opacity {
1420
1428
  syntax: "*";
1421
1429
  inherits: false;
@@ -1441,6 +1449,11 @@
1441
1449
  inherits: false;
1442
1450
  initial-value: 0;
1443
1451
  }
1452
+ @property --tw-exit-blur {
1453
+ syntax: "*";
1454
+ inherits: false;
1455
+ initial-value: 0;
1456
+ }
1444
1457
  @property --tw-exit-opacity {
1445
1458
  syntax: "*";
1446
1459
  inherits: false;
@@ -1852,11 +1865,13 @@
1852
1865
  --tw-animation-duration: initial;
1853
1866
  --tw-animation-fill-mode: none;
1854
1867
  --tw-animation-iteration-count: 1;
1868
+ --tw-enter-blur: 0;
1855
1869
  --tw-enter-opacity: 1;
1856
1870
  --tw-enter-rotate: 0;
1857
1871
  --tw-enter-scale: 1;
1858
1872
  --tw-enter-translate-x: 0;
1859
1873
  --tw-enter-translate-y: 0;
1874
+ --tw-exit-blur: 0;
1860
1875
  --tw-exit-opacity: 1;
1861
1876
  --tw-exit-rotate: 0;
1862
1877
  --tw-exit-scale: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkitnext/angular",
3
- "version": "v0.0.34-pr.fix-express-endpoint",
3
+ "version": "2.0.0-next.1",
4
4
  "description": "Angular library for CopilotKit",
5
5
  "main": "dist/fesm2022/copilotkitnext-angular.mjs",
6
6
  "module": "dist/fesm2022/copilotkitnext-angular.mjs",
@@ -19,8 +19,6 @@
19
19
  "./styles.css": "./dist/styles.css"
20
20
  },
21
21
  "dependencies": {
22
- "@ag-ui/client": "0.0.42",
23
- "@ag-ui/core": "0.0.42",
24
22
  "clsx": "^2.1.1",
25
23
  "highlight.js": "^11.11.1",
26
24
  "katex": "^0.16.22",
@@ -28,16 +26,18 @@
28
26
  "marked": "^16.2.0",
29
27
  "rxjs": "^7.8.1",
30
28
  "tailwind-merge": "^2.6.0",
31
- "zod": "^3.22.4",
32
- "@copilotkitnext/core": "v0.0.34-pr.fix-express-endpoint",
33
- "@copilotkitnext/shared": "v0.0.34-pr.fix-express-endpoint"
29
+ "zod": "^3.22.4"
34
30
  },
35
31
  "peerDependencies": {
32
+ "@ag-ui/client": "0.0.42",
33
+ "@ag-ui/core": "0.0.42",
36
34
  "@angular/cdk": "^18.0.0 || ^19.0.0",
37
35
  "@angular/common": "^18.0.0 || ^19.0.0",
38
36
  "@angular/core": "^18.0.0 || ^19.0.0",
39
37
  "rxjs": "^7.8.0",
40
- "tslib": "^2.6.0"
38
+ "tslib": "^2.6.0",
39
+ "@copilotkitnext/core": "2.0.0-next.1",
40
+ "@copilotkitnext/shared": "2.0.0-next.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@analogjs/vite-plugin-angular": "^1.20.2",
@@ -49,6 +49,7 @@
49
49
  "@angular/core": "^18.0.0",
50
50
  "@angular/platform-browser": "^18.0.0",
51
51
  "@angular/platform-browser-dynamic": "^18.0.0",
52
+ "eslint": "^9.17.0",
52
53
  "@eslint/js": "^9.30.0",
53
54
  "@lucide/build-icons": "^1.1.0",
54
55
  "@tailwindcss/cli": "^4.1.11",
@@ -73,8 +74,10 @@
73
74
  "vite": "^7.1.4",
74
75
  "vitest": "^2.0.5",
75
76
  "zone.js": "^0.14.0",
76
- "@copilotkitnext/eslint-config": "0.0.0",
77
- "@copilotkitnext/typescript-config": "0.0.0"
77
+ "@copilotkitnext/core": "2.0.0-next.1",
78
+ "@copilotkitnext/eslint-config": "2.0.0-next.1",
79
+ "@copilotkitnext/shared": "2.0.0-next.1",
80
+ "@copilotkitnext/typescript-config": "2.0.0-next.1"
78
81
  },
79
82
  "publishConfig": {
80
83
  "access": "public"
@@ -91,7 +94,7 @@
91
94
  "dev": "concurrently \"ng-packagr -p ng-package.json --watch\" \"npm run dev:css\"",
92
95
  "dev:css": "npx @tailwindcss/cli -i ./src/styles/globals.css -o ./dist/styles.css --watch",
93
96
  "clean": "rimraf dist",
94
- "lint": "eslint src --ext .ts",
97
+ "lint": "eslint .",
95
98
  "check-types": "tsc --noEmit",
96
99
  "test": "vitest run",
97
100
  "test:watch": "vitest --watch"