Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Hide Blob Run from the menu and retune its reveal and HUD (#3435)

Nick Gomez7f7ea6ca7dc1
diff --git a/.changeset/blob-run-polish.md b/.changeset/blob-run-polish.md
new file mode 100644
index 000000000..e44c24555
--- /dev/null
+++ b/.changeset/blob-run-polish.md
@@ -0,0 +1,5 @@
+---
+"@inkeep/open-knowledge": patch
+---
+
+Blob Run goes back to being a secret, and reads better once you find it. The Resources menu no longer lists the game — the mascot gesture, the command palette, and the mascot button on the connecting banner still open it — and the Community section now leads with GitHub, then X, then Discord. Waking the game from the mascot takes eight rapid clicks instead of four, and a burst that is already in flight is no longer restarted by the clicks that follow it, so the fireworks the clicking earns actually get to play. In the game itself, the score moved from the far corner of the track to directly under the blob, where the player is already looking, and the key names in the hint line now render as keycaps.
diff --git a/knip.config.ts b/knip.config.ts
index 78162ec09..f9179f2d4 100644
--- a/knip.config.ts
+++ b/knip.config.ts
@@ -123,7 +123,9 @@ export default {
'packages/server': {
entry: ['src/**/*.test.ts', 'src/parse-worker.ts'],
project: 'src/**',
- ignoreDependencies: ['@types/shell-quote'],
+ ignoreDependencies: [
+ '@types/shell-quote',
+ ],
},
'packages/cli': {
entry: ['src/**/*.test.ts', 'scripts/*.ts', 'tests/**/*.ts', 'src/parse-worker.ts'],
diff --git a/packages/app/src/components/ConnectingBanner.tsx b/packages/app/src/components/ConnectingBanner.tsx
index a91d03e51..4248b5391 100644
--- a/packages/app/src/components/ConnectingBanner.tsx
+++ b/packages/app/src/components/ConnectingBanner.tsx
@@ -198,6 +198,10 @@ export function ConnectingBanner() {
{restarting ? <Trans>Restarting</Trans> : <Trans>Restart server</Trans>}
</button>
) : null}
+ {/* Deliberate exception to the hidden-game gate: waking the mascot
+ elsewhere costs a rage-click streak, but this banner only appears
+ while the user is stuck waiting on the server, which is the wait
+ the game was built for. One click here is the point. */}
{openBlobRunner ? (
<button
type="button"
diff --git a/packages/app/src/components/HelpPopover.dom.test.tsx b/packages/app/src/components/HelpPopover.dom.test.tsx
index 8b578d30a..e87088ff3 100644
--- a/packages/app/src/components/HelpPopover.dom.test.tsx
+++ b/packages/app/src/components/HelpPopover.dom.test.tsx
@@ -107,10 +107,12 @@ describe('HelpPopover runtime behavior', () => {
const nav = screen.getByRole('navigation', { name: 'Community' });
const links = within(nav).getAllByRole('link');
+ // GitHub leads: it is the repo the project actually lives in, and it is the
+ // row that carries the star count.
expect(links.map(linkShape)).toEqual([
{
- label: 'Discord',
- href: 'https://discord.gg/VRKk2EaGHN',
+ label: 'GitHub',
+ href: 'https://github.com/inkeep/open-knowledge',
target: '_blank',
rel: 'noopener noreferrer',
hasIcon: true,
@@ -123,8 +125,8 @@ describe('HelpPopover runtime behavior', () => {
hasIcon: true,
},
{
- label: 'GitHub',
- href: 'https://github.com/inkeep/open-knowledge',
+ label: 'Discord',
+ href: 'https://discord.gg/VRKk2EaGHN',
target: '_blank',
rel: 'noopener noreferrer',
hasIcon: true,
@@ -132,6 +134,16 @@ describe('HelpPopover runtime behavior', () => {
]);
});
+ test('does not advertise the hidden game', async () => {
+ await renderOpenHelpPopover();
+
+ // Blob Run stays an easter egg. The mascot gesture, the command palette,
+ // and the connecting banner's mascot button reach it; the Resources menu
+ // does not.
+ const nav = screen.getByRole('navigation', { name: 'Resources' });
+ expect(within(nav).queryByRole('button', { name: 'Blob Run' })).toBeNull();
+ });
+
test('shows the fetched GitHub star count on the GitHub row', async () => {
await renderOpenHelpPopover();
diff --git a/packages/app/src/components/HelpPopover.tsx b/packages/app/src/components/HelpPopover.tsx
index a3276f0ae..91d96f160 100644
--- a/packages/app/src/components/HelpPopover.tsx
+++ b/packages/app/src/components/HelpPopover.tsx
@@ -4,16 +4,7 @@ import { getGitHubStars } from '@inkeep/open-knowledge-core';
import type { MessageDescriptor } from '@lingui/core';
import { msg } from '@lingui/core/macro';
import { Trans, useLingui } from '@lingui/react/macro';
-import {
- BookOpen,
- Bug,
- CircleHelp,
- Gamepad2,
- Mail,
- Megaphone,
- MessageSquare,
- Star,
-} from 'lucide-react';
+import { BookOpen, Bug, CircleHelp, Mail, Megaphone, MessageSquare, Star } from 'lucide-react';
import type { ComponentProps, FC, ReactNode } from 'react';
import { useEffect, useState } from 'react';
import { ReportBugDialog } from '@/components/ReportBugDialog';
@@ -21,7 +12,6 @@ import { SubscribeForm } from '@/components/SubscribeForm';
import { Button } from '@/components/ui/button';
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
-import { useOpenBlobRunner } from '@/editor/DocumentContext';
import { dispatchExternalLinkClick } from '@/lib/external-link';
import { feedbackNudgeStore } from '@/lib/feedback-nudge-store';
import { DISCORD_INVITE_URL, GITHUB_REPO_URL, X_PROFILE_URL } from '@/lib/social-links';
@@ -57,9 +47,9 @@ const sections: ResourceSection[] = [
key: 'community',
heading: msg`Community`,
links: [
- { label: 'Discord', href: DISCORD_INVITE_URL, icon: DiscordIcon },
- { label: 'X (Twitter)', href: X_PROFILE_URL, icon: XTwitterIcon },
{ label: 'GitHub', href: GITHUB_REPO_URL, icon: GithubIcon },
+ { label: 'X (Twitter)', href: X_PROFILE_URL, icon: XTwitterIcon },
+ { label: 'Discord', href: DISCORD_INVITE_URL, icon: DiscordIcon },
],
},
];
@@ -142,7 +132,6 @@ export const HelpPopover: FC = () => {
const [subscribeOpen, setSubscribeOpen] = useState(false);
const [reportBugOpen, setReportBugOpen] = useState(false);
const [feedbackOpen, setFeedbackOpen] = useState(false);
- const openBlobRunner = useOpenBlobRunner();
const [starCount, setStarCount] = useState<number | null>(null);
// The Report-a-bug flow (bundle create + upload) lives entirely behind the
@@ -237,17 +226,6 @@ export const HelpPopover: FC = () => {
>
<Trans>Send feedback</Trans>
</ActionRow>
- {openBlobRunner ? (
- <ActionRow
- icon={Gamepad2}
- onSelect={() => {
- setPopoverOpen(false);
- openBlobRunner();
- }}
- >
- <Trans>Blob Run</Trans>
- </ActionRow>
- ) : null}
</>
)}
</ul>
diff --git a/packages/app/src/components/OkBlob.rage.dom.test.tsx b/packages/app/src/components/OkBlob.rage.dom.test.tsx
index aea02c5d5..9676053f0 100644
--- a/packages/app/src/components/OkBlob.rage.dom.test.tsx
+++ b/packages/app/src/components/OkBlob.rage.dom.test.tsx
@@ -1,7 +1,7 @@
import { cleanup, fireEvent, render } from '@testing-library/react';
import { afterEach, describe, expect, test, vi } from 'vitest';
import { OkBlob } from './OkBlob';
-import { RAGE_WINDOW_MS } from './ok-blob-logic';
+import { IDLE_RESET_MS, RAGE_WINDOW_MS } from './ok-blob-logic';
/**
* `onRage` is the hook the empty-state blob hangs the game on. It has to fire
@@ -30,6 +30,130 @@ describe('OkBlob onRage', () => {
expect(onRage).toHaveBeenCalledTimes(1);
});
+ test('keeps counting rage clicks while the burst plays', () => {
+ // The reveal gate upstream counts these, so a click that lands during the
+ // firework has to register — otherwise the climb stalls at the moment the
+ // user is clicking hardest.
+ const onRage = vi.fn();
+ const { container } = render(<OkBlob onRage={onRage} trackMouse={false} />);
+ const svg = blob(container);
+
+ for (let i = 0; i < 3; i++) fireEvent.click(svg);
+ expect(onRage).toHaveBeenCalledTimes(1);
+
+ fireEvent.click(svg);
+ fireEvent.click(svg);
+ expect(onRage).toHaveBeenCalledTimes(3);
+ });
+
+ test('a click during a burst does not restart the burst', () => {
+ const { container } = render(<OkBlob trackMouse={false} />);
+ const svg = blob(container);
+
+ for (let i = 0; i < 3; i++) fireEvent.click(svg);
+ const burst = container.querySelector('[data-slot="ok-blob-burst"]');
+ expect(burst).toBeTruthy();
+
+ fireEvent.click(svg);
+ // Same node kept across the click, so the CSS animation runs to completion
+ // instead of snapping back to frame zero on every press.
+ expect(container.querySelector('[data-slot="ok-blob-burst"]')).toBe(burst);
+ });
+
+ test('a click past the burst lifetime earns a fresh burst', () => {
+ // Sustained rage must not mean "one firework, then nothing": the burst is
+ // spent after IDLE_RESET_MS, and a user still clicking has earned another.
+ const now = vi.spyOn(performance, 'now');
+ const { container } = render(<OkBlob trackMouse={false} />);
+ const svg = blob(container);
+
+ // Non-zero base: `lastClickTimeRef` uses 0 as its no-previous-click
+ // sentinel, so a clock starting at 0 reads every gap as infinite and the
+ // level never climbs.
+ const T0 = 1_000;
+ now.mockReturnValue(T0);
+ fireEvent.click(svg);
+ now.mockReturnValue(T0 + 100);
+ fireEvent.click(svg);
+ now.mockReturnValue(T0 + 200);
+ fireEvent.click(svg);
+ const first = container.querySelector('[data-slot="ok-blob-burst"]');
+ expect(first).toBeTruthy();
+
+ // Still in the air — left alone.
+ now.mockReturnValue(T0 + 400);
+ fireEvent.click(svg);
+ expect(container.querySelector('[data-slot="ok-blob-burst"]')).toBe(first);
+
+ // Keep clicking inside the rage window so the level never drops, until the
+ // clock is past the burst's life. Spacing matters: a single jump to the far
+ // side of IDLE_RESET_MS would exceed RAGE_WINDOW_MS, reset the level to 1
+ // and clear the particles, so the burst would vanish rather than be
+ // replaced and this would pass without exercising re-detonation at all.
+ const burstStartedAt = T0 + 200;
+ for (let t = T0 + 900; t < burstStartedAt + IDLE_RESET_MS; t += 500) {
+ now.mockReturnValue(t);
+ fireEvent.click(svg);
+ expect(container.querySelector('[data-slot="ok-blob-burst"]')).toBe(first);
+ }
+
+ // Past the burst's life, still holding rage: the sustained clicker the old
+ // rule left with a dead mascot now gets a fresh burst.
+ now.mockReturnValue(burstStartedAt + IDLE_RESET_MS + 1);
+ fireEvent.click(svg);
+ const second = container.querySelector('[data-slot="ok-blob-burst"]');
+ expect(second).toBeTruthy();
+ expect(second).not.toBe(first);
+ now.mockRestore();
+ });
+
+ test('a celebration landing on a live streak keeps its burst', () => {
+ // The celebrate effect re-stamps the burst clock. That only decides
+ // anything in one window: rage is being held, the click-driven burst is
+ // about to age out, and the celebration renews it — so the next click
+ // treats the celebration as in-flight instead of detonating over it.
+ // The effect does not touch `lastClickTimeRef`, so the click cadence has
+ // to carry the level on its own.
+ const now = vi.spyOn(performance, 'now');
+ const T0 = 1_000;
+ const { container, rerender } = render(<OkBlob celebrateSignal={0} trackMouse={false} />);
+ const svg = blob(container);
+
+ now.mockReturnValue(T0);
+ fireEvent.click(svg);
+ now.mockReturnValue(T0 + 100);
+ fireEvent.click(svg);
+ now.mockReturnValue(T0 + 200);
+ fireEvent.click(svg); // rage: burst stamped at T0 + 200
+ const clickBurst = container.querySelector('[data-slot="ok-blob-burst"]');
+ expect(clickBurst).toBeTruthy();
+
+ // Hold rage until that first burst is nearly spent, without regenerating it.
+ let t = T0 + 700;
+ for (; t < T0 + 200 + IDLE_RESET_MS; t += 500) {
+ now.mockReturnValue(t);
+ fireEvent.click(svg);
+ }
+ const lastClickAt = t - 500;
+
+ // Celebration renews the clock just before the click-driven burst expires.
+ const celebratedAt = lastClickAt + 50;
+ now.mockReturnValue(celebratedAt);
+ rerender(<OkBlob celebrateSignal={1} trackMouse={false} />);
+ const celebration = container.querySelector('[data-slot="ok-blob-burst"]');
+ expect(celebration).toBeTruthy();
+ expect(celebration).not.toBe(clickBurst);
+
+ // Still inside the rage window, so the level holds at 3 and the stamp is
+ // what decides. Measured against the original stamp this click is past
+ // IDLE_RESET_MS, so without the celebration's re-stamp it detonates anew.
+ now.mockReturnValue(lastClickAt + 500);
+ expect(lastClickAt + 500 - (T0 + 200)).toBeGreaterThan(IDLE_RESET_MS);
+ fireEvent.click(svg);
+ expect(container.querySelector('[data-slot="ok-blob-burst"]')).toBe(celebration);
+ now.mockRestore();
+ });
+
test('slow clicks never reach rage', () => {
const onRage = vi.fn();
const now = vi.spyOn(performance, 'now');
diff --git a/packages/app/src/components/OkBlob.tsx b/packages/app/src/components/OkBlob.tsx
index 99d00952b..59a46b99a 100644
--- a/packages/app/src/components/OkBlob.tsx
+++ b/packages/app/src/components/OkBlob.tsx
@@ -33,7 +33,9 @@ interface OkBlobProps {
celebrateSignal?: number;
/**
* Fired when the USER rage-clicks (three rapid clicks inside the rage
- * window). Deliberately not fired by `celebrateSignal`, which is programmatic
+ * window), then again on every rapid click that holds the rage — the reveal
+ * gate upstream counts those to decide when it has been earned.
+ * Deliberately not fired by `celebrateSignal`, which is programmatic
* and would otherwise let a seed celebration trigger a user gesture.
*/
onRage?: () => void;
@@ -141,7 +143,13 @@ export function OkBlob({
const eyeOffsetRef = useRef({ x: 0, y: 0 });
const [clickLevel, setClickLevel] = useState<ClickLevel>(0);
const [clickSeq, setClickSeq] = useState(0);
+ // Separate from `clickSeq` because the two keys mean different things: the
+ // body replays its bounce on every click, while the firework must survive
+ // the clicks that land while it is still in flight.
+ const [burstSeq, setBurstSeq] = useState(0);
const [particles, setParticles] = useState<FireworkParticle[]>([]);
+ /** When the burst on screen started, so a click can tell in-flight from spent. */
+ const burstStartedAtRef = useRef(0);
const lastClickTimeRef = useRef<number>(0);
const decayTimerRef = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);
const isSleeping = variant === 'sleeping';
@@ -158,10 +166,25 @@ export function OkBlob({
lastClickTimeRef.current === 0 ? Number.POSITIVE_INFINITY : now - lastClickTimeRef.current;
lastClickTimeRef.current = now;
const level = nextClickLevel(clickLevel, dt);
+ // A click that lands while the burst is still in the air leaves it alone.
+ // Re-detonating on every click restarted it from zero, so a fast clicker
+ // only ever saw its first few frames — the reward for clicking was erased
+ // by clicking. The click still bounces the body and still counts toward the
+ // reveal. Once the burst has run out, sustained rage earns a fresh one
+ // rather than nothing: `IDLE_RESET_MS` is the tested-outlasts-the-particles
+ // bound, so a click past it has watched the whole thing.
+ const burstInFlight = clickLevel === 3 && now - burstStartedAtRef.current < IDLE_RESET_MS;
+ const sustainingRage = level === 3 && burstInFlight;
if (level === 3) onRage?.();
setClickLevel(level);
setClickSeq((prev) => prev + 1);
- setParticles(generateFireworkParticles(level));
+ if (!sustainingRage) {
+ setParticles(generateFireworkParticles(level));
+ if (level === 3) {
+ burstStartedAtRef.current = now;
+ setBurstSeq((prev) => prev + 1);
+ }
+ }
clearTimeout(decayTimerRef.current);
decayTimerRef.current = setTimeout(() => {
setClickLevel(0);
@@ -179,6 +202,15 @@ export function OkBlob({
setClickLevel(3);
setClickSeq((prev) => prev + 1);
setParticles(generateFireworkParticles(3));
+ // Stamped like a click-driven burst, so a RAGE-level click during a
+ // celebration leaves it in the air. Narrow on purpose: a single tap still
+ // clears the celebration, because that click resolves to level 1, which
+ // carries no particles.
+ burstStartedAtRef.current =
+ typeof performance !== 'undefined' && typeof performance.now === 'function'
+ ? performance.now()
+ : Date.now();
+ setBurstSeq((prev) => prev + 1);
clearTimeout(decayTimerRef.current);
decayTimerRef.current = setTimeout(() => {
setClickLevel(0);
@@ -421,7 +453,7 @@ export function OkBlob({
{/* Firework burst — rage-click (level 3) only. Particles live outside
the bounce group so they fly free of the body squish. */}
{particles.length > 0 && (
- <g key={`firework-${clickSeq}`}>
+ <g key={`firework-${burstSeq}`} data-slot="ok-blob-burst">
{particles.map((p) => (
<circle
key={p.id}
diff --git a/packages/app/src/components/OkBlobRunner.dom.test.tsx b/packages/app/src/components/OkBlobRunner.dom.test.tsx
index 726d347f6..baa7768f7 100644
--- a/packages/app/src/components/OkBlobRunner.dom.test.tsx
+++ b/packages/app/src/components/OkBlobRunner.dom.test.tsx
@@ -1,5 +1,6 @@
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';
import { afterEach, describe, expect, test, vi } from 'vitest';
+import { expectVisualClassTokens } from '@/test-utils/visual-contract';
// Stand in for the real mascot so the assertions read the props the runner
// drives (size + variant) rather than the SVG internals.
@@ -25,6 +26,16 @@ function track() {
return node;
}
+/**
+ * The hint line's text, flattened. Key names render inside `<kbd>` caps, so the
+ * copy spans several nodes and a whole-string text matcher would never hit.
+ */
+function hint() {
+ const node = document.querySelector('[data-slot="ok-blob-runner-hint"]');
+ if (!node) throw new Error('hint not rendered');
+ return node.textContent?.replace(/\s+/g, ' ').trim();
+}
+
/** Press in the upper (jump) band vs. the lower (duck) band. */
const JUMP_BAND_Y = 10;
const DUCK_BAND_Y = 90;
@@ -33,6 +44,10 @@ describe('OkBlobRunner', () => {
afterEach(() => {
cleanup();
vi.restoreAllMocks();
+ // jsdom shares localStorage across tests in a file, and the runner reads the
+ // stored best at mount. Cleared here rather than at the end of the test that
+ // sets it, so a mid-test failure cannot leak a best into the next mount.
+ localStorage.removeItem('ok-blob-runner-best');
});
test('starts asleep, exactly as the static mascot it replaces', async () => {
@@ -40,7 +55,7 @@ describe('OkBlobRunner', () => {
render(<OkBlobRunner />);
expect(screen.getByTestId('ok-blob-probe').dataset.variant).toBe('sleeping');
- expect(screen.getByText('Press space or tap the blob to start')).toBeTruthy();
+ expect(hint()).toBe('Press Space or tap the blob to start');
});
test('the play area is decorative and hidden from assistive tech', async () => {
@@ -57,7 +72,7 @@ describe('OkBlobRunner', () => {
fireEvent.pointerDown(track(), { clientY: JUMP_BAND_Y });
expect(screen.getByTestId('ok-blob-probe').dataset.variant).toBe('default');
- expect(screen.getByText('Space to jump · down arrow to duck')).toBeTruthy();
+ expect(hint()).toBe('Space to jump · ↓ to duck');
});
test('a low-band press ducks the blob, and releasing stands it back up', async () => {
@@ -84,7 +99,7 @@ describe('OkBlobRunner', () => {
fireEvent.pointerUp(track());
await waitFor(() => expect(scaleY()).toBeGreaterThan(0.75));
- expect(screen.getByText('Space to jump · down arrow to duck')).toBeTruthy();
+ expect(hint()).toBe('Space to jump · ↓ to duck');
});
test('autoStart begins a run without any input', async () => {
@@ -92,10 +107,7 @@ describe('OkBlobRunner', () => {
render(<OkBlobRunner autoStart />);
// The reveal paths mount with autoStart; nothing else starts the run.
- await waitFor(() =>
- expect(screen.getByText('Space to jump · down arrow to duck')).toBeTruthy(),
- );
- expect(screen.queryByText('Press space or tap the blob to start')).toBeNull();
+ await waitFor(() => expect(hint()).toBe('Space to jump · ↓ to duck'));
});
test('a press in the lower band ducks, and releasing stands the blob back up', async () => {
@@ -119,7 +131,40 @@ describe('OkBlobRunner', () => {
fireEvent.pointerDown(track(), { clientY: DUCK_BAND_Y });
fireEvent.pointerUp(track());
// Releasing must not end the run or crash the loop.
- expect(screen.getByText('Space to jump · down arrow to duck')).toBeTruthy();
+ expect(hint()).toBe('Space to jump · ↓ to duck');
+ });
+
+ test('anchors the score to the player physically, not logically', async () => {
+ // The score belongs under the blob, and the blob is pinned to a physical
+ // offset because the track is a physical coordinate space. A logical inset
+ // (padding-inline-start, or letting the row flow) puts the score at the
+ // opposite end of the track under RTL, which is the exact placement this
+ // moved away from. jsdom does no layout, so the anchor is what gets pinned.
+ const { OkBlobRunner } = await import('./OkBlobRunner');
+ const { PLAYER_X } = await import('./ok-blob-runner-logic');
+ render(<OkBlobRunner />);
+
+ const score = document.querySelector<HTMLElement>('[data-slot="ok-blob-runner-score"]');
+ if (!score) throw new Error('score not rendered');
+ expectVisualClassTokens(score.className, ['absolute']);
+ expect(score.style.left).toBe(`${PLAYER_X}px`);
+ });
+
+ test('keeps the anchor with a stored best, which adds a second span', async () => {
+ // The anchor test above runs with no stored best, so the live score happens
+ // to be the first span. With a best on record the row grows an "HI" span
+ // ahead of it and the live digits shift right; the container is still what
+ // holds the position, so that is what stays pinned.
+ localStorage.setItem('ok-blob-runner-best', '421');
+ const { OkBlobRunner } = await import('./OkBlobRunner');
+ const { PLAYER_X } = await import('./ok-blob-runner-logic');
+ render(<OkBlobRunner />);
+
+ const score = document.querySelector<HTMLElement>('[data-slot="ok-blob-runner-score"]');
+ if (!score) throw new Error('score not rendered');
+ expect(score.querySelectorAll('span')).toHaveLength(2);
+ expect(score.textContent).toContain('0421');
+ expect(score.style.left).toBe(`${PLAYER_X}px`);
});
test('renders the full obstacle pool up front so no obstacle can go unpainted', async () => {
@@ -174,6 +219,6 @@ describe('OkBlobRunner', () => {
expect(screen.getByTestId('ok-blob-probe').dataset.variant).toBe('sleeping');
expect(document.querySelector('[data-slot="ok-blob-runner"]')).toBeNull();
- expect(screen.queryByText('Press space or tap the blob to start')).toBeNull();
+ expect(document.querySelector('[data-slot="ok-blob-runner-hint"]')).toBeNull();
});
});
diff --git a/packages/app/src/components/OkBlobRunner.tsx b/packages/app/src/components/OkBlobRunner.tsx
index 99325b455..677abe995 100644
--- a/packages/app/src/components/OkBlobRunner.tsx
+++ b/packages/app/src/components/OkBlobRunner.tsx
@@ -21,8 +21,9 @@
*/
import { Trans } from '@lingui/react/macro';
-import { useEffect, useRef, useState } from 'react';
+import { type ReactNode, useEffect, useRef, useState } from 'react';
import { OkBlob } from '@/components/OkBlob';
+import { Kbd } from '@/components/ui/kbd';
import { focusIsOnAControl, gameMayHandleKey } from '@/lib/blob-run-keyboard';
import { MASCOT_VIEW_TRANSITION_NAME } from '@/lib/view-transition';
import {
@@ -82,6 +83,15 @@ interface OkBlobRunnerProps {
autoStart?: boolean;
}
+/**
+ * Key cap sized for the hint line. The shared `Kbd` is built for menu rows and
+ * stands taller than 11px HUD text, so the trim lands here rather than on every
+ * other surface that uses it.
+ */
+function HintKey({ children }: { children: ReactNode }) {
+ return <Kbd className="h-4 min-w-4 px-1.5 align-middle text-[10px]">{children}</Kbd>;
+}
+
export function OkBlobRunner({ autoStart = false }: OkBlobRunnerProps = {}) {
const stateRef = useRef(createRunnerState());
const trackRef = useRef<HTMLDivElement>(null);
@@ -280,15 +290,6 @@ export function OkBlobRunner({ autoStart = false }: OkBlobRunnerProps = {}) {
onPointerCancel={releaseDuck}
onPointerLeave={releaseDuck}
>
- <div className="absolute top-0 end-0 flex gap-3 font-mono text-xs tabular-nums text-muted-foreground/60">
- {best > 0 ? (
- <span className={beatBest ? 'text-muted-foreground' : undefined}>
- <Trans>HI</Trans> {String(best).padStart(SCORE_DIGITS, '0')}
- </span>
- ) : null}
- <span ref={scoreRef}>{String(score).padStart(SCORE_DIGITS, '0')}</span>
- </div>
-
<div
ref={playerRef}
className="absolute bottom-0 flex origin-bottom will-change-transform"
@@ -328,17 +329,53 @@ export function OkBlobRunner({ autoStart = false }: OkBlobRunnerProps = {}) {
))}
</div>
- <p className="mt-2 text-center font-mono text-[11px] uppercase tracking-wide text-muted-foreground/60">
+ {/* Score sits under the blob rather than in a far corner. The player is
+ watching him, and mid-run nobody looks away to read the opposite end of
+ the track.
+ Anchored the same way the player is — absolute, physical `left` — rather
+ than padded into the flow. The track is a physical coordinate space (see
+ the obstacle note above), so the blob stays on the left under RTL; a
+ flow-positioned row would pack its content to the right there and put
+ the score at the opposite end from the thing it belongs to. The wrapper
+ carries the height the absolute child no longer contributes, so the hint
+ below keeps its place. */}
+ <div className="relative mt-1.5 h-5">
+ <div
+ data-slot="ok-blob-runner-score"
+ className="absolute top-0 flex gap-3 font-mono text-xs tabular-nums text-muted-foreground/60"
+ style={{ left: PLAYER_X }}
+ >
+ {best > 0 ? (
+ <span className={beatBest ? 'text-muted-foreground' : undefined}>
+ <Trans>HI</Trans> {String(best).padStart(SCORE_DIGITS, '0')}
+ </span>
+ ) : null}
+ <span ref={scoreRef}>{String(score).padStart(SCORE_DIGITS, '0')}</span>
+ </div>
+ </div>
+
+ <p
+ data-slot="ok-blob-runner-hint"
+ className="mt-2 text-center font-mono text-[11px] uppercase tracking-wide text-muted-foreground/60"
+ >
{phase === 'over' ? (
beatBest ? (
- <Trans>New best · press space to play again</Trans>
+ <Trans>
+ New best · press <HintKey>Space</HintKey> to play again
+ </Trans>
) : (
- <Trans>Game over · press space to play again</Trans>
+ <Trans>
+ Game over · press <HintKey>Space</HintKey> to play again
+ </Trans>
)
) : phase === 'running' ? (
- <Trans>Space to jump · down arrow to duck</Trans>
+ <Trans>
+ <HintKey>Space</HintKey> to jump · <HintKey>↓</HintKey> to duck
+ </Trans>
) : (
- <Trans>Press space or tap the blob to start</Trans>
+ <Trans>
+ Press <HintKey>Space</HintKey> or tap the blob to start
+ </Trans>
)}
</p>
</div>
diff --git a/packages/app/src/components/OkBlobRunnerEasterEgg.dom.test.tsx b/packages/app/src/components/OkBlobRunnerEasterEgg.dom.test.tsx
index 5985d9176..8a6c581e1 100644
--- a/packages/app/src/components/OkBlobRunnerEasterEgg.dom.test.tsx
+++ b/packages/app/src/components/OkBlobRunnerEasterEgg.dom.test.tsx
@@ -24,7 +24,9 @@ describe('OkBlobRunnerEasterEgg', () => {
expect(game()).toBeNull();
expect(screen.getByTestId('ok-blob-probe').dataset.variant).toBe('sleeping');
// An easter egg that advertises itself is just a feature in a strange place.
- expect(screen.queryByText(/press space/i)).toBeNull();
+ // Asserted on the slot, not the copy: key names render inside `<kbd>` caps,
+ // so a text matcher would find nothing whether or not the hint is there.
+ expect(document.querySelector('[data-slot="ok-blob-runner-hint"]')).toBeNull();
});
test('ArrowUp wakes it', async () => {
diff --git a/packages/app/src/components/empty-state/EmptyStateHeader.dom.test.tsx b/packages/app/src/components/empty-state/EmptyStateHeader.dom.test.tsx
index 999e89ec6..962ab12ff 100644
--- a/packages/app/src/components/empty-state/EmptyStateHeader.dom.test.tsx
+++ b/packages/app/src/components/empty-state/EmptyStateHeader.dom.test.tsx
@@ -1,13 +1,16 @@
import { cleanup, fireEvent, render, screen } from '@testing-library/react';
import { afterEach, describe, expect, test, vi } from 'vitest';
+import { RAGE_STREAK_TO_REVEAL } from '@/components/ok-blob-runner-logic';
import {
expectVisualClassTokens,
expectVisualClassTokensAbsent,
} from '@/test-utils/visual-contract';
vi.doMock('@/components/OkBlob', () => ({
- // `onRage` is exposed as a click so the reveal gate can be driven from a test;
- // the real OkBlob fires it after three rapid clicks inside its rage window.
+ // `onRage` is exposed as a click so the reveal gate can be driven from a test.
+ // The real OkBlob fires it on the third rapid click inside its rage window and
+ // again on every rapid click that holds the rage, so one click here stands for
+ // one rage click there.
OkBlob: ({
celebrateSignal,
size,
@@ -82,6 +85,26 @@ describe('EmptyStateHeader rage-streak reveal gate', () => {
return screen.getByTestId('ok-blob-probe');
}
+ /** Spacing between clicks — comfortably inside the streak window. */
+ const CLICK_GAP_MS = 500;
+
+ /**
+ * Drive `count` rage clicks in a row. Driven off the threshold rather than a
+ * literal count so retuning the gate does not silently turn these into tests
+ * of a cadence the product no longer has.
+ */
+ function rage(
+ blob: HTMLElement,
+ now: { mockReturnValue(value: number): unknown },
+ count: number,
+ startMs = 0,
+ ) {
+ for (let i = 0; i < count; i++) {
+ now.mockReturnValue(startMs + i * CLICK_GAP_MS);
+ fireEvent.click(blob);
+ }
+ }
+
test('one burst never reveals — the first sparkle is just a sparkle', async () => {
const onRageStreak = vi.fn();
const blob = await mount(onRageStreak);
@@ -89,43 +112,39 @@ describe('EmptyStateHeader rage-streak reveal gate', () => {
expect(onRageStreak).not.toHaveBeenCalled();
});
- test('a second burst inside the window reveals, exactly once', async () => {
+ test('a full streak inside the window reveals, exactly once', async () => {
const onRageStreak = vi.fn();
const now = vi.spyOn(performance, 'now');
const blob = await mount(onRageStreak);
- now.mockReturnValue(0);
- fireEvent.click(blob);
- now.mockReturnValue(1_000);
- fireEvent.click(blob);
+ rage(blob, now, RAGE_STREAK_TO_REVEAL - 1);
+ expect(onRageStreak).not.toHaveBeenCalled();
+
+ rage(blob, now, 1, (RAGE_STREAK_TO_REVEAL - 1) * CLICK_GAP_MS);
expect(onRageStreak).toHaveBeenCalledTimes(1);
});
- test('a second burst after the window restarts the streak', async () => {
+ test('a gap longer than the window restarts the streak', async () => {
const onRageStreak = vi.fn();
const now = vi.spyOn(performance, 'now');
const blob = await mount(onRageStreak);
- now.mockReturnValue(0);
- fireEvent.click(blob);
- now.mockReturnValue(60_000);
- fireEvent.click(blob);
+ rage(blob, now, RAGE_STREAK_TO_REVEAL - 1);
+ // The click that would have completed the streak lands too late to count,
+ // so it starts a new one instead of finishing the old.
+ rage(blob, now, 1, 60_000);
expect(onRageStreak).not.toHaveBeenCalled();
});
- test('the streak resets after a reveal, so a third burst does not re-fire', async () => {
+ test('the streak resets after a reveal, so a further burst does not re-fire', async () => {
const onRageStreak = vi.fn();
const now = vi.spyOn(performance, 'now');
const blob = await mount(onRageStreak);
- now.mockReturnValue(0);
- fireEvent.click(blob);
- now.mockReturnValue(500);
- fireEvent.click(blob);
+ rage(blob, now, RAGE_STREAK_TO_REVEAL);
expect(onRageStreak).toHaveBeenCalledTimes(1);
- now.mockReturnValue(900);
- fireEvent.click(blob);
+ rage(blob, now, 1, RAGE_STREAK_TO_REVEAL * CLICK_GAP_MS);
expect(onRageStreak).toHaveBeenCalledTimes(1);
});
diff --git a/packages/app/src/components/empty-state/EmptyStateHeader.tsx b/packages/app/src/components/empty-state/EmptyStateHeader.tsx
index 20093917d..60f8c959c 100644
--- a/packages/app/src/components/empty-state/EmptyStateHeader.tsx
+++ b/packages/app/src/components/empty-state/EmptyStateHeader.tsx
@@ -15,9 +15,10 @@ interface EmptyStateHeaderProps {
* seed (or any other parent-triggered moment). Increment to fire. */
readonly celebrateSignal: number;
/**
- * Fired when the user rage-clicks the mascot twice in a row. One burst is
- * just the firework; the second is the gesture. Optional, so surfaces that
- * do not host the easter egg simply omit it.
+ * Fired once the user has held a rage-click streak long enough to count as a
+ * deliberate gesture rather than a stumble. Reaching rage is just the
+ * firework. Optional, so surfaces that do not host the easter egg simply
+ * omit it.
*/
readonly onRageStreak?: () => void;
}
@@ -42,8 +43,8 @@ export function EmptyStateHeader({
const lastRageAtRef = useRef<number | null>(null);
function handleRage() {
- // The firework already fired inside OkBlob; this only decides whether the
- // burst was the SECOND in a row.
+ // The firework already fired inside OkBlob; this only counts how many rage
+ // clicks have landed in a row and decides when that clears the gate.
const now =
typeof performance !== 'undefined' && typeof performance.now === 'function'
? performance.now()
diff --git a/packages/app/src/components/ok-blob-runner-logic.test.ts b/packages/app/src/components/ok-blob-runner-logic.test.ts
index 9293aa1f7..8a0da054f 100644
--- a/packages/app/src/components/ok-blob-runner-logic.test.ts
+++ b/packages/app/src/components/ok-blob-runner-logic.test.ts
@@ -617,20 +617,41 @@ describe('persisted high score', () => {
});
describe('rage streak (reveal gate)', () => {
- // One rage burst is the firework and nothing else. The reveal is gated on
- // doing it twice, so someone who stumbles into the sparkle keeps the sparkle
+ // Reaching rage is the firework and nothing else. The reveal is gated on
+ // staying on it, so someone who stumbles into the sparkle keeps the sparkle
// and nothing surprising happens to their tab.
+ test('the reveal threshold is the value the product ships', () => {
+ // The cadence tests below drive off the constant, which is what keeps them
+ // honest through a retune — but it also means they would all still pass if
+ // the constant silently went back to 2 and the reveal became a four-click
+ // gesture again. This literal is the guard against that. Retuning is fine;
+ // edit it deliberately, not to make a red suite green.
+ expect(RAGE_STREAK_TO_REVEAL).toBe(6);
+ });
+
test('a first burst never reaches the reveal threshold', () => {
expect(nextRageStreak(0, Number.POSITIVE_INFINITY)).toBe(1);
expect(nextRageStreak(0, 0)).toBe(1);
expect(nextRageStreak(0, 10)).toBeLessThan(RAGE_STREAK_TO_REVEAL);
});
- test('a second burst inside the window reaches it', () => {
- expect(nextRageStreak(1, RAGE_STREAK_WINDOW_MS - 1)).toBe(RAGE_STREAK_TO_REVEAL);
+ test('rage clicks inside the window accumulate to the threshold', () => {
+ let streak = 0;
+ for (let i = 0; i < RAGE_STREAK_TO_REVEAL; i++) {
+ streak = nextRageStreak(streak, RAGE_STREAK_WINDOW_MS - 1);
+ }
+ expect(streak).toBe(RAGE_STREAK_TO_REVEAL);
+ });
+
+ test('one click short of the threshold still hides the game', () => {
+ // The gate is the last click, not an early one — the burst has to be
+ // sustained the whole way or the mascot keeps its secret.
+ expect(nextRageStreak(RAGE_STREAK_TO_REVEAL - 2, RAGE_STREAK_WINDOW_MS - 1)).toBe(
+ RAGE_STREAK_TO_REVEAL - 1,
+ );
});
- test('a second burst after the window restarts the streak', () => {
+ test('a later burst after the window restarts the streak', () => {
expect(nextRageStreak(1, RAGE_STREAK_WINDOW_MS)).toBe(1);
expect(nextRageStreak(1, RAGE_STREAK_WINDOW_MS + 5_000)).toBe(1);
expect(nextRageStreak(3, 60_000)).toBe(1);
diff --git a/packages/app/src/components/ok-blob-runner-logic.ts b/packages/app/src/components/ok-blob-runner-logic.ts
index 17aff51c3..2c6a29412 100644
--- a/packages/app/src/components/ok-blob-runner-logic.ts
+++ b/packages/app/src/components/ok-blob-runner-logic.ts
@@ -505,19 +505,30 @@ export function writeBestScore(score: number, storage = defaultBestScoreStorage(
}
/**
- * How long a second rage-click burst still counts as "in a row". Generous
- * enough that a deliberate second go registers, short enough that two
- * unrelated bursts minutes apart do not.
+ * How long the next rage click still counts as "in a row". Generous enough
+ * that a deliberate second go registers, short enough that two unrelated
+ * bursts minutes apart do not.
*/
export const RAGE_STREAK_WINDOW_MS = 4000;
-/** Consecutive rage bursts required to reveal the game. */
-export const RAGE_STREAK_TO_REVEAL = 2;
+/**
+ * Rage clicks required to reveal the game. The first one is the third rapid
+ * click — the one that detonates the firework — so the reveal costs eight
+ * rapid clicks in total.
+ *
+ * Sized against the burst rather than picked round: the firework runs for
+ * close to three seconds, and a reveal that lands in its first instants
+ * replaces the reward with the thing it was rewarding. Six keeps the gesture
+ * deliberate and leaves the burst visibly running when the game takes over.
+ * Every click along the way bounces the mascot, so the climb reads as
+ * progress rather than as nothing happening.
+ */
+export const RAGE_STREAK_TO_REVEAL = 6;
/**
- * Consecutive-rage counter. One burst is the firework and nothing else; the
- * reveal is deliberately gated behind doing it twice, so a user who stumbles
- * into the sparkle once keeps the sparkle and nothing surprising happens.
+ * Consecutive-rage counter. Rage alone is the firework and nothing else; the
+ * reveal is gated behind staying on it, so a user who stumbles into the
+ * sparkle keeps the sparkle and nothing surprising happens.
*
* Pure so the cadence can be asserted without a clock. Mirrors
* `nextClickLevel`, which does the same job one level down.
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index 1f0f97715..de35c362a 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -397,7 +397,6 @@
"4mp6Tv": ["عرض OpenKnowledge المهارات المثبّتة"],
"4niEzY": ["تضمين HTML معزول — اكتب HTML وشاهد المعاينة المعروضة مباشرةً."],
"4nj6n8": ["أعاد /api/config الرمز ", ["code"]],
- "4o57um": ["انتهت اللعبة · اضغط مسافة للعب مرة أخرى"],
"4pDZ2N": ["أُزيلت «", ["0"], "» من كل موقع آخر — ولا يزال مجلدها المصدر يُحمَّل"],
"4sKwf6": ["الملف موجود بالفعل"],
"4sUdTJ": ["معاينة بالسمة"],
@@ -657,6 +656,7 @@
],
"7ZkJdV": ["لم يُحدَّد أي وكيل — المهارات محفوظة لكنها غير مثبتة في أي مكان."],
"7_bFEL": ["اسحب ", ["patternText"], " لإعادة الترتيب"],
+ "7a0YcF": ["اضغط <0>مسافة</0> أو انقر على الـ blob للبدء"],
"7aNk5D": ["عدّل OpenKnowledge ", ["subject"]],
"7apDiJ": ["يوجد بالفعل مجلد باسم <0>", ["sanitized"], "</0> فيه ملفات هنا. اختر اسمًا مختلفًا."],
"7b3zu8": ["موضع تركيز الغلاف"],
@@ -735,7 +735,6 @@
"8PifYj": ["مخطط Mermaid"],
"8PmoQF": ["افتح قائمة الإدراج في موضع نصي فارغ أو نشط."],
"8RtNI0": ["فشل تحميل المستندات"],
- "8SrrDi": ["رقم قياسي جديد · اضغط مسافة للعب مرة أخرى"],
"8TvlHF": ["تفريغ الأعطال"],
"8UmUyc": [
"عنوان URL العام الذي يخدمه النفق الخاص بك. يقبل الخادم الطلبات الموجّهة إلى هذا المضيف ويعلن عنه في عناوين URL التي يُصدرها."
@@ -2189,7 +2188,6 @@
"QQbwzK": ["لا يوجد وكلاء متاحون."],
"QQghPu": ["التثبيت في Claude Desktop"],
"QR5SP1": ["أنشأ قالبًا"],
- "QUhYEG": ["مسافة للقفز · سهم لأسفل للانحناء"],
"QWdKwH": ["نقل"],
"QYTOaN": ["يمكنك تغيير هذا لاحقًا من <0>الإعدادات ← المزامنة</0>."],
"QYfQdv": ["واجهة ", ["displayName"], " السطرية"],
@@ -3129,6 +3127,7 @@
"ac8G0O": ["عند التفعيل"],
"adsMWO": ["يجري حل الفروق"],
"ah_ekO": ["«", ["name"], "» محدَّث بالفعل"],
+ "ai40UJ": ["رقم قياسي جديد · اضغط <0>مسافة</0> للعب مرة أخرى"],
"aiArms": ["تعذّر علينا استنساخ هذا المستودع."],
"aiOceC": ["تمكين الفهارس"],
"ajHi4O": [
@@ -4351,6 +4350,7 @@
"pFRz_E": ["استبعد هذه التعليقات من هذه الرسالة"],
"pFagOn": ["تحرير المصدر"],
"pHYP6v": ["افتح <0>تخصيص</0> في الشريط الجانبي <1/> <2>المهارات</2>."],
+ "pI_bKs": ["<0>مسافة</0> للقفز · <1>↓</1> للانحناء"],
"pJ7XCo": ["لا تشير هذه الصفحة إلى أي ملفات أو صور محلية."],
"pOo4Aa": ["نص عادي"],
"pSimwP": ["اسم جديد لنسخة ", ["editor"]],
@@ -4801,6 +4801,7 @@
"ليس لديك إذن بالدفع إلى هذا المستودع. لا تزال «المتابعة» قادرة على إبقاء نسختك محدَّثة."
],
"uVbUP8": ["الإعدادات…"],
+ "uY5Z7P": ["انتهت اللعبة · اضغط <0>مسافة</0> للعب مرة أخرى"],
"u_lS4C": ["اكتمل الاستنساخ — يجري فتح المشروع"],
"uaUc6t": ["إعادة تشغيل الخادم"],
"ubMwcO": ["انتهت جلسة الطرفية (الإشارة ", ["0"], ")."],
@@ -4977,7 +4978,6 @@
"wFyXOW": ["تغيّرت الخصائص، لكن تعذّرت المقارنة — لم يُحلَّل YAML. تُعرض النسختان كما كُتبتا."],
"wGSHzy": ["تنشيط أحد أول ثمانية تبويبات في المحرر."],
"wHZ58m": ["الفتح بالذكاء الاصطناعي ", ["displayName"], " Desktop"],
- "wIM7ul": ["اضغط مسافة أو انقر على الـ blob للبدء"],
"wJijgU": ["الموقع"],
"wJo9oS": ["إغلاق البحث"],
"wQp1V3": ["مرآة لـ <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 7a5c1257c..355986acd 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>تمت إزالة مصدر المرآة.</0> لم يعد المستن
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "لن يعمل <0>ok</0> في الطرفيات الخارجية حتى تضيفه لاحقًا من قائمة «ملف». تظل طرفية OpenKnowledge المدمجة وأدوات الذكاء الاصطناعي تعمل."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>مسافة</0> للقفز · <1>↓</1> للانحناء"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "ملاحظة فارغة"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "مزامنة كاملة — تُودَع تعديلاتك وتُدفع إلى مستودعك البعيد تلقائيًا."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "انتهت اللعبة · اضغط مسافة للعب مرة أخرى"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "انتهت اللعبة · اضغط <0>مسافة</0> للعب مرة أخرى"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "محادثة {0} جديدة"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "رقم قياسي جديد · اضغط مسافة للعب مرة أخرى"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "رقم قياسي جديد · اضغط <0>مسافة</0> للعب مرة أخرى"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "اعرض مستندًا كشرائح تقديمية في نافذة خاصة به. يعمل في تطبيق OpenKnowledge لسطح المكتب فقط، ويتطلّب واجهة Slidev لسطر الأوامر التي تُثبَّت بشكل منفصل. عند التمكين يظهر ضمن Plugins في الشريط الجانبي."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "اضغط مسافة أو انقر على الـ blob للبدء"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "اضغط <0>مسافة</0> أو انقر على الـ blob للبدء"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "بحث المصدر"
msgid "Source undo or redo"
msgstr "تراجع أو إعادة في المصدر"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "مسافة للقفز · سهم لأسفل للانحناء"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "مسافة للقفز، سهم لأسفل للانحناء. هذه هي اللعبة كلها."
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index 8d43afd3c..0093421d5 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -345,7 +345,6 @@
"4mp6Tv": ["OpenKnowledge ইনস্টল করা স্কিলগুলির তালিকা দেখিয়েছে"],
"4niEzY": ["স্যান্ডবক্স করা HTML এমবেড — HTML লিখুন, রেন্ডার করা প্রাকদর্শন সঙ্গে সঙ্গে দেখুন।"],
"4nj6n8": ["/api/config HTTP ", ["code"], " ফিরিয়েছে"],
- "4o57um": ["খেলা শেষ · আবার খেলতে স্পেস চাপুন"],
"4pDZ2N": ["\"", ["0"], "\"-কে অন্য প্রতিটি জায়গা থেকে সরানো হয়েছে — এর উৎস ফোল্ডার এখনও লোড হয়"],
"4sKwf6": ["ফাইলটি আগে থেকেই আছে"],
"4sUdTJ": ["থিমযুক্ত প্রাকদর্শন"],
@@ -553,6 +552,7 @@
],
"7ZkJdV": ["কোনো এজেন্ট নির্বাচিত হয়নি — স্কিলগুলো সংরক্ষিত হয়েছে কিন্তু কোথাও ইনস্টল হয়নি।"],
"7_bFEL": ["ক্রম বদলাতে ", ["patternText"], " টেনে আনুন"],
+ "7a0YcF": ["শুরু করতে <0>স্পেস</0> চাপুন বা blob-এ ট্যাপ করুন"],
"7aNk5D": ["OpenKnowledge ", ["subject"], " সম্পাদনা করেছে"],
"7apDiJ": ["<0>", ["sanitized"], "</0> নামের একটি ফোল্ডারে এখানে আগে থেকেই ফাইল আছে। অন্য নাম বাছুন।"],
"7b3zu8": ["কভারের ফোকাল অবস্থান"],
@@ -611,7 +611,6 @@
"8PifYj": ["Mermaid চিত্র"],
"8PmoQF": ["কোনো খালি বা সক্রিয় লেখার অবস্থানে সন্নিবেশ মেনু খুলুন।"],
"8RtNI0": ["নথি লোড করতে ব্যর্থ"],
- "8SrrDi": ["নতুন রেকর্ড · আবার খেলতে স্পেস চাপুন"],
"8TvlHF": ["ক্র্যাশ ডাম্প"],
"8UmUyc": [
"আপনার টানেল যে পাবলিক URL পরিবেশন করে। সার্ভার এই হোস্টের জন্য অনুরোধ গ্রহণ করে এবং এটি যে URL জারি করে তাতে সেটি প্রচার করে।"
@@ -1883,7 +1882,6 @@
"QQbwzK": ["কোনো এজেন্ট নেই।"],
"QQghPu": ["Claude Desktop-এ ইনস্টল করুন"],
"QR5SP1": ["টেমপ্লেট তৈরি হয়েছে"],
- "QUhYEG": ["লাফাতে স্পেস · নিচু হতে নিচের তির"],
"QWdKwH": ["সরান"],
"QYTOaN": ["আপনি এটি পরে <0>Settings → Sync</0>-এ বদলাতে পারেন।"],
"QYfQdv": [["displayName"], " CLI"],
@@ -2682,6 +2680,7 @@
"ac8G0O": ["ট্রিগার হলে"],
"adsMWO": ["ডেল্টা মীমাংসা করা হচ্ছে"],
"ah_ekO": ["\"", ["name"], "\" ইতিমধ্যেই হালনাগাদ"],
+ "ai40UJ": ["নতুন রেকর্ড · আবার খেলতে <0>স্পেস</0> চাপুন"],
"aiArms": ["আমরা এই রিপোজিটরিটি ক্লোন করতে পারিনি।"],
"aiOceC": ["সূচী সক্রিয় করুন"],
"ajHi4O": [
@@ -3729,6 +3728,7 @@
"pFRz_E": ["এই মন্তব্যগুলো এই বার্তার বাইরে রাখুন"],
"pFagOn": ["সোর্স সম্পাদনা"],
"pHYP6v": ["সাইডবারে <0>Customize</0> <1/> <2>Skills</2> খুলুন।"],
+ "pI_bKs": ["লাফাতে <0>স্পেস</0> · নিচু হতে <1>↓</1>"],
"pJ7XCo": ["এই পাতাটি কোনো স্থানীয় ফাইল বা ছবি উল্লেখ করে না।"],
"pOo4Aa": ["সাধারণ টেক্সট"],
"pSimwP": [["editor"], " সংস্করণের জন্য নতুন নাম"],
@@ -4089,6 +4089,7 @@
"uUCrBv": ["সিমলিংক"],
"uUiiyC": ["এই রিপোজিটরিতে পুশ করার অনুমতি আপনার নেই। Follow তবুও আপনার অনুলিপি হালনাগাদ রাখতে পারে।"],
"uVbUP8": ["সেটিং…"],
+ "uY5Z7P": ["খেলা শেষ · আবার খেলতে <0>স্পেস</0> চাপুন"],
"u_lS4C": ["ক্লোন সম্পূর্ণ — প্রকল্প খোলা হচ্ছে"],
"uaUc6t": ["সার্ভার পুনরায় চালু করুন"],
"ubMwcO": ["টার্মিনাল সেশন শেষ হয়েছে (সংকেত ", ["0"], ")।"],
@@ -4228,7 +4229,6 @@
],
"wGSHzy": ["প্রথম আটটি সম্পাদক ট্যাবের যেকোনো একটি সক্রিয় করুন।"],
"wHZ58m": ["AI ", ["displayName"], " Desktop দিয়ে খুলুন"],
- "wIM7ul": ["শুরু করতে স্পেস চাপুন বা blob-এ ট্যাপ করুন"],
"wJijgU": ["জায়গা"],
"wJo9oS": ["খোঁজা বন্ধ করুন"],
"wQp1V3": ["<0>", ["src"], "</0>-এর মিরর"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index bc347a060..085690b60 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -993,6 +993,10 @@ msgstr "<0>মিরর উৎস সরানো হয়েছে।</0> <1>{
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> বাইরের টার্মিনালে চলবে না যতক্ষণ না আপনি পরে File মেনু থেকে সেটি যোগ করেন। OpenKnowledge-এর নিজস্ব টার্মিনাল ও AI টুল কাজ করতে থাকে।"
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "লাফাতে <0>স্পেস</0> · নিচু হতে <1>↓</1>"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2019,7 +2023,6 @@ msgstr "খালি নোট"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5916,8 +5919,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "পূর্ণ সিঙ্ক — আপনার সম্পাদনা নিজে থেকেই কমিট হয়ে আপনার রিমোটে পাঠানো হয়।"
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "খেলা শেষ · আবার খেলতে স্পেস চাপুন"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "খেলা শেষ · আবার খেলতে <0>স্পেস</0> চাপুন"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7874,8 +7877,8 @@ msgid "New {0} chat"
msgstr "নতুন {0} আলাপ"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "নতুন রেকর্ড · আবার খেলতে স্পেস চাপুন"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "নতুন রেকর্ড · আবার খেলতে <0>স্পেস</0> চাপুন"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9626,8 +9629,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "একটি নথিকে আলাদা উইন্ডোতে স্লাইড ডেক হিসেবে উপস্থাপন করুন। শুধু OpenKnowledge ডেস্কটপ অ্যাপে কাজ করে এবং Slidev CLI প্রয়োজন, যা আলাদাভাবে ইনস্টল করতে হয়। চালু থাকলে সাইডবারে Plugins-এর নিচে দেখা যায়।"
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "শুরু করতে স্পেস চাপুন বা blob-এ ট্যাপ করুন"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "শুরু করতে <0>স্পেস</0> চাপুন বা blob-এ ট্যাপ করুন"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11840,10 +11843,6 @@ msgstr "সোর্স অনুসন্ধান"
msgid "Source undo or redo"
msgstr "সোর্সে পূর্বাবস্থা বা পুনরায়"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "লাফাতে স্পেস · নিচু হতে নিচের তির"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "লাফাতে স্পেস, নিচু হতে নিচের তির। খেলাটা এটুকুই।"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index 88cafaf06..a14e5c80f 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -350,7 +350,6 @@
"4mp6Tv": ["OpenKnowledge listed the installed skills"],
"4niEzY": ["Sandboxed HTML embed — write HTML, see the rendered preview live."],
"4nj6n8": ["/api/config returned HTTP ", ["code"]],
- "4o57um": ["Game over · press space to play again"],
"4pDZ2N": ["Removed \"", ["0"], "\" from every other location — its source folder still loads"],
"4sKwf6": ["File already exists"],
"4sUdTJ": ["themed preview"],
@@ -558,6 +557,7 @@
],
"7ZkJdV": ["No agents selected — the skills are saved but not installed anywhere."],
"7_bFEL": ["Drag ", ["patternText"], " to reorder"],
+ "7a0YcF": ["Press <0>Space</0> or tap the blob to start"],
"7aNk5D": ["OpenKnowledge edited ", ["subject"]],
"7apDiJ": [
"A folder named <0>",
@@ -626,7 +626,6 @@
"8PifYj": ["Mermaid diagram"],
"8PmoQF": ["Open the insert menu in an empty or active text position."],
"8RtNI0": ["Failed to load documents"],
- "8SrrDi": ["New best · press space to play again"],
"8TvlHF": ["Crash dump"],
"8UmUyc": [
"The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
@@ -1930,7 +1929,6 @@
"QQbwzK": ["No agents available."],
"QQghPu": ["Install in Claude Desktop"],
"QR5SP1": ["created template"],
- "QUhYEG": ["Space to jump · down arrow to duck"],
"QWdKwH": ["Move"],
"QYTOaN": ["You can change this later in <0>Settings → Sync</0>."],
"QYfQdv": [["displayName"], " CLI"],
@@ -2735,6 +2733,7 @@
"ac8G0O": ["on trigger"],
"adsMWO": ["Resolving deltas"],
"ah_ekO": ["\"", ["name"], "\" is already up to date"],
+ "ai40UJ": ["New best · press <0>Space</0> to play again"],
"aiArms": ["We couldn't clone this repository."],
"aiOceC": ["Enable indexes"],
"ajHi4O": [
@@ -3840,6 +3839,7 @@
"pFRz_E": ["Leave these comments out of this message"],
"pFagOn": ["Source editing"],
"pHYP6v": ["Open <0>Customize</0> in the sidebar <1/> <2>Skills</2>."],
+ "pI_bKs": ["<0>Space</0> to jump · <1>↓</1> to duck"],
"pJ7XCo": ["This page references no local files or images."],
"pOo4Aa": ["Plain text"],
"pSimwP": ["New name for the ", ["editor"], " version"],
@@ -4225,6 +4225,7 @@
"You don't have permission to push to this repo. Follow can still keep your copy up to date."
],
"uVbUP8": ["Settings…"],
+ "uY5Z7P": ["Game over · press <0>Space</0> to play again"],
"u_lS4C": ["Clone complete — opening project"],
"uaUc6t": ["Restart server"],
"ubMwcO": ["The terminal session ended (signal ", ["0"], ")."],
@@ -4370,7 +4371,6 @@
],
"wGSHzy": ["Activate one of the first eight editor tabs."],
"wHZ58m": ["Open with AI ", ["displayName"], " Desktop"],
- "wIM7ul": ["Press space or tap the blob to start"],
"wJijgU": ["Location"],
"wJo9oS": ["Close find"],
"wQp1V3": ["Mirror of <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 3df461c15..8c58b0e5f 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>Mirror source removed.</0> The doc <1>{src}</1> is no longer availabl
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>Space</0> to jump · <1>↓</1> to duck"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "Blank note"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "Full sync — your edits are committed and pushed to your remote automatically."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "Game over · press space to play again"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "Game over · press <0>Space</0> to play again"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "New {0} chat"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "New best · press space to play again"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "New best · press <0>Space</0> to play again"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "Present a document as a slide deck in its own window. Works in the OpenKnowledge desktop app only, and needs the Slidev CLI, which you install separately. When on, it appears under Plugins in the sidebar."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "Press space or tap the blob to start"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "Press <0>Space</0> or tap the blob to start"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "Source search"
msgid "Source undo or redo"
msgstr "Source undo or redo"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "Space to jump · down arrow to duck"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "Space to jump, down arrow to duck. That is the whole game."
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 8a2457352..da51004ad 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -409,7 +409,6 @@
"Incrustación de HTML aislada: escribe HTML y ve la vista previa renderizada en vivo."
],
"4nj6n8": ["/api/config devolvió HTTP ", ["code"]],
- "4o57um": ["Fin del juego · pulsa espacio para jugar de nuevo"],
"4pDZ2N": [
"Se quitó \"",
["0"],
@@ -662,6 +661,7 @@
"No hay agentes seleccionados: las habilidades se guardan pero no se instalan en ninguna parte."
],
"7_bFEL": ["Arrastra ", ["patternText"], " para reordenar"],
+ "7a0YcF": ["Pulsa <0>Espacio</0> o toca el blob para empezar"],
"7aNk5D": ["OpenKnowledge editó ", ["subject"]],
"7apDiJ": [
"Ya hay archivos en una carpeta llamada <0>",
@@ -742,7 +742,6 @@
"8PifYj": ["Diagrama de Mermaid"],
"8PmoQF": ["Abre el menú de inserción en una posición de texto vacía o activa."],
"8RtNI0": ["No se pudieron cargar los documentos"],
- "8SrrDi": ["Nuevo récord · pulsa espacio para jugar de nuevo"],
"8TvlHF": ["Volcado de fallo"],
"8UmUyc": [
"La URL pública que sirve tu túnel. El servidor admite solicitudes para este host y lo anuncia en las URL que emite."
@@ -2228,7 +2227,6 @@
"QQbwzK": ["No hay agentes disponibles."],
"QQghPu": ["Instalar en Claude Desktop"],
"QR5SP1": ["plantilla creada"],
- "QUhYEG": ["Espacio para saltar · flecha abajo para agacharse"],
"QWdKwH": ["Mover"],
"QYTOaN": ["Puedes cambiarlo más adelante en <0>Ajustes → Sincronización</0>."],
"QYfQdv": ["CLI de ", ["displayName"]],
@@ -3165,6 +3163,7 @@
"ac8G0O": ["al activarse"],
"adsMWO": ["Resolviendo deltas"],
"ah_ekO": ["\"", ["name"], "\" ya está al día"],
+ "ai40UJ": ["Nuevo récord · pulsa <0>Espacio</0> para jugar de nuevo"],
"aiArms": ["No pudimos clonar este repositorio."],
"aiOceC": ["Habilitar índices"],
"ajHi4O": [
@@ -4442,6 +4441,7 @@
"pFRz_E": ["Dejar estos comentarios fuera de este mensaje"],
"pFagOn": ["Edición de código"],
"pHYP6v": ["Abre <0>Personalizar</0> en la barra lateral <1/> <2>Habilidades</2>."],
+ "pI_bKs": ["<0>Espacio</0> para saltar · <1>↓</1> para agacharse"],
"pJ7XCo": ["Esta página no hace referencia a ningún archivo o imagen local."],
"pOo4Aa": ["Texto sin formato"],
"pSimwP": ["Nombre nuevo para la versión de ", ["editor"]],
@@ -4874,6 +4874,7 @@
"No tienes permiso para hacer push a este repositorio. Seguir puede mantener tu copia al día igualmente."
],
"uVbUP8": ["Ajustes…"],
+ "uY5Z7P": ["Fin del juego · pulsa <0>Espacio</0> para jugar de nuevo"],
"u_lS4C": ["Clonación completada: abriendo el proyecto"],
"uaUc6t": ["Reiniciar el servidor"],
"ubMwcO": ["La sesión de terminal terminó (señal ", ["0"], ")."],
@@ -5049,7 +5050,6 @@
],
"wGSHzy": ["Activa una de las ocho primeras pestañas del editor."],
"wHZ58m": ["Abrir con la IA ", ["displayName"], " Desktop"],
- "wIM7ul": ["Pulsa espacio o toca el blob para empezar"],
"wJijgU": ["Ubicación"],
"wJo9oS": ["Cerrar búsqueda"],
"wQp1V3": ["Espejo de <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index 778294770..7752d92dd 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>Se eliminó la fuente del espejo.</0> El documento <1>{src}</1> ya no
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> no funcionará en terminales externas hasta que lo añadas más adelante desde el menú Archivo. La terminal integrada y las herramientas de IA de OpenKnowledge siguen funcionando."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>Espacio</0> para saltar · <1>↓</1> para agacharse"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "Nota en blanco"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "Sincronización completa: tus ediciones se confirman y se suben a tu remoto automáticamente."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "Fin del juego · pulsa espacio para jugar de nuevo"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "Fin del juego · pulsa <0>Espacio</0> para jugar de nuevo"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "Nuevo chat de {0}"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "Nuevo récord · pulsa espacio para jugar de nuevo"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "Nuevo récord · pulsa <0>Espacio</0> para jugar de nuevo"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "Presenta un documento como una presentación de diapositivas en su propia ventana. Solo funciona en la aplicación de escritorio de OpenKnowledge y necesita la CLI de Slidev, que se instala por separado. Cuando está activado, aparece en Plugins en la barra lateral."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "Pulsa espacio o toca el blob para empezar"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "Pulsa <0>Espacio</0> o toca el blob para empezar"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "Búsqueda en el código"
msgid "Source undo or redo"
msgstr "Deshacer o rehacer en el código"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "Espacio para saltar · flecha abajo para agacharse"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "Espacio para saltar, flecha abajo para agacharse. Ese es todo el juego."
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index 1c78ffcc4..37fd3be2e 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -423,7 +423,6 @@
"Intégration HTML en bac à sable — écrivez du HTML, voyez l'aperçu se rendre en direct."
],
"4nj6n8": ["/api/config a renvoyé HTTP ", ["code"]],
- "4o57um": ["Partie terminée · appuyez sur espace pour rejouer"],
"4pDZ2N": [
"« ",
["0"],
@@ -686,6 +685,7 @@
"Aucun agent sélectionné — les compétences sont enregistrées mais installées nulle part."
],
"7_bFEL": ["Faites glisser ", ["patternText"], " pour réorganiser"],
+ "7a0YcF": ["Appuyez sur <0>Espace</0> ou touchez le blob pour commencer"],
"7aNk5D": ["OpenKnowledge a modifié ", ["subject"]],
"7apDiJ": [
"Un dossier nommé <0>",
@@ -766,7 +766,6 @@
"8PifYj": ["Diagramme Mermaid"],
"8PmoQF": ["Ouvre le menu d'insertion à une position de texte vide ou active."],
"8RtNI0": ["Échec du chargement des documents"],
- "8SrrDi": ["Nouveau record · appuyez sur espace pour rejouer"],
"8TvlHF": ["Vidage de plantage"],
"8UmUyc": [
"L'URL publique servie par votre tunnel. Le serveur accepte les requêtes destinées à cet hôte et l'annonce dans les URL qu'il émet."
@@ -2251,7 +2250,6 @@
"QQbwzK": ["Aucun agent disponible."],
"QQghPu": ["Installer dans Claude Desktop"],
"QR5SP1": ["modèle créé"],
- "QUhYEG": ["Espace pour sauter · flèche bas pour s'accroupir"],
"QWdKwH": ["Déplacer"],
"QYTOaN": ["Vous pourrez changer cela plus tard dans <0>Paramètres → Synchronisation</0>."],
"QYfQdv": ["CLI ", ["displayName"]],
@@ -3195,6 +3193,7 @@
"ac8G0O": ["au déclenchement"],
"adsMWO": ["Résolution des deltas"],
"ah_ekO": ["« ", ["name"], " » est déjà à jour"],
+ "ai40UJ": ["Nouveau record · appuyez sur <0>Espace</0> pour rejouer"],
"aiArms": ["Nous n'avons pas pu cloner ce dépôt."],
"aiOceC": ["Activer les index"],
"ajHi4O": [
@@ -4475,6 +4474,7 @@
"pFRz_E": ["Ne pas inclure ces commentaires dans ce message"],
"pFagOn": ["Édition de la source"],
"pHYP6v": ["Ouvrez <0>Personnaliser</0> dans la barre latérale <1/> <2>Compétences</2>."],
+ "pI_bKs": ["<0>Espace</0> pour sauter · <1>↓</1> pour s’accroupir"],
"pJ7XCo": ["Cette page ne référence aucun fichier ou image local."],
"pOo4Aa": ["Texte brut"],
"pSimwP": ["Nouveau nom pour la version ", ["editor"]],
@@ -4926,6 +4926,7 @@
"Vous n'avez pas la permission de pousser vers ce dépôt. Suivre peut tout de même maintenir votre copie à jour."
],
"uVbUP8": ["Paramètres…"],
+ "uY5Z7P": ["Partie terminée · appuyez sur <0>Espace</0> pour rejouer"],
"u_lS4C": ["Clonage terminé — ouverture du projet"],
"uaUc6t": ["Redémarrer le serveur"],
"ubMwcO": ["La session de terminal s'est terminée (signal ", ["0"], ")."],
@@ -5103,7 +5104,6 @@
],
"wGSHzy": ["Active l'un des huit premiers onglets de l'éditeur."],
"wHZ58m": ["Ouvrir avec l'IA ", ["displayName"], " Desktop"],
- "wIM7ul": ["Appuyez sur espace ou touchez le blob pour commencer"],
"wJijgU": ["Emplacement"],
"wJo9oS": ["Fermer la recherche"],
"wQp1V3": ["Miroir de <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index 2858b51b9..843b67cf7 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>Source du miroir supprimée.</0> Le document <1>{src}</1> n'est plus
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> ne fonctionnera pas dans les terminaux externes tant que vous ne l'aurez pas ajouté depuis le menu Fichier. Le terminal intégré et les outils IA d'OpenKnowledge continuent de fonctionner."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>Espace</0> pour sauter · <1>↓</1> pour s’accroupir"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "Note vierge"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "Synchronisation complète — vos modifications sont validées et poussées automatiquement vers votre dépôt distant."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "Partie terminée · appuyez sur espace pour rejouer"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "Partie terminée · appuyez sur <0>Espace</0> pour rejouer"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "Nouvelle discussion {0}"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "Nouveau record · appuyez sur espace pour rejouer"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "Nouveau record · appuyez sur <0>Espace</0> pour rejouer"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "Présentez un document sous forme de diaporama dans sa propre fenêtre. Fonctionne uniquement dans l'application de bureau OpenKnowledge et nécessite la CLI Slidev, à installer séparément. Une fois activé, il apparaît sous Plugins dans la barre latérale."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "Appuyez sur espace ou touchez le blob pour commencer"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "Appuyez sur <0>Espace</0> ou touchez le blob pour commencer"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "Recherche dans la source"
msgid "Source undo or redo"
msgstr "Annuler ou rétablir dans la source"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "Espace pour sauter · flèche bas pour s'accroupir"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "Espace pour sauter, flèche bas pour s'accroupir. C'est tout le jeu."
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index d80cb8d4c..c45f0ca99 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -345,7 +345,6 @@
"4mp6Tv": ["OpenKnowledge ने इंस्टॉल की गई स्किल सूचीबद्ध कीं"],
"4niEzY": ["सैंडबॉक्स किया गया HTML एम्बेड — HTML लिखें, रेंडर किया गया पूर्वावलोकन तुरंत देखें।"],
"4nj6n8": ["/api/config ने HTTP ", ["code"], " लौटाया"],
- "4o57um": ["खेल समाप्त · फिर से खेलने के लिए स्पेस दबाएँ"],
"4pDZ2N": ["\"", ["0"], "\" को बाकी हर स्थान से हटा दिया गया — इसका स्रोत फ़ोल्डर अब भी लोड होता है"],
"4sKwf6": ["फ़ाइल पहले से मौजूद है"],
"4sUdTJ": ["थीम वाला पूर्वावलोकन"],
@@ -556,6 +555,7 @@
],
"7ZkJdV": ["कोई एजेंट नहीं चुना गया — स्किल सहेजी तो गई हैं पर कहीं इंस्टॉल नहीं हुईं।"],
"7_bFEL": ["क्रम बदलने के लिए ", ["patternText"], " खींचें"],
+ "7a0YcF": ["शुरू करने के लिए <0>स्पेस</0> दबाएँ या blob पर टैप करें"],
"7aNk5D": ["OpenKnowledge ने ", ["subject"], " को संपादित किया"],
"7apDiJ": ["<0>", ["sanitized"], "</0> नाम के एक फ़ोल्डर में यहाँ पहले से फ़ाइलें हैं। कोई दूसरा नाम चुनें।"],
"7b3zu8": ["कवर की फ़ोकल स्थिति"],
@@ -610,7 +610,6 @@
"8PifYj": ["Mermaid आरेख"],
"8PmoQF": ["किसी खाली या सक्रिय पाठ स्थिति में इन्सर्ट मेन्यू खोलें।"],
"8RtNI0": ["दस्तावेज़ लोड करने में विफल"],
- "8SrrDi": ["नया रिकॉर्ड · फिर से खेलने के लिए स्पेस दबाएँ"],
"8TvlHF": ["क्रैश डंप"],
"8UmUyc": [
"वह सार्वजनिक URL जिसे आपका tunnel सर्व करता है। सर्वर इस host के लिए अनुरोध स्वीकार करता है और अपने द्वारा जारी किए गए URL में इसका विज्ञापन करता है।"
@@ -1878,7 +1877,6 @@
"QQbwzK": ["कोई एजेंट उपलब्ध नहीं।"],
"QQghPu": ["Claude Desktop में इंस्टॉल करें"],
"QR5SP1": ["टेम्पलेट बनाया गया"],
- "QUhYEG": ["कूदने के लिए स्पेस · झुकने के लिए नीचे तीर"],
"QWdKwH": ["हिलाएँ"],
"QYTOaN": ["आप इसे बाद में <0>Settings → Sync</0> में बदल सकते हैं।"],
"QYfQdv": [["displayName"], " CLI"],
@@ -2666,6 +2664,7 @@
"ac8G0O": ["ट्रिगर होने पर"],
"adsMWO": ["डेल्टा सुलझाए जा रहे हैं"],
"ah_ekO": ["\"", ["name"], "\" पहले से ही अद्यतित है"],
+ "ai40UJ": ["नया रिकॉर्ड · फिर से खेलने के लिए <0>स्पेस</0> दबाएँ"],
"aiArms": ["हम यह रिपॉज़िटरी क्लोन नहीं कर सके।"],
"aiOceC": ["अनुक्रमणिका सक्षम करें"],
"ajHi4O": [
@@ -3723,6 +3722,7 @@
"pFRz_E": ["इन टिप्पणियों को इस संदेश से बाहर रखें"],
"pFagOn": ["स्रोत संपादन"],
"pHYP6v": ["साइडबार में <0>Customize</0> <1/> <2>Skills</2> खोलें।"],
+ "pI_bKs": ["कूदने के लिए <0>स्पेस</0> · झुकने के लिए <1>↓</1>"],
"pJ7XCo": ["यह पेज किसी स्थानीय फ़ाइल या छवि को संदर्भित नहीं करता।"],
"pOo4Aa": ["सादा टेक्स्ट"],
"pSimwP": [["editor"], " संस्करण के लिए नया नाम"],
@@ -4085,6 +4085,7 @@
"आपके पास इस रिपॉज़िटरी में पुश करने की अनुमति नहीं है। Follow फिर भी आपकी प्रति को अद्यतित रख सकता है।"
],
"uVbUP8": ["सेटिंग…"],
+ "uY5Z7P": ["खेल समाप्त · फिर से खेलने के लिए <0>स्पेस</0> दबाएँ"],
"u_lS4C": ["क्लोन पूर्ण — प्रोजेक्ट खोला जा रहा है"],
"uaUc6t": ["सर्वर पुनः आरंभ करें"],
"ubMwcO": ["टर्मिनल सत्र समाप्त हो गया (सिग्नल ", ["0"], ")।"],
@@ -4220,7 +4221,6 @@
],
"wGSHzy": ["पहले आठ संपादक टैब में से किसी एक को सक्रिय करें।"],
"wHZ58m": ["AI ", ["displayName"], " Desktop से खोलें"],
- "wIM7ul": ["शुरू करने के लिए स्पेस दबाएँ या blob पर टैप करें"],
"wJijgU": ["स्थान"],
"wJo9oS": ["खोज बंद करें"],
"wQp1V3": ["<0>", ["src"], "</0> का मिरर"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index bf035709c..503d5b0ab 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -993,6 +993,10 @@ msgstr "<0>मिरर स्रोत हटा दिया गया।</0>
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> बाहरी टर्मिनलों में तब तक नहीं चलेगा जब तक आप इसे बाद में File मेन्यू से न जोड़ें। OpenKnowledge का अंतर्निहित टर्मिनल और AI टूल काम करते रहेंगे।"
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "कूदने के लिए <0>स्पेस</0> · झुकने के लिए <1>↓</1>"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2019,7 +2023,6 @@ msgstr "खाली नोट"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5916,8 +5919,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "पूर्ण सिंक — आपके संपादन अपने आप कमिट होकर आपके रिमोट पर भेज दिए जाते हैं।"
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "खेल समाप्त · फिर से खेलने के लिए स्पेस दबाएँ"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "खेल समाप्त · फिर से खेलने के लिए <0>स्पेस</0> दबाएँ"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7874,8 +7877,8 @@ msgid "New {0} chat"
msgstr "नई {0} चैट"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "नया रिकॉर्ड · फिर से खेलने के लिए स्पेस दबाएँ"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "नया रिकॉर्ड · फिर से खेलने के लिए <0>स्पेस</0> दबाएँ"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9626,8 +9629,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "किसी दस्तावेज़ को अलग विंडो में स्लाइड डेक के रूप में प्रस्तुत करें। यह केवल OpenKnowledge डेस्कटॉप ऐप में काम करता है और इसके लिए Slidev CLI चाहिए, जिसे आप अलग से इंस्टॉल करते हैं। चालू होने पर यह साइडबार में Plugins के अंतर्गत दिखता है।"
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "शुरू करने के लिए स्पेस दबाएँ या blob पर टैप करें"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "शुरू करने के लिए <0>स्पेस</0> दबाएँ या blob पर टैप करें"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11840,10 +11843,6 @@ msgstr "स्रोत खोज"
msgid "Source undo or redo"
msgstr "स्रोत में पूर्ववत या फिर से करें"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "कूदने के लिए स्पेस · झुकने के लिए नीचे तीर"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "कूदने के लिए स्पेस, झुकने के लिए नीचे तीर। बस इतना ही खेल है।"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index b6f7ccdf0..aed74bcf9 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -355,7 +355,6 @@
"4mp6Tv": ["OpenKnowledge menampilkan daftar keterampilan yang terpasang"],
"4niEzY": ["Sematan HTML tersekat — tulis HTML, lihat pratinjau terendernya secara langsung."],
"4nj6n8": ["/api/config mengembalikan HTTP ", ["code"]],
- "4o57um": ["Permainan berakhir · tekan spasi untuk main lagi"],
"4pDZ2N": ["\"", ["0"], "\" dihapus dari semua lokasi lain — folder sumbernya tetap dimuat"],
"4sKwf6": ["Berkas sudah ada"],
"4sUdTJ": ["pratinjau bertema"],
@@ -568,6 +567,7 @@
"Tidak ada agen yang dipilih — keterampilannya tersimpan tetapi tidak dipasang di mana pun."
],
"7_bFEL": ["Seret ", ["patternText"], " untuk menata ulang"],
+ "7a0YcF": ["Tekan <0>Spasi</0> atau ketuk blob untuk mulai"],
"7aNk5D": ["OpenKnowledge menyunting ", ["subject"]],
"7apDiJ": [
"Folder bernama <0>",
@@ -632,7 +632,6 @@
"8PifYj": ["Diagram Mermaid"],
"8PmoQF": ["Membuka menu sisip pada posisi teks yang kosong atau aktif."],
"8RtNI0": ["Gagal memuat dokumen"],
- "8SrrDi": ["Rekor baru · tekan spasi untuk main lagi"],
"8TvlHF": ["Crash dump"],
"8UmUyc": [
"URL publik yang dilayani tunnel Anda. Server menerima permintaan untuk host ini dan mengumumkannya dalam URL yang diterbitkannya."
@@ -1950,7 +1949,6 @@
"QQbwzK": ["Tidak ada agen yang tersedia."],
"QQghPu": ["Pasang di Claude Desktop"],
"QR5SP1": ["templat dibuat"],
- "QUhYEG": ["Spasi untuk melompat · panah bawah untuk menunduk"],
"QWdKwH": ["Pindahkan"],
"QYTOaN": ["Anda bisa mengubah ini nanti di <0>Pengaturan → Sinkronisasi</0>."],
"QYfQdv": ["CLI ", ["displayName"]],
@@ -2749,6 +2747,7 @@
"ac8G0O": ["saat dipicu"],
"adsMWO": ["Menyelesaikan delta"],
"ah_ekO": ["\"", ["name"], "\" sudah yang terbaru"],
+ "ai40UJ": ["Rekor baru · tekan <0>Spasi</0> untuk main lagi"],
"aiArms": ["Kami tidak bisa mengkloning repositori ini."],
"aiOceC": ["Aktifkan indeks"],
"ajHi4O": [
@@ -3879,6 +3878,7 @@
"pFRz_E": ["Jangan sertakan komentar ini dalam pesan ini"],
"pFagOn": ["Penyuntingan sumber"],
"pHYP6v": ["Buka <0>Sesuaikan</0> di bilah sisi <1/> <2>Keterampilan</2>."],
+ "pI_bKs": ["<0>Spasi</0> untuk melompat · <1>↓</1> untuk menunduk"],
"pJ7XCo": ["Halaman ini tidak merujuk ke berkas atau gambar lokal apa pun."],
"pOo4Aa": ["Teks biasa"],
"pSimwP": ["Nama baru untuk versi ", ["editor"]],
@@ -4257,6 +4257,7 @@
"Anda tidak punya izin push ke repo ini. Ikuti tetap bisa menjaga salinan Anda mutakhir."
],
"uVbUP8": ["Pengaturan…"],
+ "uY5Z7P": ["Permainan berakhir · tekan <0>Spasi</0> untuk main lagi"],
"u_lS4C": ["Kloning selesai — membuka proyek"],
"uaUc6t": ["Mulai ulang server"],
"ubMwcO": ["Sesi terminal berakhir (sinyal ", ["0"], ")."],
@@ -4394,7 +4395,6 @@
],
"wGSHzy": ["Mengaktifkan salah satu dari delapan tab penyunting pertama."],
"wHZ58m": ["Buka dengan AI ", ["displayName"], " Desktop"],
- "wIM7ul": ["Tekan spasi atau ketuk blob untuk mulai"],
"wJijgU": ["Lokasi"],
"wJo9oS": ["Tutup pencarian"],
"wQp1V3": ["Cermin dari <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index ca479a152..f1a737d42 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -993,6 +993,10 @@ msgstr "<0>Sumber cermin dihapus.</0> Dokumen <1>{src}</1> sudah tidak tersedia.
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> tidak akan berjalan di terminal eksternal sampai Anda menambahkannya nanti dari menu Berkas. Terminal bawaan dan alat AI OpenKnowledge tetap berfungsi."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>Spasi</0> untuk melompat · <1>↓</1> untuk menunduk"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2019,7 +2023,6 @@ msgstr "Catatan kosong"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5916,8 +5919,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "Sinkronisasi penuh — suntingan Anda di-commit dan dikirim ke remote Anda secara otomatis."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "Permainan berakhir · tekan spasi untuk main lagi"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "Permainan berakhir · tekan <0>Spasi</0> untuk main lagi"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7874,8 +7877,8 @@ msgid "New {0} chat"
msgstr "Obrolan {0} baru"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "Rekor baru · tekan spasi untuk main lagi"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "Rekor baru · tekan <0>Spasi</0> untuk main lagi"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9626,8 +9629,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "Tampilkan dokumen sebagai dek slide di jendela tersendiri. Hanya berfungsi di aplikasi desktop OpenKnowledge dan memerlukan CLI Slidev yang dipasang terpisah. Saat aktif, muncul di Plugins pada bilah sisi."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "Tekan spasi atau ketuk blob untuk mulai"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "Tekan <0>Spasi</0> atau ketuk blob untuk mulai"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11840,10 +11843,6 @@ msgstr "Pencarian di sumber"
msgid "Source undo or redo"
msgstr "Batalkan atau ulangi di sumber"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "Spasi untuk melompat · panah bawah untuk menunduk"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "Spasi untuk melompat, panah bawah untuk menunduk. Hanya itu permainannya."
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index 885c2c2f5..edf4b9e01 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -340,7 +340,6 @@
"샌드박스 처리된 HTML 삽입입니다. HTML을 작성하면 렌더링된 미리보기가 실시간으로 표시됩니다."
],
"4nj6n8": ["/api/config HTTP ", ["code"], " 반환"],
- "4o57um": ["게임 종료 · 스페이스를 눌러 다시 시작"],
"4pDZ2N": ["다른 모든 위치에서 \"", ["0"], "\"을 제거했습니다. 소스 폴더는 계속 불러옵니다"],
"4sKwf6": ["파일이 이미 있습니다"],
"4sUdTJ": ["테마 적용 미리보기"],
@@ -546,6 +545,7 @@
],
"7ZkJdV": ["선택한 에이전트가 없습니다. 스킬은 저장되지만 어디에도 설치되지 않습니다."],
"7_bFEL": [["patternText"], " 드래그로 순서를 변경합니다."],
+ "7a0YcF": ["<0>스페이스</0>를 누르거나 블롭을 탭하여 시작"],
"7aNk5D": ["OpenKnowledge에서 ", ["subject"], " 편집"],
"7apDiJ": [
"폴더 이름 <0>",
@@ -610,7 +610,6 @@
"8PifYj": ["Mermaid 다이어그램"],
"8PmoQF": ["비어 있거나 활성화된 텍스트 위치에서 삽입 메뉴를 엽니다."],
"8RtNI0": ["문서를 불러오지 못했습니다"],
- "8SrrDi": ["새 기록 · 스페이스를 눌러 다시 시작"],
"8TvlHF": ["크래시 덤프"],
"8UmUyc": [
"터널이 제공하는 공개 URL입니다. 서버는 이 호스트에 대한 요청을 허용하고 발급하는 URL에 이 주소를 사용합니다."
@@ -1864,7 +1863,6 @@
"QQbwzK": ["사용 가능한 에이전트 없음."],
"QQghPu": ["Claude Desktop에 설치"],
"QR5SP1": ["템플릿 생성됨"],
- "QUhYEG": ["스페이스로 점프 · 아래쪽 화살표로 숙이기"],
"QWdKwH": ["이동"],
"QYTOaN": ["나중에 <0>설정 → 동기화</0>에서 변경할 수 있습니다."],
"QYfQdv": [["displayName"], " CLI"],
@@ -2641,6 +2639,7 @@
"ac8G0O": ["트리거 시"],
"adsMWO": ["델타 해결 중"],
"ah_ekO": ["\"", ["name"], "\"은 이미 최신 상태입니다"],
+ "ai40UJ": ["새 기록 · <0>스페이스</0>를 눌러 다시 시작"],
"aiArms": ["이 저장소를 클론할 수 없습니다."],
"aiOceC": ["인덱스 사용"],
"ajHi4O": [
@@ -3703,6 +3702,7 @@
"pFRz_E": ["이 메시지에서 댓글 제외"],
"pFagOn": ["소스 편집"],
"pHYP6v": ["사이드바에서 <0>사용자 지정</0> 열기 <1/> <2>스킬</2>."],
+ "pI_bKs": ["<0>스페이스</0>로 점프 · <1>↓</1>로 숙이기"],
"pJ7XCo": ["이 페이지는 로컬 파일이나 이미지를 참조하지 않습니다."],
"pOo4Aa": ["일반 텍스트"],
"pSimwP": [["editor"], " 버전의 새 이름"],
@@ -4061,6 +4061,7 @@
"이 저장소에 푸시할 권한이 없습니다. 팔로우를 사용하면 복사본을 최신 상태로 유지할 수 있습니다."
],
"uVbUP8": ["설정…"],
+ "uY5Z7P": ["게임 종료 · <0>스페이스</0>를 눌러 다시 시작"],
"u_lS4C": ["클론 완료. 프로젝트 여는 중"],
"uaUc6t": ["서버 재시작"],
"ubMwcO": ["터미널 세션 종료(신호 ", ["0"], ")."],
@@ -4178,7 +4179,6 @@
],
"wGSHzy": ["처음 8개 편집기 탭 중 하나 활성화"],
"wHZ58m": ["AI ", ["displayName"], " Desktop으로 열기"],
- "wIM7ul": ["스페이스를 누르거나 블롭을 탭하여 시작"],
"wJijgU": ["위치"],
"wJo9oS": ["검색 닫기"],
"wQp1V3": ["<0>", ["src"], "</0>의 미러"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index 77527d390..b1aa41488 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>미러 소스가 삭제되었습니다.</0> 문서 <1>{src}</1>는
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> 외부 터미널 실행 불가. File 메뉴에서 나중에 추가하면 실행할 수 있습니다. OpenKnowledge 내장 터미널과 AI 도구도 계속 작동합니다."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>스페이스</0>로 점프 · <1>↓</1>로 숙이기"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "빈 노트"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob 실행"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "전체 동기화. 편집 내용이 원격에 자동으로 커밋되고 푸시됩니다."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "게임 종료 · 스페이스를 눌러 다시 시작"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "게임 종료 · <0>스페이스</0>를 눌러 다시 시작"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "새 {0} 채팅"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "새 기록 · 스페이스를 눌러 다시 시작"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "새 기록 · <0>스페이스</0>를 눌러 다시 시작"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "문서를 별도 창에서 슬라이드 덱으로 표시합니다. OpenKnowledge 데스크톱 앱에서만 작동하며 별도로 설치한 Slidev CLI가 필요합니다. 켜면 사이드바의 플러그인 아래에 나타납니다."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "스페이스를 누르거나 블롭을 탭하여 시작"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "<0>스페이스</0>를 누르거나 블롭을 탭하여 시작"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "소스 검색"
msgid "Source undo or redo"
msgstr "소스 실행 취소 또는 다시 실행"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "스페이스로 점프 · 아래쪽 화살표로 숙이기"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "스페이스로 점프하고 아래쪽 화살표로 숙입니다. 게임은 이것이 전부입니다."
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index d0888ce07..dd932fc02 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -350,7 +350,6 @@
"4mp6Tv": ["ŌƥēńĶńōŵĺēďĝē ĺĩśţēď ţĥē ĩńśţàĺĺēď śķĩĺĺś"],
"4niEzY": ["Śàńďƀōxēď ĤŢḾĹ ēḿƀēď — ŵŕĩţē ĤŢḾĹ, śēē ţĥē ŕēńďēŕēď ƥŕēvĩēŵ ĺĩvē."],
"4nj6n8": ["/àƥĩ/ćōńƒĩĝ ŕēţũŕńēď ĤŢŢƤ ", ["code"]],
- "4o57um": ["Ĝàḿē ōvēŕ · ƥŕēśś śƥàćē ţō ƥĺàŷ àĝàĩń"],
"4pDZ2N": ["Ŕēḿōvēď \"", ["0"], "\" ƒŕōḿ ēvēŕŷ ōţĥēŕ ĺōćàţĩōń — ĩţś śōũŕćē ƒōĺďēŕ śţĩĺĺ ĺōàďś"],
"4sKwf6": ["Ƒĩĺē àĺŕēàďŷ ēxĩśţś"],
"4sUdTJ": ["ţĥēḿēď ƥŕēvĩēŵ"],
@@ -558,6 +557,7 @@
],
"7ZkJdV": ["Ńō àĝēńţś śēĺēćţēď — ţĥē śķĩĺĺś àŕē śàvēď ƀũţ ńōţ ĩńśţàĺĺēď àńŷŵĥēŕē."],
"7_bFEL": ["Ďŕàĝ ", ["patternText"], " ţō ŕēōŕďēŕ"],
+ "7a0YcF": ["Ƥŕēśś <0>Śƥàćē</0> ōŕ ţàƥ ţĥē ƀĺōƀ ţō śţàŕţ"],
"7aNk5D": ["ŌƥēńĶńōŵĺēďĝē ēďĩţēď ", ["subject"]],
"7apDiJ": [
"À ƒōĺďēŕ ńàḿēď <0>",
@@ -626,7 +626,6 @@
"8PifYj": ["Ḿēŕḿàĩď ďĩàĝŕàḿ"],
"8PmoQF": ["Ōƥēń ţĥē ĩńśēŕţ ḿēńũ ĩń àń ēḿƥţŷ ōŕ àćţĩvē ţēxţ ƥōśĩţĩōń."],
"8RtNI0": ["Ƒàĩĺēď ţō ĺōàď ďōćũḿēńţś"],
- "8SrrDi": ["Ńēŵ ƀēśţ · ƥŕēśś śƥàćē ţō ƥĺàŷ àĝàĩń"],
"8TvlHF": ["Ćŕàśĥ ďũḿƥ"],
"8UmUyc": [
"Ţĥē ƥũƀĺĩć ŨŔĹ ŷōũŕ ţũńńēĺ śēŕvēś. Ţĥē śēŕvēŕ àďḿĩţś ŕēǫũēśţś ƒōŕ ţĥĩś ĥōśţ àńď àďvēŕţĩśēś ĩţ ĩń ţĥē ŨŔĹś ĩţ ĩśśũēś."
@@ -1930,7 +1929,6 @@
"QQbwzK": ["Ńō àĝēńţś àvàĩĺàƀĺē."],
"QQghPu": ["Ĩńśţàĺĺ ĩń Ćĺàũďē Ďēśķţōƥ"],
"QR5SP1": ["ćŕēàţēď ţēḿƥĺàţē"],
- "QUhYEG": ["Śƥàćē ţō Ĵũḿƥ · ďōŵń àŕŕōŵ ţō ďũćķ"],
"QWdKwH": ["Ḿōvē"],
"QYTOaN": ["Ŷōũ ćàń ćĥàńĝē ţĥĩś ĺàţēŕ ĩń <0>Śēţţĩńĝś → Śŷńć</0>."],
"QYfQdv": [["displayName"], " ĆĹĨ"],
@@ -2735,6 +2733,7 @@
"ac8G0O": ["ōń ţŕĩĝĝēŕ"],
"adsMWO": ["Ŕēśōĺvĩńĝ ďēĺţàś"],
"ah_ekO": ["\"", ["name"], "\" ĩś àĺŕēàďŷ ũƥ ţō ďàţē"],
+ "ai40UJ": ["Ńēŵ ƀēśţ · ƥŕēśś <0>Śƥàćē</0> ţō ƥĺàŷ àĝàĩń"],
"aiArms": ["Ŵē ćōũĺďń'ţ ćĺōńē ţĥĩś ŕēƥōśĩţōŕŷ."],
"aiOceC": ["Ēńàƀĺē ĩńďēxēś"],
"ajHi4O": [
@@ -3840,6 +3839,7 @@
"pFRz_E": ["Ĺēàvē ţĥēśē ćōḿḿēńţś ōũţ ōƒ ţĥĩś ḿēśśàĝē"],
"pFagOn": ["Śōũŕćē ēďĩţĩńĝ"],
"pHYP6v": ["Ōƥēń <0>Ćũśţōḿĩźē</0> ĩń ţĥē śĩďēƀàŕ <1/> <2>Śķĩĺĺś</2>."],
+ "pI_bKs": ["<0>Śƥàćē</0> ţō Ĵũḿƥ · <1>↓</1> ţō ďũćķ"],
"pJ7XCo": ["Ţĥĩś ƥàĝē ŕēƒēŕēńćēś ńō ĺōćàĺ ƒĩĺēś ōŕ ĩḿàĝēś."],
"pOo4Aa": ["Ƥĺàĩń ţēxţ"],
"pSimwP": ["Ńēŵ ńàḿē ƒōŕ ţĥē ", ["editor"], " vēŕśĩōń"],
@@ -4225,6 +4225,7 @@
"Ŷōũ ďōń'ţ ĥàvē ƥēŕḿĩśśĩōń ţō ƥũśĥ ţō ţĥĩś ŕēƥō. Ƒōĺĺōŵ ćàń śţĩĺĺ ķēēƥ ŷōũŕ ćōƥŷ ũƥ ţō ďàţē."
],
"uVbUP8": ["Śēţţĩńĝś…"],
+ "uY5Z7P": ["Ĝàḿē ōvēŕ · ƥŕēśś <0>Śƥàćē</0> ţō ƥĺàŷ àĝàĩń"],
"u_lS4C": ["Ćĺōńē ćōḿƥĺēţē — ōƥēńĩńĝ ƥŕōĴēćţ"],
"uaUc6t": ["Ŕēśţàŕţ śēŕvēŕ"],
"ubMwcO": ["Ţĥē ţēŕḿĩńàĺ śēśśĩōń ēńďēď (śĩĝńàĺ ", ["0"], ")."],
@@ -4370,7 +4371,6 @@
],
"wGSHzy": ["Àćţĩvàţē ōńē ōƒ ţĥē ƒĩŕśţ ēĩĝĥţ ēďĩţōŕ ţàƀś."],
"wHZ58m": ["Ōƥēń ŵĩţĥ ÀĨ ", ["displayName"], " Ďēśķţōƥ"],
- "wIM7ul": ["Ƥŕēśś śƥàćē ōŕ ţàƥ ţĥē ƀĺōƀ ţō śţàŕţ"],
"wJijgU": ["Ĺōćàţĩōń"],
"wJo9oS": ["Ćĺōśē ƒĩńď"],
"wQp1V3": ["Ḿĩŕŕōŕ ōƒ <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index 8d18ac226..fe59505eb 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -993,6 +993,10 @@ msgstr ""
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr ""
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr ""
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr ""
@@ -2019,7 +2023,6 @@ msgstr ""
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr ""
@@ -5916,7 +5919,7 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr ""
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
+msgid "Game over · press <0>Space</0> to play again"
msgstr ""
#: src/lib/keyboard-shortcuts.ts
@@ -7874,7 +7877,7 @@ msgid "New {0} chat"
msgstr ""
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
+msgid "New best · press <0>Space</0> to play again"
msgstr ""
#: src/components/NewWorktreeDialog.tsx
@@ -9626,7 +9629,7 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr ""
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
+msgid "Press <0>Space</0> or tap the blob to start"
msgstr ""
#: src/components/EditorWorkspace.tsx
@@ -11840,10 +11843,6 @@ msgstr ""
msgid "Source undo or redo"
msgstr ""
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr ""
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr ""
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index a941ee959..15cb318b9 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -405,7 +405,6 @@
"HTML incorporado em modo isolado — escreva HTML e veja a pré-visualização renderizada ao vivo."
],
"4nj6n8": ["/api/config devolveu HTTP ", ["code"]],
- "4o57um": ["Fim de jogo · pressione espaço para jogar de novo"],
"4pDZ2N": [
"\"",
["0"],
@@ -658,6 +657,7 @@
"Nenhum agente selecionado — as habilidades ficam salvas, mas não são instaladas em lugar nenhum."
],
"7_bFEL": ["Arraste ", ["patternText"], " para reordenar"],
+ "7a0YcF": ["Pressione <0>Espaço</0> ou toque no blob para começar"],
"7aNk5D": ["OpenKnowledge editou ", ["subject"]],
"7apDiJ": [
"Uma pasta chamada <0>",
@@ -732,7 +732,6 @@
"8PifYj": ["Diagrama do Mermaid"],
"8PmoQF": ["Abre o menu de inserção em uma posição de texto vazia ou ativa."],
"8RtNI0": ["Falha ao carregar os documentos"],
- "8SrrDi": ["Novo recorde · pressione espaço para jogar de novo"],
"8TvlHF": ["Despejo de falha"],
"8UmUyc": [
"A URL pública que o seu túnel serve. O servidor aceita requisições para este host e o anuncia nas URLs que emite."
@@ -2198,7 +2197,6 @@
"QQbwzK": ["Nenhum agente disponível."],
"QQghPu": ["Instalar no Claude Desktop"],
"QR5SP1": ["modelo criado"],
- "QUhYEG": ["Espaço para pular · seta para baixo para agachar"],
"QWdKwH": ["Mover"],
"QYTOaN": ["Você pode mudar isto depois em <0>Configurações → Sincronização</0>."],
"QYfQdv": ["CLI do ", ["displayName"]],
@@ -3102,6 +3100,7 @@
"ac8G0O": ["ao acionar"],
"adsMWO": ["Resolvendo deltas"],
"ah_ekO": ["\"", ["name"], "\" já está atualizado"],
+ "ai40UJ": ["Novo recorde · pressione <0>Espaço</0> para jogar de novo"],
"aiArms": ["Não foi possível clonar este repositório."],
"aiOceC": ["Habilitar índices"],
"ajHi4O": [
@@ -4352,6 +4351,7 @@
"pFRz_E": ["Deixar estes comentários fora desta mensagem"],
"pFagOn": ["Edição de código"],
"pHYP6v": ["Abra <0>Personalizar</0> na barra lateral <1/> <2>Habilidades</2>."],
+ "pI_bKs": ["<0>Espaço</0> para pular · <1>↓</1> para agachar"],
"pJ7XCo": ["Esta página não faz referência a nenhum arquivo ou imagem local."],
"pOo4Aa": ["Texto simples"],
"pSimwP": ["Novo nome para a versão do ", ["editor"]],
@@ -4781,6 +4781,7 @@
"Você não tem permissão para enviar a este repositório. Acompanhar ainda consegue manter sua cópia atualizada."
],
"uVbUP8": ["Configurações…"],
+ "uY5Z7P": ["Fim de jogo · pressione <0>Espaço</0> para jogar de novo"],
"u_lS4C": ["Clonagem concluída — abrindo o projeto"],
"uaUc6t": ["Reiniciar o servidor"],
"ubMwcO": ["A sessão de terminal terminou (sinal ", ["0"], ")."],
@@ -4942,7 +4943,6 @@
],
"wGSHzy": ["Ativa uma das oito primeiras abas do editor."],
"wHZ58m": ["Abrir com a IA ", ["displayName"], " Desktop"],
- "wIM7ul": ["Pressione espaço ou toque no blob para começar"],
"wJijgU": ["Local"],
"wJo9oS": ["Fechar busca"],
"wQp1V3": ["Espelho de <0>", ["src"], "</0>"],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index 654fa2102..0f611bb1c 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -993,6 +993,10 @@ msgstr "<0>Fonte do espelho removida.</0> O documento <1>{src}</1> não está ma
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> não vai funcionar em terminais externos até você adicioná-lo depois pelo menu Arquivo. O terminal integrado e as ferramentas de IA do OpenKnowledge continuam funcionando."
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>Espaço</0> para pular · <1>↓</1> para agachar"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2019,7 +2023,6 @@ msgstr "Nota em branco"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5916,8 +5919,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "Sincronização completa — suas edições recebem commit e são enviadas ao seu remoto automaticamente."
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "Fim de jogo · pressione espaço para jogar de novo"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "Fim de jogo · pressione <0>Espaço</0> para jogar de novo"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7874,8 +7877,8 @@ msgid "New {0} chat"
msgstr "Novo chat do {0}"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "Novo recorde · pressione espaço para jogar de novo"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "Novo recorde · pressione <0>Espaço</0> para jogar de novo"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9626,8 +9629,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "Apresente um documento como slides em uma janela própria. Funciona apenas no aplicativo de desktop do OpenKnowledge e precisa da CLI do Slidev, instalada separadamente. Quando ativado, aparece em Plugins na barra lateral."
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "Pressione espaço ou toque no blob para começar"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "Pressione <0>Espaço</0> ou toque no blob para começar"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11840,10 +11843,6 @@ msgstr "Busca no código"
msgid "Source undo or redo"
msgstr "Desfazer ou refazer no código"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "Espaço para pular · seta para baixo para agachar"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "Espaço para pular, seta para baixo para agachar. É esse o jogo inteiro."
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index 84c2f513a..fa36e3a8b 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -353,7 +353,6 @@
"4mp6Tv": ["OpenKnowledge نے انسٹال شدہ اسکلز کی فہرست دی"],
"4niEzY": ["سینڈ باکسڈ HTML ایمبیڈ — HTML لکھیں، رینڈر شدہ پیش منظر براہِ راست دیکھیں۔"],
"4nj6n8": ["/api/config نے HTTP ", ["code"], " لوٹایا"],
- "4o57um": ["کھیل ختم · دوبارہ کھیلنے کے لیے اسپیس دبائیں"],
"4pDZ2N": [
"«",
["0"],
@@ -572,6 +571,7 @@
],
"7ZkJdV": ["کوئی ایجنٹ منتخب نہیں — مہارتیں محفوظ ہیں مگر کہیں نصب نہیں ہوئیں۔"],
"7_bFEL": ["ترتیب بدلنے کے لیے ", ["patternText"], " کھینچیں"],
+ "7a0YcF": ["شروع کرنے کے لیے <0>اسپیس</0> دبائیں یا blob پر ٹیپ کریں"],
"7aNk5D": ["OpenKnowledge نے ", ["subject"], " میں ترمیم کی"],
"7apDiJ": [
"<0>",
@@ -640,7 +640,6 @@
"8PifYj": ["Mermaid خاکہ"],
"8PmoQF": ["خالی یا فعال متن کی جگہ پر داخل کرنے کا مینو کھولیں۔"],
"8RtNI0": ["دستاویزات لوڈ نہیں ہو سکیں"],
- "8SrrDi": ["نیا ریکارڈ · دوبارہ کھیلنے کے لیے اسپیس دبائیں"],
"8TvlHF": ["کریش ڈمپ"],
"8UmUyc": [
"وہ عوامی URL جو آپ کا ٹنل سرو کرتا ہے۔ سرور اس ہوسٹ کے لیے درخواستیں قبول کرتا ہے اور جو URLs جاری کرتا ہے ان میں اسی کی تشہیر کرتا ہے۔"
@@ -1973,7 +1972,6 @@
"QQbwzK": ["کوئی ایجنٹ دستیاب نہیں۔"],
"QQghPu": ["Claude Desktop میں نصب کریں"],
"QR5SP1": ["ٹیمپلیٹ بنایا"],
- "QUhYEG": ["چھلانگ کے لیے اسپیس · جھکنے کے لیے نیچے کا تیر"],
"QWdKwH": ["منتقل کریں"],
"QYTOaN": ["آپ اسے بعد میں <0>ترتیبات ← مطابقت پذیری</0> میں بدل سکتے ہیں۔"],
"QYfQdv": [["displayName"], " CLI"],
@@ -2798,6 +2796,7 @@
"ac8G0O": ["ٹرگر ہونے پر"],
"adsMWO": ["ڈیلٹا حل کیے جا رہے ہیں"],
"ah_ekO": ["«", ["name"], "» پہلے ہی تازہ ترین ہے"],
+ "ai40UJ": ["نیا ریکارڈ · دوبارہ کھیلنے کے لیے <0>اسپیس</0> دبائیں"],
"aiArms": ["ہم یہ ریپازٹری کلون نہیں کر سکے۔"],
"aiOceC": ["اشاریہ جات کو فعال کریں۔"],
"ajHi4O": [
@@ -3929,6 +3928,7 @@
"pFRz_E": ["ان تبصروں کو اس پیغام سے باہر رکھیں"],
"pFagOn": ["سورس کی ترمیم"],
"pHYP6v": ["سائیڈ بار میں <0>حسبِ ضرورت بنائیں</0> <1/> <2>مہارتیں</2> کھولیں۔"],
+ "pI_bKs": ["چھلانگ کے لیے <0>اسپیس</0> · جھکنے کے لیے <1>↓</1>"],
"pJ7XCo": ["یہ صفحہ کسی مقامی فائل یا تصویر کا حوالہ نہیں دیتا۔"],
"pOo4Aa": ["سادہ متن"],
"pSimwP": [["editor"], " ورژن کے لیے نیا نام"],
@@ -4297,6 +4297,7 @@
"آپ کو اس ریپو میں پُش کرنے کی اجازت نہیں۔ «پیروی» پھر بھی آپ کی نقل تازہ رکھ سکتی ہے۔"
],
"uVbUP8": ["ترتیبات…"],
+ "uY5Z7P": ["کھیل ختم · دوبارہ کھیلنے کے لیے <0>اسپیس</0> دبائیں"],
"u_lS4C": ["کلون مکمل — پروجیکٹ کھولا جا رہا ہے"],
"uaUc6t": ["سرور دوبارہ چلائیں"],
"ubMwcO": ["ٹرمینل کا سیشن ختم ہو گیا (سگنل ", ["0"], ")۔"],
@@ -4447,7 +4448,6 @@
],
"wGSHzy": ["ایڈیٹر کے پہلے آٹھ ٹیبز میں سے کسی ایک کو فعال کریں۔"],
"wHZ58m": ["AI ", ["displayName"], " Desktop کے ساتھ کھولیں"],
- "wIM7ul": ["شروع کرنے کے لیے اسپیس دبائیں یا blob پر ٹیپ کریں"],
"wJijgU": ["مقام"],
"wJo9oS": ["تلاش بند کریں"],
"wQp1V3": ["<0>", ["src"], "</0> کا مرر"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index 6fffd7867..9fb28af81 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>مرر کا ماخذ ہٹا دیا گیا۔</0> دستاویز <1>{sr
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "<0>ok</0> بیرونی ٹرمینلز میں اس وقت تک نہیں چلے گا جب تک آپ اسے بعد میں فائل مینو سے شامل نہ کریں۔ OpenKnowledge کا بلٹ اِن ٹرمینل اور AI ٹولز کام کرتے رہتے ہیں۔"
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "چھلانگ کے لیے <0>اسپیس</0> · جھکنے کے لیے <1>↓</1>"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "خالی نوٹ"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "مکمل مطابقت پذیری — آپ کی ترامیم خودکار طور پر کمٹ اور آپ کے ریموٹ پر پُش ہوتی ہیں۔"
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "کھیل ختم · دوبارہ کھیلنے کے لیے اسپیس دبائیں"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "کھیل ختم · دوبارہ کھیلنے کے لیے <0>اسپیس</0> دبائیں"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "نئی {0} گفتگو"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "نیا ریکارڈ · دوبارہ کھیلنے کے لیے اسپیس دبائیں"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "نیا ریکارڈ · دوبارہ کھیلنے کے لیے <0>اسپیس</0> دبائیں"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "کسی دستاویز کو الگ ونڈو میں سلائیڈ ڈیک کے طور پر پیش کریں۔ یہ صرف OpenKnowledge ڈیسک ٹاپ ایپ میں کام کرتا ہے اور اس کے لیے Slidev CLI درکار ہے، جسے آپ الگ سے انسٹال کرتے ہیں۔ فعال ہونے پر یہ سائیڈبار میں Plugins کے نیچے ظاہر ہوتا ہے۔"
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "شروع کرنے کے لیے اسپیس دبائیں یا blob پر ٹیپ کریں"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "شروع کرنے کے لیے <0>اسپیس</0> دبائیں یا blob پر ٹیپ کریں"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "سورس کی تلاش"
msgid "Source undo or redo"
msgstr "سورس میں واپسی یا دوبارہ"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "چھلانگ کے لیے اسپیس · جھکنے کے لیے نیچے کا تیر"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "چھلانگ کے لیے اسپیس، جھکنے کے لیے نیچے کا تیر۔ بس یہی پورا کھیل ہے۔"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index f8a42dd5a..90584760d 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -320,7 +320,6 @@
"4mp6Tv": ["OpenKnowledge 列出了已安装的技能"],
"4niEzY": ["沙箱化的 HTML 嵌入——写下 HTML,实时查看渲染效果。"],
"4nj6n8": ["/api/config 返回了 HTTP ", ["code"]],
- "4o57um": ["游戏结束 · 按空格再玩一次"],
"4pDZ2N": ["已把“", ["0"], "”从其他所有位置移除——它的来源文件夹仍会加载"],
"4sKwf6": ["文件已存在"],
"4sUdTJ": ["带主题的预览"],
@@ -511,6 +510,7 @@
],
"7ZkJdV": ["未选择任何智能体——技能已保存,但没有安装到任何地方。"],
"7_bFEL": ["拖动 ", ["patternText"], " 以重新排序"],
+ "7a0YcF": ["按<0>空格</0>或点击 blob 开始"],
"7aNk5D": ["OpenKnowledge 编辑了 ", ["subject"]],
"7apDiJ": ["名为 <0>", ["sanitized"], "</0> 的文件夹这里已经有文件了。请换一个名字。"],
"7b3zu8": ["封面焦点位置"],
@@ -562,7 +562,6 @@
"8PifYj": ["Mermaid 图示"],
"8PmoQF": ["在空白或活动的文本位置打开插入菜单。"],
"8RtNI0": ["加载文档失败"],
- "8SrrDi": ["新纪录 · 按空格再玩一次"],
"8TvlHF": ["崩溃转储"],
"8UmUyc": [
"你的隧道对外提供的公开 URL。服务器会接受针对此主机的请求,并在其签发的 URL 中公布该地址。"
@@ -1705,7 +1704,6 @@
"QQbwzK": ["没有可用的智能体。"],
"QQghPu": ["安装到 Claude Desktop"],
"QR5SP1": ["已创建模板"],
- "QUhYEG": ["空格跳跃 · 下方向键下蹲"],
"QWdKwH": ["移动"],
"QYTOaN": ["之后可以在<0>「设置 → 同步」</0>中更改。"],
"QYfQdv": [["displayName"], " CLI"],
@@ -2429,6 +2427,7 @@
"ac8G0O": ["触发时"],
"adsMWO": ["正在解析差异"],
"ah_ekO": ["“", ["name"], "”已是最新"],
+ "ai40UJ": ["新纪录 · 按<0>空格</0>再玩一次"],
"aiArms": ["我们无法克隆这个仓库。"],
"aiOceC": ["启用索引"],
"ajHi4O": ["自动同步已暂停——你没有推送到这个仓库的权限。切换到「跟随」以继续接收更新。"],
@@ -3397,6 +3396,7 @@
"pFRz_E": ["不要把这些评论放进这条消息"],
"pFagOn": ["源码编辑"],
"pHYP6v": ["在侧边栏中打开<0>自定义</0> <1/> <2>技能</2>。"],
+ "pI_bKs": ["<0>空格</0>跳跃 · <1>↓</1>下蹲"],
"pJ7XCo": ["此页面未引用任何本地文件或图片。"],
"pOo4Aa": ["纯文本"],
"pSimwP": [["editor"], " 版本的新名称"],
@@ -3729,6 +3729,7 @@
"uUCrBv": ["符号链接"],
"uUiiyC": ["你没有推送到这个仓库的权限。「跟随」仍然可以让你的副本保持最新。"],
"uVbUP8": ["设置…"],
+ "uY5Z7P": ["游戏结束 · 按<0>空格</0>再玩一次"],
"u_lS4C": ["克隆完成——正在打开项目"],
"uaUc6t": ["重启服务器"],
"ubMwcO": ["终端会话已结束(信号 ", ["0"], ")。"],
@@ -3832,7 +3833,6 @@
"wFyXOW": ["属性有改动,但无法比较——YAML 解析失败。两个版本均按原样显示。"],
"wGSHzy": ["激活编辑器的前八个标签页之一。"],
"wHZ58m": ["用 AI ", ["displayName"], " Desktop 打开"],
- "wIM7ul": ["按空格或点击 blob 开始"],
"wJijgU": ["位置"],
"wJo9oS": ["关闭查找"],
"wQp1V3": ["<0>", ["src"], "</0> 的镜像"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index 27d836faa..ed961b4cb 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>镜像来源已被移除。</0>文档 <1>{src}</1> 已不可用。"
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "在你之后从「文件」菜单里添加之前,<0>ok</0> 不会在外部终端中运行。OpenKnowledge 的内置终端和 AI 工具照常可用。"
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>空格</0>跳跃 · <1>↓</1>下蹲"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "空白笔记"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "完全同步——你的编辑会自动提交并推送到你的远程仓库。"
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "游戏结束 · 按空格再玩一次"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "游戏结束 · 按<0>空格</0>再玩一次"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "新建 {0} 对话"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "新纪录 · 按空格再玩一次"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "新纪录 · 按<0>空格</0>再玩一次"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "在独立窗口中将文档演示为幻灯片。仅在 OpenKnowledge 桌面应用中可用,并需要单独安装 Slidev CLI。启用后会显示在侧边栏的 Plugins 下。"
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "按空格或点击 blob 开始"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "按<0>空格</0>或点击 blob 开始"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "源码搜索"
msgid "Source undo or redo"
msgstr "源码撤销或重做"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "空格跳跃 · 下方向键下蹲"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "空格跳跃,下方向键下蹲。整个游戏就这么简单。"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index 415f20cac..40344715b 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -324,7 +324,6 @@
"4mp6Tv": ["OpenKnowledge 列出了已安裝的技能"],
"4niEzY": ["沙箱化的 HTML 嵌入——寫下 HTML,即時看到顯示結果。"],
"4nj6n8": ["/api/config 傳回了 HTTP ", ["code"]],
- "4o57um": ["遊戲結束 · 按空白鍵再玩一次"],
"4pDZ2N": ["已把「", ["0"], "」從其他所有位置移除——它的來源資料夾仍然會載入"],
"4sKwf6": ["檔案已存在"],
"4sUdTJ": ["帶主題的預覽"],
@@ -515,6 +514,7 @@
],
"7ZkJdV": ["沒有選取任何代理——技能已儲存,但沒有安裝到任何地方。"],
"7_bFEL": ["拖曳 ", ["patternText"], " 以重新排序"],
+ "7a0YcF": ["按<0>空白鍵</0>或點擊 blob 開始"],
"7aNk5D": ["OpenKnowledge 編輯了 ", ["subject"]],
"7apDiJ": ["名為 <0>", ["sanitized"], "</0> 的資料夾這裡已經有檔案了。請換一個名稱。"],
"7b3zu8": ["封面焦點位置"],
@@ -566,7 +566,6 @@
"8PifYj": ["Mermaid 圖表"],
"8PmoQF": ["在空白或作用中的文字位置開啟插入選單。"],
"8RtNI0": ["載入文件失敗"],
- "8SrrDi": ["新紀錄 · 按空白鍵再玩一次"],
"8TvlHF": ["當機傾印"],
"8UmUyc": [
"你的通道所提供的公開 URL。伺服器會接受針對此主機的請求,並在其發出的 URL 中公告此位址。"
@@ -1729,7 +1728,6 @@
"QQbwzK": ["沒有可用的代理。"],
"QQghPu": ["安裝到 Claude Desktop"],
"QR5SP1": ["已建立範本"],
- "QUhYEG": ["空白鍵跳躍 · 下方向鍵蹲下"],
"QWdKwH": ["移動"],
"QYTOaN": ["之後可以在<0>「設定 → 同步」</0>中變更。"],
"QYfQdv": [["displayName"], " CLI"],
@@ -2453,6 +2451,7 @@
"ac8G0O": ["觸發時"],
"adsMWO": ["正在解析差異"],
"ah_ekO": ["「", ["name"], "」已是最新"],
+ "ai40UJ": ["新紀錄 · 按<0>空白鍵</0>再玩一次"],
"aiArms": ["我們無法複製這個儲存庫。"],
"aiOceC": ["啟用索引"],
"ajHi4O": ["自動同步已暫停——你沒有推送到這個儲存庫的權限。切換到「跟隨」以繼續接收更新。"],
@@ -3427,6 +3426,7 @@
"pFRz_E": ["不要把這些註解放進這則訊息"],
"pFagOn": ["原始碼編輯"],
"pHYP6v": ["在側邊欄中開啟<0>自訂</0> <1/> <2>技能</2>。"],
+ "pI_bKs": ["<0>空白鍵</0>跳躍 · <1>↓</1>蹲下"],
"pJ7XCo": ["此頁面未引用任何本機檔案或圖片。"],
"pOo4Aa": ["純文字"],
"pSimwP": [["editor"], " 版本的新名稱"],
@@ -3761,6 +3761,7 @@
"uUCrBv": ["符號連結"],
"uUiiyC": ["你沒有推送到這個儲存庫的權限。「跟隨」仍然可以讓你的副本保持最新。"],
"uVbUP8": ["設定…"],
+ "uY5Z7P": ["遊戲結束 · 按<0>空白鍵</0>再玩一次"],
"u_lS4C": ["複製完成——正在開啟專案"],
"uaUc6t": ["重新啟動伺服器"],
"ubMwcO": ["終端機工作階段已結束(訊號 ", ["0"], ")。"],
@@ -3864,7 +3865,6 @@
"wFyXOW": ["屬性有變更,但無法比較——YAML 解析失敗。兩個版本均按原樣顯示。"],
"wGSHzy": ["切換到編輯器的前八個分頁之一。"],
"wHZ58m": ["用 AI ", ["displayName"], " Desktop 開啟"],
- "wIM7ul": ["按空白鍵或點擊 blob 開始"],
"wJijgU": ["位置"],
"wJo9oS": ["關閉尋找"],
"wQp1V3": ["<0>", ["src"], "</0> 的鏡像"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index 38cae5d5b..b2c59dec7 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -997,6 +997,10 @@ msgstr "<0>鏡像來源已移除。</0>文件 <1>{src}</1> 已無法使用。"
msgid "<0>ok</0> won't run in external terminals until you add it later from the File menu. OpenKnowledge's built-in terminal and AI tools keep working."
msgstr "在你之後從「檔案」選單裡加上之前,<0>ok</0> 不會在外部終端機中執行。OpenKnowledge 的內建終端機和 AI 工具照常可用。"
+#: src/components/OkBlobRunner.tsx
+msgid "<0>Space</0> to jump · <1>↓</1> to duck"
+msgstr "<0>空白鍵</0>跳躍 · <1>↓</1>蹲下"
+
#: src/components/settings/SkillTargetsPicker.tsx
msgid "~/.myteam/skills"
msgstr "~/.myteam/skills"
@@ -2023,7 +2027,6 @@ msgstr "空白筆記"
#: src/components/command-palette-commands.ts
#: src/components/EditorTabs.tsx
-#: src/components/HelpPopover.tsx
#: src/components/OkBlobRunnerPage.tsx
msgid "Blob Run"
msgstr "Blob Run"
@@ -5920,8 +5923,8 @@ msgid "Full sync — your edits are committed and pushed to your remote automati
msgstr "完全同步——你的編輯會自動提交並推送到你的遠端。"
#: src/components/OkBlobRunner.tsx
-msgid "Game over · press space to play again"
-msgstr "遊戲結束 · 按空白鍵再玩一次"
+msgid "Game over · press <0>Space</0> to play again"
+msgstr "遊戲結束 · 按<0>空白鍵</0>再玩一次"
#: src/lib/keyboard-shortcuts.ts
msgid "General"
@@ -7878,8 +7881,8 @@ msgid "New {0} chat"
msgstr "新的 {0} 對話"
#: src/components/OkBlobRunner.tsx
-msgid "New best · press space to play again"
-msgstr "新紀錄 · 按空白鍵再玩一次"
+msgid "New best · press <0>Space</0> to play again"
+msgstr "新紀錄 · 按<0>空白鍵</0>再玩一次"
#: src/components/NewWorktreeDialog.tsx
msgid "New branch <0>{trimmed}</0> will be created from <1>{currentBaseLabel}</1>, in its own worktree under <2>.ok/worktrees/</2>."
@@ -9630,8 +9633,8 @@ msgid "Present a document as a slide deck in its own window. Works in the OpenKn
msgstr "在獨立視窗中將文件展示為簡報。僅能在 OpenKnowledge 桌面應用程式中使用,並需要另外安裝 Slidev CLI。啟用後會顯示在側邊欄的 Plugins 下。"
#: src/components/OkBlobRunner.tsx
-msgid "Press space or tap the blob to start"
-msgstr "按空白鍵或點擊 blob 開始"
+msgid "Press <0>Space</0> or tap the blob to start"
+msgstr "按<0>空白鍵</0>或點擊 blob 開始"
#: src/components/EditorWorkspace.tsx
msgid "Press Space to pick up a tab. Use the arrow keys to move it within a tab strip, then press Space or Enter to drop it. Press Shift+F10 or the Menu key to open the tab context menu for split, close, pin, and other tab actions."
@@ -11844,10 +11847,6 @@ msgstr "原始碼搜尋"
msgid "Source undo or redo"
msgstr "原始碼復原或重做"
-#: src/components/OkBlobRunner.tsx
-msgid "Space to jump · down arrow to duck"
-msgstr "空白鍵跳躍 · 下方向鍵蹲下"
-
#: src/components/OkBlobRunnerPage.tsx
msgid "Space to jump, down arrow to duck. That is the whole game."
msgstr "空白鍵跳躍,下方向鍵蹲下。整個遊戲就這麼簡單。"
diff --git a/packages/core/src/bridge/bind-frontmatter-doc.ts b/packages/core/src/bridge/bind-frontmatter-doc.ts
index d7a845280..dfd95ef49 100644
--- a/packages/core/src/bridge/bind-frontmatter-doc.ts
+++ b/packages/core/src/bridge/bind-frontmatter-doc.ts
@@ -1,3 +1,4 @@
+
import type * as Y from 'yjs';
import type { Err, Ok, Result } from '../config/result.ts';
import { type FrontmatterValidationError, toFrontmatterIssue } from '../frontmatter/errors.ts';
diff --git a/packages/core/src/bridge/bridge-invariant.ts b/packages/core/src/bridge/bridge-invariant.ts
index 005627195..8bfdb40cd 100644
--- a/packages/core/src/bridge/bridge-invariant.ts
+++ b/packages/core/src/bridge/bridge-invariant.ts
@@ -1,3 +1,4 @@
+
import { fnv1aDigest } from './hash-util.ts';
export type BridgeInvariantSite = 'observer-b' | 'persistence' | 'test-harness';
diff --git a/packages/core/src/bridge/compose.ts b/packages/core/src/bridge/compose.ts
index f4cc8a286..2a597ec3d 100644
--- a/packages/core/src/bridge/compose.ts
+++ b/packages/core/src/bridge/compose.ts
@@ -1,3 +1,4 @@
+
import { prependFrontmatter, stripFrontmatter } from '../extensions/frontmatter.ts';
export type ComposeAdjustment = 'none' | 'body' | 'frontmatter' | 'unresolved';
diff --git a/packages/core/src/bridge/divergence-locate.ts b/packages/core/src/bridge/divergence-locate.ts
index 6b505314d..d979f4b39 100644
--- a/packages/core/src/bridge/divergence-locate.ts
+++ b/packages/core/src/bridge/divergence-locate.ts
@@ -1,3 +1,4 @@
+
import { findFirstDivergenceIndex } from './tolerance-telemetry.ts';
export const BRIDGE_LINE_KINDS = [
diff --git a/packages/core/src/bridge/doc-boundary-space.ts b/packages/core/src/bridge/doc-boundary-space.ts
index 8fb428b90..01ef76a9f 100644
--- a/packages/core/src/bridge/doc-boundary-space.ts
+++ b/packages/core/src/bridge/doc-boundary-space.ts
@@ -1,3 +1,4 @@
+
import { FRONTMATTER_RE, stripFrontmatter } from '../extensions/frontmatter.ts';
import { carriedEdgeEmpties, type DocEdgeEmpties } from '../markdown/doc-edge-blank-runs.ts';
diff --git a/packages/core/src/bridge/growth-detect.ts b/packages/core/src/bridge/growth-detect.ts
index 9d9c244b0..463e89595 100644
--- a/packages/core/src/bridge/growth-detect.ts
+++ b/packages/core/src/bridge/growth-detect.ts
@@ -1,3 +1,4 @@
+
const DEFAULT_MIN_SUBSTANTIVE_LINE_LENGTH = 16;
export const DUPLICATION_GATE_MIN_LINE_LENGTH = 8;
diff --git a/packages/core/src/bridge/intraline-predicate.ts b/packages/core/src/bridge/intraline-predicate.ts
index c43fdd7e7..0939885bb 100644
--- a/packages/core/src/bridge/intraline-predicate.ts
+++ b/packages/core/src/bridge/intraline-predicate.ts
@@ -1,3 +1,4 @@
+
export function rawLineCounts(doc: string): Map<string, number> {
const counts = new Map<string, number>();
for (const line of doc.split('\n')) {
diff --git a/packages/core/src/bridge/merge-three-way.ts b/packages/core/src/bridge/merge-three-way.ts
index 251560a35..c0dc65705 100644
--- a/packages/core/src/bridge/merge-three-way.ts
+++ b/packages/core/src/bridge/merge-three-way.ts
@@ -65,6 +65,7 @@ export function tryLineLevelCombine(
return { clean: true, merged };
}
+
export type BridgeMergeContentLossSide = 'user' | 'agent';
export type BridgeMergeContentLossWhich = 'substring' | 'order' | 'growth';
diff --git a/packages/core/src/bridge/normalize.ts b/packages/core/src/bridge/normalize.ts
index 01ac80099..dcc5b0690 100644
--- a/packages/core/src/bridge/normalize.ts
+++ b/packages/core/src/bridge/normalize.ts
@@ -1,3 +1,4 @@
+
import { stripFrontmatter } from '../extensions/frontmatter.ts';
import { bodyEdgeEmpties } from './doc-boundary-space.ts';
diff --git a/packages/core/src/bridge/pm-structural-equivalence.ts b/packages/core/src/bridge/pm-structural-equivalence.ts
index 754dc5cc2..0be5203e4 100644
--- a/packages/core/src/bridge/pm-structural-equivalence.ts
+++ b/packages/core/src/bridge/pm-structural-equivalence.ts
@@ -32,6 +32,7 @@ const BR_SENTINEL: PmStructuralNode = { type: '__br__' };
const BR_LITERAL_RE = /^<br\s*\/?>$/i;
+
interface DegradeEntry {
readonly label: string;
readonly severity: ToleranceClassSeverity;
@@ -127,6 +128,7 @@ export interface ComparePmStructuralOptions {
ignoreAttrs?: (attrKey: string) => boolean;
}
+
/** Rebuild a node with `fn` applied to each child; identity when childless.
* Shared by the degrade canonicalizers so none re-implements the walk. */
function mapChildren(
@@ -248,6 +250,7 @@ function applyDegrades(tree: PmStructuralNode): {
return { normalized: current, fired };
}
+
export function comparePmStructural(
expected: PmStructuralNode,
actual: PmStructuralNode,
diff --git a/packages/core/src/bridge/subsequence.ts b/packages/core/src/bridge/subsequence.ts
index af20de1e2..dca644141 100644
--- a/packages/core/src/bridge/subsequence.ts
+++ b/packages/core/src/bridge/subsequence.ts
@@ -1,3 +1,4 @@
+
/** True when `needle` is a subsequence of `haystack` (two-pointer, O(n+m)):
* insertions in `haystack` are free; any dropped or substituted `needle` byte
* fails. */
diff --git a/packages/core/src/markdown/callout-transformer.ts b/packages/core/src/markdown/callout-transformer.ts
index 83d47404a..a363dfd54 100644
--- a/packages/core/src/markdown/callout-transformer.ts
+++ b/packages/core/src/markdown/callout-transformer.ts
@@ -1,3 +1,4 @@
+
import type { Blockquote, Paragraph, Root } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/code-fence.ts b/packages/core/src/markdown/code-fence.ts
index 9807a7e82..4499dbc92 100644
--- a/packages/core/src/markdown/code-fence.ts
+++ b/packages/core/src/markdown/code-fence.ts
@@ -1,3 +1,4 @@
+
export function selectFenceChar(info: string): '`' | '~' {
return info.includes('`') ? '~' : '`';
}
diff --git a/packages/core/src/markdown/comment-promoter.ts b/packages/core/src/markdown/comment-promoter.ts
index 7415c474a..34704165b 100644
--- a/packages/core/src/markdown/comment-promoter.ts
+++ b/packages/core/src/markdown/comment-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Paragraph, PhrasingContent, Root, RootContent, Text } from 'mdast';
import { SKIP, visit } from 'unist-util-visit';
import type { VFile } from 'vfile';
diff --git a/packages/core/src/markdown/dedent-block-jsx-close.ts b/packages/core/src/markdown/dedent-block-jsx-close.ts
index ece5c02a1..b6299a948 100644
--- a/packages/core/src/markdown/dedent-block-jsx-close.ts
+++ b/packages/core/src/markdown/dedent-block-jsx-close.ts
@@ -1,3 +1,4 @@
+
import { findFencedRegions, isInsideFence } from './fence-regions.ts';
const INDENTED_BLOCK_JSX_CLOSE_RE = /^([ ]{1,3})(<\/[A-Z][A-Za-z0-9_]*\s*>)([ \t]*)$/gm;
diff --git a/packages/core/src/markdown/details-accordion-promoter.ts b/packages/core/src/markdown/details-accordion-promoter.ts
index 54774764a..acd398aa6 100644
--- a/packages/core/src/markdown/details-accordion-promoter.ts
+++ b/packages/core/src/markdown/details-accordion-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Paragraph, Parent, Root, Text } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/div-align-promoter.ts b/packages/core/src/markdown/div-align-promoter.ts
index 43ecdc709..ba9b56384 100644
--- a/packages/core/src/markdown/div-align-promoter.ts
+++ b/packages/core/src/markdown/div-align-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Paragraph, Parent, Root, Text } from 'mdast';
import type { MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/fence-regions.ts b/packages/core/src/markdown/fence-regions.ts
index 6d3f3643e..4513da9bb 100644
--- a/packages/core/src/markdown/fence-regions.ts
+++ b/packages/core/src/markdown/fence-regions.ts
@@ -1,3 +1,4 @@
+
const FENCE_RE = /^(`{3,}|~{3,})/gm;
export function findFencedRegions(src: string): Array<[number, number]> {
diff --git a/packages/core/src/markdown/fixtures/index.ts b/packages/core/src/markdown/fixtures/index.ts
index 00f5771ee..6931623c7 100644
--- a/packages/core/src/markdown/fixtures/index.ts
+++ b/packages/core/src/markdown/fixtures/index.ts
@@ -1,3 +1,4 @@
+
import { readFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
@@ -8,6 +9,7 @@ function fixturePath(...segments: string[]): string {
return resolve(FIXTURES_DIR, ...segments);
}
+
interface GfmExample {
section: string;
markdown: string;
@@ -17,6 +19,7 @@ export function loadGfmExamples(): GfmExample[] {
return JSON.parse(readFileSync(fixturePath('gfm', 'examples.json'), 'utf8')) as GfmExample[];
}
+
interface MdxCrashEntry {
id: string;
input: string;
@@ -68,6 +71,7 @@ export function loadLargeEmbedFixtures(): LargeEmbedFixture[] {
) as LargeEmbedFixture[];
}
+
export function loadPrd6955Before(): string {
return readFileSync(fixturePath('regression', 'prd-6955-before.md'), 'utf8');
}
@@ -76,6 +80,7 @@ export function loadPrd6955CorruptedTriplicated(): string {
return readFileSync(fixturePath('regression', 'prd-6955-corrupted-triplicated.md'), 'utf8');
}
+
export interface NgPinnedCase {
id: string;
name: string;
@@ -92,6 +97,7 @@ export function loadNgPinnedCases(): NgPinnedCase[] {
) as NgPinnedCase[];
}
+
export function loadLargeRealistic(): string {
return readFileSync(fixturePath('perf', 'large-realistic.md'), 'utf8');
}
diff --git a/packages/core/src/markdown/fixtures/perf/generate.ts b/packages/core/src/markdown/fixtures/perf/generate.ts
index 8b1eb8519..daa3ef82b 100644
--- a/packages/core/src/markdown/fixtures/perf/generate.ts
+++ b/packages/core/src/markdown/fixtures/perf/generate.ts
@@ -1,3 +1,4 @@
+
import { writeFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
@@ -10,6 +11,7 @@ const BASELINE_ONLY_COUNTS = [500, 2500] as const;
const SEED = 0xf1de1117;
+
function mulberry32(seed: number): () => number {
let a = seed >>> 0;
return () => {
@@ -36,6 +38,7 @@ function pickWeighted<T>(rand: () => number, items: readonly [T, number][]): T {
return items[items.length - 1][0];
}
+
const WORDS = [
'lorem',
'ipsum',
@@ -153,6 +156,7 @@ function mdxBlock(rand: () => number): string {
return `<${name}>\n\n${sentence(rand)}\n\n</${name}>`;
}
+
type BlockKind = 'paragraph' | 'heading' | 'list' | 'code' | 'table' | 'mdx';
const MIX: readonly [BlockKind, number][] = [
@@ -191,6 +195,7 @@ function generateDocument(blockCount: number, seed: number): string {
return `${blocks.join('\n\n')}\n`;
}
+
function main(): void {
for (const count of [...BLOCK_COUNTS, ...BASELINE_ONLY_COUNTS]) {
const doc = generateDocument(count, SEED);
diff --git a/packages/core/src/markdown/guard-flanking-matrix.ts b/packages/core/src/markdown/guard-flanking-matrix.ts
index 420dc0fe5..32c055c5b 100644
--- a/packages/core/src/markdown/guard-flanking-matrix.ts
+++ b/packages/core/src/markdown/guard-flanking-matrix.ts
@@ -7,6 +7,7 @@ import {
import { BACKSLASH_GUARD_SUBSTITUTIONS, encodeBackslashEscapes } from './backslash-escape-guard.ts';
import { ENTITY_REF_GUARD_SUBSTITUTIONS, encodeEntityRefs } from './entity-ref-guard.ts';
+
export const ATTENTION_DELIMITERS = ['*', '_', '**', '~~', '=='] as const;
export type FlankClass = 'whitespace' | 'punctuation' | 'other';
diff --git a/packages/core/src/markdown/handler-shadow-audit.ts b/packages/core/src/markdown/handler-shadow-audit.ts
index 2653473da..283913255 100644
--- a/packages/core/src/markdown/handler-shadow-audit.ts
+++ b/packages/core/src/markdown/handler-shadow-audit.ts
@@ -1,3 +1,4 @@
+
export interface HandlerShadowWitness {
input: string;
expect: 'byte' | 'byte-and-reparse-type';
diff --git a/packages/core/src/markdown/highlight-promoter.ts b/packages/core/src/markdown/highlight-promoter.ts
index da0a81d23..5d1000cc4 100644
--- a/packages/core/src/markdown/highlight-promoter.ts
+++ b/packages/core/src/markdown/highlight-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parent, PhrasingContent, Root, Text } from 'mdast';
import type { MdxJsxTextElement } from 'mdast-util-mdx';
import { SKIP, visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/html-to-mdast.ts b/packages/core/src/markdown/html-to-mdast.ts
index 787315157..9681c0056 100644
--- a/packages/core/src/markdown/html-to-mdast.ts
+++ b/packages/core/src/markdown/html-to-mdast.ts
@@ -1,3 +1,4 @@
+
import type { Element as HastElement, Root as HastRoot } from 'hast';
import type { List, Nodes as MdastNodes, Root as MdastRoot } from 'mdast';
import rehypeParse from 'rehype-parse';
@@ -128,7 +129,8 @@ export function htmlToMdast(html: string, options?: HtmlToMdastOptions): MdastRo
throw new HtmlPayloadTooLargeError(html.length, maxBytes);
}
- const processor = unified().use(rehypeParse, { fragment: true });
+ const processor = unified()
+ .use(rehypeParse, { fragment: true });
for (const plugin of cleanupPlugins) {
processor.use(plugin);
diff --git a/packages/core/src/markdown/image-promoter.ts b/packages/core/src/markdown/image-promoter.ts
index 706fa9afb..994eb6917 100644
--- a/packages/core/src/markdown/image-promoter.ts
+++ b/packages/core/src/markdown/image-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Image, Paragraph, Root } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/index.ts b/packages/core/src/markdown/index.ts
index 779e27500..ec1ac1b7e 100644
--- a/packages/core/src/markdown/index.ts
+++ b/packages/core/src/markdown/index.ts
@@ -1,3 +1,4 @@
+
import {
type FromProseMirrorOptions,
fromPmMark,
@@ -206,6 +207,7 @@ export class MarkdownManager {
}
}
+
const registry = createRegistry();
function destructureAttrs(
@@ -254,6 +256,7 @@ function destructureAttrs(
return result;
}
+
function hasDirtyDescendant(node: PmNode): boolean {
let found = false;
node.descendants((child) => {
@@ -276,6 +279,7 @@ function effectiveDirty(node: PmNode, freshnessChecker?: StructuralFreshnessChec
return freshnessChecker ? freshnessChecker.isDiverged(node.toJSON()) : false;
}
+
function isEmptyMdastParagraph(node: MdastNodes): boolean {
if (node.type !== 'paragraph') return false;
const children = node.children ?? [];
@@ -344,6 +348,7 @@ function extractTextFromMdastNodes(nodes: MdastNodes[]): string {
return out;
}
+
import {
AUDIO_EXTENSIONS,
FILE_ATTACHMENT_EXTENSIONS,
@@ -596,6 +601,7 @@ function buildMdastToPmHandlers(
}));
}
+
if (m.emphasis) {
handlers.emphasis = toPmMark(m.emphasis, (node: Emphasis) => ({
sourceDelimiter: node.data?.sourceDelimiter ?? '*',
@@ -676,6 +682,7 @@ function buildMdastToPmHandlers(
}));
}
+
if (m.link) {
const sourceLiteralMark = m.sourceLiteral;
handlers.link = (node: Link, _parent: MdastParent, state: MdastToPmState) => {
@@ -973,6 +980,7 @@ function buildMdastToPmHandlers(
};
}
+
const blockUnknownHandler = (node: {
type: string;
position?: { start: { offset: number }; end: { offset: number } };
@@ -1098,6 +1106,7 @@ function buildMdastToPmHandlers(
return handlers as RemarkProseMirrorOptions['handlers'];
}
+
function buildPmToMdastHandlers(
schema: Schema,
freshness: FreshnessCheckerHolder,
diff --git a/packages/core/src/markdown/lint/applies-to.ts b/packages/core/src/markdown/lint/applies-to.ts
index fa0be9e86..b79e9aef7 100644
--- a/packages/core/src/markdown/lint/applies-to.ts
+++ b/packages/core/src/markdown/lint/applies-to.ts
@@ -1,3 +1,4 @@
+
import picomatch from 'picomatch';
import { SUPPORTED_DOC_EXTENSIONS } from '../../constants/doc-extensions.ts';
diff --git a/packages/core/src/markdown/lint/config-files.ts b/packages/core/src/markdown/lint/config-files.ts
index 312c9c74b..94b34dee1 100644
--- a/packages/core/src/markdown/lint/config-files.ts
+++ b/packages/core/src/markdown/lint/config-files.ts
@@ -1,3 +1,4 @@
+
const MARKDOWNLINT_JSON_CONFIG_FILES: ReadonlySet<string> = new Set([
'.markdownlint.json',
'.markdownlint.jsonc',
diff --git a/packages/core/src/markdown/lint/config-schemas.ts b/packages/core/src/markdown/lint/config-schemas.ts
index 3d4814597..7d97004fb 100644
--- a/packages/core/src/markdown/lint/config-schemas.ts
+++ b/packages/core/src/markdown/lint/config-schemas.ts
@@ -51,6 +51,7 @@ const fullPluginShape = Object.fromEntries(
LINT_PLUGINS.map((plugin) => [plugin.id, plugin.sliceSchema]),
) as z.ZodRawShape;
+
export const LinterConfigSchema = z.object({
enabled: z.boolean(),
plugins: z.object(fullPluginShape),
diff --git a/packages/core/src/markdown/lint/default-config.ts b/packages/core/src/markdown/lint/default-config.ts
index d48eea5e4..a51f2ffb0 100644
--- a/packages/core/src/markdown/lint/default-config.ts
+++ b/packages/core/src/markdown/lint/default-config.ts
@@ -6,6 +6,7 @@ export const DEFAULT_MARKDOWNLINT_CONFIG: Record<string, MarkdownlintRuleSetting
MD013: false,
};
+
export function resolveMarkdownlintConfig(
rules: Record<string, MarkdownlintRuleSetting> | undefined,
): Configuration {
diff --git a/packages/core/src/markdown/lint/frontmatter-schema-edit.ts b/packages/core/src/markdown/lint/frontmatter-schema-edit.ts
index ef478e268..9c9542661 100644
--- a/packages/core/src/markdown/lint/frontmatter-schema-edit.ts
+++ b/packages/core/src/markdown/lint/frontmatter-schema-edit.ts
@@ -1,3 +1,4 @@
+
import { CANONICAL_SCHEMA_DIALECT_URIS, DEFAULT_SCHEMA_DIALECT } from './frontmatter-validate.ts';
export interface FrontmatterFieldConstraint {
diff --git a/packages/core/src/markdown/lint/frontmatter-validate.ts b/packages/core/src/markdown/lint/frontmatter-validate.ts
index eba37cee7..ca6eed91c 100644
--- a/packages/core/src/markdown/lint/frontmatter-validate.ts
+++ b/packages/core/src/markdown/lint/frontmatter-validate.ts
@@ -1,3 +1,4 @@
+
import Ajv, { type ValidateFunction } from 'ajv';
import Ajv2019 from 'ajv/dist/2019.js';
import Ajv2020 from 'ajv/dist/2020.js';
diff --git a/packages/core/src/markdown/lint/index.ts b/packages/core/src/markdown/lint/index.ts
index ae5ff2924..9c2a0875e 100644
--- a/packages/core/src/markdown/lint/index.ts
+++ b/packages/core/src/markdown/lint/index.ts
@@ -1,3 +1,4 @@
+
import { LINT_PLUGINS, type LinterConfig } from './plugins.ts';
import type { LintDiagnostic } from './types.ts';
diff --git a/packages/core/src/markdown/lint/okf-frontmatter/materialize.ts b/packages/core/src/markdown/lint/okf-frontmatter/materialize.ts
index 7a5af097e..f438f1b16 100644
--- a/packages/core/src/markdown/lint/okf-frontmatter/materialize.ts
+++ b/packages/core/src/markdown/lint/okf-frontmatter/materialize.ts
@@ -1,3 +1,4 @@
+
import type { OkfRuleId } from '../okf-rule-meta.ts';
import { fileNameFor, OKF_SCHEMA_DIR, okfSchemaPathFor } from './paths.ts';
import { OKF_FRONTMATTER_REGISTRY } from './registry.ts';
diff --git a/packages/core/src/markdown/lint/okf-frontmatter/paths.ts b/packages/core/src/markdown/lint/okf-frontmatter/paths.ts
index 1ee913527..c290b6878 100644
--- a/packages/core/src/markdown/lint/okf-frontmatter/paths.ts
+++ b/packages/core/src/markdown/lint/okf-frontmatter/paths.ts
@@ -1,3 +1,4 @@
+
import type { OkfRuleId } from '../okf-rule-meta.ts';
export const OKF_SCHEMA_DIR = '.ok/okf';
diff --git a/packages/core/src/markdown/lint/okf-frontmatter/registry.ts b/packages/core/src/markdown/lint/okf-frontmatter/registry.ts
index de09740c5..5168602d5 100644
--- a/packages/core/src/markdown/lint/okf-frontmatter/registry.ts
+++ b/packages/core/src/markdown/lint/okf-frontmatter/registry.ts
@@ -1,3 +1,4 @@
+
import { compileAppliesTo } from '../applies-to.ts';
import { validateFrontmatterSource } from '../frontmatter-validate.ts';
import { isOkfRuleEnabled, type OkfRuleId, type OkfRuleToggles } from '../okf-rule-meta.ts';
diff --git a/packages/core/src/markdown/lint/okf-frontmatter/schemas.ts b/packages/core/src/markdown/lint/okf-frontmatter/schemas.ts
index f1c37671b..89845d3d5 100644
--- a/packages/core/src/markdown/lint/okf-frontmatter/schemas.ts
+++ b/packages/core/src/markdown/lint/okf-frontmatter/schemas.ts
@@ -1,3 +1,4 @@
+
// file-level form is deliberate: the sibling `biome-ignore` must sit on the line
// oxlint-disable unicorn/no-thenable
diff --git a/packages/core/src/markdown/lint/okf-project/rules.ts b/packages/core/src/markdown/lint/okf-project/rules.ts
index 6d691ae2b..8b476332e 100644
--- a/packages/core/src/markdown/lint/okf-project/rules.ts
+++ b/packages/core/src/markdown/lint/okf-project/rules.ts
@@ -1,3 +1,4 @@
+
import { SUPPORTED_DOC_EXTENSIONS } from '../../../constants/doc-extensions.ts';
import { isOkfRuleEnabled, type OkfRuleId, type OkfRuleToggles } from '../okf-rule-meta.ts';
diff --git a/packages/core/src/markdown/lint/okf-rule-meta.ts b/packages/core/src/markdown/lint/okf-rule-meta.ts
index 4de50d79f..44913a9dc 100644
--- a/packages/core/src/markdown/lint/okf-rule-meta.ts
+++ b/packages/core/src/markdown/lint/okf-rule-meta.ts
@@ -1,3 +1,4 @@
+
export const OKF_RULE_IDS = [
'no-wiki-links',
'log-shape',
diff --git a/packages/core/src/markdown/lint/okf-rules.ts b/packages/core/src/markdown/lint/okf-rules.ts
index 1d5538421..d0999b62e 100644
--- a/packages/core/src/markdown/lint/okf-rules.ts
+++ b/packages/core/src/markdown/lint/okf-rules.ts
@@ -1,3 +1,4 @@
+
import { isOkfRuleEnabled, type OkfRuleId, type OkfRuleToggles } from './okf-rule-meta.ts';
import type { OkfRule } from './okf-runner.ts';
import { indexShape } from './rules/index-shape.ts';
diff --git a/packages/core/src/markdown/lint/okf-runner.ts b/packages/core/src/markdown/lint/okf-runner.ts
index de130e3f4..fabb08d6e 100644
--- a/packages/core/src/markdown/lint/okf-runner.ts
+++ b/packages/core/src/markdown/lint/okf-runner.ts
@@ -1,3 +1,4 @@
+
import type { Root } from 'mdast';
import remarkFrontmatter from 'remark-frontmatter';
import remarkGfm from 'remark-gfm';
diff --git a/packages/core/src/markdown/lint/plugins.ts b/packages/core/src/markdown/lint/plugins.ts
index 4b9df9c56..03efcf66c 100644
--- a/packages/core/src/markdown/lint/plugins.ts
+++ b/packages/core/src/markdown/lint/plugins.ts
@@ -1,3 +1,4 @@
+
import { z } from 'zod';
import { DEFAULT_MARKDOWNLINT_CONFIG, resolveMarkdownlintConfig } from './default-config.ts';
import {
@@ -17,6 +18,7 @@ import {
type OkfSlice,
} from './types.ts';
+
const MarkdownlintRuleSettingSchema = z.union([
z.boolean(),
z.enum(MARKDOWNLINT_RULE_SEVERITIES),
diff --git a/packages/core/src/markdown/lint/rules/index-shape.ts b/packages/core/src/markdown/lint/rules/index-shape.ts
index 59fe9b87d..fcbb1b56c 100644
--- a/packages/core/src/markdown/lint/rules/index-shape.ts
+++ b/packages/core/src/markdown/lint/rules/index-shape.ts
@@ -1,3 +1,4 @@
+
import type { List, ListItem } from 'mdast';
import { EXIT, visit } from 'unist-util-visit';
import { defineScopedOkfRule } from '../okf-runner.ts';
diff --git a/packages/core/src/markdown/lint/rules/log-shape.ts b/packages/core/src/markdown/lint/rules/log-shape.ts
index e0159519f..431e4e9c8 100644
--- a/packages/core/src/markdown/lint/rules/log-shape.ts
+++ b/packages/core/src/markdown/lint/rules/log-shape.ts
@@ -1,3 +1,4 @@
+
import type { Heading } from 'mdast';
import { toString as headingText } from 'mdast-util-to-string';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/lint/rules/no-wiki-links.ts b/packages/core/src/markdown/lint/rules/no-wiki-links.ts
index 2123e977f..f75a04d15 100644
--- a/packages/core/src/markdown/lint/rules/no-wiki-links.ts
+++ b/packages/core/src/markdown/lint/rules/no-wiki-links.ts
@@ -1,3 +1,4 @@
+
import type { Point } from 'unist';
import { visit } from 'unist-util-visit';
import { defineOkfRule } from '../okf-runner.ts';
diff --git a/packages/core/src/markdown/lint/rules/reserved-casing.ts b/packages/core/src/markdown/lint/rules/reserved-casing.ts
index 89ef3e4a9..c8b4d8f28 100644
--- a/packages/core/src/markdown/lint/rules/reserved-casing.ts
+++ b/packages/core/src/markdown/lint/rules/reserved-casing.ts
@@ -1,3 +1,4 @@
+
import { SUPPORTED_DOC_EXTENSIONS } from '../../../constants/doc-extensions.ts';
import { defineOkfRule } from '../okf-runner.ts';
diff --git a/packages/core/src/markdown/lint/types.ts b/packages/core/src/markdown/lint/types.ts
index 2a8f4a279..4fa9a5a27 100644
--- a/packages/core/src/markdown/lint/types.ts
+++ b/packages/core/src/markdown/lint/types.ts
@@ -1,3 +1,4 @@
+
import type { BrokenLinkReason } from '../../schemas/api/agent-write.ts';
import type { OkfRuleId } from './okf-rule-meta.ts';
@@ -105,6 +106,7 @@ export interface OkfSlice {
generate?: { index?: boolean };
}
+
interface RuleOptionSpecBase {
key: string;
description: string;
diff --git a/packages/core/src/markdown/lint/validation-counts.ts b/packages/core/src/markdown/lint/validation-counts.ts
index 98238656e..437cc539a 100644
--- a/packages/core/src/markdown/lint/validation-counts.ts
+++ b/packages/core/src/markdown/lint/validation-counts.ts
@@ -1,3 +1,4 @@
+
export interface ValidationSourceCounts {
errorCount: number;
warningCount: number;
diff --git a/packages/core/src/markdown/math-promoter.ts b/packages/core/src/markdown/math-promoter.ts
index a5b511f25..bd79424c7 100644
--- a/packages/core/src/markdown/math-promoter.ts
+++ b/packages/core/src/markdown/math-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Code, Root } from 'mdast';
import type { Math as MdastMath } from 'mdast-util-math';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
diff --git a/packages/core/src/markdown/mdast-to-hast-handlers.ts b/packages/core/src/markdown/mdast-to-hast-handlers.ts
index ed89371d0..00fbc0035 100644
--- a/packages/core/src/markdown/mdast-to-hast-handlers.ts
+++ b/packages/core/src/markdown/mdast-to-hast-handlers.ts
@@ -1,3 +1,4 @@
+
import type { Comment, Element, ElementContent, Properties } from 'hast';
import type { FootnoteDefinition, FootnoteReference } from 'mdast';
import type { MdxJsxFlowElement, MdxJsxTextElement } from 'mdast-util-mdx';
diff --git a/packages/core/src/markdown/mdast-to-html.ts b/packages/core/src/markdown/mdast-to-html.ts
index 8ce2b2492..df788a80d 100644
--- a/packages/core/src/markdown/mdast-to-html.ts
+++ b/packages/core/src/markdown/mdast-to-html.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root as HastRoot, Text as HastText } from 'hast';
import type { Root as MdastRoot, Text as MdastText } from 'mdast';
import type { Handler } from 'mdast-util-to-hast';
diff --git a/packages/core/src/markdown/merged-walker.ts b/packages/core/src/markdown/merged-walker.ts
index bfd7e3109..fa3cfcd86 100644
--- a/packages/core/src/markdown/merged-walker.ts
+++ b/packages/core/src/markdown/merged-walker.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parent, Root } from 'mdast';
import { SKIP, visit } from 'unist-util-visit';
import type { VFile } from 'vfile';
diff --git a/packages/core/src/markdown/mermaid-promoter.ts b/packages/core/src/markdown/mermaid-promoter.ts
index 1a897fca8..17ed2b829 100644
--- a/packages/core/src/markdown/mermaid-promoter.ts
+++ b/packages/core/src/markdown/mermaid-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Code, Root } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/parse-with-fallback.ts b/packages/core/src/markdown/parse-with-fallback.ts
index d988f4b8b..4aa0490c4 100644
--- a/packages/core/src/markdown/parse-with-fallback.ts
+++ b/packages/core/src/markdown/parse-with-fallback.ts
@@ -168,6 +168,7 @@ export function parseRecursive(
}
}
+
interface VFilePlace {
offset?: number;
start?: { offset?: number };
@@ -186,6 +187,7 @@ function extractErrorOffset(err: unknown): number | undefined {
return undefined;
}
+
interface Region {
start: number;
end: number;
@@ -209,6 +211,7 @@ function nearestBlankLineAfter(src: string, offset: number): number | null {
return null;
}
+
export interface TagEvent {
kind: 'open' | 'close' | 'self-close';
name: string;
@@ -355,6 +358,7 @@ function findFallbackRegion(src: string, errorOffset: number): Region {
return { start: blockStart, end: blockEnd };
}
+
interface SourceBlock {
src: string;
start: number;
@@ -452,6 +456,7 @@ function tryPerBlockFallback(
};
}
+
function wholeDocRawText(source: string): JSONContent {
return {
type: 'doc',
diff --git a/packages/core/src/markdown/parser-drop-closure.ts b/packages/core/src/markdown/parser-drop-closure.ts
index e6ab4fd57..43d420187 100644
--- a/packages/core/src/markdown/parser-drop-closure.ts
+++ b/packages/core/src/markdown/parser-drop-closure.ts
@@ -1,3 +1,4 @@
+
export type DroppedTokenAdjudication =
| {
kind: 'format-dof-axis';
diff --git a/packages/core/src/markdown/pipeline.ts b/packages/core/src/markdown/pipeline.ts
index 0e3224206..55736041c 100644
--- a/packages/core/src/markdown/pipeline.ts
+++ b/packages/core/src/markdown/pipeline.ts
@@ -1,3 +1,4 @@
+
import {
type FromProseMirrorOptions,
fromProseMirror,
diff --git a/packages/core/src/markdown/position-aware-join.ts b/packages/core/src/markdown/position-aware-join.ts
index 91cdf658f..ccf06e94d 100644
--- a/packages/core/src/markdown/position-aware-join.ts
+++ b/packages/core/src/markdown/position-aware-join.ts
@@ -1,3 +1,4 @@
+
import type { Join } from 'mdast-util-to-markdown';
import type { Position } from 'unist';
import { isBlankLineParagraph } from './zero-emission-blocks.ts';
diff --git a/packages/core/src/markdown/position-slice.ts b/packages/core/src/markdown/position-slice.ts
index 0f399d34c..e5b4c9eba 100644
--- a/packages/core/src/markdown/position-slice.ts
+++ b/packages/core/src/markdown/position-slice.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Root } from 'mdast';
import { visit } from 'unist-util-visit';
import type { VFile } from 'vfile';
@@ -476,7 +477,8 @@ export function applyPositionSliceToNode(
const first = source[startOff];
if (first !== '[' && first !== '<' && !node.title) {
node.data.sourceStyle = 'gfm-autolink';
- } else if (first === '[') {
+ }
+ else if (first === '[') {
const slice = source.slice(startOff, endOff);
const closeBracketIdx = slice.lastIndexOf('](');
if (closeBracketIdx !== -1) {
diff --git a/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts b/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts
index db10fa54b..ca225ce9b 100644
--- a/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts
+++ b/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts
@@ -1,3 +1,4 @@
+
import type { Comment, Element, Root, Text } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts b/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts
index 34068d103..3a2524a9a 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts
@@ -1,3 +1,4 @@
+
import type { Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts b/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts
index 93151d43b..2279a0189 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts b/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts
index 188f02d83..a0f467c42 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts b/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts
index 4ba2c3418..4e8542a21 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts b/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts
index 1a74b1272..a3c96b24a 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts
@@ -1,3 +1,4 @@
+
import type { Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts b/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts
index de35e7b79..e95cf43d6 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts
@@ -1,3 +1,4 @@
+
import type { Comment, Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts b/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts
index b4be1b2ea..ffdb4d5b5 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts
@@ -1,3 +1,4 @@
+
import type { Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts b/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts
index 3c8d88b7c..e2a96d1a7 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/resolve-image-url.ts b/packages/core/src/markdown/resolve-image-url.ts
index cf2c9da8e..0389575ac 100644
--- a/packages/core/src/markdown/resolve-image-url.ts
+++ b/packages/core/src/markdown/resolve-image-url.ts
@@ -1,3 +1,4 @@
+
import { isRelativeUrl } from './safe-url.ts';
function isDevDiagnosticContext(): boolean {
diff --git a/packages/core/src/markdown/safe-url.ts b/packages/core/src/markdown/safe-url.ts
index 4d3250d3a..8be632ba4 100644
--- a/packages/core/src/markdown/safe-url.ts
+++ b/packages/core/src/markdown/safe-url.ts
@@ -1,3 +1,4 @@
+
export const SAFE_URL_SCHEMES = ['https', 'http', 'mailto', 'tel', 'ftp', 'sms'] as const;
const SCHEME_ALT = SAFE_URL_SCHEMES.map((s) => `${s}:`).join('|');
diff --git a/packages/core/src/markdown/serialize-fidelity.test-helper.ts b/packages/core/src/markdown/serialize-fidelity.test-helper.ts
index 0dd54070e..96304e7a5 100644
--- a/packages/core/src/markdown/serialize-fidelity.test-helper.ts
+++ b/packages/core/src/markdown/serialize-fidelity.test-helper.ts
@@ -1,3 +1,4 @@
+
import type { JSONContent } from '@tiptap/core';
import type { Nodes } from 'mdast';
import { expect } from 'vitest';
diff --git a/packages/core/src/markdown/serialize-helpers.ts b/packages/core/src/markdown/serialize-helpers.ts
index 7cac5b042..93798cf83 100644
--- a/packages/core/src/markdown/serialize-helpers.ts
+++ b/packages/core/src/markdown/serialize-helpers.ts
@@ -1,3 +1,4 @@
+
import type { Node as PmNode } from '@tiptap/pm/model';
import type {
MdxJsxAttribute,
diff --git a/packages/core/src/markdown/single-dollar-math-promoter.ts b/packages/core/src/markdown/single-dollar-math-promoter.ts
index b012a5aff..8c08b7a04 100644
--- a/packages/core/src/markdown/single-dollar-math-promoter.ts
+++ b/packages/core/src/markdown/single-dollar-math-promoter.ts
@@ -1,3 +1,4 @@
+
import type { PhrasingContent, Root, Text } from 'mdast';
import type { InlineMath } from 'mdast-util-math';
import { SKIP, visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/to-markdown-handlers.ts b/packages/core/src/markdown/to-markdown-handlers.ts
index 3e79f8cb6..959cc0bd2 100644
--- a/packages/core/src/markdown/to-markdown-handlers.ts
+++ b/packages/core/src/markdown/to-markdown-handlers.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parents } from 'mdast';
import type { MdxJsxAttribute, MdxJsxExpressionAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import type { Handle, Info, State } from 'mdast-util-to-markdown';
diff --git a/packages/core/src/markdown/underline-promoter.ts b/packages/core/src/markdown/underline-promoter.ts
index 0f1b0f27d..6e6d73400 100644
--- a/packages/core/src/markdown/underline-promoter.ts
+++ b/packages/core/src/markdown/underline-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parent, Root } from 'mdast';
import type { MdxJsxTextElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/unknown-mdast-guard.ts b/packages/core/src/markdown/unknown-mdast-guard.ts
index 1a082bda7..932d7d2a8 100644
--- a/packages/core/src/markdown/unknown-mdast-guard.ts
+++ b/packages/core/src/markdown/unknown-mdast-guard.ts
@@ -1,3 +1,4 @@
+
import type { Root as MdastRoot } from 'mdast';
import type { VFile } from 'vfile';
diff --git a/packages/core/src/markdown/whitespace-char-ref.ts b/packages/core/src/markdown/whitespace-char-ref.ts
index d578476a7..ac9f5239b 100644
--- a/packages/core/src/markdown/whitespace-char-ref.ts
+++ b/packages/core/src/markdown/whitespace-char-ref.ts
@@ -1,3 +1,4 @@
+
const INLINE_WHITESPACE_BY_CODE: ReadonlyMap<number, string> = new Map([
[0x20, ' '],
[0x09, '\t'],
diff --git a/packages/core/src/markdown/wiki-link-micromark.ts b/packages/core/src/markdown/wiki-link-micromark.ts
index 6dad26200..afd9936fe 100644
--- a/packages/core/src/markdown/wiki-link-micromark.ts
+++ b/packages/core/src/markdown/wiki-link-micromark.ts
@@ -17,6 +17,7 @@ declare module 'micromark-util-types' {
}
}
+
const CODE_BANG = 33; // !
const CODE_LBRACKET = 91; // [
const CODE_RBRACKET = 93; // ]
@@ -260,6 +261,7 @@ export function wikiLinkSyntax(): Extension {
};
}
+
function enterWikiLink(this: CompileContext, token: Token) {
this.enter(
{
@@ -385,6 +387,7 @@ export const wikiLinkToMarkdown: {
unsafe: [{ character: '[', inConstruct: ['phrasing'] }],
};
+
const MICROMARK_EXT = wikiLinkSyntax();
export function remarkWikiLink(this: Processor) {