230 lines
6.8 KiB
JSON
230 lines
6.8 KiB
JSON
{
|
|
"name": "g1nation",
|
|
"displayName": "G1nation",
|
|
"description": "High-performance autonomous local AI coding agent for VS Code. Features vectorized inference, asynchronous task management, and 100% offline processing.",
|
|
"version": "2.51.0",
|
|
"publisher": "connectailab",
|
|
"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",
|
|
"g1nation",
|
|
"copilot"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "g1nation.newChat",
|
|
"title": "G1nation: New Chat",
|
|
"icon": "$(add)"
|
|
},
|
|
{
|
|
"command": "g1nation.exportChat",
|
|
"title": "G1nation: Export Chat as Markdown"
|
|
},
|
|
{
|
|
"command": "g1nation.explainSelection",
|
|
"title": "G1nation: Explain Selected Code"
|
|
},
|
|
{
|
|
"command": "g1nation.focusChat",
|
|
"title": "G1nation: Focus Chat Input"
|
|
},
|
|
{
|
|
"command": "g1nation.showBrainNetwork",
|
|
"title": "G1nation: 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": "G1nation",
|
|
"icon": "$(hubot)"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"g1nation-sidebar": [
|
|
{
|
|
"type": "webview",
|
|
"id": "g1nation-v2-view",
|
|
"name": "Chat",
|
|
"icon": "assets/icon.png"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "G1nation",
|
|
"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 G1nation 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 compile",
|
|
"compile": "esbuild src/extension.ts --bundle --platform=node --external:vscode --outfile=out/extension.js",
|
|
"watch": "tsc -watch -p ./",
|
|
"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"
|
|
}
|
|
}
|