mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-08 00:19:42 +02:00
ui: agent badge shows AGENT or AGENTS (n)
- Single agent: "AGENT" - Multiple: "AGENTS (2)", "AGENTS (3)", etc. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ When user says "COM": 1) Increment version in BOTH `package.json` AND `CLAUDE.md
|
|||||||
|
|
||||||
Claudeman is a Claude Code session manager with a web interface and autonomous Ralph Loop. It spawns Claude CLI processes via PTY, streams output in real-time via SSE, and supports scheduled/timed runs.
|
Claudeman is a Claude Code session manager with a web interface and autonomous Ralph Loop. It spawns Claude CLI processes via PTY, streams output in real-time via SSE, and supports scheduled/timed runs.
|
||||||
|
|
||||||
**Version**: 0.1386 (must match `package.json`)
|
**Version**: 0.1387 (must match `package.json`)
|
||||||
|
|
||||||
**Tech Stack**: TypeScript (ES2022/NodeNext, strict mode), Node.js, Fastify, Server-Sent Events, node-pty
|
**Tech Stack**: TypeScript (ES2022/NodeNext, strict mode), Node.js, Fastify, Server-Sent Events, node-pty
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "claudeman",
|
"name": "claudeman",
|
||||||
"version": "0.1386",
|
"version": "0.1387",
|
||||||
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
|
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -1975,12 +1975,14 @@ class ClaudemanApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Compact badge - shows on hover, click to pin open
|
// Compact badge - shows on hover, click to pin open
|
||||||
|
const count = minimizedAgents.size;
|
||||||
|
const label = count === 1 ? 'AGENT' : `AGENTS (${count})`;
|
||||||
return `
|
return `
|
||||||
<span class="tab-subagent-badge"
|
<span class="tab-subagent-badge"
|
||||||
onmouseenter="app.showSubagentDropdown(this)"
|
onmouseenter="app.showSubagentDropdown(this)"
|
||||||
onmouseleave="app.scheduleHideSubagentDropdown(this)"
|
onmouseleave="app.scheduleHideSubagentDropdown(this)"
|
||||||
onclick="event.stopPropagation(); app.pinSubagentDropdown(this);">
|
onclick="event.stopPropagation(); app.pinSubagentDropdown(this);">
|
||||||
<span class="subagent-label">Agent</span><span class="subagent-count">${minimizedAgents.size}</span>
|
<span class="subagent-label">${label}</span>
|
||||||
<div class="subagent-dropdown" onmouseenter="app.cancelHideSubagentDropdown()" onmouseleave="app.scheduleHideSubagentDropdown(this.parentElement)">
|
<div class="subagent-dropdown" onmouseenter="app.cancelHideSubagentDropdown()" onmouseleave="app.scheduleHideSubagentDropdown(this.parentElement)">
|
||||||
${agentItems.join('')}
|
${agentItems.join('')}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2977,15 +2977,8 @@ kbd {
|
|||||||
|
|
||||||
.session-tab .tab-subagent-badge .subagent-label {
|
.session-tab .tab-subagent-badge .subagent-label {
|
||||||
font-size: 0.55rem;
|
font-size: 0.55rem;
|
||||||
opacity: 0.85;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.02em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.session-tab .tab-subagent-badge .subagent-count {
|
|
||||||
font-size: 0.65rem;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 1;
|
letter-spacing: 0.03em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Subagent Dropdown - compact, hover-triggered */
|
/* Subagent Dropdown - compact, hover-triggered */
|
||||||
|
|||||||
Reference in New Issue
Block a user