@cluesmith/codev 2.0.2 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/dist/assets/index-B-s8BA2l.js +135 -0
- package/dashboard/dist/assets/index-B-s8BA2l.js.map +1 -0
- package/dashboard/dist/assets/index-DB2AxRP7.css +32 -0
- package/dashboard/dist/index.html +2 -2
- package/dist/agent-farm/cli.d.ts.map +1 -1
- package/dist/agent-farm/cli.js +32 -14
- package/dist/agent-farm/cli.js.map +1 -1
- package/dist/agent-farm/commands/architect.d.ts +1 -1
- package/dist/agent-farm/commands/architect.js +3 -3
- package/dist/agent-farm/commands/architect.js.map +1 -1
- package/dist/agent-farm/commands/attach.d.ts +19 -0
- package/dist/agent-farm/commands/attach.d.ts.map +1 -1
- package/dist/agent-farm/commands/attach.js +172 -12
- package/dist/agent-farm/commands/attach.js.map +1 -1
- package/dist/agent-farm/commands/cleanup.js +6 -6
- package/dist/agent-farm/commands/cleanup.js.map +1 -1
- package/dist/agent-farm/commands/open.js +5 -5
- package/dist/agent-farm/commands/open.js.map +1 -1
- package/dist/agent-farm/commands/send.d.ts +22 -2
- package/dist/agent-farm/commands/send.d.ts.map +1 -1
- package/dist/agent-farm/commands/send.js +100 -181
- package/dist/agent-farm/commands/send.js.map +1 -1
- package/dist/agent-farm/commands/shell.js +5 -5
- package/dist/agent-farm/commands/shell.js.map +1 -1
- package/dist/agent-farm/commands/spawn-roles.d.ts +3 -9
- package/dist/agent-farm/commands/spawn-roles.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn-roles.js +14 -53
- package/dist/agent-farm/commands/spawn-roles.js.map +1 -1
- package/dist/agent-farm/commands/spawn-worktree.d.ts +11 -17
- package/dist/agent-farm/commands/spawn-worktree.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn-worktree.js +32 -13
- package/dist/agent-farm/commands/spawn-worktree.js.map +1 -1
- package/dist/agent-farm/commands/spawn.d.ts +8 -6
- package/dist/agent-farm/commands/spawn.d.ts.map +1 -1
- package/dist/agent-farm/commands/spawn.js +183 -69
- package/dist/agent-farm/commands/spawn.js.map +1 -1
- package/dist/agent-farm/commands/start.d.ts +4 -4
- package/dist/agent-farm/commands/start.js +16 -16
- package/dist/agent-farm/commands/start.js.map +1 -1
- package/dist/agent-farm/commands/status.d.ts +1 -1
- package/dist/agent-farm/commands/status.d.ts.map +1 -1
- package/dist/agent-farm/commands/status.js +15 -26
- package/dist/agent-farm/commands/status.js.map +1 -1
- package/dist/agent-farm/commands/stop.d.ts +4 -4
- package/dist/agent-farm/commands/stop.js +9 -9
- package/dist/agent-farm/commands/stop.js.map +1 -1
- package/dist/agent-farm/db/index.d.ts.map +1 -1
- package/dist/agent-farm/db/index.js +82 -7
- package/dist/agent-farm/db/index.js.map +1 -1
- package/dist/agent-farm/db/schema.d.ts +2 -2
- package/dist/agent-farm/db/schema.d.ts.map +1 -1
- package/dist/agent-farm/db/schema.js +21 -4
- package/dist/agent-farm/db/schema.js.map +1 -1
- package/dist/agent-farm/lib/tower-client.d.ts +36 -26
- package/dist/agent-farm/lib/tower-client.d.ts.map +1 -1
- package/dist/agent-farm/lib/tower-client.js +50 -25
- package/dist/agent-farm/lib/tower-client.js.map +1 -1
- package/dist/agent-farm/lib/tunnel-client.d.ts +12 -2
- package/dist/agent-farm/lib/tunnel-client.d.ts.map +1 -1
- package/dist/agent-farm/lib/tunnel-client.js +59 -1
- package/dist/agent-farm/lib/tunnel-client.js.map +1 -1
- package/dist/agent-farm/servers/overview.d.ts +111 -0
- package/dist/agent-farm/servers/overview.d.ts.map +1 -0
- package/dist/agent-farm/servers/overview.js +385 -0
- package/dist/agent-farm/servers/overview.js.map +1 -0
- package/dist/agent-farm/servers/tower-instances.d.ts +18 -20
- package/dist/agent-farm/servers/tower-instances.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-instances.js +97 -100
- package/dist/agent-farm/servers/tower-instances.js.map +1 -1
- package/dist/agent-farm/servers/tower-messages.d.ts +87 -0
- package/dist/agent-farm/servers/tower-messages.d.ts.map +1 -0
- package/dist/agent-farm/servers/tower-messages.js +202 -0
- package/dist/agent-farm/servers/tower-messages.js.map +1 -0
- package/dist/agent-farm/servers/tower-routes.d.ts +1 -1
- package/dist/agent-farm/servers/tower-routes.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-routes.js +343 -174
- package/dist/agent-farm/servers/tower-routes.js.map +1 -1
- package/dist/agent-farm/servers/tower-server.js +50 -21
- package/dist/agent-farm/servers/tower-server.js.map +1 -1
- package/dist/agent-farm/servers/tower-terminals.d.ts +35 -31
- package/dist/agent-farm/servers/tower-terminals.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-terminals.js +208 -184
- package/dist/agent-farm/servers/tower-terminals.js.map +1 -1
- package/dist/agent-farm/servers/tower-tunnel.d.ts +2 -2
- package/dist/agent-farm/servers/tower-tunnel.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-tunnel.js +12 -12
- package/dist/agent-farm/servers/tower-tunnel.js.map +1 -1
- package/dist/agent-farm/servers/tower-types.d.ts +8 -12
- package/dist/agent-farm/servers/tower-types.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-utils.d.ts +9 -9
- package/dist/agent-farm/servers/tower-utils.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-utils.js +18 -18
- package/dist/agent-farm/servers/tower-utils.js.map +1 -1
- package/dist/agent-farm/servers/tower-websocket.d.ts +2 -2
- package/dist/agent-farm/servers/tower-websocket.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-websocket.js +39 -18
- package/dist/agent-farm/servers/tower-websocket.js.map +1 -1
- package/dist/agent-farm/types.d.ts +5 -6
- package/dist/agent-farm/types.d.ts.map +1 -1
- package/dist/agent-farm/utils/agent-names.d.ts +85 -0
- package/dist/agent-farm/utils/agent-names.d.ts.map +1 -0
- package/dist/agent-farm/utils/agent-names.js +140 -0
- package/dist/agent-farm/utils/agent-names.js.map +1 -0
- package/dist/agent-farm/utils/config.d.ts +1 -1
- package/dist/agent-farm/utils/config.d.ts.map +1 -1
- package/dist/agent-farm/utils/config.js +16 -16
- package/dist/agent-farm/utils/config.js.map +1 -1
- package/dist/agent-farm/utils/file-tabs.d.ts +3 -3
- package/dist/agent-farm/utils/file-tabs.d.ts.map +1 -1
- package/dist/agent-farm/utils/file-tabs.js +9 -9
- package/dist/agent-farm/utils/file-tabs.js.map +1 -1
- package/dist/agent-farm/utils/index.d.ts +0 -1
- package/dist/agent-farm/utils/index.d.ts.map +1 -1
- package/dist/agent-farm/utils/index.js +0 -1
- package/dist/agent-farm/utils/index.js.map +1 -1
- package/dist/agent-farm/utils/message-format.d.ts +17 -0
- package/dist/agent-farm/utils/message-format.d.ts.map +1 -0
- package/dist/agent-farm/utils/message-format.js +41 -0
- package/dist/agent-farm/utils/message-format.js.map +1 -0
- package/dist/agent-farm/utils/notifications.d.ts +4 -4
- package/dist/agent-farm/utils/notifications.d.ts.map +1 -1
- package/dist/agent-farm/utils/notifications.js +18 -18
- package/dist/agent-farm/utils/notifications.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +26 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/adopt.d.ts +2 -2
- package/dist/commands/adopt.d.ts.map +1 -1
- package/dist/commands/adopt.js +13 -15
- package/dist/commands/adopt.js.map +1 -1
- package/dist/commands/consult/index.d.ts +26 -2
- package/dist/commands/consult/index.d.ts.map +1 -1
- package/dist/commands/consult/index.js +296 -83
- package/dist/commands/consult/index.js.map +1 -1
- package/dist/commands/consult/metrics.d.ts +90 -0
- package/dist/commands/consult/metrics.d.ts.map +1 -0
- package/dist/commands/consult/metrics.js +203 -0
- package/dist/commands/consult/metrics.js.map +1 -0
- package/dist/commands/consult/stats.d.ts +18 -0
- package/dist/commands/consult/stats.d.ts.map +1 -0
- package/dist/commands/consult/stats.js +150 -0
- package/dist/commands/consult/stats.js.map +1 -0
- package/dist/commands/consult/usage-extractor.d.ts +38 -0
- package/dist/commands/consult/usage-extractor.d.ts.map +1 -0
- package/dist/commands/consult/usage-extractor.js +99 -0
- package/dist/commands/consult/usage-extractor.js.map +1 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +11 -9
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/import.js +4 -4
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/init.d.ts +2 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +13 -15
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/porch/index.d.ts +6 -6
- package/dist/commands/porch/index.d.ts.map +1 -1
- package/dist/commands/porch/index.js +37 -37
- package/dist/commands/porch/index.js.map +1 -1
- package/dist/commands/porch/next.d.ts +1 -1
- package/dist/commands/porch/next.d.ts.map +1 -1
- package/dist/commands/porch/next.js +86 -92
- package/dist/commands/porch/next.js.map +1 -1
- package/dist/commands/porch/notify.d.ts +11 -0
- package/dist/commands/porch/notify.d.ts.map +1 -0
- package/dist/commands/porch/notify.js +30 -0
- package/dist/commands/porch/notify.js.map +1 -0
- package/dist/commands/porch/plan.d.ts +1 -1
- package/dist/commands/porch/plan.d.ts.map +1 -1
- package/dist/commands/porch/plan.js +3 -3
- package/dist/commands/porch/plan.js.map +1 -1
- package/dist/commands/porch/prompts.d.ts +10 -1
- package/dist/commands/porch/prompts.d.ts.map +1 -1
- package/dist/commands/porch/prompts.js +59 -35
- package/dist/commands/porch/prompts.js.map +1 -1
- package/dist/commands/porch/protocol.d.ts +1 -1
- package/dist/commands/porch/protocol.d.ts.map +1 -1
- package/dist/commands/porch/protocol.js +8 -8
- package/dist/commands/porch/protocol.js.map +1 -1
- package/dist/commands/porch/state.d.ts +6 -6
- package/dist/commands/porch/state.d.ts.map +1 -1
- package/dist/commands/porch/state.js +14 -12
- package/dist/commands/porch/state.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +10 -11
- package/dist/commands/update.js.map +1 -1
- package/dist/lib/github.d.ts +81 -0
- package/dist/lib/github.d.ts.map +1 -0
- package/dist/lib/github.js +141 -0
- package/dist/lib/github.js.map +1 -0
- package/dist/lib/scaffold.d.ts +13 -21
- package/dist/lib/scaffold.d.ts.map +1 -1
- package/dist/lib/scaffold.js +34 -57
- package/dist/lib/scaffold.js.map +1 -1
- package/dist/lib/skeleton.d.ts +7 -7
- package/dist/lib/skeleton.d.ts.map +1 -1
- package/dist/lib/skeleton.js +10 -10
- package/dist/lib/skeleton.js.map +1 -1
- package/dist/terminal/index.d.ts +14 -0
- package/dist/terminal/index.d.ts.map +1 -1
- package/dist/terminal/index.js +12 -0
- package/dist/terminal/index.js.map +1 -1
- package/dist/terminal/pty-manager.d.ts +1 -1
- package/dist/terminal/pty-manager.d.ts.map +1 -1
- package/dist/terminal/pty-manager.js +10 -7
- package/dist/terminal/pty-manager.js.map +1 -1
- package/dist/terminal/pty-session.js +3 -3
- package/dist/terminal/pty-session.js.map +1 -1
- package/dist/terminal/session-manager.d.ts +64 -0
- package/dist/terminal/session-manager.d.ts.map +1 -1
- package/dist/terminal/session-manager.js +299 -10
- package/dist/terminal/session-manager.js.map +1 -1
- package/dist/terminal/shellper-client.d.ts +2 -1
- package/dist/terminal/shellper-client.d.ts.map +1 -1
- package/dist/terminal/shellper-client.js +4 -2
- package/dist/terminal/shellper-client.js.map +1 -1
- package/dist/terminal/shellper-main.js +33 -4
- package/dist/terminal/shellper-main.js.map +1 -1
- package/dist/terminal/shellper-process.d.ts +24 -7
- package/dist/terminal/shellper-process.d.ts.map +1 -1
- package/dist/terminal/shellper-process.js +139 -36
- package/dist/terminal/shellper-process.js.map +1 -1
- package/dist/terminal/shellper-protocol.d.ts +1 -0
- package/dist/terminal/shellper-protocol.d.ts.map +1 -1
- package/dist/terminal/shellper-protocol.js.map +1 -1
- package/package.json +4 -1
- package/skeleton/.claude/skills/af/SKILL.md +7 -7
- package/skeleton/.claude/skills/consult/SKILL.md +1 -1
- package/skeleton/builders.md +2 -2
- package/skeleton/maintain/.gitkeep +1 -1
- package/skeleton/porch/prompts/specify.md +1 -1
- package/skeleton/protocols/bugfix/prompts/pr.md +15 -4
- package/skeleton/protocols/experiment/protocol.md +17 -17
- package/skeleton/protocols/maintain/prompts/audit.md +2 -2
- package/skeleton/protocols/maintain/prompts/sync.md +1 -1
- package/skeleton/protocols/maintain/prompts/verify.md +1 -1
- package/skeleton/protocols/maintain/protocol.md +8 -9
- package/skeleton/protocols/maintain/templates/maintenance-run.md +2 -2
- package/skeleton/protocols/spir/protocol.json +5 -5
- package/skeleton/protocols/spir/protocol.md +8 -8
- package/skeleton/protocols/tick/protocol.md +31 -31
- package/skeleton/resources/commands/agent-farm.md +14 -14
- package/skeleton/resources/commands/codev.md +0 -1
- package/skeleton/resources/commands/consult.md +3 -3
- package/skeleton/resources/spikes.md +3 -3
- package/skeleton/resources/workflow-reference.md +14 -14
- package/skeleton/roles/architect.md +25 -25
- package/skeleton/roles/builder.md +1 -1
- package/skeleton/roles/consultant.md +6 -0
- package/skeleton/templates/AGENTS.md +5 -5
- package/skeleton/templates/CLAUDE.md +5 -5
- package/skeleton/templates/lifecycle.md +9 -9
- package/templates/open.html +19 -16
- package/templates/tower.html +54 -94
- package/templates/vendor/marked.min.js +6 -0
- package/templates/vendor/prism-bash.min.js +1 -0
- package/templates/vendor/prism-css.min.js +1 -0
- package/templates/vendor/prism-javascript.min.js +1 -0
- package/templates/vendor/prism-json.min.js +1 -0
- package/templates/vendor/prism-markdown.min.js +1 -0
- package/templates/vendor/prism-markup.min.js +1 -0
- package/templates/vendor/prism-python.min.js +1 -0
- package/templates/vendor/prism-tomorrow.min.css +1 -0
- package/templates/vendor/prism-typescript.min.js +1 -0
- package/templates/vendor/prism-yaml.min.js +1 -0
- package/templates/vendor/prism.min.js +1 -0
- package/templates/vendor/purify.min.js +3 -0
- package/dashboard/dist/assets/index-4n9zpWLY.css +0 -32
- package/dashboard/dist/assets/index-b38SaXk5.js +0 -136
- package/dashboard/dist/assets/index-b38SaXk5.js.map +0 -1
- package/dist/agent-farm/hq-connector.d.ts +0 -19
- package/dist/agent-farm/hq-connector.d.ts.map +0 -1
- package/dist/agent-farm/hq-connector.js +0 -351
- package/dist/agent-farm/hq-connector.js.map +0 -1
- package/dist/agent-farm/utils/deps.d.ts +0 -51
- package/dist/agent-farm/utils/deps.d.ts.map +0 -1
- package/dist/agent-farm/utils/deps.js +0 -162
- package/dist/agent-farm/utils/deps.js.map +0 -1
- package/dist/agent-farm/utils/gate-status.d.ts +0 -16
- package/dist/agent-farm/utils/gate-status.d.ts.map +0 -1
- package/dist/agent-farm/utils/gate-status.js +0 -79
- package/dist/agent-farm/utils/gate-status.js.map +0 -1
- package/dist/agent-farm/utils/gate-watcher.d.ts +0 -38
- package/dist/agent-farm/utils/gate-watcher.d.ts.map +0 -1
- package/dist/agent-farm/utils/gate-watcher.js +0 -122
- package/dist/agent-farm/utils/gate-watcher.js.map +0 -1
- package/dist/agent-farm/utils/session.d.ts +0 -32
- package/dist/agent-farm/utils/session.d.ts.map +0 -1
- package/dist/agent-farm/utils/session.js +0 -57
- package/dist/agent-farm/utils/session.js.map +0 -1
- package/dist/lib/projectlist-parser.d.ts +0 -70
- package/dist/lib/projectlist-parser.d.ts.map +0 -1
- package/dist/lib/projectlist-parser.js +0 -200
- package/dist/lib/projectlist-parser.js.map +0 -1
- package/skeleton/templates/projectlist-archive.md +0 -21
- package/skeleton/templates/projectlist.md +0 -147
- package/templates/dashboard/css/dialogs.css +0 -149
- package/templates/dashboard/css/files.css +0 -558
- package/templates/dashboard/css/layout.css +0 -133
- package/templates/dashboard/css/projects.css +0 -501
- package/templates/dashboard/css/statusbar.css +0 -23
- package/templates/dashboard/css/tabs.css +0 -314
- package/templates/dashboard/css/utilities.css +0 -50
- package/templates/dashboard/css/variables.css +0 -45
- package/templates/dashboard/index.html +0 -149
- package/templates/dashboard/js/dialogs.js +0 -368
- package/templates/dashboard/js/files.js +0 -448
- package/templates/dashboard/js/main.js +0 -476
- package/templates/dashboard/js/projects.js +0 -544
- package/templates/dashboard/js/state.js +0 -91
- package/templates/dashboard/js/tabs.js +0 -518
- package/templates/dashboard/js/utils.js +0 -191
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
/* Tab Bar, Tab Buttons, Overflow Menu */
|
|
2
|
-
|
|
3
|
-
/* Tab bar */
|
|
4
|
-
.tab-bar {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
background: var(--bg-secondary);
|
|
8
|
-
border-bottom: 1px solid var(--border);
|
|
9
|
-
min-height: 40px;
|
|
10
|
-
overflow: visible; /* Allow overflow menu dropdown to be visible */
|
|
11
|
-
position: relative; /* Position context for overflow menu */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.tabs-scroll {
|
|
15
|
-
display: flex;
|
|
16
|
-
overflow-x: auto;
|
|
17
|
-
flex: 1;
|
|
18
|
-
scrollbar-width: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.tabs-scroll::-webkit-scrollbar {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.tab {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
gap: 6px;
|
|
29
|
-
padding: 8px 12px;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
border-right: 1px solid var(--border);
|
|
32
|
-
border-bottom: 2px solid transparent; /* Reserve space for active indicator */
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
flex-shrink: 0;
|
|
35
|
-
position: relative;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.tab:hover {
|
|
39
|
-
background: var(--tab-hover);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.tab.active {
|
|
43
|
-
background: var(--bg-tertiary);
|
|
44
|
-
border-bottom: 2px solid var(--accent); /* Blue accent line */
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.tab.new-tab {
|
|
48
|
-
animation: tab-pulse 0.5s ease-out;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@keyframes tab-pulse {
|
|
52
|
-
0% { background: var(--accent); }
|
|
53
|
-
100% { background: var(--tab-active); }
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.tab .icon {
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.tab .name {
|
|
61
|
-
font-size: 13px;
|
|
62
|
-
max-width: 120px;
|
|
63
|
-
overflow: hidden;
|
|
64
|
-
text-overflow: ellipsis;
|
|
65
|
-
color: var(--text-secondary);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.tab.active .name {
|
|
69
|
-
color: var(--text-primary);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.tab .status-dot {
|
|
73
|
-
width: 6px;
|
|
74
|
-
height: 6px;
|
|
75
|
-
border-radius: 50%;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/* Shape modifiers for accessibility (not just color) */
|
|
79
|
-
.tab .status-dot--diamond {
|
|
80
|
-
border-radius: 1px;
|
|
81
|
-
transform: rotate(45deg);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Ring shape for pr-ready (accessibility: distinct from circle) */
|
|
85
|
-
.tab .status-dot--ring {
|
|
86
|
-
box-shadow: inset 0 0 0 1.5px currentColor;
|
|
87
|
-
background: transparent !important;
|
|
88
|
-
color: var(--status-waiting);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/* Distinct animations per status category (spec 0019) */
|
|
92
|
-
@keyframes status-pulse {
|
|
93
|
-
/* Pulsing: Active/working (spawning, implementing) */
|
|
94
|
-
0%, 100% { opacity: 1; transform: scale(1); }
|
|
95
|
-
50% { opacity: 0.7; transform: scale(0.9); }
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@keyframes status-blink-slow {
|
|
99
|
-
/* Slow blink: Idle/waiting (pr-ready) */
|
|
100
|
-
0%, 100% { opacity: 1; }
|
|
101
|
-
50% { opacity: 0.3; }
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@keyframes status-blink-fast {
|
|
105
|
-
/* Fast blink: Error/blocked */
|
|
106
|
-
0%, 100% { opacity: 1; }
|
|
107
|
-
50% { opacity: 0.2; }
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.tab .status-dot--pulse {
|
|
111
|
-
animation: status-pulse 2s ease-in-out infinite;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.tab .status-dot--blink-slow {
|
|
115
|
-
animation: status-blink-slow 3s ease-in-out infinite;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.tab .status-dot--blink-fast {
|
|
119
|
-
animation: status-blink-fast 0.8s ease-in-out infinite;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/* Respect reduced motion preference (WCAG 2.3.3) */
|
|
123
|
-
/* Motion-independent differentiators remain: diamond for blocked, ring for pr-ready */
|
|
124
|
-
@media (prefers-reduced-motion: reduce) {
|
|
125
|
-
.tab .status-dot--pulse,
|
|
126
|
-
.tab .status-dot--blink-slow,
|
|
127
|
-
.tab .status-dot--blink-fast {
|
|
128
|
-
animation: none;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.tab .close {
|
|
133
|
-
opacity: 0.6; /* Always clearly visible */
|
|
134
|
-
margin-left: 6px;
|
|
135
|
-
font-size: 16px;
|
|
136
|
-
font-weight: 500;
|
|
137
|
-
color: var(--text-secondary);
|
|
138
|
-
padding: 4px 8px;
|
|
139
|
-
border-radius: 4px;
|
|
140
|
-
cursor: pointer;
|
|
141
|
-
line-height: 1;
|
|
142
|
-
min-width: 24px;
|
|
143
|
-
min-height: 24px;
|
|
144
|
-
display: flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
justify-content: center;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.tab:hover .close {
|
|
150
|
-
opacity: 0.9;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.tab .close:hover {
|
|
154
|
-
opacity: 1;
|
|
155
|
-
background: rgba(239, 68, 68, 0.2); /* Red tint on hover */
|
|
156
|
-
color: #ef4444;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/* Add buttons */
|
|
160
|
-
.add-buttons {
|
|
161
|
-
display: flex;
|
|
162
|
-
gap: 4px;
|
|
163
|
-
padding: 0 8px;
|
|
164
|
-
flex-shrink: 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.add-btn {
|
|
168
|
-
padding: 4px 8px;
|
|
169
|
-
border-radius: 4px;
|
|
170
|
-
border: 1px dashed var(--border);
|
|
171
|
-
background: transparent;
|
|
172
|
-
color: var(--text-muted);
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
font-size: 12px;
|
|
175
|
-
display: flex;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: 4px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.add-btn:hover {
|
|
181
|
-
border-style: solid;
|
|
182
|
-
color: var(--text-secondary);
|
|
183
|
-
background: var(--bg-tertiary);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/* Overflow indicator */
|
|
187
|
-
.overflow-btn {
|
|
188
|
-
padding: 8px 12px;
|
|
189
|
-
background: var(--bg-tertiary);
|
|
190
|
-
border: none;
|
|
191
|
-
border-left: 1px solid var(--border);
|
|
192
|
-
color: var(--text-secondary);
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
display: none; /* Hidden by default, shown via JS */
|
|
195
|
-
align-items: center;
|
|
196
|
-
gap: 4px;
|
|
197
|
-
flex-shrink: 0;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.overflow-btn:hover {
|
|
201
|
-
background: var(--tab-hover);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.overflow-btn:focus {
|
|
205
|
-
outline: 2px solid var(--accent);
|
|
206
|
-
outline-offset: -2px;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.overflow-count {
|
|
210
|
-
font-size: 11px;
|
|
211
|
-
background: var(--accent);
|
|
212
|
-
color: white;
|
|
213
|
-
padding: 1px 5px;
|
|
214
|
-
border-radius: 8px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/* Overflow menu dropdown */
|
|
218
|
-
.overflow-menu {
|
|
219
|
-
position: absolute;
|
|
220
|
-
right: 0;
|
|
221
|
-
top: 100%;
|
|
222
|
-
background: var(--bg-secondary);
|
|
223
|
-
border: 1px solid var(--border);
|
|
224
|
-
border-radius: 4px;
|
|
225
|
-
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
|
226
|
-
max-height: 300px;
|
|
227
|
-
overflow-y: auto;
|
|
228
|
-
min-width: 200px;
|
|
229
|
-
z-index: 100;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.overflow-menu.hidden {
|
|
233
|
-
display: none;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.overflow-menu-item {
|
|
237
|
-
padding: 8px 12px;
|
|
238
|
-
cursor: pointer;
|
|
239
|
-
display: flex;
|
|
240
|
-
align-items: center;
|
|
241
|
-
gap: 8px;
|
|
242
|
-
font-size: 13px;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.overflow-menu-item:hover,
|
|
246
|
-
.overflow-menu-item:focus {
|
|
247
|
-
background: var(--tab-hover);
|
|
248
|
-
outline: none;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.overflow-menu-item.active {
|
|
252
|
-
background: var(--tab-active);
|
|
253
|
-
border-left: 2px solid var(--accent);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.overflow-menu-item .icon {
|
|
257
|
-
font-size: 14px;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.overflow-menu-item .name {
|
|
261
|
-
flex: 1;
|
|
262
|
-
overflow: hidden;
|
|
263
|
-
text-overflow: ellipsis;
|
|
264
|
-
white-space: nowrap;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.overflow-menu-item .open-external {
|
|
268
|
-
opacity: 0.5;
|
|
269
|
-
cursor: pointer;
|
|
270
|
-
padding: 2px 6px;
|
|
271
|
-
font-size: 12px;
|
|
272
|
-
border-radius: 3px;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.overflow-menu-item .open-external:hover {
|
|
276
|
-
opacity: 1;
|
|
277
|
-
background: rgba(255, 255, 255, 0.1);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/* Tab content */
|
|
281
|
-
.tab-content {
|
|
282
|
-
flex: 1;
|
|
283
|
-
display: flex;
|
|
284
|
-
flex-direction: column;
|
|
285
|
-
overflow: hidden;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.tab-content iframe {
|
|
289
|
-
flex: 1;
|
|
290
|
-
width: 100%;
|
|
291
|
-
border: none;
|
|
292
|
-
background: #000;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.empty-state {
|
|
296
|
-
flex: 1;
|
|
297
|
-
display: flex;
|
|
298
|
-
flex-direction: column;
|
|
299
|
-
align-items: center;
|
|
300
|
-
justify-content: center;
|
|
301
|
-
color: var(--text-muted);
|
|
302
|
-
gap: 12px;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.empty-state .hint {
|
|
306
|
-
font-size: 13px;
|
|
307
|
-
text-align: center;
|
|
308
|
-
max-width: 300px;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/* Projects tab without close button */
|
|
312
|
-
.tab.tab-uncloseable .close {
|
|
313
|
-
display: none;
|
|
314
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* Utility Classes and Miscellaneous Styles */
|
|
2
|
-
|
|
3
|
-
/* Hidden utility */
|
|
4
|
-
.hidden {
|
|
5
|
-
display: none !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* Accessibility: Screen reader only */
|
|
9
|
-
.sr-only {
|
|
10
|
-
position: absolute;
|
|
11
|
-
width: 1px;
|
|
12
|
-
height: 1px;
|
|
13
|
-
padding: 0;
|
|
14
|
-
margin: -1px;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
clip: rect(0, 0, 0, 0);
|
|
17
|
-
white-space: nowrap;
|
|
18
|
-
border: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/* Focus visible for keyboard navigation */
|
|
22
|
-
:focus-visible {
|
|
23
|
-
outline: 2px solid var(--accent);
|
|
24
|
-
outline-offset: 2px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Scrollbar styling */
|
|
28
|
-
::-webkit-scrollbar {
|
|
29
|
-
width: 8px;
|
|
30
|
-
height: 8px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
::-webkit-scrollbar-track {
|
|
34
|
-
background: var(--bg-primary);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
::-webkit-scrollbar-thumb {
|
|
38
|
-
background: var(--border);
|
|
39
|
-
border-radius: 4px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
::-webkit-scrollbar-thumb:hover {
|
|
43
|
-
background: var(--text-muted);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Selection color */
|
|
47
|
-
::selection {
|
|
48
|
-
background: var(--accent);
|
|
49
|
-
color: white;
|
|
50
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* Dashboard CSS Variables */
|
|
2
|
-
|
|
3
|
-
* {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
:root {
|
|
10
|
-
--bg-primary: #1a1a1a;
|
|
11
|
-
--bg-secondary: #252525;
|
|
12
|
-
--bg-tertiary: #2a2a2a;
|
|
13
|
-
--border: #333;
|
|
14
|
-
--text-primary: #fff;
|
|
15
|
-
--text-secondary: #ccc;
|
|
16
|
-
--text-muted: #666;
|
|
17
|
-
--accent: #3b82f6;
|
|
18
|
-
--tab-active: #333;
|
|
19
|
-
--tab-hover: #2a2a2a;
|
|
20
|
-
/* Status indicator colors per spec 0019 */
|
|
21
|
-
--status-active: #22c55e; /* Green: spawning, implementing */
|
|
22
|
-
--status-waiting: #eab308; /* Yellow: pr-ready (waiting for review) */
|
|
23
|
-
--status-error: #ef4444; /* Red: blocked */
|
|
24
|
-
--status-complete: #9e9e9e; /* Gray: complete */
|
|
25
|
-
/* Project lifecycle status colors per spec 0045 */
|
|
26
|
-
--project-conceived: #eab308; /* Yellow */
|
|
27
|
-
--project-specified: #3b82f6; /* Blue */
|
|
28
|
-
--project-planned: #3b82f6; /* Blue */
|
|
29
|
-
--project-implementing: #f97316; /* Orange */
|
|
30
|
-
--project-implemented: #a855f7; /* Purple */
|
|
31
|
-
--project-committed: #22c55e; /* Green */
|
|
32
|
-
--project-integrated: #9e9e9e; /* Gray */
|
|
33
|
-
--project-abandoned: #ef4444; /* Red */
|
|
34
|
-
--project-on-hold: #9e9e9e; /* Gray */
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
body {
|
|
38
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
39
|
-
background: var(--bg-primary);
|
|
40
|
-
color: var(--text-primary);
|
|
41
|
-
height: 100vh;
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>AF: {{PROJECT_NAME}}</title>
|
|
7
|
-
<!-- CSS files loaded in dependency order (relative paths for proxy compatibility) -->
|
|
8
|
-
<link rel="stylesheet" href="dashboard/css/variables.css">
|
|
9
|
-
<link rel="stylesheet" href="dashboard/css/layout.css">
|
|
10
|
-
<link rel="stylesheet" href="dashboard/css/tabs.css">
|
|
11
|
-
<link rel="stylesheet" href="dashboard/css/statusbar.css">
|
|
12
|
-
<link rel="stylesheet" href="dashboard/css/dialogs.css">
|
|
13
|
-
<link rel="stylesheet" href="dashboard/css/projects.css">
|
|
14
|
-
<link rel="stylesheet" href="dashboard/css/files.css">
|
|
15
|
-
<link rel="stylesheet" href="dashboard/css/utilities.css">
|
|
16
|
-
</head>
|
|
17
|
-
<body>
|
|
18
|
-
<header class="header">
|
|
19
|
-
<h1>Agent Farm - {{PROJECT_NAME}}</h1>
|
|
20
|
-
</header>
|
|
21
|
-
|
|
22
|
-
<main class="main">
|
|
23
|
-
<!-- Left pane: Architect terminal -->
|
|
24
|
-
<div class="left-pane">
|
|
25
|
-
<div class="pane-header">
|
|
26
|
-
<span class="status-dot" id="architect-status"></span>
|
|
27
|
-
<span>Architect</span>
|
|
28
|
-
</div>
|
|
29
|
-
<div id="architect-content"></div>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<!-- Right pane: Tabbed interface -->
|
|
33
|
-
<div class="right-pane">
|
|
34
|
-
<div class="tab-bar">
|
|
35
|
-
<div class="tabs-scroll" id="tabs-container"></div>
|
|
36
|
-
<button class="overflow-btn" id="overflow-btn" onclick="toggleOverflowMenu()" aria-haspopup="true" aria-expanded="false" title="Show all tabs">
|
|
37
|
-
<span>...</span>
|
|
38
|
-
<span class="overflow-count" id="overflow-count">+0</span>
|
|
39
|
-
</button>
|
|
40
|
-
<div class="overflow-menu hidden" id="overflow-menu" role="menu"></div>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="tab-content" id="tab-content"></div>
|
|
43
|
-
</div>
|
|
44
|
-
</main>
|
|
45
|
-
|
|
46
|
-
<footer class="status-bar">
|
|
47
|
-
<div class="status-item" id="status-architect">
|
|
48
|
-
<span class="dot" style="background: var(--text-muted)"></span>
|
|
49
|
-
<span>Architect: stopped</span>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="status-item" id="status-builders">
|
|
52
|
-
<span>0 builders</span>
|
|
53
|
-
</div>
|
|
54
|
-
<div class="status-item" id="status-shells">
|
|
55
|
-
<span>0 shells</span>
|
|
56
|
-
</div>
|
|
57
|
-
<div class="status-item" id="status-files">
|
|
58
|
-
<span>0 files</span>
|
|
59
|
-
</div>
|
|
60
|
-
</footer>
|
|
61
|
-
|
|
62
|
-
<!-- File picker dialog -->
|
|
63
|
-
<div class="dialog-overlay hidden" id="file-dialog">
|
|
64
|
-
<div class="dialog">
|
|
65
|
-
<h3>Open File</h3>
|
|
66
|
-
<div class="quick-paths">
|
|
67
|
-
<button class="quick-path" onclick="setFilePath('codev/specs/')">codev/specs/</button>
|
|
68
|
-
<button class="quick-path" onclick="setFilePath('codev/plans/')">codev/plans/</button>
|
|
69
|
-
<button class="quick-path" onclick="setFilePath('codev/reviews/')">codev/reviews/</button>
|
|
70
|
-
</div>
|
|
71
|
-
<input type="text" id="file-path-input" placeholder="Enter file path..." />
|
|
72
|
-
<div class="dialog-actions">
|
|
73
|
-
<button class="btn" onclick="hideFileDialog()">Cancel</button>
|
|
74
|
-
<button class="btn" onclick="openFile()">Open</button>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
|
|
79
|
-
<!-- Create file dialog (Bugfix #131) -->
|
|
80
|
-
<div class="dialog-overlay hidden" id="create-file-dialog">
|
|
81
|
-
<div class="dialog">
|
|
82
|
-
<h3>Create New File</h3>
|
|
83
|
-
<div class="quick-paths">
|
|
84
|
-
<button class="quick-path" onclick="setCreateFilePath('codev/specs/')">codev/specs/</button>
|
|
85
|
-
<button class="quick-path" onclick="setCreateFilePath('codev/plans/')">codev/plans/</button>
|
|
86
|
-
<button class="quick-path" onclick="setCreateFilePath('src/')">src/</button>
|
|
87
|
-
</div>
|
|
88
|
-
<input type="text" id="create-file-path-input" placeholder="Enter file path (e.g., src/utils/helper.ts)" />
|
|
89
|
-
<div class="dialog-actions">
|
|
90
|
-
<button class="btn" onclick="hideCreateFileDialog()">Cancel</button>
|
|
91
|
-
<button class="btn btn-primary" onclick="createFile()">Create</button>
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<!-- Close confirmation dialog -->
|
|
97
|
-
<div class="dialog-overlay hidden" id="close-dialog">
|
|
98
|
-
<div class="dialog">
|
|
99
|
-
<h3 id="close-dialog-title">Close tab?</h3>
|
|
100
|
-
<p id="close-dialog-message" style="color: var(--text-secondary); margin-bottom: 16px; font-size: 14px;"></p>
|
|
101
|
-
<div class="dialog-actions">
|
|
102
|
-
<button class="btn" onclick="hideCloseDialog()">Cancel</button>
|
|
103
|
-
<button class="btn btn-danger" onclick="confirmClose()">Close</button>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
|
|
108
|
-
<!-- Context menu -->
|
|
109
|
-
<div class="context-menu hidden" id="context-menu" role="menu">
|
|
110
|
-
<div class="context-menu-item" role="menuitem" tabindex="0" data-action="openContextTab" onclick="openContextTab()" onkeydown="handleContextMenuKeydown(event)">Open in New Tab</div>
|
|
111
|
-
<div class="context-menu-item" role="menuitem" tabindex="-1" data-action="reloadContextTab" id="context-reload" onclick="reloadContextTab()" onkeydown="handleContextMenuKeydown(event)">Reload</div>
|
|
112
|
-
<div class="context-menu-item" role="menuitem" tabindex="-1" data-action="closeActiveTab" onclick="closeActiveTab()" onkeydown="handleContextMenuKeydown(event)">Close</div>
|
|
113
|
-
<div class="context-menu-item" role="menuitem" tabindex="-1" data-action="closeOtherTabs" onclick="closeOtherTabs()" onkeydown="handleContextMenuKeydown(event)">Close Others</div>
|
|
114
|
-
<div class="context-menu-item danger" role="menuitem" tabindex="-1" data-action="closeAllTabs" onclick="closeAllTabs()" onkeydown="handleContextMenuKeydown(event)">Close All</div>
|
|
115
|
-
</div>
|
|
116
|
-
|
|
117
|
-
<!-- Toast container -->
|
|
118
|
-
<div class="toast-container" id="toast-container"></div>
|
|
119
|
-
|
|
120
|
-
<!-- File search palette (Cmd+P) - Spec 0058 -->
|
|
121
|
-
<div id="file-palette" class="file-palette hidden">
|
|
122
|
-
<div class="file-palette-backdrop" onclick="closePalette()"></div>
|
|
123
|
-
<div class="file-palette-container">
|
|
124
|
-
<input type="text"
|
|
125
|
-
id="palette-input"
|
|
126
|
-
class="file-palette-input"
|
|
127
|
-
placeholder="Search files by name..."
|
|
128
|
-
oninput="onPaletteInput(this.value)"
|
|
129
|
-
onkeydown="onPaletteKeydown(event)" />
|
|
130
|
-
<div id="palette-results" class="file-palette-results"></div>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
|
|
134
|
-
<!-- State injection (replaced by server) -->
|
|
135
|
-
<script>
|
|
136
|
-
// STATE_INJECTION_POINT
|
|
137
|
-
</script>
|
|
138
|
-
|
|
139
|
-
<!-- JavaScript files loaded in dependency order -->
|
|
140
|
-
<!-- JS files (relative paths for proxy compatibility) -->
|
|
141
|
-
<script src="dashboard/js/state.js"></script>
|
|
142
|
-
<script src="dashboard/js/utils.js"></script>
|
|
143
|
-
<script src="dashboard/js/tabs.js"></script>
|
|
144
|
-
<script src="dashboard/js/dialogs.js"></script>
|
|
145
|
-
<script src="dashboard/js/projects.js"></script>
|
|
146
|
-
<script src="dashboard/js/files.js"></script>
|
|
147
|
-
<script src="dashboard/js/main.js"></script>
|
|
148
|
-
</body>
|
|
149
|
-
</html>
|