@oddessentials/agent-guild 0.9.0 → 0.11.0

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.
Files changed (81) hide show
  1. package/README.md +14 -15
  2. package/bin/agent-guild-report.mjs +42 -20
  3. package/config/providers.default.json +4 -0
  4. package/examples/grok-hooks.json +43 -0
  5. package/package.json +1 -1
  6. package/src/manager/command-resolver.mjs +6 -2
  7. package/src/manager/config.mjs +2 -0
  8. package/src/manager/main.mjs +9 -2
  9. package/src/manager/providers.mjs +10 -3
  10. package/src/manager/report-shims.mjs +2 -0
  11. package/src/manager/server.mjs +19 -3
  12. package/src/manager/session-hooks.mjs +350 -0
  13. package/src/manager/session-manager.mjs +57 -19
  14. package/src/manager/session.mjs +240 -8
  15. package/src/report/hooks.mjs +79 -9
  16. package/web/app.js +90 -12
  17. package/web/index.html +6 -0
  18. package/web/skins/grove/characters/anthropic/idle.avif +0 -0
  19. package/web/skins/grove/characters/anthropic/idle.webp +0 -0
  20. package/web/skins/grove/characters/anthropic/locked.avif +0 -0
  21. package/web/skins/grove/characters/anthropic/locked.webp +0 -0
  22. package/web/skins/grove/characters/anthropic/working.avif +0 -0
  23. package/web/skins/grove/characters/anthropic/working.webp +0 -0
  24. package/web/skins/grove/characters/google/idle.avif +0 -0
  25. package/web/skins/grove/characters/google/idle.webp +0 -0
  26. package/web/skins/grove/characters/google/locked.avif +0 -0
  27. package/web/skins/grove/characters/google/locked.webp +0 -0
  28. package/web/skins/grove/characters/google/working.avif +0 -0
  29. package/web/skins/grove/characters/google/working.webp +0 -0
  30. package/web/skins/grove/characters/openai/idle.avif +0 -0
  31. package/web/skins/grove/characters/openai/idle.webp +0 -0
  32. package/web/skins/grove/characters/openai/locked.avif +0 -0
  33. package/web/skins/grove/characters/openai/locked.webp +0 -0
  34. package/web/skins/grove/characters/openai/working.avif +0 -0
  35. package/web/skins/grove/characters/openai/working.webp +0 -0
  36. package/web/skins/grove/characters/shell/idle.avif +0 -0
  37. package/web/skins/grove/characters/shell/idle.webp +0 -0
  38. package/web/skins/grove/characters/shell/locked.avif +0 -0
  39. package/web/skins/grove/characters/shell/locked.webp +0 -0
  40. package/web/skins/grove/characters/shell/working.avif +0 -0
  41. package/web/skins/grove/characters/shell/working.webp +0 -0
  42. package/web/skins/grove/characters/xai/idle.avif +0 -0
  43. package/web/skins/grove/characters/xai/idle.webp +0 -0
  44. package/web/skins/grove/characters/xai/locked.avif +0 -0
  45. package/web/skins/grove/characters/xai/locked.webp +0 -0
  46. package/web/skins/grove/characters/xai/working.avif +0 -0
  47. package/web/skins/grove/characters/xai/working.webp +0 -0
  48. package/web/skins/grove/familiars/aether.png +0 -0
  49. package/web/skins/grove/familiars/flame.png +0 -0
  50. package/web/skins/grove/familiars/leaf.png +0 -0
  51. package/web/skins/grove/familiars/night.png +0 -0
  52. package/web/skins/grove/fonts/OFL.txt +93 -0
  53. package/web/skins/grove/fonts/fraunces.woff2 +0 -0
  54. package/web/skins/grove/icons/anthropic.avif +0 -0
  55. package/web/skins/grove/icons/anthropic.webp +0 -0
  56. package/web/skins/grove/icons/google.avif +0 -0
  57. package/web/skins/grove/icons/google.webp +0 -0
  58. package/web/skins/grove/icons/openai.avif +0 -0
  59. package/web/skins/grove/icons/openai.webp +0 -0
  60. package/web/skins/grove/icons/shell.avif +0 -0
  61. package/web/skins/grove/icons/shell.webp +0 -0
  62. package/web/skins/grove/icons/xai.avif +0 -0
  63. package/web/skins/grove/icons/xai.webp +0 -0
  64. package/web/skins/grove/page-light.avif +0 -0
  65. package/web/skins/grove/page-light.webp +0 -0
  66. package/web/skins/grove/page.avif +0 -0
  67. package/web/skins/grove/page.webp +0 -0
  68. package/web/skins/grove/skin.css +395 -0
  69. package/web/skins/grove/ui/card-light.avif +0 -0
  70. package/web/skins/grove/ui/card-light.webp +0 -0
  71. package/web/skins/grove/ui/card.avif +0 -0
  72. package/web/skins/grove/ui/card.webp +0 -0
  73. package/web/skins/grove/ui/drop.svg +1 -0
  74. package/web/skins/grove/ui/empty-state.avif +0 -0
  75. package/web/skins/grove/ui/empty-state.webp +0 -0
  76. package/web/skins/grove/ui/leaf.svg +1 -0
  77. package/web/skins/grove/ui/lock.svg +1 -0
  78. package/web/skins/grove/ui/sprig.svg +1 -0
  79. package/web/skins/grove/ui/stone.png +0 -0
  80. package/web/styles.css +10 -2
  81. package/web/theme.js +1 -0
