mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-19 20:50:09 +01:00
2e813846dc
* WIP agent support * move agent folder * wip frontend socket * checkpoint * fix schema * Checkpoint for plugins and AgentHandler * refactor plugins and agent arch * agent error reporting and handling * add frontend elements for agents in prompt input * WIP integrations for agents * enable web-search agent config from frontend * persist chat history * update alert * update migration remove console logs update close state for agent invocations * add examples to dockerignore Extract statusResponse to its own component * update close method * wrap scraping rejections * add RAG search as funciton * Add telem and link highlight * chat support * patch memory * Add rechart as a plugin option * Toggles for abilites of default agent (system wide) Validate values for agent skills Enable dynamic loading of skills UI for toggle of skills * add UI for toggle of configs for agent * toggle WS or WSS protocol * update NGNIX proxy pass * move components around and capture failed websocket creation * fix name * tmp docker image * reset workflow * safety mark functions * telem on tool calls * remove hardcode short circuit * separate web-browser from scrape * extract summarizer to util add abort handlers and controller for langchain stuff so socket close kills process * langchain summarize verbose when in dev * chart styling improvements + add title to chart * fix legend from being cutoff in chart downloads * remove cursor blink --------- Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
123 lines
4.4 KiB
JavaScript
123 lines
4.4 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
darkMode: 'false',
|
|
content: {
|
|
relative: true,
|
|
files: [
|
|
"./src/components/**/*.{js,jsx}",
|
|
"./src/hooks/**/*.js",
|
|
"./src/models/**/*.js",
|
|
"./src/pages/**/*.{js,jsx}",
|
|
"./src/utils/**/*.js",
|
|
"./src/*.jsx",
|
|
"./index.html",
|
|
'./node_modules/@tremor/**/*.{js,ts,jsx,tsx}'
|
|
]
|
|
},
|
|
theme: {
|
|
extend: {
|
|
rotate: {
|
|
"270": "270deg",
|
|
"360": "360deg"
|
|
},
|
|
colors: {
|
|
"black-900": "#141414",
|
|
accent: "#3D4147",
|
|
"sidebar-button": "#31353A",
|
|
sidebar: "#25272C",
|
|
"historical-msg-system": "rgba(255, 255, 255, 0.05);",
|
|
"historical-msg-user": "#2C2F35",
|
|
outline: "#4E5153"
|
|
},
|
|
backgroundImage: {
|
|
"preference-gradient":
|
|
"linear-gradient(180deg, #5A5C63 0%, rgba(90, 92, 99, 0.28) 100%);",
|
|
"chat-msg-user-gradient":
|
|
"linear-gradient(180deg, #3D4147 0%, #2C2F35 100%);",
|
|
"selected-preference-gradient":
|
|
"linear-gradient(180deg, #313236 0%, rgba(63.40, 64.90, 70.13, 0) 100%);",
|
|
"main-gradient": "linear-gradient(180deg, #3D4147 0%, #2C2F35 100%)",
|
|
"modal-gradient": "linear-gradient(180deg, #3D4147 0%, #2C2F35 100%)",
|
|
"sidebar-gradient": "linear-gradient(90deg, #5B616A 0%, #3F434B 100%)",
|
|
"login-gradient": "linear-gradient(180deg, #3D4147 0%, #2C2F35 100%)",
|
|
"menu-item-gradient":
|
|
"linear-gradient(90deg, #3D4147 0%, #2C2F35 100%)",
|
|
"menu-item-selected-gradient":
|
|
"linear-gradient(90deg, #5B616A 0%, #3F434B 100%)",
|
|
"workspace-item-gradient":
|
|
"linear-gradient(90deg, #3D4147 0%, #2C2F35 100%)",
|
|
"workspace-item-selected-gradient":
|
|
"linear-gradient(90deg, #5B616A 0%, #3F434B 100%)",
|
|
"switch-selected": "linear-gradient(146deg, #5B616A 0%, #3F434B 100%)"
|
|
},
|
|
fontFamily: {
|
|
sans: [
|
|
"plus-jakarta-sans",
|
|
"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"'
|
|
]
|
|
},
|
|
animation: {
|
|
sweep: "sweep 0.5s ease-in-out"
|
|
},
|
|
keyframes: {
|
|
sweep: {
|
|
"0%": { transform: "scaleX(0)", transformOrigin: "bottom left" },
|
|
"100%": { transform: "scaleX(1)", transformOrigin: "bottom left" }
|
|
},
|
|
fadeIn: {
|
|
"0%": { opacity: 0 },
|
|
"100%": { opacity: 1 }
|
|
},
|
|
fadeOut: {
|
|
"0%": { opacity: 1 },
|
|
"100%": { opacity: 0 }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
// Required for rechart styles to show since they can be rendered dynamically and will be tree-shaken if not safe-listed.
|
|
safelist: [
|
|
{
|
|
pattern:
|
|
/^(bg-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
|
|
variants: ['hover', 'ui-selected'],
|
|
},
|
|
{
|
|
pattern:
|
|
/^(text-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
|
|
variants: ['hover', 'ui-selected'],
|
|
},
|
|
{
|
|
pattern:
|
|
/^(border-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
|
|
variants: ['hover', 'ui-selected'],
|
|
},
|
|
{
|
|
pattern:
|
|
/^(ring-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
|
|
},
|
|
{
|
|
pattern:
|
|
/^(stroke-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
|
|
},
|
|
{
|
|
pattern:
|
|
/^(fill-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
|
|
},
|
|
],
|
|
plugins: []
|
|
}
|