@mcoda/agent-setup 0.1.66 → 0.1.71

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.
@@ -0,0 +1,576 @@
1
+ .mcoda-agent-setup {
2
+ --mcoda-surface: #ffffff;
3
+ --mcoda-page: #f8fafc;
4
+ --mcoda-border: #e2e8f0;
5
+ --mcoda-border-strong: #cbd5e1;
6
+ --mcoda-text: #0f172a;
7
+ --mcoda-muted: #64748b;
8
+ --mcoda-faint: #94a3b8;
9
+ --mcoda-blue: #2563eb;
10
+ --mcoda-blue-soft: #eff6ff;
11
+ --mcoda-emerald: #059669;
12
+ --mcoda-emerald-soft: #ecfdf5;
13
+ --mcoda-amber: #d97706;
14
+ --mcoda-amber-soft: #fffbeb;
15
+ --mcoda-rose: #e11d48;
16
+ --mcoda-rose-soft: #fff1f2;
17
+ color: var(--mcoda-text);
18
+ display: grid;
19
+ gap: 16px;
20
+ width: 100%;
21
+ }
22
+
23
+ .mcoda-agent-setup *,
24
+ .mcoda-agent-setup *::before,
25
+ .mcoda-agent-setup *::after {
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ .mcoda-agent-setup button,
30
+ .mcoda-agent-setup input,
31
+ .mcoda-agent-setup select {
32
+ font: inherit;
33
+ }
34
+
35
+ .mcoda-agent-setup__header,
36
+ .mcoda-agent-setup__summary,
37
+ .mcoda-agent-setup__access,
38
+ .mcoda-agent-setup__assignments,
39
+ .mcoda-agent-setup__empty-state,
40
+ .mcoda-agent-setup__alert {
41
+ background: var(--mcoda-surface);
42
+ border: 1px solid var(--mcoda-border);
43
+ border-radius: 8px;
44
+ box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
45
+ }
46
+
47
+ .mcoda-agent-setup__header {
48
+ align-items: center;
49
+ display: flex;
50
+ gap: 16px;
51
+ justify-content: space-between;
52
+ padding: 18px 20px;
53
+ }
54
+
55
+ .mcoda-agent-setup__title-block {
56
+ min-width: 0;
57
+ }
58
+
59
+ .mcoda-agent-setup__eyebrow {
60
+ color: var(--mcoda-blue);
61
+ font-size: 10px;
62
+ font-weight: 800;
63
+ letter-spacing: 0;
64
+ margin: 0 0 4px;
65
+ text-transform: uppercase;
66
+ }
67
+
68
+ .mcoda-agent-setup__header h1,
69
+ .mcoda-agent-setup__card-heading h2,
70
+ .mcoda-agent-setup__assignments h2 {
71
+ color: var(--mcoda-text);
72
+ font-size: 18px;
73
+ font-weight: 750;
74
+ line-height: 1.2;
75
+ margin: 0;
76
+ }
77
+
78
+ .mcoda-agent-setup__header p,
79
+ .mcoda-agent-setup__card-heading p {
80
+ color: var(--mcoda-muted);
81
+ font-size: 13px;
82
+ line-height: 1.45;
83
+ margin: 4px 0 0;
84
+ }
85
+
86
+ .mcoda-agent-setup__button {
87
+ align-items: center;
88
+ border: 1px solid transparent;
89
+ border-radius: 8px;
90
+ cursor: pointer;
91
+ display: inline-flex;
92
+ font-size: 13px;
93
+ font-weight: 700;
94
+ gap: 8px;
95
+ justify-content: center;
96
+ min-height: 38px;
97
+ padding: 0 14px;
98
+ transition:
99
+ background-color 140ms ease,
100
+ border-color 140ms ease,
101
+ color 140ms ease;
102
+ white-space: nowrap;
103
+ }
104
+
105
+ .mcoda-agent-setup__button:disabled {
106
+ background: #f1f5f9;
107
+ color: var(--mcoda-faint);
108
+ cursor: not-allowed;
109
+ }
110
+
111
+ .mcoda-agent-setup__button--primary {
112
+ background: #0f172a;
113
+ color: #ffffff;
114
+ }
115
+
116
+ .mcoda-agent-setup__button--primary:hover:not(:disabled) {
117
+ background: #1e293b;
118
+ }
119
+
120
+ .mcoda-agent-setup__button--secondary {
121
+ background: var(--mcoda-blue-soft);
122
+ border-color: #bfdbfe;
123
+ color: #1d4ed8;
124
+ }
125
+
126
+ .mcoda-agent-setup__button--secondary:hover:not(:disabled) {
127
+ background: #dbeafe;
128
+ }
129
+
130
+ .mcoda-agent-setup__button--success {
131
+ background: var(--mcoda-emerald);
132
+ color: #ffffff;
133
+ }
134
+
135
+ .mcoda-agent-setup__button--success:hover:not(:disabled) {
136
+ background: #047857;
137
+ }
138
+
139
+ .mcoda-agent-setup__alert {
140
+ font-size: 13px;
141
+ margin: 0;
142
+ padding: 12px 14px;
143
+ }
144
+
145
+ .mcoda-agent-setup__alert--error {
146
+ background: var(--mcoda-rose-soft);
147
+ border-color: #fecdd3;
148
+ color: #be123c;
149
+ }
150
+
151
+ .mcoda-agent-setup__alert--success {
152
+ background: var(--mcoda-emerald-soft);
153
+ border-color: #a7f3d0;
154
+ color: #047857;
155
+ }
156
+
157
+ .mcoda-agent-setup__overview {
158
+ display: grid;
159
+ gap: 16px;
160
+ grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.75fr);
161
+ }
162
+
163
+ .mcoda-agent-setup__summary,
164
+ .mcoda-agent-setup__access,
165
+ .mcoda-agent-setup__assignments,
166
+ .mcoda-agent-setup__empty-state {
167
+ padding: 18px;
168
+ }
169
+
170
+ .mcoda-agent-setup__card-heading {
171
+ align-items: flex-start;
172
+ display: flex;
173
+ gap: 14px;
174
+ justify-content: space-between;
175
+ margin-bottom: 16px;
176
+ }
177
+
178
+ .mcoda-agent-setup__metric-grid {
179
+ display: grid;
180
+ gap: 12px;
181
+ grid-template-columns: repeat(6, minmax(120px, 1fr));
182
+ }
183
+
184
+ .mcoda-agent-setup__metric {
185
+ background: #f8fafc;
186
+ border: 1px solid #edf2f7;
187
+ border-radius: 8px;
188
+ min-width: 0;
189
+ padding: 12px;
190
+ }
191
+
192
+ .mcoda-agent-setup__metric span,
193
+ .mcoda-agent-setup__field span,
194
+ .mcoda-agent-setup__stage-table th {
195
+ color: var(--mcoda-faint);
196
+ display: block;
197
+ font-size: 10px;
198
+ font-weight: 800;
199
+ letter-spacing: 0;
200
+ text-transform: uppercase;
201
+ }
202
+
203
+ .mcoda-agent-setup__metric strong {
204
+ color: var(--mcoda-text);
205
+ display: block;
206
+ font-size: 22px;
207
+ font-weight: 800;
208
+ line-height: 1.1;
209
+ margin-top: 8px;
210
+ overflow: hidden;
211
+ text-overflow: ellipsis;
212
+ white-space: nowrap;
213
+ }
214
+
215
+ .mcoda-agent-setup__metric small {
216
+ color: var(--mcoda-muted);
217
+ display: block;
218
+ font-size: 12px;
219
+ margin-top: 6px;
220
+ overflow: hidden;
221
+ text-overflow: ellipsis;
222
+ white-space: nowrap;
223
+ }
224
+
225
+ .mcoda-agent-setup__badge {
226
+ background: #f1f5f9;
227
+ border: 1px solid #e2e8f0;
228
+ border-radius: 999px;
229
+ color: #475569;
230
+ display: inline-flex;
231
+ font-size: 10px;
232
+ font-weight: 800;
233
+ letter-spacing: 0;
234
+ line-height: 1;
235
+ padding: 6px 8px;
236
+ text-transform: uppercase;
237
+ white-space: nowrap;
238
+ }
239
+
240
+ .mcoda-agent-setup__badge--success {
241
+ background: var(--mcoda-emerald-soft);
242
+ border-color: #a7f3d0;
243
+ color: #047857;
244
+ }
245
+
246
+ .mcoda-agent-setup__badge--warning {
247
+ background: var(--mcoda-amber-soft);
248
+ border-color: #fde68a;
249
+ color: #b45309;
250
+ }
251
+
252
+ .mcoda-agent-setup__badge--info {
253
+ background: var(--mcoda-blue-soft);
254
+ border-color: #bfdbfe;
255
+ color: #1d4ed8;
256
+ }
257
+
258
+ .mcoda-agent-setup__badge--worker {
259
+ background: #eef2ff;
260
+ border-color: #c7d2fe;
261
+ color: #3730a3;
262
+ }
263
+
264
+ .mcoda-agent-setup__warnings {
265
+ background: var(--mcoda-amber-soft);
266
+ border: 1px solid #fde68a;
267
+ border-radius: 8px;
268
+ color: #92400e;
269
+ font-size: 12px;
270
+ margin: 14px 0 0;
271
+ padding: 10px 12px 10px 28px;
272
+ }
273
+
274
+ .mcoda-agent-setup__access {
275
+ align-content: start;
276
+ display: grid;
277
+ gap: 14px;
278
+ }
279
+
280
+ .mcoda-agent-setup__field {
281
+ display: grid;
282
+ gap: 8px;
283
+ }
284
+
285
+ .mcoda-agent-setup__field input,
286
+ .mcoda-agent-setup__server-select input,
287
+ .mcoda-agent-setup__server-select select,
288
+ .mcoda-agent-setup__agent-panel-search input {
289
+ background: #ffffff;
290
+ border: 1px solid var(--mcoda-border);
291
+ border-radius: 8px;
292
+ color: var(--mcoda-text);
293
+ min-height: 40px;
294
+ outline: none;
295
+ padding: 0 12px;
296
+ width: 100%;
297
+ }
298
+
299
+ .mcoda-agent-setup__field input:focus,
300
+ .mcoda-agent-setup__server-select input:focus,
301
+ .mcoda-agent-setup__server-select select:focus,
302
+ .mcoda-agent-setup__agent-panel-search input:focus,
303
+ .mcoda-agent-setup__agent-trigger:focus-visible,
304
+ .mcoda-agent-setup__button:focus-visible,
305
+ .mcoda-agent-setup__source button:focus-visible {
306
+ border-color: #60a5fa;
307
+ box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
308
+ outline: none;
309
+ }
310
+
311
+ .mcoda-agent-setup__action-row {
312
+ display: flex;
313
+ flex-wrap: wrap;
314
+ gap: 10px;
315
+ }
316
+
317
+ .mcoda-agent-setup__stage-table-wrap {
318
+ border: 1px solid var(--mcoda-border);
319
+ border-radius: 8px;
320
+ overflow-x: auto;
321
+ }
322
+
323
+ .mcoda-agent-setup__stage-table {
324
+ border-collapse: collapse;
325
+ min-width: 980px;
326
+ table-layout: fixed;
327
+ width: 100%;
328
+ }
329
+
330
+ .mcoda-agent-setup__stage-table th {
331
+ background: #f8fafc;
332
+ border-bottom: 1px solid var(--mcoda-border);
333
+ padding: 12px;
334
+ text-align: left;
335
+ }
336
+
337
+ .mcoda-agent-setup__stage-table td {
338
+ border-bottom: 1px solid #f1f5f9;
339
+ padding: 12px;
340
+ vertical-align: top;
341
+ }
342
+
343
+ .mcoda-agent-setup__stage-table tr:last-child td {
344
+ border-bottom: 0;
345
+ }
346
+
347
+ .mcoda-agent-setup__stage-table th:nth-child(1),
348
+ .mcoda-agent-setup__stage-table td:nth-child(1) {
349
+ width: 22%;
350
+ }
351
+
352
+ .mcoda-agent-setup__stage-table th:nth-child(2),
353
+ .mcoda-agent-setup__stage-table td:nth-child(2) {
354
+ width: 15%;
355
+ }
356
+
357
+ .mcoda-agent-setup__stage-table th:nth-child(3),
358
+ .mcoda-agent-setup__stage-table td:nth-child(3) {
359
+ width: 18%;
360
+ }
361
+
362
+ .mcoda-agent-setup__stage-table th:nth-child(4),
363
+ .mcoda-agent-setup__stage-table td:nth-child(4) {
364
+ width: 34%;
365
+ }
366
+
367
+ .mcoda-agent-setup__stage-cell strong {
368
+ color: var(--mcoda-text);
369
+ display: block;
370
+ font-size: 14px;
371
+ }
372
+
373
+ .mcoda-agent-setup__stage-cell p {
374
+ color: var(--mcoda-muted);
375
+ font-size: 12px;
376
+ line-height: 1.4;
377
+ margin: 4px 0 8px;
378
+ }
379
+
380
+ .mcoda-agent-setup__stage-cell code,
381
+ .mcoda-agent-setup__agent-row code {
382
+ color: var(--mcoda-faint);
383
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
384
+ font-size: 11px;
385
+ }
386
+
387
+ .mcoda-agent-setup__source {
388
+ background: #f1f5f9;
389
+ border: 1px solid var(--mcoda-border);
390
+ border-radius: 8px;
391
+ display: inline-flex;
392
+ gap: 4px;
393
+ padding: 4px;
394
+ }
395
+
396
+ .mcoda-agent-setup__source button {
397
+ background: transparent;
398
+ border: 0;
399
+ border-radius: 6px;
400
+ color: var(--mcoda-muted);
401
+ cursor: pointer;
402
+ font-size: 12px;
403
+ font-weight: 800;
404
+ min-height: 30px;
405
+ padding: 0 10px;
406
+ }
407
+
408
+ .mcoda-agent-setup__source button[aria-pressed="true"] {
409
+ background: #ffffff;
410
+ box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
411
+ color: var(--mcoda-blue);
412
+ }
413
+
414
+ .mcoda-agent-setup__server-select {
415
+ display: grid;
416
+ gap: 8px;
417
+ }
418
+
419
+ .mcoda-agent-setup__muted-pill {
420
+ background: #f8fafc;
421
+ border: 1px solid var(--mcoda-border);
422
+ border-radius: 8px;
423
+ color: var(--mcoda-muted);
424
+ display: inline-flex;
425
+ font-size: 13px;
426
+ font-weight: 650;
427
+ min-height: 40px;
428
+ padding: 10px 12px;
429
+ width: 100%;
430
+ }
431
+
432
+ .mcoda-agent-setup__agent-combobox {
433
+ min-width: 0;
434
+ position: relative;
435
+ }
436
+
437
+ .mcoda-agent-setup__agent-trigger {
438
+ align-items: center;
439
+ background: #ffffff;
440
+ border: 1px solid var(--mcoda-border);
441
+ border-radius: 8px;
442
+ color: var(--mcoda-text);
443
+ cursor: pointer;
444
+ display: flex;
445
+ gap: 10px;
446
+ justify-content: space-between;
447
+ min-height: 44px;
448
+ padding: 8px 10px;
449
+ text-align: left;
450
+ width: 100%;
451
+ }
452
+
453
+ .mcoda-agent-setup__agent-trigger:disabled {
454
+ background: #f8fafc;
455
+ color: var(--mcoda-faint);
456
+ cursor: not-allowed;
457
+ }
458
+
459
+ .mcoda-agent-setup__agent-trigger-main {
460
+ min-width: 0;
461
+ }
462
+
463
+ .mcoda-agent-setup__agent-trigger-main strong,
464
+ .mcoda-agent-setup__agent-row-main strong {
465
+ display: block;
466
+ font-size: 13px;
467
+ overflow: hidden;
468
+ text-overflow: ellipsis;
469
+ white-space: nowrap;
470
+ }
471
+
472
+ .mcoda-agent-setup__agent-trigger-main small,
473
+ .mcoda-agent-setup__agent-row-main small {
474
+ color: var(--mcoda-muted);
475
+ display: block;
476
+ font-size: 11px;
477
+ margin-top: 3px;
478
+ overflow: hidden;
479
+ text-overflow: ellipsis;
480
+ white-space: nowrap;
481
+ }
482
+
483
+ .mcoda-agent-setup__chevron {
484
+ color: var(--mcoda-faint);
485
+ font-size: 16px;
486
+ line-height: 1;
487
+ }
488
+
489
+ .mcoda-agent-setup__agent-panel {
490
+ background: #ffffff;
491
+ border: 1px solid var(--mcoda-border);
492
+ border-radius: 8px;
493
+ box-shadow: 0 24px 44px rgba(15, 23, 42, 0.18);
494
+ overflow: hidden;
495
+ position: fixed;
496
+ z-index: 90;
497
+ }
498
+
499
+ .mcoda-agent-setup__agent-panel-search {
500
+ border-bottom: 1px solid #f1f5f9;
501
+ padding: 8px;
502
+ }
503
+
504
+ .mcoda-agent-setup__agent-count {
505
+ color: var(--mcoda-muted);
506
+ font-size: 12px;
507
+ font-weight: 650;
508
+ padding: 8px 12px;
509
+ }
510
+
511
+ .mcoda-agent-setup__agent-list {
512
+ overflow-y: auto;
513
+ }
514
+
515
+ .mcoda-agent-setup__agent-row {
516
+ align-items: flex-start;
517
+ background: #ffffff;
518
+ border: 0;
519
+ border-top: 1px solid #f1f5f9;
520
+ color: var(--mcoda-text);
521
+ cursor: pointer;
522
+ display: flex;
523
+ gap: 12px;
524
+ justify-content: space-between;
525
+ padding: 9px 12px;
526
+ text-align: left;
527
+ width: 100%;
528
+ }
529
+
530
+ .mcoda-agent-setup__agent-row:hover,
531
+ .mcoda-agent-setup__agent-row--selected {
532
+ background: var(--mcoda-blue-soft);
533
+ }
534
+
535
+ .mcoda-agent-setup__agent-row-main {
536
+ min-width: 0;
537
+ }
538
+
539
+ .mcoda-agent-setup__selected-mark {
540
+ color: var(--mcoda-blue);
541
+ flex: none;
542
+ font-size: 10px;
543
+ font-weight: 800;
544
+ margin-top: 3px;
545
+ text-transform: uppercase;
546
+ }
547
+
548
+ .mcoda-agent-setup__empty-state {
549
+ color: var(--mcoda-muted);
550
+ font-size: 14px;
551
+ padding: 28px;
552
+ text-align: center;
553
+ }
554
+
555
+ @media (max-width: 1100px) {
556
+ .mcoda-agent-setup__overview,
557
+ .mcoda-agent-setup__metric-grid {
558
+ grid-template-columns: 1fr;
559
+ }
560
+
561
+ .mcoda-agent-setup__metric-grid {
562
+ grid-template-columns: repeat(2, minmax(0, 1fr));
563
+ }
564
+ }
565
+
566
+ @media (max-width: 720px) {
567
+ .mcoda-agent-setup__header,
568
+ .mcoda-agent-setup__card-heading {
569
+ align-items: stretch;
570
+ flex-direction: column;
571
+ }
572
+
573
+ .mcoda-agent-setup__metric-grid {
574
+ grid-template-columns: 1fr;
575
+ }
576
+ }