Update Astra/Agent state - 2026-05-10 22:26:50
This commit is contained in:
@@ -79,6 +79,10 @@
|
||||
{
|
||||
"command": "g1nation.settings.focus",
|
||||
"title": "Astra: Open Settings Panel"
|
||||
},
|
||||
{
|
||||
"command": "g1nation.skills.editKnowledgeMap",
|
||||
"title": "Astra: Edit Agent ↔ Knowledge Map"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
@@ -260,6 +264,34 @@
|
||||
"default": [],
|
||||
"items": { "type": "number" },
|
||||
"description": "Optional allowlist of Telegram chat IDs that may message the bot. When empty, every chat that messages the bot is accepted (use with caution)."
|
||||
},
|
||||
"g1nation.telegram.defaultAgent": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Agent name (matches an entry in the Agent ↔ Knowledge map) used to scope Second Brain retrieval for Telegram replies. Empty falls back to the map's defaultAgent, then to whole-brain search."
|
||||
},
|
||||
"g1nation.telegram.agentByChatId": {
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"additionalProperties": { "type": "string" },
|
||||
"description": "Per-chat override of the Telegram agent. Keys are stringified chat IDs, values are agent names from the knowledge map. Overrides telegram.defaultAgent for the listed chats."
|
||||
},
|
||||
"g1nation.telegram.contextChunks": {
|
||||
"type": "number",
|
||||
"default": 6,
|
||||
"minimum": 0,
|
||||
"maximum": 20,
|
||||
"description": "How many Second Brain excerpts to inject into Telegram replies. Set 0 to disable RAG (plain prompt only)."
|
||||
},
|
||||
"g1nation.skillKnowledgeMapPath": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Absolute path to the agent ↔ knowledge mapping JSON. When empty, defaults to '<workspace>/.astra/agent-knowledge-map.json'."
|
||||
},
|
||||
"g1nation.skillKnowledgeMap": {
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"description": "Inline fallback for the agent ↔ knowledge mapping. Used only when the JSON file is missing. Shape: { defaultAgent?, agents: [{ name, knowledgeFolders, model?, description? }] }. Folder paths can be absolute, ~-prefixed, or relative to the active brain root."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user