Files
glassMxrph-plugins/mx-quickfix/manifest.json
T
2026-11-29 14:41:28 +01:00

101 lines
3.2 KiB
JSON

{
"schemaVersion": 1,
"id": "mx-quickfix",
"name": "Quick Fix",
"version": "0.1.0",
"author": "mx",
"license": "MIT",
"description": "A small chat box in the bar that hands quick fixes to Claude Code, Codex or a local model. It works on its own and replies with one line. Needs claude, codex or opencode; ai-usagebar picks the subscription with the most usage left.",
"kinds": [
"bar-widget",
"service"
],
"entryPoints": {
"barWidget": "BarWidget.qml",
"service": "Service.qml"
},
"barWidget": {
"displayName": "Quick Fix",
"description": "Click to type a quick fix; the agent does it and answers in a line.",
"category": "AI",
"allowMultiple": false,
"defaultSection": "right",
"defaults": {
"background": "pill",
"provider": "auto",
"claudeModel": "",
"gptModel": "",
"localUrl": "http://127.0.0.1:11434/v1",
"localModel": "",
"repositories": "",
"allow": "",
"applyCommand": ""
},
"schema": [
{
"key": "background",
"label": "Background",
"description": "pill: the button sits on a round pill; transparent: just the icon.",
"choices": ["pill", "transparent"],
"defaultValue": "pill"
},
{
"key": "provider",
"label": "Default agent",
"description": "Auto picks Claude or GPT by the usage left on each (from ai-usagebar), then a local model.",
"choices": ["auto", "claude", "gpt", "local"],
"defaultValue": "auto"
},
{
"key": "repositories",
"type": "string",
"label": "Repositories to snapshot",
"description": "Comma-separated git folders, e.g. ~/zaneyos, ~/glassMxrph. Each run is snapshotted first so Undo can put files back and revert its commits.",
"defaultValue": ""
},
{
"key": "applyCommand",
"type": "string",
"label": "Apply after Undo",
"description": "Shell command run after Undo restores files, e.g. your rebuild command. Blank: nothing.",
"defaultValue": ""
},
{
"key": "allow",
"type": "string",
"label": "Always allowed (Claude)",
"description": "Comma-separated Claude Code permission rules the run may use without its safety check, e.g. Bash(zcli rebuild:*), Bash(git push:*).",
"defaultValue": ""
},
{
"key": "claudeModel",
"type": "string",
"label": "Claude model",
"description": "Blank: Claude Code's default.",
"defaultValue": ""
},
{
"key": "gptModel",
"type": "string",
"label": "GPT model",
"description": "Blank: Codex's default.",
"defaultValue": ""
},
{
"key": "localUrl",
"type": "string",
"label": "Local server",
"description": "OpenAI-compatible endpoint (Ollama, llama.cpp, LM Studio), run through OpenCode.",
"defaultValue": "http://127.0.0.1:11434/v1"
},
{
"key": "localModel",
"type": "string",
"label": "Local model",
"description": "Blank: the first model the server lists.",
"defaultValue": ""
}
]
}
}