fix: use relative PNG paths for idle state, transparent SVG for active

This commit is contained in:
2026-06-18 15:50:18 +08:00
parent ef79e67f0a
commit 4811fef4d2
6 changed files with 74 additions and 34 deletions
@@ -2,13 +2,22 @@
"Actions": [
{
"UUID": "com.streamdock.ai-monitor.codex",
"Icon": "static/img/codex-icon.svg",
"Icon": "static/img/codex.png",
"Name": "Codex Desktop",
"States": [
{ "Image": "static/img/codex-icon.svg", "TitleAlignment": "center", "FontSize": "11" }
{
"Image": "static/img/codex.png",
"TitleAlignment": "center",
"FontSize": "11"
}
],
"Settings": {
"pollInterval": 1000
},
"Controllers": [
"Keypad",
"Information"
],
"Settings": { "pollInterval": 1000 },
"Controllers": ["Keypad", "Information"],
"UserTitleEnabled": true,
"SupportedInMultiActions": true,
"Tooltip": "Codex Desktop 工作流状态监控",
@@ -16,13 +25,22 @@
},
{
"UUID": "com.streamdock.ai-monitor.claude",
"Icon": "static/img/claude-icon.svg",
"Icon": "static/img/claude.png",
"Name": "Claude Desktop",
"States": [
{ "Image": "static/img/claude-icon.svg", "TitleAlignment": "center", "FontSize": "11" }
{
"Image": "static/img/claude.png",
"TitleAlignment": "center",
"FontSize": "11"
}
],
"Settings": {
"pollInterval": 1000
},
"Controllers": [
"Keypad",
"Information"
],
"Settings": { "pollInterval": 1000 },
"Controllers": ["Keypad", "Information"],
"UserTitleEnabled": true,
"SupportedInMultiActions": true,
"Tooltip": "Claude Desktop 工作流状态监控",
@@ -30,13 +48,22 @@
},
{
"UUID": "com.streamdock.ai-monitor.opencode",
"Icon": "static/img/opencode-icon.svg",
"Icon": "static/img/opencode.png",
"Name": "opencode",
"States": [
{ "Image": "static/img/opencode-icon.svg", "TitleAlignment": "center", "FontSize": "11" }
{
"Image": "static/img/opencode.png",
"TitleAlignment": "center",
"FontSize": "11"
}
],
"Settings": {
"pollInterval": 1000
},
"Controllers": [
"Keypad",
"Information"
],
"Settings": { "pollInterval": 1000 },
"Controllers": ["Keypad", "Information"],
"UserTitleEnabled": true,
"SupportedInMultiActions": true,
"Tooltip": "opencode 工作流状态监控",
@@ -46,18 +73,28 @@
"SDKVersion": 1,
"Author": "StreamDock",
"Name": "AI Monitor",
"Icon": "static/img/codex-icon.svg",
"Icon": "static/img/ai.png",
"Category": "AI Monitor",
"CategoryIcon": "static/img/codex-icon.svg",
"CategoryIcon": "static/img/ai.png",
"CodePathWin": "plugin/index.js",
"CodePathMac": "plugin/index.js",
"Description": "监控 Codex / Claude / opencode AI 工作流状态",
"Version": "2.0.0",
"URL": "http://10.10.10.14:18003/v6ole/streamdock-ai-monitor",
"OS": [
{ "Platform": "windows", "MinimumVersion": "7" },
{ "Platform": "mac", "MinimumVersion": "10.11" }
{
"Platform": "windows",
"MinimumVersion": "7"
},
{
"Platform": "mac",
"MinimumVersion": "10.11"
}
],
"Software": { "MinimumVersion": "3.10.188.226" },
"Nodejs": { "Version": "20" }
"Software": {
"MinimumVersion": "3.10.188.226"
},
"Nodejs": {
"Version": "20"
}
}