Panel.qml, Main.qml, Agent.qml and the provider assets exactly as they ship in omarchy-dev 4.0.0.r1744.gf002044 (shell/plugins/agents/), alongside the manifest `omarchy plugin clone` generates. Kept on its own branch so `git diff stock..master` shows precisely what this fork changes.
91 lines
2.3 KiB
JSON
91 lines
2.3 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "pastilhas.agents",
|
|
"name": "Agents",
|
|
"version": "1.0.0",
|
|
"author": "pastilhas",
|
|
"license": "MIT",
|
|
"description": "Claude Code, Codex, and Fireworks usage, limits, and pace in a native Omarchy bar panel.",
|
|
"kinds": [
|
|
"bar-widget"
|
|
],
|
|
"activation": "on-demand",
|
|
"entryPoints": {
|
|
"barWidget": "Panel.qml"
|
|
},
|
|
"barWidget": {
|
|
"displayName": "Agents",
|
|
"description": "One bar icon and one panel: rate-limit meters with pace, today, the last week, and the all-time model breakdown for every subscription.",
|
|
"category": "AI",
|
|
"aliases": [
|
|
"agents",
|
|
"model-usage"
|
|
],
|
|
"allowMultiple": false,
|
|
"defaults": {
|
|
"providers": {
|
|
"claude": {
|
|
"enabled": true
|
|
},
|
|
"codex": {
|
|
"enabled": true
|
|
},
|
|
"fireworks": {
|
|
"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."
|
|
}
|
|
]
|
|
},
|
|
"omarchy": {
|
|
"clonedFrom": "omarchy.agents"
|
|
}
|
|
}
|