**Motivations:** - Seed AnythingLLM workspace from cloned repo using gitignore-style filters **Root causes:** - N/A **Correctifs:** - N/A **Evolutions:** - Template 4nkaiignore.default; server copies after clone; extension uploads via POST /api/v1/document/upload - New commands /workspace-sync; settings initialSync*; dependency ignore **Pages affectées:** - extensions/anythingllm-workspaces/* - services/repos-devtools-server/* - docs/features/initial-rag-sync-4nkaiignore.md
92 lines
2.7 KiB
JSON
92 lines
2.7 KiB
JSON
{
|
|
"name": "anythingllm-workspaces",
|
|
"displayName": "AnythingLLM Workspaces (ia.enso)",
|
|
"description": "AnythingLLM API, repos devtools, initial RAG sync via .4nkaiignore.",
|
|
"version": "0.3.0",
|
|
"publisher": "4nk",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "^1.85.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onStartupFinished"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"configuration": {
|
|
"title": "AnythingLLM",
|
|
"properties": {
|
|
"anythingllm.baseUrl": {
|
|
"type": "string",
|
|
"default": "https://ia.enso.4nkweb.com/anythingllm",
|
|
"markdownDescription": "Public base URL of AnythingLLM (no trailing slash)."
|
|
},
|
|
"anythingllm.apiKey": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "AnythingLLM API key (**Settings → API Keys**). **User** settings."
|
|
},
|
|
"anythingllm.reposApiBaseUrl": {
|
|
"type": "string",
|
|
"default": "http://127.0.0.1:37140",
|
|
"markdownDescription": "repos-devtools-server base URL (no trailing slash)."
|
|
},
|
|
"anythingllm.reposApiToken": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "Same as `REPOS_DEVTOOLS_TOKEN` on the server."
|
|
},
|
|
"anythingllm.initialSyncAfterClone": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": "After `/repos-clone-sync` or `/repos-load-sync`, upload repo files to the workspace (filtered by `.4nkaiignore`). Requires AnythingLLM document processor (collector) online."
|
|
},
|
|
"anythingllm.initialSyncMaxFiles": {
|
|
"type": "number",
|
|
"default": 400,
|
|
"minimum": 1,
|
|
"maximum": 10000,
|
|
"markdownDescription": "Max files to upload per initial sync."
|
|
},
|
|
"anythingllm.initialSyncMaxFileBytes": {
|
|
"type": "number",
|
|
"default": 5242880,
|
|
"minimum": 1024,
|
|
"maximum": 104857600,
|
|
"markdownDescription": "Max size per file (bytes) for initial sync."
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "anythingllm.listWorkspaces",
|
|
"title": "AnythingLLM: List workspaces"
|
|
},
|
|
{
|
|
"command": "anythingllm.openWebUi",
|
|
"title": "AnythingLLM: Open web UI"
|
|
},
|
|
{
|
|
"command": "anythingllm.openDevToolsPanel",
|
|
"title": "AnythingLLM: Dev tools panel"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"vscode:prepublish": "npm run compile"
|
|
},
|
|
"dependencies": {
|
|
"ignore": "^5.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"@types/vscode": "^1.85.0",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|