mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-02 04:37:49 +02:00
47 lines
2.0 KiB
JSON
47 lines
2.0 KiB
JSON
{
|
|
"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." }
|
|
]
|
|
}
|
|
}
|