agent-feedbacker 0.0.0-stage → 0.2.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/.claude-plugin/marketplace.json +16 -0
- package/.claude-plugin/plugin.json +8 -0
- package/.mcp.json +8 -0
- package/LICENSE +21 -0
- package/README.md +169 -2
- package/bin/feedbacker.mjs +85 -0
- package/hooks/hooks.json +13 -0
- package/package.json +54 -4
- package/skills/review/SKILL.md +31 -0
- package/src/baseline.mjs +122 -0
- package/src/core.mjs +299 -0
- package/src/dist/THIRD_PARTY_LICENSES.txt +307 -0
- package/src/dist/app.css +1 -0
- package/src/dist/app.js +16 -0
- package/src/dist/favicon.svg +5 -0
- package/src/dist/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal-2N3YVG5Z.woff2 +0 -0
- package/src/dist/fonts/atkinson-hyperlegible-next-latin-wght-normal-VX3WN42K.woff2 +0 -0
- package/src/dist/fonts/jetbrains-mono-cyrillic-ext-wght-normal-BUWC6ZS3.woff2 +0 -0
- package/src/dist/fonts/jetbrains-mono-cyrillic-wght-normal-ENSFVLK4.woff2 +0 -0
- package/src/dist/fonts/jetbrains-mono-greek-wght-normal-Y3BRZMJV.woff2 +0 -0
- package/src/dist/fonts/jetbrains-mono-latin-ext-wght-normal-TSLVDSQR.woff2 +0 -0
- package/src/dist/fonts/jetbrains-mono-latin-wght-normal-VBS632QH.woff2 +0 -0
- package/src/dist/fonts/jetbrains-mono-vietnamese-wght-normal-SP6EBKAH.woff2 +0 -0
- package/src/mcp.mjs +143 -0
- package/src/page.html +14 -0
package/src/core.mjs
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
// Core of Feedbacker: read diffs from git repos, serve the review page,
|
|
2
|
+
// and resolve with the user's feedback once they submit it.
|
|
3
|
+
|
|
4
|
+
import http from 'node:http';
|
|
5
|
+
import crypto from 'node:crypto';
|
|
6
|
+
import fs from 'node:fs';
|
|
7
|
+
import os from 'node:os';
|
|
8
|
+
import path from 'node:path';
|
|
9
|
+
import { execFileSync, spawn } from 'node:child_process';
|
|
10
|
+
import { fileURLToPath } from 'node:url';
|
|
11
|
+
|
|
12
|
+
const DIR = path.dirname(fileURLToPath(import.meta.url));
|
|
13
|
+
const PAGE = path.join(DIR, 'page.html');
|
|
14
|
+
// The page's bundle (src/dist, built by build.mjs). These files hold no
|
|
15
|
+
// secrets, so they are served without the token. URL path -> file.
|
|
16
|
+
const TYPES = { '.js': 'text/javascript', '.css': 'text/css', '.woff2': 'font/woff2', '.svg': 'image/svg+xml', '.txt': 'text/plain' };
|
|
17
|
+
const ASSETS = Object.fromEntries(
|
|
18
|
+
fs.readdirSync(path.join(DIR, 'dist'), { recursive: true })
|
|
19
|
+
.map((f) => f.split(path.sep).join('/'))
|
|
20
|
+
.filter((f) => TYPES[path.extname(f)])
|
|
21
|
+
.map((f) => ['/dist/' + f, path.join(DIR, 'dist', f)]),
|
|
22
|
+
);
|
|
23
|
+
const DIFF_FLAGS = ['--no-color', '--no-ext-diff', '-M', '--src-prefix=a/', '--dst-prefix=b/'];
|
|
24
|
+
|
|
25
|
+
function git(cwd, args, okCodes = [0]) {
|
|
26
|
+
try {
|
|
27
|
+
return execFileSync('git', ['-c', 'core.quotePath=false', ...args], {
|
|
28
|
+
cwd, encoding: 'utf8', maxBuffer: 256 * 1024 * 1024, stdio: ['ignore', 'pipe', 'pipe'],
|
|
29
|
+
});
|
|
30
|
+
} catch (e) {
|
|
31
|
+
if (okCodes.includes(e.status)) return e.stdout;
|
|
32
|
+
throw new Error((e.stderr || e.message).trim());
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Parse `git diff` output into files with flat rows: hunk headers ('h'),
|
|
37
|
+
// context (' '), deletions ('-') and additions ('+'), with old/new line numbers.
|
|
38
|
+
export function parseDiff(text) {
|
|
39
|
+
const files = [];
|
|
40
|
+
let f = null, inHunk = false, o = 0, n = 0;
|
|
41
|
+
const strip = (s) => s.replace(/\t$/, '');
|
|
42
|
+
for (const line of text.split('\n')) {
|
|
43
|
+
if (line.startsWith('diff --git ')) {
|
|
44
|
+
const m = line.match(/^diff --git a\/(.*) b\/(.*)$/);
|
|
45
|
+
f = { path: m ? m[2] : line, oldPath: m ? m[1] : '', status: 'modified', binary: false, rows: [] };
|
|
46
|
+
files.push(f);
|
|
47
|
+
inHunk = false;
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (!f) continue;
|
|
51
|
+
if (line.startsWith('@@')) {
|
|
52
|
+
const m = line.match(/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/);
|
|
53
|
+
if (!m) continue;
|
|
54
|
+
o = Number(m[1]); n = Number(m[2]);
|
|
55
|
+
f.rows.push({ t: 'h', s: line });
|
|
56
|
+
inHunk = true;
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
if (!inHunk) {
|
|
60
|
+
if (line.startsWith('new file')) f.status = 'added';
|
|
61
|
+
else if (line.startsWith('deleted file')) f.status = 'deleted';
|
|
62
|
+
else if (line.startsWith('rename from ')) { f.oldPath = line.slice(12); f.status = 'renamed'; }
|
|
63
|
+
else if (line.startsWith('rename to ')) f.path = line.slice(10);
|
|
64
|
+
else if (line.startsWith('Binary files') || line === 'GIT binary patch') f.binary = true;
|
|
65
|
+
else if (line.startsWith('--- a/')) f.oldPath = strip(line.slice(6));
|
|
66
|
+
else if (line.startsWith('+++ b/')) f.path = strip(line.slice(6));
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
const c = line[0], s = line.slice(1);
|
|
70
|
+
if (c === ' ') f.rows.push({ t: ' ', o: o++, n: n++, s });
|
|
71
|
+
else if (c === '-') f.rows.push({ t: '-', o: o++, s });
|
|
72
|
+
else if (c === '+') f.rows.push({ t: '+', n: n++, s });
|
|
73
|
+
}
|
|
74
|
+
for (const file of files) if (file.status === 'deleted') file.path = file.oldPath;
|
|
75
|
+
return files;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// "repo", "repo@base" or { path, base, worktrees, exact }. `exact` diffs
|
|
79
|
+
// against base itself instead of the fork point (session baselines, which can
|
|
80
|
+
// be snapshot commits that HEAD never contains).
|
|
81
|
+
export function parseSpec(spec) {
|
|
82
|
+
if (typeof spec !== 'string') return { path: spec.path, base: spec.base || 'HEAD', worktrees: !!spec.worktrees, exact: !!spec.exact, session: !!spec.session };
|
|
83
|
+
const at = spec.lastIndexOf('@');
|
|
84
|
+
if (at > 0 && !fs.existsSync(spec)) return { path: spec.slice(0, at), base: spec.slice(at + 1) || 'HEAD', worktrees: false };
|
|
85
|
+
return { path: spec, base: 'HEAD', worktrees: false };
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Paths of all worktrees (main and linked) of the repo containing `dir`,
|
|
89
|
+
// skipping bare repos and worktrees whose folder is gone.
|
|
90
|
+
export function listWorktrees(dir) {
|
|
91
|
+
const out = git(path.resolve(dir), ['worktree', 'list', '--porcelain']);
|
|
92
|
+
return out.split('\n\n').map((block) => {
|
|
93
|
+
const lines = block.split('\n');
|
|
94
|
+
const p = lines.find((l) => l.startsWith('worktree '))?.slice(9);
|
|
95
|
+
if (!p || lines.includes('bare') || lines.some((l) => l.startsWith('prunable')) || !fs.existsSync(p)) return null;
|
|
96
|
+
return p;
|
|
97
|
+
}).filter(Boolean);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// The diff is the working tree (staged, unstaged and untracked) against the
|
|
101
|
+
// point where HEAD forked from base (like a merge request), or base itself
|
|
102
|
+
// when they share no history.
|
|
103
|
+
export function loadRepo(spec) {
|
|
104
|
+
const { path: p, base, exact, session } = parseSpec(spec);
|
|
105
|
+
const repo = { path: path.resolve(p), base, session, branch: '', files: [], error: null };
|
|
106
|
+
try {
|
|
107
|
+
repo.path = git(repo.path, ['rev-parse', '--show-toplevel']).trim();
|
|
108
|
+
repo.branch = git(repo.path, ['rev-parse', '--abbrev-ref', 'HEAD']).trim();
|
|
109
|
+
let from = git(repo.path, ['rev-parse', '--verify', '--end-of-options', `${base}^{commit}`]).trim();
|
|
110
|
+
if (!exact) try { from = git(repo.path, ['merge-base', from, 'HEAD']).trim(); } catch {}
|
|
111
|
+
let text = git(repo.path, ['diff', ...DIFF_FLAGS, from, '--']);
|
|
112
|
+
const untracked = git(repo.path, ['ls-files', '--others', '--exclude-standard', '-z']).split('\0').filter(Boolean);
|
|
113
|
+
for (const f of untracked) {
|
|
114
|
+
text += git(repo.path, ['diff', ...DIFF_FLAGS, '--no-index', '--', '/dev/null', f], [0, 1]);
|
|
115
|
+
}
|
|
116
|
+
repo.files = parseDiff(text);
|
|
117
|
+
} catch (e) {
|
|
118
|
+
repo.error = e.message;
|
|
119
|
+
}
|
|
120
|
+
return repo;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// `worktrees` (globally or per repo) expands each repo into all its worktrees,
|
|
124
|
+
// e.g. to review parallel agents' work together. Duplicates are dropped.
|
|
125
|
+
export function buildReview({ repos = ['.'], summary = '', questions = [], worktrees = false }) {
|
|
126
|
+
const specs = [];
|
|
127
|
+
for (const raw of repos) {
|
|
128
|
+
const spec = parseSpec(raw);
|
|
129
|
+
let paths = [spec.path];
|
|
130
|
+
if (spec.worktrees || worktrees) {
|
|
131
|
+
try { paths = listWorktrees(spec.path); } catch {} // not a repo: loadRepo reports it
|
|
132
|
+
}
|
|
133
|
+
for (const p of paths) specs.push({ path: p, base: spec.base, exact: spec.exact, session: spec.session });
|
|
134
|
+
}
|
|
135
|
+
const seen = new Set();
|
|
136
|
+
const loaded = specs.map(loadRepo).filter((r) => !seen.has(r.path) && seen.add(r.path));
|
|
137
|
+
const name = (r) => path.basename(r.path);
|
|
138
|
+
for (const r of loaded) {
|
|
139
|
+
// Short label for the UI; add the parent folder when two repos share a name.
|
|
140
|
+
r.label = loaded.filter((x) => name(x) === name(r)).length > 1
|
|
141
|
+
? path.join(path.basename(path.dirname(r.path)), name(r))
|
|
142
|
+
: name(r);
|
|
143
|
+
}
|
|
144
|
+
return { summary, questions, repos: loaded };
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function hasChanges(review) {
|
|
148
|
+
return review.repos.some((r) => r.files.length);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function toMarkdown(review, fb) {
|
|
152
|
+
const out = ['# Review feedback', '', `Verdict: **${fb.verdict === 'approve' ? 'approved' : 'changes requested'}**`, ''];
|
|
153
|
+
// What the user actually saw, so the agent knows what the verdict covers
|
|
154
|
+
// (a hook may have filled in bases or added repos).
|
|
155
|
+
out.push('Reviewed:', '');
|
|
156
|
+
for (const r of review.repos) {
|
|
157
|
+
const names = r.files.slice(0, 10).map((f) => f.path).filter(Boolean).join(', ') + (r.files.length > 10 ? ', …' : '');
|
|
158
|
+
const what = r.error ? `could not be read (${r.error})`
|
|
159
|
+
: `${r.files.length} file${r.files.length === 1 ? '' : 's'} changed${names ? ` (${names})` : ''}`;
|
|
160
|
+
out.push(`- ${r.path}${r.branch && r.branch !== 'HEAD' ? ` (${r.branch})` : ''}: ${what}, ${describeBase(r)}`);
|
|
161
|
+
}
|
|
162
|
+
out.push('');
|
|
163
|
+
if (fb.general.trim()) out.push('## General', '', fb.general.trim(), '');
|
|
164
|
+
if (fb.answers.length) {
|
|
165
|
+
out.push('## Answers', '');
|
|
166
|
+
for (const a of fb.answers) out.push(`**Q: ${a.question}**`, '', a.answer.trim() || '_(no answer)_', '');
|
|
167
|
+
}
|
|
168
|
+
if (fb.comments.length) {
|
|
169
|
+
out.push('## Comments', '');
|
|
170
|
+
for (const repo of review.repos) {
|
|
171
|
+
const cs = fb.comments.filter((c) => c.repo === repo.path);
|
|
172
|
+
if (!cs.length) continue;
|
|
173
|
+
out.push(`### ${repo.path}`, '');
|
|
174
|
+
for (const c of cs) {
|
|
175
|
+
const lines = c.startLine === c.endLine ? `${c.startLine}` : `${c.startLine}-${c.endLine}`;
|
|
176
|
+
out.push(`**${c.file}:${lines}** (${c.side} side)`, '', '```diff', c.code, '```', '', c.body.trim(), '');
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
if (!fb.comments.length && !fb.general.trim() && !fb.answers.some((a) => a.answer.trim())) {
|
|
181
|
+
out.push('_No comments._', '');
|
|
182
|
+
}
|
|
183
|
+
return out.join('\n');
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export function describeBase(r) {
|
|
187
|
+
if (r.session) return 'changes since the session started';
|
|
188
|
+
if (r.base === 'HEAD') return 'uncommitted changes';
|
|
189
|
+
return `compared with ${/^[0-9a-f]{40}$/.test(r.base) ? r.base.slice(0, 10) : r.base}`;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// Keep only the fields we expect from the browser, with safe defaults.
|
|
193
|
+
export function normalizeFeedback(review, fb) {
|
|
194
|
+
const str = (v) => (typeof v === 'string' ? v : '');
|
|
195
|
+
const answers = review.questions.map((question, i) => ({ question, answer: str(fb.answers?.[i]?.answer) }));
|
|
196
|
+
const comments = (Array.isArray(fb.comments) ? fb.comments : []).map((c) => ({
|
|
197
|
+
repo: str(c.repo), file: str(c.file), side: c.side === 'old' ? 'old' : 'new',
|
|
198
|
+
startLine: Number(c.startLine) || 0, endLine: Number(c.endLine) || 0, code: str(c.code), body: str(c.body),
|
|
199
|
+
}));
|
|
200
|
+
return { verdict: fb.verdict === 'approve' ? 'approve' : 'request_changes', general: str(fb.general), answers, comments };
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export function openBrowser(url) {
|
|
204
|
+
const cmd = process.platform === 'darwin' ? 'open' : process.platform === 'win32' ? 'explorer' : 'xdg-open';
|
|
205
|
+
try {
|
|
206
|
+
spawn(cmd, [url], { detached: true, stdio: 'ignore' }).on('error', () => {}).unref();
|
|
207
|
+
} catch {}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// Each open review leaves a small file here, so `feedbacker list` can show its
|
|
211
|
+
// URL when the browser didn't open (MCP clients often hide the server's stderr).
|
|
212
|
+
export function stateDir() {
|
|
213
|
+
return process.env.FEEDBACKER_STATE_DIR
|
|
214
|
+
|| path.join(process.env.XDG_STATE_HOME || path.join(os.homedir(), '.local', 'state'), 'feedbacker');
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export function listReviews() {
|
|
218
|
+
let names = [];
|
|
219
|
+
try { names = fs.readdirSync(stateDir()).filter((n) => n.endsWith('.json')); } catch {}
|
|
220
|
+
const alive = (pid) => { try { process.kill(pid, 0); return true; } catch (e) { return e.code === 'EPERM'; } };
|
|
221
|
+
return names.flatMap((n) => {
|
|
222
|
+
const file = path.join(stateDir(), n);
|
|
223
|
+
try {
|
|
224
|
+
const r = JSON.parse(fs.readFileSync(file, 'utf8'));
|
|
225
|
+
if (alive(r.pid)) return [r];
|
|
226
|
+
fs.rmSync(file, { force: true }); // left behind by a killed process
|
|
227
|
+
} catch {}
|
|
228
|
+
return [];
|
|
229
|
+
}).sort((a, b) => a.started.localeCompare(b.started));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// Serve the review on 127.0.0.1 and resolve `feedback` when the user submits.
|
|
233
|
+
// Returns { url, feedback, close }.
|
|
234
|
+
export function startReview(review, { port = 0, open = true } = {}) {
|
|
235
|
+
const token = crypto.randomBytes(16).toString('hex');
|
|
236
|
+
const page = fs.readFileSync(PAGE);
|
|
237
|
+
const stateFile = path.join(stateDir(), `${process.pid}-${token.slice(0, 8)}.json`);
|
|
238
|
+
const cleanup = () => fs.rmSync(stateFile, { force: true });
|
|
239
|
+
let resolve;
|
|
240
|
+
const feedback = new Promise((r) => (resolve = r));
|
|
241
|
+
|
|
242
|
+
const server = http.createServer((req, res) => {
|
|
243
|
+
const url = new URL(req.url, 'http://localhost');
|
|
244
|
+
// Static assets are public; everything else needs the token.
|
|
245
|
+
const asset = req.method === 'GET' && Object.hasOwn(ASSETS, url.pathname) && ASSETS[url.pathname];
|
|
246
|
+
if (asset) {
|
|
247
|
+
res.writeHead(200, { 'content-type': TYPES[path.extname(asset)], 'cache-control': 'no-cache' }).end(fs.readFileSync(asset));
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
if (url.searchParams.get('t') !== token) {
|
|
251
|
+
res.writeHead(403).end('Forbidden');
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
if (req.method === 'GET' && url.pathname === '/') {
|
|
255
|
+
res.writeHead(200, { 'content-type': 'text/html; charset=utf-8' }).end(page);
|
|
256
|
+
} else if (req.method === 'GET' && url.pathname === '/api/review') {
|
|
257
|
+
res.writeHead(200, { 'content-type': 'application/json' }).end(JSON.stringify(review));
|
|
258
|
+
} else if (req.method === 'POST' && url.pathname === '/api/submit') {
|
|
259
|
+
let body = '';
|
|
260
|
+
req.on('data', (d) => (body += d));
|
|
261
|
+
req.on('end', () => {
|
|
262
|
+
let fb;
|
|
263
|
+
try {
|
|
264
|
+
fb = normalizeFeedback(review, JSON.parse(body));
|
|
265
|
+
} catch {
|
|
266
|
+
res.writeHead(400).end('Bad JSON');
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
res.on('finish', close);
|
|
270
|
+
res.writeHead(200, { 'content-type': 'application/json' }).end('{"ok":true}');
|
|
271
|
+
resolve(fb);
|
|
272
|
+
});
|
|
273
|
+
} else {
|
|
274
|
+
res.writeHead(404).end('Not found');
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
function close() {
|
|
279
|
+
server.close();
|
|
280
|
+
server.closeAllConnections?.();
|
|
281
|
+
cleanup();
|
|
282
|
+
process.off('exit', cleanup);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
return new Promise((ok, fail) => {
|
|
286
|
+
server.on('error', fail);
|
|
287
|
+
server.listen(port, '127.0.0.1', () => {
|
|
288
|
+
const url = `http://127.0.0.1:${server.address().port}/?t=${token}`;
|
|
289
|
+
try {
|
|
290
|
+
fs.mkdirSync(stateDir(), { recursive: true, mode: 0o700 });
|
|
291
|
+
const repos = review.repos.map((r) => r.path);
|
|
292
|
+
fs.writeFileSync(stateFile, JSON.stringify({ url, pid: process.pid, started: new Date().toISOString(), summary: review.summary, repos }), { mode: 0o600 });
|
|
293
|
+
process.on('exit', cleanup);
|
|
294
|
+
} catch {}
|
|
295
|
+
if (open) openBrowser(url);
|
|
296
|
+
ok({ url, feedback, close });
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
Bundled in app.js, app.css and fonts/:
|
|
2
|
+
|
|
3
|
+
react 19.3.1
|
|
4
|
+
|
|
5
|
+
MIT License
|
|
6
|
+
|
|
7
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
|
26
|
+
|
|
27
|
+
------------------------------------------------------------------------
|
|
28
|
+
|
|
29
|
+
react-dom 19.3.1
|
|
30
|
+
|
|
31
|
+
MIT License
|
|
32
|
+
|
|
33
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
34
|
+
|
|
35
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
36
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
37
|
+
in the Software without restriction, including without limitation the rights
|
|
38
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
39
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
40
|
+
furnished to do so, subject to the following conditions:
|
|
41
|
+
|
|
42
|
+
The above copyright notice and this permission notice shall be included in all
|
|
43
|
+
copies or substantial portions of the Software.
|
|
44
|
+
|
|
45
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
46
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
47
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
48
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
49
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
50
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
51
|
+
SOFTWARE.
|
|
52
|
+
|
|
53
|
+
------------------------------------------------------------------------
|
|
54
|
+
|
|
55
|
+
scheduler 0.28.0
|
|
56
|
+
|
|
57
|
+
MIT License
|
|
58
|
+
|
|
59
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
60
|
+
|
|
61
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
62
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
63
|
+
in the Software without restriction, including without limitation the rights
|
|
64
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
65
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
66
|
+
furnished to do so, subject to the following conditions:
|
|
67
|
+
|
|
68
|
+
The above copyright notice and this permission notice shall be included in all
|
|
69
|
+
copies or substantial portions of the Software.
|
|
70
|
+
|
|
71
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
72
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
73
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
74
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
75
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
76
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
77
|
+
SOFTWARE.
|
|
78
|
+
|
|
79
|
+
------------------------------------------------------------------------
|
|
80
|
+
|
|
81
|
+
highlight.js 11.12.0
|
|
82
|
+
|
|
83
|
+
BSD 3-Clause License
|
|
84
|
+
|
|
85
|
+
Copyright (c) 2006, Ivan Sagalaev.
|
|
86
|
+
All rights reserved.
|
|
87
|
+
|
|
88
|
+
Redistribution and use in source and binary forms, with or without
|
|
89
|
+
modification, are permitted provided that the following conditions are met:
|
|
90
|
+
|
|
91
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
92
|
+
list of conditions and the following disclaimer.
|
|
93
|
+
|
|
94
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
95
|
+
this list of conditions and the following disclaimer in the documentation
|
|
96
|
+
and/or other materials provided with the distribution.
|
|
97
|
+
|
|
98
|
+
* Neither the name of the copyright holder nor the names of its
|
|
99
|
+
contributors may be used to endorse or promote products derived from
|
|
100
|
+
this software without specific prior written permission.
|
|
101
|
+
|
|
102
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
103
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
104
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
105
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
106
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
107
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
108
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
109
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
110
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
111
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
112
|
+
|
|
113
|
+
------------------------------------------------------------------------
|
|
114
|
+
|
|
115
|
+
@fontsource-variable/atkinson-hyperlegible-next 5.3.0
|
|
116
|
+
|
|
117
|
+
Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next) AtkinsonHyperlegibleNext-Italic[wght].ttf: Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next)
|
|
118
|
+
|
|
119
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
120
|
+
This license is copied below, and is also available with a FAQ at:
|
|
121
|
+
http://scripts.sil.org/OFL
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
-----------------------------------------------------------
|
|
125
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
126
|
+
-----------------------------------------------------------
|
|
127
|
+
|
|
128
|
+
PREAMBLE
|
|
129
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
130
|
+
development of collaborative font projects, to support the font creation
|
|
131
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
132
|
+
open framework in which fonts may be shared and improved in partnership
|
|
133
|
+
with others.
|
|
134
|
+
|
|
135
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
136
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
137
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
138
|
+
redistributed and/or sold with any software provided that any reserved
|
|
139
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
140
|
+
however, cannot be released under any other type of license. The
|
|
141
|
+
requirement for fonts to remain under this license does not apply
|
|
142
|
+
to any document created using the fonts or their derivatives.
|
|
143
|
+
|
|
144
|
+
DEFINITIONS
|
|
145
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
146
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
147
|
+
include source files, build scripts and documentation.
|
|
148
|
+
|
|
149
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
150
|
+
copyright statement(s).
|
|
151
|
+
|
|
152
|
+
"Original Version" refers to the collection of Font Software components as
|
|
153
|
+
distributed by the Copyright Holder(s).
|
|
154
|
+
|
|
155
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
156
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
157
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
158
|
+
new environment.
|
|
159
|
+
|
|
160
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
161
|
+
writer or other person who contributed to the Font Software.
|
|
162
|
+
|
|
163
|
+
PERMISSION & CONDITIONS
|
|
164
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
165
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
166
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
167
|
+
Software, subject to the following conditions:
|
|
168
|
+
|
|
169
|
+
1) Neither the Font Software nor any of its individual components,
|
|
170
|
+
in Original or Modified Versions, may be sold by itself.
|
|
171
|
+
|
|
172
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
173
|
+
redistributed and/or sold with any software, provided that each copy
|
|
174
|
+
contains the above copyright notice and this license. These can be
|
|
175
|
+
included either as stand-alone text files, human-readable headers or
|
|
176
|
+
in the appropriate machine-readable metadata fields within text or
|
|
177
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
178
|
+
|
|
179
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
180
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
181
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
182
|
+
presented to the users.
|
|
183
|
+
|
|
184
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
185
|
+
Software shall not be used to promote, endorse or advertise any
|
|
186
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
187
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
188
|
+
permission.
|
|
189
|
+
|
|
190
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
191
|
+
must be distributed entirely under this license, and must not be
|
|
192
|
+
distributed under any other license. The requirement for fonts to
|
|
193
|
+
remain under this license does not apply to any document created
|
|
194
|
+
using the Font Software.
|
|
195
|
+
|
|
196
|
+
TERMINATION
|
|
197
|
+
This license becomes null and void if any of the above conditions are
|
|
198
|
+
not met.
|
|
199
|
+
|
|
200
|
+
DISCLAIMER
|
|
201
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
202
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
203
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
204
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
205
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
206
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
207
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
208
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
209
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
210
|
+
|
|
211
|
+
------------------------------------------------------------------------
|
|
212
|
+
|
|
213
|
+
@fontsource-variable/jetbrains-mono 5.3.0
|
|
214
|
+
|
|
215
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
216
|
+
|
|
217
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
218
|
+
This license is copied below, and is also available with a FAQ at:
|
|
219
|
+
http://scripts.sil.org/OFL
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
-----------------------------------------------------------
|
|
223
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
224
|
+
-----------------------------------------------------------
|
|
225
|
+
|
|
226
|
+
PREAMBLE
|
|
227
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
228
|
+
development of collaborative font projects, to support the font creation
|
|
229
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
230
|
+
open framework in which fonts may be shared and improved in partnership
|
|
231
|
+
with others.
|
|
232
|
+
|
|
233
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
234
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
235
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
236
|
+
redistributed and/or sold with any software provided that any reserved
|
|
237
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
238
|
+
however, cannot be released under any other type of license. The
|
|
239
|
+
requirement for fonts to remain under this license does not apply
|
|
240
|
+
to any document created using the fonts or their derivatives.
|
|
241
|
+
|
|
242
|
+
DEFINITIONS
|
|
243
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
244
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
245
|
+
include source files, build scripts and documentation.
|
|
246
|
+
|
|
247
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
248
|
+
copyright statement(s).
|
|
249
|
+
|
|
250
|
+
"Original Version" refers to the collection of Font Software components as
|
|
251
|
+
distributed by the Copyright Holder(s).
|
|
252
|
+
|
|
253
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
254
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
255
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
256
|
+
new environment.
|
|
257
|
+
|
|
258
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
259
|
+
writer or other person who contributed to the Font Software.
|
|
260
|
+
|
|
261
|
+
PERMISSION & CONDITIONS
|
|
262
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
263
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
264
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
265
|
+
Software, subject to the following conditions:
|
|
266
|
+
|
|
267
|
+
1) Neither the Font Software nor any of its individual components,
|
|
268
|
+
in Original or Modified Versions, may be sold by itself.
|
|
269
|
+
|
|
270
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
271
|
+
redistributed and/or sold with any software, provided that each copy
|
|
272
|
+
contains the above copyright notice and this license. These can be
|
|
273
|
+
included either as stand-alone text files, human-readable headers or
|
|
274
|
+
in the appropriate machine-readable metadata fields within text or
|
|
275
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
276
|
+
|
|
277
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
278
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
279
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
280
|
+
presented to the users.
|
|
281
|
+
|
|
282
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
283
|
+
Software shall not be used to promote, endorse or advertise any
|
|
284
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
285
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
286
|
+
permission.
|
|
287
|
+
|
|
288
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
289
|
+
must be distributed entirely under this license, and must not be
|
|
290
|
+
distributed under any other license. The requirement for fonts to
|
|
291
|
+
remain under this license does not apply to any document created
|
|
292
|
+
using the Font Software.
|
|
293
|
+
|
|
294
|
+
TERMINATION
|
|
295
|
+
This license becomes null and void if any of the above conditions are
|
|
296
|
+
not met.
|
|
297
|
+
|
|
298
|
+
DISCLAIMER
|
|
299
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
300
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
301
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
302
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
303
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
304
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
305
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
306
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
307
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/src/dist/app.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Atkinson Hyperlegible Next Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url("./fonts/atkinson-hyperlegible-next-latin-ext-wght-normal-2N3YVG5Z.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url("./fonts/atkinson-hyperlegible-next-latin-wght-normal-VX3WN42K.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url("./fonts/jetbrains-mono-cyrillic-ext-wght-normal-BUWC6ZS3.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url("./fonts/jetbrains-mono-cyrillic-wght-normal-ENSFVLK4.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url("./fonts/jetbrains-mono-greek-wght-normal-Y3BRZMJV.woff2") format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url("./fonts/jetbrains-mono-vietnamese-wght-normal-SP6EBKAH.woff2") format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url("./fonts/jetbrains-mono-latin-ext-wght-normal-TSLVDSQR.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url("./fonts/jetbrains-mono-latin-wght-normal-VBS632QH.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--paper: #fbfbfc;--panel: #f2f3f6;--sunk: #e9ebf0;--ink: #1b1f2a;--muted: #5d6475;--faint: #8a90a0;--line: #dde0e7;--add: #e4f4ee;--add-gutter: #c8e9dc;--add-ink: #13795b;--del: #fbeaed;--del-gutter: #f4d1d8;--del-ink: #b4233c;--add-word: #a9dfc8;--del-word: #f0b6c1;--hunk: #eef0f6;--marker: #ffe766;--marker-soft: #fff6bf;--marker-ink: #5c4700;--logo-ink: #1b1f2a;--on-marker: #3d2f00;--focus: #3355d6;--approve: #13795b;--approve-ink: #ffffff;--reject: #b4233c;--reject-ink: #ffffff;--syn-keyword: #8a2a9c;--syn-string: #1c6b4a;--syn-number: #a5500a;--syn-comment: #7c8293;--syn-title: #2347b8;--syn-type: #9a3412;--syn-attr: #6d4c00;--sans: "Atkinson Hyperlegible Next Variable", system-ui, sans-serif;--mono: "JetBrains Mono Variable", ui-monospace, monospace;--bar: 56px;color-scheme:light}@media(prefers-color-scheme:dark){:root{--paper: #14171e;--panel: #1a1e27;--sunk: #222733;--ink: #e4e7ee;--muted: #9aa1b2;--faint: #6f7689;--line: #2a303c;--add: #10261f;--add-gutter: #173a2f;--add-ink: #5cc9a0;--del: #2a1820;--del-gutter: #45212d;--del-ink: #f0778b;--add-word: #1f5a45;--del-word: #6a2a3b;--hunk: #1c2130;--marker: #f2d44c;--marker-soft: rgba(242, 212, 76, .16);--marker-ink: #f2d44c;--focus: #7d97ff;--approve: #2f9e78;--reject: #c53a52;--syn-keyword: #d49bf0;--syn-string: #8fd3a8;--syn-number: #f0b072;--syn-comment: #737a8d;--syn-title: #8fb0ff;--syn-type: #f2a37f;--syn-attr: #e6c977;color-scheme:dark}}*{box-sizing:border-box}html{scroll-padding-top:calc(var(--bar) + 12px)}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 var(--sans);-webkit-font-smoothing:antialiased}button,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.bar{position:sticky;top:0;z-index:10;height:var(--bar);display:flex;align-items:center;gap:16px;padding:0 20px;background:color-mix(in srgb,var(--paper) 88%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.brand .logo{flex:none;display:block}.brand .wordmark{font-weight:800;font-size:17px;letter-spacing:-.015em}.status .brand{margin-bottom:28px}.bar .stats{display:flex;gap:12px;color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden}.bar .spacer{flex:1}.plus{color:var(--add-ink);font-family:var(--mono);font-size:13px}.minus{color:var(--del-ink);font-family:var(--mono);font-size:13px}.marks{background:var(--marker);color:var(--on-marker);border-radius:999px;padding:0 9px;font-weight:700;font-size:13px;white-space:nowrap}.btn{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:6px 14px;cursor:pointer;font-weight:600;font-size:14px;white-space:nowrap}.btn:hover{background:var(--sunk)}.btn.approve{background:var(--approve);border-color:var(--approve);color:var(--approve-ink)}.btn.reject{background:transparent;border-color:var(--reject);color:var(--reject)}.btn.approve:hover{filter:brightness(1.08)}.btn.reject:hover{background:var(--del)}.btn.small{padding:3px 10px;font-size:13px;border-radius:6px}.btn.primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}.btn.quiet{border-color:transparent;background:transparent;color:var(--muted)}.btn.quiet:hover{color:var(--ink);background:var(--sunk)}.picker{position:relative;display:inline-flex;min-width:0}.picker select{appearance:none;min-width:0;max-width:320px;text-overflow:ellipsis;font:inherit;font-size:14px;font-weight:600;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:5px 30px 5px 12px;cursor:pointer}.picker select:hover{background:var(--sunk)}.picker:after{content:"\25be";position:absolute;right:11px;top:50%;transform:translateY(-52%);pointer-events:none;color:var(--muted);font-size:12px}.layout{display:grid;grid-template-columns:280px minmax(0,1fr)}.tree{position:sticky;top:var(--bar);align-self:start;height:calc(100vh - var(--bar));overflow:auto;padding:20px 12px 40px 16px;border-right:1px solid var(--line);font-size:14px}.tree .repo{display:flex;align-items:baseline;gap:8px;margin:0 0 6px 6px;font-weight:700}.tree>div+div{margin-top:22px}.branch{font-family:var(--mono);font-size:12px;font-weight:500;color:var(--muted);background:var(--sunk);border-radius:5px;padding:1px 6px;white-space:nowrap}.tree a{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:8px;align-items:baseline;padding:3px 6px;border-radius:6px;color:var(--ink);text-decoration:none}.tree a:hover{background:var(--panel)}.tree .path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:rtl;text-align:left}.tree .count{font-size:12px}.tree .count .marks{padding:0 6px;font-size:12px}.st{font-family:var(--mono);font-size:12px;font-weight:700;color:var(--faint)}.st.added{color:var(--add-ink)}.st.deleted{color:var(--del-ink)}.st.renamed{color:var(--syn-title)}.review{padding:28px 32px 120px;min-width:0}.handoff{max-width:76ch;margin-bottom:36px}.handoff .from{color:var(--muted);font-size:14px;margin:0 0 6px}.summary{font-size:21px;line-height:1.5;margin:0;white-space:pre-wrap;text-wrap:pretty}.summary.empty{color:var(--muted);font-size:17px}.questions{margin-top:24px;display:grid;gap:14px}.question{border-left:3px solid var(--line);padding:2px 0 2px 16px}.question.answered{border-left-color:var(--approve)}.question p{margin:0 0 8px;font-weight:700;white-space:pre-wrap}textarea{display:block;width:100%;min-height:64px;resize:vertical;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);line-height:1.5}textarea:focus{border-color:var(--focus);outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 22%,transparent)}.repo-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin:32px 0 12px}.repo-head h2{margin:0;font-size:19px}.repo-head .where{color:var(--muted);font-size:13px;font-family:var(--mono);overflow-wrap:anywhere}.empty-note{color:var(--muted);margin:0 0 8px}.error{color:var(--del-ink)}.file{border:1px solid var(--line);border-radius:10px;margin-bottom:18px;background:var(--paper)}.fhead{position:sticky;top:var(--bar);z-index:5;display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--panel);border-bottom:1px solid var(--line);border-radius:10px 10px 0 0;font-family:var(--mono);font-size:13px}.file.collapsed .fhead{border-bottom:none;border-radius:10px}.fhead .name{flex:1;min-width:0;overflow-wrap:anywhere}.fhead .old{color:var(--muted)}.viewed-box{display:inline-flex;align-items:center;gap:6px;font:13px var(--sans);color:var(--muted);cursor:pointer;white-space:nowrap}.viewed-box input{accent-color:var(--approve);margin:0}.file.viewed .fhead .name{color:var(--muted)}.tree a.viewed .path{color:var(--faint)}.tree .tick{color:var(--approve);font-weight:700}.fold{border:none;background:none;cursor:pointer;color:var(--muted);padding:0 2px;font-size:13px;width:18px}.fold:hover{color:var(--ink)}.fnote{padding:12px 16px;color:var(--muted);font-size:14px}.scroll{overflow-x:auto;border-radius:0 0 10px 10px}table{border-collapse:collapse;width:100%;font:12.5px/21px var(--mono);font-variant-ligatures:none}td.ln{width:1%;min-width:48px;padding:0 10px;text-align:right;color:var(--faint);user-select:none;cursor:pointer;vertical-align:top;position:relative}tr:not(.hunk):hover td.ln:nth-child(2):before{content:"+";position:absolute;left:-2px;top:1px;width:18px;height:18px;line-height:18px;text-align:center;background:var(--marker);color:var(--on-marker);border-radius:5px;font-weight:700}td.ln:hover{color:var(--ink)}td.code{white-space:pre;padding:0 12px 0 4px}td.code .sign{display:inline-block;width:1.4em;color:var(--faint);user-select:none}tr.add td{background:var(--add)}tr.add td.ln{background:var(--add-gutter)}tr.add .sign{color:var(--add-ink)}tr.del td{background:var(--del)}tr.del td.ln{background:var(--del-gutter)}tr.del .sign{color:var(--del-ink)}mark.wd{color:inherit;padding:0;border-radius:0}tr.add mark.wd{background:var(--add-word)}tr.del mark.wd{background:var(--del-word)}tr.sel mark.wd{background:var(--marker);color:var(--on-marker, #3d2f00)}tr.hunk td{background:var(--hunk);color:var(--muted);padding-top:3px;padding-bottom:3px}tr.sel td{background:var(--marker-soft)!important}tr.sel td.ln{color:var(--ink)}tr.sel td.ln:first-child{box-shadow:inset 3px 0 0 var(--marker)}tr.comment>td{padding:8px 14px 10px 62px;background:var(--panel);font:15px/1.55 var(--sans);white-space:normal;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.note-card{border-left:3px solid var(--marker);padding:4px 0 4px 12px;max-width:80ch}.note-card .meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-bottom:2px}.note-card .meta .where{font-family:var(--mono);font-size:12px}.note-card .meta .actions{margin-left:auto;display:flex;gap:2px}.note-card p{margin:0;white-space:pre-wrap}.form{max-width:80ch}.form .row{display:flex;align-items:center;gap:8px;margin-top:8px}.form .hint{color:var(--faint);font-size:13px;margin-right:auto}.finish{max-width:76ch;margin-top:44px;padding-top:24px;border-top:1px solid var(--line)}.finish h2{margin:0 0 4px;font-size:19px}.finish p{margin:0 0 12px;color:var(--muted)}.finish .row{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.hljs-keyword,.hljs-selector-tag,.hljs-built_in,.hljs-literal{color:var(--syn-keyword)}.hljs-string,.hljs-regexp,.hljs-template-tag,.hljs-addition{color:var(--syn-string)}.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:var(--syn-number)}.hljs-comment,.hljs-quote,.hljs-meta{color:var(--syn-comment);font-style:italic}.hljs-title,.hljs-title.function_,.hljs-section,.hljs-name{color:var(--syn-title)}.hljs-type,.hljs-title.class_,.hljs-selector-class{color:var(--syn-type)}.hljs-attr,.hljs-attribute,.hljs-property,.hljs-params{color:var(--syn-attr)}.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}.status{max-width:46ch;margin:22vh auto 0;padding:0 16px}.status h1{font-size:30px;margin:0 0 8px}.status p{color:var(--muted);margin:0;font-size:17px}.status .stamp{display:table;margin-bottom:18px;padding:2px 12px;border-radius:999px;font-weight:700;font-size:14px;animation:stamp .42s cubic-bezier(.2,.9,.3,1.3)}.status .stamp.approve{background:var(--add);color:var(--add-ink)}.status .stamp.request_changes{background:var(--del);color:var(--del-ink)}@keyframes stamp{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.status .stamp{animation:none}}@media(max-width:900px){.layout{display:block}.tree{display:none}.review{padding:20px 16px 100px}.bar{padding:0 16px;gap:10px}.bar .stats,.bar .marks,.bar .wordmark{display:none}.picker select{max-width:34vw}.bar .btn{padding:6px 10px}.summary{font-size:18px}tr.comment>td{padding-left:14px}}
|