mirror of
https://github.com/crowetic/nc-talk-ai.git
synced 2026-09-07 07:32:31 +00:00
Talk AI is a multi-bot AI assistant manager for Nextcloud Talk: per-bot prompts and models, agentic tool calling (MCP + built-in tools), RAG over Nextcloud files, room-document search, vision and speech-to-text attachments, persistent bot wikis, approval workflows, rate limiting, and multi-provider LLM support (any OpenAI-compatible endpoint). Developed within EDUC - the European Digital UniverCity (https://educalliance.eu), where it runs as the 'EDUC AI' assistant on the alliance-wide Nextcloud portal. This public repository is the upstream point of truth; deployment-specific tools plug in via the tool-provider extension point (docs/TOOL_PROVIDERS.md). License: AGPL-3.0-or-later.
34 lines
1.0 KiB
JavaScript
34 lines
1.0 KiB
JavaScript
import { createAppConfig } from "@nextcloud/vite-config";
|
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
import { join, resolve } from "path";
|
|
import eslint from "vite-plugin-eslint";
|
|
import stylelint from "vite-plugin-stylelint";
|
|
|
|
const isProduction = process.env.NODE_ENV === "production";
|
|
const buildTargets = browserslistToEsbuild().filter((target) => target !== "ios11");
|
|
|
|
export default createAppConfig(
|
|
{
|
|
main: resolve(join('src', 'main.js')),
|
|
personal: resolve(join('src', 'personal.js')),
|
|
admin: resolve(join('src', 'admin.js')),
|
|
'bot-picker': resolve(join('src', 'bot-picker.js')),
|
|
},
|
|
{
|
|
config: {
|
|
css: { modules: { localsConvention: 'camelCase' } },
|
|
esbuild: { target: buildTargets },
|
|
build: {
|
|
target: buildTargets,
|
|
cssTarget: buildTargets,
|
|
},
|
|
plugins: [eslint(), stylelint()],
|
|
},
|
|
inlineCSS: { relativeCSSInjection: true },
|
|
minify: isProduction,
|
|
createEmptyCSSEntryPoints: true,
|
|
extractLicenseInformation: true,
|
|
thirdPartyLicense: false,
|
|
}
|
|
);
|