@1agents/dsh-a2a 0.0.0-stage → 0.1.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.
- package/README.md +57 -2
- package/cordis.patch.yml +10 -0
- package/dist/approvals.js +49 -0
- package/dist/cli.js +15 -0
- package/dist/executor.js +121 -0
- package/dist/index.js +18 -0
- package/dist/sdk-runtime.js +116 -0
- package/dist/server.js +46 -0
- package/dist/shared/a2a/workbench-ui.js +182 -0
- package/dist/workbench-ui/app.css +453 -0
- package/dist/workbench-ui/app.js +13 -0
- package/dist/workbench-ui/chunk-23JHGYT3.js +1 -0
- package/dist/workbench-ui/chunk-3H6STGPV.js +1 -0
- package/dist/workbench-ui/chunk-3SNBBMGH.js +1 -0
- package/dist/workbench-ui/chunk-3XJZ6DIE.js +1 -0
- package/dist/workbench-ui/chunk-44KDLLKJ.js +1 -0
- package/dist/workbench-ui/chunk-46H7FU5Y.js +7 -0
- package/dist/workbench-ui/chunk-4N44QPL7.js +1 -0
- package/dist/workbench-ui/chunk-4YN4BS7I.js +1 -0
- package/dist/workbench-ui/chunk-53EG4IVQ.js +96 -0
- package/dist/workbench-ui/chunk-5FIPUNR4.js +1 -0
- package/dist/workbench-ui/chunk-6DWWYA6G.js +2 -0
- package/dist/workbench-ui/chunk-6FU3T633.js +99 -0
- package/dist/workbench-ui/chunk-6XKIHRA4.js +1 -0
- package/dist/workbench-ui/chunk-7GIX43Y5.js +1 -0
- package/dist/workbench-ui/chunk-7Q4WBGX6.js +4 -0
- package/dist/workbench-ui/chunk-A3BQM7HR.js +1 -0
- package/dist/workbench-ui/chunk-AFCFDDOP.js +24 -0
- package/dist/workbench-ui/chunk-AG67EUYD.js +89 -0
- package/dist/workbench-ui/chunk-AGJHMMTN.js +1 -0
- package/dist/workbench-ui/chunk-AO6JUBV6.js +41 -0
- package/dist/workbench-ui/chunk-AUSLTP43.js +72 -0
- package/dist/workbench-ui/chunk-AVZL46TT.js +1 -0
- package/dist/workbench-ui/chunk-AZRIGIV2.js +168 -0
- package/dist/workbench-ui/chunk-B2LIVH37.js +1 -0
- package/dist/workbench-ui/chunk-B7YX5TR5.js +1 -0
- package/dist/workbench-ui/chunk-BCB4X4XX.js +1 -0
- package/dist/workbench-ui/chunk-BCRQUL2A.js +88 -0
- package/dist/workbench-ui/chunk-BI6UHHQP.js +1 -0
- package/dist/workbench-ui/chunk-BLSLQ4AQ.js +120 -0
- package/dist/workbench-ui/chunk-C3QSRS6E.js +1 -0
- package/dist/workbench-ui/chunk-CK7M2PJ3.js +62 -0
- package/dist/workbench-ui/chunk-CM6LZ7TU.js +1 -0
- package/dist/workbench-ui/chunk-CP63H27F.js +36 -0
- package/dist/workbench-ui/chunk-CPUMMIS2.js +70 -0
- package/dist/workbench-ui/chunk-CSEIBI5U.js +2 -0
- package/dist/workbench-ui/chunk-CUS65DKZ.js +161 -0
- package/dist/workbench-ui/chunk-CVQY7TNC.js +1 -0
- package/dist/workbench-ui/chunk-D6S3XBIX.js +106 -0
- package/dist/workbench-ui/chunk-E253Y562.js +1 -0
- package/dist/workbench-ui/chunk-EADDJUDC.js +1 -0
- package/dist/workbench-ui/chunk-EBGJ3YXG.js +206 -0
- package/dist/workbench-ui/chunk-EKPVZ3WY.js +8 -0
- package/dist/workbench-ui/chunk-EQDCEAFY.js +1 -0
- package/dist/workbench-ui/chunk-ES3SSDJY.js +40 -0
- package/dist/workbench-ui/chunk-ESFD2H7N.js +231 -0
- package/dist/workbench-ui/chunk-FVOHPMS6.js +1 -0
- package/dist/workbench-ui/chunk-FXMQAGVT.js +1 -0
- package/dist/workbench-ui/chunk-GGTADRXD.js +24 -0
- package/dist/workbench-ui/chunk-GHIVPGNQ.js +1 -0
- package/dist/workbench-ui/chunk-GLU2YQV2.js +1 -0
- package/dist/workbench-ui/chunk-GOCKBYSM.js +1 -0
- package/dist/workbench-ui/chunk-H2KMMTJB.js +1 -0
- package/dist/workbench-ui/chunk-HGVLDNPP.js +39 -0
- package/dist/workbench-ui/chunk-HSAVC5GY.js +1 -0
- package/dist/workbench-ui/chunk-HSEAD2JH.js +1 -0
- package/dist/workbench-ui/chunk-HSIHOBTY.js +1 -0
- package/dist/workbench-ui/chunk-IZXOKUGG.js +67 -0
- package/dist/workbench-ui/chunk-JFT2LC2T.js +1 -0
- package/dist/workbench-ui/chunk-JHL3ZDYK.js +3 -0
- package/dist/workbench-ui/chunk-JMORLCZG.js +257 -0
- package/dist/workbench-ui/chunk-JR4SIX7A.js +1 -0
- package/dist/workbench-ui/chunk-K23HAGEH.js +30 -0
- package/dist/workbench-ui/chunk-K43JDCBH.js +1 -0
- package/dist/workbench-ui/chunk-KINKFJY7.js +1 -0
- package/dist/workbench-ui/chunk-KKQSA4LI.js +2 -0
- package/dist/workbench-ui/chunk-KOUZX3UX.js +1 -0
- package/dist/workbench-ui/chunk-KR4DRHW2.js +78 -0
- package/dist/workbench-ui/chunk-KT4DJNOR.js +1 -0
- package/dist/workbench-ui/chunk-KTPNKRRZ.js +292 -0
- package/dist/workbench-ui/chunk-LFHIPGSU.js +7 -0
- package/dist/workbench-ui/chunk-LWDL4HZB.js +125 -0
- package/dist/workbench-ui/chunk-MVYC3CY4.js +1 -0
- package/dist/workbench-ui/chunk-NWUPALCY.js +129 -0
- package/dist/workbench-ui/chunk-NY7C662Z.js +1 -0
- package/dist/workbench-ui/chunk-O76WTHWP.js +1 -0
- package/dist/workbench-ui/chunk-OTF7YHRE.js +162 -0
- package/dist/workbench-ui/chunk-P6TKKRKP.js +1 -0
- package/dist/workbench-ui/chunk-PFHOOWV3.js +1 -0
- package/dist/workbench-ui/chunk-PUQLANIM.js +1 -0
- package/dist/workbench-ui/chunk-PZCGBYVO.js +1 -0
- package/dist/workbench-ui/chunk-QOHUZGP4.js +1 -0
- package/dist/workbench-ui/chunk-QSEG3OFF.js +1 -0
- package/dist/workbench-ui/chunk-QYPOXZIA.js +84 -0
- package/dist/workbench-ui/chunk-R6SOF3JC.js +1 -0
- package/dist/workbench-ui/chunk-RCLOYU5F.js +1 -0
- package/dist/workbench-ui/chunk-RSRUP64S.js +1 -0
- package/dist/workbench-ui/chunk-RVAIT6JW.js +1 -0
- package/dist/workbench-ui/chunk-S2CCN3II.js +1 -0
- package/dist/workbench-ui/chunk-S2Q52W46.js +1 -0
- package/dist/workbench-ui/chunk-S2W5THJ5.js +1 -0
- package/dist/workbench-ui/chunk-S6ZQZNOX.js +1 -0
- package/dist/workbench-ui/chunk-S74PLMMS.js +1 -0
- package/dist/workbench-ui/chunk-S7C4HKEY.js +1 -0
- package/dist/workbench-ui/chunk-SDTB3Q65.js +1 -0
- package/dist/workbench-ui/chunk-SLPRGYUV.js +32 -0
- package/dist/workbench-ui/chunk-SQE76S5B.js +1 -0
- package/dist/workbench-ui/chunk-SSDZPVPW.js +1 -0
- package/dist/workbench-ui/chunk-SVI7DGIE.js +1 -0
- package/dist/workbench-ui/chunk-T6QKLZ4H.js +62 -0
- package/dist/workbench-ui/chunk-TJNRPTFL.js +1 -0
- package/dist/workbench-ui/chunk-TP6U4EDH.js +2 -0
- package/dist/workbench-ui/chunk-TYAAT3GQ.js +1 -0
- package/dist/workbench-ui/chunk-U6OCY4ZH.js +1 -0
- package/dist/workbench-ui/chunk-UAN3NLRF.js +1 -0
- package/dist/workbench-ui/chunk-UMLU3FIX.js +1 -0
- package/dist/workbench-ui/chunk-URIY2OTM.js +1 -0
- package/dist/workbench-ui/chunk-V2NUKAA7.js +38 -0
- package/dist/workbench-ui/chunk-V4QLL4TE.js +139 -0
- package/dist/workbench-ui/chunk-VASHXUK4.js +2 -0
- package/dist/workbench-ui/chunk-VJLIWNIU.js +1 -0
- package/dist/workbench-ui/chunk-VQNQFBID.js +1 -0
- package/dist/workbench-ui/chunk-VSIWU7XA.js +3 -0
- package/dist/workbench-ui/chunk-VSJASPUZ.js +321 -0
- package/dist/workbench-ui/chunk-VXPNUNUX.js +3 -0
- package/dist/workbench-ui/chunk-WBKLDCV6.js +1 -0
- package/dist/workbench-ui/chunk-WOKJM3FY.js +1 -0
- package/dist/workbench-ui/chunk-X3U3NA3X.js +34 -0
- package/dist/workbench-ui/chunk-XBYU7M4J.js +1 -0
- package/dist/workbench-ui/chunk-XBZAO4ID.js +10 -0
- package/dist/workbench-ui/chunk-XLLPZ2WO.js +1 -0
- package/dist/workbench-ui/chunk-YFVL4NJL.js +1 -0
- package/dist/workbench-ui/chunk-YRFQENM4.js +1 -0
- package/dist/workbench-ui/chunk-YUADQVB2.js +1 -0
- package/dist/workbench-ui/chunk-Z3TCAKM5.js +1 -0
- package/dist/workbench-ui/chunk-Z6QR6FRE.js +10 -0
- package/dist/workbench-ui/chunk-ZJPSORPP.js +3 -0
- package/dist/workbench-ui/chunk-ZLGCSTR2.js +15 -0
- package/dist/workbench-ui/chunk-ZLR4SG5X.js +1 -0
- package/dist/workbench-ui/chunk-ZND3TTGF.js +1 -0
- package/dist/workbench-ui/chunk-ZOP3ZYH7.js +2 -0
- package/dist/workbench-ui/index.html +14 -0
- package/dist/workbench.js +53 -0
- package/package.json +25 -4
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
/* Flat surfaces, hairline dividers, one blue accent for active and primary states. */
|
|
2
|
+
:root {
|
|
3
|
+
color-scheme: light;
|
|
4
|
+
--bg-page: #f7f8fa;
|
|
5
|
+
--bg-card: #ffffff;
|
|
6
|
+
--bg-panel: #f2f4f7;
|
|
7
|
+
--border-color: #e3e6eb;
|
|
8
|
+
--text-main: #1d2129;
|
|
9
|
+
--text-secondary: #4e5969;
|
|
10
|
+
--text-muted: #86909c;
|
|
11
|
+
--accent: #2563eb;
|
|
12
|
+
--accent-bg: #eaf1ff;
|
|
13
|
+
--on-accent: #ffffff;
|
|
14
|
+
--success: #15803d;
|
|
15
|
+
--success-bg: #e8f6ed;
|
|
16
|
+
--warning: #b45309;
|
|
17
|
+
--warning-bg: #fdf3e2;
|
|
18
|
+
--danger: #c2410c;
|
|
19
|
+
--danger-bg: #fdecea;
|
|
20
|
+
--radius: 10px;
|
|
21
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
22
|
+
/* One 4px spacing scale for the detail panel; space comes from these steps, never from stretched rows or UA margins. */
|
|
23
|
+
--space-1: 4px;
|
|
24
|
+
--space-2: 8px;
|
|
25
|
+
--space-3: 12px;
|
|
26
|
+
--space-4: 16px;
|
|
27
|
+
--space-5: 24px;
|
|
28
|
+
}
|
|
29
|
+
@media (prefers-color-scheme: dark) {
|
|
30
|
+
:root {
|
|
31
|
+
color-scheme: dark;
|
|
32
|
+
--bg-page: #111317;
|
|
33
|
+
--bg-card: #181b20;
|
|
34
|
+
--bg-panel: #1f2329;
|
|
35
|
+
--border-color: #2c313a;
|
|
36
|
+
--text-main: #e6e8eb;
|
|
37
|
+
--text-secondary: #b3b9c4;
|
|
38
|
+
--text-muted: #7d8592;
|
|
39
|
+
--accent: #6b9bff;
|
|
40
|
+
--accent-bg: #1c2a47;
|
|
41
|
+
--on-accent: #0b1020;
|
|
42
|
+
--success: #4ade80;
|
|
43
|
+
--success-bg: #14301f;
|
|
44
|
+
--warning: #fbbf24;
|
|
45
|
+
--warning-bg: #3a2c10;
|
|
46
|
+
--danger: #fb923c;
|
|
47
|
+
--danger-bg: #3d1d12;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
* { box-sizing: border-box; }
|
|
52
|
+
body {
|
|
53
|
+
margin: 0;
|
|
54
|
+
background: var(--bg-page);
|
|
55
|
+
color: var(--text-main);
|
|
56
|
+
font: 14px/1.55 -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', sans-serif;
|
|
57
|
+
}
|
|
58
|
+
h1, h2, h3, h4 { margin: 0 0 8px; line-height: 1.3; }
|
|
59
|
+
h1 { font-size: 20px; }
|
|
60
|
+
h2 { font-size: 18px; }
|
|
61
|
+
h3 { font-size: 15px; }
|
|
62
|
+
h4 { font-size: 14px; }
|
|
63
|
+
code, pre { font-family: var(--font-mono); font-size: 12px; }
|
|
64
|
+
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
65
|
+
input, textarea, select {
|
|
66
|
+
width: 100%;
|
|
67
|
+
padding: 7px 10px;
|
|
68
|
+
border: 1px solid var(--border-color);
|
|
69
|
+
border-radius: 8px;
|
|
70
|
+
background: var(--bg-card);
|
|
71
|
+
color: var(--text-main);
|
|
72
|
+
font: inherit;
|
|
73
|
+
}
|
|
74
|
+
input[type='checkbox'], input[type='radio'] { width: auto; margin-right: 6px; }
|
|
75
|
+
textarea { min-height: 72px; resize: vertical; }
|
|
76
|
+
label { display: grid; gap: 4px; color: var(--text-secondary); }
|
|
77
|
+
dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0; }
|
|
78
|
+
dt { color: var(--text-muted); }
|
|
79
|
+
dd { margin: 0; overflow-wrap: anywhere; }
|
|
80
|
+
|
|
81
|
+
.acp-muted { color: var(--text-muted); }
|
|
82
|
+
.acp-boot { padding: 32px; }
|
|
83
|
+
.acp-button {
|
|
84
|
+
padding: 5px 14px;
|
|
85
|
+
border: 1px solid var(--border-color);
|
|
86
|
+
border-radius: 999px;
|
|
87
|
+
background: var(--bg-card);
|
|
88
|
+
color: var(--text-main);
|
|
89
|
+
font: inherit;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
.acp-button:hover:not(:disabled) { border-color: var(--text-main); }
|
|
93
|
+
.acp-button:disabled { opacity: 0.5; cursor: default; }
|
|
94
|
+
.acp-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
|
|
95
|
+
.acp-danger { color: var(--danger); }
|
|
96
|
+
.acp-link {
|
|
97
|
+
padding: 0;
|
|
98
|
+
border: 0;
|
|
99
|
+
background: none;
|
|
100
|
+
color: var(--accent);
|
|
101
|
+
font: inherit;
|
|
102
|
+
text-align: left;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
}
|
|
105
|
+
.acp-link:hover { text-decoration: underline; }
|
|
106
|
+
|
|
107
|
+
.acp-login {
|
|
108
|
+
max-width: 420px;
|
|
109
|
+
margin: 12vh auto;
|
|
110
|
+
padding: 24px;
|
|
111
|
+
display: grid;
|
|
112
|
+
gap: 14px;
|
|
113
|
+
background: var(--bg-card);
|
|
114
|
+
border: 1px solid var(--border-color);
|
|
115
|
+
border-radius: var(--radius);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.acp-workbench { padding: 20px 24px; }
|
|
119
|
+
.acp-workbench-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
120
|
+
.acp-workbench-title { display: flex; align-items: center; gap: 16px; }
|
|
121
|
+
.acp-workbench-title h1 { margin: 0; }
|
|
122
|
+
.acp-header-actions { display: flex; gap: 8px; }
|
|
123
|
+
.acp-workbench-source { margin: 6px 0 12px; color: var(--text-muted); font-size: 12px; }
|
|
124
|
+
.acp-module-switch, .acp-workbench-views { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
125
|
+
.acp-workbench-views { margin-bottom: 12px; }
|
|
126
|
+
.acp-module-switch button, .acp-workbench-views button {
|
|
127
|
+
padding: 4px 12px;
|
|
128
|
+
border: 1px solid transparent;
|
|
129
|
+
border-radius: 999px;
|
|
130
|
+
background: none;
|
|
131
|
+
color: var(--text-secondary);
|
|
132
|
+
font: inherit;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
}
|
|
135
|
+
.acp-module-switch button[aria-pressed='true'], .acp-workbench-views button[aria-pressed='true'] {
|
|
136
|
+
background: var(--accent-bg);
|
|
137
|
+
color: var(--accent);
|
|
138
|
+
}
|
|
139
|
+
.acp-workbench-views span { margin-left: 6px; color: var(--text-muted); }
|
|
140
|
+
|
|
141
|
+
.acp-workbench-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
|
|
142
|
+
.has-detail .acp-workbench-body { grid-template-columns: minmax(0, 1fr) minmax(360px, 46%); }
|
|
143
|
+
.is-full-detail .acp-workbench-table { display: none; }
|
|
144
|
+
.is-full-detail .acp-workbench-body { grid-template-columns: minmax(0, 1fr); }
|
|
145
|
+
.acp-workbench-table {
|
|
146
|
+
overflow-x: auto;
|
|
147
|
+
background: var(--bg-card);
|
|
148
|
+
border: 1px solid var(--border-color);
|
|
149
|
+
border-radius: var(--radius);
|
|
150
|
+
}
|
|
151
|
+
table { width: 100%; border-collapse: collapse; }
|
|
152
|
+
th, td { padding: 9px 12px; border-bottom: 1px solid var(--border-color); text-align: left; vertical-align: top; }
|
|
153
|
+
th { color: var(--text-muted); font-weight: 500; white-space: nowrap; font-size: 12px; }
|
|
154
|
+
.acp-task-row.is-selected td { background: var(--accent-bg); }
|
|
155
|
+
.acp-name-link { display: grid; }
|
|
156
|
+
.acp-name-link small, .acp-cell-note, .acp-execution-role small, .acp-execution-service small { display: block; color: var(--text-muted); font-size: 12px; }
|
|
157
|
+
.acp-title-text { color: var(--text-main); font-weight: 500; }
|
|
158
|
+
.acp-mode-label {
|
|
159
|
+
display: inline-block;
|
|
160
|
+
padding: 0 8px;
|
|
161
|
+
border: 1px solid var(--border-color);
|
|
162
|
+
border-radius: 999px;
|
|
163
|
+
font-size: 12px;
|
|
164
|
+
white-space: nowrap;
|
|
165
|
+
}
|
|
166
|
+
.acp-task-blocker { color: var(--text-secondary); }
|
|
167
|
+
.acp-task-updated { white-space: nowrap; color: var(--text-secondary); }
|
|
168
|
+
.acp-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 10px 12px; color: var(--text-muted); }
|
|
169
|
+
.acp-stale { display: block; color: var(--warning); font-size: 12px; }
|
|
170
|
+
|
|
171
|
+
.acp-status { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--bg-panel); font-size: 12px; white-space: nowrap; }
|
|
172
|
+
.acp-status-working, .acp-status-submitted, .acp-status-processing, .acp-status-resuming { background: var(--accent-bg); color: var(--accent); }
|
|
173
|
+
.acp-status-completed, .acp-status-approved, .acp-status-applied { background: var(--success-bg); color: var(--success); }
|
|
174
|
+
.acp-status-waiting_human, .acp-status-awaiting_human, .acp-status-pending, .acp-status-input_required, .acp-status-changes_requested { background: var(--warning-bg); color: var(--warning); }
|
|
175
|
+
.acp-status-failed, .acp-status-rejected, .acp-status-canceled, .acp-status-unwatched { background: var(--danger-bg); color: var(--danger); }
|
|
176
|
+
|
|
177
|
+
.acp-detail {
|
|
178
|
+
min-width: 0;
|
|
179
|
+
background: var(--bg-card);
|
|
180
|
+
border: 1px solid var(--border-color);
|
|
181
|
+
border-radius: var(--radius);
|
|
182
|
+
/* A column whose content grows, so the preview drawer docks at the bottom even when the content is short. */
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
}
|
|
186
|
+
.acp-detail > * { flex-shrink: 0; }
|
|
187
|
+
.acp-detail-content { flex-grow: 1; }
|
|
188
|
+
.is-full-detail .acp-detail { min-height: calc(100dvh - 140px); }
|
|
189
|
+
/* Floating over the detail it belongs to: the one place in the panel that keeps an elevation shadow. */
|
|
190
|
+
.acp-artifact-drawer {
|
|
191
|
+
position: sticky;
|
|
192
|
+
bottom: 0;
|
|
193
|
+
z-index: 2;
|
|
194
|
+
height: min(62vh, 620px);
|
|
195
|
+
display: flex;
|
|
196
|
+
flex-direction: column;
|
|
197
|
+
background: var(--bg-card);
|
|
198
|
+
border-top: 1px solid var(--border-color);
|
|
199
|
+
border-radius: var(--radius) var(--radius) 0 0;
|
|
200
|
+
box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
|
|
201
|
+
}
|
|
202
|
+
.acp-artifact-drawer-header { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--border-color); }
|
|
203
|
+
.acp-artifact-drawer-header div { flex: 1; min-width: 0; display: grid; }
|
|
204
|
+
.acp-artifact-drawer-header small { color: var(--text-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
205
|
+
.acp-artifact-drawer-header a.acp-button { text-decoration: none; }
|
|
206
|
+
.acp-artifact-drawer-body { flex: 1; min-height: 0; overflow: auto; padding: 12px 16px; }
|
|
207
|
+
/* In the side panel the panel itself has a fixed height: leave its header, tabs and the artifact list in view above. */
|
|
208
|
+
.has-detail:not(.is-full-detail) .acp-artifact-drawer { height: 55%; }
|
|
209
|
+
.acp-detail-header { padding: 14px 16px; border-bottom: 1px solid var(--border-color); display: grid; gap: 6px; justify-items: start; }
|
|
210
|
+
.acp-detail-tools { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--text-muted); flex-wrap: wrap; }
|
|
211
|
+
.acp-detail-tools div { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
212
|
+
.acp-breadcrumb { display: flex; gap: 6px; flex-wrap: wrap; color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; }
|
|
213
|
+
.acp-channel-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; color: var(--text-secondary); }
|
|
214
|
+
.acp-detail-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--border-color); overflow-x: auto; }
|
|
215
|
+
.acp-detail-tabs button {
|
|
216
|
+
padding: 9px 10px;
|
|
217
|
+
border: 0;
|
|
218
|
+
border-bottom: 2px solid transparent;
|
|
219
|
+
background: none;
|
|
220
|
+
color: var(--text-secondary);
|
|
221
|
+
font: inherit;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
white-space: nowrap;
|
|
224
|
+
}
|
|
225
|
+
.acp-detail-tabs button[aria-selected='true'] { color: var(--accent); border-bottom-color: var(--accent); }
|
|
226
|
+
/* Rows pack at the top: the content grows to dock the preview drawer, and that extra height must stay below the last row. */
|
|
227
|
+
.acp-detail-content { padding: var(--space-4); display: grid; gap: var(--space-5); align-content: start; }
|
|
228
|
+
.acp-detail-section { display: grid; gap: var(--space-2); align-content: start; }
|
|
229
|
+
.acp-detail-section > h3 { margin: 0; }
|
|
230
|
+
.acp-stage-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
|
|
231
|
+
.acp-stage-list li { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: start; }
|
|
232
|
+
.acp-stage-list small { display: block; color: var(--text-muted); }
|
|
233
|
+
.acp-task-facts { display: flex; flex-wrap: wrap; align-items: start; gap: var(--space-2) var(--space-5); color: var(--text-muted); font-size: 12px; }
|
|
234
|
+
.acp-task-facts > span { display: grid; gap: var(--space-1); align-content: start; }
|
|
235
|
+
.acp-task-facts strong { color: var(--text-main); font-size: 13px; font-weight: 500; }
|
|
236
|
+
.acp-attempt, .acp-context, .acp-process-request, .acp-review-event, .acp-artifact-group, .acp-script-slide {
|
|
237
|
+
padding: 10px 12px;
|
|
238
|
+
border: 1px solid var(--border-color);
|
|
239
|
+
border-radius: 8px;
|
|
240
|
+
}
|
|
241
|
+
.acp-attempt summary, .acp-context summary { display: flex; justify-content: space-between; gap: 8px; cursor: pointer; overflow-wrap: anywhere; }
|
|
242
|
+
.acp-result-summary { margin: 8px 0 0; }
|
|
243
|
+
.acp-child-task {
|
|
244
|
+
display: flex;
|
|
245
|
+
justify-content: space-between;
|
|
246
|
+
gap: 8px;
|
|
247
|
+
width: 100%;
|
|
248
|
+
padding: 8px 10px;
|
|
249
|
+
border: 1px solid var(--border-color);
|
|
250
|
+
border-radius: 8px;
|
|
251
|
+
background: none;
|
|
252
|
+
color: var(--text-main);
|
|
253
|
+
font: inherit;
|
|
254
|
+
text-align: left;
|
|
255
|
+
cursor: pointer;
|
|
256
|
+
}
|
|
257
|
+
.acp-child-task:hover { border-color: var(--text-main); }
|
|
258
|
+
.acp-execution-caption { display: block; color: var(--text-muted); }
|
|
259
|
+
.acp-notice { padding: 8px 12px; border-radius: 8px; background: var(--accent-bg); color: var(--accent); }
|
|
260
|
+
.acp-decision-error { color: var(--danger); margin: 0; }
|
|
261
|
+
.acp-decision-message { color: var(--success); margin: 0; }
|
|
262
|
+
.acp-review-form { display: grid; gap: 8px; }
|
|
263
|
+
.acp-review-buttons, .acp-agent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
|
|
264
|
+
.acp-more-actions summary { cursor: pointer; color: var(--text-muted); }
|
|
265
|
+
.acp-cancel-confirm { display: grid; gap: 8px; justify-items: start; }
|
|
266
|
+
.acp-review-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
|
|
267
|
+
.acp-review-version { display: flex; gap: 10px; align-items: center; color: var(--text-muted); }
|
|
268
|
+
.acp-artifact-group { display: grid; gap: 4px; }
|
|
269
|
+
.acp-slide-message { font-weight: 500; }
|
|
270
|
+
.acp-review-event header { display: flex; gap: 8px; flex-wrap: wrap; color: var(--text-muted); }
|
|
271
|
+
.acp-review-event header strong { color: var(--text-main); }
|
|
272
|
+
.acp-event-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
|
|
273
|
+
.acp-event-list li { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
|
|
274
|
+
.acp-event-list small { display: block; color: var(--text-muted); overflow-wrap: anywhere; }
|
|
275
|
+
.acp-process-request { display: grid; gap: 6px; border-color: var(--warning); }
|
|
276
|
+
.acp-process-request p { margin: 0; white-space: pre-wrap; }
|
|
277
|
+
.acp-tool-detail { margin: 0; padding: 8px 10px; max-height: 240px; overflow: auto; border-radius: 6px; background: var(--bg-panel); }
|
|
278
|
+
|
|
279
|
+
.acp-empty, .acp-error { padding: 20px; text-align: center; color: var(--text-muted); }
|
|
280
|
+
.acp-empty strong, .acp-error strong { display: block; color: var(--text-main); }
|
|
281
|
+
.acp-error { color: var(--danger); }
|
|
282
|
+
|
|
283
|
+
.acp-agent-note { margin: 0 0 12px; color: var(--text-secondary); }
|
|
284
|
+
.acp-agent-layout { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px; margin-top: 12px; }
|
|
285
|
+
.acp-agent-list { display: grid; gap: 8px; align-content: start; }
|
|
286
|
+
.acp-agent-row {
|
|
287
|
+
display: grid;
|
|
288
|
+
gap: 2px;
|
|
289
|
+
padding: 10px 12px;
|
|
290
|
+
border: 1px solid var(--border-color);
|
|
291
|
+
border-radius: var(--radius);
|
|
292
|
+
background: var(--bg-card);
|
|
293
|
+
color: var(--text-main);
|
|
294
|
+
font: inherit;
|
|
295
|
+
text-align: left;
|
|
296
|
+
cursor: pointer;
|
|
297
|
+
}
|
|
298
|
+
.acp-agent-row:hover { border-color: var(--text-main); }
|
|
299
|
+
.acp-agent-row.is-selected { border-color: var(--accent); }
|
|
300
|
+
.acp-agent-row small { color: var(--text-muted); }
|
|
301
|
+
.acp-agent-detail {
|
|
302
|
+
min-width: 0;
|
|
303
|
+
padding: 14px 16px;
|
|
304
|
+
display: grid;
|
|
305
|
+
gap: 10px;
|
|
306
|
+
align-content: start;
|
|
307
|
+
background: var(--bg-card);
|
|
308
|
+
border: 1px solid var(--border-color);
|
|
309
|
+
border-radius: var(--radius);
|
|
310
|
+
}
|
|
311
|
+
.acp-agent-detail:empty { display: none; }
|
|
312
|
+
.acp-agent-form { display: grid; gap: 10px; }
|
|
313
|
+
.acp-agent-facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
|
|
314
|
+
.acp-agent-facts div { display: grid; }
|
|
315
|
+
|
|
316
|
+
@media (max-width: 800px) {
|
|
317
|
+
.acp-workbench { padding: 16px; }
|
|
318
|
+
.has-detail .acp-workbench-body, .acp-agent-layout { grid-template-columns: minmax(0, 1fr); }
|
|
319
|
+
.has-detail .acp-workbench-table { display: none; }
|
|
320
|
+
}
|
|
321
|
+
.acp-status-tool_blocked { background: var(--danger-bg); color: var(--danger); }
|
|
322
|
+
/* Accepted is completed plus the origin session's sign-off: same colour, an ink hairline marks the difference. */
|
|
323
|
+
.acp-status-accepted { background: var(--success-bg); color: var(--success); outline: 1px solid var(--success); outline-offset: -1px; }
|
|
324
|
+
.acp-status-acceptance_changes { background: var(--warning-bg); color: var(--warning); }
|
|
325
|
+
.acp-acceptance-record { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
|
|
326
|
+
.acp-acceptance-record dt { color: var(--text-secondary); }
|
|
327
|
+
.acp-acceptance-record dd { margin: 0; overflow-wrap: anywhere; }
|
|
328
|
+
|
|
329
|
+
.acp-chat { height: min(70vh, 640px); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; }
|
|
330
|
+
.acp-artifact-row { display: inline-flex; gap: 12px; align-items: baseline; }
|
|
331
|
+
|
|
332
|
+
/* With a detail open, the list and the drawer scroll on their own inside the viewport. */
|
|
333
|
+
.acp-workbench.has-detail:not(.is-full-detail) { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
|
|
334
|
+
.has-detail:not(.is-full-detail) .acp-workbench-body { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
|
|
335
|
+
.has-detail:not(.is-full-detail) .acp-workbench-table, .has-detail:not(.is-full-detail) .acp-detail { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
|
|
336
|
+
.has-detail:not(.is-full-detail) .acp-workbench-table { overflow-x: auto; }
|
|
337
|
+
/* Agent markdown sits on the section's text edge. The file-preview CSS is appended after this file, so the
|
|
338
|
+
doubled class is what wins over its .fp-md padding and margins rather than source order. */
|
|
339
|
+
.fp-md.acp-md { padding: 0; }
|
|
340
|
+
.fp-md.acp-md > * { margin-top: 0; margin-bottom: 0; }
|
|
341
|
+
.fp-md.acp-md > * + * { margin-top: var(--space-3); }
|
|
342
|
+
.fp-md.acp-md > :is(h1, h2, h3, h4) + * { margin-top: var(--space-2); }
|
|
343
|
+
.fp-md.acp-md > * + :is(h1, h2, h3, h4) { margin-top: var(--space-5); }
|
|
344
|
+
.fp-md.acp-md li + li { margin-top: var(--space-1); }
|
|
345
|
+
|
|
346
|
+
/* Colors come from the host's tokens when present and fall back to a neutral light/dark pair. */
|
|
347
|
+
.fp-root, .fp-md {
|
|
348
|
+
--fp-bg: var(--bg-card, #ffffff);
|
|
349
|
+
--fp-panel: var(--bg-panel, #f2f4f7);
|
|
350
|
+
--fp-border: var(--border-color, #e3e6eb);
|
|
351
|
+
--fp-text: var(--text-main, #1d2129);
|
|
352
|
+
--fp-muted: var(--text-muted, #86909c);
|
|
353
|
+
--fp-accent: var(--accent, #2563eb);
|
|
354
|
+
--fp-danger: var(--danger, #c2410c);
|
|
355
|
+
--fp-mono: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
356
|
+
--fp-hl-keyword: #cf222e; --fp-hl-string: #0a3069; --fp-hl-comment: #6e7781; --fp-hl-number: #0550ae; --fp-hl-title: #8250df;
|
|
357
|
+
}
|
|
358
|
+
.fp-root[data-fp-theme="dark"], [data-fp-theme="dark"] .fp-md {
|
|
359
|
+
--fp-hl-keyword: #ff7b72; --fp-hl-string: #a5d6ff; --fp-hl-comment: #8b949e; --fp-hl-number: #79c0ff; --fp-hl-title: #d2a8ff;
|
|
360
|
+
}
|
|
361
|
+
.fp-root { display: flex; flex-direction: column; min-width: 0; min-height: 0; color: var(--fp-text); background: var(--fp-bg); border: 1px solid var(--fp-border); border-radius: 8px; overflow: hidden; }
|
|
362
|
+
.fp-header { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--fp-border); font-size: 13px; }
|
|
363
|
+
.fp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
|
|
364
|
+
.fp-size { color: var(--fp-muted); }
|
|
365
|
+
.fp-open { color: var(--fp-accent); text-decoration: none; white-space: nowrap; }
|
|
366
|
+
.fp-open:hover { text-decoration: underline; }
|
|
367
|
+
.fp-body { flex: 1; min-height: 0; overflow: auto; }
|
|
368
|
+
.fp-note { margin: 0; padding: 16px; color: var(--fp-muted); font-size: 13px; }
|
|
369
|
+
.fp-error { color: var(--fp-danger); }
|
|
370
|
+
.fp-media { display: flex; justify-content: center; padding: 12px; }
|
|
371
|
+
.fp-media img, .fp-media video { max-width: 100%; max-height: 70vh; object-fit: contain; }
|
|
372
|
+
.fp-media audio { width: 100%; }
|
|
373
|
+
.fp-frame { display: block; width: 100%; height: 70vh; min-height: 320px; border: 0; background: #fff; }
|
|
374
|
+
.fp-code { font: 12.5px/1.55 var(--fp-mono); padding: 8px 0; min-width: max-content; }
|
|
375
|
+
.fp-code-row { display: flex; }
|
|
376
|
+
.fp-code-no { flex: none; width: 3.5em; padding-right: 12px; text-align: right; color: var(--fp-muted); user-select: none; }
|
|
377
|
+
.fp-code-text { white-space: pre; padding-right: 16px; }
|
|
378
|
+
.fp-code-target { background: color-mix(in srgb, var(--fp-accent) 14%, transparent); }
|
|
379
|
+
.fp-table-wrap { overflow: auto; }
|
|
380
|
+
.fp-table { border-collapse: collapse; font-size: 13px; width: max-content; min-width: 100%; }
|
|
381
|
+
.fp-table th, .fp-table td { border: 1px solid var(--fp-border); padding: 4px 10px; text-align: left; vertical-align: top; max-width: 40ch; overflow-wrap: anywhere; }
|
|
382
|
+
.fp-table th { position: sticky; top: 0; background: var(--fp-panel); }
|
|
383
|
+
.fp-md { padding: 4px 16px 12px; font-size: 14px; line-height: 1.65; color: var(--fp-text); overflow-wrap: anywhere; }
|
|
384
|
+
.fp-md h1, .fp-md h2, .fp-md h3 { line-height: 1.3; margin: 1.2em 0 .5em; }
|
|
385
|
+
.fp-md h1 { font-size: 1.5em; } .fp-md h2 { font-size: 1.3em; } .fp-md h3 { font-size: 1.1em; }
|
|
386
|
+
.fp-md p, .fp-md ul, .fp-md ol, .fp-md pre, .fp-md table, .fp-md blockquote { margin: .6em 0; }
|
|
387
|
+
.fp-md a { color: var(--fp-accent); }
|
|
388
|
+
.fp-md img { max-width: 100%; }
|
|
389
|
+
.fp-md blockquote { padding: 0 12px; border-left: 3px solid var(--fp-border); color: var(--fp-muted); }
|
|
390
|
+
.fp-md code { font-family: var(--fp-mono); font-size: .9em; background: var(--fp-panel); padding: .1em .35em; border-radius: 4px; }
|
|
391
|
+
.fp-md pre { background: var(--fp-panel); border: 1px solid var(--fp-border); border-radius: 6px; padding: 10px 12px; overflow: auto; }
|
|
392
|
+
.fp-md pre code { background: none; padding: 0; font-size: 12.5px; }
|
|
393
|
+
.fp-md table { border-collapse: collapse; display: block; overflow: auto; }
|
|
394
|
+
.fp-md th, .fp-md td { border: 1px solid var(--fp-border); padding: 4px 10px; }
|
|
395
|
+
.fp-md th { background: var(--fp-panel); }
|
|
396
|
+
.fp-mermaid { overflow: auto; text-align: center; margin: .8em 0; }
|
|
397
|
+
.fp-mermaid:not([data-drawn-theme]) pre { text-align: left; }
|
|
398
|
+
.fp-mermaid-error { text-align: left; white-space: pre-wrap; font-family: var(--fp-mono); color: var(--fp-danger); }
|
|
399
|
+
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-literal { color: var(--fp-hl-keyword); }
|
|
400
|
+
.hljs-string, .hljs-regexp, .hljs-attr { color: var(--fp-hl-string); }
|
|
401
|
+
.hljs-comment, .hljs-quote { color: var(--fp-hl-comment); font-style: italic; }
|
|
402
|
+
.hljs-number, .hljs-symbol, .hljs-bullet { color: var(--fp-hl-number); }
|
|
403
|
+
.hljs-title, .hljs-section, .hljs-name, .hljs-type { color: var(--fp-hl-title); }
|
|
404
|
+
.hljs-addition { background: color-mix(in srgb, #2da44e 20%, transparent); }
|
|
405
|
+
.hljs-deletion { background: color-mix(in srgb, #cf222e 20%, transparent); }
|
|
406
|
+
|
|
407
|
+
/* Pair this with @1agents/file-preview/style.css (markdown and code colors live there). */
|
|
408
|
+
.cv-root, .cv-lazy {
|
|
409
|
+
--cv-bg: var(--bg-card, #ffffff);
|
|
410
|
+
--cv-panel: var(--bg-panel, #f2f4f7);
|
|
411
|
+
--cv-border: var(--border-color, #e3e6eb);
|
|
412
|
+
--cv-text: var(--text-main, #1d2129);
|
|
413
|
+
--cv-muted: var(--text-muted, #86909c);
|
|
414
|
+
--cv-accent: var(--accent, #2563eb);
|
|
415
|
+
--cv-accent-bg: var(--accent-bg, #eaf1ff);
|
|
416
|
+
--cv-success: var(--success, #15803d);
|
|
417
|
+
--cv-danger: var(--danger, #c2410c);
|
|
418
|
+
--cv-mono: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
419
|
+
}
|
|
420
|
+
.cv-root { height: 100%; overflow: auto; padding: 12px; color: var(--cv-text); background: var(--cv-bg); font-size: 14px; }
|
|
421
|
+
.cv-row { margin: 10px 0; min-width: 0; }
|
|
422
|
+
.cv-user { display: flex; justify-content: flex-end; }
|
|
423
|
+
.cv-bubble { max-width: 85%; background: var(--cv-accent-bg); border-radius: 12px; padding: 8px 12px; }
|
|
424
|
+
.cv-bubble .cv-pre { font-family: inherit; }
|
|
425
|
+
.cv-pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 12.5px/1.5 var(--cv-mono); }
|
|
426
|
+
.cv-bubble .cv-pre { font: inherit; }
|
|
427
|
+
.cv-md { padding: 0; }
|
|
428
|
+
.cv-tool { border: 1px solid var(--cv-border); border-radius: 8px; padding: 8px 10px; background: var(--cv-panel); }
|
|
429
|
+
.cv-tool-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
|
|
430
|
+
.cv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cv-success); flex: none; }
|
|
431
|
+
.cv-tool-running .cv-dot { background: var(--cv-accent); animation: cv-pulse 1.2s ease-in-out infinite; }
|
|
432
|
+
.cv-tool-failed .cv-dot { background: var(--cv-danger); }
|
|
433
|
+
@keyframes cv-pulse { 50% { opacity: .35; } }
|
|
434
|
+
.cv-tag { color: var(--cv-muted); font-size: 12px; }
|
|
435
|
+
.cv-chip, .cv-link, .cv-more { font: inherit; cursor: pointer; }
|
|
436
|
+
.cv-chip { border: 1px solid var(--cv-border); border-radius: 999px; background: var(--cv-bg); color: var(--cv-accent); padding: 1px 8px; font-size: 12px; }
|
|
437
|
+
.cv-link { border: 0; background: none; padding: 0; color: var(--cv-accent); }
|
|
438
|
+
.cv-link:hover { text-decoration: underline; }
|
|
439
|
+
.cv-more { display: block; margin: 0 auto 8px; border: 1px solid var(--cv-border); border-radius: 999px; background: var(--cv-bg); color: var(--cv-text); padding: 4px 14px; }
|
|
440
|
+
.cv-more:disabled { opacity: .6; cursor: default; }
|
|
441
|
+
.cv-fold { margin-top: 6px; }
|
|
442
|
+
.cv-fold > summary { cursor: pointer; color: var(--cv-muted); font-size: 12.5px; }
|
|
443
|
+
.cv-diff { margin-top: 6px; }
|
|
444
|
+
.cv-diff-path { font: 12px var(--cv-mono); }
|
|
445
|
+
.cv-diff-add { background: color-mix(in srgb, #2da44e 18%, transparent); }
|
|
446
|
+
.cv-diff-del { background: color-mix(in srgb, #cf222e 16%, transparent); }
|
|
447
|
+
.cv-note { margin: 6px 0 0; color: var(--cv-muted); font-size: 13px; }
|
|
448
|
+
.cv-error { margin: 0; color: var(--cv-danger); font-size: 13px; }
|
|
449
|
+
.cv-receipt { margin: 0; color: var(--cv-muted); font-size: 12px; text-align: center; }
|
|
450
|
+
.cv-receipt-failed, .cv-receipt-rejected { color: var(--cv-danger); }
|
|
451
|
+
.cv-options { margin: 4px 0 0; padding-left: 18px; }
|
|
452
|
+
.cv-lazy { border: 1px solid var(--cv-border); border-radius: 8px; overflow: hidden; background: var(--cv-bg); }
|
|
453
|
+
.cv-lazy-head { display: flex; justify-content: space-between; width: 100%; border: 0; background: var(--cv-panel); color: var(--cv-text); padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
|