@yanolja-next/noya-sdk 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 +107 -0
- package/dist/src/adapters.d.ts +25 -0
- package/dist/src/adapters.js +244 -0
- package/dist/src/issueCompiler.d.ts +17 -0
- package/dist/src/issueCompiler.js +81 -0
- package/dist/src/orchestrator.d.ts +59 -0
- package/dist/src/orchestrator.js +594 -0
- package/dist/src/redaction.d.ts +6 -0
- package/dist/src/redaction.js +53 -0
- package/dist/src/runner.d.ts +26 -0
- package/dist/src/runner.js +423 -0
- package/dist/src/sdk.d.ts +64 -0
- package/dist/src/sdk.js +172 -0
- package/dist/src/sentry.d.ts +7 -0
- package/dist/src/sentry.js +125 -0
- package/dist/src/server.d.ts +10 -0
- package/dist/src/server.js +498 -0
- package/dist/src/store.d.ts +18 -0
- package/dist/src/store.js +58 -0
- package/dist/src/types.d.ts +147 -0
- package/dist/src/types.js +1 -0
- package/package.json +46 -0
- package/public/app.js +185 -0
- package/public/index.html +80 -0
- package/public/styles.css +253 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
color-scheme: light;
|
|
3
|
+
--bg: #f6f7f8;
|
|
4
|
+
--ink: #1b1d21;
|
|
5
|
+
--muted: #646b76;
|
|
6
|
+
--line: #d9dde3;
|
|
7
|
+
--panel: #ffffff;
|
|
8
|
+
--accent: #146c5c;
|
|
9
|
+
--accent-ink: #ffffff;
|
|
10
|
+
--warn: #8a5a00;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
* {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body {
|
|
18
|
+
margin: 0;
|
|
19
|
+
background: var(--bg);
|
|
20
|
+
color: var(--ink);
|
|
21
|
+
font-family:
|
|
22
|
+
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.topbar {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
gap: 24px;
|
|
30
|
+
padding: 28px 32px;
|
|
31
|
+
border-bottom: 1px solid var(--line);
|
|
32
|
+
background: var(--panel);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h1,
|
|
36
|
+
h2,
|
|
37
|
+
p {
|
|
38
|
+
margin: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h1 {
|
|
42
|
+
font-size: 28px;
|
|
43
|
+
font-weight: 750;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
h2 {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
p,
|
|
52
|
+
.muted,
|
|
53
|
+
a {
|
|
54
|
+
color: var(--muted);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a:hover {
|
|
58
|
+
color: var(--accent);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
button {
|
|
62
|
+
min-height: 36px;
|
|
63
|
+
border: 1px solid #0f574a;
|
|
64
|
+
border-radius: 6px;
|
|
65
|
+
background: var(--accent);
|
|
66
|
+
color: var(--accent-ink);
|
|
67
|
+
padding: 0 14px;
|
|
68
|
+
font: inherit;
|
|
69
|
+
font-weight: 650;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
button.secondary {
|
|
74
|
+
border-color: var(--line);
|
|
75
|
+
background: #ffffff;
|
|
76
|
+
color: var(--ink);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
textarea {
|
|
80
|
+
width: 100%;
|
|
81
|
+
min-height: 260px;
|
|
82
|
+
resize: vertical;
|
|
83
|
+
border: 1px solid var(--line);
|
|
84
|
+
border-radius: 8px;
|
|
85
|
+
background: var(--panel);
|
|
86
|
+
color: var(--ink);
|
|
87
|
+
padding: 14px;
|
|
88
|
+
font:
|
|
89
|
+
13px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
90
|
+
line-height: 1.45;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
textarea:focus {
|
|
94
|
+
outline: 2px solid #97cfc3;
|
|
95
|
+
outline-offset: 2px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
main {
|
|
99
|
+
width: min(1180px, calc(100vw - 32px));
|
|
100
|
+
margin: 24px auto 48px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.band {
|
|
104
|
+
padding: 20px 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.section-title {
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: space-between;
|
|
111
|
+
gap: 16px;
|
|
112
|
+
margin-bottom: 12px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.metrics {
|
|
116
|
+
display: grid;
|
|
117
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
118
|
+
gap: 12px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.metric,
|
|
122
|
+
.item {
|
|
123
|
+
border: 1px solid var(--line);
|
|
124
|
+
border-radius: 8px;
|
|
125
|
+
background: var(--panel);
|
|
126
|
+
padding: 14px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.metric strong {
|
|
130
|
+
display: block;
|
|
131
|
+
font-size: 24px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.grid {
|
|
135
|
+
display: grid;
|
|
136
|
+
grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
|
|
137
|
+
gap: 20px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.list {
|
|
141
|
+
display: grid;
|
|
142
|
+
gap: 10px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.item h3 {
|
|
146
|
+
margin: 0 0 8px;
|
|
147
|
+
font-size: 15px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.row {
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
justify-content: space-between;
|
|
154
|
+
gap: 12px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.tag {
|
|
158
|
+
display: inline-flex;
|
|
159
|
+
align-items: center;
|
|
160
|
+
min-height: 24px;
|
|
161
|
+
border: 1px solid var(--line);
|
|
162
|
+
border-radius: 999px;
|
|
163
|
+
padding: 0 9px;
|
|
164
|
+
color: var(--muted);
|
|
165
|
+
font-size: 12px;
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.tag.warn {
|
|
170
|
+
color: var(--warn);
|
|
171
|
+
border-color: #dfc173;
|
|
172
|
+
background: #fff8e5;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.audit {
|
|
176
|
+
border: 1px solid var(--line);
|
|
177
|
+
border-radius: 8px;
|
|
178
|
+
background: var(--panel);
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.connection,
|
|
183
|
+
.readiness {
|
|
184
|
+
display: grid;
|
|
185
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
186
|
+
gap: 12px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.connection code,
|
|
190
|
+
.readiness code {
|
|
191
|
+
display: block;
|
|
192
|
+
min-height: 42px;
|
|
193
|
+
overflow-wrap: anywhere;
|
|
194
|
+
border: 1px solid var(--line);
|
|
195
|
+
border-radius: 6px;
|
|
196
|
+
background: #f8faf9;
|
|
197
|
+
padding: 10px;
|
|
198
|
+
color: #26332f;
|
|
199
|
+
font-size: 13px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.status {
|
|
203
|
+
display: inline-flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
min-height: 22px;
|
|
206
|
+
border-radius: 999px;
|
|
207
|
+
padding: 0 8px;
|
|
208
|
+
font-size: 12px;
|
|
209
|
+
font-weight: 700;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.status.pass {
|
|
213
|
+
color: #146c5c;
|
|
214
|
+
background: #e7f5ef;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.status.warn {
|
|
218
|
+
color: #8a5a00;
|
|
219
|
+
background: #fff8e5;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.status.fail {
|
|
223
|
+
color: #9b1c1c;
|
|
224
|
+
background: #fdecec;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.audit div {
|
|
228
|
+
display: grid;
|
|
229
|
+
grid-template-columns: 180px 1fr;
|
|
230
|
+
gap: 12px;
|
|
231
|
+
padding: 10px 12px;
|
|
232
|
+
border-top: 1px solid var(--line);
|
|
233
|
+
font-size: 13px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.audit div:first-child {
|
|
237
|
+
border-top: 0;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@media (max-width: 780px) {
|
|
241
|
+
.topbar,
|
|
242
|
+
.grid,
|
|
243
|
+
.metrics,
|
|
244
|
+
.connection,
|
|
245
|
+
.readiness {
|
|
246
|
+
grid-template-columns: 1fr;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.topbar {
|
|
250
|
+
display: grid;
|
|
251
|
+
padding: 20px;
|
|
252
|
+
}
|
|
253
|
+
}
|