mirror of
https://github.com/kunkunsh/kunkun-ext-rag.git
synced 2025-04-03 09:56:42 +00:00
141 lines
3.0 KiB
JSON
141 lines
3.0 KiB
JSON
{
|
|
"$schema": "https://schema.kunkun.sh",
|
|
"license": "MIT",
|
|
"name": "kunkun-ext-rag",
|
|
"draft": true,
|
|
"version": "0.0.7",
|
|
"private": true,
|
|
"kunkun": {
|
|
"name": "RAG",
|
|
"shortDescription": "Retrieval Augmented Generation",
|
|
"longDescription": "A local RAG agent for local files.",
|
|
"identifier": "RAG",
|
|
"icon": {
|
|
"type": "iconify",
|
|
"value": "carbon:rag"
|
|
},
|
|
"demoImages": [],
|
|
"permissions": [
|
|
"clipboard:read-text",
|
|
"notification:all",
|
|
"dialog:all",
|
|
{
|
|
"permission": "fs:exists",
|
|
"allow": [
|
|
{
|
|
"path": "$EXTENSION/deno-src/node_modules"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"permission": "shell:execute",
|
|
"allow": [
|
|
{
|
|
"cmd": {
|
|
"program": "deno",
|
|
"args": [
|
|
"install",
|
|
"--allow-scripts=npm:faiss-node@0.5.1,npm:sharp@0.33.5"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"permission": "shell:deno:spawn",
|
|
"allow": [
|
|
{
|
|
"path": "$EXTENSION/deno-src/index.ts",
|
|
"read": "*",
|
|
"write": [
|
|
"$EXTENSION_SUPPORT"
|
|
],
|
|
"ffi": "*",
|
|
"sys": [
|
|
"uid"
|
|
],
|
|
"env": "*",
|
|
"net": [
|
|
"api.openai.com"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"shell:stdin-write",
|
|
"shell:kill",
|
|
{
|
|
"permission": "open:url",
|
|
"allow": [
|
|
{
|
|
"url": "https://en.wikipedia.org/wiki/Retrieval-augmented_generation"
|
|
},
|
|
{
|
|
"url": "https://github.com/kunkunsh/kunkun-ext-rag"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"customUiCmds": [
|
|
{
|
|
"main": "/",
|
|
"dist": "build",
|
|
"devMain": "http://localhost:5173",
|
|
"name": "Local RAG",
|
|
"cmds": []
|
|
}
|
|
],
|
|
"templateUiCmds": []
|
|
},
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"lint": "prettier --check . && eslint .",
|
|
"format": "prettier --write ."
|
|
},
|
|
"dependencies": {
|
|
"@iconify/svelte": "^4.2.0",
|
|
"@kksh/api": "^0.1.1",
|
|
"@kksh/svelte5": "0.1.15",
|
|
"@langchain/openai": "^0.4.2",
|
|
"clsx": "^2.1.1",
|
|
"lucide-svelte": "^0.474.0",
|
|
"mode-watcher": "^0.5.1",
|
|
"svelte-markdown": "^0.4.1",
|
|
"sveltekit-superforms": "^2.23.1",
|
|
"tailwind-merge": "^2.6.0",
|
|
"tailwind-variants": "^0.3.1",
|
|
"valibot": "^1.0.0-beta.14"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-auto": "^3.3.1",
|
|
"@sveltejs/adapter-static": "^3.0.6",
|
|
"@sveltejs/kit": "^2.8.1",
|
|
"@sveltejs/vite-plugin-svelte": "^4.0.1",
|
|
"@tailwindcss/typography": "^0.5.15",
|
|
"@types/eslint": "^9.6.1",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.15.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-svelte": "^2.46.0",
|
|
"globals": "^15.12.0",
|
|
"postcss": "^8.4.49",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-svelte": "^3.2.8",
|
|
"prettier-plugin-tailwindcss": "^0.6.9",
|
|
"svelte": "^5.2.7",
|
|
"svelte-check": "^4.0.9",
|
|
"tailwindcss": "^3.4.15",
|
|
"typescript": "^5.6.3",
|
|
"typescript-eslint": "^8.15.0",
|
|
"vite": "^5.4.11"
|
|
},
|
|
"type": "module",
|
|
"files": [
|
|
"build",
|
|
".gitignore"
|
|
]
|
|
}
|