Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Link GitHub and ticket references in agent chat (PRD-8223) (#5004)

Abrahamee84b6bbd6e1
diff --git a/.changeset/prd-8223-reference-cards.md b/.changeset/prd-8223-reference-cards.md
new file mode 100644
index 000000000..d71e26bc2
--- /dev/null
+++ b/.changeset/prd-8223-reference-cards.md
@@ -0,0 +1,5 @@
+---
+"@inkeep/open-knowledge": minor
+---
+
+In agent chats opened in the browser, hovering a GitHub pull request or issue link now shows a card with its title, state, and author, plus lines changed and merge status for pull requests.
diff --git a/.changeset/prd-8223-reference-links.md b/.changeset/prd-8223-reference-links.md
new file mode 100644
index 000000000..6093b0a1f
--- /dev/null
+++ b/.changeset/prd-8223-reference-links.md
@@ -0,0 +1,5 @@
+---
+"@inkeep/open-knowledge": minor
+---
+
+Agent chat messages now link qualified GitHub references like `owner/repo#123`, and ticket prefixes you list under `autolinks` in `.ok/config.yml` turn references like `PRD-123` into links.
diff --git a/docs/content/features/editor.mdx b/docs/content/features/editor.mdx
index 6d83a5901..7c94aa798 100644
--- a/docs/content/features/editor.mdx
+++ b/docs/content/features/editor.mdx
@@ -191,6 +191,8 @@ The Agents panel's **Chat history** button opens every conversation the project
Which presentation you get when opening history follows the width of the chat pane rather than the window. A wide pane docks history beside the transcript: the tab strip stays visible and usable, and the list stays open after you pick a conversation, so you close it with `Esc` or by clicking **Chat history** again. If you narrow the pane while history is docked, history closes first so the active chat remains open. Opening history in a narrow pane covers the whole chat area instead, including the tab strip, which is inert until you leave history; widening the pane while history is open moves it into the docked position without closing it. The cover list closes as soon as you pick a conversation, and a **Back** button in its header dismisses it, as does `Esc`.
+Messages in an agent chat link the references they mention. A qualified GitHub reference such as `inkeep/open-knowledge#1284` links to that issue or pull request on github.com, or on your project's GitHub Enterprise host when the project's remote is on a host declared under [`git.hosts`](../reference/configuration.mdx), a per-machine setting. Ticket prefixes you list under [`autolinks`](../reference/configuration.mdx) in `.ok/config.yml` turn tokens such as `PRD-123` into links to the URL you give. A bare `#123` stays plain text, since agents write the same form for ordinals like "step #2", and references inside code stay as written. Hovering a link to a GitHub pull request or issue, whether written out in full or as a qualified reference, shows a card with its title, state, and author, and a pull request also shows its lines changed and whether it can merge. The card comes from GitHub's API, signed in as you when OpenKnowledge can use your GitHub sign-in, so private repositories you can read work too; with a sign-in, an open pull request also shows what it is waiting on, such as its place in the merge queue, a requested review, or failing checks. It follows the [link previews](../reference/configuration.mdx#link-previews) setting, and a reference GitHub can't answer for stays a plain link.
+
On a narrow window, the right-side Terminal and Agents panel cannot remain open together. Opening either one closes the other and shows an in-app notice; closing the visible panel does not reopen the one that was displaced.
The shells run at full user privilege. To turn the terminal off for a project on this machine, use **Settings ▸ Terminal** or set `terminal.enabled: false` in `.ok/local/config.yml` (see the [configuration reference](../reference/configuration.mdx)); the setting is project-local, never shared via git or sync, and not agent-settable — only a human can flip it. On Windows, set `terminal.shell` in the same file to an absolute shell executable if you want to override automatic PowerShell and `cmd.exe` discovery. PowerShell, `cmd.exe`, and Git Bash (`bash.exe`) support OpenKnowledge-managed launches (agent chat tabs and fixed commands such as **Resolve in terminal** or **Install Slidev**) and dropped-file path insertion. A different existing executable remains active for plain terminal tabs and shows a capability notice; requested agent and command launches open only the plain shell without running the agent or command, and dropped-file paths are refused. Enter WSL by running `wsl` inside a supported shell rather than setting `wsl.exe` as the override.
diff --git a/docs/content/reference/configuration.mdx b/docs/content/reference/configuration.mdx
index baa526913..3d050a49e 100644
--- a/docs/content/reference/configuration.mdx
+++ b/docs/content/reference/configuration.mdx
@@ -84,7 +84,8 @@ A key set in a file more specific than its scope (a user-scope key in `.ok/confi
| `search.semantic.maxBatchSize` | integer (1–2048) | `96` | project-local | Maximum text chunks per indexing embeddings request. The ceiling follows [OpenAI's input-array limit](https://developers.openai.com/api/reference/resources/embeddings/methods/create); other providers may impose different limits. Lower values reduce peak memory use but require more requests. This changes transport batching only, not document chunking or vector identity. Applies to the next indexing pass; an in-progress pass finishes with its existing settings and retains its vectors. |
| `search.semantic.maxBatchChars` | integer (1–16384000) | `96000` | project-local | Approximate character budget per indexing embeddings request. OpenAI separately caps total input at **300,000 tokens per request**; this character budget does not enforce that limit, and high values can produce rejected requests. Other providers have their own limits. A single chunk larger than the budget is still sent alone; this setting does not split chunks or invalidate cached vectors. Applies to the next indexing pass. |
| `search.semantic.docTimeoutMs` | integer (1–600000 milliseconds) | `30000` | project-local | Timeout for each indexing request attempt (up to 10 minutes). A request can retry four times, and a failed grouped request can trigger individual-document requests. There is no total indexing-pass deadline; large timeouts can delay newly queued work for hours. Settings displays seconds. Applies to the next indexing pass and keeps cached vectors. Interactive query embeddings retain a fixed 8-second timeout per attempt, with up to four retries; this setting does not raise it. |
-| `linkPreviews.enabled` | boolean | `true` | project-local | Show a rich preview card (site name, page title, description, favicon) when you hover an external link in the editor. Default on (set to `false` to opt out). **When on, hovering an external link sends that link's URL to the destination site** to fetch its preview metadata — outbound egress, one request per previewed link. Previews of links to other documents in the project are read from the local index with no network request and are always on. See [Link previews](#link-previews) below. |
+| `autolinks` | list | `[]` | project | Turn ticket references in Agents-panel chat messages into links. Each entry pairs a `prefix` (for example `PRD-`) with a `url` template containing `<num>` (for example `https://linear.app/inkeep/issue/PRD-<num>`); the prefix followed by digits links to that URL with the digits in place of `<num>`. Case-sensitive, and references inside code are left alone. An entry with an invalid `prefix` or `url` is skipped with a warning naming its position, and the other entries still apply. Qualified GitHub references (`owner/repo#123`) link without any configuration. Shared with collaborators. |
+| `linkPreviews.enabled` | boolean | `true` | project-local | Show a rich preview card (site name, page title, description, favicon) when you hover an external link in the editor, and a status card when you hover a GitHub pull request or issue link in an agent chat. Default on (set to `false` to opt out). **When on, hovering an external link sends that link's URL to the destination site** to fetch its preview metadata, and hovering a GitHub reference asks your GitHub host's API for it, signed in as you when a GitHub sign-in is available — outbound egress, one request per previewed link. Previews of links to other documents in the project are read from the local index with no network request and are always on. See [Link previews](#link-previews) below. |
## Removed keys
@@ -173,12 +174,14 @@ Hovering a link in the editor shows a preview card. For **internal links** (othe
For **external links**, a card shows the destination's site name, page title, description, and favicon. It is **on by default**; turn it off per machine in Settings.
+In an **agent chat**, the same setting covers links to GitHub pull requests and issues: hovering one shows its title, state, and author, and a pull request also shows its lines changed and whether it can merge. The server asks github.com's API, or your GitHub Enterprise host's for hosts declared under `git.hosts`, using your GitHub sign-in when there is one (the `gh` CLI's login, then the account you connected in OpenKnowledge). With a sign-in, an open pull request also shows what it is waiting on, such as its place in the merge queue, a requested review, or failing checks. Answers are kept briefly in memory, and a reference the server can't read stays a plain link.
+
<Callout type="info">
- **Desktop app:** external link previews are not yet available in the packaged desktop app (its `file://` renderer is rejected by the preview route's anti-proxy gate), so this default applies to the browser (`ok start`) surface. Internal document-to-document previews work everywhere.
+ **Desktop app:** external link previews and GitHub reference cards are not yet available in the packaged desktop app (its `file://` renderer is rejected by the preview routes' anti-proxy gate), so this default applies to the browser (`ok start`) surface. Internal document-to-document previews work everywhere.
</Callout>
<Callout type="warn">
- **URL egress.** When `linkPreviews.enabled` is on, hovering an external link sends that link's URL to the destination site — one metadata request per previewed link, from your machine, with no cookies or credentials attached. Responses are size- and time-capped, results are cached locally under `.ok/local/`, and requests that resolve to private or internal addresses are refused. Nothing else is sent: internal-link cards never touch the network.
+ **Egress.** When `linkPreviews.enabled` is on, two kinds of hover make a request from your machine. Hovering an external link sends that link's URL to the destination site — one metadata request per previewed link, with no cookies or credentials attached. Responses are size- and time-capped, results are cached locally under `.ok/local/`, and requests that resolve to private or internal addresses are refused. Hovering a GitHub pull request or issue link in an agent chat sends the repository and number to github.com's API, or to your GitHub Enterprise host's, **with your GitHub sign-in when one is available**, so private repositories you can read preview too; the sign-in is only used for requests from this machine, never for a remote-access client. Internal-link cards never touch the network.
</Callout>
To turn it off (per machine): the **Settings → This project → Link previews** toggle, which sets `linkPreviews.enabled: false` in project-local config (`<project>/.ok/local/config.yml`), picked up live by a running server. The setting is enforced by the local server, so with it off no external request is made. A preview that can't be fetched (offline, timeout, the site blocks it) quietly falls back to the plain URL pill.
diff --git a/knip.config.ts b/knip.config.ts
index 6a38348d8..8b615429f 100644
--- a/knip.config.ts
+++ b/knip.config.ts
@@ -143,11 +143,15 @@ 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'],
- ignoreDependencies: ['yjs'],
+ ignoreDependencies: [
+ 'yjs',
+ ],
},
'packages/desktop': {
entry: [
diff --git a/packages/app/BUNDLE-SIZE.md b/packages/app/BUNDLE-SIZE.md
index cab4767c0..17762deff 100644
--- a/packages/app/BUNDLE-SIZE.md
+++ b/packages/app/BUNDLE-SIZE.md
@@ -97,3 +97,5 @@ Combined-chunks 8.8->8.82 MB for the searchable chat-history side panel, its res
Combined-chunks 8.84->8.85 MB for GitHub Enterprise Server host handling in Settings → Account: the hosts card (list, add field, input parsing) and the explanation shown when a project's remote is not a recognized GitHub host, plus their 17 new strings compiled into every locale catalog. CI measured 8,841,175 B, 1,175 B over the prior ceiling; a local build measured 8,840,090 B. The main app bundle stayed at 438.19 kB against its 487 kB limit and CSS at 8.36 kB against 59 kB, so the growth is on-demand chunk weight: the settings dialog body is lazy-loaded and each reader downloads one catalog. No reclamation lever beyond the lazy-load levers above.
Combined-chunks 8.84->8.86 MB for repository-aware worktree discovery and presentation. A forced clean local build measured 8,840,825 B against the prior 8,840,000 B ceiling, with 26,938 B of growth over the same-machine `main` build at 8,813,887 B. The eager main-app and CSS budgets remain unchanged at 487 kB and 59 kB because this ratchet records the feature's aggregate chunk inventory rather than a new first-load allowance. The new ceiling leaves 19,175 B of headroom over that local measurement; the corresponding CI size job passed.
+
+Combined-chunks 8.88->8.89 MB for GitHub reference links and hover cards in agent chat: `owner/repo#N` and configured ticket-prefix linking, the `hover-card` primitive, `GitHubReferenceCard` with its status line, and their strings compiled into every locale catalog. CI measured the pull request at 8,881,800 B, 1,800 B over the prior ceiling. Measured on one machine after the review fixes, `main` at `869755a` builds to 8,868,939 B and the same `main` with this branch merged builds to 8,881,731 B, so the branch adds 12,792 B. The main app bundle moved 36 B, to 441.88 kB against its 487 kB limit, and CSS stayed at 8.36 kB against 59 kB, because the chat that renders these links and the settings dialog body are already lazy chunks; the growth is on-demand chunk weight. The 10 kB ratchet leaves 8,269 B of headroom over the merged local build, and the lazy-load levers above remain the reclamation path.
diff --git a/packages/app/package.json b/packages/app/package.json
index c484ad94a..bee3b1635 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -64,7 +64,7 @@
{
"name": "all JS chunks combined (gzipped)",
"path": "dist/assets/*.js",
- "limit": "8.88 MB",
+ "limit": "8.89 MB",
"gzip": true,
"running": false
},
diff --git a/packages/app/src/components/acp/AgentMarkdown.dom.test.tsx b/packages/app/src/components/acp/AgentMarkdown.dom.test.tsx
index 3e6a25e34..15d9d79ac 100644
--- a/packages/app/src/components/acp/AgentMarkdown.dom.test.tsx
+++ b/packages/app/src/components/acp/AgentMarkdown.dom.test.tsx
@@ -4,6 +4,7 @@ import type { Workspace } from '@/lib/workspace-paths';
import { AgentMarkdown } from './AgentMarkdown';
import { buildDocPathResolver, setDocPathResolver } from './doc-path-links';
import { DocPathResolverReadyContext } from './doc-path-links-context';
+import { ReferenceRulesContext } from './reference-links-context';
describe('AgentMarkdown', () => {
afterEach(cleanup);
@@ -74,6 +75,77 @@ describe('AgentMarkdown', () => {
expect(container.querySelector('script')).toBeNull();
});
+ test('ticket prefixes and qualified GitHub references render as links that open outside, code does not', () => {
+ const { container } = render(
+ <ReferenceRulesContext
+ value={{
+ githubBase: 'https://github.com',
+ autolinks: [{ prefix: 'PRD-', url: 'https://linear.app/inkeep/issue/PRD-<num>' }],
+ }}
+ >
+ <AgentMarkdown
+ text={'Fixes PRD-8223 and inkeep/agents-private#4971, not `PRD-1` or #12.'}
+ />
+ </ReferenceRulesContext>,
+ );
+ const anchors = [...container.querySelectorAll('a')].map((a) => [
+ a.textContent,
+ a.getAttribute('href'),
+ a.getAttribute('target'),
+ ]);
+ expect(anchors).toEqual([
+ ['PRD-8223', 'https://linear.app/inkeep/issue/PRD-8223', '_blank'],
+ [
+ 'inkeep/agents-private#4971',
+ 'https://github.com/inkeep/agents-private/issues/4971',
+ '_blank',
+ ],
+ ]);
+ });
+
+ test('each thread links references with its own GitHub host, whichever thread rendered last', () => {
+ const enterprise = { githubBase: 'https://ghe.example.com', autolinks: [] };
+ const dotcom = { githubBase: 'https://github.com', autolinks: [] };
+ const hrefIn = (container: HTMLElement) => container.querySelector('a')?.getAttribute('href');
+ const first = render(
+ <ReferenceRulesContext value={enterprise}>
+ <AgentMarkdown text="Fixed in team/repo#9." />
+ </ReferenceRulesContext>,
+ );
+ const second = render(
+ <ReferenceRulesContext value={dotcom}>
+ <AgentMarkdown text="Fixed in team/repo#9." />
+ </ReferenceRulesContext>,
+ );
+ first.rerender(
+ <ReferenceRulesContext value={enterprise}>
+ <AgentMarkdown text="Fixed in team/repo#10." />
+ </ReferenceRulesContext>,
+ );
+ expect(hrefIn(first.container)).toBe('https://ghe.example.com/team/repo/issues/10');
+ expect(hrefIn(second.container)).toBe('https://github.com/team/repo/issues/9');
+ });
+
+ test('references already on screen relink when the thread learns its GitHub host', () => {
+ const text = 'Fixed in team/repo#9.';
+ const { container, rerender } = render(
+ <ReferenceRulesContext value={{ githubBase: 'https://github.com', autolinks: [] }}>
+ <AgentMarkdown text={text} />
+ </ReferenceRulesContext>,
+ );
+ expect(container.querySelector('a')?.getAttribute('href')).toBe(
+ 'https://github.com/team/repo/issues/9',
+ );
+ rerender(
+ <ReferenceRulesContext value={{ githubBase: 'https://ghe.example.com', autolinks: [] }}>
+ <AgentMarkdown text={text} />
+ </ReferenceRulesContext>,
+ );
+ expect(container.querySelector('a')?.getAttribute('href')).toBe(
+ 'https://ghe.example.com/team/repo/issues/9',
+ );
+ });
+
test('hardens links to open in a new context', () => {
const { container } = render(<AgentMarkdown text={'[docs](https://example.com/)'} />);
const anchor = container.querySelector('a');
diff --git a/packages/app/src/components/acp/AgentMarkdown.tsx b/packages/app/src/components/acp/AgentMarkdown.tsx
index 499e026f3..d1b6cc756 100644
--- a/packages/app/src/components/acp/AgentMarkdown.tsx
+++ b/packages/app/src/components/acp/AgentMarkdown.tsx
@@ -9,6 +9,12 @@ import { docNameFromHash } from '@/lib/doc-hash';
import { cn } from '@/lib/utils';
import { remarkDocPathLinks } from './doc-path-links';
import { DocPathResolverReadyContext } from './doc-path-links-context';
+import { GitHubReferenceLink } from './GitHubReferenceCard';
+import { isGitHubReferenceHref } from './github-reference';
+import { referenceRulesKey, remarkReferenceLinks } from './reference-links';
+import { ReferenceRulesContext } from './reference-links-context';
+
+const EXTERNAL_LINK_CLASS = 'wrap-anywhere font-medium text-primary underline';
function AgentAnchor(props: { href?: string; children?: ReactNode }): ReactNode {
const { t } = useLingui();
@@ -26,13 +32,20 @@ function AgentAnchor(props: { href?: string; children?: ReactNode }): ReactNode
</a>
);
}
+ if (isGitHubReferenceHref(href)) {
+ return (
+ <GitHubReferenceLink href={href} className={EXTERNAL_LINK_CLASS}>
+ {children}
+ </GitHubReferenceLink>
+ );
+ }
return (
<a
href={href}
target="_blank"
rel="noopener noreferrer"
data-streamdown="link"
- className="wrap-anywhere font-medium text-primary underline"
+ className={EXTERNAL_LINK_CLASS}
>
{children}
</a>
@@ -49,6 +62,7 @@ export function AgentMarkdown({
untrusted?: boolean;
}): ReactNode {
const resolverReady = use(DocPathResolverReadyContext);
+ const referenceRules = use(ReferenceRulesContext);
return (
<ErrorBoundary
resetKeys={[text]}
@@ -58,7 +72,7 @@ export function AgentMarkdown({
}}
>
<Streamdown
- key={resolverReady ? 'with-resolver' : 'no-resolver'}
+ key={`${resolverReady ? 'with-resolver' : 'no-resolver'}:${referenceRulesKey(referenceRules)}`}
className={cn(
'[&>*:first-child]:mt-0 [&>*:last-child]:mb-0 [&_pre_code>span]:block [&_ol]:list-outside [&_ul]:list-outside [&_ol]:ps-6 [&_ul]:ps-6 [&_li+li]:mt-2 [&_li>p]:block! [&_li>*+*]:mt-2 [&_li_[data-streamdown=code-block]]:my-2! [&_code]:text-1sm [&_pre]:text-1sm [&_[data-streamdown=code-block-body]]:p-3 [&_[data-streamdown=code-block-body]]:max-h-80 [&_[data-streamdown=code-block-body]]:overflow-auto',
className,
@@ -68,6 +82,7 @@ export function AgentMarkdown({
remarkHardBreaks,
...(untrusted ? [remarkUntrustedContent()] : []),
remarkDocPathLinks(),
+ [remarkReferenceLinks, referenceRules],
]}
components={{ a: AgentAnchor } as Components}
lineNumbers={false}
diff --git a/packages/app/src/components/acp/GitHubReferenceCard.dom.test.tsx b/packages/app/src/components/acp/GitHubReferenceCard.dom.test.tsx
new file mode 100644
index 000000000..08f3232e5
--- /dev/null
+++ b/packages/app/src/components/acp/GitHubReferenceCard.dom.test.tsx
@@ -0,0 +1,150 @@
+import type { GitHubReferencePreview } from '@inkeep/open-knowledge-core';
+import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import { AgentMarkdown } from './AgentMarkdown';
+import { GitHubReferenceCard } from './GitHubReferenceCard';
+
+const originalFetch = globalThis.fetch;
+afterEach(() => {
+ cleanup();
+ globalThis.fetch = originalFetch;
+});
+
+const OPEN_PULL: GitHubReferencePreview = {
+ kind: 'pull',
+ repo: 'inkeep/agents',
+ number: 4979,
+ title: 'Send text files from outside the project',
+ author: 'octocat',
+ createdAt: '2025-03-04T10:00:00Z',
+ lifecycle: 'open',
+ additions: 120,
+ deletions: 30,
+ status: {
+ mergeQueue: { position: 2, state: 'AWAITING_CHECKS' },
+ autoMerge: false,
+ mergeState: 'BLOCKED',
+ reviewDecision: 'APPROVED',
+ checks: 'PENDING',
+ },
+};
+
+const respond = (body: unknown) =>
+ new Response(JSON.stringify(body), {
+ status: 200,
+ headers: { 'content-type': 'application/json' },
+ });
+
+describe('GitHubReferenceCard', () => {
+ test('an open pull request shows its repo, title, state, diff, queue status and author', () => {
+ render(<GitHubReferenceCard preview={OPEN_PULL} />);
+ const card = screen.getByTestId('github-reference-card');
+ expect(card.textContent).toContain('inkeep/agents');
+ expect(card.textContent).toContain('Mar 4, 2025');
+ expect(card.textContent).toContain('Send text files from outside the project #4979');
+ expect(screen.getByTestId('github-reference-state').textContent).toBe('Open');
+ expect(screen.getByRole('img', { name: 'Lines changed: 120 added, 30 removed' })).toBeTruthy();
+ expect(screen.getByTestId('github-reference-status').textContent).toBe('#2 in the merge queue');
+ expect(card.textContent).toContain('Opened by octocat');
+ });
+
+ test('an issue closed as not planned shows no diff and no status row', () => {
+ render(
+ <GitHubReferenceCard
+ preview={{
+ kind: 'issue',
+ repo: 'inkeep/agents',
+ number: 7,
+ title: 'Crash on start',
+ author: null,
+ createdAt: '2025-03-04T10:00:00Z',
+ lifecycle: 'not-planned',
+ }}
+ />,
+ );
+ expect(screen.getByTestId('github-reference-state').textContent).toBe('Not planned');
+ expect(screen.queryByRole('img')).toBeNull();
+ expect(screen.queryByTestId('github-reference-status')).toBeNull();
+ expect(screen.getByTestId('github-reference-card').textContent).not.toContain('Opened by');
+ });
+});
+
+describe('GitHub links in agent messages', () => {
+ test('focusing a pull request link loads its card', async () => {
+ const fetchMock = vi.fn(async () => respond({ ok: true, preview: OPEN_PULL }));
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ render(<AgentMarkdown text="See https://github.com/inkeep/agents/pull/4979 for details." />);
+ const link = screen.getByRole('link', { name: 'https://github.com/inkeep/agents/pull/4979' });
+ expect(link.getAttribute('target')).toBe('_blank');
+ fireEvent.focus(link);
+ await waitFor(() => expect(screen.getByTestId('github-reference-card')).toBeTruthy());
+ expect(fetchMock).toHaveBeenCalledWith('/api/github-reference', expect.anything());
+ });
+
+ test('leaving the link before the card loads never opens it later', async () => {
+ let release: (res: Response) => void = () => {};
+ const fetchMock = vi.fn(
+ () =>
+ new Promise<Response>((resolve) => {
+ release = resolve;
+ }),
+ );
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ render(<AgentMarkdown text="https://github.com/inkeep/agents/pull/77" />);
+ const link = screen.getByRole('link');
+ fireEvent.focus(link);
+ await waitFor(() => expect(fetchMock).toHaveBeenCalledTimes(1));
+ fireEvent.blur(link);
+ await new Promise((resolve) => setTimeout(resolve, 200));
+ release(respond({ ok: true, preview: { ...OPEN_PULL, number: 77 } }));
+ await new Promise((resolve) => setTimeout(resolve, 200));
+ expect(screen.queryByTestId('github-reference-card')).toBeNull();
+ });
+
+ test('leaving one link does not cancel the card another link to the same pull request waits for', async () => {
+ let release: (res: Response) => void = () => {};
+ const fetchMock = vi.fn(
+ (_input: RequestInfo | URL, init?: RequestInit) =>
+ new Promise<Response>((resolve, reject) => {
+ release = resolve;
+ init?.signal?.addEventListener('abort', () =>
+ reject(new DOMException('The operation was aborted.', 'AbortError')),
+ );
+ }),
+ );
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ const url = 'https://github.com/inkeep/agents/pull/88';
+ render(<AgentMarkdown text={`${url} and again ${url}`} />);
+ const [first, second] = screen.getAllByRole('link');
+ fireEvent.focus(first);
+ await waitFor(() => expect(fetchMock).toHaveBeenCalledTimes(1));
+ fireEvent.focus(second);
+ await waitFor(() => expect(second.getAttribute('data-state')).toBe('open'));
+ fireEvent.blur(first);
+ await waitFor(() => expect(first.getAttribute('data-state')).toBe('closed'));
+ release(respond({ ok: true, preview: { ...OPEN_PULL, number: 88 } }));
+ await waitFor(() =>
+ expect(screen.getByTestId('github-reference-card').textContent).toContain('#88'),
+ );
+ expect(fetchMock).toHaveBeenCalledTimes(1);
+ });
+
+ test('a link whose card is unavailable stays a plain link', async () => {
+ const fetchMock = vi.fn(async () => respond({ ok: false, reason: 'not-found' }));
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ render(<AgentMarkdown text="https://github.com/inkeep/private/issues/12" />);
+ fireEvent.focus(screen.getByRole('link'));
+ await waitFor(() => expect(fetchMock).toHaveBeenCalledTimes(1));
+ await new Promise((resolve) => setTimeout(resolve, 400));
+ expect(screen.queryByTestId('github-reference-card')).toBeNull();
+ });
+
+ test('other links never ask for a card', async () => {
+ const fetchMock = vi.fn(async () => respond({ ok: false, reason: 'unsupported' }));
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ render(<AgentMarkdown text="https://example.com/docs" />);
+ fireEvent.focus(screen.getByRole('link'));
+ await new Promise((resolve) => setTimeout(resolve, 400));
+ expect(fetchMock).not.toHaveBeenCalled();
+ });
+});
diff --git a/packages/app/src/components/acp/GitHubReferenceCard.tsx b/packages/app/src/components/acp/GitHubReferenceCard.tsx
new file mode 100644
index 000000000..53c44b3a1
--- /dev/null
+++ b/packages/app/src/components/acp/GitHubReferenceCard.tsx
@@ -0,0 +1,226 @@
+import type { GitHubReferencePreview } from '@inkeep/open-knowledge-core';
+import { useLingui } from '@lingui/react/macro';
+import {
+ CircleCheck,
+ CircleDot,
+ CircleSlash,
+ GitMerge,
+ GitPullRequest,
+ GitPullRequestClosed,
+ GitPullRequestDraft,
+ type LucideIcon,
+} from 'lucide-react';
+import { type ReactNode, useState } from 'react';
+import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/hover-card';
+import { cn } from '@/lib/utils';
+import { useGitHubReference } from './github-reference';
+import {
+ diffBlocks,
+ type ReferenceStatusLine,
+ type ReferenceStatusTone,
+ referenceStatusLine,
+} from './reference-status';
+
+type Lifecycle = GitHubReferencePreview['lifecycle'];
+
+const PILL_CLASS: Record<Lifecycle, string> = {
+ open: 'bg-green-700',
+ draft: 'bg-neutral-500',
+ merged: 'bg-violet-600',
+ closed: 'bg-red-600',
+ completed: 'bg-violet-600',
+ 'not-planned': 'bg-neutral-500',
+};
+
+const TONE_CLASS: Record<ReferenceStatusTone, string> = {
+ success: 'text-green-700 dark:text-green-400',
+ attention: 'text-amber-700 dark:text-amber-400',
+ severe: 'text-orange-700 dark:text-orange-400',
+ danger: 'text-red-700 dark:text-red-400',
+};
+
+const BLOCK_CLASS = {
+ add: 'bg-green-600',
+ del: 'bg-red-600',
+ none: 'bg-muted-foreground/25',
+} as const;
+
+function lifecycleIcon(preview: GitHubReferencePreview): LucideIcon {
+ if (preview.kind === 'issue') {
+ if (preview.lifecycle === 'open') return CircleDot;
+ return preview.lifecycle === 'not-planned' ? CircleSlash : CircleCheck;
+ }
+ if (preview.lifecycle === 'merged') return GitMerge;
+ if (preview.lifecycle === 'draft') return GitPullRequestDraft;
+ return preview.lifecycle === 'open' ? GitPullRequest : GitPullRequestClosed;
+}
+
+function openedOn(iso: string, locale: string): string | null {
+ const date = new Date(iso);
+ if (Number.isNaN(date.getTime())) return null;
+ const sameYear = date.getFullYear() === new Date().getFullYear();
+ return new Intl.DateTimeFormat(locale || undefined, {
+ month: 'short',
+ day: 'numeric',
+ ...(sameYear ? {} : { year: 'numeric' }),
+ }).format(date);
+}
+
+function useLifecycleLabel(): (lifecycle: Lifecycle) => string {
+ const { t } = useLingui();
+ return (lifecycle) => {
+ switch (lifecycle) {
+ case 'open':
+ return t({ message: 'Open', context: 'GitHub pull request or issue state' });
+ case 'draft':
+ return t({ message: 'Draft', context: 'GitHub pull request or issue state' });
+ case 'merged':
+ return t({ message: 'Merged', context: 'GitHub pull request or issue state' });
+ case 'not-planned':
+ return t({ message: 'Not planned', context: 'GitHub pull request or issue state' });
+ default:
+ return t({ message: 'Closed', context: 'GitHub pull request or issue state' });
+ }
+ };
+}
+
+function useStatusText(): (line: ReferenceStatusLine) => string {
+ const { t } = useLingui();
+ return (line) => {
+ switch (line.kind) {
+ case 'queued': {
+ const position = line.position;
+ return position === null ? t`In the merge queue` : t`#${position} in the merge queue`;
+ }
+ case 'queue-unmergeable':
+ return t`In the merge queue, but it can't merge`;
+ case 'conflicts':
+ return t`Has merge conflicts`;
+ case 'changes-requested':
+ return t`Changes requested`;
+ case 'checks-failing':
+ return t`Required checks are failing`;
+ case 'auto-merge':
+ return t`Auto-merge is on`;
+ case 'review-required':
+ return t`Waiting for review`;
+ case 'checks-running':
+ return t`Checks are running`;
+ case 'blocked':
+ return t`Blocked from merging`;
+ case 'unstable':
+ return t`Some checks failed, but it can still merge`;
+ case 'behind':
+ return t`Behind the base branch`;
+ case 'approved':
+ return t`Approved and ready to merge`;
+ case 'ready':
+ return t`Ready to merge`;
+ default:
+ return line satisfies never;
+ }
+ };
+}
+
+export function GitHubReferenceCard({ preview }: { preview: GitHubReferencePreview }): ReactNode {
+ const { t, i18n } = useLingui();
+ const lifecycleLabel = useLifecycleLabel();
+ const statusText = useStatusText();
+ const Icon = lifecycleIcon(preview);
+ const status = referenceStatusLine(preview);
+ const date = openedOn(preview.createdAt, i18n.locale);
+ const { additions, deletions, author } = preview;
+ return (
+ <div data-testid="github-reference-card" className="flex flex-col gap-1.5">
+ <div className="flex min-w-0 items-center gap-1 text-muted-foreground text-xs">
+ <span className="truncate">{preview.repo}</span>
+ {date !== null ? (
+ <>
+ <span aria-hidden="true">·</span>
+ <time dateTime={preview.createdAt} className="shrink-0">
+ {date}
+ </time>
+ </>
+ ) : null}
+ </div>
+ <div className="line-clamp-3 font-medium text-sm leading-snug">
+ {preview.title} <span className="font-normal text-muted-foreground">#{preview.number}</span>
+ </div>
+ <div className="flex items-center gap-2">
+ <span
+ data-testid="github-reference-state"
+ className={cn(
+ 'inline-flex items-center gap-1 rounded-full px-2 py-0.5 font-medium text-white text-xs',
+ PILL_CLASS[preview.lifecycle],
+ )}
+ >
+ <Icon className="size-3.5" aria-hidden="true" />
+ {lifecycleLabel(preview.lifecycle)}
+ </span>
+ {additions !== undefined && deletions !== undefined ? (
+ <span
+ className="inline-flex items-center gap-1.5 text-xs tabular-nums"
+ role="img"
+ aria-label={t`Lines changed: ${additions} added, ${deletions} removed`}
+ >
+ <span className="text-green-700 dark:text-green-400">+{additions}</span>
+ <span className="text-red-700 dark:text-red-400">−{deletions}</span>
+ <span className="inline-flex gap-px" aria-hidden="true">
+ {diffBlocks(additions, deletions).map((block, index) => (
+ <span
+ // biome-ignore lint/suspicious/noArrayIndexKey: the five blocks are positional
+ key={index}
+ className={cn('size-2 rounded-[2px]', BLOCK_CLASS[block])}
+ />
+ ))}
+ </span>
+ </span>
+ ) : null}
+ </div>
+ {status !== null ? (
+ <div
+ data-testid="github-reference-status"
+ className={cn('text-xs', TONE_CLASS[status.tone])}
+ >
+ {statusText(status)}
+ </div>
+ ) : null}
+ {author !== null ? (
+ <div className="text-muted-foreground text-xs">{t`Opened by ${author}`}</div>
+ ) : null}
+ </div>
+ );
+}
+
+export function GitHubReferenceLink({
+ href,
+ className,
+ children,
+}: {
+ href: string;
+ className: string;
+ children?: ReactNode;
+}): ReactNode {
+ const [wanted, setWanted] = useState(false);
+ const preview = useGitHubReference(wanted ? href : null);
+ return (
+ <HoverCard open={wanted} onOpenChange={setWanted} openDelay={250} closeDelay={120}>
+ <HoverCardTrigger asChild>
+ <a
+ href={href}
+ target="_blank"
+ rel="noopener noreferrer"
+ data-streamdown="link"
+ className={className}
+ >
+ {children}
+ </a>
+ </HoverCardTrigger>
+ {preview !== null ? (
+ <HoverCardContent side="bottom" align="start" className="w-80">
+ <GitHubReferenceCard preview={preview} />
+ </HoverCardContent>
+ ) : null}
+ </HoverCard>
+ );
+}
diff --git a/packages/app/src/components/acp/ThreadView.tsx b/packages/app/src/components/acp/ThreadView.tsx
index a211d282d..c722801bb 100644
--- a/packages/app/src/components/acp/ThreadView.tsx
+++ b/packages/app/src/components/acp/ThreadView.tsx
@@ -213,6 +213,7 @@ import { type ImagePreview, ImagePreviewContext, PendingImageStrip } from './Pen
import { PlanChecklist } from './PlanChecklist';
import { appendPresenceWrite, latestAgentWrite, type PresenceWrite } from './presence-follow';
import { RegisteredAgentIcon } from './RegisteredAgentIcon';
+import { ReferenceRulesContext } from './reference-links-context';
import {
clickableAuthMethods,
isThreadResumable,
@@ -229,6 +230,7 @@ import { transcriptItemId } from './transcript-item-id';
import { type ResendTarget, UserMessageActions, UserMessageEditor } from './UserMessageActions';
import { useDelayedInstallStatus } from './use-delayed-install-status';
import { useMinutesSince } from './use-minutes-since';
+import { useReferenceRules } from './use-reference-rules';
import { activeToolKind, useThinkingLine, workingStatusText } from './working-status';
const CANCEL_STALL_MS = 10_000;
@@ -662,6 +664,7 @@ export function ThreadView({
const docPathResolver = pages === null ? null : buildDocPathResolver({ workspace, pages });
setDocPathResolver(docPathResolver);
const resolverReady = docPathResolver !== null;
+ const referenceRules = useReferenceRules();
const transcriptFollowTarget = model !== null ? latestFollowTarget(model.items, workspace) : null;
const { systemProvider, activeDocName } = useDocumentContext();
@@ -1195,336 +1198,342 @@ export function ThreadView({
}}
>
<DocPathResolverReadyContext value={resolverReady}>
- <ThreadHeader info={info} followFile={followFile} onToggleFollow={toggleFollow} />
- {}
- <AgentNoticeAnnouncer
- notices={agentNotices}
- agentName={agentName}
- replayThroughSeq={state?.replayThroughSeq ?? Number.POSITIVE_INFINITY}
- />
- {model !== null && model.plan.length > 0 ? (
- <PlanChecklist
- plan={model.plan}
- approval={
- canPrompt && !archived && !planApprovalPending
- ? {
- onApprove: () => {
- setPlanApprovalPending(true);
- void sendText('Approve. Please proceed with the plan.');
- },
- onAskChanges: () => {
- const prefix = t`In the plan above, please `;
- const composer = composerRef.current;
- if (
- composer !== null &&
- !composer.getContent().instruction.endsWith(prefix)
- ) {
- composer.appendText(prefix);
- }
- composer?.focusEnd();
- },
- onReject: () => {
- setPlanApprovalPending(true);
- void sendText('Reject. Please stop and do not proceed with this plan.');
- },
- }
- : undefined
- }
+ <ReferenceRulesContext value={referenceRules}>
+ <ThreadHeader info={info} followFile={followFile} onToggleFollow={toggleFollow} />
+ {}
+ <AgentNoticeAnnouncer
+ notices={agentNotices}
+ agentName={agentName}
+ replayThroughSeq={state?.replayThroughSeq ?? Number.POSITIVE_INFINITY}
/>
- ) : null}
- {authPrompt !== null || model === null || visibleItems.length === 0 ? (
- <div
- className="min-h-0 flex-1 overflow-y-auto px-3 py-2 subtle-scrollbar scroll-fade-mask"
- data-testid="agent-thread-transcript"
- >
- {authPrompt !== null ? (
- <div className="flex min-h-full items-center justify-center">
- <ThreadAuthPrompt
- failure={authPrompt}
- offer={threadAuthOffer({
- authMethods: authPrompt.authMethods ?? [],
- agentName,
- terminalCli,
- terminalAvailable,
- })}
+ {model !== null && model.plan.length > 0 ? (
+ <PlanChecklist
+ plan={model.plan}
+ approval={
+ canPrompt && !archived && !planApprovalPending
+ ? {
+ onApprove: () => {
+ setPlanApprovalPending(true);
+ void sendText('Approve. Please proceed with the plan.');
+ },
+ onAskChanges: () => {
+ const prefix = t`In the plan above, please `;
+ const composer = composerRef.current;
+ if (
+ composer !== null &&
+ !composer.getContent().instruction.endsWith(prefix)
+ ) {
+ composer.appendText(prefix);
+ }
+ composer?.focusEnd();
+ },
+ onReject: () => {
+ setPlanApprovalPending(true);
+ void sendText('Reject. Please stop and do not proceed with this plan.');
+ },
+ }
+ : undefined
+ }
+ />
+ ) : null}
+ {authPrompt !== null || model === null || visibleItems.length === 0 ? (
+ <div
+ className="min-h-0 flex-1 overflow-y-auto px-3 py-2 subtle-scrollbar scroll-fade-mask"
+ data-testid="agent-thread-transcript"
+ >
+ {authPrompt !== null ? (
+ <div className="flex min-h-full items-center justify-center">
+ <ThreadAuthPrompt
+ failure={authPrompt}
+ offer={threadAuthOffer({
+ authMethods: authPrompt.authMethods ?? [],
+ agentName,
+ terminalCli,
+ terminalAvailable,
+ })}
+ agent={info.agent}
+ agentName={agentName}
+ signingIn={signingIn}
+ signInOutput={info.signInOutput}
+ showRetry={canRetry}
+ retryPending={retryPending}
+ onRetry={retryThread}
+ onAuthAction={runAuthAction}
+ runningAuthAction={runningAuthAction}
+ onAuthenticate={authenticateThread}
+ />
+ </div>
+ ) : (
+ <ThreadEmptyState
+ status={status}
+ displayedStartStatus={displayedStartStatus}
+ justSettled={startOutcome === 'ready'}
+ archived={archived}
agent={info.agent}
- agentName={agentName}
- signingIn={signingIn}
- signInOutput={info.signInOutput}
- showRetry={canRetry}
- retryPending={retryPending}
- onRetry={retryThread}
+ authOffer={authOffer}
onAuthAction={runAuthAction}
runningAuthAction={runningAuthAction}
- onAuthenticate={authenticateThread}
/>
- </div>
- ) : (
- <ThreadEmptyState
- status={status}
- displayedStartStatus={displayedStartStatus}
- justSettled={startOutcome === 'ready'}
- archived={archived}
- agent={info.agent}
- authOffer={authOffer}
- onAuthAction={runAuthAction}
- runningAuthAction={runningAuthAction}
- />
- )}
- </div>
- ) : (
- <MessageScrollerProvider autoScroll defaultScrollPosition="last-anchor">
- <ScrollToEndBridge apiRef={scrollApiRef} />
- <MessageScroller className="min-h-0 flex-1">
- <MessageScrollerViewport
- aria-label={t`Agent transcript`}
- className="px-3 py-2 subtle-scrollbar scroll-fade-mask"
- data-testid="agent-thread-transcript"
- >
- <MessageScrollerContent className="gap-2 [&>[data-tool-call]+[data-tool-call]]:-mt-1">
- {visibleEntries.map(({ item, modelIndex }, index) => {
- const id = transcriptItemId(item, modelIndex);
- const group = toolRunByIndex.get(index);
- const collapsed = group !== undefined && !expandedToolRuns.has(group.runId);
- if (collapsed && !group.isHead) return null;
- if (collapsed && group.isHead) {
- const runId = group.runId;
+ )}
+ </div>
+ ) : (
+ <MessageScrollerProvider autoScroll defaultScrollPosition="last-anchor">
+ <ScrollToEndBridge apiRef={scrollApiRef} />
+ <MessageScroller className="min-h-0 flex-1">
+ <MessageScrollerViewport
+ aria-label={t`Agent transcript`}
+ className="px-3 py-2 subtle-scrollbar scroll-fade-mask"
+ data-testid="agent-thread-transcript"
+ >
+ <MessageScrollerContent className="gap-2 [&>[data-tool-call]+[data-tool-call]]:-mt-1">
+ {visibleEntries.map(({ item, modelIndex }, index) => {
+ const id = transcriptItemId(item, modelIndex);
+ const group = toolRunByIndex.get(index);
+ const collapsed =
+ group !== undefined && !expandedToolRuns.has(group.runId);
+ if (collapsed && !group.isHead) return null;
+ if (collapsed && group.isHead) {
+ const runId = group.runId;
+ return (
+ <MessageScrollerItem
+ key={id}
+ messageId={id}
+ className="flex flex-col"
+ data-tool-call=""
+ >
+ <ToolCallGroupRow
+ calls={visibleItems
+ .slice(group.run.start, group.run.start + group.run.size)
+ .filter(
+ (candidate): candidate is RenderedToolCall =>
+ candidate.kind === 'tool_call',
+ )}
+ onExpand={() =>
+ setExpandedToolRuns((previous) => new Set(previous).add(runId))
+ }
+ />
+ </MessageScrollerItem>
+ );
+ }
return (
<MessageScrollerItem
key={id}
messageId={id}
className="flex flex-col"
- data-tool-call=""
+ scrollAnchor={item.kind === 'message' && item.role === 'user'}
+ data-tool-call={item.kind === 'tool_call' ? '' : undefined}
>
- <ToolCallGroupRow
- calls={visibleItems
- .slice(group.run.start, group.run.start + group.run.size)
- .filter(
- (candidate): candidate is RenderedToolCall =>
- candidate.kind === 'tool_call',
- )}
- onExpand={() =>
- setExpandedToolRuns((previous) => new Set(previous).add(runId))
+ <ThreadItem
+ item={item}
+ threadId={info.threadId}
+ agent={info.agent}
+ actionable={!archived && status !== 'exited' && status !== 'error'}
+ streaming={turnActive && index === visibleItems.length - 1}
+ terminals={model.terminals}
+ permissionsByToolCall={model.permissionsByToolCall}
+ showRetry={index === retryNoticeIndex}
+ retryPending={retryPending}
+ onRetry={retryThread}
+ showRestore={index === restoreNoticeIndex}
+ onRestore={() => restoreFailedPromptToComposer(index)}
+ authOffer={
+ index === authOfferNoticeIndex ? authOffer : authHistoryOffer
}
+ onAuthAction={runAuthAction}
+ runningAuthAction={runningAuthAction}
+ onResend={resendMessage}
+ canSendHere={canPrompt || canQueue}
+ isLatestUserTurn={index === lastUserTurnIndex}
/>
</MessageScrollerItem>
);
- }
- return (
- <MessageScrollerItem
- key={id}
- messageId={id}
- className="flex flex-col"
- scrollAnchor={item.kind === 'message' && item.role === 'user'}
- data-tool-call={item.kind === 'tool_call' ? '' : undefined}
- >
- <ThreadItem
- item={item}
- threadId={info.threadId}
- agent={info.agent}
- actionable={!archived && status !== 'exited' && status !== 'error'}
- streaming={turnActive && index === visibleItems.length - 1}
- terminals={model.terminals}
- permissionsByToolCall={model.permissionsByToolCall}
- showRetry={index === retryNoticeIndex}
- retryPending={retryPending}
- onRetry={retryThread}
- showRestore={index === restoreNoticeIndex}
- onRestore={() => restoreFailedPromptToComposer(index)}
- authOffer={
- index === authOfferNoticeIndex ? authOffer : authHistoryOffer
- }
- onAuthAction={runAuthAction}
- runningAuthAction={runningAuthAction}
- onResend={resendMessage}
- canSendHere={canPrompt || canQueue}
- isLatestUserTurn={index === lastUserTurnIndex}
+ })}
+ {turnActive ? (
+ status === 'awaiting_permission' ? (
+ <div
+ className="flex items-center gap-2 px-1 py-1 text-muted-foreground text-sm shimmer"
+ data-testid="agent-thread-awaiting-permission"
+ >
+ <span>{t`Waiting for your approval`}</span>
+ </div>
+ ) : (
+ <WorkingAvatar
+ status={workingStatusText(activeToolKind(model.items), thinkingLine)}
+ className="px-1 py-1"
+ testId="agent-thread-working"
/>
- </MessageScrollerItem>
- );
- })}
- {turnActive ? (
- status === 'awaiting_permission' ? (
+ )
+ ) : status === 'installing' || status === 'spawning' ? (
<div
- className="flex items-center gap-2 px-1 py-1 text-muted-foreground text-sm shimmer"
- data-testid="agent-thread-awaiting-permission"
+ className="flex items-center gap-2 px-1 py-1 text-muted-foreground text-sm"
+ data-testid="agent-thread-starting"
>
- <span>{t`Waiting for your approval`}</span>
+ <Spinner className="size-3.5" aria-hidden="true" />
+ <span className="shimmer">{startStatusMessage}</span>
</div>
- ) : (
- <WorkingAvatar
- status={workingStatusText(activeToolKind(model.items), thinkingLine)}
- className="px-1 py-1"
- testId="agent-thread-working"
- />
- )
- ) : status === 'installing' || status === 'spawning' ? (
- <div
- className="flex items-center gap-2 px-1 py-1 text-muted-foreground text-sm"
- data-testid="agent-thread-starting"
- >
- <Spinner className="size-3.5" aria-hidden="true" />
- <span className="shimmer">{startStatusMessage}</span>
- </div>
- ) : null}
- </MessageScrollerContent>
- </MessageScrollerViewport>
- <MessageScrollerButton direction="end" />
- </MessageScroller>
- </MessageScrollerProvider>
- )}
- <div role="status" aria-live="polite" data-testid="agent-thread-drop-notice">
- {dropNotice !== null ? (
+ ) : null}
+ </MessageScrollerContent>
+ </MessageScrollerViewport>
+ <MessageScrollerButton direction="end" />
+ </MessageScroller>
+ </MessageScrollerProvider>
+ )}
+ <div role="status" aria-live="polite" data-testid="agent-thread-drop-notice">
+ {dropNotice !== null ? (
+ <div
+ key={dropNotice.id}
+ className="border-t bg-muted/40 px-3 py-1.5 text-muted-foreground text-xs"
+ >
+ {dropNotice.text}
+ </div>
+ ) : uploadsPending ? (
+ <p className="sr-only">
+ <Plural
+ value={pendingUploads.length}
+ one="Uploading # attachment"
+ other="Uploading # attachments"
+ />
+ </p>
+ ) : null}
+ </div>
+ <div role="status" aria-live="polite" data-testid="agent-thread-stalled-region">
+ {info.stalledSince !== undefined &&
+ turnActive &&
+ !cancelPending &&
+ !cancelStalled ? (
+ <div
+ className="flex items-center gap-2 border-amber-500/30 border-t bg-amber-500/5 px-3 py-1.5 text-amber-700 text-xs dark:text-amber-400"
+ data-testid="agent-thread-stalled"
+ >
+ <span className="flex-1">
+ {t`Nothing from ${agentName} for ${plural(stalledMinutes, {
+ one: '# minute',
+ other: '# minutes',
+ })}. If it looks stuck, Stop and try again.`}
+ </span>
+ </div>
+ ) : null}
+ </div>
+ {info.steer !== undefined && !archived ? (
<div
- key={dropNotice.id}
- className="border-t bg-muted/40 px-3 py-1.5 text-muted-foreground text-xs"
+ className="flex items-center gap-2 border-t bg-muted/40 px-3 py-1.5 text-muted-foreground text-xs"
+ data-testid="agent-thread-steer-pending"
>
- {dropNotice.text}
+ <Spinner className="size-3.5 shrink-0" aria-hidden="true" />
+ <span className="shrink-0">{t`Steering — waiting for the current run to stop…`}</span>
+ <span className="min-w-0 flex-1 truncate text-foreground/80">
+ {info.steer.content}
+ </span>
</div>
- ) : uploadsPending ? (
- <p className="sr-only">
- <Plural
- value={pendingUploads.length}
- one="Uploading # attachment"
- other="Uploading # attachments"
- />
- </p>
) : null}
- </div>
- <div role="status" aria-live="polite" data-testid="agent-thread-stalled-region">
- {info.stalledSince !== undefined && turnActive && !cancelPending && !cancelStalled ? (
+ {cancelStalled && turnActive ? (
<div
className="flex items-center gap-2 border-amber-500/30 border-t bg-amber-500/5 px-3 py-1.5 text-amber-700 text-xs dark:text-amber-400"
- data-testid="agent-thread-stalled"
+ data-testid="agent-thread-cancel-stalled"
>
<span className="flex-1">
- {t`Nothing from ${agentName} for ${plural(stalledMinutes, {
- one: '# minute',
- other: '# minutes',
- })}. If it looks stuck, Stop and try again.`}
+ {t`The agent isn't stopping. Force stop closes this chat and quits the agent.`}
</span>
+ <Button
+ type="button"
+ size="sm"
+ variant="destructive"
+ className="h-6 text-xs"
+ onClick={() => client.closeThread(info.threadId)}
+ data-testid="agent-thread-force-stop"
+ >
+ {t`Force stop`}
+ </Button>
</div>
) : null}
- </div>
- {info.steer !== undefined && !archived ? (
- <div
- className="flex items-center gap-2 border-t bg-muted/40 px-3 py-1.5 text-muted-foreground text-xs"
- data-testid="agent-thread-steer-pending"
+ <span
+ className="sr-only"
+ role="status"
+ aria-live="polite"
+ data-testid="agent-thread-auth-status"
>
- <Spinner className="size-3.5 shrink-0" aria-hidden="true" />
- <span className="shrink-0">{t`Steering — waiting for the current run to stop…`}</span>
- <span className="min-w-0 flex-1 truncate text-foreground/80">
- {info.steer.content}
- </span>
- </div>
- ) : null}
- {cancelStalled && turnActive ? (
- <div
- className="flex items-center gap-2 border-amber-500/30 border-t bg-amber-500/5 px-3 py-1.5 text-amber-700 text-xs dark:text-amber-400"
- data-testid="agent-thread-cancel-stalled"
+ {runningAuthAction === null ? '' : authActionAnnouncement(runningAuthAction)}
+ </span>
+ <span
+ className="sr-only"
+ role="status"
+ aria-live="polite"
+ data-testid="agent-thread-resume-status"
>
- <span className="flex-1">
- {t`The agent isn't stopping. Force stop closes this chat and quits the agent.`}
- </span>
- <Button
- type="button"
- size="sm"
- variant="destructive"
- className="h-6 text-xs"
- onClick={() => client.closeThread(info.threadId)}
- data-testid="agent-thread-force-stop"
- >
- {t`Force stop`}
- </Button>
- </div>
- ) : null}
- <span
- className="sr-only"
- role="status"
- aria-live="polite"
- data-testid="agent-thread-auth-status"
- >
- {runningAuthAction === null ? '' : authActionAnnouncement(runningAuthAction)}
- </span>
- <span
- className="sr-only"
- role="status"
- aria-live="polite"
- data-testid="agent-thread-resume-status"
- >
- {resumeFailureMessage}
- </span>
- <span
- className="sr-only"
- role="status"
- aria-live="polite"
- aria-atomic="true"
- data-testid="agent-thread-start-status"
- >
- {announcedStartStatus}
- </span>
- <span
- className="sr-only"
- role="status"
- aria-live="polite"
- aria-atomic="true"
- data-testid="agent-thread-crash-status"
- >
- {crashAnnouncement}
- </span>
- {resumeFailureMessage !== '' && !newChatOfferInTranscript ? (
- <div
- className="flex items-center gap-2 border-amber-500/30 border-t bg-amber-500/5 px-3 py-1.5 text-amber-700 text-xs dark:text-amber-400"
- data-testid="agent-thread-resume-failed"
+ {resumeFailureMessage}
+ </span>
+ <span
+ className="sr-only"
+ role="status"
+ aria-live="polite"
+ aria-atomic="true"
+ data-testid="agent-thread-start-status"
>
- <span className="flex-1">{resumeFailureMessage}</span>
- <Button
- type="button"
- size="sm"
- variant="outline"
- className="h-6 shrink-0 text-xs"
- disabled={runningAuthAction !== null}
- aria-busy={runningAuthAction === 'new-chat'}
- onClick={startFreshThread}
- data-testid="agent-thread-resume-fallback-new"
+ {announcedStartStatus}
+ </span>
+ <span
+ className="sr-only"
+ role="status"
+ aria-live="polite"
+ aria-atomic="true"
+ data-testid="agent-thread-crash-status"
+ >
+ {crashAnnouncement}
+ </span>
+ {resumeFailureMessage !== '' && !newChatOfferInTranscript ? (
+ <div
+ className="flex items-center gap-2 border-amber-500/30 border-t bg-amber-500/5 px-3 py-1.5 text-amber-700 text-xs dark:text-amber-400"
+ data-testid="agent-thread-resume-failed"
>
- {runningAuthAction === 'new-chat' ? (
- <Spinner className="size-3" aria-hidden="true" />
- ) : null}
- {t`New chat with ${agentName}`}
- </Button>
- </div>
- ) : null}
- <ThreadComposer
- info={info}
- hasStartedWork={threadHasUserMessage({ items })}
- onNewChat={startFreshThread}
- composerRef={composerRef}
- mentionRecency={mentionRecency}
- onSubmit={submit}
- canPrompt={canPrompt}
- canQueue={canQueue}
- turnActive={turnActive}
- cancelPending={cancelPending}
- onCancel={requestCancel}
- onSteer={requestSteer}
- status={status}
- archived={archived}
- resumePending={resumePending}
- usage={model?.tokenUsage ?? null}
- selectedCommentCount={selectedCommentCount}
- selectedCommentDocs={selectedCommentDocs}
- hasQueuedComments={hasQueuedComments}
- onAttachComments={() => setCommentsAttached(true)}
- onDismissComments={() => setCommentsAttached(false)}
- pendingAttachments={pendingAttachments}
- pendingUploads={pendingUploads}
- imagesAccepted={imagesAccepted}
- onIngestImageFiles={ingestFiles}
- onIngestAllFiles={ingestFiles}
- onRemovePendingAttachment={removePendingAttachment}
- />
- {dragActive ? <ChatPanelDropOverlay onDismiss={() => setDragActive(false)} /> : null}
+ <span className="flex-1">{resumeFailureMessage}</span>
+ <Button
+ type="button"
+ size="sm"
+ variant="outline"
+ className="h-6 shrink-0 text-xs"
+ disabled={runningAuthAction !== null}
+ aria-busy={runningAuthAction === 'new-chat'}
+ onClick={startFreshThread}
+ data-testid="agent-thread-resume-fallback-new"
+ >
+ {runningAuthAction === 'new-chat' ? (
+ <Spinner className="size-3" aria-hidden="true" />
+ ) : null}
+ {t`New chat with ${agentName}`}
+ </Button>
+ </div>
+ ) : null}
+ <ThreadComposer
+ info={info}
+ hasStartedWork={threadHasUserMessage({ items })}
+ onNewChat={startFreshThread}
+ composerRef={composerRef}
+ mentionRecency={mentionRecency}
+ onSubmit={submit}
+ canPrompt={canPrompt}
+ canQueue={canQueue}
+ turnActive={turnActive}
+ cancelPending={cancelPending}
+ onCancel={requestCancel}
+ onSteer={requestSteer}
+ status={status}
+ archived={archived}
+ resumePending={resumePending}
+ usage={model?.tokenUsage ?? null}
+ selectedCommentCount={selectedCommentCount}
+ selectedCommentDocs={selectedCommentDocs}
+ hasQueuedComments={hasQueuedComments}
+ onAttachComments={() => setCommentsAttached(true)}
+ onDismissComments={() => setCommentsAttached(false)}
+ pendingAttachments={pendingAttachments}
+ pendingUploads={pendingUploads}
+ imagesAccepted={imagesAccepted}
+ onIngestImageFiles={ingestFiles}
+ onIngestAllFiles={ingestFiles}
+ onRemovePendingAttachment={removePendingAttachment}
+ />
+ {dragActive ? <ChatPanelDropOverlay onDismiss={() => setDragActive(false)} /> : null}
+ </ReferenceRulesContext>
</DocPathResolverReadyContext>
</div>
</ImagePreviewContext.Provider>
diff --git a/packages/app/src/components/acp/github-reference.test.ts b/packages/app/src/components/acp/github-reference.test.ts
new file mode 100644
index 000000000..e6983e162
--- /dev/null
+++ b/packages/app/src/components/acp/github-reference.test.ts
@@ -0,0 +1,91 @@
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import { isGitHubReferenceHref, loadGitHubReference } from './github-reference';
+
+const originalFetch = globalThis.fetch;
+afterEach(() => {
+ globalThis.fetch = originalFetch;
+});
+
+let seq = 0;
+function uniquePull(): string {
+ seq += 1;
+ return `https://github.com/inkeep/agents/pull/${seq}`;
+}
+
+const PREVIEW = {
+ kind: 'pull',
+ repo: 'inkeep/agents',
+ number: 1,
+ title: 'Add cards',
+ author: 'octocat',
+ createdAt: '2026-09-20T10:00:00Z',
+ lifecycle: 'merged',
+};
+
+const respond = (body: unknown) =>
+ new Response(JSON.stringify(body), {
+ status: 200,
+ headers: { 'content-type': 'application/json' },
+ });
+
+describe('isGitHubReferenceHref', () => {
+ test('matches pull request and issue links on any https host', () => {
+ expect(isGitHubReferenceHref('https://github.com/inkeep/agents/pull/42')).toBe(true);
+ expect(isGitHubReferenceHref('https://git.example.com/team/app/issues/7')).toBe(true);
+ expect(isGitHubReferenceHref('https://github.com/inkeep/agents/pull/42/files')).toBe(true);
+ });
+
+ test('leaves other links alone', () => {
+ for (const href of [
+ undefined,
+ 'http://github.com/inkeep/agents/pull/42',
+ 'https://github.com/inkeep/agents',
+ 'https://github.com/inkeep/agents/pulls',
+ 'https://linear.app/inkeep/issue/PRD-1',
+ '#/docs/readme',
+ 'not a url',
+ ]) {
+ expect(isGitHubReferenceHref(href)).toBe(false);
+ }
+ });
+});
+
+describe('loadGitHubReference', () => {
+ test('posts the link once and reuses the answer', async () => {
+ const url = uniquePull();
+ const fetchMock = vi.fn(async (_input: RequestInfo | URL, _init?: RequestInit) =>
+ respond({ ok: true, preview: PREVIEW }),
+ );
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ const [a, b] = await Promise.all([loadGitHubReference(url), loadGitHubReference(url)]);
+ expect(a).toMatchObject({ title: 'Add cards', lifecycle: 'merged' });
+ expect(b).toBe(a);
+ expect(await loadGitHubReference(url)).toBe(a);
+ expect(fetchMock).toHaveBeenCalledTimes(1);
+ const [input, init] = fetchMock.mock.calls[0] ?? [];
+ expect(input).toBe('/api/github-reference');
+ expect(JSON.parse(String(init?.body))).toEqual({ url });
+ });
+
+ test('an unavailable preview resolves to nothing, and is not asked for again at once', async () => {
+ const url = uniquePull();
+ const fetchMock = vi.fn(async () => respond({ ok: false, reason: 'not-found' }));
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ expect(await loadGitHubReference(url)).toBeNull();
+ expect(await loadGitHubReference(url)).toBeNull();
+ expect(fetchMock).toHaveBeenCalledTimes(1);
+ });
+
+ test('a network failure resolves to nothing and is retried on the next hover', async () => {
+ const url = uniquePull();
+ const warn = vi.spyOn(console, 'warn').mockImplementation(() => {});
+ const fetchMock = vi.fn(async () => {
+ throw new TypeError('offline');
+ });
+ globalThis.fetch = fetchMock as unknown as typeof fetch;
+ expect(await loadGitHubReference(url)).toBeNull();
+ expect(await loadGitHubReference(url)).toBeNull();
+ expect(fetchMock).toHaveBeenCalledTimes(2);
+ warn.mockRestore();
+ });
+});
diff --git a/packages/app/src/components/acp/github-reference.ts b/packages/app/src/components/acp/github-reference.ts
new file mode 100644
index 000000000..124f57316
--- /dev/null
+++ b/packages/app/src/components/acp/github-reference.ts
@@ -0,0 +1,87 @@
+import {
+ type GitHubReferencePreview,
+ GitHubReferenceResponseSchema,
+} from '@inkeep/open-knowledge-core';
+import { useEffect, useState } from 'react';
+
+const REFERENCE_PATH =
+ /^\/[A-Za-z0-9][A-Za-z0-9-]{0,38}\/[A-Za-z0-9._-]{1,100}\/(?:pull|issues)\/\d{1,10}(?:\/[^?#]*)?$/;
+
+const CACHE_TTL_MS = 60_000;
+
+const CACHE_MAX_ENTRIES = 128;
+
+const cache = new Map<string, { preview: GitHubReferencePreview | null; expiresAt: number }>();
+
+const inflight = new Map<string, Promise<GitHubReferencePreview | null>>();
+
+export function isGitHubReferenceHref(href: string | undefined): href is string {
+ if (href === undefined) return false;
+ let url: URL;
+ try {
+ url = new URL(href);
+ } catch {
+ return false;
+ }
+ return url.protocol === 'https:' && REFERENCE_PATH.test(url.pathname);
+}
+
+function remember(url: string, preview: GitHubReferencePreview | null): void {
+ cache.delete(url);
+ cache.set(url, { preview, expiresAt: Date.now() + CACHE_TTL_MS });
+ while (cache.size > CACHE_MAX_ENTRIES) {
+ const oldest = cache.keys().next().value;
+ if (oldest === undefined) break;
+ cache.delete(oldest);
+ }
+}
+
+async function requestGitHubReference(url: string): Promise<GitHubReferencePreview | null> {
+ const res = await fetch('/api/github-reference', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ url }),
+ });
+ if (!res.ok) return null;
+ const parsed = GitHubReferenceResponseSchema.safeParse(await res.json());
+ return parsed.success && parsed.data.ok ? parsed.data.preview : null;
+}
+
+export function loadGitHubReference(url: string): Promise<GitHubReferencePreview | null> {
+ const hit = cache.get(url);
+ if (hit !== undefined && hit.expiresAt > Date.now()) return Promise.resolve(hit.preview);
+ const pending = inflight.get(url);
+ if (pending !== undefined) return pending;
+ const promise = (async () => {
+ try {
+ const preview = await requestGitHubReference(url);
+ remember(url, preview);
+ return preview;
+ } catch (err) {
+ console.warn(
+ '[github-reference] preview fetch failed:',
+ err instanceof Error ? err.message : String(err),
+ );
+ return null;
+ } finally {
+ inflight.delete(url);
+ }
+ })();
+ inflight.set(url, promise);
+ return promise;
+}
+
+export function useGitHubReference(url: string | null): GitHubReferencePreview | null {
+ const [entry, setEntry] = useState<{ url: string; preview: GitHubReferencePreview } | null>(null);
+ useEffect(() => {
+ if (url === null) return;
+ let ignore = false;
+ void loadGitHubReference(url).then((preview) => {
+ if (!ignore && preview !== null) setEntry({ url, preview });
+ });
+ return () => {
+ ignore = true;
+ };
+ }, [url]);
+ return url !== null && entry?.url === url ? entry.preview : null;
+}
diff --git a/packages/app/src/components/acp/reference-links-context.ts b/packages/app/src/components/acp/reference-links-context.ts
new file mode 100644
index 000000000..05b6e99fa
--- /dev/null
+++ b/packages/app/src/components/acp/reference-links-context.ts
@@ -0,0 +1,4 @@
+import { createContext } from 'react';
+import type { ReferenceRulesInput } from './reference-links';
+
+export const ReferenceRulesContext = createContext<ReferenceRulesInput | null>(null);
diff --git a/packages/app/src/components/acp/reference-links.test.ts b/packages/app/src/components/acp/reference-links.test.ts
new file mode 100644
index 000000000..c47b63b7c
--- /dev/null
+++ b/packages/app/src/components/acp/reference-links.test.ts
@@ -0,0 +1,126 @@
+import { describe, expect, test } from 'vitest';
+import { githubWebBase, referenceRulesKey, remarkReferenceLinks } from './reference-links';
+
+interface Node {
+ type: string;
+ value?: string;
+ url?: string;
+ title?: string | null;
+ children?: Node[];
+}
+
+const LINEAR = { prefix: 'PRD-', url: 'https://linear.app/inkeep/issue/PRD-<num>' };
+
+function linkify(value: string, autolinks = [LINEAR], githubBase = 'https://github.com'): Node[] {
+ const tree: Node = {
+ type: 'root',
+ children: [{ type: 'paragraph', children: [{ type: 'text', value }] }],
+ };
+ remarkReferenceLinks({ githubBase, autolinks })(tree);
+ return tree.children?.[0]?.children ?? [];
+}
+
+const links = (nodes: Node[]) =>
+ nodes.filter((n) => n.type === 'link').map((n) => [n.children?.[0]?.value, n.url]);
+
+describe('reference links', () => {
+ test('a qualified GitHub reference links to its issue or pull request', () => {
+ expect(links(linkify('Merged inkeep/agents-private#4971 today.'))).toEqual([
+ ['inkeep/agents-private#4971', 'https://github.com/inkeep/agents-private/issues/4971'],
+ ]);
+ });
+
+ test('a configured prefix followed by digits links to its template', () => {
+ const nodes = linkify('Fixes PRD-8223, see PRD-8011.');
+ expect(links(nodes)).toEqual([
+ ['PRD-8223', 'https://linear.app/inkeep/issue/PRD-8223'],
+ ['PRD-8011', 'https://linear.app/inkeep/issue/PRD-8011'],
+ ]);
+ expect(nodes.map((n) => (n.type === 'text' ? n.value : '·'))).toEqual([
+ 'Fixes ',
+ '·',
+ ', see ',
+ '·',
+ '.',
+ ]);
+ });
+
+ test('bare #N, lowercase prefixes, and prefixes inside longer words stay plain text', () => {
+ expect(links(linkify('Rule #4 and step #2'))).toEqual([]);
+ expect(links(linkify('branch fix/prd-8028-git'))).toEqual([]);
+ expect(links(linkify('XPRD-12 and APRD-3'))).toEqual([]);
+ expect(links(linkify('see src/foo.ts#L3'))).toEqual([]);
+ expect(links(linkify('see packages/app/src/index.ts#12'))).toEqual([]);
+ });
+
+ test('a two-segment path ending in #N reads as owner/repo#N, since repository names can hold dots', () => {
+ expect(links(linkify('see src/index.ts#12'))).toEqual([
+ ['src/index.ts#12', 'https://github.com/src/index.ts/issues/12'],
+ ]);
+ expect(links(linkify('see inkeep/agents.js#12'))).toEqual([
+ ['inkeep/agents.js#12', 'https://github.com/inkeep/agents.js/issues/12'],
+ ]);
+ });
+
+ test('code and existing links are left alone', () => {
+ const tree: Node = {
+ type: 'root',
+ children: [
+ {
+ type: 'paragraph',
+ children: [
+ { type: 'inlineCode', value: 'PRD-1' },
+ {
+ type: 'link',
+ url: 'https://example.com',
+ children: [{ type: 'text', value: 'PRD-2' }],
+ },
+ { type: 'emphasis', children: [{ type: 'text', value: 'PRD-3' }] },
+ ],
+ },
+ { type: 'code', value: 'PRD-4' },
+ ],
+ };
+ remarkReferenceLinks({ githubBase: 'https://github.com', autolinks: [LINEAR] })(tree);
+ const paragraph = tree.children?.[0]?.children ?? [];
+ expect(paragraph[0]).toEqual({ type: 'inlineCode', value: 'PRD-1' });
+ expect(paragraph[1]).toEqual({
+ type: 'link',
+ url: 'https://example.com',
+ children: [{ type: 'text', value: 'PRD-2' }],
+ });
+ expect(paragraph[2]?.children?.[0]).toMatchObject({
+ type: 'link',
+ url: 'https://linear.app/inkeep/issue/PRD-3',
+ });
+ expect(tree.children?.[1]).toEqual({ type: 'code', value: 'PRD-4' });
+ });
+
+ test('with no rules set nothing changes', () => {
+ const tree: Node = { type: 'root', children: [{ type: 'text', value: 'PRD-1 a/b#2' }] };
+ remarkReferenceLinks(null)(tree);
+ expect(tree.children).toEqual([{ type: 'text', value: 'PRD-1 a/b#2' }]);
+ });
+});
+
+describe('githubWebBase', () => {
+ test("uses the origin of the remote's web URL, which the server only reports for GitHub hosts", () => {
+ expect(githubWebBase('https://github.com/inkeep/agents-private')).toBe('https://github.com');
+ expect(githubWebBase('https://ghe.example.com/team/repo')).toBe('https://ghe.example.com');
+ });
+
+ test('falls back to github.com with no remote, a malformed URL, or a non-web scheme', () => {
+ expect(githubWebBase(null)).toBe('https://github.com');
+ expect(githubWebBase(undefined)).toBe('https://github.com');
+ expect(githubWebBase('not a url')).toBe('https://github.com');
+ expect(githubWebBase('javascript:alert(1)')).toBe('https://github.com');
+ });
+
+ test('the rules key changes when the host or the autolinks change', () => {
+ const base = referenceRulesKey({ githubBase: 'https://github.com', autolinks: [LINEAR] });
+ expect(
+ referenceRulesKey({ githubBase: 'https://ghe.example.com', autolinks: [LINEAR] }),
+ ).not.toBe(base);
+ expect(referenceRulesKey({ githubBase: 'https://github.com', autolinks: [] })).not.toBe(base);
+ });
+});
diff --git a/packages/app/src/components/acp/reference-links.ts b/packages/app/src/components/acp/reference-links.ts
new file mode 100644
index 000000000..305d07ec7
--- /dev/null
+++ b/packages/app/src/components/acp/reference-links.ts
@@ -0,0 +1,136 @@
+export interface AutolinkEntry {
+ readonly prefix: string;
+ readonly url: string;
+}
+
+export interface ReferenceRulesInput {
+ readonly githubBase: string;
+ readonly autolinks: readonly AutolinkEntry[];
+}
+
+interface ReferenceRule {
+ readonly pattern: RegExp;
+ readonly href: (match: RegExpExecArray) => string;
+}
+
+interface MdastNode {
+ type: string;
+ value?: string;
+ url?: string;
+ title?: string | null;
+ children?: MdastNode[];
+}
+
+const DEFAULT_GITHUB_BASE = 'https://github.com';
+
+const GITHUB_REFERENCE =
+ /(?<![\w./-])([A-Za-z0-9][A-Za-z0-9-]{0,38})\/([A-Za-z0-9._-]{1,100})#(\d{1,10})\b/g;
+
+const LEAVE_ALONE: ReadonlySet<string> = new Set(['link', 'linkReference', 'definition']);
+
+export function githubWebBase(remoteWebUrl: string | null | undefined): string {
+ if (remoteWebUrl === null || remoteWebUrl === undefined || remoteWebUrl === '') {
+ return DEFAULT_GITHUB_BASE;
+ }
+ let url: URL;
+ try {
+ url = new URL(remoteWebUrl);
+ } catch {
+ return DEFAULT_GITHUB_BASE;
+ }
+ if (url.protocol !== 'https:' && url.protocol !== 'http:') return DEFAULT_GITHUB_BASE;
+ return `${url.protocol}//${url.host}`;
+}
+
+function escapeRegExp(value: string): string {
+ return value.replace(/[.*+?^${}()|[\]\\-]/g, '\\$&');
+}
+
+function buildReferenceRules(input: ReferenceRulesInput): ReferenceRule[] {
+ const rules: ReferenceRule[] = [
+ {
+ pattern: GITHUB_REFERENCE,
+ href: (m) => `${input.githubBase}/${m[1]}/${m[2]}/issues/${m[3]}`,
+ },
+ ];
+ for (const entry of input.autolinks) {
+ if (entry.prefix === '' || !entry.url.includes('<num>')) continue;
+ rules.push({
+ pattern: new RegExp(`(?<![A-Za-z0-9_-])${escapeRegExp(entry.prefix)}(\\d{1,10})\\b`, 'g'),
+ href: (m) => entry.url.replaceAll('<num>', m[1] ?? ''),
+ });
+ }
+ return rules;
+}
+
+export function referenceRulesKey(input: ReferenceRulesInput | null): string {
+ if (input === null) return '';
+ return JSON.stringify([input.githubBase, input.autolinks.map((a) => [a.prefix, a.url])]);
+}
+
+export function remarkReferenceLinks(input: ReferenceRulesInput | null) {
+ const rules = input === null ? [] : buildReferenceRules(input);
+ return (tree: MdastNode): void => {
+ if (rules.length === 0) return;
+ try {
+ rewriteNode(tree, rules);
+ } catch (err) {
+ console.warn('[remarkReferenceLinks] rewrite failed, partial rewrites may remain', err);
+ }
+ };
+}
+
+function rewriteNode(node: MdastNode, rules: readonly ReferenceRule[]): void {
+ const children = node.children;
+ if (children === undefined) return;
+ const next: MdastNode[] = [];
+ for (const child of children) {
+ if (child === undefined || child === null) continue;
+ if (LEAVE_ALONE.has(child.type)) {
+ next.push(child);
+ continue;
+ }
+ if (child.type === 'text' && typeof child.value === 'string') {
+ next.push(...splitText(child.value, rules));
+ continue;
+ }
+ rewriteNode(child, rules);
+ next.push(child);
+ }
+ node.children = next;
+}
+
+interface Found {
+ readonly start: number;
+ readonly end: number;
+ readonly url: string;
+}
+
+function splitText(value: string, rules: readonly ReferenceRule[]): MdastNode[] {
+ const found: Found[] = [];
+ for (const rule of rules) {
+ const pattern = new RegExp(rule.pattern.source, rule.pattern.flags);
+ let match = pattern.exec(value);
+ while (match !== null) {
+ found.push({ start: match.index, end: match.index + match[0].length, url: rule.href(match) });
+ match = pattern.exec(value);
+ }
+ }
+ if (found.length === 0) return [{ type: 'text', value }];
+ found.sort((a, b) => a.start - b.start || b.end - a.end);
+ const out: MdastNode[] = [];
+ let cursor = 0;
+ for (const hit of found) {
+ if (hit.start < cursor) continue;
+ if (hit.start > cursor) out.push({ type: 'text', value: value.slice(cursor, hit.start) });
+ out.push({
+ type: 'link',
+ url: hit.url,
+ title: null,
+ children: [{ type: 'text', value: value.slice(hit.start, hit.end) }],
+ });
+ cursor = hit.end;
+ }
+ if (cursor < value.length) out.push({ type: 'text', value: value.slice(cursor) });
+ return out;
+}
diff --git a/packages/app/src/components/acp/reference-status.test.ts b/packages/app/src/components/acp/reference-status.test.ts
new file mode 100644
index 000000000..fc7e810bf
--- /dev/null
+++ b/packages/app/src/components/acp/reference-status.test.ts
@@ -0,0 +1,106 @@
+import type { GitHubReferencePreview, GitHubReferenceStatus } from '@inkeep/open-knowledge-core';
+import { describe, expect, test } from 'vitest';
+import { diffBlocks, referenceStatusLine } from './reference-status';
+
+const IDLE: GitHubReferenceStatus = {
+ mergeQueue: null,
+ autoMerge: false,
+ mergeState: null,
+ reviewDecision: null,
+ checks: null,
+};
+
+function openPull(status: Partial<GitHubReferenceStatus>): GitHubReferencePreview {
+ return {
+ kind: 'pull',
+ repo: 'inkeep/agents',
+ number: 1,
+ title: 't',
+ author: null,
+ createdAt: '2026-09-20T10:00:00Z',
+ lifecycle: 'open',
+ status: { ...IDLE, ...status },
+ };
+}
+
+describe('referenceStatusLine', () => {
+ test('the merge queue outranks everything, with its position', () => {
+ expect(
+ referenceStatusLine(
+ openPull({
+ mergeQueue: { position: 3, state: 'AWAITING_CHECKS' },
+ mergeState: 'BLOCKED',
+ autoMerge: true,
+ }),
+ ),
+ ).toEqual({ kind: 'queued', tone: 'attention', position: 3 });
+ expect(
+ referenceStatusLine(openPull({ mergeQueue: { position: 1, state: 'UNMERGEABLE' } })),
+ ).toEqual({ kind: 'queue-unmergeable', tone: 'danger' });
+ });
+
+ test('auto-merge tells an armed pull request apart from a stuck one', () => {
+ expect(referenceStatusLine(openPull({ mergeState: 'BLOCKED', autoMerge: true }))?.kind).toBe(
+ 'auto-merge',
+ );
+ expect(referenceStatusLine(openPull({ mergeState: 'BLOCKED' }))?.kind).toBe('blocked');
+ expect(
+ referenceStatusLine(openPull({ mergeState: 'BLOCKED', autoMerge: true, checks: 'FAILURE' })),
+ ).toEqual({ kind: 'checks-failing', tone: 'danger' });
+ });
+
+ test('a failing optional check is not reported as blocked', () => {
+ expect(referenceStatusLine(openPull({ mergeState: 'UNSTABLE', checks: 'FAILURE' }))).toEqual({
+ kind: 'unstable',
+ tone: 'severe',
+ });
+ });
+
+ test('an optional check that is still running is not reported as failed', () => {
+ expect(referenceStatusLine(openPull({ mergeState: 'UNSTABLE', checks: 'PENDING' }))).toEqual({
+ kind: 'checks-running',
+ tone: 'attention',
+ });
+ expect(referenceStatusLine(openPull({ mergeState: 'UNSTABLE', checks: null }))).toBeNull();
+ });
+
+ test('blocked pull requests name what they wait for', () => {
+ expect(
+ referenceStatusLine(openPull({ mergeState: 'BLOCKED', reviewDecision: 'REVIEW_REQUIRED' }))
+ ?.kind,
+ ).toBe('review-required');
+ expect(referenceStatusLine(openPull({ mergeState: 'BLOCKED', checks: 'PENDING' }))?.kind).toBe(
+ 'checks-running',
+ );
+ });
+
+ test('conflicts and requested changes come before readiness', () => {
+ expect(referenceStatusLine(openPull({ mergeState: 'DIRTY', autoMerge: true }))?.kind).toBe(
+ 'conflicts',
+ );
+ expect(
+ referenceStatusLine(openPull({ mergeState: 'CLEAN', reviewDecision: 'CHANGES_REQUESTED' }))
+ ?.kind,
+ ).toBe('changes-requested');
+ expect(
+ referenceStatusLine(openPull({ mergeState: 'CLEAN', reviewDecision: 'APPROVED' })),
+ ).toEqual({ kind: 'approved', tone: 'success' });
+ expect(referenceStatusLine(openPull({ mergeState: 'BEHIND' }))?.kind).toBe('behind');
+ });
+
+ test('closed, merged and statusless references get no status row', () => {
+ expect(referenceStatusLine({ ...openPull({}), lifecycle: 'merged' })).toBeNull();
+ expect(referenceStatusLine({ ...openPull({}), status: undefined })).toBeNull();
+ expect(referenceStatusLine(openPull({}))).toBeNull();
+ });
+});
+
+describe('diffBlocks', () => {
+ test('floors each share of five blocks and leaves the rest grey', () => {
+ expect(diffBlocks(120, 30)).toEqual(['add', 'add', 'add', 'add', 'del']);
+ expect(diffBlocks(90, 20)).toEqual(['add', 'add', 'add', 'add', 'none']);
+ expect(diffBlocks(1, 1)).toEqual(['add', 'add', 'del', 'del', 'none']);
+ expect(diffBlocks(0, 0)).toEqual(['none', 'none', 'none', 'none', 'none']);
+ expect(diffBlocks(0, 9)).toEqual(['del', 'del', 'del', 'del', 'del']);
+ });
+});
diff --git a/packages/app/src/components/acp/reference-status.ts b/packages/app/src/components/acp/reference-status.ts
new file mode 100644
index 000000000..f02c60ed1
--- /dev/null
+++ b/packages/app/src/components/acp/reference-status.ts
@@ -0,0 +1,73 @@
+import type { GitHubReferencePreview } from '@inkeep/open-knowledge-core';
+
+export type ReferenceStatusTone = 'success' | 'attention' | 'severe' | 'danger';
+
+export type ReferenceStatusLine =
+ | { readonly kind: 'queued'; readonly tone: 'attention'; readonly position: number | null }
+ | {
+ readonly kind:
+ | 'queue-unmergeable'
+ | 'conflicts'
+ | 'changes-requested'
+ | 'checks-failing'
+ | 'auto-merge'
+ | 'review-required'
+ | 'checks-running'
+ | 'blocked'
+ | 'unstable'
+ | 'behind'
+ | 'approved'
+ | 'ready';
+ readonly tone: ReferenceStatusTone;
+ };
+
+export function referenceStatusLine(preview: GitHubReferencePreview): ReferenceStatusLine | null {
+ const status = preview.status;
+ if (status === undefined || preview.lifecycle !== 'open') return null;
+ const { mergeQueue, autoMerge, mergeState, reviewDecision, checks } = status;
+ const checksFailing = checks === 'FAILURE' || checks === 'ERROR';
+ const checksRunning = checks === 'PENDING' || checks === 'EXPECTED';
+ if (mergeQueue !== null) {
+ if (mergeQueue.state === 'UNMERGEABLE') return { kind: 'queue-unmergeable', tone: 'danger' };
+ return {
+ kind: 'queued',
+ tone: 'attention',
+ position: mergeQueue.position >= 1 ? mergeQueue.position : null,
+ };
+ }
+ if (mergeState === 'DIRTY') return { kind: 'conflicts', tone: 'danger' };
+ if (reviewDecision === 'CHANGES_REQUESTED') return { kind: 'changes-requested', tone: 'danger' };
+ if (mergeState === 'BLOCKED' && checksFailing) return { kind: 'checks-failing', tone: 'danger' };
+ if (autoMerge) return { kind: 'auto-merge', tone: 'success' };
+ if (mergeState === 'BLOCKED') {
+ if (reviewDecision === 'REVIEW_REQUIRED') return { kind: 'review-required', tone: 'attention' };
+ if (checksRunning) return { kind: 'checks-running', tone: 'attention' };
+ return { kind: 'blocked', tone: 'attention' };
+ }
+ if (mergeState === 'UNSTABLE') {
+ if (checksFailing) return { kind: 'unstable', tone: 'severe' };
+ return checksRunning ? { kind: 'checks-running', tone: 'attention' } : null;
+ }
+ if (mergeState === 'BEHIND') return { kind: 'behind', tone: 'attention' };
+ if (checksRunning) return { kind: 'checks-running', tone: 'attention' };
+ if (mergeState === 'CLEAN' || mergeState === 'HAS_HOOKS') {
+ return reviewDecision === 'APPROVED'
+ ? { kind: 'approved', tone: 'success' }
+ : { kind: 'ready', tone: 'success' };
+ }
+ return null;
+}
+
+export function diffBlocks(
+ additions: number,
+ deletions: number,
+): readonly ('add' | 'del' | 'none')[] {
+ const total = additions + deletions;
+ const added = total === 0 ? 0 : Math.floor((5 * additions) / total);
+ const removed = total === 0 ? 0 : Math.floor((5 * deletions) / total);
+ return [
+ ...Array<'add'>(added).fill('add'),
+ ...Array<'del'>(removed).fill('del'),
+ ...Array<'none'>(5 - added - removed).fill('none'),
+ ];
+}
diff --git a/packages/app/src/components/acp/use-reference-rules.dom.test.tsx b/packages/app/src/components/acp/use-reference-rules.dom.test.tsx
new file mode 100644
index 000000000..0ec5a1395
--- /dev/null
+++ b/packages/app/src/components/acp/use-reference-rules.dom.test.tsx
@@ -0,0 +1,97 @@
+import { ConfigSchema } from '@inkeep/open-knowledge-core';
+import { renderHook, waitFor } from '@testing-library/react';
+import type { ReactNode } from 'react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import { ConfigContext, type ConfigContextValue } from '@/lib/config-context';
+import { type ReferenceRulesInput, remarkReferenceLinks } from './reference-links';
+import { useReferenceRules } from './use-reference-rules';
+
+interface Node {
+ type: string;
+ value?: string;
+ url?: string;
+ children?: Node[];
+}
+
+function linked(
+ rules: ReferenceRulesInput,
+ text: string,
+): Array<[string | undefined, string | undefined]> {
+ const tree: Node = {
+ type: 'root',
+ children: [{ type: 'paragraph', children: [{ type: 'text', value: text }] }],
+ };
+ remarkReferenceLinks(rules)(tree);
+ return (tree.children?.[0]?.children ?? [])
+ .filter((n) => n.type === 'link')
+ .map((n) => [n.children?.[0]?.value, n.url]);
+}
+
+function stubSyncStatus(webUrl: string | null): void {
+ vi.stubGlobal(
+ 'fetch',
+ vi.fn(async (input: RequestInfo | URL) =>
+ String(input).includes('/api/sync/status')
+ ? new Response(JSON.stringify({ remote: { label: 'origin', webUrl } }), { status: 200 })
+ : new Response('{}', { status: 404 }),
+ ),
+ );
+}
+
+function contextWith(overrides: Partial<ConfigContextValue>): ConfigContextValue {
+ const base = ConfigSchema.parse({});
+ return {
+ userBinding: null,
+ userSynced: true,
+ projectBinding: null,
+ projectLocalBinding: null,
+ okignoreBinding: null,
+ okignoreSynced: true,
+ userConfig: base,
+ projectConfig: base,
+ projectSynced: true,
+ projectLocalConfig: base,
+ projectLocalSynced: true,
+ merged: base,
+ ...overrides,
+ };
+}
+
+afterEach(() => {
+ vi.unstubAllGlobals();
+});
+
+describe('useReferenceRules', () => {
+ test('links with the project autolinks and the GitHub host the server reports for the remote', async () => {
+ stubSyncStatus('https://ghe.example.com/team/repo');
+ const base = ConfigSchema.parse({});
+ const value = contextWith({
+ userConfig: {
+ ...base,
+ autolinks: [{ prefix: 'PRD-', url: 'https://user-scope.example/<num>' }],
+ },
+ projectConfig: {
+ ...base,
+ autolinks: [{ prefix: 'PRD-', url: 'https://linear.example/PRD-<num>' }, null],
+ },
+ });
+ const wrapper = ({ children }: { children: ReactNode }) => (
+ <ConfigContext value={value}>{children}</ConfigContext>
+ );
+ const { result } = renderHook(() => useReferenceRules(), { wrapper });
+ await waitFor(() => expect(result.current.githubBase).toBe('https://ghe.example.com'));
+ expect(linked(result.current, 'Fixed PRD-5 in team/repo#9.')).toEqual([
+ ['PRD-5', 'https://linear.example/PRD-5'],
+ ['team/repo#9', 'https://ghe.example.com/team/repo/issues/9'],
+ ]);
+ });
+
+ test('with no config and no GitHub remote, only qualified references link, to github.com', async () => {
+ stubSyncStatus(null);
+ const { result } = renderHook(() => useReferenceRules());
+ await waitFor(() => expect(result.current.githubBase).toBe('https://github.com'));
+ expect(linked(result.current, 'PRD-5 and team/repo#9')).toEqual([
+ ['team/repo#9', 'https://github.com/team/repo/issues/9'],
+ ]);
+ });
+});
diff --git a/packages/app/src/components/acp/use-reference-rules.ts b/packages/app/src/components/acp/use-reference-rules.ts
new file mode 100644
index 000000000..bdb231964
--- /dev/null
+++ b/packages/app/src/components/acp/use-reference-rules.ts
@@ -0,0 +1,14 @@
+import { useGitSyncStatus } from '@/hooks/use-git-sync-status';
+import { useConfigContextOptional } from '@/lib/config-context';
+import { type AutolinkEntry, githubWebBase, type ReferenceRulesInput } from './reference-links';
+
+export function useReferenceRules(): ReferenceRulesInput {
+ const configContext = useConfigContextOptional();
+ const syncStatus = useGitSyncStatus();
+ return {
+ githubBase: githubWebBase(syncStatus?.remote?.webUrl),
+ autolinks: (configContext?.projectConfig?.autolinks ?? []).filter(
+ (entry): entry is AutolinkEntry => entry !== null,
+ ),
+ };
+}
diff --git a/packages/app/src/components/settings/LinkPreviewsSection.dom.test.tsx b/packages/app/src/components/settings/LinkPreviewsSection.dom.test.tsx
index a73b6e5ad..194798383 100644
--- a/packages/app/src/components/settings/LinkPreviewsSection.dom.test.tsx
+++ b/packages/app/src/components/settings/LinkPreviewsSection.dom.test.tsx
@@ -116,6 +116,19 @@ describe('LinkPreviewsSection', () => {
);
});
+ test('the switch is named for both kinds of preview it governs, in either state', () => {
+ const { binding } = makeBinding();
+ mockProjectLocalBinding = binding;
+ for (const enabled of [false, true]) {
+ mockProjectLocalConfig = configWithLinkPreviews(enabled);
+ const { unmount } = render(<LinkPreviewsSection />);
+ expect(
+ screen.getByRole('switch', { name: 'External link previews and GitHub reference cards' }),
+ ).toBeTruthy();
+ unmount();
+ }
+ });
+
test('toggle is disabled until the project-local binding has synced', () => {
mockProjectLocalBinding = null;
mockProjectLocalSynced = false;
diff --git a/packages/app/src/components/settings/LinkPreviewsSection.tsx b/packages/app/src/components/settings/LinkPreviewsSection.tsx
index 803c4afeb..f10d7267f 100644
--- a/packages/app/src/components/settings/LinkPreviewsSection.tsx
+++ b/packages/app/src/components/settings/LinkPreviewsSection.tsx
@@ -69,7 +69,10 @@ export function LinkPreviewsSection() {
title={<Trans>Link previews</Trans>}
scope="project-local"
>
- <Trans>Show a preview card when you hover an external link in the editor.</Trans>
+ <Trans>
+ Show a preview card when you hover an external link in the editor or a GitHub pull request
+ or issue in an agent chat.
+ </Trans>
</SettingsSectionHeader>
<div className="rounded-md border p-3">
@@ -86,7 +89,7 @@ export function LinkPreviewsSection() {
{enabled ? (
<Trans>
On — hovering an external link sends its URL to the destination site to fetch a
- preview.
+ preview, and hovering a GitHub reference in an agent chat asks GitHub for it.
</Trans>
) : (
<Trans>
@@ -102,9 +105,7 @@ export function LinkPreviewsSection() {
checked={enabled}
disabled={!bindingReady}
onCheckedChange={onToggleRequest}
- aria-label={
- enabled ? t`Disable external link previews` : t`Enable external link previews`
- }
+ aria-label={t`External link previews and GitHub reference cards`}
data-testid="settings-link-previews-toggle"
/>
</div>
@@ -175,6 +176,12 @@ function EnableLinkPreviewsConfirmDialog({
the page's preview metadata — one request per previewed link.
</Trans>
</li>
+ <li>
+ <Trans>
+ In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub
+ for its status, signed in as you when OpenKnowledge can use your GitHub sign-in.
+ </Trans>
+ </li>
<li>
<Trans>
Only external links trigger a request. Links to other documents in this project
diff --git a/packages/app/src/components/ui/hover-card.tsx b/packages/app/src/components/ui/hover-card.tsx
new file mode 100644
index 000000000..5a21e98f8
--- /dev/null
+++ b/packages/app/src/components/ui/hover-card.tsx
@@ -0,0 +1,36 @@
+import { HoverCard as HoverCardPrimitive } from 'radix-ui';
+import type * as React from 'react';
+
+import { cn } from '@/lib/utils';
+
+function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>) {
+ return <HoverCardPrimitive.Root data-slot="hover-card" {...props} />;
+}
+
+function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>) {
+ return <HoverCardPrimitive.Trigger data-slot="hover-card-trigger" {...props} />;
+}
+
+function HoverCardContent({
+ className,
+ align = 'center',
+ sideOffset = 4,
+ ...props
+}: React.ComponentProps<typeof HoverCardPrimitive.Content>) {
+ return (
+ <HoverCardPrimitive.Portal data-slot="hover-card-portal">
+ <HoverCardPrimitive.Content
+ data-slot="hover-card-content"
+ align={align}
+ sideOffset={sideOffset}
+ className={cn(
+ 'z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0',
+ className,
+ )}
+ {...props}
+ />
+ </HoverCardPrimitive.Portal>
+ );
+}
+
+export { HoverCard, HoverCardContent, HoverCardTrigger };
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index 5a54a8d75..05b900c92 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -230,6 +230,7 @@
],
"11ukmX": ["فشلت إعادة التسمية: ", ["0"]],
"12F9WL": ["(بدون معرّف)"],
+ "12irWm": ["#", ["position"], " في قائمة انتظار الدمج"],
"151wvk": ["إظهار الشريط الجانبي"],
"15ZHCt": ["لا تغييرات في المتن في هذه النسخة."],
"161NCV": ["يجري الإيقاف"],
@@ -289,6 +290,7 @@
"20LVKb": ["طلب شيء من خارج هذه المحادثة من عملية الوكيل أن تتوقف (", ["signal"], ")."],
"2277Tu": ["طيّ الرسم البياني"],
"237hSL": ["انتهت"],
+ "24crK0": ["في قائمة انتظار الدمج، لكن لا يمكن دمجه"],
"253MN6": ["تعذّر إرسال تعليقاتك — يرجى المحاولة مرة أخرى."],
"25Pw6a": ["يجري الاستنساخ"],
"27TLNq": ["تفعيل واجهة ", ["displayName"], " السطرية"],
@@ -614,7 +616,6 @@
]
],
"5UccRr": ["آخر نشاط: ", ["lastActivity"]],
- "5Umg9i": ["تعطيل معاينات الروابط الخارجية"],
"5WDhAk": ["اربط بصفحة أو رابط خارجي."],
"5W_u0E": ["تعذّر إعادة تشغيل الخادم. شغّل ok start في هذا المجلد لإعادة المحاولة."],
"5Y17qa": ["ينطبق على (أنماط — البادئة ! تستثني؛ والفارغ يعني كل مستند)"],
@@ -917,6 +918,7 @@
"851WA-": ["يمكن ضبط هذا في الإعدادات > أدوات الذكاء الاصطناعي وواجهة سطر الأوامر"],
"87GMKe": ["هل تريد كشف هذا المشروع على الشبكة؟"],
"881Uwh": ["حذف الجدول المحدد"],
+ "89SLQ-": ["معاينات الروابط الخارجية وبطاقات مراجع GitHub"],
"89TmeV": ["تم حذف بعض المهارات مع تحذير"],
"89TtiD": ["ملف جديد من القالب «", ["displayTitle"], "» (", ["fileName"], ") في جذر المشروع"],
"8AjnFz": ["«", ["0"], "» مستورد بالفعل (محتوى مطابق)."],
@@ -1135,6 +1137,7 @@
"AcK_r0": ["واجهة Claude السطرية"],
"AdcGcG": ["يجري تطبيق تغييرك"],
"AddR83": ["تعذّر إنشاء المشروع. أعد المحاولة أو اختر موقعًا مختلفًا."],
+ "AdjDox": ["مسودة"],
"AeHuzT": ["# نمط واحد في كل سطر.\n# أمثلة:\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["حلّ OpenKnowledge تعارضًا في ", ["subject"]],
"AeORtB": [
@@ -1241,6 +1244,7 @@
"BWTzAb": ["يدوي"],
"BY-g4_": ["إضافة نمط"],
"Ba4D2x": ["تم استيراد القالب"],
+ "Bb00X6": ["متأخر عن الفرع الأساسي"],
"Bdha5y": ["يجري النشر..."],
"BeWTQy": ["يجري تحميل حزم البداية"],
"BfTQmM": ["تمت إزالة هذا المكوّن."],
@@ -1607,6 +1611,7 @@
"F6pfE9": ["نشط"],
"F8DaWi": ["للعرض فقط"],
"F8GW_c": [["label"], " مشكلة"],
+ "FAYFLL": ["الأسطر المتغيرة: أُضيف ", ["additions"], "، وحُذف ", ["deletions"]],
"FBIuPX": ["مسح التحديد"],
"FBknns": ["HTML"],
"FCAcjR": ["شغّل طرفية حقيقية مرسّاة داخل OpenKnowledge، تبدأ في مجلد هذا المشروع."],
@@ -1664,6 +1669,7 @@
"Fr8JGg": ["ملف Zip"],
"FsEXax": ["لم تكتمل العملية. راجع سجلات الخادم ثم أعد المحاولة."],
"Fsx78O": ["أضف الأمر <0>ok</0> إلى طرفيتك"],
+ "FumRbV": ["الفحوصات قيد التشغيل"],
"FvMSms": [
"تغيّر إعادة التسمية الملف على القرص والمعرّف الذي يستخدمه الوكلاء لاختيار هذا القالب."
],
@@ -2096,7 +2102,6 @@
],
"KmydK6": ["عريض"],
"KnoB--": ["سيُحفظ باسم <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["تفعيل معاينات الروابط الخارجية"],
"Kr3VPS": ["سيظل Codex يسأل حتى تشغّل «ok init» في طرفية لهذا المشروع."],
"KsAPaB": ["هذا الفرع مسحوب في:"],
"KtACeE": ["الافتراضي: <0>", ["0"], "</0>"],
@@ -2208,6 +2213,7 @@
],
"LhWYpm": ["تُتتبَّع مسارات OK الأخرى في المستودع البعيد:"],
"Li4U-T": ["اعرف المزيد عن ", ["title"]],
+ "Lj_5Uv": ["الفحوصات المطلوبة تفشل"],
"LkQRL8": ["إظهار الأصل"],
"LlHqdU": ["تجري تهيئة المشروع"],
"LlJ8LD": [
@@ -2309,6 +2315,9 @@
"MCjC9A": ["حذف ", ["deleteDescriptorLabel"]],
"MDBJwN": ["صعب الاستخدام"],
"MDZSJe": ["متى ينفّذ الوكيل عمله المجدول."],
+ "MGQ4_D": [
+ "مفعّل — تمرير المؤشر فوق رابط خارجي يرسل رابطه إلى الموقع الوجهة لجلب معاينة، وتمرير المؤشر فوق مرجع GitHub في محادثة مع وكيل يطلبه من GitHub."
+ ],
"MGb89P": [
"أدرج أسطر محرر المصدر واحذفها وانقلها وانسخها وأزحها عبر خريطة مفاتيح CodeMirror الافتراضية."
],
@@ -2382,6 +2391,7 @@
"N7Lau6": ["إيداع ومزامنة"],
"N7m8E-": ["إرفاق الملفات"],
"NBdIgR": ["تعليق"],
+ "NCdpSO": ["مدموج"],
"NErvOX": ["حُفظ في"],
"NEzPEh": ["أنشئ فرعًا جديدًا، أو اسحب فرعًا موجودًا، في نافذته الخاصة."],
"NIWAux": ["لا توجد مستندات مسجَّلة تحت #", ["tagDocsName"], "."],
@@ -2595,6 +2605,7 @@
"PBxg_E": ["ليس الآن"],
"PCSkw2": ["المهارات"],
"PEGxvo": ["5 دقائق"],
+ "PESHdL": ["توجد تعارضات دمج"],
"PGPGsL": ["إضافة وصف"],
"PGRnbw": ["تصل التحديثات من المستودع البعيد؛ وتبقى تعديلاتك على هذا الجهاز."],
"PHHEuH": ["إخفاء التعليقات المحلولة (", ["0"], ")"],
@@ -2630,7 +2641,6 @@
"تم حفظ مهارة OpenKnowledge. ارفعها في Claude Desktop، ثم انقر على Cowork مرة أخرى."
],
"Pg83C9": ["تم رفع «", ["0"], "»."],
- "PgJDqs": ["أظهر بطاقة معاينة عند تمرير المؤشر فوق رابط خارجي في المحرر."],
"PgY2nN": [
"إذا كنت تستخدم GitHub Enterprise Server، فأضف مضيفه هنا حتى يتمكن OpenKnowledge من تسجيل الدخول، والتحقق من إذن الدفع، وإنشاء روابط مشاركة للمستودعات المستضافة عليه."
],
@@ -2912,6 +2922,7 @@
"SF9qpO": ["شارك بريدك الإلكتروني للمتابعة"],
"SFEWV6": ["تعذّر تحميل مهارات OpenKnowledge. أعد المحاولة."],
"SFN6dN": ["عنوان 3"],
+ "SFwolL": ["الدمج التلقائي مفعّل"],
"SIPelo": [
"تم إيقاف صيانة الفهرس مؤقتًا لأن Open Knowledge لم يتمكن من تأكيد قاعدة الدمج Git المطلوبة. تحقق من Git و.gitattributes، ثم حاول مرة أخرى."
],
@@ -3016,6 +3027,7 @@
]
],
"TTDXD8": ["شجرة عمل جديدة…"],
+ "TUOigf": ["في قائمة انتظار الدمج"],
"T_N0ro": ["طلب تغييرات…"],
"T_j5G0": ["هذا ليس إصدارًا مدعومًا من Slidev."],
"T_wG4n": ["تعذّر التحقق من اتصالك بـ GitHub."],
@@ -3411,6 +3423,7 @@
"XfA5xx": [["label"], " مفعَّل"],
"XfzqjK": ["القالب «", ["name"], "»"],
"Xg-Ntj": ["يحتاج الرمز إلى نطاقي repo وread:user."],
+ "Xg2x4O": ["معتمد وجاهز للدمج"],
"XgqUOy": ["لم يُعثر على مهارة في ذلك المصدر. سيوضح الاستيراد السبب إن تابعت."],
"XgsZ2F": ["نسخ الرمز ", ["code"]],
"Xhm7gG": ["اقتراحات الأصول"],
@@ -3642,6 +3655,7 @@
"ZhhOwV": ["اقتباس"],
"Zj6JL8": ["استخدم رابط https:// — لا يُسمح بـ http:// إلا لنقاط نهاية loopback."],
"ZjtgI-": ["لوحة الأوامر"],
+ "ZkY0ic": ["في انتظار المراجعة"],
"ZlCe_H": ["لا تتوفر أي لغة للتدقيق الإملائي."],
"Zon_qG": ["مصدر المرآة <0>", ["label"], "</0>"],
"ZptNUh": ["إظهار ", ["hidden"], " إضافية"],
@@ -3742,6 +3756,7 @@
"قاعدة معرفة تتبع تنسيق Google Open Knowledge، وهو طريقة مشتركة لتنظيم ما تعرفه. اختر هذا إن أردت أن تعمل ملاحظاتك جيدًا مع أدوات أخرى تفهم التنسيق."
],
"_azghp": ["التغيير السابق"],
+ "_cX8_o": ["فتحه ", ["author"]],
"_ci9Bj": ["أعاد الخادم استجابة مجلد غير مكتملة."],
"_eguJc": ["يجري الرفع"],
"_fQGOp": ["المسافات غير مسموح بها في المسار"],
@@ -3941,6 +3956,9 @@
"bwoxGI": ["يلزمك تسجيل الدخول"],
"bwy8Y7": ["على <0>", ["address"], "</0>"],
"bzsK8N": ["يقرأ لوحة التأليف لتتوافق المستندات الجديدة مع أسلوب المشروع"],
+ "c0dKr4": [
+ "في محادثة مع وكيل، يؤدي تمرير المؤشر فوق رابط لطلب سحب أو مشكلة على GitHub إلى سؤال GitHub عن حالته، باستخدام تسجيل دخولك إلى GitHub عندما يستطيع OpenKnowledge استخدامه."
+ ],
"c1LZZH": ["تم نسخ الرابط."],
"c2ktXL": ["التقارير السابقة"],
"c3XJ18": ["مساعدة"],
@@ -3969,6 +3987,7 @@
"cFCKYZ": ["رفض"],
"cFONFy": ["أدخل اسم مضيف، مثل github.example.com."],
"cFSbbh": ["خاص بهذا الجهاز. ينطبق على كل مشروع تفتحه هنا ولا يُشارك مع المتعاونين أبدًا."],
+ "cFgW76": ["الدمج محظور"],
"cH0dkG": ["كان ينقصه ميزة أحتاجها"],
"cHhH3i": ["أداة git مطلوبة"],
"cIFYZn": [
@@ -4380,6 +4399,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["نقل الكتلة"],
"f65AOQ": ["البدء من"],
+ "f6suyZ": ["طُلبت تغييرات"],
"f8fH8W": ["التصميم"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["يضيف كتلة مُدارة إلى"],
@@ -4495,6 +4515,7 @@
"gBCeDq": ["لا يوجد سلف مشترك — أضاف كلا الفرعين هذا الملف (تعارض إضافة/إضافة)."],
"gBbxn_": ["يجري التحقق من حالة تسجيل الدخول"],
"gDkNHk": ["هل تريد بالتأكيد حذف ‏«", ["name"], "»؟"],
+ "gEc6f2": ["مغلق"],
"gGVP4q": ["انقر <0>+</0> <1/> <2>إنشاء مهارة</2> <3/> <4>رفع مهارة</4>."],
"gHSAWT": ["إنشاء شجرة عمل <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["إظهار التعليقات المحلولة (", ["0"], ")"],
@@ -4763,6 +4784,7 @@
"النسخة مجلد حقيقي قائم بذاته، ويبقيها OK متوافقة مع المصدر: حرِّر المهارة هنا فتُحدَّث كل نسخة. يتوقف ذلك لحظة تحريرك نسخةً يدويًا خارج OK — عندها تسير في طريقها الخاص وتظهر كمهارة منفصلة."
],
"iOHg1t": ["فتح الرابط المضمَّن في تبويب جديد"],
+ "iPp_qv": ["مفتوح"],
"iSLIjg": ["اتصال"],
"iSQTsg": ["قائمة مرتّبة"],
"iSWh95": ["هدف الصورة \"", ["shown"], "\" لا يشير إلى ملف موجود."],
@@ -5544,6 +5566,9 @@
"». وسيتوقف كل ما يشير إليه في SKILL.md عن العمل إلى أن يُعاد إنشاؤه."
],
"psUrB1": ["لم تُمس ملفات Markdown والمهارات التي أنشأتها."],
+ "pskJOJ": [
+ "أظهر بطاقة معاينة عند تمرير المؤشر فوق رابط خارجي في المحرر أو فوق طلب سحب أو مشكلة على GitHub في محادثة مع وكيل."
+ ],
"psl2Sj": ["لا يزال تغييرك قيد الحفظ — أعد تشغيل الاختبار بعد قليل."],
"ptQ3_N": ["فك الارتباط"],
"pvnfJD": ["داكن"],
@@ -5692,7 +5717,6 @@
"rSoi6g": [["displayName"], " (", ["bin"], ") غير مثبَّت أو غير موجود في PATH."],
"rUNOLA": ["البحث الدلالي غير متاح مع إعداد موفر التضمينات الحالي. تحقق من الإعدادات ← البحث."],
"rUWrSE": ["حذف التقرير"],
- "rVJpLz": ["مفعّل — تمرير المؤشر فوق رابط خارجي يرسل رابطه إلى الموقع الوجهة لجلب معاينة."],
"rVxu1k": ["لا توجد صفحات ترتبط بهذه بعد."],
"rXz97P": ["قائمة عناصر مرقّمة."],
"rZ9HZq": ["للقيام به"],
@@ -5812,6 +5836,7 @@
["name"],
"، لكن لم ينتقل التثبيت معه. أعد تثبيته بعد اكتمال تحميل الإعدادات."
],
+ "siMChX": ["فشلت بعض الفحوصات، لكن لا يزال من الممكن دمجه"],
"skf5Ix": ["زد أو قلّل إزاحة أسطر محرر المصدر."],
"skvOCc": ["الملف موجود في ", ["trashNoun"], "؛ سيقوم مراقب الملفات بالمطابقة."],
"sn5BEU": [
@@ -6204,6 +6229,7 @@
"ve8vEM": ["انتهت صلاحية الرمز — يرجى المحاولة مرة أخرى"],
"vfRlCI": ["تعذّر نسخ المسار الكامل"],
"vfWA_g": ["اخترت ~/Desktop. سيفهرس OpenKnowledge كل ما على سطح مكتبك."],
+ "vgGSRn": ["جاهز للدمج"],
"vhAnzJ": ["هل تشغّل البحث الدلالي؟"],
"vhGTWU": ["شغّل OpenKnowledge ", ["tool"]],
"viwC-K": ["فشلت إزالة المشروع."],
@@ -6370,6 +6396,7 @@
"xEb24l": ["دعنا نتواصل معك بالبريد الإلكتروني"],
"xFQRu4": ["لديّ نسخة محلية بالفعل"],
"xG4tb6": ["فُقد الاتصال بـ «", ["docName"], "»."],
+ "xG8Ish": ["غير مخطط له"],
"xHGM4U": ["إخفاء معاينة HTML"],
"xK291b": ["صفحتان (فردي)"],
"xKDsGS": ["الانتقال إلى السطر ", ["0"], " في ", ["1"]],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 237dc2c92..565604812 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# نمط واحد في كل سطر.\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "#{position} في قائمة انتظار الدمج"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} إضافية"
@@ -2167,6 +2171,10 @@ msgstr "موافق عليه"
msgid "Approved — {optionName}"
msgstr "موافق عليه — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "معتمد وجاهز للدمج"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "هل أنت متأكد أنك تريد تحويل هذا الملف إلى قالب؟ سيُحذف الملف الأصلي. لا يمكن التراجع عن هذا الإجراء."
@@ -2362,6 +2370,10 @@ msgstr "الإصلاح التلقائي ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "ينطبق الإصلاح التلقائي فقط على المشكلات التي لها إصلاح آلي معروف."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "الدمج التلقائي مفعّل"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "قبل المزامنة، اضبط هويتك لإيداعات git:"
msgid "Before you go, mind sharing why?"
msgstr "قبل أن تغادر، هل تخبرنا بالسبب؟"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "متأخر عن الفرع الأساسي"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "أسفل"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "معادلة رياضية بكتلة مستقلة تُعرض بواسطة KaTeX من نص مصدري بصيغة LaTeX."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "الدمج محظور"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "تدوينة"
@@ -2806,6 +2826,10 @@ msgstr "تغيّر خارجًا"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "تغيّر خارج OK منذ آخر كتابة هنا — الحالة المعروضة هي ما على القرص الآن"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "طُلبت تغييرات"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "تُحفظ التغييرات تلقائيًا في هذه السمة."
@@ -2936,6 +2960,10 @@ msgstr "يجري التحقق..."
msgid "Checklist with checkboxes."
msgstr "قائمة تحقق بمربعات اختيار."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "الفحوصات قيد التشغيل"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "يفحص المستندات بحثًا عن مشكلات Markdown ويمكنه إصلاحها"
@@ -3256,6 +3284,11 @@ msgstr "إغلاق النافذة"
msgid "Close Window"
msgstr "إغلاق النافذة"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "مغلق"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "التجمعات"
@@ -5142,10 +5175,6 @@ msgstr "تعطيل {file}"
msgid "Disable {id}"
msgstr "تعطيل {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "تعطيل معاينات الروابط الخارجية"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "تعطيل البحث الدلالي"
@@ -5334,6 +5363,11 @@ msgstr "يجري تنزيل {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "ينزّل نسخة جديدة من GitHub."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "مسودة"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "صُغ مواصفات"
@@ -5735,10 +5769,6 @@ msgstr "تفعيل تلقائي (سحب فقط)"
msgid "Enable Auto (Pull only)?"
msgstr "تفعيل تلقائي (سحب فقط)؟"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "تفعيل معاينات الروابط الخارجية"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "تمكين الفهارس"
@@ -6040,6 +6070,10 @@ msgstr "رابط خارجي"
msgid "External link previews"
msgstr "معاينات الروابط الخارجية"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "معاينات الروابط الخارجية وبطاقات مراجع GitHub"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "تعرض معاينات الروابط الخارجية بطاقة باسم الموقع وعنوان الصفحة ووصفها عند تمرير المؤشر فوق رابط."
@@ -6986,6 +7020,10 @@ msgstr "فاصل صريح"
msgid "Hard to use"
msgstr "صعب الاستخدام"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "توجد تعارضات دمج"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "يجري إلقاء نظرة…"
@@ -7458,6 +7496,10 @@ msgstr "في مستند السجل: تبدأ عناوين الإدخال بتا
msgid "In a subfolder"
msgstr "في مجلد فرعي"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "في محادثة مع وكيل، يؤدي تمرير المؤشر فوق رابط لطلب سحب أو مشكلة على GitHub إلى سؤال GitHub عن حالته، باستخدام تسجيل دخولك إلى GitHub عندما يستطيع OpenKnowledge استخدامه."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "في مستند الفهرس: توجد الإدخالات تحت عنوان القسم ويحمل كل منها رابطًا. النثر حول القوائم على ما يرام."
@@ -7484,6 +7526,14 @@ msgstr "في مشاريع Git، يضيف Open Knowledge أيضًا قاعدة .g
msgid "In the Claude Desktop App"
msgstr "في تطبيق Claude Desktop"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "في قائمة انتظار الدمج"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "في قائمة انتظار الدمج، لكن لا يمكن دمجه"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "في الخطة أعلاه، من فضلك "
@@ -8127,6 +8177,10 @@ msgstr "يحدّ من إجمالي النص المُرسل في كل طلب. ت
msgid "line {displayLine}"
msgstr "السطر {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "الأسطر المتغيرة: أُضيف {additions}، وحُذف {deletions}"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "عنوان قسم متوسط."
msgid "Mention a page"
msgstr "الإشارة إلى صفحة"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "مدموج"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "لم تُثبَّت في هذا المشروع بعد."
msgid "Not now"
msgstr "ليس الآن"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "غير مخطط له"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "لم تُحجب المعلومات الحساسة. تحقق من الصورة قبل مشاركتها."
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "الأقدم"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "مفعّل — تمرير المؤشر فوق رابط خارجي يرسل رابطه إلى الموقع الوجهة لجلب معاينة."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "مفعّل — تمرير المؤشر فوق رابط خارجي يرسل رابطه إلى الموقع الوجهة لجلب معاينة، وتمرير المؤشر فوق مرجع GitHub في محادثة مع وكيل يطلبه من GitHub."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "المستند الحالي وحده يستخدم <0>#{tag}</0>."
msgid "Open"
msgstr "فتح"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "مفتوح"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "فتح شجرة العمل"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "افتح اقتراحات الإكمال في CodeMirror وتنقّل بينها واقبلها أو تجاهلها."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "فتحه {author}"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "تم فتح مشروع OpenKnowledge الموجود في {ancestorPath}"
@@ -11458,6 +11531,10 @@ msgstr "يقرأ التعارضات غير المحلولة بين التعدي
msgid "Ready"
msgstr "جاهز"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "جاهز للدمج"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "مجلدات وقوالب جاهزة لتبدأ بسرعة."
@@ -12028,6 +12105,10 @@ msgstr "مطلوب"
msgid "Required"
msgstr "مطلوب"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "الفحوصات المطلوبة تفشل"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "يتطلب {brand}."
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "إظهار {hiddenCount} إضافية"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "أظهر بطاقة معاينة عند تمرير المؤشر فوق رابط خارجي في المحرر."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "أظهر بطاقة معاينة عند تمرير المؤشر فوق رابط خارجي في المحرر أو فوق طلب سحب أو مشكلة على GitHub في محادثة مع وكيل."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "انتهت مهلة بدء تشغيل Slidev. حاول مرة أخرى."
msgid "Small section heading."
msgstr "عنوان قسم صغير."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "فشلت بعض الفحوصات، لكن لا يزال من الممكن دمجه"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "تعذّر إدراج بعض الملفات التي تم إفلاتها بأمان."
@@ -16223,6 +16308,10 @@ msgstr "تحديد جدول المحرر المرئي"
msgid "Waiting for authorization"
msgstr "في انتظار التفويض"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "في انتظار المراجعة"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index ec440ffe1..45f65f6d4 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -172,6 +172,7 @@
],
"11ukmX": ["নাম বদলানো ব্যর্থ: ", ["0"]],
"12F9WL": ["(কোনো id নেই)"],
+ "12irWm": ["মার্জ কিউতে #", ["position"]],
"151wvk": ["সাইডবার দেখান"],
"15ZHCt": ["এই সংস্করণে মূল অংশের কোনো পরিবর্তন নেই।"],
"161NCV": ["থামানো হচ্ছে"],
@@ -233,6 +234,7 @@
"20LVKb": ["এই চ্যাটের বাইরের কিছু এজেন্ট প্রসেসটিকে থামতে বলেছে (", ["signal"], ")।"],
"2277Tu": ["গ্রাফ গুটিয়ে নিন"],
"237hSL": ["শেষ হয়েছে"],
+ "24crK0": ["মার্জ কিউতে আছে, কিন্তু মার্জ করা যাবে না"],
"253MN6": ["আপনার মন্তব্য পাঠানো যায়নি — অনুগ্রহ করে আবার চেষ্টা করুন।"],
"25Pw6a": ["ক্লোন করা হচ্ছে"],
"27TLNq": [["displayName"], " CLI চালু করুন"],
@@ -508,7 +510,6 @@
["0", "plural", { "one": ["#", " ফাইলে"], "other": ["#", " ফাইলে"] }]
],
"5UccRr": ["শেষ কার্যকলাপ: ", ["lastActivity"]],
- "5Umg9i": ["বাইরের লিংকের প্রাকদর্শন নিষ্ক্রিয় করুন"],
"5WDhAk": ["একটি পাতা বা বাইরের URL-এ লিংক করুন।"],
"5W_u0E": ["সার্ভার পুনরায় চালু করা যায়নি। আবার চেষ্টা করতে এই ফোল্ডারে ok start চালান।"],
"5Y17qa": ["যার ক্ষেত্রে প্রযোজ্য (গ্লোব — শুরুতে ! থাকলে বাদ দেয়; খালি মানে প্রতিটি নথি)"],
@@ -745,6 +746,7 @@
"851WA-": ["এটি Settings > AI tools & CLI-তে কনফিগার করা যায়"],
"87GMKe": ["এই প্রজেক্টটি নেটওয়ার্কে এক্সপোজ করবেন?"],
"881Uwh": ["নির্বাচিত টেবিল মুছুন"],
+ "89SLQ-": ["বাইরের লিংকের প্রাকদর্শন ও GitHub রেফারেন্স কার্ড"],
"89TmeV": ["কিছু স্কিল সতর্কবার্তাসহ মুছে ফেলা হয়েছে"],
"89TtiD": ["প্রকল্পের রুটে টেমপ্লেট \"", ["displayTitle"], "\" (", ["fileName"], ") থেকে নতুন ফাইল"],
"8AjnFz": ["\"", ["0"], "\" আগেই আমদানি করা হয়েছিল (একই বিষয়বস্তু)।"],
@@ -953,6 +955,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["আপনার পরিবর্তন প্রয়োগ করা হচ্ছে"],
"AddR83": ["প্রকল্প তৈরি করা যায়নি। আবার চেষ্টা করুন বা অন্য জায়গা বাছুন।"],
+ "AdjDox": ["খসড়া"],
"AeHuzT": ["# প্রতি লাইনে একটি প্যাটার্ন।\\n# উদাহরণ:\\n# drafts/\\n# *.draft.md\\n# !keep.md"],
"AeLo3p": ["OpenKnowledge ", ["subject"], " এ একটি দ্বন্দ্ব সমাধান করেছে"],
"AeORtB": [
@@ -1036,6 +1039,7 @@
"BWTzAb": ["ম্যানুয়াল"],
"BY-g4_": ["প্যাটার্ন যোগ করুন"],
"Ba4D2x": ["টেমপ্লেট আমদানি করা হয়েছে"],
+ "Bb00X6": ["বেস ব্রাঞ্চের চেয়ে পিছিয়ে"],
"Bdha5y": ["প্রকাশ করা হচ্ছে…"],
"BeWTQy": ["স্টার্টার প্যাক লোড হচ্ছে"],
"BfTQmM": ["এই উপাদানটি সরানো হয়েছে।"],
@@ -1360,6 +1364,7 @@
"F6pfE9": ["সক্রিয়"],
"F8DaWi": ["শুধু দেখার জন্য"],
"F8GW_c": [["label"], " সমস্যা"],
+ "FAYFLL": ["পরিবর্তিত লাইন: ", ["additions"], "টি যোগ, ", ["deletions"], "টি বাদ"],
"FBIuPX": ["নির্বাচন মুছুন"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1417,6 +1422,7 @@
"Fr8JGg": ["Zip ফাইল"],
"FsEXax": ["এটি সম্পন্ন হয়নি। সার্ভার লগ দেখে আবার চেষ্টা করুন।"],
"Fsx78O": ["আপনার টার্মিনালে <0>ok</0> কমান্ড যোগ করুন"],
+ "FumRbV": ["চেক চলছে"],
"FvMSms": ["নাম বদলালে ডিস্কের ফাইল এবং এজেন্টরা এই টেমপ্লেটটি বাছতে যে id ব্যবহার করে দুটোই বদলে যায়।"],
"Fx9aOF": ["OpenKnowledge একটি নথি সম্পাদনা করেছে"],
"Fxf4jq": ["বিবরণ (ঐচ্ছিক)"],
@@ -1791,7 +1797,6 @@
],
"KmydK6": ["গাঢ়"],
"KnoB--": ["<0>", ["sanitized"], "</0> হিসেবে সংরক্ষিত হবে।"],
- "KpOJFY": ["বাইরের লিংকের প্রাকদর্শন চালু করুন"],
"Kr3VPS": ["এই প্রকল্পের জন্য টার্মিনালে \"ok init\" না চালানো পর্যন্ত Codex জিজ্ঞেস করতেই থাকবে।"],
"KsAPaB": ["এই ব্রাঞ্চটি এখানে চেক আউট করা আছে:"],
"KtACeE": ["ডিফল্ট: <0>", ["0"], "</0>"],
@@ -1877,6 +1882,7 @@
],
"LhWYpm": ["অন্য OK পথগুলো আপস্ট্রিমে হিসাবভুক্ত:"],
"Li4U-T": [["title"], " সম্পর্কে আরও জানুন"],
+ "Lj_5Uv": ["আবশ্যিক চেক ব্যর্থ হচ্ছে"],
"LkQRL8": ["মূল সংস্করণ দেখান"],
"LlHqdU": ["প্রকল্প চালু করা হচ্ছে"],
"LlJ8LD": [
@@ -1933,6 +1939,9 @@
"MCjC9A": [["deleteDescriptorLabel"], " মুছুন"],
"MDBJwN": ["ব্যবহার করা কঠিন"],
"MDZSJe": ["এজেন্ট কখন তার নির্ধারিত কাজ চালায়।"],
+ "MGQ4_D": [
+ "চালু — কোনো বাইরের লিংকের উপর মাউস নিলে প্রাকদর্শন আনতে তার URL গন্তব্য সাইটে পাঠানো হয়, আর এজেন্ট চ্যাটে কোনো GitHub রেফারেন্সের উপর মাউস নিলে GitHub-এর কাছে চাওয়া হয়।"
+ ],
"MGb89P": [
"CodeMirror-এর ডিফল্ট কীম্যাপ দিয়ে সোর্স সম্পাদকের লাইন ঢোকান, মুছুন, সরান, কপি করুন ও ভেতরে নিন।"
],
@@ -2004,6 +2013,7 @@
"N7Lau6": ["কমিট করে সিঙ্ক করুন"],
"N7m8E-": ["ফাইল সংযুক্ত করুন"],
"NBdIgR": ["মন্তব্য করুন"],
+ "NCdpSO": ["মার্জ হয়েছে"],
"NErvOX": ["যেখানে সংরক্ষিত"],
"NEzPEh": ["একটি নতুন ব্রাঞ্চ তৈরি করুন, বা বিদ্যমান কোনোটি নিজের জানালায় চেক আউট করুন।"],
"NIWAux": ["#", ["tagDocsName"], "-এর অধীনে কোনো নথি নিবন্ধিত নেই।"],
@@ -2194,6 +2204,7 @@
"PBxg_E": ["এখন নয়"],
"PCSkw2": ["স্কিল"],
"PEGxvo": ["5 মিনিট"],
+ "PESHdL": ["মার্জ কনফ্লিক্ট আছে"],
"PGPGsL": ["বিবরণ যোগ করুন"],
"PGRnbw": ["আপডেট আপনার রিমোট থেকে আসে; আপনার সম্পাদনা এই কম্পিউটারেই থাকে।"],
"PHHEuH": ["সমাধান হওয়া মন্তব্য লুকান (", ["0"], ")"],
@@ -2229,7 +2240,6 @@
"OpenKnowledge স্কিল সংরক্ষণ করা হয়েছে। এটি Claude Desktop-এ আপলোড করুন, তারপর আবার Cowork ক্লিক করুন।"
],
"Pg83C9": ["\"", ["0"], "\" আপলোড হয়েছে।"],
- "PgJDqs": ["সম্পাদকে কোনো বাইরের লিংকের উপর মাউস নিলে একটি প্রাকদর্শন কার্ড দেখান।"],
"PgY2nN": [
"আপনি যদি GitHub Enterprise Server ব্যবহার করেন, তবে এখানে তার হোস্ট যোগ করুন, যাতে OpenKnowledge সাইন ইন করতে, push অনুমতি যাচাই করতে এবং সেখানে হোস্ট করা রিপোজিটরির জন্য শেয়ার লিংক তৈরি করতে পারে।"
],
@@ -2472,6 +2482,7 @@
"SF9qpO": ["পরবর্তী যোগাযোগের জন্য আপনার ইমেইল দিন"],
"SFEWV6": ["OpenKnowledge স্কিল লোড করা যায়নি। আবার চেষ্টা করুন।"],
"SFN6dN": ["শিরোনাম ৩"],
+ "SFwolL": ["অটো-মার্জ চালু আছে"],
"SIPelo": [
"সূচী রক্ষণাবেক্ষণ বিরাম দেওয়া হয়েছে কারণ Open Knowledge প্রয়োজনীয় Git মার্জ নিয়ম নিশ্চিত করতে পারেনি। Git এবং .gitattributes চেক করুন, তারপর আবার চেষ্টা করুন।"
],
@@ -2545,6 +2556,7 @@
"TOel0d": ["একটি ফাইল মুছে ফেলে"],
"TQJCR6": [["0", "plural", { "one": ["#", " ফলাফল"], "other": ["#", " ফলাফল"] }]],
"TTDXD8": ["নতুন ওয়ার্কট্রি…"],
+ "TUOigf": ["মার্জ কিউতে আছে"],
"T_N0ro": ["পরিবর্তন চাওয়া…"],
"T_j5G0": ["এটি Slidev-এর সমর্থিত সংস্করণ নয়।"],
"T_wG4n": ["আমরা আপনার GitHub সংযোগ পরীক্ষা করতে পারিনি।"],
@@ -2864,6 +2876,7 @@
"XfA5xx": [["label"], " সক্রিয়"],
"XfzqjK": ["টেমপ্লেট \"", ["name"], "\""],
"Xg-Ntj": ["টোকেনটির repo ও read:user স্কোপ দরকার।"],
+ "Xg2x4O": ["অনুমোদিত এবং মার্জের জন্য প্রস্তুত"],
"XgqUOy": ["ওই উৎসে কোনো স্কিল পাওয়া যায়নি। আপনি চালিয়ে গেলে আমদানি কারণ জানাবে।"],
"XgsZ2F": [["code"], " কোডটি কপি করুন"],
"Xhm7gG": ["অ্যাসেট পরামর্শ"],
@@ -3067,6 +3080,7 @@
"ZhhOwV": ["উদ্ধৃতি"],
"Zj6JL8": ["একটি https:// URL ব্যবহার করুন — http:// কেবল loopback এন্ডপয়েন্টের জন্য অনুমোদিত।"],
"ZjtgI-": ["কমান্ড প্যালেট"],
+ "ZkY0ic": ["পর্যালোচনার অপেক্ষায়"],
"ZlCe_H": ["বানান পরীক্ষার জন্য কোনো ভাষা উপলব্ধ নেই।"],
"Zon_qG": ["মিরর উৎস <0>", ["label"], "</0>"],
"ZptNUh": ["আরও ", ["hidden"], "টি দেখান"],
@@ -3162,6 +3176,7 @@
"এমন একটি জ্ঞানভাণ্ডার যা Google-এর Open Knowledge Format মেনে চলে, অর্থাৎ আপনি যা জানেন তা গুছিয়ে রাখার একটি সাধারণ উপায়। আপনার নোট যদি এই ফরম্যাট বোঝে এমন অন্য টুলের সঙ্গেও ভালো কাজ করুক চান, তবে এটি বাছুন।"
],
"_azghp": ["আগের পরিবর্তন"],
+ "_cX8_o": [["author"], " খুলেছেন"],
"_ci9Bj": ["সার্ভার অসম্পূর্ণ ফোল্ডার প্রতিক্রিয়া ফেরত দিয়েছে।"],
"_eguJc": ["আপলোড করা হচ্ছে"],
"_fQGOp": ["পাথে স্পেস অনুমোদিত নয়"],
@@ -3331,6 +3346,9 @@
"bwoxGI": ["আপনাকে সাইন ইন করতে হবে"],
"bwy8Y7": ["<0>", ["address"], "</0>-এ"],
"bzsK8N": ["নতুন নথি যেন প্রকল্পের শৈলী মেনে চলে, সেজন্য লেখার প্যালেট পড়ে"],
+ "c0dKr4": [
+ "এজেন্ট চ্যাটে কোনো GitHub পুল রিকোয়েস্ট বা ইস্যুর লিংকের উপর মাউস নিলে GitHub-এর কাছে তার অবস্থা জানতে চাওয়া হয়, আর OpenKnowledge আপনার GitHub সাইন-ইন ব্যবহার করতে পারলে আপনার হয়ে।"
+ ],
"c1LZZH": ["লিংক কপি হয়েছে।"],
"c2ktXL": ["আগের রিপোর্ট"],
"c3XJ18": ["সহায়তা"],
@@ -3359,6 +3377,7 @@
"cFSbbh": [
"এই যন্ত্রেই সীমাবদ্ধ। এখানে আপনি যে প্রকল্পই খুলুন তাতেই প্রযোজ্য এবং কখনও সহযোগীদের সঙ্গে ভাগ করা হয় না।"
],
+ "cFgW76": ["মার্জ করা আটকে আছে"],
"cH0dkG": ["আমার যে বৈশিষ্ট্যটি দরকার ছিল সেটি ছিল না"],
"cHhH3i": ["একটি প্রয়োজনীয় git টুল"],
"cIFYZn": ["আপনি সাইন আউট থাকা অবস্থায় এই সেটিং যা-ই হোক, আপডেট সর্বোচ্চ প্রতি 3 মিনিটে একবার দেখা হয়।"],
@@ -3651,6 +3670,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["ব্লক সরান"],
"f65AOQ": ["এখান থেকে শুরু"],
+ "f6suyZ": ["পরিবর্তন চাওয়া হয়েছে"],
"f8fH8W": ["নকশা"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["এতে একটি পরিচালিত ব্লক যোগ করে"],
@@ -3749,6 +3769,7 @@
"gBCeDq": ["কোনও সাধারণ পূর্বসূরি নেই — উভয় ব্রাঞ্চ এই ফাইলটি যোগ করেছে (add/add দ্বন্দ্ব)।"],
"gBbxn_": ["সাইন-ইন অবস্থা পরীক্ষা করা হচ্ছে"],
"gDkNHk": ["আপনি কি নিশ্চিত যে আপনি \"", ["name"], "\" মুছে ফেলতে চান?"],
+ "gEc6f2": ["বন্ধ"],
"gGVP4q": ["<0>+</0> <1/> <2>স্কিল তৈরি করুন</2> <3/> <4>স্কিল আপলোড করুন</4>-এ ক্লিক করুন।"],
"gHSAWT": ["ওয়ার্কট্রি <0>“<1>", ["typedName"], "</1>”</0> তৈরি করুন"],
"gHb5bB": ["সমাধান হওয়া মন্তব্য দেখান (", ["0"], ")"],
@@ -3999,6 +4020,7 @@
"অনুলিপি নিজেই একটি সত্যিকারের ফোল্ডার, আর OK সেটিকে উৎসের সঙ্গে মিলিয়ে রাখে: স্কিলটি এখানে সম্পাদনা করুন, প্রতিটি অনুলিপি সতেজ হয়ে যায়। আপনি OK-এর বাইরে কোনো অনুলিপি হাতে সম্পাদনা করলেই সেটি বন্ধ হয়ে যায় — তারপর থেকে সেটি নিজের পথে চলে এবং আলাদা স্কিল হিসেবে দেখা দেয়।"
],
"iOHg1t": ["এমবেড করা URL নতুন ট্যাবে খুলুন"],
+ "iPp_qv": ["খোলা"],
"iSLIjg": ["যুক্ত করুন"],
"iSQTsg": ["ক্রমিক তালিকা"],
"iSWh95": ["ছবির লক্ষ্য \"", ["shown"], "\" কোনো বিদ্যমান ফাইলকে নির্দেশ করে না।"],
@@ -4674,6 +4696,9 @@
" স্থায়ীভাবে সরিয়ে দেয়। SKILL.md-এ যা কিছু সেটির দিকে নির্দেশ করে, তা পুনরায় তৈরি না করা পর্যন্ত কাজ করবে না।"
],
"psUrB1": ["Markdown ফাইল এবং আপনার তৈরি স্কিল অপরিবর্তিত রাখা হয়েছে।"],
+ "pskJOJ": [
+ "সম্পাদকে কোনো বাইরের লিংক বা এজেন্ট চ্যাটে কোনো GitHub পুল রিকোয়েস্ট বা ইস্যুর উপর মাউস নিলে একটি প্রাকদর্শন কার্ড দেখান।"
+ ],
"psl2Sj": ["আপনার পরিবর্তন এখনও সংরক্ষিত হচ্ছে — একটু পরে পরীক্ষাটি আবার চালান।"],
"ptQ3_N": ["আনলিংক করুন"],
"pvnfJD": ["গাঢ়"],
@@ -4800,7 +4825,6 @@
"rSoi6g": [["displayName"], " (", ["bin"], ") ইনস্টল করা নেই বা আপনার PATH-এ নেই।"],
"rUNOLA": ["বর্তমান এম্বেডিং প্রোভাইডার সেটআপে সেমান্টিক অনুসন্ধান উপলভ্য নয়। সেটিংস → অনুসন্ধান দেখুন।"],
"rUWrSE": ["রিপোর্ট মুছুন"],
- "rVJpLz": ["চালু — কোনো বাইরের লিংকের উপর মাউস নিলে প্রাকদর্শন আনতে তার URL গন্তব্য সাইটে পাঠানো হয়।"],
"rVxu1k": ["এখনও কোনো পাতা এখানে লিংক করে না।"],
"rXz97P": ["আইটেমের সংখ্যায়িত তালিকা।"],
"rZ9HZq": ["করণীয়"],
@@ -4907,6 +4931,7 @@
"sgmRY8": [["0"], " ডাউনলোড এড়িয়ে যাওয়া হয়েছে।"],
"shNd9t": ["স্ল্যাশ কমান্ড মেনু"],
"shRu04": [["name"], " সরানো হয়েছে, কিন্তু এর পিন সরেনি। সেটিংস লোড হওয়া শেষ হলে আবার পিন করুন।"],
+ "siMChX": ["কিছু চেক ব্যর্থ হয়েছে, তবে এটি এখনও মার্জ করা যায়"],
"skf5Ix": ["সোর্স সম্পাদকের লাইনগুলো ভেতরে বা বাইরে নিন।"],
"skvOCc": ["ফাইলটি আপনার ", ["trashNoun"], "-এ আছে; ফাইল-ওয়াচার মিলিয়ে নেবে।"],
"sn5BEU": [
@@ -5209,6 +5234,7 @@
"ve8vEM": ["কোডের মেয়াদ শেষ — অনুগ্রহ করে আবার চেষ্টা করুন"],
"vfRlCI": ["পূর্ণ পথ কপি করা যায়নি"],
"vfWA_g": ["আপনি ~/Desktop বেছেছেন। OpenKnowledge আপনার ডেস্কটপের সবকিছু সূচিভুক্ত করবে।"],
+ "vgGSRn": ["মার্জের জন্য প্রস্তুত"],
"vhAnzJ": ["অর্থভিত্তিক অনুসন্ধান চালু করবেন?"],
"vhGTWU": ["OpenKnowledge ", ["tool"], " চালিয়েছে"],
"viwC-K": ["প্রকল্প সরাতে ব্যর্থ।"],
@@ -5359,6 +5385,7 @@
"xEb24l": ["আমাদের ইমেইলে যোগাযোগ করতে দিন"],
"xFQRu4": ["এটি আমার কাছে আগে থেকেই স্থানীয়ভাবে আছে"],
"xG4tb6": ["\"", ["docName"], "\"-এর সঙ্গে সংযোগ হারিয়েছে।"],
+ "xG8Ish": ["পরিকল্পনায় নেই"],
"xHGM4U": ["HTML প্রাকদর্শন লুকান"],
"xK291b": ["দুই পাতা (বিজোড়)"],
"xKDsGS": [["1"], "-এ লাইন ", ["0"], "-এ যান"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index a3a64b443..47b6e37af 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -1248,6 +1248,10 @@ msgid "# One pattern per line.\n"
"# !keep.md"
msgstr "# প্রতি লাইনে একটি প্যাটার্ন।\\n# উদাহরণ:\\n# drafts/\\n# *.draft.md\\n# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "মার্জ কিউতে #{position}"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ আরও {overflow}"
@@ -2163,6 +2167,10 @@ msgstr "অনুমোদিত"
msgid "Approved — {optionName}"
msgstr "অনুমোদিত — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "অনুমোদিত এবং মার্জের জন্য প্রস্তুত"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "আপনি কি নিশ্চিত যে এই ফাইলটিকে টেমপ্লেটে রূপান্তর করতে চান? মূল ফাইলটি মুছে ফেলা হবে। এই কাজ ফেরানো যাবে না।"
@@ -2358,6 +2366,10 @@ msgstr "স্বয়ংক্রিয় সংশোধন ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "স্বয়ংক্রিয় সংশোধন কেবল সেই সমস্যাগুলোর ক্ষেত্রেই প্রযোজ্য যাদের পরিচিত যান্ত্রিক সমাধান আছে।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "অটো-মার্জ চালু আছে"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2473,6 +2485,10 @@ msgstr "সিঙ্ক করার আগে git কমিটের জন্
msgid "Before you go, mind sharing why?"
msgstr "যাওয়ার আগে কারণটা জানাবেন কি?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "বেস ব্রাঞ্চের চেয়ে পিছিয়ে"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "নিচে"
@@ -2511,6 +2527,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "একটি LaTeX সোর্স স্ট্রিং থেকে KaTeX দিয়ে রেন্ডার করা ব্লক গাণিতিক সমীকরণ।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "মার্জ করা আটকে আছে"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "ব্লগ পোস্ট"
@@ -2802,6 +2822,10 @@ msgstr "বাইরে বদলেছে"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "OK শেষবার এখানে লেখার পর বাইরে থেকে বদলানো হয়েছে — দেখানো অবস্থাটি এখন ডিস্কে যা আছে তাই"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "পরিবর্তন চাওয়া হয়েছে"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "পরিবর্তনগুলি এই থিমে স্বয়ংক্রিয়ভাবে সংরক্ষিত হয়।"
@@ -2932,6 +2956,10 @@ msgstr "পরীক্ষা করা হচ্ছে…"
msgid "Checklist with checkboxes."
msgstr "চেকবক্সসহ চেকলিস্ট।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "চেক চলছে"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "নথিতে মার্কডাউন সমস্যা খোঁজে এবং ঠিক করতে পারে"
@@ -3252,6 +3280,11 @@ msgstr "উইন্ডো বন্ধ করুন"
msgid "Close Window"
msgstr "জানালা বন্ধ করুন"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "বন্ধ"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "গুচ্ছ"
@@ -5138,10 +5171,6 @@ msgstr "{file} নিষ্ক্রিয় করুন"
msgid "Disable {id}"
msgstr "নিষ্ক্রিয় করুন {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "বাইরের লিংকের প্রাকদর্শন নিষ্ক্রিয় করুন"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "অর্থভিত্তিক অনুসন্ধান নিষ্ক্রিয় করুন"
@@ -5330,6 +5359,11 @@ msgstr "{0} {1} ডাউনলোড হচ্ছে…"
msgid "Downloads a fresh copy from GitHub."
msgstr "GitHub থেকে একটি নতুন অনুলিপি ডাউনলোড করে।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "খসড়া"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "একটি স্পেকের খসড়া করুন"
@@ -5731,10 +5765,6 @@ msgstr "স্বয়ংক্রিয় (শুধু টানুন) চ
msgid "Enable Auto (Pull only)?"
msgstr "স্বয়ংক্রিয় (শুধু টানুন) চালু করবেন?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "বাইরের লিংকের প্রাকদর্শন চালু করুন"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "সূচী সক্রিয় করুন"
@@ -6036,6 +6066,10 @@ msgstr "বাইরের লিংক"
msgid "External link previews"
msgstr "বাইরের লিংকের প্রাকদর্শন"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "বাইরের লিংকের প্রাকদর্শন ও GitHub রেফারেন্স কার্ড"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "আপনি কোনো লিংকের উপর মাউস নিলে বাইরের লিংকের প্রাকদর্শন সাইটের নাম, পাতার শিরোনাম ও বিবরণসহ একটি কার্ড দেখায়।"
@@ -6982,6 +7016,10 @@ msgstr "কঠিন বিরতি"
msgid "Hard to use"
msgstr "ব্যবহার করা কঠিন"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "মার্জ কনফ্লিক্ট আছে"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "চারপাশে দেখা হচ্ছে…"
@@ -7454,6 +7492,10 @@ msgstr "একটি লগ নথিতে: এন্ট্রি শিরো
msgid "In a subfolder"
msgstr "একটি উপ-ফোল্ডারে"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "এজেন্ট চ্যাটে কোনো GitHub পুল রিকোয়েস্ট বা ইস্যুর লিংকের উপর মাউস নিলে GitHub-এর কাছে তার অবস্থা জানতে চাওয়া হয়, আর OpenKnowledge আপনার GitHub সাইন-ইন ব্যবহার করতে পারলে আপনার হয়ে।"
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "একটি সূচক নথিতে: এন্ট্রিগুলি একটি বিভাগের শিরোনামের নীচে বসে এবং প্রতিটি একটি লিঙ্ক বহন করে। তালিকার চারপাশে গদ্য ঠিক আছে।"
@@ -7480,6 +7522,14 @@ msgstr "Git প্রকল্পে, Open Knowledge একটি স্কো
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App-এ"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "মার্জ কিউতে আছে"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "মার্জ কিউতে আছে, কিন্তু মার্জ করা যাবে না"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "উপরের পরিকল্পনায়, অনুগ্রহ করে "
@@ -8123,6 +8173,10 @@ msgstr "প্রতিটি অনুরোধে পাঠানো মোট
msgid "line {displayLine}"
msgstr "লাইন {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "পরিবর্তিত লাইন: {additions}টি যোগ, {deletions}টি বাদ"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8599,6 +8653,11 @@ msgstr "মাঝারি বিভাগ শিরোনাম।"
msgid "Mention a page"
msgstr "একটি পাতা উল্লেখ করুন"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "মার্জ হয়েছে"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9701,6 +9760,11 @@ msgstr "এই প্রকল্পে এখনো ইনস্টল হয
msgid "Not now"
msgstr "এখন নয়"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "পরিকল্পনায় নেই"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "সংবেদনশীল তথ্য আড়াল করা হয়নি। শেয়ার করার আগে ছবিটি পরীক্ষা করুন।"
@@ -9820,8 +9884,8 @@ msgid "Older"
msgstr "পুরোনো"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "চালু — কোনো বাইরের লিংকের উপর মাউস নিলে প্রাকদর্শন আনতে তার URL গন্তব্য সাইটে পাঠানো হয়।"
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "চালু — কোনো বাইরের লিংকের উপর মাউস নিলে প্রাকদর্শন আনতে তার URL গন্তব্য সাইটে পাঠানো হয়, আর এজেন্ট চ্যাটে কোনো GitHub রেফারেন্সের উপর মাউস নিলে GitHub-এর কাছে চাওয়া হয়।"
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9882,6 +9946,11 @@ msgstr "কেবল বর্তমান নথিটিই <0>#{tag}</0> ব
msgid "Open"
msgstr "খুলুন"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "খোলা"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10246,6 +10315,10 @@ msgstr "ওয়ার্কট্রি খুলুন"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "CodeMirror-এর সম্পূর্ণকরণ পরামর্শ খুলুন, তাতে চলাচল করুন, গ্রহণ করুন, বা সরিয়ে দিন।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "{author} খুলেছেন"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "{ancestorPath}-এ থাকা OpenKnowledge প্রকল্পটি খোলা হয়েছে"
@@ -11454,6 +11527,10 @@ msgstr "সম্পাদনার মধ্যে অমীমাংসিত
msgid "Ready"
msgstr "প্রস্তুত"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "মার্জের জন্য প্রস্তুত"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "দ্রুত শুরু করার জন্য তৈরি ফোল্ডার ও টেমপ্লেট।"
@@ -12024,6 +12101,10 @@ msgstr "আবশ্যক"
msgid "Required"
msgstr "আবশ্যক"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "আবশ্যিক চেক ব্যর্থ হচ্ছে"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "{brand} দরকার।"
@@ -13143,8 +13224,8 @@ msgid "Show {hiddenCount} more"
msgstr "আরও {hiddenCount}টি দেখান"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "সম্পাদকে কোনো বাইরের লিংকের উপর মাউস নিলে একটি প্রাকদর্শন কার্ড দেখান।"
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "সম্পাদকে কোনো বাইরের লিংক বা এজেন্ট চ্যাটে কোনো GitHub পুল রিকোয়েস্ট বা ইস্যুর উপর মাউস নিলে একটি প্রাকদর্শন কার্ড দেখান।"
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13532,6 +13613,10 @@ msgstr "Slidev চালু হতে সময় শেষ হয়ে গে
msgid "Small section heading."
msgstr "ছোট বিভাগ শিরোনাম।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "কিছু চেক ব্যর্থ হয়েছে, তবে এটি এখনও মার্জ করা যায়"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "ফেলে দেওয়া কিছু ফাইল নিরাপদে সন্নিবেশ করা যায়নি।"
@@ -16219,6 +16304,10 @@ msgstr "দৃশ্য সম্পাদকের টেবিল নির্
msgid "Waiting for authorization"
msgstr "অনুমোদনের অপেক্ষা"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "পর্যালোচনার অপেক্ষায়"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index ebba0da34..91d6c4b7c 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -176,6 +176,7 @@
],
"11ukmX": ["Rename failed: ", ["0"]],
"12F9WL": ["(no id)"],
+ "12irWm": ["#", ["position"], " in the merge queue"],
"151wvk": ["Show sidebar"],
"15ZHCt": ["No body changes at this version."],
"161NCV": ["Stopping"],
@@ -244,6 +245,7 @@
],
"2277Tu": ["Collapse graph"],
"237hSL": ["Ended"],
+ "24crK0": ["In the merge queue, but it can't merge"],
"253MN6": ["Couldn't send your comments — please try again."],
"25Pw6a": ["Cloning"],
"27TLNq": ["Enable ", ["displayName"], " CLI"],
@@ -523,7 +525,6 @@
["0", "plural", { "one": ["#", " file"], "other": ["#", " files"] }]
],
"5UccRr": ["Last activity ", ["lastActivity"]],
- "5Umg9i": ["Disable external link previews"],
"5WDhAk": ["Link to a page or external URL."],
"5W_u0E": ["Couldn't restart the server. Run ok start in this folder to retry."],
"5Y17qa": ["Applies to (globs — leading ! excludes; empty means every doc)"],
@@ -767,6 +768,7 @@
"851WA-": ["This can be configured in Settings > AI tools & CLI"],
"87GMKe": ["Expose this project to the network?"],
"881Uwh": ["Delete selected table"],
+ "89SLQ-": ["External link previews and GitHub reference cards"],
"89TmeV": ["Some skills were deleted with a warning"],
"89TtiD": [
"New file from template \"",
@@ -982,6 +984,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["Applying your change"],
"AddR83": ["Could not create project. Try again or pick a different location."],
+ "AdjDox": ["Draft"],
"AeHuzT": ["# One pattern per line.\n# Examples:\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["OpenKnowledge resolved a conflict in ", ["subject"]],
"AeORtB": [
@@ -1074,6 +1077,7 @@
"BWTzAb": ["Manual"],
"BY-g4_": ["Add pattern"],
"Ba4D2x": ["Template imported"],
+ "Bb00X6": ["Behind the base branch"],
"Bdha5y": ["Publishing..."],
"BeWTQy": ["Loading starter packs"],
"BfTQmM": ["This component was removed."],
@@ -1402,6 +1406,7 @@
"F6pfE9": ["Active"],
"F8DaWi": ["View only"],
"F8GW_c": [["label"], " problems"],
+ "FAYFLL": ["Lines changed: ", ["additions"], " added, ", ["deletions"], " removed"],
"FBIuPX": ["Clear selection"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1459,6 +1464,7 @@
"Fr8JGg": ["Zip file"],
"FsEXax": ["That did not go through. Check the server logs and try again."],
"Fsx78O": ["Add the <0>ok</0> command to your terminal"],
+ "FumRbV": ["Checks are running"],
"FvMSms": ["Renaming changes the file on disk and the id agents use to pick this template."],
"Fx9aOF": ["OpenKnowledge edited a document"],
"Fxf4jq": ["Description (optional)"],
@@ -1853,7 +1859,6 @@
],
"KmydK6": ["Bold"],
"KnoB--": ["Will be saved as <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["Enable external link previews"],
"Kr3VPS": ["Codex will still ask until you run \"ok init\" in a terminal for this project."],
"KsAPaB": ["This branch is checked out in:"],
"KtACeE": ["Default: <0>", ["0"], "</0>"],
@@ -1939,6 +1944,7 @@
],
"LhWYpm": ["Other OK paths are tracked upstream:"],
"Li4U-T": ["Learn more about ", ["title"]],
+ "Lj_5Uv": ["Required checks are failing"],
"LkQRL8": ["Show original"],
"LlHqdU": ["Initializing project"],
"LlJ8LD": [
@@ -2004,6 +2010,9 @@
"MCjC9A": ["Delete ", ["deleteDescriptorLabel"]],
"MDBJwN": ["Hard to use"],
"MDZSJe": ["When the agent runs its scheduled work."],
+ "MGQ4_D": [
+ "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+ ],
"MGb89P": [
"Insert, delete, move, copy, and indent source editor lines through CodeMirror's default keymap."
],
@@ -2077,6 +2086,7 @@
"N7Lau6": ["Commit and sync"],
"N7m8E-": ["Attach files"],
"NBdIgR": ["Comment"],
+ "NCdpSO": ["Merged"],
"NErvOX": ["Saved to"],
"NEzPEh": ["Create a new branch, or check out an existing one, in its own window."],
"NIWAux": ["No docs registered under #", ["tagDocsName"], "."],
@@ -2268,6 +2278,7 @@
"PBxg_E": ["Not now"],
"PCSkw2": ["Skills"],
"PEGxvo": ["5 minutes"],
+ "PESHdL": ["Has merge conflicts"],
"PGPGsL": ["Add description"],
"PGRnbw": ["Updates flow in from your remote; your edits stay on this computer."],
"PHHEuH": ["Hide resolved comments (", ["0"], ")"],
@@ -2301,7 +2312,6 @@
"PeNdk1": ["Reasons before acting"],
"PezM4_": ["OpenKnowledge skill saved. Upload it in Claude Desktop, then click Cowork again."],
"Pg83C9": ["Uploaded \"", ["0"], "\"."],
- "PgJDqs": ["Show a preview card when you hover an external link in the editor."],
"PgY2nN": [
"If you use a GitHub Enterprise Server, add its host here so OpenKnowledge can sign in, check push permission, and create share links for repositories hosted there."
],
@@ -2552,6 +2562,7 @@
"SF9qpO": ["Share your email for followups"],
"SFEWV6": ["Couldn't load the OpenKnowledge skills. Try again."],
"SFN6dN": ["Heading 3"],
+ "SFwolL": ["Auto-merge is on"],
"SIPelo": [
"Index maintenance is paused because Open Knowledge could not confirm the required Git merge rule. Check Git and .gitattributes, then try again."
],
@@ -2622,6 +2633,7 @@
"TOel0d": ["Deletes a file"],
"TQJCR6": [["0", "plural", { "one": ["#", " result"], "other": ["#", " results"] }]],
"TTDXD8": ["New worktree…"],
+ "TUOigf": ["In the merge queue"],
"T_N0ro": ["Ask changes…"],
"T_j5G0": ["This isn't a supported version of Slidev."],
"T_wG4n": ["We couldn't check your GitHub connection."],
@@ -2947,6 +2959,7 @@
"XfA5xx": [["label"], " enabled"],
"XfzqjK": ["template \"", ["name"], "\""],
"Xg-Ntj": ["The token needs the repo and read:user scopes."],
+ "Xg2x4O": ["Approved and ready to merge"],
"XgqUOy": ["No skill found at that source. Import will report why if you continue."],
"XgsZ2F": ["Copy the code ", ["code"]],
"Xhm7gG": ["Asset suggestions"],
@@ -3151,6 +3164,7 @@
"ZhhOwV": ["Quote"],
"Zj6JL8": ["Use an https:// URL — http:// is only allowed for loopback endpoints."],
"ZjtgI-": ["Command palette"],
+ "ZkY0ic": ["Waiting for review"],
"ZlCe_H": ["No spelling languages are available."],
"Zon_qG": ["Mirror source <0>", ["label"], "</0>"],
"ZptNUh": ["Show ", ["hidden"], " more"],
@@ -3247,6 +3261,7 @@
"A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."
],
"_azghp": ["Previous change"],
+ "_cX8_o": ["Opened by ", ["author"]],
"_ci9Bj": ["Server returned an incomplete folder response."],
"_eguJc": ["Uploading"],
"_fQGOp": ["Spaces aren't allowed in the path"],
@@ -3419,6 +3434,9 @@
"bwoxGI": ["Needs you to sign in"],
"bwy8Y7": ["On <0>", ["address"], "</0>"],
"bzsK8N": ["Reads the authoring palette so new documents match the project's style"],
+ "c0dKr4": [
+ "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+ ],
"c1LZZH": ["Link copied."],
"c2ktXL": ["Previous reports"],
"c3XJ18": ["Help"],
@@ -3447,6 +3465,7 @@
"cFSbbh": [
"Personal to this device. Applies to every project you open here and is never shared with collaborators."
],
+ "cFgW76": ["Blocked from merging"],
"cH0dkG": ["It was missing a feature I needed"],
"cHhH3i": ["a required git tool"],
"cIFYZn": [
@@ -3761,6 +3780,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["Move block"],
"f65AOQ": ["Start from"],
+ "f6suyZ": ["Changes requested"],
"f8fH8W": ["Design"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["Adds a managed block to"],
@@ -3866,6 +3886,7 @@
"gBCeDq": ["No common ancestor — both branches added this file (add/add conflict)."],
"gBbxn_": ["Checking sign-in status"],
"gDkNHk": ["Are you sure you want to delete \"", ["name"], "\"?"],
+ "gEc6f2": ["Closed"],
"gGVP4q": ["Click <0>+</0> <1/> <2>Create skill</2> <3/> <4>Upload skill</4>."],
"gHSAWT": ["Create worktree <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["Show resolved comments (", ["0"], ")"],
@@ -4129,6 +4150,7 @@
"A copy is a real folder of its own, and OK keeps it in step with the source: edit the skill here and every copy is refreshed. That stops the moment you hand-edit a copy outside OK — from then on it goes its own way and shows up as a separate skill."
],
"iOHg1t": ["Open embedded URL in new tab"],
+ "iPp_qv": ["Open"],
"iSLIjg": ["Connect"],
"iSQTsg": ["Ordered list"],
"iSWh95": ["Image target \"", ["shown"], "\" does not resolve to an existing file."],
@@ -4834,6 +4856,9 @@
"\" skill. Anything in SKILL.md that points at it will break until it's recreated."
],
"psUrB1": ["Markdown files and authored skills were left untouched."],
+ "pskJOJ": [
+ "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+ ],
"psl2Sj": ["Your change is still being saved — run the test again in a moment."],
"ptQ3_N": ["unlink"],
"pvnfJD": ["Dark"],
@@ -4972,9 +4997,6 @@
"Semantic search isn't available with the current embeddings provider setup. Check Settings → Search."
],
"rUWrSE": ["Delete report"],
- "rVJpLz": [
- "On — hovering an external link sends its URL to the destination site to fetch a preview."
- ],
"rVxu1k": ["No pages link here yet."],
"rXz97P": ["Numbered list of items."],
"rZ9HZq": ["To do"],
@@ -5086,6 +5108,7 @@
["name"],
" moved, but its pin did not. Pin it again after settings finish loading."
],
+ "siMChX": ["Some checks failed, but it can still merge"],
"skf5Ix": ["Indent or outdent source editor lines."],
"skvOCc": ["The file is in your ", ["trashNoun"], "; the file-watcher will reconcile."],
"sn5BEU": [
@@ -5404,6 +5427,7 @@
"ve8vEM": ["Code expired — please try again"],
"vfRlCI": ["Could not copy full path"],
"vfWA_g": ["You picked ~/Desktop. OpenKnowledge will index everything on your desktop."],
+ "vgGSRn": ["Ready to merge"],
"vhAnzJ": ["Turn on semantic search?"],
"vhGTWU": ["OpenKnowledge ran ", ["tool"]],
"viwC-K": ["Failed to remove project."],
@@ -5562,6 +5586,7 @@
"xEb24l": ["Let us follow up by email"],
"xFQRu4": ["I already have it locally"],
"xG4tb6": ["Lost connection to \"", ["docName"], "\"."],
+ "xG8Ish": ["Not planned"],
"xHGM4U": ["Hide HTML preview"],
"xK291b": ["Two-page (odd)"],
"xKDsGS": ["Go to line ", ["0"], " in ", ["1"]],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index e25996f83..1e3f72d54 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# One pattern per line.\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "#{position} in the merge queue"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} more"
@@ -2167,6 +2171,10 @@ msgstr "Approved"
msgid "Approved — {optionName}"
msgstr "Approved — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "Approved and ready to merge"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
@@ -2362,6 +2370,10 @@ msgstr "Auto-fix ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "Auto-fix applies only to problems with a known mechanical fix."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "Auto-merge is on"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "Before syncing, set your identity for git commits:"
msgid "Before you go, mind sharing why?"
msgstr "Before you go, mind sharing why?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "Behind the base branch"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "Below"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "Block math equation rendered with KaTeX from a LaTeX source string."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "Blocked from merging"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "Blog post"
@@ -2806,6 +2826,10 @@ msgstr "changed outside"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "Changed outside OK since it last wrote here — the state shown is what's on disk now"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "Changes requested"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "Changes save automatically to this theme."
@@ -2936,6 +2960,10 @@ msgstr "Checking..."
msgid "Checklist with checkboxes."
msgstr "Checklist with checkboxes."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "Checks are running"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "Checks documents for markdown problems and can fix them"
@@ -3256,6 +3284,11 @@ msgstr "Close window"
msgid "Close Window"
msgstr "Close Window"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "Closed"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "Clusters"
@@ -5142,10 +5175,6 @@ msgstr "Disable {file}"
msgid "Disable {id}"
msgstr "Disable {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "Disable external link previews"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "Disable semantic search"
@@ -5334,6 +5363,11 @@ msgstr "Downloading {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "Downloads a fresh copy from GitHub."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "Draft"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "Draft a spec"
@@ -5735,10 +5769,6 @@ msgstr "Enable Auto (Pull only)"
msgid "Enable Auto (Pull only)?"
msgstr "Enable Auto (Pull only)?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "Enable external link previews"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "Enable indexes"
@@ -6040,6 +6070,10 @@ msgstr "External link"
msgid "External link previews"
msgstr "External link previews"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "External link previews and GitHub reference cards"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "External link previews show a card with the site name, page title, and description when you hover a link."
@@ -6986,6 +7020,10 @@ msgstr "Hard break"
msgid "Hard to use"
msgstr "Hard to use"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "Has merge conflicts"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "Having a look around…"
@@ -7458,6 +7496,10 @@ msgstr "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newe
msgid "In a subfolder"
msgstr "In a subfolder"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
@@ -7484,6 +7526,14 @@ msgstr "In Git projects, Open Knowledge also adds a scoped .gitattributes rule s
msgid "In the Claude Desktop App"
msgstr "In the Claude Desktop App"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "In the merge queue"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "In the merge queue, but it can't merge"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "In the plan above, please "
@@ -8127,6 +8177,10 @@ msgstr "Limits the combined text sent in each request. A single larger chunk is
msgid "line {displayLine}"
msgstr "line {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "Lines changed: {additions} added, {deletions} removed"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "Medium section heading."
msgid "Mention a page"
msgstr "Mention a page"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "Merged"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "Not installed in this project yet."
msgid "Not now"
msgstr "Not now"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "Not planned"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "Not redacted. Check the image before sharing."
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "Older"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "On — hovering an external link sends its URL to the destination site to fetch a preview."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "Only the current document uses <0>#{tag}</0>."
msgid "Open"
msgstr "Open"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "Open"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "Open worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "Opened by {author}"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "Opened existing OpenKnowledge project at {ancestorPath}"
@@ -11458,6 +11531,10 @@ msgstr "Reads unresolved conflicts between edits"
msgid "Ready"
msgstr "Ready"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "Ready to merge"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "Ready-made folders and templates to get you started quickly."
@@ -12028,6 +12105,10 @@ msgstr "required"
msgid "Required"
msgstr "Required"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "Required checks are failing"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "Requires {brand}."
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "Show {hiddenCount} more"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "Show a preview card when you hover an external link in the editor."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev timed out while starting. Try again."
msgid "Small section heading."
msgstr "Small section heading."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "Some checks failed, but it can still merge"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "Some dropped files could not be inserted safely."
@@ -16223,6 +16308,10 @@ msgstr "Visual editor table selection"
msgid "Waiting for authorization"
msgstr "Waiting for authorization"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "Waiting for review"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 1c689f902..2525b4bdb 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -206,6 +206,7 @@
],
"11ukmX": ["Falló al renombrar: ", ["0"]],
"12F9WL": ["(sin id)"],
+ "12irWm": ["#", ["position"], " en la cola de fusión"],
"151wvk": ["Mostrar la barra lateral"],
"15ZHCt": ["No hay cambios en el cuerpo en esta versión."],
"161NCV": ["Deteniendo"],
@@ -280,6 +281,7 @@
],
"2277Tu": ["Contraer el grafo"],
"237hSL": ["Terminado"],
+ "24crK0": ["En la cola de fusión, pero no se puede fusionar"],
"253MN6": ["No se pudieron enviar tus comentarios; inténtalo de nuevo."],
"25Pw6a": ["Clonando"],
"27TLNq": ["Activar la CLI de ", ["displayName"]],
@@ -622,7 +624,6 @@
]
],
"5UccRr": ["Última actividad: ", ["lastActivity"]],
- "5Umg9i": ["Desactivar la vista previa de enlaces externos"],
"5WDhAk": ["Enlaza a una página o a una URL externa."],
"5W_u0E": [
"No se pudo reiniciar el servidor. Ejecuta ok start en esta carpeta para reintentar."
@@ -905,6 +906,7 @@
"851WA-": ["Esto se puede configurar en Ajustes > Herramientas de IA y CLI"],
"87GMKe": ["¿Exponer este proyecto a la red?"],
"881Uwh": ["Eliminar la tabla seleccionada"],
+ "89SLQ-": ["Vista previa de enlaces externos y tarjetas de referencias de GitHub"],
"89TmeV": ["Algunas habilidades se eliminaron con una advertencia"],
"89TtiD": [
"Archivo nuevo a partir de la plantilla \"",
@@ -1151,6 +1153,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["Aplicando tu cambio"],
"AddR83": ["No se pudo crear el proyecto. Inténtalo de nuevo o elige otra ubicación."],
+ "AdjDox": ["Borrador"],
"AeHuzT": ["# Un patrón por línea.\n# Ejemplos:\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["OpenKnowledge resolvió un conflicto en ", ["subject"]],
"AeORtB": [
@@ -1257,6 +1260,7 @@
"BWTzAb": ["Manual"],
"BY-g4_": ["Añadir patrón"],
"Ba4D2x": ["Plantilla importada"],
+ "Bb00X6": ["Por detrás de la rama base"],
"Bdha5y": ["Publicando..."],
"BeWTQy": ["Cargando paquetes iniciales"],
"BfTQmM": ["Este componente se ha eliminado."],
@@ -1632,6 +1636,7 @@
"F6pfE9": ["Activo"],
"F8DaWi": ["Solo lectura"],
"F8GW_c": [["label"], " problemas"],
+ "FAYFLL": ["Líneas cambiadas: ", ["additions"], " añadidas, ", ["deletions"], " eliminadas"],
"FBIuPX": ["Borrar la selección"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1691,6 +1696,7 @@
"Fr8JGg": ["Archivo zip"],
"FsEXax": ["Eso no se completó. Revisa los registros del servidor e inténtalo de nuevo."],
"Fsx78O": ["Añade el comando <0>ok</0> a tu terminal"],
+ "FumRbV": ["Las comprobaciones se están ejecutando"],
"FvMSms": [
"Renombrarlo cambia el archivo en el disco y el id con el que los agentes eligen esta plantilla."
],
@@ -2153,7 +2159,6 @@
],
"KmydK6": ["Negrita"],
"KnoB--": ["Se guardará como <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["Activar la vista previa de enlaces externos"],
"Kr3VPS": [
"Codex seguirá preguntando hasta que ejecutes \"ok init\" en una terminal para este proyecto."
],
@@ -2258,6 +2263,7 @@
],
"LhWYpm": ["Hay otras rutas OK seguidas en el remoto:"],
"Li4U-T": ["Más información sobre ", ["title"]],
+ "Lj_5Uv": ["Fallan comprobaciones obligatorias"],
"LkQRL8": ["Mostrar original"],
"LlHqdU": ["Inicializando el proyecto"],
"LlJ8LD": [
@@ -2345,6 +2351,9 @@
"MCjC9A": ["Eliminar ", ["deleteDescriptorLabel"]],
"MDBJwN": ["Difícil de usar"],
"MDZSJe": ["Cuándo ejecuta el agente su trabajo programado."],
+ "MGQ4_D": [
+ "Activada: al pasar el cursor por un enlace externo se envía su URL al sitio de destino para obtener una vista previa, y al pasar el cursor por una referencia de GitHub en el chat de un agente se le pide a GitHub."
+ ],
"MGb89P": [
"Inserta, elimina, mueve, copia y sangra líneas del editor de código con el mapa de teclas por defecto de CodeMirror."
],
@@ -2420,6 +2429,7 @@
"N7Lau6": ["Confirmar y sincronizar"],
"N7m8E-": ["Adjuntar archivos"],
"NBdIgR": ["Comentar"],
+ "NCdpSO": ["Fusionada"],
"NErvOX": ["Guardado en"],
"NEzPEh": ["Crea una rama nueva, o extrae una existente, en su propia ventana."],
"NIWAux": ["No hay documentos registrados bajo #", ["tagDocsName"], "."],
@@ -2621,6 +2631,7 @@
"PBxg_E": ["Ahora no"],
"PCSkw2": ["Habilidades"],
"PEGxvo": ["5 minutos"],
+ "PESHdL": ["Tiene conflictos de fusión"],
"PGPGsL": ["Añadir descripción"],
"PGRnbw": [
"Las actualizaciones llegan desde tu remoto; tus ediciones se quedan en este equipo."
@@ -2658,9 +2669,6 @@
"Se guardó la habilidad de OpenKnowledge. Súbela en Claude Desktop y vuelve a hacer clic en Cowork."
],
"Pg83C9": ["Se subió \"", ["0"], "\"."],
- "PgJDqs": [
- "Muestra una tarjeta de vista previa al pasar el cursor por un enlace externo en el editor."
- ],
"PgY2nN": [
"Si usas un GitHub Enterprise Server, agrega su host aquí para que OpenKnowledge pueda iniciar sesión, comprobar el permiso de envío y crear enlaces para compartir de los repositorios alojados allí."
],
@@ -2934,6 +2942,7 @@
"SF9qpO": ["Comparte tu correo para que podamos hacer seguimiento"],
"SFEWV6": ["No se pudieron cargar las habilidades de OpenKnowledge. Inténtalo de nuevo."],
"SFN6dN": ["Encabezado 3"],
+ "SFwolL": ["La fusión automática está activada"],
"SIPelo": [
"El mantenimiento del índice está en pausa porque Open Knowledge no pudo confirmar la regla de combinación de Git necesaria. Comprueba Git y .gitattributes y vuelve a intentarlo."
],
@@ -3026,6 +3035,7 @@
]
],
"TTDXD8": ["Worktree nuevo…"],
+ "TUOigf": ["En la cola de fusión"],
"T_N0ro": ["Solicitar cambios…"],
"T_j5G0": ["Esta no es una versión compatible de Slidev."],
"T_wG4n": ["No pudimos comprobar tu conexión con GitHub."],
@@ -3424,6 +3434,7 @@
"XfA5xx": [["label"], " activado"],
"XfzqjK": ["plantilla \"", ["name"], "\""],
"Xg-Ntj": ["El token necesita los ámbitos repo y read:user."],
+ "Xg2x4O": ["Aprobada y lista para fusionar"],
"XgqUOy": [
"No se encontró ninguna habilidad en ese origen. Si continúas, la importación te dirá por qué."
],
@@ -3658,6 +3669,7 @@
"ZhhOwV": ["Cita"],
"Zj6JL8": ["Usa una URL https://; http:// solo se admite para endpoints de loopback."],
"ZjtgI-": ["Paleta de comandos"],
+ "ZkY0ic": ["Esperando revisión"],
"ZlCe_H": ["No hay idiomas disponibles para la corrección ortográfica."],
"Zon_qG": ["Origen del espejo <0>", ["label"], "</0>"],
"ZptNUh": ["Mostrar ", ["hidden"], " más"],
@@ -3763,6 +3775,7 @@
"Una base de conocimiento que sigue el Open Knowledge Format de Google, una forma común de organizar lo que sabes. Elige esto si quieres que tus notas funcionen bien con otras herramientas que entienden el formato."
],
"_azghp": ["Cambio anterior"],
+ "_cX8_o": ["Abierta por ", ["author"]],
"_ci9Bj": ["El servidor devolvió una respuesta de carpeta incompleta."],
"_eguJc": ["Subiendo"],
"_fQGOp": ["No se permiten espacios en la ruta"],
@@ -3968,6 +3981,9 @@
"bzsK8N": [
"Lee la paleta de autoría para que los documentos nuevos sigan el estilo del proyecto"
],
+ "c0dKr4": [
+ "En el chat de un agente, al pasar el cursor por un enlace a una pull request o incidencia de GitHub se le pide a GitHub su estado, con tu sesión de GitHub cuando OpenKnowledge puede usarla."
+ ],
"c1LZZH": ["Enlace copiado."],
"c2ktXL": ["Informes anteriores"],
"c3XJ18": ["Ayuda"],
@@ -3998,6 +4014,7 @@
"cFSbbh": [
"Personal de este dispositivo. Se aplica a todos los proyectos que abras aquí y nunca se comparte con los colaboradores."
],
+ "cFgW76": ["Fusión bloqueada"],
"cH0dkG": ["Le faltaba una función que necesitaba"],
"cHhH3i": ["una herramienta de git necesaria"],
"cIFYZn": [
@@ -4383,6 +4400,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["Mover el bloque"],
"f65AOQ": ["Empezar desde"],
+ "f6suyZ": ["Cambios solicitados"],
"f8fH8W": ["Diseño"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["Añade un bloque gestionado a"],
@@ -4511,6 +4529,7 @@
"gBCeDq": ["Sin ancestro común: ambas ramas añadieron este archivo (conflicto add/add)."],
"gBbxn_": ["Comprobando el estado de la sesión"],
"gDkNHk": ["¿Seguro que quieres eliminar «", ["name"], "»?"],
+ "gEc6f2": ["Cerrada"],
"gGVP4q": ["Haz clic en <0>+</0> <1/> <2>Crear habilidad</2> <3/> <4>Subir habilidad</4>."],
"gHSAWT": ["Crear el worktree <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["Mostrar comentarios resueltos (", ["0"], ")"],
@@ -4805,6 +4824,7 @@
"Una copia es una carpeta propia, y OK la mantiene alineada con el origen: edita la habilidad aquí y todas las copias se actualizan. Eso se detiene en cuanto editas a mano una copia fuera de OK; a partir de ahí sigue su propio camino y aparece como una habilidad aparte."
],
"iOHg1t": ["Abrir la URL incrustada en una pestaña nueva"],
+ "iPp_qv": ["Abierta"],
"iSLIjg": ["Conectar"],
"iSQTsg": ["Lista numerada"],
"iSWh95": ["El destino de la imagen «", ["shown"], "» no corresponde a un archivo existente."],
@@ -5583,6 +5603,9 @@
"». Todo lo que apunte a ese archivo en SKILL.md dejará de funcionar hasta que se vuelva a crear."
],
"psUrB1": ["Los archivos Markdown y las habilidades creadas no se modificaron."],
+ "pskJOJ": [
+ "Muestra una tarjeta de vista previa al pasar el cursor por un enlace externo en el editor o por una pull request o incidencia de GitHub en el chat de un agente."
+ ],
"psl2Sj": ["Tu cambio todavía se está guardando; vuelve a ejecutar la prueba en un momento."],
"ptQ3_N": ["desenlazar"],
"pvnfJD": ["Oscuro"],
@@ -5742,9 +5765,6 @@
"La búsqueda semántica no está disponible con la configuración actual del proveedor de embeddings. Consulta Configuración → Búsqueda."
],
"rUWrSE": ["Eliminar informe"],
- "rVJpLz": [
- "Activada: al pasar el cursor por un enlace externo se envía su URL al sitio de destino para obtener una vista previa."
- ],
"rVxu1k": ["Todavía no hay páginas que enlacen aquí."],
"rXz97P": ["Lista numerada de elementos."],
"rZ9HZq": ["Por hacer"],
@@ -5863,6 +5883,7 @@
["name"],
", pero su fijación no. Vuelve a fijarlo cuando terminen de cargarse los ajustes."
],
+ "siMChX": ["Algunas comprobaciones fallaron, pero aún se puede fusionar"],
"skf5Ix": ["Aumenta o reduce la sangría de las líneas del editor de código."],
"skvOCc": [
"El archivo está en tu ",
@@ -6225,6 +6246,7 @@
"ve8vEM": ["El código ha caducado: inténtalo de nuevo"],
"vfRlCI": ["No se pudo copiar la ruta completa"],
"vfWA_g": ["Elegiste ~/Desktop. OpenKnowledge indexará todo lo que haya en tu escritorio."],
+ "vgGSRn": ["Lista para fusionar"],
"vhAnzJ": ["¿Activar la búsqueda semántica?"],
"vhGTWU": ["OpenKnowledge ejecutó ", ["tool"]],
"viwC-K": ["No se pudo quitar el proyecto."],
@@ -6406,6 +6428,7 @@
"xEb24l": ["Permítenos escribirte por correo"],
"xFQRu4": ["Ya lo tengo en local"],
"xG4tb6": ["Se perdió la conexión con \"", ["docName"], "\"."],
+ "xG8Ish": ["No planificada"],
"xHGM4U": ["Ocultar la vista previa del HTML"],
"xK291b": ["Dos páginas (impares)"],
"xKDsGS": ["Ir a la línea ", ["0"], " de ", ["1"]],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index b3e967e22..5a6052666 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# Un patrón por línea.\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "#{position} en la cola de fusión"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} más"
@@ -2167,6 +2171,10 @@ msgstr "Aprobado"
msgid "Approved — {optionName}"
msgstr "Aprobado — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "Aprobada y lista para fusionar"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "¿Seguro que quieres convertir este archivo en una plantilla? El archivo original se eliminará. Esta acción no se puede deshacer."
@@ -2362,6 +2370,10 @@ msgstr "Arreglo automático ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "El arreglo automático solo se aplica a los problemas con un arreglo mecánico conocido."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "La fusión automática está activada"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "Antes de sincronizar, define tu identidad para los commits de git:"
msgid "Before you go, mind sharing why?"
msgstr "Antes de irte, ¿nos cuentas por qué?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "Por detrás de la rama base"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "Abajo"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "Ecuación matemática en bloque renderizada con KaTeX a partir de código LaTeX."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "Fusión bloqueada"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "Entrada de blog"
@@ -2806,6 +2826,10 @@ msgstr "modificado fuera"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "Se modificó fuera de OK desde la última vez que escribió aquí; el estado que se muestra es el que hay ahora en el disco"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "Cambios solicitados"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "Los cambios se guardan automáticamente en este tema."
@@ -2936,6 +2960,10 @@ msgstr "Comprobando..."
msgid "Checklist with checkboxes."
msgstr "Lista de comprobación con casillas."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "Las comprobaciones se están ejecutando"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "Revisa los documentos en busca de problemas de markdown y puede corregirlos"
@@ -3256,6 +3284,11 @@ msgstr "Cerrar ventana"
msgid "Close Window"
msgstr "Cerrar ventana"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "Cerrada"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "Grupos"
@@ -5142,10 +5175,6 @@ msgstr "Desactivar {file}"
msgid "Disable {id}"
msgstr "Deshabilitar {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "Desactivar la vista previa de enlaces externos"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "Desactivar la búsqueda semántica"
@@ -5334,6 +5363,11 @@ msgstr "Descargando {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "Descarga una copia nueva desde GitHub."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "Borrador"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "Redactar una especificación"
@@ -5735,10 +5769,6 @@ msgstr "Activar Automático (solo Pull)"
msgid "Enable Auto (Pull only)?"
msgstr "¿Activar Automático (solo Pull)?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "Activar la vista previa de enlaces externos"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "Habilitar índices"
@@ -6040,6 +6070,10 @@ msgstr "Enlace externo"
msgid "External link previews"
msgstr "Vista previa de enlaces externos"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "Vista previa de enlaces externos y tarjetas de referencias de GitHub"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "La vista previa de enlaces externos muestra una tarjeta con el nombre del sitio, el título de la página y la descripción al pasar el cursor por un enlace."
@@ -6986,6 +7020,10 @@ msgstr "Salto de línea forzado"
msgid "Hard to use"
msgstr "Difícil de usar"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "Tiene conflictos de fusión"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "Echando un vistazo…"
@@ -7458,6 +7496,10 @@ msgstr "En un documento de registro, los encabezados de las entradas comienzan c
msgid "In a subfolder"
msgstr "En una subcarpeta"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "En el chat de un agente, al pasar el cursor por un enlace a una pull request o incidencia de GitHub se le pide a GitHub su estado, con tu sesión de GitHub cuando OpenKnowledge puede usarla."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "En un documento índice: las entradas se encuentran bajo un título de sección y cada una lleva un enlace. La prosa alrededor de las listas está bien."
@@ -7484,6 +7526,14 @@ msgstr "En proyectos Git, Open Knowledge también agrega una regla .gitattribute
msgid "In the Claude Desktop App"
msgstr "En la aplicación Claude Desktop"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "En la cola de fusión"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "En la cola de fusión, pero no se puede fusionar"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "En el plan de arriba, por favor "
@@ -8127,6 +8177,10 @@ msgstr "Limita el texto combinado que se envía en cada solicitud. Un fragmento
msgid "line {displayLine}"
msgstr "línea {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "Líneas cambiadas: {additions} añadidas, {deletions} eliminadas"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "Encabezado de sección mediano."
msgid "Mention a page"
msgstr "Mencionar una página"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "Fusionada"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "Aún no está instalada en este proyecto."
msgid "Not now"
msgstr "Ahora no"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "No planificada"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "Sin censurar. Revisa la imagen antes de compartirla."
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "Anteriores"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "Activada: al pasar el cursor por un enlace externo se envía su URL al sitio de destino para obtener una vista previa."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "Activada: al pasar el cursor por un enlace externo se envía su URL al sitio de destino para obtener una vista previa, y al pasar el cursor por una referencia de GitHub en el chat de un agente se le pide a GitHub."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "Solo el documento actual usa <0>#{tag}</0>."
msgid "Open"
msgstr "Abrir"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "Abierta"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "Abrir el worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "Abre, recorre, acepta o descarta las sugerencias de autocompletado de CodeMirror."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "Abierta por {author}"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "Se abrió el proyecto de OpenKnowledge existente en {ancestorPath}"
@@ -11458,6 +11531,10 @@ msgstr "Lee los conflictos sin resolver entre ediciones"
msgid "Ready"
msgstr "Listo"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "Lista para fusionar"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "Carpetas y plantillas ya hechas para empezar rápido."
@@ -12028,6 +12105,10 @@ msgstr "obligatorio"
msgid "Required"
msgstr "Obligatorio"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "Fallan comprobaciones obligatorias"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "Requiere {brand}."
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "Mostrar {hiddenCount} más"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "Muestra una tarjeta de vista previa al pasar el cursor por un enlace externo en el editor."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "Muestra una tarjeta de vista previa al pasar el cursor por un enlace externo en el editor o por una pull request o incidencia de GitHub en el chat de un agente."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev tardó demasiado en iniciarse. Inténtalo de nuevo."
msgid "Small section heading."
msgstr "Encabezado de sección pequeño."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "Algunas comprobaciones fallaron, pero aún se puede fusionar"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "Algunos archivos soltados no se pudieron insertar de forma segura."
@@ -16223,6 +16308,10 @@ msgstr "Selección de tabla del editor visual"
msgid "Waiting for authorization"
msgstr "Esperando la autorización"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "Esperando revisión"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index 8e99a109e..a1ba2ae26 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -210,6 +210,7 @@
],
"11ukmX": ["Échec du renommage : ", ["0"]],
"12F9WL": ["(aucun id)"],
+ "12irWm": ["#", ["position"], " dans la file d'attente de fusion"],
"151wvk": ["Afficher la barre latérale"],
"15ZHCt": ["Aucune modification du corps dans cette version."],
"161NCV": ["Arrêt en cours"],
@@ -294,6 +295,7 @@
],
"2277Tu": ["Réduire le graphe"],
"237hSL": ["Terminé"],
+ "24crK0": ["Dans la file d'attente de fusion, mais impossible de fusionner"],
"253MN6": ["Impossible d'envoyer vos commentaires — veuillez réessayer."],
"25Pw6a": ["Clonage"],
"27TLNq": ["Activer la CLI ", ["displayName"]],
@@ -645,7 +647,6 @@
]
],
"5UccRr": ["Dernière activité : ", ["lastActivity"]],
- "5Umg9i": ["Désactiver les aperçus de liens externes"],
"5WDhAk": ["Lien vers une page ou une URL externe."],
"5W_u0E": [
"Impossible de redémarrer le serveur. Exécutez ok start dans ce dossier pour réessayer."
@@ -934,6 +935,7 @@
"851WA-": ["Cela se configure dans Paramètres > Outils IA et CLI"],
"87GMKe": ["Exposer ce projet au réseau ?"],
"881Uwh": ["Supprimer le tableau sélectionné"],
+ "89SLQ-": ["Aperçus de liens externes et cartes de références GitHub"],
"89TmeV": ["Certaines compétences ont été supprimées avec un avertissement"],
"89TtiD": [
"Nouveau fichier à partir du modèle « ",
@@ -1180,6 +1182,7 @@
"AcK_r0": ["CLI Claude"],
"AdcGcG": ["Application de votre modification"],
"AddR83": ["Impossible de créer le projet. Réessayez ou choisissez un autre emplacement."],
+ "AdjDox": ["Brouillon"],
"AeHuzT": ["# Un motif par ligne.\n# Exemples :\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["OpenKnowledge a résolu un conflit dans ", ["subject"]],
"AeORtB": [
@@ -1286,6 +1289,7 @@
"BWTzAb": ["Manuel"],
"BY-g4_": ["Ajouter un motif"],
"Ba4D2x": ["Modèle importé"],
+ "Bb00X6": ["En retard sur la branche de base"],
"Bdha5y": ["Publication…"],
"BeWTQy": ["Chargement des packs de démarrage"],
"BfTQmM": ["Ce composant a été supprimé."],
@@ -1668,6 +1672,7 @@
"F6pfE9": ["Actif"],
"F8DaWi": ["Affichage seul"],
"F8GW_c": [["label"], " problèmes"],
+ "FAYFLL": ["Lignes modifiées : ", ["additions"], " ajoutées, ", ["deletions"], " supprimées"],
"FBIuPX": ["Effacer la sélection"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1729,6 +1734,7 @@
"Fr8JGg": ["Fichier zip"],
"FsEXax": ["Cela n'a pas abouti. Consultez les journaux du serveur et réessayez."],
"Fsx78O": ["Ajoutez la commande <0>ok</0> à votre terminal"],
+ "FumRbV": ["Vérifications en cours"],
"FvMSms": [
"Renommer modifie le fichier sur le disque ainsi que l'id que les agents utilisent pour choisir ce modèle."
],
@@ -2189,7 +2195,6 @@
],
"KmydK6": ["Gras"],
"KnoB--": ["Sera enregistré sous <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["Activer les aperçus de liens externes"],
"Kr3VPS": [
"Codex continuera de demander tant que vous n'aurez pas exécuté « ok init » dans un terminal pour ce projet."
],
@@ -2302,6 +2307,7 @@
],
"LhWYpm": ["D'autres chemins OK sont suivis en amont :"],
"Li4U-T": ["En savoir plus sur ", ["title"]],
+ "Lj_5Uv": ["Des vérifications obligatoires échouent"],
"LkQRL8": ["Afficher l’original"],
"LlHqdU": ["Initialisation du projet"],
"LlJ8LD": [
@@ -2387,6 +2393,9 @@
"MCjC9A": ["Supprimer ", ["deleteDescriptorLabel"]],
"MDBJwN": ["Difficile à utiliser"],
"MDZSJe": ["Quand l'agent effectue son travail planifié."],
+ "MGQ4_D": [
+ "Activé — survoler un lien externe envoie son URL au site de destination pour récupérer un aperçu, et survoler une référence GitHub dans une conversation avec un agent la demande à GitHub."
+ ],
"MGb89P": [
"Insérez, supprimez, déplacez, copiez et mettez en retrait les lignes de l'éditeur de source via le mappage clavier par défaut de CodeMirror."
],
@@ -2462,6 +2471,7 @@
"N7Lau6": ["Valider et synchroniser"],
"N7m8E-": ["Joindre des fichiers"],
"NBdIgR": ["Commenter"],
+ "NCdpSO": ["Fusionné"],
"NErvOX": ["Enregistré dans"],
"NEzPEh": ["Créez une nouvelle branche, ou extrayez-en une existante, dans sa propre fenêtre."],
"NIWAux": ["Aucun document enregistré sous #", ["tagDocsName"], "."],
@@ -2661,6 +2671,7 @@
"PBxg_E": ["Pas maintenant"],
"PCSkw2": ["Compétences"],
"PEGxvo": ["5 minutes"],
+ "PESHdL": ["A des conflits de fusion"],
"PGPGsL": ["Ajouter une description"],
"PGRnbw": [
"Les mises à jour arrivent depuis votre dépôt distant ; vos modifications restent sur cet ordinateur."
@@ -2700,7 +2711,6 @@
"Compétence OpenKnowledge enregistrée. Importez-la dans Claude Desktop, puis cliquez à nouveau sur Cowork."
],
"Pg83C9": ["« ", ["0"], " » envoyé."],
- "PgJDqs": ["Affiche une carte d'aperçu au survol d'un lien externe dans l'éditeur."],
"PgY2nN": [
"Si vous utilisez un GitHub Enterprise Server, ajoutez son hôte ici pour qu’OpenKnowledge puisse s’y connecter, vérifier l’autorisation de push et créer des liens de partage pour les dépôts qui y sont hébergés."
],
@@ -2976,6 +2986,7 @@
"SF9qpO": ["Partagez votre e-mail pour le suivi"],
"SFEWV6": ["Impossible de charger les compétences OpenKnowledge. Réessayez."],
"SFN6dN": ["Titre 3"],
+ "SFwolL": ["La fusion automatique est activée"],
"SIPelo": [
"La maintenance de l'index est suspendue car Open Knowledge n'a pas pu confirmer la règle de fusion Git requise. Vérifiez Git et .gitattributes, puis réessayez."
],
@@ -3070,6 +3081,7 @@
]
],
"TTDXD8": ["Nouveau worktree…"],
+ "TUOigf": ["Dans la file d'attente de fusion"],
"T_N0ro": ["Demander des modifications…"],
"T_j5G0": ["Cette version de Slidev n'est pas prise en charge."],
"T_wG4n": ["Nous n'avons pas pu vérifier votre connexion GitHub."],
@@ -3472,6 +3484,7 @@
"XfA5xx": [["label"], " activé"],
"XfzqjK": ["modèle « ", ["name"], " »"],
"Xg-Ntj": ["Le jeton doit avoir les portées repo et read:user."],
+ "Xg2x4O": ["Approuvé et prêt à fusionner"],
"XgqUOy": [
"Aucune compétence trouvée à cette source. L'importation en indiquera la raison si vous continuez."
],
@@ -3705,6 +3718,7 @@
"Utilisez une URL https:// — http:// n'est autorisé que pour les points de terminaison de bouclage."
],
"ZjtgI-": ["Palette de commandes"],
+ "ZkY0ic": ["En attente de revue"],
"ZlCe_H": ["Aucune langue n'est disponible pour la correction orthographique."],
"Zon_qG": ["Source du miroir <0>", ["label"], "</0>"],
"ZptNUh": ["Afficher ", ["hidden"], " de plus"],
@@ -3810,6 +3824,7 @@
"Une base de connaissances qui suit l'Open Knowledge Format de Google, une manière commune d'organiser ce que vous savez. Choisissez ceci si vous voulez que vos notes fonctionnent bien avec les autres outils qui comprennent ce format."
],
"_azghp": ["Modification précédente"],
+ "_cX8_o": ["Ouvert par ", ["author"]],
"_ci9Bj": ["Le serveur a renvoyé une réponse de dossier incomplète."],
"_eguJc": ["Envoi en cours"],
"_fQGOp": ["Les espaces ne sont pas autorisés dans le chemin"],
@@ -4017,6 +4032,9 @@
"bzsK8N": [
"Lit la palette de rédaction pour que les nouveaux documents suivent le style du projet"
],
+ "c0dKr4": [
+ "Dans une conversation avec un agent, survoler un lien vers une pull request ou un ticket GitHub demande son statut à GitHub, avec votre connexion GitHub quand OpenKnowledge peut l'utiliser."
+ ],
"c1LZZH": ["Lien copié."],
"c2ktXL": ["Rapports précédents"],
"c3XJ18": ["Aide"],
@@ -4051,6 +4069,7 @@
"cFSbbh": [
"Propre à cet appareil. S'applique à tous les projets que vous ouvrez ici et n'est jamais partagé avec les collaborateurs."
],
+ "cFgW76": ["Fusion bloquée"],
"cH0dkG": ["Il manquait une fonctionnalité dont j'avais besoin"],
"cHhH3i": ["un outil git requis"],
"cIFYZn": [
@@ -4424,6 +4443,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["Déplacer le bloc"],
"f65AOQ": ["Partir de"],
+ "f6suyZ": ["Modifications demandées"],
"f8fH8W": ["Conception"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["Ajoute un bloc géré à"],
@@ -4548,6 +4568,7 @@
"gBCeDq": ["Aucun ancêtre commun : les deux branches ont ajouté ce fichier (conflit add/add)."],
"gBbxn_": ["Vérification de l'état de connexion"],
"gDkNHk": ["Voulez-vous vraiment supprimer « ", ["name"], " » ?"],
+ "gEc6f2": ["Fermé"],
"gGVP4q": [
"Cliquez sur <0>+</0> <1/> <2>Créer une compétence</2> <3/> <4>Envoyer une compétence</4>."
],
@@ -4842,6 +4863,7 @@
"Une copie est un vrai dossier à part entière, et OK la maintient alignée sur la source : modifiez la compétence ici et chaque copie est actualisée. Cela s'arrête dès que vous modifiez une copie à la main en dehors d'OK — à partir de là elle suit son propre chemin et apparaît comme une compétence distincte."
],
"iOHg1t": ["Ouvrir l'URL intégrée dans un nouvel onglet"],
+ "iPp_qv": ["Ouvert"],
"iSLIjg": ["Connecter"],
"iSQTsg": ["Liste numérotée"],
"iSWh95": ["La cible de l’image « ", ["shown"], " » ne correspond à aucun fichier existant."],
@@ -5640,6 +5662,9 @@
"psUrB1": [
"Les fichiers Markdown et les compétences que vous avez créées sont restés intacts."
],
+ "pskJOJ": [
+ "Affiche une carte d'aperçu au survol d'un lien externe dans l'éditeur ou d'une pull request ou d'un ticket GitHub dans une conversation avec un agent."
+ ],
"psl2Sj": [
"Votre modification est encore en cours d'enregistrement — relancez le test dans un instant."
],
@@ -5809,9 +5834,6 @@
"La recherche sémantique n’est pas disponible avec la configuration actuelle du fournisseur d’embeddings. Consultez Paramètres → Recherche."
],
"rUWrSE": ["Supprimer le rapport"],
- "rVJpLz": [
- "Activé — survoler un lien externe envoie son URL au site de destination pour récupérer un aperçu."
- ],
"rVxu1k": ["Aucune page ne renvoie encore ici."],
"rXz97P": ["Liste numérotée d'éléments."],
"rZ9HZq": ["À faire"],
@@ -5927,6 +5949,7 @@
["name"],
" a été déplacé, mais pas son épingle. Épinglez-le de nouveau une fois les paramètres chargés."
],
+ "siMChX": ["Certaines vérifications ont échoué, mais la fusion reste possible"],
"skf5Ix": ["Augmente ou réduit le retrait des lignes de l'éditeur de source."],
"skvOCc": [
"Le fichier est dans votre ",
@@ -6301,6 +6324,7 @@
"vfWA_g": [
"Vous avez choisi ~/Desktop. OpenKnowledge indexera tout ce qui se trouve sur votre bureau."
],
+ "vgGSRn": ["Prêt à fusionner"],
"vhAnzJ": ["Activer la recherche sémantique ?"],
"vhGTWU": ["OpenKnowledge a exécuté ", ["tool"]],
"viwC-K": ["Échec de la suppression du projet."],
@@ -6480,6 +6504,7 @@
"xEb24l": ["Autorisez-nous à vous recontacter par e-mail"],
"xFQRu4": ["Je l'ai déjà en local"],
"xG4tb6": ["Connexion perdue avec « ", ["docName"], " »."],
+ "xG8Ish": ["Non planifié"],
"xHGM4U": ["Masquer l'aperçu HTML"],
"xK291b": ["Deux pages (impaires)"],
"xKDsGS": ["Aller à la ligne ", ["0"], " dans ", ["1"]],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index de257ca42..93a99c08f 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# Un motif par ligne.\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "#{position} dans la file d'attente de fusion"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} de plus"
@@ -2167,6 +2171,10 @@ msgstr "Approuvé"
msgid "Approved — {optionName}"
msgstr "Approuvé — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "Approuvé et prêt à fusionner"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "Voulez-vous vraiment convertir ce fichier en modèle ? Le fichier d'origine sera supprimé. Cette action est irréversible."
@@ -2362,6 +2370,10 @@ msgstr "Correction automatique ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "La correction automatique ne s'applique qu'aux problèmes ayant une correction mécanique connue."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "La fusion automatique est activée"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "Avant de synchroniser, définissez votre identité pour les commits git
msgid "Before you go, mind sharing why?"
msgstr "Avant de partir, accepteriez-vous de nous dire pourquoi ?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "En retard sur la branche de base"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "En dessous"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "Équation mathématique en bloc rendue avec KaTeX à partir d'une source LaTeX."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "Fusion bloquée"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "Article de blog"
@@ -2806,6 +2826,10 @@ msgstr "modifié à l'extérieur"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "Modifié en dehors d'OK depuis sa dernière écriture ici — l'état affiché est celui qui se trouve sur le disque maintenant"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "Modifications demandées"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "Les modifications sont automatiquement enregistrées dans ce thème."
@@ -2936,6 +2960,10 @@ msgstr "Vérification…"
msgid "Checklist with checkboxes."
msgstr "Liste avec cases à cocher."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "Vérifications en cours"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "Vérifie les documents à la recherche de problèmes markdown et peut les corriger"
@@ -3256,6 +3284,11 @@ msgstr "Fermer la fenêtre"
msgid "Close Window"
msgstr "Fermer la fenêtre"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "Fermé"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "Groupes"
@@ -5142,10 +5175,6 @@ msgstr "Désactiver {file}"
msgid "Disable {id}"
msgstr "Désactiver {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "Désactiver les aperçus de liens externes"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "Désactiver la recherche sémantique"
@@ -5334,6 +5363,11 @@ msgstr "Téléchargement de {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "Télécharge une copie neuve depuis GitHub."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "Brouillon"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "Rédiger une spécification"
@@ -5735,10 +5769,6 @@ msgstr "Activer Auto (Tirer seulement)"
msgid "Enable Auto (Pull only)?"
msgstr "Activer Auto (Tirer seulement) ?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "Activer les aperçus de liens externes"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "Activer les index"
@@ -6040,6 +6070,10 @@ msgstr "Lien externe"
msgid "External link previews"
msgstr "Aperçus de liens externes"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "Aperçus de liens externes et cartes de références GitHub"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "Les aperçus de liens externes affichent une carte avec le nom du site, le titre de la page et sa description au survol d'un lien."
@@ -6986,6 +7020,10 @@ msgstr "Saut de ligne forcé"
msgid "Hard to use"
msgstr "Difficile à utiliser"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "A des conflits de fusion"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "Petit tour d'horizon…"
@@ -7458,6 +7496,10 @@ msgstr "Dans un document de journal : les en-têtes d'entrée commencent par un
msgid "In a subfolder"
msgstr "Dans un sous-dossier"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "Dans une conversation avec un agent, survoler un lien vers une pull request ou un ticket GitHub demande son statut à GitHub, avec votre connexion GitHub quand OpenKnowledge peut l'utiliser."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "Dans un document d'index : les entrées se trouvent sous un en-tête de section et chacune comporte un lien. La prose autour des listes est très bien."
@@ -7484,6 +7526,14 @@ msgstr "Dans les projets Git, Open Knowledge ajoute également une règle .gitat
msgid "In the Claude Desktop App"
msgstr "Dans l'application Claude Desktop"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "Dans la file d'attente de fusion"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "Dans la file d'attente de fusion, mais impossible de fusionner"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "Dans le plan ci-dessus, veuillez "
@@ -8127,6 +8177,10 @@ msgstr "Limite le texte cumulé envoyé dans chaque requête. Un fragment plus v
msgid "line {displayLine}"
msgstr "ligne {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "Lignes modifiées : {additions} ajoutées, {deletions} supprimées"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "Titre de section moyen."
msgid "Mention a page"
msgstr "Mentionner une page"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "Fusionné"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "Pas encore installée dans ce projet."
msgid "Not now"
msgstr "Pas maintenant"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "Non planifié"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "Non expurgée. Vérifiez l’image avant de la partager."
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "Plus anciennes"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "Activé — survoler un lien externe envoie son URL au site de destination pour récupérer un aperçu."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "Activé — survoler un lien externe envoie son URL au site de destination pour récupérer un aperçu, et survoler une référence GitHub dans une conversation avec un agent la demande à GitHub."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "Seul le document actuel utilise <0>#{tag}</0>."
msgid "Open"
msgstr "Ouvrir"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "Ouvert"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "Ouvrir le worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "Ouvre, parcourt, accepte ou ferme les suggestions de complétion de CodeMirror."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "Ouvert par {author}"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "Projet OpenKnowledge existant ouvert dans {ancestorPath}"
@@ -11458,6 +11531,10 @@ msgstr "Lit les conflits non résolus entre modifications"
msgid "Ready"
msgstr "Prêt"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "Prêt à fusionner"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "Des dossiers et des modèles prêts à l'emploi pour démarrer rapidement."
@@ -12028,6 +12105,10 @@ msgstr "obligatoire"
msgid "Required"
msgstr "Obligatoire"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "Des vérifications obligatoires échouent"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "Nécessite {brand}."
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "Afficher {hiddenCount} de plus"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "Affiche une carte d'aperçu au survol d'un lien externe dans l'éditeur."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "Affiche une carte d'aperçu au survol d'un lien externe dans l'éditeur ou d'une pull request ou d'un ticket GitHub dans une conversation avec un agent."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev a mis trop de temps à démarrer. Réessayez."
msgid "Small section heading."
msgstr "Petit titre de section."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "Certaines vérifications ont échoué, mais la fusion reste possible"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "Certains fichiers déposés n’ont pas pu être insérés en toute sécurité."
@@ -16223,6 +16308,10 @@ msgstr "Sélection de tableau de l'éditeur visuel"
msgid "Waiting for authorization"
msgstr "En attente d'autorisation"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "En attente de revue"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index ed4c78d16..7ebbb802b 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -174,6 +174,7 @@
],
"11ukmX": ["नाम बदलना विफल: ", ["0"]],
"12F9WL": ["(कोई id नहीं)"],
+ "12irWm": ["मर्ज कतार में #", ["position"]],
"151wvk": ["साइडबार दिखाएँ"],
"15ZHCt": ["इस संस्करण में मुख्य भाग का कोई बदलाव नहीं।"],
"161NCV": ["रोका जा रहा है"],
@@ -235,6 +236,7 @@
"20LVKb": ["इस चैट के बाहर की किसी चीज़ ने एजेंट प्रोसेस को रुकने के लिए कहा (", ["signal"], ")।"],
"2277Tu": ["ग्राफ़ समेटें"],
"237hSL": ["समाप्त"],
+ "24crK0": ["मर्ज कतार में है, लेकिन मर्ज नहीं हो सकता"],
"253MN6": ["आपकी टिप्पणियाँ नहीं भेजी जा सकीं — कृपया फिर कोशिश करें।"],
"25Pw6a": ["क्लोन किया जा रहा है"],
"27TLNq": [["displayName"], " CLI सक्षम करें"],
@@ -511,7 +513,6 @@
" में"
],
"5UccRr": ["पिछली गतिविधि: ", ["lastActivity"]],
- "5Umg9i": ["बाहरी लिंक पूर्वावलोकन अक्षम करें"],
"5WDhAk": ["किसी पेज या बाहरी URL से लिंक करें।"],
"5W_u0E": ["सर्वर पुनः आरंभ नहीं किया जा सका। पुनः प्रयास करने के लिए इस फ़ोल्डर में ok start चलाएँ।"],
"5Y17qa": ["किस पर लागू (ग्लोब — शुरू में ! बाहर रखता है; खाली का अर्थ हर दस्तावेज़)"],
@@ -750,6 +751,7 @@
"851WA-": ["इसे Settings > AI tools & CLI में कॉन्फ़िगर किया जा सकता है"],
"87GMKe": ["क्या इस प्रोजेक्ट को नेटवर्क पर एक्सपोज़ करें?"],
"881Uwh": ["चयनित तालिका हटाएँ"],
+ "89SLQ-": ["बाहरी लिंक पूर्वावलोकन और GitHub संदर्भ कार्ड"],
"89TmeV": ["कुछ स्किलें चेतावनी के साथ हटाई गईं"],
"89TtiD": ["प्रोजेक्ट रूट में टेम्पलेट \"", ["displayTitle"], "\" (", ["fileName"], ") से नई फ़ाइल"],
"8AjnFz": ["\"", ["0"], "\" पहले ही आयात किया जा चुका था (समान सामग्री)।"],
@@ -957,6 +959,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["आपका बदलाव लागू किया जा रहा है"],
"AddR83": ["प्रोजेक्ट नहीं बनाया जा सका। फिर कोशिश करें या कोई दूसरा स्थान चुनें।"],
+ "AdjDox": ["ड्राफ़्ट"],
"AeHuzT": ["# प्रति पंक्ति एक पैटर्न।\\n# उदाहरण:\\n# drafts/\\n# *.draft.md\\n# !keep.md"],
"AeLo3p": ["OpenKnowledge ने ", ["subject"], " में एक विरोध हल किया"],
"AeORtB": [
@@ -1043,6 +1046,7 @@
"BWTzAb": ["मैन्युअल"],
"BY-g4_": ["पैटर्न जोड़ें"],
"Ba4D2x": ["टेम्पलेट आयात किया गया"],
+ "Bb00X6": ["बेस ब्रांच से पीछे"],
"Bdha5y": ["प्रकाशित किया जा रहा है…"],
"BeWTQy": ["स्टार्टर पैक लोड हो रहे हैं"],
"BfTQmM": ["यह घटक हटा दिया गया है।"],
@@ -1369,6 +1373,7 @@
"F6pfE9": ["सक्रिय"],
"F8DaWi": ["केवल देखने के लिए"],
"F8GW_c": [["label"], " समस्याएँ"],
+ "FAYFLL": ["बदली गई पंक्तियाँ: ", ["additions"], " जोड़ी गईं, ", ["deletions"], " हटाई गईं"],
"FBIuPX": ["चयन साफ़ करें"],
"FBknns": ["HTML"],
"FCAcjR": ["OpenKnowledge के भीतर जुड़ा एक असली टर्मिनल चलाएँ, जो इस प्रोजेक्ट के फ़ोल्डर से शुरू होता है।"],
@@ -1424,6 +1429,7 @@
"Fr8JGg": ["Zip फ़ाइल"],
"FsEXax": ["यह पूरा नहीं हुआ। सर्वर लॉग देखें और फिर से कोशिश करें।"],
"Fsx78O": ["अपने टर्मिनल में <0>ok</0> कमांड जोड़ें"],
+ "FumRbV": ["जाँचें चल रही हैं"],
"FvMSms": ["नाम बदलने पर डिस्क की फ़ाइल और वह id दोनों बदल जाते हैं जिससे एजेंट यह टेम्पलेट चुनते हैं।"],
"Fx9aOF": ["OpenKnowledge ने एक दस्तावेज़ संपादित किया"],
"Fxf4jq": ["विवरण (वैकल्पिक)"],
@@ -1794,7 +1800,6 @@
],
"KmydK6": ["गाढ़ा"],
"KnoB--": ["<0>", ["sanitized"], "</0> के रूप में सहेजा जाएगा।"],
- "KpOJFY": ["बाहरी लिंक पूर्वावलोकन सक्षम करें"],
"Kr3VPS": ["जब तक आप इस प्रोजेक्ट के लिए टर्मिनल में \"ok init\" नहीं चलाते, Codex पूछता रहेगा।"],
"KsAPaB": ["यह ब्रांच यहाँ चेक आउट है:"],
"KtACeE": ["डिफ़ॉल्ट: <0>", ["0"], "</0>"],
@@ -1876,6 +1881,7 @@
],
"LhWYpm": ["अन्य OK पथ अपस्ट्रीम ट्रैक किए जाते हैं:"],
"Li4U-T": [["title"], " के बारे में और जानें"],
+ "Lj_5Uv": ["ज़रूरी जाँचें विफल हो रही हैं"],
"LkQRL8": ["मूल दिखाएँ"],
"LlHqdU": ["प्रोजेक्ट आरंभ किया जा रहा है"],
"LlJ8LD": [
@@ -1939,6 +1945,9 @@
"MCjC9A": [["deleteDescriptorLabel"], " हटाएँ"],
"MDBJwN": ["उपयोग करना कठिन"],
"MDZSJe": ["एजेंट अपना निर्धारित काम कब करता है।"],
+ "MGQ4_D": [
+ "चालू — किसी बाहरी लिंक पर माउस ले जाने पर पूर्वावलोकन लाने के लिए उसका URL गंतव्य साइट को भेजा जाता है, और एजेंट चैट में किसी GitHub संदर्भ पर माउस ले जाने पर GitHub से पूछा जाता है।"
+ ],
"MGb89P": [
"CodeMirror के डिफ़ॉल्ट कीमैप से स्रोत संपादक की पंक्तियाँ डालें, हटाएँ, हिलाएँ, कॉपी करें और अंदर करें।"
],
@@ -2008,6 +2017,7 @@
"N7Lau6": ["कमिट करें और सिंक करें"],
"N7m8E-": ["फ़ाइलें संलग्न करें"],
"NBdIgR": ["टिप्पणी करें"],
+ "NCdpSO": ["मर्ज किया गया"],
"NErvOX": ["यहाँ सहेजा गया"],
"NEzPEh": ["एक नई ब्रांच बनाएँ, या किसी मौजूदा को उसकी अपनी विंडो में चेक आउट करें।"],
"NIWAux": ["#", ["tagDocsName"], " के अंतर्गत कोई दस्तावेज़ पंजीकृत नहीं।"],
@@ -2197,6 +2207,7 @@
"PBxg_E": ["अभी नहीं"],
"PCSkw2": ["स्किल"],
"PEGxvo": ["5 मिनट"],
+ "PESHdL": ["मर्ज टकराव हैं"],
"PGPGsL": ["विवरण जोड़ें"],
"PGRnbw": ["अपडेट आपके रिमोट से आते हैं; आपके संपादन इसी कंप्यूटर पर रहते हैं।"],
"PHHEuH": ["हल की गई टिप्पणियाँ छिपाएँ (", ["0"], ")"],
@@ -2232,7 +2243,6 @@
"OpenKnowledge स्किल सहेज ली गई। इसे Claude Desktop में अपलोड करें, फिर Cowork पर दोबारा क्लिक करें।"
],
"Pg83C9": ["\"", ["0"], "\" अपलोड किया गया।"],
- "PgJDqs": ["संपादक में किसी बाहरी लिंक पर माउस ले जाने पर एक पूर्वावलोकन कार्ड दिखाएँ।"],
"PgY2nN": [
"यदि आप GitHub Enterprise Server का इस्तेमाल करते हैं, तो उसका होस्ट यहाँ जोड़ें ताकि OpenKnowledge साइन इन कर सके, push अनुमति जाँच सके, और वहाँ होस्ट की गई रिपॉज़िटरी के लिए शेयर लिंक बना सके।"
],
@@ -2470,6 +2480,7 @@
"SF9qpO": ["आगे संपर्क के लिए अपना ईमेल साझा करें"],
"SFEWV6": ["OpenKnowledge स्किल लोड नहीं हो सकीं। फिर कोशिश करें।"],
"SFN6dN": ["शीर्षक 3"],
+ "SFwolL": ["ऑटो-मर्ज चालू है"],
"SIPelo": [
"सूचकांक रखरखाव रोक दिया गया है क्योंकि Open Knowledge आवश्यक Git मर्ज नियम की पुष्टि नहीं कर सका। Git और .gitattributes को जांचें, फिर पुनः प्रयास करें।"
],
@@ -2537,6 +2548,7 @@
"TOel0d": ["एक फ़ाइल हटाता है"],
"TQJCR6": [["0", "plural", { "one": ["#", " परिणाम"], "other": ["#", " परिणाम"] }]],
"TTDXD8": ["नया वर्कट्री…"],
+ "TUOigf": ["मर्ज कतार में"],
"T_N0ro": ["बदलाव मांगें…"],
"T_j5G0": ["यह Slidev का समर्थित संस्करण नहीं है।"],
"T_wG4n": ["हम आपका GitHub कनेक्शन नहीं जाँच सके।"],
@@ -2857,6 +2869,7 @@
"XfA5xx": [["label"], " सक्षम"],
"XfzqjK": ["टेम्पलेट \"", ["name"], "\""],
"Xg-Ntj": ["टोकन को repo और read:user स्कोप चाहिए।"],
+ "Xg2x4O": ["स्वीकृत और मर्ज के लिए तैयार"],
"XgqUOy": ["उस स्रोत पर कोई स्किल नहीं मिली। आगे बढ़ने पर आयात बताएगा कि क्यों।"],
"XgsZ2F": ["कोड ", ["code"], " कॉपी करें"],
"Xhm7gG": ["एसेट सुझाव"],
@@ -3058,6 +3071,7 @@
"ZhhOwV": ["उद्धरण"],
"Zj6JL8": ["कोई https:// URL उपयोग करें — http:// केवल लूपबैक एंडपॉइंट के लिए अनुमत है।"],
"ZjtgI-": ["कमांड पैलेट"],
+ "ZkY0ic": ["समीक्षा की प्रतीक्षा में"],
"ZlCe_H": ["वर्तनी जाँच के लिए कोई भाषा उपलब्ध नहीं है।"],
"Zon_qG": ["मिरर स्रोत <0>", ["label"], "</0>"],
"ZptNUh": [["hidden"], " और दिखाएँ"],
@@ -3153,6 +3167,7 @@
"एक ज्ञान आधार जो Google के Open Knowledge Format का पालन करता है, जो आपकी जानकारी को व्यवस्थित करने का एक साझा तरीका है। इसे चुनें यदि आप चाहते हैं कि आपके नोट उन दूसरे टूल के साथ अच्छी तरह काम करें जो इस फ़ॉर्मेट को समझते हैं।"
],
"_azghp": ["पिछला बदलाव"],
+ "_cX8_o": [["author"], " ने खोला"],
"_ci9Bj": ["सर्वर ने अधूरी फ़ोल्डर प्रतिक्रिया लौटाई।"],
"_eguJc": ["अपलोड किया जा रहा है"],
"_fQGOp": ["पथ में रिक्त स्थान की अनुमति नहीं है"],
@@ -3326,6 +3341,9 @@
"bwoxGI": ["आपको साइन इन करना होगा"],
"bwy8Y7": ["<0>", ["address"], "</0> पर"],
"bzsK8N": ["लेखन पैलेट पढ़ता है ताकि नए दस्तावेज़ प्रोजेक्ट की शैली से मेल खाएँ"],
+ "c0dKr4": [
+ "एजेंट चैट में, किसी GitHub पुल रिक्वेस्ट या इश्यू के लिंक पर माउस ले जाने पर GitHub से उसकी स्थिति पूछी जाती है, और जब OpenKnowledge आपके GitHub साइन-इन का उपयोग कर सकता है तो आपके रूप में।"
+ ],
"c1LZZH": ["लिंक कॉपी किया गया।"],
"c2ktXL": ["पिछली रिपोर्ट"],
"c3XJ18": ["सहायता"],
@@ -3354,6 +3372,7 @@
"cFSbbh": [
"इस डिवाइस तक सीमित। यहाँ आप जो भी प्रोजेक्ट खोलें उस पर लागू होता है और कभी सहयोगियों के साथ साझा नहीं होता।"
],
+ "cFgW76": ["मर्ज करने से रोका गया"],
"cH0dkG": ["इसमें वह सुविधा नहीं थी जो मुझे चाहिए थी"],
"cHhH3i": ["एक आवश्यक git टूल"],
"cIFYZn": ["जब तक आप साइन आउट हैं, इस सेटिंग के बावजूद अपडेट अधिकतम हर 3 मिनट में जाँचे जाते हैं।"],
@@ -3639,6 +3658,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["ब्लॉक हिलाएँ"],
"f65AOQ": ["यहाँ से शुरू करें"],
+ "f6suyZ": ["बदलाव माँगे गए"],
"f8fH8W": ["डिज़ाइन"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["इसमें एक प्रबंधित ब्लॉक जोड़ता है"],
@@ -3738,6 +3758,7 @@
"gBCeDq": ["कोई साझा पूर्वज नहीं — दोनों ब्रांच ने यह फ़ाइल जोड़ी (add/add विरोध)।"],
"gBbxn_": ["साइन-इन स्थिति जाँची जा रही है"],
"gDkNHk": ["क्या आप वाकई \"", ["name"], "\" को हटाना चाहते हैं?"],
+ "gEc6f2": ["बंद"],
"gGVP4q": ["<0>+</0> <1/> <2>स्किल बनाएँ</2> <3/> <4>स्किल अपलोड करें</4> पर क्लिक करें।"],
"gHSAWT": ["वर्कट्री <0>“<1>", ["typedName"], "</1>”</0> बनाएँ"],
"gHb5bB": ["हल की गई टिप्पणियाँ दिखाएँ (", ["0"], ")"],
@@ -3990,6 +4011,7 @@
"प्रति अपने आप में एक असली फ़ोल्डर है, और OK उसे स्रोत के साथ तालमेल में रखता है: स्किल को यहाँ संपादित करें और हर प्रति ताज़ा हो जाती है। यह उसी क्षण रुक जाता है जब आप OK के बाहर किसी प्रति को हाथ से संपादित करते हैं — उसके बाद वह अपने रास्ते चली जाती है और एक अलग स्किल के रूप में दिखती है।"
],
"iOHg1t": ["एम्बेड किया गया URL नए टैब में खोलें"],
+ "iPp_qv": ["खुला"],
"iSLIjg": ["जोड़ें"],
"iSQTsg": ["क्रमित सूची"],
"iSWh95": ["चित्र लक्ष्य \"", ["shown"], "\" किसी मौजूदा फ़ाइल पर हल नहीं होता।"],
@@ -4669,6 +4691,9 @@
" को स्थायी रूप से हटा देता है। SKILL.md में जो कुछ भी उसकी ओर इशारा करता है, वह दोबारा बनाए जाने तक काम नहीं करेगा।"
],
"psUrB1": ["Markdown फ़ाइलों और आपके बनाए स्किल में कोई बदलाव नहीं किया गया।"],
+ "pskJOJ": [
+ "संपादक में किसी बाहरी लिंक पर या एजेंट चैट में किसी GitHub पुल रिक्वेस्ट या इश्यू पर माउस ले जाने पर एक पूर्वावलोकन कार्ड दिखाएँ।"
+ ],
"psl2Sj": ["आपका बदलाव अब भी सहेजा जा रहा है — कुछ देर बाद परीक्षण फिर चलाएँ।"],
"ptQ3_N": ["अनलिंक करें"],
"pvnfJD": ["गहरा"],
@@ -4785,9 +4810,6 @@
"rSoi6g": [["displayName"], " (", ["bin"], ") इंस्टॉल नहीं है या आपके PATH में नहीं है।"],
"rUNOLA": ["मौजूदा एम्बेडिंग प्रोवाइडर सेटअप के साथ सिमेंटिक खोज उपलब्ध नहीं है। सेटिंग्स → खोज देखें।"],
"rUWrSE": ["रिपोर्ट हटाएँ"],
- "rVJpLz": [
- "चालू — किसी बाहरी लिंक पर माउस ले जाने पर पूर्वावलोकन लाने के लिए उसका URL गंतव्य साइट को भेजा जाता है।"
- ],
"rVxu1k": ["अभी कोई पेज यहाँ लिंक नहीं करता।"],
"rXz97P": ["आइटम की क्रमांकित सूची।"],
"rZ9HZq": ["करना है"],
@@ -4893,6 +4915,7 @@
["name"],
" को स्थानांतरित कर दिया गया, लेकिन उसका पिन साथ नहीं गया। सेटिंग लोड होने के बाद उसे फिर से पिन करें।"
],
+ "siMChX": ["कुछ जाँचें विफल रहीं, लेकिन यह अब भी मर्ज हो सकता है"],
"skf5Ix": ["स्रोत संपादक की पंक्तियों को अंदर या बाहर करें।"],
"skvOCc": ["फ़ाइल आपके ", ["trashNoun"], " में है; फ़ाइल-वॉचर इसे मिला देगा।"],
"sn5BEU": [
@@ -5194,6 +5217,7 @@
"ve8vEM": ["कोड की अवधि समाप्त — कृपया फिर कोशिश करें"],
"vfRlCI": ["पूरा पथ कॉपी नहीं किया जा सका"],
"vfWA_g": ["आपने ~/Desktop चुना। OpenKnowledge आपके डेस्कटॉप की हर चीज़ अनुक्रमित करेगा।"],
+ "vgGSRn": ["मर्ज के लिए तैयार"],
"vhAnzJ": ["अर्थ-आधारित खोज चालू करें?"],
"vhGTWU": ["OpenKnowledge ने ", ["tool"], " चलाया"],
"viwC-K": ["प्रोजेक्ट हटाने में विफल।"],
@@ -5350,6 +5374,7 @@
"xEb24l": ["हमें ईमेल से आगे संपर्क करने दें"],
"xFQRu4": ["यह मेरे पास पहले से स्थानीय रूप से है"],
"xG4tb6": ["\"", ["docName"], "\" से कनेक्शन टूट गया।"],
+ "xG8Ish": ["योजना में नहीं"],
"xHGM4U": ["HTML पूर्वावलोकन छिपाएँ"],
"xK291b": ["दो पेज (विषम)"],
"xKDsGS": [["1"], " में पंक्ति ", ["0"], " पर जाएँ"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index 9480868a8..ba7194ff9 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -1248,6 +1248,10 @@ msgid "# One pattern per line.\n"
"# !keep.md"
msgstr "# प्रति पंक्ति एक पैटर्न।\\n# उदाहरण:\\n# drafts/\\n# *.draft.md\\n# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "मर्ज कतार में #{position}"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} और"
@@ -2163,6 +2167,10 @@ msgstr "स्वीकृत"
msgid "Approved — {optionName}"
msgstr "स्वीकृत — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "स्वीकृत और मर्ज के लिए तैयार"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "क्या आप वाकई इस फ़ाइल को टेम्पलेट में बदलना चाहते हैं? मूल फ़ाइल हटा दी जाएगी। यह क्रिया वापस नहीं ली जा सकती।"
@@ -2358,6 +2366,10 @@ msgstr "स्वत: सुधार ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "स्वत: सुधार केवल उन्हीं समस्याओं पर लागू होता है जिनका कोई ज्ञात यांत्रिक समाधान है।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "ऑटो-मर्ज चालू है"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2473,6 +2485,10 @@ msgstr "सिंक करने से पहले, git कमिट के
msgid "Before you go, mind sharing why?"
msgstr "जाने से पहले, क्या आप बताना चाहेंगे कि क्यों?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "बेस ब्रांच से पीछे"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "नीचे"
@@ -2511,6 +2527,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "एक LaTeX स्रोत स्ट्रिंग से KaTeX द्वारा रेंडर किया गया ब्लॉक गणित समीकरण।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "मर्ज करने से रोका गया"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "ब्लॉग पोस्ट"
@@ -2802,6 +2822,10 @@ msgstr "बाहर बदला गया"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "OK के पिछली बार यहाँ लिखने के बाद से बाहर बदला गया — दिखाई गई स्थिति वही है जो अभी डिस्क पर है"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "बदलाव माँगे गए"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "बदलाव इस थीम में अपने आप सहेजे जाते हैं।"
@@ -2932,6 +2956,10 @@ msgstr "जाँचा जा रहा है…"
msgid "Checklist with checkboxes."
msgstr "चेकबॉक्स वाली चेकलिस्ट।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "जाँचें चल रही हैं"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "दस्तावेज़ों में मार्कडाउन समस्याएँ जाँचता है और उन्हें ठीक कर सकता है"
@@ -3252,6 +3280,11 @@ msgstr "विंडो बंद करें"
msgid "Close Window"
msgstr "विंडो बंद करें"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "बंद"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "समूह"
@@ -5138,10 +5171,6 @@ msgstr "{file} अक्षम करें"
msgid "Disable {id}"
msgstr "{id} को अक्षम करें"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "बाहरी लिंक पूर्वावलोकन अक्षम करें"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "अर्थ-आधारित खोज अक्षम करें"
@@ -5330,6 +5359,11 @@ msgstr "{0} {1} डाउनलोड हो रहा है…"
msgid "Downloads a fresh copy from GitHub."
msgstr "GitHub से एक नई प्रति डाउनलोड करता है।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "ड्राफ़्ट"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "एक स्पेक का मसौदा बनाएँ"
@@ -5731,10 +5765,6 @@ msgstr "स्वचालित (केवल खींचें) चालू
msgid "Enable Auto (Pull only)?"
msgstr "स्वचालित (केवल खींचें) चालू करें?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "बाहरी लिंक पूर्वावलोकन सक्षम करें"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "अनुक्रमणिका सक्षम करें"
@@ -6036,6 +6066,10 @@ msgstr "बाहरी लिंक"
msgid "External link previews"
msgstr "बाहरी लिंक पूर्वावलोकन"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "बाहरी लिंक पूर्वावलोकन और GitHub संदर्भ कार्ड"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "जब आप किसी लिंक पर माउस ले जाते हैं तो बाहरी लिंक पूर्वावलोकन साइट का नाम, पेज शीर्षक और विवरण वाला एक कार्ड दिखाता है।"
@@ -6982,6 +7016,10 @@ msgstr "कठोर विराम"
msgid "Hard to use"
msgstr "उपयोग करना कठिन"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "मर्ज टकराव हैं"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "चारों ओर देखा जा रहा है…"
@@ -7454,6 +7492,10 @@ msgstr "एक लॉग दस्तावेज़ में: प्रवि
msgid "In a subfolder"
msgstr "किसी उप-फ़ोल्डर में"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "एजेंट चैट में, किसी GitHub पुल रिक्वेस्ट या इश्यू के लिंक पर माउस ले जाने पर GitHub से उसकी स्थिति पूछी जाती है, और जब OpenKnowledge आपके GitHub साइन-इन का उपयोग कर सकता है तो आपके रूप में।"
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "एक सूचकांक दस्तावेज़ में: प्रविष्टियाँ एक अनुभाग शीर्षक के अंतर्गत होती हैं और प्रत्येक में एक लिंक होता है। सूचियों के आसपास गद्य ठीक है."
@@ -7480,6 +7522,14 @@ msgstr "Git परियोजनाओं में, Open Knowledge एक स
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App में"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "मर्ज कतार में"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "मर्ज कतार में है, लेकिन मर्ज नहीं हो सकता"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "ऊपर की योजना में, कृपया "
@@ -8123,6 +8173,10 @@ msgstr "हर अनुरोध में भेजे जाने वाल
msgid "line {displayLine}"
msgstr "पंक्ति {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "बदली गई पंक्तियाँ: {additions} जोड़ी गईं, {deletions} हटाई गईं"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8599,6 +8653,11 @@ msgstr "मध्यम अनुभाग शीर्षक।"
msgid "Mention a page"
msgstr "किसी पेज का उल्लेख करें"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "मर्ज किया गया"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9701,6 +9760,11 @@ msgstr "इस प्रोजेक्ट में अभी इंस्ट
msgid "Not now"
msgstr "अभी नहीं"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "योजना में नहीं"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "संवेदनशील जानकारी नहीं छिपाई गई है। साझा करने से पहले चित्र जाँचें।"
@@ -9820,8 +9884,8 @@ msgid "Older"
msgstr "पुरानी"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "चालू — किसी बाहरी लिंक पर माउस ले जाने पर पूर्वावलोकन लाने के लिए उसका URL गंतव्य साइट को भेजा जाता है।"
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "चालू — किसी बाहरी लिंक पर माउस ले जाने पर पूर्वावलोकन लाने के लिए उसका URL गंतव्य साइट को भेजा जाता है, और एजेंट चैट में किसी GitHub संदर्भ पर माउस ले जाने पर GitHub से पूछा जाता है।"
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9882,6 +9946,11 @@ msgstr "केवल मौजूदा दस्तावेज़ <0>#{tag}</0
msgid "Open"
msgstr "खोलें"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "खुला"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10246,6 +10315,10 @@ msgstr "वर्कट्री खोलें"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "CodeMirror के पूर्णता सुझाव खोलें, उनमें जाएँ, स्वीकारें या ख़ारिज करें।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "{author} ने खोला"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "{ancestorPath} पर मौजूदा OpenKnowledge प्रोजेक्ट खोला गया"
@@ -11454,6 +11527,10 @@ msgstr "संपादनों के बीच अनसुलझे टक
msgid "Ready"
msgstr "तैयार"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "मर्ज के लिए तैयार"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "जल्दी शुरू करने के लिए तैयार फ़ोल्डर और टेम्पलेट।"
@@ -12024,6 +12101,10 @@ msgstr "आवश्यक"
msgid "Required"
msgstr "आवश्यक"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "ज़रूरी जाँचें विफल हो रही हैं"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "{brand} ज़रूरी है।"
@@ -13143,8 +13224,8 @@ msgid "Show {hiddenCount} more"
msgstr "{hiddenCount} और दिखाएँ"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "संपादक में किसी बाहरी लिंक पर माउस ले जाने पर एक पूर्वावलोकन कार्ड दिखाएँ।"
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "संपादक में किसी बाहरी लिंक पर या एजेंट चैट में किसी GitHub पुल रिक्वेस्ट या इश्यू पर माउस ले जाने पर एक पूर्वावलोकन कार्ड दिखाएँ।"
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13532,6 +13613,10 @@ msgstr "Slidev शुरू होने में बहुत समय लग
msgid "Small section heading."
msgstr "छोटा अनुभाग शीर्षक।"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "कुछ जाँचें विफल रहीं, लेकिन यह अब भी मर्ज हो सकता है"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "छोड़ी गई कुछ फ़ाइलों को सुरक्षित रूप से सम्मिलित नहीं किया जा सका।"
@@ -16219,6 +16304,10 @@ msgstr "दृश्य संपादक की तालिका का च
msgid "Waiting for authorization"
msgstr "प्राधिकरण की प्रतीक्षा"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "समीक्षा की प्रतीक्षा में"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index 32ffe8cf4..f6e315c4f 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -174,6 +174,7 @@
],
"11ukmX": ["Gagal mengganti nama: ", ["0"]],
"12F9WL": ["(tanpa id)"],
+ "12irWm": ["#", ["position"], " di antrean merge"],
"151wvk": ["Tampilkan bilah sisi"],
"15ZHCt": ["Tidak ada perubahan isi utama pada versi ini."],
"161NCV": ["Menghentikan"],
@@ -238,6 +239,7 @@
"20LVKb": ["Sesuatu di luar obrolan ini meminta proses agen berhenti (", ["signal"], ")."],
"2277Tu": ["Ciutkan graf"],
"237hSL": ["Berakhir"],
+ "24crK0": ["Di antrean merge, tetapi tidak bisa di-merge"],
"253MN6": ["Komentar Anda tidak bisa dikirim — silakan coba lagi."],
"25Pw6a": ["Mengkloning"],
"27TLNq": ["Aktifkan CLI ", ["displayName"]],
@@ -535,7 +537,6 @@
["0", "plural", { "other": ["#", " berkas"] }]
],
"5UccRr": ["Aktivitas terakhir: ", ["lastActivity"]],
- "5Umg9i": ["Nonaktifkan pratinjau tautan eksternal"],
"5WDhAk": ["Menaut ke sebuah halaman atau URL eksternal."],
"5W_u0E": [
"Tidak dapat memulai ulang server. Jalankan ok start di folder ini untuk mencoba lagi."
@@ -778,6 +779,7 @@
"851WA-": ["Ini bisa diatur di Pengaturan > Alat AI & CLI"],
"87GMKe": ["Ekspos proyek ini ke jaringan?"],
"881Uwh": ["Hapus tabel terpilih"],
+ "89SLQ-": ["Pratinjau tautan eksternal dan kartu referensi GitHub"],
"89TmeV": ["Beberapa keterampilan dihapus dengan peringatan"],
"89TtiD": [
"Berkas baru dari templat \"",
@@ -990,6 +992,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["Menerapkan perubahan Anda"],
"AddR83": ["Proyek tidak dapat dibuat. Coba lagi atau pilih lokasi lain."],
+ "AdjDox": ["Draf"],
"AeHuzT": ["# Satu pola per baris.\\n# Contoh:\\n# drafts/\\n# *.draft.md\\n# !keep.md"],
"AeLo3p": ["OpenKnowledge menyelesaikan konflik di ", ["subject"]],
"AeORtB": [
@@ -1070,6 +1073,7 @@
"BWTzAb": ["Manual"],
"BY-g4_": ["Tambahkan pola"],
"Ba4D2x": ["Templat diimpor"],
+ "Bb00X6": ["Tertinggal dari cabang dasar"],
"Bdha5y": ["Menerbitkan..."],
"BeWTQy": ["Memuat paket awal"],
"BfTQmM": ["Komponen ini telah dihapus."],
@@ -1408,6 +1412,7 @@
"F6pfE9": ["Aktif"],
"F8DaWi": ["Hanya lihat"],
"F8GW_c": [["label"], " masalah"],
+ "FAYFLL": ["Baris berubah: ", ["additions"], " ditambahkan, ", ["deletions"], " dihapus"],
"FBIuPX": ["Bersihkan pilihan"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1471,6 +1476,7 @@
"Fr8JGg": ["Berkas zip"],
"FsEXax": ["Itu tidak berhasil. Periksa log server lalu coba lagi."],
"Fsx78O": ["Tambahkan perintah <0>ok</0> ke terminal Anda"],
+ "FumRbV": ["Pemeriksaan sedang berjalan"],
"FvMSms": [
"Mengganti nama mengubah berkas di disk dan id yang dipakai agen untuk memilih templat ini."
],
@@ -1886,7 +1892,6 @@
],
"KmydK6": ["Tebal"],
"KnoB--": ["Akan disimpan sebagai <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["Aktifkan pratinjau tautan eksternal"],
"Kr3VPS": [
"Codex akan tetap bertanya sampai Anda menjalankan \"ok init\" di terminal untuk proyek ini."
],
@@ -1969,6 +1974,7 @@
],
"LhWYpm": ["Ada jalur OK lain yang dilacak di remote:"],
"Li4U-T": ["Pelajari lebih lanjut tentang ", ["title"]],
+ "Lj_5Uv": ["Pemeriksaan wajib gagal"],
"LkQRL8": ["Tampilkan versi asli"],
"LlHqdU": ["Menginisialisasi proyek"],
"LlJ8LD": [
@@ -2018,6 +2024,9 @@
"MCjC9A": ["Hapus ", ["deleteDescriptorLabel"]],
"MDBJwN": ["Sulit dipakai"],
"MDZSJe": ["Kapan agennya menjalankan pekerjaan terjadwalnya."],
+ "MGQ4_D": [
+ "Aktif — mengarahkan kursor ke tautan eksternal mengirim URL-nya ke situs tujuan untuk mengambil pratinjau, dan mengarahkan kursor ke referensi GitHub di chat agen memintanya dari GitHub."
+ ],
"MGb89P": [
"Menyisipkan, menghapus, memindahkan, menyalin, dan mengindentasi baris penyunting sumber lewat peta tombol bawaan CodeMirror."
],
@@ -2093,6 +2102,7 @@
"N7Lau6": ["Commit dan sinkronkan"],
"N7m8E-": ["Lampirkan berkas"],
"NBdIgR": ["Komentari"],
+ "NCdpSO": ["Di-merge"],
"NErvOX": ["Disimpan ke"],
"NEzPEh": ["Buat cabang baru, atau ambil cabang yang sudah ada, di jendelanya sendiri."],
"NIWAux": ["Tidak ada dokumen yang terdaftar di bawah #", ["tagDocsName"], "."],
@@ -2280,6 +2290,7 @@
"PBxg_E": ["Nanti saja"],
"PCSkw2": ["Keterampilan"],
"PEGxvo": ["5 menit"],
+ "PESHdL": ["Ada konflik merge"],
"PGPGsL": ["Tambahkan deskripsi"],
"PGRnbw": ["Pembaruan masuk dari remote Anda; suntingan Anda tetap di komputer ini."],
"PHHEuH": ["Sembunyikan komentar yang selesai (", ["0"], ")"],
@@ -2315,9 +2326,6 @@
"Keterampilan OpenKnowledge disimpan. Unggah di Claude Desktop, lalu klik Cowork lagi."
],
"Pg83C9": ["\"", ["0"], "\" diunggah."],
- "PgJDqs": [
- "Menampilkan kartu pratinjau saat Anda mengarahkan kursor ke tautan eksternal di penyunting."
- ],
"PgY2nN": [
"Jika Anda menggunakan GitHub Enterprise Server, tambahkan host-nya di sini agar OpenKnowledge dapat masuk, memeriksa izin push, dan membuat tautan berbagi untuk repositori yang dihosting di sana."
],
@@ -2562,6 +2570,7 @@
"SF9qpO": ["Bagikan surel Anda untuk tindak lanjut"],
"SFEWV6": ["Keterampilan OpenKnowledge tidak dapat dimuat. Coba lagi."],
"SFN6dN": ["Judul 3"],
+ "SFwolL": ["Merge otomatis aktif"],
"SIPelo": [
"Pemeliharaan indeks dihentikan sementara karena Open Knowledge tidak dapat mengonfirmasi aturan penggabungan Git yang diperlukan. Centang Git dan .gitattributes, lalu coba lagi."
],
@@ -2631,6 +2640,7 @@
"TOel0d": ["Menghapus berkas"],
"TQJCR6": [["0", "plural", { "other": ["#", " hasil"] }]],
"TTDXD8": ["Worktree baru…"],
+ "TUOigf": ["Di antrean merge"],
"T_N0ro": ["Minta perubahan…"],
"T_j5G0": ["Ini bukan versi Slidev yang didukung."],
"T_wG4n": ["Kami tidak bisa memeriksa koneksi GitHub Anda."],
@@ -2973,6 +2983,7 @@
"XfA5xx": [["label"], " diaktifkan"],
"XfzqjK": ["templat \"", ["name"], "\""],
"Xg-Ntj": ["Token itu memerlukan cakupan repo dan read:user."],
+ "Xg2x4O": ["Disetujui dan siap di-merge"],
"XgqUOy": [
"Tidak ada keterampilan yang ditemukan di sumber itu. Jika Anda melanjutkan, impor akan melaporkan alasannya."
],
@@ -3176,6 +3187,7 @@
"ZhhOwV": ["Kutipan"],
"Zj6JL8": ["Pakai URL https:// — http:// hanya diizinkan untuk endpoint loopback."],
"ZjtgI-": ["Palet perintah"],
+ "ZkY0ic": ["Menunggu tinjauan"],
"ZlCe_H": ["Tidak ada bahasa yang tersedia untuk pemeriksaan ejaan."],
"Zon_qG": ["Sumber cermin <0>", ["label"], "</0>"],
"ZptNUh": ["Tampilkan ", ["hidden"], " lagi"],
@@ -3264,6 +3276,7 @@
"Basis pengetahuan yang mengikuti Open Knowledge Format dari Google, cara bersama untuk menata apa yang Anda tahu. Pilih ini jika Anda ingin catatan Anda bekerja baik dengan alat lain yang memahami format tersebut."
],
"_azghp": ["Perubahan sebelumnya"],
+ "_cX8_o": ["Dibuka oleh ", ["author"]],
"_ci9Bj": ["Server mengembalikan respons folder yang tidak lengkap."],
"_eguJc": ["Mengunggah"],
"_fQGOp": ["Spasi tidak diperbolehkan di jalur"],
@@ -3449,6 +3462,9 @@
"bwoxGI": ["Anda perlu masuk"],
"bwy8Y7": ["Pada <0>", ["address"], "</0>"],
"bzsK8N": ["Membaca palet penulisan agar dokumen baru mengikuti gaya proyek"],
+ "c0dKr4": [
+ "Di chat agen, mengarahkan kursor ke tautan pull request atau issue GitHub meminta statusnya dari GitHub, dengan login GitHub Anda jika OpenKnowledge dapat menggunakannya."
+ ],
"c1LZZH": ["Tautan disalin."],
"c2ktXL": ["Laporan sebelumnya"],
"c3XJ18": ["Bantuan"],
@@ -3479,6 +3495,7 @@
"cFSbbh": [
"Pribadi untuk perangkat ini. Berlaku untuk setiap proyek yang Anda buka di sini dan tidak pernah dibagikan ke kolaborator."
],
+ "cFgW76": ["Merge diblokir"],
"cH0dkG": ["Ada fitur yang saya butuhkan tetapi tidak ada"],
"cHhH3i": ["sebuah alat git yang diperlukan"],
"cIFYZn": [
@@ -3770,6 +3787,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["Pindahkan blok"],
"f65AOQ": ["Mulai dari"],
+ "f6suyZ": ["Perubahan diminta"],
"f8fH8W": ["Desain"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["Menambahkan blok terkelola ke"],
@@ -3872,6 +3890,7 @@
],
"gBbxn_": ["Memeriksa status masuk"],
"gDkNHk": ["Yakin ingin menghapus \"", ["name"], "\"?"],
+ "gEc6f2": ["Ditutup"],
"gGVP4q": ["Klik <0>+</0> <1/> <2>Buat keterampilan</2> <3/> <4>Unggah keterampilan</4>."],
"gHSAWT": ["Buat worktree <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["Tampilkan komentar yang selesai (", ["0"], ")"],
@@ -4145,6 +4164,7 @@
"Salinan adalah folder tersendiri, dan OK menjaganya tetap selaras dengan sumbernya: sunting keterampilan di sini dan setiap salinan ikut diperbarui. Itu berhenti begitu Anda menyunting sebuah salinan secara manual di luar OK — sejak saat itu ia berjalan sendiri dan muncul sebagai keterampilan terpisah."
],
"iOHg1t": ["Buka URL tersemat di tab baru"],
+ "iPp_qv": ["Terbuka"],
"iSLIjg": ["Hubungkan"],
"iSQTsg": ["Daftar berurut"],
"iSWh95": ["Target gambar \"", ["shown"], "\" tidak merujuk ke file yang ada."],
@@ -4856,6 +4876,9 @@
"”. Apa pun di SKILL.md yang menunjuk ke berkas itu akan rusak sampai dibuat ulang."
],
"psUrB1": ["File Markdown dan skill yang Anda buat tidak diubah."],
+ "pskJOJ": [
+ "Menampilkan kartu pratinjau saat Anda mengarahkan kursor ke tautan eksternal di penyunting atau ke pull request atau issue GitHub di chat agen."
+ ],
"psl2Sj": ["Perubahan Anda masih disimpan — jalankan pengujiannya lagi sebentar."],
"ptQ3_N": ["lepas tautan"],
"pvnfJD": ["Gelap"],
@@ -4983,9 +5006,6 @@
"Pencarian semantik tidak tersedia dengan penyiapan penyedia embedding saat ini. Periksa Pengaturan → Pencarian."
],
"rUWrSE": ["Hapus laporan"],
- "rVJpLz": [
- "Aktif — mengarahkan kursor ke tautan eksternal mengirim URL-nya ke situs tujuan untuk mengambil pratinjau."
- ],
"rVxu1k": ["Belum ada halaman yang menaut ke sini."],
"rXz97P": ["Daftar item bernomor."],
"rZ9HZq": ["Akan dikerjakan"],
@@ -5098,6 +5118,7 @@
["name"],
" telah dipindahkan, tetapi sematannya tidak ikut berpindah. Sematkan lagi setelah pengaturan selesai dimuat."
],
+ "siMChX": ["Beberapa pemeriksaan gagal, tetapi masih bisa di-merge"],
"skf5Ix": ["Menambah atau mengurangi indentasi baris penyunting sumber."],
"skvOCc": ["Berkas ada di ", ["trashNoun"], " Anda; pengawas berkas akan menyelaraskannya."],
"sn5BEU": [
@@ -5407,6 +5428,7 @@
"vfWA_g": [
"Anda memilih ~/Desktop. OpenKnowledge akan mengindeks semua yang ada di desktop Anda."
],
+ "vgGSRn": ["Siap di-merge"],
"vhAnzJ": ["Nyalakan pencarian semantik?"],
"vhGTWU": ["OpenKnowledge menjalankan ", ["tool"]],
"viwC-K": ["Gagal menghapus proyek."],
@@ -5566,6 +5588,7 @@
"xEb24l": ["Izinkan kami menindaklanjuti lewat surel"],
"xFQRu4": ["Saya sudah punya secara lokal"],
"xG4tb6": ["Koneksi ke \"", ["docName"], "\" terputus."],
+ "xG8Ish": ["Tidak direncanakan"],
"xHGM4U": ["Sembunyikan pratinjau HTML"],
"xK291b": ["Dua halaman (ganjil)"],
"xKDsGS": ["Ke baris ", ["0"], " di ", ["1"]],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index a608a25ab..f64800551 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -1248,6 +1248,10 @@ msgid "# One pattern per line.\n"
"# !keep.md"
msgstr "# Satu pola per baris.\\n# Contoh:\\n# drafts/\\n# *.draft.md\\n# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "#{position} di antrean merge"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} lagi"
@@ -2163,6 +2167,10 @@ msgstr "Disetujui"
msgid "Approved — {optionName}"
msgstr "Disetujui — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "Disetujui dan siap di-merge"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "Yakin ingin mengubah berkas ini menjadi templat? Berkas aslinya akan dihapus. Tindakan ini tidak bisa dibatalkan."
@@ -2358,6 +2366,10 @@ msgstr "Perbaikan otomatis ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "Perbaikan otomatis hanya berlaku untuk masalah yang punya perbaikan mekanis yang diketahui."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "Merge otomatis aktif"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2473,6 +2485,10 @@ msgstr "Sebelum menyinkronkan, setel identitas Anda untuk commit git:"
msgid "Before you go, mind sharing why?"
msgstr "Sebelum pergi, boleh cerita kenapa?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "Tertinggal dari cabang dasar"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "Di bawah"
@@ -2511,6 +2527,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "Persamaan matematika blok yang dirender dengan KaTeX dari sumber LaTeX."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "Merge diblokir"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "Pos blog"
@@ -2802,6 +2822,10 @@ msgstr "diubah di luar"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "Diubah di luar OK sejak terakhir kali OK menulis di sini — keadaan yang ditampilkan adalah apa yang ada di disk sekarang"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "Perubahan diminta"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "Perubahan disimpan otomatis ke tema ini."
@@ -2932,6 +2956,10 @@ msgstr "Memeriksa..."
msgid "Checklist with checkboxes."
msgstr "Daftar periksa dengan kotak centang."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "Pemeriksaan sedang berjalan"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "Memeriksa dokumen untuk masalah markdown dan bisa memperbaikinya"
@@ -3252,6 +3280,11 @@ msgstr "Tutup jendela"
msgid "Close Window"
msgstr "Tutup Jendela"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "Ditutup"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "Klaster"
@@ -5138,10 +5171,6 @@ msgstr "Nonaktifkan {file}"
msgid "Disable {id}"
msgstr "Nonaktifkan {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "Nonaktifkan pratinjau tautan eksternal"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "Nonaktifkan pencarian semantik"
@@ -5330,6 +5359,11 @@ msgstr "Mengunduh {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "Mengunduh salinan baru dari GitHub."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "Draf"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "Susun spesifikasi"
@@ -5731,10 +5765,6 @@ msgstr "Aktifkan Otomatis (hanya Pull)"
msgid "Enable Auto (Pull only)?"
msgstr "Aktifkan Otomatis (hanya Pull)?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "Aktifkan pratinjau tautan eksternal"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "Aktifkan indeks"
@@ -6036,6 +6066,10 @@ msgstr "Tautan eksternal"
msgid "External link previews"
msgstr "Pratinjau tautan eksternal"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "Pratinjau tautan eksternal dan kartu referensi GitHub"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "Pratinjau tautan eksternal menampilkan kartu berisi nama situs, judul halaman, dan deskripsi saat Anda mengarahkan kursor ke sebuah tautan."
@@ -6982,6 +7016,10 @@ msgstr "Ganti baris paksa"
msgid "Hard to use"
msgstr "Sulit dipakai"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "Ada konflik merge"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "Melihat-lihat sekitar…"
@@ -7454,6 +7492,10 @@ msgstr "Dalam dokumen log: judul entri diawali dengan tanggal ISO YYYY-MM-DD, te
msgid "In a subfolder"
msgstr "Di subfolder"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "Di chat agen, mengarahkan kursor ke tautan pull request atau issue GitHub meminta statusnya dari GitHub, dengan login GitHub Anda jika OpenKnowledge dapat menggunakannya."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "Dalam dokumen indeks: entri berada di bawah judul bagian dan masing-masing membawa tautan. Prosa seputar daftar itu baik-baik saja."
@@ -7480,6 +7522,14 @@ msgstr "Dalam proyek Git, Open Knowledge juga menambahkan aturan cakupan .gitatt
msgid "In the Claude Desktop App"
msgstr "Di aplikasi Claude Desktop"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "Di antrean merge"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "Di antrean merge, tetapi tidak bisa di-merge"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "Dalam rencana di atas, tolong "
@@ -8123,6 +8173,10 @@ msgstr "Membatasi total teks yang dikirim dalam setiap permintaan. Potongan yang
msgid "line {displayLine}"
msgstr "baris {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "Baris berubah: {additions} ditambahkan, {deletions} dihapus"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8599,6 +8653,11 @@ msgstr "Judul bagian sedang."
msgid "Mention a page"
msgstr "Sebut halaman"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "Di-merge"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9701,6 +9760,11 @@ msgstr "Belum terpasang di proyek ini."
msgid "Not now"
msgstr "Nanti saja"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "Tidak direncanakan"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "Tidak disamarkan. Periksa gambar sebelum membagikannya."
@@ -9820,8 +9884,8 @@ msgid "Older"
msgstr "Lebih lama"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "Aktif — mengarahkan kursor ke tautan eksternal mengirim URL-nya ke situs tujuan untuk mengambil pratinjau."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "Aktif — mengarahkan kursor ke tautan eksternal mengirim URL-nya ke situs tujuan untuk mengambil pratinjau, dan mengarahkan kursor ke referensi GitHub di chat agen memintanya dari GitHub."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9882,6 +9946,11 @@ msgstr "Hanya dokumen saat ini yang memakai <0>#{tag}</0>."
msgid "Open"
msgstr "Buka"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "Terbuka"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10246,6 +10315,10 @@ msgstr "Buka worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "Membuka, menelusuri, menerima, atau menutup saran pelengkapan CodeMirror."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "Dibuka oleh {author}"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "Proyek OpenKnowledge yang sudah ada dibuka di {ancestorPath}"
@@ -11454,6 +11527,10 @@ msgstr "Membaca konflik yang belum terselesaikan antar suntingan"
msgid "Ready"
msgstr "Siap"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "Siap di-merge"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "Folder dan templat siap pakai agar Anda cepat memulai."
@@ -12024,6 +12101,10 @@ msgstr "wajib"
msgid "Required"
msgstr "Wajib"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "Pemeriksaan wajib gagal"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "Memerlukan {brand}."
@@ -13143,8 +13224,8 @@ msgid "Show {hiddenCount} more"
msgstr "Tampilkan {hiddenCount} lagi"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "Menampilkan kartu pratinjau saat Anda mengarahkan kursor ke tautan eksternal di penyunting."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "Menampilkan kartu pratinjau saat Anda mengarahkan kursor ke tautan eksternal di penyunting atau ke pull request atau issue GitHub di chat agen."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13532,6 +13613,10 @@ msgstr "Slidev terlalu lama saat memulai. Coba lagi."
msgid "Small section heading."
msgstr "Judul bagian kecil."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "Beberapa pemeriksaan gagal, tetapi masih bisa di-merge"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "Beberapa file yang dilepas tidak dapat disisipkan dengan aman."
@@ -16219,6 +16304,10 @@ msgstr "Pilihan tabel penyunting visual"
msgid "Waiting for authorization"
msgstr "Menunggu otorisasi"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "Menunggu tinjauan"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index 0266b0c76..4603acb98 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -166,6 +166,7 @@
],
"11ukmX": ["이름 변경 실패: ", ["0"]],
"12F9WL": ["(ID 없음)"],
+ "12irWm": ["병합 큐 ", ["position"], "번째"],
"151wvk": ["사이드바 표시"],
"15ZHCt": ["이 버전에서 본문 변경 없음."],
"161NCV": ["중지 중"],
@@ -228,6 +229,7 @@
"20LVKb": ["이 채팅 밖의 무언가가 에이전트 프로세스에 중지를 요청했습니다(", ["signal"], ")."],
"2277Tu": ["그래프 접기"],
"237hSL": ["종료됨"],
+ "24crK0": ["병합 큐에 있지만 병합할 수 없음"],
"253MN6": ["댓글 전송 실패. 다시 시도하세요."],
"25Pw6a": ["클론 중"],
"27TLNq": [["displayName"], " CLI 활성화"],
@@ -510,7 +512,6 @@
]
],
"5UccRr": ["마지막 활동: ", ["lastActivity"]],
- "5Umg9i": ["외부 링크 미리보기 사용 안 함"],
"5WDhAk": ["페이지 또는 외부 URL로 연결합니다."],
"5W_u0E": [
"서버를 다시 시작할 수 없습니다. 다시 시도하려면 이 폴더에서 ok start를 실행하세요."
@@ -750,6 +751,7 @@
"851WA-": ["Settings > AI tools & CLI에서 설정 가능"],
"87GMKe": ["이 프로젝트를 네트워크에 노출할까요?"],
"881Uwh": ["선택한 표 삭제"],
+ "89SLQ-": ["외부 링크 미리보기 및 GitHub 참조 카드"],
"89TmeV": ["일부 스킬이 경고와 함께 삭제되었습니다"],
"89TtiD": [
"템플릿 \"",
@@ -955,6 +957,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["변경사항 적용 중"],
"AddR83": ["프로젝트를 만들지 못했습니다. 다시 시도하거나 다른 위치를 선택하세요."],
+ "AdjDox": ["초안"],
"AeHuzT": [
"# 줄마다 패턴 하나를 작성합니다.\n# 예시:\n# drafts/\n# *.draft.md\n# !keep.md"
],
@@ -1036,6 +1039,7 @@
"BWTzAb": ["수동"],
"BY-g4_": ["패턴 추가"],
"Ba4D2x": ["템플릿을 가져왔습니다"],
+ "Bb00X6": ["기본 브랜치보다 뒤처짐"],
"Bdha5y": ["게시 중…"],
"BeWTQy": ["스타터 팩 불러오는 중"],
"BfTQmM": ["이 컴포넌트가 삭제되었습니다."],
@@ -1354,6 +1358,7 @@
"F6pfE9": ["활성"],
"F8DaWi": ["보기 전용"],
"F8GW_c": ["문제 ", ["label"], "개"],
+ "FAYFLL": ["변경된 줄: ", ["additions"], "줄 추가, ", ["deletions"], "줄 삭제"],
"FBIuPX": ["선택 해제"],
"FBknns": ["HTML"],
"FCAcjR": ["이 프로젝트 폴더에서 시작하는 실제 터미널을 OpenKnowledge 안에 고정해 실행합니다."],
@@ -1411,6 +1416,7 @@
"Fr8JGg": ["Zip 파일"],
"FsEXax": ["처리되지 않았습니다. 서버 로그를 확인한 뒤 다시 시도하세요."],
"Fsx78O": ["터미널에 <0>ok</0> 명령 추가"],
+ "FumRbV": ["검사 실행 중"],
"FvMSms": [
"이름을 바꾸면 디스크의 파일과 에이전트가 이 템플릿을 선택할 때 사용하는 ID가 변경됩니다."
],
@@ -1802,7 +1808,6 @@
],
"KmydK6": ["굵게"],
"KnoB--": ["<0>", ["sanitized"], "</0>으로 저장됩니다."],
- "KpOJFY": ["외부 링크 미리보기 사용"],
"Kr3VPS": [
"이 프로젝트의 터미널에서 \"ok init\"을 실행할 때까지 Codex가 계속 확인을 요청합니다."
],
@@ -1881,6 +1886,7 @@
],
"LhWYpm": ["다른 OK 경로는 upstream에서 추적됩니다:"],
"Li4U-T": [["title"], " 자세히 알아보기"],
+ "Lj_5Uv": ["필수 검사 실패"],
"LkQRL8": ["원본 표시"],
"LlHqdU": ["프로젝트 초기화 중"],
"LlJ8LD": [
@@ -1932,6 +1938,9 @@
"MCjC9A": [["deleteDescriptorLabel"], " 삭제"],
"MDBJwN": ["사용하기 어려움"],
"MDZSJe": ["에이전트가 예약된 작업을 실행할 때"],
+ "MGQ4_D": [
+ "켜짐, 외부 링크 위에 마우스를 올리면 미리보기를 가져오기 위해 URL을 대상 사이트로 전송하고, 에이전트 채팅의 GitHub 참조 위에 마우스를 올리면 GitHub에 요청합니다."
+ ],
"MGb89P": [
"CodeMirror 기본 키맵을 통해 소스 편집기 줄을 삽입, 삭제, 이동, 복사하고 들여씁니다."
],
@@ -2004,6 +2013,7 @@
"N7Lau6": ["커밋하고 동기화"],
"N7m8E-": ["파일 첨부"],
"NBdIgR": ["댓글"],
+ "NCdpSO": ["병합됨"],
"NErvOX": ["저장 위치"],
"NEzPEh": ["새 브랜치를 만들거나 기존 브랜치를 별도 창에서 체크아웃하세요."],
"NIWAux": ["#", ["tagDocsName"], " 아래에 등록된 문서가 없습니다."],
@@ -2188,6 +2198,7 @@
"PBxg_E": ["나중에"],
"PCSkw2": ["스킬"],
"PEGxvo": ["5분"],
+ "PESHdL": ["병합 충돌 있음"],
"PGPGsL": ["설명 추가"],
"PGRnbw": ["업데이트는 원격에서 들어오고, 편집 내용은 이 컴퓨터에 남습니다."],
"PHHEuH": ["해결된 댓글 숨기기 (", ["0"], ")"],
@@ -2221,7 +2232,6 @@
"PeNdk1": ["행동하기 전에 생각합니다"],
"PezM4_": ["OpenKnowledge 스킬 저장됨. Claude Desktop에 업로드 후 Cowork 다시 클릭하세요."],
"Pg83C9": ["\"", ["0"], "\"을 업로드했습니다."],
- "PgJDqs": ["편집기에서 외부 링크 위에 마우스를 올리면 미리보기 카드를 표시합니다."],
"PgY2nN": [
"GitHub Enterprise Server를 사용한다면 여기에 호스트를 추가하세요. 그러면 OpenKnowledge가 로그인하고, 푸시 권한을 확인하고, 그곳에 호스팅된 저장소의 공유 링크를 만들 수 있습니다."
],
@@ -2443,6 +2453,7 @@
"SF9qpO": ["후속 연락을 위해 이메일 공유"],
"SFEWV6": ["OpenKnowledge 스킬을 불러오지 못했습니다. 다시 시도하세요."],
"SFN6dN": ["제목 3"],
+ "SFwolL": ["자동 병합 켜짐"],
"SIPelo": [
"Open Knowledge가 필요한 Git 병합 규칙을 확인하지 못해 인덱스 유지 관리가 일시 중지되었습니다. Git과 .gitattributes를 확인한 후 다시 시도합니다."
],
@@ -2512,6 +2523,7 @@
"TOel0d": ["파일을 삭제합니다"],
"TQJCR6": [["0", "plural", { "other": ["#", "개 결과"] }]],
"TTDXD8": ["새 워크트리…"],
+ "TUOigf": ["병합 큐에 있음"],
"T_N0ro": ["변경 요청…"],
"T_j5G0": ["지원되는 Slidev 버전이 아닙니다."],
"T_wG4n": ["GitHub 연결을 확인하지 못했습니다."],
@@ -2837,6 +2849,7 @@
"XfA5xx": [["label"], " 활성화됨"],
"XfzqjK": ["템플릿 \"", ["name"], "\""],
"Xg-Ntj": ["토큰에 repo 및 read:user 범위가 필요합니다."],
+ "Xg2x4O": ["승인되어 병합할 수 있음"],
"XgqUOy": ["해당 소스에서 스킬을 찾지 못했습니다. 계속하면 가져오기에서 이유를 알려줍니다."],
"XgsZ2F": ["코드 ", ["code"], " 복사"],
"Xhm7gG": ["에셋 제안"],
@@ -3035,6 +3048,7 @@
"ZhhOwV": ["인용"],
"Zj6JL8": ["https:// URL을 사용합니다. http://는 루프백 엔드포인트에만 허용됩니다."],
"ZjtgI-": ["명령 팔레트"],
+ "ZkY0ic": ["리뷰 대기 중"],
"ZlCe_H": ["맞춤법 검사에 사용할 수 있는 언어가 없습니다."],
"Zon_qG": ["미러 소스 <0>", ["label"], "</0>"],
"ZptNUh": [["hidden"], "개 더 보기"],
@@ -3126,6 +3140,7 @@
"Google의 Open Knowledge Format을 따르는 지식 베이스입니다. 알고 있는 정보를 정리하는 공유 방식입니다. 형식을 이해하는 다른 도구에서도 노트를 잘 활용하려면 이것을 선택하세요."
],
"_azghp": ["이전 변경"],
+ "_cX8_o": [["author"], "님이 생성"],
"_ci9Bj": ["서버가 불완전한 폴더 응답을 반환했습니다."],
"_eguJc": ["업로드 중"],
"_fQGOp": ["경로에는 공백을 사용할 수 없습니다"],
@@ -3291,6 +3306,9 @@
"bwoxGI": ["로그인이 필요합니다"],
"bwy8Y7": ["<0>", ["address"], "</0>에"],
"bzsK8N": ["새 문서가 프로젝트 스타일을 따르도록 작성 팔레트를 읽습니다"],
+ "c0dKr4": [
+ "에이전트 채팅에서 GitHub 풀 리퀘스트나 이슈 링크 위에 마우스를 올리면 GitHub에 상태를 요청하며, OpenKnowledge가 GitHub 로그인을 사용할 수 있으면 사용자로 로그인한 상태로 요청합니다."
+ ],
"c1LZZH": ["링크가 복사되었습니다."],
"c2ktXL": ["이전 보고서"],
"c3XJ18": ["도움말"],
@@ -3319,6 +3337,7 @@
"cFSbbh": [
"이 기기에만 적용됩니다. 여기에서 여는 모든 프로젝트에 적용되며 협업자와 공유되지 않습니다."
],
+ "cFgW76": ["병합이 차단됨"],
"cH0dkG": ["필요한 기능이 없었습니다"],
"cHhH3i": ["필수 git 도구"],
"cIFYZn": ["로그아웃 상태에서는 이 설정과 관계없이 업데이트를 최대 3분에 한 번만 확인합니다."],
@@ -3615,6 +3634,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["블록 이동"],
"f65AOQ": ["시작 위치"],
+ "f6suyZ": ["변경 요청됨"],
"f8fH8W": ["디자인"],
"f8jU-L": [["0"], "/", ["1"], ": ", ["2"]],
"f9lQNJ": ["관리 블록을 다음 대상에 추가합니다"],
@@ -3711,6 +3731,7 @@
"gBCeDq": ["공통 조상이 없습니다 — 두 브랜치가 이 파일을 각각 추가했습니다 (add/add 충돌)."],
"gBbxn_": ["로그인 상태 확인 중"],
"gDkNHk": ["정말로 \"", ["name"], "\"을(를) 삭제하시겠어요?"],
+ "gEc6f2": ["닫힘"],
"gGVP4q": ["<0>+</0> <1/> <2>스킬 만들기</2> <3/> <4>스킬 업로드</4> 클릭하세요."],
"gHSAWT": ["워크트리 <0>“<1>", ["typedName"], "</1>”</0> 만들기"],
"gHb5bB": ["해결된 댓글 보기 (", ["0"], ")"],
@@ -3960,6 +3981,7 @@
"복사본은 독립된 실제 폴더이며, OK가 소스와 동기화합니다. 여기에서 스킬을 편집하면 모든 복사본이 새로고침됩니다. OK 외부에서 복사본을 직접 편집하는 순간 동기화가 중단됩니다. 그때부터 복사본은 별도 경로로 작동하며 별도 스킬로 표시됩니다."
],
"iOHg1t": ["새 탭에서 삽입된 URL 열기"],
+ "iPp_qv": ["열림"],
"iSLIjg": ["연결"],
"iSQTsg": ["번호 매기기 목록"],
"iSWh95": ["이미지 대상 \"", ["shown"], "\"이 존재하는 파일로 확인되지 않습니다."],
@@ -4637,6 +4659,9 @@
"\" 스킬에서 영구적으로 삭제됩니다. 이를 가리키는 SKILL.md의 항목은 다시 만들 때까지 작동하지 않습니다."
],
"psUrB1": ["Markdown 파일과 직접 작성한 스킬은 변경하지 않았습니다."],
+ "pskJOJ": [
+ "편집기의 외부 링크나 에이전트 채팅의 GitHub 풀 리퀘스트 또는 이슈 위에 마우스를 올리면 미리보기 카드를 표시합니다."
+ ],
"psl2Sj": ["변경사항을 아직 저장 중입니다. 잠시 후 테스트를 다시 실행합니다."],
"ptQ3_N": ["링크 해제"],
"pvnfJD": ["어두운 테마"],
@@ -4759,9 +4784,6 @@
"현재 임베딩 제공업체 설정에서는 시맨틱 검색을 사용할 수 없습니다. 설정 → 검색을 확인하세요."
],
"rUWrSE": ["보고서 삭제"],
- "rVJpLz": [
- "켜짐, 외부 링크 위에 마우스를 올리면 미리보기를 가져오기 위해 URL을 대상 사이트로 전송합니다."
- ],
"rVxu1k": ["아직 이곳으로 연결되는 페이지가 없습니다."],
"rXz97P": ["번호 매기기 목록입니다."],
"rZ9HZq": ["할 일"],
@@ -4873,6 +4895,7 @@
["name"],
"은(는) 이동했지만 고정 상태는 함께 이동하지 않았습니다. 설정을 모두 불러온 후 다시 고정하세요."
],
+ "siMChX": ["일부 검사가 실패했지만 병합할 수 있음"],
"skf5Ix": ["현재 소스 편집기 줄의 들여쓰기 또는 내어쓰기를 조정합니다."],
"skvOCc": ["파일이 ", ["trashNoun"], "에 있습니다. 파일 감시자가 상태를 조정합니다."],
"sn5BEU": [
@@ -5160,6 +5183,7 @@
"ve8vEM": ["코드가 만료되었습니다. 다시 시도하세요."],
"vfRlCI": ["전체 경로를 복사하지 못했습니다"],
"vfWA_g": ["~/Desktop을 선택했습니다. OpenKnowledge가 데스크톱의 모든 항목을 색인합니다."],
+ "vgGSRn": ["병합 가능"],
"vhAnzJ": ["의미 기반 검색을 켜시겠습니까?"],
"vhGTWU": ["OpenKnowledge에서 ", ["tool"], " 실행"],
"viwC-K": ["프로젝트를 제거하지 못했습니다"],
@@ -5311,6 +5335,7 @@
"xEb24l": ["이메일로 후속 연락 받기"],
"xFQRu4": ["이미 로컬에 있음"],
"xG4tb6": ["\"", ["docName"], "\" 연결이 끊겼습니다."],
+ "xG8Ish": ["계획 없음"],
"xHGM4U": ["HTML 미리보기 숨기기"],
"xK291b": ["두 페이지 (홀수)"],
"xKDsGS": ["줄 ", ["0"], ", ", ["1"], "에서 이동"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index d16e3573e..3b50f2beb 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# 줄마다 패턴 하나를 작성합니다.\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "병합 큐 {position}번째"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow}개 더"
@@ -2167,6 +2171,10 @@ msgstr "승인됨"
msgid "Approved — {optionName}"
msgstr "승인됨: {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "승인되어 병합할 수 있음"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "이 파일을 템플릿으로 변환하시겠습니까? 원본 파일은 삭제됩니다. 이 작업은 취소할 수 없습니다."
@@ -2362,6 +2370,10 @@ msgstr "자동 수정 ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "자동 수정은 기계적으로 수정할 수 있는 문제가 알려진 경우에만 적용됩니다."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "자동 병합 켜짐"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "동기화하기 전에 git 커밋에 사용할 사용자 정보를 설
msgid "Before you go, mind sharing why?"
msgstr "떠나기 전에 이유를 알려주시겠어요?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "기본 브랜치보다 뒤처짐"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "아래"
@@ -2515,6 +2531,10 @@ msgstr "Blob 실행"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "LaTeX 소스 문자열에서 KaTeX로 렌더링되는 블록 수식입니다."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "병합이 차단됨"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "블로그 게시물"
@@ -2806,6 +2826,10 @@ msgstr "외부에서 변경됨"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "마지막으로 OK가 여기에 쓴 후 외부에서 변경되었습니다. 표시된 상태는 현재 디스크에 있는 내용입니다"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "변경 요청됨"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "변경사항이 이 테마에 자동으로 저장됩니다."
@@ -2936,6 +2960,10 @@ msgstr "확인 중…"
msgid "Checklist with checkboxes."
msgstr "체크박스가 있는 체크리스트입니다."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "검사 실행 중"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "문서의 마크다운 문제를 검사하고 고칠 수 있습니다"
@@ -3256,6 +3284,11 @@ msgstr "창 닫기"
msgid "Close Window"
msgstr "창 닫기"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "닫힘"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "클러스터"
@@ -5142,10 +5175,6 @@ msgstr "{file} 비활성화"
msgid "Disable {id}"
msgstr "{id} 비활성화"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "외부 링크 미리보기 사용 안 함"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "의미 기반 검색 사용 안 함"
@@ -5334,6 +5363,11 @@ msgstr "{0} {1} 다운로드 중…"
msgid "Downloads a fresh copy from GitHub."
msgstr "GitHub에서 최신 사본을 다운로드합니다."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "초안"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "사양 초안 작성"
@@ -5735,10 +5769,6 @@ msgstr "자동(풀만) 활성화"
msgid "Enable Auto (Pull only)?"
msgstr "자동(풀만)을 활성화할까요?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "외부 링크 미리보기 사용"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "인덱스 사용"
@@ -6040,6 +6070,10 @@ msgstr "외부 링크"
msgid "External link previews"
msgstr "외부 링크 미리보기"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "외부 링크 미리보기 및 GitHub 참조 카드"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "외부 링크 위에 마우스를 올리면 사이트 이름, 페이지 제목, 설명이 있는 미리보기 카드가 나타납니다."
@@ -6986,6 +7020,10 @@ msgstr "하드 줄바꿈"
msgid "Hard to use"
msgstr "사용하기 어려움"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "병합 충돌 있음"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "둘러보는 중…"
@@ -7458,6 +7496,10 @@ msgstr "로그 문서에서는 항목 제목을 ISO YYYY-MM-DD 날짜로 시작
msgid "In a subfolder"
msgstr "하위 폴더에서"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "에이전트 채팅에서 GitHub 풀 리퀘스트나 이슈 링크 위에 마우스를 올리면 GitHub에 상태를 요청하며, OpenKnowledge가 GitHub 로그인을 사용할 수 있으면 사용자로 로그인한 상태로 요청합니다."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "인덱스 문서에서는 항목이 섹션 제목 아래에 있고 각 항목에 링크가 있습니다. 목록 주변에 설명문을 작성해도 됩니다."
@@ -7484,6 +7526,14 @@ msgstr "Git 프로젝트에서 Open Knowledge는 다음 재빌드 전에 동시
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App에서"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "병합 큐에 있음"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "병합 큐에 있지만 병합할 수 없음"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "위의 계획에서, "
@@ -8127,6 +8177,10 @@ msgstr "각 요청에 담기는 전체 텍스트 양을 제한합니다. 예산
msgid "line {displayLine}"
msgstr "줄 {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "변경된 줄: {additions}줄 추가, {deletions}줄 삭제"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "중간 크기 섹션 제목입니다."
msgid "Mention a page"
msgstr "페이지 언급"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "병합됨"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "아직 이 프로젝트에 설치되지 않았습니다."
msgid "Not now"
msgstr "나중에"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "계획 없음"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "민감 정보가 가려지지 않았습니다. 공유하기 전에 이미지를 확인하세요."
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "이전"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "켜짐, 외부 링크 위에 마우스를 올리면 미리보기를 가져오기 위해 URL을 대상 사이트로 전송합니다."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "켜짐, 외부 링크 위에 마우스를 올리면 미리보기를 가져오기 위해 URL을 대상 사이트로 전송하고, 에이전트 채팅의 GitHub 참조 위에 마우스를 올리면 GitHub에 요청합니다."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "현재 문서만 <0>#{tag}</0>을 사용합니다."
msgid "Open"
msgstr "열기"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "열림"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "워크트리 열기"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "CodeMirror 자동 완성 제안을 열고 탐색하고 수락하거나 닫습니다."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "{author}님이 생성"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "{ancestorPath}에 있는 기존 OpenKnowledge 프로젝트를 열었습니다"
@@ -11458,6 +11531,10 @@ msgstr "편집 간의 미해결 충돌을 읽습니다"
msgid "Ready"
msgstr "준비됨"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "병합 가능"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "빠르게 시작할 수 있는 미리 준비된 폴더와 템플릿입니다."
@@ -12028,6 +12105,10 @@ msgstr "필수"
msgid "Required"
msgstr "필수"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "필수 검사 실패"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "{brand} 필요."
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "{hiddenCount}개 더 보기"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "편집기에서 외부 링크 위에 마우스를 올리면 미리보기 카드를 표시합니다."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "편집기의 외부 링크나 에이전트 채팅의 GitHub 풀 리퀘스트 또는 이슈 위에 마우스를 올리면 미리보기 카드를 표시합니다."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev 시작 시간이 초과되었습니다. 다시 시도하세요."
msgid "Small section heading."
msgstr "작은 섹션 제목입니다."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "일부 검사가 실패했지만 병합할 수 있음"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "놓은 파일 중 일부를 안전하게 삽입할 수 없습니다."
@@ -16223,6 +16308,10 @@ msgstr "비주얼 편집기 표 선택 영역"
msgid "Waiting for authorization"
msgstr "인증 대기 중"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "리뷰 대기 중"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index 7c565a401..b058e3baa 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -176,6 +176,7 @@
],
"11ukmX": ["Ŕēńàḿē ƒàĩĺēď: ", ["0"]],
"12F9WL": ["(ńō ĩď)"],
+ "12irWm": ["#", ["position"], " ĩń ţĥē ḿēŕĝē ǫũēũē"],
"151wvk": ["Śĥōŵ śĩďēƀàŕ"],
"15ZHCt": ["Ńō ƀōďŷ ćĥàńĝēś àţ ţĥĩś vēŕśĩōń."],
"161NCV": ["Śţōƥƥĩńĝ"],
@@ -244,6 +245,7 @@
],
"2277Tu": ["Ćōĺĺàƥśē ĝŕàƥĥ"],
"237hSL": ["Ēńďēď"],
+ "24crK0": ["Ĩń ţĥē ḿēŕĝē ǫũēũē, ƀũţ ĩţ ćàń'ţ ḿēŕĝē"],
"253MN6": ["Ćōũĺďń'ţ śēńď ŷōũŕ ćōḿḿēńţś — ƥĺēàśē ţŕŷ àĝàĩń."],
"25Pw6a": ["Ćĺōńĩńĝ"],
"27TLNq": ["Ēńàƀĺē ", ["displayName"], " ĆĹĨ"],
@@ -523,7 +525,6 @@
["0", "plural", { "one": ["#", " ƒĩĺē"], "other": ["#", " ƒĩĺēś"] }]
],
"5UccRr": ["Ĺàśţ àćţĩvĩţŷ ", ["lastActivity"]],
- "5Umg9i": ["Ďĩśàƀĺē ēxţēŕńàĺ ĺĩńķ ƥŕēvĩēŵś"],
"5WDhAk": ["Ĺĩńķ ţō à ƥàĝē ōŕ ēxţēŕńàĺ ŨŔĹ."],
"5W_u0E": ["Ćōũĺďń'ţ ŕēśţàŕţ ţĥē śēŕvēŕ. Ŕũń ōķ śţàŕţ ĩń ţĥĩś ƒōĺďēŕ ţō ŕēţŕŷ."],
"5Y17qa": ["Àƥƥĺĩēś ţō (ĝĺōƀś — ĺēàďĩńĝ ! ēxćĺũďēś; ēḿƥţŷ ḿēàńś ēvēŕŷ ďōć)"],
@@ -767,6 +768,7 @@
"851WA-": ["Ţĥĩś ćàń ƀē ćōńƒĩĝũŕēď ĩń Śēţţĩńĝś > ÀĨ ţōōĺś & ĆĹĨ"],
"87GMKe": ["Ēxƥōśē ţĥĩś ƥŕōĴēćţ ţō ţĥē ńēţŵōŕķ?"],
"881Uwh": ["Ďēĺēţē śēĺēćţēď ţàƀĺē"],
+ "89SLQ-": ["Ēxţēŕńàĺ ĺĩńķ ƥŕēvĩēŵś àńď ĜĩţĤũƀ ŕēƒēŕēńćē ćàŕďś"],
"89TmeV": ["Śōḿē śķĩĺĺś ŵēŕē ďēĺēţēď ŵĩţĥ à ŵàŕńĩńĝ"],
"89TtiD": [
"Ńēŵ ƒĩĺē ƒŕōḿ ţēḿƥĺàţē \"",
@@ -982,6 +984,7 @@
"AcK_r0": ["Ćĺàũďē ĆĹĨ"],
"AdcGcG": ["Àƥƥĺŷĩńĝ ŷōũŕ ćĥàńĝē"],
"AddR83": ["Ćōũĺď ńōţ ćŕēàţē ƥŕōĴēćţ. Ţŕŷ àĝàĩń ōŕ ƥĩćķ à ďĩƒƒēŕēńţ ĺōćàţĩōń."],
+ "AdjDox": ["Ďŕàƒţ"],
"AeHuzT": ["# Ōńē ƥàţţēŕń ƥēŕ ĺĩńē.\n# Ēxàḿƥĺēś:\n# ďŕàƒţś/\n# *.ďŕàƒţ.ḿď\n# !ķēēƥ.ḿď"],
"AeLo3p": ["ŌƥēńĶńōŵĺēďĝē ŕēśōĺvēď à ćōńƒĺĩćţ ĩń ", ["subject"]],
"AeORtB": [
@@ -1074,6 +1077,7 @@
"BWTzAb": ["Ḿàńũàĺ"],
"BY-g4_": ["Àďď ƥàţţēŕń"],
"Ba4D2x": ["Ţēḿƥĺàţē ĩḿƥōŕţēď"],
+ "Bb00X6": ["ßēĥĩńď ţĥē ƀàśē ƀŕàńćĥ"],
"Bdha5y": ["Ƥũƀĺĩśĥĩńĝ..."],
"BeWTQy": ["Ĺōàďĩńĝ śţàŕţēŕ ƥàćķś"],
"BfTQmM": ["Ţĥĩś ćōḿƥōńēńţ ŵàś ŕēḿōvēď."],
@@ -1402,6 +1406,7 @@
"F6pfE9": ["Àćţĩvē"],
"F8DaWi": ["Vĩēŵ ōńĺŷ"],
"F8GW_c": [["label"], " ƥŕōƀĺēḿś"],
+ "FAYFLL": ["Ĺĩńēś ćĥàńĝēď: ", ["additions"], " àďďēď, ", ["deletions"], " ŕēḿōvēď"],
"FBIuPX": ["Ćĺēàŕ śēĺēćţĩōń"],
"FBknns": ["ĤŢḾĹ"],
"FCAcjR": [
@@ -1459,6 +1464,7 @@
"Fr8JGg": ["Źĩƥ ƒĩĺē"],
"FsEXax": ["Ţĥàţ ďĩď ńōţ ĝō ţĥŕōũĝĥ. Ćĥēćķ ţĥē śēŕvēŕ ĺōĝś àńď ţŕŷ àĝàĩń."],
"Fsx78O": ["Àďď ţĥē <0>ōķ</0> ćōḿḿàńď ţō ŷōũŕ ţēŕḿĩńàĺ"],
+ "FumRbV": ["Ćĥēćķś àŕē ŕũńńĩńĝ"],
"FvMSms": ["Ŕēńàḿĩńĝ ćĥàńĝēś ţĥē ƒĩĺē ōń ďĩśķ àńď ţĥē ĩď àĝēńţś ũśē ţō ƥĩćķ ţĥĩś ţēḿƥĺàţē."],
"Fx9aOF": ["ŌƥēńĶńōŵĺēďĝē ēďĩţēď à ďōćũḿēńţ"],
"Fxf4jq": ["Ďēśćŕĩƥţĩōń (ōƥţĩōńàĺ)"],
@@ -1853,7 +1859,6 @@
],
"KmydK6": ["ßōĺď"],
"KnoB--": ["Ŵĩĺĺ ƀē śàvēď àś <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["Ēńàƀĺē ēxţēŕńàĺ ĺĩńķ ƥŕēvĩēŵś"],
"Kr3VPS": ["Ćōďēx ŵĩĺĺ śţĩĺĺ àśķ ũńţĩĺ ŷōũ ŕũń \"ōķ ĩńĩţ\" ĩń à ţēŕḿĩńàĺ ƒōŕ ţĥĩś ƥŕōĴēćţ."],
"KsAPaB": ["Ţĥĩś ƀŕàńćĥ ĩś ćĥēćķēď ōũţ ĩń:"],
"KtACeE": ["Ďēƒàũĺţ: <0>", ["0"], "</0>"],
@@ -1939,6 +1944,7 @@
],
"LhWYpm": ["Ōţĥēŕ ŌĶ ƥàţĥś àŕē ţŕàćķēď ũƥśţŕēàḿ:"],
"Li4U-T": ["Ĺēàŕń ḿōŕē àƀōũţ ", ["title"]],
+ "Lj_5Uv": ["Ŕēǫũĩŕēď ćĥēćķś àŕē ƒàĩĺĩńĝ"],
"LkQRL8": ["Śĥōŵ ōŕĩĝĩńàĺ"],
"LlHqdU": ["Ĩńĩţĩàĺĩźĩńĝ ƥŕōĴēćţ"],
"LlJ8LD": [
@@ -2004,6 +2010,9 @@
"MCjC9A": ["Ďēĺēţē ", ["deleteDescriptorLabel"]],
"MDBJwN": ["Ĥàŕď ţō ũśē"],
"MDZSJe": ["Ŵĥēń ţĥē àĝēńţ ŕũńś ĩţś śćĥēďũĺēď ŵōŕķ."],
+ "MGQ4_D": [
+ "Ōń — ĥōvēŕĩńĝ àń ēxţēŕńàĺ ĺĩńķ śēńďś ĩţś ŨŔĹ ţō ţĥē ďēśţĩńàţĩōń śĩţē ţō ƒēţćĥ à ƥŕēvĩēŵ, àńď ĥōvēŕĩńĝ à ĜĩţĤũƀ ŕēƒēŕēńćē ĩń àń àĝēńţ ćĥàţ àśķś ĜĩţĤũƀ ƒōŕ ĩţ."
+ ],
"MGb89P": [
"Ĩńśēŕţ, ďēĺēţē, ḿōvē, ćōƥŷ, àńď ĩńďēńţ śōũŕćē ēďĩţōŕ ĺĩńēś ţĥŕōũĝĥ ĆōďēḾĩŕŕōŕ'ś ďēƒàũĺţ ķēŷḿàƥ."
],
@@ -2077,6 +2086,7 @@
"N7Lau6": ["Ćōḿḿĩţ àńď śŷńć"],
"N7m8E-": ["Àţţàćĥ ƒĩĺēś"],
"NBdIgR": ["Ćōḿḿēńţ"],
+ "NCdpSO": ["Ḿēŕĝēď"],
"NErvOX": ["Śàvēď ţō"],
"NEzPEh": ["Ćŕēàţē à ńēŵ ƀŕàńćĥ, ōŕ ćĥēćķ ōũţ àń ēxĩśţĩńĝ ōńē, ĩń ĩţś ōŵń ŵĩńďōŵ."],
"NIWAux": ["Ńō ďōćś ŕēĝĩśţēŕēď ũńďēŕ #", ["tagDocsName"], "."],
@@ -2268,6 +2278,7 @@
"PBxg_E": ["Ńōţ ńōŵ"],
"PCSkw2": ["Śķĩĺĺś"],
"PEGxvo": ["5 ḿĩńũţēś"],
+ "PESHdL": ["Ĥàś ḿēŕĝē ćōńƒĺĩćţś"],
"PGPGsL": ["Àďď ďēśćŕĩƥţĩōń"],
"PGRnbw": ["Ũƥďàţēś ƒĺōŵ ĩń ƒŕōḿ ŷōũŕ ŕēḿōţē; ŷōũŕ ēďĩţś śţàŷ ōń ţĥĩś ćōḿƥũţēŕ."],
"PHHEuH": ["Ĥĩďē ŕēśōĺvēď ćōḿḿēńţś (", ["0"], ")"],
@@ -2301,7 +2312,6 @@
"PeNdk1": ["Ŕēàśōńś ƀēƒōŕē àćţĩńĝ"],
"PezM4_": ["ŌƥēńĶńōŵĺēďĝē śķĩĺĺ śàvēď. Ũƥĺōàď ĩţ ĩń Ćĺàũďē Ďēśķţōƥ, ţĥēń ćĺĩćķ Ćōŵōŕķ àĝàĩń."],
"Pg83C9": ["Ũƥĺōàďēď \"", ["0"], "\"."],
- "PgJDqs": ["Śĥōŵ à ƥŕēvĩēŵ ćàŕď ŵĥēń ŷōũ ĥōvēŕ àń ēxţēŕńàĺ ĺĩńķ ĩń ţĥē ēďĩţōŕ."],
"PgY2nN": [
"Ĩƒ ŷōũ ũśē à ĜĩţĤũƀ Ēńţēŕƥŕĩśē Śēŕvēŕ, àďď ĩţś ĥōśţ ĥēŕē śō ŌƥēńĶńōŵĺēďĝē ćàń śĩĝń ĩń, ćĥēćķ ƥũśĥ ƥēŕḿĩśśĩōń, àńď ćŕēàţē śĥàŕē ĺĩńķś ƒōŕ ŕēƥōśĩţōŕĩēś ĥōśţēď ţĥēŕē."
],
@@ -2552,6 +2562,7 @@
"SF9qpO": ["Śĥàŕē ŷōũŕ ēḿàĩĺ ƒōŕ ƒōĺĺōŵũƥś"],
"SFEWV6": ["Ćōũĺďń'ţ ĺōàď ţĥē ŌƥēńĶńōŵĺēďĝē śķĩĺĺś. Ţŕŷ àĝàĩń."],
"SFN6dN": ["Ĥēàďĩńĝ 3"],
+ "SFwolL": ["Àũţō-ḿēŕĝē ĩś ōń"],
"SIPelo": [
"Ĩńďēx ḿàĩńţēńàńćē ĩś ƥàũśēď ƀēćàũśē Ōƥēń Ķńōŵĺēďĝē ćōũĺď ńōţ ćōńƒĩŕḿ ţĥē ŕēǫũĩŕēď Ĝĩţ ḿēŕĝē ŕũĺē. Ćĥēćķ Ĝĩţ àńď .ĝĩţàţţŕĩƀũţēś, ţĥēń ţŕŷ àĝàĩń."
],
@@ -2622,6 +2633,7 @@
"TOel0d": ["Ďēĺēţēś à ƒĩĺē"],
"TQJCR6": [["0", "plural", { "one": ["#", " ŕēśũĺţ"], "other": ["#", " ŕēśũĺţś"] }]],
"TTDXD8": ["Ńēŵ ŵōŕķţŕēē…"],
+ "TUOigf": ["Ĩń ţĥē ḿēŕĝē ǫũēũē"],
"T_N0ro": ["Àśķ ćĥàńĝēś…"],
"T_j5G0": ["Ţĥĩś ĩśń'ţ à śũƥƥōŕţēď vēŕśĩōń ōƒ Śĺĩďēv."],
"T_wG4n": ["Ŵē ćōũĺďń'ţ ćĥēćķ ŷōũŕ ĜĩţĤũƀ ćōńńēćţĩōń."],
@@ -2947,6 +2959,7 @@
"XfA5xx": [["label"], " ēńàƀĺēď"],
"XfzqjK": ["ţēḿƥĺàţē \"", ["name"], "\""],
"Xg-Ntj": ["Ţĥē ţōķēń ńēēďś ţĥē ŕēƥō àńď ŕēàď:ũśēŕ śćōƥēś."],
+ "Xg2x4O": ["Àƥƥŕōvēď àńď ŕēàďŷ ţō ḿēŕĝē"],
"XgqUOy": ["Ńō śķĩĺĺ ƒōũńď àţ ţĥàţ śōũŕćē. Ĩḿƥōŕţ ŵĩĺĺ ŕēƥōŕţ ŵĥŷ ĩƒ ŷōũ ćōńţĩńũē."],
"XgsZ2F": ["Ćōƥŷ ţĥē ćōďē ", ["code"]],
"Xhm7gG": ["Àśśēţ śũĝĝēśţĩōńś"],
@@ -3151,6 +3164,7 @@
"ZhhOwV": ["Ǫũōţē"],
"Zj6JL8": ["Ũśē àń ĥţţƥś:// ŨŔĹ — ĥţţƥ:// ĩś ōńĺŷ àĺĺōŵēď ƒōŕ ĺōōƥƀàćķ ēńďƥōĩńţś."],
"ZjtgI-": ["Ćōḿḿàńď ƥàĺēţţē"],
+ "ZkY0ic": ["Ŵàĩţĩńĝ ƒōŕ ŕēvĩēŵ"],
"ZlCe_H": ["Ńō śƥēĺĺĩńĝ ĺàńĝũàĝēś àŕē àvàĩĺàƀĺē."],
"Zon_qG": ["Ḿĩŕŕōŕ śōũŕćē <0>", ["label"], "</0>"],
"ZptNUh": ["Śĥōŵ ", ["hidden"], " ḿōŕē"],
@@ -3247,6 +3261,7 @@
"À ķńōŵĺēďĝē ƀàśē ţĥàţ ƒōĺĺōŵś Ĝōōĝĺē'ś Ōƥēń Ķńōŵĺēďĝē Ƒōŕḿàţ, à śĥàŕēď ŵàŷ ōƒ ōŕĝàńĩźĩńĝ ŵĥàţ ŷōũ ķńōŵ. Ƥĩćķ ţĥĩś ĩƒ ŷōũ ŵàńţ ŷōũŕ ńōţēś ţō ŵōŕķ ŵēĺĺ ŵĩţĥ ōţĥēŕ ţōōĺś ţĥàţ ũńďēŕśţàńď ţĥē ƒōŕḿàţ."
],
"_azghp": ["Ƥŕēvĩōũś ćĥàńĝē"],
+ "_cX8_o": ["Ōƥēńēď ƀŷ ", ["author"]],
"_ci9Bj": ["Śēŕvēŕ ŕēţũŕńēď àń ĩńćōḿƥĺēţē ƒōĺďēŕ ŕēśƥōńśē."],
"_eguJc": ["Ũƥĺōàďĩńĝ"],
"_fQGOp": ["Śƥàćēś àŕēń'ţ àĺĺōŵēď ĩń ţĥē ƥàţĥ"],
@@ -3419,6 +3434,9 @@
"bwoxGI": ["Ńēēďś ŷōũ ţō śĩĝń ĩń"],
"bwy8Y7": ["Ōń <0>", ["address"], "</0>"],
"bzsK8N": ["Ŕēàďś ţĥē àũţĥōŕĩńĝ ƥàĺēţţē śō ńēŵ ďōćũḿēńţś ḿàţćĥ ţĥē ƥŕōĴēćţ'ś śţŷĺē"],
+ "c0dKr4": [
+ "Ĩń àń àĝēńţ ćĥàţ, ĥōvēŕĩńĝ à ĺĩńķ ţō à ĜĩţĤũƀ ƥũĺĺ ŕēǫũēśţ ōŕ ĩśśũē àśķś ĜĩţĤũƀ ƒōŕ ĩţś śţàţũś, śĩĝńēď ĩń àś ŷōũ ŵĥēń ŌƥēńĶńōŵĺēďĝē ćàń ũśē ŷōũŕ ĜĩţĤũƀ śĩĝń-ĩń."
+ ],
"c1LZZH": ["Ĺĩńķ ćōƥĩēď."],
"c2ktXL": ["Ƥŕēvĩōũś ŕēƥōŕţś"],
"c3XJ18": ["Ĥēĺƥ"],
@@ -3447,6 +3465,7 @@
"cFSbbh": [
"Ƥēŕśōńàĺ ţō ţĥĩś ďēvĩćē. Àƥƥĺĩēś ţō ēvēŕŷ ƥŕōĴēćţ ŷōũ ōƥēń ĥēŕē àńď ĩś ńēvēŕ śĥàŕēď ŵĩţĥ ćōĺĺàƀōŕàţōŕś."
],
+ "cFgW76": ["ßĺōćķēď ƒŕōḿ ḿēŕĝĩńĝ"],
"cH0dkG": ["Ĩţ ŵàś ḿĩśśĩńĝ à ƒēàţũŕē Ĩ ńēēďēď"],
"cHhH3i": ["à ŕēǫũĩŕēď ĝĩţ ţōōĺ"],
"cIFYZn": [
@@ -3761,6 +3780,7 @@
"f14doC": ["Śĺĩďēv"],
"f1XQyZ": ["Ḿōvē ƀĺōćķ"],
"f65AOQ": ["Śţàŕţ ƒŕōḿ"],
+ "f6suyZ": ["Ćĥàńĝēś ŕēǫũēśţēď"],
"f8fH8W": ["Ďēśĩĝń"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["Àďďś à ḿàńàĝēď ƀĺōćķ ţō"],
@@ -3866,6 +3886,7 @@
"gBCeDq": ["Ńō ćōḿḿōń àńćēśţōŕ — ƀōţĥ ƀŕàńćĥēś àďďēď ţĥĩś ƒĩĺē (àďď/àďď ćōńƒĺĩćţ)."],
"gBbxn_": ["Ćĥēćķĩńĝ śĩĝń-ĩń śţàţũś"],
"gDkNHk": ["Àŕē ŷōũ śũŕē ŷōũ ŵàńţ ţō ďēĺēţē \"", ["name"], "\"?"],
+ "gEc6f2": ["Ćĺōśēď"],
"gGVP4q": ["Ćĺĩćķ <0>+</0> <1/> <2>Ćŕēàţē śķĩĺĺ</2> <3/> <4>Ũƥĺōàď śķĩĺĺ</4>."],
"gHSAWT": ["Ćŕēàţē ŵōŕķţŕēē <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["Śĥōŵ ŕēśōĺvēď ćōḿḿēńţś (", ["0"], ")"],
@@ -4129,6 +4150,7 @@
"À ćōƥŷ ĩś à ŕēàĺ ƒōĺďēŕ ōƒ ĩţś ōŵń, àńď ŌĶ ķēēƥś ĩţ ĩń śţēƥ ŵĩţĥ ţĥē śōũŕćē: ēďĩţ ţĥē śķĩĺĺ ĥēŕē àńď ēvēŕŷ ćōƥŷ ĩś ŕēƒŕēśĥēď. Ţĥàţ śţōƥś ţĥē ḿōḿēńţ ŷōũ ĥàńď-ēďĩţ à ćōƥŷ ōũţśĩďē ŌĶ — ƒŕōḿ ţĥēń ōń ĩţ ĝōēś ĩţś ōŵń ŵàŷ àńď śĥōŵś ũƥ àś à śēƥàŕàţē śķĩĺĺ."
],
"iOHg1t": ["Ōƥēń ēḿƀēďďēď ŨŔĹ ĩń ńēŵ ţàƀ"],
+ "iPp_qv": ["Ōƥēń"],
"iSLIjg": ["Ćōńńēćţ"],
"iSQTsg": ["Ōŕďēŕēď ĺĩśţ"],
"iSWh95": ["Ĩḿàĝē ţàŕĝēţ \"", ["shown"], "\" ďōēś ńōţ ŕēśōĺvē ţō àń ēxĩśţĩńĝ ƒĩĺē."],
@@ -4834,6 +4856,9 @@
"\" śķĩĺĺ. Àńŷţĥĩńĝ ĩń ŚĶĨĹĹ.ḿď ţĥàţ ƥōĩńţś àţ ĩţ ŵĩĺĺ ƀŕēàķ ũńţĩĺ ĩţ'ś ŕēćŕēàţēď."
],
"psUrB1": ["Ḿàŕķďōŵń ƒĩĺēś àńď àũţĥōŕēď śķĩĺĺś ŵēŕē ĺēƒţ ũńţōũćĥēď."],
+ "pskJOJ": [
+ "Śĥōŵ à ƥŕēvĩēŵ ćàŕď ŵĥēń ŷōũ ĥōvēŕ àń ēxţēŕńàĺ ĺĩńķ ĩń ţĥē ēďĩţōŕ ōŕ à ĜĩţĤũƀ ƥũĺĺ ŕēǫũēśţ ōŕ ĩśśũē ĩń àń àĝēńţ ćĥàţ."
+ ],
"psl2Sj": ["Ŷōũŕ ćĥàńĝē ĩś śţĩĺĺ ƀēĩńĝ śàvēď — ŕũń ţĥē ţēśţ àĝàĩń ĩń à ḿōḿēńţ."],
"ptQ3_N": ["ũńĺĩńķ"],
"pvnfJD": ["Ďàŕķ"],
@@ -4972,9 +4997,6 @@
"Śēḿàńţĩć śēàŕćĥ ĩśń'ţ àvàĩĺàƀĺē ŵĩţĥ ţĥē ćũŕŕēńţ ēḿƀēďďĩńĝś ƥŕōvĩďēŕ śēţũƥ. Ćĥēćķ Śēţţĩńĝś → Śēàŕćĥ."
],
"rUWrSE": ["Ďēĺēţē ŕēƥōŕţ"],
- "rVJpLz": [
- "Ōń — ĥōvēŕĩńĝ àń ēxţēŕńàĺ ĺĩńķ śēńďś ĩţś ŨŔĹ ţō ţĥē ďēśţĩńàţĩōń śĩţē ţō ƒēţćĥ à ƥŕēvĩēŵ."
- ],
"rVxu1k": ["Ńō ƥàĝēś ĺĩńķ ĥēŕē ŷēţ."],
"rXz97P": ["Ńũḿƀēŕēď ĺĩśţ ōƒ ĩţēḿś."],
"rZ9HZq": ["Ţō ďō"],
@@ -5086,6 +5108,7 @@
["name"],
" ḿōvēď, ƀũţ ĩţś ƥĩń ďĩď ńōţ. Ƥĩń ĩţ àĝàĩń àƒţēŕ śēţţĩńĝś ƒĩńĩśĥ ĺōàďĩńĝ."
],
+ "siMChX": ["Śōḿē ćĥēćķś ƒàĩĺēď, ƀũţ ĩţ ćàń śţĩĺĺ ḿēŕĝē"],
"skf5Ix": ["Ĩńďēńţ ōŕ ōũţďēńţ śōũŕćē ēďĩţōŕ ĺĩńēś."],
"skvOCc": ["Ţĥē ƒĩĺē ĩś ĩń ŷōũŕ ", ["trashNoun"], "; ţĥē ƒĩĺē-ŵàţćĥēŕ ŵĩĺĺ ŕēćōńćĩĺē."],
"sn5BEU": [
@@ -5404,6 +5427,7 @@
"ve8vEM": ["Ćōďē ēxƥĩŕēď — ƥĺēàśē ţŕŷ àĝàĩń"],
"vfRlCI": ["Ćōũĺď ńōţ ćōƥŷ ƒũĺĺ ƥàţĥ"],
"vfWA_g": ["Ŷōũ ƥĩćķēď ~/Ďēśķţōƥ. ŌƥēńĶńōŵĺēďĝē ŵĩĺĺ ĩńďēx ēvēŕŷţĥĩńĝ ōń ŷōũŕ ďēśķţōƥ."],
+ "vgGSRn": ["Ŕēàďŷ ţō ḿēŕĝē"],
"vhAnzJ": ["Ţũŕń ōń śēḿàńţĩć śēàŕćĥ?"],
"vhGTWU": ["ŌƥēńĶńōŵĺēďĝē ŕàń ", ["tool"]],
"viwC-K": ["Ƒàĩĺēď ţō ŕēḿōvē ƥŕōĴēćţ."],
@@ -5562,6 +5586,7 @@
"xEb24l": ["Ĺēţ ũś ƒōĺĺōŵ ũƥ ƀŷ ēḿàĩĺ"],
"xFQRu4": ["Ĩ àĺŕēàďŷ ĥàvē ĩţ ĺōćàĺĺŷ"],
"xG4tb6": ["Ĺōśţ ćōńńēćţĩōń ţō \"", ["docName"], "\"."],
+ "xG8Ish": ["Ńōţ ƥĺàńńēď"],
"xHGM4U": ["Ĥĩďē ĤŢḾĹ ƥŕēvĩēŵ"],
"xK291b": ["Ţŵō-ƥàĝē (ōďď)"],
"xKDsGS": ["Ĝō ţō ĺĩńē ", ["0"], " ĩń ", ["1"]],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index b957a30db..c066ea775 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -1248,6 +1248,10 @@ msgid "# One pattern per line.\n"
"# !keep.md"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr ""
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr ""
@@ -2163,6 +2167,10 @@ msgstr ""
msgid "Approved — {optionName}"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr ""
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr ""
@@ -2358,6 +2366,10 @@ msgstr ""
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr ""
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2473,6 +2485,10 @@ msgstr ""
msgid "Before you go, mind sharing why?"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr ""
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr ""
@@ -2511,6 +2527,10 @@ msgstr ""
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr ""
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr ""
@@ -2802,6 +2822,10 @@ msgstr ""
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr ""
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr ""
@@ -2932,6 +2956,10 @@ msgstr ""
msgid "Checklist with checkboxes."
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr ""
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr ""
@@ -3252,6 +3280,11 @@ msgstr ""
msgid "Close Window"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr ""
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr ""
@@ -5138,10 +5171,6 @@ msgstr ""
msgid "Disable {id}"
msgstr ""
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr ""
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr ""
@@ -5330,6 +5359,11 @@ msgstr ""
msgid "Downloads a fresh copy from GitHub."
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr ""
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr ""
@@ -5731,10 +5765,6 @@ msgstr ""
msgid "Enable Auto (Pull only)?"
msgstr ""
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr ""
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr ""
@@ -6036,6 +6066,10 @@ msgstr ""
msgid "External link previews"
msgstr ""
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr ""
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr ""
@@ -6982,6 +7016,10 @@ msgstr ""
msgid "Hard to use"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr ""
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr ""
@@ -7454,6 +7492,10 @@ msgstr ""
msgid "In a subfolder"
msgstr ""
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr ""
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr ""
@@ -7480,6 +7522,14 @@ msgstr ""
msgid "In the Claude Desktop App"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr ""
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr ""
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr ""
@@ -8123,6 +8173,10 @@ msgstr ""
msgid "line {displayLine}"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr ""
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8599,6 +8653,11 @@ msgstr ""
msgid "Mention a page"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr ""
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9701,6 +9760,11 @@ msgstr ""
msgid "Not now"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr ""
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr ""
@@ -9820,7 +9884,7 @@ msgid "Older"
msgstr ""
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
msgstr ""
#: src/components/settings/SearchSection.tsx
@@ -9882,6 +9946,11 @@ msgstr ""
msgid "Open"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr ""
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10246,6 +10315,10 @@ msgstr ""
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr ""
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr ""
@@ -11454,6 +11527,10 @@ msgstr ""
msgid "Ready"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr ""
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr ""
@@ -12024,6 +12101,10 @@ msgstr ""
msgid "Required"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr ""
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr ""
@@ -13143,7 +13224,7 @@ msgid "Show {hiddenCount} more"
msgstr ""
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
msgstr ""
#: src/components/settings/OkignoreSection.tsx
@@ -13532,6 +13613,10 @@ msgstr ""
msgid "Small section heading."
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr ""
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr ""
@@ -16219,6 +16304,10 @@ msgstr ""
msgid "Waiting for authorization"
msgstr ""
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr ""
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index debfd30c8..8fdfe29f8 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -206,6 +206,7 @@
],
"11ukmX": ["Falha ao renomear: ", ["0"]],
"12F9WL": ["(sem id)"],
+ "12irWm": ["#", ["position"], " na fila de mesclagem"],
"151wvk": ["Mostrar a barra lateral"],
"15ZHCt": ["Nenhuma alteração no corpo nesta versão."],
"161NCV": ["Parando"],
@@ -276,6 +277,7 @@
"20LVKb": ["Algo fora deste chat pediu ao processo do agente que parasse (", ["signal"], ")."],
"2277Tu": ["Recolher o grafo"],
"237hSL": ["Encerrado"],
+ "24crK0": ["Na fila de mesclagem, mas não pode ser mesclado"],
"253MN6": ["Não deu para enviar seus comentários — tente de novo."],
"25Pw6a": ["Clonando"],
"27TLNq": ["Ativar a CLI do ", ["displayName"]],
@@ -616,7 +618,6 @@
]
],
"5UccRr": ["Última atividade: ", ["lastActivity"]],
- "5Umg9i": ["Desativar a pré-visualização de links externos"],
"5WDhAk": ["Aponta para uma página ou uma URL externa."],
"5W_u0E": [
"Não foi possível reiniciar o servidor. Execute ok start nesta pasta para tentar novamente."
@@ -895,6 +896,7 @@
"851WA-": ["Isto pode ser configurado em Configurações > Ferramentas de IA e CLI"],
"87GMKe": ["Expor este projeto à rede?"],
"881Uwh": ["Excluir a tabela selecionada"],
+ "89SLQ-": ["Pré-visualização de links externos e cartões de referências do GitHub"],
"89TmeV": ["Algumas habilidades foram excluídas com um aviso"],
"89TtiD": [
"Novo arquivo a partir do modelo \"",
@@ -1137,6 +1139,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["Aplicando sua alteração"],
"AddR83": ["Não foi possível criar o projeto. Tente de novo ou escolha outro local."],
+ "AdjDox": ["Rascunho"],
"AeHuzT": [
"# Um padrão por linha.\\n# Exemplos:\\n# drafts/\\n# *.draft.md\\n# !keep.md"
],
@@ -1239,6 +1242,7 @@
"BWTzAb": ["Manual"],
"BY-g4_": ["Adicionar padrão"],
"Ba4D2x": ["Modelo importado"],
+ "Bb00X6": ["Atrás do ramo base"],
"Bdha5y": ["Publicando..."],
"BeWTQy": ["Carregando pacotes iniciais"],
"BfTQmM": ["Este componente foi removido."],
@@ -1608,6 +1612,7 @@
"F6pfE9": ["Ativo"],
"F8DaWi": ["Somente visualização"],
"F8GW_c": [["label"], " problemas"],
+ "FAYFLL": ["Linhas alteradas: ", ["additions"], " adicionadas, ", ["deletions"], " removidas"],
"FBIuPX": ["Limpar seleção"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1671,6 +1676,7 @@
"Fr8JGg": ["Arquivo zip"],
"FsEXax": ["Isso não foi concluído. Verifique os logs do servidor e tente de novo."],
"Fsx78O": ["Adicione o comando <0>ok</0> ao seu terminal"],
+ "FumRbV": ["As verificações estão em execução"],
"FvMSms": [
"Renomear muda o arquivo no disco e o id que os agentes usam para escolher este modelo."
],
@@ -2126,7 +2132,6 @@
],
"KmydK6": ["Negrito"],
"KnoB--": ["Será salvo como <0>", ["sanitized"], "</0>."],
- "KpOJFY": ["Ativar a pré-visualização de links externos"],
"Kr3VPS": [
"O Codex vai continuar perguntando até você rodar \"ok init\" em um terminal para este projeto."
],
@@ -2227,6 +2232,7 @@
],
"LhWYpm": ["Há outros caminhos OK rastreados no remoto:"],
"Li4U-T": ["Saiba mais sobre ", ["title"]],
+ "Lj_5Uv": ["Verificações obrigatórias estão falhando"],
"LkQRL8": ["Mostrar original"],
"LlHqdU": ["Inicializando o projeto"],
"LlJ8LD": [
@@ -2312,6 +2318,9 @@
"MCjC9A": ["Excluir ", ["deleteDescriptorLabel"]],
"MDBJwN": ["Difícil de usar"],
"MDZSJe": ["Quando o agente roda o trabalho agendado dele."],
+ "MGQ4_D": [
+ "Ligada — passar o cursor sobre um link externo envia a URL dele ao site de destino para buscar uma pré-visualização, e passar o cursor sobre uma referência do GitHub em um chat com um agente a pede ao GitHub."
+ ],
"MGb89P": [
"Insere, exclui, move, copia e recua linhas do editor de código pelo mapa de teclas padrão do CodeMirror."
],
@@ -2387,6 +2396,7 @@
"N7Lau6": ["Fazer commit e sincronizar"],
"N7m8E-": ["Anexar arquivos"],
"NBdIgR": ["Comentar"],
+ "NCdpSO": ["Mesclado"],
"NErvOX": ["Salvo em"],
"NEzPEh": ["Crie um novo ramo, ou extraia um existente, em uma janela própria."],
"NIWAux": ["Nenhum documento registrado sob #", ["tagDocsName"], "."],
@@ -2588,6 +2598,7 @@
"PBxg_E": ["Agora não"],
"PCSkw2": ["Habilidades"],
"PEGxvo": ["5 minutos"],
+ "PESHdL": ["Tem conflitos de mesclagem"],
"PGPGsL": ["Adicionar descrição"],
"PGRnbw": ["As atualizações chegam do seu remoto; suas edições ficam neste computador."],
"PHHEuH": ["Ocultar comentários resolvidos (", ["0"], ")"],
@@ -2623,9 +2634,6 @@
"Habilidade do OpenKnowledge salva. Envie-a no Claude Desktop e clique em Cowork novamente."
],
"Pg83C9": ["\"", ["0"], "\" enviado."],
- "PgJDqs": [
- "Mostra um cartão de pré-visualização quando você passa o cursor sobre um link externo no editor."
- ],
"PgY2nN": [
"Se você usa um GitHub Enterprise Server, adicione o host dele aqui para que o OpenKnowledge possa fazer login, verificar a permissão de push e criar links de compartilhamento para os repositórios hospedados nele."
],
@@ -2895,6 +2903,7 @@
"SF9qpO": ["Compartilhe seu e-mail para retorno"],
"SFEWV6": ["Não foi possível carregar as habilidades do OpenKnowledge. Tente de novo."],
"SFN6dN": ["Título 3"],
+ "SFwolL": ["A mesclagem automática está ativada"],
"SIPelo": [
"A manutenção do índice foi pausada porque Open Knowledge não pôde confirmar a regra de mesclagem Git necessária. Verifique Git e .gitattributes e tente novamente."
],
@@ -2987,6 +2996,7 @@
]
],
"TTDXD8": ["Novo worktree…"],
+ "TUOigf": ["Na fila de mesclagem"],
"T_N0ro": ["Solicitar alterações…"],
"T_j5G0": ["Esta não é uma versão compatível do Slidev."],
"T_wG4n": ["Não foi possível verificar sua conexão com o GitHub."],
@@ -3375,6 +3385,7 @@
"XfA5xx": [["label"], " ativado"],
"XfzqjK": ["modelo \"", ["name"], "\""],
"Xg-Ntj": ["O token precisa dos escopos repo e read:user."],
+ "Xg2x4O": ["Aprovado e pronto para mesclar"],
"XgqUOy": [
"Nenhuma habilidade encontrada nessa fonte. Se você continuar, a importação vai dizer por quê."
],
@@ -3596,6 +3607,7 @@
"ZhhOwV": ["Citação"],
"Zj6JL8": ["Use uma URL https:// — http:// só é aceito para endpoints de loopback."],
"ZjtgI-": ["Paleta de comandos"],
+ "ZkY0ic": ["Aguardando revisão"],
"ZlCe_H": ["Nenhum idioma está disponível para a verificação ortográfica."],
"Zon_qG": ["Fonte do espelho <0>", ["label"], "</0>"],
"ZptNUh": ["Mostrar mais ", ["hidden"]],
@@ -3693,6 +3705,7 @@
"Uma base de conhecimento que segue o Open Knowledge Format do Google, uma forma comum de organizar o que você sabe. Escolha isto se quiser que suas notas funcionem bem com outras ferramentas que entendem o formato."
],
"_azghp": ["Alteração anterior"],
+ "_cX8_o": ["Aberto por ", ["author"]],
"_ci9Bj": ["O servidor retornou uma resposta de pasta incompleta."],
"_eguJc": ["Enviando"],
"_fQGOp": ["Espaços não são permitidos no caminho"],
@@ -3890,6 +3903,9 @@
"bwoxGI": ["Você precisa fazer login"],
"bwy8Y7": ["Em <0>", ["address"], "</0>"],
"bzsK8N": ["Lê a paleta de autoria para que novos documentos sigam o estilo do projeto"],
+ "c0dKr4": [
+ "Em um chat com um agente, passar o cursor sobre um link para uma pull request ou issue do GitHub pede ao GitHub o status dela, com o seu login do GitHub quando o OpenKnowledge pode usá-lo."
+ ],
"c1LZZH": ["Link copiado."],
"c2ktXL": ["Relatórios anteriores"],
"c3XJ18": ["Ajuda"],
@@ -3920,6 +3936,7 @@
"cFSbbh": [
"Pessoal deste dispositivo. Vale para todos os projetos que você abrir aqui e nunca é compartilhado com os colaboradores."
],
+ "cFgW76": ["Mesclagem bloqueada"],
"cH0dkG": ["Faltava um recurso de que eu precisava"],
"cHhH3i": ["uma ferramenta git necessária"],
"cIFYZn": [
@@ -4293,6 +4310,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["Mover o bloco"],
"f65AOQ": ["Começar a partir de"],
+ "f6suyZ": ["Alterações solicitadas"],
"f8fH8W": ["Design"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["Adiciona um bloco gerenciado a"],
@@ -4416,6 +4434,7 @@
"gBCeDq": ["Sem ancestral comum: os dois ramos adicionaram este arquivo (conflito add/add)."],
"gBbxn_": ["Verificando o estado da sessão"],
"gDkNHk": ["Tem certeza de que deseja excluir \"", ["name"], "\"?"],
+ "gEc6f2": ["Fechado"],
"gGVP4q": ["Clique em <0>+</0> <1/> <2>Criar habilidade</2> <3/> <4>Enviar habilidade</4>."],
"gHSAWT": ["Criar o worktree <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["Mostrar comentários resolvidos (", ["0"], ")"],
@@ -4709,6 +4728,7 @@
"Uma cópia é uma pasta de verdade, e o OK a mantém em sintonia com a fonte: edite a habilidade aqui e todas as cópias são atualizadas. Isso para no momento em que você edita uma cópia à mão fora do OK — a partir daí ela segue seu próprio caminho e aparece como uma habilidade separada."
],
"iOHg1t": ["Abrir a URL incorporada em uma nova aba"],
+ "iPp_qv": ["Aberto"],
"iSLIjg": ["Conectar"],
"iSQTsg": ["Lista ordenada"],
"iSWh95": ["O destino da imagem \"", ["shown"], "\" não corresponde a um arquivo existente."],
@@ -5469,6 +5489,9 @@
"”. Tudo o que apontar para esse arquivo no SKILL.md deixará de funcionar até que ele seja recriado."
],
"psUrB1": ["Os arquivos Markdown e as habilidades criadas não foram alterados."],
+ "pskJOJ": [
+ "Mostra um cartão de pré-visualização quando você passa o cursor sobre um link externo no editor ou sobre uma pull request ou issue do GitHub em um chat com um agente."
+ ],
"psl2Sj": ["Sua alteração ainda está sendo salva — rode o teste de novo em instantes."],
"ptQ3_N": ["desvincular"],
"pvnfJD": ["Escuro"],
@@ -5626,9 +5649,6 @@
"A busca semântica não está disponível com a configuração atual do provedor de embeddings. Confira Configurações → Busca."
],
"rUWrSE": ["Excluir relatório"],
- "rVJpLz": [
- "Ligada — passar o cursor sobre um link externo envia a URL dele ao site de destino para buscar uma pré-visualização."
- ],
"rVxu1k": ["Ainda não há páginas apontando para cá."],
"rXz97P": ["Lista numerada de itens."],
"rZ9HZq": ["A fazer"],
@@ -5748,6 +5768,7 @@
["name"],
" foi movido, mas a fixação não foi movida junto. Fixe-o novamente quando as configurações terminarem de carregar."
],
+ "siMChX": ["Algumas verificações falharam, mas ainda pode ser mesclado"],
"skf5Ix": ["Aumenta ou diminui o recuo das linhas do editor de código."],
"skvOCc": [
"O arquivo está no seu ",
@@ -6115,6 +6136,7 @@
"vfWA_g": [
"Você escolheu ~/Desktop. O OpenKnowledge vai indexar tudo o que estiver na sua área de trabalho."
],
+ "vgGSRn": ["Pronto para mesclar"],
"vhAnzJ": ["Ligar a busca semântica?"],
"vhGTWU": ["OpenKnowledge executou ", ["tool"]],
"viwC-K": ["Falha ao remover o projeto."],
@@ -6278,6 +6300,7 @@
"xEb24l": ["Deixe a gente responder por e-mail"],
"xFQRu4": ["Já tenho isso localmente"],
"xG4tb6": ["A conexão com \"", ["docName"], "\" foi perdida."],
+ "xG8Ish": ["Não planejado"],
"xHGM4U": ["Ocultar a pré-visualização do HTML"],
"xK291b": ["Duas páginas (ímpares)"],
"xKDsGS": ["Ir para a linha ", ["0"], " em ", ["1"]],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index 65825d9eb..ba2a13a93 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -1248,6 +1248,10 @@ msgid "# One pattern per line.\n"
"# !keep.md"
msgstr "# Um padrão por linha.\\n# Exemplos:\\n# drafts/\\n# *.draft.md\\n# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "#{position} na fila de mesclagem"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ mais {overflow}"
@@ -2163,6 +2167,10 @@ msgstr "Aprovado"
msgid "Approved — {optionName}"
msgstr "Aprovado — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "Aprovado e pronto para mesclar"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "Tem certeza de que quer converter este arquivo em um modelo? O arquivo original será excluído. Esta ação não pode ser desfeita."
@@ -2358,6 +2366,10 @@ msgstr "Correção automática ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "A correção automática só vale para problemas com uma correção mecânica conhecida."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "A mesclagem automática está ativada"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2473,6 +2485,10 @@ msgstr "Antes de sincronizar, defina sua identidade para os commits do git:"
msgid "Before you go, mind sharing why?"
msgstr "Antes de ir, quer contar por quê?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "Atrás do ramo base"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "Abaixo"
@@ -2511,6 +2527,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "Equação matemática em bloco renderizada com KaTeX a partir de código LaTeX."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "Mesclagem bloqueada"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "Post de blog"
@@ -2802,6 +2822,10 @@ msgstr "alterado fora"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "Alterado fora do OK desde a última vez que ele escreveu aqui — o estado exibido é o que está no disco agora"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "Alterações solicitadas"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "As alterações são salvas automaticamente neste tema."
@@ -2932,6 +2956,10 @@ msgstr "Verificando..."
msgid "Checklist with checkboxes."
msgstr "Lista de verificação com caixas de seleção."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "As verificações estão em execução"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "Verifica os documentos em busca de problemas de markdown e pode corrigi-los"
@@ -3252,6 +3280,11 @@ msgstr "Fechar janela"
msgid "Close Window"
msgstr "Fechar janela"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "Fechado"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "Grupos"
@@ -5138,10 +5171,6 @@ msgstr "Desativar {file}"
msgid "Disable {id}"
msgstr "Desativar {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "Desativar a pré-visualização de links externos"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "Desativar a busca semântica"
@@ -5330,6 +5359,11 @@ msgstr "Baixando {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "Baixa uma cópia nova do GitHub."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "Rascunho"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "Redigir uma especificação"
@@ -5731,10 +5765,6 @@ msgstr "Ativar Automático (somente Pull)"
msgid "Enable Auto (Pull only)?"
msgstr "Ativar Automático (somente Pull)?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "Ativar a pré-visualização de links externos"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "Habilitar índices"
@@ -6036,6 +6066,10 @@ msgstr "Link externo"
msgid "External link previews"
msgstr "Pré-visualização de links externos"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "Pré-visualização de links externos e cartões de referências do GitHub"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "A pré-visualização de links externos mostra um cartão com o nome do site, o título da página e a descrição quando você passa o cursor sobre um link."
@@ -6982,6 +7016,10 @@ msgstr "Quebra de linha forçada"
msgid "Hard to use"
msgstr "Difícil de usar"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "Tem conflitos de mesclagem"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "Dando uma olhada…"
@@ -7454,6 +7492,10 @@ msgstr "Em um documento de registro: os cabeçalhos de entrada levam a uma data
msgid "In a subfolder"
msgstr "Em uma subpasta"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "Em um chat com um agente, passar o cursor sobre um link para uma pull request ou issue do GitHub pede ao GitHub o status dela, com o seu login do GitHub quando o OpenKnowledge pode usá-lo."
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "Em um documento de índice: as entradas ficam sob o título de uma seção e cada uma carrega um link. A prosa em torno das listas está bem."
@@ -7480,6 +7522,14 @@ msgstr "Em projetos Git, Open Knowledge também adiciona uma regra .gitattribute
msgid "In the Claude Desktop App"
msgstr "No app Claude Desktop"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "Na fila de mesclagem"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "Na fila de mesclagem, mas não pode ser mesclado"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "No plano acima, por favor "
@@ -8123,6 +8173,10 @@ msgstr "Limita o texto combinado enviado em cada requisição. Um fragmento maio
msgid "line {displayLine}"
msgstr "linha {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "Linhas alteradas: {additions} adicionadas, {deletions} removidas"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8599,6 +8653,11 @@ msgstr "Título de seção médio."
msgid "Mention a page"
msgstr "Mencionar uma página"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "Mesclado"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9701,6 +9760,11 @@ msgstr "Ainda não instalada neste projeto."
msgid "Not now"
msgstr "Agora não"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "Não planejado"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "Sem censura. Revise a imagem antes de compartilhar."
@@ -9820,8 +9884,8 @@ msgid "Older"
msgstr "Anteriores"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "Ligada — passar o cursor sobre um link externo envia a URL dele ao site de destino para buscar uma pré-visualização."
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "Ligada — passar o cursor sobre um link externo envia a URL dele ao site de destino para buscar uma pré-visualização, e passar o cursor sobre uma referência do GitHub em um chat com um agente a pede ao GitHub."
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9882,6 +9946,11 @@ msgstr "Só o documento atual usa <0>#{tag}</0>."
msgid "Open"
msgstr "Abrir"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "Aberto"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10246,6 +10315,10 @@ msgstr "Abrir o worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "Abre, percorre, aceita ou dispensa as sugestões de autocompletar do CodeMirror."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "Aberto por {author}"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "Projeto do OpenKnowledge existente aberto em {ancestorPath}"
@@ -11454,6 +11527,10 @@ msgstr "Lê conflitos não resolvidos entre edições"
msgid "Ready"
msgstr "Pronto"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "Pronto para mesclar"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "Pastas e modelos prontos para você começar rápido."
@@ -12024,6 +12101,10 @@ msgstr "obrigatório"
msgid "Required"
msgstr "Obrigatório"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "Verificações obrigatórias estão falhando"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "Requer {brand}."
@@ -13143,8 +13224,8 @@ msgid "Show {hiddenCount} more"
msgstr "Mostrar mais {hiddenCount}"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "Mostra um cartão de pré-visualização quando você passa o cursor sobre um link externo no editor."
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "Mostra um cartão de pré-visualização quando você passa o cursor sobre um link externo no editor ou sobre uma pull request ou issue do GitHub em um chat com um agente."
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13532,6 +13613,10 @@ msgstr "O Slidev demorou demais para iniciar. Tente novamente."
msgid "Small section heading."
msgstr "Título de seção pequeno."
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "Algumas verificações falharam, mas ainda pode ser mesclado"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "Alguns arquivos soltos não puderam ser inseridos com segurança."
@@ -16219,6 +16304,10 @@ msgstr "Seleção de tabela do editor visual"
msgid "Waiting for authorization"
msgstr "Aguardando a autorização"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "Aguardando revisão"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index e7764272a..5d07a66dc 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -174,6 +174,7 @@
],
"11ukmX": ["نام بدلنا ناکام: ", ["0"]],
"12F9WL": ["(کوئی شناخت نہیں)"],
+ "12irWm": ["مرج قطار میں #", ["position"]],
"151wvk": ["سائیڈ بار دکھائیں"],
"15ZHCt": ["اس ورژن میں متن کی کوئی تبدیلی نہیں۔"],
"161NCV": ["روکا جا رہا ہے"],
@@ -240,6 +241,7 @@
"20LVKb": ["اس چیٹ سے باہر کسی چیز نے ایجنٹ پروسیس کو رکنے کے لیے کہا (", ["signal"], ")۔"],
"2277Tu": ["گراف سکیڑیں"],
"237hSL": ["ختم ہو گیا"],
+ "24crK0": ["مرج قطار میں ہے، لیکن مرج نہیں ہو سکتا"],
"253MN6": ["آپ کے تبصرے نہیں بھیجے جا سکے — براہِ کرم دوبارہ کوشش کریں۔"],
"25Pw6a": ["کلون کیا جا رہا ہے"],
"27TLNq": [["displayName"], " CLI فعال کریں"],
@@ -534,7 +536,6 @@
" میں"
],
"5UccRr": ["آخری سرگرمی: ", ["lastActivity"]],
- "5Umg9i": ["بیرونی لنکس کے پیش منظر بند کریں"],
"5WDhAk": ["کسی صفحے یا بیرونی URL سے لنک کریں۔"],
"5W_u0E": [
"سرور دوبارہ شروع نہیں ہو سکا۔ دوبارہ کوشش کرنے کے لیے اس فولڈر میں ok start چلائیں۔"
@@ -781,6 +782,7 @@
"851WA-": ["یہ ترتیبات > AI ٹولز اور CLI میں مقرر کیا جا سکتا ہے"],
"87GMKe": ["کیا اس پروجیکٹ کو نیٹ ورک پر ایکسپوز کیا جائے؟"],
"881Uwh": ["منتخب ٹیبل حذف کریں"],
+ "89SLQ-": ["بیرونی لنکس کے پیش منظر اور GitHub حوالوں کے کارڈ"],
"89TmeV": ["کچھ مہارتیں انتباہ کے ساتھ حذف ہوئیں"],
"89TtiD": [
"پروجیکٹ کی جڑ میں ٹیمپلیٹ «",
@@ -996,6 +998,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["آپ کی تبدیلی لاگو کی جا رہی ہے"],
"AddR83": ["پروجیکٹ نہیں بنایا جا سکا۔ دوبارہ کوشش کریں یا کوئی مختلف مقام منتخب کریں۔"],
+ "AdjDox": ["مسودہ"],
"AeHuzT": ["# ہر سطر پر ایک پیٹرن۔\n# مثالیں:\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["OpenKnowledge نے ", ["subject"], " میں ایک تنازع حل کیا"],
"AeORtB": [
@@ -1084,6 +1087,7 @@
"BWTzAb": ["دستی"],
"BY-g4_": ["پیٹرن شامل کریں"],
"Ba4D2x": ["ٹیمپلیٹ درآمد ہو گیا"],
+ "Bb00X6": ["بیس برانچ سے پیچھے"],
"Bdha5y": ["شائع کیا جا رہا ہے..."],
"BeWTQy": ["ابتدائی پیکس لوڈ ہو رہے ہیں"],
"BfTQmM": ["یہ جزو ہٹا دیا گیا ہے۔"],
@@ -1423,6 +1427,7 @@
"F6pfE9": ["فعال"],
"F8DaWi": ["صرف دیکھنے کے لیے"],
"F8GW_c": [["label"], " مسائل"],
+ "FAYFLL": ["تبدیل شدہ لائنیں: ", ["additions"], " شامل، ", ["deletions"], " حذف"],
"FBIuPX": ["انتخاب صاف کریں"],
"FBknns": ["HTML"],
"FCAcjR": [
@@ -1482,6 +1487,7 @@
"Fr8JGg": ["Zip فائل"],
"FsEXax": ["یہ مکمل نہیں ہوا۔ سرور لاگ دیکھیں اور دوبارہ کوشش کریں۔"],
"Fsx78O": ["اپنے ٹرمینل میں <0>ok</0> کمانڈ شامل کریں"],
+ "FumRbV": ["جانچ جاری ہے"],
"FvMSms": [
"نام بدلنے سے ڈسک پر فائل اور وہ شناخت بدل جاتی ہے جو ایجنٹس یہ ٹیمپلیٹ منتخب کرنے کے لیے استعمال کرتے ہیں۔"
],
@@ -1886,7 +1892,6 @@
],
"KmydK6": ["جلی"],
"KnoB--": ["<0>", ["sanitized"], "</0> کے نام سے محفوظ ہو گا۔"],
- "KpOJFY": ["بیرونی لنکس کے پیش منظر فعال کریں"],
"Kr3VPS": [
"Codex اس وقت تک پوچھتا رہے گا جب تک آپ اس پروجیکٹ کے لیے ٹرمینل میں «ok init» نہ چلائیں۔"
],
@@ -1978,6 +1983,7 @@
],
"LhWYpm": ["OK کے دیگر راستے اپ سٹریم ٹریک ہوتے ہیں:"],
"Li4U-T": [["title"], " کے بارے میں مزید جانیں"],
+ "Lj_5Uv": ["لازمی جانچیں ناکام ہو رہی ہیں"],
"LkQRL8": ["اصل دکھائیں"],
"LlHqdU": ["پروجیکٹ کا ابتدائیہ ہو رہا ہے"],
"LlJ8LD": [
@@ -2045,6 +2051,9 @@
"MCjC9A": [["deleteDescriptorLabel"], " حذف کریں"],
"MDBJwN": ["استعمال میں مشکل"],
"MDZSJe": ["ایجنٹ اپنا طے شدہ کام کب چلاتا ہے۔"],
+ "MGQ4_D": [
+ "فعال — بیرونی لنک پر ماؤس لے جانے سے اس کا URL پیش منظر لانے کے لیے منزل کی سائٹ کو بھیجا جاتا ہے، اور ایجنٹ چیٹ میں کسی GitHub حوالے پر ماؤس لے جانے سے GitHub سے پوچھا جاتا ہے۔"
+ ],
"MGb89P": [
"CodeMirror کے طے شدہ کی میپ کے ذریعے سورس ایڈیٹر کی سطریں داخل کریں، حذف کریں، منتقل کریں، نقل کریں اور کھسکائیں۔"
],
@@ -2118,6 +2127,7 @@
"N7Lau6": ["کمٹ کریں اور مطابق کریں"],
"N7m8E-": ["فائلیں منسلک کریں"],
"NBdIgR": ["تبصرہ"],
+ "NCdpSO": ["مرج ہو گیا"],
"NErvOX": ["یہاں محفوظ ہوا"],
"NEzPEh": ["نئی برانچ بنائیں، یا موجودہ کو چیک آؤٹ کریں، اس کی اپنی ونڈو میں۔"],
"NIWAux": ["#", ["tagDocsName"], " کے تحت کوئی دستاویز رجسٹرڈ نہیں۔"],
@@ -2311,6 +2321,7 @@
"PBxg_E": ["ابھی نہیں"],
"PCSkw2": ["مہارتیں"],
"PEGxvo": ["5 منٹ"],
+ "PESHdL": ["مرج تنازعات موجود ہیں"],
"PGPGsL": ["تفصیل شامل کریں"],
"PGRnbw": ["اپ ڈیٹس آپ کے ریموٹ سے آتی ہیں؛ آپ کی ترامیم اسی کمپیوٹر پر رہتی ہیں۔"],
"PHHEuH": ["حل شدہ تبصرے چھپائیں (", ["0"], ")"],
@@ -2346,7 +2357,6 @@
"OpenKnowledge اسکل محفوظ ہو گئی۔ اسے Claude Desktop میں اپ لوڈ کریں، پھر دوبارہ Cowork پر کلک کریں۔"
],
"Pg83C9": ["«", ["0"], "» اپ لوڈ ہو گیا۔"],
- "PgJDqs": ["ایڈیٹر میں بیرونی لنک پر ماؤس لے جانے پر پیش منظر کا کارڈ دکھائیں۔"],
"PgY2nN": [
"اگر آپ GitHub Enterprise Server استعمال کرتے ہیں تو اس کا ہوسٹ یہاں شامل کریں تاکہ OpenKnowledge سائن ان کر سکے، push کی اجازت چیک کر سکے، اور وہاں ہوسٹ کی گئی ریپوزیٹریز کے لیے شیئر لنکس بنا سکے۔"
],
@@ -2595,6 +2605,7 @@
"SF9qpO": ["رابطے کے لیے اپنا ای میل شیئر کریں"],
"SFEWV6": ["OpenKnowledge مہارتیں لوڈ نہیں ہو سکیں۔ دوبارہ کوشش کریں۔"],
"SFN6dN": ["عنوان 3"],
+ "SFwolL": ["خودکار مرج آن ہے"],
"SIPelo": [
"انڈیکس کی دیکھ بھال موقوف ہے کیونکہ Open Knowledge مطلوبہ Git انضمام کے اصول کی تصدیق نہیں کر سکا۔ Git اور .gitattributes کو چیک کریں، پھر دوبارہ کوشش کریں۔"
],
@@ -2673,6 +2684,7 @@
"TOel0d": ["ایک فائل حذف کرتا ہے"],
"TQJCR6": [["0", "plural", { "one": ["#", " نتیجہ"], "other": ["#", " نتائج"] }]],
"TTDXD8": ["نیا ورک ٹری…"],
+ "TUOigf": ["مرج قطار میں"],
"T_N0ro": ["تبدیلیاں مانگیں…"],
"T_j5G0": ["یہ Slidev کا معاون ورژن نہیں ہے۔"],
"T_wG4n": ["ہم آپ کا GitHub کنکشن نہیں جانچ سکے۔"],
@@ -3011,6 +3023,7 @@
"XfA5xx": [["label"], " فعال"],
"XfzqjK": ["ٹیمپلیٹ «", ["name"], "»"],
"Xg-Ntj": ["ٹوکن کو repo اور read:user دائرہ کار درکار ہیں۔"],
+ "Xg2x4O": ["منظور شدہ اور مرج کے لیے تیار"],
"XgqUOy": ["اس ماخذ پر کوئی مہارت نہیں ملی۔ اگر آپ جاری رکھیں تو درآمد وجہ بتا دے گی۔"],
"XgsZ2F": ["کوڈ ", ["code"], " کاپی کریں"],
"Xhm7gG": ["اثاثوں کی تجاویز"],
@@ -3220,6 +3233,7 @@
"https:// والا URL استعمال کریں — http:// کی اجازت صرف loopback اینڈ پوائنٹس کے لیے ہے۔"
],
"ZjtgI-": ["کمانڈ پیلیٹ"],
+ "ZkY0ic": ["جائزے کا انتظار"],
"ZlCe_H": ["املا کی جانچ کے لیے کوئی زبان دستیاب نہیں۔"],
"Zon_qG": ["مرر کا ماخذ <0>", ["label"], "</0>"],
"ZptNUh": [["hidden"], " مزید دکھائیں"],
@@ -3315,6 +3329,7 @@
"ایک نالج بیس جو Google کے Open Knowledge Format کی پیروی کرتا ہے، جو آپ کی معلومات کو منظم کرنے کا ایک مشترکہ طریقہ ہے۔ اگر آپ چاہتے ہیں کہ آپ کے نوٹس اس فارمیٹ کو سمجھنے والے دیگر ٹولز کے ساتھ اچھی طرح کام کریں تو یہ منتخب کریں۔"
],
"_azghp": ["پچھلی تبدیلی"],
+ "_cX8_o": [["author"], " نے کھولا"],
"_ci9Bj": ["سرور نے نامکمل فولڈر جواب بھیجا۔"],
"_eguJc": ["اپ لوڈ کیا جا رہا ہے"],
"_fQGOp": ["پاتھ میں اسپیس کی اجازت نہیں ہے"],
@@ -3503,6 +3518,9 @@
"bwoxGI": ["آپ کو سائن اِن کرنا ہوگا"],
"bwy8Y7": ["<0>", ["address"], "</0> پر"],
"bzsK8N": ["تحریری پیلیٹ پڑھتا ہے تاکہ نئی دستاویزات پروجیکٹ کے انداز سے مطابقت رکھیں"],
+ "c0dKr4": [
+ "ایجنٹ چیٹ میں کسی GitHub پُل ریکویسٹ یا ایشو کے لنک پر ماؤس لے جانے سے GitHub سے اس کی حالت پوچھی جاتی ہے، اور جب OpenKnowledge آپ کا GitHub سائن اِن استعمال کر سکے تو آپ کے طور پر۔"
+ ],
"c1LZZH": ["لنک نقل ہو گیا۔"],
"c2ktXL": ["پچھلی رپورٹس"],
"c3XJ18": ["مدد"],
@@ -3533,6 +3551,7 @@
"cFSbbh": [
"اسی آلے تک محدود۔ یہاں آپ جو بھی پروجیکٹ کھولیں اس پر لاگو ہوتا ہے اور کبھی ساتھیوں کے ساتھ مشترک نہیں ہوتا۔"
],
+ "cFgW76": ["مرج کرنے سے روکا گیا"],
"cH0dkG": ["اس میں وہ خصوصیت نہیں تھی جو مجھے درکار تھی"],
"cHhH3i": ["ایک مطلوبہ git ٹول"],
"cIFYZn": [
@@ -3846,6 +3865,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["بلاک منتقل کریں"],
"f65AOQ": ["یہاں سے شروع کریں"],
+ "f6suyZ": ["تبدیلیوں کی درخواست کی گئی"],
"f8fH8W": ["ڈیزائن"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["منظم بلاک شامل کرتا ہے اِس میں"],
@@ -3948,6 +3968,7 @@
"gBCeDq": ["کوئی مشترکہ سلف نہیں — دونوں برانچوں نے یہ فائل شامل کی (add/add تنازع)۔"],
"gBbxn_": ["سائن اِن کی حالت جانچی جا رہی ہے"],
"gDkNHk": ["کیا آپ واقعی \"", ["name"], "\" کو حذف کرنا چاہتے ہیں؟"],
+ "gEc6f2": ["بند"],
"gGVP4q": ["<0>+</0> <1/> <2>مہارت بنائیں</2> <3/> <4>مہارت اپ لوڈ کریں</4> پر کلک کریں۔"],
"gHSAWT": ["ورک ٹری <0>“<1>", ["typedName"], "</1>”</0> بنائیں"],
"gHb5bB": ["حل شدہ تبصرے دکھائیں (", ["0"], ")"],
@@ -4213,6 +4234,7 @@
"نقل اپنا الگ حقیقی فولڈر ہوتی ہے، اور OK اسے ماخذ کے ساتھ ہم آہنگ رکھتا ہے: یہاں مہارت میں ترمیم کریں اور ہر نقل تازہ ہو جاتی ہے۔ یہ اسی لمحے رک جاتا ہے جب آپ OK سے باہر کسی نقل میں ہاتھ سے ترمیم کر دیں — اس کے بعد وہ اپنی راہ چلتی ہے اور الگ مہارت کے طور پر ظاہر ہوتی ہے۔"
],
"iOHg1t": ["شامل کیا گیا URL نئے ٹیب میں کھولیں"],
+ "iPp_qv": ["کھلا"],
"iSLIjg": ["منسلک کریں"],
"iSQTsg": ["مرتب فہرست"],
"iSWh95": ["تصویر کا ہدف \"", ["shown"], "\" کسی موجودہ فائل کی طرف اشارہ نہیں کرتا۔"],
@@ -4929,6 +4951,9 @@
" کو مستقل طور پر ہٹا دیتا ہے۔ SKILL.md میں جو کچھ بھی اس کی طرف اشارہ کرتا ہے، دوبارہ بنائے جانے تک کام نہیں کرے گا۔"
],
"psUrB1": ["Markdown فائلوں اور آپ کی بنائی ہوئی اسکلز میں کوئی تبدیلی نہیں کی گئی۔"],
+ "pskJOJ": [
+ "ایڈیٹر میں بیرونی لنک پر یا ایجنٹ چیٹ میں کسی GitHub پُل ریکویسٹ یا ایشو پر ماؤس لے جانے پر پیش منظر کا کارڈ دکھائیں۔"
+ ],
"psl2Sj": ["آپ کی تبدیلی ابھی محفوظ ہو رہی ہے — تھوڑی دیر بعد ٹیسٹ دوبارہ چلائیں۔"],
"ptQ3_N": ["لنک ختم کریں"],
"pvnfJD": ["تاریک"],
@@ -5058,9 +5083,6 @@
"موجودہ ایمبیڈنگ فراہم کنندہ سیٹ اپ کے ساتھ معنوی تلاش دستیاب نہیں ہے۔ ترتیبات ← تلاش دیکھیں۔"
],
"rUWrSE": ["رپورٹ حذف کریں"],
- "rVJpLz": [
- "فعال — بیرونی لنک پر ماؤس لے جانے سے اس کا URL پیش منظر لانے کے لیے منزل کی سائٹ کو بھیجا جاتا ہے۔"
- ],
"rVxu1k": ["ابھی کوئی صفحہ یہاں لنک نہیں کرتا۔"],
"rXz97P": ["آئٹمز کی نمبر شدہ فہرست۔"],
"rZ9HZq": ["کرنا ہے"],
@@ -5172,6 +5194,7 @@
["name"],
" منتقل ہو گیا، لیکن اس کی پن ساتھ منتقل نہیں ہوئی۔ ترتیبات لوڈ ہونے کے بعد اسے دوبارہ پن کریں۔"
],
+ "siMChX": ["کچھ جانچیں ناکام ہوئیں، لیکن یہ اب بھی مرج ہو سکتا ہے"],
"skf5Ix": ["سورس ایڈیٹر کی سطروں کی اندروں یا باہر کی جگہ بدلیں۔"],
"skvOCc": ["فائل آپ کے ", ["trashNoun"], " میں ہے؛ فائل واچر ہم آہنگ کر دے گا۔"],
"sn5BEU": [
@@ -5490,6 +5513,7 @@
"vfWA_g": [
"آپ نے ~/Desktop منتخب کیا۔ OpenKnowledge آپ کے ڈیسک ٹاپ کی ہر چیز اشاریہ بند کرے گا۔"
],
+ "vgGSRn": ["مرج کے لیے تیار"],
"vhAnzJ": ["معنوی تلاش فعال کریں؟"],
"vhGTWU": ["OpenKnowledge نے ", ["tool"], " چلایا"],
"viwC-K": ["پروجیکٹ ہٹایا نہیں جا سکا۔"],
@@ -5648,6 +5672,7 @@
"xEb24l": ["ہمیں ای میل کے ذریعے رابطہ کرنے دیں"],
"xFQRu4": ["یہ میرے پاس پہلے سے مقامی طور پر موجود ہے"],
"xG4tb6": ["«", ["docName"], "» سے رابطہ ختم ہو گیا۔"],
+ "xG8Ish": ["منصوبے میں نہیں"],
"xHGM4U": ["HTML کا پیش منظر چھپائیں"],
"xK291b": ["دو صفحے (طاق)"],
"xKDsGS": [["1"], " میں سطر ", ["0"], " پر جائیں"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index 247993c41..c7bbbe663 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# ہر سطر پر ایک پیٹرن۔\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "مرج قطار میں #{position}"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ {overflow} مزید"
@@ -2167,6 +2171,10 @@ msgstr "منظور شدہ"
msgid "Approved — {optionName}"
msgstr "منظور شدہ — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "منظور شدہ اور مرج کے لیے تیار"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "کیا آپ واقعی اس فائل کو ٹیمپلیٹ میں تبدیل کرنا چاہتے ہیں؟ اصل فائل حذف ہو جائے گی۔ یہ عمل واپس نہیں لیا جا سکتا۔"
@@ -2362,6 +2370,10 @@ msgstr "خودکار اصلاح ({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "خودکار اصلاح صرف ان مسائل پر لاگو ہوتی ہے جن کا معلوم میکانکی حل موجود ہو۔"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "خودکار مرج آن ہے"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "مطابقت پذیری سے پہلے، git کمٹس کے لیے اپن
msgid "Before you go, mind sharing why?"
msgstr "جانے سے پہلے، وجہ بتانا پسند کریں گے؟"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "بیس برانچ سے پیچھے"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "نیچے"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "LaTeX سورس سٹرنگ سے KaTeX کے ذریعے رینڈر کی گئی بلاک ریاضی مساوات۔"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "مرج کرنے سے روکا گیا"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "بلاگ پوسٹ"
@@ -2806,6 +2826,10 @@ msgstr "باہر تبدیل ہوا"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "آخری بار یہاں لکھنے کے بعد OK سے باہر تبدیل ہوا — دکھائی گئی حالت وہی ہے جو اب ڈسک پر ہے"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "تبدیلیوں کی درخواست کی گئی"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "تبدیلیاں خودکار طور پر اس تھیم میں محفوظ ہو جاتی ہیں۔"
@@ -2936,6 +2960,10 @@ msgstr "جانچا جا رہا ہے..."
msgid "Checklist with checkboxes."
msgstr "چیک باکسز کے ساتھ چیک لسٹ۔"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "جانچ جاری ہے"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "دستاویزات میں مارک ڈاؤن کے مسائل جانچتا ہے اور انہیں ٹھیک کر سکتا ہے"
@@ -3256,6 +3284,11 @@ msgstr "ونڈو بند کریں"
msgid "Close Window"
msgstr "ونڈو بند کریں"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "بند"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "کلسٹرز"
@@ -5142,10 +5175,6 @@ msgstr "{file} بند کریں"
msgid "Disable {id}"
msgstr "{id} کو غیر فعال کریں"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "بیرونی لنکس کے پیش منظر بند کریں"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "معنوی تلاش بند کریں"
@@ -5334,6 +5363,11 @@ msgstr "{0} {1} ڈاؤن لوڈ ہو رہا ہے…"
msgid "Downloads a fresh copy from GitHub."
msgstr "GitHub سے تازہ نقل ڈاؤن لوڈ کرتا ہے۔"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "مسودہ"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "ایک اسپیک لکھیں"
@@ -5735,10 +5769,6 @@ msgstr "خودکار (صرف کھینچیں) فعال کریں"
msgid "Enable Auto (Pull only)?"
msgstr "خودکار (صرف کھینچیں) فعال کریں؟"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "بیرونی لنکس کے پیش منظر فعال کریں"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "اشاریہ جات کو فعال کریں۔"
@@ -6040,6 +6070,10 @@ msgstr "بیرونی لنک"
msgid "External link previews"
msgstr "بیرونی لنکس کے پیش منظر"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "بیرونی لنکس کے پیش منظر اور GitHub حوالوں کے کارڈ"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "بیرونی لنکس کے پیش منظر لنک پر ماؤس لے جانے پر سائٹ کا نام، صفحے کا عنوان اور تفصیل والا کارڈ دکھاتے ہیں۔"
@@ -6986,6 +7020,10 @@ msgstr "سخت وقفہ"
msgid "Hard to use"
msgstr "استعمال میں مشکل"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "مرج تنازعات موجود ہیں"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "جائزہ لیا جا رہا ہے…"
@@ -7458,6 +7496,10 @@ msgstr "لاگ دستاویز میں: اندراج کی سرخیاں ISO YYYY-MM
msgid "In a subfolder"
msgstr "ذیلی فولڈر میں"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "ایجنٹ چیٹ میں کسی GitHub پُل ریکویسٹ یا ایشو کے لنک پر ماؤس لے جانے سے GitHub سے اس کی حالت پوچھی جاتی ہے، اور جب OpenKnowledge آپ کا GitHub سائن اِن استعمال کر سکے تو آپ کے طور پر۔"
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "انڈیکس دستاویز میں: اندراجات ایک سیکشن کی سرخی کے نیچے بیٹھتے ہیں اور ہر ایک میں ایک لنک ہوتا ہے۔ فہرستوں کے ارد گرد نثر ٹھیک ہے."
@@ -7484,6 +7526,14 @@ msgstr "Git پروجیکٹس میں، Open Knowledge ایک دائرہ کار .g
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App میں"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "مرج قطار میں"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "مرج قطار میں ہے، لیکن مرج نہیں ہو سکتا"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "اوپر کے منصوبے میں، براہِ کرم "
@@ -8127,6 +8177,10 @@ msgstr "ہر درخواست میں بھیجے جانے والے مجموعی م
msgid "line {displayLine}"
msgstr "سطر {displayLine}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "تبدیل شدہ لائنیں: {additions} شامل، {deletions} حذف"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "درمیانہ سیکشن عنوان۔"
msgid "Mention a page"
msgstr "کسی صفحہ کا حوالہ دیں"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "مرج ہو گیا"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "اس پروجیکٹ میں ابھی نصب نہیں ہے۔"
msgid "Not now"
msgstr "ابھی نہیں"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "منصوبے میں نہیں"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "حساس معلومات نہیں چھپائی گئیں۔ شیئر کرنے سے پہلے تصویر دیکھیں۔"
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "پرانی"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "فعال — بیرونی لنک پر ماؤس لے جانے سے اس کا URL پیش منظر لانے کے لیے منزل کی سائٹ کو بھیجا جاتا ہے۔"
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "فعال — بیرونی لنک پر ماؤس لے جانے سے اس کا URL پیش منظر لانے کے لیے منزل کی سائٹ کو بھیجا جاتا ہے، اور ایجنٹ چیٹ میں کسی GitHub حوالے پر ماؤس لے جانے سے GitHub سے پوچھا جاتا ہے۔"
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "صرف موجودہ دستاویز <0>#{tag}</0> استعمال کرتی
msgid "Open"
msgstr "کھولیں"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "کھلا"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "ورک ٹری کھولیں"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "CodeMirror کی تکمیلی تجاویز کھولیں، ان میں گھومیں، قبول کریں یا برخاست کریں۔"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "{author} نے کھولا"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "{ancestorPath} پر موجود OpenKnowledge پروجیکٹ کھول دیا گیا"
@@ -11458,6 +11531,10 @@ msgstr "ترامیم کے درمیان حل نہ ہونے والے تنازعا
msgid "Ready"
msgstr "تیار"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "مرج کے لیے تیار"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "جلد شروع کرنے کے لیے تیار شدہ فولڈرز اور ٹیمپلیٹس۔"
@@ -12028,6 +12105,10 @@ msgstr "لازمی"
msgid "Required"
msgstr "درکار"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "لازمی جانچیں ناکام ہو رہی ہیں"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "{brand} درکار ہے۔"
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "{hiddenCount} مزید دکھائیں"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "ایڈیٹر میں بیرونی لنک پر ماؤس لے جانے پر پیش منظر کا کارڈ دکھائیں۔"
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "ایڈیٹر میں بیرونی لنک پر یا ایجنٹ چیٹ میں کسی GitHub پُل ریکویسٹ یا ایشو پر ماؤس لے جانے پر پیش منظر کا کارڈ دکھائیں۔"
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev شروع ہوتے ہوئے وقت ختم ہو گیا۔ دوبار
msgid "Small section heading."
msgstr "چھوٹا سیکشن عنوان۔"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "کچھ جانچیں ناکام ہوئیں، لیکن یہ اب بھی مرج ہو سکتا ہے"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "چھوڑی گئی کچھ فائلیں محفوظ طریقے سے شامل نہیں کی جا سکیں۔"
@@ -16223,6 +16308,10 @@ msgstr "بصری ایڈیٹر کے ٹیبل کا انتخاب"
msgid "Waiting for authorization"
msgstr "اجازت کا انتظار ہے"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "جائزے کا انتظار"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index d593691ea..61d969cc1 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -157,6 +157,7 @@
"113NNl": ["OpenKnowledge 服务器响应超时,更改可能已经生效。请让代理先确认,然后再重试。"],
"11ukmX": ["重命名失败:", ["0"]],
"12F9WL": ["(无 id)"],
+ "12irWm": ["合并队列中的第 ", ["position"], " 位"],
"151wvk": ["显示侧边栏"],
"15ZHCt": ["这个版本没有正文改动。"],
"161NCV": ["正在停止"],
@@ -212,6 +213,7 @@
"20LVKb": ["此对话之外的某个来源要求智能体进程停止(", ["signal"], ")。"],
"2277Tu": ["折叠关系图"],
"237hSL": ["已结束"],
+ "24crK0": ["在合并队列中,但无法合并"],
"253MN6": ["无法发送你的评论——请重试。"],
"25Pw6a": ["正在克隆"],
"27TLNq": ["启用 ", ["displayName"], " CLI"],
@@ -462,7 +464,6 @@
["0", "plural", { "other": ["#", " 个文件"] }]
],
"5UccRr": ["最近活动:", ["lastActivity"]],
- "5Umg9i": ["关闭外部链接预览"],
"5WDhAk": ["链接到某个页面或外部 URL。"],
"5W_u0E": ["无法重启服务器。请在此文件夹中运行 ok start 以重试。"],
"5Y17qa": ["适用于(glob 模式;以 ! 开头表示排除;留空表示所有文档)"],
@@ -673,6 +674,7 @@
"851WA-": ["这可以在「设置 > AI 工具与 CLI」中配置"],
"87GMKe": ["要将此项目公开到网络吗?"],
"881Uwh": ["删除选中的表格"],
+ "89SLQ-": ["外部链接预览和 GitHub 引用卡片"],
"89TmeV": ["部分技能删除时带有警告"],
"89TtiD": ["在项目根目录中用模板“", ["displayTitle"], "”新建文件(", ["fileName"], ")"],
"8AjnFz": ["“", ["0"], "”已导入过(内容相同)。"],
@@ -862,6 +864,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["正在应用你的更改"],
"AddR83": ["无法创建项目。请重试或换一个位置。"],
+ "AdjDox": ["草稿"],
"AeHuzT": ["# 每行一个模式。\n# 示例:\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["OpenKnowledge 解决了 ", ["subject"], " 中的冲突"],
"AeORtB": [
@@ -935,6 +938,7 @@
"BWTzAb": ["手动"],
"BY-g4_": ["添加模式"],
"Ba4D2x": ["模板已导入"],
+ "Bb00X6": ["落后于基础分支"],
"Bdha5y": ["正在发布…"],
"BeWTQy": ["正在加载入门包"],
"BfTQmM": ["此组件已被移除。"],
@@ -1229,6 +1233,7 @@
"F6pfE9": ["活跃"],
"F8DaWi": ["仅供查看"],
"F8GW_c": [["label"], " 个问题"],
+ "FAYFLL": ["更改的行数:新增 ", ["additions"], ",删除 ", ["deletions"]],
"FBIuPX": ["清除选择"],
"FBknns": ["HTML"],
"FCAcjR": ["在 OpenKnowledge 内部停靠运行一个真实终端,起始目录为这个项目的文件夹。"],
@@ -1278,6 +1283,7 @@
"Fr8JGg": ["zip 文件"],
"FsEXax": ["操作没有成功。请查看服务器日志后重试。"],
"Fsx78O": ["把 <0>ok</0> 命令添加到你的终端"],
+ "FumRbV": ["检查正在运行"],
"FvMSms": ["重命名会改变磁盘上的文件,以及智能体选择这个模板时使用的 id。"],
"Fx9aOF": ["OpenKnowledge 编辑了一个文档"],
"Fxf4jq": ["描述(可选)"],
@@ -1614,7 +1620,6 @@
],
"KmydK6": ["粗体"],
"KnoB--": ["将保存为 <0>", ["sanitized"], "</0>。"],
- "KpOJFY": ["开启外部链接预览"],
"Kr3VPS": ["在你为这个项目在终端中运行 “ok init” 之前,Codex 仍会询问。"],
"KsAPaB": ["这个分支已在以下位置检出:"],
"KtACeE": ["默认:<0>", ["0"], "</0>"],
@@ -1681,6 +1686,7 @@
"LhQlGR": ["这个项目运行的 OpenKnowledge 版本(v", ["0"], ")比这个应用(v", ["1"], ")旧。"],
"LhWYpm": ["其他 OK 路径在远程受跟踪:"],
"Li4U-T": ["了解更多关于 ", ["title"], " 的信息"],
+ "Lj_5Uv": ["必需的检查未通过"],
"LkQRL8": ["显示原始版本"],
"LlHqdU": ["正在初始化项目"],
"LlJ8LD": [
@@ -1728,6 +1734,9 @@
"MCjC9A": ["删除 ", ["deleteDescriptorLabel"]],
"MDBJwN": ["不好用"],
"MDZSJe": ["智能体执行定时任务的时间。"],
+ "MGQ4_D": [
+ "开启——把鼠标悬停在外部链接上时,会把它的 URL 发送到目标站点以获取预览;在智能体对话中悬停在 GitHub 引用上时,会向 GitHub 查询。"
+ ],
"MGb89P": ["通过 CodeMirror 的默认按键映射,在源码编辑器中插入、删除、移动、复制和缩进行。"],
"MHrjPM": ["标题"],
"MI6Z0f": ["选择一个表情符号插入到光标处。"],
@@ -1797,6 +1806,7 @@
"N7Lau6": ["提交并同步"],
"N7m8E-": ["附加文件"],
"NBdIgR": ["评论"],
+ "NCdpSO": ["已合并"],
"NErvOX": ["保存到"],
"NEzPEh": ["新建一个分支,或检出一个已有分支,各自在独立窗口中打开。"],
"NIWAux": ["#", ["tagDocsName"], " 下没有登记任何文档。"],
@@ -1972,6 +1982,7 @@
"PBxg_E": ["暂时不用"],
"PCSkw2": ["技能"],
"PEGxvo": ["5 分钟"],
+ "PESHdL": ["存在合并冲突"],
"PGPGsL": ["添加描述"],
"PGRnbw": ["更新会从远程仓库流入;你的编辑只保留在这台电脑上。"],
"PHHEuH": ["隐藏已解决的评论(", ["0"], ")"],
@@ -2003,7 +2014,6 @@
"PeNdk1": ["先思考再行动"],
"PezM4_": ["已保存 OpenKnowledge 技能。请在 Claude Desktop 中上传,然后再次点击 Cowork。"],
"Pg83C9": ["已上传“", ["0"], "”。"],
- "PgJDqs": ["在编辑器中把鼠标悬停在外部链接上时显示预览卡片。"],
"PgY2nN": [
"如果你使用 GitHub Enterprise Server,请在此添加其主机,以便 OpenKnowledge 能够登录、检查推送权限,并为托管在其上的仓库创建共享链接。"
],
@@ -2218,6 +2228,7 @@
"SF9qpO": ["留下你的邮箱以便我们跟进"],
"SFEWV6": ["无法加载 OpenKnowledge 技能。请重试。"],
"SFN6dN": ["三级标题"],
+ "SFwolL": ["已开启自动合并"],
"SIPelo": [
"索引维护已暂停,因为 Open Knowledge 无法确认所需的 Git 合并规则。检查 Git 和 .gitattributes,然后重试。"
],
@@ -2274,6 +2285,7 @@
"TOel0d": ["删除文件"],
"TQJCR6": [["0", "plural", { "other": ["#", " 条结果"] }]],
"TTDXD8": ["新建 worktree…"],
+ "TUOigf": ["在合并队列中"],
"T_N0ro": ["请求修改…"],
"T_j5G0": ["这不是受支持的 Slidev 版本。"],
"T_wG4n": ["我们无法检查你的 GitHub 连接。"],
@@ -2581,6 +2593,7 @@
"XfA5xx": ["已启用 ", ["label"]],
"XfzqjK": ["模板“", ["name"], "”"],
"Xg-Ntj": ["这个令牌需要 repo 和 read:user 权限范围。"],
+ "Xg2x4O": ["已批准,可以合并"],
"XgqUOy": ["在那个来源没有找到技能。如果继续,导入会告诉你原因。"],
"XgsZ2F": ["复制代码 ", ["code"]],
"Xhm7gG": ["资源建议"],
@@ -2762,6 +2775,7 @@
"ZhhOwV": ["引用"],
"Zj6JL8": ["请使用 https:// 的 URL——http:// 只允许用于回环端点。"],
"ZjtgI-": ["命令面板"],
+ "ZkY0ic": ["等待审查"],
"ZlCe_H": ["没有可用于拼写检查的语言。"],
"Zon_qG": ["镜像来源 <0>", ["label"], "</0>"],
"ZptNUh": ["再显示 ", ["hidden"], " 个"],
@@ -2846,6 +2860,7 @@
"遵循 Google Open Knowledge Format 的知识库,一种整理知识的通用方式。如果你希望自己的笔记能与理解该格式的其他工具良好协作,请选这个。"
],
"_azghp": ["上一处改动"],
+ "_cX8_o": ["由 ", ["author"], " 创建"],
"_ci9Bj": ["服务器返回的文件夹响应不完整。"],
"_eguJc": ["正在上传"],
"_fQGOp": ["路径中不允许有空格"],
@@ -2997,6 +3012,9 @@
"bwoxGI": ["需要你登录"],
"bwy8Y7": ["在 <0>", ["address"], "</0> 上"],
"bzsK8N": ["读取写作调色板,让新文档符合项目风格"],
+ "c0dKr4": [
+ "在智能体对话中,把鼠标悬停在指向 GitHub 拉取请求或议题的链接上时,会向 GitHub 查询其状态;OpenKnowledge 能使用你的 GitHub 登录时会以你的身份查询。"
+ ],
"c1LZZH": ["链接已复制。"],
"c2ktXL": ["以往的报告"],
"c3XJ18": ["帮助"],
@@ -3023,6 +3041,7 @@
"cFCKYZ": ["拒绝"],
"cFONFy": ["请输入主机名,例如 github.example.com。"],
"cFSbbh": ["仅限这台设备。对你在这里打开的每个项目都生效,而且绝不会分享给协作者。"],
+ "cFgW76": ["已被阻止合并"],
"cH0dkG": ["它缺少我需要的功能"],
"cHhH3i": ["一个必需的 git 工具"],
"cIFYZn": ["在你退出登录期间,无论此设置如何,更新最多每 3 分钟检查一次。"],
@@ -3272,6 +3291,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["移动块"],
"f65AOQ": ["起始于"],
+ "f6suyZ": ["已请求更改"],
"f8fH8W": ["设计"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["添加一个受管理的块到"],
@@ -3362,6 +3382,7 @@
"gBCeDq": ["没有共同祖先 — 两个分支都新增了此文件(add/add 冲突)。"],
"gBbxn_": ["正在检查登录状态"],
"gDkNHk": ["确定要删除“", ["name"], "”吗?"],
+ "gEc6f2": ["已关闭"],
"gGVP4q": ["依次点击 <0>+</0> <1/> <2>创建技能</2> <3/> <4>上传技能</4>。"],
"gHSAWT": ["创建 worktree <0>“<1>", ["typedName"], "</1>”</0>"],
"gHb5bB": ["显示已解决的评论(", ["0"], ")"],
@@ -3591,6 +3612,7 @@
"副本是一个独立的真实文件夹,OK 会让它与来源保持一致:在这里编辑技能,每个副本都会同步更新。一旦你在 OK 之外手动改动某个副本,同步就会停止——从那时起它就自成一份,并显示为一个单独的技能。"
],
"iOHg1t": ["在新标签页中打开嵌入的 URL"],
+ "iPp_qv": ["开放"],
"iSLIjg": ["连接"],
"iSQTsg": ["有序列表"],
"iSWh95": ["图片目标“", ["shown"], "”未指向现有文件。"],
@@ -4209,6 +4231,9 @@
"。SKILL.md 中指向它的内容将失效,直到重新创建为止。"
],
"psUrB1": ["Markdown 文件和你编写的技能未被改动。"],
+ "pskJOJ": [
+ "在编辑器中把鼠标悬停在外部链接上,或在智能体对话中悬停在 GitHub 拉取请求或议题上时显示预览卡片。"
+ ],
"psl2Sj": ["你的更改还在保存中——请稍后再运行一次测试。"],
"ptQ3_N": ["取消链接"],
"pvnfJD": ["深色"],
@@ -4318,7 +4343,6 @@
"rSoi6g": [["displayName"], "(", ["bin"], ")未安装,也不在你的 PATH 中。"],
"rUNOLA": ["当前嵌入提供商设置无法使用语义搜索。请检查“设置”→“搜索”。"],
"rUWrSE": ["删除报告"],
- "rVJpLz": ["开启——把鼠标悬停在外部链接上时,会把它的 URL 发送到目标站点以获取预览。"],
"rVxu1k": ["还没有页面链接到这里。"],
"rXz97P": ["带编号的项目列表。"],
"rZ9HZq": ["待办"],
@@ -4417,6 +4441,7 @@
"sgmRY8": ["已跳过下载 ", ["0"], "。"],
"shNd9t": ["斜杠命令菜单"],
"shRu04": [["name"], " 已移动,但置顶状态未随之移动。设置加载完成后,请重新置顶。"],
+ "siMChX": ["部分检查失败,但仍可合并"],
"skf5Ix": ["增加或减少源码编辑器中各行的缩进。"],
"skvOCc": ["文件已在你的", ["trashNoun"], "中;文件监视器将进行同步。"],
"sn5BEU": [
@@ -4679,6 +4704,7 @@
"ve8vEM": ["验证码已过期——请重试"],
"vfRlCI": ["无法复制完整路径"],
"vfWA_g": ["你选择了 ~/Desktop。OpenKnowledge 会索引你桌面上的所有内容。"],
+ "vgGSRn": ["可以合并"],
"vhAnzJ": ["要开启语义搜索吗?"],
"vhGTWU": ["OpenKnowledge 运行了 ", ["tool"]],
"viwC-K": ["移除项目失败。"],
@@ -4810,6 +4836,7 @@
"xEb24l": ["允许我们通过邮件跟进"],
"xFQRu4": ["我本地已经有了"],
"xG4tb6": ["与“", ["docName"], "”的连接已断开。"],
+ "xG8Ish": ["未计划"],
"xHGM4U": ["隐藏 HTML 预览"],
"xK291b": ["双页(奇数)"],
"xKDsGS": ["跳转到 ", ["1"], " 的第 ", ["0"], " 行"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index 382694ec8..9e00c8c6d 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# 每行一个模式。\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "合并队列中的第 {position} 位"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ 还有 {overflow} 个"
@@ -2167,6 +2171,10 @@ msgstr "已批准"
msgid "Approved — {optionName}"
msgstr "已批准 — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "已批准,可以合并"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "确定要把这个文件转换成模板吗?原文件会被删除。此操作无法撤销。"
@@ -2362,6 +2370,10 @@ msgstr "自动修复({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "自动修复只作用于有已知机械修复方案的问题。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "已开启自动合并"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "同步之前,请设置你用于 git 提交的身份:"
msgid "Before you go, mind sharing why?"
msgstr "在你离开之前,方便说说原因吗?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "落后于基础分支"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "下方"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "由 LaTeX 源码经 KaTeX 渲染的独立数学公式。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "已被阻止合并"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "博客文章"
@@ -2806,6 +2826,10 @@ msgstr "在外部被修改"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "自上次在这里写入后,它在 OK 之外被改动过——显示的是磁盘上现在的状态"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "已请求更改"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "更改会自动保存到此主题。"
@@ -2936,6 +2960,10 @@ msgstr "正在检查…"
msgid "Checklist with checkboxes."
msgstr "带复选框的清单。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "检查正在运行"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "检查文档中的 Markdown 问题,并可修复"
@@ -3256,6 +3284,11 @@ msgstr "关闭窗口"
msgid "Close Window"
msgstr "关闭窗口"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "已关闭"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "聚类"
@@ -5142,10 +5175,6 @@ msgstr "禁用 {file}"
msgid "Disable {id}"
msgstr "禁用 {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "关闭外部链接预览"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "关闭语义搜索"
@@ -5334,6 +5363,11 @@ msgstr "正在下载 {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "从 GitHub 下载一份全新的副本。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "草稿"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "起草一份规格"
@@ -5735,10 +5769,6 @@ msgstr "启用自动(仅拉取)"
msgid "Enable Auto (Pull only)?"
msgstr "启用自动(仅拉取)?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "开启外部链接预览"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "启用索引"
@@ -6040,6 +6070,10 @@ msgstr "外部链接"
msgid "External link previews"
msgstr "外部链接预览"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "外部链接预览和 GitHub 引用卡片"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "开启后,把鼠标悬停在链接上会显示一张卡片,包含站点名称、页面标题和描述。"
@@ -6986,6 +7020,10 @@ msgstr "强制换行"
msgid "Hard to use"
msgstr "不好用"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "存在合并冲突"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "正在四处看看…"
@@ -7458,6 +7496,10 @@ msgstr "在日志文档中:条目标题以 ISO YYYY-MM-DD 日期开头,最
msgid "In a subfolder"
msgstr "在子文件夹中"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "在智能体对话中,把鼠标悬停在指向 GitHub 拉取请求或议题的链接上时,会向 GitHub 查询其状态;OpenKnowledge 能使用你的 GitHub 登录时会以你的身份查询。"
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "在索引文档中:条目位于节标题下,每个条目都带有一个链接。围绕列表的散文很好。"
@@ -7484,6 +7526,14 @@ msgstr "在 Git 项目中,Open Knowledge 还添加了一个作用域 .gitattri
msgid "In the Claude Desktop App"
msgstr "在 Claude 桌面应用中"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "在合并队列中"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "在合并队列中,但无法合并"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "在上面的计划中,请 "
@@ -8127,6 +8177,10 @@ msgstr "限制每个请求发送的文本总量。超出预算的单个块会单
msgid "line {displayLine}"
msgstr "第 {displayLine} 行"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "更改的行数:新增 {additions},删除 {deletions}"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "中号章节标题。"
msgid "Mention a page"
msgstr "提及页面"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "已合并"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "尚未安装到此项目。"
msgid "Not now"
msgstr "暂时不用"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "未计划"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "未经脱敏。分享前请检查图片。"
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "更早"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "开启——把鼠标悬停在外部链接上时,会把它的 URL 发送到目标站点以获取预览。"
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "开启——把鼠标悬停在外部链接上时,会把它的 URL 发送到目标站点以获取预览;在智能体对话中悬停在 GitHub 引用上时,会向 GitHub 查询。"
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "只有当前文档使用 <0>#{tag}</0>。"
msgid "Open"
msgstr "打开"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "开放"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "打开 worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "打开、浏览、接受或关闭 CodeMirror 的补全建议。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "由 {author} 创建"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "已打开位于 {ancestorPath} 的现有 OpenKnowledge 项目"
@@ -11458,6 +11531,10 @@ msgstr "读取编辑之间未解决的冲突"
msgid "Ready"
msgstr "就绪"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "可以合并"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "现成的文件夹和模板,帮你快速上手。"
@@ -12028,6 +12105,10 @@ msgstr "必填"
msgid "Required"
msgstr "必填"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "必需的检查未通过"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "需要 {brand}。"
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "再显示 {hiddenCount} 个"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "在编辑器中把鼠标悬停在外部链接上时显示预览卡片。"
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "在编辑器中把鼠标悬停在外部链接上,或在智能体对话中悬停在 GitHub 拉取请求或议题上时显示预览卡片。"
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev 启动超时。请重试。"
msgid "Small section heading."
msgstr "小号章节标题。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "部分检查失败,但仍可合并"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "部分拖放的文件无法安全插入。"
@@ -16223,6 +16308,10 @@ msgstr "可视化编辑器表格选区"
msgid "Waiting for authorization"
msgstr "正在等待授权"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "等待审查"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index b09a4c03c..817d52615 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -157,6 +157,7 @@
"113NNl": ["OpenKnowledge 伺服器回應逾時,變更可能已經生效。請讓代理先確認,然後再重試。"],
"11ukmX": ["重新命名失敗:", ["0"]],
"12F9WL": ["(無 id)"],
+ "12irWm": ["合併佇列中的第 ", ["position"], " 位"],
"151wvk": ["顯示側邊欄"],
"15ZHCt": ["這個版本沒有內文變更。"],
"161NCV": ["正在停止"],
@@ -214,6 +215,7 @@
"20LVKb": ["此對話之外的某個來源要求智慧代理程序停止(", ["signal"], ")。"],
"2277Tu": ["摺疊關係圖"],
"237hSL": ["已結束"],
+ "24crK0": ["在合併佇列中,但無法合併"],
"253MN6": ["無法傳送你的註解——請再試一次。"],
"25Pw6a": ["正在複製"],
"27TLNq": ["啟用 ", ["displayName"], " CLI"],
@@ -464,7 +466,6 @@
["0", "plural", { "other": ["#", " 個檔案"] }]
],
"5UccRr": ["最近活動:", ["lastActivity"]],
- "5Umg9i": ["關閉外部連結預覽"],
"5WDhAk": ["連到某個頁面或外部 URL。"],
"5W_u0E": ["無法重新啟動伺服器。請在此資料夾中執行 ok start 以重試。"],
"5Y17qa": ["適用於(glob 模式;開頭的 ! 表示排除;留空表示所有文件)"],
@@ -673,6 +674,7 @@
"851WA-": ["這可以在「設定 > AI 工具與 CLI」中設定"],
"87GMKe": ["要將此專案公開到網路上嗎?"],
"881Uwh": ["刪除選取的表格"],
+ "89SLQ-": ["外部連結預覽和 GitHub 參照卡片"],
"89TmeV": ["部分技能刪除時帶有警告"],
"89TtiD": ["在專案根目錄中用範本「", ["displayTitle"], "」新增檔案(", ["fileName"], ")"],
"8AjnFz": ["「", ["0"], "」先前已匯入過(內容相同)。"],
@@ -862,6 +864,7 @@
"AcK_r0": ["Claude CLI"],
"AdcGcG": ["正在套用你的變更"],
"AddR83": ["無法建立專案。請再試一次,或換一個位置。"],
+ "AdjDox": ["草稿"],
"AeHuzT": ["# 每行一個模式。\n# 範例:\n# drafts/\n# *.draft.md\n# !keep.md"],
"AeLo3p": ["OpenKnowledge 解決了 ", ["subject"], " 中的衝突"],
"AeORtB": [
@@ -935,6 +938,7 @@
"BWTzAb": ["手動"],
"BY-g4_": ["新增模式"],
"Ba4D2x": ["範本已匯入"],
+ "Bb00X6": ["落後於基礎分支"],
"Bdha5y": ["正在發布…"],
"BeWTQy": ["正在載入入門套件"],
"BfTQmM": ["此元件已被移除。"],
@@ -1233,6 +1237,7 @@
"F6pfE9": ["使用中"],
"F8DaWi": ["僅供檢視"],
"F8GW_c": [["label"], " 個問題"],
+ "FAYFLL": ["變更的行數:新增 ", ["additions"], ",刪除 ", ["deletions"]],
"FBIuPX": ["清除選擇"],
"FBknns": ["HTML"],
"FCAcjR": ["在 OpenKnowledge 內部停靠執行一個真正的終端機,起始位置是這個專案的資料夾。"],
@@ -1282,6 +1287,7 @@
"Fr8JGg": ["zip 檔案"],
"FsEXax": ["操作沒有成功。請查看伺服器記錄後再試一次。"],
"Fsx78O": ["把 <0>ok</0> 指令加到你的終端機"],
+ "FumRbV": ["檢查正在執行"],
"FvMSms": ["重新命名會改變磁碟上的檔案,以及代理挑選這個範本時使用的 id。"],
"Fx9aOF": ["OpenKnowledge 編輯了一個文件"],
"Fxf4jq": ["描述(選填)"],
@@ -1626,7 +1632,6 @@
],
"KmydK6": ["粗體"],
"KnoB--": ["會儲存成 <0>", ["sanitized"], "</0>。"],
- "KpOJFY": ["開啟外部連結預覽"],
"Kr3VPS": ["在你為這個專案在終端機中執行「ok init」之前,Codex 仍然會詢問。"],
"KsAPaB": ["這個分支已在以下位置簽出:"],
"KtACeE": ["預設:<0>", ["0"], "</0>"],
@@ -1699,6 +1704,7 @@
],
"LhWYpm": ["其他 OK 路徑在上游受追蹤:"],
"Li4U-T": ["進一步了解 ", ["title"]],
+ "Lj_5Uv": ["必要的檢查未通過"],
"LkQRL8": ["顯示原始版本"],
"LlHqdU": ["正在初始化專案"],
"LlJ8LD": [
@@ -1746,6 +1752,9 @@
"MCjC9A": ["刪除 ", ["deleteDescriptorLabel"]],
"MDBJwN": ["不好用"],
"MDZSJe": ["代理執行排程工作的時間。"],
+ "MGQ4_D": [
+ "開啟——把游標停在外部連結上時,會把它的 URL 送到目標網站以取得預覽;在智慧代理對話中停在 GitHub 參照上時,會向 GitHub 查詢。"
+ ],
"MGb89P": ["透過 CodeMirror 的預設按鍵對應,在原始碼編輯器中插入、刪除、移動、複製和縮排行。"],
"MHrjPM": ["標題"],
"MI6Z0f": ["挑一個表情符號插入到游標處。"],
@@ -1815,6 +1824,7 @@
"N7Lau6": ["提交並同步"],
"N7m8E-": ["附加檔案"],
"NBdIgR": ["註解"],
+ "NCdpSO": ["已合併"],
"NErvOX": ["儲存到"],
"NEzPEh": ["建立新分支,或簽出既有分支,各自在獨立視窗中開啟。"],
"NIWAux": ["#", ["tagDocsName"], " 底下沒有登記任何文件。"],
@@ -1990,6 +2000,7 @@
"PBxg_E": ["現在不用"],
"PCSkw2": ["技能"],
"PEGxvo": ["5 分鐘"],
+ "PESHdL": ["有合併衝突"],
"PGPGsL": ["新增描述"],
"PGRnbw": ["更新會從遠端儲存庫流入;你的編輯只保留在這台電腦上。"],
"PHHEuH": ["隱藏已解決的註解(", ["0"], ")"],
@@ -2021,7 +2032,6 @@
"PeNdk1": ["先思考再行動"],
"PezM4_": ["已儲存 OpenKnowledge 技能。請在 Claude Desktop 中上傳,然後再次點選 Cowork。"],
"Pg83C9": ["已上傳「", ["0"], "」。"],
- "PgJDqs": ["在編輯器中把游標停在外部連結上時顯示預覽卡片。"],
"PgY2nN": [
"如果你使用 GitHub Enterprise Server,請在此新增其主機,讓 OpenKnowledge 能夠登入、檢查推送權限,並為託管在其中的存放庫建立分享連結。"
],
@@ -2236,6 +2246,7 @@
"SF9qpO": ["留下你的電子郵件以便我們跟進"],
"SFEWV6": ["無法載入 OpenKnowledge 技能。請再試一次。"],
"SFN6dN": ["標題 3"],
+ "SFwolL": ["已開啟自動合併"],
"SIPelo": [
"索引維護已暫停,因為 Open Knowledge 無法確認所需的 Git 合併規則。檢查 Git 和 .gitattributes,然後再試一次。"
],
@@ -2292,6 +2303,7 @@
"TOel0d": ["刪除檔案"],
"TQJCR6": [["0", "plural", { "other": ["#", " 筆結果"] }]],
"TTDXD8": ["新增 worktree…"],
+ "TUOigf": ["在合併佇列中"],
"T_N0ro": ["要求變更…"],
"T_j5G0": ["這不是支援的 Slidev 版本。"],
"T_wG4n": ["我們無法檢查你的 GitHub 連線。"],
@@ -2601,6 +2613,7 @@
"XfA5xx": ["已啟用 ", ["label"]],
"XfzqjK": ["範本「", ["name"], "」"],
"Xg-Ntj": ["這個權杖需要 repo 和 read:user 權限範圍。"],
+ "Xg2x4O": ["已核准,可以合併"],
"XgqUOy": ["在那個來源找不到技能。如果繼續,匯入會告訴你原因。"],
"XgsZ2F": ["複製代碼 ", ["code"]],
"Xhm7gG": ["資源建議"],
@@ -2778,6 +2791,7 @@
"ZhhOwV": ["引用"],
"Zj6JL8": ["請使用 https:// 的 URL——http:// 只允許用在回環端點。"],
"ZjtgI-": ["指令面板"],
+ "ZkY0ic": ["等待審查"],
"ZlCe_H": ["沒有可用於拼字檢查的語言。"],
"Zon_qG": ["鏡像來源 <0>", ["label"], "</0>"],
"ZptNUh": ["再顯示 ", ["hidden"], " 個"],
@@ -2862,6 +2876,7 @@
"遵循 Google Open Knowledge Format 的知識庫,一種整理知識的共通做法。如果你希望自己的筆記能和看得懂這個格式的其他工具好好搭配,請選這個。"
],
"_azghp": ["上一處變更"],
+ "_cX8_o": ["由 ", ["author"], " 建立"],
"_ci9Bj": ["伺服器傳回的資料夾回應不完整。"],
"_eguJc": ["正在上傳"],
"_fQGOp": ["路徑中不允許有空格"],
@@ -3013,6 +3028,9 @@
"bwoxGI": ["需要你登入"],
"bwy8Y7": ["在 <0>", ["address"], "</0> 上"],
"bzsK8N": ["讀取寫作調色盤,讓新文件符合專案風格"],
+ "c0dKr4": [
+ "在智慧代理對話中,把游標停在指向 GitHub 提取要求或議題的連結上時,會向 GitHub 查詢其狀態;OpenKnowledge 能使用你的 GitHub 登入時會以你的身分查詢。"
+ ],
"c1LZZH": ["已複製連結。"],
"c2ktXL": ["先前的回報"],
"c3XJ18": ["說明"],
@@ -3039,6 +3057,7 @@
"cFCKYZ": ["拒絕"],
"cFONFy": ["請輸入主機名稱,例如 github.example.com。"],
"cFSbbh": ["只限這台裝置。對你在這裡打開的每個專案都生效,而且絕不會分享給協作者。"],
+ "cFgW76": ["已被阻擋合併"],
"cH0dkG": ["它缺少我需要的功能"],
"cHhH3i": ["一個必要的 git 工具"],
"cIFYZn": ["在你登出期間,無論此設定為何,更新最多每 3 分鐘檢查一次。"],
@@ -3288,6 +3307,7 @@
"f14doC": ["Slidev"],
"f1XQyZ": ["移動區塊"],
"f65AOQ": ["起點"],
+ "f6suyZ": ["已要求變更"],
"f8fH8W": ["設計"],
"f8jU-L": [["0"], "/", ["1"], " — ", ["2"]],
"f9lQNJ": ["加入一個受管理的區塊到"],
@@ -3378,6 +3398,7 @@
"gBCeDq": ["沒有共同祖先 — 兩個分支都新增了此檔案(add/add 衝突)。"],
"gBbxn_": ["正在檢查登入狀態"],
"gDkNHk": ["確定要刪除「", ["name"], "」嗎?"],
+ "gEc6f2": ["已關閉"],
"gGVP4q": ["依序點 <0>+</0> <1/> <2>建立技能</2> <3/> <4>上傳技能</4>。"],
"gHSAWT": ["建立 worktree <0>「<1>", ["typedName"], "</1>」</0>"],
"gHb5bB": ["顯示已解決的註解(", ["0"], ")"],
@@ -3607,6 +3628,7 @@
"副本是一個獨立的真實資料夾,OK 會讓它與來源保持同步:在這裡編輯技能,每個副本都會跟著更新。一旦你在 OK 之外手動改動某個副本,同步就會停止——從那時起它就自成一份,並顯示為另一個技能。"
],
"iOHg1t": ["在新分頁中開啟嵌入的 URL"],
+ "iPp_qv": ["開放"],
"iSLIjg": ["連接"],
"iSQTsg": ["編號清單"],
"iSWh95": ["圖片目標「", ["shown"], "」未指向現有檔案。"],
@@ -4227,6 +4249,9 @@
"。SKILL.md 中指向它的內容將失效,直到重新建立為止。"
],
"psUrB1": ["Markdown 檔案和你編寫的技能未被更動。"],
+ "pskJOJ": [
+ "在編輯器中把游標停在外部連結上,或在智慧代理對話中停在 GitHub 提取要求或議題上時顯示預覽卡片。"
+ ],
"psl2Sj": ["你的變更還在儲存中——請等一下再執行一次測試。"],
"ptQ3_N": ["取消連結"],
"pvnfJD": ["深色"],
@@ -4336,7 +4361,6 @@
"rSoi6g": [["displayName"], "(", ["bin"], ")未安裝,也不在你的 PATH 中。"],
"rUNOLA": ["目前的嵌入提供商設定無法使用語意搜尋。請檢查「設定」→「搜尋」。"],
"rUWrSE": ["刪除回報"],
- "rVJpLz": ["開啟——把游標停在外部連結上時,會把它的 URL 送到目標網站以取得預覽。"],
"rVxu1k": ["還沒有頁面連到這裡。"],
"rXz97P": ["有編號的項目清單。"],
"rZ9HZq": ["待辦"],
@@ -4435,6 +4459,7 @@
"sgmRY8": ["已略過下載 ", ["0"], "。"],
"shNd9t": ["斜線指令選單"],
"shRu04": [["name"], " 已移動,但置頂狀態未隨之移動。設定載入完成後,請重新置頂。"],
+ "siMChX": ["部分檢查失敗,但仍可合併"],
"skf5Ix": ["增加或減少原始碼編輯器中各行的縮排。"],
"skvOCc": ["檔案已在你的", ["trashNoun"], "中;檔案監看程式會進行同步。"],
"sn5BEU": [
@@ -4699,6 +4724,7 @@
"ve8vEM": ["驗證碼已過期——請再試一次"],
"vfRlCI": ["無法複製完整路徑"],
"vfWA_g": ["你選了 ~/Desktop。OpenKnowledge 會把你桌面上的所有東西都建立索引。"],
+ "vgGSRn": ["可以合併"],
"vhAnzJ": ["要開啟語意搜尋嗎?"],
"vhGTWU": ["OpenKnowledge 執行了 ", ["tool"]],
"viwC-K": ["移除專案失敗。"],
@@ -4832,6 +4858,7 @@
"xEb24l": ["允許我們用電子郵件跟進"],
"xFQRu4": ["我本機已經有了"],
"xG4tb6": ["與「", ["docName"], "」的連線已中斷。"],
+ "xG8Ish": ["未規劃"],
"xHGM4U": ["隱藏 HTML 預覽"],
"xK291b": ["雙頁(奇數)"],
"xKDsGS": ["移至 ", ["1"], " 的第 ", ["0"], " 行"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index 1de8f5445..f7e521322 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -1252,6 +1252,10 @@ msgstr "# 每行一個模式。\n"
"# *.draft.md\n"
"# !keep.md"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "#{position} in the merge queue"
+msgstr "合併佇列中的第 {position} 位"
+
#: src/components/GraphLegend.tsx
msgid "+ {overflow} more"
msgstr "+ 還有 {overflow} 個"
@@ -2167,6 +2171,10 @@ msgstr "已核准"
msgid "Approved — {optionName}"
msgstr "已核准 — {optionName}"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Approved and ready to merge"
+msgstr "已核准,可以合併"
+
#: src/components/FileTree.tsx
msgid "Are you sure you want to convert this file into a template? The original file will be deleted. This action cannot be undone."
msgstr "確定要把這個檔案轉換成範本嗎?原始檔案會被刪除。這個動作無法復原。"
@@ -2362,6 +2370,10 @@ msgstr "自動修正({count})"
msgid "Auto-fix applies only to problems with a known mechanical fix."
msgstr "自動修正只作用於有已知機械式修正方式的問題。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Auto-merge is on"
+msgstr "已開啟自動合併"
+
#: src/components/FolderTimelineCard.tsx
#: src/components/TimelinePanel.tsx
msgid "Auto-save"
@@ -2477,6 +2489,10 @@ msgstr "同步之前,請先設定你用於 git 提交的身分:"
msgid "Before you go, mind sharing why?"
msgstr "在你離開之前,方便說說原因嗎?"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Behind the base branch"
+msgstr "落後於基礎分支"
+
#: src/editor/slash-command/items.tsx
msgid "Below"
msgstr "下方"
@@ -2515,6 +2531,10 @@ msgstr "Blob Run"
msgid "Block math equation rendered with KaTeX from a LaTeX source string."
msgstr "由 LaTeX 原始碼經 KaTeX 顯示的獨立數學公式。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Blocked from merging"
+msgstr "已被阻擋合併"
+
#: src/components/TemplateForm.tsx
msgid "Blog post"
msgstr "部落格文章"
@@ -2806,6 +2826,10 @@ msgstr "在外部被改動"
msgid "Changed outside OK since it last wrote here — the state shown is what's on disk now"
msgstr "自從它上次寫入這裡之後,在 OK 之外被改動過——顯示的是磁碟上現在的狀態"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Changes requested"
+msgstr "已要求變更"
+
#: src/components/settings/CustomThemeEditor.tsx
msgid "Changes save automatically to this theme."
msgstr "變更會自動儲存到這個主題。"
@@ -2936,6 +2960,10 @@ msgstr "正在檢查…"
msgid "Checklist with checkboxes."
msgstr "帶核取方塊的清單。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Checks are running"
+msgstr "檢查正在執行"
+
#: src/lib/acp/tool-call-display.ts
msgid "Checks documents for markdown problems and can fix them"
msgstr "檢查文件中的 Markdown 問題,並可修正"
@@ -3256,6 +3284,11 @@ msgstr "關閉視窗"
msgid "Close Window"
msgstr "關閉視窗"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Closed"
+msgstr "已關閉"
+
#: src/components/GraphLegend.tsx
msgid "Clusters"
msgstr "叢集"
@@ -5142,10 +5175,6 @@ msgstr "停用 {file}"
msgid "Disable {id}"
msgstr "停用 {id}"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Disable external link previews"
-msgstr "關閉外部連結預覽"
-
#: src/components/settings/SearchSection.tsx
msgid "Disable semantic search"
msgstr "關閉語意搜尋"
@@ -5334,6 +5363,11 @@ msgstr "正在下載 {0} {1}…"
msgid "Downloads a fresh copy from GitHub."
msgstr "從 GitHub 下載一份全新的副本。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Draft"
+msgstr "草稿"
+
#: src/components/empty-state/use-create-suggestions.ts
msgid "Draft a spec"
msgstr "草擬一份規格"
@@ -5735,10 +5769,6 @@ msgstr "啟用自動(僅拉取)"
msgid "Enable Auto (Pull only)?"
msgstr "啟用自動(僅拉取)?"
-#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Enable external link previews"
-msgstr "開啟外部連結預覽"
-
#: src/components/settings/LintingSection.tsx
msgid "Enable indexes"
msgstr "啟用索引"
@@ -6040,6 +6070,10 @@ msgstr "外部連結"
msgid "External link previews"
msgstr "外部連結預覽"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "External link previews and GitHub reference cards"
+msgstr "外部連結預覽和 GitHub 參照卡片"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "開啟外部連結預覽後,把游標停在連結上會顯示一張卡片,包含網站名稱、頁面標題和描述。"
@@ -6986,6 +7020,10 @@ msgstr "強制換行"
msgid "Hard to use"
msgstr "不好用"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Has merge conflicts"
+msgstr "有合併衝突"
+
#: src/components/acp/working-status.ts
msgid "Having a look around…"
msgstr "四處看看…"
@@ -7458,6 +7496,10 @@ msgstr "在日誌文件中:條目標題以 ISO YYYY-MM-DD 日期開頭,最
msgid "In a subfolder"
msgstr "在子資料夾中"
+#: src/components/settings/LinkPreviewsSection.tsx
+msgid "In an agent chat, hovering a link to a GitHub pull request or issue asks GitHub for its status, signed in as you when OpenKnowledge can use your GitHub sign-in."
+msgstr "在智慧代理對話中,把游標停在指向 GitHub 提取要求或議題的連結上時,會向 GitHub 查詢其狀態;OpenKnowledge 能使用你的 GitHub 登入時會以你的身分查詢。"
+
#: src/components/settings/LintingSection.tsx
msgid "In an index document: entries sit under a section heading and each one carries a link. Prose around the lists is fine."
msgstr "在索引文件中:條目位於節標題下,每個條目都帶有連結。圍繞列表的散文很好。"
@@ -7484,6 +7526,14 @@ msgstr "在 Git 專案中,Open Knowledge 也新增了一個作用域 .gitattri
msgid "In the Claude Desktop App"
msgstr "在 Claude Desktop App 中"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue"
+msgstr "在合併佇列中"
+
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "In the merge queue, but it can't merge"
+msgstr "在合併佇列中,但無法合併"
+
#: src/components/acp/ThreadView.tsx
msgid "In the plan above, please "
msgstr "在上面的計畫中,請 "
@@ -8127,6 +8177,10 @@ msgstr "限制每個請求傳送的文字總量。超出預算的單一區塊會
msgid "line {displayLine}"
msgstr "第 {displayLine} 行"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Lines changed: {additions} added, {deletions} removed"
+msgstr "變更的行數:新增 {additions},刪除 {deletions}"
+
#: src/components/settings/SkillTargetsPicker.tsx
#: src/editor/bubble-menu/LinkEditPopover.tsx
#: src/editor/slash-command/component-items.tsx
@@ -8603,6 +8657,11 @@ msgstr "中型章節標題。"
msgid "Mention a page"
msgstr "提及頁面"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Merged"
+msgstr "已合併"
+
#: src/components/MermaidDocEditor.tsx
#: src/editor/components/Mermaid.tsx
msgid "Mermaid diagram"
@@ -9705,6 +9764,11 @@ msgstr "尚未安裝到此專案。"
msgid "Not now"
msgstr "現在不用"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Not planned"
+msgstr "未規劃"
+
#: src/components/ReportBugDialogBody.tsx
msgid "Not redacted. Check the image before sharing."
msgstr "未遮蔽敏感資訊。分享前請檢查圖片。"
@@ -9824,8 +9888,8 @@ msgid "Older"
msgstr "較早"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "On — hovering an external link sends its URL to the destination site to fetch a preview."
-msgstr "開啟——把游標停在外部連結上時,會把它的 URL 送到目標網站以取得預覽。"
+msgid "On — hovering an external link sends its URL to the destination site to fetch a preview, and hovering a GitHub reference in an agent chat asks GitHub for it."
+msgstr "開啟——把游標停在外部連結上時,會把它的 URL 送到目標網站以取得預覽;在智慧代理對話中停在 GitHub 參照上時,會向 GitHub 查詢。"
#: src/components/settings/SearchSection.tsx
msgid "On — your search queries and the text of matching pages are sent to your embeddings provider (OpenAI by default) to compute embeddings."
@@ -9886,6 +9950,11 @@ msgstr "只有目前這份文件用到 <0>#{tag}</0>。"
msgid "Open"
msgstr "開啟"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgctxt "GitHub pull request or issue state"
+msgid "Open"
+msgstr "開放"
+
#. placeholder {0}: status.remote.label
#: src/components/settings/SyncSection.tsx
#: src/components/SyncStatusBadge.tsx
@@ -10250,6 +10319,10 @@ msgstr "開啟 worktree"
msgid "Open, navigate, accept, or dismiss CodeMirror completion suggestions."
msgstr "開啟、瀏覽、接受或關閉 CodeMirror 的自動完成建議。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Opened by {author}"
+msgstr "由 {author} 建立"
+
#: src/lib/install-onboarding-toast.ts
msgid "Opened existing OpenKnowledge project at {ancestorPath}"
msgstr "已開啟位於 {ancestorPath} 的現有 OpenKnowledge 專案"
@@ -11458,6 +11531,10 @@ msgstr "讀取編輯之間尚未解決的衝突"
msgid "Ready"
msgstr "就緒"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Ready to merge"
+msgstr "可以合併"
+
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "現成的資料夾和範本,幫你快速上手。"
@@ -12028,6 +12105,10 @@ msgstr "必填"
msgid "Required"
msgstr "必填"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Required checks are failing"
+msgstr "必要的檢查未通過"
+
#: src/components/handoff/OpenInAgentMenuItem.tsx
msgid "Requires {brand}."
msgstr "需要 {brand}。"
@@ -13147,8 +13228,8 @@ msgid "Show {hiddenCount} more"
msgstr "再顯示 {hiddenCount} 個"
#: src/components/settings/LinkPreviewsSection.tsx
-msgid "Show a preview card when you hover an external link in the editor."
-msgstr "在編輯器中把游標停在外部連結上時顯示預覽卡片。"
+msgid "Show a preview card when you hover an external link in the editor or a GitHub pull request or issue in an agent chat."
+msgstr "在編輯器中把游標停在外部連結上,或在智慧代理對話中停在 GitHub 提取要求或議題上時顯示預覽卡片。"
#: src/components/settings/OkignoreSection.tsx
msgid "Show advanced"
@@ -13536,6 +13617,10 @@ msgstr "Slidev 啟動逾時。請再試一次。"
msgid "Small section heading."
msgstr "小型章節標題。"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Some checks failed, but it can still merge"
+msgstr "部分檢查失敗,但仍可合併"
+
#: src/components/TerminalPanel.tsx
msgid "Some dropped files could not be inserted safely."
msgstr "部分拖放的檔案無法安全插入。"
@@ -16223,6 +16308,10 @@ msgstr "視覺化編輯器表格選取範圍"
msgid "Waiting for authorization"
msgstr "正在等待授權"
+#: src/components/acp/GitHubReferenceCard.tsx
+msgid "Waiting for review"
+msgstr "等待審查"
+
#: src/components/acp/ThreadView.tsx
#: src/components/SessionsHost.tsx
msgid "Waiting for your approval"
diff --git a/packages/app/tests/integration/attribution-sweep-coverage.test.ts b/packages/app/tests/integration/attribution-sweep-coverage.test.ts
index a0f75c468..b3dc22616 100644
--- a/packages/app/tests/integration/attribution-sweep-coverage.test.ts
+++ b/packages/app/tests/integration/attribution-sweep-coverage.test.ts
@@ -61,6 +61,7 @@ const EXEMPT_HANDLERS = new Set([
'handleCommentCounts',
'handleForwardLinks',
'handleLinkPreview',
+ 'handleGitHubReference',
'handleLinkGraph',
'handleSearch',
'handleSemanticStatus',
diff --git a/packages/app/tests/integration/bug3-source-mode-writeback.test.ts b/packages/app/tests/integration/bug3-source-mode-writeback.test.ts
index 8a60e5826..a28cc2b18 100644
--- a/packages/app/tests/integration/bug3-source-mode-writeback.test.ts
+++ b/packages/app/tests/integration/bug3-source-mode-writeback.test.ts
@@ -1,3 +1,4 @@
+
import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { setTimeout as wait } from 'node:timers/promises';
diff --git a/packages/app/tests/integration/conflict-gate-coverage.test.ts b/packages/app/tests/integration/conflict-gate-coverage.test.ts
index 2dd8b04d8..b92b45c21 100644
--- a/packages/app/tests/integration/conflict-gate-coverage.test.ts
+++ b/packages/app/tests/integration/conflict-gate-coverage.test.ts
@@ -52,6 +52,7 @@ const EXEMPT_HANDLERS = new Set([
'handleCommentCounts',
'handleForwardLinks',
'handleLinkPreview',
+ 'handleGitHubReference',
'handleLinkGraph',
'handleSearch',
'handleSemanticStatus',
diff --git a/packages/app/tests/integration/indented-jsx-byte-sacred.test.ts b/packages/app/tests/integration/indented-jsx-byte-sacred.test.ts
index 6fcdc23f2..4fc2c11f9 100644
--- a/packages/app/tests/integration/indented-jsx-byte-sacred.test.ts
+++ b/packages/app/tests/integration/indented-jsx-byte-sacred.test.ts
@@ -1,3 +1,4 @@
+
import { setTimeout as wait } from 'node:timers/promises';
import { normalizeBridge } from '@inkeep/open-knowledge-core';
import { updateYFragment } from '@tiptap/y-tiptap';
diff --git a/packages/app/tests/integration/interior-edit-freshness.test.ts b/packages/app/tests/integration/interior-edit-freshness.test.ts
index 40b5cdfd6..9f2f6feb6 100644
--- a/packages/app/tests/integration/interior-edit-freshness.test.ts
+++ b/packages/app/tests/integration/interior-edit-freshness.test.ts
@@ -1,3 +1,4 @@
+
import { setTimeout as wait } from 'node:timers/promises';
import { updateYFragment, yXmlFragmentToProseMirrorRootNode } from '@tiptap/y-tiptap';
import { afterAll, beforeAll, describe, expect, test } from 'vitest';
diff --git a/packages/app/tests/integration/keystroke-cadence-danger-space.test.ts b/packages/app/tests/integration/keystroke-cadence-danger-space.test.ts
index 93666af70..2a085742b 100644
--- a/packages/app/tests/integration/keystroke-cadence-danger-space.test.ts
+++ b/packages/app/tests/integration/keystroke-cadence-danger-space.test.ts
@@ -1,3 +1,4 @@
+
import { setTimeout as wait } from 'node:timers/promises';
import { updateYFragment, yXmlFragmentToProseMirrorRootNode } from '@tiptap/y-tiptap';
import { afterAll, beforeAll, describe, expect, test } from 'vitest';
diff --git a/packages/app/tests/integration/producer-guard-wiring.test.ts b/packages/app/tests/integration/producer-guard-wiring.test.ts
index 867598d34..878d5196b 100644
--- a/packages/app/tests/integration/producer-guard-wiring.test.ts
+++ b/packages/app/tests/integration/producer-guard-wiring.test.ts
@@ -1,3 +1,4 @@
+
import { setTimeout as wait } from 'node:timers/promises';
import { updateYFragment, yXmlFragmentToProseMirrorRootNode } from '@tiptap/y-tiptap';
import { afterAll, beforeAll, describe, expect, test } from 'vitest';
diff --git a/packages/app/tests/integration/qa-039-reconciliation-counters-http.test.ts b/packages/app/tests/integration/qa-039-reconciliation-counters-http.test.ts
index 0970ac12f..4ada3cf26 100644
--- a/packages/app/tests/integration/qa-039-reconciliation-counters-http.test.ts
+++ b/packages/app/tests/integration/qa-039-reconciliation-counters-http.test.ts
@@ -1,3 +1,4 @@
+
import { randomUUID } from 'node:crypto';
import { afterEach, describe, expect, test } from 'vitest';
import { agentWriteMd, createTestServer, type TestServer } from './test-harness';
diff --git a/packages/app/tests/integration/qa-045-restore-after-gc.test.ts b/packages/app/tests/integration/qa-045-restore-after-gc.test.ts
index b632185e1..cbe2b705f 100644
--- a/packages/app/tests/integration/qa-045-restore-after-gc.test.ts
+++ b/packages/app/tests/integration/qa-045-restore-after-gc.test.ts
@@ -1,3 +1,4 @@
+
import { execFileSync } from 'node:child_process';
import { randomUUID } from 'node:crypto';
import { join } from 'node:path';
diff --git a/packages/app/tests/integration/qa-050-rollback-undo-shipped-path.test.ts b/packages/app/tests/integration/qa-050-rollback-undo-shipped-path.test.ts
index c530ce4ba..89bc9b4d9 100644
--- a/packages/app/tests/integration/qa-050-rollback-undo-shipped-path.test.ts
+++ b/packages/app/tests/integration/qa-050-rollback-undo-shipped-path.test.ts
@@ -1,3 +1,4 @@
+
import { randomUUID } from 'node:crypto';
import { afterAll, afterEach, beforeAll, describe, expect, test } from 'vitest';
import type * as Y from 'yjs';
diff --git a/packages/app/tests/integration/undo-after-rollback.test.ts b/packages/app/tests/integration/undo-after-rollback.test.ts
index d3767adc9..a78aeb0e4 100644
--- a/packages/app/tests/integration/undo-after-rollback.test.ts
+++ b/packages/app/tests/integration/undo-after-rollback.test.ts
@@ -1,3 +1,4 @@
+
import { ROLLBACK_ORIGIN } from '@inkeep/open-knowledge-server';
import { afterAll, beforeAll, describe, expect, test } from 'vitest';
import * as Y from 'yjs';
diff --git a/packages/app/tests/integration/undo-recycle-reset.test.ts b/packages/app/tests/integration/undo-recycle-reset.test.ts
index b076f955c..e7cc69c3f 100644
--- a/packages/app/tests/integration/undo-recycle-reset.test.ts
+++ b/packages/app/tests/integration/undo-recycle-reset.test.ts
@@ -1,3 +1,4 @@
+
import { writeFileSync } from 'node:fs';
import { join } from 'node:path';
import { setTimeout as wait } from 'node:timers/promises';
diff --git a/packages/app/tests/integration/undo-rederive-survival.test.ts b/packages/app/tests/integration/undo-rederive-survival.test.ts
index 7935e35f8..9ddcd0730 100644
--- a/packages/app/tests/integration/undo-rederive-survival.test.ts
+++ b/packages/app/tests/integration/undo-rederive-survival.test.ts
@@ -1,3 +1,4 @@
+
import { prependFrontmatter } from '@inkeep/open-knowledge-core';
import { Plugin, PluginKey } from '@tiptap/pm/state';
import { updateYFragment, yXmlFragmentToProseMirrorRootNode } from '@tiptap/y-tiptap';
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/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/config/autolinks-config.ts b/packages/core/src/config/autolinks-config.ts
new file mode 100644
index 000000000..56e8cb874
--- /dev/null
+++ b/packages/core/src/config/autolinks-config.ts
@@ -0,0 +1,14 @@
+import { z } from 'zod';
+
+const AutolinkEntrySchema = z.object({
+ prefix: z.string().regex(/^[A-Za-z][A-Za-z0-9_-]*$/, {
+ message: 'prefix must start with a letter and use only letters, digits, _ and -',
+ }),
+ url: z.string().regex(/^https?:\/\/[^\s<>]*<num>[^\s<>]*$/, {
+ message: 'url must be an http or https URL containing <num>',
+ }),
+});
+
+export const AutolinksSchema = z.array(AutolinkEntrySchema);
+
+export const EffectiveAutolinkEntrySchema = AutolinkEntrySchema.nullable().catch(null);
diff --git a/packages/core/src/config/field-registry.test.ts b/packages/core/src/config/field-registry.test.ts
index d916f6fd9..2378fd368 100644
--- a/packages/core/src/config/field-registry.test.ts
+++ b/packages/core/src/config/field-registry.test.ts
@@ -188,7 +188,7 @@ describe('ConfigSchema coverage (NR3 — every leaf has fieldRegistry metadata)'
]);
});
- test('project-strict fields cover autoSync.default + content.* + contentRules.* + lossCapture.* + telemetry.localSink.*', () => {
+ test('project-strict fields cover autolinks + autoSync.default + content.* + contentRules.* + lossCapture.* + telemetry.localSink.*', () => {
const leaves: { path: string[]; schema: unknown }[] = [];
walkLeaves(ConfigSchema, [], leaves);
const projectStrict = leaves
@@ -197,6 +197,7 @@ describe('ConfigSchema coverage (NR3 — every leaf has fieldRegistry metadata)'
.sort();
expect(projectStrict).toEqual([
'autoSync.default',
+ 'autolinks',
'bridge.backgroundThrottle.enabled',
'bridge.deferGuard.enabled',
'bridge.fixedPoint.enabled',
diff --git a/packages/core/src/config/read-config-safely.test.ts b/packages/core/src/config/read-config-safely.test.ts
index 73ed619f0..fa0ed3b74 100644
--- a/packages/core/src/config/read-config-safely.test.ts
+++ b/packages/core/src/config/read-config-safely.test.ts
@@ -53,6 +53,54 @@ afterEach(() => {
});
describe('readConfigSafely', () => {
+ test('keeps the valid autolinks and reports each invalid entry where it is', () => {
+ const absPath = resolve(testDir, 'config.yml');
+ writeFileSync(
+ absPath,
+ stringify({
+ autolinks: [
+ { prefix: 'PRD-', url: 'https://linear.app/inkeep/issue/PRD-<num>' },
+ { prefix: '1BAD', url: 'https://x.example/<num>' },
+ { prefix: 'GH-', url: 'https://github.com/o/r/issues/1' },
+ ],
+ }),
+ );
+ const warnings: string[] = [];
+ const result = readConfigSafely({ absPath, warn: (message) => warnings.push(message) });
+ expect(result.valid).toBe(true);
+ expect(result.value.autolinks).toEqual([
+ { prefix: 'PRD-', url: 'https://linear.app/inkeep/issue/PRD-<num>' },
+ null,
+ null,
+ ]);
+ expect(result.diagnostics).toContainEqual({
+ code: 'VALUE_FALLBACK',
+ issues: [
+ expect.objectContaining({ path: ['autolinks', '1', 'prefix'], source: expect.anything() }),
+ expect.objectContaining({ path: ['autolinks', '2', 'url'], source: expect.anything() }),
+ ],
+ });
+ expect(warnings.join('\n')).toContain('autolinks.1.prefix');
+ expect(warnings.join('\n')).toContain('ignoring this autolink entry.');
+ });
+
+ test('reports an autolinks value that is not a list and ignores it', () => {
+ const absPath = resolve(testDir, 'config.yml');
+ writeFileSync(absPath, stringify({ autolinks: 'PRD-' }));
+ const result = readConfigSafely({ absPath, warn: () => {} });
+ expect(result.valid).toBe(true);
+ expect(result.value.autolinks).toEqual([]);
+ expect(result.diagnostics).toContainEqual({
+ code: 'VALUE_FALLBACK',
+ issues: [
+ expect.objectContaining({
+ path: ['autolinks'],
+ message: expect.stringContaining('ignoring autolinks.'),
+ }),
+ ],
+ });
+ });
+
test('reports a discarded non-map hosts section', () => {
const absPath = resolve(testDir, 'config.yml');
writeFileSync(absPath, stringify({ git: { hosts: 'invalid' } }));
diff --git a/packages/core/src/config/read-config-safely.ts b/packages/core/src/config/read-config-safely.ts
index cbe392885..dc5f0a967 100644
--- a/packages/core/src/config/read-config-safely.ts
+++ b/packages/core/src/config/read-config-safely.ts
@@ -1,5 +1,6 @@
import { existsSync, readFileSync, renameSync } from 'node:fs';
import { type Document, parseDocument } from 'yaml';
+import { AutolinksSchema } from './autolinks-config.ts';
import {
type ConfigDiagnostic,
type ConfigIssue,
@@ -161,6 +162,38 @@ function detectGitHostFallbacks(input: {
return [{ code: 'VALUE_FALLBACK', issues }];
}
+function detectAutolinkFallbacks(input: {
+ rawConfig: unknown;
+ doc: Document;
+ source: string;
+ absPath: string;
+}): ValueFallbackDiagnostic[] {
+ const autolinks = rawValueAtPath(input.rawConfig, ['autolinks']);
+ if (autolinks === undefined) return [];
+ const parsed = AutolinksSchema.safeParse(autolinks);
+ if (parsed.success) return [];
+ const issues = parsed.error.issues.map((issue) => {
+ const path = ['autolinks', ...issue.path.map(String)];
+ const located = locateIssue({
+ file: input.absPath,
+ source: input.source,
+ doc: input.doc,
+ path,
+ });
+ return {
+ path,
+ message:
+ issue.path.length === 0
+ ? `${issue.message}; ignoring autolinks.`
+ : `${issue.message}; ignoring this autolink entry.`,
+ ...(located !== undefined
+ ? { source: { file: located.file, line: located.line, column: located.column } }
+ : {}),
+ };
+ });
+ return [{ code: 'VALUE_FALLBACK', issues }];
+}
+
export function readConfigSafely(options: ReadConfigSafelyOptions): ReadConfigSafelyResult {
const { absPath, sideline = true, timestamp = new Date().toISOString() } = options;
const warn = options.warn ?? ((msg: string) => console.warn(msg));
@@ -207,8 +240,11 @@ export function readConfigSafely(options: ReadConfigSafelyOptions): ReadConfigSa
const removedKeyDiagnostics = detectRemovedKeys({ value: merged, file: absPath, source, doc });
const cleaned = removedKeyDiagnostics.length > 0 ? stripRemovedKeys(merged) : merged;
- const gitHostDiagnostics = detectGitHostFallbacks({ rawConfig: cleaned, doc, source, absPath });
- for (const diagnostic of gitHostDiagnostics) {
+ const valueFallbackDiagnostics = [
+ ...detectGitHostFallbacks({ rawConfig: cleaned, doc, source, absPath }),
+ ...detectAutolinkFallbacks({ rawConfig: cleaned, doc, source, absPath }),
+ ];
+ for (const diagnostic of valueFallbackDiagnostics) {
for (const issue of diagnostic.issues) {
warn(`[config] ${absPath} ${issue.path.join('.')}: ${issue.message}`);
}
@@ -230,7 +266,7 @@ export function readConfigSafely(options: ReadConfigSafelyOptions): ReadConfigSa
const sidelinedTo = sideline ? attemptSideline(absPath, timestamp, warn) : undefined;
const diagnostics: ConfigDiagnostic[] = [
...removedKeyDiagnostics,
- ...gitHostDiagnostics,
+ ...valueFallbackDiagnostics,
...(isKnownConfigError(error) && error.code === 'SCHEMA_INVALID' ? [{ ...error }] : []),
];
return {
@@ -247,7 +283,7 @@ export function readConfigSafely(options: ReadConfigSafelyOptions): ReadConfigSa
const diagnostics: RecoveredConfigDiagnostic[] = [
...removedKeyDiagnostics,
- ...gitHostDiagnostics,
+ ...valueFallbackDiagnostics,
...detectEmbeddingsTransportFallbacks({
rawConfig: cleaned,
config: parsed.data,
diff --git a/packages/core/src/config/schema.ts b/packages/core/src/config/schema.ts
index cb62ca837..dab790b89 100644
--- a/packages/core/src/config/schema.ts
+++ b/packages/core/src/config/schema.ts
@@ -14,6 +14,7 @@ import {
STORED_SYNC_ACTIVE_MODES,
STORED_SYNC_MODES,
} from './auto-sync-mode.ts';
+import { EffectiveAutolinkEntrySchema } from './autolinks-config.ts';
import { fieldRegistry } from './field-registry.ts';
import { EffectiveGitHostEntrySchema } from './git-host-config.ts';
@@ -1028,6 +1029,18 @@ export const ConfigSchema = z.looseObject({
fileTreeIndicators: true,
suppressLogLinkAdvisories: DEFAULT_SUPPRESS_LOG_LINK_ADVISORIES,
}),
+ autolinks: z
+ .array(EffectiveAutolinkEntrySchema)
+ .register(fieldRegistry, {
+ scope: 'project',
+ agentSettable: false,
+ reload: 'live',
+ defaultScope: 'project',
+ description:
+ 'Turn ticket references into links; today they apply to Agents-panel chat messages. Each entry pairs a `prefix` (for example `PRD-`) with a `url` template containing `<num>` (for example `https://linear.app/inkeep/issue/PRD-<num>`); the prefix followed by digits links to that URL with the digits in place of `<num>`. Matching is case-sensitive. An invalid entry is skipped with a warning and the others still apply. Shared with collaborators (project scope, `.ok/config.yml`).',
+ })
+ .default([])
+ .catch([]),
linkPreviews: z
.looseObject({
enabled: z
@@ -1038,7 +1051,7 @@ export const ConfigSchema = z.looseObject({
reload: 'live',
defaultScope: 'project-local',
description:
- "Show a rich preview card (site name, page title, description, favicon) when you hover an external link in the editor. When ON, hovering an external link sends that link's URL to the destination site to fetch its preview metadata — outbound egress, one request per previewed link. Default ON; set to false to turn external previews off. Per-machine (project-local) — not shared with collaborators. Previews of links to other documents in this project are read from the local index with no network request and are always on.",
+ "Show a rich preview card (site name, page title, description, favicon) when you hover an external link in the editor, and a status card when you hover a GitHub pull request or issue link in an agent chat. When ON, hovering an external link sends that link's URL to the destination site to fetch its preview metadata, and hovering a GitHub reference asks the GitHub host's API for it, signed in as you when a GitHub sign-in is available — outbound egress, one request per previewed link. Default ON; set to false to turn external previews off. Per-machine (project-local) — not shared with collaborators. Previews of links to other documents in this project are read from the local index with no network request and are always on.",
})
.default(true),
})
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index b8ac7acfe..efabc752d 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -1298,6 +1298,12 @@ export {
FrontmatterPatchSuccessSchema,
GIT_STATUS_CODES,
type GitAuthFailureSubclass,
+ type GitHubReferencePreview,
+ GitHubReferencePreviewSchema,
+ GitHubReferenceRequestSchema,
+ type GitHubReferenceResponse,
+ GitHubReferenceResponseSchema,
+ type GitHubReferenceStatus,
type GitStatusCode,
type GitWorktreeEntry,
GitWorktreeEntrySchema,
diff --git a/packages/core/src/markdown/comment-promoter.ts b/packages/core/src/markdown/comment-promoter.ts
index fc267cbea..fb0ba5a7c 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/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/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/schemas/api/github-reference.ts b/packages/core/src/schemas/api/github-reference.ts
new file mode 100644
index 000000000..de5b8b9e6
--- /dev/null
+++ b/packages/core/src/schemas/api/github-reference.ts
@@ -0,0 +1,68 @@
+import type { StandardSchemaV1 } from '@standard-schema/spec';
+import { z } from 'zod';
+
+const MergeQueueStateSchema = z.enum([
+ 'AWAITING_CHECKS',
+ 'LOCKED',
+ 'MERGEABLE',
+ 'QUEUED',
+ 'UNMERGEABLE',
+]);
+
+const MergeStateSchema = z.enum([
+ 'BEHIND',
+ 'BLOCKED',
+ 'CLEAN',
+ 'DIRTY',
+ 'DRAFT',
+ 'HAS_HOOKS',
+ 'UNKNOWN',
+ 'UNSTABLE',
+]);
+
+const ReviewDecisionSchema = z.enum(['APPROVED', 'CHANGES_REQUESTED', 'REVIEW_REQUIRED']);
+
+const ChecksStateSchema = z.enum(['ERROR', 'EXPECTED', 'FAILURE', 'PENDING', 'SUCCESS']);
+
+const GitHubReferenceStatusSchema = z
+ .object({
+ mergeQueue: z
+ .object({
+ position: z.number().int().nonnegative(),
+ state: MergeQueueStateSchema.nullable().catch(null),
+ })
+ .nullable()
+ .catch(null),
+ autoMerge: z.boolean(),
+ mergeState: MergeStateSchema.nullable().catch(null),
+ reviewDecision: ReviewDecisionSchema.nullable().catch(null),
+ checks: ChecksStateSchema.nullable().catch(null),
+ })
+ .loose() satisfies StandardSchemaV1;
+export type GitHubReferenceStatus = z.infer<typeof GitHubReferenceStatusSchema>;
+
+export const GitHubReferencePreviewSchema = z
+ .object({
+ kind: z.enum(['pull', 'issue']),
+ repo: z.string().min(1),
+ number: z.number().int().positive(),
+ title: z.string(),
+ author: z.string().nullable(),
+ createdAt: z.string(),
+ lifecycle: z.enum(['open', 'draft', 'merged', 'closed', 'completed', 'not-planned']),
+ additions: z.number().int().nonnegative().optional(),
+ deletions: z.number().int().nonnegative().optional(),
+ status: GitHubReferenceStatusSchema.optional(),
+ })
+ .loose() satisfies StandardSchemaV1;
+export type GitHubReferencePreview = z.infer<typeof GitHubReferencePreviewSchema>;
+
+export const GitHubReferenceRequestSchema = z
+ .object({ url: z.string() })
+ .loose() satisfies StandardSchemaV1;
+
+export const GitHubReferenceResponseSchema = z.discriminatedUnion('ok', [
+ z.object({ ok: z.literal(true), preview: GitHubReferencePreviewSchema }).loose(),
+ z.object({ ok: z.literal(false), reason: z.string() }).loose(),
+]) satisfies StandardSchemaV1;
+export type GitHubReferenceResponse = z.infer<typeof GitHubReferenceResponseSchema>;
diff --git a/packages/core/src/schemas/api/index.ts b/packages/core/src/schemas/api/index.ts
index 5ffbbb069..75f1de644 100644
--- a/packages/core/src/schemas/api/index.ts
+++ b/packages/core/src/schemas/api/index.ts
@@ -6,6 +6,7 @@ export * from './comments.ts';
export * from './document-read.ts';
export * from './embed-detect.ts';
export * from './git-worktree-status.ts';
+export * from './github-reference.ts';
export * from './history.ts';
export * from './link-preview.ts';
export * from './links-orphans.ts';
diff --git a/packages/server/src/api-extension.ts b/packages/server/src/api-extension.ts
index d34b5e669..fb6e0aa2b 100644
--- a/packages/server/src/api-extension.ts
+++ b/packages/server/src/api-extension.ts
@@ -1288,6 +1288,8 @@ export interface ApiExtensionOptions {
projectDir?: string;
linkPreviewFetch?: GuardedFetch;
getLinkPreviewsEnabled?: () => boolean;
+ resolveGitHubToken?: (host: string) => Promise<string | null>;
+ githubReferenceFetch?: typeof fetch;
getConfigDiagnostics?: () => ConfigDiagnosticsReport;
resolveEmbed?: (basename: string, sourcePath: string) => string | null;
getBridgeLossReporter?: () => BridgeDeriveLossReporter | undefined;
@@ -1486,6 +1488,8 @@ export function createApiExtension(
ephemeral = false,
linkPreviewFetch,
getLinkPreviewsEnabled,
+ resolveGitHubToken,
+ githubReferenceFetch,
getConfigDiagnostics,
} = options;
const declaredGitHubHosts =
@@ -4939,6 +4943,9 @@ export function createApiExtension(
searchService,
linkPreviewFetch,
getLinkPreviewsEnabled,
+ declaredGitHubHosts,
+ resolveGitHubToken,
+ githubReferenceFetch,
getGeneratedIndexSettingsStatus,
setGeneratedIndexEnabled,
});
diff --git a/packages/server/src/api-github-reference.test.ts b/packages/server/src/api-github-reference.test.ts
new file mode 100644
index 000000000..8f285c8ec
--- /dev/null
+++ b/packages/server/src/api-github-reference.test.ts
@@ -0,0 +1,226 @@
+import { mkdirSync, mkdtempSync, rmSync } from 'node:fs';
+import type { IncomingMessage, ServerResponse } from 'node:http';
+import { createServer, type Server } from 'node:http';
+import { tmpdir } from 'node:os';
+import { join } from 'node:path';
+import { Readable } from 'node:stream';
+import { afterEach, beforeEach, describe, expect, test } from 'vitest';
+import { createApiExtension } from './api-extension.test-helper.ts';
+import { makeCaptureRes } from './composition-rig.test-helper.ts';
+import { buildIngressPolicy } from './ingress-policy.ts';
+import { listenOnLoopback } from './loopback-rig-test-helpers.ts';
+
+const PULL_NODE = {
+ __typename: 'PullRequest',
+ title: 'Add reference cards',
+ createdAt: '2026-09-20T10:00:00Z',
+ state: 'MERGED',
+ isDraft: false,
+ additions: 3,
+ deletions: 1,
+ author: { login: 'octocat' },
+};
+
+interface Rig {
+ readonly baseURL: string;
+ readonly githubCalls: string[];
+ readonly authorizations: (string | null)[];
+ readonly tokenHosts: string[];
+}
+
+function useRig(): {
+ open: (opts?: { enabled?: boolean; respond?: (url: string) => Response | null }) => Promise<Rig>;
+} {
+ let tmpDir = '';
+ let server: Server | null = null;
+ beforeEach(() => {
+ tmpDir = mkdtempSync(join(tmpdir(), 'ok-github-reference-'));
+ mkdirSync(join(tmpDir, 'content'), { recursive: true });
+ });
+ afterEach(async () => {
+ if (server) {
+ const closing = server;
+ await new Promise<void>((resolve) => closing.close(() => resolve()));
+ server = null;
+ }
+ rmSync(tmpDir, { recursive: true, force: true });
+ });
+ return {
+ open: async ({ enabled = true, respond = () => null } = {}) => {
+ const githubCalls: string[] = [];
+ const authorizations: (string | null)[] = [];
+ const tokenHosts: string[] = [];
+ const ext = createApiExtension({
+ hocuspocus: {} as Parameters<typeof createApiExtension>[0]['hocuspocus'],
+ sessionManager: {} as Parameters<typeof createApiExtension>[0]['sessionManager'],
+ contentDir: join(tmpDir, 'content'),
+ serverInstanceId: 'test-server',
+ getFileIndex: () => new Map(),
+ declaredGitHubHosts: new Set(['git.example.com']),
+ getLinkPreviewsEnabled: () => enabled,
+ resolveGitHubToken: async (host) => {
+ tokenHosts.push(host);
+ return 'tok';
+ },
+ githubReferenceFetch: (async (input: string | URL | Request, init?: RequestInit) => {
+ githubCalls.push(String(input));
+ authorizations.push(new Headers(init?.headers).get('authorization'));
+ const answer = respond(String(input));
+ if (answer !== null) return answer;
+ return new Response(
+ JSON.stringify({ data: { repository: { issueOrPullRequest: PULL_NODE } } }),
+ { status: 200, headers: { 'content-type': 'application/json' } },
+ );
+ }) as typeof fetch,
+ });
+ server = createServer((req, res) => {
+ void (
+ ext as {
+ onRequest: (ctx: {
+ request: IncomingMessage;
+ response: ServerResponse;
+ }) => Promise<void>;
+ }
+ ).onRequest({ request: req, response: res });
+ });
+ const { baseUrl } = await listenOnLoopback(server);
+ return { baseURL: baseUrl, githubCalls, authorizations, tokenHosts };
+ },
+ };
+}
+
+function post(
+ rig: Rig,
+ url: string,
+ origin: string | null = rig.baseURL,
+ extraHeaders: Record<string, string> = {},
+): Promise<Response> {
+ const headers: Record<string, string> = { 'Content-Type': 'application/json', ...extraHeaders };
+ if (origin !== null) headers.Origin = origin;
+ return fetch(`${rig.baseURL}/api/github-reference`, {
+ method: 'POST',
+ headers,
+ body: JSON.stringify({ url }),
+ });
+}
+
+describe('POST /api/github-reference', () => {
+ const rigs = useRig();
+
+ test('refuses other origins before touching GitHub', async () => {
+ const rig = await rigs.open();
+ const res = await post(rig, 'https://github.com/inkeep/agents/pull/1', 'https://evil.example');
+ expect(res.status).toBe(403);
+ expect(rig.githubCalls).toEqual([]);
+ });
+
+ test('answers disabled when link previews are off, without any egress', async () => {
+ const rig = await rigs.open({ enabled: false });
+ const res = await post(rig, 'https://github.com/inkeep/agents/pull/1');
+ expect(await res.json()).toMatchObject({ ok: false, reason: 'disabled' });
+ expect(rig.githubCalls).toEqual([]);
+ expect(rig.tokenHosts).toEqual([]);
+ });
+
+ test('answers unsupported for hosts that are not GitHub', async () => {
+ const rig = await rigs.open();
+ const res = await post(rig, 'https://gitlab.example.com/inkeep/agents/pull/1');
+ expect(await res.json()).toMatchObject({ ok: false, reason: 'unsupported' });
+ expect(rig.githubCalls).toEqual([]);
+ });
+
+ test('reads a reference with the host token and serves repeats from the cache', async () => {
+ const rig = await rigs.open();
+ const first = await post(rig, 'https://git.example.com/inkeep/agents/pull/1');
+ expect(await first.json()).toMatchObject({
+ ok: true,
+ preview: { kind: 'pull', repo: 'inkeep/agents', number: 1, lifecycle: 'merged' },
+ });
+ await post(rig, 'https://git.example.com/inkeep/agents/issues/1');
+ expect(rig.tokenHosts).toEqual(['git.example.com']);
+ expect(rig.githubCalls).toEqual(['https://git.example.com/api/graphql']);
+ });
+
+ test('after GitHub rate-limits one card, the next reference on that host sends nothing', async () => {
+ const rig = await rigs.open({
+ respond: () => new Response('{}', { status: 429, headers: { 'retry-after': '120' } }),
+ });
+ const first = await post(rig, 'https://git.example.com/inkeep/agents/pull/1');
+ expect(await first.json()).toMatchObject({ ok: false, reason: 'unavailable' });
+ const second = await post(rig, 'https://git.example.com/inkeep/agents/pull/2');
+ expect(await second.json()).toMatchObject({ ok: false, reason: 'unavailable' });
+ expect(rig.githubCalls).toEqual(['https://git.example.com/api/graphql']);
+ });
+
+ test('an exposed server reads a remote caller anonymously even with a loopback Origin and Host', async () => {
+ const dir = mkdtempSync(join(tmpdir(), 'ok-github-reference-remote-'));
+ try {
+ const tokenHosts: string[] = [];
+ const authorizations: (string | null)[] = [];
+ const ext = createApiExtension({
+ hocuspocus: {} as Parameters<typeof createApiExtension>[0]['hocuspocus'],
+ sessionManager: {} as Parameters<typeof createApiExtension>[0]['sessionManager'],
+ contentDir: dir,
+ serverInstanceId: 'test-server',
+ getFileIndex: () => new Map(),
+ declaredGitHubHosts: new Set(['git.example.com']),
+ getLinkPreviewsEnabled: () => true,
+ resolveGitHubToken: async (host) => {
+ tokenHosts.push(host);
+ return 'tok';
+ },
+ githubReferenceFetch: (async (_input: string | URL | Request, init?: RequestInit) => {
+ authorizations.push(new Headers(init?.headers).get('authorization'));
+ return new Response(
+ JSON.stringify({ title: 't', created_at: '2026-09-20T10:00:00Z', state: 'open' }),
+ { status: 200, headers: { 'content-type': 'application/json' } },
+ );
+ }) as typeof fetch,
+ ingressPolicy: buildIngressPolicy({
+ serverRuntime: {
+ bind: ['127.0.0.1'],
+ port: 0,
+ externalUrl: 'https://ok.example.com',
+ allowExternal: true,
+ openBrowser: false,
+ idleShutdown: 'off',
+ loopbackOnly: false,
+ },
+ }),
+ });
+ const req = Readable.from(
+ Buffer.from(JSON.stringify({ url: 'https://git.example.com/inkeep/agents/pull/1' })),
+ ) as unknown as IncomingMessage;
+ req.method = 'POST';
+ req.url = '/api/github-reference';
+ req.headers = {
+ host: '127.0.0.1',
+ origin: 'http://localhost',
+ 'content-type': 'application/json',
+ };
+ req.socket = { remoteAddress: '203.0.113.8' } as unknown as IncomingMessage['socket'];
+ const { res, captured } = makeCaptureRes();
+ expect(await ext.nativeApi.dispatch(req, res)).toBe(true);
+ expect(captured.status, captured.body).toBe(200);
+ expect(JSON.parse(captured.body)).toMatchObject({ ok: true, preview: { number: 1 } });
+ expect(tokenHosts).toEqual([]);
+ expect(authorizations).toEqual([null]);
+ } finally {
+ rmSync(dir, { recursive: true, force: true });
+ }
+ });
+
+ test('a forwarded caller is read anonymously and never gets the signed-in answer', async () => {
+ const rig = await rigs.open();
+ await post(rig, 'https://git.example.com/inkeep/agents/pull/1');
+ await post(rig, 'https://git.example.com/inkeep/agents/pull/1', 'http://localhost:5173', {
+ 'X-Forwarded-For': '203.0.113.9',
+ });
+ expect(rig.tokenHosts).toEqual(['git.example.com']);
+ expect(rig.githubCalls).toEqual([
+ 'https://git.example.com/api/graphql',
+ 'https://git.example.com/api/v3/repos/inkeep/agents/pulls/1',
+ ]);
+ expect(rig.authorizations).toEqual(['Bearer tok', null]);
+ });
+});
diff --git a/packages/server/src/github-permissions.test.ts b/packages/server/src/github-permissions.test.ts
index ec9c96504..7bc41faac 100644
--- a/packages/server/src/github-permissions.test.ts
+++ b/packages/server/src/github-permissions.test.ts
@@ -159,6 +159,23 @@ describe('checkPushPermission — classification', () => {
expect(result).toEqual({ kind: 'unknown', error: 'rate-limit' });
});
+ test('403 with retry-after → unknown/rate-limit (secondary rate-limit path)', async () => {
+ const { fetch } = mockFetch(
+ () =>
+ new Response('', {
+ status: 403,
+ headers: { 'retry-after': '60', 'content-type': 'application/json' },
+ }),
+ );
+ const result = await checkPushPermission({
+ owner: 'inkeep',
+ repo: 'open-knowledge',
+ detectGh: ghAvailable(),
+ _fetchFn: fetch,
+ });
+ expect(result).toEqual({ kind: 'unknown', error: 'rate-limit' });
+ });
+
test('200 with a non-JSON body → unknown/malformed-response', async () => {
const { fetch } = mockFetch(() => new Response('<!doctype html>', { status: 200 }));
const result = await checkPushPermission({
diff --git a/packages/server/src/github-permissions.ts b/packages/server/src/github-permissions.ts
index 76021b805..0cfe09f84 100644
--- a/packages/server/src/github-permissions.ts
+++ b/packages/server/src/github-permissions.ts
@@ -82,6 +82,18 @@ function buildHeaders(token: string | undefined): Record<string, string> {
return headers;
}
+export function isGitHubRateLimited(response: {
+ readonly status: number;
+ readonly headers: Headers;
+}): boolean {
+ return (
+ response.status === 429 ||
+ (response.status === 403 &&
+ (response.headers.get('x-ratelimit-remaining') === '0' ||
+ response.headers.get('retry-after') !== null))
+ );
+}
+
function readPushFlag(body: unknown): boolean | null {
if (typeof body !== 'object' || body === null) return null;
const perms = (body as { permissions?: unknown }).permissions;
@@ -113,11 +125,10 @@ async function classify(resp: Response, hadToken: boolean): Promise<PushPermissi
case 401:
return { kind: 'unknown', error: 'token-invalid' };
case 403:
- return resp.headers.get('x-ratelimit-remaining') === '0'
+ case 429:
+ return isGitHubRateLimited(resp)
? { kind: 'unknown', error: 'rate-limit' }
: { kind: 'unknown', error: 'token-invalid' };
- case 429:
- return { kind: 'unknown', error: 'rate-limit' };
case 404:
return hadToken
? { kind: 'denied', reason: 'private-no-access' }
diff --git a/packages/server/src/github-reference/fetch-reference.test.ts b/packages/server/src/github-reference/fetch-reference.test.ts
new file mode 100644
index 000000000..07369500e
--- /dev/null
+++ b/packages/server/src/github-reference/fetch-reference.test.ts
@@ -0,0 +1,593 @@
+import { describe, expect, test, vi } from 'vitest';
+import { getLogger } from '../logger.ts';
+import {
+ fetchGitHubReference,
+ GitHubRateLimitHolds,
+ previewFromGraphQL,
+ previewFromRest,
+} from './fetch-reference.ts';
+import type { GitHubReferenceTarget } from './reference-target.ts';
+
+const PULL: GitHubReferenceTarget = {
+ host: 'github.com',
+ owner: 'inkeep',
+ repo: 'agents',
+ number: 42,
+ kind: 'pull',
+};
+
+const ISSUE: GitHubReferenceTarget = { ...PULL, number: 7, kind: 'issues' };
+
+interface Call {
+ readonly url: string;
+ readonly init: RequestInit | undefined;
+}
+
+function fakeFetch(respond: (url: string, init: RequestInit | undefined) => Response | Error) {
+ const calls: Call[] = [];
+ const impl = (async (input: string | URL | Request, init?: RequestInit) => {
+ const url = String(input);
+ calls.push({ url, init });
+ const out = respond(url, init);
+ if (out instanceof Error) throw out;
+ return out;
+ }) as typeof fetch;
+ return { impl, calls };
+}
+
+const json = (body: unknown, status = 200) =>
+ new Response(JSON.stringify(body), { status, headers: { 'content-type': 'application/json' } });
+
+const openPullNode = {
+ __typename: 'PullRequest',
+ title: 'Add reference cards',
+ createdAt: '2026-09-20T10:00:00Z',
+ state: 'OPEN',
+ isDraft: false,
+ additions: 120,
+ deletions: 30,
+ author: { login: 'octocat' },
+ mergeStateStatus: 'BLOCKED',
+ reviewDecision: 'REVIEW_REQUIRED',
+ autoMergeRequest: { enabledAt: '2026-09-21T00:00:00Z' },
+ mergeQueueEntry: { position: 2, state: 'AWAITING_CHECKS' },
+ commits: { nodes: [{ commit: { statusCheckRollup: { state: 'PENDING' } } }] },
+};
+
+describe('previewFromGraphQL', () => {
+ test('an open pull request carries every status axis', () => {
+ expect(previewFromGraphQL(PULL, openPullNode)).toEqual({
+ kind: 'pull',
+ repo: 'inkeep/agents',
+ number: 42,
+ title: 'Add reference cards',
+ author: 'octocat',
+ createdAt: '2026-09-20T10:00:00Z',
+ lifecycle: 'open',
+ additions: 120,
+ deletions: 30,
+ status: {
+ mergeQueue: { position: 2, state: 'AWAITING_CHECKS' },
+ autoMerge: true,
+ mergeState: 'BLOCKED',
+ reviewDecision: 'REVIEW_REQUIRED',
+ checks: 'PENDING',
+ },
+ });
+ });
+
+ test('drafts, merged and closed pull requests carry no status row', () => {
+ const draft = previewFromGraphQL(PULL, { ...openPullNode, isDraft: true });
+ expect(draft?.lifecycle).toBe('draft');
+ expect(draft?.status).toBeUndefined();
+ expect(previewFromGraphQL(PULL, { ...openPullNode, state: 'MERGED' })?.lifecycle).toBe(
+ 'merged',
+ );
+ const closed = previewFromGraphQL(PULL, { ...openPullNode, state: 'CLOSED' });
+ expect(closed?.lifecycle).toBe('closed');
+ expect(closed?.status).toBeUndefined();
+ });
+
+ test('an unknown enum value degrades to no value instead of failing the card', () => {
+ const preview = previewFromGraphQL(PULL, {
+ ...openPullNode,
+ mergeStateStatus: 'SOMETHING_NEW',
+ });
+ expect(preview?.status?.mergeState).toBeNull();
+ expect(preview?.title).toBe('Add reference cards');
+ });
+
+ test('issues map their close reason to completed or not planned', () => {
+ const issue = {
+ __typename: 'Issue',
+ title: 'Crash on start',
+ createdAt: '2026-09-01T00:00:00Z',
+ state: 'CLOSED',
+ stateReason: 'NOT_PLANNED',
+ author: null,
+ };
+ expect(previewFromGraphQL(ISSUE, issue)).toEqual({
+ kind: 'issue',
+ repo: 'inkeep/agents',
+ number: 7,
+ title: 'Crash on start',
+ author: null,
+ createdAt: '2026-09-01T00:00:00Z',
+ lifecycle: 'not-planned',
+ });
+ expect(previewFromGraphQL(ISSUE, { ...issue, stateReason: 'COMPLETED' })?.lifecycle).toBe(
+ 'completed',
+ );
+ expect(previewFromGraphQL(ISSUE, { ...issue, state: 'OPEN' })?.lifecycle).toBe('open');
+ });
+});
+
+describe('previewFromRest', () => {
+ test('reads lifecycle, diff and merge state from the pulls endpoint', () => {
+ const preview = previewFromRest(PULL, null, {
+ title: 'Add reference cards',
+ created_at: '2026-09-20T10:00:00Z',
+ state: 'open',
+ draft: false,
+ merged: false,
+ additions: 5,
+ deletions: 1,
+ user: { login: 'octocat' },
+ mergeable_state: 'unstable',
+ auto_merge: null,
+ });
+ expect(preview).toMatchObject({
+ lifecycle: 'open',
+ additions: 5,
+ deletions: 1,
+ status: {
+ mergeQueue: null,
+ autoMerge: false,
+ mergeState: 'UNSTABLE',
+ reviewDecision: null,
+ checks: null,
+ },
+ });
+ expect(
+ previewFromRest(PULL, null, {
+ title: 't',
+ created_at: '2026-09-20T10:00:00Z',
+ state: 'closed',
+ merged_at: '2026-09-21T10:00:00Z',
+ })?.lifecycle,
+ ).toBe('merged');
+ expect(
+ previewFromRest(PULL, null, {
+ title: 't',
+ created_at: '2026-09-20T10:00:00Z',
+ state: 'closed',
+ merged: false,
+ merged_at: null,
+ })?.lifecycle,
+ ).toBe('closed');
+ });
+});
+
+describe('fetchGitHubReference', () => {
+ test('with a token it asks GraphQL once, sending the token only to the GitHub API', async () => {
+ const fake = fakeFetch(() =>
+ json({ data: { repository: { issueOrPullRequest: openPullNode } } }),
+ );
+ const outcome = await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: fake.impl });
+ expect(outcome).toMatchObject({ ok: true, preview: { title: 'Add reference cards' } });
+ expect(fake.calls).toHaveLength(1);
+ expect(fake.calls[0]?.url).toBe('https://api.github.com/graphql');
+ expect(new Headers(fake.calls[0]?.init?.headers).get('authorization')).toBe('Bearer tok');
+ });
+
+ test('an enterprise host uses its own API paths', async () => {
+ const ghes = { ...PULL, host: 'git.example.com' };
+ const fake = fakeFetch(() =>
+ json({ data: { repository: { issueOrPullRequest: openPullNode } } }),
+ );
+ await fetchGitHubReference({ target: ghes, token: 'tok', fetchFn: fake.impl });
+ expect(fake.calls[0]?.url).toBe('https://git.example.com/api/graphql');
+ const anon = fakeFetch(() => json({ title: 't', created_at: 'x', state: 'open' }));
+ await fetchGitHubReference({ target: ghes, token: null, fetchFn: anon.impl });
+ expect(anon.calls[0]?.url).toBe('https://git.example.com/api/v3/repos/inkeep/agents/pulls/42');
+ });
+
+ test('without a token it reads REST anonymously, following an issue link to its pull request', async () => {
+ const fake = fakeFetch((url) =>
+ url.endsWith('/issues/7')
+ ? json({ title: 'Add cards', pull_request: { url: 'x' } })
+ : json({
+ title: 'Add cards',
+ created_at: '2026-09-20T10:00:00Z',
+ state: 'open',
+ draft: true,
+ user: { login: 'octocat' },
+ }),
+ );
+ const outcome = await fetchGitHubReference({ target: ISSUE, token: null, fetchFn: fake.impl });
+ expect(outcome).toMatchObject({ ok: true, preview: { kind: 'pull', lifecycle: 'draft' } });
+ expect(fake.calls.map((c) => c.url)).toEqual([
+ 'https://api.github.com/repos/inkeep/agents/issues/7',
+ 'https://api.github.com/repos/inkeep/agents/pulls/7',
+ ]);
+ expect(new Headers(fake.calls[0]?.init?.headers).has('authorization')).toBe(false);
+ });
+
+ test('without a token a plain issue reads its title, author, date and close reason from REST', async () => {
+ const issue = {
+ title: 'Crash on start',
+ created_at: '2026-09-01T00:00:00Z',
+ state: 'closed',
+ state_reason: 'not_planned',
+ user: { login: 'octocat' },
+ };
+ const fake = fakeFetch(() => json(issue));
+ expect(await fetchGitHubReference({ target: ISSUE, token: null, fetchFn: fake.impl })).toEqual({
+ ok: true,
+ preview: {
+ kind: 'issue',
+ repo: 'inkeep/agents',
+ number: 7,
+ title: 'Crash on start',
+ author: 'octocat',
+ createdAt: '2026-09-01T00:00:00Z',
+ lifecycle: 'not-planned',
+ },
+ });
+ expect(fake.calls.map((c) => c.url)).toEqual([
+ 'https://api.github.com/repos/inkeep/agents/issues/7',
+ ]);
+ const completed = fakeFetch(() => json({ ...issue, state_reason: 'completed' }));
+ expect(
+ await fetchGitHubReference({ target: ISSUE, token: null, fetchFn: completed.impl }),
+ ).toMatchObject({ preview: { lifecycle: 'completed' } });
+ const open = fakeFetch(() => json({ ...issue, state: 'open', state_reason: null }));
+ expect(
+ await fetchGitHubReference({ target: ISSUE, token: null, fetchFn: open.impl }),
+ ).toMatchObject({ preview: { lifecycle: 'open' } });
+ });
+
+ test('a GraphQL answer it cannot use falls back to REST with the same token', async () => {
+ const fake = fakeFetch((url) =>
+ url.endsWith('/graphql')
+ ? json({ errors: [{ message: "Field 'mergeQueueEntry' doesn't exist" }] })
+ : json({ title: 't', created_at: '2026-09-20T10:00:00Z', state: 'open' }),
+ );
+ const outcome = await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: fake.impl });
+ expect(outcome.ok).toBe(true);
+ expect(fake.calls[1]?.url).toBe('https://api.github.com/repos/inkeep/agents/pulls/42');
+ expect(new Headers(fake.calls[1]?.init?.headers).get('authorization')).toBe('Bearer tok');
+ });
+
+ test('a rate-limited GraphQL answer is not retried over REST', async () => {
+ for (const limited of [
+ () => json({ message: 'You have exceeded a secondary rate limit' }, 429),
+ () =>
+ new Response('{"message":"API rate limit exceeded"}', {
+ status: 403,
+ headers: { 'x-ratelimit-remaining': '0' },
+ }),
+ ]) {
+ const fake = fakeFetch(limited);
+ expect(
+ await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: fake.impl }),
+ ).toEqual({ ok: false, reason: 'unavailable' });
+ expect(fake.calls.map((c) => c.url)).toEqual(['https://api.github.com/graphql']);
+ }
+ });
+
+ test('after GitHub rate-limits a card, no request goes to that host until the limit resets', async () => {
+ let now = 1_000_000_000_000;
+ const rateLimits = new GitHubRateLimitHolds();
+ const limited = fakeFetch(
+ () =>
+ new Response('{"message":"API rate limit exceeded"}', {
+ status: 403,
+ headers: {
+ 'x-ratelimit-remaining': '0',
+ 'x-ratelimit-reset': String((now + 120_000) / 1000),
+ },
+ }),
+ );
+ const read = (target: GitHubReferenceTarget, fetchFn: typeof fetch, token: string | null) =>
+ fetchGitHubReference({ target, token, fetchFn, rateLimits, now: () => now });
+ expect(await read(PULL, limited.impl, null)).toEqual({ ok: false, reason: 'unavailable' });
+
+ const issue = { title: 'Crash on start', created_at: '2026-09-01T00:00:00Z', state: 'open' };
+ const answering = fakeFetch(() => json(issue));
+ expect(await read(ISSUE, answering.impl, null)).toEqual({ ok: false, reason: 'unavailable' });
+ expect(answering.calls).toHaveLength(0);
+ expect((await read({ ...ISSUE, host: 'ghe.example.com' }, answering.impl, null)).ok).toBe(true);
+ expect(answering.calls).toHaveLength(1);
+
+ now += 120_000;
+ expect((await read(ISSUE, answering.impl, null)).ok).toBe(true);
+ expect(answering.calls).toHaveLength(2);
+ });
+
+ test('a rate-limit hold follows retry-after first, lasts at most an hour, and is kept apart per sign-in', async () => {
+ let now = 1_000_000_000_000;
+ const rateLimits = new GitHubRateLimitHolds();
+ const limitedFor = (headers: Record<string, string>) =>
+ fakeFetch(() => new Response('{}', { status: 429, headers })).impl;
+ const answering = fakeFetch(() => json({ data: { repository: { issueOrPullRequest: null } } }));
+ const read = (fetchFn: typeof fetch, token: string | null) =>
+ fetchGitHubReference({ target: PULL, token, fetchFn, rateLimits, now: () => now });
+
+ await read(
+ limitedFor({ 'retry-after': '30', 'x-ratelimit-reset': String(now / 1000 + 600) }),
+ 'tok',
+ );
+ expect((await read(answering.impl, null)).ok).toBe(false);
+ expect(answering.calls).toHaveLength(1);
+ now += 29_000;
+ await read(answering.impl, 'tok');
+ expect(answering.calls).toHaveLength(1);
+ now += 1_000;
+ await read(answering.impl, 'tok');
+ expect(answering.calls).toHaveLength(2);
+
+ await read(limitedFor({ 'retry-after': String(24 * 60 * 60) }), 'tok');
+ now += 60 * 60_000 - 1;
+ await read(answering.impl, 'tok');
+ expect(answering.calls).toHaveLength(2);
+ now += 1;
+ await read(answering.impl, 'tok');
+ expect(answering.calls).toHaveLength(3);
+ });
+
+ test('a spent GraphQL budget holds only GraphQL until its reset, and REST keeps answering', async () => {
+ let now = 1_000_000_000_000;
+ const rateLimits = new GitHubRateLimitHolds();
+ const reset = String((now + 300_000) / 1000);
+ const pull = { title: 't', created_at: '2026-09-20T10:00:00Z', state: 'open' };
+ const fake = fakeFetch((url) =>
+ url.endsWith('/graphql')
+ ? new Response(JSON.stringify({ errors: [{ type: 'RATE_LIMITED' }] }), {
+ status: 200,
+ headers: { 'x-ratelimit-remaining': '0', 'x-ratelimit-reset': reset },
+ })
+ : json(pull),
+ );
+ const read = (number: number) =>
+ fetchGitHubReference({
+ target: { ...PULL, number },
+ token: 'tok',
+ fetchFn: fake.impl,
+ rateLimits,
+ now: () => now,
+ });
+ const infoLog = vi.spyOn(getLogger('github-reference'), 'info');
+ expect((await read(1)).ok).toBe(true);
+ expect((await read(2)).ok).toBe(true);
+ expect(fake.calls.map((c) => c.url.replace('https://api.github.com', ''))).toEqual([
+ '/graphql',
+ '/repos/inkeep/agents/pulls/1',
+ '/repos/inkeep/agents/pulls/2',
+ ]);
+ expect(infoLog).toHaveBeenCalledWith(
+ expect.objectContaining({ api: 'graphql' }),
+ '[github-reference] GitHub rate-limited reference cards; no GraphQL requests to this host until the limit resets',
+ );
+ infoLog.mockRestore();
+ now += 300_000;
+ await read(3);
+ expect(fake.calls.at(-2)?.url).toBe('https://api.github.com/graphql');
+ });
+
+ test("a hold follows GitHub's order: retry-after, then the reset only when none are left, else a minute", async () => {
+ let now = 1_000_000_000_000;
+ const seconds = (ms: number) => String((now + ms) / 1000);
+ const cases: Array<[string, Response, number]> = [
+ [
+ 'a 429 with requests left waits a minute, not for the reset',
+ new Response('{}', {
+ status: 429,
+ headers: { 'x-ratelimit-remaining': '4000', 'x-ratelimit-reset': seconds(3_000_000) },
+ }),
+ 60_000,
+ ],
+ [
+ 'a reset already past still waits a minute',
+ new Response('{}', {
+ status: 403,
+ headers: { 'x-ratelimit-remaining': '0', 'x-ratelimit-reset': seconds(-5_000) },
+ }),
+ 60_000,
+ ],
+ [
+ 'a 403 with only retry-after is a rate limit',
+ new Response('{}', {
+ status: 403,
+ headers: { 'retry-after': '90', 'x-ratelimit-remaining': '12' },
+ }),
+ 90_000,
+ ],
+ [
+ 'a retry-after of zero still holds for a second',
+ new Response('{}', { status: 429, headers: { 'retry-after': '0' } }),
+ 1_000,
+ ],
+ ];
+ for (const [label, limited, holdMs] of cases) {
+ const rateLimits = new GitHubRateLimitHolds();
+ const first = fakeFetch(() => limited);
+ const answering = fakeFetch(() =>
+ json({ title: 't', created_at: '2026-09-20T10:00:00Z', state: 'open' }),
+ );
+ const read = (fetchFn: typeof fetch) =>
+ fetchGitHubReference({ target: PULL, token: null, fetchFn, rateLimits, now: () => now });
+ expect(await read(first.impl), label).toEqual({ ok: false, reason: 'unavailable' });
+ now += holdMs - 1;
+ await read(answering.impl);
+ expect(answering.calls, label).toHaveLength(0);
+ now += 1;
+ await read(answering.impl);
+ expect(answering.calls, label).toHaveLength(1);
+ }
+ });
+
+ test('a REST 429 with no requests left holds only REST, so the next signed-in read still asks GraphQL', async () => {
+ let now = 1_000_000_000_000;
+ const rateLimits = new GitHubRateLimitHolds();
+ const fake = fakeFetch((url) =>
+ url.endsWith('/graphql')
+ ? json({ data: null })
+ : new Response('{}', {
+ status: 429,
+ headers: {
+ 'x-ratelimit-remaining': '0',
+ 'x-ratelimit-reset': String((now + 600_000) / 1000),
+ },
+ }),
+ );
+ const read = (number: number) =>
+ fetchGitHubReference({
+ target: { ...PULL, number },
+ token: 'tok',
+ fetchFn: fake.impl,
+ rateLimits,
+ now: () => now,
+ });
+ await read(1);
+ now += 1_000;
+ await read(2);
+ expect(fake.calls.map((c) => c.url.replace('https://api.github.com', ''))).toEqual([
+ '/graphql',
+ '/repos/inkeep/agents/pulls/1',
+ '/graphql',
+ ]);
+ });
+
+ test('GraphQL is held when a 200 says its budget is spent, whichever way GitHub says it', async () => {
+ const pull = { title: 't', created_at: '2026-09-20T10:00:00Z', state: 'open' };
+ const cases: Array<[string, () => Response, boolean]> = [
+ [
+ 'a RATE_LIMIT error',
+ () => new Response(JSON.stringify({ errors: [{ type: 'RATE_LIMIT' }] }), { status: 200 }),
+ true,
+ ],
+ [
+ 'an answer that spent the last point',
+ () =>
+ new Response(
+ JSON.stringify({ data: { repository: { issueOrPullRequest: openPullNode } } }),
+ { status: 200, headers: { 'x-ratelimit-remaining': '0' } },
+ ),
+ false,
+ ],
+ ];
+ for (const [label, graphql, fallsBack] of cases) {
+ const now = 1_000_000_000_000;
+ const rateLimits = new GitHubRateLimitHolds();
+ const fake = fakeFetch((url) => (url.endsWith('/graphql') ? graphql() : json(pull)));
+ const read = (number: number) =>
+ fetchGitHubReference({
+ target: { ...PULL, number },
+ token: 'tok',
+ fetchFn: fake.impl,
+ rateLimits,
+ now: () => now,
+ });
+ expect((await read(1)).ok, label).toBe(true);
+ await read(2);
+ const graphqlCalls = fake.calls.filter((c) => c.url.endsWith('/graphql'));
+ expect(graphqlCalls, label).toHaveLength(1);
+ expect(
+ fake.calls.map((c) => c.url).includes('https://api.github.com/repos/inkeep/agents/pulls/1'),
+ label,
+ ).toBe(fallsBack);
+ }
+ });
+
+ test('a GraphQL 403 with only retry-after is not retried over REST', async () => {
+ const fake = fakeFetch(
+ () => new Response('{}', { status: 403, headers: { 'retry-after': '30' } }),
+ );
+ expect(await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: fake.impl })).toEqual({
+ ok: false,
+ reason: 'unavailable',
+ });
+ expect(fake.calls.map((c) => c.url)).toEqual(['https://api.github.com/graphql']);
+ });
+
+ test('a spent GraphQL budget still reads REST, which GitHub meters separately', async () => {
+ const fake = fakeFetch((url) =>
+ url.endsWith('/graphql')
+ ? new Response(JSON.stringify({ errors: [{ type: 'RATE_LIMITED' }] }), {
+ status: 200,
+ headers: { 'content-type': 'application/json', 'x-ratelimit-remaining': '0' },
+ })
+ : json({ title: 't', created_at: '2026-09-20T10:00:00Z', state: 'open' }),
+ );
+ const outcome = await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: fake.impl });
+ expect(outcome.ok).toBe(true);
+ expect(fake.calls.map((c) => c.url)).toEqual([
+ 'https://api.github.com/graphql',
+ 'https://api.github.com/repos/inkeep/agents/pulls/42',
+ ]);
+ });
+
+ test('a GitHub host that never answers is given up on after the timeout', async () => {
+ const hung = (async (_input: string | URL | Request, init?: RequestInit) =>
+ new Promise<Response>((_resolve, reject) => {
+ init?.signal?.addEventListener('abort', () =>
+ reject(Object.assign(new Error('aborted'), { name: 'AbortError' })),
+ );
+ })) as typeof fetch;
+ const started = Date.now();
+ expect(
+ await fetchGitHubReference({ target: PULL, token: null, fetchFn: hung, timeoutMs: 30 }),
+ ).toEqual({ ok: false, reason: 'unavailable' });
+ expect(Date.now() - started).toBeLessThan(2000);
+ });
+
+ test('a failed request is logged with its cause and target, and a timeout without the error', async () => {
+ const warn = vi.spyOn(getLogger('github-reference'), 'warn').mockImplementation(() => {});
+ try {
+ const hung = (async (_input: string | URL | Request, init?: RequestInit) =>
+ new Promise<Response>((_resolve, reject) => {
+ init?.signal?.addEventListener('abort', () =>
+ reject(Object.assign(new Error('aborted'), { name: 'AbortError' })),
+ );
+ })) as typeof fetch;
+ await fetchGitHubReference({ target: PULL, token: null, fetchFn: hung, timeoutMs: 20 });
+ const offline = fakeFetch(() => new TypeError('fetch failed'));
+ await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: offline.impl });
+ const target = { host: 'github.com', repo: 'inkeep/agents', number: 42 };
+ expect(warn.mock.calls[0]?.[0]).toEqual({ reason: 'timeout', ...target });
+ expect(warn.mock.calls[1]?.[0]).toEqual({
+ reason: 'network',
+ ...target,
+ err: expect.any(TypeError),
+ });
+ } finally {
+ warn.mockRestore();
+ }
+ });
+
+ test('missing repositories and numbers are not found; limits and outages are unavailable', async () => {
+ const missingRepo = fakeFetch(() => json({ data: { repository: null } }));
+ expect(
+ await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: missingRepo.impl }),
+ ).toEqual({ ok: false, reason: 'not-found' });
+ const missingNumber = fakeFetch(() =>
+ json({ data: { repository: { issueOrPullRequest: null } } }),
+ );
+ expect(
+ await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: missingNumber.impl }),
+ ).toEqual({ ok: false, reason: 'not-found' });
+ const privateRepo = fakeFetch(() => json({ message: 'Not Found' }, 404));
+ expect(
+ await fetchGitHubReference({ target: PULL, token: null, fetchFn: privateRepo.impl }),
+ ).toEqual({ ok: false, reason: 'not-found' });
+ const limited = fakeFetch(() => json({ message: 'rate limited' }, 403));
+ expect(
+ await fetchGitHubReference({ target: PULL, token: null, fetchFn: limited.impl }),
+ ).toEqual({ ok: false, reason: 'unavailable' });
+ const offline = fakeFetch(() => new TypeError('fetch failed'));
+ expect(
+ await fetchGitHubReference({ target: PULL, token: 'tok', fetchFn: offline.impl }),
+ ).toEqual({ ok: false, reason: 'unavailable' });
+ });
+});
diff --git a/packages/server/src/github-reference/fetch-reference.ts b/packages/server/src/github-reference/fetch-reference.ts
new file mode 100644
index 000000000..7dabe60a7
--- /dev/null
+++ b/packages/server/src/github-reference/fetch-reference.ts
@@ -0,0 +1,413 @@
+import {
+ type GitHubReferencePreview,
+ GitHubReferencePreviewSchema,
+} from '@inkeep/open-knowledge-core';
+import { isGitHubRateLimited } from '../github-permissions.ts';
+import { getLogger } from '../logger.ts';
+import type { GitHubReferenceTarget } from './reference-target.ts';
+
+const log = getLogger('github-reference');
+
+export type GitHubReferenceOutcome =
+ | { readonly ok: true; readonly preview: GitHubReferencePreview }
+ | { readonly ok: false; readonly reason: 'not-found' | 'unavailable' };
+
+export interface FetchGitHubReferenceOptions {
+ readonly target: GitHubReferenceTarget;
+ readonly token: string | null;
+ readonly fetchFn?: typeof fetch;
+ readonly timeoutMs?: number;
+ readonly rateLimits?: GitHubRateLimitHolds;
+ readonly now?: () => number;
+}
+
+const RATE_LIMIT_DEFAULT_HOLD_MS = 60_000;
+
+const RATE_LIMIT_MAX_HOLD_MS = 60 * 60_000;
+
+function headerNumber(headers: Headers, name: string): number | null {
+ const raw = headers.get(name);
+ if (raw === null || raw.trim() === '') return null;
+ const value = Number(raw);
+ return Number.isFinite(value) && value >= 0 ? value : null;
+}
+
+function resumeAt(headers: Headers, now: number): number {
+ const retryAfter = headerNumber(headers, 'retry-after');
+ if (retryAfter !== null) return now + Math.max(retryAfter, 1) * 1000;
+ const reset = headerNumber(headers, 'x-ratelimit-reset');
+ if (headers.get('x-ratelimit-remaining') === '0' && reset !== null && reset * 1000 > now) {
+ return reset * 1000;
+ }
+ return now + RATE_LIMIT_DEFAULT_HOLD_MS;
+}
+
+function sharedLimit(res: { readonly status: number; readonly headers: Headers }): boolean {
+ if (res.status === 200) return false;
+ if (res.headers.get('retry-after') !== null) return true;
+ return res.headers.get('x-ratelimit-remaining') !== '0';
+}
+
+const GRAPHQL_RATE_LIMIT_TYPES: ReadonlySet<unknown> = new Set(['RATE_LIMITED', 'RATE_LIMIT']);
+
+function graphQLRateLimited(body: unknown): boolean {
+ const errors = asRecord(body)?.errors;
+ return (
+ Array.isArray(errors) &&
+ errors.some((error) => GRAPHQL_RATE_LIMIT_TYPES.has(asRecord(error)?.type))
+ );
+}
+
+const HOLD_MESSAGES = {
+ graphql:
+ '[github-reference] GitHub rate-limited reference cards; no GraphQL requests to this host until the limit resets',
+ rest: '[github-reference] GitHub rate-limited reference cards; no REST requests to this host until the limit resets',
+ 'graphql+rest':
+ '[github-reference] GitHub rate-limited reference cards; no GraphQL or REST requests to this host until the limit resets',
+} as const;
+
+export class GitHubRateLimitHolds {
+ private readonly until = new Map<string, number>();
+
+ holding(key: string, now: number): boolean {
+ const until = this.until.get(key);
+ if (until === undefined) return false;
+ if (until > now) return true;
+ this.until.delete(key);
+ return false;
+ }
+
+ hold(key: string, headers: Headers, now: number): number {
+ const until = Math.max(
+ this.until.get(key) ?? 0,
+ Math.min(now + RATE_LIMIT_MAX_HOLD_MS, resumeAt(headers, now)),
+ );
+ this.until.set(key, until);
+ return until;
+ }
+}
+
+type Json = Record<string, unknown>;
+
+type Attempt = GitHubReferenceOutcome | 'fallback';
+
+const DEFAULT_TIMEOUT_MS = 5000;
+
+const NOT_FOUND: GitHubReferenceOutcome = { ok: false, reason: 'not-found' };
+
+const UNAVAILABLE: GitHubReferenceOutcome = { ok: false, reason: 'unavailable' };
+
+const REFERENCE_QUERY = `query($owner: String!, $name: String!, $number: Int!) {
+ repository(owner: $owner, name: $name) {
+ issueOrPullRequest(number: $number) {
+ __typename
+ ... on Issue { title createdAt state stateReason author { login } }
+ ... on PullRequest {
+ title createdAt state isDraft additions deletions author { login }
+ mergeStateStatus reviewDecision
+ autoMergeRequest { enabledAt }
+ mergeQueueEntry { position state }
+ commits(last: 1) { nodes { commit { statusCheckRollup { state } } } }
+ }
+ }
+ }
+}`;
+
+function asRecord(value: unknown): Json | null {
+ return typeof value === 'object' && value !== null && !Array.isArray(value)
+ ? (value as Json)
+ : null;
+}
+
+function asString(value: unknown): string | null {
+ return typeof value === 'string' ? value : null;
+}
+
+function loginOf(value: unknown): string | null {
+ return asString(asRecord(value)?.login);
+}
+
+function restBase(target: GitHubReferenceTarget): string {
+ const api =
+ target.host === 'github.com' ? 'https://api.github.com' : `https://${target.host}/api/v3`;
+ return `${api}/repos/${encodeURIComponent(target.owner)}/${encodeURIComponent(target.repo)}`;
+}
+
+function graphqlEndpoint(host: string): string {
+ return host === 'github.com' ? 'https://api.github.com/graphql' : `https://${host}/api/graphql`;
+}
+
+function requestHeaders(token: string | null, accept: string): Record<string, string> {
+ const headers: Record<string, string> = { 'User-Agent': 'open-knowledge-server', Accept: accept };
+ if (token !== null) headers.Authorization = `Bearer ${token}`;
+ return headers;
+}
+
+async function requestJson(
+ url: string,
+ init: RequestInit,
+ fetchFn: typeof fetch,
+ timeoutMs: number,
+): Promise<{ status: number; headers: Headers; body: unknown }> {
+ const controller = new AbortController();
+ const timer = setTimeout(() => controller.abort(), timeoutMs);
+ try {
+ const res = await fetchFn(url, { ...init, signal: controller.signal });
+ if (res.status !== 200) {
+ await res.body?.cancel();
+ return { status: res.status, headers: res.headers, body: null };
+ }
+ return { status: 200, headers: res.headers, body: await res.json() };
+ } finally {
+ clearTimeout(timer);
+ }
+}
+
+function issueLifecycle(state: string | null, reason: string | null): string {
+ if (state?.toUpperCase() === 'OPEN') return 'open';
+ const why = reason?.toUpperCase();
+ return why === 'NOT_PLANNED' || why === 'DUPLICATE' ? 'not-planned' : 'completed';
+}
+
+function toPreview(raw: Json): GitHubReferencePreview | null {
+ const parsed = GitHubReferencePreviewSchema.safeParse(raw);
+ return parsed.success ? parsed.data : null;
+}
+
+export function previewFromGraphQL(
+ target: GitHubReferenceTarget,
+ node: unknown,
+): GitHubReferencePreview | null {
+ const n = asRecord(node);
+ if (n === null) return null;
+ const base = {
+ repo: `${target.owner}/${target.repo}`,
+ number: target.number,
+ title: n.title,
+ author: loginOf(n.author),
+ createdAt: n.createdAt,
+ };
+ if (n.__typename === 'Issue') {
+ return toPreview({
+ ...base,
+ kind: 'issue',
+ lifecycle: issueLifecycle(asString(n.state), asString(n.stateReason)),
+ });
+ }
+ if (n.__typename !== 'PullRequest') return null;
+ const state = asString(n.state);
+ const lifecycle =
+ state === 'MERGED'
+ ? 'merged'
+ : state === 'CLOSED'
+ ? 'closed'
+ : n.isDraft === true
+ ? 'draft'
+ : 'open';
+ const commits = asRecord(n.commits)?.nodes;
+ const lastCommit = Array.isArray(commits) ? asRecord(asRecord(commits.at(-1))?.commit) : null;
+ const queueEntry = asRecord(n.mergeQueueEntry);
+ return toPreview({
+ ...base,
+ kind: 'pull',
+ lifecycle,
+ additions: n.additions,
+ deletions: n.deletions,
+ ...(lifecycle === 'open'
+ ? {
+ status: {
+ mergeQueue:
+ queueEntry === null
+ ? null
+ : { position: queueEntry.position, state: queueEntry.state },
+ autoMerge: asRecord(n.autoMergeRequest) !== null,
+ mergeState: n.mergeStateStatus,
+ reviewDecision: n.reviewDecision,
+ checks: asRecord(lastCommit?.statusCheckRollup)?.state ?? null,
+ },
+ }
+ : {}),
+ });
+}
+
+export function previewFromRest(
+ target: GitHubReferenceTarget,
+ issue: unknown,
+ pull: unknown,
+): GitHubReferencePreview | null {
+ const base = { repo: `${target.owner}/${target.repo}`, number: target.number };
+ const p = asRecord(pull);
+ if (p !== null) {
+ const merged = p.merged === true || asString(p.merged_at) !== null;
+ const lifecycle = merged
+ ? 'merged'
+ : p.state === 'closed'
+ ? 'closed'
+ : p.draft === true
+ ? 'draft'
+ : 'open';
+ const mergeState = asString(p.mergeable_state)?.toUpperCase() ?? null;
+ return toPreview({
+ ...base,
+ kind: 'pull',
+ title: p.title,
+ author: loginOf(p.user),
+ createdAt: p.created_at,
+ lifecycle,
+ additions: p.additions,
+ deletions: p.deletions,
+ ...(lifecycle === 'open'
+ ? {
+ status: {
+ mergeQueue: null,
+ autoMerge: asRecord(p.auto_merge) !== null,
+ mergeState,
+ reviewDecision: null,
+ checks: null,
+ },
+ }
+ : {}),
+ });
+ }
+ const i = asRecord(issue);
+ if (i === null) return null;
+ return toPreview({
+ ...base,
+ kind: 'issue',
+ title: i.title,
+ author: loginOf(i.user),
+ createdAt: i.created_at,
+ lifecycle: issueLifecycle(asString(i.state), asString(i.state_reason)),
+ });
+}
+
+async function viaGraphQL(
+ target: GitHubReferenceTarget,
+ token: string,
+ fetchFn: typeof fetch,
+ timeoutMs: number,
+ onLimited: (res: { readonly status: number; readonly headers: Headers }) => void,
+): Promise<Attempt> {
+ const res = await requestJson(
+ graphqlEndpoint(target.host),
+ {
+ method: 'POST',
+ headers: {
+ ...requestHeaders(token, 'application/vnd.github.merge-info-preview+json'),
+ 'Content-Type': 'application/json',
+ },
+ body: JSON.stringify({
+ query: REFERENCE_QUERY,
+ variables: { owner: target.owner, name: target.repo, number: target.number },
+ }),
+ },
+ fetchFn,
+ timeoutMs,
+ );
+ if (res.status !== 200) {
+ if (!isGitHubRateLimited(res)) return 'fallback';
+ onLimited(res);
+ return UNAVAILABLE;
+ }
+ const spent = graphQLRateLimited(res.body);
+ if (spent || res.headers.get('x-ratelimit-remaining') === '0') onLimited(res);
+ if (spent) return 'fallback';
+ const data = asRecord(asRecord(res.body)?.data);
+ if (data === null) return 'fallback';
+ const repository = asRecord(data.repository);
+ if (repository === null) return NOT_FOUND;
+ if (repository.issueOrPullRequest === null) return NOT_FOUND;
+ const preview = previewFromGraphQL(target, repository.issueOrPullRequest);
+ return preview === null ? 'fallback' : { ok: true, preview };
+}
+
+async function viaRest(
+ target: GitHubReferenceTarget,
+ token: string | null,
+ fetchFn: typeof fetch,
+ timeoutMs: number,
+ onLimited: (res: { readonly status: number; readonly headers: Headers }) => void,
+): Promise<GitHubReferenceOutcome> {
+ const init: RequestInit = { headers: requestHeaders(token, 'application/vnd.github+json') };
+ const base = restBase(target);
+ const failed = (res: { status: number; headers: Headers }): GitHubReferenceOutcome => {
+ if (res.status === 404 || res.status === 410) return NOT_FOUND;
+ if (isGitHubRateLimited(res)) onLimited(res);
+ return UNAVAILABLE;
+ };
+ const fetchPull = async (): Promise<GitHubReferenceOutcome> => {
+ const pull = await requestJson(`${base}/pulls/${target.number}`, init, fetchFn, timeoutMs);
+ if (pull.status !== 200) return failed(pull);
+ const preview = previewFromRest(target, null, pull.body);
+ return preview === null ? UNAVAILABLE : { ok: true, preview };
+ };
+ if (target.kind === 'pull') return fetchPull();
+ const issue = await requestJson(`${base}/issues/${target.number}`, init, fetchFn, timeoutMs);
+ if (issue.status !== 200) return failed(issue);
+ if (asRecord(asRecord(issue.body)?.pull_request) !== null) return fetchPull();
+ const preview = previewFromRest(target, issue.body, null);
+ return preview === null ? UNAVAILABLE : { ok: true, preview };
+}
+
+export async function fetchGitHubReference(
+ options: FetchGitHubReferenceOptions,
+): Promise<GitHubReferenceOutcome> {
+ const { target, token, rateLimits } = options;
+ const fetchFn = options.fetchFn ?? fetch;
+ const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
+ const now = options.now ?? Date.now;
+ const graphQLKey = `graphql ${target.host}`;
+ const restKey = `rest ${token === null ? 'anonymous' : 'signed-in'} ${target.host}`;
+ const held = (key: string): boolean => rateLimits?.holding(key, now()) === true;
+ const holdFor = (
+ api: 'graphql' | 'rest',
+ res: { readonly status: number; readonly headers: Headers },
+ ): void => {
+ if (rateLimits === undefined) return;
+ const keys = sharedLimit(res)
+ ? token === null
+ ? [restKey]
+ : [graphQLKey, restKey]
+ : [api === 'graphql' ? graphQLKey : restKey];
+ let until = 0;
+ for (const key of keys) until = Math.max(until, rateLimits.hold(key, res.headers, now()));
+ const scope = keys.length > 1 ? 'graphql+rest' : api;
+ log.info(
+ {
+ host: target.host,
+ signedIn: token !== null,
+ api: scope,
+ until: new Date(until).toISOString(),
+ },
+ HOLD_MESSAGES[scope],
+ );
+ };
+ try {
+ if (token !== null && !held(graphQLKey)) {
+ const attempt = await viaGraphQL(target, token, fetchFn, timeoutMs, (res) =>
+ holdFor('graphql', res),
+ );
+ if (attempt !== 'fallback') return attempt;
+ }
+ if (held(restKey)) return UNAVAILABLE;
+ return await viaRest(target, token, fetchFn, timeoutMs, (res) => holdFor('rest', res));
+ } catch (err) {
+ const reason =
+ err instanceof Error && err.name === 'AbortError'
+ ? 'timeout'
+ : err instanceof SyntaxError
+ ? 'bad-response'
+ : 'network';
+ log.warn(
+ {
+ reason,
+ host: target.host,
+ repo: `${target.owner}/${target.repo}`,
+ number: target.number,
+ ...(reason === 'timeout' ? {} : { err }),
+ },
+ '[github-reference] GitHub request failed; the reference stays a plain link',
+ );
+ return UNAVAILABLE;
+ }
+}
diff --git a/packages/server/src/github-reference/reference-cache.test.ts b/packages/server/src/github-reference/reference-cache.test.ts
new file mode 100644
index 000000000..cd058afaf
--- /dev/null
+++ b/packages/server/src/github-reference/reference-cache.test.ts
@@ -0,0 +1,63 @@
+import { describe, expect, test } from 'vitest';
+import type { GitHubReferenceOutcome } from './fetch-reference.ts';
+import { GitHubReferenceCache } from './reference-cache.ts';
+
+const preview = (lifecycle: 'open' | 'merged'): GitHubReferenceOutcome => ({
+ ok: true,
+ preview: {
+ kind: 'pull',
+ repo: 'inkeep/agents',
+ number: 1,
+ title: 't',
+ author: null,
+ createdAt: '2026-09-20T10:00:00Z',
+ lifecycle,
+ },
+});
+
+describe('GitHubReferenceCache', () => {
+ test('concurrent loads share one fetch', async () => {
+ const cache = new GitHubReferenceCache();
+ let calls = 0;
+ const compute = async () => {
+ calls += 1;
+ return preview('open');
+ };
+ await Promise.all([cache.load('k', compute), cache.load('k', compute)]);
+ expect(calls).toBe(1);
+ });
+
+ test('open items refresh after a minute while settled ones are kept longer', async () => {
+ let now = 0;
+ const cache = new GitHubReferenceCache(() => now);
+ let calls = 0;
+ const load = (key: string, lifecycle: 'open' | 'merged') =>
+ cache.load(key, async () => {
+ calls += 1;
+ return preview(lifecycle);
+ });
+ await load('open', 'open');
+ await load('merged', 'merged');
+ now = 61_000;
+ await load('open', 'open');
+ await load('merged', 'merged');
+ expect(calls).toBe(3);
+ });
+
+ test('a not-found answer is remembered, an outage only briefly', async () => {
+ let now = 0;
+ const cache = new GitHubReferenceCache(() => now);
+ let calls = 0;
+ const load = (key: string, reason: 'not-found' | 'unavailable') =>
+ cache.load(key, async () => {
+ calls += 1;
+ return { ok: false, reason };
+ });
+ await load('missing', 'not-found');
+ await load('down', 'unavailable');
+ now = 120_000;
+ await load('missing', 'not-found');
+ await load('down', 'unavailable');
+ expect(calls).toBe(3);
+ });
+});
diff --git a/packages/server/src/github-reference/reference-cache.ts b/packages/server/src/github-reference/reference-cache.ts
new file mode 100644
index 000000000..d8a4bd342
--- /dev/null
+++ b/packages/server/src/github-reference/reference-cache.ts
@@ -0,0 +1,64 @@
+import type { GitHubReferenceOutcome } from './fetch-reference.ts';
+
+const LIVE_TTL_MS = 60_000;
+
+const SETTLED_TTL_MS = 30 * 60_000;
+
+const NOT_FOUND_TTL_MS = 5 * 60_000;
+
+const UNAVAILABLE_TTL_MS = 60_000;
+
+const MAX_ENTRIES = 256;
+
+function ttlFor(outcome: GitHubReferenceOutcome): number {
+ if (!outcome.ok) return outcome.reason === 'not-found' ? NOT_FOUND_TTL_MS : UNAVAILABLE_TTL_MS;
+ const lifecycle = outcome.preview.lifecycle;
+ return lifecycle === 'open' || lifecycle === 'draft' ? LIVE_TTL_MS : SETTLED_TTL_MS;
+}
+
+export class GitHubReferenceCache {
+ private readonly entries = new Map<
+ string,
+ { readonly outcome: GitHubReferenceOutcome; readonly expiresAt: number }
+ >();
+ private readonly inflight = new Map<string, Promise<GitHubReferenceOutcome>>();
+ private readonly now: () => number;
+
+ constructor(now: () => number = Date.now) {
+ this.now = now;
+ }
+
+ load(
+ key: string,
+ compute: () => Promise<GitHubReferenceOutcome>,
+ ): Promise<GitHubReferenceOutcome> {
+ const hit = this.entries.get(key);
+ if (hit !== undefined && hit.expiresAt > this.now()) {
+ this.entries.delete(key);
+ this.entries.set(key, hit);
+ return Promise.resolve(hit.outcome);
+ }
+ const pending = this.inflight.get(key);
+ if (pending !== undefined) return pending;
+ const promise = compute()
+ .then((outcome) => {
+ this.store(key, outcome);
+ return outcome;
+ })
+ .finally(() => {
+ this.inflight.delete(key);
+ });
+ this.inflight.set(key, promise);
+ return promise;
+ }
+
+ private store(key: string, outcome: GitHubReferenceOutcome): void {
+ this.entries.delete(key);
+ this.entries.set(key, { outcome, expiresAt: this.now() + ttlFor(outcome) });
+ while (this.entries.size > MAX_ENTRIES) {
+ const oldest = this.entries.keys().next().value;
+ if (oldest === undefined) break;
+ this.entries.delete(oldest);
+ }
+ }
+}
diff --git a/packages/server/src/github-reference/reference-target.test.ts b/packages/server/src/github-reference/reference-target.test.ts
new file mode 100644
index 000000000..809a91567
--- /dev/null
+++ b/packages/server/src/github-reference/reference-target.test.ts
@@ -0,0 +1,57 @@
+import { describe, expect, test } from 'vitest';
+import { gitHubReferenceKey, parseGitHubReferenceUrl } from './reference-target.ts';
+
+const NO_DECLARED = new Set<string>();
+
+describe('parseGitHubReferenceUrl', () => {
+ test('reads pull requests and issues on github.com', () => {
+ expect(
+ parseGitHubReferenceUrl('https://github.com/inkeep/agents/pull/42', NO_DECLARED),
+ ).toEqual({
+ host: 'github.com',
+ owner: 'inkeep',
+ repo: 'agents',
+ number: 42,
+ kind: 'pull',
+ });
+ expect(
+ parseGitHubReferenceUrl('https://www.github.com/inkeep/agents/issues/7/', NO_DECLARED),
+ ).toMatchObject({ host: 'github.com', number: 7, kind: 'issues' });
+ expect(
+ parseGitHubReferenceUrl('https://github.com/inkeep/agents/pull/42/files#diff-1', NO_DECLARED),
+ ).toMatchObject({ number: 42, kind: 'pull' });
+ });
+
+ test('accepts an enterprise host only when it is declared as GitHub', () => {
+ const url = 'https://git.example.com/team/app/pull/3';
+ expect(parseGitHubReferenceUrl(url, NO_DECLARED)).toBeNull();
+ expect(parseGitHubReferenceUrl(url, new Set(['git.example.com']))).toMatchObject({
+ host: 'git.example.com',
+ owner: 'team',
+ repo: 'app',
+ number: 3,
+ });
+ });
+
+ test('refuses anything that is not a plain https reference', () => {
+ for (const url of [
+ 'http://github.com/inkeep/agents/pull/42',
+ 'https://user:[email protected]/inkeep/agents/pull/42',
+ 'https://github.com:8443/inkeep/agents/pull/42',
+ 'https://gitlab.com/inkeep/agents/issues/42',
+ 'https://github.com/inkeep/agents/pulls',
+ 'https://github.com/inkeep/agents/pull/0',
+ 'https://github.com/inkeep/../pull/1',
+ 'https://github.com/inkeep/agents/discussions/42',
+ 'not a url',
+ ]) {
+ expect(parseGitHubReferenceUrl(url, NO_DECLARED)).toBeNull();
+ }
+ });
+
+ test('the cache key ignores case and whether the link said pull or issues', () => {
+ const pull = parseGitHubReferenceUrl('https://github.com/Inkeep/Agents/pull/5', NO_DECLARED);
+ const issue = parseGitHubReferenceUrl('https://github.com/inkeep/agents/issues/5', NO_DECLARED);
+ expect(pull && gitHubReferenceKey(pull)).toBe(issue && gitHubReferenceKey(issue));
+ });
+});
diff --git a/packages/server/src/github-reference/reference-target.ts b/packages/server/src/github-reference/reference-target.ts
new file mode 100644
index 000000000..6cfb5f0b0
--- /dev/null
+++ b/packages/server/src/github-reference/reference-target.ts
@@ -0,0 +1,40 @@
+import { isGitHubHost, normalizeGitHostname } from '@inkeep/open-knowledge-core';
+
+export interface GitHubReferenceTarget {
+ readonly host: string;
+ readonly owner: string;
+ readonly repo: string;
+ readonly number: number;
+ readonly kind: 'pull' | 'issues';
+}
+
+const REFERENCE_PATH =
+ /^\/([A-Za-z0-9][A-Za-z0-9-]{0,38})\/([A-Za-z0-9._-]{1,100})\/(pull|issues)\/(\d{1,10})(?:\/[^?#]*)?$/;
+
+export function parseGitHubReferenceUrl(
+ raw: string,
+ declaredGitHubHosts: ReadonlySet<string>,
+): GitHubReferenceTarget | null {
+ let url: URL;
+ try {
+ url = new URL(raw);
+ } catch {
+ return null;
+ }
+ if (url.protocol !== 'https:' || url.username !== '' || url.password !== '' || url.port !== '') {
+ return null;
+ }
+ const host = normalizeGitHostname(url.hostname);
+ if (!isGitHubHost(host, declaredGitHubHosts)) return null;
+ const match = REFERENCE_PATH.exec(url.pathname);
+ if (match === null) return null;
+ const [, owner, repo, kind, digits] = match;
+ if (owner === undefined || repo === undefined || repo === '.' || repo === '..') return null;
+ const number = Number(digits);
+ if (!Number.isSafeInteger(number) || number < 1) return null;
+ return { host, owner, repo, number, kind: kind === 'pull' ? 'pull' : 'issues' };
+}
+
+export function gitHubReferenceKey(target: GitHubReferenceTarget): string {
+ return `${target.host}/${target.owner}/${target.repo}#${target.number}`.toLowerCase();
+}
diff --git a/packages/server/src/github-reference/token-resolver.test.ts b/packages/server/src/github-reference/token-resolver.test.ts
new file mode 100644
index 000000000..fe3d03c8a
--- /dev/null
+++ b/packages/server/src/github-reference/token-resolver.test.ts
@@ -0,0 +1,59 @@
+import { describe, expect, test, vi } from 'vitest';
+import { getLogger } from '../logger.ts';
+import { createGitHubTokenResolver, mayUseGitHubToken } from './token-resolver.ts';
+
+describe('mayUseGitHubToken', () => {
+ test('only a direct loopback caller may spend the GitHub sign-in', () => {
+ expect(mayUseGitHubToken({ socket: { remoteAddress: '127.0.0.1' }, headers: {} })).toBe(true);
+ expect(mayUseGitHubToken({ socket: { remoteAddress: '::1' }, headers: {} })).toBe(true);
+ expect(
+ mayUseGitHubToken({
+ socket: { remoteAddress: '203.0.113.9' },
+ headers: { origin: 'http://localhost:5173', host: 'localhost' },
+ }),
+ ).toBe(false);
+ expect(
+ mayUseGitHubToken({
+ socket: { remoteAddress: '127.0.0.1' },
+ headers: { 'x-forwarded-for': '203.0.113.9' },
+ }),
+ ).toBe(false);
+ expect(mayUseGitHubToken({ socket: undefined, headers: {} })).toBe(false);
+ });
+});
+
+describe('createGitHubTokenResolver', () => {
+ test('prefers the gh CLI token, then the stored sign-in, else reads anonymously', async () => {
+ const withGh = createGitHubTokenResolver(() => ({ available: true, token: 'gh-token' }), {
+ get: async () => ({ token: 'stored' }),
+ });
+ expect(await withGh('github.com')).toBe('gh-token');
+
+ const hosts: string[] = [];
+ const stored = createGitHubTokenResolver(() => ({ available: false }), {
+ get: async (host) => {
+ hosts.push(host);
+ return { token: 'stored' };
+ },
+ });
+ expect(await stored('git.example.com')).toBe('stored');
+ expect(hosts).toEqual(['git.example.com']);
+
+ expect(await createGitHubTokenResolver(undefined, null)('github.com')).toBeNull();
+ });
+
+ test('a token store that fails reads anonymously and logs which host it was asked for', async () => {
+ const warn = vi.spyOn(getLogger('github-reference'), 'warn').mockImplementation(() => {});
+ try {
+ const broken = createGitHubTokenResolver(undefined, {
+ get: async () => {
+ throw new Error('keychain locked');
+ },
+ });
+ expect(await broken('git.example.com')).toBeNull();
+ expect(warn.mock.calls[0]?.[0]).toEqual({ err: expect.any(Error), host: 'git.example.com' });
+ } finally {
+ warn.mockRestore();
+ }
+ });
+});
diff --git a/packages/server/src/github-reference/token-resolver.ts b/packages/server/src/github-reference/token-resolver.ts
new file mode 100644
index 000000000..1720d98ff
--- /dev/null
+++ b/packages/server/src/github-reference/token-resolver.ts
@@ -0,0 +1,34 @@
+import type { IncomingHttpHeaders } from 'node:http';
+import { createGhTokenSource } from '../gh-token-source.ts';
+import type { DetectGhFn, ProbeTokenStore } from '../github-permissions.ts';
+import { hasForwardingHeaders } from '../ingress-policy.ts';
+import { getLogger } from '../logger.ts';
+import { isLoopbackAddress } from '../loopback.ts';
+
+const log = getLogger('github-reference');
+
+export function mayUseGitHubToken(req: {
+ readonly socket?: { readonly remoteAddress?: string | undefined } | undefined;
+ readonly headers: IncomingHttpHeaders;
+}): boolean {
+ return isLoopbackAddress(req.socket?.remoteAddress) && !hasForwardingHeaders(req);
+}
+
+export function createGitHubTokenResolver(
+ detectGh: DetectGhFn | undefined,
+ tokenStore: ProbeTokenStore | null | undefined,
+): (host: string) => Promise<string | null> {
+ const ghTokens = createGhTokenSource(detectGh);
+ return async (host) => {
+ const gh = ghTokens.get(host);
+ if (gh !== null) return gh.token;
+ if (!tokenStore) return null;
+ try {
+ const entry = await tokenStore.get(host);
+ return entry?.token ? entry.token : null;
+ } catch (err) {
+ log.warn({ err, host }, '[github-reference] token store lookup failed; reading anonymously');
+ return null;
+ }
+ };
+}
diff --git a/packages/server/src/http/workspace-tools-routes.test.ts b/packages/server/src/http/workspace-tools-routes.test.ts
index 5e336d5d9..4b4672198 100644
--- a/packages/server/src/http/workspace-tools-routes.test.ts
+++ b/packages/server/src/http/workspace-tools-routes.test.ts
@@ -16,17 +16,21 @@ function buildGroup() {
searchService: {} as SearchService,
linkPreviewFetch: undefined,
getLinkPreviewsEnabled: undefined,
+ declaredGitHubHosts: new Set<string>(),
+ resolveGitHubToken: undefined,
+ githubReferenceFetch: undefined,
getGeneratedIndexSettingsStatus: undefined,
setGeneratedIndexEnabled: undefined,
});
}
describe('createWorkspaceToolsRoutes table', () => {
- test('registers exactly the six workspace-tool paths', () => {
+ test('registers exactly the seven workspace-tool paths', () => {
expect([...buildGroup().paths].sort()).toEqual(
[
'/api/search',
'/api/link-preview',
+ '/api/github-reference',
'/api/skill-targets',
'/api/saved-themes',
'/api/saved-theme',
diff --git a/packages/server/src/http/workspace-tools-routes.ts b/packages/server/src/http/workspace-tools-routes.ts
index 7fe2991d1..f36c5cfeb 100644
--- a/packages/server/src/http/workspace-tools-routes.ts
+++ b/packages/server/src/http/workspace-tools-routes.ts
@@ -1,8 +1,11 @@
import { existsSync } from 'node:fs';
+import type { IncomingMessage, ServerResponse } from 'node:http';
import { join, resolve } from 'node:path';
import {
AGENTS_SKILLS_ROOT,
EmptyRequestSchema,
+ GitHubReferenceRequestSchema,
+ GitHubReferenceResponseSchema,
LinkPreviewRequestSchema,
LinkPreviewResponseSchema,
SavedThemeDeleteSuccessSchema,
@@ -23,6 +26,13 @@ import {
} from '@inkeep/open-knowledge-core';
import { skillFolderStateForWire } from '@inkeep/open-knowledge-core/skill-folder-state';
import { z } from 'zod';
+import { fetchGitHubReference, GitHubRateLimitHolds } from '../github-reference/fetch-reference.ts';
+import { GitHubReferenceCache } from '../github-reference/reference-cache.ts';
+import {
+ gitHubReferenceKey,
+ parseGitHubReferenceUrl,
+} from '../github-reference/reference-target.ts';
+import { mayUseGitHubToken } from '../github-reference/token-resolver.ts';
import { isActivatedSkillRoot, knownSkillRootsFor } from '../in-place-skills.ts';
import { guardedFetch } from '../link-preview/guarded-fetch.ts';
import { buildLinkPreviewMetadata, type GuardedFetch } from '../link-preview/metadata.ts';
@@ -78,12 +88,37 @@ export interface WorkspaceToolsRouteDeps {
searchService: SearchService;
linkPreviewFetch: GuardedFetch | undefined;
getLinkPreviewsEnabled: (() => boolean) | undefined;
+ declaredGitHubHosts: ReadonlySet<string>;
+ resolveGitHubToken: ((host: string) => Promise<string | null>) | undefined;
+ githubReferenceFetch: typeof fetch | undefined;
getGeneratedIndexSettingsStatus: (() => GeneratedIndexSettingsStatus) | undefined;
setGeneratedIndexEnabled:
| ((enabled: boolean) => Promise<GeneratedIndexSettingsStatus>)
| undefined;
}
+function loopbackJsonGate(handler: string): (req: IncomingMessage, res: ServerResponse) => boolean {
+ return (req, res) => {
+ const verdict = classifyLinkPreviewRequest({
+ origin: req.headers.origin,
+ contentType: req.headers['content-type'],
+ });
+ if (verdict.ok) return true;
+ if (verdict.reason === 'origin') {
+ errorResponse(res, 403, 'urn:ok:error:invalid-origin', 'Origin not allowed.', { handler });
+ } else {
+ errorResponse(
+ res,
+ 400,
+ 'urn:ok:error:invalid-request',
+ 'Content-Type must be application/json.',
+ { handler },
+ );
+ }
+ return false;
+ };
+}
+
export function createWorkspaceToolsRoutes(deps: WorkspaceToolsRouteDeps): ApiRouteGroup {
const {
contentDir,
@@ -97,6 +132,9 @@ export function createWorkspaceToolsRoutes(deps: WorkspaceToolsRouteDeps): ApiRo
searchService,
linkPreviewFetch,
getLinkPreviewsEnabled,
+ declaredGitHubHosts,
+ resolveGitHubToken,
+ githubReferenceFetch,
getGeneratedIndexSettingsStatus,
setGeneratedIndexEnabled,
} = deps;
@@ -769,27 +807,61 @@ export function createWorkspaceToolsRoutes(deps: WorkspaceToolsRouteDeps): ApiRo
{
handler: LINK_PREVIEW_HANDLER,
method: 'POST',
- preBodyGate: (req, res) => {
- const verdict = classifyLinkPreviewRequest({
- origin: req.headers.origin,
- contentType: req.headers['content-type'],
- });
- if (verdict.ok) return true;
- if (verdict.reason === 'origin') {
- errorResponse(res, 403, 'urn:ok:error:invalid-origin', 'Origin not allowed.', {
- handler: LINK_PREVIEW_HANDLER,
- });
- } else {
- errorResponse(
+ preBodyGate: loopbackJsonGate(LINK_PREVIEW_HANDLER),
+ },
+ );
+
+ const GITHUB_REFERENCE_HANDLER = 'github-reference';
+ const githubReferenceCache = new GitHubReferenceCache();
+ const githubRateLimits = new GitHubRateLimitHolds();
+
+ const handleGitHubReference = withValidation(
+ GitHubReferenceRequestSchema,
+ async (req, res, body) => {
+ try {
+ const target = linkPreviewsEnabled()
+ ? parseGitHubReferenceUrl(body.url, declaredGitHubHosts)
+ : null;
+ if (target === null) {
+ const reason = linkPreviewsEnabled() ? 'unsupported' : 'disabled';
+ log.debug({ outcome: reason }, '[github-reference] request outcome');
+ successResponse(
res,
- 400,
- 'urn:ok:error:invalid-request',
- 'Content-Type must be application/json.',
- { handler: LINK_PREVIEW_HANDLER },
+ 200,
+ GitHubReferenceResponseSchema,
+ { ok: false, reason },
+ { handler: GITHUB_REFERENCE_HANDLER },
);
+ return;
}
- return false;
- },
+ const signedIn = mayUseGitHubToken(req);
+ const cacheKey = `${signedIn ? 'signed-in' : 'anonymous'} ${gitHubReferenceKey(target)}`;
+ const outcome = await githubReferenceCache.load(cacheKey, async () =>
+ fetchGitHubReference({
+ target,
+ token: signedIn ? ((await resolveGitHubToken?.(target.host)) ?? null) : null,
+ fetchFn: githubReferenceFetch,
+ rateLimits: githubRateLimits,
+ }),
+ );
+ log.debug(
+ { outcome: outcome.ok ? 'ok' : outcome.reason },
+ '[github-reference] request outcome',
+ );
+ successResponse(res, 200, GitHubReferenceResponseSchema, outcome, {
+ handler: GITHUB_REFERENCE_HANDLER,
+ });
+ } catch (e) {
+ errorResponse(res, 500, 'urn:ok:error:internal-server-error', 'Internal server error.', {
+ handler: GITHUB_REFERENCE_HANDLER,
+ cause: e,
+ });
+ }
+ },
+ {
+ handler: GITHUB_REFERENCE_HANDLER,
+ method: 'POST',
+ preBodyGate: loopbackJsonGate(GITHUB_REFERENCE_HANDLER),
},
);
@@ -843,6 +915,7 @@ export function createWorkspaceToolsRoutes(deps: WorkspaceToolsRouteDeps): ApiRo
{
'/api/search': handleSearch,
'/api/link-preview': handleLinkPreview,
+ '/api/github-reference': handleGitHubReference,
'/api/skill-targets': handleSkillTargets,
'/api/saved-themes': handleSavedThemesList,
'/api/saved-theme': handleSavedTheme,
diff --git a/packages/server/src/server-factory.ts b/packages/server/src/server-factory.ts
index ede26a85a..984ee3c90 100644
--- a/packages/server/src/server-factory.ts
+++ b/packages/server/src/server-factory.ts
@@ -168,6 +168,7 @@ import type {
ProbeTokenStore,
PushPermission,
} from './github-permissions.ts';
+import { createGitHubTokenResolver } from './github-reference/token-resolver.ts';
import { type HeadWatcherHandle, readProjectHeadState, startHeadWatcher } from './head-watcher.ts';
import { errnoCode } from './http/handler-utils.ts';
import type { NativeApiHandle } from './http/http-app.ts';
@@ -2185,6 +2186,7 @@ export function createServer(options: ServerOptions): ServerInstance {
getLinkAdvisoryPolicy: readLinkAdvisoryPolicy,
getProjectConfigEpoch: () => projectConfigEpoch,
getLinkPreviewsEnabled: readLinkPreviewsEnabled,
+ resolveGitHubToken: createGitHubTokenResolver(options.detectGh, options.tokenStore),
getConfigDiagnostics: readConfigDiagnostics,
embeddingsSecretsFile: secretsFilePath(configHomedirOverride),
readSemanticProviderConfig: readSemanticSearchConfig,