@copilotkit/svelte 0.0.1 → 0.1.1-canary.svelte-preview

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 (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +324 -3
  3. package/dist/app.d.ts +7 -0
  4. package/dist/components/chat/CopilotChat.svelte +247 -0
  5. package/dist/components/chat/CopilotChat.svelte.d.ts +5 -0
  6. package/dist/components/chat/CopilotChat.svelte.d.ts.map +1 -0
  7. package/dist/components/chat/CopilotChatAssistantMessage.svelte +295 -0
  8. package/dist/components/chat/CopilotChatAssistantMessage.svelte.d.ts +80 -0
  9. package/dist/components/chat/CopilotChatAssistantMessage.svelte.d.ts.map +1 -0
  10. package/dist/components/chat/CopilotChatAttachmentQueue.svelte +241 -0
  11. package/dist/components/chat/CopilotChatAttachmentQueue.svelte.d.ts +9 -0
  12. package/dist/components/chat/CopilotChatAttachmentQueue.svelte.d.ts.map +1 -0
  13. package/dist/components/chat/CopilotChatInput.svelte +192 -0
  14. package/dist/components/chat/CopilotChatInput.svelte.d.ts +20 -0
  15. package/dist/components/chat/CopilotChatInput.svelte.d.ts.map +1 -0
  16. package/dist/components/chat/CopilotChatMessage.svelte +37 -0
  17. package/dist/components/chat/CopilotChatMessage.svelte.d.ts +10 -0
  18. package/dist/components/chat/CopilotChatMessage.svelte.d.ts.map +1 -0
  19. package/dist/components/chat/CopilotChatMessageView.svelte +76 -0
  20. package/dist/components/chat/CopilotChatMessageView.svelte.d.ts +14 -0
  21. package/dist/components/chat/CopilotChatMessageView.svelte.d.ts.map +1 -0
  22. package/dist/components/chat/CopilotChatReasoningMessage.svelte +210 -0
  23. package/dist/components/chat/CopilotChatReasoningMessage.svelte.d.ts +40 -0
  24. package/dist/components/chat/CopilotChatReasoningMessage.svelte.d.ts.map +1 -0
  25. package/dist/components/chat/CopilotChatSuggestionPill.svelte +66 -0
  26. package/dist/components/chat/CopilotChatSuggestionPill.svelte.d.ts +10 -0
  27. package/dist/components/chat/CopilotChatSuggestionPill.svelte.d.ts.map +1 -0
  28. package/dist/components/chat/CopilotChatSuggestionView.svelte +36 -0
  29. package/dist/components/chat/CopilotChatSuggestionView.svelte.d.ts +10 -0
  30. package/dist/components/chat/CopilotChatSuggestionView.svelte.d.ts.map +1 -0
  31. package/dist/components/chat/CopilotChatToggleButton.svelte +47 -0
  32. package/dist/components/chat/CopilotChatToggleButton.svelte.d.ts +8 -0
  33. package/dist/components/chat/CopilotChatToggleButton.svelte.d.ts.map +1 -0
  34. package/dist/components/chat/CopilotChatToolCallsView.svelte +187 -0
  35. package/dist/components/chat/CopilotChatToolCallsView.svelte.d.ts +12 -0
  36. package/dist/components/chat/CopilotChatToolCallsView.svelte.d.ts.map +1 -0
  37. package/dist/components/chat/CopilotChatUserMessage.svelte +312 -0
  38. package/dist/components/chat/CopilotChatUserMessage.svelte.d.ts +62 -0
  39. package/dist/components/chat/CopilotChatUserMessage.svelte.d.ts.map +1 -0
  40. package/dist/components/chat/CopilotChatView.svelte +177 -0
  41. package/dist/components/chat/CopilotChatView.svelte.d.ts +32 -0
  42. package/dist/components/chat/CopilotChatView.svelte.d.ts.map +1 -0
  43. package/dist/components/chat/CopilotPopup.svelte +187 -0
  44. package/dist/components/chat/CopilotPopup.svelte.d.ts +5 -0
  45. package/dist/components/chat/CopilotPopup.svelte.d.ts.map +1 -0
  46. package/dist/components/chat/CopilotSidebar.svelte +138 -0
  47. package/dist/components/chat/CopilotSidebar.svelte.d.ts +5 -0
  48. package/dist/components/chat/CopilotSidebar.svelte.d.ts.map +1 -0
  49. package/dist/components/chat/StreamMarkdown.svelte +30 -0
  50. package/dist/components/chat/StreamMarkdown.svelte.d.ts +7 -0
  51. package/dist/components/chat/StreamMarkdown.svelte.d.ts.map +1 -0
  52. package/dist/components/chat/chat-config-context.svelte.d.ts +10 -0
  53. package/dist/components/chat/chat-config-context.svelte.d.ts.map +1 -0
  54. package/dist/components/chat/chat-config-context.svelte.js +20 -0
  55. package/dist/components/chat/dispatch-after-active-run.d.ts +3 -0
  56. package/dist/components/chat/dispatch-after-active-run.d.ts.map +1 -0
  57. package/dist/components/chat/dispatch-after-active-run.js +31 -0
  58. package/dist/components/chat/markdown/CodeBlock.svelte +78 -0
  59. package/dist/components/chat/markdown/CodeBlock.svelte.d.ts +8 -0
  60. package/dist/components/chat/markdown/CodeBlock.svelte.d.ts.map +1 -0
  61. package/dist/components/chat/markdown/CodeSpan.svelte +29 -0
  62. package/dist/components/chat/markdown/CodeSpan.svelte.d.ts +9 -0
  63. package/dist/components/chat/markdown/CodeSpan.svelte.d.ts.map +1 -0
  64. package/dist/components/chat/markdown/Table.svelte +15 -0
  65. package/dist/components/chat/markdown/Table.svelte.d.ts +8 -0
  66. package/dist/components/chat/markdown/Table.svelte.d.ts.map +1 -0
  67. package/dist/components/chat/markdown/TableBody.svelte +11 -0
  68. package/dist/components/chat/markdown/TableBody.svelte.d.ts +8 -0
  69. package/dist/components/chat/markdown/TableBody.svelte.d.ts.map +1 -0
  70. package/dist/components/chat/markdown/TableCell.svelte +29 -0
  71. package/dist/components/chat/markdown/TableCell.svelte.d.ts +10 -0
  72. package/dist/components/chat/markdown/TableCell.svelte.d.ts.map +1 -0
  73. package/dist/components/chat/markdown/TableHead.svelte +11 -0
  74. package/dist/components/chat/markdown/TableHead.svelte.d.ts +8 -0
  75. package/dist/components/chat/markdown/TableHead.svelte.d.ts.map +1 -0
  76. package/dist/components/chat/markdown/TableRow.svelte +11 -0
  77. package/dist/components/chat/markdown/TableRow.svelte.d.ts +8 -0
  78. package/dist/components/chat/markdown/TableRow.svelte.d.ts.map +1 -0
  79. package/dist/components/chat/markdown/highlight.d.ts +8 -0
  80. package/dist/components/chat/markdown/highlight.d.ts.map +1 -0
  81. package/dist/components/chat/markdown/highlight.js +91 -0
  82. package/dist/components/chat/media-parts.d.ts +11 -0
  83. package/dist/components/chat/media-parts.d.ts.map +1 -0
  84. package/dist/components/chat/media-parts.js +17 -0
  85. package/dist/components/chat/types.d.ts +139 -0
  86. package/dist/components/chat/types.d.ts.map +1 -0
  87. package/dist/components/chat/types.js +7 -0
  88. package/dist/components/icons/index.d.ts +2 -0
  89. package/dist/components/icons/index.d.ts.map +1 -0
  90. package/dist/components/icons/index.js +1 -0
  91. package/dist/components/index.d.ts +18 -0
  92. package/dist/components/index.d.ts.map +1 -0
  93. package/dist/components/index.js +17 -0
  94. package/dist/hooks/connect-agent-context.svelte.d.ts +9 -0
  95. package/dist/hooks/connect-agent-context.svelte.d.ts.map +1 -0
  96. package/dist/hooks/connect-agent-context.svelte.js +25 -0
  97. package/dist/hooks/create-agent.svelte.d.ts +23 -0
  98. package/dist/hooks/create-agent.svelte.d.ts.map +1 -0
  99. package/dist/hooks/create-agent.svelte.js +341 -0
  100. package/dist/hooks/create-attachments.svelte.d.ts +33 -0
  101. package/dist/hooks/create-attachments.svelte.d.ts.map +1 -0
  102. package/dist/hooks/create-attachments.svelte.js +232 -0
  103. package/dist/hooks/create-capabilities.svelte.d.ts +6 -0
  104. package/dist/hooks/create-capabilities.svelte.d.ts.map +1 -0
  105. package/dist/hooks/create-capabilities.svelte.js +17 -0
  106. package/dist/hooks/create-interrupt.svelte.d.ts +24 -0
  107. package/dist/hooks/create-interrupt.svelte.d.ts.map +1 -0
  108. package/dist/hooks/create-interrupt.svelte.js +333 -0
  109. package/dist/hooks/create-suggestions.svelte.d.ts +12 -0
  110. package/dist/hooks/create-suggestions.svelte.d.ts.map +1 -0
  111. package/dist/hooks/create-suggestions.svelte.js +61 -0
  112. package/dist/hooks/create-threads.svelte.d.ts +33 -0
  113. package/dist/hooks/create-threads.svelte.d.ts.map +1 -0
  114. package/dist/hooks/create-threads.svelte.js +230 -0
  115. package/dist/hooks/index.d.ts +20 -0
  116. package/dist/hooks/index.d.ts.map +1 -0
  117. package/dist/hooks/index.js +11 -0
  118. package/dist/hooks/load-katex-styles.svelte.d.ts +2 -0
  119. package/dist/hooks/load-katex-styles.svelte.d.ts.map +1 -0
  120. package/dist/hooks/load-katex-styles.svelte.js +11 -0
  121. package/dist/hooks/register-frontend-tool.svelte.d.ts +3 -0
  122. package/dist/hooks/register-frontend-tool.svelte.d.ts.map +1 -0
  123. package/dist/hooks/register-frontend-tool.svelte.js +32 -0
  124. package/dist/hooks/register-human-in-the-loop.svelte.d.ts +3 -0
  125. package/dist/hooks/register-human-in-the-loop.svelte.d.ts.map +1 -0
  126. package/dist/hooks/register-human-in-the-loop.svelte.js +84 -0
  127. package/dist/hooks/register-render-tool-call.svelte.d.ts +30 -0
  128. package/dist/hooks/register-render-tool-call.svelte.d.ts.map +1 -0
  129. package/dist/hooks/register-render-tool-call.svelte.js +26 -0
  130. package/dist/index.d.ts +6 -0
  131. package/dist/index.d.ts.map +1 -0
  132. package/dist/index.js +6 -0
  133. package/dist/lib/svelte-core.d.ts +54 -0
  134. package/dist/lib/svelte-core.d.ts.map +1 -0
  135. package/dist/lib/svelte-core.js +145 -0
  136. package/dist/providers/CopilotKitProvider.svelte +291 -0
  137. package/dist/providers/CopilotKitProvider.svelte.d.ts +9 -0
  138. package/dist/providers/CopilotKitProvider.svelte.d.ts.map +1 -0
  139. package/dist/providers/CopilotKitProvider.types.d.ts +47 -0
  140. package/dist/providers/CopilotKitProvider.types.d.ts.map +1 -0
  141. package/dist/providers/CopilotKitProvider.types.js +1 -0
  142. package/dist/providers/context.d.ts +19 -0
  143. package/dist/providers/context.d.ts.map +1 -0
  144. package/dist/providers/context.js +2 -0
  145. package/dist/providers/index.d.ts +6 -0
  146. package/dist/providers/index.d.ts.map +1 -0
  147. package/dist/providers/index.js +2 -0
  148. package/dist/providers/useCopilotKit.d.ts +3 -0
  149. package/dist/providers/useCopilotKit.d.ts.map +1 -0
  150. package/dist/providers/useCopilotKit.js +9 -0
  151. package/dist/styles/globals.css +691 -0
  152. package/dist/styles.css +2 -0
  153. package/dist/styles.d.ts +1 -0
  154. package/dist/types/a2ui.d.ts +5 -0
  155. package/dist/types/a2ui.d.ts.map +1 -0
  156. package/dist/types/a2ui.js +1 -0
  157. package/dist/types/activity-message-renderer.d.ts +17 -0
  158. package/dist/types/activity-message-renderer.d.ts.map +1 -0
  159. package/dist/types/activity-message-renderer.js +1 -0
  160. package/dist/types/custom-message-renderer.d.ts +18 -0
  161. package/dist/types/custom-message-renderer.d.ts.map +1 -0
  162. package/dist/types/custom-message-renderer.js +1 -0
  163. package/dist/types/frontend-tool.d.ts +6 -0
  164. package/dist/types/frontend-tool.d.ts.map +1 -0
  165. package/dist/types/frontend-tool.js +1 -0
  166. package/dist/types/human-in-the-loop.d.ts +31 -0
  167. package/dist/types/human-in-the-loop.d.ts.map +1 -0
  168. package/dist/types/human-in-the-loop.js +1 -0
  169. package/dist/types/index.d.ts +9 -0
  170. package/dist/types/index.d.ts.map +1 -0
  171. package/dist/types/index.js +8 -0
  172. package/dist/types/interrupt.d.ts +23 -0
  173. package/dist/types/interrupt.d.ts.map +1 -0
  174. package/dist/types/interrupt.js +1 -0
  175. package/dist/types/sandbox-function.d.ts +8 -0
  176. package/dist/types/sandbox-function.d.ts.map +1 -0
  177. package/dist/types/sandbox-function.js +1 -0
  178. package/dist/types/tool-call-renderer.d.ts +29 -0
  179. package/dist/types/tool-call-renderer.d.ts.map +1 -0
  180. package/dist/types/tool-call-renderer.js +1 -0
  181. package/package.json +103 -8
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-duration:initial;--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--tw-space-y-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-divide-y-reverse:0}}}@layer theme{:root,:host{--cpk-font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--cpk-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--cpk-color-green-500:oklch(72.3% .219 149.579);--cpk-spacing:.25rem;--cpk-container-3xl:48rem;--cpk-text-xs:.75rem;--cpk-text-xs--line-height:calc(1 / .75);--cpk-text-sm:.875rem;--cpk-text-sm--line-height:calc(1.25 / .875);--cpk-text-base:1rem;--cpk-text-base--line-height:calc(1.5 / 1);--cpk-text-lg:1.125rem;--cpk-text-lg--line-height:calc(1.75 / 1.125);--cpk-text-xl:1.25rem;--cpk-text-xl--line-height:calc(1.75 / 1.25);--cpk-text-2xl:1.5rem;--cpk-text-2xl--line-height:calc(2 / 1.5);--cpk-text-3xl:1.875rem;--cpk-text-3xl--line-height:calc(2.25 / 1.875);--cpk-font-weight-medium:500;--cpk-font-weight-semibold:600;--cpk-ease-in-out:cubic-bezier(.4, 0, .2, 1);--cpk-animate-spin:spin 1s linear infinite;--cpk-animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--cpk-default-transition-duration:.15s;--cpk-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--cpk-default-font-family:var(--cpk-font-sans);--cpk-default-mono-font-family:var(--cpk-font-mono)}}@layer base{[data-copilotkit],[data-copilotkit] *,[data-copilotkit] :after,[data-copilotkit] :before{box-sizing:border-box;border:0 solid;margin:0;padding:0}[data-copilotkit] ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}[data-copilotkit],[data-copilotkit]{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--cpk-default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--cpk-default-font-feature-settings,normal);font-variation-settings:var(--cpk-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}[data-copilotkit] hr,hr[data-copilotkit]{height:0;color:inherit;border-top-width:1px}[data-copilotkit] abbr:where([title]),abbr:where([title])[data-copilotkit]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-copilotkit] h1,h1[data-copilotkit],[data-copilotkit] h2,h2[data-copilotkit],[data-copilotkit] h3,h3[data-copilotkit],[data-copilotkit] h4,h4[data-copilotkit],[data-copilotkit] h5,h5[data-copilotkit],[data-copilotkit] h6,h6[data-copilotkit]{font-size:inherit;font-weight:inherit}[data-copilotkit] a,a[data-copilotkit]{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}[data-copilotkit] b,b[data-copilotkit],[data-copilotkit] strong,strong[data-copilotkit]{font-weight:bolder}[data-copilotkit] code,code[data-copilotkit],[data-copilotkit] kbd,kbd[data-copilotkit],[data-copilotkit] samp,samp[data-copilotkit],[data-copilotkit] pre,pre[data-copilotkit]{font-family:var(--cpk-default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--cpk-default-mono-font-feature-settings,normal);font-variation-settings:var(--cpk-default-mono-font-variation-settings,normal);font-size:1em}[data-copilotkit] small,small[data-copilotkit]{font-size:80%}[data-copilotkit] sub,sub[data-copilotkit],[data-copilotkit] sup,sup[data-copilotkit]{vertical-align:baseline;font-size:75%;line-height:0;position:relative}[data-copilotkit] sub,sub[data-copilotkit]{bottom:-.25em}[data-copilotkit] sup,sup[data-copilotkit]{top:-.5em}[data-copilotkit] table,table[data-copilotkit]{text-indent:0;border-color:inherit;border-collapse:collapse}[data-copilotkit] :-moz-focusring:where(:not(iframe)){outline:auto}[data-copilotkit] progress,progress[data-copilotkit]{vertical-align:baseline}[data-copilotkit] summary,summary[data-copilotkit]{display:list-item}[data-copilotkit] ol,ol[data-copilotkit],[data-copilotkit] ul,ul[data-copilotkit],[data-copilotkit] menu,menu[data-copilotkit]{list-style:none}[data-copilotkit] img,img[data-copilotkit],[data-copilotkit] svg,svg[data-copilotkit],[data-copilotkit] video,video[data-copilotkit],[data-copilotkit] canvas,canvas[data-copilotkit],[data-copilotkit] audio,audio[data-copilotkit],[data-copilotkit] iframe,iframe[data-copilotkit],[data-copilotkit] embed,embed[data-copilotkit],[data-copilotkit] object,object[data-copilotkit]{vertical-align:middle;display:block}[data-copilotkit] img,img[data-copilotkit],[data-copilotkit] video,video[data-copilotkit]{max-width:100%;height:auto}[data-copilotkit] button,button[data-copilotkit],[data-copilotkit] input,input[data-copilotkit],[data-copilotkit] select,select[data-copilotkit],[data-copilotkit] optgroup,optgroup[data-copilotkit],[data-copilotkit] textarea,textarea[data-copilotkit]{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}[data-copilotkit] ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}[data-copilotkit] :where(select:is([multiple],[size])) optgroup{font-weight:bolder}[data-copilotkit] :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}[data-copilotkit] ::file-selector-button{margin-inline-end:4px}[data-copilotkit] ::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){[data-copilotkit] ::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){[data-copilotkit] ::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}[data-copilotkit] textarea,textarea[data-copilotkit]{resize:vertical}[data-copilotkit] ::-webkit-search-decoration{-webkit-appearance:none}[data-copilotkit] ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}[data-copilotkit] ::-webkit-datetime-edit{display:inline-flex}[data-copilotkit] ::-webkit-datetime-edit-fields-wrapper{padding:0}[data-copilotkit] ::-webkit-datetime-edit{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-year-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-month-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-day-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-hour-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-minute-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-second-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-millisecond-field{padding-block:0}[data-copilotkit] ::-webkit-datetime-edit-meridiem-field{padding-block:0}[data-copilotkit] ::-webkit-calendar-picker-indicator{line-height:1}[data-copilotkit] :-moz-ui-invalid{box-shadow:none}[data-copilotkit] button,button[data-copilotkit],[data-copilotkit] input:where([type=button],[type=reset],[type=submit]),input:where([type=button],[type=reset],[type=submit])[data-copilotkit]{appearance:button}[data-copilotkit] ::file-selector-button{appearance:button}[data-copilotkit] ::-webkit-inner-spin-button{height:auto}[data-copilotkit] ::-webkit-outer-spin-button{height:auto}[data-copilotkit] [hidden]:where(:not([hidden=until-found])),[hidden]:where(:not([hidden=until-found]))[data-copilotkit]{display:none!important}[data-copilotkit],[data-copilotkit] *{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){[data-copilotkit],[data-copilotkit] *{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}[data-copilotkit]{color:var(--foreground);background-color:var(--background)}@supports (height:100dvh){[data-copilot-sidebar]{height:100dvh}}@media (min-width:768px){[data-copilot-sidebar]{width:var(--sidebar-width,480px)!important}}@media (max-width:767px){[data-copilot-sidebar]{-webkit-overflow-scrolling:touch;width:100%!important}[data-sidebar-chat]{touch-action:pan-y}}}@layer components{[data-copilotkit] [data-streamdown=ordered-list]{white-space:normal;list-style-type:decimal;list-style-position:inside}[data-copilotkit] [data-streamdown=unordered-list]{white-space:normal;list-style-type:disc;list-style-position:inside}[data-copilotkit] [data-streamdown=list-item]{padding-block:var(--cpk-spacing)}[data-copilotkit] [data-streamdown=list-item]>p{display:inline}[data-copilotkit] [data-streamdown=horizontal-rule]{margin-block:calc(var(--cpk-spacing) * 6);border-color:var(--border)}[data-copilotkit] [data-streamdown=strong]{--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=link]{--tw-font-weight:var(--cpk-font-weight-medium);font-weight:var(--cpk-font-weight-medium);color:var(--primary);overflow-wrap:anywhere;text-decoration-line:underline}[data-copilotkit] [data-streamdown=heading-1]{margin-top:calc(var(--cpk-spacing) * 6);margin-bottom:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-3xl);line-height:var(--tw-leading,var(--cpk-text-3xl--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=heading-2]{margin-top:calc(var(--cpk-spacing) * 6);margin-bottom:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-2xl);line-height:var(--tw-leading,var(--cpk-text-2xl--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=heading-3]{margin-top:calc(var(--cpk-spacing) * 6);margin-bottom:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-xl);line-height:var(--tw-leading,var(--cpk-text-xl--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=heading-4]{margin-top:calc(var(--cpk-spacing) * 6);margin-bottom:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-lg);line-height:var(--tw-leading,var(--cpk-text-lg--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=heading-5]{margin-top:calc(var(--cpk-spacing) * 6);margin-bottom:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-base);line-height:var(--tw-leading,var(--cpk-text-base--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=heading-6]{margin-top:calc(var(--cpk-spacing) * 6);margin-bottom:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}[data-copilotkit] [data-streamdown=table-wrapper]{margin-block:calc(var(--cpk-spacing) * 4);flex-direction:column;display:flex}:where([data-copilotkit] [data-streamdown=table-wrapper]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--cpk-spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--cpk-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}[data-copilotkit] [data-streamdown=table-wrapper]>div:last-child{overflow-x:auto}[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child){justify-content:flex-end;align-items:center;gap:var(--cpk-spacing);display:flex}[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div{position:relative}[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div>button{cursor:pointer;padding:var(--cpk-spacing);color:var(--muted-foreground);transition-property:all;transition-timing-function:var(--tw-ease,var(--cpk-default-transition-timing-function));transition-duration:var(--tw-duration,var(--cpk-default-transition-duration))}@media (hover:hover){[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div>button:hover{color:var(--foreground)}}[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div>button:disabled{cursor:not-allowed;opacity:.5}[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div>div{z-index:10;margin-top:var(--cpk-spacing);border-radius:calc(var(--radius) - 2px);border-style:var(--tw-border-style);border-width:1px;border-color:var(--border);background-color:var(--background);--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);min-width:120px;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);position:absolute;top:100%;right:0;overflow:hidden}[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div>div>button{width:100%;padding-inline:calc(var(--cpk-spacing) * 3);padding-block:calc(var(--cpk-spacing) * 2);text-align:left;font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--cpk-default-transition-timing-function));transition-duration:var(--tw-duration,var(--cpk-default-transition-duration))}@media (hover:hover){[data-copilotkit] [data-streamdown=table-wrapper]>div:first-child:not(:last-child)>div>div>button:hover{background-color:var(--muted)}}[data-copilotkit] [data-streamdown=table]{border-collapse:collapse;border-style:var(--tw-border-style);border-width:1px;border-color:var(--border);width:100%}[data-copilotkit] [data-streamdown=table-header]{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){[data-copilotkit] [data-streamdown=table-header]{background-color:color-mix(in oklab, var(--muted) 80%, transparent)}}:where([data-copilotkit] [data-streamdown=table-body]>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-color:var(--border)}[data-copilotkit] [data-streamdown=table-body]{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){[data-copilotkit] [data-streamdown=table-body]{background-color:color-mix(in oklab, var(--muted) 40%, transparent)}}[data-copilotkit] [data-streamdown=table-row]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--border)}[data-copilotkit] [data-streamdown=table-header-cell]{padding-inline:calc(var(--cpk-spacing) * 4);padding-block:calc(var(--cpk-spacing) * 2);text-align:left;font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height));--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold);white-space:nowrap}[data-copilotkit] [data-streamdown=table-cell]{padding-inline:calc(var(--cpk-spacing) * 4);padding-block:calc(var(--cpk-spacing) * 2);font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height))}[data-copilotkit] [data-streamdown=blockquote]{margin-block:calc(var(--cpk-spacing) * 4);border-left-style:var(--tw-border-style);border-left-width:4px;border-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){[data-copilotkit] [data-streamdown=blockquote]{border-color:color-mix(in oklab, var(--muted-foreground) 30%, transparent)}}[data-copilotkit] [data-streamdown=blockquote]{padding-left:calc(var(--cpk-spacing) * 4);color:var(--muted-foreground);font-style:italic}[data-copilotkit] [data-streamdown=inline-code]{background-color:var(--muted);padding-inline:calc(var(--cpk-spacing) * 1.5);padding-block:calc(var(--cpk-spacing) * .5);font-family:var(--cpk-font-mono);font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height));border-radius:.25rem}[data-copilotkit] [data-streamdown=image-wrapper]{margin-block:calc(var(--cpk-spacing) * 4);display:inline-block;position:relative}[data-copilotkit] [data-streamdown=image]{border-radius:var(--radius);max-width:100%}[data-copilotkit] [data-streamdown=code-block]{margin-block:calc(var(--cpk-spacing) * 4);border-radius:calc(var(--radius) + 4px);border-style:var(--tw-border-style);border-width:1px;border-color:var(--border);width:100%;overflow:hidden}[data-copilotkit] [data-streamdown=code-block-header]{background-color:var(--muted);justify-content:space-between;align-items:center;display:flex}@supports (color:color-mix(in lab, red, red)){[data-copilotkit] [data-streamdown=code-block-header]{background-color:color-mix(in oklab, var(--muted) 80%, transparent)}}[data-copilotkit] [data-streamdown=code-block-header]{padding:calc(var(--cpk-spacing) * 3);font-size:var(--cpk-text-xs);line-height:var(--tw-leading,var(--cpk-text-xs--line-height));color:var(--muted-foreground)}[data-copilotkit] [data-streamdown=code-block-body]{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--border);overflow-x:auto}[data-copilotkit] [data-streamdown=code-block-copy-button],[data-copilotkit] [data-streamdown=code-block-download-button]{cursor:pointer;padding:var(--cpk-spacing);color:var(--muted-foreground);transition-property:all;transition-timing-function:var(--tw-ease,var(--cpk-default-transition-timing-function));transition-duration:var(--tw-duration,var(--cpk-default-transition-duration))}@media (hover:hover){:is([data-copilotkit] [data-streamdown=code-block-copy-button],[data-copilotkit] [data-streamdown=code-block-download-button]):hover{color:var(--foreground)}}:is([data-copilotkit] [data-streamdown=code-block-copy-button],[data-copilotkit] [data-streamdown=code-block-download-button]):disabled{cursor:not-allowed;opacity:.5}[data-copilotkit] [data-streamdown=code-block-body]>code{font-family:var(--cpk-font-mono)}[data-copilotkit] .hljs-comment,[data-copilotkit] .hljs-quote{color:#6e7781;font-style:italic}[data-copilotkit] .hljs-keyword,[data-copilotkit] .hljs-selector-tag,[data-copilotkit] .hljs-type,[data-copilotkit] .hljs-name{color:#cf222e}[data-copilotkit] .hljs-string,[data-copilotkit] .hljs-attr-value,[data-copilotkit] .hljs-regexp{color:#0a3069}[data-copilotkit] .hljs-number,[data-copilotkit] .hljs-literal,[data-copilotkit] .hljs-built_in,[data-copilotkit] .hljs-symbol{color:#0550ae}[data-copilotkit] .hljs-title,[data-copilotkit] .hljs-title.function_,[data-copilotkit] .hljs-section{color:#8250df}[data-copilotkit] .hljs-variable,[data-copilotkit] .hljs-attr,[data-copilotkit] .hljs-attribute,[data-copilotkit] .hljs-selector-attr,[data-copilotkit] .hljs-selector-class,[data-copilotkit] .hljs-selector-id,[data-copilotkit] .hljs-params{color:#953800}[data-copilotkit] .hljs-meta,[data-copilotkit] .hljs-meta .hljs-keyword{color:#6e7781}[data-copilotkit] .hljs-addition{color:#116329}[data-copilotkit] .hljs-deletion{color:#82071e}[data-copilotkit] .hljs-emphasis{font-style:italic}[data-copilotkit] .hljs-strong{font-weight:600}.dark [data-copilotkit] .hljs-comment,.dark [data-copilotkit] .hljs-quote,[data-copilotkit].dark .hljs-comment,[data-copilotkit].dark .hljs-quote{color:#8b949e}.dark [data-copilotkit] .hljs-keyword,.dark [data-copilotkit] .hljs-selector-tag,.dark [data-copilotkit] .hljs-type,.dark [data-copilotkit] .hljs-name,[data-copilotkit].dark .hljs-keyword,[data-copilotkit].dark .hljs-selector-tag,[data-copilotkit].dark .hljs-type,[data-copilotkit].dark .hljs-name{color:#ff7b72}.dark [data-copilotkit] .hljs-string,.dark [data-copilotkit] .hljs-attr-value,.dark [data-copilotkit] .hljs-regexp,[data-copilotkit].dark .hljs-string,[data-copilotkit].dark .hljs-attr-value,[data-copilotkit].dark .hljs-regexp{color:#a5d6ff}.dark [data-copilotkit] .hljs-number,.dark [data-copilotkit] .hljs-literal,.dark [data-copilotkit] .hljs-built_in,.dark [data-copilotkit] .hljs-symbol,[data-copilotkit].dark .hljs-number,[data-copilotkit].dark .hljs-literal,[data-copilotkit].dark .hljs-built_in,[data-copilotkit].dark .hljs-symbol{color:#79c0ff}.dark [data-copilotkit] .hljs-title,.dark [data-copilotkit] .hljs-title.function_,.dark [data-copilotkit] .hljs-section,[data-copilotkit].dark .hljs-title,[data-copilotkit].dark .hljs-title.function_,[data-copilotkit].dark .hljs-section{color:#d2a8ff}.dark [data-copilotkit] .hljs-variable,.dark [data-copilotkit] .hljs-attr,.dark [data-copilotkit] .hljs-attribute,.dark [data-copilotkit] .hljs-selector-attr,.dark [data-copilotkit] .hljs-selector-class,.dark [data-copilotkit] .hljs-selector-id,.dark [data-copilotkit] .hljs-params,[data-copilotkit].dark .hljs-variable,[data-copilotkit].dark .hljs-attr,[data-copilotkit].dark .hljs-attribute,[data-copilotkit].dark .hljs-selector-attr,[data-copilotkit].dark .hljs-selector-class,[data-copilotkit].dark .hljs-selector-id,[data-copilotkit].dark .hljs-params{color:#ffa657}.dark [data-copilotkit] .hljs-meta,.dark [data-copilotkit] .hljs-meta .hljs-keyword,[data-copilotkit].dark .hljs-meta,[data-copilotkit].dark .hljs-meta .hljs-keyword{color:#8b949e}.dark [data-copilotkit] .hljs-addition,[data-copilotkit].dark .hljs-addition{color:#7ee787}.dark [data-copilotkit] .hljs-deletion,[data-copilotkit].dark .hljs-deletion{color:#ffa198}[data-copilotkit] [data-streamdown=mermaid-block]{margin-block:calc(var(--cpk-spacing) * 4);border-radius:calc(var(--radius) + 4px);border-style:var(--tw-border-style);border-width:1px;border-color:var(--border);height:auto;padding:calc(var(--cpk-spacing) * 4);position:relative}[data-copilotkit] [data-streamdown=subscript],[data-copilotkit] [data-streamdown=superscript]{font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height))}}@layer utilities{.cpk\:relative{position:relative}.cpk\:mx-auto{margin-inline:auto}.cpk\:my-1{margin-block:var(--cpk-spacing)}.cpk\:prose{color:var(--tw-prose-body);max-width:65ch}.cpk\:prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.cpk\:prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.cpk\:prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.cpk\:prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.cpk\:prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.cpk\:prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.cpk\:prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.cpk\:prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.cpk\:prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.cpk\:prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.cpk\:prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.cpk\:prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.cpk\:prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.cpk\:prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.cpk\:prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.cpk\:prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.cpk\:prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.cpk\:prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.cpk\:prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.cpk\:prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.cpk\:prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.cpk\:prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.cpk\:prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.cpk\:prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.cpk\:prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.cpk\:prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.cpk\:prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.cpk\:prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.cpk\:prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.cpk\:prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.cpk\:prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.cpk\:prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.cpk\:prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.cpk\:prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.cpk\:prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.cpk\:prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.cpk\:prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.cpk\:prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.cpk\:prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.cpk\:prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.cpk\:prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.cpk\:prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.cpk\:prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.cpk\:prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.cpk\:prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.cpk\:prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.cpk\:prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.cpk\:prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.cpk\:prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.cpk\:prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.cpk\:prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.cpk\:prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.cpk\:prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.cpk\:prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.cpk\:prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.cpk\:prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.cpk\:prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.cpk\:prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.cpk\:prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.cpk\:prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.cpk\:prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.cpk\:prose :where(.cpk\:prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.cpk\:prose :where(.cpk\:prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.cpk\:prose :where(.cpk\:prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.cpk\:prose :where(.cpk\:prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.cpk\:prose :where(.cpk\:prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.cpk\:prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.cpk\:prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.cpk\:prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.cpk\:prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.cpk\:prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.cpk\:prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.cpk\:prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.cpk\:prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.cpk\:prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.cpk\:prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.cpk\:prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.cpk\:prose :where(.cpk\:prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.cpk\:prose :where(.cpk\:prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.cpk\:-mt-\[0px\]{margin-top:0}.cpk\:mt-4{margin-top:calc(var(--cpk-spacing) * 4)}.cpk\:mt-\[4px\]{margin-top:4px}.cpk\:-mr-\[5px\]{margin-right:-5px}.cpk\:mb-2{margin-bottom:calc(var(--cpk-spacing) * 2)}.cpk\:-ml-\[5px\]{margin-left:-5px}.cpk\:ml-1{margin-left:var(--cpk-spacing)}.cpk\:flex{display:flex}.cpk\:grid{display:grid}.cpk\:inline-block{display:inline-block}.cpk\:inline-flex{display:inline-flex}.cpk\:size-3\.5{width:calc(var(--cpk-spacing) * 3.5);height:calc(var(--cpk-spacing) * 3.5)}.cpk\:size-4{width:calc(var(--cpk-spacing) * 4);height:calc(var(--cpk-spacing) * 4)}.cpk\:size-\[18px\]{width:18px;height:18px}.cpk\:size-\[20px\]{width:20px;height:20px}.cpk\:h-1\.5{height:calc(var(--cpk-spacing) * 1.5)}.cpk\:h-2{height:calc(var(--cpk-spacing) * 2)}.cpk\:h-6{height:calc(var(--cpk-spacing) * 6)}.cpk\:h-8{height:calc(var(--cpk-spacing) * 8)}.cpk\:h-10{height:calc(var(--cpk-spacing) * 10)}.cpk\:h-auto{height:auto}.cpk\:max-h-\[80px\]{max-height:80px}.cpk\:max-h-\[120px\]{max-height:120px}.cpk\:w-1\.5{width:calc(var(--cpk-spacing) * 1.5)}.cpk\:w-2{width:calc(var(--cpk-spacing) * 2)}.cpk\:w-6{width:calc(var(--cpk-spacing) * 6)}.cpk\:w-8{width:calc(var(--cpk-spacing) * 8)}.cpk\:w-auto{width:auto}.cpk\:w-full{width:100%}.cpk\:max-w-3xl{max-width:var(--cpk-container-3xl)}.cpk\:max-w-\[80\%\]{max-width:80%}.cpk\:max-w-\[80px\]{max-width:80px}.cpk\:max-w-\[240px\]{max-width:240px}.cpk\:max-w-\[300px\]{max-width:300px}.cpk\:max-w-full{max-width:100%}.cpk\:shrink-0{flex-shrink:0}.cpk\:rotate-90{rotate:90deg}.cpk\:animate-pulse{animation:var(--cpk-animate-pulse)}.cpk\:animate-spin{animation:var(--cpk-animate-spin)}.cpk\:cursor-default{cursor:default}.cpk\:cursor-pointer{cursor:pointer}.cpk\:flex-col{flex-direction:column}.cpk\:flex-row{flex-direction:row}.cpk\:flex-wrap{flex-wrap:wrap}.cpk\:items-center{align-items:center}.cpk\:items-end{align-items:flex-end}.cpk\:items-stretch{align-items:stretch}.cpk\:justify-center{justify-content:center}.cpk\:justify-end{justify-content:flex-end}.cpk\:gap-1{gap:var(--cpk-spacing)}.cpk\:gap-2{gap:calc(var(--cpk-spacing) * 2)}.cpk\:overflow-hidden{overflow:hidden}.cpk\:overflow-x-auto{overflow-x:auto}.cpk\:rounded-\[18px\]{border-radius:18px}.cpk\:rounded-full{border-radius:2147483647px}.cpk\:rounded-lg{border-radius:var(--radius)}.cpk\:rounded-md{border-radius:calc(var(--radius) - 2px)}.cpk\:rounded-xl{border-radius:calc(var(--radius) + 4px)}.cpk\:border{border-style:var(--tw-border-style);border-width:1px}.cpk\:border-border{border-color:var(--border)}.cpk\:bg-muted{background-color:var(--muted)}.cpk\:bg-muted-foreground{background-color:var(--muted-foreground)}.cpk\:bg-transparent{background-color:#0000}.cpk\:object-cover{object-fit:cover}.cpk\:p-0{padding:0}.cpk\:px-0{padding-inline:0}.cpk\:px-3{padding-inline:calc(var(--cpk-spacing) * 3)}.cpk\:px-4{padding-inline:calc(var(--cpk-spacing) * 4)}.cpk\:py-1{padding-block:var(--cpk-spacing)}.cpk\:py-1\.5{padding-block:calc(var(--cpk-spacing) * 1.5)}.cpk\:py-2{padding-block:calc(var(--cpk-spacing) * 2)}.cpk\:py-3{padding-block:calc(var(--cpk-spacing) * 3)}.cpk\:pt-1{padding-top:var(--cpk-spacing)}.cpk\:pt-10{padding-top:calc(var(--cpk-spacing) * 10)}.cpk\:pb-2{padding-bottom:calc(var(--cpk-spacing) * 2)}.cpk\:align-middle{vertical-align:middle}.cpk\:text-sm{font-size:var(--cpk-text-sm);line-height:var(--tw-leading,var(--cpk-text-sm--line-height))}.cpk\:font-medium{--tw-font-weight:var(--cpk-font-weight-medium);font-weight:var(--cpk-font-weight-medium)}.cpk\:font-semibold{--tw-font-weight:var(--cpk-font-weight-semibold);font-weight:var(--cpk-font-weight-semibold)}.cpk\:break-words{overflow-wrap:break-word}.cpk\:whitespace-pre-wrap{white-space:pre-wrap}.cpk\:text-\[rgb\(93\,93\,93\)\]{color:#5d5d5d}.cpk\:text-green-500{color:var(--cpk-color-green-500)}.cpk\:text-muted-foreground{color:var(--muted-foreground)}.cpk\:opacity-0{opacity:0}.cpk\:transition-\[grid-template-rows\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--cpk-default-transition-timing-function));transition-duration:var(--tw-duration,var(--cpk-default-transition-duration))}.cpk\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--cpk-default-transition-timing-function));transition-duration:var(--tw-duration,var(--cpk-default-transition-duration))}.cpk\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--cpk-default-transition-timing-function));transition-duration:var(--tw-duration,var(--cpk-default-transition-duration))}.cpk\:duration-200{--tw-duration:.2s;transition-duration:.2s}.cpk\:ease-in-out{--tw-ease:var(--cpk-ease-in-out);transition-timing-function:var(--cpk-ease-in-out)}.cpk\:select-none{-webkit-user-select:none;user-select:none}:is(:where(.cpk\:group):focus-within .cpk\:group-focus-within\:opacity-100){opacity:1}@media (hover:hover){:is(:where(.cpk\:group):hover .cpk\:group-hover\:opacity-100){opacity:1}.cpk\:hover\:bg-\[\#E8E8E8\]:hover{background-color:#e8e8e8}.cpk\:hover\:text-\[rgb\(93\,93\,93\)\]:hover{color:#5d5d5d}.cpk\:hover\:text-foreground:hover{color:var(--foreground)}}.cpk\:disabled\:pointer-events-none:disabled{pointer-events:none}.cpk\:disabled\:opacity-50:disabled{opacity:.5}.cpk\:dark\:text-\[rgb\(243\,243\,243\)\]:is(.dark *){color:#f3f3f3}.cpk\:dark\:prose-invert:is(.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}@media (hover:hover){.cpk\:dark\:hover\:bg-\[\#303030\]:is(.dark *):hover{background-color:#303030}.cpk\:dark\:hover\:text-\[rgb\(243\,243\,243\)\]:is(.dark *):hover{color:#f3f3f3}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}[data-copilotkit]{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark [data-copilotkit],[data-copilotkit].dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(14.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(14.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(98.5% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(39.6% .141 25.723);--destructive-foreground:oklch(63.7% .237 25.331);--border:oklch(26.9% 0 0);--input:oklch(26.9% 0 0);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(26.9% 0 0);--sidebar-ring:oklch(43.9% 0 0)}[data-copilotkit] div[data-streamdown=code-block]>pre{margin-top:0;margin-bottom:0}[data-copilotkit] ::-webkit-scrollbar{width:6px}[data-copilotkit] ::-webkit-scrollbar-track{background:0 0}[data-copilotkit] ::-webkit-scrollbar-thumb{background:oklch(50% 0 0);border-radius:9999px}[data-copilotkit] ::-webkit-scrollbar-thumb:hover{background:oklch(40% 0 0)}[data-copilotkit] *{scrollbar-width:thin;scrollbar-color:oklch(50% 0 0) transparent}[data-copilotkit] .prose input[type=checkbox]{appearance:none;color:#004f99;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#9b9b9b;border-radius:2px;flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[data-copilotkit] .prose input[type=checkbox]:checked{background-color:#004f99;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#004f99}.cpk-intelligence-indicator{white-space:nowrap;align-self:flex-start;align-items:center;gap:.55rem;margin:.4rem 0;padding:.4rem .85rem;display:inline-flex;position:relative}.cpk-intelligence-indicator__chrome{-webkit-backdrop-filter:blur(14px)saturate(160%);backdrop-filter:blur(14px)saturate(160%);opacity:1;pointer-events:none;background:linear-gradient(135deg,#ffffff8c 0%,#eee6fe8c 100%);border:1px solid #9599e052;border-radius:999px;transition:opacity .4s ease-out .25s;position:absolute;inset:0;box-shadow:0 1px 2px #5e64ad0f,0 8px 24px #9599e014,inset 0 1px #fff9}.cpk-intelligence-indicator[data-status=finished] .cpk-intelligence-indicator__chrome{opacity:0}.cpk-intelligence-indicator__content{color:#5b21b6eb;letter-spacing:.01em;align-items:center;gap:.55rem;font-size:.78rem;font-weight:500;transition:color .4s ease-out .25s;display:inline-flex;position:relative}.cpk-intelligence-indicator[data-status=finished] .cpk-intelligence-indicator__content{color:#737373cc}.cpk-intelligence-indicator__label{transition:transform .4s ease-out .25s;display:inline-block;transform:skew(0deg)}.cpk-intelligence-indicator[data-status=finished] .cpk-intelligence-indicator__label{transform:skew(-10deg)}.cpk-intelligence-indicator__icon{flex-shrink:0;display:block}.cpk-intelligence-indicator__icon-arc,.cpk-intelligence-indicator__icon-check{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.cpk-intelligence-indicator__icon-arc{stroke-dasharray:.53 .47;opacity:1;transform-box:fill-box;transform-origin:50%;transition:opacity .2s cubic-bezier(.4,0,.2,1);animation:.9s linear infinite cpk-intelligence-spin}.cpk-intelligence-indicator__icon-check{stroke-dasharray:1;stroke-dashoffset:1px;opacity:0;transition:stroke-dashoffset .36s cubic-bezier(.22,.61,.36,1) 90ms,opacity .14s linear 90ms}.cpk-intelligence-indicator[data-status=finished] .cpk-intelligence-indicator__icon-arc{opacity:0}.cpk-intelligence-indicator[data-status=finished] .cpk-intelligence-indicator__icon-check{stroke-dashoffset:0;opacity:1}@keyframes cpk-intelligence-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.cpk-intelligence-indicator__icon-arc{animation:none}.cpk-intelligence-indicator__chrome,.cpk-intelligence-indicator__content,.cpk-intelligence-indicator__label,.cpk-intelligence-indicator__icon-arc,.cpk-intelligence-indicator__icon-check{transition:none}}[data-copilotkit] [data-streamdown=inline-code]:before,[data-copilotkit] [data-streamdown=inline-code]:after{content:none}[data-copilotkit] [data-streamdown=code-block-body]{background-color:var(--muted);color:var(--foreground);font-size:var(--cpk-text-sm);border-radius:0;margin:0;padding:1rem;line-height:1.6}[data-copilotkit] [data-streamdown=code-block-body]>code{color:inherit;font-size:inherit;white-space:pre;background-color:#0000;padding:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
@@ -0,0 +1 @@
1
+ declare module "katex/dist/katex.min.css";
@@ -0,0 +1,5 @@
1
+ export type A2UITheme = Record<string, unknown>;
2
+ export interface A2UISurfaceOperationPayload {
3
+ operations: unknown[];
4
+ }
5
+ //# sourceMappingURL=a2ui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"a2ui.d.ts","sourceRoot":"","sources":["../../src/types/a2ui.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEhD,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,OAAO,EAAE,CAAC;CACvB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ import type { ActivityMessage } from "@ag-ui/core";
2
+ import type { AbstractAgent } from "@ag-ui/client";
3
+ import type { z } from "zod";
4
+ export interface SvelteActivityMessageRendererProps<TActivityContent> {
5
+ activityType: string;
6
+ content: TActivityContent;
7
+ message: ActivityMessage;
8
+ agent: AbstractAgent | undefined;
9
+ }
10
+ export type SvelteActivityMessageRendererRenderFn<TActivityContent> = (props: SvelteActivityMessageRendererProps<TActivityContent>) => unknown;
11
+ export interface SvelteActivityMessageRenderer<TActivityContent> {
12
+ activityType: string;
13
+ agentId?: string;
14
+ content: z.ZodSchema<TActivityContent>;
15
+ render: SvelteActivityMessageRendererRenderFn<TActivityContent>;
16
+ }
17
+ //# sourceMappingURL=activity-message-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activity-message-renderer.d.ts","sourceRoot":"","sources":["../../src/types/activity-message-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,MAAM,WAAW,kCAAkC,CAAC,gBAAgB;IAClE,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,aAAa,GAAG,SAAS,CAAC;CAClC;AAED,MAAM,MAAM,qCAAqC,CAAC,gBAAgB,IAAI,CACpE,KAAK,EAAE,kCAAkC,CAAC,gBAAgB,CAAC,KACxD,OAAO,CAAC;AAEb,MAAM,WAAW,6BAA6B,CAAC,gBAAgB;IAC7D,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IACvC,MAAM,EAAE,qCAAqC,CAAC,gBAAgB,CAAC,CAAC;CACjE"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ import type { Message } from "@ag-ui/core";
2
+ export type SvelteCustomMessageRendererPosition = "before" | "after";
3
+ export interface SvelteCustomMessageRendererProps {
4
+ message: Message;
5
+ position: SvelteCustomMessageRendererPosition;
6
+ runId: string;
7
+ messageIndex: number;
8
+ messageIndexInRun: number;
9
+ numberOfMessagesInRun: number;
10
+ agentId: string;
11
+ stateSnapshot: unknown;
12
+ }
13
+ export type SvelteCustomMessageRendererRenderFn = (props: SvelteCustomMessageRendererProps) => unknown;
14
+ export interface SvelteCustomMessageRenderer {
15
+ agentId?: string;
16
+ render: SvelteCustomMessageRendererRenderFn;
17
+ }
18
+ //# sourceMappingURL=custom-message-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-message-renderer.d.ts","sourceRoot":"","sources":["../../src/types/custom-message-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,mCAAmC,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErE,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,mCAAmC,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,mCAAmC,GAAG,CAChD,KAAK,EAAE,gCAAgC,KACpC,OAAO,CAAC;AAEb,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,mCAAmC,CAAC;CAC7C"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { FrontendTool } from "@copilotkit/core";
2
+ import type { SvelteToolCallRenderer } from "./tool-call-renderer";
3
+ export type SvelteFrontendTool<T extends Record<string, unknown> = Record<string, unknown>> = FrontendTool<T> & {
4
+ render?: SvelteToolCallRenderer<T>["render"];
5
+ };
6
+ //# sourceMappingURL=frontend-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frontend-tool.d.ts","sourceRoot":"","sources":["../../src/types/frontend-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,MAAM,kBAAkB,CAC5B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACzD,YAAY,CAAC,CAAC,CAAC,GAAG;IACpB,MAAM,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC9C,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,31 @@
1
+ import type { FrontendTool, ToolCallStatus } from "@copilotkit/core";
2
+ export type SvelteHumanInTheLoopRenderProps<T> = {
3
+ name: string;
4
+ description: string;
5
+ toolCallId: string;
6
+ args: Partial<T>;
7
+ status: ToolCallStatus.InProgress;
8
+ result: undefined;
9
+ respond: undefined;
10
+ } | {
11
+ name: string;
12
+ description: string;
13
+ toolCallId: string;
14
+ args: T;
15
+ status: ToolCallStatus.Executing;
16
+ result: undefined;
17
+ respond: (result: unknown) => Promise<void>;
18
+ } | {
19
+ name: string;
20
+ description: string;
21
+ toolCallId: string;
22
+ args: T;
23
+ status: ToolCallStatus.Complete;
24
+ result: string;
25
+ respond: undefined;
26
+ };
27
+ export type SvelteHumanInTheLoopRenderFn<T> = (props: SvelteHumanInTheLoopRenderProps<T>) => unknown;
28
+ export type SvelteHumanInTheLoop<T extends Record<string, unknown> = Record<string, unknown>> = Omit<FrontendTool<T>, "handler"> & {
29
+ render: SvelteHumanInTheLoopRenderFn<T>;
30
+ };
31
+ //# sourceMappingURL=human-in-the-loop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"human-in-the-loop.d.ts","sourceRoot":"","sources":["../../src/types/human-in-the-loop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAErE,MAAM,MAAM,+BAA+B,CAAC,CAAC,IACzC;IACE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC;IAClC,MAAM,EAAE,SAAS,CAAC;IAClB,OAAO,EAAE,SAAS,CAAC;CACpB,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC;IACjC,MAAM,EAAE,SAAS,CAAC;IAClB,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEN,MAAM,MAAM,4BAA4B,CAAC,CAAC,IAAI,CAC5C,KAAK,EAAE,+BAA+B,CAAC,CAAC,CAAC,KACtC,OAAO,CAAC;AAEb,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACzD,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG;IACrC,MAAM,EAAE,4BAA4B,CAAC,CAAC,CAAC,CAAC;CACzC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ export * from "./tool-call-renderer";
2
+ export * from "./activity-message-renderer";
3
+ export * from "./custom-message-renderer";
4
+ export * from "./frontend-tool";
5
+ export * from "./human-in-the-loop";
6
+ export * from "./interrupt";
7
+ export * from "./a2ui";
8
+ export * from "./sandbox-function";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export * from "./tool-call-renderer";
2
+ export * from "./activity-message-renderer";
3
+ export * from "./custom-message-renderer";
4
+ export * from "./frontend-tool";
5
+ export * from "./human-in-the-loop";
6
+ export * from "./interrupt";
7
+ export * from "./a2ui";
8
+ export * from "./sandbox-function";
@@ -0,0 +1,23 @@
1
+ import type { Interrupt, RunAgentResult } from "@ag-ui/client";
2
+ export interface InterruptEvent<TValue = unknown> {
3
+ name: string;
4
+ value: TValue;
5
+ }
6
+ export type InterruptResolveFn = (payload?: unknown, interruptId?: string) => Promise<RunAgentResult | void>;
7
+ export type InterruptCancelFn = (interruptId?: string) => Promise<RunAgentResult | void>;
8
+ export interface InterruptHandlerProps<TValue = unknown> {
9
+ event: InterruptEvent<TValue>;
10
+ interrupt: Interrupt | null;
11
+ interrupts: Interrupt[];
12
+ resolve: InterruptResolveFn;
13
+ cancel: InterruptCancelFn;
14
+ }
15
+ export interface InterruptRenderProps<TValue = unknown, TResult = unknown> {
16
+ event: InterruptEvent<TValue>;
17
+ interrupt: Interrupt | null;
18
+ interrupts: Interrupt[];
19
+ result: TResult;
20
+ resolve: InterruptResolveFn;
21
+ cancel: InterruptCancelFn;
22
+ }
23
+ //# sourceMappingURL=interrupt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interrupt.d.ts","sourceRoot":"","sources":["../../src/types/interrupt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,cAAc,CAAC,MAAM,GAAG,OAAO;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,kBAAkB,GAAG,CAC/B,OAAO,CAAC,EAAE,OAAO,EACjB,WAAW,CAAC,EAAE,MAAM,KACjB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;AAEpC,MAAM,MAAM,iBAAiB,GAAG,CAC9B,WAAW,CAAC,EAAE,MAAM,KACjB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;AAEpC,MAAM,WAAW,qBAAqB,CAAC,MAAM,GAAG,OAAO;IACrD,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO;IACvE,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,MAAM,EAAE,iBAAiB,CAAC;CAC3B"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { z } from "zod";
2
+ export interface SandboxFunction {
3
+ name: string;
4
+ description: string;
5
+ parameters: z.ZodTypeAny;
6
+ handler: (args: unknown) => Promise<unknown> | unknown;
7
+ }
8
+ //# sourceMappingURL=sandbox-function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandbox-function.d.ts","sourceRoot":"","sources":["../../src/types/sandbox-function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC;IACzB,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;CACxD"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,29 @@
1
+ import type { ToolCallStatus } from "@copilotkit/core";
2
+ import type { StandardSchemaV1 } from "@copilotkit/shared";
3
+ export type SvelteToolCallRendererRenderProps<T> = {
4
+ name: string;
5
+ toolCallId: string;
6
+ args: Partial<T>;
7
+ status: ToolCallStatus.InProgress;
8
+ result: undefined;
9
+ } | {
10
+ name: string;
11
+ toolCallId: string;
12
+ args: T;
13
+ status: ToolCallStatus.Executing;
14
+ result: undefined;
15
+ } | {
16
+ name: string;
17
+ toolCallId: string;
18
+ args: T;
19
+ status: ToolCallStatus.Complete;
20
+ result: string;
21
+ };
22
+ export type SvelteToolCallRendererRenderFn<T> = (props: SvelteToolCallRendererRenderProps<T>) => unknown;
23
+ export interface SvelteToolCallRenderer<T = unknown> {
24
+ name: string;
25
+ args: StandardSchemaV1<unknown, T>;
26
+ agentId?: string;
27
+ render: SvelteToolCallRendererRenderFn<T>;
28
+ }
29
+ //# sourceMappingURL=tool-call-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-call-renderer.d.ts","sourceRoot":"","sources":["../../src/types/tool-call-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,iCAAiC,CAAC,CAAC,IAC3C;IACE,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC;IAClC,MAAM,EAAE,SAAS,CAAC;CACnB,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC;IACjC,MAAM,EAAE,SAAS,CAAC;CACnB,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEN,MAAM,MAAM,8BAA8B,CAAC,CAAC,IAAI,CAC9C,KAAK,EAAE,iCAAiC,CAAC,CAAC,CAAC,KACxC,OAAO,CAAC;AAEb,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,OAAO;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,8BAA8B,CAAC,CAAC,CAAC,CAAC;CAC3C"}
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,14 +1,109 @@
1
1
  {
2
2
  "name": "@copilotkit/svelte",
3
- "version": "0.0.1",
4
- "description": "Placeholder. The first real release of the CopilotKit Svelte 5 package will be 0.1.0.",
3
+ "version": "0.1.1-canary.svelte-preview",
4
+ "private": false,
5
+ "description": "Svelte 5 components and runes for CopilotKit",
6
+ "keywords": [
7
+ "ai",
8
+ "assistant",
9
+ "automation",
10
+ "copilot",
11
+ "copilotkit",
12
+ "svelte",
13
+ "svelte5"
14
+ ],
15
+ "homepage": "https://github.com/CopilotKit/CopilotKit",
5
16
  "license": "MIT",
6
17
  "repository": {
7
18
  "type": "git",
8
- "url": "git+https://github.com/CopilotKit/CopilotKit.git",
9
- "directory": "community/svelte"
19
+ "url": "https://github.com/CopilotKit/CopilotKit.git"
10
20
  },
11
- "homepage": "https://github.com/CopilotKit/CopilotKit/tree/main/community/svelte",
12
- "files": ["README.md"],
13
- "publishConfig": { "access": "public" }
14
- }
21
+ "type": "module",
22
+ "sideEffects": [
23
+ "**/*.css"
24
+ ],
25
+ "files": [
26
+ "dist",
27
+ "!dist/__tests__",
28
+ "!dist/**/*.test.*",
29
+ "LICENSE",
30
+ "README.md"
31
+ ],
32
+ "svelte": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.ts",
37
+ "svelte": "./dist/index.js",
38
+ "default": "./dist/index.js"
39
+ },
40
+ "./styles.css": "./dist/styles.css",
41
+ "./package.json": "./package.json"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "dependencies": {
47
+ "@ag-ui/client": "1.0.2",
48
+ "@ag-ui/core": "1.0.2",
49
+ "@copilotkit/core": "1.87.1",
50
+ "@copilotkit/shared": "1.87.1",
51
+ "@copilotkit/web-components": "1.87.1",
52
+ "@copilotkit/web-inspector": "1.87.1",
53
+ "@humanspeak/svelte-markdown": "^1.7.3",
54
+ "@jetbrains/websandbox": "^1.1.3",
55
+ "highlight.js": "^11.12.0",
56
+ "katex": "^0.16.22",
57
+ "lucide-svelte": "^1.0.1",
58
+ "marked": "^16.0.0",
59
+ "zod": "^3.23.3",
60
+ "zod-to-json-schema": "^3.23.5"
61
+ },
62
+ "devDependencies": {
63
+ "@arethetypeswrong/cli": "^0.18.2",
64
+ "@eslint/js": "^9.39.2",
65
+ "@sveltejs/package": "^2.5.8",
66
+ "@sveltejs/vite-plugin-svelte": "^5.0.0",
67
+ "@tailwindcss/cli": "^4.1.11",
68
+ "@tailwindcss/typography": "^0.5.16",
69
+ "@testing-library/svelte": "^5.2.0",
70
+ "@types/node": "^22.15.3",
71
+ "es-check": "9.6.4",
72
+ "eslint": "^9.30.0",
73
+ "eslint-plugin-svelte": "^3.0.0",
74
+ "globals": "^16.5.0",
75
+ "jsdom": "^26.1.0",
76
+ "postcss": "^8.5.6",
77
+ "publint": "^0.3.17",
78
+ "svelte": "^5.28.0",
79
+ "svelte-check": "^4.0.0",
80
+ "tailwindcss": "^4.0.8",
81
+ "tw-animate-css": "^1.4.0",
82
+ "typescript": "5.8.2",
83
+ "typescript-eslint": "^8.52.0",
84
+ "vite": "^6.0.0",
85
+ "vitest": "^4.1.3"
86
+ },
87
+ "peerDependencies": {
88
+ "svelte": "^5.0.0"
89
+ },
90
+ "engines": {
91
+ "node": ">=20"
92
+ },
93
+ "scripts": {
94
+ "build": "svelte-package -i src -o dist && pnpm build:css",
95
+ "build:css": "tailwindcss -i ./src/styles/globals.css -o ./dist/styles.css -m && node scripts/scope-preflight.mjs ./dist/styles.css",
96
+ "dev": "svelte-package -i src -o dist --watch",
97
+ "test": "vitest run",
98
+ "test:consumer": "node scripts/verify-packed-consumer.mjs",
99
+ "test:watch": "vitest",
100
+ "test:coverage": "vitest run --coverage",
101
+ "test:ui": "vitest --ui",
102
+ "lint": "eslint .",
103
+ "typecheck": "svelte-check --workspace ./src --tsconfig ../tsconfig.json --config ../svelte.config.js",
104
+ "compat-check": "es-check es2022 --module 'dist/**/*.js'",
105
+ "publint": "publint .",
106
+ "attw": "attw --pack . --profile esm-only --exclude-entrypoints ./styles.css --ignore-rules internal-resolution-error",
107
+ "clean": "rm -rf dist"
108
+ }
109
+ }