{ "name": "astra", "displayName": "Astra", "description": "The personal intelligence layer for Antigravity and VS Code. A private cognitive partner for deep project context, memory, and proactive strategic decision-making.", "version": "2.72.0", "publisher": "g1nation", "license": "MIT", "icon": "assets/icon.png", "repository": { "type": "git", "url": "https://github.com/g1nations/locallm" }, "engines": { "vscode": "^1.80.0" }, "categories": [ "Machine Learning", "Programming Languages", "Chat" ], "keywords": [ "ai", "local", "ollama", "gemma", "llama", "deepseek", "offline", "agent", "code-generation", "astra", "copilot" ], "activationEvents": [], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "g1nation.newChat", "title": "Astra: New Chat", "icon": "$(add)" }, { "command": "g1nation.exportChat", "title": "Astra: Export Chat as Markdown" }, { "command": "g1nation.explainSelection", "title": "Astra: Explain Selected Code" }, { "command": "g1nation.focusChat", "title": "Astra: Focus Chat Input" }, { "command": "g1nation.showBrainNetwork", "title": "Astra: Show Brain Topology" } ], "keybindings": [ { "command": "g1nation.focusChat", "key": "cmd+l", "mac": "cmd+l" } ], "menus": { "editor/context": [ { "command": "g1nation.explainSelection", "when": "editorHasSelection", "group": "1_modification" } ] }, "viewsContainers": { "activitybar": [ { "id": "g1nation-sidebar", "title": "Astra", "icon": "$(hubot)" } ] }, "views": { "g1nation-sidebar": [ { "type": "webview", "id": "g1nation-v2-view", "name": "Chat", "icon": "assets/icon.png" } ] }, "configuration": { "title": "Astra", "properties": { "g1nation.multiAgentEnabled": { "type": "boolean", "default": false, "description": "Enable Multi-Agent Workflow (Planner -> Researcher -> Writer) for complex tasks." }, "g1nation.memoryEnabled": { "type": "boolean", "default": true, "description": "Enable layered memory injection before each model response." }, "g1nation.memoryShortTermMessages": { "type": "number", "default": 8, "minimum": 0, "description": "Number of recent conversation messages included as short-term memory." }, "g1nation.memoryMediumTermSessions": { "type": "number", "default": 5, "minimum": 0, "description": "Number of recent saved chat sessions included as medium-term memory." }, "g1nation.memoryLongTermFiles": { "type": "number", "default": 6, "minimum": 0, "description": "Number of relevant Second Brain markdown files included as long-term memory." }, "g1nation.ollamaUrl": { "type": "string", "default": "http://127.0.0.1:11434", "description": "Base URL for Ollama or LM Studio. Default: http://127.0.0.1:11434" }, "g1nation.defaultModel": { "type": "string", "default": "gemma4:e2b", "description": "Default model name to use for chat requests." }, "g1nation.requestTimeout": { "type": "number", "default": 300, "description": "Request timeout in seconds. Default: 300" }, "g1nation.localBrainPath": { "type": "string", "default": "", "description": "Folder path for your local Second Brain knowledge base. Leave empty to use the default folder." }, "g1nation.brainProfiles": { "type": "array", "default": [], "items": { "type": "object", "properties": { "id": { "type": "string", "description": "Stable brain profile id." }, "name": { "type": "string", "description": "Display name shown in the Astra brain selector." }, "localBrainPath": { "type": "string", "description": "Local folder path used as this brain's markdown knowledge base." }, "secondBrainRepo": { "type": "string", "description": "Optional Git repository URL for this brain." }, "description": { "type": "string", "description": "Short note shown under the active brain status." } } }, "description": "Multiple brain profiles. Each item supports id, name, localBrainPath, secondBrainRepo, and description." }, "g1nation.activeBrainId": { "type": "string", "default": "", "description": "Active brain profile id used for the current chat context." }, "g1nation.secondBrainRepo": { "type": "string", "default": "", "description": "Optional GitHub repository URL used for Second Brain sync." }, "g1nation.autoPushBrain": { "type": "boolean", "default": false, "description": "Automatically commit and push Second Brain changes after updates." }, "g1nation.maxContextSize": { "type": "number", "default": 32000, "description": "Maximum character count for active file context. Default: 32000" }, "g1nation.maxAutoSteps": { "type": "number", "default": 50, "description": "Maximum autonomous steps the agent can take per request. Default: 50" }, "g1nation.dryRun": { "type": "boolean", "default": false, "description": "If enabled, the agent will ask for approval before committing any file changes." } } } }, "scripts": { "vscode:prepublish": "npm run test && npm run compile", "compile": "esbuild src/extension.ts --bundle --platform=node --external:vscode --outfile=out/extension.js", "watch": "tsc -watch -p ./", "test": "jest --no-cache --forceExit", "test:engine": "jest tests/agentEngine.test.ts --verbose --no-cache", "pretest": "npm run compile" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/marked": "^5.0.2", "@types/node": "18.x", "@types/vscode": "^1.80.0", "@vercel/ncc": "^0.38.4", "esbuild": "^0.28.0", "jest": "^29.7.0", "ts-jest": "^29.4.9", "typescript": "^5.1.3" }, "dependencies": { "marked": "^18.0.2" } }