add model-usage plugin
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "omarchy.model-usage",
|
||||
"name": "Model Usage",
|
||||
"version": "1.0.0",
|
||||
"author": "Omarchy",
|
||||
"license": "MIT",
|
||||
"description": "Claude Code and Codex usage stats in a native Omarchy bar popup.",
|
||||
"kinds": ["bar-widget"],
|
||||
"activation": "on-demand",
|
||||
"entryPoints": {
|
||||
"barWidget": "Widget.qml"
|
||||
},
|
||||
"barWidget": {
|
||||
"displayName": "Model Usage",
|
||||
"description": "Shows AI coding assistant usage stats with a tabbed popup panel.",
|
||||
"category": "AI",
|
||||
"aliases": ["model-usage"],
|
||||
"allowMultiple": false,
|
||||
"defaults": {
|
||||
"providers": {
|
||||
"claude": {
|
||||
"enabled": true,
|
||||
"statsPath": "~/.claude/stats-cache.json",
|
||||
"credentialsPath": "~/.claude/.credentials.json",
|
||||
"projectsPath": "~/.claude/projects"
|
||||
},
|
||||
"codex": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"refreshIntervalSec": 900,
|
||||
"syncMode": "Off",
|
||||
"syncDir": "",
|
||||
"syncFileName": "",
|
||||
"syncDeviceId": ""
|
||||
},
|
||||
"schema": [
|
||||
{ "key": "refreshIntervalSec", "type": "integer", "label": "Refresh interval (seconds)", "min": 30, "max": 3600, "step": 30, "defaultValue": 900 },
|
||||
{ "key": "syncMode", "type": "enum", "label": "Synced aggregation", "options": ["Off", "On"], "defaultValue": "Off", "description": "When On, write this machine's local usage snapshot and merge snapshots from other machines." },
|
||||
{ "key": "syncDir", "type": "path", "label": "Sync folder", "defaultValue": "", "description": "A folder synced by Syncthing, Dropbox, rsync, etc." },
|
||||
{ "key": "syncFileName", "type": "string", "label": "Snapshot file name", "defaultValue": "", "description": "Optional. Defaults to <hostname>.json. Use a different file name on each machine, such as laptop.json or desktop.json." },
|
||||
{ "key": "syncDeviceId", "type": "string", "label": "Device id", "defaultValue": "", "description": "Optional stable device name used inside synced aggregate snapshots." }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user