@@ -0,0 +1,395 @@
1
+ /* The Grove skin: moss, water and quiet skies, with a cast of gentle nature spirits.
2
+ Everything here applies only while <html data-skin="grove">; docs/SKINS.md lists every slot.
3
+ The art is built by concept-art/grove-skin/source/build.py. */
4
+
5
+ @font-face {
6
+ font-family: "Fraunces";
7
+ src: url("fonts/fraunces.woff2") format("woff2");
8
+ font-weight: 100 900;
9
+ font-display: swap;
10
+ }
11
+
12
+ :where(:root[data-skin="grove"]) {
13
+ --bg: #eef0e6;
14
+ --surface: #fbfaf4;
15
+ --surface-2: #f1f2e7;
16
+ --border: #d8dcc8;
17
+ --text: #1e2a21;
18
+ --muted: #5a6a5d;
19
+ --heading: #1b3324;
20
+ --accent: #3b7550;
21
+ --accent-fill: #3b7550;
22
+ --accent-text: #ffffff;
23
+ --danger: #b0392c;
24
+ --ok: #2c7a47;
25
+ --warn: #965f00;
26
+ --gold: #a5863e;
27
+ --gold-ink: #6a5420;
28
+ --focus: #3b7550;
29
+ --shadow: 0 1px 2px rgba(30, 50, 30, 0.06), 0 6px 18px rgba(30, 50, 30, 0.07);
30
+ --radius: 14px;
31
+ --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
32
+
33
+ --paper: rgba(251, 250, 244, 0.84);
34
+ --paper-strong: rgba(251, 250, 244, 0.95);
35
+ --vine: linear-gradient(90deg, transparent, #7fae6a 20%, #4f8a5a 50%, #8fbf9a 80%, transparent);
36
+ --page-art: image-set(url("page-light.avif") type("image/avif"), url("page-light.webp") type("image/webp"));
37
+ --page-veil: linear-gradient(rgba(244, 242, 234, 0.5), rgba(244, 242, 234, 0.26) 45%, rgba(244, 242, 234, 0.36));
38
+ --card-backdrop: image-set(url("ui/card-light.avif") type("image/avif"), url("ui/card-light.webp") type("image/webp"));
39
+ --empty-shadow: rgba(40, 70, 40, 0.28);
40
+ --card-shadow: 0 1px 2px rgba(30, 50, 30, 0.06), 0 10px 28px rgba(30, 50, 30, 0.1);
41
+ --card-hover-shadow: 0 2px 4px rgba(30, 50, 30, 0.06), 0 16px 36px color-mix(in srgb, var(--pc) 18%, rgba(30, 50, 30, 0.12));
42
+ --dialog-shadow: 0 30px 70px -18px rgba(20, 40, 25, 0.35);
43
+ --sunbeam: rgba(255, 248, 220, 0.34);
44
+
45
+ body { background: var(--bg); }
46
+ body::before {
47
+ content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
48
+ background: var(--page-veil), var(--page-art) center bottom / cover no-repeat;
49
+ }
50
+ h2 { font-weight: 600; letter-spacing: 0.01em; }
51
+
52
+ .topbar { background: var(--paper); backdrop-filter: blur(12px) saturate(1.15); border-bottom: 1px solid transparent; border-image: var(--vine) 1; }
53
+ .version { font-family: var(--font-display); }
54
+ .version.unread::after { background: radial-gradient(circle at 35% 30%, #fff 0 14%, var(--accent) 52%); box-shadow: 0 0 0 2px var(--surface), 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent); }
55
+ .connection .dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 16%, transparent), 0 0 7px color-mix(in srgb, var(--dot) 70%, transparent); }
56
+ .section-head { padding-bottom: 9px; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent) 45%, transparent 85%) 1; }
57
+
58
+ /* Provider colour and art. Unknown providers fall back to the Shell lantern spirit. */
59
+ .provider, .session-card {
60
+ --pc: #9a7ae0;
61
+ --idle: image-set(url("characters/shell/idle.avif") type("image/avif"), url("characters/shell/idle.webp") type("image/webp"));
62
+ --working: image-set(url("characters/shell/working.avif") type("image/avif"), url("characters/shell/working.webp") type("image/webp"));
63
+ --locked: image-set(url("characters/shell/locked.avif") type("image/avif"), url("characters/shell/locked.webp") type("image/webp"));
64
+ }
65
+ .provider[data-id="anthropic"], .session-card[data-provider="anthropic"] {
66
+ --pc: #d97757;
67
+ --idle: image-set(url("characters/anthropic/idle.avif") type("image/avif"), url("characters/anthropic/idle.webp") type("image/webp"));
68
+ --working: image-set(url("characters/anthropic/working.avif") type("image/avif"), url("characters/anthropic/working.webp") type("image/webp"));
69
+ --locked: image-set(url("characters/anthropic/locked.avif") type("image/avif"), url("characters/anthropic/locked.webp") type("image/webp"));
70
+ }
71
+ .provider[data-id="openai"], .session-card[data-provider="openai"] {
72
+ --pc: #4caf6e;
73
+ --idle: image-set(url("characters/openai/idle.avif") type("image/avif"), url("characters/openai/idle.webp") type("image/webp"));
74
+ --working: image-set(url("characters/openai/working.avif") type("image/avif"), url("characters/openai/working.webp") type("image/webp"));
75
+ --locked: image-set(url("characters/openai/locked.avif") type("image/avif"), url("characters/openai/locked.webp") type("image/webp"));
76
+ }
77
+ .provider[data-id="google"], .session-card[data-provider="google"] {
78
+ --pc: #4a9be8;
79
+ --idle: image-set(url("characters/google/idle.avif") type("image/avif"), url("characters/google/idle.webp") type("image/webp"));
80
+ --working: image-set(url("characters/google/working.avif") type("image/avif"), url("characters/google/working.webp") type("image/webp"));
81
+ --locked: image-set(url("characters/google/locked.avif") type("image/avif"), url("characters/google/locked.webp") type("image/webp"));
82
+ }
83
+ .provider[data-id="xai"], .session-card[data-provider="xai"] {
84
+ --pc: #2fb8c6;
85
+ --idle: image-set(url("characters/xai/idle.avif") type("image/avif"), url("characters/xai/idle.webp") type("image/webp"));
86
+ --working: image-set(url("characters/xai/working.avif") type("image/avif"), url("characters/xai/working.webp") type("image/webp"));
87
+ --locked: image-set(url("characters/xai/locked.avif") type("image/avif"), url("characters/xai/locked.webp") type("image/webp"));
88
+ }
89
+
90
+ .provider-icon[data-provider="anthropic"] { --icon: image-set(url("icons/anthropic.avif") type("image/avif"), url("icons/anthropic.webp") type("image/webp")); }
91
+ .provider-icon[data-provider="openai"] { --icon: image-set(url("icons/openai.avif") type("image/avif"), url("icons/openai.webp") type("image/webp")); }
92
+ .provider-icon[data-provider="google"] { --icon: image-set(url("icons/google.avif") type("image/avif"), url("icons/google.webp") type("image/webp")); }
93
+ .provider-icon[data-provider="xai"] { --icon: image-set(url("icons/xai.avif") type("image/avif"), url("icons/xai.webp") type("image/webp")); }
94
+ .provider-icon[data-provider="shell"] { --icon: image-set(url("icons/shell.avif") type("image/avif"), url("icons/shell.webp") type("image/webp")); }
95
+ .provider-icon:not(.has-image)[data-provider="anthropic"],
96
+ .provider-icon:not(.has-image)[data-provider="openai"],
97
+ .provider-icon:not(.has-image)[data-provider="google"],
98
+ .provider-icon:not(.has-image)[data-provider="xai"],
99
+ .provider-icon:not(.has-image)[data-provider="shell"] {
100
+ background: var(--icon) center / cover no-repeat; color: transparent; border-radius: 50%;
101
+ box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, #fff), 0 2px 6px rgba(20, 40, 25, 0.25);
102
+ }
103
+
104
+ /* Cards: soft paper panels with a hairline inner frame and a sprig of leaves in the corner. */
105
+ .provider, .session-card {
106
+ position: relative; isolation: isolate; overflow: hidden;
107
+ padding: 16px; border-radius: 18px; background: var(--paper); backdrop-filter: blur(10px);
108
+ border: 1px solid color-mix(in srgb, var(--pc) 18%, var(--border)); box-shadow: var(--card-shadow);
109
+ transition: border-color 0.4s, box-shadow 0.4s, transform 0.6s var(--ease);
110
+ }
111
+ .provider:hover, .session-card:hover {
112
+ transform: translateY(-2px); border-color: color-mix(in srgb, var(--pc) 45%, var(--border)); box-shadow: var(--card-hover-shadow);
113
+ }
114
+ .provider::after, .session-card::after {
115
+ content: ""; position: absolute; inset: 5px; z-index: 2; pointer-events: none;
116
+ border: 1px solid color-mix(in srgb, var(--pc) 22%, transparent); border-radius: 14px;
117
+ background: url("ui/sprig.svg") right -1px top -1px / 46px 46px no-repeat;
118
+ }
119
+ /* Hover: a slow beam of sunlight passes across the card. */
120
+ .provider::before {
121
+ content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
122
+ background: linear-gradient(115deg, transparent 35%, var(--sunbeam) 50%, transparent 65%);
123
+ transform: translateX(-110%);
124
+ }
125
+ .provider:hover::before { transform: translateX(110%); transition: transform 1.6s var(--ease); }
126
+
127
+ .card-art { position: absolute; z-index: -1; overflow: hidden; pointer-events: none; background: var(--card-backdrop) center / cover; }
128
+ .card-art::before { content: ""; position: absolute; inset: 0; background: var(--idle) no-repeat; }
129
+ .provider .card-art::before { transition: transform 0.8s var(--ease); }
130
+ .provider:hover .card-art::before { transform: translate(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px)) scale(1.035); }
131
+ .provider.unavailable { border-color: var(--border); }
132
+ .provider.unavailable::after { border-color: color-mix(in srgb, var(--muted) 22%, transparent); }
133
+ .provider.unavailable .card-art { filter: saturate(0.25) brightness(0.92); }
134
+ .provider.unavailable .card-art::before { background-image: var(--locked); }
135
+ .provider.unavailable::after {
136
+ background: url("ui/lock.svg") right 12px top 12px / 32px 32px no-repeat;
137
+ }
138
+
139
+ .session-card { min-height: 196px; }
140
+ .session-card .card-art::after {
141
+ content: ""; position: absolute; inset: 0; background: var(--working) no-repeat;
142
+ opacity: 0; transition: opacity 0.9s var(--ease);
143
+ }
144
+ .session-card:has(.status-pill.active) .card-art::after { opacity: 1; }
145
+ .session-card:has(.status-pill.active) { border-color: color-mix(in srgb, var(--pc) 55%, var(--border)); }
146
+ .session-card.exited .card-art { filter: grayscale(1) brightness(0.85); }
147
+ .session-card .card-top > .provider-icon { display: none; }
148
+ .session-card .card-top { flex-wrap: wrap; gap: 6px 8px; }
149
+ .session-card .card-title { flex-basis: 100%; }
150
+
151
+ /* Working: ripples spread across still water beneath the spirit while fireflies rise around it. */
152
+ .card-aura { position: absolute; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 0.9s var(--ease); }
153
+ .card-aura::before {
154
+ content: ""; position: absolute; left: 50%; bottom: 6%; width: 120%; aspect-ratio: 3; translate: -50% 0;
155
+ border-radius: 50%;
156
+ background: repeating-radial-gradient(closest-side, transparent 0 9%, color-mix(in srgb, var(--pc) 55%, #fff) 10.5%, transparent 12.5% 20%);
157
+ mask: radial-gradient(closest-side, #000 30%, transparent 100%);
158
+ transform-origin: 50% 50%;
159
+ }
160
+ .card-aura::after {
161
+ content: ""; position: absolute; inset: 0 0 auto; height: calc(100% + 110px);
162
+ background-image:
163
+ radial-gradient(circle, #fff6c4 0 1.3px, color-mix(in srgb, #ffe27a 55%, transparent) 2.2px, transparent 4px),
164
+ radial-gradient(circle, color-mix(in srgb, var(--pc) 70%, #fff) 0 1px, transparent 3px),
165
+ radial-gradient(circle, #e8ffd0 0 0.9px, transparent 2.6px);
166
+ background-size: 52px 110px, 71px 55px, 39px 110px;
167
+ background-position: 8px 14px, 33px 36px, 20px 70px;
168
+ }
169
+ .session-card:has(.status-pill.active) .card-aura { opacity: 1; }
170
+ .session-card:has(.status-pill.active) .card-aura::before { animation: grove-ripple 3.6s ease-out infinite; }
171
+ .session-card:has(.status-pill.active) .card-aura::after { animation: grove-fireflies 7s linear infinite; }
172
+ body:has(#terminal-panel:not([hidden])) main :is(.card-aura, .status-pill, .agent)::before,
173
+ body:has(#terminal-panel:not([hidden])) main :is(.card-aura, .agent)::after { animation-play-state: paused; }
174
+
175
+ /* The level is carved into a mossy river stone. */
176
+ .level-badge {
177
+ display: grid; place-items: center; position: absolute; left: 10px; bottom: 10px; z-index: 3;
178
+ width: 54px; height: 48px; padding: 3px 0 0 4px;
179
+ background: url("ui/stone.png") center / contain no-repeat;
180
+ font: 600 1.05rem var(--font-display); color: #f3f6ee; font-variant-numeric: tabular-nums;
181
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 6px rgba(0, 0, 0, 0.55);
182
+ filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
183
+ }
184
+ .level-badge:empty { display: none; }
185
+ .level-badge.level-up { animation: grove-level-up 1.4s var(--ease); }
186
+
187
+ .agent {
188
+ --fc: var(--c);
189
+ border-width: 1.5px; border-color: color-mix(in srgb, var(--fc) 75%, #fff); place-items: end end; padding: 0 3px 1px 0;
190
+ background: #0d1512 center / 100% auto no-repeat;
191
+ color: #fff; font-size: 0.6rem; text-shadow: 0 0 3px #000, 0 1px 2px #000;
192
+ box-shadow: 0 0 10px color-mix(in srgb, var(--fc) 40%, transparent);
193
+ }
194
+ .session-card .agent { width: 34px; height: 34px; }
195
+ .agent.working::after { border-color: var(--fc); }
196
+ .agent[data-familiar="flame"] { --fc: #f2994a; background-image: url("familiars/flame.png"); }
197
+ .agent[data-familiar="leaf"] { --fc: #6cc46a; background-image: url("familiars/leaf.png"); }
198
+ .agent[data-familiar="night"] { --fc: #a888e8; background-image: url("familiars/night.png"); }
199
+ .agent[data-familiar="aether"] { --fc: #a9d8f0; background-image: url("familiars/aether.png"); }
200
+ .agent.summon { animation: grove-sprout 0.9s var(--ease) both; }
201
+
202
+ .meter-label { padding-left: 19px; background: url("ui/drop.svg") left center / 14px 14px no-repeat; }
203
+ .meter + .meter .meter-label { background-image: url("ui/leaf.svg"); }
204
+ .meter-bar, .stat-bar { height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--border) 70%, transparent); }
205
+ .meter-fill { border-radius: 4px; background: linear-gradient(90deg, #2f7fc0, #6cc0e8); }
206
+ .meter + .meter .meter-fill { background: linear-gradient(90deg, #2f7a45, #7cc25e); }
207
+ .meter.low .meter-fill { background: linear-gradient(90deg, #9a6200, #e0a74a); }
208
+ .meter.empty .meter-fill { background: linear-gradient(90deg, #a5352a, #e06a5c); }
209
+ .stat-fill { border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--tier) 60%, #1b3324), var(--tier)); }
210
+ .model-stats-head { color: var(--accent); }
211
+ .stat-tier { border-radius: 7px; font-family: var(--font-display); }
212
+ .tier-s { --tier: #b08518; --tier-ink: #6b4d00; }
213
+ .tier-a { --tier: #3f8f5a; --tier-ink: #245a37; }
214
+ .tier-b { --tier: #3a86c8; --tier-ink: #1d568a; }
215
+ .tier-c { --tier: #8a9a3a; --tier-ink: #55601c; }
216
+ .tier-d { --tier: #98a39a; --tier-ink: #4f5a52; }
217
+
218
+ #empty {
219
+ padding: 18px 16px 16px; text-align: center; border-radius: 18px;
220
+ background: var(--paper); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--card-shadow);
221
+ }
222
+ .section-head h2 { text-shadow: 0 0 10px var(--bg), 0 0 3px var(--bg); }
223
+ #empty::before {
224
+ content: ""; display: block; width: 230px; height: 190px; margin: 0 auto 12px;
225
+ background: image-set(url("ui/empty-state.avif") type("image/avif"), url("ui/empty-state.webp") type("image/webp")) center / contain no-repeat;
226
+ filter: drop-shadow(0 12px 18px var(--empty-shadow));
227
+ animation: grove-float 8s ease-in-out infinite alternate;
228
+ }
229
+
230
+ .status-pill { border: 1px solid var(--border); background: var(--paper-strong); }
231
+ .status-pill.active { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 9%, var(--surface)); }
232
+ .status-pill.exited { border-color: color-mix(in srgb, var(--danger) 35%, transparent); background: color-mix(in srgb, var(--danger) 6%, var(--surface)); }
233
+ .model-pill { border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
234
+ .provider .tier { font-family: var(--font-display); border-color: color-mix(in srgb, var(--pc) 40%, var(--border)); color: color-mix(in srgb, var(--pc) 50%, var(--text)); background: color-mix(in srgb, var(--pc) 9%, var(--surface)); }
235
+
236
+ .btn { background: var(--paper-strong); border-radius: 999px; }
237
+ .btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
238
+ .btn.primary {
239
+ border-color: transparent; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
240
+ background: linear-gradient(135deg, #4f9163, #2d6b45);
241
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 14px rgba(45, 107, 69, 0.28);
242
+ }
243
+ .btn.primary:hover { filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 20px rgba(45, 107, 69, 0.36); }
244
+ .btn.danger:hover { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent); }
245
+ .cwd input, .auth input, .history-tools input[type="search"], .history-form input, .github-fields input, .github-fields select { background: var(--paper-strong); }
246
+
247
+ .models, .news-panel, .auth, .news-latest, .appearance-menu { background: var(--paper-strong); backdrop-filter: blur(16px); }
248
+ .models, .news-panel { box-shadow: var(--dialog-shadow); }
249
+ .model-columns, .news-day { background: transparent; backdrop-filter: blur(16px); }
250
+ .models::backdrop, .news-panel::backdrop { background: rgba(20, 36, 26, 0.34); backdrop-filter: blur(3px); }
251
+ .models { border-radius: 20px; }
252
+ .models::after, .auth::after {
253
+ content: ""; position: absolute; inset: 7px; z-index: 2; pointer-events: none;
254
+ border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 15px;
255
+ }
256
+ .models-bar, .panel-bar { border-bottom: 1px solid transparent; border-image: var(--vine) 1; }
257
+ .model-group h4, .news-day, .changelog-type { font-family: var(--font-display); letter-spacing: 0.04em; color: var(--gold-ink); }
258
+ .news-latest { border-radius: 16px; }
259
+ .news-row { transition: background-color 0.2s; }
260
+ .news-row:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
261
+ .news-row:first-child { border-radius: 16px 16px 0 0; }
262
+ .news-row:last-child { border-radius: 0 0 16px 16px; }
263
+ .news-filter { border-radius: 999px; }
264
+ .news-filter[aria-pressed="true"] { border-color: transparent; color: #fff; background: linear-gradient(135deg, #4f9163, #2d6b45); }
265
+ .auth { position: relative; border-radius: 20px; padding: 32px; box-shadow: var(--dialog-shadow); }
266
+ .terminal-panel { border-radius: 14px; border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); box-shadow: 0 30px 70px rgba(10, 24, 16, 0.4); }
267
+ .panel-bar { background: var(--paper-strong); }
268
+ .tip { background: #13201a; color: #e4ece4; border: 1px solid #2f4a3a; border-radius: 10px; box-shadow: 0 12px 30px rgba(8, 18, 12, 0.45); }
269
+ .tip strong { color: #b9e3a6; font-family: var(--font-display); }
270
+
271
+ .providers.deal > .provider { animation: grove-bloom 0.9s var(--ease) both; }
272
+ .providers.deal > .provider:nth-child(2) { animation-delay: 0.09s; }
273
+ .providers.deal > .provider:nth-child(3) { animation-delay: 0.18s; }
274
+ .providers.deal > .provider:nth-child(4) { animation-delay: 0.27s; }
275
+ .providers.deal > .provider:nth-child(5) { animation-delay: 0.36s; }
276
+ .providers.deal > .provider:nth-child(n + 6) { animation-delay: 0.45s; }
277
+ .session-card.enter { animation: grove-drift 0.8s var(--ease) both; }
278
+
279
+ /* Light: each spirit sits in a rounded window onto a sunlit glade. */
280
+ .card-art { border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 1px color-mix(in srgb, var(--pc) 30%, #cfd6c0), 0 2px 8px rgba(30, 50, 30, 0.16); }
281
+ .provider { padding-top: 238px; }
282
+ .provider .card-art { inset: 12px 12px auto; height: 212px; }
283
+ .provider .card-art::before { background-size: 104% auto; background-position: 50% 10%; }
284
+ .session-card { padding-left: 160px; }
285
+ .session-card .card-art, .session-card .card-aura { inset: 12px auto 12px 12px; width: 134px; border-radius: 13px; }
286
+ .session-card .card-art::before, .session-card .card-art::after { background-size: 150% auto; background-position: 50% 8%; }
287
+ .session-card .level-badge { left: 14px; bottom: 14px; }
288
+
289
+ @media (max-width: 640px) {
290
+ .session-card { padding-left: 140px; }
291
+ .session-card .card-art, .session-card .card-aura { width: 114px; }
292
+ }
293
+
294
+ @media (prefers-reduced-motion: reduce) {
295
+ .provider, .session-card, .card-aura, .session-card .card-art::after, .provider .card-art::before { transition: none; }
296
+ .provider:hover, .session-card:hover, .provider:hover .card-art::before { transform: none; }
297
+ .provider::before { display: none; }
298
+ .providers.deal > .provider, .session-card.enter, .level-badge.level-up, .agent.summon, #empty::before,
299
+ .session-card:has(.status-pill.active) .card-aura::before, .session-card:has(.status-pill.active) .card-aura::after { animation: none; }
300
+ }
301
+ }
302
+
303
+ :where(:root[data-skin="grove"][data-theme="dark"]) {
304
+ --bg: #08110f;
305
+ --surface: #101b18;
306
+ --surface-2: #16241f;
307
+ --border: #24362f;
308
+ --text: #e2eae3;
309
+ --muted: #92a597;
310
+ --heading: #eef5e8;
311
+ --accent: #8fd0a2;
312
+ --accent-fill: #3a7a52;
313
+ --danger: #f07a6c;
314
+ --ok: #6fd29a;
315
+ --warn: #e6b45c;
316
+ --gold: #d6c27e;
317
+ --gold-ink: #e2d196;
318
+ --focus: #a6e2b8;
319
+ --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
320
+
321
+ --paper: rgba(10, 20, 17, 0.76);
322
+ --paper-strong: rgba(13, 24, 20, 0.92);
323
+ --vine: linear-gradient(90deg, transparent, #4e7d55 20%, #8fd0a2 50%, #5c8f7a 80%, transparent);
324
+ --page-art: image-set(url("page.avif") type("image/avif"), url("page.webp") type("image/webp"));
325
+ --page-veil: linear-gradient(rgba(5, 11, 10, 0.6), rgba(5, 11, 10, 0.4) 40%, rgba(5, 11, 10, 0.55));
326
+ --card-backdrop: image-set(url("ui/card.avif") type("image/avif"), url("ui/card.webp") type("image/webp"));
327
+ --empty-shadow: rgba(140, 220, 160, 0.18);
328
+ --card-shadow: inset 0 1px 0 rgba(200, 255, 210, 0.05), 0 10px 30px rgba(0, 0, 0, 0.45);
329
+ --card-hover-shadow: inset 0 1px 0 rgba(200, 255, 210, 0.07), 0 0 26px color-mix(in srgb, var(--pc) 22%, transparent);
330
+ --dialog-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(140, 210, 160, 0.06);
331
+ --sunbeam: rgba(200, 230, 255, 0.08);
332
+
333
+ .tier-s { --tier: #e8c25e; --tier-ink: #f8e3a8; }
334
+ .tier-a { --tier: #6fd29a; --tier-ink: #cdf3db; }
335
+ .tier-b { --tier: #6cb6f0; --tier-ink: #d0e8fb; }
336
+ .tier-c { --tier: #b7c86a; --tier-ink: #e6eec4; }
337
+ .tier-d { --tier: #98a39a; --tier-ink: #d4dbd5; }
338
+
339
+ /* Dark: each spirit stands in a moonlit glade that fades into the card. */
340
+ .card-art { border-radius: 0; box-shadow: none; }
341
+ .provider { padding-top: 196px; }
342
+ .provider .card-art { inset: 0 0 auto 0; height: 250px; mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); }
343
+ .provider .card-art::before { background-size: cover; background-position: center 12%; }
344
+ .provider .vendor { color: #f1f6ec; }
345
+ .session-card { padding-left: 152px; }
346
+ .session-card .card-art, .session-card .card-aura {
347
+ inset: 0 auto 0 0; width: 168px; border-radius: 0;
348
+ mask-image: linear-gradient(to right, #000 62%, transparent 100%);
349
+ }
350
+ .session-card .card-art::before, .session-card .card-art::after { background-size: 168px auto; background-position: center top; }
351
+ .session-card .level-badge { left: 10px; bottom: 10px; }
352
+
353
+ .meter-bar, .stat-bar { background: #07100d; box-shadow: inset 0 0 0 1px rgba(140, 210, 160, 0.14); }
354
+ .meter-fill { background: linear-gradient(90deg, #2a78b8, #72c8f0); box-shadow: 0 0 8px rgba(114, 200, 240, 0.45); }
355
+ .meter + .meter .meter-fill { background: linear-gradient(90deg, #2f8a4e, #8fdc6e); box-shadow: 0 0 8px rgba(143, 220, 110, 0.45); }
356
+ .meter.low .meter-fill { background: linear-gradient(90deg, #b67a14, #f0c060); box-shadow: 0 0 8px rgba(240, 192, 96, 0.4); }
357
+ .meter.empty .meter-fill { background: linear-gradient(90deg, #b8443a, #f07a6c); box-shadow: 0 0 8px rgba(240, 122, 108, 0.4); }
358
+ .stat-fill { background: linear-gradient(90deg, color-mix(in srgb, var(--tier) 50%, #000), var(--tier)); box-shadow: 0 0 8px color-mix(in srgb, var(--tier) 40%, transparent); }
359
+ .stat-tier { background: linear-gradient(color-mix(in srgb, var(--tier) 28%, #101b18), #07100d); border-color: color-mix(in srgb, var(--tier) 60%, #000); }
360
+
361
+ .status-pill { background: rgba(4, 10, 8, 0.6); }
362
+ .status-pill.active { background: color-mix(in srgb, var(--ok) 10%, rgba(4, 10, 8, 0.6)); box-shadow: 0 0 10px rgba(111, 210, 154, 0.2); }
363
+ .status-pill.exited { background: color-mix(in srgb, var(--danger) 8%, rgba(4, 10, 8, 0.6)); }
364
+ .provider .tier { color: color-mix(in srgb, var(--pc) 65%, #fff); background: rgba(4, 10, 8, 0.6); }
365
+ .badge { background: rgba(4, 10, 8, 0.5); }
366
+
367
+ .btn { background: linear-gradient(rgba(28, 44, 37, 0.92), rgba(14, 24, 20, 0.92)); border-color: #2e4a3d; box-shadow: inset 0 1px 0 rgba(200, 255, 210, 0.06); }
368
+ .btn:hover { border-color: #5f9a72; box-shadow: inset 0 1px 0 rgba(200, 255, 210, 0.08), 0 0 12px rgba(95, 154, 114, 0.3); }
369
+ .btn.primary { background: linear-gradient(135deg, #4a8c5e, #2a6340); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 18px rgba(80, 160, 105, 0.35); }
370
+ .btn.danger { color: #ff9a8e; }
371
+ .btn.danger:hover { border-color: #b8443a; box-shadow: 0 0 12px rgba(240, 122, 108, 0.3); }
372
+ .cwd input, .auth input, .history-tools input[type="search"], .history-form input, .github-fields input, .github-fields select { border-color: #2e4a3d; background: rgba(4, 10, 8, 0.7); }
373
+
374
+ .models::backdrop, .news-panel::backdrop { background: rgba(2, 6, 5, 0.66); }
375
+ .terminal-panel { border-color: #2e4a3d; box-shadow: 0 0 0 1px rgba(140, 210, 160, 0.06), 0 30px 80px rgba(0, 0, 0, 0.7); }
376
+ .news-link { color: #eef5e8; }
377
+ a.news-link:visited { color: var(--muted); }
378
+
379
+ @media (max-width: 640px) {
380
+ .session-card { padding-left: 118px; }
381
+ .session-card .card-art, .session-card .card-aura { width: 132px; }
382
+ .session-card .card-art::before, .session-card .card-art::after { background-size: 132px auto; }
383
+ }
384
+ }
385
+
386
+ @keyframes grove-bloom { from { opacity: 0; transform: translateY(16px) scale(0.97); filter: blur(4px); } 60% { opacity: 1; filter: blur(0); } }
387
+ @keyframes grove-drift { from { opacity: 0; transform: translateX(-12px); filter: blur(3px); } }
388
+ @keyframes grove-level-up {
389
+ 35% { transform: scale(1.3) rotate(-6deg); filter: brightness(1.35) drop-shadow(0 0 10px #b9f0a0); }
390
+ 70% { transform: scale(0.96) rotate(2deg); }
391
+ }
392
+ @keyframes grove-sprout { from { opacity: 0; transform: translateY(10px) scale(0.2); } 60% { opacity: 1; transform: translateY(-2px) scale(1.12); } }
393
+ @keyframes grove-ripple { from { opacity: 0.9; transform: scale(0.35); } to { opacity: 0; transform: scale(1.15); } }
394
+ @keyframes grove-fireflies { to { transform: translateY(-110px); } }
395
+ @keyframes grove-float { from { transform: translateY(0); } to { transform: translateY(-7px); } }
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><linearGradient id="f" x1="0" y1="0" x2="0.4" y2="1"><stop offset="0" stop-color="#bdeaff"/><stop offset="0.55" stop-color="#4aa6e8"/><stop offset="1" stop-color="#1f6fb8"/></linearGradient></defs><path d="M8 1.2C8 1.2 3 7 3 10.2a5 5 0 0 0 10 0C13 7 8 1.2 8 1.2z" fill="url(#f)" stroke="#1a5f9c" stroke-opacity="0.45" stroke-width="0.6"/><path d="M5.6 10.4a2.6 2.6 0 0 0 2 2.4" fill="none" stroke="#fff" stroke-opacity="0.85" stroke-width="1.1" stroke-linecap="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><linearGradient id="f" x1="0" y1="1" x2="1" y2="0"><stop offset="0" stop-color="#2f7a3a"/><stop offset="0.6" stop-color="#5fb84e"/><stop offset="1" stop-color="#b6e27a"/></linearGradient></defs><path d="M2.2 13.8C1.6 7.4 5.6 2.4 14 1.8c.4 8-4.6 12.4-11.8 12z" fill="url(#f)" stroke="#245e2c" stroke-opacity="0.5" stroke-width="0.6"/><path d="M2.4 13.6C5.4 10 8.4 7 12.2 3.8M6.4 10.2l-.4-2.6M9 7.6l2.4.2" fill="none" stroke="#e8f6d2" stroke-opacity="0.8" stroke-width="0.8" stroke-linecap="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><radialGradient id="s" cx="38%" cy="32%" r="75%"><stop offset="0" stop-color="#6d7672"/><stop offset="0.65" stop-color="#3a423f"/><stop offset="1" stop-color="#1f2523"/></radialGradient><linearGradient id="m" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#9ccf5a"/><stop offset="1" stop-color="#4f8a2c"/></linearGradient></defs><ellipse cx="20" cy="21" rx="17.5" ry="16" fill="url(#s)" stroke="#1a1f1d" stroke-opacity="0.5"/><path d="M5 16c3-7 10-11 17-10.5 4 .3 7 1.8 9.4 4-4.4-1.6-9.6-1.2-14 .6S9.6 15 5 16z" fill="url(#m)"/><path d="M15.6 19.5v-3a4.4 4.4 0 0 1 8.8 0v3" fill="none" stroke="#e9efe4" stroke-width="2.1" stroke-linecap="round"/><rect x="13" y="19.2" width="14" height="10.4" rx="3" fill="#e9efe4"/><path d="M20 21.6c-1.9 1.3-2.2 3.6-.1 5.6 2.1-2 1.8-4.3.1-5.6z" fill="#5b9a34"/><path d="M20 22.6v4.4" stroke="#e9efe4" stroke-width="0.6"/><path d="M3.5 27c5 3.5 10 2 13.5-1.5M36.5 24.5c-3.6 3.6-8.4 4.3-12 2.5" fill="none" stroke="#5b9a34" stroke-width="1.5" stroke-linecap="round"/><path d="M8 29.5c-1.6-.4-2.6-1.6-2.6-3 1.5 0 2.6 1.2 2.6 3zM31.5 28c1.4-.9 1.8-2.4 1.2-3.6-1.4.6-1.9 2.2-1.2 3.6z" fill="#7cb84a"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><defs><linearGradient id="g" x1="1" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#3f7d3a"/><stop offset="1" stop-color="#8cc75a"/></linearGradient></defs><path d="M63 1C52 6 40 10 30 20 22 28 18 36 15 46" fill="none" stroke="#5a7d3a" stroke-width="1.6" stroke-linecap="round"/><path d="M49 7c-3-5-9-6-13-4 3 4 8 6 13 4z" fill="url(#g)"/><path d="M41 13c1 6 6 9 11 9-1-5-6-9-11-9z" fill="url(#g)"/><path d="M31 20c-4-4-10-4-14-1 4 3 10 4 14 1z" fill="url(#g)"/><path d="M25 28c1 6 5 10 11 10-1-6-5-9-11-10z" fill="url(#g)"/><path d="M19 37c-4-3-9-2-12 1 3 3 9 3 12-1z" fill="url(#g)"/><path d="M15 46c-2 3-1.5 6 .5 8 1.5-2.5 1.2-5.6-.5-8z" fill="#9fd468"/></svg>
Binary file
package/web/styles.css CHANGED
@@ -196,6 +196,8 @@ main { max-width: 1200px; margin: 0 auto; padding: 26px 16px 56px; display: grid
196
196
  .tier-d { --tier: #94a3b8; --tier-ink: #d4dbe4; }
197
197
  }
198
198
  .provider-links { display: flex; gap: 14px; font-size: 0.78rem; }
199
+ .reporting-row { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); }
200
+ .reporting-row .btn { padding: 2px 10px; font-size: 0.75rem; white-space: nowrap; }
199
201
  .console-link { color: var(--accent); text-decoration: none; }
200
202
  .console-link:hover { text-decoration: underline; }
201
203
  .console-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
@@ -223,7 +225,7 @@ main { max-width: 1200px; margin: 0 auto; padding: 26px 16px 56px; display: grid
223
225
 
224
226
  .session-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
225
227
  .session-card {
226
- display: grid; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius);
228
+ display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius);
227
229
  background: var(--surface); box-shadow: var(--shadow); cursor: pointer;
228
230
  }
229
231
  .session-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@@ -256,7 +258,11 @@ main { max-width: 1200px; margin: 0 auto; padding: 26px 16px 56px; display: grid
256
258
  .agents-row { display: flex; align-items: center; gap: 10px; min-height: 30px; }
257
259
  .agents-label { font-size: 0.75rem; color: var(--muted); }
258
260
  .agents { display: flex; flex-wrap: wrap; gap: 6px; }
259
- .agents:empty::after { content: "none reported"; font-size: 0.75rem; color: var(--muted); }
261
+ .agents-row .agents { flex: 1; min-width: 0; }
262
+ .agents:empty::after { content: attr(data-empty); font-size: 0.75rem; color: var(--muted); }
263
+ .agents.reporting-attention:empty::after { color: var(--warn); }
264
+ .reporting-why { align-self: center; padding: 0 6px; border: 1px solid var(--border); border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 0.7rem; cursor: pointer; }
265
+ .reporting-why:hover, .reporting-why:focus-visible { color: var(--text); border-color: var(--muted); }
260
266
  .agent {
261
267
  --c: #64748b;
262
268
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; position: relative;
@@ -270,6 +276,8 @@ main { max-width: 1200px; margin: 0 auto; padding: 26px 16px 56px; display: grid
270
276
  .agent.waiting { border-style: dashed; }
271
277
  .agent.done, .agent.idle { opacity: 0.5; }
272
278
  .panel-title .agents:empty::after { content: none; }
279
+ .agent.shell { font-family: var(--font-mono, monospace); font-size: 0.8rem; }
280
+ .agent-overflow { align-self: center; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
273
281
 
274
282
  .card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
275
283
  .btn {
package/web/theme.js CHANGED
@@ -8,6 +8,7 @@
8
8
  { id: 'guild', name: 'Guild' },
9
9
  { id: 'professional', name: 'Professional' },
10
10
  { id: 'orbital', name: 'Orbital' },
11
+ { id: 'grove', name: 'Grove' },
11
12
  ];
12
13
  window.agentGuildSkins = skins;
13
14