**Motivations:** - Clone or load repos under /home/ncantu/code with AnythingLLM workspace ensure/create from the editor **Root causes:** - N/A (new capability) **Correctifs:** - N/A **Evolutions:** - services/repos-devtools-server: POST /repos-clone, GET /repos-list, POST /repos-load (Bearer REPOS_DEVTOOLS_TOKEN) - Extension: Webview panel, slash commands, workspaceEnsure + POST /api/v1/workspace/new - Docs: feature note and index links **Pages affectées:** - services/repos-devtools-server/* - extensions/anythingllm-workspaces/* - docs/README.md - docs/features/repos-devtools-server-and-dev-panel.md - docs/features/anythingllm-vscode-extension.md
70 lines
2.1 KiB
JSON
70 lines
2.1 KiB
JSON
{
|
|
"name": "anythingllm-workspaces",
|
|
"displayName": "AnythingLLM Workspaces (ia.enso)",
|
|
"description": "List AnythingLLM workspaces via your proxied instance (e.g. ia.enso.4nkweb.com/anythingllm).",
|
|
"version": "0.2.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 (nginx path `/anythingllm/`, no trailing slash required)."
|
|
},
|
|
"anythingllm.apiKey": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "AnythingLLM API key (UI: **Settings → API Keys**). Prefer **User** settings to avoid committing secrets."
|
|
},
|
|
"anythingllm.reposApiBaseUrl": {
|
|
"type": "string",
|
|
"default": "http://127.0.0.1:37140",
|
|
"markdownDescription": "Base URL of **repos-devtools-server** (no trailing slash). Must match the machine where `/home/ncantu/code` (or `REPOS_DEVTOOLS_ROOT`) lives."
|
|
},
|
|
"anythingllm.reposApiToken": {
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "Bearer token shared with `REPOS_DEVTOOLS_TOKEN` on the repos-devtools-server. **User** settings only."
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"@types/vscode": "^1.85.0",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|