chore: restart the repository with a clean history
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s

Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
This commit is contained in:
fristy committed 2026-11-10 11:31:13 +03:00
commit 650807c1fb
438 files changed
+45070

No files matched your search

@@ -0,0 +1,42 @@
import { EditorView } from "@codemirror/view";
import { HighlightStyle, syntaxHighlighting } from "@codemirror/language";
import { tags } from "@lezer/highlight";
const mono = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
const lineTint = "rgba(255, 255, 255, 0.03)";
const selection = "rgba(20, 184, 166, 0.3)";
const editorTheme = EditorView.theme({
"&": { color: "var(--text)", backgroundColor: "var(--surface)", fontSize: "0.75rem" },
".cm-content": { fontFamily: mono, padding: "0.5rem 0", caretColor: "var(--text)" },
".cm-scroller": { fontFamily: mono, lineHeight: "1.6" },
".cm-gutters": { backgroundColor: "var(--surface)", color: "var(--muted)", border: "none", paddingLeft: "0.25rem" },
".cm-lineNumbers .cm-gutterElement": { minWidth: "2.25rem", padding: "0 0.5rem 0 0" },
".cm-activeLine": { backgroundColor: lineTint },
".cm-activeLineGutter": { backgroundColor: lineTint, color: "var(--subtext)" },
".cm-cursor, .cm-dropCursor": { borderLeftColor: "var(--text)" },
".cm-selectionBackground": { backgroundColor: selection },
".cm-selectionMatch": { backgroundColor: "var(--primary-tint)" },
".cm-matchingBracket, &.cm-focused .cm-matchingBracket": { backgroundColor: "var(--primary-tint)", outline: "1px solid var(--primary-deep)" },
".cm-nonmatchingBracket": { color: "var(--error)" },
".cm-panels": { backgroundColor: "var(--surface-raised)", color: "var(--text)", borderColor: "var(--border)" },
".cm-panels input, .cm-panels button": { fontFamily: "inherit", color: "var(--text)", backgroundColor: "var(--background)", border: "1px solid var(--border)", borderRadius: "0.375rem", backgroundImage: "none" },
".cm-searchMatch": { backgroundColor: "var(--warning-tint)", outline: "1px solid var(--warning)" },
".cm-searchMatch.cm-searchMatch-selected": { backgroundColor: "var(--warning-tint)" },
".cm-tooltip": { backgroundColor: "var(--surface-raised)", border: "1px solid var(--border-strong)", color: "var(--text)" },
"&.cm-focused": { outline: "none" },
}, { dark: true });
const highlight = HighlightStyle.define([
{ tag: [tags.comment, tags.documentMeta, tags.processingInstruction], color: "var(--muted)", fontStyle: "italic" },
{ tag: [tags.punctuation, tags.bracket, tags.separator, tags.angleBracket], color: "var(--muted)" },
{ tag: [tags.propertyName, tags.tagName, tags.attributeName, tags.definition(tags.variableName)], color: "var(--primary-bright)" },
{ tag: [tags.string, tags.attributeValue, tags.special(tags.string), tags.character], color: "var(--success)" },
{ tag: [tags.number, tags.bool, tags.unit, tags.color, tags.constant(tags.name)], color: "var(--warning)" },
{ tag: [tags.null, tags.keyword, tags.operatorKeyword, tags.modifier, tags.controlKeyword, tags.atom, tags.self], color: "var(--error)" },
{ tag: [tags.operator, tags.url, tags.escape, tags.regexp], color: "var(--subtext)" },
{ tag: [tags.function(tags.variableName), tags.function(tags.propertyName), tags.className, tags.typeName, tags.namespace], color: "var(--primary-hover)" },
{ tag: [tags.invalid], color: "var(--error)", textDecoration: "underline" },
]);
export const theme = [editorTheme, syntaxHighlighting(highlight)];