Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
perf(vault): bound unfinished Markdown link matching
Abdurrahman Fakhruld3a46f503820
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 24dbfe9a..afa622a7 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -19,6 +19,10 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh- `security` keep connected app bootstrap code static- `security` protect public admission and OAuth registration trust+**Faster**++- `vault` bound unfinished Markdown link matching+**Tests**- `managed-apps` wait for durable job finalization before cleanupdiff --git a/docs/PROGRESS.md b/docs/PROGRESS.mdindex 46dd0068..5f4a3500 100644--- a/docs/PROGRESS.md+++ b/docs/PROGRESS.md@@ -8,6 +8,8 @@ Regression coverage exercises safe/ambiguous/path-bounded link resolution and inThe personal-note journey also exposed a Code hydration bug: the initial empty buffer was compared with an absent disk entry and misclassified as unsaved, refusing the first host read. Treat the absent baseline as empty while retaining actual edits made during an in-flight read. The real editor/browser save journey verifies initial content and the written result. Host note editing respects the selected Live adapter; mock mode offers clear guidance instead of creating a note that its editor cannot read.+A follow-up parse experiment found quadratic work on long unfinished bracket sequences. Inline links now stop at nested bracket/parenthesis delimiters, retaining unfinished Markdown as literal text instead of repeatedly scanning the remaining note. Large malformed-note regressions preserve text and keep links inert; the reader remains dependency-free and bounded by the existing note limit.+## 2026-10-10: Close the eight findings from the 1acc1424 cloud scanCandidate indexes use canonical credential guards during walking, seeding, cache reuse and preview reads; version 2 invalidates older caches. Git diffs use NUL-delimited filename metadata and literal pathspecs, omit protected patches/renames and redact recognizable credentials while retaining file statistics and ordinary source.diff --git a/frontend/slices/agent-vault/components/note-preview.test.tsx b/frontend/slices/agent-vault/components/note-preview.test.tsxindex 46fa1b73..8599fad2 100644--- a/frontend/slices/agent-vault/components/note-preview.test.tsx+++ b/frontend/slices/agent-vault/components/note-preview.test.tsx@@ -16,4 +16,11 @@ describe("native Markdown reader", () => {expect(html).toContain("<script>");for (const tag of ["<script", "<iframe", "<img", "<a "]) expect(html).not.toContain(tag);});+ it("preserves large unfinished links as inert text", () => {+ for (const content of ["[".repeat(48 * 1024), "[unfinished](".repeat(4096)]) {+ const html = renderToStaticMarkup(<NotePreview content={content} />);+ expect(html).toContain(content);+ expect(html).not.toContain("<button"); expect(html).not.toContain("<a ");+ }+ });});diff --git a/frontend/slices/agent-vault/components/note-preview.tsx b/frontend/slices/agent-vault/components/note-preview.tsxindex 4b8d7e84..75abc216 100644--- a/frontend/slices/agent-vault/components/note-preview.tsx+++ b/frontend/slices/agent-vault/components/note-preview.tsx@@ -3,7 +3,7 @@ import { Fragment, memo, type ReactNode } from "react";import { safeExternalLink } from "../lib/note-links";type Props = { content: string; resolve?: (target: string, wiki: boolean) => string | undefined; onOpen?: (path: string) => void };-const INLINE = /(!?\[\[[^\]\n]+\]\]|!?\[[^\]\n]*\]\([^\s)]+\)|`[^`\n]+`|\*\*[^*\n]+\*\*)/g;+const INLINE = /(!?\[\[[^\[\]\n]+\]\]|!?\[[^\[\]\n]*\]\([^\s()\[\]]+\)|`[^`\n]+`|\*\*[^*\n]+\*\*)/g;/** Inert Markdown reader. HTML/embeds stay text; only reviewed note/web links activate. */export const NotePreview = memo(function NotePreview({ content, resolve, onOpen }: Props) {