@ddrinnova/agentsgt-widget 0.0.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.
- package/README.md +97 -0
- package/dist/agentsgt-widget.css +1 -0
- package/dist/vite.svg +1 -0
- package/dist/widget.es.js +49549 -0
- package/dist/widget.umd.js +359 -0
- package/package.json +62 -0
package/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# @agentsgt/widget
|
|
2
|
+
|
|
3
|
+
A customizable widget for embedding a chat assistant in any web application.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @agentsgt/widget
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Method 1: Direct Import (React apps)
|
|
14
|
+
|
|
15
|
+
```jsx
|
|
16
|
+
import { App as AgentSGTWidget } from "@agentsgt/widget";
|
|
17
|
+
import "@agentsgt/widget/style.css";
|
|
18
|
+
|
|
19
|
+
function MyApp() {
|
|
20
|
+
return (
|
|
21
|
+
<div>
|
|
22
|
+
<h1>My Application</h1>
|
|
23
|
+
<AgentSGTWidget
|
|
24
|
+
title="My Assistant"
|
|
25
|
+
initialMessage="How can I help you today?"
|
|
26
|
+
runtimeUrl="https://your-backend-url.com/api"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Method 2: Script Loader (Any website)
|
|
34
|
+
|
|
35
|
+
Add a container to your HTML:
|
|
36
|
+
|
|
37
|
+
```html
|
|
38
|
+
<div id="agent-widget-container"></div>
|
|
39
|
+
|
|
40
|
+
<script>
|
|
41
|
+
window.onload = function () {
|
|
42
|
+
if (window.AgentSGTWidgetLoader) {
|
|
43
|
+
AgentSGTWidgetLoader.load("agent-widget-container", {
|
|
44
|
+
title: "My Assistant",
|
|
45
|
+
initialMessage: "How can I help you today?",
|
|
46
|
+
runtimeUrl: "https://your-backend-url.com/api",
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
</script>
|
|
51
|
+
<script src="https://unpkg.com/@agentsgt/widget/dist/loader.umd.js"></script>
|
|
52
|
+
<link
|
|
53
|
+
rel="stylesheet"
|
|
54
|
+
href="https://unpkg.com/@agentsgt/widget/dist/style.css"
|
|
55
|
+
/>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Configuration Options
|
|
59
|
+
|
|
60
|
+
| Option | Type | Description |
|
|
61
|
+
| ---------------- | ------ | ------------------------------------------- |
|
|
62
|
+
| `title` | string | The title displayed in the widget header |
|
|
63
|
+
| `initialMessage` | string | The first message displayed in the chat |
|
|
64
|
+
| `runtimeUrl` | string | URL to your backend API endpoint (required) |
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
MIT
|
|
69
|
+
|
|
70
|
+
## Publishing Steps
|
|
71
|
+
|
|
72
|
+
Once you have these files set up, follow these steps to publish your package:
|
|
73
|
+
|
|
74
|
+
1. First, login to npm:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npm login
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
2. Then build and publish your package:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm run build
|
|
84
|
+
npm publish --access public
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
If you're publishing a scoped package for the first time, make sure to use the `--access public` flag.
|
|
88
|
+
|
|
89
|
+
3. For testing before publishing, you can use:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
npm pack
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
This will create a tarball that you can install locally to test the package.
|
|
96
|
+
|
|
97
|
+
These configurations should prepare your widget package for proper publication to npm!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}html{--copilot-kit-primary-color: rgb(59 130 246);--copilot-kit-contrast-color: rgb(255 255 255);--copilot-kit-secondary-color: rgb(243 244 246);--copilot-kit-secondary-contrast-color: rgb(0 0 0);--copilot-kit-background-color: rgb(255 255 255);--copilot-kit-muted-color: rgb(106 106 106);--copilot-kit-separator-color: rgba(0, 0, 0, .08);--copilot-kit-scrollbar-color: rgba(0, 0, 0, .2);--copilot-kit-response-button-color: #333;--copilot-kit-response-button-background-color: #fff}.copilotKitPopup{position:fixed;bottom:1rem;right:1rem;z-index:30;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;touch-action:manipulation}.copilotKitPopup svg{display:inline-block;vertical-align:middle}.copilotKitSidebar{position:fixed;bottom:1rem;right:1rem;z-index:30;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;touch-action:manipulation}.copilotKitSidebar svg{display:inline-block;vertical-align:middle}.copilotKitSidebarContentWrapper{overflow:visible;margin-right:0;transition:margin-right .3s ease}@media (min-width: 640px){.copilotKitSidebarContentWrapper.sidebarExpanded{margin-right:28rem}}.copilotKitButton{width:3.5rem;height:3.5rem;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(255,255,255,.2);outline:none;position:relative;transform:scale(1);transition:transform .2s;background-color:var(--copilot-kit-primary-color);color:var(--copilot-kit-contrast-color);cursor:pointer}.copilotKitButton:hover{transform:scale(1.1)}.copilotKitButton:active{transform:scale(.75)}.copilotKitButtonIcon{transition:opacity .1s,transform .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.copilotKitButton.open .copilotKitButtonIconOpen{transform:translate(-50%,-50%) scale(0) rotate(90deg);opacity:0}.copilotKitButton.open .copilotKitButtonIconClose{transform:translate(-50%,-50%) scale(1) rotate(0);opacity:1}.copilotKitButton:not(.open) .copilotKitButtonIconOpen{transform:translate(-50%,-50%) scale(1) rotate(0);opacity:1}.copilotKitButton:not(.open) .copilotKitButtonIconClose{transform:translate(-50%,-50%) scale(0) rotate(-90deg);opacity:0}.copilotKitHeader{height:56px;font-weight:500;display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--copilot-kit-primary-color);color:var(--copilot-kit-contrast-color);border-top-left-radius:0;border-top-right-radius:0;border-bottom:1px solid var(--copilot-kit-separator-color)}.copilotKitSidebar .copilotKitHeader{border-radius:0}@media (min-width: 640px){.copilotKitHeader{padding-left:24px;padding-right:24px;border-top-left-radius:8px;border-top-right-radius:8px}}.copilotKitHeader>button{border:0;padding:0;position:absolute;top:50%;right:16px;transform:translateY(-50%);outline:none;color:var(--copilot-kit-contrast-color);background-color:transparent;cursor:pointer}.copilotKitHeader>button:focus{outline:none}.copilotKitInput{border-top:1px solid var(--copilot-kit-separator-color);padding:1rem 1rem 1rem 2rem;display:flex;align-items:center;cursor:text;position:relative;border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem;background-color:var(--copilot-kit-background-color)}.copilotKitInput>.copilotKitInputControls>button{padding:.25rem;cursor:pointer;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transform:scale(1);color:#00000040;-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;background-image:none;text-transform:none;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;border:0;margin:0;text-indent:0px;text-shadow:none;display:inline-block;text-align:center;margin-left:.5rem}.copilotKitInput>.copilotKitInputControls>button:not([disabled]){color:var(--copilot-kit-primary-color)}.copilotKitInput>.copilotKitInputControls>button:not([disabled]):hover{transform:scale(1.1)}.copilotKitInput>.copilotKitInputControls>button[disabled]{color:var(--copilot-kit-muted-color)}.copilotKitInputControls{display:flex}.copilotKitInput>textarea{flex:1;outline:2px solid transparent;outline-offset:2px;resize:none;white-space:pre-wrap;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:text;font-size:.875rem;line-height:1.25rem;margin:0;padding:0;font-family:inherit;font-weight:inherit;color:var(--copilot-kit-secondary-contrast-color);border:0px;background-color:var(--copilot-kit-background-color)}.copilotKitInput>textarea::-moz-placeholder{color:var(--copilot-kit-muted-color);opacity:1}.copilotKitInput>textarea::placeholder{color:var(--copilot-kit-muted-color);opacity:1}.copilotKitInput>.copilotKitInputControls>button.copilotKitPushToTalkRecording{background-color:red;color:#fff;border-radius:50%;animation:copilotKitPulseAnimation 2s cubic-bezier(.4,0,.6,1) infinite}.copilotKitMessages{overflow-y:scroll;flex:1;padding:1rem 2rem;display:flex;flex-direction:column;background-color:var(--copilot-kit-background-color)}.copilotKitMessages::-webkit-scrollbar{width:9px}.copilotKitMessages::-webkit-scrollbar-thumb{background-color:var(--copilot-kit-scrollbar-color);border-radius:10rem;border:2px solid var(--copilot-kit-background-color)}.copilotKitMessages::-webkit-scrollbar-track-piece:start{background:transparent}.copilotKitMessages::-webkit-scrollbar-track-piece:end{background:transparent}.copilotKitMessage{border-radius:.5rem;padding:1rem;font-size:.875rem;line-height:1.25rem;overflow-wrap:break-word;max-width:80%;margin-bottom:.5rem}.copilotKitMessage.copilotKitUserMessage{background:var(--copilot-kit-primary-color);color:var(--copilot-kit-contrast-color);margin-left:auto;white-space:pre-wrap}.copilotKitMessage.copilotKitAssistantMessage{background:var(--copilot-kit-secondary-color);color:var(--copilot-kit-secondary-contrast-color);margin-right:auto}.copilotKitMessage.copilotKitUserMessage+.copilotKitMessage.copilotKitAssistantMessage{margin-top:1.5rem}.copilotKitMessage.copilotKitAssistantMessage+.copilotKitMessage.copilotKitUserMessage{margin-top:1.5rem}.copilotKitCustomAssistantMessage{margin-top:1.5rem;margin-bottom:1.5rem}.copilotKitMessage .inProgressLabel{margin-left:10px}.copilotKitMessages footer{flex-grow:1;display:flex;flex-direction:column;justify-content:flex-end}.copilotKitWindow{position:fixed;top:0;right:0;bottom:0;left:0;transform-origin:bottom;border-color:#e5e7eb;background-color:#fff;border-radius:.75rem;box-shadow:#00000029 0 5px 40px;flex-direction:column;transition:opacity .1s ease-out,transform .2s ease-out;opacity:0;transform:scale(.95) translateY(20px);display:flex;pointer-events:none}.copilotKitSidebar .copilotKitWindow{border-radius:0;opacity:1;transform:translate(100%)}.copilotKitWindow.open{opacity:1;transform:scale(1) translateY(0);pointer-events:auto}.copilotKitSidebar .copilotKitWindow.open{transform:translate(0)}@media (min-width: 640px){.copilotKitWindow{transform-origin:bottom right;bottom:5rem;right:1rem;top:auto;left:auto;border-width:0px;margin-bottom:1rem;width:24rem;height:600px;min-height:200px;max-height:calc(100% - 6rem)}.copilotKitSidebar .copilotKitWindow{bottom:0;right:0;top:auto;left:auto;width:28rem;min-height:100%;margin-bottom:0;max-height:none}}.copilotKitActivityDot1{animation:copilotKitActivityDotsAnimation 1.05s infinite}.copilotKitActivityDot2{animation-delay:.1s}.copilotKitActivityDot3{animation-delay:.2s}@keyframes copilotKitActivityDotsAnimation{0%,57.14%{animation-timing-function:cubic-bezier(.33,.66,.66,1);transform:translate(0)}28.57%{animation-timing-function:cubic-bezier(.33,0,.66,.33);transform:translateY(-6px)}to{transform:translate(0)}}@keyframes copilotKitSpinAnimation{to{transform:rotate(360deg)}}@keyframes copilotKitPulseAnimation{50%{opacity:.5}}.copilotKitResponseButton{background-color:var(--copilot-kit-response-button-background-color);border:1px solid var(--copilot-kit-separator-color);border-radius:4px;color:var(--copilot-kit-response-button-color);cursor:pointer;font-size:14px;font-weight:500;height:32px;line-height:30px;margin:15px 0 0;padding:0 16px;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.copilotKitResponseButton:hover{filter:brightness(95%)}.copilotKitResponseButton>span{margin-right:.5rem}.copilotKitMarkdown h1,.copilotKitMarkdown h2,.copilotKitMarkdown h3,.copilotKitMarkdown h4,.copilotKitMarkdown h5,.copilotKitMarkdown h6{font-weight:700;line-height:1.2}.copilotKitMarkdown h1:not(:last-child),.copilotKitMarkdown h2:not(:last-child),.copilotKitMarkdown h3:not(:last-child),.copilotKitMarkdown h4:not(:last-child),.copilotKitMarkdown h5:not(:last-child),.copilotKitMarkdown h6:not(:last-child){margin-bottom:1rem}.copilotKitMarkdown h1{font-size:1.5em}.copilotKitMarkdown h2{font-size:1.25em;font-weight:600}.copilotKitMarkdown h3{font-size:1.1em}.copilotKitMarkdown h4{font-size:1em}.copilotKitMarkdown h5{font-size:.9em}.copilotKitMarkdown h6{font-size:.8em}.copilotKitMarkdown p{padding:0;margin:0}.copilotKitMarkdown p:not(:last-child),.copilotKitMarkdown pre:not(:last-child),.copilotKitMarkdown ol:not(:last-child),.copilotKitMarkdown ul:not(:last-child),.copilotKitMarkdown blockquote:not(:last-child){margin-bottom:1.25em}.copilotKitMarkdown blockquote{border-color:#8e8ea0;border-left-width:2px;border-left-style:solid;line-height:1.2;padding-left:10px}.copilotKitMarkdown blockquote p{padding:.7em 0}.copilotKitMarkdown ul{list-style-type:disc;padding-left:20px;overflow:visible}.copilotKitMarkdown li{list-style-type:inherit;list-style-position:outside;margin-left:0;padding-left:0;position:relative;overflow:visible}.copilotKitCodeBlock{position:relative;width:100%;background-color:#09090b;border-radius:.375rem}.copilotKitCodeBlockToolbar{display:flex;width:100%;align-items:center;justify-content:space-between;background-color:#27272a;padding-left:1rem;padding-top:.09rem;padding-bottom:.09rem;color:#e4e4e4;border-top-left-radius:.375rem;border-top-right-radius:.375rem;font-family:sans-serif}.copilotKitCodeBlockToolbarLanguage{font-size:.75rem;line-height:1rem;text-transform:lowercase}.copilotKitCodeBlockToolbarButtons{display:flex;align-items:center;margin-right:.25rem;margin-left:.25rem}.copilotKitCodeBlockToolbarButton{display:inline-flex;align-items:center;justify-content:center;border-radius:.375rem;font-size:.875rem;line-height:1.25rem;font-weight:500;height:2.5rem;width:2.5rem;padding:3px;margin:2px}.copilotKitCodeBlockToolbarButton:hover{background-color:#37373a}.copilotKitMessages footer .suggestions{display:flex;flex-wrap:wrap;gap:8px}.copilotKitMessages footer h6{font-weight:500;font-size:.7rem;margin-bottom:8px}.copilotKitMessages footer .suggestions .suggestion{padding:8px 12px;font-size:.7rem;border-radius:.5rem;background:var(--copilot-kit-primary-color);color:var(--copilot-kit-contrast-color)}.copilotKitMessages footer .suggestions button{transition:transform .3s ease}.copilotKitMessages footer .suggestions button:not(:disabled):hover{transform:scale(1.05)}.copilotKitMessages footer .suggestions button:disabled{cursor:wait}.copilotKitMessages footer .suggestions button svg{margin-right:6px}.copilotKitChat{z-index:30;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;touch-action:manipulation;display:flex;flex-direction:column}.copilotKitChat svg{display:inline-block;vertical-align:middle}.copilotKitChat .copilotKitMessages{flex-grow:1}.copilotKitDevConsole{background-color:#f3f4f6;padding:10px;display:flex;align-items:center;border-bottom:1px solid #cecece}.copilotKitDevConsole.copilotKitDevConsoleWarnOutdated{background-color:#f9caca}.copilotKitDevConsole .copilotKitVersionInfo{flex:1;margin-left:18px;display:flex;flex-direction:column;gap:2px}.copilotKitDevConsole .copilotKitVersionInfo header{font-size:11px;font-weight:700}.copilotKitDevConsole .copilotKitVersionInfo footer{margin-top:10px}.copilotKitDevConsole .copilotKitVersionInfo footer button{font-size:11px;font-weight:400;font-family:monospace;background-color:#fff;border:1px solid #979797;padding:1px 12px 1px 5px;border-radius:4px;display:inline-block;text-align:left;overflow:hidden;white-space:nowrap;width:260px;text-overflow:ellipsis}.copilotKitDevConsole .copilotKitVersionInfo header aside{display:inline;font-weight:400;color:#7f7a7a;margin-left:5px}.copilotKitDevConsole .copilotKitVersionInfo section{font-size:11px}.copilotKitDevConsole .copilotKitVersionInfo section svg{margin-left:3px;margin-top:-3px}.copilotKitDevConsole .copilotKitDebugMenuButton{font-size:11px;font-weight:700;display:flex;width:90px;height:30px;background-color:#d8d8d8;border:1px solid #979797;border-radius:6px;align-items:center;justify-content:center;outline:none}.copilotKitDebugMenuButton.compact{width:35px;color:#000;justify-content:center;outline:none;font-size:8px}.copilotKitDevConsole .copilotKitDebugMenuButton:hover{background-color:#c7c7c7}.copilotKitDevConsole .copilotKitDebugMenuButton>svg{margin-left:10px}.copilotKitDebugMenu{background-color:#d8d8d8;margin-top:2px;border-radius:6px;border:1px solid #979797;padding:.25rem;outline:none;font-size:13px}.copilotKitDebugMenuItem{padding:3px 10px;display:block;width:100%;text-align:left;background:none;border:none;cursor:pointer}.copilotKitDebugMenuItem:hover{background-color:#c7c7c7;border-radius:4px}.copilotKitDebugMenu[data-closed]{transform:scale(.95);opacity:0}.copilotKitDebugMenu hr{height:1px;border:none;background-color:#979797;margin:.25rem}
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|