Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

refactor comments (#3193)

shagun-singh-inkeepf9c87f9fcf19
diff --git a/.changeset/comments-panel-one-list-two-scopes.md b/.changeset/comments-panel-one-list-two-scopes.md
new file mode 100644
index 000000000..736b442f8
--- /dev/null
+++ b/.changeset/comments-panel-one-list-two-scopes.md
@@ -0,0 +1,15 @@
+---
+"@inkeep/open-knowledge": patch
+---
+
+Reworked commenting so writing a note and sending a batch are two clearly separate steps.
+
+- **The selection toolbar's "Ask AI" is now "Comment"** (same sparkle). It opens the same composer as before, but the composer no longer offers "Send to AI" — a comment goes into the queue, and dispatching is something you do deliberately from the Comments tab, which the composer now offers a direct route to. The hidden ⌘Enter that used to hand a comment straight to an agent is gone with it, along with its entry in the shortcuts list; Enter posts.
+- **The Comments tab's two sides are now "This doc" and "This project", and they are the same list.** The project side used to show only comments already marked to send, so the two halves of one tab answered different questions. Both now list every comment — the project side grouped under the file it sits on — with a checkbox on each saying whether it goes out, a running count of what is checked, and a "Send to chat" button. Ticking a comment on one side ticks it on the other.
+- **File groups fold.** Each file in the project view has a disclosure, plus one control in the panel header to collapse or expand them all. Groups start expanded.
+- **Comments always go to an in-app agent, and to the chat you already have open.** A batch used to resolve the same destinations as the Ask AI composer, so a standing preference for a CLI sent your review comments to the terminal. It now starts an in-app thread, or runs as the next turn in the thread you are already in — with anything typed there carried along as the batch's instruction. The picker beside the button chooses which agent, not which kind of surface.
+- **⇧⌘Enter sends what the open Comments tab is showing.** On "This doc" that is one document's checked comments; on "This project", every checked comment. With the tab closed it does nothing and leaves the key alone — it used to send the whole project queue, which gave the chord its widest reach exactly when nothing on screen said what was in it.
+- **A comment is settled by sending it.** The per-comment "Resolve" button is gone: handing a comment to an agent resolves it, and "Reopen" is still there for when the agent did not actually settle the thing. Deleting is the way out for a comment you decided against.
+- **Fixed: a send button could not see the conversation you had open.** Both docks published into one slot, so the terminal dock reporting its empty tab list erased the agents panel's live thread — every surface outside the docks then offered to start a new chat while one sat open on screen.
+- **Fixed: the comment card in the document showed its send checkbox permanently unticked**, however many times you clicked it, while the click itself went through.
+- **Comment ages older than a day read properly.** The timestamp on a card counted up in hours forever, so a week-old comment showed "174h"; it now rolls over to days, and past a week shows the date.
diff --git a/knip.config.ts b/knip.config.ts
index 78162ec09..f9179f2d4 100644
--- a/knip.config.ts
+++ b/knip.config.ts
@@ -123,7 +123,9 @@ export default {
'packages/server': {
entry: ['src/**/*.test.ts', 'src/parse-worker.ts'],
project: 'src/**',
- ignoreDependencies: ['@types/shell-quote'],
+ ignoreDependencies: [
+ '@types/shell-quote',
+ ],
},
'packages/cli': {
entry: ['src/**/*.test.ts', 'scripts/*.ts', 'tests/**/*.ts', 'src/parse-worker.ts'],
diff --git a/packages/app/src/App.tsx b/packages/app/src/App.tsx
index 7ff992a52..6b0b6b795 100644
--- a/packages/app/src/App.tsx
+++ b/packages/app/src/App.tsx
@@ -1,5 +1,6 @@
import { mediaKindForSidebarAssetExtension, SHOW_INSTALL_SKILL } from '@inkeep/open-knowledge-core';
import { lazy, type ReactNode, Suspense, useEffect, useRef, useState } from 'react';
+import { CommentQueueShortcut } from '@/comments/CommentQueueShortcut';
import { CommandPalette } from '@/components/CommandPalette';
import { ConnectingBanner } from '@/components/ConnectingBanner';
import { CreateProjectMenuTrigger } from '@/components/CreateProjectMenuTrigger';
@@ -654,6 +655,11 @@ function AppBody() {
so the provider wraps both. Its value is desktop-gated; the docked
terminal that consumes the launch lives in EditorPane. */}
<TerminalLaunchProvider value={terminalLaunch}>
+ {/* ⇧⌘Enter sends the comment queue, from anywhere. Mounted at the app
+ shell rather than in the queue panel: the queue is project-wide and
+ outlives the tab that displays it, so a listener scoped to that tab
+ would be dead exactly when the panel is closed. */}
+ <CommentQueueShortcut />
<SidebarProvider className="h-screen overflow-hidden">
{/* No-project single-file mode drops the file sidebar (file tree +
project switcher); the editor inset takes the full width. */}
diff --git a/packages/app/src/comments/CommentBubbleButton.tsx b/packages/app/src/comments/CommentBubbleButton.tsx
index 504c57930..dfd05ad97 100644
--- a/packages/app/src/comments/CommentBubbleButton.tsx
+++ b/packages/app/src/comments/CommentBubbleButton.tsx
@@ -1,39 +1,57 @@
/**
- * "Ask AI" button for the WYSIWYG selection toolbar (bubble menu).
+ * "Comment" button for the WYSIWYG selection toolbar (bubble menu).
*
- * Named for what the composer it opens can do, not for the storage that backs
- * it. That composer offers both filing the note for a later batch and handing it
- * to an agent now — labelling the entry "Comment" advertised only the first, so
- * reaching for an agent on a passage looked unsupported from the one toolbar
- * where you would look for it.
+ * Named for what the composer files, not for who reads it. The comment lands in
+ * the project-wide queue; handing the batch to an agent is a separate, deliberate
+ * step taken from the Comments tab, so the toolbar entry does not promise it.
+ *
+ * The sparkle stays: an agent IS the eventual reader, and it is what tells this
+ * entry apart from the formatting marks it sits beside.
*
* Clicking emits the start-comment intent; `CommentSelectionAffordance` opens
* the composer on the current selection.
*/
-import { Trans } from '@lingui/react/macro';
+import { Trans, useLingui } from '@lingui/react/macro';
import { Sparkles } from 'lucide-react';
import { Button } from '@/components/ui/button';
+import { Kbd } from '@/components/ui/kbd';
import { Separator } from '@/components/ui/separator';
+import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
+import { formatShortcut, formatShortcutLabel } from '@/lib/keyboard-shortcuts';
import { emitStartComment } from './store';
export function CommentBubbleButton() {
+ const { t } = useLingui();
return (
<>
<Separator orientation="vertical" className="mx-0.5 h-5 data-vertical:self-center" />
- <Button
- type="button"
- variant="ghost"
- size="sm"
- data-testid="comment-bubble-button"
- className="gap-1 px-2 text-sm font-medium text-accent-foreground/80"
- onClick={() => emitStartComment()}
- >
- <Sparkles className="size-3.5" aria-hidden="true" />
- <span>
- <Trans>Ask AI</Trans>
- </span>
- </Button>
+ {/* The chord rides a tooltip, the same `Tooltip` + `Kbd` pairing every
+ other entry in this bar uses (see ViewInSourceBubbleButton) — a second
+ treatment inline beside the label would make one toolbar speak two
+ ways, and `Kbd` inverts to a legible pill on the dark tooltip that a
+ 10px inline glyph never was. */}
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <Button
+ type="button"
+ variant="ghost"
+ size="sm"
+ data-testid="comment-bubble-button"
+ className="gap-1 px-2 text-sm font-medium text-accent-foreground/80"
+ onClick={() => emitStartComment()}
+ >
+ <Sparkles className="size-3.5" aria-hidden="true" />
+ <span>
+ <Trans>Comment</Trans>
+ </span>
+ </Button>
+ </TooltipTrigger>
+ <TooltipContent side="bottom" sideOffset={8}>
+ <span>{t`Comment on this selection`}</span>
+ <Kbd aria-label={formatShortcutLabel('add-comment')}>{formatShortcut('add-comment')}</Kbd>
+ </TooltipContent>
+ </Tooltip>
</>
);
}
diff --git a/packages/app/src/comments/CommentListPanel.tsx b/packages/app/src/comments/CommentListPanel.tsx
new file mode 100644
index 000000000..a6c435204
--- /dev/null
+++ b/packages/app/src/comments/CommentListPanel.tsx
@@ -0,0 +1,269 @@
+/**
+ * The list both comment scopes render.
+ *
+ * "This doc" and "This project" are the same panel over different sets — same
+ * cards, same checkbox, same send. One component rather than two so they cannot
+ * drift into two different ideas of what a comment is; the scope only decides
+ * which threads arrive and whether they are bucketed under a filename.
+ *
+ * The checkbox on each card IS the send list: what is ticked here is exactly
+ * what the footer's button hands over. Selecting is not a per-scope idea either
+ * — ticking a comment in This doc ticks the same comment in This project.
+ */
+
+import { Trans, useLingui } from '@lingui/react/macro';
+import {
+ Check,
+ ChevronRight,
+ CircleDot,
+ FileText,
+ FoldVertical,
+ UnfoldVertical,
+} from 'lucide-react';
+import { type ReactNode, useEffect, useRef, useState } from 'react';
+import { Badge } from '@/components/ui/badge';
+import { Button } from '@/components/ui/button';
+import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';
+import {
+ Panel,
+ PanelBody,
+ PanelCount,
+ PanelEmpty,
+ PanelHeader,
+ PanelTitle,
+} from '@/components/ui/panel';
+import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
+import { CommentSendFooter } from './CommentSendFooter';
+import { docBasename } from './comment-chips';
+import { groupByDoc } from './queue-grouping';
+import { subscribeFocusThread, useQueueSelection } from './store';
+import { ThreadCard } from './ThreadCard';
+import type { CommentThread } from './types';
+
+export function CommentListPanel({
+ threads,
+ groupByDocument = false,
+ empty,
+ testIdPrefix,
+}: {
+ threads: readonly CommentThread[];
+ /** Project scope buckets under a filename; a single doc has nothing to bucket by. */
+ groupByDocument?: boolean;
+ empty: ReactNode;
+ testIdPrefix: string;
+}) {
+ const { t } = useLingui();
+ const [showResolved, setShowResolved] = useState(false);
+ const [focusedId, setFocusedId] = useState<string | null>(null);
+ const cardRefs = useRef(new Map<string, HTMLElement>());
+ // Captured once on mount — relative timestamps don't need to tick live, and
+ // calling Date.now() during render violates the React Compiler purity rule.
+ const [now] = useState(() => Date.now());
+ // Tracks what is CLOSED, not what is open, so groups mount expanded and stay
+ // that way: comments are hand-written and few, and a file that appears while
+ // you are reading — one posted from another window — arrives expanded like the
+ // rest instead of silently landing folded because it was not in an opened-set.
+ const [collapsed, setCollapsed] = useState<ReadonlySet<string>>(() => new Set());
+ const sending = useQueueSelection();
+
+ function toggleFile(docName: string, open: boolean) {
+ setCollapsed((prev) => {
+ const next = new Set(prev);
+ if (open) next.delete(docName);
+ else next.add(docName);
+ return next;
+ });
+ }
+
+ // Clicking an in-doc highlight scrolls the panel to its thread + rings it.
+ //
+ // The ring's timer is held so it can be cancelled. Left dangling it fired
+ // after unmount, and every focus event queued another — clicking through ten
+ // highlights left ten timers racing to clear a ring only one of them owns.
+ const ringTimer = useRef<number | null>(null);
+ useEffect(() => {
+ const stop = subscribeFocusThread((threadId) => {
+ setFocusedId(threadId);
+ cardRefs.current.get(threadId)?.scrollIntoView({ block: 'center', behavior: 'smooth' });
+ if (ringTimer.current !== null) window.clearTimeout(ringTimer.current);
+ ringTimer.current = window.setTimeout(() => {
+ ringTimer.current = null;
+ setFocusedId((cur) => (cur === threadId ? null : cur));
+ }, 1_600);
+ });
+ return () => {
+ stop();
+ if (ringTimer.current !== null) window.clearTimeout(ringTimer.current);
+ };
+ }, []);
+
+ const active = threads.filter((thread) => thread.status !== 'resolved');
+ const resolved = threads.filter((thread) => thread.status === 'resolved');
+ const visible = showResolved ? threads : active;
+ const groups = groupByDocument ? groupByDoc(visible) : [];
+ // Every group is open when the collapsed set is empty, which is also the mount
+ // state — so the one control reads "collapse all" until you have folded every
+ // file yourself, and flips to "expand all" only then.
+ const allCollapsed = groups.length > 0 && groups.every((g) => collapsed.has(g.docName));
+ // Scoped to what this panel lists: the This-doc footer must never ship a
+ // comment on a file the reader is not looking at.
+ const scopedSending = active.filter((thread) => sending.includes(thread.id)).map((t) => t.id);
+
+ function card(thread: CommentThread) {
+ return (
+ <ThreadCard
+ key={thread.id}
+ thread={thread}
+ now={now}
+ sending={sending.includes(thread.id)}
+ focused={focusedId === thread.id}
+ cardRef={(el) => {
+ if (el) cardRefs.current.set(thread.id, el);
+ else cardRefs.current.delete(thread.id);
+ }}
+ />
+ );
+ }
+
+ return (
+ <Panel>
+ <PanelHeader>
+ <PanelTitle>
+ <Trans>Comments</Trans>
+ </PanelTitle>
+ {/* Icons, not labels, for both controls. Spelled out, "Show resolved
+ (93)" put a second number in a row that already ends in the count —
+ two figures side by side that look alike and mean different things
+ (how many are done vs how many are open). The resolved tally moves
+ into the tooltip, where it is read on purpose rather than compared by
+ accident, and the row keeps ONE number. */}
+ <div className="flex items-center gap-1">
+ {resolved.length > 0 && (
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <Button
+ size="icon"
+ variant="ghost"
+ className="size-6 shrink-0 text-muted-foreground"
+ aria-label={showResolved ? t`Hide resolved comments` : t`Show resolved comments`}
+ aria-pressed={showResolved}
+ data-testid={`${testIdPrefix}-resolved-toggle`}
+ onClick={() => setShowResolved((v) => !v)}
+ >
+ {showResolved ? (
+ <CircleDot aria-hidden="true" className="size-3.5" />
+ ) : (
+ <Check aria-hidden="true" className="size-3.5" />
+ )}
+ </Button>
+ </TooltipTrigger>
+ <TooltipContent>
+ {showResolved ? (
+ <Trans>Hide resolved</Trans>
+ ) : (
+ <Trans>Show resolved ({resolved.length})</Trans>
+ )}
+ </TooltipContent>
+ </Tooltip>
+ )}
+ {/* Groups mount EXPANDED — comments are hand-written and few, so
+ folding them by default would hide the panel behind a click. This
+ is for the day a project has twenty files' worth; it appears only
+ once there is more than one group to fold, since folding a lone
+ file just empties the panel.
+
+ Beside the count, NOT beside the title: a small glyph touching
+ "Comments" reads as a control ON the panel (at this size a chevron
+ pair is close enough to an ✕ to look like a close button). Over
+ here it groups with the other thing that acts on the list. */}
+ {groups.length > 1 && (
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <Button
+ size="icon"
+ variant="ghost"
+ className="size-6 shrink-0 text-muted-foreground"
+ aria-label={allCollapsed ? t`Expand all files` : t`Collapse all files`}
+ data-testid={`${testIdPrefix}-collapse-toggle`}
+ onClick={() =>
+ setCollapsed(allCollapsed ? new Set() : new Set(groups.map((g) => g.docName)))
+ }
+ >
+ {allCollapsed ? (
+ <UnfoldVertical aria-hidden="true" className="size-3.5" />
+ ) : (
+ <FoldVertical aria-hidden="true" className="size-3.5" />
+ )}
+ </Button>
+ </TooltipTrigger>
+ <TooltipContent>
+ {allCollapsed ? <Trans>Expand all files</Trans> : <Trans>Collapse all files</Trans>}
+ </TooltipContent>
+ </Tooltip>
+ )}
+ <PanelCount>{active.length}</PanelCount>
+ </div>
+ </PanelHeader>
+ <PanelBody className="flex flex-col gap-3">
+ {visible.length === 0 ? (
+ <PanelEmpty>{empty}</PanelEmpty>
+ ) : groupByDocument ? (
+ groups.map((group) => (
+ <section key={group.docName} aria-label={group.docName}>
+ <Collapsible
+ open={!collapsed.has(group.docName)}
+ onOpenChange={(open) => toggleFile(group.docName, open)}
+ className="flex flex-col gap-2"
+ >
+ {/* The file names the group once instead of riding every card.
+ Basename, not the full path: the rail is narrow and a
+ nested path pushes the row past the panel edge; the full
+ path stays reachable as the tooltip. Not sticky —
+ PanelBody's scroll-fade mask fades whatever sits at its top
+ edge, so a pinned header would sit there half-faded.
+ No file-level tick. Selection lives on the cards and, for
+ everything at once, in the footer; a third one here
+ duplicates the card's own whenever a file holds a single
+ comment, and sits higher and further left than the control
+ it duplicates — so it reads as the primary one. */}
+ <div className="flex items-center gap-1.5">
+ <CollapsibleTrigger
+ title={group.docName}
+ className="group flex min-w-0 flex-1 cursor-pointer items-center gap-1.5 rounded text-left text-[11px] text-muted-foreground hover:text-foreground"
+ >
+ <FileText className="size-3 shrink-0" />
+ <span className="truncate">{docBasename(group.docName)}</span>
+ <Badge
+ variant="outline"
+ className="shrink-0 px-1 py-0 text-[10px] tabular-nums"
+ >
+ {group.threads.length}
+ </Badge>
+ <ChevronRight
+ aria-hidden="true"
+ className="size-3 shrink-0 transition-transform group-data-[state=open]:rotate-90 motion-reduce:transition-none"
+ />
+ </CollapsibleTrigger>
+ </div>
+ <CollapsibleContent className="flex flex-col gap-2 overflow-hidden data-[state=open]:animate-[collapsible-down_150ms_ease-out] data-[state=closed]:animate-[collapsible-up_150ms_ease-in] motion-reduce:animate-none">
+ {group.threads.map(card)}
+ </CollapsibleContent>
+ </Collapsible>
+ </section>
+ ))
+ ) : (
+ visible.map(card)
+ )}
+ </PanelBody>
+ {/* Outside PanelBody so a long list scrolls UNDER the actions rather than
+ pushing them off the bottom. */}
+ {active.length > 0 && (
+ <CommentSendFooter
+ threadIds={scopedSending}
+ selectableIds={active.map((thread) => thread.id)}
+ testIdPrefix={testIdPrefix}
+ />
+ )}
+ </Panel>
+ );
+}
diff --git a/packages/app/src/comments/CommentProjectPanel.tsx b/packages/app/src/comments/CommentProjectPanel.tsx
new file mode 100644
index 000000000..25c5ba9da
--- /dev/null
+++ b/packages/app/src/comments/CommentProjectPanel.tsx
@@ -0,0 +1,26 @@
+/**
+ * The "This project" comment scope: every comment in the workspace, bucketed
+ * under the file it sits on.
+ *
+ * The twin of the This-doc scope, and deliberately the same component under it —
+ * this side used to be a queue view that listed ONLY what was already marked to
+ * send, which made the two halves of one tab answer different questions. Now
+ * both list comments and the tick says which of them go out, so switching scope
+ * widens the set without changing what you are looking at.
+ */
+
+import { Trans } from '@lingui/react/macro';
+import { CommentListPanel } from './CommentListPanel';
+import { useAllThreads } from './store';
+
+export function CommentProjectPanel() {
+ const threads = useAllThreads();
+ return (
+ <CommentListPanel
+ threads={threads}
+ groupByDocument
+ empty={<Trans>No comments in this project yet. Comment on a passage to start one.</Trans>}
+ testIdPrefix="comment-queue"
+ />
+ );
+}
diff --git a/packages/app/src/comments/CommentQueuePanel.tsx b/packages/app/src/comments/CommentQueuePanel.tsx
deleted file mode 100644
index 734a364ab..000000000
--- a/packages/app/src/comments/CommentQueuePanel.tsx
+++ /dev/null
@@ -1,261 +0,0 @@
-/**
- * The dispatch queue as a doc-panel tab.
- *
- * Project-scoped (comments across every file), shown under the Comments tab's
- * "All comments" scope — the same batch the composer's chip carries. Every
- * queued comment is pre-selected; deselect any to exclude it, then Send hands
- * the checked threads to an agent and removes them (deselected ones stay for a
- * later batch).
- *
- * Cards sit under a per-file heading rather than each carrying a file badge —
- * the queue spans documents, and with several comments on the same file the
- * badge repeated the same name down the rail while stealing the width the ✕
- * needed.
- *
- * The actions sit in a pinned footer rather than after the list, so a queue of
- * twenty scrolls UNDER them instead of pushing Send off the bottom.
- */
-
-import { Trans, useLingui } from '@lingui/react/macro';
-import { FileText, X } from 'lucide-react';
-import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';
-import { AgentSplitButton } from '@/components/handoff/AgentSplitButton';
-import { TargetIcon } from '@/components/handoff/OpenInAgentMenuItem';
-import { cliIconTargetId } from '@/components/handoff/terminal-cli-display';
-import { useReusableSession } from '@/components/reusable-session-store';
-import { Badge } from '@/components/ui/badge';
-import { Button } from '@/components/ui/button';
-import { Checkbox } from '@/components/ui/checkbox';
-import {
- Panel,
- PanelBody,
- PanelCount,
- PanelEmpty,
- PanelFooter,
- PanelHeader,
- PanelTitle,
-} from '@/components/ui/panel';
-import { openAgentSettings } from '@/lib/use-settings-route';
-import { appendQueueToOpenSession } from './append-to-open-session';
-import { docBasename, revealThread, ThreadTargetLine } from './comment-chips';
-import { QueueNewChatRow } from './QueueNewChatRow';
-import { groupByDoc } from './queue-grouping';
-import {
- clearQueue,
- dispatchComments,
- getThreadById,
- removeFromQueue,
- toggleQueueSelection,
- useQueue,
- useQueueSelection,
-} from './store';
-import { useCommentAgentPicker } from './use-comment-agent-picker';
-import { useCommentDispatch } from './use-comment-delivery';
-
-export function CommentQueuePanel() {
- const { t } = useLingui();
- const picker = useCommentAgentPicker();
- const composeFreshTurn = useCommentDispatch();
- const queue = useQueue();
- const selectedIds = useQueueSelection();
- const items = queue.map((id) => getThreadById(id)).filter((thread) => thread !== null);
- const selectedCount = items.filter((thread) => selectedIds.includes(thread.id)).length;
- // The send picks its own destination: a live chat takes the batch, and with
- // none open it starts one. Published by the dock itself, so the button can
- // never promise an append the host would then refuse — and not keyed on the
- // dock's position, which hosts the same sessions bottom or right.
- const openSession = useReusableSession();
- /**
- * The mark for where a send actually goes.
- *
- * Drawn from the OPEN SESSION when there is one — not from the agent
- * preference, which is what a fresh turn would use. The two disagree the
- * moment you switch tabs, and the icon claiming Claude while the button
- * points at a Cursor tab is exactly that disagreement.
- */
- const destinationIcon =
- openSession === null ? (
- picker.isThreadSelected ? (
- <RegisteredAgentIcon
- agentId={picker.threadAgent?.id ?? ''}
- iconUrl={picker.threadAgent?.iconUrl}
- className="size-4"
- />
- ) : picker.cli !== null ? (
- <TargetIcon id={cliIconTargetId(picker.cli)} className="size-4" aria-hidden />
- ) : picker.target ? (
- <TargetIcon id={picker.target.id} className="size-4" aria-hidden />
- ) : undefined
- ) : openSession.kind === 'thread' ? (
- <RegisteredAgentIcon
- agentId={openSession.agentId}
- iconUrl={openSession.iconUrl}
- className="size-4"
- />
- ) : (
- <TargetIcon id={cliIconTargetId(openSession.cli)} className="size-4" aria-hidden />
- );
- /**
- * Send to the chat that is open, or start one.
- *
- * The two halves behave differently on purpose. A fresh turn RUNS the batch,
- * so it resolves what ships. An append lands in the live session's input
- * UNSENT — a thread takes it as a staged draft, a live CLI as a
- * no-carriage-return write — so the human presses enter, nothing has shipped,
- * and the queue is left intact.
- */
- function sendQueue(): void {
- if (openSession === null) {
- // A fresh turn RUNS the batch, so it resolves what ships.
- void dispatchComments({ compose: composeFreshTurn });
- return;
- }
- // An append lands UNSENT in the live session's input, so nothing resolves —
- // the human still has to press enter.
- void appendQueueToOpenSession();
- }
-
- return (
- <Panel>
- <PanelHeader>
- <PanelTitle>
- <Trans>Comments to send</Trans>
- </PanelTitle>
- <PanelCount>{queue.length}</PanelCount>
- </PanelHeader>
- <PanelBody className="flex flex-col gap-4">
- {items.length === 0 ? (
- <PanelEmpty>
- <Trans>Nothing to send yet. Comment on a passage to add it here.</Trans>
- </PanelEmpty>
- ) : (
- groupByDoc(items).map((group) => (
- <section key={group.docName} aria-label={group.docName} className="flex flex-col gap-2">
- {/* The file names the group once instead of riding every card.
- Basename, not the full path: the rail is narrow and a nested
- path pushes the row past the panel edge; the full path stays
- reachable as the tooltip. Not sticky — PanelBody's scroll-fade
- mask fades whatever sits at its top edge, so a pinned header
- would sit there half-faded. */}
- <h3
- className="flex items-center gap-1.5 text-[11px] text-muted-foreground"
- title={group.docName}
- >
- <FileText className="size-3 shrink-0" />
- <span className="truncate">{docBasename(group.docName)}</span>
- <Badge variant="outline" className="shrink-0 px-1 py-0 text-[10px] tabular-nums">
- {group.threads.length}
- </Badge>
- </h3>
- {group.threads.map((thread) => (
- <div key={thread.id} className="flex gap-2 rounded-md border p-2">
- <Checkbox
- checked={selectedIds.includes(thread.id)}
- onCheckedChange={() => toggleQueueSelection(thread.id)}
- aria-label={t`Include in dispatch`}
- className="mt-0.5"
- />
- {/* The quote + body are the jump target: click to open that
- document and scroll to the anchored passage. The checkbox
- and ✕ stay separate controls so selecting or removing an
- item never navigates away from the queue. */}
- <Button
- type="button"
- variant="ghost"
- aria-label={t`Go to this comment in ${docBasename(thread.docName)}`}
- onClick={() => revealThread(thread)}
- className="h-auto min-h-0 min-w-0 flex-1 flex-col items-start gap-1 px-0 py-0 text-left font-normal hover:bg-transparent"
- >
- <ThreadTargetLine thread={thread} className="text-xs" />
- <span className="line-clamp-2 w-full text-sm whitespace-normal text-foreground">
- {thread.body}
- </span>
- </Button>
- <Button
- size="sm"
- variant="ghost"
- className="size-5 shrink-0 p-0 text-muted-foreground hover:text-foreground"
- aria-label={t`Don't send this comment`}
- onClick={() => removeFromQueue(thread.id)}
- >
- <X className="size-3" />
- </Button>
- </div>
- ))}
- </section>
- ))
- )}
- </PanelBody>
- {/* Outside PanelBody so a long queue scrolls UNDER the actions rather than
- pushing them off the bottom. */}
- {items.length > 0 && (
- <PanelFooter>
- <Button size="sm" variant="ghost" className="min-w-0" onClick={clearQueue}>
- <span className="truncate">
- <Trans>Clear</Trans>
- </span>
- </Button>
- {/* The shared split button, so the agent picker here is the same
- standing preference (In app / Terminal / Configure agents) every
- other send surface uses — with the queue's own destination rows
- injected above it via `menuLeading`. */}
- <AgentSplitButton
- primary={
- <>
- {destinationIcon}
- {/* The destination is IN the button, not just the menu: this
- batch spans documents and cannot be un-sent, so "where is
- this going" is exactly what you check before committing, and
- a bare "Send" never said. */}
- {/* The icon names the destination; the words say what the click
- does. Spelling the agent out too made the button rename
- itself on every tab switch, which reads as the control
- changing rather than the target. */}
- <span className="truncate">
- {openSession !== null ? (
- <Trans>Send to chat</Trans>
- ) : (
- <Trans>Start a new chat</Trans>
- )}
- </span>
- </>
- }
- onPrimary={sendQueue}
- primaryDisabled={selectedCount === 0}
- // With no chat open the button already starts one, so an override
- // row would just duplicate it — the menu is then the plain agent
- // picker it has always been.
- menuLeading={
- openSession !== null ? (
- <QueueNewChatRow
- onStartNewChat={() => void dispatchComments({ compose: composeFreshTurn })}
- />
- ) : undefined
- }
- onOpenSettings={openAgentSettings}
- menuEmptyState={
- <p className="px-2 py-1.5 text-sm text-muted-foreground" aria-live="polite">
- {picker.probePending ? (
- <Trans>Checking for agents</Trans>
- ) : (
- <Trans>No agents enabled</Trans>
- )}
- </p>
- }
- triggerAriaLabel={t`Choose where to send these comments`}
- testIds={{
- primary: 'comment-queue-send',
- trigger: 'comment-queue-send-trigger',
- menu: 'comment-queue-send-menu',
- option: (id) => `comment-queue-agent-option-${id}`,
- threadAgent: (key) => `comment-queue-agent-option-thread-${key}`,
- settings: 'comment-queue-agent-option-settings',
- terminal: (cli) => `comment-queue-agent-option-terminal-${cli}`,
- }}
- {...picker.rows}
- />
- </PanelFooter>
- )}
- </Panel>
- );
-}
diff --git a/packages/app/src/comments/CommentQueueShortcut.tsx b/packages/app/src/comments/CommentQueueShortcut.tsx
new file mode 100644
index 000000000..6a9e76644
--- /dev/null
+++ b/packages/app/src/comments/CommentQueueShortcut.tsx
@@ -0,0 +1,73 @@
+/**
+ * ⇧⌘Enter — send the comments the open Comments tab is showing as checked.
+ *
+ * Renders nothing; it exists to hold a window listener at a mount point that
+ * outlives the Comments tab, so the chord works while the caret is in the
+ * editor rather than only after a click has moved focus to the panel.
+ *
+ * **It sends nothing while the Comments tab is closed.** The panel publishes its
+ * scope (`visible-scope.ts`) and the chord dispatches only what that scope would
+ * send. Falling back to the whole checked queue gave the chord its WIDEST reach
+ * exactly when the user could see least — an irreversible project-wide send with
+ * nothing on screen saying what was in it. A send you cannot see is not a
+ * shortcut, so with no panel the key is left alone entirely.
+ *
+ * NOT ⌘Enter, which TipTap's hardBreak and CodeMirror's insertBlankLine already
+ * own — a window listener there would fire while someone types a line break.
+ * ⇧⌘Enter is unclaimed: `prosemirror-keymap` resolves it to `Shift-Meta-Enter`
+ * and its strip-Shift-and-retry fallback is gated on `name.length == 1`, so a
+ * named key never degrades into its non-shift binding.
+ */
+
+import { useEffect } from 'react';
+import { matchesKeyboardShortcut } from '@/lib/keyboard-shortcuts';
+import { isOverlayLayerOpen } from '@/lib/overlay-layers';
+import { getSelectedQueue, getSelectedQueueForDoc } from './store';
+import { useSendQueue } from './use-send-queue';
+import { getVisibleCommentScope } from './visible-scope';
+
+export function CommentQueueShortcut() {
+ const sendQueue = useSendQueue();
+
+ // No subscription to the queue or the visible scope: BOTH are read at press
+ // time below, so a render on every tick and every scope flip would buy
+ // nothing. `useSendQueue` still needs its own — the destination decides
+ // whether a send appends or starts a chat, and that is baked into the
+ // closure.
+ useEffect(() => {
+ function onKeyDown(event: KeyboardEvent): void {
+ if (!matchesKeyboardShortcut(event, 'send-comment-queue')) return;
+ // Deliberately NOT gated on the target being editable: the editor body is
+ // contenteditable, so such a guard would make the chord dead in the one
+ // place a user actually stands, live only once a click moved focus out.
+ // Typing cannot collide with it either way — no editor binds ⇧⌘Enter
+ // (hardBreak takes Shift-Enter and Mod-Enter, and `ComposerMentionInput`
+ // submits only on an unshifted Enter), so the event reaches this listener
+ // unclaimed.
+ //
+ // A modal IS a different context, and every other global chord here bows
+ // to one — dispatching a batch from behind a dialog would be acting on a
+ // surface the user cannot see.
+ if (isOverlayLayerOpen()) return;
+ // Read at press time, not from the render that installed the listener: a
+ // snapshot taken there would be one interaction stale, and the scope can
+ // change under a listener that never re-installs.
+ const visible = getVisibleCommentScope();
+ // Nothing on screen to send FROM. Return before `preventDefault` so the
+ // key stays the browser's rather than being swallowed for a no-op.
+ if (visible === null) return;
+ const ids =
+ visible.scope === 'doc' ? getSelectedQueueForDoc(visible.docName) : getSelectedQueue();
+ // Claim the chord only when there is something to send. Scoped, so
+ // ⇧⌘Enter over a doc whose comments are all unticked stays unclaimed even
+ // with a full project queue behind it.
+ if (ids.length === 0) return;
+ event.preventDefault();
+ sendQueue(ids);
+ }
+ window.addEventListener('keydown', onKeyDown);
+ return () => window.removeEventListener('keydown', onKeyDown);
+ }, [sendQueue]);
+
+ return null;
+}
diff --git a/packages/app/src/comments/CommentSelectionAffordance.tsx b/packages/app/src/comments/CommentSelectionAffordance.tsx
index c714451ba..dd269834e 100644
--- a/packages/app/src/comments/CommentSelectionAffordance.tsx
+++ b/packages/app/src/comments/CommentSelectionAffordance.tsx
@@ -1,11 +1,11 @@
/**
* Selection composer — where a comment is written.
*
- * The "Comment" button in the selection toolbar (next to "Ask AI", see
- * CommentBubbleButton) opens this composer on the current selection. Posting a
- * comment adds it to the project-wide QUEUE — it does NOT dispatch to an
- * agent immediately; the user batches comments and dispatches the queue in one
- * action. Living in the toolbar (rather than a second floating pill) means it
+ * The "Comment" button in the selection toolbar (see CommentBubbleButton) opens
+ * this composer on the current selection. Posting a comment adds it to the
+ * project-wide QUEUE — it does NOT dispatch to an agent; the user batches
+ * comments and dispatches them from the Comments tab, which this card offers a
+ * route to. Living in the toolbar (rather than a second floating pill) means it
* can't be occluded by the native formatting bar.
*
* The captured passage is marked in the DOCUMENT (see `setCommentDraftRange`)
@@ -25,9 +25,10 @@ import { commentQuoteText } from '@inkeep/open-knowledge-core';
import { Trans, useLingui } from '@lingui/react/macro';
import { posToDOMRect } from '@tiptap/core';
import type { Editor } from '@tiptap/react';
-import { X } from 'lucide-react';
+import { MessageSquare, X } from 'lucide-react';
import { useEffect, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
+import { requestDocPanelTab } from '@/components/doc-panel-events';
import { Button } from '@/components/ui/button';
import {
ComposerMentionInput,
@@ -37,7 +38,6 @@ import { getEditorView } from '@/editor/utils/get-editor-view';
import { matchesKeyboardShortcut } from '@/lib/keyboard-shortcuts';
import { setCommentDraftRange } from './anchor-decorations';
import { captureSelectionContext } from './anchor-search';
-import { appendQueueToOpenSession } from './append-to-open-session';
import { selectedSpan } from './selected-span';
import { createThread, emitStartComment, subscribeStartComment } from './store';
@@ -193,17 +193,16 @@ export function CommentSelectionAffordance({
});
/**
- * File the comment. `dispatch` decides which of the two buttons ran it:
- * queue it for a later batch, or hand it to an agent now.
+ * File the comment into the queue.
*
- * Both write the same thread — sending is not a different KIND of comment,
- * just a comment that does not wait. That is why one function takes a flag
- * rather than there being two creation paths to keep in step.
+ * There is no send-now twin. Writing a note and dispatching a batch are
+ * separate decisions, and the dispatch belongs where the batch is visible —
+ * the Comments tab — not behind a button on a card that shows one comment.
*/
- function post(dispatch: boolean) {
+ function post() {
if (captured === null) return;
// `getContent` renders each mention chip inline as its `@path`, so the
- // comment an agent reads names files the same way the Ask AI composer does.
+ // comment an agent reads names files the same way the chat composer does.
const body = inputRef.current?.getContent().instruction.trim() ?? '';
if (body.length === 0) return;
// Posted straight into the queue by the store — no separate addToQueue.
@@ -213,23 +212,6 @@ export function CommentSelectionAffordance({
prefix: captured.prefix,
suffix: captured.suffix,
body,
- // Reuse-or-launch is the same decision the queue's own send makes, and it
- // is made by the sessions dock, not here: a live chat takes the comment,
- // and with none open one starts. Deliberately NOT the `deliver` hook the
- // queue batch uses — that is only installed while the Comments tab is
- // mounted, so a send from the editor with the panel closed did nothing.
- onCreated: dispatch
- ? (threadId) => {
- // `resolve` so it does not also land in the queue: this was a send,
- // not a review item filed for later, and leaving it open would mean
- // the reviewer's next batch carried the same note a second time.
- void appendQueueToOpenSession({
- threadIds: [threadId],
- submit: true,
- resolve: true,
- });
- }
- : undefined,
});
// Collapse the picked range: the passage has been filed, so it is no longer
// "selected for whatever you do next". Left selected it re-pins itself in
@@ -250,8 +232,8 @@ export function CommentSelectionAffordance({
data-testid="comment-composer"
>
{/* Dismiss sits in the corner rather than the action row: the row is for
- the two things that FILE the comment, and a third button beside them
- made discarding look like a peer of sending.
+ filing the comment, and a button beside that one made discarding look
+ like a peer of it.
Its own row rather than absolute positioning — overlaying the card
floated it on top of the textarea's rounded corner, and any offset that
@@ -270,29 +252,49 @@ export function CommentSelectionAffordance({
<X className="size-3.5" />
</Button>
</div>
- {/* The Ask AI composer's field, not a plain textarea — so `@` mentions a
+ {/* The chat composer's field, not a plain textarea — so `@` mentions a
file here exactly as it does there, and the comment an agent receives
carries real paths rather than a name it has to go find.
- Enter files the comment. Sending is a click: the field cannot tell this
- host whether a modifier was held (Enter and ⌘Enter reach `onSubmit`
- identically), so a keyboard shortcut for the irreversible action would
- have to be guessed at. */}
+ Enter posts, with or without a modifier: there is one action now, so a
+ modifier that reached a different one would be reaching for something
+ that no longer exists. */}
<ComposerMentionInput
ref={inputRef}
ariaLabel={t`Add a comment`}
placeholder={t`Add a comment`}
onEmptyChange={setEmpty}
- onSubmit={() => post(false)}
+ onSubmit={post}
onEscape={reset}
className="max-h-40 min-h-16 overflow-y-auto rounded-md border px-2 py-1 text-sm"
/>
- <div className="flex items-center justify-end gap-1.5">
- <Button size="sm" variant="outline" onClick={() => post(false)} disabled={empty}>
- <Trans>Add Comment</Trans>
+ {/* Two different weights, deliberately: filing the comment is what this
+ card is for, and the tab is where the batch already filed lives. The
+ route out sits at the far end of the row so it reads as leaving rather
+ than as a second way to post.
+
+ The chord sits INLINE, not in a tooltip like the bubble bar — the field
+ above has focus, so a hint you have to hover to find is a hint the
+ keyboard user never sees. Bare glyph, NOT `Kbd`: its pill carries a
+ height, min-width, padding and background, and it was reshaping the row
+ it annotates. `normal-case tracking-normal` undoes the button's
+ uppercase treatment for the glyph alone; the aria-label keeps it out of
+ the accessible name. */}
+ <div className="flex items-center justify-between gap-1.5">
+ <Button
+ size="sm"
+ variant="ghost"
+ onClick={() => requestDocPanelTab('comments')}
+ className="gap-1 px-2 text-muted-foreground hover:text-foreground"
+ >
+ <MessageSquare className="size-3.5" aria-hidden="true" />
+ <Trans>Open Comments</Trans>
</Button>
- <Button size="sm" onClick={() => post(true)} disabled={empty}>
- <Trans>Send to AI</Trans>
+ <Button size="sm" onClick={post} disabled={empty} aria-label={t`Add Comment (Enter)`}>
+ <Trans>Add Comment</Trans>
+ <span className="ml-0.5 text-[11px] tracking-normal normal-case text-primary-foreground/75">
+ ⏎
+ </span>
</Button>
</div>
</div>,
diff --git a/packages/app/src/comments/CommentSendFooter.tsx b/packages/app/src/comments/CommentSendFooter.tsx
new file mode 100644
index 000000000..6227915d1
--- /dev/null
+++ b/packages/app/src/comments/CommentSendFooter.tsx
@@ -0,0 +1,186 @@
+/**
+ * "Send to chat" for a panel's checked comments.
+ *
+ * Shared by both comment scopes so the two sides of the tab are the same
+ * control on different sets: This doc sends the checked comments on the open
+ * file, This project sends every checked comment across the workspace. Split out
+ * rather than duplicated because the destination logic — which chat a send lands
+ * in, and what the button is allowed to promise — is the part that must not
+ * drift between them.
+ *
+ * The batch it sends is passed in, never read from the store here: the panel
+ * that owns the checkboxes is the one that knows which of them are on screen.
+ */
+
+import { Trans, useLingui } from '@lingui/react/macro';
+import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';
+import { AgentSplitButton } from '@/components/handoff/AgentSplitButton';
+import { useReusableSession } from '@/components/reusable-session-store';
+import { Checkbox } from '@/components/ui/checkbox';
+import { PanelFooter } from '@/components/ui/panel';
+import { formatShortcut, formatShortcutLabel } from '@/lib/keyboard-shortcuts';
+import { openAgentSettings } from '@/lib/use-settings-route';
+import { QueueNewChatRow } from './QueueNewChatRow';
+import { dispatchComments, setSendingAll } from './store';
+import { useCommentAgentPicker } from './use-comment-agent-picker';
+import { useCommentDispatch } from './use-comment-delivery';
+import { useSendQueue } from './use-send-queue';
+
+export function CommentSendFooter({
+ threadIds,
+ selectableIds,
+ testIdPrefix,
+}: {
+ /** Ticked, and therefore going out — the batch this button hands over. */
+ threadIds: readonly string[];
+ /** Everything the panel lists, ticked or not: what "all" means for this scope. */
+ selectableIds: readonly string[];
+ testIdPrefix: string;
+}) {
+ const { t } = useLingui();
+ const picker = useCommentAgentPicker();
+ const composeFreshTurn = useCommentDispatch();
+ // The send picks its own destination: a live chat takes the batch, and with
+ // none open it starts one. Published by the dock itself, so the button can
+ // never promise an append the host would then refuse — and not keyed on the
+ // dock's position, which hosts the same sessions bottom or right.
+ // Comments go to in-app threads, so only a THREAD counts as reusable here. A
+ // live CLI tab is a session this panel will not send to, and treating it as
+ // one made the button read "Send to chat" while pointing at the terminal.
+ const reusableThread = useReusableSession();
+ const openSession = reusableThread?.kind === 'thread' ? reusableThread : null;
+ const send = useSendQueue();
+ /**
+ * The mark for where a send actually goes.
+ *
+ * Drawn from the OPEN SESSION when there is one — not from the agent
+ * preference, which is what a fresh turn would use. The two disagree the
+ * moment you switch tabs, and the icon claiming Claude while the button
+ * points at a Cursor tab is exactly that disagreement.
+ */
+ const destinationIcon =
+ openSession === null ? (
+ <RegisteredAgentIcon
+ agentId={picker.threadAgent?.id ?? ''}
+ iconUrl={picker.threadAgent?.iconUrl}
+ className="size-4"
+ />
+ ) : (
+ <RegisteredAgentIcon
+ agentId={openSession.agentId}
+ iconUrl={openSession.iconUrl}
+ className="size-4"
+ />
+ );
+
+ const allTicked = selectableIds.length > 0 && threadIds.length === selectableIds.length;
+
+ return (
+ <PanelFooter className="justify-between">
+ {/* The bulk tick lives beside the button it feeds rather than in the
+ header: "how many are going" and "send them" are one thought, and the
+ count doubles as the answer to what the button is about to carry.
+ The count is a sibling, not a `<label>` wrapper — this Checkbox renders
+ a `role="checkbox"` button rather than an `<input>`, which `htmlFor`
+ cannot address; the aria-label carries the name instead. */}
+ <div className="flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">
+ <Checkbox
+ checked={allTicked}
+ onCheckedChange={() => setSendingAll(selectableIds, !allTicked)}
+ aria-label={allTicked ? t`Unmark every comment` : t`Mark every comment to send`}
+ />
+ <span className="truncate tabular-nums">
+ {threadIds.length}/{selectableIds.length}
+ </span>
+ </div>
+ {/* Both scopes carry it, because the chord reads the visible scope
+ (`visible-scope.ts`) and therefore sends exactly what this button
+ sends. Showing it on only one scope would put a glyph beside a button
+ whose click and whose key covered different sets.
+ Beside the send button, not inside it. Inside, it had to be `shrink-0`
+ next to a label that is deliberately `truncate` for this narrow rail,
+ so the chord bought its own width by truncating the label sooner — and
+ overflowed the button when it could not. As a sibling it just takes its
+ place in the footer's flex row.
+ A legend, not a control; `aria-hidden` is what keeps the glyphs out of
+ the accessible tree — a plain span's text content IS announced, and
+ `title` is only a name fallback for elements that have none. The chord
+ stays reachable for screen readers through Settings → Hotkeys, which
+ renders the same registry row. */}
+ <div className="flex min-w-0 items-center gap-2">
+ <span
+ aria-hidden="true"
+ className="shrink-0 font-mono text-[13px] text-muted-foreground"
+ title={t`Send to chat (${formatShortcutLabel('send-comment-queue')})`}
+ >
+ {formatShortcut('send-comment-queue')}
+ </span>
+ {/* The shared split button, but with the Desktop and Terminal slots
+ deliberately empty: comments always start an in-app thread, so the menu
+ picks WHICH agent, never which kind of surface. Passing empty
+ destination props rather than making them optional keeps the omission
+ explicit at this call site — the component still renders those sections
+ for every other sender. */}
+ <AgentSplitButton
+ installedTargets={[]}
+ selectedTargetId={null}
+ onSelectTarget={() => {}}
+ primary={
+ <>
+ {destinationIcon}
+ {/* The destination is IN the button, not just the menu: a batch
+ cannot be un-sent, so "where is this going" is exactly what you
+ check before committing, and a bare "Send" never said.
+ The icon names the destination; the words say what the click
+ does. Spelling the agent out too made the button rename itself on
+ every tab switch, which reads as the control changing rather than
+ the target. */}
+ {/* Both states SEND — only where differs. The label changes
+ because the destination does, not because the verb does: a chat
+ you are in takes the batch as its next turn, and with none open
+ one starts. */}
+ <span className="truncate">
+ {openSession !== null ? (
+ <Trans>Send to chat</Trans>
+ ) : (
+ <Trans>Start a new chat</Trans>
+ )}
+ </span>
+ </>
+ }
+ onPrimary={() => send(threadIds)}
+ primaryDisabled={threadIds.length === 0}
+ // With no chat open the button already starts one, so an override row
+ // would just duplicate it — the menu is then the plain agent picker it
+ // has always been.
+ menuLeading={
+ openSession !== null ? (
+ <QueueNewChatRow
+ onStartNewChat={() =>
+ void dispatchComments({ compose: composeFreshTurn, threadIds })
+ }
+ />
+ ) : undefined
+ }
+ onOpenSettings={openAgentSettings}
+ menuEmptyState={
+ <p className="px-2 py-1.5 text-sm text-muted-foreground" aria-live="polite">
+ <Trans>No agents enabled</Trans>
+ </p>
+ }
+ triggerAriaLabel={t`Choose where to send these comments`}
+ testIds={{
+ primary: `${testIdPrefix}-send`,
+ trigger: `${testIdPrefix}-send-trigger`,
+ menu: `${testIdPrefix}-send-menu`,
+ option: (id) => `${testIdPrefix}-agent-option-${id}`,
+ threadAgent: (key) => `${testIdPrefix}-agent-option-thread-${key}`,
+ settings: `${testIdPrefix}-agent-option-settings`,
+ terminal: (cli) => `${testIdPrefix}-agent-option-terminal-${cli}`,
+ }}
+ {...picker.rows}
+ />
+ </div>
+ </PanelFooter>
+ );
+}
diff --git a/packages/app/src/comments/CommentThreadPopover.tsx b/packages/app/src/comments/CommentThreadPopover.tsx
index 81bd51616..e9810fc2b 100644
--- a/packages/app/src/comments/CommentThreadPopover.tsx
+++ b/packages/app/src/comments/CommentThreadPopover.tsx
@@ -18,9 +18,14 @@ import { useEffect, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
import { getEditorView } from '@/editor/utils/get-editor-view';
import { findQuoteRange } from './anchor-search';
-import { ThreadCard } from './CommentsPanel';
import { propertyRowRect } from './property-row-rect';
-import { emitOpenThreadPopover, subscribeOpenThreadPopover, useCommentThreads } from './store';
+import {
+ emitOpenThreadPopover,
+ subscribeOpenThreadPopover,
+ useCommentThreads,
+ useQueueSelection,
+} from './store';
+import { ThreadCard } from './ThreadCard';
export function CommentThreadPopover({ editor, docName }: { editor: Editor; docName: string }) {
const [threadId, setThreadId] = useState<string | null>(null);
@@ -28,6 +33,12 @@ export function CommentThreadPopover({ editor, docName }: { editor: Editor; docN
const floatingRef = useRef<HTMLDivElement>(null);
const threads = useCommentThreads(docName);
const thread = threadId ? (threads.find((t) => t.id === threadId) ?? null) : null;
+ // The card's tick is a controlled checkbox, so this popover has to subscribe
+ // to the send list the same way the panels do. Without it the box rendered
+ // from `undefined` — permanently unchecked, however many times you clicked it,
+ // while the click itself went through to the store. The state was right and
+ // only this view disagreed, which is the worst shape a bug like this can take.
+ const sending = useQueueSelection();
// Open on highlight/marker click.
useEffect(() => {
@@ -121,6 +132,7 @@ export function CommentThreadPopover({ editor, docName }: { editor: Editor; docN
thread={thread}
now={now}
focused={false}
+ sending={sending.includes(thread.id)}
cardRef={() => {}}
onClose={() => emitOpenThreadPopover(null)}
/>
diff --git a/packages/app/src/comments/CommentsPanel.tsx b/packages/app/src/comments/CommentsPanel.tsx
index e493bc539..c356a5cf1 100644
--- a/packages/app/src/comments/CommentsPanel.tsx
+++ b/packages/app/src/comments/CommentsPanel.tsx
@@ -1,410 +1,19 @@
/**
- * The comments panel: one card per thread on the open document.
+ * The "This doc" comment scope: every thread on the open document.
*
- * Thread lifecycle rendered from the store: anchored cards carrying one
- * comment, editable in place, plus send / resolve and the explicit
- * orphaned-"re-place" state.
- *
- * A thread holds ONE comment rather than a discussion. Comments go to an agent,
- * not to teammates, so there is nobody to reply to yet — revising what you asked
- * for is the move that actually comes up. An edit therefore REPLACES the comment
- * server-side; the superseded text is not kept.
+ * The list, header, ticks and send footer are shared with the "This project"
+ * scope (see CommentListPanel) — all this side decides is which threads arrive
+ * and that they need no filename headings, there being one file.
*/
-// biome-ignore-all lint/plugin/no-physical-direction-utility: pre-rule backlog — physical margin/padding/inset utilities predate the rule; drain by swapping ml/mr → ms/me, pl/pr → ps/pe, left/right → start/end, then deleting this line. See https://github.com/inkeep/open-knowledge/blob/main/biome-plugins/README.md#no-physical-direction-utilitygrit
-
-import { Trans, useLingui } from '@lingui/react/macro';
-import {
- Check,
- CircleDot,
- MapPin,
- Pencil,
- RotateCcw,
- Sparkles,
- Trash2,
- Unlink,
- X,
-} from 'lucide-react';
-import { useEffect, useRef, useState } from 'react';
-import { Badge } from '@/components/ui/badge';
-import { Button } from '@/components/ui/button';
-import {
- Panel,
- PanelBody,
- PanelCount,
- PanelEmpty,
- PanelHeader,
- PanelTitle,
-} from '@/components/ui/panel';
-import { Textarea } from '@/components/ui/textarea';
-import { getEditorForDoc } from '@/editor/active-editor';
+import { Trans } from '@lingui/react/macro';
+import { useEffect } from 'react';
import { ProfilerBoundary } from '@/lib/perf';
-import { cn } from '@/lib/utils';
-import { captureSelectionContext, findQuoteRange } from './anchor-search';
-import { propertyAddress } from './comment-chips';
-import { revealPropertyValueRange } from './property-row-rect';
-import { scrollAnchorIntoView } from './scroll-to-anchor';
-import {
- clearActiveThread,
- deleteThread,
- editComment,
- refresh,
- reopenThread,
- replaceOrphan,
- resolveThread,
- setActiveThread,
- subscribeFocusThread,
- toggleQueue,
- useCommentThreads,
-} from './store';
-import type { CommentThread } from './types';
-
-function relativeTime(at: number, now: number): string {
- const secs = Math.max(1, Math.round((now - at) / 1000));
- if (secs < 60) return `${secs}s`;
- const mins = Math.round(secs / 60);
- if (mins < 60) return `${mins}m`;
- const hours = Math.round(mins / 60);
- return `${hours}h`;
-}
-
-export function ThreadCard({
- thread,
- now,
- cardRef,
- focused,
- onClose,
-}: {
- thread: CommentThread;
- now: number;
- cardRef: (el: HTMLElement | null) => void;
- focused: boolean;
- /** When set, renders a close button in the header (used by the popover). */
- onClose?: () => void;
-}) {
- const { t } = useLingui();
- // The edit field opens on demand from the icon in the action row, seeded with
- // the current text — this revises the comment rather than adding to it.
- const [draft, setDraft] = useState(thread.body);
- const [editing, setEditing] = useState(false);
- const editFieldRef = useRef<HTMLTextAreaElement>(null);
- const isOrphaned = thread.status === 'orphaned';
- const isResolved = thread.status === 'resolved';
-
- // Focus the edit field with the caret AFTER the existing text. `autoFocus`
- // alone lands it at offset 0, so you open an edit standing in front of your
- // own sentence and have to travel to the end before typing.
- useEffect(() => {
- if (!editing) return;
- const field = editFieldRef.current;
- if (field === null) return;
- field.focus();
- const end = field.value.length;
- field.setSelectionRange(end, end);
- }, [editing]);
-
- function jumpToQuote(quote: string) {
- if (thread.anchor === null) return;
- // A value comment lives in a `<textarea>`, which no editor command can
- // reach — selecting the words in the field is the only highlight it has.
- if (thread.target.kind === 'property') {
- revealPropertyValueRange({
- key: thread.target.key,
- path: thread.target.path,
- quote,
- start: thread.anchor.start,
- end: thread.anchor.end,
- });
- return;
- }
- const editor = getEditorForDoc(thread.docName);
- if (!editor) return;
- const range = findQuoteRange(editor.state.doc, quote, thread.anchor);
- if (!range) return;
- // Select without ProseMirror's own scroll, then place it ourselves — its
- // minimal scroll lands the passage under the floating toolbar.
- editor.chain().focus().setTextSelection(range).run();
- scrollAnchorIntoView(editor, range);
- }
-
- function rePlaceOnSelection() {
- const editor = getEditorForDoc(thread.docName);
- if (!editor) return;
- const { from, to, empty } = editor.state.selection;
- if (empty) return;
- const quote = editor.state.doc.textBetween(from, to, ' ').trim();
- // Same context the create path sends: re-placing onto one of two identical
- // passages has to land on the one selected, not the first in the file.
- if (quote.length > 0) {
- replaceOrphan(thread.id, quote, captureSelectionContext(editor.state.doc, from, to));
- }
- }
-
- return (
- <article
- ref={cardRef}
- // Reading a card deepens its passage in the document. With two comments
- // on the same words that is the only thing saying which is which, so it
- // follows the pointer and keyboard focus rather than waiting for a click.
- onPointerEnter={() => setActiveThread(thread.id)}
- onPointerLeave={() => clearActiveThread(thread.id)}
- onFocusCapture={() => setActiveThread(thread.id)}
- onBlurCapture={() => clearActiveThread(thread.id)}
- className={cn(
- 'flex flex-col gap-1.5 rounded-lg border p-2.5 transition-shadow',
- isResolved && 'opacity-70',
- isOrphaned && 'border-amber-500/40 bg-amber-500/5',
- focused && 'ring-2 ring-primary',
- )}
- >
- {/* Timestamp leads, the way the author chip used to — with the row pinned
- right, dropping the author left a hole on the left of every card. */}
- <div className="flex items-center justify-between gap-2">
- <span className="shrink-0 text-[10px] text-muted-foreground">
- {relativeTime(thread.createdAt, now)}
- </span>
- <div className="flex min-w-0 items-center gap-1.5">
- {isResolved && (
- <Badge
- variant="outline"
- className="gap-1 border-green-600/40 text-green-700 dark:text-green-500"
- >
- <Check className="size-2.5" />
- <Trans>Resolved</Trans>
- </Badge>
- )}
- {isOrphaned && (
- <Badge
- variant="outline"
- className="gap-1 border-amber-500/50 text-amber-600 dark:text-amber-500"
- >
- <Unlink className="size-2.5" />
- <Trans>Orphaned</Trans>
- </Badge>
- )}
- {/* No confirm step: a comment is one line of your own text, it has
- gone nowhere but the queue, and re-adding it costs a selection and
- a sentence. An interstitial would cost more than the mistake. */}
- <Button
- size="sm"
- variant="ghost"
- className="size-6 p-0 text-muted-foreground hover:text-destructive"
- aria-label={t`Delete this comment`}
- title={t`Delete this comment`}
- onClick={() => deleteThread(thread.id)}
- >
- <Trash2 className="size-3.5" />
- </Button>
- {onClose && (
- <Button
- size="sm"
- variant="ghost"
- className="-mr-1 size-6 p-0 text-muted-foreground hover:text-foreground"
- aria-label={t`Close`}
- onClick={onClose}
- >
- <X className="size-3.5" />
- </Button>
- )}
- </div>
- </div>
-
- {/* Anchor quote */}
- {isOrphaned ? (
- <p className="rounded border-l-2 border-amber-500/60 bg-amber-500/10 px-2 py-1 text-xs text-amber-700 dark:text-amber-400">
- <Trans>The anchored text is gone. You can re-place it on selected text.</Trans>
- </p>
- ) : (
- <Button
- type="button"
- variant="ghost"
- // Inert only when there are no words to reveal — a comment on a whole
- // field. The row still renders, so the thread keeps saying what it is
- // on rather than showing nothing.
- disabled={thread.anchor === null}
- onClick={() => jumpToQuote(thread.anchor?.quote ?? '')}
- title={
- thread.anchor === null
- ? t`This comment is on the whole property`
- : thread.target.kind === 'property'
- ? t`Select this text in the property`
- : t`Jump to the anchored text`
- }
- className="h-auto w-full justify-start truncate rounded border-l-2 border-muted-foreground/40 bg-muted/40 px-2 py-1 text-left text-xs font-normal text-muted-foreground hover:bg-muted/70 disabled:opacity-100"
- >
- <span className="truncate">
- {thread.target.kind === 'property' ? (
- <span className="font-mono">
- {propertyAddress(thread.target.key, thread.target.path)}:
- {thread.anchor === null ? '' : ` “${thread.anchor.quote}”`}
- </span>
- ) : (
- <>“{thread.anchor?.quote ?? ''}”</>
- )}
- </span>
- </Button>
- )}
-
- <p className="text-sm text-foreground/90">{thread.body}</p>
-
- {/* Actions */}
- {isOrphaned ? (
- <Button size="sm" variant="outline" className="min-w-0" onClick={rePlaceOnSelection}>
- <MapPin className="size-3.5 shrink-0" />
- <span className="truncate">
- <Trans>Re-place on selected text</Trans>
- </span>
- </Button>
- ) : (
- <>
- {/* The field appears only once you ask for it — most cards are being
- read, not revised, so an always-present box costs every card height
- for an action taken on few of them. Enter saves, Shift+Enter is a
- newline, Escape discards the revision. */}
- {editing && (
- <Textarea
- ref={editFieldRef}
- rows={1}
- value={draft}
- onChange={(e) => setDraft(e.target.value)}
- onKeyDown={(e) => {
- if (e.key === 'Escape') {
- setDraft(thread.body);
- setEditing(false);
- return;
- }
- if (e.key !== 'Enter' || e.shiftKey) return;
- // Mid-composition Enter belongs to the IME, not to saving.
- if (e.nativeEvent.isComposing) return;
- e.preventDefault();
- const next = draft.trim();
- if (next.length === 0 || next === thread.body) {
- setEditing(false);
- return;
- }
- editComment(thread.id, next);
- setEditing(false);
- }}
- placeholder={t`Edit this comment`}
- className="min-h-0 resize-none px-2 py-1 text-sm leading-5"
- />
- )}
- {/* One row, never wrapped: wrapping made the queued and un-queued
- states different heights (the longer label bumped Resolve onto a
- second line). Labels are short and `truncate`-capable instead, so
- the row holds its shape in both states. */}
- <div className="flex min-w-0 flex-nowrap items-center justify-end gap-1.5">
- {!isResolved && (
- <Button
- size="sm"
- variant="ghost"
- aria-label={t`Edit this comment`}
- title={t`Edit this comment`}
- aria-expanded={editing}
- className={cn(
- 'size-7 shrink-0 p-0',
- editing ? 'text-foreground' : 'text-muted-foreground hover:text-foreground',
- )}
- onClick={() => {
- setDraft(thread.body);
- setEditing((open) => !open);
- }}
- >
- <Pencil className="size-3.5" />
- </Button>
- )}
- {/* Send toggle — the round trip out of and back into the batch.
- Dropping a comment from the batch never destroys it, so this is
- how it gets back in. One model: everything ships via the
- composer's batch, not a second per-thread dispatch path. */}
- {!isResolved &&
- (thread.queued ? (
- /* "Ready to send" reads as a settled state (✓ Ready to send) and
- turns into its own undo on hover — the ✕ says what the click will do
- without spending a second control on it. Keyboard parity via
- `group-focus-visible`, NOT `focus-within`: a mouse click
- leaves the button focused, so focus-within pinned the ✕ open
- on the one card you last touched while its neighbours sat at
- ✓. The label does NOT change with the icon: swapping to
- "Don't send" moves the text under the cursor mid-hover. */
- <Button
- size="sm"
- variant="outline"
- aria-label={t`Don't send this comment`}
- className="group/queued min-w-0 border-primary/40 text-primary hover:bg-primary/10 hover:text-primary"
- onClick={() => toggleQueue(thread.id)}
- >
- <span className="relative inline-flex size-3.5 shrink-0">
- <Check
- className="absolute inset-0 size-3.5 opacity-100 transition-opacity duration-150 ease-out group-hover/queued:opacity-0 group-focus-visible/queued:opacity-0 motion-reduce:transition-none"
- aria-hidden
- />
- <X
- className="absolute inset-0 size-3.5 opacity-0 transition-opacity duration-150 ease-out group-hover/queued:opacity-100 group-focus-visible/queued:opacity-100 motion-reduce:transition-none"
- aria-hidden
- />
- </span>
- <span className="truncate">
- <Trans>Ready to send</Trans>
- </span>
- </Button>
- ) : (
- <Button
- size="sm"
- variant="ghost"
- className="min-w-0 text-muted-foreground hover:text-foreground"
- onClick={() => toggleQueue(thread.id)}
- >
- <Sparkles className="size-3.5 shrink-0" />
- <span className="truncate">
- <Trans>Send later</Trans>
- </span>
- </Button>
- ))}
- {isResolved ? (
- // Reopening has to be one click: dispatching auto-resolves a
- // thread on send, so this is the correction when the agent didn't
- // actually settle it. A static "Done" label left no way back.
- <Button
- size="sm"
- variant="outline"
- className="min-w-0"
- onClick={() => reopenThread(thread.id)}
- >
- <RotateCcw className="size-3.5 shrink-0" />
- <span className="truncate">
- <Trans>Reopen</Trans>
- </span>
- </Button>
- ) : (
- <Button
- size="sm"
- variant="outline"
- className="min-w-0"
- onClick={() => resolveThread(thread.id)}
- >
- <Check className="size-3.5 shrink-0" />
- <span className="truncate">
- <Trans>Resolve</Trans>
- </span>
- </Button>
- )}
- </div>
- </>
- )}
- </article>
- );
-}
+import { CommentListPanel } from './CommentListPanel';
+import { refresh, useCommentThreads } from './store';
function CommentsPanelInner({ docName }: { docName: string }) {
- const { t } = useLingui();
const threads = useCommentThreads(docName);
- const [showResolved, setShowResolved] = useState(false);
- const [focusedId, setFocusedId] = useState<string | null>(null);
- const cardRefs = useRef(new Map<string, HTMLElement>());
- // Captured once on mount — relative timestamps don't need to tick live, and
- // calling Date.now() during render violates the React Compiler purity rule.
- const [now] = useState(() => Date.now());
// Load this doc's threads when the panel opens — it can open before (or
// without) the editor's anchor layer having mounted.
@@ -412,74 +21,12 @@ function CommentsPanelInner({ docName }: { docName: string }) {
void refresh(docName).catch(() => undefined);
}, [docName]);
- // Clicking an in-doc highlight scrolls the panel to its thread + rings it.
- //
- // The ring's timer is held so it can be cancelled. Left dangling it fired
- // after unmount, and every focus event queued another — clicking through ten
- // highlights left ten timers racing to clear a ring only one of them owns.
- const ringTimer = useRef<number | null>(null);
- useEffect(() => {
- const stop = subscribeFocusThread((threadId) => {
- setFocusedId(threadId);
- cardRefs.current.get(threadId)?.scrollIntoView({ block: 'center', behavior: 'smooth' });
- if (ringTimer.current !== null) window.clearTimeout(ringTimer.current);
- ringTimer.current = window.setTimeout(() => {
- ringTimer.current = null;
- setFocusedId((cur) => (cur === threadId ? null : cur));
- }, 1_600);
- });
- return () => {
- stop();
- if (ringTimer.current !== null) window.clearTimeout(ringTimer.current);
- };
- }, []);
-
- const active = threads.filter((thread) => thread.status !== 'resolved');
- const resolved = threads.filter((thread) => thread.status === 'resolved');
- const visible = showResolved ? threads : active;
-
return (
- <Panel>
- <PanelHeader>
- <PanelTitle>
- <Trans>Comments</Trans>
- </PanelTitle>
- <div className="flex items-center gap-2">
- {resolved.length > 0 && (
- <Button
- size="sm"
- variant="ghost"
- className="h-6 gap-1 px-1.5 text-xs"
- onClick={() => setShowResolved((v) => !v)}
- >
- {showResolved ? <CircleDot className="size-3" /> : <Check className="size-3" />}
- {showResolved ? t`Hide resolved` : t`Show resolved (${resolved.length})`}
- </Button>
- )}
- <PanelCount>{active.length}</PanelCount>
- </div>
- </PanelHeader>
- <PanelBody className="flex flex-col gap-3">
- {visible.length === 0 ? (
- <PanelEmpty>
- <Trans>No comments yet. Select text in the document to add one.</Trans>
- </PanelEmpty>
- ) : (
- visible.map((thread) => (
- <ThreadCard
- key={thread.id}
- thread={thread}
- now={now}
- focused={focusedId === thread.id}
- cardRef={(el) => {
- if (el) cardRefs.current.set(thread.id, el);
- else cardRefs.current.delete(thread.id);
- }}
- />
- ))
- )}
- </PanelBody>
- </Panel>
+ <CommentListPanel
+ threads={threads}
+ empty={<Trans>No comments yet. Select text in the document to add one.</Trans>}
+ testIdPrefix="comment-doc"
+ />
);
}
diff --git a/packages/app/src/comments/CommentsTab.tsx b/packages/app/src/comments/CommentsTab.tsx
index 87ad8f91b..4d0116a6f 100644
--- a/packages/app/src/comments/CommentsTab.tsx
+++ b/packages/app/src/comments/CommentsTab.tsx
@@ -1,16 +1,17 @@
/**
- * Comments tab shell — one tab with a "This doc / All comments" scope toggle,
+ * Comments tab shell — one tab with a "This doc / This project" scope toggle,
* reusing the header Problems uses for per-doc vs. project scope
- * (PanelScopeHeader). "This doc" shows the current document's threads; "All
- * comments" shows the batch waiting to be sent, which spans every file.
+ * (PanelScopeHeader). Both sides render the same list; the scope only widens the
+ * set from the open document to every file.
*/
import { useLingui } from '@lingui/react/macro';
import { useEffect, useState } from 'react';
import { type PanelScope, PanelScopeHeader } from '@/components/PanelScopeHeader';
-import { CommentQueuePanel } from './CommentQueuePanel';
+import { CommentProjectPanel } from './CommentProjectPanel';
import { CommentsPanel } from './CommentsPanel';
import { consumePendingQueueScope, subscribeQueueScopeRequests } from './reveal-queue';
+import { setVisibleCommentScope } from './visible-scope';
export function CommentsTab({ docName }: { docName: string }) {
const { t } = useLingui();
@@ -23,13 +24,20 @@ export function CommentsTab({ docName }: { docName: string }) {
if (consumePendingQueueScope()) setScope('project');
return subscribeQueueScopeRequests(() => setScope('project'));
}, []);
+ // Publish what is on screen so ⇧⌘Enter sends the batch the visible button
+ // would. Cleared on unmount — this tab is conditionally rendered, so leaving a
+ // stale scope behind would have the chord scoping to a panel that closed.
+ useEffect(() => {
+ setVisibleCommentScope({ scope, docName });
+ return () => setVisibleCommentScope(null);
+ }, [scope, docName]);
return (
<div className="flex h-full min-h-0 flex-col pt-2">
- {/* "All comments", not "Project": this side is the batch waiting to be
- sent, gathered from every file rather than just this one. */}
- <PanelScopeHeader scope={scope} onScopeChange={setScope} projectLabel={t`To send`} />
+ {/* "This project" rather than Problems' bare "Project", so the two sides
+ read as one pair — the same list, this file or all of them. */}
+ <PanelScopeHeader scope={scope} onScopeChange={setScope} projectLabel={t`This project`} />
<div className="min-h-0 flex-1">
- {scope === 'doc' ? <CommentsPanel docName={docName} /> : <CommentQueuePanel />}
+ {scope === 'doc' ? <CommentsPanel docName={docName} /> : <CommentProjectPanel />}
</div>
</div>
);
diff --git a/packages/app/src/comments/ThreadCard.tsx b/packages/app/src/comments/ThreadCard.tsx
new file mode 100644
index 000000000..dca80c193
--- /dev/null
+++ b/packages/app/src/comments/ThreadCard.tsx
@@ -0,0 +1,375 @@
+/**
+ * One comment, as a card.
+ *
+ * Thread lifecycle rendered from the store: the anchored quote, the comment
+ * itself (editable in place), the tick that decides whether it goes out with
+ * the next send, resolve, and the explicit orphaned-"re-place" state. Shared by
+ * both comment scopes and by the in-document popover, so a comment looks and
+ * behaves the same wherever it is met.
+ *
+ * A thread holds ONE comment rather than a discussion. Comments go to an agent,
+ * not to teammates, so there is nobody to reply to yet — revising what you asked
+ * for is the move that actually comes up. An edit therefore REPLACES the comment
+ * server-side; the superseded text is not kept.
+ */
+
+// biome-ignore-all lint/plugin/no-physical-direction-utility: pre-rule backlog — physical margin/padding/inset utilities predate the rule; drain by swapping ml/mr → ms/me, pl/pr → ps/pe, left/right → start/end, then deleting this line. See https://github.com/inkeep/open-knowledge/blob/main/biome-plugins/README.md#no-physical-direction-utilitygrit
+
+// Two macro imports, deliberately: `relativeTime` is a plain module function
+// with no React context to read, so its units come from the core macro, while
+// the component's own copy uses the hook. The component-local `t` shadows this
+// one inside it, which is why the stamp lives outside.
+import { t } from '@lingui/core/macro';
+import { Trans, useLingui } from '@lingui/react/macro';
+import { Check, MapPin, Pencil, RotateCcw, Trash2, Unlink, X } from 'lucide-react';
+import { useEffect, useRef, useState } from 'react';
+import { Badge } from '@/components/ui/badge';
+import { Button } from '@/components/ui/button';
+import { Checkbox } from '@/components/ui/checkbox';
+import { Textarea } from '@/components/ui/textarea';
+import { getEditorForDoc } from '@/editor/active-editor';
+import { cn } from '@/lib/utils';
+import { captureSelectionContext, findQuoteRange } from './anchor-search';
+import { propertyAddress, revealThread } from './comment-chips';
+import { revealPropertyValueRange } from './property-row-rect';
+import { scrollAnchorIntoView } from './scroll-to-anchor';
+import {
+ clearActiveThread,
+ deleteThread,
+ editComment,
+ reopenThread,
+ replaceOrphan,
+ setActiveThread,
+ toggleSending,
+} from './store';
+import type { CommentThread } from './types';
+
+/**
+ * The card's age stamp, in the largest unit that still reads as an age.
+ *
+ * Rolls over rather than running the smallest unit up forever: hours alone gave
+ * a week-old comment "174h", a number nobody converts in their head. Past a week
+ * even days stop meaning anything, so it hands over to a date — the same
+ * rollover point the Timeline panel uses, so two views of the same week-old
+ * thing agree.
+ *
+ * `floor`, not `round`: rounding UP promoted 23.6 hours to "24h" and 6.7 days to
+ * "7d", both of which are ages the branch below was supposed to have taken.
+ */
+function relativeTime(at: number, now: number): string {
+ const secs = Math.max(1, Math.floor((now - at) / 1000));
+ if (secs < 60) return t`${secs}s`;
+ const mins = Math.floor(secs / 60);
+ if (mins < 60) return t`${mins}m`;
+ const hours = Math.floor(mins / 60);
+ if (hours < 24) return t`${hours}h`;
+ const days = Math.floor(hours / 24);
+ if (days < 7) return t`${days}d`;
+ return new Date(at).toLocaleDateString();
+}
+
+export function ThreadCard({
+ thread,
+ now,
+ cardRef,
+ focused,
+ sending,
+ onClose,
+}: {
+ thread: CommentThread;
+ now: number;
+ cardRef: (el: HTMLElement | null) => void;
+ focused: boolean;
+ /**
+ * Ticked for the next send. Passed in rather than read here so one
+ * subscription serves a whole panel of cards.
+ *
+ * Required, not optional: as an optional prop it defaulted to `undefined`,
+ * which renders a permanently unchecked box that still writes to the store on
+ * click. A host that forgets it must fail to compile, not ship a control that
+ * silently disagrees with the state behind it.
+ */
+ sending: boolean;
+ /** When set, renders a close button in the header (used by the popover). */
+ onClose?: () => void;
+}) {
+ const { t } = useLingui();
+ // The edit field opens on demand from the icon in the action row, seeded with
+ // the current text — this revises the comment rather than adding to it.
+ const [draft, setDraft] = useState(thread.body);
+ const [editing, setEditing] = useState(false);
+ const editFieldRef = useRef<HTMLTextAreaElement>(null);
+ const isOrphaned = thread.status === 'orphaned';
+ const isResolved = thread.status === 'resolved';
+
+ // Focus the edit field with the caret AFTER the existing text. `autoFocus`
+ // alone lands it at offset 0, so you open an edit standing in front of your
+ // own sentence and have to travel to the end before typing.
+ useEffect(() => {
+ if (!editing) return;
+ const field = editFieldRef.current;
+ if (field === null) return;
+ field.focus();
+ const end = field.value.length;
+ field.setSelectionRange(end, end);
+ }, [editing]);
+
+ function jumpToQuote(quote: string) {
+ if (thread.anchor === null) return;
+ // A comment on a file that is not open: the project scope lists every
+ // document, so the editor this jump needs may not exist yet. `revealThread`
+ // navigates first and waits for that editor to mount; the local paths below
+ // would find nothing and silently do nothing.
+ if (getEditorForDoc(thread.docName) === null) {
+ revealThread(thread);
+ return;
+ }
+ // A value comment lives in a `<textarea>`, which no editor command can
+ // reach — selecting the words in the field is the only highlight it has.
+ if (thread.target.kind === 'property') {
+ revealPropertyValueRange({
+ key: thread.target.key,
+ path: thread.target.path,
+ quote,
+ start: thread.anchor.start,
+ end: thread.anchor.end,
+ });
+ return;
+ }
+ const editor = getEditorForDoc(thread.docName);
+ if (!editor) return;
+ const range = findQuoteRange(editor.state.doc, quote, thread.anchor);
+ if (!range) return;
+ // Select without ProseMirror's own scroll, then place it ourselves — its
+ // minimal scroll lands the passage under the floating toolbar.
+ editor.chain().focus().setTextSelection(range).run();
+ scrollAnchorIntoView(editor, range);
+ }
+
+ function rePlaceOnSelection() {
+ const editor = getEditorForDoc(thread.docName);
+ if (!editor) return;
+ const { from, to, empty } = editor.state.selection;
+ if (empty) return;
+ const quote = editor.state.doc.textBetween(from, to, ' ').trim();
+ // Same context the create path sends: re-placing onto one of two identical
+ // passages has to land on the one selected, not the first in the file.
+ if (quote.length > 0) {
+ replaceOrphan(thread.id, quote, captureSelectionContext(editor.state.doc, from, to));
+ }
+ }
+
+ return (
+ <article
+ ref={cardRef}
+ // Reading a card deepens its passage in the document. With two comments
+ // on the same words that is the only thing saying which is which, so it
+ // follows the pointer and keyboard focus rather than waiting for a click.
+ onPointerEnter={() => setActiveThread(thread.id)}
+ onPointerLeave={() => clearActiveThread(thread.id)}
+ onFocusCapture={() => setActiveThread(thread.id)}
+ onBlurCapture={() => clearActiveThread(thread.id)}
+ className={cn(
+ 'flex flex-col gap-1.5 rounded-lg border p-2.5 transition-shadow',
+ isResolved && 'opacity-70',
+ isOrphaned && 'border-amber-500/40 bg-amber-500/5',
+ focused && 'ring-2 ring-primary',
+ )}
+ >
+ {/* Timestamp leads, the way the author chip used to — with the row pinned
+ right, dropping the author left a hole on the left of every card. */}
+ <div className="flex items-center justify-between gap-2">
+ <div className="flex min-w-0 items-center gap-2">
+ {/* The tick that decides whether this comment goes out. A checkbox
+ rather than the button it replaces: both panels list every comment
+ now, ticked or not, so the state has to read at a glance down a
+ column instead of being spelled out per card. Resolved threads
+ carry no tick — they have already been dealt with, and the queue
+ excludes them by construction. */}
+ {!isResolved && (
+ <Checkbox
+ checked={sending}
+ onCheckedChange={() => toggleSending(thread.id)}
+ aria-label={sending ? t`Don't send this comment` : t`Send this comment`}
+ />
+ )}
+ <span className="shrink-0 text-[10px] text-muted-foreground">
+ {relativeTime(thread.createdAt, now)}
+ </span>
+ </div>
+ <div className="flex min-w-0 items-center gap-1.5">
+ {isResolved && (
+ <Badge
+ variant="outline"
+ className="gap-1 border-green-600/40 text-green-700 dark:text-green-500"
+ >
+ <Check className="size-2.5" />
+ <Trans>Resolved</Trans>
+ </Badge>
+ )}
+ {isOrphaned && (
+ <Badge
+ variant="outline"
+ className="gap-1 border-amber-500/50 text-amber-600 dark:text-amber-500"
+ >
+ <Unlink className="size-2.5" />
+ <Trans>Orphaned</Trans>
+ </Badge>
+ )}
+ {/* Edit rides beside Delete rather than in a row of its own: the two
+ are peers, both acting on this comment as an object rather than on
+ where it goes. A row for one icon also costs a line of card height
+ on every card, for the least-taken action. */}
+ {!isResolved && (
+ <Button
+ size="sm"
+ variant="ghost"
+ aria-label={t`Edit this comment`}
+ title={t`Edit this comment`}
+ aria-expanded={editing}
+ className={cn(
+ 'size-6 p-0',
+ editing ? 'text-foreground' : 'text-muted-foreground hover:text-foreground',
+ )}
+ onClick={() => {
+ setDraft(thread.body);
+ setEditing((open) => !open);
+ }}
+ >
+ <Pencil className="size-3.5" />
+ </Button>
+ )}
+ {/* No confirm step: a comment is one line of your own text, it has
+ gone nowhere but the queue, and re-adding it costs a selection and
+ a sentence. An interstitial would cost more than the mistake. */}
+ <Button
+ size="sm"
+ variant="ghost"
+ className="size-6 p-0 text-muted-foreground hover:text-destructive"
+ aria-label={t`Delete this comment`}
+ title={t`Delete this comment`}
+ onClick={() => deleteThread(thread.id)}
+ >
+ <Trash2 className="size-3.5" />
+ </Button>
+ {onClose && (
+ <Button
+ size="sm"
+ variant="ghost"
+ className="-mr-1 size-6 p-0 text-muted-foreground hover:text-foreground"
+ aria-label={t`Close`}
+ onClick={onClose}
+ >
+ <X className="size-3.5" />
+ </Button>
+ )}
+ </div>
+ </div>
+
+ {/* Anchor quote */}
+ {isOrphaned ? (
+ <p className="rounded border-l-2 border-amber-500/60 bg-amber-500/10 px-2 py-1 text-xs text-amber-700 dark:text-amber-400">
+ <Trans>The anchored text is gone. You can re-place it on selected text.</Trans>
+ </p>
+ ) : (
+ <Button
+ type="button"
+ variant="ghost"
+ // Inert only when there are no words to reveal — a comment on a whole
+ // field. The row still renders, so the thread keeps saying what it is
+ // on rather than showing nothing.
+ disabled={thread.anchor === null}
+ onClick={() => jumpToQuote(thread.anchor?.quote ?? '')}
+ title={
+ thread.anchor === null
+ ? t`This comment is on the whole property`
+ : thread.target.kind === 'property'
+ ? t`Select this text in the property`
+ : t`Jump to the anchored text`
+ }
+ className="h-auto w-full justify-start truncate rounded border-l-2 border-muted-foreground/40 bg-muted/40 px-2 py-1 text-left text-xs font-normal text-muted-foreground hover:bg-muted/70 disabled:opacity-100"
+ >
+ <span className="truncate">
+ {thread.target.kind === 'property' ? (
+ <span className="font-mono">
+ {propertyAddress(thread.target.key, thread.target.path)}:
+ {thread.anchor === null ? '' : ` “${thread.anchor.quote}”`}
+ </span>
+ ) : (
+ <>“{thread.anchor?.quote ?? ''}”</>
+ )}
+ </span>
+ </Button>
+ )}
+
+ <p className="text-sm text-foreground/90">{thread.body}</p>
+
+ {/* Actions */}
+ {isOrphaned ? (
+ <Button size="sm" variant="outline" className="min-w-0" onClick={rePlaceOnSelection}>
+ <MapPin className="size-3.5 shrink-0" />
+ <span className="truncate">
+ <Trans>Re-place on selected text</Trans>
+ </span>
+ </Button>
+ ) : (
+ <>
+ {/* The field appears only once you ask for it — most cards are being
+ read, not revised, so an always-present box costs every card height
+ for an action taken on few of them. Enter saves, Shift+Enter is a
+ newline, Escape discards the revision. */}
+ {editing && (
+ <Textarea
+ ref={editFieldRef}
+ rows={1}
+ value={draft}
+ onChange={(e) => setDraft(e.target.value)}
+ onKeyDown={(e) => {
+ if (e.key === 'Escape') {
+ setDraft(thread.body);
+ setEditing(false);
+ return;
+ }
+ if (e.key !== 'Enter' || e.shiftKey) return;
+ // Mid-composition Enter belongs to the IME, not to saving.
+ if (e.nativeEvent.isComposing) return;
+ e.preventDefault();
+ const next = draft.trim();
+ if (next.length === 0 || next === thread.body) {
+ setEditing(false);
+ return;
+ }
+ editComment(thread.id, next);
+ setEditing(false);
+ }}
+ placeholder={t`Edit this comment`}
+ className="min-h-0 resize-none px-2 py-1 text-sm leading-5"
+ />
+ )}
+ {/* Only a resolved thread still needs a row down here. Resolving is
+ something a SEND does, not something you declare, so there is no
+ manual Resolve — but Reopen has to stay, and stay one click: it is
+ the correction for a send where the agent didn't actually settle
+ the thing, and without it that send would be irreversible. An open
+ thread's own actions ride the header beside the timestamp, which is
+ what lets its card end at the comment text. */}
+ {isResolved && (
+ <div className="flex min-w-0 flex-nowrap items-center justify-end gap-1.5">
+ <Button
+ size="sm"
+ variant="outline"
+ className="min-w-0"
+ onClick={() => reopenThread(thread.id)}
+ >
+ <RotateCcw className="size-3.5 shrink-0" />
+ <span className="truncate">
+ <Trans>Reopen</Trans>
+ </span>
+ </Button>
+ </div>
+ )}
+ </>
+ )}
+ </article>
+ );
+}
diff --git a/packages/app/src/comments/append-to-open-session.ts b/packages/app/src/comments/append-to-open-session.ts
deleted file mode 100644
index 9b7eb3787..000000000
--- a/packages/app/src/comments/append-to-open-session.ts
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * Send the queue INTO the conversation already open, instead of starting one.
- *
- * The dispatch path always begins a fresh turn — a new agent thread, a new CLI
- * launch, a deep link. That is wrong when you have been working with an agent
- * and the comments are follow-up for it: the batch arrives detached from
- * everything already discussed.
- *
- * The reuse machinery already exists for the editor's Ask AI affordances.
- * `requestActiveTerminalInput` hands text to `TerminalSessionsHost`, which
- * writes it into the live session — a thread takes it as a staged composer
- * draft, a live CLI tab as a no-carriage-return write into its input — and only
- * launches something new when there is nothing to reuse.
- *
- * **The queue's own send leaves everything queued and unsent.** The human
- * presses enter, and this side cannot know whether the agent ever ran — marking
- * work done that nobody has acted on is the failure the queue exists to prevent.
- *
- * `resolve` opts out of that caution, for the one caller where it does not
- * apply: the selection composer's "Send to AI" writes a comment and hands it
- * over in a single gesture, so it was never a queued review item to begin with.
- * Leaving it open would put it in the batch the reviewer sends LATER, and they
- * would send the same note twice.
- */
-
-import { requestActiveTerminalInput } from '@/components/handoff/terminal-input-events';
-import { composeCommentBatchInstruction, toCommentBatchItem } from './comment-chips';
-import { dispatchComments } from './store';
-
-/**
- * Compose the checked queue and write it into the active session's input.
- * Returns how many comments were staged (0 when nothing was checked, the
- * prepare failed, or every thread had gone).
- *
- * Goes through `prepareDispatchBatch` rather than the local store: the server
- * re-anchors on prepare, so a passage that moved is reported as lost HERE, and
- * it is the only side that knows whether a quote repeats in its document — the
- * two facts that stop an agent editing the wrong passage.
- */
-export async function appendQueueToOpenSession({
- sharedInstruction = '',
- threadIds,
- submit = false,
- resolve = false,
-}: {
- sharedInstruction?: string;
- /**
- * Send exactly these instead of the checked queue.
- *
- * The composer's "Send to AI" hands over the ONE comment just written, which
- * is not in the checked set yet and must not drag the rest of the queue along
- * with it.
- */
- threadIds?: readonly string[];
- /**
- * Run it on a FRESH session instead of staging a draft there.
- *
- * Only reaches the fresh-launch fallback: reuse writes into a live input and
- * has never pressed enter, by design. So "Send to AI" with a chat already open
- * stages the batch for you to send, and with none open runs it — which is the
- * same asymmetry every other Ask AI surface has.
- */
- submit?: boolean;
- /**
- * Close the threads once handed over, instead of leaving them queued.
- *
- * Resolving is also what takes them OUT of the queue — the two are one state
- * change, so this cannot leave a thread resolved-but-still-listed.
- */
- resolve?: boolean;
-} = {}): Promise<number> {
- // Routed through the ONE dispatch path rather than reimplementing it: that is
- // what gives this the re-entrancy guard (a second click used to start a second
- // hand-off), the re-anchor-on-prepare, and the single resolve call site. All
- // this contributes is WHERE the batch goes.
- const shipped = await dispatchComments({
- threadIds,
- resolve,
- compose: async (items) => {
- requestActiveTerminalInput(
- composeCommentBatchInstruction(
- items.map((item) => toCommentBatchItem(item.payload)),
- sharedInstruction,
- ),
- // `newTab: false` is the whole point — reuse the session you are in.
- { newTab: false, submit },
- );
- // The write into a live input is synchronous and unacknowledged; there is
- // nothing to fail. Reporting success is what lets `resolve` mean anything.
- return true;
- },
- });
- return shipped.length;
-}
diff --git a/packages/app/src/comments/comment-chips.tsx b/packages/app/src/comments/comment-chips.tsx
index 0e88b1465..5d0c9339d 100644
--- a/packages/app/src/comments/comment-chips.tsx
+++ b/packages/app/src/comments/comment-chips.tsx
@@ -184,9 +184,9 @@ export function propertyAddress(key: string, path: readonly (string | number)[])
}
/**
- * The one line that says what a thread is ON — shared by every list that shows
- * threads (the composer peek, the queue panel, the comments panel) so the three
- * can't drift into describing the same thread differently.
+ * The one line that says what a thread is ON, for the composer chip's expanded
+ * list. Local to this file — the panels' own cards render the target themselves,
+ * with room for a jump target and a badge this compact line has no space for.
*
* A whole property renders as `tags:` in the same monospace the quote uses. That
* reads as the YAML it is, which distinguishes it from a passage without needing
@@ -197,13 +197,7 @@ export function propertyAddress(key: string, path: readonly (string | number)[])
* neither half identifies it alone: several comments can sit on one field, and
* the same words can appear in more than one.
*/
-export function ThreadTargetLine({
- thread,
- className,
-}: {
- thread: CommentThread;
- className?: string;
-}) {
+function ThreadTargetLine({ thread, className }: { thread: CommentThread; className?: string }) {
const base = 'w-full truncate font-mono text-[11px] text-muted-foreground';
const quote = thread.anchor?.quote ?? '';
if (thread.target.kind === 'property') {
@@ -386,10 +380,11 @@ export interface CommentBatchItem {
/**
* Server dispatch payload → the shape the batch instruction is composed from.
*
- * One copy, shared by every send path (the composer, the queue panel's send, the
- * append-to-open-session path, the single-thread delivery hook). They all hand
- * the same payload to the same composer, and four hand-written copies of this
- * mapping is four places for a new field to be forgotten in three of them.
+ * One copy, shared by every send path. They all hand the same payload to the
+ * same composer, so a hand-written copy per path would be one more place for a
+ * new field to be forgotten in all but one of them. Deliberately uncounted: the
+ * set of send paths has changed twice already, and a number here rots silently
+ * while the reason does not.
*/
export function toCommentBatchItem(payload: DispatchPayload): CommentBatchItem {
return {
diff --git a/packages/app/src/comments/comment-composer-submit.dom.test.tsx b/packages/app/src/comments/comment-composer-submit.dom.test.tsx
index 55102afbf..ad49fcec4 100644
--- a/packages/app/src/comments/comment-composer-submit.dom.test.tsx
+++ b/packages/app/src/comments/comment-composer-submit.dom.test.tsx
@@ -8,7 +8,8 @@
*
* What is left is what this component owns: which payload gets filed, that a
* filed passage stops being selected while a cancelled one does not, and that
- * "Send to AI" hands over rather than queueing.
+ * filing is the only thing the card does — the batch goes out from the Comments
+ * tab, which this card only routes to.
*/
import * as actualLinguiMacro from '@lingui/react/macro';
@@ -49,7 +50,7 @@ const captured = {
created: [] as CreateArgs[],
startComment: null as (() => void) | null,
collapsedTo: [] as number[],
- sent: [] as { threadIds?: readonly string[]; submit?: boolean; resolve?: boolean }[],
+ panelTabs: [] as string[],
};
/** The field, doubled as a plain textarea that honours the same handle. */
@@ -97,11 +98,8 @@ vi.doMock('@/editor/ComposerMentionInput', () => ({
},
}));
-vi.doMock('./append-to-open-session', () => ({
- appendQueueToOpenSession: (args: Record<string, unknown>) => {
- captured.sent.push(args);
- return Promise.resolve(1);
- },
+vi.doMock('@/components/doc-panel-events', () => ({
+ requestDocPanelTab: (tab: string) => captured.panelTabs.push(tab),
}));
vi.doMock('./store', () => ({
@@ -161,7 +159,7 @@ afterEach(() => {
cleanup();
captured.created.length = 0;
captured.collapsedTo.length = 0;
- captured.sent.length = 0;
+ captured.panelTabs.length = 0;
captured.startComment = null;
});
@@ -192,29 +190,39 @@ describe('the comment composer', () => {
expect(args.onCreated).toBeUndefined();
});
- test('Enter files it too, so the keyboard never reaches the irreversible one', async () => {
+ test('Enter queues the comment', async () => {
const field = await openComposer();
fireEvent.change(field, { target: { value: 'press it?' } });
fireEvent.keyDown(field, { key: 'Enter' });
expect(captured.created).toHaveLength(1);
+ // No `onCreated` is what makes this a queue-only filing: a hand-off would be
+ // sequenced behind creation, so its absence means nothing shipped.
expect(captured.created[0].onCreated).toBeUndefined();
});
- test('Send to AI hands the comment over and resolves it', async () => {
+ // The modifier used to reach a second, irreversible action. With that action
+ // gone, ⌘Enter must land on the one that is left rather than on nothing.
+ test('Cmd/Ctrl+Enter queues too — there is no send-now twin', async () => {
const field = await openComposer();
fireEvent.change(field, { target: { value: 'press it?' } });
- fireEvent.click(screen.getByRole('button', { name: /send to ai/i }));
+ fireEvent.keyDown(field, { key: 'Enter', metaKey: true });
- const [args] = captured.created;
- expect(args.body).toBe('press it?');
- // The send is sequenced behind creation because only the store has the id.
- expect(args.onCreated).toBeDefined();
+ expect(captured.created).toHaveLength(1);
+ // No `onCreated` is what makes this queue-only: a hand-off would be
+ // sequenced behind creation, so its absence means nothing shipped.
+ expect(captured.created[0].onCreated).toBeUndefined();
+ });
- args.onCreated?.('t1');
- // `resolve` is what keeps it out of the queue: a sent comment is not a
- // review item waiting to go, and leaving it open would send it twice.
- expect(captured.sent).toEqual([{ threadIds: ['t1'], submit: true, resolve: true }]);
+ test('the card routes to the Comments tab instead of dispatching', async () => {
+ const field = await openComposer();
+ fireEvent.change(field, { target: { value: 'press it?' } });
+ fireEvent.click(screen.getByRole('button', { name: /open comments/i }));
+
+ expect(captured.panelTabs).toEqual(['comments']);
+ // Leaving is not filing: the draft survives the trip so nothing is lost.
+ expect(captured.created).toEqual([]);
+ expect(screen.queryByPlaceholderText('Add a comment')).not.toBeNull();
});
test('posting collapses the selection — the passage has been filed', async () => {
@@ -238,10 +246,9 @@ describe('the comment composer', () => {
expect(captured.collapsedTo).toEqual([]);
});
- test('an empty draft files nothing, from either button', async () => {
+ test('an empty draft files nothing', async () => {
await openComposer();
fireEvent.click(screen.getByRole('button', { name: /add comment/i }));
- fireEvent.click(screen.getByRole('button', { name: /send to ai/i }));
expect(captured.created).toEqual([]);
});
diff --git a/packages/app/src/comments/comments-client.ts b/packages/app/src/comments/comments-client.ts
index f1454b789..3f8355968 100644
--- a/packages/app/src/comments/comments-client.ts
+++ b/packages/app/src/comments/comments-client.ts
@@ -155,10 +155,11 @@ export function editComment(threadId: string, body: string): Promise<CommentThre
return mutate<unknown>({ action: 'edit', id: threadId, body }).then(parseThread);
}
-export function resolveThread(threadId: string): Promise<CommentThreadMeta> {
- return mutate<unknown>({ action: 'resolve', id: threadId }).then(parseThread);
-}
-
+/**
+ * No `resolve` caller. The endpoint still takes the action, but a comment
+ * settles by being sent — `completeDispatchBatch` resolves what shipped — so
+ * there is no client route to it that isn't a send.
+ */
export function reopenThread(threadId: string): Promise<CommentThreadMeta> {
return mutate<unknown>({ action: 'reopen', id: threadId }).then(parseThread);
}
@@ -185,8 +186,7 @@ export function unqueueThread(threadId: string): Promise<CommentThreadMeta> {
/**
* Delete a thread outright — destructive and irreversible. Distinct from
- * `unqueueThread` (drop from the batch, keep the comment) and `resolveThread`
- * (close it, keep the history).
+ * `unqueueThread`, which drops it from the batch and keeps the comment.
*/
export function deleteThread(threadId: string): Promise<{ threadId: string }> {
return request<unknown>(`/api/comment?id=${encodeURIComponent(threadId)}`, {
diff --git a/packages/app/src/comments/dispatch-batch.test.ts b/packages/app/src/comments/dispatch-batch.test.ts
index 80fd4d837..8fb60a1bb 100644
--- a/packages/app/src/comments/dispatch-batch.test.ts
+++ b/packages/app/src/comments/dispatch-batch.test.ts
@@ -54,7 +54,6 @@ vi.mock('./comments-client', () => {
listThreads: vi.fn(async () => metas),
createThread: vi.fn(),
reply: vi.fn(),
- resolveThread: vi.fn(),
reopenThread: vi.fn(),
replaceAnchor: vi.fn(),
queueThread: vi.fn(),
diff --git a/packages/app/src/comments/open-chat-send.test.ts b/packages/app/src/comments/open-chat-send.test.ts
new file mode 100644
index 000000000..549c68515
--- /dev/null
+++ b/packages/app/src/comments/open-chat-send.test.ts
@@ -0,0 +1,117 @@
+/**
+ * The channel between the Comments panel, the sessions host, and the one thread
+ * that sends the batch.
+ *
+ * Two hops rather than one, and the second one is keyed. Every ThreadView stays
+ * mounted, so a broadcast carrying no thread id would fire the batch from every
+ * open conversation at once.
+ */
+
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import {
+ requestSendToOpenChat,
+ sendQueuedCommentsInThread,
+ subscribeSendInThread,
+ subscribeSendToOpenChat,
+} from './open-chat-send';
+
+const stops: (() => void)[] = [];
+
+function track(stop: () => void): () => void {
+ stops.push(stop);
+ return stop;
+}
+
+afterEach(() => {
+ for (const stop of stops.splice(0)) stop();
+});
+
+describe('the send request', () => {
+ test('carries no destination — the host resolves which session is open', () => {
+ const onRequest = vi.fn();
+ track(subscribeSendToOpenChat(onRequest));
+
+ requestSendToOpenChat();
+
+ expect(onRequest).toHaveBeenCalledTimes(1);
+ // An unscoped send means the whole checked queue, which is what
+ // `dispatchComments` assumes when told nothing.
+ expect(onRequest).toHaveBeenCalledWith({ threadIds: undefined });
+ });
+
+ test('carries the batch when the panel scoped one', () => {
+ const onRequest = vi.fn();
+ track(subscribeSendToOpenChat(onRequest));
+
+ requestSendToOpenChat(['t1', 't2']);
+
+ // The This-doc footer counts one document's comments. Dropping the ids here
+ // would land at the thread as "no batch specified" and send every checked
+ // comment in the project, from a button that had just promised two.
+ expect(onRequest).toHaveBeenCalledWith({ threadIds: ['t1', 't2'] });
+ });
+
+ test('stops firing once unsubscribed', () => {
+ const onRequest = vi.fn();
+ subscribeSendToOpenChat(onRequest)();
+
+ requestSendToOpenChat();
+
+ expect(onRequest).not.toHaveBeenCalled();
+ });
+});
+
+describe('the send-in-thread answer', () => {
+ test('reaches only the thread it names', () => {
+ const sentFrom: string[] = [];
+ track(subscribeSendInThread((threadId) => sentFrom.push(threadId)));
+
+ sendQueuedCommentsInThread('thread-a');
+
+ // The subscriber filters on its own id; what matters here is that the id
+ // travels at all, since without it every mounted thread would send.
+ expect(sentFrom).toEqual(['thread-a']);
+ });
+
+ test('carries the batch to that thread, not just the address', () => {
+ const calls: { threadId: string; threadIds?: readonly string[] }[] = [];
+ track(subscribeSendInThread((threadId, threadIds) => calls.push({ threadId, threadIds })));
+
+ sendQueuedCommentsInThread('thread-a', ['t1', 't2']);
+
+ expect(calls).toEqual([{ threadId: 'thread-a', threadIds: ['t1', 't2'] }]);
+ });
+
+ test('an unscoped send arrives unscoped rather than empty', () => {
+ const calls: (readonly string[] | undefined)[] = [];
+ track(subscribeSendInThread((_threadId, threadIds) => calls.push(threadIds)));
+
+ sendQueuedCommentsInThread('thread-a');
+
+ // `undefined`, never `[]`: an empty array is a batch of nothing, which
+ // `dispatchComments` would treat as a no-op instead of the whole queue.
+ expect(calls).toEqual([undefined]);
+ });
+
+ test('ignores an empty id rather than sending from nothing', () => {
+ const sentFrom: string[] = [];
+ track(subscribeSendInThread((threadId) => sentFrom.push(threadId)));
+
+ sendQueuedCommentsInThread('');
+
+ expect(sentFrom).toEqual([]);
+ });
+
+ test('the two channels do not answer each other', () => {
+ const onRequest = vi.fn();
+ const onSendInThread = vi.fn();
+ track(subscribeSendToOpenChat(onRequest));
+ track(subscribeSendInThread(onSendInThread));
+
+ requestSendToOpenChat();
+ expect(onSendInThread).not.toHaveBeenCalled();
+
+ sendQueuedCommentsInThread('thread-a');
+ expect(onRequest).toHaveBeenCalledTimes(1);
+ });
+});
diff --git a/packages/app/src/comments/open-chat-send.ts b/packages/app/src/comments/open-chat-send.ts
new file mode 100644
index 000000000..5e8badd64
--- /dev/null
+++ b/packages/app/src/comments/open-chat-send.ts
@@ -0,0 +1,80 @@
+/**
+ * Sending a comment batch into the chat that is already open.
+ *
+ * The batch runs as a turn either way — this only routes it. A fresh thread is
+ * started by the delivery hook; a LIVE thread has to be sent to from inside,
+ * because that is where the machinery lives: the same path the composer's own
+ * chip takes, so a batch sent from the panel and one sent from the chip are one
+ * turn shape and one resolve rule. Writing the composed prose into that
+ * thread's input instead left the reviewer to press enter on a wall of
+ * generated text.
+ *
+ * Two hops rather than one, because neither end can do the other's half. The
+ * panel knows a batch is ready but not which session is on screen or how to
+ * reveal it; `SessionsHost` knows both but has no opinion about comments; and
+ * every ThreadView stays mounted, so a broadcast with no thread id would fire
+ * the batch from whichever thread answered first.
+ */
+
+const SEND_REQUEST_EVENT = 'open-knowledge:comments-send-to-open-chat';
+const SEND_IN_THREAD_EVENT = 'open-knowledge:comments-send-in-thread';
+
+// The node-env unit tier imports this module and has no `window` to listen on.
+const bus: EventTarget = typeof window === 'undefined' ? new EventTarget() : window;
+
+/**
+ * The batch, carried by BOTH hops.
+ *
+ * `undefined` means the whole checked queue — what `dispatchComments` assumes
+ * when told nothing. A scoped panel passes its own ids, and every hop has to
+ * relay them: the This-doc footer counts one document's comments, so a channel
+ * that dropped them on the way would send every checked comment in the project
+ * from a button that had just promised four.
+ */
+export interface QueuedCommentBatch {
+ readonly threadIds?: readonly string[];
+}
+
+/**
+ * "Send these checked comments to whatever chat is open." Carries no
+ * destination: the host resolves the active session, exactly as it does for a
+ * reuse write. It does carry the batch.
+ */
+export function requestSendToOpenChat(threadIds?: readonly string[]): void {
+ bus.dispatchEvent(
+ new CustomEvent<QueuedCommentBatch>(SEND_REQUEST_EVENT, { detail: { threadIds } }),
+ );
+}
+
+export function subscribeSendToOpenChat(
+ onRequest: (batch: QueuedCommentBatch) => void,
+): () => void {
+ const handler = (event: Event): void => {
+ onRequest(event instanceof CustomEvent ? ((event.detail as QueuedCommentBatch) ?? {}) : {});
+ };
+ bus.addEventListener(SEND_REQUEST_EVENT, handler);
+ return () => bus.removeEventListener(SEND_REQUEST_EVENT, handler);
+}
+
+interface SendInThreadDetail extends QueuedCommentBatch {
+ readonly threadId: string;
+}
+
+/** The host's answer: send THIS batch from THIS thread, now revealed and focused. */
+export function sendQueuedCommentsInThread(threadId: string, threadIds?: readonly string[]): void {
+ bus.dispatchEvent(
+ new CustomEvent<SendInThreadDetail>(SEND_IN_THREAD_EVENT, { detail: { threadId, threadIds } }),
+ );
+}
+
+export function subscribeSendInThread(
+ onSend: (threadId: string, threadIds?: readonly string[]) => void,
+): () => void {
+ const handler = (event: Event): void => {
+ const detail = event instanceof CustomEvent ? (event.detail as SendInThreadDetail) : null;
+ if (detail == null || typeof detail.threadId !== 'string' || detail.threadId === '') return;
+ onSend(detail.threadId, detail.threadIds);
+ };
+ bus.addEventListener(SEND_IN_THREAD_EVENT, handler);
+ return () => bus.removeEventListener(SEND_IN_THREAD_EVENT, handler);
+}
diff --git a/packages/app/src/comments/popover-send-tick.dom.test.tsx b/packages/app/src/comments/popover-send-tick.dom.test.tsx
new file mode 100644
index 000000000..51f7dce4a
--- /dev/null
+++ b/packages/app/src/comments/popover-send-tick.dom.test.tsx
@@ -0,0 +1,87 @@
+/**
+ * The in-document popover's send tick reflects the store.
+ *
+ * The popover renders the panels' card, and for a while it rendered it without
+ * saying whether the comment was ticked. The box drew permanently unchecked
+ * while the click behind it went through to the store — state and view
+ * disagreeing, which reads as "the checkbox is broken" when nothing about the
+ * send was. The prop is required now, so a host that forgets cannot compile;
+ * this covers the half a type cannot: that the value passed is the LIVE one.
+ */
+
+import * as actualLinguiMacro from '@lingui/react/macro';
+import { cleanup, render, screen } from '@testing-library/react';
+import type { ReactNode } from 'react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import type { CommentThread } from './types';
+
+vi.doMock('@lingui/react/macro', () => ({
+ ...actualLinguiMacro,
+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,
+ useLingui: () => ({
+ t: (strings: TemplateStringsArray, ...values: unknown[]) =>
+ strings.reduce((acc, part, index) => `${acc}${part}${values[index] ?? ''}`, ''),
+ }),
+}));
+
+const THREAD: CommentThread = {
+ id: 't1',
+ docName: 'recipes/wiki',
+ target: { kind: 'body' },
+ anchor: { quote: "er's d", prefix: '', suffix: '', start: 0, end: 6 },
+ status: 'open',
+ body: 'hi',
+ createdAt: 1000,
+ queued: true,
+};
+
+// `t1` is in the send list — the state the popover used to draw as unchecked.
+vi.doMock('./store', () => ({
+ useCommentThreads: () => [THREAD],
+ useQueueSelection: () => ['t1'],
+ subscribeOpenThreadPopover: (cb: (id: string | null) => void) => {
+ openPopover = cb;
+ return () => {
+ openPopover = null;
+ };
+ },
+ emitOpenThreadPopover: () => {},
+ toggleSending: () => {},
+ deleteThread: () => {},
+ editComment: () => {},
+ reopenThread: () => {},
+ replaceOrphan: () => {},
+ setActiveThread: () => {},
+ clearActiveThread: () => {},
+}));
+
+// Positioning reads a live ProseMirror view; nothing here is about where the
+// card lands.
+vi.doMock('@/editor/utils/get-editor-view', () => ({ getEditorView: () => null }));
+vi.doMock('./anchor-search', () => ({
+ findQuoteRange: () => null,
+ captureSelectionContext: () => ({ prefix: '', suffix: '' }),
+}));
+vi.doMock('./property-row-rect', () => ({
+ propertyRowRect: () => null,
+ revealPropertyValueRange: () => true,
+}));
+
+let openPopover: ((id: string | null) => void) | null = null;
+
+afterEach(() => {
+ cleanup();
+ openPopover = null;
+});
+
+describe('the thread popover', () => {
+ test('draws its tick from the send list, not from nothing', async () => {
+ const { CommentThreadPopover } = await import('./CommentThreadPopover');
+ // biome-ignore lint/suspicious/noExplicitAny: structural editor double
+ render(<CommentThreadPopover editor={{ state: {} } as any} docName="recipes/wiki" />);
+ openPopover?.('t1');
+
+ const tick = await screen.findByRole('checkbox');
+ expect(tick.getAttribute('data-state')).toBe('checked');
+ });
+});
diff --git a/packages/app/src/comments/project-file-groups.dom.test.tsx b/packages/app/src/comments/project-file-groups.dom.test.tsx
new file mode 100644
index 000000000..f3ad4a4f8
--- /dev/null
+++ b/packages/app/src/comments/project-file-groups.dom.test.tsx
@@ -0,0 +1,130 @@
+/**
+ * The This-project scope's per-file groups.
+ *
+ * Properties that are easy to lose in a restyle: groups arrive OPEN — comments
+ * are hand-written and few, so folding them by default would hide the panel
+ * behind a click — folding is reachable both per-file and for all of them at
+ * once, and the file header folds WITHOUT carrying a selection control.
+ * Selection lives on the cards and in the footer; a file-level tick duplicated
+ * the card's own the moment a file held a single comment.
+ */
+
+import * as actualLinguiMacro from '@lingui/react/macro';
+import { cleanup, fireEvent, render, screen } from '@testing-library/react';
+import type { ReactNode } from 'react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import type { CommentThread } from './types';
+
+vi.doMock('@lingui/react/macro', () => ({
+ ...actualLinguiMacro,
+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,
+ useLingui: () => ({
+ t: (strings: TemplateStringsArray, ...values: unknown[]) =>
+ strings.reduce((acc, part, index) => `${acc}${part}${values[index] ?? ''}`, ''),
+ }),
+}));
+
+// The send list, doubled: everything on the first file is ticked, nothing on
+// the second — so a header that had grown a tick would have both states to show.
+vi.doMock('./store', () => ({
+ useQueueSelection: () => ['t1', 't2'],
+ subscribeFocusThread: () => () => {},
+ toggleSending: () => {},
+ deleteThread: () => {},
+ editComment: () => {},
+ reopenThread: () => {},
+ replaceOrphan: () => {},
+ setActiveThread: () => {},
+ clearActiveThread: () => {},
+}));
+
+// The footer drags in the agent picker and the sessions dock; neither is what
+// these tests are about.
+vi.doMock('./CommentSendFooter', () => ({ CommentSendFooter: () => null }));
+
+function thread(id: string, docName: string): CommentThread {
+ return {
+ id,
+ docName,
+ target: { kind: 'body' },
+ anchor: { quote: 'the tofu', prefix: '', suffix: '', start: 0, end: 8 },
+ status: 'open',
+ body: `comment ${id}`,
+ createdAt: 1000,
+ queued: true,
+ };
+}
+
+const THREADS = [
+ thread('t1', 'recipes/stir-fry'),
+ thread('t2', 'recipes/stir-fry'),
+ thread('t3', 'recipes/soup'),
+];
+
+async function renderPanel() {
+ const { CommentListPanel } = await import('./CommentListPanel');
+ const { TooltipProvider } = await import('@/components/ui/tooltip');
+ // Production wraps the whole app in one provider (main.tsx); the collapse-all
+ // control's tooltip throws without it.
+ return render(
+ <TooltipProvider>
+ <CommentListPanel
+ threads={THREADS}
+ groupByDocument
+ empty="none"
+ testIdPrefix="comment-queue"
+ />
+ </TooltipProvider>,
+ );
+}
+
+afterEach(cleanup);
+
+describe('the project scope grouped by file', () => {
+ test('mounts with every file open', async () => {
+ await renderPanel();
+ // Every comment is readable without a click — the whole reason these mount
+ // expanded rather than following the Problems panel's collapsed default.
+ expect(screen.getByText('comment t1')).toBeTruthy();
+ expect(screen.getByText('comment t3')).toBeTruthy();
+ for (const trigger of screen.getAllByRole('button', { expanded: true })) {
+ expect(trigger.getAttribute('data-state')).toBe('open');
+ }
+ });
+
+ test('the file header carries no selection control of its own', async () => {
+ await renderPanel();
+ // One tick per comment and one in the footer (stubbed out here), never a
+ // third on the heading — with a single comment in a file that third was the
+ // same click as the card's, one row higher and further left.
+ expect(screen.getAllByRole('checkbox')).toHaveLength(3);
+ for (const tick of screen.getAllByRole('checkbox')) {
+ expect(tick.closest('[data-slot="collapsible-trigger"]')).toBeNull();
+ }
+ });
+
+ test('collapse-all folds every file, and the same control brings them back', async () => {
+ await renderPanel();
+ const toggle = screen.getByTestId('comment-queue-collapse-toggle');
+
+ fireEvent.click(toggle);
+ expect(screen.queryByText('comment t1')).toBeNull();
+ expect(screen.queryByText('comment t3')).toBeNull();
+
+ fireEvent.click(toggle);
+ expect(screen.getByText('comment t1')).toBeTruthy();
+ });
+
+ test('a file header folds its own comments and nothing else', async () => {
+ await renderPanel();
+ // Per-file only: there is no collapse-all in the panel header, so folding
+ // one file must leave its neighbours exactly as they were.
+ fireEvent.click(screen.getByTitle('recipes/stir-fry'));
+
+ expect(screen.queryByText('comment t1')).toBeNull();
+ expect(screen.getByText('comment t3')).toBeTruthy();
+
+ fireEvent.click(screen.getByTitle('recipes/stir-fry'));
+ expect(screen.getByText('comment t1')).toBeTruthy();
+ });
+});
diff --git a/packages/app/src/comments/queue-shortcut-scope.dom.test.tsx b/packages/app/src/comments/queue-shortcut-scope.dom.test.tsx
new file mode 100644
index 000000000..97306f8de
--- /dev/null
+++ b/packages/app/src/comments/queue-shortcut-scope.dom.test.tsx
@@ -0,0 +1,137 @@
+/**
+ * What ⇧⌘Enter sends, now that it reads the visible scope.
+ *
+ * The chord is global — it fires while you type, with the panel behind you — so
+ * the property that matters is that its blast radius follows what is ON SCREEN:
+ * the doc scope sends that file's ticked comments, the project scope the whole
+ * checked queue, and a CLOSED panel sends nothing at all. That last one is the
+ * load-bearing case: falling back to the project queue there gave the chord its
+ * widest reach exactly where the user could see least.
+ */
+
+import { cleanup, fireEvent, render } from '@testing-library/react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+
+const captured = {
+ sent: [] as (readonly string[] | undefined)[],
+};
+
+vi.doMock('./use-send-queue', () => ({
+ useSendQueue: () => (threadIds?: readonly string[]) => captured.sent.push(threadIds),
+}));
+
+// The whole checked queue spans two files; `t1`/`t2` are on the doc the panel
+// is showing.
+vi.doMock('./store', () => ({
+ getSelectedQueue: () => ['t1', 't2', 't3'],
+ getSelectedQueueForDoc: (docName: string) => (docName === 'recipes/stir-fry' ? ['t1', 't2'] : []),
+}));
+
+// Mutable so the modal case is reachable: the guard is the only thing standing
+// between an open dialog and an irreversible batch send.
+const overlay = { open: false };
+vi.doMock('@/lib/overlay-layers', () => ({ isOverlayLayerOpen: () => overlay.open }));
+
+function press(): KeyboardEvent {
+ // Ctrl, not Cmd: the matcher resolves the binding against the running
+ // platform, and jsdom reports a non-mac one — so the windowsLinux half of
+ // ⇧⌘Enter / Ctrl+Shift+Enter is the live binding in here.
+ const event = new KeyboardEvent('keydown', {
+ key: 'Enter',
+ ctrlKey: true,
+ shiftKey: true,
+ cancelable: true,
+ bubbles: true,
+ });
+ fireEvent(window, event);
+ return event;
+}
+
+afterEach(() => {
+ cleanup();
+ captured.sent.length = 0;
+ overlay.open = false;
+});
+
+async function mount() {
+ const { CommentQueueShortcut } = await import('./CommentQueueShortcut');
+ const { setVisibleCommentScope } = await import('./visible-scope');
+ render(<CommentQueueShortcut />);
+ return { setVisibleCommentScope };
+}
+
+describe('the queue chord', () => {
+ test('sends NOTHING with no panel on screen', async () => {
+ const { setVisibleCommentScope } = await mount();
+ setVisibleCommentScope(null);
+ press();
+
+ // Deliberately not the project queue: a send is irreversible, and with the
+ // panel closed nothing on screen says what would go.
+ expect(captured.sent).toEqual([]);
+ });
+
+ test('leaves the key to the browser when it will not act', async () => {
+ const { setVisibleCommentScope } = await mount();
+ setVisibleCommentScope(null);
+ // Not swallowed for a no-op — the chord claims the event only when it sends.
+ expect(press().defaultPrevented).toBe(false);
+ });
+
+ test('stands down behind an open dialog, however much is ticked', async () => {
+ const { setVisibleCommentScope } = await mount();
+ // A scope that WOULD send, so the only thing declining is the overlay guard.
+ setVisibleCommentScope({ scope: 'project', docName: 'recipes/stir-fry' });
+ overlay.open = true;
+ const event = press();
+
+ // The panel is behind the dialog, so the batch it describes is not what the
+ // user is looking at — and a send cannot be taken back.
+ expect(captured.sent).toEqual([]);
+ // Unclaimed too: a layer that owns the keyboard gets its own key back.
+ expect(event.defaultPrevented).toBe(false);
+ });
+
+ test('scopes to the open document when This doc is showing', async () => {
+ const { setVisibleCommentScope } = await mount();
+ setVisibleCommentScope({ scope: 'doc', docName: 'recipes/stir-fry' });
+ press();
+
+ // A subset, never a superset: the file the reader is not looking at cannot
+ // ride along on a keypress aimed at the one they are.
+ expect(captured.sent).toEqual([['t1', 't2']]);
+ });
+
+ test('widens again on This project', async () => {
+ const { setVisibleCommentScope } = await mount();
+ setVisibleCommentScope({ scope: 'project', docName: 'recipes/stir-fry' });
+ press();
+
+ expect(captured.sent).toEqual([['t1', 't2', 't3']]);
+ });
+
+ test('follows a scope change without re-mounting', async () => {
+ const { setVisibleCommentScope } = await mount();
+ setVisibleCommentScope({ scope: 'project', docName: 'recipes/stir-fry' });
+ press();
+ // The listener installs once and never re-runs, so the scope has to be read
+ // at press time — a value closed over at mount would still say "project".
+ setVisibleCommentScope({ scope: 'doc', docName: 'recipes/stir-fry' });
+ press();
+
+ expect(captured.sent).toEqual([
+ ['t1', 't2', 't3'],
+ ['t1', 't2'],
+ ]);
+ });
+
+ test('leaves the chord unclaimed when the visible scope has nothing ticked', async () => {
+ const { setVisibleCommentScope } = await mount();
+ setVisibleCommentScope({ scope: 'doc', docName: 'recipes/soup' });
+ press();
+
+ // Deliberately NOT "send the project queue instead": a press aimed at a doc
+ // with nothing ticked must not quietly ship the other file's comments.
+ expect(captured.sent).toEqual([]);
+ });
+});
diff --git a/packages/app/src/comments/queued-toggle.dom.test.tsx b/packages/app/src/comments/queued-toggle.dom.test.tsx
index 51693b89f..71423cefc 100644
--- a/packages/app/src/comments/queued-toggle.dom.test.tsx
+++ b/packages/app/src/comments/queued-toggle.dom.test.tsx
@@ -1,16 +1,17 @@
/**
- * The ready-to-send button's hover-swap affordance.
+ * The card's send tick, and the two states around it.
*
- * "Ready to send" is a settled state that doubles as its own undo: ✓ at rest, ✕ on
- * hover. The properties worth pinning are the ones easy to lose in a restyle —
- * both glyphs must be present (a swap done by conditional render can't
- * cross-fade), the reveal must be keyboard-reachable and not pointer-only, and
- * the accessible name must say what the click DOES rather than echo the label.
+ * The tick is the whole send decision now — both comment scopes list every
+ * thread and the checkbox says which of them go out — so what is worth pinning
+ * is that it reflects the passed-in sending state rather than the raw `queued`
+ * flag (the two differ when a comment is unchecked from the composer chip), and
+ * that a resolved thread offers none: it has been dealt with, and the queue
+ * excludes it by construction.
*/
import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';
import { afterEach, describe, expect, test } from 'vitest';
-import { ThreadCard } from './CommentsPanel';
+import { ThreadCard } from './ThreadCard';
import type { CommentThread } from './types';
function thread(overrides: Partial<CommentThread> = {}): CommentThread {
@@ -27,43 +28,37 @@ function thread(overrides: Partial<CommentThread> = {}): CommentThread {
};
}
-function renderCard(t: CommentThread) {
- return render(<ThreadCard thread={t} now={2000} cardRef={() => {}} focused={false} />);
+function renderCard(t: CommentThread, sending = true) {
+ return render(
+ <ThreadCard thread={t} now={2000} cardRef={() => {}} focused={false} sending={sending} />,
+ );
}
afterEach(() => cleanup());
-describe('the ready-to-send toggle', () => {
+describe('the send tick', () => {
test('names the action, not the state', () => {
renderCard(thread());
- // "Ready to send" is the visible label; the accessible name has to tell a screen
- // reader user that activating it REMOVES the comment from the batch.
- expect(screen.getByRole('button', { name: /don't send this comment/i })).toBeTruthy();
+ // Checked, so activating it REMOVES the comment from the batch — which is
+ // what a screen reader user has to be told, rather than "checked".
+ const tick = screen.getByRole('checkbox', { name: /don't send this comment/i });
+ expect(tick.getAttribute('data-state')).toBe('checked');
});
- test('carries both glyphs so the swap can cross-fade', () => {
- const { container } = renderCard(thread());
- const button = screen.getByRole('button', { name: /don't send this comment/i });
- // Two absolutely-positioned icons, one visible at rest and one on hover —
- // rendering only the current glyph would make the transition impossible.
- expect(button.querySelectorAll('svg').length).toBe(2);
- expect(container.querySelector('.group\\/queued')).toBeTruthy();
+ test('follows the sending set, not the raw queued flag', () => {
+ // Queued but unchecked from the composer chip: the panel has to show it as
+ // it will actually behave, or ticking it would read as a no-op.
+ renderCard(thread({ queued: true }), false);
+ const tick = screen.getByRole('checkbox', { name: /^send this comment$/i });
+ expect(tick.getAttribute('data-state')).toBe('unchecked');
});
- test('reveals on keyboard focus as well as hover, but not after a click', () => {
- renderCard(thread());
- const markup = screen.getByRole('button', { name: /don't send this comment/i }).innerHTML;
- // Keyboard parity: hover alone would make this a pointer-only affordance.
- expect(markup).toContain('group-focus-visible/queued:opacity-100');
- expect(markup).toContain('group-hover/queued:opacity-100');
- // `focus-within` would match the focus a mouse click leaves behind, pinning
- // one card's ✕ open while every other card rests at ✓.
- expect(markup).not.toContain('group-focus-within/queued:');
- });
-
- test('a comment that is not in the batch offers Send later instead', () => {
- renderCard(thread({ id: 't2', queued: false }));
- expect(screen.getByRole('button', { name: /^send later$/i })).toBeTruthy();
+ test('a resolved thread carries no tick', () => {
+ renderCard(thread({ status: 'resolved' }), false);
+ expect(screen.queryByRole('checkbox')).toBeNull();
+ // It offers the way back instead — dispatch auto-resolves, so reopening is
+ // the correction when the agent didn't actually settle it.
+ expect(screen.getByRole('button', { name: /reopen/i })).toBeTruthy();
});
});
@@ -89,11 +84,7 @@ describe('opening an edit', () => {
describe('a property thread in the panel', () => {
test('shows its key as YAML instead of a quote, and offers no jump', () => {
- render(
- <ThreadCard
- thread={thread({ target: { kind: 'property', key: 'tags', path: [] }, anchor: null })}
- />,
- );
+ renderCard(thread({ target: { kind: 'property', key: 'tags', path: [] }, anchor: null }));
// `tags:` reads as the frontmatter it is — which is the whole distinction
// from a short quote, since both are a few characters of monospace.
expect(screen.getByText('tags:')).toBeTruthy();
diff --git a/packages/app/src/comments/reveal-queue.test.ts b/packages/app/src/comments/reveal-queue.test.ts
index c992c1943..8ff3463c1 100644
--- a/packages/app/src/comments/reveal-queue.test.ts
+++ b/packages/app/src/comments/reveal-queue.test.ts
@@ -26,7 +26,6 @@ vi.mock('./comments-client', () => ({
listThreads: vi.fn(async () => []),
createThread: vi.fn(async () => META),
reply: vi.fn(),
- resolveThread: vi.fn(),
reopenThread: vi.fn(),
replaceAnchor: vi.fn(),
queueThread: vi.fn(),
diff --git a/packages/app/src/comments/store.refresh-fanout.test.ts b/packages/app/src/comments/store.refresh-fanout.test.ts
index b8afc0f6d..d53b54a26 100644
--- a/packages/app/src/comments/store.refresh-fanout.test.ts
+++ b/packages/app/src/comments/store.refresh-fanout.test.ts
@@ -40,7 +40,6 @@ vi.mock('./comments-client', () => {
listThreads: vi.fn(async () => metas),
createThread: vi.fn(),
editComment: vi.fn(),
- resolveThread: vi.fn(),
reopenThread: vi.fn(),
replaceAnchor: vi.fn(),
queueThread: vi.fn(),
diff --git a/packages/app/src/comments/store.snapshot-stability.test.ts b/packages/app/src/comments/store.snapshot-stability.test.ts
index 18fe34834..659a079f7 100644
--- a/packages/app/src/comments/store.snapshot-stability.test.ts
+++ b/packages/app/src/comments/store.snapshot-stability.test.ts
@@ -31,7 +31,6 @@ vi.mock('./comments-client', () => ({
listThreads: vi.fn(async () => [QUEUED_META]),
createThread: vi.fn(async () => QUEUED_META),
reply: vi.fn(async () => QUEUED_META),
- resolveThread: vi.fn(async () => QUEUED_META),
reopenThread: vi.fn(async () => QUEUED_META),
replaceAnchor: vi.fn(async () => QUEUED_META),
queueThread: vi.fn(async () => ({ meta: QUEUED_META, orphaned: false })),
diff --git a/packages/app/src/comments/store.ts b/packages/app/src/comments/store.ts
index 0d2a172ae..95b51490a 100644
--- a/packages/app/src/comments/store.ts
+++ b/packages/app/src/comments/store.ts
@@ -215,6 +215,22 @@ export function useCommentThreads(docName: string): readonly CommentThread[] {
);
}
+/**
+ * Every thread in the project, newest first.
+ *
+ * The reference is stable between refreshes (`allThreads` is reassigned, not
+ * mutated), which is what `useSyncExternalStore` needs to avoid re-rendering
+ * forever.
+ */
+export function getAllThreads(): readonly CommentThread[] {
+ ensureAllLoaded();
+ return allThreads;
+}
+
+export function useAllThreads(): readonly CommentThread[] {
+ return useSyncExternalStore(subscribe, getAllThreads, () => EMPTY);
+}
+
/** Look a thread up across every doc (the queue is project-wide). */
export function getThreadById(threadId: string): CommentThread | null {
for (const threads of threadsByDoc.values()) {
@@ -357,11 +373,11 @@ export function editComment(threadId: string, body: string): void {
settle(api.editComment(threadId, body), docName, t`Couldn't save that edit.`);
}
-export function resolveThread(threadId: string): void {
- const docName = getThreadById(threadId)?.docName;
- settle(api.resolveThread(threadId), docName, t`Couldn't resolve that comment.`);
-}
-
+/**
+ * No `resolveThread` twin. A comment settles by being SENT — the server resolves
+ * what shipped in `completeDispatchBatch` — so a client-side "mark it done"
+ * would be a second, quieter way to reach a state the send already owns.
+ */
export function reopenThread(threadId: string): void {
const docName = getThreadById(threadId)?.docName;
settle(api.reopenThread(threadId), docName, t`Couldn't reopen that comment.`);
@@ -456,11 +472,16 @@ export function useQueueSelection(): readonly string[] {
return useSyncExternalStore(subscribe, getSelectedQueue, () => EMPTY_QUEUE);
}
-export function isQueued(threadId: string): boolean {
- return getQueue().includes(threadId);
+/**
+ * The checked batch narrowed to one document — what the This-doc footer sends,
+ * and what the chord sends while that scope is the one on screen. Always a
+ * subset of {@link getSelectedQueue}.
+ */
+export function getSelectedQueueForDoc(docName: string): readonly string[] {
+ return getSelectedQueue().filter((id) => getThreadById(id)?.docName === docName);
}
-export function addToQueue(threadId: string): void {
+function addToQueue(threadId: string): void {
const docName = getThreadById(threadId)?.docName;
// Re-queuing clears any earlier deselection.
if (deselected.has(threadId)) {
@@ -481,11 +502,51 @@ export function removeFromQueue(threadId: string): void {
);
}
-export function toggleQueue(threadId: string): void {
- if (isQueued(threadId)) removeFromQueue(threadId);
+/**
+ * The panels' checkbox: "this comment goes out with the next send."
+ *
+ * Reads the SENDING set, not `queued`, so it agrees with the composer chip —
+ * a comment queued but unchecked there shows unchecked here, and ticking it
+ * re-checks rather than un-queueing something that already looked off.
+ */
+export function toggleSending(threadId: string): void {
+ if (getSelectedQueue().includes(threadId)) removeFromQueue(threadId);
else addToQueue(threadId);
}
+/**
+ * Tick or clear a whole panel's worth at once.
+ *
+ * Scoped to the ids passed in — the This-doc panel must not reach across the
+ * project. Per-item tolerance, then ONE report: twenty comments must not fire
+ * twenty toasts, and a partial run cannot pass for a complete one.
+ */
+export function setSendingAll(threadIds: readonly string[], sending: boolean): void {
+ const wanted = new Set(getSelectedQueue());
+ const ids = threadIds.filter((id) => wanted.has(id) !== sending);
+ if (ids.length === 0) return;
+ if (sending && deselected.size > 0) {
+ const next = new Set(deselected);
+ for (const id of ids) next.delete(id);
+ deselected = next;
+ bumpSelection();
+ }
+ void Promise.all(
+ ids.map((id) =>
+ (sending ? api.queueThread(id) : api.unqueueThread(id)).then(
+ () => true,
+ () => false,
+ ),
+ ),
+ ).then((results) => {
+ const failed = results.filter((ok) => !ok).length;
+ if (failed > 0) {
+ toast.error(t`${failed} of ${ids.length} comments could not be updated.`);
+ }
+ void refresh().catch(() => undefined);
+ });
+}
+
/**
* Re-check everything in the queue.
*
@@ -509,27 +570,6 @@ export function toggleQueueSelection(threadId: string): void {
bumpSelection();
}
-export function clearQueue(): void {
- const ids = getQueue();
- if (ids.length === 0) return;
- // Per-item tolerance, then ONE report: clearing twenty comments must not fire
- // twenty toasts, but a partial clear cannot pass for a complete one either.
- void Promise.all(
- ids.map((id) =>
- api
- .unqueueThread(id)
- .then(() => true)
- .catch(() => false),
- ),
- ).then((results) => {
- const failed = results.filter((ok) => !ok).length;
- if (failed > 0) {
- toast.error(t`${failed} of ${ids.length} comments could not be cleared.`);
- }
- void refresh().catch(() => undefined);
- });
-}
-
// ---------------------------------------------------------------------------
// Dispatch — the server brackets it; the app's Ask-AI plumbing delivers
// ---------------------------------------------------------------------------
@@ -570,7 +610,7 @@ let dispatchInFlight = false;
* THE dispatch path. Prepare the batch, hand it over, resolve what shipped.
*
* Every surface routes through here — the composer, the queue panel's send, and
- * the append-to-an-open-session path — so the re-entrancy guard, the
+ * the open-chat path (via `useSendQueue`) — so the re-entrancy guard, the
* re-anchor-on-prepare, and the single `completeDispatchBatch` call site apply
* to all of them rather than to whichever one remembered.
*
@@ -641,8 +681,14 @@ async function runDispatch(
let delivered = false;
try {
delivered = await compose(items);
- } catch {
+ } catch (err) {
// Leave them queued — a hand-off that never happened must not resolve.
+ // Logged rather than swallowed: the user-visible effect (items stay queued)
+ // is the same whether the target declined or the composition itself threw,
+ // so without this a bug in turn-composition looks like a stuck queue with
+ // no trace of why. No toast — the sibling catch above owns the "nothing was
+ // sent" message, and the queue standing still already says it here.
+ console.warn('[comments] dispatch compose failed; leaving threads queued', err);
delivered = false;
}
const shipped = delivered ? items.map((item) => item.threadId) : [];
diff --git a/packages/app/src/comments/thread-age-stamp.dom.test.tsx b/packages/app/src/comments/thread-age-stamp.dom.test.tsx
new file mode 100644
index 000000000..d2a021364
--- /dev/null
+++ b/packages/app/src/comments/thread-age-stamp.dom.test.tsx
@@ -0,0 +1,80 @@
+/**
+ * The card's age stamp, at each rollover boundary.
+ *
+ * Every one of these was reachable before: the stamp ran hours up forever, so a
+ * week-old comment read "174h". The boundaries are the whole point — a unit that
+ * never hands over produces a number nobody converts in their head.
+ */
+
+import { cleanup, render, screen } from '@testing-library/react';
+import { afterEach, describe, expect, test } from 'vitest';
+import { ThreadCard } from './ThreadCard';
+import type { CommentThread } from './types';
+
+const NOW = Date.UTC(2026, 7, 5, 12, 0, 0);
+const SECOND = 1000;
+const MINUTE = 60 * SECOND;
+const HOUR = 60 * MINUTE;
+const DAY = 24 * HOUR;
+
+function renderAged(ageMs: number) {
+ const thread: CommentThread = {
+ id: 't1',
+ docName: 'recipes/radishes',
+ target: { kind: 'body' },
+ anchor: { quote: '2 bunches radishes', prefix: '', suffix: '', start: 0, end: 18 },
+ status: 'open',
+ body: 'sfcs',
+ createdAt: NOW - ageMs,
+ queued: true,
+ };
+ return render(
+ <ThreadCard thread={thread} now={NOW} cardRef={() => {}} focused={false} sending={false} />,
+ );
+}
+
+afterEach(cleanup);
+
+describe('the age stamp', () => {
+ test('counts seconds, then minutes, then hours', () => {
+ renderAged(5 * SECOND);
+ expect(screen.getByText('5s')).toBeTruthy();
+ cleanup();
+
+ renderAged(5 * MINUTE);
+ expect(screen.getByText('5m')).toBeTruthy();
+ cleanup();
+
+ renderAged(5 * HOUR);
+ expect(screen.getByText('5h')).toBeTruthy();
+ });
+
+ test('hands over to days at 24 hours', () => {
+ // The regression case: this used to render "174h".
+ renderAged(174 * HOUR);
+ expect(screen.queryByText('174h')).toBeNull();
+ cleanup();
+
+ renderAged(2 * DAY);
+ expect(screen.getByText('2d')).toBeTruthy();
+ });
+
+ test('does not round up into a unit it should have rolled over to', () => {
+ // 23.6 hours is not a day, and 6.7 days is not a week — `round` promoted
+ // both, producing "24h" and "7d", ages neither branch is meant to print.
+ renderAged(23.6 * HOUR);
+ expect(screen.getByText('23h')).toBeTruthy();
+ cleanup();
+
+ renderAged(6.7 * DAY);
+ expect(screen.getByText('6d')).toBeTruthy();
+ });
+
+ test('past a week it becomes a date', () => {
+ // Days stop meaning anything at that distance, so the stamp says WHEN
+ // instead of how long — the same handover the Timeline panel makes.
+ renderAged(30 * DAY);
+ expect(screen.queryByText('30d')).toBeNull();
+ expect(screen.getByText(new Date(NOW - 30 * DAY).toLocaleDateString())).toBeTruthy();
+ });
+});
diff --git a/packages/app/src/comments/use-comment-agent-picker.ts b/packages/app/src/comments/use-comment-agent-picker.ts
index df01c39f5..f08c56167 100644
--- a/packages/app/src/comments/use-comment-agent-picker.ts
+++ b/packages/app/src/comments/use-comment-agent-picker.ts
@@ -1,35 +1,20 @@
/**
- * Agent picker for the queue panel's Send control.
+ * Agent picker for the Comments panel's Send control.
*
- * Assembles the same row set the Ask-AI composer's picker shows — enabled
- * Desktop apps, docked-terminal CLIs, in-app agents — and resolves the current
- * target with the shared `resolveLauncherSelection`.
+ * In-app agents ONLY. The other pickers in the app also offer Desktop apps and
+ * docked-terminal CLIs, because those surfaces can send there; a comment batch
+ * always starts an in-app thread (see `use-comment-delivery`), so listing a CLI
+ * here would offer a destination this panel never uses — and picking one would
+ * quietly repoint the Ask AI composer through the shared sticky store while
+ * changing nothing about where comments go.
*
- * KNOWN DUPLICATION: `BottomComposer`, `CreatePromptComposer`,
- * `TerminalSessionsHost`, and this file each assemble these rows independently.
- * They agree only by discipline, and the composer's own comment already warns
- * about the pickers drifting. Consolidating them into one shared hook is the
- * right fix; this copy was taken deliberately to keep the queue panel isolated
- * from those working surfaces, not because a fourth copy is correct.
- *
- * Picks write through `saveStickyAgent`, the same storage the composer reads,
- * so choosing an agent here changes where the composer sends too — the two
- * surfaces stay in agreement through the store rather than through shared code.
+ * Picking an agent still writes through `registerAgent` + `saveStickyAgent`, so
+ * "which agent" stays one answer across surfaces. Only "which KIND of surface"
+ * is fixed here.
*/
-import { type TargetData, TERMINAL_CLIS, type TerminalCli } from '@inkeep/open-knowledge-core';
-import { t } from '@lingui/core/macro';
-import { useState } from 'react';
-import type { TerminalCliRow } from '@/components/handoff/AgentSplitButton';
-import { useTerminalLaunch } from '@/components/handoff/TerminalLaunchContext';
-import { useInstalledAgents } from '@/components/handoff/useInstalledAgents';
-import { isDesktopTargetEnabled, isInAppAgentEnabled } from '@/lib/acp/agent-visibility';
+import { isInAppAgentEnabled } from '@/lib/acp/agent-visibility';
import { useEnabledOverrides } from '@/lib/acp/enabled-agents';
-import {
- enabledDesktopTargets,
- enabledTerminalClis,
- resolveLauncherSelection,
-} from '@/lib/acp/launcher-selection';
import {
pickEffectiveDefaultAgent,
type RegisteredAgent,
@@ -37,31 +22,13 @@ import {
useDefaultRegisteredAgent,
useRegisteredAgents,
} from '@/lib/acp/registered-agents';
-import { VISIBLE_TARGETS } from '@/lib/handoff/targets';
-import {
- IN_APP_THREAD_ID,
- loadStickyAgent,
- saveStickyAgent,
- terminalCliId,
-} from '@/lib/unified-agent-store';
+import { IN_APP_THREAD_ID, saveStickyAgent } from '@/lib/unified-agent-store';
export interface CommentAgentPicker {
- /** In-app agent thread is the resolved target. */
- isThreadSelected: boolean;
- /** The in-app agent a send would launch, when `isThreadSelected`. */
+ /** The in-app agent a send would launch, or null when none is enabled. */
threadAgent: RegisteredAgent | null;
- /** The docked-terminal CLI a send would use, else null. */
- cli: TerminalCli | null;
- /** The external app a send would deep-link into, else null. */
- target: TargetData | null;
- /** True while the install probe hasn't answered — "detecting" vs "none". */
- probePending: boolean;
/** Props to spread onto `AgentSplitButton`. */
rows: {
- installedTargets: readonly TargetData[];
- selectedTargetId: TargetData['id'] | null;
- onSelectTarget: (target: TargetData) => void;
- terminals: readonly TerminalCliRow[] | undefined;
threadAgents: readonly {
key: string;
id: string;
@@ -75,91 +42,36 @@ export interface CommentAgentPicker {
export function useCommentAgentPicker(): CommentAgentPicker {
const overrides = useEnabledOverrides();
- const terminalLaunch = useTerminalLaunch();
- const { states } = useInstalledAgents();
const registeredAgents = useRegisteredAgents();
const defaultRegisteredAgent = useDefaultRegisteredAgent();
- // Mirrors the composer: the pick is applied immediately (and persisted), and
- // this local copy is what re-renders the checkmark.
- const [selectedId, setSelectedId] = useState<string | null>(() => loadStickyAgent());
-
const enabledThreadAgents = registeredAgents.filter((agent) =>
isInAppAgentEnabled(overrides, agent.source, agent.id, true, agent.supported),
);
const threadAgent = pickEffectiveDefaultAgent(enabledThreadAgents, defaultRegisteredAgent);
- const selection = resolveLauncherSelection({
- sticky: selectedId,
- effectiveThreadAgent: threadAgent,
- enabledClis:
- terminalLaunch !== null ? enabledTerminalClis(overrides, terminalLaunch.installedClis) : [],
- enabledDesktopTargets: enabledDesktopTargets(overrides),
- installedClis: terminalLaunch?.installedClis ?? {},
- terminalAvailable: terminalLaunch !== null,
- threadsAvailable: true,
- desktopSelectable: true,
- });
-
- const isThreadSelected = selection.kind === 'thread';
- const cli = selection.kind === 'cli' ? selection.cli : null;
- const target =
- selection.kind === 'desktop'
- ? (VISIBLE_TARGETS.find((entry) => entry.id === selection.target) ?? null)
- : null;
-
- // Every ENABLED app, not only the install-detected ones — an enabled but
- // uninstalled agent still lists and routes to its installer on launch.
- const installedTargets = VISIBLE_TARGETS.filter((entry) =>
- isDesktopTargetEnabled(overrides, entry.id),
- );
-
- const select = (id: string): void => {
- setSelectedId(id);
- saveStickyAgent(id);
- };
-
- const terminals: TerminalCliRow[] | undefined =
- terminalLaunch !== null
- ? enabledTerminalClis(overrides, terminalLaunch.installedClis).map((entry) => {
- const { displayName } = TERMINAL_CLIS[entry];
- return {
- cli: entry,
- label: displayName,
- // Accessible name carries "CLI" so it's distinguishable from a
- // same-named Desktop row (WCAG 2.5.3).
- ariaLabel: t`${displayName} CLI`,
- selected: cli === entry,
- onSelect: () => select(terminalCliId(entry)),
- };
- })
- : undefined;
-
return {
- isThreadSelected,
threadAgent,
- cli,
- target,
- probePending: VISIBLE_TARGETS.some((entry) => states[entry.id]?.installed == null),
rows: {
- installedTargets,
- selectedTargetId: cli !== null ? null : (target?.id ?? null),
- onSelectTarget: (entry) => select(entry.id),
- terminals,
threadAgents: enabledThreadAgents.map((agent) => ({
key: `${agent.source}:${agent.id}`,
id: agent.id,
name: agent.name,
...(agent.iconUrl !== undefined ? { iconUrl: agent.iconUrl } : {}),
selected:
- isThreadSelected &&
threadAgent !== null &&
threadAgent.source === agent.source &&
threadAgent.id === agent.id,
onSelect: () => {
// Picking a specific agent re-registers it as the default a send
- // launches, then selects thread mode.
+ // launches, then selects thread mode so the shared sticky store does
+ // not leave another surface pointed at a CLI on this agent's behalf.
+ // No local mirror of the pick: the tick reads `threadAgent`, and
+ // `registerAgent` re-renders this hook through
+ // `useDefaultRegisteredAgent`. A copy in state would only force the
+ // render it is already getting, and could disagree with the registry
+ // in the window before it did.
registerAgent(agent);
- select(IN_APP_THREAD_ID);
+ saveStickyAgent(IN_APP_THREAD_ID);
},
})),
},
diff --git a/packages/app/src/comments/use-comment-delivery.ts b/packages/app/src/comments/use-comment-delivery.ts
index 34a350e6a..7aff15052 100644
--- a/packages/app/src/comments/use-comment-delivery.ts
+++ b/packages/app/src/comments/use-comment-delivery.ts
@@ -1,41 +1,31 @@
/**
- * Installs the store's delivery seam: how a queued comment actually reaches an
- * agent.
+ * How a queued comment actually reaches an agent.
*
- * Delivery reuses the SAME plumbing and the SAME target set as the "Ask AI"
- * composer — an in-app agent thread, the docked terminal, or a deep link into
- * an external app — because commenting and asking are meant to be one muscle
- * memory. It also means the passage is fitted to each target's transport and
- * budget by `buildComposerHandoffInput` (a deep link has a URL length limit),
- * which is why the server hands over ingredients rather than a finished prompt.
+ * A comment batch ALWAYS starts an in-app agent thread. It used to resolve the
+ * same target set as the "Ask AI" composer — thread, docked terminal, or a deep
+ * link into an external app — which meant a reviewer whose standing preference
+ * was a CLI pressed Send in the Comments panel and landed in the terminal. A
+ * batch of comments is a review conversation with somewhere to put replies; the
+ * terminal is a different kind of place, and being sent there by a preference
+ * set for another surface reads as the button misfiring.
*
- * Mount once where the queue lives; it registers on mount and clears on unmount.
+ * The passage is still fitted by `buildComposerHandoffInput`, which is why the
+ * server hands over ingredients rather than a finished prompt.
*/
import { t } from '@lingui/core/macro';
import { toast } from 'sonner';
-import { useTerminalLaunch } from '@/components/handoff/TerminalLaunchContext';
import {
buildComposerHandoffInput,
- openInstallUrl,
startAgentThreadForInput,
- useHandoffDispatch,
} from '@/components/handoff/useHandoffDispatch';
-import { useInstalledAgents } from '@/components/handoff/useInstalledAgents';
import { isInAppAgentEnabled } from '@/lib/acp/agent-visibility';
import { useEnabledOverrides } from '@/lib/acp/enabled-agents';
-import {
- enabledDesktopTargets,
- enabledTerminalClis,
- resolveLauncherSelection,
-} from '@/lib/acp/launcher-selection';
import {
pickEffectiveDefaultAgent,
useDefaultRegisteredAgent,
useRegisteredAgents,
} from '@/lib/acp/registered-agents';
-import { VISIBLE_TARGETS } from '@/lib/handoff/targets';
-import { loadStickyAgent } from '@/lib/unified-agent-store';
import { openAgentSettings } from '@/lib/use-settings-route';
import { useWorkspace } from '@/lib/use-workspace';
import { docNameToRelativePath } from '@/lib/workspace-paths';
@@ -68,32 +58,16 @@ function composeInstruction(payloads: readonly DispatchPayload[]): string {
export function useCommentDispatch(): ComposeDispatch {
const workspace = useWorkspace();
const overrides = useEnabledOverrides();
- const { dispatch } = useHandoffDispatch();
- const terminalLaunch = useTerminalLaunch();
- const { states } = useInstalledAgents();
const registeredAgents = useRegisteredAgents();
const defaultRegisteredAgent = useDefaultRegisteredAgent();
+ // WHICH in-app agent, never whether to use one. The picker beside the Send
+ // button chooses among these; there is no CLI or desktop branch to resolve.
const enabledAgents = registeredAgents.filter((agent) =>
isInAppAgentEnabled(overrides, agent.source, agent.id, true, agent.supported),
);
const defaultThreadAgent = pickEffectiveDefaultAgent(enabledAgents, defaultRegisteredAgent);
- // One selection decision, enablement-aware — the same resolver the Ask AI
- // composer, create composer, and sessions dock share, so a disabled agent
- // is never what a comment launches either.
- const selection = resolveLauncherSelection({
- sticky: loadStickyAgent(),
- effectiveThreadAgent: defaultThreadAgent,
- enabledClis:
- terminalLaunch !== null ? enabledTerminalClis(overrides, terminalLaunch.installedClis) : [],
- enabledDesktopTargets: enabledDesktopTargets(overrides),
- installedClis: terminalLaunch?.installedClis ?? {},
- terminalAvailable: terminalLaunch !== null,
- threadsAvailable: true,
- desktopSelectable: true,
- });
-
return async (items: readonly BatchPreparedItem[]) => {
const payloads = items.map((item) => item.payload);
if (payloads.length === 0) return false;
@@ -111,59 +85,19 @@ export function useCommentDispatch(): ComposeDispatch {
return false;
}
- // One in-app agent thread for the whole batch.
- if (selection.kind === 'thread') {
- startAgentThreadForInput(
- input,
- defaultThreadAgent !== null
- ? { agent: { source: defaultThreadAgent.source, id: defaultThreadAgent.id } }
- : undefined,
- );
- return true;
- }
-
- // Docked terminal: hand the composed prompt to the selected CLI.
- if (selection.kind === 'cli' && terminalLaunch !== null) {
- try {
- terminalLaunch.launchInTerminal(input, selection.cli);
- return true;
- } catch {
- toast.error(t`Couldn't open the terminal — the comments are still waiting to send.`);
- return false;
- }
- }
-
- // Nothing enabled to ask with. Send the user where they can enable
- // something — the same destination the sessions dock picks in this state —
- // rather than swallowing a click that looked like a send.
- if (selection.kind === 'none') {
+ // No in-app agent enabled: send the user where they can enable one rather
+ // than swallowing a click that looked like a send. Returning false leaves
+ // every thread queued, so nothing is marked done that nobody received.
+ if (defaultThreadAgent === null) {
toast.info(t`No agent is set up yet — opening Configure agents.`);
openAgentSettings();
return false;
}
- // A CLI was selected but the terminal host is not mounted (web, or a build
- // without pty). Previously this fell through to a bare `return false`.
- if (selection.kind === 'cli') {
- toast.error(t`The terminal isn't available here — the comments are still waiting to send.`);
- return false;
- }
- if (selection.kind !== 'desktop') {
- toast.error(t`Couldn't work out where to send the comments — they're still waiting.`);
- return false;
- }
- const target = VISIBLE_TARGETS.find((entry) => entry.id === selection.target) ?? null;
- if (target === null) {
- toast.error(t`That app isn't available — the comments are still waiting to send.`);
- return false;
- }
- // Enabled but not installed: route to the installer rather than a
- // deep-link that would fail. Not a delivery, so the thread stays queued.
- if (states[target.id]?.installed !== true) {
- void openInstallUrl(target);
- toast.info(t`${target.displayName} isn't installed yet — opening its download page.`);
- return false;
- }
- const outcome = await dispatch(target.id, input);
- return outcome.ok;
+
+ // One in-app agent thread for the whole batch.
+ startAgentThreadForInput(input, {
+ agent: { source: defaultThreadAgent.source, id: defaultThreadAgent.id },
+ });
+ return true;
};
}
diff --git a/packages/app/src/comments/use-send-queue.dom.test.tsx b/packages/app/src/comments/use-send-queue.dom.test.tsx
new file mode 100644
index 000000000..d8254ca72
--- /dev/null
+++ b/packages/app/src/comments/use-send-queue.dom.test.tsx
@@ -0,0 +1,99 @@
+/**
+ * Which half of the send runs, and — the part that broke — that the batch
+ * survives the trip either way.
+ *
+ * Both halves send; only the destination differs. With no chat open the hook
+ * dispatches a fresh turn itself; with one open it hands off to that thread.
+ * The hand-off is where a scoped batch was lost: the closure took `threadIds`
+ * and then called the request with no arguments, so a This-doc send arrived at
+ * the thread as "no batch specified" and dispatched the whole project queue —
+ * from a button whose count had just promised otherwise.
+ */
+
+import { render } from '@testing-library/react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+
+const captured = {
+ dispatched: [] as { threadIds?: readonly string[] }[],
+ requested: [] as (readonly string[] | undefined)[],
+};
+
+let openSession: { kind: 'thread' | 'terminal' } | null = null;
+
+vi.doMock('@/components/reusable-session-store', () => ({
+ useReusableSession: () => openSession,
+}));
+
+vi.doMock('./store', () => ({
+ dispatchComments: (args: { threadIds?: readonly string[] }) => {
+ captured.dispatched.push(args);
+ return Promise.resolve([]);
+ },
+}));
+
+vi.doMock('./open-chat-send', () => ({
+ requestSendToOpenChat: (threadIds?: readonly string[]) => captured.requested.push(threadIds),
+}));
+
+vi.doMock('./use-comment-delivery', () => ({
+ useCommentDispatch: () => async () => true,
+}));
+
+afterEach(() => {
+ captured.dispatched.length = 0;
+ captured.requested.length = 0;
+ openSession = null;
+});
+
+async function send(threadIds?: readonly string[]) {
+ const { useSendQueue } = await import('./use-send-queue');
+ function Probe() {
+ const sendQueue = useSendQueue();
+ // Called during render rather than from an effect: the hook returns a plain
+ // closure, and this test is about what that closure forwards.
+ sendQueue(threadIds);
+ return null;
+ }
+ render(<Probe />);
+}
+
+describe('with no chat open', () => {
+ test('dispatches a fresh turn carrying the batch', async () => {
+ await send(['t1', 't2']);
+
+ expect(captured.dispatched).toHaveLength(1);
+ expect(captured.dispatched[0].threadIds).toEqual(['t1', 't2']);
+ expect(captured.requested).toEqual([]);
+ });
+});
+
+describe('with a chat open', () => {
+ test('hands the batch to that thread rather than dispatching here', async () => {
+ openSession = { kind: 'thread' };
+ await send(['t1', 't2']);
+
+ // The ids are the whole point of the hand-off: the thread has no other way
+ // to know this was a scoped send.
+ expect(captured.requested).toEqual([['t1', 't2']]);
+ expect(captured.dispatched).toEqual([]);
+ });
+
+ test('an unscoped send stays unscoped across the hand-off', async () => {
+ openSession = { kind: 'thread' };
+ await send(undefined);
+
+ // `undefined`, not `[]` — the thread reads that as "the whole checked
+ // queue", which is what an unscoped send means.
+ expect(captured.requested).toEqual([undefined]);
+ });
+
+ test('a live CLI tab is not a chat comments can go to', async () => {
+ openSession = { kind: 'terminal' };
+ await send(['t1']);
+
+ // Comments never reach a terminal, so a CLI session falls through to the
+ // fresh-turn path, which starts an in-app thread.
+ expect(captured.dispatched[0]?.threadIds).toEqual(['t1']);
+ expect(captured.requested).toEqual([]);
+ });
+});
diff --git a/packages/app/src/comments/use-send-queue.ts b/packages/app/src/comments/use-send-queue.ts
new file mode 100644
index 000000000..a86c45037
--- /dev/null
+++ b/packages/app/src/comments/use-send-queue.ts
@@ -0,0 +1,49 @@
+/**
+ * The one decision "send the queue" makes, shared by the panel's button and the
+ * ⇧⌘Enter shortcut.
+ *
+ * Both halves SEND. Only the destination differs:
+ *
+ * - **No chat open** — start one and run the batch as its first turn.
+ * - **A chat already open** — run it as the next turn THERE, from inside that
+ * thread, so it takes the same path the composer's own comment chip takes.
+ *
+ * Extracted rather than duplicated because a caller picking the wrong half would
+ * either start a second conversation beside the one you are in, or send into a
+ * thread that no longer exists.
+ */
+
+import { useReusableSession } from '@/components/reusable-session-store';
+import { requestSendToOpenChat } from './open-chat-send';
+import { dispatchComments } from './store';
+import { useCommentDispatch } from './use-comment-delivery';
+
+/**
+ * `threadIds` narrows the batch to what one panel is showing — the This-doc
+ * scope sends the checked comments on the open file only. Omitted (the ⇧⌘Enter
+ * path) it means the whole checked queue, project-wide.
+ */
+export function useSendQueue(): (threadIds?: readonly string[]) => void {
+ const composeFreshTurn = useCommentDispatch();
+ const openSession = useReusableSession();
+ // Only an in-app thread counts as reusable. The dock also publishes a live CLI
+ // tab, and appending there wrote a comment batch into the terminal — the same
+ // trip to the terminal a fresh turn no longer takes. With a CLI open this
+ // falls through to the fresh-turn path, which starts a thread.
+ const reusableThread = openSession?.kind === 'thread' ? openSession : null;
+ return (threadIds) => {
+ if (reusableThread === null) {
+ void dispatchComments({ compose: composeFreshTurn, threadIds });
+ return;
+ }
+ // Nothing to prepare or compose here: the thread sends it, because that is
+ // where the batch's turn shape and resolve rule already live. Anything typed
+ // in that composer rides along as the batch's shared instruction rather than
+ // being cleared — you were mid-sentence, and the comments join it.
+ //
+ // `threadIds` travels with it. Dropped, a This-doc send would arrive at the
+ // thread as "no batch specified" and dispatch the whole project queue — from
+ // a button whose count had just said otherwise.
+ requestSendToOpenChat(threadIds);
+ };
+}
diff --git a/packages/app/src/comments/visible-scope.ts b/packages/app/src/comments/visible-scope.ts
new file mode 100644
index 000000000..c11eb7747
--- /dev/null
+++ b/packages/app/src/comments/visible-scope.ts
@@ -0,0 +1,48 @@
+/**
+ * What the Comments tab is showing right now, published for the global chord.
+ *
+ * ⇧⌘Enter is a window listener — it fires while you are typing in the editor,
+ * with the panel behind you — so it has no component to ask "which scope am I
+ * in?". Without an answer it could only ever mean the widest thing, and the
+ * This-doc footer beside a narrower button could not honestly carry the same
+ * glyph.
+ *
+ * This is the missing half, and the same shape as `reusable-session-store`: the
+ * surface that owns the state publishes it, so a caller outside can act on the
+ * decision the user can actually see. The tab is conditionally rendered, so its
+ * mount lifetime IS its visibility — `null` means nothing is on screen to scope
+ * to, and the chord then does NOTHING and leaves the key to the browser. It used
+ * to fall back to the whole checked queue, which gave it its widest reach
+ * exactly when nothing on screen said what was in it.
+ *
+ * The scope narrows a send; it never widens one. A doc's checked comments are a
+ * SUBSET of the project's, so a mis-scoped press under-sends and the rest stay
+ * queued for the next one. That only holds while every hop between the button
+ * and the dispatch carries the ids — `use-send-queue` once dropped them on the
+ * open-chat path, and a This-doc send shipped the whole project queue.
+ */
+
+export interface VisibleCommentScope {
+ readonly scope: 'doc' | 'project';
+ /** The document the "This doc" side is listing. */
+ readonly docName: string;
+}
+
+/**
+ * A plain slot, not a subscribable store: the only reader is a keydown handler
+ * that asks at the moment of the press, so there is nothing to notify.
+ */
+let current: VisibleCommentScope | null = null;
+
+export function setVisibleCommentScope(next: VisibleCommentScope | null): void {
+ current = next;
+}
+
+/**
+ * Read at the moment of the press, never subscribed to. The chord's listener
+ * installs once and never re-runs, so a React binding here would only buy
+ * re-renders for a value nothing renders.
+ */
+export function getVisibleCommentScope(): VisibleCommentScope | null {
+ return current;
+}
diff --git a/packages/app/src/components/EditorPane.dom.test.tsx b/packages/app/src/components/EditorPane.dom.test.tsx
index c9210ef29..3ee953230 100644
--- a/packages/app/src/components/EditorPane.dom.test.tsx
+++ b/packages/app/src/components/EditorPane.dom.test.tsx
@@ -64,16 +64,30 @@ function makeJumpEditor(markdown: string, caretBlock: number): Editor {
// Collect the Ask-AI passages EditorPane dispatches to the sessions host (which
// owns reuse-vs-launch and preferred-AI resolution; mocked here). `newTab` rides
// along so ⌘J (reuse when sensible) stays distinguishable from ⇧⌘J (always fresh).
+type CapturedInput = {
+ text: string;
+ newTab: boolean;
+ submit: boolean;
+ target: 'agents' | undefined;
+};
+
function captureActiveTerminalInput(): {
texts: string[];
- details: { text: string; newTab: boolean; submit: boolean }[];
+ details: CapturedInput[];
stop: () => void;
} {
const texts: string[] = [];
- const details: { text: string; newTab: boolean; submit: boolean }[] = [];
+ const details: CapturedInput[] = [];
const stop = subscribeToActiveTerminalInput((detail) => {
texts.push(detail.text);
- details.push({ text: detail.text, newTab: detail.newTab, submit: detail.submit });
+ details.push({
+ text: detail.text,
+ newTab: detail.newTab,
+ submit: detail.submit,
+ // `target` distinguishes ⌘L's agents-panel send from every globally
+ // resolved one, so a test asserting the destination needs it captured.
+ target: detail.target,
+ });
});
return { texts, details, stop };
}
@@ -921,10 +935,9 @@ describe('EditorPane session-panel wiring', () => {
expect(dock().getAttribute('data-visible')).toBe('true');
});
- // With no selection AND no shell to spawn, ⌘J has nothing to do on the web
- // host, so it must leave the browser's own ⌘J alone. It used to preventDefault
- // and then hit a guard that can never be false — swallowing the chord for a
- // no-op. The selection-send path below is the half that DOES act here.
+ // With no shell to spawn, ⌘J has nothing to do on the web host, so it must
+ // leave the browser's own ⌘J alone. It used to preventDefault and then hit a
+ // guard that can never be false — swallowing the chord for a no-op.
test('web host: a Cmd/Ctrl+J keydown with no selection is NOT swallowed', async () => {
await renderEditorPane();
@@ -1049,33 +1062,62 @@ describe('EditorPane session-panel wiring', () => {
expect(preferred.count).toBe(1);
});
- test('desktop: ⌘J with a selection sends the passage to the host for reuse (no toggle, no launch)', async () => {
+ // ⌘J is a pure toggle now. Selection-send moved to ⌘L, whose chord names the
+ // panel the passage lands in; leaving a second copy on the terminal's chord
+ // would put one intent behind two keys, one of them lying about the target.
+ test('desktop: ⌘J with a selection toggles the terminal and stages nothing', async () => {
const desk = makeOkDesktopStub();
(window as { okDesktop?: unknown }).okDesktop = desk.stub;
await renderEditorPane();
seedSelection('run the build');
const input = captureActiveTerminalInput();
- // ⌘J arrives via the OS-captured menu accelerator → the toggle-terminal action.
act(() => desk.dispatchMenuAction('toggle-terminal'));
input.stop();
- // ⌘J means "continue where I am when that makes sense", so `newTab` is unset
- // and the hosts decide: a running CLI or an open agent thread takes the
- // passage, otherwise the owner of the preferred family launches one and
- // reveals itself. EditorPane stages nothing and reveals nothing — whether the
- // active tab is a CLI, a bare shell, or an agent thread is knowledge only a
- // host has.
const dock = screen.getByTestId('terminal-dock');
+ expect(input.texts).toEqual([]);
+ expect(dock.getAttribute('data-visible')).toBe('true');
+ expect(dock.getAttribute('data-launch-nonce')).toBe('none');
+ });
+
+ test('desktop: ⌘L with a selection stages it for the agents panel and does not toggle', async () => {
+ const desk = makeOkDesktopStub();
+ (window as { okDesktop?: unknown }).okDesktop = desk.stub;
+ await renderEditorPane();
+ seedSelection('run the build');
+ const input = captureActiveTerminalInput();
+
+ // ⌘L arrives via the OS-captured menu accelerator → toggle-agent-panel.
+ act(() => desk.dispatchMenuAction('toggle-agent-panel'));
+ input.stop();
+
expect(input.details).toHaveLength(1);
+ // `target: 'agents'` is the whole point: it overrides the preferred-AI
+ // resolution so a CLI-preferring user's passage still lands in the panel the
+ // chord names, rather than veering into the terminal.
+ expect(input.details[0]?.target).toBe('agents');
expect(input.details[0]?.newTab).toBe(false);
- expect(input.details[0]?.text).toContain('run the build');
expect(input.details[0]?.submit).toBe(false);
+ expect(input.details[0]?.text).toContain('run the build');
// Trailing soft newlines land the caret on a blank line below the passage.
expect(input.details[0]?.text.endsWith('\n\n')).toBe(true);
- expect(dock.getAttribute('data-launch-nonce')).toBe('none');
- // The selection send replaces the toggle, so ⌘J did NOT open the terminal.
- expect(dock.getAttribute('data-visible')).toBe('false');
+ // The host reveals itself for a staged passage, so the pane must not toggle —
+ // that would hide the panel the passage just landed in.
+ expect(screen.getByTestId('agents-panel').getAttribute('data-visible')).toBe('false');
+ });
+
+ test('desktop: ⌘L with no selection still toggles the agents panel', async () => {
+ const desk = makeOkDesktopStub();
+ (window as { okDesktop?: unknown }).okDesktop = desk.stub;
+ await renderEditorPane();
+ const input = captureActiveTerminalInput();
+
+ act(() => desk.dispatchMenuAction('toggle-agent-panel'));
+ input.stop();
+
+ expect(input.texts).toEqual([]);
+ expect(screen.getByTestId('agents-panel').getAttribute('data-visible')).toBe('true');
});
test('desktop: ⌘J with no selection still toggles and stages nothing', async () => {
diff --git a/packages/app/src/components/EditorPane.tsx b/packages/app/src/components/EditorPane.tsx
index 107709496..6f428f90f 100644
--- a/packages/app/src/components/EditorPane.tsx
+++ b/packages/app/src/components/EditorPane.tsx
@@ -15,7 +15,7 @@ import { useDocumentContext } from '@/editor/DocumentContext';
import { RAW_MDX_NAV_EVENT, type RawMdxNavDetail } from '@/editor/extensions/raw-mdx-nav-event';
import { captureModeSwitchAnchor, requestViewInSource } from '@/editor/mode-switch-landing';
import { requestPreviewTabPromotion } from '@/editor/preview-tab-promotion';
-import { getSelectionContext } from '@/editor/selection-context';
+import { getSelectionContext, subscribeSelectionContext } from '@/editor/selection-context';
import { rememberPendingSourceNavigation } from '@/editor/source-editor-navigation';
import { type EditorModeValue, useEditorMode } from '@/editor/use-editor-mode';
import { VIEW_IN_SOURCE_EVENT, type ViewInSourceDetail } from '@/editor/view-in-source-event';
@@ -278,7 +278,7 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
//
// Returns true when a selection was staged (caller skips the toggle / new-tab
// fallback).
- function sendSelectionToTerminal(newTab: boolean): boolean {
+ function sendSelectionToTerminal(newTab: boolean, target?: 'agents'): boolean {
if (activeDocName == null) return false;
const snapshot = getSelectionContext(activeDocName, editorMode);
const selectionMarkdown = snapshot?.markdown ?? '';
@@ -288,23 +288,26 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
const staged = `${composeTerminalSelectionPaste(activeDocName, selectionMarkdown)}\n\n`;
// Raw selected material, not an instruction — written and left for the user
// to extend and send, on a CLI and on an agent thread alike.
- requestActiveTerminalInput(staged, { newTab, submit: false });
+ requestActiveTerminalInput(staged, { newTab, submit: false, target });
return true;
}
// Effect Events so the once-bound key/menu listeners below read the current
// closures (fresh activeDocName / editorMode) without re-subscribing.
const sendSelectionToTerminalEvent = useEffectEvent(sendSelectionToTerminal);
+ const sendSelectionToAgentsEvent = useEffectEvent(() => sendSelectionToTerminal(false, 'agents'));
const launchNewChatEvent = useEffectEvent(() => launchNewChat());
// Bottom-dock toggle, dual-wired like the DocPanel: on desktop the View →
// Bottom Dock item's ⌘J/Ctrl+J accelerator is OS-captured and dispatches
// `toggle-terminal`; the web host has no menu, so a window keydown stands in.
- // With a selection, the chord sends it to the terminal (reusing the active
- // tab) instead of toggling.
+ //
+ // ⌘J is a pure toggle: selection-send moved to ⌘L, whose chord names the panel
+ // a passage actually lands in. Do not re-add a selection branch here — one
+ // chord per destination is the point, and two would put the same intent behind
+ // a key that says "terminal".
useEffect(() => {
return subscribeLocalMenuAction((action) => {
if (action === 'toggle-terminal') {
- if (sendSelectionToTerminalEvent(false)) return;
setTerminalVisible((visible) => !visible);
} else if (action === 'new-terminal') {
// Terminal menu "New Terminal": reveal the dock (it never hides, unlike
@@ -312,6 +315,9 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
// only owns visibility and covers the case where no dock is mounted yet.
setTerminalVisible(true);
} else if (action === 'toggle-agent-panel') {
+ // With a selection ⌘L stages it in the agents panel; the host reveals
+ // itself, so this must not also toggle (that would hide it again).
+ if (sendSelectionToAgentsEvent()) return;
setAgentsVisible((visible) => !visible);
}
});
@@ -326,14 +332,9 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
function handleKeyDown(event: KeyboardEvent) {
if (!matchesRendererShortcut(event, 'toggle-terminal-panel', hasNativeMenu)) return;
if (isOverlayLayerOpen()) return;
- // Claim the chord only when we will actually act on it. A selection send is
- // the whole of ⌘J on a shell-less host; with no selection AND no shell there
+ // Claim the chord only when we will actually act on it: with no shell there
// is nothing to toggle, so let the browser keep its own ⌘J rather than
// swallowing it for a no-op.
- if (sendSelectionToTerminalEvent(false)) {
- event.preventDefault();
- return;
- }
if (!terminalAvailable) return;
event.preventDefault();
setTerminalVisible((visible) => !visible);
@@ -344,11 +345,15 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
return () => window.removeEventListener('keydown', handleKeyDown, { capture: true });
}, [terminalAvailable]);
- // ⌘L / Ctrl+L toggles the agents panel. On desktop the View menu item's
+ // ⌘L / Ctrl+L: with a selection, stage it in the agents panel; otherwise toggle
+ // the panel. Same dual wiring as ⌘J — on desktop the View menu item's
// accelerator is OS-captured and dispatches `toggle-agent-panel` (handled
- // above), so this window keydown is the web host's stand-in. Unlike ⌘J it has
- // no selection-send behavior: a selection goes to whichever panel the user's
- // preferred AI lives in, which the hosts arbitrate off ⌘J.
+ // above), so this window keydown is the web host's stand-in.
+ //
+ // Two registry rows share this chord (`ask-ai-selection` and
+ // `toggle-agent-panel`), disambiguated by selection state, the same shape ⌘K
+ // uses for add-link vs the palette. Both resolve here rather than in separate
+ // listeners so the order can't drift.
//
// Skipping the desktop host wholesale stays correct only while EVERY binding
// of the shortcut is menu-delivered. Add one the menu cannot carry — an
@@ -361,6 +366,9 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
if (!matchesKeyboardShortcut(event, 'toggle-agent-panel')) return;
if (isOverlayLayerOpen()) return;
event.preventDefault();
+ // The host reveals itself for a staged passage, so this must not also
+ // toggle — that would hide the panel the passage just landed in.
+ if (sendSelectionToAgentsEvent()) return;
setAgentsVisible((visible) => !visible);
}
window.addEventListener('keydown', handleKeyDown, { capture: true });
@@ -479,6 +487,38 @@ export function EditorPane({ onOpenSearch }: EditorPaneProps = {}) {
window.okDesktop.editor.notifyViewMenuStateChanged({ agentPanelVisible: agentsVisible });
}, [agentsVisible, dockRestoreSettled]);
+ /**
+ * Publish whether a selection is live, so View → Agents can rename itself to
+ * what ⌘L will actually do.
+ *
+ * Without it the item reads "Hide Agents" while a selection is up, and the
+ * click stages a passage and leaves the panel open — the label naming an
+ * action the command is not performing. Mirrored into the renderer store too,
+ * so the command palette's row agrees with the native menu.
+ *
+ * Subscribed rather than derived from render state: the selection lives in a
+ * module registry the editors publish to, and it changes on every caret move
+ * without re-rendering this pane. NOT behind `dockRestoreSettled` — unlike
+ * panel visibility there is no retained value a mount-initial `false` could
+ * overwrite.
+ */
+ useEffect(() => {
+ let last: boolean | null = null;
+ const publish = () => {
+ const snapshot =
+ activeDocName === null ? null : getSelectionContext(activeDocName, editorMode);
+ const hasEditorSelection = (snapshot?.markdown ?? '').trim() !== '';
+ // The registry fires on every caret move; only a CHANGE is worth an IPC
+ // hop and a menu rebuild.
+ if (hasEditorSelection === last) return;
+ last = hasEditorSelection;
+ setViewMenuState({ hasEditorSelection });
+ window.okDesktop?.editor.notifyViewMenuStateChanged({ hasEditorSelection });
+ };
+ publish();
+ return subscribeSelectionContext(publish);
+ }, [activeDocName, editorMode]);
+
// Restore both panels' expanded state after a renderer reload: main retains the
// per-window visibility of each (written by the gated pushes above once this
// settles), so a reloaded window re-expands whichever were open before the
diff --git a/packages/app/src/components/SessionsHost.tsx b/packages/app/src/components/SessionsHost.tsx
index a24c4bd6e..9094fa461 100644
--- a/packages/app/src/components/SessionsHost.tsx
+++ b/packages/app/src/components/SessionsHost.tsx
@@ -72,6 +72,7 @@ const ThreadView = lazy(() =>
import('@/components/acp/ThreadView').then((mod) => ({ default: mod.ThreadView })),
);
+import { sendQueuedCommentsInThread, subscribeSendToOpenChat } from '@/comments/open-chat-send';
import { subscribeToPreferredSessionRequests } from './handoff/preferred-session-events';
import type { TerminalCommandId } from './handoff/terminal-command-events';
import {
@@ -670,6 +671,40 @@ export function SessionsHost({
bareTerminalFallback: false,
});
+ /**
+ * Where an EXPLICITLY agents-targeted passage belongs — only ⌘L sends one.
+ *
+ * The single surface-scoped resolution here, and the exception the header's
+ * global-scoping argument allows rather than contradicts: that argument is
+ * about senders with no destination opinion, which must not have one inferred
+ * per-surface. ⌘L is the opposite case — the chord names the agents panel, so
+ * the destination is the user's own choice and resolving it globally would
+ * discard it.
+ *
+ * `terminalAvailable: false` is what makes it agents-only: the resolver then
+ * cannot yield `cli`, so a user whose preferred AI is a CLI still gets their
+ * default thread agent here instead of the passage veering into the terminal.
+ * With nothing enabled it still yields `none`, which routes to agent settings
+ * exactly as the global path does.
+ */
+ const agentsTargetedSelection = resolveLauncherSelection({
+ sticky: stickyAgentId,
+ effectiveThreadAgent: effectiveDefaultAgent,
+ enabledClis: [],
+ enabledDesktopTargets: [],
+ installedClis: {},
+ terminalAvailable: false,
+ // `hostThreads`, not `!isWindow`: this resolution is SURFACE-scoped (only
+ // the agents panel claims an agents-targeted passage), so it takes the same
+ // shape as the New-button resolution above rather than the global ones. The
+ // two agree in practice — the terminal dock returns before reading this —
+ // but `!isWindow` would claim a global scope this does not have.
+ threadsAvailable: hostThreads,
+ desktopSelectable: false,
+ preferBareTerminal: false,
+ bareTerminalFallback: false,
+ });
+
/**
* Where a promptless ⇧⌘J new session belongs. Globally scoped like
* {@link askAiSelection}, but with the bare-terminal knobs ON: ⇧⌘J carries no
@@ -752,12 +787,12 @@ export function SessionsHost({
function publishReusableSessionFrom(sessionList: readonly SessionDescriptor[], activeId: string) {
const active = sessionList.find((s) => s.id === activeId);
if (active == null) {
- publishReusableSession(null);
+ publishReusableSession(persistSurface, null);
return;
}
if (active.kind === 'thread') {
const info = threadInfoById.get(active.threadId);
- publishReusableSession({
+ publishReusableSession(persistSurface, {
id: active.id,
kind: 'thread',
label: info?.agent.name ?? t`the open agent`,
@@ -771,10 +806,10 @@ export function SessionsHost({
// Same three-part gate as the reuse branch below — a bare shell or a reload
// survivor is NOT appendable.
if (livePtyId == null || bridge?.terminal == null || cli == null) {
- publishReusableSession(null);
+ publishReusableSession(persistSurface, null);
return;
}
- publishReusableSession({
+ publishReusableSession(persistSurface, {
id: active.id,
kind: 'terminal',
label: TERMINAL_CLIS[cli].displayName,
@@ -807,10 +842,16 @@ export function SessionsHost({
if (!visible) onVisibleChange(true);
}
- function dispatchAskAi({ text, newTab, submit }: ActiveTerminalInputDetail) {
- // Not this panel's kind — the sibling host answers. Returning here (rather
- // than falling through) is what stops a passage double-landing.
- if (!claimsSessionKind(askAiSelection.kind)) return;
+ function dispatchAskAi({ text, newTab, submit, target }: ActiveTerminalInputDetail) {
+ // An agents-targeted passage (⌘L) is claimed by the agents panel alone, so the
+ // arbitration is the surface rather than the resolved kind. Everything else
+ // keeps the global resolution: not this panel's kind means the sibling host
+ // answers, and returning here (rather than falling through) is what stops a
+ // passage double-landing.
+ const selection = target === 'agents' ? agentsTargetedSelection : askAiSelection;
+ if (target === 'agents') {
+ if (!hostThreads) return;
+ } else if (!claimsSessionKind(selection.kind)) return;
// The passage is landing here, so this panel must be on screen for it.
if (!visible) onVisibleChange(true);
const activeId = activeSessionIdRef.current;
@@ -840,21 +881,23 @@ export function SessionsHost({
return;
}
}
- if (askAiSelection.kind === 'thread') {
- const agent = { source: askAiSelection.agent.source, id: askAiSelection.agent.id };
+ if (selection.kind === 'thread') {
+ const agent = { source: selection.agent.source, id: selection.agent.id };
// `prompt` runs on creation, `stageDraft` waits — the thread twins of the
// launch intent's `prompt` / `stagePaste`.
if (submit) launchAgentThread(agent, text, null, null, null);
else launchAgentThread(agent, null, null, null, text);
- } else if (askAiSelection.kind === 'cli') {
- requestTerminalLaunch(text, askAiSelection.cli, { stage: !submit });
+ } else if (selection.kind === 'cli') {
+ requestTerminalLaunch(text, selection.cli, { stage: !submit });
} else {
- // Only `none` reaches here. `askAiSelection` is built with
+ // Only `none` reaches here, whichever selection `selection` resolved to:
+ // `askAiSelection` and `agentsTargetedSelection` are BOTH built with
// `desktopSelectable: false` + `bareTerminalFallback/preferBareTerminal: false`,
- // so the resolver cannot yield `desktop` or `terminal` for this path — flip
- // either knob and a bare shell would land in this branch silently instead of
- // being refused. Nothing enabled to ask, so send the user where they can
- // enable something: the same destination the New primary uses in this state.
+ // so neither resolver can yield `desktop` or `terminal` for this path —
+ // flip either knob on either one and a bare shell would land in this
+ // branch silently instead of being refused. Nothing enabled to ask, so
+ // send the user where they can enable something: the same destination the
+ // New primary uses in this state.
openAgentSettings();
}
}
@@ -990,6 +1033,7 @@ export function SessionsHost({
const openSessionRef = useRef(openSession);
const seedOnRevealRef = useRef(seedOnReveal);
const dispatchAskAiRef = useRef(dispatchAskAi);
+ const revealForReuseRef = useRef(revealForReuse);
const launchPreferredSessionRef = useRef(launchPreferredSession);
// Close a tab — kind-dispatched. A terminal is removed from the list (its panel
@@ -1026,6 +1070,7 @@ export function SessionsHost({
openSessionRef.current = openSession;
seedOnRevealRef.current = seedOnReveal;
dispatchAskAiRef.current = dispatchAskAi;
+ revealForReuseRef.current = revealForReuse;
launchPreferredSessionRef.current = launchPreferredSession;
moveActiveSessionRef.current = moveActiveSession;
activeSessionIdRef.current = activeSessionId;
@@ -1389,6 +1434,24 @@ export function SessionsHost({
return subscribeToActiveTerminalInput((detail) => dispatchAskAiRef.current(detail));
}, [terminalAvailable, hostThreads]);
+ // The Comments panel staging a batch onto the chat you are already in. This
+ // host resolves WHICH session that is and reveals itself, the same two things
+ // it does for a reuse write; the thread's own composer owns the chip. Only a
+ // live thread answers — comments never go to a terminal, so a CLI tab is not a
+ // session this can stage onto, and the panel starts a fresh thread instead.
+ useEffect(() => {
+ if (!hostThreads) return;
+ return subscribeSendToOpenChat(({ threadIds }) => {
+ const activeId = activeSessionIdRef.current;
+ const active = sessionsRef.current.find((session) => session.id === activeId);
+ if (active?.kind !== 'thread') return;
+ // Relayed verbatim: this host resolves WHERE, never WHAT.
+ sendQueuedCommentsInThread(active.threadId, threadIds);
+ revealForReuseRef.current();
+ queueMicrotask(() => focusSession(active));
+ });
+ }, [hostThreads]);
+
// ⇧⌘J with no selection: open a new session with the preferred AI. Arbitrated
// like an Ask-AI passage — the GLOBAL resolution decides which panel owns the
// new session, then that panel opens it with its own surface-scoped primary
diff --git a/packages/app/src/components/acp/ThreadView.tsx b/packages/app/src/components/acp/ThreadView.tsx
index 5caa30e56..630e9d82b 100644
--- a/packages/app/src/components/acp/ThreadView.tsx
+++ b/packages/app/src/components/acp/ThreadView.tsx
@@ -46,7 +46,15 @@ import {
X,
Zap,
} from 'lucide-react';
-import { Fragment, type ReactNode, type RefObject, useEffect, useRef, useState } from 'react';
+import {
+ Fragment,
+ type ReactNode,
+ type RefObject,
+ useEffect,
+ useEffectEvent,
+ useRef,
+ useState,
+} from 'react';
import { toast } from 'sonner';
import {
composeCommentBatchInstruction,
@@ -56,6 +64,7 @@ import {
useQueuedComments,
useSelectedCommentCount,
} from '@/comments/comment-chips';
+import { subscribeSendInThread } from '@/comments/open-chat-send';
import { dispatchComments, selectAllQueued } from '@/comments/store';
import type { CommentThread } from '@/comments/types';
import { ComposerContextChips } from '@/components/ComposerContextChips';
@@ -435,6 +444,7 @@ export function ThreadView({
const selectedCommentCount = useSelectedCommentCount();
const [commentsAttached, setCommentsAttached] = useState(false);
const [commentsExpanded, setCommentsExpanded] = useState(false);
+
const hasQueuedComments = selectedCommentCount > 0 && commentsAttached;
/**
@@ -523,7 +533,15 @@ export function ThreadView({
* Re-entrant sends are held off by `dispatchComments` itself, which guards the
* one queue across every surface that drains it.
*/
- const submitQueuedComments = async (instruction: string): Promise<void> => {
+ const submitQueuedComments = async (
+ instruction: string,
+ /**
+ * Send exactly these instead of the whole checked queue. Set by the Comments
+ * panel, whose This-doc scope counts one document's comments — the composer's
+ * own chip leaves it unset, because that chip IS the whole checked queue.
+ */
+ threadIds?: readonly string[],
+ ): Promise<void> => {
// A mid-turn send only reaches the server's MESSAGE queue, and both a
// cancel and a terminal status drop that queue before the agent ever reads
// it. Resolving there would close review work nobody has acted on — the one
@@ -533,6 +551,7 @@ export function ThreadView({
// sitting side by side.
const queuedBehindTurn = canQueue;
const shipped = await dispatchComments({
+ threadIds,
resolve: !queuedBehindTurn,
compose: (items) =>
sendText(
@@ -558,6 +577,37 @@ export function ThreadView({
setCommentsExpanded(false);
};
+ /**
+ * The Comments panel sending a batch into THIS conversation.
+ *
+ * Runs the same path the composer's own send takes for an attached batch, so
+ * a comment sent from the panel and one sent from the chip are one turn shape
+ * and one resolve rule. Whatever is already typed rides along as the batch's
+ * shared instruction rather than being cleared — you were in the middle of
+ * saying something, and the comments are being added to it.
+ *
+ * An effect event, not a ref written during render: the subscription installs
+ * once per thread id, and this has to read the CURRENT draft and thread status
+ * at the moment the signal arrives.
+ */
+ const sendCommentsFromPanel = useEffectEvent((threadIds?: readonly string[]) => {
+ // The composer's own guard: a busy thread accepts a queued message, a dead
+ // one accepts nothing.
+ if (!(canPrompt || canQueue)) return;
+ submitQueuedComments(draft.trim(), threadIds).catch((err) => {
+ console.warn('[acp] panel comment send rejected unexpectedly', err);
+ });
+ });
+
+ // Keyed by thread id because every ThreadView stays mounted — an unkeyed
+ // signal would send the batch from whichever thread answered first.
+ useEffect(() => {
+ return subscribeSendInThread((sendTo, threadIds) => {
+ if (sendTo !== info.threadId) return;
+ sendCommentsFromPanel(threadIds);
+ });
+ }, [info.threadId]);
+
const retryThread = (): void => {
setRetryPending(true);
void client
diff --git a/packages/app/src/components/agent-panel-selection-label.test.ts b/packages/app/src/components/agent-panel-selection-label.test.ts
new file mode 100644
index 000000000..a06911bb9
--- /dev/null
+++ b/packages/app/src/components/agent-panel-selection-label.test.ts
@@ -0,0 +1,54 @@
+/**
+ * ⌘L renames itself when a selection is live.
+ *
+ * The chord carries two behaviors — toggle the agents panel, or stage the
+ * selection in it — so a Show/Hide pair alone leaves the item claiming "Hide
+ * Agents" while the click stages a passage and the panel stays open. That is the
+ * failure this pins: not that some third label exists, but that the label stops
+ * naming the toggle exactly when the command stops performing one.
+ *
+ * The native menu resolves the same `stateToggle` through `menuLeafLabel` in
+ * `packages/desktop/src/main/menu.ts`. That module needs Electron and has no
+ * unit test, so this covers the renderer half of a contract both halves read
+ * from the shared command registry.
+ */
+
+import { COMMAND_IDENTITIES } from '@inkeep/open-knowledge-core';
+import { describe, expect, test } from 'vitest';
+import type { PaletteCommandContext } from '@/components/command-palette-commands';
+import { PALETTE_COMMANDS } from '@/components/command-palette-commands';
+
+function contextWith(viewMenuState: PaletteCommandContext['viewMenuState']): PaletteCommandContext {
+ return { viewMenuState } as PaletteCommandContext;
+}
+
+const agentPanelRow = PALETTE_COMMANDS.find((cmd) => cmd.menuActionId === 'toggle-agent-panel');
+
+describe('agents-panel label tracks selection, not just visibility', () => {
+ test('the row exists and is the one ⌘L drives', () => {
+ expect(agentPanelRow).toBeDefined();
+ expect(agentPanelRow?.shortcutId).toBe('toggle-agent-panel');
+ });
+
+ test('with no selection it reads as the plain visibility toggle', () => {
+ expect(agentPanelRow?.label(contextWith({ agentPanelVisible: false }))).toBe('Show Agents');
+ expect(agentPanelRow?.label(contextWith({ agentPanelVisible: true }))).toBe('Hide Agents');
+ });
+
+ test('with a selection it names the staging, whatever the panel is doing', () => {
+ // Both visibility states, because the bug was specifically that an OPEN
+ // panel advertised "Hide Agents" and then did not hide.
+ expect(
+ agentPanelRow?.label(contextWith({ agentPanelVisible: true, hasEditorSelection: true })),
+ ).toBe('Ask AI About Selection');
+ expect(
+ agentPanelRow?.label(contextWith({ agentPanelVisible: false, hasEditorSelection: true })),
+ ).toBe('Ask AI About Selection');
+ });
+
+ test('the override is declared on the shared registry, so the native menu reads it too', () => {
+ const identity = COMMAND_IDENTITIES.find((cmd) => cmd.id === 'toggle-agent-panel');
+ expect(identity?.stateToggle?.overrideKey).toBe('agentPanelAskSelection');
+ expect(identity?.stateToggle?.overrideField).toBe('hasEditorSelection');
+ });
+});
diff --git a/packages/app/src/components/command-palette-commands.ts b/packages/app/src/components/command-palette-commands.ts
index 9c7efe63b..314ad4b7e 100644
--- a/packages/app/src/components/command-palette-commands.ts
+++ b/packages/app/src/components/command-palette-commands.ts
@@ -207,6 +207,7 @@ const PALETTE_COMMAND_LABELS = {
terminalHide: msg`Hide Bottom Dock`,
agentPanelShow: msg`Show Agents`,
agentPanelHide: msg`Hide Agents`,
+ agentPanelAskSelection: msg`Ask AI About Selection`,
showHiddenFiles: msg`Show hidden files`,
showOkFolders: msg`Show .ok folders`,
showOnlyMarkdownFiles: msg`Show only markdown files`,
@@ -382,6 +383,16 @@ function paletteCoreContext(ctx: PaletteCommandContext): CommandContext {
function resolvePaletteLabel(cmd: CommandIdentity, ctx: PaletteCommandContext): string {
if (cmd.stateToggle) {
+ const { overrideKey, overrideField } = cmd.stateToggle;
+ // Same precedence as the native menu: an override names an action the
+ // toggle is not performing, so it wins over the show/hide pair.
+ if (
+ overrideKey !== undefined &&
+ overrideField !== undefined &&
+ ctx.viewMenuState[overrideField] === true
+ ) {
+ return i18n._(PALETTE_COMMAND_LABELS[overrideKey as PaletteLabelKey]);
+ }
// Palette form: `state ? Hide : Show` (undefined → Show), independent of the
// native menu's default-visible fallback.
const visible = ctx.viewMenuState[cmd.stateToggle.stateField] === true;
diff --git a/packages/app/src/components/handoff/terminal-input-events.ts b/packages/app/src/components/handoff/terminal-input-events.ts
index f1500a7c4..3ffeabdf5 100644
--- a/packages/app/src/components/handoff/terminal-input-events.ts
+++ b/packages/app/src/components/handoff/terminal-input-events.ts
@@ -36,18 +36,34 @@ export interface ActiveTerminalInputDetail {
* session, never any live PTY.
*/
readonly submit: boolean;
+ /**
+ * Which panel must answer, overriding the preferred-AI resolution described
+ * above. Only ⌘L sets it: that chord names the agents panel, so a selection
+ * sent with it goes there whatever the user's preferred AI is.
+ *
+ * Absent — every other sender — keeps the global resolution, which is still
+ * the default and still the reason the two hosts never double-land a passage.
+ * Do NOT reach for this to "make sure" a send arrives somewhere; a sender with
+ * no destination opinion must not express one.
+ */
+ readonly target?: 'agents';
}
export function requestActiveTerminalInput(
text: string,
- options?: { newTab?: boolean; submit?: boolean },
+ options?: { newTab?: boolean; submit?: boolean; target?: 'agents' },
target: Pick<Window, 'dispatchEvent'> | EventTarget = typeof window === 'undefined'
? new EventTarget()
: window,
): void {
target.dispatchEvent(
new CustomEvent<ActiveTerminalInputDetail>(ACTIVE_TERMINAL_INPUT_EVENT, {
- detail: { text, newTab: options?.newTab === true, submit: options?.submit === true },
+ detail: {
+ text,
+ newTab: options?.newTab === true,
+ submit: options?.submit === true,
+ ...(options?.target === 'agents' ? { target: 'agents' as const } : {}),
+ },
}),
);
}
@@ -69,6 +85,7 @@ export function subscribeToActiveTerminalInput(
text: detail.text,
newTab: detail.newTab === true,
submit: detail.submit === true,
+ ...(detail.target === 'agents' ? { target: 'agents' as const } : {}),
});
}
};
diff --git a/packages/app/src/components/reusable-session-store.test.ts b/packages/app/src/components/reusable-session-store.test.ts
index 17153e5f2..f8e863b2c 100644
--- a/packages/app/src/components/reusable-session-store.test.ts
+++ b/packages/app/src/components/reusable-session-store.test.ts
@@ -27,7 +27,7 @@ describe('the reusable-session store', () => {
// The consumer renders a brand mark from these; with only a name it would
// fall back to whatever icon it could reach — the Claude mark on a Cursor
// tab, which is the bug this shape exists to prevent.
- publishReusableSession({
+ publishReusableSession('agents', {
id: 'thread-1',
kind: 'thread',
label: 'Claude Agent',
@@ -49,7 +49,7 @@ describe('the reusable-session store', () => {
notified += 1;
});
- publishReusableSession({
+ publishReusableSession('agents', {
id: 'thread-1',
kind: 'thread',
label: 'Claude Agent',
@@ -57,17 +57,55 @@ describe('the reusable-session store', () => {
});
expect(notified).toBe(1);
- publishReusableSession(null);
+ // Cleared on the SAME surface that set it. Clearing the other dock's slot
+ // would leave this thread standing, which is the whole point of the split:
+ // an empty terminal no longer erases a live conversation.
+ publishReusableSession('agents', null);
expect(notified).toBe(2);
expect(getReusableSession()).toBeNull();
});
+ test("an empty dock does not erase the other dock's session", () => {
+ // BOTH docks mount at once and both publish on every change. With one slot
+ // the last writer won: the terminal dock publishing null for its empty tab
+ // list wiped a live agent thread, and every send button outside the docks
+ // then read "nothing to reuse" with a conversation open on screen.
+ publishReusableSession('agents', {
+ id: 'thread-1',
+ kind: 'thread',
+ label: 'Claude Agent',
+ agentId: 'claude',
+ });
+ publishReusableSession('terminal', null);
+
+ expect(getReusableSession()).toMatchObject({ id: 'thread-1', kind: 'thread' });
+ });
+
+ test('a thread outranks a terminal when both docks hold one', () => {
+ publishReusableSession('terminal', {
+ id: 'terminal-session-1',
+ kind: 'terminal',
+ label: 'Claude',
+ cli: 'claude',
+ });
+ publishReusableSession('agents', {
+ id: 'thread-1',
+ kind: 'thread',
+ label: 'Claude Agent',
+ agentId: 'claude',
+ });
+
+ // The comment surfaces send to threads alone, so the answer they read has
+ // to be the one they can act on.
+ expect(getReusableSession()).toMatchObject({ kind: 'thread' });
+ });
+
test('a value-equal publish is a no-op', () => {
// The host re-publishes freely rather than tracking what changed, so the
// store absorbs the churn — otherwise `useSyncExternalStore` would see a
// new snapshot on every PTY callback and re-render the send button.
let notified = 0;
- publishReusableSession({
+ publishReusableSession('terminal', {
id: 'terminal-session-1',
kind: 'terminal',
label: 'Claude',
@@ -77,7 +115,7 @@ describe('the reusable-session store', () => {
notified += 1;
});
- publishReusableSession({
+ publishReusableSession('terminal', {
id: 'terminal-session-1',
kind: 'terminal',
label: 'Claude',
@@ -90,24 +128,44 @@ describe('the reusable-session store', () => {
// Same tab id, different CLI: if the equality check ignored the icon input
// the button would keep drawing the old brand mark.
let notified = 0;
- publishReusableSession({ id: 's1', kind: 'terminal', label: 'Claude', cli: 'claude' });
+ publishReusableSession('terminal', {
+ id: 's1',
+ kind: 'terminal',
+ label: 'Claude',
+ cli: 'claude',
+ });
subscribeReusableSession(() => {
notified += 1;
});
- publishReusableSession({ id: 's1', kind: 'terminal', label: 'Codex', cli: 'codex' });
+ publishReusableSession('terminal', {
+ id: 's1',
+ kind: 'terminal',
+ label: 'Codex',
+ cli: 'codex',
+ });
expect(notified).toBe(1);
expect(getReusableSession()).toMatchObject({ cli: 'codex', label: 'Codex' });
});
test('a thread and a terminal sharing an id are not the same session', () => {
let notified = 0;
- publishReusableSession({ id: 's1', kind: 'terminal', label: 'Claude', cli: 'claude' });
+ publishReusableSession('terminal', {
+ id: 's1',
+ kind: 'terminal',
+ label: 'Claude',
+ cli: 'claude',
+ });
subscribeReusableSession(() => {
notified += 1;
});
- publishReusableSession({ id: 's1', kind: 'thread', label: 'Claude', agentId: 'claude' });
+ publishReusableSession('agents', {
+ id: 's1',
+ kind: 'thread',
+ label: 'Claude',
+ agentId: 'claude',
+ });
expect(notified).toBe(1);
expect(getReusableSession()?.kind).toBe('thread');
});
@@ -119,7 +177,12 @@ describe('the reusable-session store', () => {
});
unsubscribe();
- publishReusableSession({ id: 's1', kind: 'thread', label: 'Claude Agent', agentId: 'claude' });
+ publishReusableSession('agents', {
+ id: 's1',
+ kind: 'thread',
+ label: 'Claude Agent',
+ agentId: 'claude',
+ });
expect(notified).toBe(0);
});
});
diff --git a/packages/app/src/components/reusable-session-store.ts b/packages/app/src/components/reusable-session-store.ts
index 5d9054e82..52702b77c 100644
--- a/packages/app/src/components/reusable-session-store.ts
+++ b/packages/app/src/components/reusable-session-store.ts
@@ -59,9 +59,32 @@ export type ReusableSession =
readonly cli: TerminalCli;
};
+/**
+ * One slot PER DOCK, not one slot.
+ *
+ * Both docks mount at once (the bottom terminal and the right agents panel) and
+ * both publish on every change. With a single slot the last writer won: an
+ * agents panel holding a live thread was overwritten by the terminal dock
+ * publishing `null` for its empty tab list, and every surface outside the docks
+ * then read "nothing to reuse" while a conversation sat open on screen.
+ */
+type DockSurface = 'agents' | 'terminal';
+const bySurface = new Map<DockSurface, ReusableSession | null>();
let current: ReusableSession | null = null;
const listeners = new Set<() => void>();
+/**
+ * A thread outranks a terminal when both docks have something.
+ *
+ * Not arbitrary: the only caller that can take either is the Ask-AI plumbing,
+ * which resolves its own destination anyway, while the comment surfaces send to
+ * threads alone. Preferring the thread means the answer this returns is the one
+ * a reader can act on.
+ */
+function resolveCurrent(): ReusableSession | null {
+ return bySurface.get('agents') ?? bySurface.get('terminal') ?? null;
+}
+
function same(a: ReusableSession | null, b: ReusableSession | null): boolean {
if (a === null || b === null) return a === b;
if (a.id !== b.id || a.kind !== b.kind || a.label !== b.label) return false;
@@ -75,16 +98,22 @@ function same(a: ReusableSession | null, b: ReusableSession | null): boolean {
}
/**
- * Publish the active session when it is reusable, `null` when it is not. The
- * host calls this on every change that could flip the answer — active tab,
- * session list, PTY resolution, thread arrival.
+ * Publish the calling dock's active session when it is reusable, `null` when it
+ * is not. The host calls this on every change that could flip the answer —
+ * active tab, session list, PTY resolution, thread arrival.
+ *
+ * `surface` is what keeps the two docks from overwriting each other; each owns
+ * its own slot and the reader resolves across them.
*
* A value-equal publish is a no-op so `useSyncExternalStore` sees a stable
* snapshot; the host re-publishes freely rather than tracking what changed.
*/
-export function publishReusableSession(next: ReusableSession | null): void {
- if (same(current, next)) return;
- current = next;
+export function publishReusableSession(surface: DockSurface, next: ReusableSession | null): void {
+ if (bySurface.has(surface) && same(bySurface.get(surface) ?? null, next)) return;
+ bySurface.set(surface, next);
+ const resolved = resolveCurrent();
+ if (same(current, resolved)) return;
+ current = resolved;
for (const listener of listeners) listener();
}
@@ -111,6 +140,9 @@ export function useReusableSession(): ReusableSession | null {
/** Test-only: drop the published session between cases. */
export function _resetReusableSession(): void {
+ // The per-surface slots too, or one test's agents thread outranks the next
+ // one's terminal publish and the change never reaches a subscriber.
+ bySurface.clear();
current = null;
listeners.clear();
}
diff --git a/packages/app/src/editor/ComposerMentionInput.tsx b/packages/app/src/editor/ComposerMentionInput.tsx
index 769f84daf..840aea610 100644
--- a/packages/app/src/editor/ComposerMentionInput.tsx
+++ b/packages/app/src/editor/ComposerMentionInput.tsx
@@ -83,6 +83,14 @@ export function ComposerMentionInput({
* inline mentions (a file mentioned inline is not also shown as a top chip).
* Optional — surfaces with no top-row chips omit it. */
onMentionsChange?: (mentions: string[]) => void;
+ /**
+ * Enter (and ⌘/Ctrl+Enter) with the `@`-popup closed.
+ *
+ * Carries no modifier flag: every host has ONE filing action, so both chords
+ * mean the same thing. It briefly reported which one fired, for a second
+ * "send now" action on the comment composer that no longer exists — and a flag
+ * nobody reads is a flag that drifts from what the keys actually do.
+ */
onSubmit: () => void;
/**
* Escape, when the `@`-popup is NOT open.
@@ -154,6 +162,9 @@ export function ComposerMentionInput({
// prompt; returning false lets that handler run.
const suggestionActive = composerMentionSuggestionKey.getState(view.state)?.active;
if (suggestionActive) return false;
+ // Claimed here rather than left to the document's hardBreak binding:
+ // this is the composer's own editor instance, so ⌘Enter never reaches
+ // the surrounding document keymap.
onSubmitRef.current();
return true;
}
diff --git a/packages/app/src/editor/SourceEditor.dom.test.tsx b/packages/app/src/editor/SourceEditor.dom.test.tsx
index eaf873643..7c639186d 100644
--- a/packages/app/src/editor/SourceEditor.dom.test.tsx
+++ b/packages/app/src/editor/SourceEditor.dom.test.tsx
@@ -98,16 +98,19 @@ function makeProvider(
return { provider, ytext };
}
+// `isSourceModeActive` is pinned true rather than exposed as a knob: the only
+// behavior the false case drives is `applyRawMdxNavigation`'s stillInSourceMode
+// bail, and the "raw-MDX replay mode re-check" suite below exercises that
+// directly against the function — a component-level route to the same guard
+// would be a second, slower path to an assertion already made.
function Harness({
provider,
ytext,
wordWrap,
- isSourceModeActive = true,
}: {
provider: HocuspocusProvider;
ytext: Y.Text;
wordWrap: boolean;
- isSourceModeActive?: boolean;
}) {
return (
<ConfigContext value={makeConfigValue(wordWrap)}>
@@ -115,7 +118,7 @@ function Harness({
docName={provider.configuration.name ?? 'test-source'}
ytext={ytext}
provider={provider}
- isSourceModeActive={isSourceModeActive}
+ isSourceModeActive
/>
</ConfigContext>
);
@@ -189,9 +192,12 @@ describe('SourceEditor word-wrap preference wiring', () => {
expect(container.querySelector('.cm-editor')).toBe(cmEditor);
});
- test('Cmd+Shift+I opens the Ask AI composer', async () => {
+ // ⇧⌘I is retired. It was mac-only and source-mode-only, it duplicated ⇧⌘L,
+ // and despite being titled "Ask AI (from selection)" it never staged the
+ // selection — it only opened the composer. Selection→AI is ⌘L now.
+ test('Cmd+Shift+I no longer opens the Ask AI composer', async () => {
setPlatform('MacIntel');
- const { provider, ytext } = makeProvider('source-edit-with-ai');
+ const { provider, ytext } = makeProvider('source-edit-with-ai-retired');
const { container } = render(<Harness provider={provider} ytext={ytext} wordWrap={true} />);
const content = await findCmContent(container);
@@ -212,60 +218,6 @@ describe('SourceEditor word-wrap preference wiring', () => {
);
});
- expect(composerOpenRequests).toBe(1);
- });
-
- test('Cmd+Shift+I does not fire when source mode is inactive', async () => {
- setPlatform('MacIntel');
- const { provider, ytext } = makeProvider('source-edit-with-ai-inactive');
- const { container } = render(
- <Harness provider={provider} ytext={ytext} wordWrap={true} isSourceModeActive={false} />,
- );
-
- const content = await findCmContent(container);
- const view = EditorView.findFromDOM(content);
- expect(view).toBeTruthy();
- view?.dispatch({ selection: EditorSelection.range(2, 9) });
-
- await act(async () => {
- content.dispatchEvent(
- new KeyboardEvent('keydown', {
- key: 'I',
- code: 'KeyI',
- metaKey: true,
- shiftKey: true,
- bubbles: true,
- cancelable: true,
- }),
- );
- });
-
- expect(composerOpenRequests).toBe(0);
- });
-
- test('Cmd+Shift+I does not fire on non-macOS', async () => {
- setPlatform('Linux x86_64');
- const { provider, ytext } = makeProvider('source-edit-with-ai-non-mac');
- const { container } = render(<Harness provider={provider} ytext={ytext} wordWrap={true} />);
-
- const content = await findCmContent(container);
- const view = EditorView.findFromDOM(content);
- expect(view).toBeTruthy();
- view?.dispatch({ selection: EditorSelection.range(2, 9) });
-
- await act(async () => {
- content.dispatchEvent(
- new KeyboardEvent('keydown', {
- key: 'I',
- code: 'KeyI',
- ctrlKey: true,
- shiftKey: true,
- bubbles: true,
- cancelable: true,
- }),
- );
- });
-
expect(composerOpenRequests).toBe(0);
});
});
diff --git a/packages/app/src/editor/SourceEditor.tsx b/packages/app/src/editor/SourceEditor.tsx
index 5cc85641d..054590545 100644
--- a/packages/app/src/editor/SourceEditor.tsx
+++ b/packages/app/src/editor/SourceEditor.tsx
@@ -8,12 +8,10 @@ import {
type PersistedLinterConfig,
toEffectiveBase,
} from '@inkeep/open-knowledge-core';
-import { isMacOS } from '@tiptap/core';
import { useTheme } from 'next-themes';
import { useEffect, useRef, useState } from 'react';
import { yCollab, yUndoManagerKeymap } from 'y-codemirror.next';
import type * as Y from 'yjs';
-import { emitOpenAskAiComposer } from '@/components/ask-ai-composer-events';
import { OUTLINE_NAV_EVENT, type OutlineNavDetail } from '@/components/OutlinePanel';
import { LINT_NAV_EVENT, type LintNavDetail } from '@/components/ProblemsPanel';
import {
@@ -23,7 +21,6 @@ import {
} from '@/editor/extensions/nested-cm-extensions';
import type { RawMdxNavDetail } from '@/editor/extensions/raw-mdx-nav-event';
import { useConfigContext } from '@/lib/config-provider';
-import { matchesKeyboardShortcut } from '@/lib/keyboard-shortcuts';
import { registerSourceView, unregisterSourceView } from './active-source-view';
import { createSourceClipboardExtension } from './clipboard/index.ts';
import { type CmCacheEntry, mountCmEditor, parkCmEditor } from './editor-cache';
@@ -339,18 +336,6 @@ export function SourceEditor({
);
}, SELECTION_STATS_DEBOUNCE_MS);
}),
- EditorView.domEventHandlers({
- keydown: (event, _view) => {
- if (!sourceModeActiveRef.current) return false;
- if (!isMacOS()) return false;
- if (!matchesKeyboardShortcut(event, 'edit-with-ai')) return false;
- event.preventDefault();
- event.stopPropagation();
- event.stopImmediatePropagation();
- emitOpenAskAiComposer();
- return true;
- },
- }),
placeholderCompartment.of(cmPlaceholder(placeholder ?? '')),
EditorView.theme({
'&': {
diff --git a/packages/app/src/lib/keyboard-shortcuts.test.ts b/packages/app/src/lib/keyboard-shortcuts.test.ts
index 910d929eb..da2eadf9a 100644
--- a/packages/app/src/lib/keyboard-shortcuts.test.ts
+++ b/packages/app/src/lib/keyboard-shortcuts.test.ts
@@ -27,7 +27,9 @@ describe('keyboard shortcut registry', () => {
expect(formatShortcut('file-tree-paste', 'windowsLinux')).toBe('Ctrl V');
expect(formatShortcut('file-tree-delete', 'mac')).toBe('⌘ Backspace');
expect(formatShortcut('file-tree-delete', 'windowsLinux')).toBe('Delete');
- expect(formatShortcut('edit-with-ai', 'mac')).toBe('⇧⌘ I');
+ expect(formatShortcut('ask-ai-selection', 'mac')).toBe('⌘ L');
+ expect(formatShortcut('send-comment-queue', 'mac')).toBe('⇧⌘ Enter');
+ expect(formatShortcut('send-comment-queue', 'windowsLinux')).toBe('Ctrl Shift Enter');
expect(formatShortcut('tab-new', 'mac')).toBe('⌘ T');
expect(formatShortcut('tab-next', 'mac')).toBe('⌃ Tab');
expect(formatShortcut('tab-previous', 'mac')).toBe('⌃⇧ Tab');
@@ -758,44 +760,45 @@ describe('keyboard shortcut registry', () => {
).toBe(true);
});
- test('matches Edit with AI shortcut only with Cmd/Ctrl+Shift+I', () => {
+ // The queue send takes Shift and nothing else. ⌘Enter is also TipTap's
+ // hardBreak and CodeMirror's insertBlankLine, so this GLOBAL listener staying
+ // off it is what keeps a line break from dispatching a batch.
+ test('the queue send answers Shift+Cmd+Enter only', () => {
+ const cmdEnter = { metaKey: true, ctrlKey: false, altKey: false, key: 'Enter' };
+ const shiftCmdEnter = { ...cmdEnter, shiftKey: true };
+
+ expect(matchesKeyboardShortcut(shiftCmdEnter, 'send-comment-queue', 'mac')).toBe(true);
expect(
- matchesKeyboardShortcut(
- { metaKey: true, ctrlKey: false, altKey: false, shiftKey: true, key: 'I' },
- 'edit-with-ai',
- 'mac',
- ),
- ).toBe(true);
+ matchesKeyboardShortcut({ ...cmdEnter, shiftKey: false }, 'send-comment-queue', 'mac'),
+ ).toBe(false);
expect(
matchesKeyboardShortcut(
- { metaKey: false, ctrlKey: true, altKey: false, shiftKey: true, key: 'i' },
- 'edit-with-ai',
+ { metaKey: false, ctrlKey: true, altKey: false, shiftKey: true, key: 'Enter' },
+ 'send-comment-queue',
'windowsLinux',
),
).toBe(true);
+ // Bare Shift+Enter is the composer's newline — it must never dispatch.
expect(
matchesKeyboardShortcut(
- { metaKey: true, ctrlKey: false, altKey: false, shiftKey: false, key: 'k' },
- 'edit-with-ai',
- 'mac',
- ),
- ).toBe(false);
- expect(
- matchesKeyboardShortcut(
- { metaKey: true, ctrlKey: false, altKey: false, shiftKey: false, key: 'i' },
- 'edit-with-ai',
- 'mac',
- ),
- ).toBe(false);
- expect(
- matchesKeyboardShortcut(
- { metaKey: true, ctrlKey: false, altKey: true, shiftKey: true, key: 'i' },
- 'edit-with-ai',
+ { metaKey: false, ctrlKey: false, altKey: false, shiftKey: true, key: 'Enter' },
+ 'send-comment-queue',
'mac',
),
).toBe(false);
});
+ // ⌘L carries two rows disambiguated by selection state (the ⌘K/add-link shape),
+ // so both must match the same event — the handler, not the registry, picks.
+ test('matches both agents-panel rows on Cmd/Ctrl+L', () => {
+ const cmdL = { metaKey: true, ctrlKey: false, altKey: false, shiftKey: false, key: 'l' };
+ expect(matchesKeyboardShortcut(cmdL, 'toggle-agent-panel', 'mac')).toBe(true);
+ expect(matchesKeyboardShortcut(cmdL, 'ask-ai-selection', 'mac')).toBe(true);
+ expect(matchesKeyboardShortcut({ ...cmdL, shiftKey: true }, 'ask-ai-selection', 'mac')).toBe(
+ false,
+ );
+ });
+
test('detects editable shortcut targets', () => {
expect(isEditableShortcutTarget({ tagName: 'INPUT' })).toBe(true);
expect(isEditableShortcutTarget({ tagName: 'TEXTAREA' })).toBe(true);
diff --git a/packages/app/src/lib/keyboard-shortcuts.ts b/packages/app/src/lib/keyboard-shortcuts.ts
index 6970261ea..8c43e604f 100644
--- a/packages/app/src/lib/keyboard-shortcuts.ts
+++ b/packages/app/src/lib/keyboard-shortcuts.ts
@@ -223,7 +223,7 @@ const KEYBOARD_SHORTCUT_DEFINITIONS = [
id: 'toggle-terminal-panel',
category: 'general',
title: msg`Show or hide bottom dock`,
- description: msg`Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead.`,
+ description: msg`Toggle the bottom dock, where the terminal lives.`,
scope: msg`OK Desktop`,
// ⌘J must stay bindings[0]: `formatShortcut` renders only the first binding,
// and the menu-accelerator parity ratchet compares that against the View
@@ -263,6 +263,27 @@ const KEYBOARD_SHORTCUT_DEFINITIONS = [
},
],
},
+ {
+ // Second row on ⌘L, disambiguated by selection state — the same two-rows-one-
+ // chord shape `command-palette` and `add-link` use, so each behavior gets an
+ // honest name in the shortcuts list rather than one row with a buried clause.
+ // A selection claims the chord; without one it falls through to the toggle
+ // above. Deliberately targets the agents panel rather than resolving the
+ // user's preferred AI globally: a chord should name one destination, and this
+ // one already means "agents panel".
+ id: 'ask-ai-selection',
+ category: 'general',
+ title: msg`Ask AI about selection`,
+ description: msg`Stage the selected passage in the agents panel, ready to extend and send.`,
+ scope: msg`Editor selection`,
+ bindings: [
+ {
+ mac: '⌘ L',
+ windowsLinux: 'Ctrl L',
+ match: { key: 'l', mod: true },
+ },
+ ],
+ },
{
// Rehomed off ⌘L when the agents panel claimed it. Same L family (both are
// "talk to an AI"), one modifier deeper for the lighter-weight surface.
@@ -622,16 +643,24 @@ const KEYBOARD_SHORTCUT_DEFINITIONS = [
],
},
{
- id: 'edit-with-ai',
+ // ⌘Enter is already TipTap's hardBreak and CodeMirror's insertBlankLine, so a
+ // window listener on it would fire while someone types a line break. ⇧⌘Enter
+ // is free: `prosemirror-keymap` resolves it to `Shift-Meta-Enter`, and its
+ // strip-Shift-and-retry fallback is gated on `name.length == 1`, so a named
+ // key can never degrade into its non-shift binding.
+ //
+ // Global rather than panel-scoped: the queue is project-wide, and the panel is
+ // a view of it, not the thing itself.
+ id: 'send-comment-queue',
category: 'general',
- title: msg`Ask AI (from selection)`,
- description: msg`Open and focus the Ask AI composer for the current editor selection.`,
- scope: msg`Editor selection`,
+ title: msg`Send checked comments to chat`,
+ description: msg`Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed.`,
+ scope: msg`When the Comments tab is open`,
bindings: [
{
- mac: '⇧⌘ I',
- windowsLinux: 'Ctrl Shift I',
- match: { key: 'i', mod: true, shiftKey: true },
+ mac: '⇧⌘ Enter',
+ windowsLinux: 'Ctrl Shift Enter',
+ match: { key: 'Enter', mod: true, shiftKey: true },
},
],
},
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index 026eb4766..34c62aafa 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -173,7 +173,6 @@
"1njn7W": ["فاتح"],
"1nke1r": ["فتح ", ["0"], " على GitHub (يفتح في تبويب جديد)"],
"1oSHI0": ["تعذّر تثبيت ", ["skillName"], ": ", ["0"]],
- "1oawp3": ["تعذّر مسح ", ["failed"], " من ", ["0"], " تعليق."],
"1t_NnN": ["رفض"],
"1u-mAI": ["تعذّر بدء المزامنة. تحقق من اتصالك، ثم أعد المحاولة."],
"1vn0CI": ["استجابة الخادم غير صالحة"],
@@ -198,7 +197,6 @@
"2FnYUD": [
"معلومات التطبيق والنظام، وسجلات التطبيق الأخيرة، وسجلات خادم المشروع: الأساسيات التي نحتاجها لإعادة إنتاج المشكلة."
],
- "2FoHU3": ["حل"],
"2G-56b": ["فشل تحديث قواعد markdownlint"],
"2GT3Hf": ["عام"],
"2H43L8": ["تُخفى الأسرار كمفاتيح API والرموز تلقائيًا."],
@@ -363,7 +361,6 @@
"4E9jPa": ["أنشئ مشروعك الأول"],
"4EZrJN": ["القواعد"],
"4ErgAf": ["ثبّت OpenKnowledge مهارة"],
- "4GWjF8": ["تعذّر تحديد وجهة إرسال التعليقات — لا تزال في الانتظار."],
"4Gz2wC": ["فشل رفع الملف"],
"4KmEoC": ["اختصارات المفاتيح"],
"4NC2Ym": ["انتقل إلى خلية الجدول التالية أو السابقة."],
@@ -389,6 +386,7 @@
"4sKwf6": ["الملف موجود بالفعل"],
"4sUdTJ": ["معاينة بالسمة"],
"4uNLmk": ["يجري السحب"],
+ "4uaCUA": [["mins"], "د"],
"4v2Yyz": ["حدّد كل صفوف شجرة الملفات الظاهرة عندما يكون التركيز في شريط الملفات الجانبي."],
"4wo5UV": ["تثبيت المحدد"],
"4xtLTl": ["أُخفي المجلد “", ["basename"], "”"],
@@ -406,6 +404,7 @@
"56WWtu": ["تعذّر تحميل حزم البداية: ", ["error"]],
"56xUL1": ["اسم الخاصية"],
"57fiu8": ["(للقراءة فقط — حرِّره في وضع المصدر في الوقت الحالي)"],
+ "58qIOK": ["التعليق على هذا التحديد"],
"5ALjdr": ["تنقّل بين نتائج بحث المحرر المرئي من حقل البحث."],
"5Ajb15": ["تُعرض الصيغة <0>c = √(a² + b²)</0> مضمَّنة."],
"5AzM72": ["هذا الإعداد خاص بكل جهاز ولا يُشارك مع المتعاونين."],
@@ -442,6 +441,9 @@
"5aahsI": ["لا شيء (", ["0"], " ليس نمطًا صالحًا)"],
"5b3WD-": ["حفظ OpenKnowledge نقطة تحقق"],
"5e1Dri": ["تسمية القائمة التي يختار بها الوكلاء هذا القالب (مطلوبة)."],
+ "5ecEGe": [
+ "تسليم التعليقات المحددة إلى وكيل في دفعة واحدة. في هذا المستند، تعليقات ذلك المستند فقط؛ وفي هذا المشروع، كل تعليق محدد. لا يفعل شيئًا ما دام تبويب التعليقات مغلقًا."
+ ],
"5gr_ev": [
"يصبح محتوى المستند عندما ينشئ أحدهم مستندًا من هذا القالب. اكتب <0>",
["dateToken"],
@@ -504,6 +506,7 @@
"6V3Ea3": ["تم النسخ"],
"6VqW-1": ["إزالة ", ["keyName"]],
"6WdDG7": ["صفحة"],
+ "6YBJ3m": ["اسأل الذكاء الاصطناعي عن التحديد"],
"6YtxFj": ["الاسم"],
"6ZhdPI": ["ما يجوز للوكيل قراءته وكتابته وإظهاره."],
"6_ZOw4": ["تم نسخ المسار الكامل"],
@@ -669,11 +672,11 @@
"8fRyLo": ["حمولة تصحيح غير صالحة"],
"8fc_3j": ["فرع محمي — لا يمكن الدفع"],
"8k6INX": ["الصق رمز وصول شخصيًا لـ <0>", ["host"], "</0>."],
- "8kBLOT": ["ذلك التطبيق غير متاح — لا تزال التعليقات في انتظار الإرسال."],
"8lwQlE": ["تمت إضافة ", ["0"], "، وإزالة ", ["1"]],
"8m8diM": ["لم يُحدَّد موقع. استخدم «استعراض» لاختيار مجلد."],
"8nOdkO": ["محاذاة إلى الوسط"],
"8nWu1k": ["مخطط فارغ"],
+ "8oWgty": ["تحديد كل التعليقات للإرسال"],
"8qgfac": ["خوادم MCP"],
"8ruqQi": ["روابط داخلية معطلة"],
"8sMErm": ["هل تفعّل المتابعة؟"],
@@ -911,6 +914,7 @@
"C0hoX6": ["مُدرج دائمًا"],
"C3Zc44": ["استكشاف المهارات"],
"C62P6b": ["تحديد المحرر"],
+ "C7PKTv": ["إرسال التعليقات المحددة إلى المحادثة"],
"C7waqI": [
[
"0",
@@ -958,6 +962,7 @@
"ChAtFg": ["ليس لديك إذن بالدفع إلى هذا المستودع"],
"ChMshD": ["إنهاء ", ["appName"]],
"Ck9XRt": ["تعذّر حفظ المفتاح — يرجى المحاولة مرة أخرى."],
+ "ClTEde": ["تجهيز المقطع المحدد في لوحة الوكلاء، جاهزًا للإضافة والإرسال."],
"CmeH9S": ["إضافة خاصية إلى ", ["keyName"]],
"CnOGgs": ["وضع المزامنة"],
"CoHvYd": ["تم نقل ", ["0"], " إلى الموضع ", ["1"], " من ", ["2"]],
@@ -1245,7 +1250,7 @@
"G0YZ-I": ["زيادة أو تقليل إزاحة عنصر القائمة"],
"G1Gw0v": ["قالب جديد"],
"G1XxbZ": ["مربع اختيار"],
- "G4-bgo": ["اسأل الذكاء الاصطناعي (من التحديد)"],
+ "G1zJlD": ["إخفاء التعليقات المُنجزة"],
"G4m8rL": ["تعليق على التحديد"],
"G6Lrs_": ["إيقاف قراءة ", ["0"], " لهذه المهارة"],
"G7-rf8": ["خطأ في صيغة النمط: ", ["message"]],
@@ -1600,6 +1605,7 @@
"LXdWeS": ["عنوان قسم متوسط."],
"LXfNU-": ["التنقل والاقتراحات"],
"LYufDw": ["فشل تفعيل البحث الدلالي — ", ["detail"]],
+ "LaskKp": ["الإرسال إلى المحادثة (", ["0"], ")"],
"Lbl6KA": ["تعذّر التثبيت من ", ["0"], ": ", ["1"]],
"LbmLyU": ["لا يمكن تحرير إعداد هذه الأداة بأمان"],
"Lcehxn": ["حفظ الحل"],
@@ -1768,6 +1774,7 @@
"N55YNr": [
"اختر ما إذا كان إعداد OpenKnowledge لهذا المشروع، بما فيه اتصالات أدوات الذكاء الاصطناعي، يُحفظ مع المشروع ليحصل عليه زملاؤك أيضًا، أم يبقى على جهازك وحده."
],
+ "NBdIgR": ["تعليق"],
"NCmYhK": [
"تعلّم المهارات الوكلاء مهامَّ قابلة للتكرار. ألّفها وأدِرها من قسم «المهارات» في المحرر؛ وتتحكم قائمة التثبيت لكل مهارة في مكان وجودها. هذه هي مجلدات مهارات هذا المشروع."
],
@@ -1786,9 +1793,7 @@
"NRSLBe": ["قبل ", ["diffMin"], " دقيقة"],
"NSnIUP": ["صفحتان (زوجي)"],
"NUr4kz": ["نقطة انطلاق قابلة لإعادة الاستخدام للمستندات الجديدة في هذا المجلد."],
- "NVtrN-": [
- "يبدّل اللوحة السفلية حيث توجد الطرفية. وإذا كان هناك نص محدد، فسيُجهَّز بدلاً من ذلك للذكاء الاصطناعي الذي تفضّله."
- ],
+ "NUw7lo": ["إظهار اللوحة السفلية أو إخفاؤها، حيث توجد الطرفية."],
"NYUhy5": ["اسم المجلد الفرعي"],
"NYn1cR": ["يجري تحميل المحرر"],
"NYu2Pt": ["مشروع جديد…"],
@@ -1801,6 +1806,7 @@
"NeY1Np": ["انتهت مهلة بدء تشغيل Slidev. حاول مرة أخرى."],
"NfraGd": ["طرق أخرى لتثبيت Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " مفعَّل"],
+ "NiGIcB": ["فتح التعليقات"],
"NjrIak": ["الملف: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["تحرير ", ["tag"]],
"NkXEFS": ["فشلت الاستعادة — لم يتغير المستند"],
@@ -1810,11 +1816,11 @@
"NnQapF": ["الفتح بالذكاء الاصطناعي ", ["targetDisplayName"]],
"NoY1k4": ["بنية استجابة الخادم غير صالحة"],
"NpC29w": ["أنشئ عنصر قائمة جديدًا من عنصر القائمة الحالي."],
- "NpuPmi": ["للإرسال"],
"NrFwux": ["فشل حفظ قواعد المحتوى — ", ["0"]],
"Ns0z5o": [
"عند تثبيتك مهارة منشورة، أخبر دليل المهارات (skills.sh) ليكون عدد تثبيتاتها دقيقًا. يُرسل اسم المهارة ومستودعها المصدر وأدوات الوكلاء التي ذهبت إليها — ولا تُرسل محتويات الملفات أبدًا، ولا يُرسل شيء لمهارة من مصدر خاص أو محلي أو مكتوب يدويًا. مرة واحدة لكل مهارة على كل جهاز."
],
+ "Ns5f4J": ["إلغاء تحديد كل التعليقات"],
"Nu4DdT": ["مزامنة"],
"Nu4oKW": ["الوصف"],
"NuH1jp": ["مستودع عام"],
@@ -1872,6 +1878,7 @@
],
"Okd2Xv": ["بدّل تنسيق التسطير."],
"OlAl5i": ["توسيع الكل"],
+ "OlFVNr": ["اسأل الذكاء الاصطناعي عن التحديد"],
"Oo_WWc": ["لم يُعثر على صفحات"],
"Oos8fo": ["نسخ الأمر"],
"OplnBG": ["إدارة أدوات الذكاء الاصطناعي غير متاحة في هذه النسخة."],
@@ -1941,7 +1948,6 @@
"PkeYXL": ["وضع الرسم البياني الموسّع"],
"Pkw7J9": ["هذا المجلد فارغ."],
"PlGC6r": ["ملف استثناءات git غير قابل للكتابة"],
- "Pnvg8e": ["تعذّر فتح الطرفية — لا تزال التعليقات في انتظار الإرسال."],
"Pp0Vgd": ["انقر للتثبيت في ", ["label"]],
"PpJy-V": ["لم تستجب نقطة النهاية في الوقت المحدد."],
"PqYWiC": [
@@ -1967,6 +1973,7 @@
"QB-moX": ["ثبّتها في محرراتك الأخرى (Claude Code وCursor وCodex) لمشاركتها."],
"QDZbvN": ["قبل ", ["diffDays"], " يوم"],
"QHCx0c": ["سجل تقارير العلل"],
+ "QIrBIx": ["توسيع كل الملفات"],
"QKgePK": ["تمت مواءمة ", ["editor"], " مع المصدر (نُسخت بايتاته احتياطيًا)"],
"QLgdT6": ["أي مستند باسم ", ["0"]],
"QM3SBZ": ["الخطة (", ["done"], "/", ["0"], ")"],
@@ -2001,6 +2008,7 @@
"QlAG4m": ["أخبرنا المزيد (اختياري)"],
"QlkiD5": ["إعادة الوضع على النص المحدد"],
"QlxHAH": ["تُعرض نتائج «", ["semanticResultsLabel"], "»"],
+ "Qpfxa1": [["secs"], "ث"],
"QqBQu1": ["التسمية <0>(نص الرابط الظاهر)</0>"],
"Quz_Qu": ["تُطبَّق التعديلات مباشرةً. الوضع الفاتح أو الداكن يأتي من المخطط."],
"Qvls7J": ["مواصفات هندسية"],
@@ -2009,6 +2017,7 @@
],
"QySH4I": ["مشاريع OpenKnowledge المكتشفة"],
"QyioBP": ["تحريك لأعلى"],
+ "QzofTX": ["لا توجد تعليقات في هذا المشروع بعد. علّق على مقطع للبدء."],
"R0cyYB": [
[
"0",
@@ -2073,7 +2082,6 @@
"Rj01Fz": ["الروابط"],
"RlCInP": ["أوامر الشرطة المائلة"],
"RmBY0A": ["لا يوجد مستودع git بعيد"],
- "RmmhAh": ["الإرسال لاحقًا"],
"RnrnTe": ["مُعدّ بالفعل — الأمر ok متاح في طرفيتك"],
"RoafuO": ["إرسال ملاحظات"],
"RobAKV": ["حدّث الوجهة ومرساة القسم الاختيارية."],
@@ -2470,6 +2478,7 @@
"XV5sC0": ["فتح شجرة العمل"],
"XVnIvs": ["تثبيت المهارات"],
"XW18jo": ["لم تطابق استجابة عناوين الصفحة مخطط النجاح"],
+ "XWEqQj": [["days"], "ي"],
"XXA1b_": [["componentLabel"], " (فارغ)"],
"XYlJJT": ["يجري الإعداد"],
"XZkdtg": ["تبديل الفرع"],
@@ -2576,7 +2585,6 @@
"Yy90sM": ["أُنشئت المهارة «", ["name"], "»"],
"YyXtnN": ["تسطير"],
"Yzs3QX": ["مزيد من إجراءات المهارة"],
- "YzyyG2": ["لا شيء للإرسال بعد. علّق على مقطع لإضافته هنا."],
"Z0W6SO": [
"هذا المجلد نسخة من ",
["actualOwner"],
@@ -2611,7 +2619,6 @@
"ZBxvV3": ["طرفية جديدة"],
"ZDOq9A": ["ما تشاركه يُرسل إلى فريق OpenKnowledge."],
"ZGVsOD": ["ادفع هذا الفرع إلى GitHub قبل المشاركة."],
- "ZHAM1l": ["تضمين في الإرسال"],
"ZI8uvA": ["لم يُعثر على مشكلات."],
"ZJ99sD": ["إدراج عمود إلى اليسار"],
"ZNK2Tq": ["الجذر"],
@@ -2706,6 +2713,7 @@
"نسخة للقراءة فقط من كتلة MirrorSource في مستند آخر. حرّرها عند المصدر فتتحدث مباشرةً."
],
"_XWY2J": ["الطرفية معطّلة"],
+ "_YEyHO": ["إظهار التعليقات المُنجزة"],
"_YWqV2": ["حلّ OpenKnowledge تعارضًا"],
"_ayOfA": [
"قاعدة معرفة تتبع تنسيق Google Open Knowledge، وهو طريقة مشتركة لتنظيم ما تعرفه. اختر هذا إن أردت أن تعمل ملاحظاتك جيدًا مع أدوات أخرى تفهم التنسيق."
@@ -2717,6 +2725,7 @@
"_gO_m8": ["في انتظار موافقتك"],
"_gkGSK": ["حذف قالبًا"],
"_mcDqU": [["count"], " مهارة في هذا المصدر"],
+ "_oqig9": [["hours"], "س"],
"_pY_Vq": ["نُقل المستودع أو أُعيدت تسميته أو حُذف."],
"_qD6mn": ["اختر المجلد الذي استنسخته فيه."],
"_rP3HI": ["قبل ", ["minutes"], " دقيقة"],
@@ -2724,7 +2733,6 @@
"_tjopj": ["لصق نسخة"],
"_yB-24": ["كل ما تحت أي مجلد ", ["0"], "/"],
"a-cKXz": ["تحديد كل المصدر"],
- "a3H_MR": ["افتح مؤلف «اسأل الذكاء الاصطناعي» وركّز عليه لتحديد المحرر الحالي."],
"a3LDKx": ["الأمان"],
"a45f2c": ["أنماط glob التي ينطبق عليها هذا المخطط"],
"a4FRQv": ["هل تتراجع إلى هذا التعديل؟"],
@@ -3088,7 +3096,6 @@
"emMrXQ": ["أعاد الخادم استجابة نسخ مشوّهة."],
"emgiet": ["محتوى مرجعي؛ يُعكس حرفيًا في كل مكان يُشار إليه فيه."],
"enPTnx": ["السطر ", ["displayLine"]],
- "eoEUI3": ["تعذّر حل ذلك التعليق."],
"epuNYK": ["حدّد كتلة كمرجع أساسي. تتحدث المرايا في الأماكن الأخرى مباشرةً أثناء تحريرك لها."],
"erenF-": ["لا يمكن حذف ملفات لم تُحَل تعارضاتها"],
"euc6Ns": ["تكرار"],
@@ -3147,6 +3154,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(ملف ثنائي، لا يمكن معاينته)"],
"fevEu0": ["سحب أحدث التغييرات"],
+ "ffH3Rt": ["إضافة تعليق (Enter)"],
"fg1U4e": ["اكتشاف المهارات مدعوم بـ <0>skills.sh</0>"],
"fhaxJL": ["فشل الاستنساخ — نص الاستجابة فارغ"],
"fiMNLl": ["لم تُحمَّل إعدادات المزامنة بعد — أعد المحاولة بعد قليل"],
@@ -3588,7 +3596,6 @@
["4"],
") لا تمس بقية نظامك."
],
- "l7X_SM": ["الإرسال إلى الذكاء الاصطناعي"],
"l87Deg": ["اختر ما تبدأ به علامة تبويب جديدة"],
"l9s3IX": ["تعذّر على ", ["agentName"], " بدء محادثة."],
"lAiyU_": ["المستند الحالي وحده يستخدم <0>#", ["tag"], "</0>."],
@@ -4122,6 +4129,7 @@
],
"rwrPbS": ["التنقل بين حدود المكوّنات"],
"rxWGWX": ["للأمام"],
+ "ryhHUm": ["عندما يكون تبويب التعليقات مفتوحًا"],
"s-MGs7": ["الموارد"],
"s-XOaI": ["اسم الملف"],
"s-pW_v": ["تعذّر التثبيت: ", ["0"]],
@@ -4165,6 +4173,7 @@
"sNeKjP": ["فشل تخزين الرمز — أعد المحاولة"],
"sOxZaS": ["فشل تحميل الرسم البياني"],
"sQoLn0": ["إنهاء"],
+ "sR0I-f": ["طيّ كل الملفات"],
"sW5OjU": ["مطلوب"],
"sZ2IOu": [
"شُورك هذا ",
@@ -4230,6 +4239,7 @@
"</0> من الإيداع الحالي، في شجرة عمل خاصة به تحت <1>.ok/worktrees/</1>."
],
"t6w1cq": ["افتح تبويب محرر فارغًا."],
+ "t7YoBO": ["إرسال هذا التعليق"],
"t9Qn8y": ["لا يوجد وكلاء مفعَّلون"],
"tA0b9E": ["مجلد المهارات الافتراضي (يظهر المسار الدقيق بعد الحفظ)"],
"tA2-xC": ["«", ["0"], "» مضاف بالفعل (محتوى مطابق)."],
@@ -4318,7 +4328,6 @@
"u_lS4C": ["اكتمل الاستنساخ — يجري فتح المشروع"],
"uaUc6t": ["إعادة تشغيل الخادم"],
"ubMwcO": ["انتهت جلسة الطرفية (الإشارة ", ["0"], ")."],
- "ubx-L3": ["تعليقات للإرسال"],
"ucXZ0k": ["يجري تحميل الوكلاء…"],
"ugQcJX": [
["display"],
@@ -4503,6 +4512,7 @@
"wgNoIs": ["تحديد الكل"],
"wlwXUk": ["اخترت ~/Downloads. الملفات هناك عابرة عادةً — ففكّر في مجلد ثابت بدلًا من ذلك."],
"wndeIl": ["صفحات على مستوى المشروع بلا حواف واردة ولا صادرة في الرسم البياني."],
+ "wqD3pI": ["تعذّر تحديث ", ["failed"], " من ", ["0"], " تعليقات."],
"ws5o1F": ["تحقق منه: ", ["0"]],
"wtcxiD": ["هل تشارك هذا الإعداد مع فريقك؟"],
"wvK7Ay": ["نسختك المحلية من الفرع <0>", ["branch"], "</0> متأخرة."],
@@ -4716,7 +4726,6 @@
"zL0LPh": ["عام خارج الحقول النصية"],
"zLGXna": ["لا توجد حزم بداية متاحة."],
"zLak8b": ["تنشيط تبويب جديد"],
- "zO-IiA": ["الطرفية غير متاحة هنا — لا تزال التعليقات في انتظار الإرسال."],
"zQBg2C": ["حرّك الكتلة الحالية موضعًا واحدًا لأعلى أو لأسفل."],
"zXj1rA": ["البحث حسب المعنى"],
"zYp8Sr": [
@@ -4732,7 +4741,6 @@
"zkz0Fg": ["إعداد المزامنة"],
"zlErBl": ["لم تطابق استجابة خطأ عناوين الصفحة معيار RFC 9457"],
"zo3Dl7": ["تبديل الصور المصغّرة"],
- "zovxVp": ["جاهز للإرسال"],
"zpfN9p": ["لا توجد تعليقات بعد. حدد نصًا في المستند لإضافة واحد."],
"zq2eBA": ["العرض في المصدر"],
"zrP8HX": [
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index c5d24a32c..01e999add 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} فوق {destination}."
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} غير مثبَّت بعد — يجري فتح صفحة تنزيله."
@@ -506,6 +504,10 @@ msgstr "{count} مهارة في هذا المصدر"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, zero {قبل # يوم} one {قبل يوم واحد} two {قبل يومين} few {قبل # أيام} many {قبل # يومًا} other {قبل # يوم}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}ي"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "قبل {days} يوم"
@@ -546,7 +548,6 @@ msgstr "{display} نسخة مستقلة بينما المواقع الأخرى
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) غير مثبَّت أو غير موجود في PATH."
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} مفعَّل"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "تعذّر مسح {failed} من {0} تعليق."
+msgid "{failed} of {0} comments could not be updated."
+msgstr "تعذّر تحديث {failed} من {0} تعليقات."
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, zero {مجلدات} one {مجلد} two {مجلدا
msgid "{formatted} GitHub stars"
msgstr "{formatted} نجمة على GitHub"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}س"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, zero {قبل # دقيقة} one {قبل # دقيقة} two {قبل # دقيقة} few {قبل # دقائق} many {قبل # دقيقة} other {قبل # دقيقة}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}د"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "قبل {minutes} دقيقة"
@@ -736,6 +745,10 @@ msgstr "خصائص {propPanelDescriptorLabel}"
msgid "{seconds}s ago"
msgstr "قبل {seconds} ثانية"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}ث"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "خصائص {settingsDescriptorLabel}"
@@ -1186,6 +1199,10 @@ msgstr "أضف حرفًا أو رقمًا واحدًا على الأقل."
msgid "Add Comment"
msgstr "إضافة تعليق"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "إضافة تعليق (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "أضف مؤشرات أو حدد التكرارات المطابقة عبر CodeMirror."
@@ -1597,7 +1614,6 @@ msgstr "اسأل واجهة {0} السطرية"
msgid "Ask {agentName}"
msgstr "اسأل {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "اسأل الذكاء الاصطناعي"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "اسأل الذكاء الاصطناعي (من التحديد)"
+msgid "Ask AI about selection"
+msgstr "اسأل الذكاء الاصطناعي عن التحديد"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "اسأل الذكاء الاصطناعي عن التحديد"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "تحقق منه: {0}"
msgid "Checking"
msgstr "يجري التحقق"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "يجري البحث عن الوكلاء"
@@ -2195,7 +2214,7 @@ msgstr "اختيار أيقونة"
msgid "Choose what a new tab starts"
msgstr "اختر ما تبدأ به علامة تبويب جديدة"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "اختر إلى أين تُرسل هذه التعليقات"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "سجل التنظيف"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "يجري استنساخ {repoName}..."
msgid "Cloning..."
msgstr "يجري الاستنساخ..."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "طيّ الكل"
msgid "Collapse all file groups"
msgstr "طيّ كل مجموعات الملفات"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "طيّ كل الملفات"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "طيّ «اسأل الذكاء الاصطناعي»"
@@ -2537,6 +2559,10 @@ msgstr "الأوامر"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "تُنفَّذ الأوامر بكامل صلاحيات حساب macOS الخاص بك على هذا الجهاز. أوقف هذا لتعطيل الصدفة."
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "تعليق"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "تعليق على {address}"
@@ -2545,6 +2571,10 @@ msgstr "تعليق على {address}"
msgid "Comment on selection"
msgstr "تعليق على التحديد"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "التعليق على هذا التحديد"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "علّق على كتلة الشيفرة هذه أو اسأل الذكاء الاصطناعي عنها"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "التعليقات"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "تعليقات للإرسال"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "أودع التغييرات أو خزّنها مؤقتًا للتبديل:"
@@ -3316,10 +3342,6 @@ msgstr "تعذّر فتح المستند"
msgid "Couldn't open the terminal — please try again."
msgstr "تعذّر فتح الطرفية — يرجى المحاولة مرة أخرى."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "تعذّر فتح الطرفية — لا تزال التعليقات في انتظار الإرسال."
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "تعذّر فتح شجرة العمل. أعد المحاولة."
@@ -3413,10 +3435,6 @@ msgstr "تعذّرت إعادة تسمية القالب: {0}"
msgid "Couldn't reopen that comment."
msgstr "تعذّرت إعادة فتح ذلك التعليق."
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "تعذّر حل ذلك التعليق."
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "تعذّر حل التعارض في {filePath}."
@@ -3543,10 +3561,6 @@ msgstr "تعذّر تحديث مشاركة المهارات"
msgid "Couldn't update skills sharing — {detail}."
msgstr "تعذّر تحديث مشاركة المهارات — {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "تعذّر تحديد وجهة إرسال التعليقات — لا تزال في الانتظار."
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "احتساب تثبيتات المهارة علنًا"
@@ -3891,7 +3905,7 @@ msgstr "حذف الجدول"
msgid "Delete this chat?"
msgstr "هل تريد حذف هذه المحادثة؟"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "حذف هذا التعليق"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "لا ترى <0>المهارات</0>؟ فعّل <1>الإعدادات <2/> القدرات <3/> تنفيذ الكود وإنشاء الملفات</1> أولًا."
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "لا ترسل هذا التعليق"
@@ -4389,7 +4402,7 @@ msgstr "تحرير المصدر"
msgid "Edit source pane and code property fields"
msgstr "تحرير لوحة المصدر وحقول خصائص الكود"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "تحرير هذا التعليق"
@@ -4718,6 +4731,10 @@ msgstr "توسيع الكل"
msgid "Expand all file groups"
msgstr "توسيع كل مجموعات الملفات"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "توسيع كل الملفات"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "توسيع الرسم البياني"
@@ -5565,7 +5582,6 @@ msgstr "الانتقال إلى السطر {0} في {1}"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "الانتقال إلى هذا التعليق في {0}"
@@ -5598,6 +5614,10 @@ msgstr "يوجّه وكلاء الذكاء الاصطناعي لديك إلى ك
msgid "guides/install or https://example.com"
msgstr "guides/install أو https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "تسليم التعليقات المحددة إلى وكيل في دفعة واحدة. في هذا المستند، تعليقات ذلك المستند فقط؛ وفي هذا المشروع، كل تعليق محدد. لا يفعل شيئًا ما دام تبويب التعليقات مغلقًا."
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "فاصل صريح"
@@ -5771,10 +5791,14 @@ msgstr "إخفاء مؤشرات المشكلات"
msgid "Hide replace"
msgstr "إخفاء الاستبدال"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "إخفاء المحلولة"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "إخفاء التعليقات المُنجزة"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "إخفاء معاينة التحديد"
@@ -5983,10 +6007,6 @@ msgstr "داخل التطبيق (بيتا)"
msgid "In the Claude Desktop App"
msgstr "في تطبيق Claude Desktop"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "تضمين في الإرسال"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "ضمّن هذا التعليق في الإرسال التالي"
@@ -6344,7 +6364,7 @@ msgstr "الانتقال إلى الصفحة {pageNumber}"
msgid "Jump to tab 1-8"
msgstr "الانتقال إلى التبويب 1-8"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "الانتقال إلى النص المرتبط"
@@ -6799,6 +6819,10 @@ msgstr "ارسم خريطة البنية"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "حدّد كتلة كمرجع أساسي. تتحدث المرايا في الأماكن الأخرى مباشرةً أثناء تحريرك لها."
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "تحديد كل التعليقات للإرسال"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "لم يُعدّ أي وكيل بعد — اختر واحدًا من قا
msgid "No agents available."
msgstr "لا يوجد وكلاء متاحون."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "لا يوجد وكلاء مفعَّلون"
@@ -7388,6 +7412,10 @@ msgstr "لا تغييرات"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "لا يوجد خادم تعاون لشجرة العمل هذه — شغّل <0>ok start</0> هنا، أو أعد فتح المشروع."
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "لا توجد تعليقات في هذا المشروع بعد. علّق على مقطع للبدء."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "لا توجد تعليقات بعد. حدد نصًا في المستند لإضافة واحد."
@@ -7742,10 +7770,6 @@ msgstr "لا شيء ({0} ليس نمطًا صالحًا)"
msgid "Nothing set yet."
msgstr "لم يُضبط شيء بعد."
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "لا شيء للإرسال بعد. علّق على مقطع لإضافته هنا."
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "لم يُرفع شيء. يبقى التقرير على هذا الـ Mac حتى ترسله إلينا بالبريد."
@@ -7944,10 +7968,6 @@ msgstr "فتح لوحة الوكلاء"
msgid "Open an existing project folder from disk."
msgstr "افتح مجلد مشروع موجودًا من القرص."
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "افتح مؤلف «اسأل الذكاء الاصطناعي» وركّز عليه لتحديد المحرر الحالي."
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "افتح مؤلف موجّه «اسأل الذكاء الاصطناعي» السفلي وركّز عليه."
@@ -7968,6 +7988,10 @@ msgstr "افتح لوحة تشخيصات الفحص في CodeMirror."
msgid "Open comment"
msgstr "فتح التعليق"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "فتح التعليقات"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "فتح المجلد الحاوي"
@@ -8436,7 +8460,7 @@ msgstr "الملف الأصلي — قبل تعديلات هذا الوكيل."
msgid "Orphan mode"
msgstr "وضع اليتامى"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "يتيم"
@@ -9102,7 +9126,7 @@ msgstr "أعد المصادقة مع خادم GitHub Enterprise"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "تحدث إعادة التضمين أثناء تشغيل عمليات البحث، لذا تبدأ التغطية من الصفر وتمتلئ من جديد."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "إعادة الوضع على النص المحدد"
@@ -9130,10 +9154,6 @@ msgstr "ملف للقراءة فقط في مهارة {name}"
msgid "Reading…"
msgstr "يجري القراءة…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "جاهز للإرسال"
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "مجلدات وقوالب جاهزة لتبدأ بسرعة."
@@ -9470,7 +9490,7 @@ msgstr "خطأ في العرض"
msgid "Rendered"
msgstr "معروض"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "إعادة فتح"
@@ -9636,10 +9656,6 @@ msgstr "إعادة تعيين مرشحات العرض"
msgid "Resize {handleKey}"
msgstr "تغيير حجم {handleKey}"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "حل"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "حل التعارض في طرفيتك"
@@ -9652,7 +9668,7 @@ msgstr "احسم التعارض في {files} قبل الحذف."
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "احسم التعارض في {files} و{overflow} ملفات أخرى قبل الحذف."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "محلول"
@@ -10191,7 +10207,7 @@ msgstr "تحديد التكرار التالي"
msgid "Select the full source document."
msgstr "حدّد مستند المصدر بالكامل."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "حدّد هذا النص في الخاصية"
@@ -10244,6 +10260,10 @@ msgstr "إرسال"
msgid "Send & continue"
msgstr "إرسال ومتابعة"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "إرسال التعليقات المحددة إلى المحادثة"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "إرسال التعليقات إلى"
@@ -10257,22 +10277,23 @@ msgstr "إرسال ملاحظات"
msgid "Send feedback…"
msgstr "إرسال ملاحظات…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "الإرسال لاحقًا"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "إرسال التقرير"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "الإرسال إلى الذكاء الاصطناعي"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "إرسال هذا التعليق"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "الإرسال إلى المحادثة"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "الإرسال إلى المحادثة ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "الإرسال عندما يكون الوكيل متفرغًا"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "إظهار الاستبدال"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "إظهار المحلولة ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "إظهار التعليقات المُنجزة"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "إظهار معاينة التحديد"
@@ -10961,6 +10986,10 @@ msgstr "تراجع أو إعادة في المصدر"
msgid "Split list item"
msgstr "تقسيم عنصر القائمة"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "تجهيز المقطع المحدد في لوحة الوكلاء، جاهزًا للإضافة والإرسال."
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "امنحنا نجمة على GitHub"
@@ -10982,7 +11011,7 @@ msgstr "تشغيل {agentName}، {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "ابدأ محادثة بزر +، أو شغّل وكيلاً من صفحة."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "بدء محادثة جديدة"
@@ -11544,10 +11573,6 @@ msgstr "شكرًا على ملاحظاتك!"
msgid "Thanks for the report!"
msgstr "شكرًا على التقرير!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "ذلك التطبيق غير متاح — لا تزال التعليقات في انتظار الإرسال."
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "الوكيل لا يتوقف. الإيقاف القسري يغلق هذ
msgid "The agent's persona, values, and voice."
msgstr "شخصية الوكيل وقيمه ونبرته."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "اختفى النص المرتبط. يمكنك إعادة وضعه على نص محدد."
@@ -11749,10 +11774,6 @@ msgstr "اسم ملف القالب (بدون `.md`)."
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "الطرفية معطّلة لهذا المشروع. أعد تشغيلها لتنفيذ الأوامر هنا."
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "الطرفية غير متاحة هنا — لا تزال التعليقات في انتظار الإرسال."
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "هذا الفرع مسحوب في:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "يمكن ضبط هذا في الإعدادات > أدوات الذكاء الاصطناعي وواجهة سطر الأوامر"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "هذا التعليق على الخاصية بأكملها"
@@ -12037,6 +12058,7 @@ msgstr "يؤدي هذا إلى إزالة {0}/{1} نهائيًا من المها
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "يزيل هذا {path} نهائيًا. ستفشل الوكلاء التي تشير إلى هذا القالب بالاسم حتى يُنشأ من جديد أو يحل محله قالب في مجلد أب."
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "هذا المشروع"
@@ -12171,10 +12193,6 @@ msgstr "للقيام به"
msgid "To do."
msgstr "للقيام به."
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "للإرسال"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "بدّل القائمة النقطية."
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "بدّل تنسيق الخط في المنتصف."
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "يبدّل اللوحة السفلية حيث توجد الطرفية. وإذا كان هناك نص محدد، فسيُجهَّز بدلاً من ذلك للذكاء الاصطناعي الذي تفضّله."
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "إظهار اللوحة السفلية أو إخفاؤها، حيث توجد الطرفية."
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "خطأ غير معروف"
msgid "unlink"
msgstr "فك الارتباط"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "إلغاء تحديد كل التعليقات"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "قائمة عناصر غير مرتّبة."
@@ -12958,6 +12980,10 @@ msgstr "عند التفعيل، يفتح الوكيل المعاينة أو يح
msgid "When the agent runs its scheduled work."
msgstr "متى ينفّذ الوكيل عمله المجدول."
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "عندما يكون تبويب التعليقات مفتوحًا"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "عند تمرير المؤشر فوق رابط خارجي، يُرسل رابطه إلى الموقع الوجهة لجلب بيانات معاينة الصفحة — طلب واحد لكل رابط معاين."
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index 0493395d1..6340a2260 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -150,7 +150,6 @@
"1njn7W": ["হালকা"],
"1nke1r": [["0"], " GitHub-এ খুলুন (নতুন ট্যাবে খোলে)"],
"1oSHI0": [["skillName"], " ইনস্টল করা যায়নি: ", ["0"]],
- "1oawp3": [["0"], "টি মন্তব্যের মধ্যে ", ["failed"], "টি মুছে ফেলা যায়নি।"],
"1t_NnN": ["প্রত্যাখ্যান করুন"],
"1u-mAI": ["সিঙ্ক শুরু করা যায়নি। আপনার সংযোগ দেখুন, তারপর আবার চেষ্টা করুন।"],
"1vn0CI": ["সার্ভারের প্রতিক্রিয়া অবৈধ"],
@@ -175,7 +174,6 @@
"2FnYUD": [
"অ্যাপ ও সিস্টেমের তথ্য, সাম্প্রতিক অ্যাপ লগ এবং প্রকল্পের সার্ভার লগ: সমস্যাটি পুনরায় ঘটাতে আমাদের যা যা দরকার।"
],
- "2FoHU3": ["মীমাংসা করুন"],
"2G-56b": ["markdownlint নিয়ম হালনাগাদ করতে ব্যর্থ"],
"2GT3Hf": ["বৈশ্বিক"],
"2H43L8": ["API কী ও টোকেনের মতো গোপন তথ্য নিজে থেকেই সরিয়ে ফেলা হয়।"],
@@ -300,7 +298,6 @@
"4E9jPa": ["আপনার প্রথম প্রকল্প তৈরি করুন"],
"4EZrJN": ["নিয়ম"],
"4ErgAf": ["OpenKnowledge একটি স্কিল ইনস্টল করেছে"],
- "4GWjF8": ["মন্তব্যগুলো কোথায় পাঠাতে হবে তা বোঝা যায়নি — সেগুলো এখনও অপেক্ষায়।"],
"4Gz2wC": ["ফাইল আপলোড করতে ব্যর্থ"],
"4KmEoC": ["হটকি"],
"4NC2Ym": ["পরবর্তী বা আগের টেবিল-ঘরে যান।"],
@@ -326,6 +323,7 @@
"4sKwf6": ["ফাইলটি আগে থেকেই আছে"],
"4sUdTJ": ["থিমযুক্ত প্রাকদর্শন"],
"4uNLmk": ["টানা হচ্ছে"],
+ "4uaCUA": [["mins"], "মি"],
"4v2Yyz": ["ফোকাস Files সাইডবারে থাকলে দৃশ্যমান প্রতিটি ফাইল-ট্রি সারি নির্বাচন করুন।"],
"4wo5UV": ["নির্বাচিতগুলো ইনস্টল করুন"],
"4xtLTl": ["লুকানো ফোল্ডার “", ["basename"], "”"],
@@ -343,6 +341,7 @@
"56WWtu": ["স্টার্টার প্যাক লোড করা যায়নি: ", ["error"]],
"56xUL1": ["প্রপার্টির নাম"],
"57fiu8": ["(শুধু পড়ার জন্য — আপাতত সোর্স মোডে সম্পাদনা করুন)"],
+ "58qIOK": ["এই নির্বাচিত অংশে মন্তব্য করুন"],
"5ALjdr": ["খোঁজার ফিল্ড থেকে দৃশ্য-সম্পাদকের খোঁজার ফলাফলগুলোর মধ্যে চলাচল করুন।"],
"5Ajb15": ["সূত্র <0>c = √(a² + b²)</0> ইনলাইনে রেন্ডার হয়।"],
"5AzM72": ["এই সেটিংটি প্রতি-মেশিন ভিত্তিক এবং সহযোগীদের সঙ্গে ভাগ করা হয় না।"],
@@ -379,6 +378,9 @@
"5aahsI": ["কিছুই নয় (", ["0"], " একটি বৈধ প্যাটার্ন নয়)"],
"5b3WD-": ["OpenKnowledge একটি চেকপয়েন্ট সংরক্ষণ করেছে"],
"5e1Dri": ["যে মেনু লেবেল দিয়ে এজেন্টরা এই টেমপ্লেটটি বাছে (আবশ্যক)।"],
+ "5ecEGe": [
+ "চেক করা মন্তব্যগুলো এক দফায় এজেন্টকে দিন। এই নথি-তে শুধু সেই নথির মন্তব্য; এই প্রকল্প-এ সব চেক করা মন্তব্য। মন্তব্য ট্যাব বন্ধ থাকলে কিছুই হয় না।"
+ ],
"5gr_ev": [
"কেউ এই টেমপ্লেট থেকে নথি তৈরি করলে এটিই সেই নথির বিষয়বস্তু হয়। আজকের তারিখ বা লেখকের নাম নিজে থেকে বসাতে <0>",
["dateToken"],
@@ -437,6 +439,7 @@
"6V3Ea3": ["কপি হয়েছে"],
"6VqW-1": [["keyName"], " সরান"],
"6WdDG7": ["পাতা"],
+ "6YBJ3m": ["নির্বাচিত অংশ নিয়ে AI-কে জিজ্ঞেস করুন"],
"6YtxFj": ["নাম"],
"6ZhdPI": ["এজেন্ট কী পড়তে, লিখতে ও সামনে আনতে পারে।"],
"6_ZOw4": ["পূর্ণ পথ কপি হয়েছে"],
@@ -569,11 +572,11 @@
"8fRyLo": ["অবৈধ প্যাচ পেলোড"],
"8fc_3j": ["সুরক্ষিত ব্রাঞ্চ — পাঠানো যায় না"],
"8k6INX": ["<0>", ["host"], "</0>-এর জন্য একটি ব্যক্তিগত প্রবেশ টোকেন পেস্ট করুন।"],
- "8kBLOT": ["ওই অ্যাপটি পাওয়া যাচ্ছে না — মন্তব্যগুলো এখনও পাঠানোর অপেক্ষায়।"],
"8lwQlE": [["0"], " যোগ হয়েছে, ", ["1"], " সরানো হয়েছে"],
"8m8diM": ["কোনো জায়গা নির্বাচিত নেই। ফোল্ডার বাছতে Browse ব্যবহার করুন।"],
"8nOdkO": ["মাঝে সারিবদ্ধ করুন"],
"8nWu1k": ["খালি চিত্র"],
+ "8oWgty": ["পাঠানোর জন্য সব মন্তব্য চিহ্নিত করুন"],
"8qgfac": ["MCP সার্ভার"],
"8ruqQi": ["ভাঙা অভ্যন্তরীণ লিংক"],
"8sMErm": ["Follow চালু করবেন?"],
@@ -773,6 +776,7 @@
"C0hoX6": ["সবসময় অন্তর্ভুক্ত"],
"C3Zc44": ["স্কিল ঘুরে দেখুন"],
"C62P6b": ["সম্পাদকের নির্বাচন"],
+ "C7PKTv": ["চেক করা মন্তব্য আলাপে পাঠান"],
"C7waqI": [["0", "plural", { "one": ["#", " নথি"], "other": ["#", " নথি"] }]],
"C9TBvF": ["কোনো বহির্গামী নেই"],
"CB7c0Z": ["সারিতে থাকা বার্তা সংরক্ষণ করুন"],
@@ -809,6 +813,7 @@
"ChAtFg": ["এই রিপোজিটরিতে পুশ করার অনুমতি আপনার নেই"],
"ChMshD": [["appName"], " থেকে প্রস্থান"],
"Ck9XRt": ["কী সংরক্ষণ করা যায়নি — অনুগ্রহ করে আবার চেষ্টা করুন।"],
+ "ClTEde": ["নির্বাচিত অংশ এজেন্ট প্যানেলে প্রস্তুত রাখুন, যোগ করে পাঠানোর জন্য তৈরি।"],
"CmeH9S": [["keyName"], "-এ প্রপার্টি যোগ করুন"],
"CnOGgs": ["সিঙ্ক মোড"],
"CoHvYd": [["0"], "-কে ", ["2"], "-এর মধ্যে ", ["1"], " অবস্থানে সরানো হয়েছে"],
@@ -1056,7 +1061,7 @@
"G0YZ-I": ["তালিকা আইটেম ভেতরে বা বাইরে নিন"],
"G1Gw0v": ["নতুন টেমপ্লেট"],
"G1XxbZ": ["চেকবক্স"],
- "G4-bgo": ["AI-কে জিজ্ঞেস করুন (নির্বাচন থেকে)"],
+ "G1zJlD": ["সমাধান হওয়া মন্তব্য লুকান"],
"G4m8rL": ["নির্বাচনের উপর মন্তব্য"],
"G6Lrs_": [["0"], "-কে এই স্কিলটি পড়া থেকে থামান"],
"G7-rf8": ["প্যাটার্নের বাক্যরীতি ত্রুটি: ", ["message"]],
@@ -1360,6 +1365,7 @@
"LXdWeS": ["মাঝারি বিভাগ শিরোনাম।"],
"LXfNU-": ["নেভিগেশন ও পরামর্শ"],
"LYufDw": ["অর্থভিত্তিক অনুসন্ধান চালু করতে ব্যর্থ — ", ["detail"]],
+ "LaskKp": ["আলাপে পাঠান (", ["0"], ")"],
"Lbl6KA": [["0"], " থেকে ইনস্টল করা যায়নি: ", ["1"]],
"LbmLyU": ["এই টুলের কনফিগ নিরাপদে সম্পাদনা করা যাচ্ছে না"],
"Lcehxn": ["মীমাংসা সংরক্ষণ করুন"],
@@ -1492,6 +1498,7 @@
"N55YNr": [
"বাছুন এই প্রকল্পের OpenKnowledge সেটআপ, তার AI-টুল সংযোগসহ, প্রকল্পের সঙ্গে সংরক্ষিত হবে যাতে সহকর্মীরাও তা পান, নাকি শুধু আপনার কম্পিউটারেই রাখা হবে।"
],
+ "NBdIgR": ["মন্তব্য করুন"],
"NCmYhK": [
"স্কিল এজেন্টদের পুনরাবৃত্তিযোগ্য কাজ শেখায়। সম্পাদকের Skills বিভাগ থেকে সেগুলো লিখুন ও সামলান; প্রতিটি স্কিলের ইনস্টল মেনু ঠিক করে সেটি কোথায় থাকবে। এগুলো এই প্রকল্পের স্কিল ফোল্ডার।"
],
@@ -1510,9 +1517,7 @@
"NRSLBe": [["diffMin"], " মিনিট আগে"],
"NSnIUP": ["দুই পাতা (জোড়)"],
"NUr4kz": ["এই ফোল্ডারে নতুন নথির জন্য একটি পুনর্ব্যবহারযোগ্য শুরুর বিন্দু।"],
- "NVtrN-": [
- "নিচের প্যানেল টগল করুন, যেখানে টার্মিনাল থাকে। টেক্সট নির্বাচিত থাকলে সেটি আপনার পছন্দের AI-এর জন্য প্রস্তুত করা হয়।"
- ],
+ "NUw7lo": ["নিচের প্যানেল দেখান বা লুকান, যেখানে টার্মিনাল থাকে।"],
"NYUhy5": ["উপ-ফোল্ডারের নাম"],
"NYn1cR": ["সম্পাদক লোড হচ্ছে"],
"NYu2Pt": ["নতুন প্রকল্প…"],
@@ -1525,6 +1530,7 @@
"NeY1Np": ["Slidev চালু হতে সময় শেষ হয়ে গেছে। আবার চেষ্টা করুন।"],
"NfraGd": ["Slidev ইনস্টল করার অন্যান্য উপায়"],
"NgZwB0": [["0"], "টির মধ্যে ", ["enabledCount"], "টি চালু"],
+ "NiGIcB": ["মন্তব্য খুলুন"],
"NjrIak": ["ফাইল: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": [["tag"], " সম্পাদনা করুন"],
"NkXEFS": ["ফিরিয়ে আনা ব্যর্থ — নথি অপরিবর্তিত"],
@@ -1534,11 +1540,11 @@
"NnQapF": ["AI ", ["targetDisplayName"], " দিয়ে খুলুন"],
"NoY1k4": ["সার্ভারের প্রতিক্রিয়ার গঠন অবৈধ"],
"NpC29w": ["বর্তমান তালিকা আইটেম থেকে একটি নতুন তালিকা আইটেম তৈরি করুন।"],
- "NpuPmi": ["পাঠানোর জন্য"],
"NrFwux": ["বিষয়বস্তুর নিয়ম সংরক্ষণ করতে ব্যর্থ — ", ["0"]],
"Ns0z5o": [
"আপনি কোনো প্রকাশিত স্কিল ইনস্টল করলে স্কিল ডিরেক্টরিকে (skills.sh) জানান যাতে তার ইনস্টল সংখ্যা সঠিক থাকে। এটি স্কিলের নাম, তার উৎস রিপোজিটরি, এবং সেটি কোন এজেন্ট টুলে গেছে তা পাঠায় — ফাইলের বিষয়বস্তু কখনও নয়, এবং কোনো ব্যক্তিগত, স্থানীয় বা হাতে লেখা উৎসের স্কিলের জন্য কখনও নয়। প্রতি মেশিনে প্রতি স্কিলের জন্য একবার।"
],
+ "Ns5f4J": ["সব মন্তব্যের চিহ্ন সরান"],
"Nu4DdT": ["সিঙ্ক"],
"Nu4oKW": ["বিবরণ"],
"NuH1jp": ["সর্বজনীন রিপোজিটরি"],
@@ -1598,6 +1604,7 @@
],
"Okd2Xv": ["নিম্নরেখার বিন্যাস চালু বা বন্ধ করুন।"],
"OlAl5i": ["সব মেলে ধরুন"],
+ "OlFVNr": ["নির্বাচিত অংশ নিয়ে AI-কে জিজ্ঞেস করুন"],
"Oo_WWc": ["কোনো পাতা পাওয়া যায়নি"],
"Oos8fo": ["কমান্ড কপি করুন"],
"OplnBG": ["এই বিল্ডে AI টুল সামলানো যায় না।"],
@@ -1667,7 +1674,6 @@
"PkeYXL": ["মেলে ধরা গ্রাফ মোড"],
"Pkw7J9": ["এই ফোল্ডারটি খালি।"],
"PlGC6r": ["git exclude ফাইলটি লেখার যোগ্য নয়"],
- "Pnvg8e": ["টার্মিনাল খোলা যায়নি — মন্তব্যগুলো এখনও পাঠানোর অপেক্ষায়।"],
"Pp0Vgd": [["label"], "-এ ইনস্টল করতে ক্লিক করুন"],
"PpJy-V": ["এন্ডপয়েন্ট সময়মতো সাড়া দেয়নি।"],
"PqYWiC": [
@@ -1696,6 +1702,7 @@
"QB-moX": ["এটি ভাগ করতে আপনার অন্য সম্পাদকগুলোতে (Claude Code, Cursor, Codex) ইনস্টল করুন।"],
"QDZbvN": [["diffDays"], " দিন আগে"],
"QHCx0c": ["বাগ রিপোর্টের ইতিহাস"],
+ "QIrBIx": ["সব ফাইল মেলে ধরুন"],
"QKgePK": [["editor"], "-কে উৎসের সঙ্গে মেলানো হয়েছে (এর বাইটের ব্যাকআপ নেওয়া আছে)"],
"QLgdT6": [["0"], " নামের যেকোনো নথি"],
"QM3SBZ": ["পরিকল্পনা (", ["done"], "/", ["0"], ")"],
@@ -1720,6 +1727,7 @@
"QlAG4m": ["আরও বলুন (ঐচ্ছিক)"],
"QlkiD5": ["নির্বাচিত লেখার উপর আবার বসান"],
"QlxHAH": ["\"", ["semanticResultsLabel"], "\"-এর ফলাফল দেখানো হচ্ছে"],
+ "Qpfxa1": [["secs"], "সে"],
"QqBQu1": ["লেবেল <0>(দৃশ্যমান লিংকের লেখা)</0>"],
"Quz_Qu": ["সম্পাদনা সঙ্গে সঙ্গে প্রয়োগ হয়। হালকা বা গাঢ় স্কিম থেকে আসে।"],
"Qvls7J": ["ইঞ্জিনিয়ারিং স্পেক"],
@@ -1728,6 +1736,7 @@
],
"QySH4I": ["শনাক্ত হওয়া OpenKnowledge প্রকল্প"],
"QyioBP": ["উপরে সরান"],
+ "QzofTX": ["এই প্রকল্পে এখনও কোনো মন্তব্য নেই। শুরু করতে কোনো অংশে মন্তব্য করুন।"],
"R0cyYB": [
[
"0",
@@ -1788,7 +1797,6 @@
"Rj01Fz": ["লিংক"],
"RlCInP": ["স্ল্যাশ কমান্ড"],
"RmBY0A": ["কোনো git রিমোট নেই"],
- "RmmhAh": ["পরে পাঠান"],
"RnrnTe": ["আগে থেকেই সেট আপ করা — ok আপনার টার্মিনালে আছে"],
"RoafuO": ["মতামত পাঠান"],
"RobAKV": ["গন্তব্য ও ঐচ্ছিক বিভাগ অ্যাংকর বদলান।"],
@@ -2128,6 +2136,7 @@
"XV5sC0": ["ওয়ার্কট্রি খুলুন"],
"XVnIvs": ["স্কিল ইনস্টল করুন"],
"XW18jo": ["পাতার শিরোনামের সাড়া সাফল্য স্কিমার সঙ্গে মেলেনি"],
+ "XWEqQj": [["days"], "দি"],
"XXA1b_": [["componentLabel"], " (খালি)"],
"XYlJJT": ["সেট আপ করা হচ্ছে"],
"XZkdtg": ["ব্রাঞ্চ বদলান"],
@@ -2222,7 +2231,6 @@
"Yy90sM": ["স্কিল \"", ["name"], "\" তৈরি হয়েছে"],
"YyXtnN": ["নিম্নরেখা"],
"Yzs3QX": ["স্কিলের আরও ক্রিয়া"],
- "YzyyG2": ["এখনও পাঠানোর কিছু নেই। এখানে যোগ করতে কোনো অংশে মন্তব্য করুন।"],
"Z0W6SO": [
"এই ফোল্ডারটি ",
["actualOwner"],
@@ -2257,7 +2265,6 @@
"ZBxvV3": ["নতুন টার্মিনাল"],
"ZDOq9A": ["আপনি যা ভাগ করেন তা OpenKnowledge দলের কাছে পাঠানো হয়।"],
"ZGVsOD": ["শেয়ার করার আগে এই ব্রাঞ্চটি GitHub-এ পুশ করুন।"],
- "ZHAM1l": ["পাঠানোয় অন্তর্ভুক্ত করুন"],
"ZI8uvA": ["কোনো সমস্যা পাওয়া যায়নি।"],
"ZJ99sD": ["বাঁয়ে কলাম যোগ করুন"],
"ZNK2Tq": ["রুট"],
@@ -2339,6 +2346,7 @@
"অন্য নথির একটি MirrorSource ব্লকের শুধু-পড়ার অনুলিপি। উৎসে সম্পাদনা করুন, এটি সঙ্গে সঙ্গে হালনাগাদ হয়।"
],
"_XWY2J": ["টার্মিনাল নিষ্ক্রিয়"],
+ "_YEyHO": ["সমাধান হওয়া মন্তব্য দেখান"],
"_YWqV2": ["OpenKnowledge একটি দ্বন্দ্ব সমাধান করেছে"],
"_ayOfA": [
"এমন একটি জ্ঞানভাণ্ডার যা Google-এর Open Knowledge Format মেনে চলে, অর্থাৎ আপনি যা জানেন তা গুছিয়ে রাখার একটি সাধারণ উপায়। আপনার নোট যদি এই ফরম্যাট বোঝে এমন অন্য টুলের সঙ্গেও ভালো কাজ করুক চান, তবে এটি বাছুন।"
@@ -2350,6 +2358,7 @@
"_gO_m8": ["আপনার অনুমোদনের অপেক্ষা"],
"_gkGSK": ["টেমপ্লেট মুছে ফেলা হয়েছে"],
"_mcDqU": ["এই উৎসে ", ["count"], "টি স্কিল"],
+ "_oqig9": [["hours"], "ঘ"],
"_pY_Vq": ["রিপোজিটরিটি সরানো হয়েছে, নাম বদলানো হয়েছে, বা মুছে ফেলা হয়েছে।"],
"_qD6mn": ["আপনি যেখানে এটি ক্লোন করেছেন সেই ফোল্ডারটি বাছুন।"],
"_rP3HI": [["minutes"], " মিনিট আগে"],
@@ -2357,7 +2366,6 @@
"_tjopj": ["প্রতিলিপি পেস্ট করুন"],
"_yB-24": ["যেকোনো ", ["0"], "/ ফোল্ডারের নিচের সবকিছু"],
"a-cKXz": ["পুরো সোর্স নির্বাচন করুন"],
- "a3H_MR": ["বর্তমান সম্পাদক নির্বাচনের জন্য Ask AI রচনাপট খুলুন ও তাতে ফোকাস করুন।"],
"a3LDKx": ["নিরাপত্তা"],
"a45f2c": ["এই স্কিমা যে গ্লোব প্যাটার্নগুলোর ক্ষেত্রে প্রযোজ্য"],
"a4FRQv": ["এই সম্পাদনা পর্যন্ত পূর্বাবস্থায় ফেরাবেন?"],
@@ -2641,7 +2649,6 @@
"emMrXQ": ["সার্ভার একটি ত্রুটিপূর্ণ গঠনের ডুপ্লিকেট প্রতিক্রিয়া ফেরত দিয়েছে।"],
"emgiet": ["প্রামাণিক বিষয়বস্তু; যেখানেই উল্লেখ করা হোক হুবহু প্রতিফলিত।"],
"enPTnx": ["লাইন ", ["displayLine"]],
- "eoEUI3": ["ওই মন্তব্যটি মীমাংসা করা যায়নি।"],
"epuNYK": [
"একটি ব্লককে সত্যের উৎস হিসেবে চিহ্নিত করুন। আপনি সেটি সম্পাদনা করার সঙ্গে সঙ্গে অন্য জায়গার মিররগুলো হালনাগাদ হয়।"
],
@@ -2691,6 +2698,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(বাইনারি ফাইল, প্রাকদর্শন করা যায় না)"],
"fevEu0": ["সর্বশেষ পরিবর্তন টানুন"],
+ "ffH3Rt": ["মন্তব্য যোগ করুন (Enter)"],
"fg1U4e": ["স্কিল খোঁজা <0>skills.sh</0> দ্বারা চালিত"],
"fhaxJL": ["ক্লোন ব্যর্থ — রেসপন্স বডি খালি"],
"fiMNLl": ["সিঙ্কের সেটিং এখনও লোড হয়নি — একটু পরে আবার চেষ্টা করুন"],
@@ -3106,7 +3114,6 @@
["4"],
" থেকে) যা আপনার সিস্টেমের বাকি অংশ স্পর্শ করবে না।"
],
- "l7X_SM": ["AI-কে পাঠান"],
"l87Deg": ["নতুন ট্যাব কী চালু করবে তা বেছে নিন"],
"l9s3IX": [["agentName"], " কথোপকথন শুরু করতে পারেনি।"],
"lAiyU_": ["কেবল বর্তমান নথিটিই <0>#", ["tag"], "</0> ব্যবহার করে।"],
@@ -3551,6 +3558,7 @@
],
"rwrPbS": ["কম্পোনেন্ট সীমানা নেভিগেশন"],
"rxWGWX": ["সামনে"],
+ "ryhHUm": ["যখন মন্তব্য ট্যাব খোলা থাকে"],
"s-MGs7": ["সম্পদ"],
"s-XOaI": ["ফাইলের নাম"],
"s-pW_v": ["ইনস্টল করা যায়নি: ", ["0"]],
@@ -3585,6 +3593,7 @@
"sNeKjP": ["টোকেন সংরক্ষণ করতে ব্যর্থ — আবার চেষ্টা করুন"],
"sOxZaS": ["গ্রাফ লোড করতে ব্যর্থ"],
"sQoLn0": ["প্রস্থান"],
+ "sR0I-f": ["সব ফাইল গুটিয়ে নিন"],
"sW5OjU": ["আবশ্যক"],
"sZ2IOu": [
"এই ",
@@ -3639,6 +3648,7 @@
"</0> বর্তমান কমিট থেকে তৈরি হবে, <1>.ok/worktrees/</1>-এর নিচে নিজের ওয়ার্কট্রিতে।"
],
"t6w1cq": ["একটি খালি সম্পাদক ট্যাব খুলুন।"],
+ "t7YoBO": ["এই মন্তব্যটি পাঠান"],
"t9Qn8y": ["কোনো এজেন্ট চালু নেই"],
"tA0b9E": ["ডিফল্ট স্কিল ফোল্ডার (সংরক্ষণের পর সঠিক পথটি দেখা যায়)"],
"tA2-xC": ["\"", ["0"], "\" আগেই যোগ করা হয়েছিল (একই বিষয়বস্তু)।"],
@@ -3712,7 +3722,6 @@
"u_lS4C": ["ক্লোন সম্পূর্ণ — প্রকল্প খোলা হচ্ছে"],
"uaUc6t": ["সার্ভার পুনরায় চালু করুন"],
"ubMwcO": ["টার্মিনাল সেশন শেষ হয়েছে (সংকেত ", ["0"], ")।"],
- "ubx-L3": ["পাঠানোর জন্য মন্তব্য"],
"ucXZ0k": ["এজেন্ট লোড হচ্ছে…"],
"ugQcJX": [
["display"],
@@ -3860,6 +3869,7 @@
"আপনি ~/Downloads বেছেছেন। সেখানকার ফাইল সাধারণত ক্ষণস্থায়ী — বদলে একটি স্থায়ী ফোল্ডার বিবেচনা করুন।"
],
"wndeIl": ["যেসব প্রকল্প-স্তরের পাতার আগত বা বহির্গামী কোনো গ্রাফ প্রান্তই নেই।"],
+ "wqD3pI": [["0"], "টির মধ্যে ", ["failed"], "টি মন্তব্য আপডেট করা যায়নি।"],
"ws5o1F": ["পরীক্ষা করেছেন: ", ["0"]],
"wtcxiD": ["এই সেটআপটি আপনার দলের সঙ্গে ভাগ করবেন?"],
"wvK7Ay": ["ব্রাঞ্চ <0>", ["branch"], "</0>-এর আপনার স্থানীয় অনুলিপি পিছিয়ে আছে।"],
@@ -4025,7 +4035,6 @@
"zL0LPh": ["লেখার ফিল্ডের বাইরে বৈশ্বিক"],
"zLGXna": ["কোনো স্টার্টার প্যাক নেই।"],
"zLak8b": ["নতুন ট্যাব সক্রিয় করুন"],
- "zO-IiA": ["টার্মিনাল এখানে পাওয়া যাচ্ছে না — মন্তব্যগুলো এখনও পাঠানোর অপেক্ষায়।"],
"zQBg2C": ["বর্তমান ব্লকটি এক ধাপ উপরে বা নিচে সরান।"],
"zXj1rA": ["অর্থ অনুযায়ী খুঁজুন"],
"zYp8Sr": [
@@ -4041,7 +4050,6 @@
"zkz0Fg": ["সিঙ্ক সেট আপ করুন"],
"zlErBl": ["পাতার শিরোনামের ত্রুটি সাড়া RFC 9457-এর সঙ্গে মেলেনি"],
"zo3Dl7": ["থাম্বনেইল চালু বা বন্ধ করুন"],
- "zovxVp": ["পাঠানোর জন্য প্রস্তুত"],
"zpfN9p": ["এখনও কোনো মন্তব্য নেই। একটি যোগ করতে নথিতে লেখা নির্বাচন করুন।"],
"zq2eBA": ["সোর্সে দেখুন"],
"zrP8HX": [
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index 9cb4a1f14..869a746d7 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} {destination}-এর উপরে রয়েছে।"
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} এখনও ইনস্টল করা নেই — এর ডাউনলোড পাতা খোলা হচ্ছে।"
@@ -506,6 +504,10 @@ msgstr "এই উৎসে {count}টি স্কিল"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {# দিন আগে} other {# দিন আগে}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}দি"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days} দিন আগে"
@@ -546,7 +548,6 @@ msgstr "{display} একটি স্বতন্ত্র অনুলিপি
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) ইনস্টল করা নেই বা আপনার PATH-এ নেই।"
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{0}টির মধ্যে {enabledCount}টি চালু"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{0}টি মন্তব্যের মধ্যে {failed}টি মুছে ফেলা যায়নি।"
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{0}টির মধ্যে {failed}টি মন্তব্য আপডেট করা যায়নি।"
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {ফোল্ডার} other {ফোল্ড
msgid "{formatted} GitHub stars"
msgstr "{formatted}টি GitHub স্টার"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}ঘ"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {# মিনিট আগে} other {# মিনিট আগে}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}মি"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} মিনিট আগে"
@@ -736,6 +745,10 @@ msgstr "{propPanelDescriptorLabel} প্রপার্টি"
msgid "{seconds}s ago"
msgstr "{seconds} সেকেন্ড আগে"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}সে"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "{settingsDescriptorLabel} প্রপার্টি"
@@ -1182,6 +1195,10 @@ msgstr "অন্তত একটি অক্ষর বা সংখ্যা
msgid "Add Comment"
msgstr "মন্তব্য যোগ করুন"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "মন্তব্য যোগ করুন (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "CodeMirror-এর মাধ্যমে কার্সর যোগ করুন বা মিলে যাওয়া উপস্থিতিগুলো নির্বাচন করুন।"
@@ -1593,7 +1610,6 @@ msgstr "{0} CLI-কে জিজ্ঞেস করুন"
msgid "Ask {agentName}"
msgstr "{agentName}-কে জিজ্ঞেস করুন"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1603,8 +1619,12 @@ msgid "Ask AI"
msgstr "AI-কে জিজ্ঞেস করুন"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "AI-কে জিজ্ঞেস করুন (নির্বাচন থেকে)"
+msgid "Ask AI about selection"
+msgstr "নির্বাচিত অংশ নিয়ে AI-কে জিজ্ঞেস করুন"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "নির্বাচিত অংশ নিয়ে AI-কে জিজ্ঞেস করুন"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2112,7 +2132,6 @@ msgstr "পরীক্ষা করেছেন: {0}"
msgid "Checking"
msgstr "পরীক্ষা করা হচ্ছে"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "এজেন্ট খোঁজা হচ্ছে"
@@ -2191,7 +2210,7 @@ msgstr "আইকন বেছে নিন"
msgid "Choose what a new tab starts"
msgstr "নতুন ট্যাব কী চালু করবে তা বেছে নিন"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "এই মন্তব্যগুলো কোথায় পাঠাবেন তা বাছুন"
@@ -2227,7 +2246,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "পরিষ্কারের লগ"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2349,7 +2367,7 @@ msgstr "{repoName} ক্লোন করা হচ্ছে…"
msgid "Cloning..."
msgstr "ক্লোন করা হচ্ছে…"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2485,6 +2503,10 @@ msgstr "সব গুটিয়ে নিন"
msgid "Collapse all file groups"
msgstr "সব ফাইল গোষ্ঠী গুটিয়ে নিন"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "সব ফাইল গুটিয়ে নিন"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Ask AI গুটিয়ে নিন"
@@ -2533,6 +2555,10 @@ msgstr "কমান্ড"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "কমান্ডগুলো এই মেশিনে আপনার macOS ব্যবহারকারী অ্যাকাউন্টের পূর্ণ অধিকার নিয়ে চলে। শেল নিষ্ক্রিয় করতে এটি বন্ধ করুন।"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "মন্তব্য করুন"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "{address}-এ মন্তব্য"
@@ -2541,6 +2567,10 @@ msgstr "{address}-এ মন্তব্য"
msgid "Comment on selection"
msgstr "নির্বাচনের উপর মন্তব্য"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "এই নির্বাচিত অংশে মন্তব্য করুন"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2551,15 +2581,11 @@ msgid "Comment or ask AI about this code block"
msgstr "এই কোড ব্লক নিয়ে মন্তব্য করুন বা AI-কে জিজ্ঞাসা করুন"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "মন্তব্য"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "পাঠানোর জন্য মন্তব্য"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "বদলাতে পরিবর্তন কমিট বা স্ট্যাশ করুন:"
@@ -3312,10 +3338,6 @@ msgstr "নথি খোলা যায়নি"
msgid "Couldn't open the terminal — please try again."
msgstr "টার্মিনাল খোলা যায়নি — অনুগ্রহ করে আবার চেষ্টা করুন।"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "টার্মিনাল খোলা যায়নি — মন্তব্যগুলো এখনও পাঠানোর অপেক্ষায়।"
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "ওয়ার্কট্রি খোলা যায়নি। আবার চেষ্টা করুন।"
@@ -3409,10 +3431,6 @@ msgstr "টেমপ্লেটের নাম বদলানো যায়
msgid "Couldn't reopen that comment."
msgstr "ওই মন্তব্যটি আবার খোলা যায়নি।"
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "ওই মন্তব্যটি মীমাংসা করা যায়নি।"
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "{filePath}-এর দ্বন্দ্ব মীমাংসা করা যায়নি।"
@@ -3539,10 +3557,6 @@ msgstr "স্কিল ভাগাভাগি হালনাগাদ কর
msgid "Couldn't update skills sharing — {detail}."
msgstr "স্কিল ভাগাভাগি হালনাগাদ করা যায়নি — {detail}।"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "মন্তব্যগুলো কোথায় পাঠাতে হবে তা বোঝা যায়নি — সেগুলো এখনও অপেক্ষায়।"
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "স্কিল ইনস্টলের সংখ্যা প্রকাশ্যে গণনা করুন"
@@ -3887,7 +3901,7 @@ msgstr "টেবিল মুছুন"
msgid "Delete this chat?"
msgstr "এই চ্যাট মুছবেন?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "এই মন্তব্যটি মুছুন"
@@ -4194,8 +4208,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "<0>Skills</0> দেখতে পাচ্ছেন না? আগে <1>Settings <2/> Capabilities <3/> Code execution and file creation</1> চালু করুন।"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "এই মন্তব্যটি পাঠাবেন না"
@@ -4385,7 +4398,7 @@ msgstr "সোর্স সম্পাদনা করুন"
msgid "Edit source pane and code property fields"
msgstr "সোর্স প্যানেল ও কোড প্রপার্টি ফিল্ড সম্পাদনা করুন"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "এই মন্তব্যটি সম্পাদনা করুন"
@@ -4714,6 +4727,10 @@ msgstr "সব মেলে ধরুন"
msgid "Expand all file groups"
msgstr "সব ফাইল গোষ্ঠী মেলে ধরুন"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "সব ফাইল মেলে ধরুন"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "গ্রাফ মেলে ধরুন"
@@ -5561,7 +5578,6 @@ msgstr "{1}-এ লাইন {0}-এ যান"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "{0}-এ এই মন্তব্যে যান"
@@ -5594,6 +5610,10 @@ msgstr "আপনার AI এজেন্টদের এখানে কীভ
msgid "guides/install or https://example.com"
msgstr "guides/install বা https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "চেক করা মন্তব্যগুলো এক দফায় এজেন্টকে দিন। এই নথি-তে শুধু সেই নথির মন্তব্য; এই প্রকল্প-এ সব চেক করা মন্তব্য। মন্তব্য ট্যাব বন্ধ থাকলে কিছুই হয় না।"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "কঠিন বিরতি"
@@ -5767,10 +5787,14 @@ msgstr "সমস্যার সূচক লুকান"
msgid "Hide replace"
msgstr "বদলানো লুকান"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "মীমাংসিত লুকান"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "সমাধান হওয়া মন্তব্য লুকান"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "নির্বাচনের প্রাকদর্শন লুকান"
@@ -5979,10 +6003,6 @@ msgstr "অ্যাপে (বিটা)"
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App-এ"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "পাঠানোয় অন্তর্ভুক্ত করুন"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "পরের বার পাঠানোর সময় এই মন্তব্যটি অন্তর্ভুক্ত করুন"
@@ -6340,7 +6360,7 @@ msgstr "পাতা {pageNumber}-এ যান"
msgid "Jump to tab 1-8"
msgstr "ট্যাব ১-৮-এ যান"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "অ্যাংকর করা লেখায় যান"
@@ -6795,6 +6815,10 @@ msgstr "স্থাপত্যের মানচিত্র আঁকুন"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "একটি ব্লককে সত্যের উৎস হিসেবে চিহ্নিত করুন। আপনি সেটি সম্পাদনা করার সঙ্গে সঙ্গে অন্য জায়গার মিররগুলো হালনাগাদ হয়।"
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "পাঠানোর জন্য সব মন্তব্য চিহ্নিত করুন"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7351,7 +7375,7 @@ msgstr "এখনও কোনো এজেন্ট সেট আপ করা
msgid "No agents available."
msgstr "কোনো এজেন্ট নেই।"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "কোনো এজেন্ট চালু নেই"
@@ -7384,6 +7408,10 @@ msgstr "কোনো পরিবর্তন নেই"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "এই ওয়ার্কট্রির জন্য কোনো সহযোগিতা সার্ভার নেই — এখানে <0>ok start</0> চালান, নয়তো প্রকল্পটি আবার খুলুন।"
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "এই প্রকল্পে এখনও কোনো মন্তব্য নেই। শুরু করতে কোনো অংশে মন্তব্য করুন।"
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "এখনও কোনো মন্তব্য নেই। একটি যোগ করতে নথিতে লেখা নির্বাচন করুন।"
@@ -7738,10 +7766,6 @@ msgstr "কিছুই নয় ({0} একটি বৈধ প্যাটা
msgid "Nothing set yet."
msgstr "এখনও কিছুই নির্ধারিত হয়নি।"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "এখনও পাঠানোর কিছু নেই। এখানে যোগ করতে কোনো অংশে মন্তব্য করুন।"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "কিছুই আপলোড হয়নি। আপনি আমাদের ইমেইল না করা পর্যন্ত রিপোর্টটি এই Mac-এই থাকে।"
@@ -7940,10 +7964,6 @@ msgstr "এজেন্ট প্যানেল খুলুন"
msgid "Open an existing project folder from disk."
msgstr "ডিস্ক থেকে একটি বিদ্যমান প্রকল্প ফোল্ডার খুলুন।"
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "বর্তমান সম্পাদক নির্বাচনের জন্য Ask AI রচনাপট খুলুন ও তাতে ফোকাস করুন।"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "নিচের Ask AI প্রম্পট রচনাপট খুলুন ও তাতে ফোকাস করুন।"
@@ -7964,6 +7984,10 @@ msgstr "CodeMirror-এর lint নির্ণয় প্যানেল খ
msgid "Open comment"
msgstr "মন্তব্য খুলুন"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "মন্তব্য খুলুন"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "যে ফোল্ডারে আছে সেটি খুলুন"
@@ -8432,7 +8456,7 @@ msgstr "মূল ফাইল — এই এজেন্টের সম্প
msgid "Orphan mode"
msgstr "অনাথ মোড"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "অনাথ"
@@ -9098,7 +9122,7 @@ msgstr "GitHub Enterprise Server-এর সঙ্গে আবার প্র
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "অনুসন্ধান চলার সঙ্গে সঙ্গেই পুনরায় এমবেড হয়, তাই আওতা শূন্য থেকে আবার শুরু হয়ে ভরে ওঠে।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "নির্বাচিত লেখার উপর আবার বসান"
@@ -9126,10 +9150,6 @@ msgstr "{name} স্কিলের শুধু-পড়ার ফাইল"
msgid "Reading…"
msgstr "পড়া হচ্ছে…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "পাঠানোর জন্য প্রস্তুত"
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "দ্রুত শুরু করার জন্য তৈরি ফোল্ডার ও টেমপ্লেট।"
@@ -9466,7 +9486,7 @@ msgstr "রেন্ডার ত্রুটি"
msgid "Rendered"
msgstr "রেন্ডার করা"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "আবার খুলুন"
@@ -9632,10 +9652,6 @@ msgstr "দৃশ্যের ছাঁকনি রিসেট করুন"
msgid "Resize {handleKey}"
msgstr "{handleKey}-এর আকার বদলান"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "মীমাংসা করুন"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "আপনার টার্মিনালে দ্বন্দ্ব মীমাংসা করুন"
@@ -9648,7 +9664,7 @@ msgstr "মোছার আগে {files}-এর দ্বন্দ্ব মি
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "মোছার আগে {files} এবং আরও {overflow}টি ফাইলের দ্বন্দ্ব মিটিয়ে নিন।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "মীমাংসিত"
@@ -10187,7 +10203,7 @@ msgstr "পরবর্তী উপস্থিতি নির্বাচন
msgid "Select the full source document."
msgstr "পুরো সোর্স নথিটি নির্বাচন করুন।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "প্রপার্টিতে এই লেখাটি নির্বাচন করুন"
@@ -10240,6 +10256,10 @@ msgstr "পাঠান"
msgid "Send & continue"
msgstr "পাঠিয়ে চালিয়ে যান"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "চেক করা মন্তব্য আলাপে পাঠান"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "মন্তব্য পাঠান"
@@ -10253,22 +10273,23 @@ msgstr "মতামত পাঠান"
msgid "Send feedback…"
msgstr "মতামত পাঠান…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "পরে পাঠান"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "রিপোর্ট পাঠান"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "AI-কে পাঠান"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "এই মন্তব্যটি পাঠান"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "আলাপে পাঠান"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "আলাপে পাঠান ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "এজেন্ট মুক্ত হলে পাঠান"
@@ -10654,10 +10675,14 @@ msgid "Show replace"
msgstr "বদলানো দেখান"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "মীমাংসিত দেখান ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "সমাধান হওয়া মন্তব্য দেখান"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "নির্বাচনের প্রাকদর্শন দেখান"
@@ -10957,6 +10982,10 @@ msgstr "সোর্সে পূর্বাবস্থা বা পুনর
msgid "Split list item"
msgstr "তালিকা আইটেম ভাগ করুন"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "নির্বাচিত অংশ এজেন্ট প্যানেলে প্রস্তুত রাখুন, যোগ করে পাঠানোর জন্য তৈরি।"
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "GitHub-এ আমাদের স্টার দিন"
@@ -10978,7 +11007,7 @@ msgstr "{agentName} শুরু করুন, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "+ বোতাম দিয়ে চ্যাট শুরু করুন, বা কোনো পৃষ্ঠা থেকে এজেন্ট চালু করুন।"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "একটি নতুন আলাপ শুরু করুন"
@@ -11540,10 +11569,6 @@ msgstr "মতামতের জন্য ধন্যবাদ!"
msgid "Thanks for the report!"
msgstr "রিপোর্টের জন্য ধন্যবাদ!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "ওই অ্যাপটি পাওয়া যাচ্ছে না — মন্তব্যগুলো এখনও পাঠানোর অপেক্ষায়।"
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11594,7 +11619,7 @@ msgstr "এজেন্ট থামছে না। ফোর্স স্ট
msgid "The agent's persona, values, and voice."
msgstr "এজেন্টের ব্যক্তিত্ব, মূল্যবোধ ও স্বর।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "অ্যাংকর করা লেখাটি আর নেই। আপনি এটি নির্বাচিত লেখার উপর আবার বসাতে পারেন।"
@@ -11745,10 +11770,6 @@ msgstr "টেমপ্লেটের ফাইলের নাম (`.md` ছ
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "এই প্রকল্পের জন্য টার্মিনাল বন্ধ। এখানে কমান্ড চালাতে সেটি আবার চালু করুন।"
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "টার্মিনাল এখানে পাওয়া যাচ্ছে না — মন্তব্যগুলো এখনও পাঠানোর অপেক্ষায়।"
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11873,7 +11894,7 @@ msgstr "এই ব্রাঞ্চটি এখানে চেক আউট
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "এটি Settings > AI tools & CLI-তে কনফিগার করা যায়"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "এই মন্তব্যটি পুরো প্রপার্টির উপর"
@@ -12033,6 +12054,7 @@ msgstr "এটি “{2}” স্কিল থেকে {0}/{1} স্থায
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "এটি {path}-কে স্থায়ীভাবে সরিয়ে দেয়। যেসব এজেন্ট এই টেমপ্লেটটি নাম ধরে উল্লেখ করে সেগুলো এটি আবার তৈরি না হওয়া বা কোনো মূল ফোল্ডারের টেমপ্লেট এর জায়গা না নেওয়া পর্যন্ত ব্যর্থ হবে।"
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "এই প্রকল্প"
@@ -12167,10 +12189,6 @@ msgstr "করণীয়"
msgid "To do."
msgstr "করণীয়।"
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "পাঠানোর জন্য"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "বুলেট তালিকা চালু বা বন্ধ করুন।"
@@ -12246,8 +12264,8 @@ msgid "Toggle strikethrough formatting."
msgstr "কাটা দাগের বিন্যাস চালু বা বন্ধ করুন।"
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "নিচের প্যানেল টগল করুন, যেখানে টার্মিনাল থাকে। টেক্সট নির্বাচিত থাকলে সেটি আপনার পছন্দের AI-এর জন্য প্রস্তুত করা হয়।"
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "নিচের প্যানেল দেখান বা লুকান, যেখানে টার্মিনাল থাকে।"
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12499,6 +12517,10 @@ msgstr "অজানা ত্রুটি"
msgid "unlink"
msgstr "আনলিংক করুন"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "সব মন্তব্যের চিহ্ন সরান"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "আইটেমের অক্রমিক তালিকা।"
@@ -12954,6 +12976,10 @@ msgstr "চালু থাকলে এজেন্ট প্রতিটি
msgid "When the agent runs its scheduled work."
msgstr "এজেন্ট কখন তার নির্ধারিত কাজ চালায়।"
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "যখন মন্তব্য ট্যাব খোলা থাকে"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "আপনি কোনো বাইরের লিংকের উপর মাউস নিলে পাতার প্রাকদর্শনের মেটাডেটা আনতে তার URL গন্তব্য সাইটে পাঠানো হয় — প্রতি প্রাকদর্শিত লিংকে একটি অনুরোধ।"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index b183713ff..a53a66419 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -154,7 +154,6 @@
"1njn7W": ["Light"],
"1nke1r": ["Open ", ["0"], " on GitHub (opens in a new tab)"],
"1oSHI0": ["Couldn't install ", ["skillName"], ": ", ["0"]],
- "1oawp3": [["failed"], " of ", ["0"], " comments could not be cleared."],
"1t_NnN": ["Reject"],
"1u-mAI": ["Couldn't start the sync. Check your connection, then retry."],
"1vn0CI": ["Invalid server response"],
@@ -179,7 +178,6 @@
"2FnYUD": [
"App & system info, recent app logs, and project server logs: the essentials we need to reproduce the issue."
],
- "2FoHU3": ["Resolve"],
"2G-56b": ["Failed to update markdownlint rules"],
"2GT3Hf": ["Global"],
"2H43L8": ["Secrets like API keys and tokens are redacted automatically."],
@@ -309,7 +307,6 @@
"4E9jPa": ["Create your first project"],
"4EZrJN": ["Rules"],
"4ErgAf": ["OpenKnowledge installed a skill"],
- "4GWjF8": ["Couldn't work out where to send the comments — they're still waiting."],
"4Gz2wC": ["Failed to upload file"],
"4KmEoC": ["Hotkeys"],
"4NC2Ym": ["Move to the next or previous table cell."],
@@ -335,6 +332,7 @@
"4sKwf6": ["File already exists"],
"4sUdTJ": ["themed preview"],
"4uNLmk": ["Pulling"],
+ "4uaCUA": [["mins"], "m"],
"4v2Yyz": ["Select every visible file-tree row when focus is in the Files sidebar."],
"4wo5UV": ["Install selected"],
"4xtLTl": ["Hidden folder “", ["basename"], "”"],
@@ -352,6 +350,7 @@
"56WWtu": ["Couldn't load starter packs: ", ["error"]],
"56xUL1": ["Property name"],
"57fiu8": ["(read-only — edit in source mode for now)"],
+ "58qIOK": ["Comment on this selection"],
"5ALjdr": ["Move through visual-editor find results from the find field."],
"5Ajb15": ["The formula <0>c = √(a² + b²)</0> renders inline."],
"5AzM72": ["This setting is per-machine and isn't shared with collaborators."],
@@ -388,6 +387,9 @@
"5aahsI": ["nothing (", ["0"], " is not a valid pattern)"],
"5b3WD-": ["OpenKnowledge saved a checkpoint"],
"5e1Dri": ["The menu label agents pick this template by (required)."],
+ "5ecEGe": [
+ "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+ ],
"5gr_ev": [
"Becomes the document's content when someone creates a doc from this template. Type <0>",
["dateToken"],
@@ -452,6 +454,7 @@
"6V3Ea3": ["Copied"],
"6VqW-1": ["Remove ", ["keyName"]],
"6WdDG7": ["Page"],
+ "6YBJ3m": ["Ask AI about selection"],
"6YtxFj": ["Name"],
"6ZhdPI": ["What the agent may read, write, and surface."],
"6_ZOw4": ["Copied full path"],
@@ -596,11 +599,11 @@
"8fRyLo": ["Invalid patch payload"],
"8fc_3j": ["Protected branch — cannot push"],
"8k6INX": ["Paste a personal access token for <0>", ["host"], "</0>."],
- "8kBLOT": ["That app isn't available — the comments are still waiting to send."],
"8lwQlE": [["0"], " added, ", ["1"], " removed"],
"8m8diM": ["No location selected. Use Browse to choose a folder."],
"8nOdkO": ["Align center"],
"8nWu1k": ["Empty diagram"],
+ "8oWgty": ["Mark every comment to send"],
"8qgfac": ["MCP servers"],
"8ruqQi": ["Broken internal links"],
"8sMErm": ["Enable Follow?"],
@@ -811,6 +814,7 @@
"C0hoX6": ["Always included"],
"C3Zc44": ["Explore skills"],
"C62P6b": ["Editor selection"],
+ "C7PKTv": ["Send checked comments to chat"],
"C7waqI": [["0", "plural", { "one": ["#", " document"], "other": ["#", " documents"] }]],
"C9TBvF": ["No Outgoing"],
"CB7c0Z": ["Save queued message"],
@@ -847,6 +851,7 @@
"ChAtFg": ["You don't have permission to push to this repo"],
"ChMshD": ["Quit ", ["appName"]],
"Ck9XRt": ["Couldn't save the key — please try again."],
+ "ClTEde": ["Stage the selected passage in the agents panel, ready to extend and send."],
"CmeH9S": ["Add property to ", ["keyName"]],
"CnOGgs": ["Sync mode"],
"CoHvYd": ["Moved ", ["0"], " to position ", ["1"], " of ", ["2"]],
@@ -1094,7 +1099,7 @@
"G0YZ-I": ["Indent or outdent list item"],
"G1Gw0v": ["New template"],
"G1XxbZ": ["Checkbox"],
- "G4-bgo": ["Ask AI (from selection)"],
+ "G1zJlD": ["Hide resolved comments"],
"G4m8rL": ["Comment on selection"],
"G6Lrs_": ["Stop ", ["0"], " reading this skill"],
"G7-rf8": ["Pattern syntax error: ", ["message"]],
@@ -1413,6 +1418,7 @@
"LXdWeS": ["Medium section heading."],
"LXfNU-": ["Navigation and suggestions"],
"LYufDw": ["Failed to enable semantic search — ", ["detail"]],
+ "LaskKp": ["Send to chat (", ["0"], ")"],
"Lbl6KA": ["Couldn't install from ", ["0"], ": ", ["1"]],
"LbmLyU": ["Can't safely edit this tool's config"],
"Lcehxn": ["Save resolution"],
@@ -1554,6 +1560,7 @@
"N55YNr": [
"Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."
],
+ "NBdIgR": ["Comment"],
"NCmYhK": [
"Skills teach agents repeatable tasks. Author and manage them from the Skills section in the editor; each skill's install menu controls where it lives. These are this project's skill folders."
],
@@ -1572,9 +1579,7 @@
"NRSLBe": [["diffMin"], "m ago"],
"NSnIUP": ["Two-page (even)"],
"NUr4kz": ["A reusable starting point for new documents in this folder."],
- "NVtrN-": [
- "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
- ],
+ "NUw7lo": ["Toggle the bottom dock, where the terminal lives."],
"NYUhy5": ["Subfolder name"],
"NYn1cR": ["Loading editor"],
"NYu2Pt": ["New project…"],
@@ -1587,6 +1592,7 @@
"NeY1Np": ["Slidev timed out while starting. Try again."],
"NfraGd": ["Other ways to install Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " on"],
+ "NiGIcB": ["Open Comments"],
"NjrIak": ["File: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["Edit ", ["tag"]],
"NkXEFS": ["Restore failed — document unchanged"],
@@ -1596,11 +1602,11 @@
"NnQapF": ["Open with AI ", ["targetDisplayName"]],
"NoY1k4": ["Invalid server response shape"],
"NpC29w": ["Create a new list item from the current list item."],
- "NpuPmi": ["To send"],
"NrFwux": ["Failed to save content rules — ", ["0"]],
"Ns0z5o": [
"When you install a published skill, tell the skill directory (skills.sh) so its install count is accurate. Sends the skill name, its source repository, and which agent tools it went to — never file contents, and never for a skill from a private, local, or hand-typed source. Once per skill per machine."
],
+ "Ns5f4J": ["Unmark every comment"],
"Nu4DdT": ["Sync"],
"Nu4oKW": ["Description"],
"NuH1jp": ["Public repository"],
@@ -1660,6 +1666,7 @@
],
"Okd2Xv": ["Toggle underline formatting."],
"OlAl5i": ["Expand all"],
+ "OlFVNr": ["Ask AI About Selection"],
"Oo_WWc": ["No pages found"],
"Oos8fo": ["Copy command"],
"OplnBG": ["Managing AI tools is unavailable in this build."],
@@ -1727,7 +1734,6 @@
"PkeYXL": ["Expanded graph mode"],
"Pkw7J9": ["This folder is empty."],
"PlGC6r": ["the git exclude file isn't writable"],
- "Pnvg8e": ["Couldn't open the terminal — the comments are still waiting to send."],
"Pp0Vgd": ["Click to install in ", ["label"]],
"PpJy-V": ["The endpoint didn't respond in time."],
"PqYWiC": [
@@ -1757,6 +1763,7 @@
"QB-moX": ["Install it to your other editors (Claude Code, Cursor, Codex) to share it."],
"QDZbvN": [["diffDays"], "d ago"],
"QHCx0c": ["Bug report history"],
+ "QIrBIx": ["Expand all files"],
"QKgePK": ["Aligned ", ["editor"], " to the source (its bytes are backed up)"],
"QLgdT6": ["any doc named ", ["0"]],
"QM3SBZ": ["Plan (", ["done"], "/", ["0"], ")"],
@@ -1780,6 +1787,7 @@
"QlAG4m": ["Tell us more (optional)"],
"QlkiD5": ["Re-place on selected text"],
"QlxHAH": ["Showing results for \"", ["semanticResultsLabel"], "\""],
+ "Qpfxa1": [["secs"], "s"],
"QqBQu1": ["Label <0>(visible link text)</0>"],
"Quz_Qu": ["Edits apply live. Light or dark comes from the scheme."],
"Qvls7J": ["Eng specs"],
@@ -1788,6 +1796,7 @@
],
"QySH4I": ["Detected OpenKnowledge projects"],
"QyioBP": ["Move up"],
+ "QzofTX": ["No comments in this project yet. Comment on a passage to start one."],
"R0cyYB": [
[
"0",
@@ -1848,7 +1857,6 @@
"Rj01Fz": ["Links"],
"RlCInP": ["Slash commands"],
"RmBY0A": ["No git remote"],
- "RmmhAh": ["Send later"],
"RnrnTe": ["Already set up — ok is available in your terminal"],
"RoafuO": ["Send feedback"],
"RobAKV": ["Update the destination and optional section anchor."],
@@ -2191,6 +2199,7 @@
"XV5sC0": ["Open worktree"],
"XVnIvs": ["Install skills"],
"XW18jo": ["Page headings response did not match success schema"],
+ "XWEqQj": [["days"], "d"],
"XXA1b_": [["componentLabel"], " (empty)"],
"XYlJJT": ["Setting up"],
"XZkdtg": ["Switch branch"],
@@ -2286,7 +2295,6 @@
"Yy90sM": ["Skill \"", ["name"], "\" created"],
"YyXtnN": ["Underline"],
"Yzs3QX": ["More skill actions"],
- "YzyyG2": ["Nothing to send yet. Comment on a passage to add it here."],
"Z0W6SO": [
"This folder is a clone of ",
["actualOwner"],
@@ -2321,7 +2329,6 @@
"ZBxvV3": ["New Terminal"],
"ZDOq9A": ["What you share is sent to the OpenKnowledge team."],
"ZGVsOD": ["Push this branch to GitHub before sharing."],
- "ZHAM1l": ["Include in dispatch"],
"ZI8uvA": ["No problems found."],
"ZJ99sD": ["Insert column left"],
"ZNK2Tq": ["root"],
@@ -2403,6 +2410,7 @@
"Read-only copy of a MirrorSource block from another doc. Edit at the source and it updates live."
],
"_XWY2J": ["Terminal disabled"],
+ "_YEyHO": ["Show resolved comments"],
"_YWqV2": ["OpenKnowledge resolved a conflict"],
"_ayOfA": [
"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."
@@ -2414,6 +2422,7 @@
"_gO_m8": ["Waiting for your approval"],
"_gkGSK": ["deleted template"],
"_mcDqU": [["count"], " skills at this source"],
+ "_oqig9": [["hours"], "h"],
"_pY_Vq": ["The repository was moved, renamed, or deleted."],
"_qD6mn": ["Pick the folder where you've cloned it."],
"_rP3HI": [["minutes"], "m ago"],
@@ -2421,7 +2430,6 @@
"_tjopj": ["Paste duplicate"],
"_yB-24": ["everything under any ", ["0"], "/ folder"],
"a-cKXz": ["Select all source"],
- "a3H_MR": ["Open and focus the Ask AI composer for the current editor selection."],
"a3LDKx": ["Security"],
"a45f2c": ["Glob patterns this schema applies to"],
"a4FRQv": ["Undo to this edit?"],
@@ -2725,7 +2733,6 @@
"emMrXQ": ["Server returned a malformed duplicate response."],
"emgiet": ["Authoritative content; mirrored verbatim everywhere it's referenced."],
"enPTnx": ["line ", ["displayLine"]],
- "eoEUI3": ["Couldn't resolve that comment."],
"epuNYK": [
"Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
],
@@ -2775,6 +2782,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(binary file, not previewable)"],
"fevEu0": ["Pull latest changes"],
+ "ffH3Rt": ["Add Comment (Enter)"],
"fg1U4e": ["Skill discovery powered by <0>skills.sh</0>"],
"fhaxJL": ["Clone failed — empty response body"],
"fiMNLl": ["Sync settings not yet loaded — try again in a moment"],
@@ -3214,7 +3222,6 @@
["4"],
") that won't touch the rest of your system."
],
- "l7X_SM": ["Send to AI"],
"l87Deg": ["Choose what a new tab starts"],
"l9s3IX": [["agentName"], " couldn't start a conversation."],
"lAiyU_": ["Only the current document uses <0>#", ["tag"], "</0>."],
@@ -3688,6 +3695,7 @@
],
"rwrPbS": ["Component boundary navigation"],
"rxWGWX": ["Forward"],
+ "ryhHUm": ["When the Comments tab is open"],
"s-MGs7": ["Resources"],
"s-XOaI": ["File name"],
"s-pW_v": ["Couldn't install: ", ["0"]],
@@ -3722,6 +3730,7 @@
"sNeKjP": ["Failed to store the token — try again"],
"sOxZaS": ["Failed to load graph"],
"sQoLn0": ["Quit"],
+ "sR0I-f": ["Collapse all files"],
"sW5OjU": ["required"],
"sZ2IOu": [
"This ",
@@ -3776,6 +3785,7 @@
"</0> will be created from the current commit, in its own worktree under <1>.ok/worktrees/</1>."
],
"t6w1cq": ["Open a blank editor tab."],
+ "t7YoBO": ["Send this comment"],
"t9Qn8y": ["No agents enabled"],
"tA0b9E": ["the default skills folder (the exact path appears once saved)"],
"tA2-xC": ["\"", ["0"], "\" was already added (identical content)."],
@@ -3857,7 +3867,6 @@
"u_lS4C": ["Clone complete — opening project"],
"uaUc6t": ["Restart server"],
"ubMwcO": ["The terminal session ended (signal ", ["0"], ")."],
- "ubx-L3": ["Comments to send"],
"ucXZ0k": ["Loading agents…"],
"ugQcJX": [
["display"],
@@ -4015,6 +4024,7 @@
"You picked ~/Downloads. Files there are usually transient — consider a stable folder instead."
],
"wndeIl": ["Project-level pages with neither incoming nor outgoing graph edges."],
+ "wqD3pI": [["failed"], " of ", ["0"], " comments could not be updated."],
"ws5o1F": ["Checked by: ", ["0"]],
"wtcxiD": ["Share this setup with your team?"],
"wvK7Ay": ["Your local copy of branch <0>", ["branch"], "</0> is behind."],
@@ -4187,7 +4197,6 @@
"zL0LPh": ["Global outside text fields"],
"zLGXna": ["No starter packs available."],
"zLak8b": ["Activate new tab"],
- "zO-IiA": ["The terminal isn't available here — the comments are still waiting to send."],
"zQBg2C": ["Move the current block up or down one position."],
"zXj1rA": ["Search by meaning"],
"zYp8Sr": [
@@ -4205,7 +4214,6 @@
"zkz0Fg": ["Set up syncing"],
"zlErBl": ["Page headings error response did not match RFC 9457"],
"zo3Dl7": ["Toggle thumbnails"],
- "zovxVp": ["Ready to send"],
"zpfN9p": ["No comments yet. Select text in the document to add one."],
"zq2eBA": ["View in source"],
"zrP8HX": [
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 80da1c8fe..f459accda 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} is over {destination}."
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} isn't installed yet — opening its download page."
@@ -506,6 +504,10 @@ msgstr "{count} skills at this source"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {# day ago} other {# days ago}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}d"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days}d ago"
@@ -546,7 +548,6 @@ msgstr "{display} is an independent copy while the skill's other locations are s
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) isn't installed or on your PATH."
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} on"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{failed} of {0} comments could not be cleared."
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{failed} of {0} comments could not be updated."
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {folder} other {folders}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} GitHub stars"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}h"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {# min ago} other {# min ago}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}m"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} min ago"
@@ -736,6 +745,10 @@ msgstr "{propPanelDescriptorLabel} Properties"
msgid "{seconds}s ago"
msgstr "{seconds}s ago"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}s"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "{settingsDescriptorLabel} properties"
@@ -1186,6 +1199,10 @@ msgstr "Add at least one letter or number."
msgid "Add Comment"
msgstr "Add Comment"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "Add Comment (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "Add cursors or select matching occurrences through CodeMirror."
@@ -1597,7 +1614,6 @@ msgstr "Ask {0} CLI"
msgid "Ask {agentName}"
msgstr "Ask {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "Ask AI"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "Ask AI (from selection)"
+msgid "Ask AI about selection"
+msgstr "Ask AI about selection"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "Ask AI About Selection"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "Checked by: {0}"
msgid "Checking"
msgstr "Checking"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "Checking for agents"
@@ -2195,7 +2214,7 @@ msgstr "Choose icon"
msgid "Choose what a new tab starts"
msgstr "Choose what a new tab starts"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "Choose where to send these comments"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "Cleanup log"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "Cloning {repoName}..."
msgid "Cloning..."
msgstr "Cloning..."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "Collapse all"
msgid "Collapse all file groups"
msgstr "Collapse all file groups"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "Collapse all files"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Collapse Ask AI"
@@ -2537,6 +2559,10 @@ msgstr "Commands"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "Comment"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "Comment on {address}"
@@ -2545,6 +2571,10 @@ msgstr "Comment on {address}"
msgid "Comment on selection"
msgstr "Comment on selection"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "Comment on this selection"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "Comment or ask AI about this code block"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "Comments"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "Comments to send"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "Commit or stash changes to switch:"
@@ -3316,10 +3342,6 @@ msgstr "Couldn't open document"
msgid "Couldn't open the terminal — please try again."
msgstr "Couldn't open the terminal — please try again."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "Couldn't open the terminal — the comments are still waiting to send."
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "Couldn't open the worktree. Try again."
@@ -3413,10 +3435,6 @@ msgstr "Couldn't rename template: {0}"
msgid "Couldn't reopen that comment."
msgstr "Couldn't reopen that comment."
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "Couldn't resolve that comment."
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "Couldn't resolve the conflict for {filePath}."
@@ -3543,10 +3561,6 @@ msgstr "Couldn't update skills sharing"
msgid "Couldn't update skills sharing — {detail}."
msgstr "Couldn't update skills sharing — {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "Couldn't work out where to send the comments — they're still waiting."
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "Count skill installs publicly"
@@ -3891,7 +3905,7 @@ msgstr "Delete table"
msgid "Delete this chat?"
msgstr "Delete this chat?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "Delete this comment"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code execution and file creation</1> first."
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "Don't send this comment"
@@ -4389,7 +4402,7 @@ msgstr "Edit source"
msgid "Edit source pane and code property fields"
msgstr "Edit source pane and code property fields"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "Edit this comment"
@@ -4718,6 +4731,10 @@ msgstr "Expand all"
msgid "Expand all file groups"
msgstr "Expand all file groups"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "Expand all files"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "Expand graph"
@@ -5565,7 +5582,6 @@ msgstr "Go to line {0} in {1}"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "Go to this comment in {0}"
@@ -5598,6 +5614,10 @@ msgstr "Guides your AI agents on how to work here."
msgid "guides/install or https://example.com"
msgstr "guides/install or https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "Hard break"
@@ -5771,10 +5791,14 @@ msgstr "Hide problem indicators"
msgid "Hide replace"
msgstr "Hide replace"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "Hide resolved"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "Hide resolved comments"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "Hide selection preview"
@@ -5983,10 +6007,6 @@ msgstr "In app (beta)"
msgid "In the Claude Desktop App"
msgstr "In the Claude Desktop App"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "Include in dispatch"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "Include this comment in the next send"
@@ -6344,7 +6364,7 @@ msgstr "Jump to page {pageNumber}"
msgid "Jump to tab 1-8"
msgstr "Jump to tab 1-8"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "Jump to the anchored text"
@@ -6799,6 +6819,10 @@ msgstr "Map the architecture"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "Mark every comment to send"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "No agent is set up yet — pick one from the send menu."
msgid "No agents available."
msgstr "No agents available."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "No agents enabled"
@@ -7388,6 +7412,10 @@ msgstr "No changes"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "No comments in this project yet. Comment on a passage to start one."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "No comments yet. Select text in the document to add one."
@@ -7742,10 +7770,6 @@ msgstr "nothing ({0} is not a valid pattern)"
msgid "Nothing set yet."
msgstr "Nothing set yet."
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "Nothing to send yet. Comment on a passage to add it here."
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "Nothing was uploaded. The report stays on this Mac until you email it to us."
@@ -7944,10 +7968,6 @@ msgstr "Open agents panel"
msgid "Open an existing project folder from disk."
msgstr "Open an existing project folder from disk."
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "Open and focus the Ask AI composer for the current editor selection."
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "Open and focus the bottom Ask AI prompt composer."
@@ -7968,6 +7988,10 @@ msgstr "Open CodeMirror's lint diagnostics panel."
msgid "Open comment"
msgstr "Open comment"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "Open Comments"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "Open containing folder"
@@ -8436,7 +8460,7 @@ msgstr "Original file — before this agent's edits."
msgid "Orphan mode"
msgstr "Orphan mode"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "Orphaned"
@@ -9102,7 +9126,7 @@ msgstr "Re-authenticate with GitHub Enterprise Server"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "Re-embedding happens as searches run, so coverage restarts at zero and refills."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "Re-place on selected text"
@@ -9130,10 +9154,6 @@ msgstr "Read-only file in the {name} skill"
msgid "Reading…"
msgstr "Reading…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "Ready to send"
-
#: 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."
@@ -9470,7 +9490,7 @@ msgstr "render error"
msgid "Rendered"
msgstr "Rendered"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "Reopen"
@@ -9636,10 +9656,6 @@ msgstr "Reset view filters"
msgid "Resize {handleKey}"
msgstr "Resize {handleKey}"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "Resolve"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "Resolve conflict in your terminal"
@@ -9652,7 +9668,7 @@ msgstr "Resolve the conflict on {files} before deleting."
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "Resolve the conflict on {files}, +{overflow} more before deleting."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "Resolved"
@@ -10191,7 +10207,7 @@ msgstr "Select next occurrence"
msgid "Select the full source document."
msgstr "Select the full source document."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "Select this text in the property"
@@ -10244,6 +10260,10 @@ msgstr "Send"
msgid "Send & continue"
msgstr "Send & continue"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "Send checked comments to chat"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "Send comments to"
@@ -10257,22 +10277,23 @@ msgstr "Send feedback"
msgid "Send feedback…"
msgstr "Send feedback…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "Send later"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "Send report"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "Send to AI"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "Send this comment"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "Send to chat"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "Send to chat ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "Send when the agent is free"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "Show replace"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "Show resolved ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "Show resolved comments"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "Show selection preview"
@@ -10961,6 +10986,10 @@ msgstr "Source undo or redo"
msgid "Split list item"
msgstr "Split list item"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "Stage the selected passage in the agents panel, ready to extend and send."
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "Star us on GitHub"
@@ -10982,7 +11011,7 @@ msgstr "Start {agentName}, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "Start a chat with the + button, or launch an agent from a page."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "Start a new chat"
@@ -11544,10 +11573,6 @@ msgstr "Thanks for the feedback!"
msgid "Thanks for the report!"
msgstr "Thanks for the report!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "That app isn't available — the comments are still waiting to send."
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "The agent isn't stopping. Force stop closes this chat and quits the agen
msgid "The agent's persona, values, and voice."
msgstr "The agent's persona, values, and voice."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "The anchored text is gone. You can re-place it on selected text."
@@ -11749,10 +11774,6 @@ msgstr "The template's filename (without `.md`)."
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "The terminal is turned off for this project. Turn it back on to run commands here."
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "The terminal isn't available here — the comments are still waiting to send."
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "This branch is checked out in:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "This can be configured in Settings > AI tools & CLI"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "This comment is on the whole property"
@@ -12037,6 +12058,7 @@ msgstr "This permanently removes {0}/{1} from the \"{2}\" skill. Anything in SKI
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "This project"
@@ -12171,10 +12193,6 @@ msgstr "To do"
msgid "To do."
msgstr "To do."
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "To send"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "Toggle a bullet list."
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "Toggle strikethrough formatting."
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "Toggle the bottom dock, where the terminal lives."
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "Unknown error"
msgid "unlink"
msgstr "unlink"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "Unmark every comment"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "Unordered list of items."
@@ -12958,6 +12980,10 @@ msgstr "When enabled, the agent opens or refreshes the preview after each edit.
msgid "When the agent runs its scheduled work."
msgstr "When the agent runs its scheduled work."
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "When the Comments tab is open"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 1fdef8035..fedf075dd 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -174,7 +174,6 @@
"1njn7W": ["Claro"],
"1nke1r": ["Abrir ", ["0"], " en GitHub (se abre en una pestaña nueva)"],
"1oSHI0": ["No se pudo instalar ", ["skillName"], ": ", ["0"]],
- "1oawp3": ["No se pudieron borrar ", ["failed"], " de ", ["0"], " comentarios."],
"1t_NnN": ["Rechazar"],
"1u-mAI": ["No se pudo iniciar la sincronización. Revisa tu conexión y vuelve a intentarlo."],
"1vn0CI": ["Respuesta del servidor no válida"],
@@ -201,7 +200,6 @@
"2FnYUD": [
"Información de la aplicación y del sistema, registros recientes de la aplicación y registros del servidor del proyecto: lo imprescindible para reproducir el problema."
],
- "2FoHU3": ["Resolver"],
"2G-56b": ["No se pudieron actualizar las reglas de markdownlint"],
"2GT3Hf": ["Global"],
"2H43L8": ["Los secretos como claves de API y tokens se ocultan automáticamente."],
@@ -362,7 +360,6 @@
"4E9jPa": ["Crea tu primer proyecto"],
"4EZrJN": ["Reglas"],
"4ErgAf": ["OpenKnowledge instaló una habilidad"],
- "4GWjF8": ["No se pudo determinar a dónde enviar los comentarios; siguen pendientes."],
"4Gz2wC": ["No se pudo subir el archivo"],
"4KmEoC": ["Atajos de teclado"],
"4NC2Ym": ["Ir a la celda siguiente o anterior de la tabla."],
@@ -398,6 +395,7 @@
"4sKwf6": ["El archivo ya existe"],
"4sUdTJ": ["vista previa con tema"],
"4uNLmk": ["Haciendo pull"],
+ "4uaCUA": [["mins"], "min"],
"4v2Yyz": [
"Selecciona todas las filas visibles del árbol de archivos cuando el foco está en la barra lateral Archivos."
],
@@ -417,6 +415,7 @@
"56WWtu": ["No se pudieron cargar los paquetes iniciales: ", ["error"]],
"56xUL1": ["Nombre de la propiedad"],
"57fiu8": ["(solo lectura: por ahora edítalo en modo código)"],
+ "58qIOK": ["Comentar esta selección"],
"5ALjdr": ["Recorre los resultados de búsqueda del editor visual desde el campo de búsqueda."],
"5Ajb15": ["La fórmula <0>c = √(a² + b²)</0> se renderiza en línea."],
"5AzM72": ["Este ajuste es de cada equipo y no se comparte con tus colaboradores."],
@@ -455,6 +454,9 @@
"5aahsI": ["nada (", ["0"], " no es un patrón válido)"],
"5b3WD-": ["OpenKnowledge guardó un punto de control"],
"5e1Dri": ["La etiqueta de menú con la que los agentes eligen esta plantilla (obligatoria)."],
+ "5ecEGe": [
+ "Entrega los comentarios marcados a un agente en un solo turno. En Este documento, solo los comentarios de ese documento; en Este proyecto, todos los comentarios marcados. No hace nada mientras la pestaña Comentarios está cerrada."
+ ],
"5gr_ev": [
"Se convierte en el contenido del documento cuando alguien crea uno a partir de esta plantilla. Escribe <0>",
["dateToken"],
@@ -528,6 +530,7 @@
"6V3Ea3": ["Copiado"],
"6VqW-1": ["Quitar ", ["keyName"]],
"6WdDG7": ["Página"],
+ "6YBJ3m": ["Preguntar a la IA sobre la selección"],
"6YtxFj": ["Nombre"],
"6ZhdPI": ["Lo que el agente puede leer, escribir y mostrar."],
"6_ZOw4": ["Ruta completa copiada"],
@@ -698,11 +701,11 @@
"8fRyLo": ["Carga de parche no válida"],
"8fc_3j": ["Rama protegida: no se puede hacer push"],
"8k6INX": ["Pega un token de acceso personal para <0>", ["host"], "</0>."],
- "8kBLOT": ["Esa aplicación no está disponible; los comentarios siguen pendientes de envío."],
"8lwQlE": [["0"], " añadidos, ", ["1"], " eliminados"],
"8m8diM": ["No hay ninguna ubicación seleccionada. Usa Examinar para elegir una carpeta."],
"8nOdkO": ["Alinear al centro"],
"8nWu1k": ["Diagrama vacío"],
+ "8oWgty": ["Marcar todos los comentarios para enviar"],
"8qgfac": ["Servidores MCP"],
"8ruqQi": ["Enlaces internos rotos"],
"8sMErm": ["¿Activar Seguir?"],
@@ -942,6 +945,7 @@
"C0hoX6": ["Siempre incluido"],
"C3Zc44": ["Explorar habilidades"],
"C62P6b": ["Selección del editor"],
+ "C7PKTv": ["Enviar los comentarios marcados al chat"],
"C7waqI": [
[
"0",
@@ -988,6 +992,9 @@
"ChAtFg": ["No tienes permiso para hacer push a este repositorio"],
"ChMshD": ["Salir de ", ["appName"]],
"Ck9XRt": ["No se pudo guardar la clave; inténtalo de nuevo."],
+ "ClTEde": [
+ "Prepara el fragmento seleccionado en el panel de agentes, listo para ampliar y enviar."
+ ],
"CmeH9S": ["Añadir propiedad a ", ["keyName"]],
"CnOGgs": ["Modo de sincronización"],
"CoHvYd": ["Se movió ", ["0"], " a la posición ", ["1"], " de ", ["2"]],
@@ -1265,7 +1272,7 @@
"G0YZ-I": ["Aumentar o reducir la sangría del elemento de lista"],
"G1Gw0v": ["Plantilla nueva"],
"G1XxbZ": ["Casilla de verificación"],
- "G4-bgo": ["Preguntar a la IA (desde la selección)"],
+ "G1zJlD": ["Ocultar comentarios resueltos"],
"G4m8rL": ["Comentar la selección"],
"G6Lrs_": ["Hacer que ", ["0"], " deje de leer esta habilidad"],
"G7-rf8": ["Error de sintaxis en el patrón: ", ["message"]],
@@ -1641,6 +1648,7 @@
"LXdWeS": ["Encabezado de sección mediano."],
"LXfNU-": ["Navegación y sugerencias"],
"LYufDw": ["No se pudo activar la búsqueda semántica — ", ["detail"]],
+ "LaskKp": ["Enviar al chat (", ["0"], ")"],
"Lbl6KA": ["No se pudo instalar desde ", ["0"], ": ", ["1"]],
"LbmLyU": ["No se puede editar con seguridad la configuración de esta herramienta"],
"Lcehxn": ["Guardar la resolución"],
@@ -1802,6 +1810,7 @@
"N55YNr": [
"Elige si la configuración de OpenKnowledge de este proyecto, incluidas sus conexiones con herramientas de IA, se guarda con el proyecto para que tus compañeros también la reciban, o se queda solo en tu equipo."
],
+ "NBdIgR": ["Comentar"],
"NCmYhK": [
"Las habilidades enseñan a los agentes tareas repetibles. Créalas y gestiónalas desde la sección Habilidades del editor; el menú de instalación de cada habilidad controla dónde vive. Estas son las carpetas de habilidades de este proyecto."
],
@@ -1820,9 +1829,7 @@
"NRSLBe": ["hace ", ["diffMin"], " min"],
"NSnIUP": ["Dos páginas (pares)"],
"NUr4kz": ["Un punto de partida reutilizable para los documentos nuevos de esta carpeta."],
- "NVtrN-": [
- "Muestra u oculta el panel inferior, donde vive la terminal. Si hay texto seleccionado, lo prepara para la IA que prefieras."
- ],
+ "NUw7lo": ["Muestra u oculta el panel inferior, donde vive la terminal."],
"NYUhy5": ["Nombre de la subcarpeta"],
"NYn1cR": ["Cargando el editor"],
"NYu2Pt": ["Proyecto nuevo…"],
@@ -1835,6 +1842,7 @@
"NeY1Np": ["Slidev tardó demasiado en iniciarse. Inténtalo de nuevo."],
"NfraGd": ["Otras formas de instalar Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " activos"],
+ "NiGIcB": ["Abrir Comentarios"],
"NjrIak": ["Archivo: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["Editar ", ["tag"]],
"NkXEFS": ["Falló la restauración: el documento no cambió"],
@@ -1844,11 +1852,11 @@
"NnQapF": ["Abrir con la IA ", ["targetDisplayName"]],
"NoY1k4": ["La estructura de la respuesta del servidor no es válida"],
"NpC29w": ["Crea un elemento de lista nuevo a partir del elemento actual."],
- "NpuPmi": ["Por enviar"],
"NrFwux": ["No se pudieron guardar las reglas de contenido — ", ["0"]],
"Ns0z5o": [
"Cuando instalas una habilidad publicada, se avisa al directorio de habilidades (skills.sh) para que su recuento de instalaciones sea exacto. Se envía el nombre de la habilidad, su repositorio de origen y a qué herramientas de IA fue; nunca el contenido de los archivos, y nunca en el caso de una habilidad de un origen privado, local o escrito a mano. Una vez por habilidad y equipo."
],
+ "Ns5f4J": ["Desmarcar todos los comentarios"],
"Nu4DdT": ["Sincronización"],
"Nu4oKW": ["Descripción"],
"NuH1jp": ["Repositorio público"],
@@ -1912,6 +1920,7 @@
],
"Okd2Xv": ["Activa o desactiva el subrayado."],
"OlAl5i": ["Expandir todo"],
+ "OlFVNr": ["Preguntar a la IA sobre la selección"],
"Oo_WWc": ["No se encontraron páginas"],
"Oos8fo": ["Copiar comando"],
"OplnBG": ["La gestión de herramientas de IA no está disponible en esta compilación."],
@@ -1981,7 +1990,6 @@
"PkeYXL": ["Modo de grafo expandido"],
"Pkw7J9": ["Esta carpeta está vacía."],
"PlGC6r": ["el archivo de exclusión de git no admite escritura"],
- "Pnvg8e": ["No se pudo abrir la terminal; los comentarios siguen pendientes de envío."],
"Pp0Vgd": ["Haz clic para instalarlo en ", ["label"]],
"PpJy-V": ["El endpoint no respondió a tiempo."],
"PqYWiC": [
@@ -2015,6 +2023,7 @@
"QB-moX": ["Instálala en tus otros editores (Claude Code, Cursor, Codex) para compartirla."],
"QDZbvN": ["hace ", ["diffDays"], " d"],
"QHCx0c": ["Historial de informes de error"],
+ "QIrBIx": ["Expandir todos los archivos"],
"QKgePK": [
"Se alineó ",
["editor"],
@@ -2046,6 +2055,7 @@
"QlAG4m": ["Cuéntanos más (opcional)"],
"QlkiD5": ["Volver a colocar sobre el texto seleccionado"],
"QlxHAH": ["Mostrando resultados de \"", ["semanticResultsLabel"], "\""],
+ "Qpfxa1": [["secs"], "s"],
"QqBQu1": ["Etiqueta <0>(texto visible del enlace)</0>"],
"Quz_Qu": ["Los cambios se aplican en vivo. El modo claro u oscuro viene del esquema."],
"Qvls7J": ["Especificaciones de ingeniería"],
@@ -2054,6 +2064,7 @@
],
"QySH4I": ["Proyectos de OpenKnowledge detectados"],
"QyioBP": ["Subir"],
+ "QzofTX": ["Todavía no hay comentarios en este proyecto. Comenta un fragmento para empezar."],
"R0cyYB": [
[
"0",
@@ -2115,7 +2126,6 @@
"Rj01Fz": ["Enlaces"],
"RlCInP": ["Comandos de barra"],
"RmBY0A": ["No hay remoto de git"],
- "RmmhAh": ["Enviar más tarde"],
"RnrnTe": ["Ya está configurado: ok está disponible en tu terminal"],
"RoafuO": ["Enviar comentarios"],
"RobAKV": ["Actualiza el destino y el ancla de sección opcional."],
@@ -2509,6 +2519,7 @@
"XV5sC0": ["Abrir el worktree"],
"XVnIvs": ["Instalar habilidades"],
"XW18jo": ["La respuesta de los encabezados de página no coincide con el esquema de éxito"],
+ "XWEqQj": [["days"], "d"],
"XXA1b_": [["componentLabel"], " (vacío)"],
"XYlJJT": ["Configurando"],
"XZkdtg": ["Cambiar de rama"],
@@ -2631,7 +2642,6 @@
"Yy90sM": ["Se creó la habilidad \"", ["name"], "\""],
"YyXtnN": ["Subrayado"],
"Yzs3QX": ["Más acciones de habilidad"],
- "YzyyG2": ["Todavía no hay nada que enviar. Comenta un pasaje para añadirlo aquí."],
"Z0W6SO": [
"Esta carpeta es un clon de ",
["actualOwner"],
@@ -2668,7 +2678,6 @@
"ZBxvV3": ["Terminal nueva"],
"ZDOq9A": ["Lo que compartes se envía al equipo de OpenKnowledge."],
"ZGVsOD": ["Envía esta rama a GitHub antes de compartir."],
- "ZHAM1l": ["Incluir en el envío"],
"ZI8uvA": ["No se encontraron problemas."],
"ZJ99sD": ["Insertar columna a la izquierda"],
"ZNK2Tq": ["raíz"],
@@ -2762,6 +2771,7 @@
"Copia de solo lectura de un bloque MirrorSource de otro documento. Edítalo en el origen y se actualiza en vivo."
],
"_XWY2J": ["Terminal desactivada"],
+ "_YEyHO": ["Mostrar comentarios resueltos"],
"_YWqV2": ["OpenKnowledge resolvió un conflicto"],
"_ayOfA": [
"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."
@@ -2775,6 +2785,7 @@
"_gO_m8": ["Esperando tu aprobación"],
"_gkGSK": ["plantilla eliminada"],
"_mcDqU": [["count"], " habilidades en esta fuente"],
+ "_oqig9": [["hours"], "h"],
"_pY_Vq": ["El repositorio se movió, se renombró o se eliminó."],
"_qD6mn": ["Elige la carpeta donde lo has clonado."],
"_rP3HI": ["hace ", ["minutes"], " min"],
@@ -2782,9 +2793,6 @@
"_tjopj": ["Pegar duplicado"],
"_yB-24": ["todo lo que hay en cualquier carpeta ", ["0"], "/"],
"a-cKXz": ["Seleccionar todo el código"],
- "a3H_MR": [
- "Abre y enfoca el compositor de Preguntar a la IA con la selección actual del editor."
- ],
"a3LDKx": ["Seguridad"],
"a45f2c": ["Patrones glob a los que se aplica este esquema"],
"a4FRQv": ["¿Deshacer hasta esta edición?"],
@@ -3156,7 +3164,6 @@
"emMrXQ": ["El servidor devolvió una respuesta de duplicación con formato incorrecto."],
"emgiet": ["Contenido autoritativo; se replica literalmente allí donde se referencia."],
"enPTnx": ["línea ", ["displayLine"]],
- "eoEUI3": ["No se pudo resolver ese comentario."],
"epuNYK": [
"Marca un bloque como fuente de verdad. Los espejos de otros sitios se actualizan en vivo mientras lo editas."
],
@@ -3216,6 +3223,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(archivo binario, sin vista previa)"],
"fevEu0": ["Traer los últimos cambios"],
+ "ffH3Rt": ["Añadir comentario (Intro)"],
"fg1U4e": ["Descubrimiento de habilidades gracias a <0>skills.sh</0>"],
"fhaxJL": ["No se pudo clonar: el cuerpo de la respuesta está vacío"],
"fiMNLl": [
@@ -3701,7 +3709,6 @@
["4"],
") que no tocará el resto de tu sistema."
],
- "l7X_SM": ["Enviar a la IA"],
"l87Deg": ["Elige qué inicia una pestaña nueva"],
"l9s3IX": [["agentName"], " no pudo iniciar una conversación."],
"lAiyU_": ["Solo el documento actual usa <0>#", ["tag"], "</0>."],
@@ -4228,6 +4235,7 @@
],
"rwrPbS": ["Navegación por los límites de los componentes"],
"rxWGWX": ["Adelante"],
+ "ryhHUm": ["Cuando la pestaña Comentarios está abierta"],
"s-MGs7": ["Recursos"],
"s-XOaI": ["Nombre del archivo"],
"s-pW_v": ["No se pudo instalar: ", ["0"]],
@@ -4268,6 +4276,7 @@
"sNeKjP": ["No se pudo guardar el token: inténtalo de nuevo"],
"sOxZaS": ["No se pudo cargar el grafo"],
"sQoLn0": ["Salir"],
+ "sR0I-f": ["Contraer todos los archivos"],
"sW5OjU": ["obligatorio"],
"sZ2IOu": [
"Este ",
@@ -4328,6 +4337,7 @@
"</0> se creará a partir del commit actual, en su propio worktree dentro de <1>.ok/worktrees/</1>."
],
"t6w1cq": ["Abre una pestaña de editor en blanco."],
+ "t7YoBO": ["Enviar este comentario"],
"t9Qn8y": ["No hay agentes activados"],
"tA0b9E": ["la carpeta de habilidades por defecto (la ruta exacta aparece al guardar)"],
"tA2-xC": ["\"", ["0"], "\" ya se había añadido (contenido idéntico)."],
@@ -4417,7 +4427,6 @@
"u_lS4C": ["Clonación completada: abriendo el proyecto"],
"uaUc6t": ["Reiniciar el servidor"],
"ubMwcO": ["La sesión de terminal terminó (señal ", ["0"], ")."],
- "ubx-L3": ["Comentarios por enviar"],
"ucXZ0k": ["Cargando agentes…"],
"ugQcJX": [
["display"],
@@ -4610,6 +4619,7 @@
"Elegiste ~/Downloads. Los archivos de ahí suelen ser pasajeros; plantéate una carpeta más estable."
],
"wndeIl": ["Páginas de todo el proyecto sin aristas entrantes ni salientes en el grafo."],
+ "wqD3pI": ["No se pudieron actualizar ", ["failed"], " de ", ["0"], " comentarios."],
"ws5o1F": ["Comprobado por: ", ["0"]],
"wtcxiD": ["¿Compartir esta configuración con tu equipo?"],
"wvK7Ay": ["Tu copia local de la rama <0>", ["branch"], "</0> está por detrás."],
@@ -4812,7 +4822,6 @@
"zL0LPh": ["Global fuera de los campos de texto"],
"zLGXna": ["No hay paquetes iniciales disponibles."],
"zLak8b": ["Activar pestaña nueva"],
- "zO-IiA": ["La terminal no está disponible aquí; los comentarios siguen pendientes de envío."],
"zQBg2C": ["Sube o baja una posición el bloque actual."],
"zXj1rA": ["Buscar por significado"],
"zYp8Sr": [
@@ -4832,7 +4841,6 @@
"zkz0Fg": ["Configurar la sincronización"],
"zlErBl": ["La respuesta de error de los encabezados de página no cumple RFC 9457"],
"zo3Dl7": ["Mostrar u ocultar las miniaturas"],
- "zovxVp": ["Listo para enviar"],
"zpfN9p": ["Todavía no hay comentarios. Selecciona texto en el documento para añadir uno."],
"zq2eBA": ["Ver en el código"],
"zrP8HX": [
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index 0d9fc3b8d..cdbf40e78 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} está sobre {destination}."
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} todavía no está instalado: abriendo su página de descarga."
@@ -506,6 +504,10 @@ msgstr "{count} habilidades en esta fuente"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {hace # día} many {hace # días} other {hace # días}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}d"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "hace {days} d"
@@ -546,7 +548,6 @@ msgstr "{display} es una copia independiente, mientras que las demás ubicacione
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) no está instalado ni en tu PATH."
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} activos"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "No se pudieron borrar {failed} de {0} comentarios."
+msgid "{failed} of {0} comments could not be updated."
+msgstr "No se pudieron actualizar {failed} de {0} comentarios."
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {carpeta} many {carpetas} other {carpetas}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} estrellas en GitHub"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}h"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {hace # min} many {hace # min} other {hace # min}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}min"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "hace {minutes} min"
@@ -736,6 +745,10 @@ msgstr "Propiedades de {propPanelDescriptorLabel}"
msgid "{seconds}s ago"
msgstr "hace {seconds} s"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}s"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "Propiedades de {settingsDescriptorLabel}"
@@ -1186,6 +1199,10 @@ msgstr "Añade al menos una letra o un número."
msgid "Add Comment"
msgstr "Añadir comentario"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "Añadir comentario (Intro)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "Añade cursores o selecciona coincidencias con CodeMirror."
@@ -1597,7 +1614,6 @@ msgstr "Preguntar a la CLI de {0}"
msgid "Ask {agentName}"
msgstr "Preguntar a {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "Preguntar a la IA"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "Preguntar a la IA (desde la selección)"
+msgid "Ask AI about selection"
+msgstr "Preguntar a la IA sobre la selección"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "Preguntar a la IA sobre la selección"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "Comprobado por: {0}"
msgid "Checking"
msgstr "Comprobando"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "Buscando agentes"
@@ -2195,7 +2214,7 @@ msgstr "Elegir icono"
msgid "Choose what a new tab starts"
msgstr "Elige qué inicia una pestaña nueva"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "Elige a dónde enviar estos comentarios"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "Registro de limpieza"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "Clonando {repoName}..."
msgid "Cloning..."
msgstr "Clonando..."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "Contraer todo"
msgid "Collapse all file groups"
msgstr "Contraer todos los grupos de archivos"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "Contraer todos los archivos"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Contraer Preguntar a la IA"
@@ -2537,6 +2559,10 @@ msgstr "Comandos"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "Los comandos se ejecutan con todo el acceso de tu cuenta de usuario de macOS en este equipo. Desactiva esto para deshabilitar el shell."
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "Comentar"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "Comentar en {address}"
@@ -2545,6 +2571,10 @@ msgstr "Comentar en {address}"
msgid "Comment on selection"
msgstr "Comentar la selección"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "Comentar esta selección"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "Comenta o pregunta a la IA sobre este bloque de código"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "Comentarios"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "Comentarios por enviar"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "Haz commit o stash de tus cambios para cambiar:"
@@ -3316,10 +3342,6 @@ msgstr "No se pudo abrir el documento"
msgid "Couldn't open the terminal — please try again."
msgstr "No se pudo abrir la terminal; inténtalo de nuevo."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "No se pudo abrir la terminal; los comentarios siguen pendientes de envío."
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "No se pudo abrir el worktree. Inténtalo de nuevo."
@@ -3413,10 +3435,6 @@ msgstr "No se pudo renombrar la plantilla: {0}"
msgid "Couldn't reopen that comment."
msgstr "No se pudo reabrir ese comentario."
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "No se pudo resolver ese comentario."
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "No se pudo resolver el conflicto de {filePath}."
@@ -3543,10 +3561,6 @@ msgstr "No se pudo actualizar la compartición de habilidades"
msgid "Couldn't update skills sharing — {detail}."
msgstr "No se pudo actualizar la compartición de habilidades: {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "No se pudo determinar a dónde enviar los comentarios; siguen pendientes."
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "Contar públicamente las instalaciones de habilidades"
@@ -3891,7 +3905,7 @@ msgstr "Eliminar tabla"
msgid "Delete this chat?"
msgstr "¿Eliminar este chat?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "Eliminar este comentario"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "¿No ves <0>Habilidades</0>? Activa antes <1>Ajustes <2/> Capacidades <3/> Ejecución de código y creación de archivos</1>."
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "No enviar este comentario"
@@ -4389,7 +4402,7 @@ msgstr "Editar el código fuente"
msgid "Edit source pane and code property fields"
msgstr "Panel de edición de código y campos de propiedad de tipo código"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "Editar este comentario"
@@ -4718,6 +4731,10 @@ msgstr "Expandir todo"
msgid "Expand all file groups"
msgstr "Expandir todos los grupos de archivos"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "Expandir todos los archivos"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "Expandir el grafo"
@@ -5565,7 +5582,6 @@ msgstr "Ir a la línea {0} de {1}"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "Ir a este comentario en {0}"
@@ -5598,6 +5614,10 @@ msgstr "Guía a tus agentes de IA sobre cómo trabajar aquí."
msgid "guides/install or https://example.com"
msgstr "guides/install o https://ejemplo.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "Entrega los comentarios marcados a un agente en un solo turno. En Este documento, solo los comentarios de ese documento; en Este proyecto, todos los comentarios marcados. No hace nada mientras la pestaña Comentarios está cerrada."
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "Salto de línea forzado"
@@ -5771,10 +5791,14 @@ msgstr "Ocultar los indicadores de problemas"
msgid "Hide replace"
msgstr "Ocultar reemplazar"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "Ocultar los resueltos"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "Ocultar comentarios resueltos"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "Ocultar la vista previa de la selección"
@@ -5983,10 +6007,6 @@ msgstr "En la aplicación (beta)"
msgid "In the Claude Desktop App"
msgstr "En la aplicación Claude Desktop"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "Incluir en el envío"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "Incluir este comentario en el próximo envío"
@@ -6344,7 +6364,7 @@ msgstr "Ir a la página {pageNumber}"
msgid "Jump to tab 1-8"
msgstr "Ir a las pestañas 1-8"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "Ir al texto anclado"
@@ -6799,6 +6819,10 @@ msgstr "Trazar la arquitectura"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "Marca un bloque como fuente de verdad. Los espejos de otros sitios se actualizan en vivo mientras lo editas."
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "Marcar todos los comentarios para enviar"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "Todavía no hay ningún agente configurado: elige uno en el menú de env
msgid "No agents available."
msgstr "No hay agentes disponibles."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "No hay agentes activados"
@@ -7388,6 +7412,10 @@ msgstr "Sin cambios"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "No hay servidor de colaboración para este worktree: ejecuta <0>ok start</0> aquí o vuelve a abrir el proyecto."
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "Todavía no hay comentarios en este proyecto. Comenta un fragmento para empezar."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "Todavía no hay comentarios. Selecciona texto en el documento para añadir uno."
@@ -7742,10 +7770,6 @@ msgstr "nada ({0} no es un patrón válido)"
msgid "Nothing set yet."
msgstr "Todavía no hay nada definido."
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "Todavía no hay nada que enviar. Comenta un pasaje para añadirlo aquí."
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "No se subió nada. El informe se queda en este Mac hasta que nos lo envíes por correo."
@@ -7944,10 +7968,6 @@ msgstr "Abrir el panel de agentes"
msgid "Open an existing project folder from disk."
msgstr "Abre desde el disco una carpeta de proyecto existente."
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "Abre y enfoca el compositor de Preguntar a la IA con la selección actual del editor."
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "Abre y enfoca el compositor de prompts de Preguntar a la IA de abajo."
@@ -7968,6 +7988,10 @@ msgstr "Abre el panel de diagnóstico de análisis de CodeMirror."
msgid "Open comment"
msgstr "Abrir el comentario"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "Abrir Comentarios"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "Abrir la carpeta contenedora"
@@ -8436,7 +8460,7 @@ msgstr "Archivo original, antes de las ediciones de este agente."
msgid "Orphan mode"
msgstr "Modo huérfanos"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "Huérfana"
@@ -9102,7 +9126,7 @@ msgstr "Volver a autenticarse con GitHub Enterprise Server"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "Los embeddings se recalculan a medida que se hacen búsquedas, así que la cobertura empieza de cero y se vuelve a llenar."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "Volver a colocar sobre el texto seleccionado"
@@ -9130,10 +9154,6 @@ msgstr "Archivo de solo lectura en la habilidad {name}"
msgid "Reading…"
msgstr "Leyendo…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "Listo para enviar"
-
#: 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."
@@ -9470,7 +9490,7 @@ msgstr "error de renderizado"
msgid "Rendered"
msgstr "Renderizado"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "Reabrir"
@@ -9636,10 +9656,6 @@ msgstr "Restablecer los filtros de vista"
msgid "Resize {handleKey}"
msgstr "Redimensionar {handleKey}"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "Resolver"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "Resuelve el conflicto en tu terminal"
@@ -9652,7 +9668,7 @@ msgstr "Resuelve el conflicto en {files} antes de eliminar."
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "Resuelve el conflicto en {files} y en {overflow} más antes de eliminar."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "Resuelto"
@@ -10191,7 +10207,7 @@ msgstr "Seleccionar la aparición siguiente"
msgid "Select the full source document."
msgstr "Selecciona el documento de código completo."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "Seleccionar este texto en la propiedad"
@@ -10244,6 +10260,10 @@ msgstr "Enviar"
msgid "Send & continue"
msgstr "Enviar y continuar"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "Enviar los comentarios marcados al chat"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "Enviar los comentarios a"
@@ -10257,22 +10277,23 @@ msgstr "Enviar comentarios"
msgid "Send feedback…"
msgstr "Enviar comentarios…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "Enviar más tarde"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "Enviar el informe"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "Enviar a la IA"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "Enviar este comentario"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "Enviar al chat"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "Enviar al chat ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "Enviar cuando el agente esté libre"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "Mostrar reemplazar"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "Mostrar los resueltos ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "Mostrar comentarios resueltos"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "Mostrar la vista previa de la selección"
@@ -10961,6 +10986,10 @@ msgstr "Deshacer o rehacer en el código"
msgid "Split list item"
msgstr "Dividir el elemento de lista"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "Prepara el fragmento seleccionado en el panel de agentes, listo para ampliar y enviar."
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "Danos una estrella en GitHub"
@@ -10982,7 +11011,7 @@ msgstr "Iniciar {agentName}, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "Inicia un chat con el botón + o lanza un agente desde una página."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "Empezar un chat nuevo"
@@ -11544,10 +11573,6 @@ msgstr "¡Gracias por tus comentarios!"
msgid "Thanks for the report!"
msgstr "¡Gracias por el informe!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "Esa aplicación no está disponible; los comentarios siguen pendientes de envío."
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "El agente no se detiene. La detención forzada cierra este chat y sale d
msgid "The agent's persona, values, and voice."
msgstr "La personalidad, los valores y la voz del agente."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "El texto anclado ha desaparecido. Puedes volver a colocarlo sobre el texto seleccionado."
@@ -11749,10 +11774,6 @@ msgstr "El nombre de archivo de la plantilla (sin `.md`)."
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "La terminal está desactivada en este proyecto. Vuelve a activarla para ejecutar comandos aquí."
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "La terminal no está disponible aquí; los comentarios siguen pendientes de envío."
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "Esta rama está extraída en:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "Esto se puede configurar en Ajustes > Herramientas de IA y CLI"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "Este comentario es sobre toda la propiedad"
@@ -12037,6 +12058,7 @@ msgstr "Esto elimina permanentemente {0}/{1} de la skill «{2}». Todo lo que ap
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "Esto elimina definitivamente {path}. Los agentes que hagan referencia a esta plantilla por su nombre fallarán hasta que se vuelva a crear o la sustituya una de una carpeta superior."
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "Este proyecto"
@@ -12171,10 +12193,6 @@ msgstr "Por hacer"
msgid "To do."
msgstr "Por hacer."
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "Por enviar"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "Activa o desactiva una lista con viñetas."
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "Activa o desactiva el tachado."
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "Muestra u oculta el panel inferior, donde vive la terminal. Si hay texto seleccionado, lo prepara para la IA que prefieras."
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "Muestra u oculta el panel inferior, donde vive la terminal."
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "Error desconocido"
msgid "unlink"
msgstr "desenlazar"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "Desmarcar todos los comentarios"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "Lista de elementos sin numerar."
@@ -12958,6 +12980,10 @@ msgstr "Cuando está activado, el agente abre o actualiza la vista previa despu
msgid "When the agent runs its scheduled work."
msgstr "Cuándo ejecuta el agente su trabajo programado."
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "Cuando la pestaña Comentarios está abierta"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "Al pasar el cursor por un enlace externo, su URL se envía al sitio de destino para obtener los metadatos de vista previa de la página: una solicitud por cada enlace previsualizado."
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index c13887e4a..311e884ce 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -182,7 +182,6 @@
"1njn7W": ["Clair"],
"1nke1r": ["Ouvrir ", ["0"], " sur GitHub (s'ouvre dans un nouvel onglet)"],
"1oSHI0": ["Impossible d'installer ", ["skillName"], " : ", ["0"]],
- "1oawp3": [["failed"], " commentaires sur ", ["0"], " n'ont pas pu être effacés."],
"1t_NnN": ["Rejeter"],
"1u-mAI": [
"Impossible de démarrer la synchronisation. Vérifiez votre connexion, puis réessayez."
@@ -211,7 +210,6 @@
"2FnYUD": [
"Informations sur l'application et le système, journaux récents de l'application et journaux du serveur de projet : l'essentiel dont nous avons besoin pour reproduire le problème."
],
- "2FoHU3": ["Résoudre"],
"2G-56b": ["Échec de la mise à jour des règles markdownlint"],
"2GT3Hf": ["Global"],
"2H43L8": ["Les secrets comme les clés API et les jetons sont masqués automatiquement."],
@@ -376,9 +374,6 @@
"4E9jPa": ["Créez votre premier projet"],
"4EZrJN": ["Règles"],
"4ErgAf": ["OpenKnowledge a installé une compétence"],
- "4GWjF8": [
- "Impossible de déterminer où envoyer les commentaires — ils sont toujours en attente."
- ],
"4Gz2wC": ["Échec de l'envoi du fichier"],
"4KmEoC": ["Raccourcis clavier"],
"4NC2Ym": ["Va à la cellule suivante ou précédente du tableau."],
@@ -414,6 +409,7 @@
"4sKwf6": ["Le fichier existe déjà"],
"4sUdTJ": ["aperçu thématisé"],
"4uNLmk": ["Tirage en cours"],
+ "4uaCUA": [["mins"], "min"],
"4v2Yyz": [
"Sélectionne toutes les lignes visibles de l'arborescence lorsque le focus est dans la barre latérale Fichiers."
],
@@ -433,6 +429,7 @@
"56WWtu": ["Impossible de charger les packs de démarrage : ", ["error"]],
"56xUL1": ["Nom de la propriété"],
"57fiu8": ["(lecture seule — modifiez en mode source pour l'instant)"],
+ "58qIOK": ["Commenter cette sélection"],
"5ALjdr": [
"Parcourez les résultats de recherche de l'éditeur visuel depuis le champ de recherche."
],
@@ -479,6 +476,9 @@
"5aahsI": ["rien (", ["0"], " n'est pas un motif valide)"],
"5b3WD-": ["OpenKnowledge a enregistré un point de contrôle"],
"5e1Dri": ["Le libellé de menu par lequel les agents choisissent ce modèle (obligatoire)."],
+ "5ecEGe": [
+ "Transmet les commentaires cochés à un agent en un seul tour. Sur Ce document, uniquement les commentaires de ce document ; sur Ce projet, tous les commentaires cochés. Sans effet tant que l'onglet Commentaires est fermé."
+ ],
"5gr_ev": [
"Devient le contenu du document lorsque quelqu'un en crée un à partir de ce modèle. Saisissez <0>",
["dateToken"],
@@ -549,6 +549,7 @@
"6V3Ea3": ["Copié"],
"6VqW-1": ["Retirer ", ["keyName"]],
"6WdDG7": ["Page"],
+ "6YBJ3m": ["Demander à l'IA à propos de la sélection"],
"6YtxFj": ["Nom"],
"6ZhdPI": ["Ce que l'agent peut lire, écrire et faire remonter."],
"6_ZOw4": ["Chemin complet copié"],
@@ -723,13 +724,11 @@
"8fRyLo": ["Charge utile de correctif invalide"],
"8fc_3j": ["Branche protégée — impossible de pousser"],
"8k6INX": ["Collez un jeton d'accès personnel pour <0>", ["host"], "</0>."],
- "8kBLOT": [
- "Cette application n'est pas disponible — les commentaires attendent toujours d'être envoyés."
- ],
"8lwQlE": [["0"], " ajouté(s), ", ["1"], " retiré(s)"],
"8m8diM": ["Aucun emplacement sélectionné. Utilisez Parcourir pour choisir un dossier."],
"8nOdkO": ["Aligner au centre"],
"8nWu1k": ["Diagramme vide"],
+ "8oWgty": ["Cocher tous les commentaires à envoyer"],
"8qgfac": ["Serveurs MCP"],
"8ruqQi": ["Liens internes cassés"],
"8sMErm": ["Activer Suivre ?"],
@@ -971,6 +970,7 @@
"C0hoX6": ["Toujours inclus"],
"C3Zc44": ["Explorer les compétences"],
"C62P6b": ["Sélection de l'éditeur"],
+ "C7PKTv": ["Envoyer les commentaires cochés dans la discussion"],
"C7waqI": [
[
"0",
@@ -1015,6 +1015,9 @@
"ChAtFg": ["Vous n'avez pas la permission de pousser vers ce dépôt"],
"ChMshD": ["Quitter ", ["appName"]],
"Ck9XRt": ["Impossible d'enregistrer la clé — veuillez réessayer."],
+ "ClTEde": [
+ "Prépare le passage sélectionné dans le panneau des agents, prêt à être complété et envoyé."
+ ],
"CmeH9S": ["Ajouter une propriété à ", ["keyName"]],
"CnOGgs": ["Mode de synchronisation"],
"CoHvYd": [["0"], " déplacé en position ", ["1"], " sur ", ["2"]],
@@ -1297,7 +1300,7 @@
"G0YZ-I": ["Augmenter ou réduire le retrait d'un élément de liste"],
"G1Gw0v": ["Nouveau modèle"],
"G1XxbZ": ["Case à cocher"],
- "G4-bgo": ["Demander à l'IA (à partir de la sélection)"],
+ "G1zJlD": ["Masquer les commentaires résolus"],
"G4m8rL": ["Commenter la sélection"],
"G6Lrs_": ["Empêcher ", ["0"], " de lire cette compétence"],
"G7-rf8": ["Erreur de syntaxe du motif : ", ["message"]],
@@ -1671,6 +1674,7 @@
"LXdWeS": ["Titre de section moyen."],
"LXfNU-": ["Navigation et suggestions"],
"LYufDw": ["Échec de l'activation de la recherche sémantique — ", ["detail"]],
+ "LaskKp": ["Envoyer dans la discussion (", ["0"], ")"],
"Lbl6KA": ["Impossible d'installer depuis ", ["0"], " : ", ["1"]],
"LbmLyU": ["Impossible de modifier en toute sécurité la configuration de cet outil"],
"Lcehxn": ["Enregistrer la résolution"],
@@ -1830,6 +1834,7 @@
"N55YNr": [
"Choisissez si la configuration OpenKnowledge de ce projet, y compris ses connexions aux outils IA, est enregistrée avec le projet pour que vos coéquipiers l'obtiennent aussi, ou conservée uniquement sur votre ordinateur."
],
+ "NBdIgR": ["Commenter"],
"NCmYhK": [
"Les compétences apprennent aux agents des tâches répétables. Rédigez-les et gérez-les depuis la section Compétences de l'éditeur ; le menu d'installation de chaque compétence détermine où elle réside. Voici les dossiers de compétences de ce projet."
],
@@ -1848,9 +1853,7 @@
"NRSLBe": ["il y a ", ["diffMin"], " min"],
"NSnIUP": ["Deux pages (paires)"],
"NUr4kz": ["Un point de départ réutilisable pour les nouveaux documents de ce dossier."],
- "NVtrN-": [
- "Affiche ou masque le panneau inférieur, où se trouve le terminal. Si du texte est sélectionné, il est préparé pour l’IA de votre choix."
- ],
+ "NUw7lo": ["Affiche ou masque le panneau inférieur, où se trouve le terminal."],
"NYUhy5": ["Nom du sous-dossier"],
"NYn1cR": ["Chargement de l'éditeur"],
"NYu2Pt": ["Nouveau projet…"],
@@ -1863,6 +1866,7 @@
"NeY1Np": ["Slidev a mis trop de temps à démarrer. Réessayez."],
"NfraGd": ["Autres méthodes d'installation de Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " activés"],
+ "NiGIcB": ["Ouvrir les commentaires"],
"NjrIak": ["Fichier : <0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["Modifier ", ["tag"]],
"NkXEFS": ["Échec de la restauration — document inchangé"],
@@ -1872,11 +1876,11 @@
"NnQapF": ["Ouvrir avec l'IA ", ["targetDisplayName"]],
"NoY1k4": ["Structure de réponse du serveur invalide"],
"NpC29w": ["Crée un nouvel élément de liste à partir de l'élément courant."],
- "NpuPmi": ["À envoyer"],
"NrFwux": ["Échec de l'enregistrement des règles de contenu — ", ["0"]],
"Ns0z5o": [
"Quand vous installez une compétence publiée, en informer l'annuaire de compétences (skills.sh) pour que son nombre d'installations soit exact. Envoie le nom de la compétence, son dépôt source, et les outils d'agent vers lesquels elle est allée — jamais le contenu des fichiers, et jamais pour une compétence provenant d'une source privée, locale ou saisie à la main. Une fois par compétence et par machine."
],
+ "Ns5f4J": ["Décocher tous les commentaires"],
"Nu4DdT": ["Synchronisation"],
"Nu4oKW": ["Description"],
"NuH1jp": ["Dépôt public"],
@@ -1940,6 +1944,7 @@
],
"Okd2Xv": ["Bascule la mise en forme soulignée."],
"OlAl5i": ["Tout développer"],
+ "OlFVNr": ["Demander à l'IA à propos de la sélection"],
"Oo_WWc": ["Aucune page trouvée"],
"Oos8fo": ["Copier la commande"],
"OplnBG": ["La gestion des outils IA n'est pas disponible dans cette version."],
@@ -2011,9 +2016,6 @@
"PkeYXL": ["Mode graphe développé"],
"Pkw7J9": ["Ce dossier est vide."],
"PlGC6r": ["le fichier d'exclusion git n'est pas accessible en écriture"],
- "Pnvg8e": [
- "Impossible d'ouvrir le terminal — les commentaires attendent toujours d'être envoyés."
- ],
"Pp0Vgd": ["Cliquez pour installer dans ", ["label"]],
"PpJy-V": ["Le point de terminaison n'a pas répondu à temps."],
"PqYWiC": [
@@ -2049,6 +2051,7 @@
],
"QDZbvN": ["il y a ", ["diffDays"], " j"],
"QHCx0c": ["Historique des rapports de bug"],
+ "QIrBIx": ["Développer tous les fichiers"],
"QKgePK": [["editor"], " aligné sur la source (ses octets sont sauvegardés)"],
"QLgdT6": ["tout document nommé ", ["0"]],
"QM3SBZ": ["Plan (", ["done"], "/", ["0"], ")"],
@@ -2076,6 +2079,7 @@
"QlAG4m": ["Dites-nous en plus (facultatif)"],
"QlkiD5": ["Replacer sur le texte sélectionné"],
"QlxHAH": ["Résultats pour « ", ["semanticResultsLabel"], " »"],
+ "Qpfxa1": [["secs"], "s"],
"QqBQu1": ["Libellé <0>(texte visible du lien)</0>"],
"Quz_Qu": [
"Les modifications s'appliquent en direct. Le mode clair ou sombre vient de la palette."
@@ -2086,6 +2090,9 @@
],
"QySH4I": ["Projets OpenKnowledge détectés"],
"QyioBP": ["Monter"],
+ "QzofTX": [
+ "Aucun commentaire dans ce projet pour l'instant. Commentez un passage pour commencer."
+ ],
"R0cyYB": [
[
"0",
@@ -2149,7 +2156,6 @@
"Rj01Fz": ["Liens"],
"RlCInP": ["Commandes slash"],
"RmBY0A": ["Aucun dépôt distant git"],
- "RmmhAh": ["Envoyer plus tard"],
"RnrnTe": ["Déjà configuré — ok est disponible dans votre terminal"],
"RoafuO": ["Envoyer un retour"],
"RobAKV": ["Mettez à jour la destination et l'ancre de section facultative."],
@@ -2553,6 +2559,7 @@
"XV5sC0": ["Ouvrir le worktree"],
"XVnIvs": ["Installer des compétences"],
"XW18jo": ["La réponse des titres de page ne correspond pas au schéma de succès"],
+ "XWEqQj": [["days"], "j"],
"XXA1b_": [["componentLabel"], " (vide)"],
"XYlJJT": ["Configuration en cours"],
"XZkdtg": ["Changer de branche"],
@@ -2677,7 +2684,6 @@
"Yy90sM": ["Compétence « ", ["name"], " » créée"],
"YyXtnN": ["Souligné"],
"Yzs3QX": ["Plus d'actions sur la compétence"],
- "YzyyG2": ["Rien à envoyer pour l'instant. Commentez un passage pour l'ajouter ici."],
"Z0W6SO": [
"Ce dossier est un clone de ",
["actualOwner"],
@@ -2712,7 +2718,6 @@
"ZBxvV3": ["Nouveau terminal"],
"ZDOq9A": ["Ce que vous partagez est envoyé à l'équipe OpenKnowledge."],
"ZGVsOD": ["Envoyez cette branche sur GitHub avant de partager."],
- "ZHAM1l": ["Inclure dans l'envoi"],
"ZI8uvA": ["Aucun problème trouvé."],
"ZJ99sD": ["Insérer une colonne à gauche"],
"ZNK2Tq": ["racine"],
@@ -2804,6 +2809,7 @@
"Copie en lecture seule d'un bloc MirrorSource d'un autre document. Modifiez à la source et la copie se met à jour en direct."
],
"_XWY2J": ["Terminal désactivé"],
+ "_YEyHO": ["Afficher les commentaires résolus"],
"_YWqV2": ["OpenKnowledge a résolu un conflit"],
"_ayOfA": [
"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."
@@ -2817,6 +2823,7 @@
"_gO_m8": ["En attente de votre approbation"],
"_gkGSK": ["modèle supprimé"],
"_mcDqU": [["count"], " compétences à cette source"],
+ "_oqig9": [["hours"], "h"],
"_pY_Vq": ["Le dépôt a été déplacé, renommé ou supprimé."],
"_qD6mn": ["Choisissez le dossier où vous l'avez cloné."],
"_rP3HI": ["il y a ", ["minutes"], " min"],
@@ -2824,9 +2831,6 @@
"_tjopj": ["Coller le duplicata"],
"_yB-24": ["tout ce qui se trouve sous n'importe quel dossier ", ["0"], "/"],
"a-cKXz": ["Sélectionner toute la source"],
- "a3H_MR": [
- "Ouvre et met le focus sur la zone Demander à l'IA pour la sélection actuelle de l'éditeur."
- ],
"a3LDKx": ["Sécurité"],
"a45f2c": ["Motifs glob auxquels ce schéma s'applique"],
"a4FRQv": ["Annuler jusqu'à cette modification ?"],
@@ -3197,7 +3201,6 @@
"emMrXQ": ["Le serveur a renvoyé une réponse de duplication mal formée."],
"emgiet": ["Contenu faisant autorité ; reproduit tel quel partout où il est référencé."],
"enPTnx": ["ligne ", ["displayLine"]],
- "eoEUI3": ["Impossible de résoudre ce commentaire."],
"epuNYK": [
"Marque un bloc comme source de vérité. Les miroirs situés ailleurs se mettent à jour en direct pendant que vous le modifiez."
],
@@ -3257,6 +3260,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(fichier binaire, aperçu impossible)"],
"fevEu0": ["Tirer les dernières modifications"],
+ "ffH3Rt": ["Ajouter un commentaire (Entrée)"],
"fg1U4e": ["Découverte de compétences propulsée par <0>skills.sh</0>"],
"fhaxJL": ["Échec du clonage — corps de réponse vide"],
"fiMNLl": [
@@ -3744,7 +3748,6 @@
["4"],
") qui ne touchera pas au reste de votre système."
],
- "l7X_SM": ["Envoyer à l'IA"],
"l87Deg": ["Choisissez ce qu'ouvre un nouvel onglet"],
"l9s3IX": [["agentName"], " n’a pas pu démarrer de conversation."],
"lAiyU_": ["Seul le document actuel utilise <0>#", ["tag"], "</0>."],
@@ -4291,6 +4294,7 @@
],
"rwrPbS": ["Navigation entre les limites de composants"],
"rxWGWX": ["Suivant"],
+ "ryhHUm": ["Lorsque l'onglet Commentaires est ouvert"],
"s-MGs7": ["Ressources"],
"s-XOaI": ["Nom du fichier"],
"s-pW_v": ["Impossible d'installer : ", ["0"]],
@@ -4327,6 +4331,7 @@
"sNeKjP": ["Échec de l'enregistrement du jeton — réessayez"],
"sOxZaS": ["Échec du chargement du graphe"],
"sQoLn0": ["Quitter"],
+ "sR0I-f": ["Réduire tous les fichiers"],
"sW5OjU": ["obligatoire"],
"sZ2IOu": [
"Ce ",
@@ -4387,6 +4392,7 @@
"</0> sera créée à partir du commit actuel, dans son propre worktree sous <1>.ok/worktrees/</1>."
],
"t6w1cq": ["Ouvre un onglet d'éditeur vierge."],
+ "t7YoBO": ["Envoyer ce commentaire"],
"t9Qn8y": ["Aucun agent activé"],
"tA0b9E": [
"le dossier de compétences par défaut (le chemin exact apparaît une fois enregistré)"
@@ -4477,7 +4483,6 @@
"u_lS4C": ["Clonage terminé — ouverture du projet"],
"uaUc6t": ["Redémarrer le serveur"],
"ubMwcO": ["La session de terminal s'est terminée (signal ", ["0"], ")."],
- "ubx-L3": ["Commentaires à envoyer"],
"ucXZ0k": ["Chargement des agents…"],
"ugQcJX": [
["display"],
@@ -4670,6 +4675,7 @@
"Vous avez choisi ~/Downloads. Les fichiers y sont généralement temporaires — envisagez plutôt un dossier stable."
],
"wndeIl": ["Pages du projet sans arête entrante ni sortante dans le graphe."],
+ "wqD3pI": [["failed"], " commentaires sur ", ["0"], " n'ont pas pu être mis à jour."],
"ws5o1F": ["Vérifié par : ", ["0"]],
"wtcxiD": ["Partager cette configuration avec votre équipe ?"],
"wvK7Ay": ["Votre copie locale de la branche <0>", ["branch"], "</0> est en retard."],
@@ -4872,9 +4878,6 @@
"zL0LPh": ["Global, hors champs de texte"],
"zLGXna": ["Aucun pack de démarrage disponible."],
"zLak8b": ["Activer le nouvel onglet"],
- "zO-IiA": [
- "Le terminal n'est pas disponible ici — les commentaires attendent toujours d'être envoyés."
- ],
"zQBg2C": ["Déplace le bloc courant d'une position vers le haut ou vers le bas."],
"zXj1rA": ["Rechercher par le sens"],
"zYp8Sr": [
@@ -4894,7 +4897,6 @@
"zkz0Fg": ["Configurer la synchronisation"],
"zlErBl": ["La réponse d'erreur des titres de page ne respecte pas la RFC 9457"],
"zo3Dl7": ["Basculer les miniatures"],
- "zovxVp": ["Prêt à envoyer"],
"zpfN9p": [
"Pas encore de commentaires. Sélectionnez du texte dans le document pour en ajouter un."
],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index a3a9162ca..f4934c795 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} est au-dessus de {destination}."
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} n'est pas encore installé — ouverture de sa page de téléchargement."
@@ -506,6 +504,10 @@ msgstr "{count} compétences à cette source"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {il y a # jour} many {il y a # jours} other {il y a # jours}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}j"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "il y a {days} j"
@@ -546,7 +548,6 @@ msgstr "{display} est une copie indépendante alors que les autres emplacements
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) n'est pas installé ni présent dans votre PATH."
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} activés"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{failed} commentaires sur {0} n'ont pas pu être effacés."
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{failed} commentaires sur {0} n'ont pas pu être mis à jour."
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {dossier} many {dossiers} other {dossiers}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} étoiles GitHub"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}h"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle} : {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {il y a # min} many {il y a # min} other {il y a # min}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}min"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "il y a {minutes} min"
@@ -736,6 +745,10 @@ msgstr "Propriétés de {propPanelDescriptorLabel}"
msgid "{seconds}s ago"
msgstr "il y a {seconds} s"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}s"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "Propriétés de {settingsDescriptorLabel}"
@@ -1186,6 +1199,10 @@ msgstr "Ajoutez au moins une lettre ou un chiffre."
msgid "Add Comment"
msgstr "Ajouter un commentaire"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "Ajouter un commentaire (Entrée)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "Ajouter des curseurs ou sélectionner les occurrences correspondantes via CodeMirror."
@@ -1597,7 +1614,6 @@ msgstr "Demander à la CLI {0}"
msgid "Ask {agentName}"
msgstr "Demander à {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "Demander à l'IA"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "Demander à l'IA (à partir de la sélection)"
+msgid "Ask AI about selection"
+msgstr "Demander à l'IA à propos de la sélection"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "Demander à l'IA à propos de la sélection"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "Vérifié par : {0}"
msgid "Checking"
msgstr "Vérification"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "Recherche d'agents"
@@ -2195,7 +2214,7 @@ msgstr "Choisir une icône"
msgid "Choose what a new tab starts"
msgstr "Choisissez ce qu'ouvre un nouvel onglet"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "Choisissez où envoyer ces commentaires"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "Journal de nettoyage"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "Clonage de {repoName}…"
msgid "Cloning..."
msgstr "Clonage…"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "Tout réduire"
msgid "Collapse all file groups"
msgstr "Réduire tous les groupes de fichiers"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "Réduire tous les fichiers"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Réduire Demander à l'IA"
@@ -2537,6 +2559,10 @@ msgstr "Commandes"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "Les commandes s'exécutent avec tous les droits de votre compte utilisateur macOS sur cette machine. Désactivez ceci pour couper le shell."
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "Commenter"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "Commenter {address}"
@@ -2545,6 +2571,10 @@ msgstr "Commenter {address}"
msgid "Comment on selection"
msgstr "Commenter la sélection"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "Commenter cette sélection"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "Commenter ce bloc de code ou interroger l’IA à son sujet"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "Commentaires"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "Commentaires à envoyer"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "Validez ou remisez vos modifications pour changer :"
@@ -3316,10 +3342,6 @@ msgstr "Impossible d'ouvrir le document"
msgid "Couldn't open the terminal — please try again."
msgstr "Impossible d'ouvrir le terminal — veuillez réessayer."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "Impossible d'ouvrir le terminal — les commentaires attendent toujours d'être envoyés."
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "Impossible d'ouvrir le worktree. Réessayez."
@@ -3413,10 +3435,6 @@ msgstr "Impossible de renommer le modèle : {0}"
msgid "Couldn't reopen that comment."
msgstr "Impossible de rouvrir ce commentaire."
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "Impossible de résoudre ce commentaire."
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "Impossible de résoudre le conflit pour {filePath}."
@@ -3543,10 +3561,6 @@ msgstr "Impossible de mettre à jour le partage des compétences"
msgid "Couldn't update skills sharing — {detail}."
msgstr "Impossible de mettre à jour le partage des compétences — {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "Impossible de déterminer où envoyer les commentaires — ils sont toujours en attente."
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "Compter publiquement les installations de compétences"
@@ -3891,7 +3905,7 @@ msgstr "Supprimer le tableau"
msgid "Delete this chat?"
msgstr "Supprimer ce chat ?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "Supprimer ce commentaire"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "Vous ne voyez pas <0>Compétences</0> ? Activez d'abord <1>Paramètres <2/> Fonctionnalités <3/> Exécution de code et création de fichiers</1>."
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "Ne pas envoyer ce commentaire"
@@ -4389,7 +4402,7 @@ msgstr "Modifier la source"
msgid "Edit source pane and code property fields"
msgstr "Volet Modifier la source et champs de propriétés de type code"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "Modifier ce commentaire"
@@ -4718,6 +4731,10 @@ msgstr "Tout développer"
msgid "Expand all file groups"
msgstr "Développer tous les groupes de fichiers"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "Développer tous les fichiers"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "Développer le graphe"
@@ -5565,7 +5582,6 @@ msgstr "Aller à la ligne {0} dans {1}"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "Voir ce commentaire dans {0}"
@@ -5598,6 +5614,10 @@ msgstr "Indique à vos agents IA comment travailler ici."
msgid "guides/install or https://example.com"
msgstr "guides/install ou https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "Transmet les commentaires cochés à un agent en un seul tour. Sur Ce document, uniquement les commentaires de ce document ; sur Ce projet, tous les commentaires cochés. Sans effet tant que l'onglet Commentaires est fermé."
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "Saut de ligne forcé"
@@ -5771,10 +5791,14 @@ msgstr "Masquer les indicateurs de problèmes"
msgid "Hide replace"
msgstr "Masquer le remplacement"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "Masquer les éléments résolus"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "Masquer les commentaires résolus"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "Masquer l'aperçu de la sélection"
@@ -5983,10 +6007,6 @@ msgstr "Dans l'application (bêta)"
msgid "In the Claude Desktop App"
msgstr "Dans l'application Claude Desktop"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "Inclure dans l'envoi"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "Inclure ce commentaire dans le prochain envoi"
@@ -6344,7 +6364,7 @@ msgstr "Aller à la page {pageNumber}"
msgid "Jump to tab 1-8"
msgstr "Aller aux onglets 1 à 8"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "Aller au texte ancré"
@@ -6799,6 +6819,10 @@ msgstr "Cartographier l'architecture"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "Marque un bloc comme source de vérité. Les miroirs situés ailleurs se mettent à jour en direct pendant que vous le modifiez."
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "Cocher tous les commentaires à envoyer"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "Aucun agent n'est encore configuré — choisissez-en un dans le menu d'
msgid "No agents available."
msgstr "Aucun agent disponible."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "Aucun agent activé"
@@ -7388,6 +7412,10 @@ msgstr "Aucune modification"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "Aucun serveur de collaboration pour ce worktree — exécutez <0>ok start</0> ici, ou rouvrez le projet."
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "Aucun commentaire dans ce projet pour l'instant. Commentez un passage pour commencer."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "Pas encore de commentaires. Sélectionnez du texte dans le document pour en ajouter un."
@@ -7742,10 +7770,6 @@ msgstr "rien ({0} n'est pas un motif valide)"
msgid "Nothing set yet."
msgstr "Rien de défini pour l'instant."
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "Rien à envoyer pour l'instant. Commentez un passage pour l'ajouter ici."
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "Rien n'a été envoyé. Le rapport reste sur ce Mac jusqu'à ce que vous nous l'envoyiez par e-mail."
@@ -7944,10 +7968,6 @@ msgstr "Ouvrir le panneau des agents"
msgid "Open an existing project folder from disk."
msgstr "Ouvrez un dossier de projet existant depuis le disque."
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "Ouvre et met le focus sur la zone Demander à l'IA pour la sélection actuelle de l'éditeur."
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "Ouvre et met le focus sur la zone d'invite Demander à l'IA en bas."
@@ -7968,6 +7988,10 @@ msgstr "Ouvre le panneau de diagnostics de vérification de CodeMirror."
msgid "Open comment"
msgstr "Ouvrir le commentaire"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "Ouvrir les commentaires"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "Ouvrir le dossier contenant"
@@ -8436,7 +8460,7 @@ msgstr "Fichier d'origine — avant les modifications de cet agent."
msgid "Orphan mode"
msgstr "Mode orphelines"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "Orpheline"
@@ -9102,7 +9126,7 @@ msgstr "Se réauthentifier auprès de GitHub Enterprise Server"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "Le recalcul des embeddings se fait au fil des recherches, donc la couverture repart de zéro et se remplit peu à peu."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "Replacer sur le texte sélectionné"
@@ -9130,10 +9154,6 @@ msgstr "Fichier en lecture seule dans la compétence {name}"
msgid "Reading…"
msgstr "Lecture…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "Prêt à envoyer"
-
#: 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."
@@ -9470,7 +9490,7 @@ msgstr "erreur de rendu"
msgid "Rendered"
msgstr "Rendu"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "Rouvrir"
@@ -9636,10 +9656,6 @@ msgstr "Réinitialiser les filtres d'affichage"
msgid "Resize {handleKey}"
msgstr "Redimensionner {handleKey}"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "Résoudre"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "Résoudre le conflit dans votre terminal"
@@ -9652,7 +9668,7 @@ msgstr "Résolvez le conflit sur {files} avant de supprimer."
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "Résolvez le conflit sur {files} et {overflow} autres fichiers avant de supprimer."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "Résolu"
@@ -10191,7 +10207,7 @@ msgstr "Sélectionner l'occurrence suivante"
msgid "Select the full source document."
msgstr "Sélectionne l'intégralité du document source."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "Sélectionner ce texte dans la propriété"
@@ -10244,6 +10260,10 @@ msgstr "Envoyer"
msgid "Send & continue"
msgstr "Envoyer et continuer"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "Envoyer les commentaires cochés dans la discussion"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "Envoyer les commentaires à"
@@ -10257,22 +10277,23 @@ msgstr "Envoyer un retour"
msgid "Send feedback…"
msgstr "Envoyer un retour…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "Envoyer plus tard"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "Envoyer le rapport"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "Envoyer à l'IA"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "Envoyer ce commentaire"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "Envoyer dans la discussion"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "Envoyer dans la discussion ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "Envoyer quand l’agent sera libre"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "Afficher le remplacement"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "Afficher les éléments résolus ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "Afficher les commentaires résolus"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "Afficher l'aperçu de la sélection"
@@ -10961,6 +10986,10 @@ msgstr "Annuler ou rétablir dans la source"
msgid "Split list item"
msgstr "Scinder l'élément de liste"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "Prépare le passage sélectionné dans le panneau des agents, prêt à être complété et envoyé."
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "Mettez-nous une étoile sur GitHub"
@@ -10982,7 +11011,7 @@ msgstr "Démarrer {agentName}, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "Démarrez un chat avec le bouton + ou lancez un agent depuis une page."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "Démarrer une nouvelle discussion"
@@ -11544,10 +11573,6 @@ msgstr "Merci pour votre retour !"
msgid "Thanks for the report!"
msgstr "Merci pour ce rapport !"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "Cette application n'est pas disponible — les commentaires attendent toujours d'être envoyés."
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "L'agent ne s'arrête pas. L'arrêt forcé ferme ce chat et quitte l'agen
msgid "The agent's persona, values, and voice."
msgstr "La personnalité, les valeurs et le ton de l'agent."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "Le texte ancré a disparu. Vous pouvez le replacer sur un texte sélectionné."
@@ -11749,10 +11774,6 @@ msgstr "Le nom de fichier du modèle (sans `.md`)."
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "Le terminal est désactivé pour ce projet. Réactivez-le pour exécuter des commandes ici."
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "Le terminal n'est pas disponible ici — les commentaires attendent toujours d'être envoyés."
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "Cette branche est extraite dans :"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "Cela se configure dans Paramètres > Outils IA et CLI"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "Ce commentaire porte sur toute la propriété"
@@ -12037,6 +12058,7 @@ msgstr "Cette action supprime définitivement {0}/{1} de la compétence « {2}
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "Ceci retire définitivement {path}. Les agents qui référencent ce modèle par son nom échoueront jusqu'à ce qu'il soit recréé ou remplacé par un modèle d'un dossier parent."
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "Ce projet"
@@ -12171,10 +12193,6 @@ msgstr "À faire"
msgid "To do."
msgstr "À faire."
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "À envoyer"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "Bascule une liste à puces."
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "Bascule la mise en forme barrée."
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "Affiche ou masque le panneau inférieur, où se trouve le terminal. Si du texte est sélectionné, il est préparé pour l’IA de votre choix."
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "Affiche ou masque le panneau inférieur, où se trouve le terminal."
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "Erreur inconnue"
msgid "unlink"
msgstr "dissocier"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "Décocher tous les commentaires"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "Liste d'éléments sans numérotation."
@@ -12958,6 +12980,10 @@ msgstr "Une fois activé, l'agent ouvre ou actualise l'aperçu après chaque mod
msgid "When the agent runs its scheduled work."
msgstr "Quand l'agent effectue son travail planifié."
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "Lorsque l'onglet Commentaires est ouvert"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "Quand vous survolez un lien externe, son URL est envoyée au site de destination pour récupérer les métadonnées d'aperçu de la page — une requête par lien prévisualisé."
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index c0acf448c..3e3bc0640 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -152,7 +152,6 @@
"1njn7W": ["हल्का"],
"1nke1r": [["0"], " को GitHub पर खोलें (नए टैब में खुलता है)"],
"1oSHI0": [["skillName"], " इंस्टॉल नहीं की जा सकी: ", ["0"]],
- "1oawp3": [["0"], " टिप्पणियों में से ", ["failed"], " साफ़ नहीं की जा सकीं।"],
"1t_NnN": ["अस्वीकारें"],
"1u-mAI": ["सिंक शुरू नहीं किया जा सका। अपना कनेक्शन जाँचें, फिर कोशिश करें।"],
"1vn0CI": ["सर्वर की प्रतिक्रिया अमान्य है"],
@@ -175,7 +174,6 @@
"2FnYUD": [
"ऐप और सिस्टम की जानकारी, हाल के ऐप लॉग और प्रोजेक्ट सर्वर लॉग: समस्या को दोहराने के लिए ज़रूरी बुनियादी चीज़ें।"
],
- "2FoHU3": ["सुलझाएँ"],
"2G-56b": ["markdownlint नियम अपडेट करने में विफल"],
"2GT3Hf": ["वैश्विक"],
"2H43L8": ["API कुंजी और टोकन जैसी गोपनीय जानकारी अपने आप हटा दी जाती है।"],
@@ -296,7 +294,6 @@
"4E9jPa": ["अपना पहला प्रोजेक्ट बनाएँ"],
"4EZrJN": ["नियम"],
"4ErgAf": ["OpenKnowledge ने एक स्किल इंस्टॉल की"],
- "4GWjF8": ["यह तय नहीं किया जा सका कि टिप्पणियाँ कहाँ भेजनी हैं — वे अब भी प्रतीक्षा में हैं।"],
"4Gz2wC": ["फ़ाइल अपलोड करने में विफल"],
"4KmEoC": ["हॉटकी"],
"4NC2Ym": ["अगली या पिछली तालिका कोशिका पर जाएँ।"],
@@ -322,6 +319,7 @@
"4sKwf6": ["फ़ाइल पहले से मौजूद है"],
"4sUdTJ": ["थीम वाला पूर्वावलोकन"],
"4uNLmk": ["खींचा जा रहा है"],
+ "4uaCUA": [["mins"], "मि"],
"4v2Yyz": ["जब फ़ोकस Files साइडबार में हो तब हर दिखाई देने वाली फ़ाइल-ट्री पंक्ति चुनें।"],
"4wo5UV": ["चयनित इंस्टॉल करें"],
"4xtLTl": ["छिपा हुआ फ़ोल्डर “", ["basename"], "”"],
@@ -339,6 +337,7 @@
"56WWtu": ["स्टार्टर पैक लोड नहीं हो सके: ", ["error"]],
"56xUL1": ["प्रॉपर्टी का नाम"],
"57fiu8": ["(केवल पढ़ने के लिए — फ़िलहाल स्रोत मोड में संपादित करें)"],
+ "58qIOK": ["इस चयन पर टिप्पणी करें"],
"5ALjdr": ["खोज फ़ील्ड से दृश्य-संपादक के खोज परिणामों के बीच जाएँ।"],
"5Ajb15": ["सूत्र <0>c = √(a² + b²)</0> इनलाइन रेंडर होता है।"],
"5AzM72": ["यह सेटिंग हर मशीन के लिए अलग है और सहयोगियों के साथ साझा नहीं होती।"],
@@ -375,6 +374,9 @@
"5aahsI": ["कुछ नहीं (", ["0"], " एक मान्य पैटर्न नहीं है)"],
"5b3WD-": ["OpenKnowledge ने एक चेकपॉइंट सहेजा"],
"5e1Dri": ["वह मेन्यू लेबल जिससे एजेंट यह टेम्पलेट चुनते हैं (आवश्यक)।"],
+ "5ecEGe": [
+ "चुनी हुई टिप्पणियाँ एक ही बार में एजेंट को सौंपें। यह दस्तावेज़ पर केवल उसी दस्तावेज़ की टिप्पणियाँ; यह प्रोजेक्ट पर सभी चुनी हुई टिप्पणियाँ। टिप्पणियाँ टैब बंद होने पर कुछ नहीं होता।"
+ ],
"5gr_ev": [
"जब कोई इस टेम्पलेट से दस्तावेज़ बनाता है तो यह उस दस्तावेज़ की सामग्री बन जाती है। आज की तारीख़ या लेखक का नाम अपने आप भरने के लिए <0>",
["dateToken"],
@@ -433,6 +435,7 @@
"6V3Ea3": ["कॉपी किया गया"],
"6VqW-1": [["keyName"], " हटाएँ"],
"6WdDG7": ["पेज"],
+ "6YBJ3m": ["चयन के बारे में AI से पूछें"],
"6YtxFj": ["नाम"],
"6ZhdPI": ["एजेंट क्या पढ़, लिख और सामने ला सकता है।"],
"6_ZOw4": ["पूरा पथ कॉपी किया गया"],
@@ -563,11 +566,11 @@
"8fRyLo": ["अमान्य पैच पेलोड"],
"8fc_3j": ["सुरक्षित ब्रांच — भेजा नहीं जा सकता"],
"8k6INX": ["<0>", ["host"], "</0> के लिए एक व्यक्तिगत पहुँच टोकन चिपकाएँ।"],
- "8kBLOT": ["वह ऐप उपलब्ध नहीं है — टिप्पणियाँ अब भी भेजे जाने की प्रतीक्षा में हैं।"],
"8lwQlE": [["0"], " जोड़े गए, ", ["1"], " हटाए गए"],
"8m8diM": ["कोई स्थान नहीं चुना गया। फ़ोल्डर चुनने के लिए Browse का उपयोग करें।"],
"8nOdkO": ["बीच में संरेखित करें"],
"8nWu1k": ["खाली आरेख"],
+ "8oWgty": ["भेजने के लिए सभी टिप्पणियाँ चुनें"],
"8qgfac": ["MCP सर्वर"],
"8ruqQi": ["टूटे हुए आंतरिक लिंक"],
"8sMErm": ["Follow सक्षम करें?"],
@@ -768,6 +771,7 @@
"C0hoX6": ["हमेशा शामिल"],
"C3Zc44": ["स्किल खोजें"],
"C62P6b": ["संपादक चयन"],
+ "C7PKTv": ["चुनी हुई टिप्पणियाँ चैट में भेजें"],
"C7waqI": [["0", "plural", { "one": ["#", " दस्तावेज़"], "other": ["#", " दस्तावेज़"] }]],
"C9TBvF": ["कोई जाने वाला नहीं"],
"CB7c0Z": ["कतार में लगा संदेश सहेजें"],
@@ -804,6 +808,7 @@
"ChAtFg": ["आपके पास इस रिपॉज़िटरी में पुश करने की अनुमति नहीं है"],
"ChMshD": [["appName"], " से बाहर निकलें"],
"Ck9XRt": ["कुंजी नहीं सहेजी जा सकी — कृपया फिर कोशिश करें।"],
+ "ClTEde": ["चयनित अंश को एजेंट पैनल में तैयार रखें, जोड़कर भेजने के लिए तैयार।"],
"CmeH9S": [["keyName"], " में प्रॉपर्टी जोड़ें"],
"CnOGgs": ["सिंक मोड"],
"CoHvYd": [["0"], " को ", ["2"], " में से स्थान ", ["1"], " पर ले जाया गया"],
@@ -1047,7 +1052,7 @@
"G0YZ-I": ["सूची आइटम को अंदर या बाहर करें"],
"G1Gw0v": ["नया टेम्पलेट"],
"G1XxbZ": ["चेकबॉक्स"],
- "G4-bgo": ["AI से पूछें (चयन से)"],
+ "G1zJlD": ["हल की गई टिप्पणियाँ छिपाएँ"],
"G4m8rL": ["चयन पर टिप्पणी"],
"G6Lrs_": [["0"], " को यह स्किल पढ़ने से रोकें"],
"G7-rf8": ["पैटर्न वाक्यविन्यास त्रुटि: ", ["message"]],
@@ -1357,6 +1362,7 @@
"LXdWeS": ["मध्यम अनुभाग शीर्षक।"],
"LXfNU-": ["नेविगेशन और सुझाव"],
"LYufDw": ["अर्थ-आधारित खोज सक्षम करने में विफल — ", ["detail"]],
+ "LaskKp": ["चैट में भेजें (", ["0"], ")"],
"Lbl6KA": [["0"], " से इंस्टॉल नहीं किया जा सका: ", ["1"]],
"LbmLyU": ["इस टूल के कॉन्फ़िग को सुरक्षित रूप से संपादित नहीं किया जा सकता"],
"Lcehxn": ["समाधान सहेजें"],
@@ -1490,6 +1496,7 @@
"N55YNr": [
"चुनें कि इस प्रोजेक्ट का OpenKnowledge सेटअप, उसके AI-टूल कनेक्शन सहित, प्रोजेक्ट के साथ सहेजा जाए ताकि सहकर्मियों को भी मिले, या केवल आपके कंप्यूटर पर रखा जाए।"
],
+ "NBdIgR": ["टिप्पणी करें"],
"NCmYhK": [
"स्किल एजेंट को दोहराए जा सकने वाले काम सिखाती हैं। उन्हें संपादक के Skills अनुभाग से लिखें और सँभालें; हर स्किल का इंस्टॉल मेन्यू तय करता है कि वह कहाँ रहेगी। ये इस प्रोजेक्ट के स्किल फ़ोल्डर हैं।"
],
@@ -1508,9 +1515,7 @@
"NRSLBe": [["diffMin"], " मिनट पहले"],
"NSnIUP": ["दो पेज (सम)"],
"NUr4kz": ["इस फ़ोल्डर में नए दस्तावेज़ों के लिए एक पुन: उपयोग योग्य शुरुआती बिंदु।"],
- "NVtrN-": [
- "निचले पैनल को टॉगल करें, जहाँ टर्मिनल रहता है। यदि टेक्स्ट चयनित है, तो उसे आपकी पसंदीदा AI के लिए तैयार किया जाता है।"
- ],
+ "NUw7lo": ["निचला पैनल दिखाएँ या छिपाएँ, जहाँ टर्मिनल रहता है।"],
"NYUhy5": ["उप-फ़ोल्डर का नाम"],
"NYn1cR": ["संपादक लोड हो रहा है"],
"NYu2Pt": ["नया प्रोजेक्ट…"],
@@ -1523,6 +1528,7 @@
"NeY1Np": ["Slidev शुरू होने में बहुत समय लगा। फिर से कोशिश करें।"],
"NfraGd": ["Slidev इंस्टॉल करने के अन्य तरीके"],
"NgZwB0": [["0"], " में से ", ["enabledCount"], " चालू"],
+ "NiGIcB": ["टिप्पणियाँ खोलें"],
"NjrIak": ["फ़ाइल: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": [["tag"], " संपादित करें"],
"NkXEFS": ["बहाली विफल — दस्तावेज़ अपरिवर्तित"],
@@ -1532,11 +1538,11 @@
"NnQapF": ["AI ", ["targetDisplayName"], " से खोलें"],
"NoY1k4": ["सर्वर प्रतिक्रिया की संरचना अमान्य है"],
"NpC29w": ["मौजूदा सूची आइटम से एक नया सूची आइटम बनाएँ।"],
- "NpuPmi": ["भेजना है"],
"NrFwux": ["सामग्री नियम सहेजने में विफल — ", ["0"]],
"Ns0z5o": [
"जब आप कोई प्रकाशित स्किल इंस्टॉल करें, तो स्किल निर्देशिका (skills.sh) को बताएँ ताकि उसकी इंस्टॉल गिनती सही रहे। यह स्किल का नाम, उसकी स्रोत रिपॉज़िटरी, और वह किन एजेंट टूल में गई यह भेजता है — फ़ाइलों की सामग्री कभी नहीं, और किसी निजी, स्थानीय या हाथ से लिखे स्रोत की स्किल के लिए कभी नहीं। हर मशीन पर हर स्किल के लिए एक बार।"
],
+ "Ns5f4J": ["सभी टिप्पणियों का चयन हटाएँ"],
"Nu4DdT": ["सिंक"],
"Nu4oKW": ["विवरण"],
"NuH1jp": ["सार्वजनिक रिपॉज़िटरी"],
@@ -1594,6 +1600,7 @@
],
"Okd2Xv": ["रेखांकित फ़ॉर्मैटिंग चालू या बंद करें।"],
"OlAl5i": ["सब फैलाएँ"],
+ "OlFVNr": ["चयन के बारे में AI से पूछें"],
"Oo_WWc": ["कोई पेज नहीं मिला"],
"Oos8fo": ["कमांड कॉपी करें"],
"OplnBG": ["इस बिल्ड में AI टूल सँभालना उपलब्ध नहीं है।"],
@@ -1663,7 +1670,6 @@
"PkeYXL": ["फैला हुआ ग्राफ़ मोड"],
"Pkw7J9": ["यह फ़ोल्डर खाली है।"],
"PlGC6r": ["git exclude फ़ाइल लिखने योग्य नहीं है"],
- "Pnvg8e": ["टर्मिनल नहीं खोला जा सका — टिप्पणियाँ अब भी भेजे जाने की प्रतीक्षा में हैं।"],
"Pp0Vgd": [["label"], " में इंस्टॉल करने के लिए क्लिक करें"],
"PpJy-V": ["एंडपॉइंट ने समय पर उत्तर नहीं दिया।"],
"PqYWiC": [
@@ -1688,6 +1694,7 @@
"QB-moX": ["इसे साझा करने के लिए अपने बाकी संपादकों (Claude Code, Cursor, Codex) में इंस्टॉल करें।"],
"QDZbvN": [["diffDays"], " दिन पहले"],
"QHCx0c": ["बग रिपोर्ट इतिहास"],
+ "QIrBIx": ["सभी फ़ाइलें फैलाएँ"],
"QKgePK": [["editor"], " को स्रोत के अनुरूप किया गया (इसके बाइट का बैकअप ले लिया गया है)"],
"QLgdT6": [["0"], " नाम का कोई भी दस्तावेज़"],
"QM3SBZ": ["योजना (", ["done"], "/", ["0"], ")"],
@@ -1712,6 +1719,7 @@
"QlAG4m": ["हमें और बताएँ (वैकल्पिक)"],
"QlkiD5": ["चयनित पाठ पर फिर से रखें"],
"QlxHAH": ["\"", ["semanticResultsLabel"], "\" के परिणाम दिखाए जा रहे हैं"],
+ "Qpfxa1": [["secs"], "से"],
"QqBQu1": ["लेबल <0>(दिखाई देने वाला लिंक पाठ)</0>"],
"Quz_Qu": ["संपादन तुरंत लागू होते हैं। हल्का या गहरा रंग स्कीम से आता है।"],
"Qvls7J": ["इंजीनियरिंग स्पेक"],
@@ -1720,6 +1728,7 @@
],
"QySH4I": ["पाए गए OpenKnowledge प्रोजेक्ट"],
"QyioBP": ["ऊपर ले जाएँ"],
+ "QzofTX": ["इस प्रोजेक्ट में अभी कोई टिप्पणी नहीं है। शुरू करने के लिए किसी अंश पर टिप्पणी करें."],
"R0cyYB": [
[
"0",
@@ -1780,7 +1789,6 @@
"Rj01Fz": ["लिंक"],
"RlCInP": ["स्लैश कमांड"],
"RmBY0A": ["कोई git रिमोट नहीं"],
- "RmmhAh": ["बाद में भेजें"],
"RnrnTe": ["पहले से सेट अप है — ok आपके टर्मिनल में उपलब्ध है"],
"RoafuO": ["प्रतिक्रिया भेजें"],
"RobAKV": ["गंतव्य और वैकल्पिक अनुभाग एंकर बदलें।"],
@@ -2112,6 +2120,7 @@
"XV5sC0": ["वर्कट्री खोलें"],
"XVnIvs": ["स्किल इंस्टॉल करें"],
"XW18jo": ["पेज शीर्षकों की प्रतिक्रिया सफलता स्कीमा से मेल नहीं खाई"],
+ "XWEqQj": [["days"], "दि"],
"XXA1b_": [["componentLabel"], " (खाली)"],
"XYlJJT": ["सेट अप किया जा रहा है"],
"XZkdtg": ["ब्रांच बदलें"],
@@ -2204,7 +2213,6 @@
"Yy90sM": ["स्किल \"", ["name"], "\" बनाई गई"],
"YyXtnN": ["रेखांकित"],
"Yzs3QX": ["और स्किल क्रियाएँ"],
- "YzyyG2": ["अभी भेजने को कुछ नहीं। इसे यहाँ जोड़ने के लिए किसी अंश पर टिप्पणी करें।"],
"Z0W6SO": [
"यह फ़ोल्डर ",
["actualOwner"],
@@ -2239,7 +2247,6 @@
"ZBxvV3": ["नया टर्मिनल"],
"ZDOq9A": ["आप जो साझा करते हैं वह OpenKnowledge टीम को भेजा जाता है।"],
"ZGVsOD": ["साझा करने से पहले इस ब्रांच को GitHub पर पुश करें।"],
- "ZHAM1l": ["भेजने में शामिल करें"],
"ZI8uvA": ["कोई समस्या नहीं मिली।"],
"ZJ99sD": ["बाईं ओर कॉलम जोड़ें"],
"ZNK2Tq": ["रूट"],
@@ -2321,6 +2328,7 @@
"किसी दूसरे दस्तावेज़ के MirrorSource ब्लॉक की केवल-पढ़ने योग्य प्रति। स्रोत पर संपादित करें और यह तुरंत अद्यतित हो जाती है।"
],
"_XWY2J": ["टर्मिनल अक्षम"],
+ "_YEyHO": ["हल की गई टिप्पणियाँ दिखाएँ"],
"_YWqV2": ["OpenKnowledge ने एक विरोध हल किया"],
"_ayOfA": [
"एक ज्ञान आधार जो Google के Open Knowledge Format का पालन करता है, जो आपकी जानकारी को व्यवस्थित करने का एक साझा तरीका है। इसे चुनें यदि आप चाहते हैं कि आपके नोट उन दूसरे टूल के साथ अच्छी तरह काम करें जो इस फ़ॉर्मेट को समझते हैं।"
@@ -2332,6 +2340,7 @@
"_gO_m8": ["आपकी स्वीकृति की प्रतीक्षा"],
"_gkGSK": ["टेम्पलेट हटाया गया"],
"_mcDqU": ["इस स्रोत पर ", ["count"], " स्किल"],
+ "_oqig9": [["hours"], "घं"],
"_pY_Vq": ["रिपॉज़िटरी हिलाई गई, उसका नाम बदला गया, या उसे हटा दिया गया।"],
"_qD6mn": ["वह फ़ोल्डर चुनें जहाँ आपने इसे क्लोन किया है।"],
"_rP3HI": [["minutes"], " मिनट पहले"],
@@ -2339,7 +2348,6 @@
"_tjopj": ["नकल चिपकाएँ"],
"_yB-24": ["किसी भी ", ["0"], "/ फ़ोल्डर के अंतर्गत सब कुछ"],
"a-cKXz": ["पूरा स्रोत चुनें"],
- "a3H_MR": ["मौजूदा संपादक चयन के लिए Ask AI लेखन-पट्टी खोलें और उस पर फ़ोकस करें।"],
"a3LDKx": ["सुरक्षा"],
"a45f2c": ["वे ग्लोब पैटर्न जिन पर यह स्कीमा लागू होती है"],
"a4FRQv": ["इस संपादन तक पूर्ववत करें?"],
@@ -2628,7 +2636,6 @@
"emMrXQ": ["सर्वर ने गलत प्रारूप वाली डुप्लिकेट प्रतिक्रिया लौटाई।"],
"emgiet": ["आधिकारिक सामग्री; जहाँ भी संदर्भित हो वहाँ हूबहू प्रतिबिंबित।"],
"enPTnx": ["पंक्ति ", ["displayLine"]],
- "eoEUI3": ["उस टिप्पणी को सुलझाया नहीं जा सका।"],
"epuNYK": [
"किसी ब्लॉक को सत्य के स्रोत के रूप में चिह्नित करें। जैसे-जैसे आप उसे संपादित करते हैं, बाकी जगहों के मिरर तुरंत अद्यतित होते हैं।"
],
@@ -2678,6 +2685,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(बाइनरी फ़ाइल, पूर्वावलोकन योग्य नहीं)"],
"fevEu0": ["नवीनतम बदलाव खींचें"],
+ "ffH3Rt": ["टिप्पणी जोड़ें (Enter)"],
"fg1U4e": ["स्किल खोज <0>skills.sh</0> द्वारा संचालित"],
"fhaxJL": ["क्लोन विफल — प्रतिक्रिया का मुख्य भाग खाली है"],
"fiMNLl": ["सिंक सेटिंग अभी लोड नहीं हुई — कुछ देर बाद फिर कोशिश करें"],
@@ -3096,7 +3104,6 @@
["4"],
" से) जो आपके बाकी सिस्टम को नहीं छुएगी।"
],
- "l7X_SM": ["AI को भेजें"],
"l87Deg": ["चुनें कि नया टैब क्या शुरू करे"],
"l9s3IX": [["agentName"], " बातचीत शुरू नहीं कर सका।"],
"lAiyU_": ["केवल मौजूदा दस्तावेज़ <0>#", ["tag"], "</0> का उपयोग करता है।"],
@@ -3543,6 +3550,7 @@
],
"rwrPbS": ["कंपोनेंट सीमा नेविगेशन"],
"rxWGWX": ["आगे"],
+ "ryhHUm": ["जब टिप्पणियाँ टैब खुला हो"],
"s-MGs7": ["संसाधन"],
"s-XOaI": ["फ़ाइल का नाम"],
"s-pW_v": ["इंस्टॉल नहीं किया जा सका: ", ["0"]],
@@ -3573,6 +3581,7 @@
"sNeKjP": ["टोकन सहेजने में विफल — फिर कोशिश करें"],
"sOxZaS": ["ग्राफ़ लोड करने में विफल"],
"sQoLn0": ["बाहर निकलें"],
+ "sR0I-f": ["सभी फ़ाइलें समेटें"],
"sW5OjU": ["आवश्यक"],
"sZ2IOu": [
"यह ",
@@ -3629,6 +3638,7 @@
"</0> मौजूदा कमिट से बनाई जाएगी, <1>.ok/worktrees/</1> के अंतर्गत उसके अपने वर्कट्री में।"
],
"t6w1cq": ["एक खाली संपादक टैब खोलें।"],
+ "t7YoBO": ["यह टिप्पणी भेजें"],
"t9Qn8y": ["कोई एजेंट सक्षम नहीं"],
"tA0b9E": ["डिफ़ॉल्ट स्किल फ़ोल्डर (सहेजने के बाद सटीक पथ दिखता है)"],
"tA2-xC": ["\"", ["0"], "\" पहले ही जोड़ा जा चुका था (समान सामग्री)।"],
@@ -3706,7 +3716,6 @@
"u_lS4C": ["क्लोन पूर्ण — प्रोजेक्ट खोला जा रहा है"],
"uaUc6t": ["सर्वर पुनः आरंभ करें"],
"ubMwcO": ["टर्मिनल सत्र समाप्त हो गया (सिग्नल ", ["0"], ")।"],
- "ubx-L3": ["भेजी जाने वाली टिप्पणियाँ"],
"ucXZ0k": ["एजेंट लोड हो रहे हैं…"],
"ugQcJX": [
["display"],
@@ -3856,6 +3865,7 @@
"आपने ~/Downloads चुना। वहाँ की फ़ाइलें आमतौर पर अस्थायी होती हैं — इसके बजाय किसी स्थिर फ़ोल्डर पर विचार करें।"
],
"wndeIl": ["वे प्रोजेक्ट-स्तर के पेज जिनके न आने वाले और न जाने वाले ग्राफ़ किनारे हैं।"],
+ "wqD3pI": [["0"], " में से ", ["failed"], " टिप्पणियाँ अपडेट नहीं हो सकीं।"],
"ws5o1F": ["जाँचकर्ता: ", ["0"]],
"wtcxiD": ["यह सेटअप अपनी टीम के साथ साझा करें?"],
"wvK7Ay": ["ब्रांच <0>", ["branch"], "</0> की आपकी स्थानीय प्रति पीछे है।"],
@@ -4021,7 +4031,6 @@
"zL0LPh": ["पाठ फ़ील्ड के बाहर वैश्विक"],
"zLGXna": ["कोई स्टार्टर पैक उपलब्ध नहीं।"],
"zLak8b": ["नया टैब सक्रिय करें"],
- "zO-IiA": ["टर्मिनल यहाँ उपलब्ध नहीं है — टिप्पणियाँ अब भी भेजे जाने की प्रतीक्षा में हैं।"],
"zQBg2C": ["मौजूदा ब्लॉक को एक स्थान ऊपर या नीचे ले जाएँ।"],
"zXj1rA": ["अर्थ के अनुसार खोजें"],
"zYp8Sr": [
@@ -4039,7 +4048,6 @@
"zkz0Fg": ["सिंक सेट अप करें"],
"zlErBl": ["पेज शीर्षकों की त्रुटि प्रतिक्रिया RFC 9457 से मेल नहीं खाई"],
"zo3Dl7": ["थंबनेल चालू या बंद करें"],
- "zovxVp": ["भेजने के लिए तैयार"],
"zpfN9p": ["अभी कोई टिप्पणी नहीं। कोई जोड़ने के लिए दस्तावेज़ में पाठ चुनें।"],
"zq2eBA": ["स्रोत में देखें"],
"zrP8HX": [
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index 3f2abc8bc..e126b2dcd 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} {destination} के ऊपर है।"
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} अभी इंस्टॉल नहीं है — इसका डाउनलोड पेज खोला जा रहा है।"
@@ -506,6 +504,10 @@ msgstr "इस स्रोत पर {count} स्किल"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {# दिन पहले} other {# दिन पहले}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}दि"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days} दिन पहले"
@@ -546,7 +548,6 @@ msgstr "{display} एक स्वतंत्र प्रति है जब
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) इंस्टॉल नहीं है या आपके PATH में नहीं है।"
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{0} में से {enabledCount} चालू"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{0} टिप्पणियों में से {failed} साफ़ नहीं की जा सकीं।"
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{0} में से {failed} टिप्पणियाँ अपडेट नहीं हो सकीं।"
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {फ़ोल्डर} other {फ़ोल्
msgid "{formatted} GitHub stars"
msgstr "{formatted} GitHub स्टार"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}घं"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {# मिनट पहले} other {# मिनट पहले}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}मि"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} मिनट पहले"
@@ -736,6 +745,10 @@ msgstr "{propPanelDescriptorLabel} प्रॉपर्टी"
msgid "{seconds}s ago"
msgstr "{seconds} सेकंड पहले"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}से"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "{settingsDescriptorLabel} प्रॉपर्टी"
@@ -1182,6 +1195,10 @@ msgstr "कम से कम एक अक्षर या अंक जोड
msgid "Add Comment"
msgstr "टिप्पणी जोड़ें"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "टिप्पणी जोड़ें (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "CodeMirror के ज़रिए कर्सर जोड़ें या मेल खाती घटनाएँ चुनें।"
@@ -1593,7 +1610,6 @@ msgstr "{0} CLI से पूछें"
msgid "Ask {agentName}"
msgstr "{agentName} से पूछें"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1603,8 +1619,12 @@ msgid "Ask AI"
msgstr "AI से पूछें"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "AI से पूछें (चयन से)"
+msgid "Ask AI about selection"
+msgstr "चयन के बारे में AI से पूछें"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "चयन के बारे में AI से पूछें"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2112,7 +2132,6 @@ msgstr "जाँचकर्ता: {0}"
msgid "Checking"
msgstr "जाँचा जा रहा है"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "एजेंट खोजे जा रहे हैं"
@@ -2191,7 +2210,7 @@ msgstr "आइकन चुनें"
msgid "Choose what a new tab starts"
msgstr "चुनें कि नया टैब क्या शुरू करे"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "चुनें कि ये टिप्पणियाँ कहाँ भेजनी हैं"
@@ -2227,7 +2246,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "सफ़ाई लॉग"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2349,7 +2367,7 @@ msgstr "{repoName} क्लोन किया जा रहा है…"
msgid "Cloning..."
msgstr "क्लोन किया जा रहा है…"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2485,6 +2503,10 @@ msgstr "सभी समेटें"
msgid "Collapse all file groups"
msgstr "सभी फ़ाइल समूह समेटें"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "सभी फ़ाइलें समेटें"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Ask AI समेटें"
@@ -2533,6 +2555,10 @@ msgstr "कमांड"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "कमांड इस मशीन पर आपके macOS उपयोगकर्ता खाते की पूरी पहुँच के साथ चलते हैं। शेल बंद करने के लिए इसे बंद कर दें।"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "टिप्पणी करें"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "{address} पर टिप्पणी"
@@ -2541,6 +2567,10 @@ msgstr "{address} पर टिप्पणी"
msgid "Comment on selection"
msgstr "चयन पर टिप्पणी"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "इस चयन पर टिप्पणी करें"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2551,15 +2581,11 @@ msgid "Comment or ask AI about this code block"
msgstr "इस कोड ब्लॉक पर टिप्पणी करें या AI से पूछें"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "टिप्पणियाँ"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "भेजी जाने वाली टिप्पणियाँ"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "बदलने के लिए बदलाव कमिट या स्टैश करें:"
@@ -3312,10 +3338,6 @@ msgstr "दस्तावेज़ नहीं खोला जा सका"
msgid "Couldn't open the terminal — please try again."
msgstr "टर्मिनल नहीं खोला जा सका — कृपया फिर कोशिश करें।"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "टर्मिनल नहीं खोला जा सका — टिप्पणियाँ अब भी भेजे जाने की प्रतीक्षा में हैं।"
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "वर्कट्री नहीं खोला जा सका। फिर कोशिश करें।"
@@ -3409,10 +3431,6 @@ msgstr "टेम्पलेट का नाम नहीं बदला ज
msgid "Couldn't reopen that comment."
msgstr "उस टिप्पणी को फिर से नहीं खोला जा सका।"
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "उस टिप्पणी को सुलझाया नहीं जा सका।"
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "{filePath} का टकराव नहीं सुलझाया जा सका।"
@@ -3539,10 +3557,6 @@ msgstr "स्किल साझाकरण अपडेट नहीं क
msgid "Couldn't update skills sharing — {detail}."
msgstr "स्किल साझाकरण अपडेट नहीं किया जा सका — {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "यह तय नहीं किया जा सका कि टिप्पणियाँ कहाँ भेजनी हैं — वे अब भी प्रतीक्षा में हैं।"
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "स्किल इंस्टॉल की गिनती सार्वजनिक रूप से करें"
@@ -3887,7 +3901,7 @@ msgstr "तालिका हटाएँ"
msgid "Delete this chat?"
msgstr "यह चैट हटाएं?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "यह टिप्पणी हटाएँ"
@@ -4194,8 +4208,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "<0>Skills</0> नहीं दिख रहा? पहले <1>Settings <2/> Capabilities <3/> Code execution and file creation</1> सक्षम करें।"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "यह टिप्पणी न भेजें"
@@ -4385,7 +4398,7 @@ msgstr "स्रोत संपादित करें"
msgid "Edit source pane and code property fields"
msgstr "स्रोत पैनल और कोड प्रॉपर्टी फ़ील्ड संपादित करें"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "यह टिप्पणी संपादित करें"
@@ -4714,6 +4727,10 @@ msgstr "सब फैलाएँ"
msgid "Expand all file groups"
msgstr "सभी फ़ाइल समूह फैलाएँ"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "सभी फ़ाइलें फैलाएँ"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "ग्राफ़ फैलाएँ"
@@ -5561,7 +5578,6 @@ msgstr "{1} में पंक्ति {0} पर जाएँ"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "{0} में इस टिप्पणी पर जाएँ"
@@ -5594,6 +5610,10 @@ msgstr "आपके AI एजेंट को यहाँ काम करन
msgid "guides/install or https://example.com"
msgstr "guides/install या https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "चुनी हुई टिप्पणियाँ एक ही बार में एजेंट को सौंपें। यह दस्तावेज़ पर केवल उसी दस्तावेज़ की टिप्पणियाँ; यह प्रोजेक्ट पर सभी चुनी हुई टिप्पणियाँ। टिप्पणियाँ टैब बंद होने पर कुछ नहीं होता।"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "कठोर विराम"
@@ -5767,10 +5787,14 @@ msgstr "समस्या संकेतक छिपाएँ"
msgid "Hide replace"
msgstr "बदलें छिपाएँ"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "सुलझे हुए छिपाएँ"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "हल की गई टिप्पणियाँ छिपाएँ"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "चयन पूर्वावलोकन छिपाएँ"
@@ -5979,10 +6003,6 @@ msgstr "ऐप में (बीटा)"
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App में"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "भेजने में शामिल करें"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "अगली बार भेजते समय इस टिप्पणी को शामिल करें"
@@ -6340,7 +6360,7 @@ msgstr "पेज {pageNumber} पर जाएँ"
msgid "Jump to tab 1-8"
msgstr "टैब 1-8 पर जाएँ"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "एंकर किए गए पाठ पर जाएँ"
@@ -6795,6 +6815,10 @@ msgstr "संरचना का नक्शा बनाएँ"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "किसी ब्लॉक को सत्य के स्रोत के रूप में चिह्नित करें। जैसे-जैसे आप उसे संपादित करते हैं, बाकी जगहों के मिरर तुरंत अद्यतित होते हैं।"
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "भेजने के लिए सभी टिप्पणियाँ चुनें"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7351,7 +7375,7 @@ msgstr "अभी कोई एजेंट सेट अप नहीं है
msgid "No agents available."
msgstr "कोई एजेंट उपलब्ध नहीं।"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "कोई एजेंट सक्षम नहीं"
@@ -7384,6 +7408,10 @@ msgstr "कोई बदलाव नहीं"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "इस वर्कट्री के लिए कोई सहयोग सर्वर नहीं — यहाँ <0>ok start</0> चलाएँ, या प्रोजेक्ट दोबारा खोलें।"
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "इस प्रोजेक्ट में अभी कोई टिप्पणी नहीं है। शुरू करने के लिए किसी अंश पर टिप्पणी करें."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "अभी कोई टिप्पणी नहीं। कोई जोड़ने के लिए दस्तावेज़ में पाठ चुनें।"
@@ -7738,10 +7766,6 @@ msgstr "कुछ नहीं ({0} एक मान्य पैटर्न
msgid "Nothing set yet."
msgstr "अभी कुछ भी सेट नहीं।"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "अभी भेजने को कुछ नहीं। इसे यहाँ जोड़ने के लिए किसी अंश पर टिप्पणी करें।"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "कुछ भी अपलोड नहीं हुआ। जब तक आप इसे हमें ईमेल नहीं करते तब तक रिपोर्ट इसी Mac पर रहती है।"
@@ -7940,10 +7964,6 @@ msgstr "एजेंट पैनल खोलें"
msgid "Open an existing project folder from disk."
msgstr "डिस्क से कोई मौजूदा प्रोजेक्ट फ़ोल्डर खोलें।"
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "मौजूदा संपादक चयन के लिए Ask AI लेखन-पट्टी खोलें और उस पर फ़ोकस करें।"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "नीचे वाली Ask AI प्रॉम्प्ट लेखन-पट्टी खोलें और उस पर फ़ोकस करें।"
@@ -7964,6 +7984,10 @@ msgstr "CodeMirror का lint निदान पैनल खोलें।"
msgid "Open comment"
msgstr "टिप्पणी खोलें"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "टिप्पणियाँ खोलें"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "जिसमें है वह फ़ोल्डर खोलें"
@@ -8432,7 +8456,7 @@ msgstr "मूल फ़ाइल — इस एजेंट के संपा
msgid "Orphan mode"
msgstr "अनाथ मोड"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "अनाथ"
@@ -9098,7 +9122,7 @@ msgstr "GitHub Enterprise Server के साथ फिर से प्रम
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "फिर से एम्बेड करना खोज चलने के साथ होता है, इसलिए कवरेज शून्य से फिर शुरू होकर भरता है।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "चयनित पाठ पर फिर से रखें"
@@ -9126,10 +9150,6 @@ msgstr "{name} स्किल में केवल पढ़ने योग
msgid "Reading…"
msgstr "पढ़ा जा रहा है…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "भेजने के लिए तैयार"
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "जल्दी शुरू करने के लिए तैयार फ़ोल्डर और टेम्पलेट।"
@@ -9466,7 +9486,7 @@ msgstr "रेंडर त्रुटि"
msgid "Rendered"
msgstr "रेंडर किया गया"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "फिर से खोलें"
@@ -9632,10 +9652,6 @@ msgstr "दृश्य फ़िल्टर रीसेट करें"
msgid "Resize {handleKey}"
msgstr "{handleKey} का आकार बदलें"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "सुलझाएँ"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "अपने टर्मिनल में टकराव सुलझाएँ"
@@ -9648,7 +9664,7 @@ msgstr "हटाने से पहले {files} का विरोध ह
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "हटाने से पहले {files} और {overflow} अन्य फ़ाइलों का विरोध हल करें।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "सुलझ गया"
@@ -10187,7 +10203,7 @@ msgstr "अगली घटना चुनें"
msgid "Select the full source document."
msgstr "पूरा स्रोत दस्तावेज़ चुनें।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "प्रॉपर्टी में यह पाठ चुनें"
@@ -10240,6 +10256,10 @@ msgstr "भेजें"
msgid "Send & continue"
msgstr "भेजें और जारी रखें"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "चुनी हुई टिप्पणियाँ चैट में भेजें"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "टिप्पणियाँ यहाँ भेजें"
@@ -10253,22 +10273,23 @@ msgstr "प्रतिक्रिया भेजें"
msgid "Send feedback…"
msgstr "प्रतिक्रिया भेजें…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "बाद में भेजें"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "रिपोर्ट भेजें"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "AI को भेजें"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "यह टिप्पणी भेजें"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "चैट में भेजें"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "चैट में भेजें ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "एजेंट के खाली होने पर भेजें"
@@ -10654,10 +10675,14 @@ msgid "Show replace"
msgstr "बदलें दिखाएँ"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "सुलझे हुए दिखाएँ ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "हल की गई टिप्पणियाँ दिखाएँ"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "चयन पूर्वावलोकन दिखाएँ"
@@ -10957,6 +10982,10 @@ msgstr "स्रोत में पूर्ववत या फिर से
msgid "Split list item"
msgstr "सूची आइटम बाँटें"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "चयनित अंश को एजेंट पैनल में तैयार रखें, जोड़कर भेजने के लिए तैयार।"
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "GitHub पर हमें स्टार दें"
@@ -10978,7 +11007,7 @@ msgstr "{agentName} शुरू करें, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "+ बटन से चैट शुरू करें, या किसी पेज से एजेंट लॉन्च करें।"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "नई चैट शुरू करें"
@@ -11540,10 +11569,6 @@ msgstr "प्रतिक्रिया के लिए धन्यवाद
msgid "Thanks for the report!"
msgstr "रिपोर्ट के लिए धन्यवाद!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "वह ऐप उपलब्ध नहीं है — टिप्पणियाँ अब भी भेजे जाने की प्रतीक्षा में हैं।"
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11594,7 +11619,7 @@ msgstr "एजेंट रुक नहीं रहा है। फ़ोर
msgid "The agent's persona, values, and voice."
msgstr "एजेंट का व्यक्तित्व, मूल्य और स्वर।"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "एंकर किया गया पाठ चला गया है। आप इसे चयनित पाठ पर फिर से रख सकते हैं।"
@@ -11745,10 +11770,6 @@ msgstr "टेम्पलेट का फ़ाइल-नाम (`.md` के
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "इस प्रोजेक्ट के लिए टर्मिनल बंद है। यहाँ कमांड चलाने के लिए इसे वापस चालू करें।"
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "टर्मिनल यहाँ उपलब्ध नहीं है — टिप्पणियाँ अब भी भेजे जाने की प्रतीक्षा में हैं।"
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11873,7 +11894,7 @@ msgstr "यह ब्रांच यहाँ चेक आउट है:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "इसे Settings > AI tools & CLI में कॉन्फ़िगर किया जा सकता है"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "यह टिप्पणी पूरी प्रॉपर्टी पर है"
@@ -12033,6 +12054,7 @@ msgstr "यह “{2}” स्किल से {0}/{1} को स्थाय
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "यह {path} को स्थायी रूप से हटा देता है। जो एजेंट इस टेम्पलेट को नाम से संदर्भित करते हैं वे तब तक विफल रहेंगे जब तक यह दोबारा न बने या किसी मूल फ़ोल्डर का टेम्पलेट इसकी जगह न ले।"
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "यह प्रोजेक्ट"
@@ -12167,10 +12189,6 @@ msgstr "करना है"
msgid "To do."
msgstr "करना है।"
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "भेजना है"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "बुलेट सूची चालू या बंद करें।"
@@ -12246,8 +12264,8 @@ msgid "Toggle strikethrough formatting."
msgstr "काटी हुई फ़ॉर्मैटिंग चालू या बंद करें।"
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "निचले पैनल को टॉगल करें, जहाँ टर्मिनल रहता है। यदि टेक्स्ट चयनित है, तो उसे आपकी पसंदीदा AI के लिए तैयार किया जाता है।"
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "निचला पैनल दिखाएँ या छिपाएँ, जहाँ टर्मिनल रहता है।"
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12499,6 +12517,10 @@ msgstr "अज्ञात त्रुटि"
msgid "unlink"
msgstr "अनलिंक करें"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "सभी टिप्पणियों का चयन हटाएँ"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "आइटम की अक्रमित सूची।"
@@ -12954,6 +12976,10 @@ msgstr "सक्षम होने पर एजेंट हर संपा
msgid "When the agent runs its scheduled work."
msgstr "एजेंट अपना निर्धारित काम कब करता है।"
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "जब टिप्पणियाँ टैब खुला हो"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "जब आप किसी बाहरी लिंक पर माउस ले जाते हैं, तो पेज के पूर्वावलोकन का मेटाडेटा लाने के लिए उसका URL गंतव्य साइट को भेजा जाता है — हर पूर्वावलोकित लिंक के लिए एक अनुरोध।"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index 8b4c65979..917d0d725 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -152,7 +152,6 @@
"1njn7W": ["Terang"],
"1nke1r": ["Buka ", ["0"], " di GitHub (terbuka di tab baru)"],
"1oSHI0": [["skillName"], " tidak bisa dipasang: ", ["0"]],
- "1oawp3": [["failed"], " dari ", ["0"], " komentar tidak dapat dibersihkan."],
"1t_NnN": ["Tolak"],
"1u-mAI": ["Sinkronisasinya tidak bisa dimulai. Periksa koneksi Anda, lalu coba lagi."],
"1vn0CI": ["Respons server tidak valid"],
@@ -177,7 +176,6 @@
"2FnYUD": [
"Info aplikasi & sistem, log aplikasi terbaru, dan log server proyek: hal-hal penting yang kami perlukan untuk menirukan masalahnya."
],
- "2FoHU3": ["Selesaikan"],
"2G-56b": ["Gagal memperbarui aturan markdownlint"],
"2GT3Hf": ["Global"],
"2H43L8": ["Rahasia seperti kunci API dan token disunting otomatis."],
@@ -302,7 +300,6 @@
"4E9jPa": ["Buat proyek pertama Anda"],
"4EZrJN": ["Aturan"],
"4ErgAf": ["OpenKnowledge memasang sebuah keterampilan"],
- "4GWjF8": ["Tidak bisa menentukan ke mana komentarnya dikirim — semuanya masih menunggu."],
"4Gz2wC": ["Gagal mengunggah berkas"],
"4KmEoC": ["Tombol pintas"],
"4NC2Ym": ["Pergi ke sel tabel berikutnya atau sebelumnya."],
@@ -332,6 +329,7 @@
"4sKwf6": ["Berkas sudah ada"],
"4sUdTJ": ["pratinjau bertema"],
"4uNLmk": ["Melakukan pull"],
+ "4uaCUA": [["mins"], "mnt"],
"4v2Yyz": [
"Memilih semua baris pohon berkas yang terlihat ketika fokus ada di bilah sisi Berkas."
],
@@ -351,6 +349,7 @@
"56WWtu": ["Paket awal tidak bisa dimuat: ", ["error"]],
"56xUL1": ["Nama properti"],
"57fiu8": ["(hanya-baca — untuk sekarang, sunting di mode sumber)"],
+ "58qIOK": ["Komentari pilihan ini"],
"5ALjdr": ["Menelusuri hasil pencarian penyunting visual dari bidang pencarian."],
"5Ajb15": ["Rumus <0>c = √(a² + b²)</0> dirender sebaris."],
"5AzM72": ["Pengaturan ini berlaku per komputer dan tidak dibagikan dengan kolaborator."],
@@ -389,6 +388,9 @@
"5aahsI": ["tidak apa pun (", ["0"], " bukan pola yang valid)"],
"5b3WD-": ["OpenKnowledge menyimpan titik pemeriksaan"],
"5e1Dri": ["Label menu yang dipakai agen untuk memilih templat ini (wajib)."],
+ "5ecEGe": [
+ "Serahkan komentar yang dicentang ke agen dalam satu giliran. Pada Dokumen ini, hanya komentar dokumen tersebut; pada Proyek ini, setiap komentar yang dicentang. Tidak melakukan apa pun selama tab Komentar tertutup."
+ ],
"5gr_ev": [
"Menjadi isi dokumen ketika seseorang membuat dokumen dari templat ini. Ketik <0>",
["dateToken"],
@@ -446,6 +448,7 @@
"6V3Ea3": ["Disalin"],
"6VqW-1": ["Hapus ", ["keyName"]],
"6WdDG7": ["Halaman"],
+ "6YBJ3m": ["Tanya AI tentang pilihan"],
"6YtxFj": ["Nama"],
"6ZhdPI": ["Apa yang boleh dibaca, ditulis, dan ditampilkan agen."],
"6_ZOw4": ["Jalur lengkap disalin"],
@@ -590,11 +593,11 @@
"8fRyLo": ["Muatan patch tidak valid"],
"8fc_3j": ["Cabang terlindungi — tidak bisa push"],
"8k6INX": ["Tempelkan token akses pribadi untuk <0>", ["host"], "</0>."],
- "8kBLOT": ["Aplikasi itu tidak tersedia — komentarnya masih menunggu dikirim."],
"8lwQlE": [["0"], " ditambahkan, ", ["1"], " dihapus"],
"8m8diM": ["Tidak ada lokasi yang dipilih. Gunakan Telusuri untuk memilih folder."],
"8nOdkO": ["Rata tengah"],
"8nWu1k": ["Diagram kosong"],
+ "8oWgty": ["Tandai semua komentar untuk dikirim"],
"8qgfac": ["Server MCP"],
"8ruqQi": ["Tautan internal rusak"],
"8sMErm": ["Aktifkan Ikuti?"],
@@ -786,6 +789,7 @@
"C0hoX6": ["Selalu disertakan"],
"C3Zc44": ["Jelajahi keterampilan"],
"C62P6b": ["Pilihan penyunting"],
+ "C7PKTv": ["Kirim komentar yang dicentang ke obrolan"],
"C7waqI": [["0", "plural", { "other": ["#", " dokumen"] }]],
"C9TBvF": ["Tidak Ada Keluar"],
"CB7c0Z": ["Simpan pesan dalam antrean"],
@@ -822,6 +826,7 @@
"ChAtFg": ["Anda tidak punya izin push ke repo ini"],
"ChMshD": ["Keluar dari ", ["appName"]],
"Ck9XRt": ["Kuncinya tidak bisa disimpan — silakan coba lagi."],
+ "ClTEde": ["Siapkan bagian yang dipilih di panel agen, siap dilengkapi dan dikirim."],
"CmeH9S": ["Tambahkan properti ke ", ["keyName"]],
"CnOGgs": ["Mode sinkronisasi"],
"CoHvYd": [["0"], " dipindahkan ke posisi ", ["1"], " dari ", ["2"]],
@@ -1078,7 +1083,7 @@
"G0YZ-I": ["Tambah atau kurangi indentasi item daftar"],
"G1Gw0v": ["Templat baru"],
"G1XxbZ": ["Kotak centang"],
- "G4-bgo": ["Tanya AI (dari pilihan)"],
+ "G1zJlD": ["Sembunyikan komentar yang selesai"],
"G4m8rL": ["Komentari pilihan"],
"G6Lrs_": ["Hentikan ", ["0"], " membaca keterampilan ini"],
"G7-rf8": ["Galat sintaks pola: ", ["message"]],
@@ -1415,6 +1420,7 @@
"LXdWeS": ["Judul bagian sedang."],
"LXfNU-": ["Navigasi dan saran"],
"LYufDw": ["Gagal mengaktifkan pencarian semantik — ", ["detail"]],
+ "LaskKp": ["Kirim ke obrolan (", ["0"], ")"],
"Lbl6KA": ["Tidak bisa memasang dari ", ["0"], ": ", ["1"]],
"LbmLyU": ["Konfigurasi alat ini tidak bisa disunting dengan aman"],
"Lcehxn": ["Simpan penyelesaian"],
@@ -1548,6 +1554,7 @@
"N55YNr": [
"Pilih apakah penyiapan OpenKnowledge proyek ini, termasuk koneksi alat AI-nya, disimpan bersama proyek agar rekan tim juga mendapatkannya, atau disimpan hanya di komputer Anda."
],
+ "NBdIgR": ["Komentari"],
"NCmYhK": [
"Keterampilan mengajari agen tugas yang berulang. Tulis dan kelola dari bagian Keterampilan di penyunting; menu pemasangan tiap keterampilan menentukan di mana ia berada. Ini adalah folder keterampilan proyek ini."
],
@@ -1566,9 +1573,7 @@
"NRSLBe": [["diffMin"], " mnt lalu"],
"NSnIUP": ["Dua halaman (genap)"],
"NUr4kz": ["Titik awal yang bisa dipakai ulang untuk dokumen baru di folder ini."],
- "NVtrN-": [
- "Beralih ke panel bawah, tempat terminal berada. Jika ada teks terpilih, teks itu disiapkan untuk AI pilihanmu."
- ],
+ "NUw7lo": ["Tampilkan atau sembunyikan panel bawah, tempat terminal berada."],
"NYUhy5": ["Nama subfolder"],
"NYn1cR": ["Memuat penyunting"],
"NYu2Pt": ["Proyek baru…"],
@@ -1581,6 +1586,7 @@
"NeY1Np": ["Slidev terlalu lama saat memulai. Coba lagi."],
"NfraGd": ["Cara lain untuk memasang Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " aktif"],
+ "NiGIcB": ["Buka Komentar"],
"NjrIak": ["Berkas: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["Sunting ", ["tag"]],
"NkXEFS": ["Gagal memulihkan — dokumen tidak berubah"],
@@ -1590,11 +1596,11 @@
"NnQapF": ["Buka dengan AI ", ["targetDisplayName"]],
"NoY1k4": ["Bentuk respons server tidak valid"],
"NpC29w": ["Membuat item daftar baru dari item daftar saat ini."],
- "NpuPmi": ["Akan dikirim"],
"NrFwux": ["Gagal menyimpan aturan konten — ", ["0"]],
"Ns0z5o": [
"Ketika Anda memasang keterampilan yang diterbitkan, direktori keterampilan (skills.sh) diberi tahu agar hitungan pemasangannya akurat. Yang dikirim adalah nama keterampilannya, repositori sumbernya, dan alat agen mana yang menerimanya — tidak pernah isi berkas, dan tidak pernah untuk keterampilan dari sumber pribadi, lokal, atau yang diketik manual. Sekali per keterampilan per komputer."
],
+ "Ns5f4J": ["Hapus tanda semua komentar"],
"Nu4DdT": ["Sinkronisasi"],
"Nu4oKW": ["Deskripsi"],
"NuH1jp": ["Repositori publik"],
@@ -1656,6 +1662,7 @@
],
"Okd2Xv": ["Menyalakan atau mematikan format garis bawah."],
"OlAl5i": ["Bentangkan semua"],
+ "OlFVNr": ["Tanya AI tentang Pilihan"],
"Oo_WWc": ["Tidak ada halaman yang ditemukan"],
"Oos8fo": ["Salin perintah"],
"OplnBG": ["Pengelolaan alat AI tidak tersedia pada build ini."],
@@ -1725,7 +1732,6 @@
"PkeYXL": ["Mode graf terbentang"],
"Pkw7J9": ["Folder ini kosong."],
"PlGC6r": ["berkas exclude git tidak bisa ditulisi"],
- "Pnvg8e": ["Terminal tidak bisa dibuka — komentarnya masih menunggu dikirim."],
"Pp0Vgd": ["Klik untuk memasang di ", ["label"]],
"PpJy-V": ["Endpoint-nya tidak merespons tepat waktu."],
"PqYWiC": [
@@ -1759,6 +1765,7 @@
],
"QDZbvN": [["diffDays"], " hr lalu"],
"QHCx0c": ["Riwayat laporan bug"],
+ "QIrBIx": ["Bentangkan semua berkas"],
"QKgePK": [["editor"], " diselaraskan dengan sumbernya (bitanya sudah dicadangkan)"],
"QLgdT6": ["dokumen mana pun bernama ", ["0"]],
"QM3SBZ": ["Rencana (", ["done"], "/", ["0"], ")"],
@@ -1782,6 +1789,7 @@
"QlAG4m": ["Ceritakan lebih banyak (opsional)"],
"QlkiD5": ["Tempatkan ulang pada teks terpilih"],
"QlxHAH": ["Menampilkan hasil untuk \"", ["semanticResultsLabel"], "\""],
+ "Qpfxa1": [["secs"], "dtk"],
"QqBQu1": ["Label <0>(teks tautan yang terlihat)</0>"],
"Quz_Qu": ["Suntingan berlaku langsung. Terang atau gelap ditentukan skemanya."],
"Qvls7J": ["Spesifikasi teknik"],
@@ -1790,6 +1798,7 @@
],
"QySH4I": ["Proyek OpenKnowledge yang terdeteksi"],
"QyioBP": ["Naikkan"],
+ "QzofTX": ["Belum ada komentar di proyek ini. Komentari sebuah bagian untuk memulai."],
"R0cyYB": [
["0", "plural", { "other": ["#", " permintaan diblokir oleh kebijakan keamanan pratinjau"] }]
],
@@ -1843,7 +1852,6 @@
"Rj01Fz": ["Tautan"],
"RlCInP": ["Perintah garis miring"],
"RmBY0A": ["Tidak ada remote git"],
- "RmmhAh": ["Kirim nanti"],
"RnrnTe": ["Sudah disiapkan — ok tersedia di terminal Anda"],
"RoafuO": ["Kirim masukan"],
"RobAKV": ["Perbarui tujuan dan jangkar bagian opsionalnya."],
@@ -2195,6 +2203,7 @@
"XV5sC0": ["Buka worktree"],
"XVnIvs": ["Pasang keterampilan"],
"XW18jo": ["Respons judul halaman tidak sesuai skema sukses"],
+ "XWEqQj": [["days"], "h"],
"XXA1b_": [["componentLabel"], " (kosong)"],
"XYlJJT": ["Menyiapkan"],
"XZkdtg": ["Ganti cabang"],
@@ -2291,7 +2300,6 @@
"Yy90sM": ["Keterampilan \"", ["name"], "\" dibuat"],
"YyXtnN": ["Garis bawah"],
"Yzs3QX": ["Tindakan keterampilan lainnya"],
- "YzyyG2": ["Belum ada yang dikirim. Komentari sebuah bagian untuk menambahkannya di sini."],
"Z0W6SO": [
"Folder ini adalah klona dari ",
["actualOwner"],
@@ -2328,7 +2336,6 @@
"ZBxvV3": ["Terminal Baru"],
"ZDOq9A": ["Apa yang Anda bagikan dikirim ke tim OpenKnowledge."],
"ZGVsOD": ["Push cabang ini ke GitHub sebelum berbagi."],
- "ZHAM1l": ["Sertakan dalam pengiriman"],
"ZI8uvA": ["Tidak ada masalah ditemukan."],
"ZJ99sD": ["Sisipkan kolom di kiri"],
"ZNK2Tq": ["akar"],
@@ -2409,6 +2416,7 @@
"Salinan hanya-baca dari blok MirrorSource di dokumen lain. Sunting di sumbernya dan salinan ini diperbarui langsung."
],
"_XWY2J": ["Terminal dinonaktifkan"],
+ "_YEyHO": ["Tampilkan komentar yang selesai"],
"_YWqV2": ["OpenKnowledge menyelesaikan sebuah konflik"],
"_ayOfA": [
"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."
@@ -2420,6 +2428,7 @@
"_gO_m8": ["Menunggu persetujuan Anda"],
"_gkGSK": ["templat dihapus"],
"_mcDqU": [["count"], " keterampilan di sumber ini"],
+ "_oqig9": [["hours"], "j"],
"_pY_Vq": ["Repositorinya dipindahkan, diganti nama, atau dihapus."],
"_qD6mn": ["Pilih folder tempat Anda mengkloningnya."],
"_rP3HI": [["minutes"], " mnt lalu"],
@@ -2427,7 +2436,6 @@
"_tjopj": ["Tempel gandaan"],
"_yB-24": ["semua yang ada di folder ", ["0"], "/ mana pun"],
"a-cKXz": ["Pilih seluruh sumber"],
- "a3H_MR": ["Membuka dan memfokuskan penyusun Tanya AI untuk pilihan penyunting saat ini."],
"a3LDKx": ["Keamanan"],
"a45f2c": ["Pola glob tempat skema ini berlaku"],
"a4FRQv": ["Batalkan hingga suntingan ini?"],
@@ -2740,7 +2748,6 @@
"emMrXQ": ["Server mengembalikan respons duplikasi yang salah bentuk."],
"emgiet": ["Konten otoritatif; dicerminkan apa adanya di mana pun ia dirujuk."],
"enPTnx": ["baris ", ["displayLine"]],
- "eoEUI3": ["Komentar itu tidak bisa diselesaikan."],
"epuNYK": [
"Menandai sebuah blok sebagai sumber kebenaran. Cermin di tempat lain diperbarui langsung saat Anda menyuntingnya."
],
@@ -2794,6 +2801,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(berkas biner, tidak bisa dipratinjau)"],
"fevEu0": ["Tarik perubahan terbaru"],
+ "ffH3Rt": ["Tambah Komentar (Enter)"],
"fg1U4e": ["Penemuan keterampilan ditenagai <0>skills.sh</0>"],
"fhaxJL": ["Kloning gagal — badan respons kosong"],
"fiMNLl": ["Pengaturan sinkronisasi belum dimuat — coba lagi sebentar"],
@@ -3241,7 +3249,6 @@
["4"],
") yang tidak akan menyentuh bagian lain sistem Anda."
],
- "l7X_SM": ["Kirim ke AI"],
"l87Deg": ["Pilih apa yang dimulai tab baru"],
"l9s3IX": [["agentName"], " tidak dapat memulai percakapan."],
"lAiyU_": ["Hanya dokumen saat ini yang memakai <0>#", ["tag"], "</0>."],
@@ -3704,6 +3711,7 @@
],
"rwrPbS": ["Navigasi batas komponen"],
"rxWGWX": ["Maju"],
+ "ryhHUm": ["Saat tab Komentar terbuka"],
"s-MGs7": ["Sumber daya"],
"s-XOaI": ["Nama berkas"],
"s-pW_v": ["Tidak bisa memasang: ", ["0"]],
@@ -3738,6 +3746,7 @@
"sNeKjP": ["Gagal menyimpan token — coba lagi"],
"sOxZaS": ["Gagal memuat graf"],
"sQoLn0": ["Keluar"],
+ "sR0I-f": ["Ciutkan semua berkas"],
"sW5OjU": ["wajib"],
"sZ2IOu": [
["targetNoun"],
@@ -3793,6 +3802,7 @@
"</0> akan dibuat dari commit saat ini, di worktree tersendiri di bawah <1>.ok/worktrees/</1>."
],
"t6w1cq": ["Membuka tab penyunting kosong."],
+ "t7YoBO": ["Kirim komentar ini"],
"t9Qn8y": ["Tidak ada agen yang diaktifkan"],
"tA0b9E": ["folder keterampilan bawaan (jalur persisnya muncul setelah disimpan)"],
"tA2-xC": ["\"", ["0"], "\" sudah ditambahkan sebelumnya (isinya sama)."],
@@ -3875,7 +3885,6 @@
"u_lS4C": ["Kloning selesai — membuka proyek"],
"uaUc6t": ["Mulai ulang server"],
"ubMwcO": ["Sesi terminal berakhir (sinyal ", ["0"], ")."],
- "ubx-L3": ["Komentar untuk dikirim"],
"ucXZ0k": ["Memuat agen…"],
"ugQcJX": [
["display"],
@@ -4026,6 +4035,7 @@
"Anda memilih ~/Downloads. Berkas di sana biasanya sementara — pertimbangkan folder yang lebih tetap."
],
"wndeIl": ["Halaman tingkat proyek yang tidak punya sisi graf masuk maupun keluar."],
+ "wqD3pI": [["failed"], " dari ", ["0"], " komentar tidak dapat diperbarui."],
"ws5o1F": ["Diperiksa oleh: ", ["0"]],
"wtcxiD": ["Bagikan penyiapan ini dengan tim Anda?"],
"wvK7Ay": ["Salinan lokal cabang <0>", ["branch"], "</0> milik Anda tertinggal."],
@@ -4196,7 +4206,6 @@
"zL0LPh": ["Global di luar bidang teks"],
"zLGXna": ["Tidak ada paket awal yang tersedia."],
"zLak8b": ["Aktifkan tab baru"],
- "zO-IiA": ["Terminal tidak tersedia di sini — komentarnya masih menunggu dikirim."],
"zQBg2C": ["Menaikkan atau menurunkan blok saat ini satu posisi."],
"zXj1rA": ["Cari berdasarkan makna"],
"zYp8Sr": [
@@ -4214,7 +4223,6 @@
"zkz0Fg": ["Siapkan sinkronisasi"],
"zlErBl": ["Respons galat judul halaman tidak sesuai RFC 9457"],
"zo3Dl7": ["Tampilkan atau sembunyikan gambar mini"],
- "zovxVp": ["Siap dikirim"],
"zpfN9p": ["Belum ada komentar. Pilih teks di dokumen untuk menambahkan satu."],
"zq2eBA": ["Lihat di sumber"],
"zrP8HX": [
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index 88de94410..3273cb7cb 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} berada di atas {destination}."
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} belum terpasang — membuka halaman unduhannya."
@@ -506,6 +504,10 @@ msgstr "{count} keterampilan di sumber ini"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, other {# hari lalu}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}h"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days} hr lalu"
@@ -546,7 +548,6 @@ msgstr "{display} adalah salinan mandiri, sedangkan lokasi lain keterampilan ini
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) belum terpasang atau tidak ada di PATH Anda."
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} aktif"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{failed} dari {0} komentar tidak dapat dibersihkan."
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{failed} dari {0} komentar tidak dapat diperbarui."
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, other {folder}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} bintang GitHub"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}j"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, other {# mnt lalu}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}mnt"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} mnt lalu"
@@ -736,6 +745,10 @@ msgstr "Properti {propPanelDescriptorLabel}"
msgid "{seconds}s ago"
msgstr "{seconds} dtk lalu"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}dtk"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "Properti {settingsDescriptorLabel}"
@@ -1182,6 +1195,10 @@ msgstr "Tambahkan setidaknya satu huruf atau angka."
msgid "Add Comment"
msgstr "Tambah Komentar"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "Tambah Komentar (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "Menambahkan kursor atau memilih kemunculan yang cocok lewat CodeMirror."
@@ -1593,7 +1610,6 @@ msgstr "Tanya CLI {0}"
msgid "Ask {agentName}"
msgstr "Tanya {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1603,8 +1619,12 @@ msgid "Ask AI"
msgstr "Tanya AI"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "Tanya AI (dari pilihan)"
+msgid "Ask AI about selection"
+msgstr "Tanya AI tentang pilihan"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "Tanya AI tentang Pilihan"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2112,7 +2132,6 @@ msgstr "Diperiksa oleh: {0}"
msgid "Checking"
msgstr "Memeriksa"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "Mencari agen"
@@ -2191,7 +2210,7 @@ msgstr "Pilih ikon"
msgid "Choose what a new tab starts"
msgstr "Pilih apa yang dimulai tab baru"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "Pilih ke mana komentar ini dikirim"
@@ -2227,7 +2246,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "Log pembersihan"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2349,7 +2367,7 @@ msgstr "Mengkloning {repoName}..."
msgid "Cloning..."
msgstr "Mengkloning..."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2485,6 +2503,10 @@ msgstr "Ciutkan semua"
msgid "Collapse all file groups"
msgstr "Ciutkan semua grup berkas"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "Ciutkan semua berkas"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Ciutkan Tanya AI"
@@ -2533,6 +2555,10 @@ msgstr "Perintah"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "Perintah berjalan dengan seluruh akses akun pengguna macOS Anda di komputer ini. Matikan ini untuk menonaktifkan shell."
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "Komentari"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "Komentari {address}"
@@ -2541,6 +2567,10 @@ msgstr "Komentari {address}"
msgid "Comment on selection"
msgstr "Komentari pilihan"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "Komentari pilihan ini"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2551,15 +2581,11 @@ msgid "Comment or ask AI about this code block"
msgstr "Beri komentar atau tanya AI tentang blok kode ini"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "Komentar"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "Komentar untuk dikirim"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "Lakukan commit atau stash pada perubahan untuk berpindah:"
@@ -3312,10 +3338,6 @@ msgstr "Dokumen tidak bisa dibuka"
msgid "Couldn't open the terminal — please try again."
msgstr "Terminal tidak bisa dibuka — silakan coba lagi."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "Terminal tidak bisa dibuka — komentarnya masih menunggu dikirim."
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "Worktree-nya tidak bisa dibuka. Coba lagi."
@@ -3409,10 +3431,6 @@ msgstr "Templat tidak bisa diganti namanya: {0}"
msgid "Couldn't reopen that comment."
msgstr "Komentar itu tidak bisa dibuka kembali."
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "Komentar itu tidak bisa diselesaikan."
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "Konflik untuk {filePath} tidak bisa diselesaikan."
@@ -3539,10 +3557,6 @@ msgstr "Berbagi keterampilan tidak bisa diperbarui"
msgid "Couldn't update skills sharing — {detail}."
msgstr "Berbagi keterampilan tidak bisa diperbarui — {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "Tidak bisa menentukan ke mana komentarnya dikirim — semuanya masih menunggu."
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "Hitung pemasangan keterampilan secara publik"
@@ -3887,7 +3901,7 @@ msgstr "Hapus tabel"
msgid "Delete this chat?"
msgstr "Hapus obrolan ini?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "Hapus komentar ini"
@@ -4194,8 +4208,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "Tidak melihat <0>Keterampilan</0>? Aktifkan dulu <1>Pengaturan <2/> Kemampuan <3/> Eksekusi kode dan pembuatan berkas</1>."
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "Jangan kirim komentar ini"
@@ -4385,7 +4398,7 @@ msgstr "Sunting sumber"
msgid "Edit source pane and code property fields"
msgstr "Panel sunting sumber dan bidang properti berbentuk kode"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "Sunting komentar ini"
@@ -4714,6 +4727,10 @@ msgstr "Bentangkan semua"
msgid "Expand all file groups"
msgstr "Bentangkan semua grup berkas"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "Bentangkan semua berkas"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "Bentangkan graf"
@@ -5561,7 +5578,6 @@ msgstr "Ke baris {0} di {1}"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "Ke komentar ini di {0}"
@@ -5594,6 +5610,10 @@ msgstr "Memandu agen AI Anda tentang cara bekerja di sini."
msgid "guides/install or https://example.com"
msgstr "guides/install atau https://contoh.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "Serahkan komentar yang dicentang ke agen dalam satu giliran. Pada Dokumen ini, hanya komentar dokumen tersebut; pada Proyek ini, setiap komentar yang dicentang. Tidak melakukan apa pun selama tab Komentar tertutup."
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "Ganti baris paksa"
@@ -5767,10 +5787,14 @@ msgstr "Sembunyikan penanda masalah"
msgid "Hide replace"
msgstr "Sembunyikan penggantian"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "Sembunyikan yang sudah selesai"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "Sembunyikan komentar yang selesai"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "Sembunyikan pratinjau pilihan"
@@ -5979,10 +6003,6 @@ msgstr "Di aplikasi (beta)"
msgid "In the Claude Desktop App"
msgstr "Di aplikasi Claude Desktop"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "Sertakan dalam pengiriman"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "Sertakan komentar ini pada pengiriman berikutnya"
@@ -6340,7 +6360,7 @@ msgstr "Lompat ke halaman {pageNumber}"
msgid "Jump to tab 1-8"
msgstr "Lompat ke tab 1-8"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "Lompat ke teks berjangkar"
@@ -6795,6 +6815,10 @@ msgstr "Petakan arsitekturnya"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "Menandai sebuah blok sebagai sumber kebenaran. Cermin di tempat lain diperbarui langsung saat Anda menyuntingnya."
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "Tandai semua komentar untuk dikirim"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7351,7 +7375,7 @@ msgstr "Belum ada agen yang disiapkan — pilih satu dari menu kirim."
msgid "No agents available."
msgstr "Tidak ada agen yang tersedia."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "Tidak ada agen yang diaktifkan"
@@ -7384,6 +7408,10 @@ msgstr "Tidak ada perubahan"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "Tidak ada server kolaborasi untuk worktree ini — jalankan <0>ok start</0> di sini, atau buka lagi proyeknya."
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "Belum ada komentar di proyek ini. Komentari sebuah bagian untuk memulai."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "Belum ada komentar. Pilih teks di dokumen untuk menambahkan satu."
@@ -7738,10 +7766,6 @@ msgstr "tidak apa pun ({0} bukan pola yang valid)"
msgid "Nothing set yet."
msgstr "Belum ada yang disetel."
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "Belum ada yang dikirim. Komentari sebuah bagian untuk menambahkannya di sini."
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "Tidak ada yang diunggah. Laporannya tetap di Mac ini sampai Anda mengirimkannya ke kami lewat surel."
@@ -7940,10 +7964,6 @@ msgstr "Buka panel agen"
msgid "Open an existing project folder from disk."
msgstr "Membuka folder proyek yang sudah ada dari disk."
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "Membuka dan memfokuskan penyusun Tanya AI untuk pilihan penyunting saat ini."
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "Membuka dan memfokuskan penyusun prompt Tanya AI di bawah."
@@ -7964,6 +7984,10 @@ msgstr "Membuka panel diagnostik lint CodeMirror."
msgid "Open comment"
msgstr "Buka komentar"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "Buka Komentar"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "Buka folder induknya"
@@ -8432,7 +8456,7 @@ msgstr "Berkas asli — sebelum suntingan agen ini."
msgid "Orphan mode"
msgstr "Mode yatim"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "Yatim"
@@ -9098,7 +9122,7 @@ msgstr "Autentikasi ulang dengan GitHub Enterprise Server"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "Embedding dihitung ulang seiring pencarian berjalan, jadi cakupannya dimulai lagi dari nol lalu terisi kembali."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "Tempatkan ulang pada teks terpilih"
@@ -9126,10 +9150,6 @@ msgstr "Berkas hanya-baca di keterampilan {name}"
msgid "Reading…"
msgstr "Membaca…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "Siap dikirim"
-
#: 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."
@@ -9466,7 +9486,7 @@ msgstr "galat render"
msgid "Rendered"
msgstr "Dirender"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "Buka lagi"
@@ -9632,10 +9652,6 @@ msgstr "Setel ulang filter tampilan"
msgid "Resize {handleKey}"
msgstr "Ubah ukuran {handleKey}"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "Selesaikan"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "Selesaikan konfliknya di terminal Anda"
@@ -9648,7 +9664,7 @@ msgstr "Selesaikan konflik pada {files} sebelum menghapus."
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "Selesaikan konflik pada {files} dan {overflow} berkas lainnya sebelum menghapus."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "Selesai"
@@ -10187,7 +10203,7 @@ msgstr "Pilih kemunculan berikutnya"
msgid "Select the full source document."
msgstr "Memilih seluruh dokumen sumber."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "Pilih teks ini di properti"
@@ -10240,6 +10256,10 @@ msgstr "Kirim"
msgid "Send & continue"
msgstr "Kirim & lanjutkan"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "Kirim komentar yang dicentang ke obrolan"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "Kirim komentar ke"
@@ -10253,22 +10273,23 @@ msgstr "Kirim masukan"
msgid "Send feedback…"
msgstr "Kirim masukan…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "Kirim nanti"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "Kirim laporan"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "Kirim ke AI"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "Kirim komentar ini"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "Kirim ke obrolan"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "Kirim ke obrolan ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "Kirim saat agen sedang senggang"
@@ -10654,10 +10675,14 @@ msgid "Show replace"
msgstr "Tampilkan penggantian"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "Tampilkan yang sudah selesai ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "Tampilkan komentar yang selesai"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "Tampilkan pratinjau pilihan"
@@ -10957,6 +10982,10 @@ msgstr "Batalkan atau ulangi di sumber"
msgid "Split list item"
msgstr "Pisahkan item daftar"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "Siapkan bagian yang dipilih di panel agen, siap dilengkapi dan dikirim."
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "Beri kami bintang di GitHub"
@@ -10978,7 +11007,7 @@ msgstr "Mulai {agentName}, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "Mulai obrolan dengan tombol +, atau luncurkan agen dari halaman."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "Mulai obrolan baru"
@@ -11540,10 +11569,6 @@ msgstr "Terima kasih atas masukannya!"
msgid "Thanks for the report!"
msgstr "Terima kasih atas laporannya!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "Aplikasi itu tidak tersedia — komentarnya masih menunggu dikirim."
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11594,7 +11619,7 @@ msgstr "Agen tidak berhenti. Hentikan paksa menutup obrolan ini dan keluar dari
msgid "The agent's persona, values, and voice."
msgstr "Kepribadian, nilai, dan gaya bicara agen."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "Teks berjangkarnya sudah hilang. Anda bisa menempatkannya ulang pada teks yang dipilih."
@@ -11745,10 +11770,6 @@ msgstr "Nama berkas templatnya (tanpa `.md`)."
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "Terminal dimatikan untuk proyek ini. Nyalakan lagi untuk menjalankan perintah di sini."
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "Terminal tidak tersedia di sini — komentarnya masih menunggu dikirim."
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11873,7 +11894,7 @@ msgstr "Cabang ini sedang dipakai di:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "Ini bisa diatur di Pengaturan > Alat AI & CLI"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "Komentar ini berlaku untuk seluruh properti"
@@ -12033,6 +12054,7 @@ msgstr "Ini menghapus {0}/{1} secara permanen dari skill “{2}”. Apa pun di S
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "Ini menghapus {path} secara permanen. Agen yang merujuk templat ini berdasarkan nama akan gagal sampai ia dibuat ulang atau digantikan oleh templat di folder induk."
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "Proyek ini"
@@ -12167,10 +12189,6 @@ msgstr "Akan dikerjakan"
msgid "To do."
msgstr "Akan dikerjakan."
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "Akan dikirim"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "Menyalakan atau mematikan daftar berpoin."
@@ -12246,8 +12264,8 @@ msgid "Toggle strikethrough formatting."
msgstr "Menyalakan atau mematikan format coret."
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "Beralih ke panel bawah, tempat terminal berada. Jika ada teks terpilih, teks itu disiapkan untuk AI pilihanmu."
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "Tampilkan atau sembunyikan panel bawah, tempat terminal berada."
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12499,6 +12517,10 @@ msgstr "Galat tidak diketahui"
msgid "unlink"
msgstr "lepas tautan"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "Hapus tanda semua komentar"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "Daftar item tanpa nomor."
@@ -12954,6 +12976,10 @@ msgstr "Ketika aktif, agennya membuka atau menyegarkan pratinjau setelah setiap
msgid "When the agent runs its scheduled work."
msgstr "Kapan agennya menjalankan pekerjaan terjadwalnya."
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "Saat tab Komentar terbuka"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "Ketika Anda mengarahkan kursor ke tautan eksternal, URL-nya dikirim ke situs tujuan untuk mengambil metadata pratinjau halaman itu — satu permintaan per tautan yang dipratinjau."
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index 7ef37ca1e..ed1437e12 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -154,7 +154,6 @@
"1njn7W": ["Ĺĩĝĥţ"],
"1nke1r": ["Ōƥēń ", ["0"], " ōń ĜĩţĤũƀ (ōƥēńś ĩń à ńēŵ ţàƀ)"],
"1oSHI0": ["Ćōũĺďń'ţ ĩńśţàĺĺ ", ["skillName"], ": ", ["0"]],
- "1oawp3": [["failed"], " ōƒ ", ["0"], " ćōḿḿēńţś ćōũĺď ńōţ ƀē ćĺēàŕēď."],
"1t_NnN": ["ŔēĴēćţ"],
"1u-mAI": ["Ćōũĺďń'ţ śţàŕţ ţĥē śŷńć. Ćĥēćķ ŷōũŕ ćōńńēćţĩōń, ţĥēń ŕēţŕŷ."],
"1vn0CI": ["Ĩńvàĺĩď śēŕvēŕ ŕēśƥōńśē"],
@@ -179,7 +178,6 @@
"2FnYUD": [
"Àƥƥ & śŷśţēḿ ĩńƒō, ŕēćēńţ àƥƥ ĺōĝś, àńď ƥŕōĴēćţ śēŕvēŕ ĺōĝś: ţĥē ēśśēńţĩàĺś ŵē ńēēď ţō ŕēƥŕōďũćē ţĥē ĩśśũē."
],
- "2FoHU3": ["Ŕēśōĺvē"],
"2G-56b": ["Ƒàĩĺēď ţō ũƥďàţē ḿàŕķďōŵńĺĩńţ ŕũĺēś"],
"2GT3Hf": ["Ĝĺōƀàĺ"],
"2H43L8": ["Śēćŕēţś ĺĩķē ÀƤĨ ķēŷś àńď ţōķēńś àŕē ŕēďàćţēď àũţōḿàţĩćàĺĺŷ."],
@@ -309,7 +307,6 @@
"4E9jPa": ["Ćŕēàţē ŷōũŕ ƒĩŕśţ ƥŕōĴēćţ"],
"4EZrJN": ["Ŕũĺēś"],
"4ErgAf": ["ŌƥēńĶńōŵĺēďĝē ĩńśţàĺĺēď à śķĩĺĺ"],
- "4GWjF8": ["Ćōũĺďń'ţ ŵōŕķ ōũţ ŵĥēŕē ţō śēńď ţĥē ćōḿḿēńţś — ţĥēŷ'ŕē śţĩĺĺ ŵàĩţĩńĝ."],
"4Gz2wC": ["Ƒàĩĺēď ţō ũƥĺōàď ƒĩĺē"],
"4KmEoC": ["Ĥōţķēŷś"],
"4NC2Ym": ["Ḿōvē ţō ţĥē ńēxţ ōŕ ƥŕēvĩōũś ţàƀĺē ćēĺĺ."],
@@ -335,6 +332,7 @@
"4sKwf6": ["Ƒĩĺē àĺŕēàďŷ ēxĩśţś"],
"4sUdTJ": ["ţĥēḿēď ƥŕēvĩēŵ"],
"4uNLmk": ["Ƥũĺĺĩńĝ"],
+ "4uaCUA": [["mins"], "ḿ"],
"4v2Yyz": ["Śēĺēćţ ēvēŕŷ vĩśĩƀĺē ƒĩĺē-ţŕēē ŕōŵ ŵĥēń ƒōćũś ĩś ĩń ţĥē Ƒĩĺēś śĩďēƀàŕ."],
"4wo5UV": ["Ĩńśţàĺĺ śēĺēćţēď"],
"4xtLTl": ["Ĥĩďďēń ƒōĺďēŕ “", ["basename"], "”"],
@@ -352,6 +350,7 @@
"56WWtu": ["Ćōũĺďń'ţ ĺōàď śţàŕţēŕ ƥàćķś: ", ["error"]],
"56xUL1": ["Ƥŕōƥēŕţŷ ńàḿē"],
"57fiu8": ["(ŕēàď-ōńĺŷ — ēďĩţ ĩń śōũŕćē ḿōďē ƒōŕ ńōŵ)"],
+ "58qIOK": ["Ćōḿḿēńţ ōń ţĥĩś śēĺēćţĩōń"],
"5ALjdr": ["Ḿōvē ţĥŕōũĝĥ vĩśũàĺ-ēďĩţōŕ ƒĩńď ŕēśũĺţś ƒŕōḿ ţĥē ƒĩńď ƒĩēĺď."],
"5Ajb15": ["Ţĥē ƒōŕḿũĺà <0>ć = √(ಠ+ ƀ²)</0> ŕēńďēŕś ĩńĺĩńē."],
"5AzM72": ["Ţĥĩś śēţţĩńĝ ĩś ƥēŕ-ḿàćĥĩńē àńď ĩśń'ţ śĥàŕēď ŵĩţĥ ćōĺĺàƀōŕàţōŕś."],
@@ -388,6 +387,9 @@
"5aahsI": ["ńōţĥĩńĝ (", ["0"], " ĩś ńōţ à vàĺĩď ƥàţţēŕń)"],
"5b3WD-": ["ŌƥēńĶńōŵĺēďĝē śàvēď à ćĥēćķƥōĩńţ"],
"5e1Dri": ["Ţĥē ḿēńũ ĺàƀēĺ àĝēńţś ƥĩćķ ţĥĩś ţēḿƥĺàţē ƀŷ (ŕēǫũĩŕēď)."],
+ "5ecEGe": [
+ "Ĥàńď ţĥē ćĥēćķēď ćōḿḿēńţś ţō àń àĝēńţ ĩń ōńē ţũŕń. Ōń Ţĥĩś ďōć, ţĥàţ ďōćũḿēńţ'ś ćōḿḿēńţś ōńĺŷ; ōń Ţĥĩś ƥŕōĴēćţ, ēvēŕŷ ćĥēćķēď ćōḿḿēńţ. Ďōēś ńōţĥĩńĝ ŵĥĩĺē ţĥē Ćōḿḿēńţś ţàƀ ĩś ćĺōśēď."
+ ],
"5gr_ev": [
"ßēćōḿēś ţĥē ďōćũḿēńţ'ś ćōńţēńţ ŵĥēń śōḿēōńē ćŕēàţēś à ďōć ƒŕōḿ ţĥĩś ţēḿƥĺàţē. Ţŷƥē <0>",
["dateToken"],
@@ -452,6 +454,7 @@
"6V3Ea3": ["Ćōƥĩēď"],
"6VqW-1": ["Ŕēḿōvē ", ["keyName"]],
"6WdDG7": ["Ƥàĝē"],
+ "6YBJ3m": ["Àśķ ÀĨ àƀōũţ śēĺēćţĩōń"],
"6YtxFj": ["Ńàḿē"],
"6ZhdPI": ["Ŵĥàţ ţĥē àĝēńţ ḿàŷ ŕēàď, ŵŕĩţē, àńď śũŕƒàćē."],
"6_ZOw4": ["Ćōƥĩēď ƒũĺĺ ƥàţĥ"],
@@ -596,11 +599,11 @@
"8fRyLo": ["Ĩńvàĺĩď ƥàţćĥ ƥàŷĺōàď"],
"8fc_3j": ["Ƥŕōţēćţēď ƀŕàńćĥ — ćàńńōţ ƥũśĥ"],
"8k6INX": ["Ƥàśţē à ƥēŕśōńàĺ àććēśś ţōķēń ƒōŕ <0>", ["host"], "</0>."],
- "8kBLOT": ["Ţĥàţ àƥƥ ĩśń'ţ àvàĩĺàƀĺē — ţĥē ćōḿḿēńţś àŕē śţĩĺĺ ŵàĩţĩńĝ ţō śēńď."],
"8lwQlE": [["0"], " àďďēď, ", ["1"], " ŕēḿōvēď"],
"8m8diM": ["Ńō ĺōćàţĩōń śēĺēćţēď. Ũśē ßŕōŵśē ţō ćĥōōśē à ƒōĺďēŕ."],
"8nOdkO": ["Àĺĩĝń ćēńţēŕ"],
"8nWu1k": ["Ēḿƥţŷ ďĩàĝŕàḿ"],
+ "8oWgty": ["Ḿàŕķ ēvēŕŷ ćōḿḿēńţ ţō śēńď"],
"8qgfac": ["ḾĆƤ śēŕvēŕś"],
"8ruqQi": ["ßŕōķēń ĩńţēŕńàĺ ĺĩńķś"],
"8sMErm": ["Ēńàƀĺē Ƒōĺĺōŵ?"],
@@ -811,6 +814,7 @@
"C0hoX6": ["Àĺŵàŷś ĩńćĺũďēď"],
"C3Zc44": ["Ēxƥĺōŕē śķĩĺĺś"],
"C62P6b": ["Ēďĩţōŕ śēĺēćţĩōń"],
+ "C7PKTv": ["Śēńď ćĥēćķēď ćōḿḿēńţś ţō ćĥàţ"],
"C7waqI": [["0", "plural", { "one": ["#", " ďōćũḿēńţ"], "other": ["#", " ďōćũḿēńţś"] }]],
"C9TBvF": ["Ńō Ōũţĝōĩńĝ"],
"CB7c0Z": ["Śàvē ǫũēũēď ḿēśśàĝē"],
@@ -847,6 +851,7 @@
"ChAtFg": ["Ŷōũ ďōń'ţ ĥàvē ƥēŕḿĩśśĩōń ţō ƥũśĥ ţō ţĥĩś ŕēƥō"],
"ChMshD": ["Ǫũĩţ ", ["appName"]],
"Ck9XRt": ["Ćōũĺďń'ţ śàvē ţĥē ķēŷ — ƥĺēàśē ţŕŷ àĝàĩń."],
+ "ClTEde": ["Śţàĝē ţĥē śēĺēćţēď ƥàśśàĝē ĩń ţĥē àĝēńţś ƥàńēĺ, ŕēàďŷ ţō ēxţēńď àńď śēńď."],
"CmeH9S": ["Àďď ƥŕōƥēŕţŷ ţō ", ["keyName"]],
"CnOGgs": ["Śŷńć ḿōďē"],
"CoHvYd": ["Ḿōvēď ", ["0"], " ţō ƥōśĩţĩōń ", ["1"], " ōƒ ", ["2"]],
@@ -1094,7 +1099,7 @@
"G0YZ-I": ["Ĩńďēńţ ōŕ ōũţďēńţ ĺĩśţ ĩţēḿ"],
"G1Gw0v": ["Ńēŵ ţēḿƥĺàţē"],
"G1XxbZ": ["Ćĥēćķƀōx"],
- "G4-bgo": ["Àśķ ÀĨ (ƒŕōḿ śēĺēćţĩōń)"],
+ "G1zJlD": ["Ĥĩďē ŕēśōĺvēď ćōḿḿēńţś"],
"G4m8rL": ["Ćōḿḿēńţ ōń śēĺēćţĩōń"],
"G6Lrs_": ["Śţōƥ ", ["0"], " ŕēàďĩńĝ ţĥĩś śķĩĺĺ"],
"G7-rf8": ["Ƥàţţēŕń śŷńţàx ēŕŕōŕ: ", ["message"]],
@@ -1413,6 +1418,7 @@
"LXdWeS": ["Ḿēďĩũḿ śēćţĩōń ĥēàďĩńĝ."],
"LXfNU-": ["Ńàvĩĝàţĩōń àńď śũĝĝēśţĩōńś"],
"LYufDw": ["Ƒàĩĺēď ţō ēńàƀĺē śēḿàńţĩć śēàŕćĥ — ", ["detail"]],
+ "LaskKp": ["Śēńď ţō ćĥàţ (", ["0"], ")"],
"Lbl6KA": ["Ćōũĺďń'ţ ĩńśţàĺĺ ƒŕōḿ ", ["0"], ": ", ["1"]],
"LbmLyU": ["Ćàń'ţ śàƒēĺŷ ēďĩţ ţĥĩś ţōōĺ'ś ćōńƒĩĝ"],
"Lcehxn": ["Śàvē ŕēśōĺũţĩōń"],
@@ -1554,6 +1560,7 @@
"N55YNr": [
"Ćĥōōśē ŵĥēţĥēŕ ţĥĩś ƥŕōĴēćţ'ś ŌƥēńĶńōŵĺēďĝē śēţũƥ, ĩńćĺũďĩńĝ ĩţś ÀĨ-ţōōĺ ćōńńēćţĩōńś, ĩś śàvēď ŵĩţĥ ţĥē ƥŕōĴēćţ śō ţēàḿḿàţēś ĝēţ ĩţ ţōō, ōŕ ķēƥţ ōńĺŷ ōń ŷōũŕ ćōḿƥũţēŕ."
],
+ "NBdIgR": ["Ćōḿḿēńţ"],
"NCmYhK": [
"Śķĩĺĺś ţēàćĥ àĝēńţś ŕēƥēàţàƀĺē ţàśķś. Àũţĥōŕ àńď ḿàńàĝē ţĥēḿ ƒŕōḿ ţĥē Śķĩĺĺś śēćţĩōń ĩń ţĥē ēďĩţōŕ; ēàćĥ śķĩĺĺ'ś ĩńśţàĺĺ ḿēńũ ćōńţŕōĺś ŵĥēŕē ĩţ ĺĩvēś. Ţĥēśē àŕē ţĥĩś ƥŕōĴēćţ'ś śķĩĺĺ ƒōĺďēŕś."
],
@@ -1572,9 +1579,7 @@
"NRSLBe": [["diffMin"], "ḿ àĝō"],
"NSnIUP": ["Ţŵō-ƥàĝē (ēvēń)"],
"NUr4kz": ["À ŕēũśàƀĺē śţàŕţĩńĝ ƥōĩńţ ƒōŕ ńēŵ ďōćũḿēńţś ĩń ţĥĩś ƒōĺďēŕ."],
- "NVtrN-": [
- "Ţōĝĝĺē ţĥē ƀōţţōḿ ďōćķ, ŵĥēŕē ţĥē ţēŕḿĩńàĺ ĺĩvēś. Ŵĩţĥ ţēxţ śēĺēćţēď, śţàĝē ĩţ ƒōŕ ŷōũŕ ƥŕēƒēŕŕēď ÀĨ ĩńśţēàď."
- ],
+ "NUw7lo": ["Ţōĝĝĺē ţĥē ƀōţţōḿ ďōćķ, ŵĥēŕē ţĥē ţēŕḿĩńàĺ ĺĩvēś."],
"NYUhy5": ["Śũƀƒōĺďēŕ ńàḿē"],
"NYn1cR": ["Ĺōàďĩńĝ ēďĩţōŕ"],
"NYu2Pt": ["Ńēŵ ƥŕōĴēćţ…"],
@@ -1587,6 +1592,7 @@
"NeY1Np": ["Śĺĩďēv ţĩḿēď ōũţ ŵĥĩĺē śţàŕţĩńĝ. Ţŕŷ àĝàĩń."],
"NfraGd": ["Ōţĥēŕ ŵàŷś ţō ĩńśţàĺĺ Śĺĩďēv"],
"NgZwB0": [["enabledCount"], "/", ["0"], " ōń"],
+ "NiGIcB": ["Ōƥēń Ćōḿḿēńţś"],
"NjrIak": ["Ƒĩĺē: <0>", ["fixedName"], ".ḿď</0>"],
"NkNfSr": ["Ēďĩţ ", ["tag"]],
"NkXEFS": ["Ŕēśţōŕē ƒàĩĺēď — ďōćũḿēńţ ũńćĥàńĝēď"],
@@ -1596,11 +1602,11 @@
"NnQapF": ["Ōƥēń ŵĩţĥ ÀĨ ", ["targetDisplayName"]],
"NoY1k4": ["Ĩńvàĺĩď śēŕvēŕ ŕēśƥōńśē śĥàƥē"],
"NpC29w": ["Ćŕēàţē à ńēŵ ĺĩśţ ĩţēḿ ƒŕōḿ ţĥē ćũŕŕēńţ ĺĩśţ ĩţēḿ."],
- "NpuPmi": ["Ţō śēńď"],
"NrFwux": ["Ƒàĩĺēď ţō śàvē ćōńţēńţ ŕũĺēś — ", ["0"]],
"Ns0z5o": [
"Ŵĥēń ŷōũ ĩńśţàĺĺ à ƥũƀĺĩśĥēď śķĩĺĺ, ţēĺĺ ţĥē śķĩĺĺ ďĩŕēćţōŕŷ (śķĩĺĺś.śĥ) śō ĩţś ĩńśţàĺĺ ćōũńţ ĩś àććũŕàţē. Śēńďś ţĥē śķĩĺĺ ńàḿē, ĩţś śōũŕćē ŕēƥōśĩţōŕŷ, àńď ŵĥĩćĥ àĝēńţ ţōōĺś ĩţ ŵēńţ ţō — ńēvēŕ ƒĩĺē ćōńţēńţś, àńď ńēvēŕ ƒōŕ à śķĩĺĺ ƒŕōḿ à ƥŕĩvàţē, ĺōćàĺ, ōŕ ĥàńď-ţŷƥēď śōũŕćē. Ōńćē ƥēŕ śķĩĺĺ ƥēŕ ḿàćĥĩńē."
],
+ "Ns5f4J": ["Ũńḿàŕķ ēvēŕŷ ćōḿḿēńţ"],
"Nu4DdT": ["Śŷńć"],
"Nu4oKW": ["Ďēśćŕĩƥţĩōń"],
"NuH1jp": ["Ƥũƀĺĩć ŕēƥōśĩţōŕŷ"],
@@ -1660,6 +1666,7 @@
],
"Okd2Xv": ["Ţōĝĝĺē ũńďēŕĺĩńē ƒōŕḿàţţĩńĝ."],
"OlAl5i": ["Ēxƥàńď àĺĺ"],
+ "OlFVNr": ["Àśķ ÀĨ Àƀōũţ Śēĺēćţĩōń"],
"Oo_WWc": ["Ńō ƥàĝēś ƒōũńď"],
"Oos8fo": ["Ćōƥŷ ćōḿḿàńď"],
"OplnBG": ["Ḿàńàĝĩńĝ ÀĨ ţōōĺś ĩś ũńàvàĩĺàƀĺē ĩń ţĥĩś ƀũĩĺď."],
@@ -1727,7 +1734,6 @@
"PkeYXL": ["Ēxƥàńďēď ĝŕàƥĥ ḿōďē"],
"Pkw7J9": ["Ţĥĩś ƒōĺďēŕ ĩś ēḿƥţŷ."],
"PlGC6r": ["ţĥē ĝĩţ ēxćĺũďē ƒĩĺē ĩśń'ţ ŵŕĩţàƀĺē"],
- "Pnvg8e": ["Ćōũĺďń'ţ ōƥēń ţĥē ţēŕḿĩńàĺ — ţĥē ćōḿḿēńţś àŕē śţĩĺĺ ŵàĩţĩńĝ ţō śēńď."],
"Pp0Vgd": ["Ćĺĩćķ ţō ĩńśţàĺĺ ĩń ", ["label"]],
"PpJy-V": ["Ţĥē ēńďƥōĩńţ ďĩďń'ţ ŕēśƥōńď ĩń ţĩḿē."],
"PqYWiC": [
@@ -1757,6 +1763,7 @@
"QB-moX": ["Ĩńśţàĺĺ ĩţ ţō ŷōũŕ ōţĥēŕ ēďĩţōŕś (Ćĺàũďē Ćōďē, Ćũŕśōŕ, Ćōďēx) ţō śĥàŕē ĩţ."],
"QDZbvN": [["diffDays"], "ď àĝō"],
"QHCx0c": ["ßũĝ ŕēƥōŕţ ĥĩśţōŕŷ"],
+ "QIrBIx": ["Ēxƥàńď àĺĺ ƒĩĺēś"],
"QKgePK": ["Àĺĩĝńēď ", ["editor"], " ţō ţĥē śōũŕćē (ĩţś ƀŷţēś àŕē ƀàćķēď ũƥ)"],
"QLgdT6": ["àńŷ ďōć ńàḿēď ", ["0"]],
"QM3SBZ": ["Ƥĺàń (", ["done"], "/", ["0"], ")"],
@@ -1780,6 +1787,7 @@
"QlAG4m": ["Ţēĺĺ ũś ḿōŕē (ōƥţĩōńàĺ)"],
"QlkiD5": ["Ŕē-ƥĺàćē ōń śēĺēćţēď ţēxţ"],
"QlxHAH": ["Śĥōŵĩńĝ ŕēśũĺţś ƒōŕ \"", ["semanticResultsLabel"], "\""],
+ "Qpfxa1": [["secs"], "ś"],
"QqBQu1": ["Ĺàƀēĺ <0>(vĩśĩƀĺē ĺĩńķ ţēxţ)</0>"],
"Quz_Qu": ["Ēďĩţś àƥƥĺŷ ĺĩvē. Ĺĩĝĥţ ōŕ ďàŕķ ćōḿēś ƒŕōḿ ţĥē śćĥēḿē."],
"Qvls7J": ["Ēńĝ śƥēćś"],
@@ -1788,6 +1796,7 @@
],
"QySH4I": ["Ďēţēćţēď ŌƥēńĶńōŵĺēďĝē ƥŕōĴēćţś"],
"QyioBP": ["Ḿōvē ũƥ"],
+ "QzofTX": ["Ńō ćōḿḿēńţś ĩń ţĥĩś ƥŕōĴēćţ ŷēţ. Ćōḿḿēńţ ōń à ƥàśśàĝē ţō śţàŕţ ōńē."],
"R0cyYB": [
[
"0",
@@ -1848,7 +1857,6 @@
"Rj01Fz": ["Ĺĩńķś"],
"RlCInP": ["Śĺàśĥ ćōḿḿàńďś"],
"RmBY0A": ["Ńō ĝĩţ ŕēḿōţē"],
- "RmmhAh": ["Śēńď ĺàţēŕ"],
"RnrnTe": ["Àĺŕēàďŷ śēţ ũƥ — ōķ ĩś àvàĩĺàƀĺē ĩń ŷōũŕ ţēŕḿĩńàĺ"],
"RoafuO": ["Śēńď ƒēēďƀàćķ"],
"RobAKV": ["Ũƥďàţē ţĥē ďēśţĩńàţĩōń àńď ōƥţĩōńàĺ śēćţĩōń àńćĥōŕ."],
@@ -2191,6 +2199,7 @@
"XV5sC0": ["Ōƥēń ŵōŕķţŕēē"],
"XVnIvs": ["Ĩńśţàĺĺ śķĩĺĺś"],
"XW18jo": ["Ƥàĝē ĥēàďĩńĝś ŕēśƥōńśē ďĩď ńōţ ḿàţćĥ śũććēśś śćĥēḿà"],
+ "XWEqQj": [["days"], "ď"],
"XXA1b_": [["componentLabel"], " (ēḿƥţŷ)"],
"XYlJJT": ["Śēţţĩńĝ ũƥ"],
"XZkdtg": ["Śŵĩţćĥ ƀŕàńćĥ"],
@@ -2286,7 +2295,6 @@
"Yy90sM": ["Śķĩĺĺ \"", ["name"], "\" ćŕēàţēď"],
"YyXtnN": ["Ũńďēŕĺĩńē"],
"Yzs3QX": ["Ḿōŕē śķĩĺĺ àćţĩōńś"],
- "YzyyG2": ["Ńōţĥĩńĝ ţō śēńď ŷēţ. Ćōḿḿēńţ ōń à ƥàśśàĝē ţō àďď ĩţ ĥēŕē."],
"Z0W6SO": [
"Ţĥĩś ƒōĺďēŕ ĩś à ćĺōńē ōƒ ",
["actualOwner"],
@@ -2321,7 +2329,6 @@
"ZBxvV3": ["Ńēŵ Ţēŕḿĩńàĺ"],
"ZDOq9A": ["Ŵĥàţ ŷōũ śĥàŕē ĩś śēńţ ţō ţĥē ŌƥēńĶńōŵĺēďĝē ţēàḿ."],
"ZGVsOD": ["Ƥũśĥ ţĥĩś ƀŕàńćĥ ţō ĜĩţĤũƀ ƀēƒōŕē śĥàŕĩńĝ."],
- "ZHAM1l": ["Ĩńćĺũďē ĩń ďĩśƥàţćĥ"],
"ZI8uvA": ["Ńō ƥŕōƀĺēḿś ƒōũńď."],
"ZJ99sD": ["Ĩńśēŕţ ćōĺũḿń ĺēƒţ"],
"ZNK2Tq": ["ŕōōţ"],
@@ -2403,6 +2410,7 @@
"Ŕēàď-ōńĺŷ ćōƥŷ ōƒ à ḾĩŕŕōŕŚōũŕćē ƀĺōćķ ƒŕōḿ àńōţĥēŕ ďōć. Ēďĩţ àţ ţĥē śōũŕćē àńď ĩţ ũƥďàţēś ĺĩvē."
],
"_XWY2J": ["Ţēŕḿĩńàĺ ďĩśàƀĺēď"],
+ "_YEyHO": ["Śĥōŵ ŕēśōĺvēď ćōḿḿēńţś"],
"_YWqV2": ["ŌƥēńĶńōŵĺēďĝē ŕēśōĺvēď à ćōńƒĺĩćţ"],
"_ayOfA": [
"À ķńōŵĺēďĝē ƀàśē ţĥàţ ƒōĺĺōŵś Ĝōōĝĺē'ś Ōƥēń Ķńōŵĺēďĝē Ƒōŕḿàţ, à śĥàŕēď ŵàŷ ōƒ ōŕĝàńĩźĩńĝ ŵĥàţ ŷōũ ķńōŵ. Ƥĩćķ ţĥĩś ĩƒ ŷōũ ŵàńţ ŷōũŕ ńōţēś ţō ŵōŕķ ŵēĺĺ ŵĩţĥ ōţĥēŕ ţōōĺś ţĥàţ ũńďēŕśţàńď ţĥē ƒōŕḿàţ."
@@ -2414,6 +2422,7 @@
"_gO_m8": ["Ŵàĩţĩńĝ ƒōŕ ŷōũŕ àƥƥŕōvàĺ"],
"_gkGSK": ["ďēĺēţēď ţēḿƥĺàţē"],
"_mcDqU": [["count"], " śķĩĺĺś àţ ţĥĩś śōũŕćē"],
+ "_oqig9": [["hours"], "ĥ"],
"_pY_Vq": ["Ţĥē ŕēƥōśĩţōŕŷ ŵàś ḿōvēď, ŕēńàḿēď, ōŕ ďēĺēţēď."],
"_qD6mn": ["Ƥĩćķ ţĥē ƒōĺďēŕ ŵĥēŕē ŷōũ'vē ćĺōńēď ĩţ."],
"_rP3HI": [["minutes"], "ḿ àĝō"],
@@ -2421,7 +2430,6 @@
"_tjopj": ["Ƥàśţē ďũƥĺĩćàţē"],
"_yB-24": ["ēvēŕŷţĥĩńĝ ũńďēŕ àńŷ ", ["0"], "/ ƒōĺďēŕ"],
"a-cKXz": ["Śēĺēćţ àĺĺ śōũŕćē"],
- "a3H_MR": ["Ōƥēń àńď ƒōćũś ţĥē Àśķ ÀĨ ćōḿƥōśēŕ ƒōŕ ţĥē ćũŕŕēńţ ēďĩţōŕ śēĺēćţĩōń."],
"a3LDKx": ["Śēćũŕĩţŷ"],
"a45f2c": ["Ĝĺōƀ ƥàţţēŕńś ţĥĩś śćĥēḿà àƥƥĺĩēś ţō"],
"a4FRQv": ["Ũńďō ţō ţĥĩś ēďĩţ?"],
@@ -2725,7 +2733,6 @@
"emMrXQ": ["Śēŕvēŕ ŕēţũŕńēď à ḿàĺƒōŕḿēď ďũƥĺĩćàţē ŕēśƥōńśē."],
"emgiet": ["Àũţĥōŕĩţàţĩvē ćōńţēńţ; ḿĩŕŕōŕēď vēŕƀàţĩḿ ēvēŕŷŵĥēŕē ĩţ'ś ŕēƒēŕēńćēď."],
"enPTnx": ["ĺĩńē ", ["displayLine"]],
- "eoEUI3": ["Ćōũĺďń'ţ ŕēśōĺvē ţĥàţ ćōḿḿēńţ."],
"epuNYK": [
"Ḿàŕķ à ƀĺōćķ àś ţĥē śōũŕćē ōƒ ţŕũţĥ. Ḿĩŕŕōŕś ēĺśēŵĥēŕē ũƥďàţē ĺĩvē àś ŷōũ ēďĩţ ĩţ."
],
@@ -2775,6 +2782,7 @@
"fcgvCA": ["Ćĺàũďē"],
"fdeFfN": ["(ƀĩńàŕŷ ƒĩĺē, ńōţ ƥŕēvĩēŵàƀĺē)"],
"fevEu0": ["Ƥũĺĺ ĺàţēśţ ćĥàńĝēś"],
+ "ffH3Rt": ["Àďď Ćōḿḿēńţ (Ēńţēŕ)"],
"fg1U4e": ["Śķĩĺĺ ďĩśćōvēŕŷ ƥōŵēŕēď ƀŷ <0>śķĩĺĺś.śĥ</0>"],
"fhaxJL": ["Ćĺōńē ƒàĩĺēď — ēḿƥţŷ ŕēśƥōńśē ƀōďŷ"],
"fiMNLl": ["Śŷńć śēţţĩńĝś ńōţ ŷēţ ĺōàďēď — ţŕŷ àĝàĩń ĩń à ḿōḿēńţ"],
@@ -3214,7 +3222,6 @@
["4"],
") ţĥàţ ŵōń'ţ ţōũćĥ ţĥē ŕēśţ ōƒ ŷōũŕ śŷśţēḿ."
],
- "l7X_SM": ["Śēńď ţō ÀĨ"],
"l87Deg": ["Ćĥōōśē ŵĥàţ à ńēŵ ţàƀ śţàŕţś"],
"l9s3IX": [["agentName"], " ćōũĺďń'ţ śţàŕţ à ćōńvēŕśàţĩōń."],
"lAiyU_": ["Ōńĺŷ ţĥē ćũŕŕēńţ ďōćũḿēńţ ũśēś <0>#", ["tag"], "</0>."],
@@ -3688,6 +3695,7 @@
],
"rwrPbS": ["Ćōḿƥōńēńţ ƀōũńďàŕŷ ńàvĩĝàţĩōń"],
"rxWGWX": ["Ƒōŕŵàŕď"],
+ "ryhHUm": ["Ŵĥēń ţĥē Ćōḿḿēńţś ţàƀ ĩś ōƥēń"],
"s-MGs7": ["Ŕēśōũŕćēś"],
"s-XOaI": ["Ƒĩĺē ńàḿē"],
"s-pW_v": ["Ćōũĺďń'ţ ĩńśţàĺĺ: ", ["0"]],
@@ -3722,6 +3730,7 @@
"sNeKjP": ["Ƒàĩĺēď ţō śţōŕē ţĥē ţōķēń — ţŕŷ àĝàĩń"],
"sOxZaS": ["Ƒàĩĺēď ţō ĺōàď ĝŕàƥĥ"],
"sQoLn0": ["Ǫũĩţ"],
+ "sR0I-f": ["Ćōĺĺàƥśē àĺĺ ƒĩĺēś"],
"sW5OjU": ["ŕēǫũĩŕēď"],
"sZ2IOu": [
"Ţĥĩś ",
@@ -3776,6 +3785,7 @@
"</0> ŵĩĺĺ ƀē ćŕēàţēď ƒŕōḿ ţĥē ćũŕŕēńţ ćōḿḿĩţ, ĩń ĩţś ōŵń ŵōŕķţŕēē ũńďēŕ <1>.ōķ/ŵōŕķţŕēēś/</1>."
],
"t6w1cq": ["Ōƥēń à ƀĺàńķ ēďĩţōŕ ţàƀ."],
+ "t7YoBO": ["Śēńď ţĥĩś ćōḿḿēńţ"],
"t9Qn8y": ["Ńō àĝēńţś ēńàƀĺēď"],
"tA0b9E": ["ţĥē ďēƒàũĺţ śķĩĺĺś ƒōĺďēŕ (ţĥē ēxàćţ ƥàţĥ àƥƥēàŕś ōńćē śàvēď)"],
"tA2-xC": ["\"", ["0"], "\" ŵàś àĺŕēàďŷ àďďēď (ĩďēńţĩćàĺ ćōńţēńţ)."],
@@ -3857,7 +3867,6 @@
"u_lS4C": ["Ćĺōńē ćōḿƥĺēţē — ōƥēńĩńĝ ƥŕōĴēćţ"],
"uaUc6t": ["Ŕēśţàŕţ śēŕvēŕ"],
"ubMwcO": ["Ţĥē ţēŕḿĩńàĺ śēśśĩōń ēńďēď (śĩĝńàĺ ", ["0"], ")."],
- "ubx-L3": ["Ćōḿḿēńţś ţō śēńď"],
"ucXZ0k": ["Ĺōàďĩńĝ àĝēńţś…"],
"ugQcJX": [
["display"],
@@ -4015,6 +4024,7 @@
"Ŷōũ ƥĩćķēď ~/Ďōŵńĺōàďś. Ƒĩĺēś ţĥēŕē àŕē ũśũàĺĺŷ ţŕàńśĩēńţ — ćōńśĩďēŕ à śţàƀĺē ƒōĺďēŕ ĩńśţēàď."
],
"wndeIl": ["ƤŕōĴēćţ-ĺēvēĺ ƥàĝēś ŵĩţĥ ńēĩţĥēŕ ĩńćōḿĩńĝ ńōŕ ōũţĝōĩńĝ ĝŕàƥĥ ēďĝēś."],
+ "wqD3pI": [["failed"], " ōƒ ", ["0"], " ćōḿḿēńţś ćōũĺď ńōţ ƀē ũƥďàţēď."],
"ws5o1F": ["Ćĥēćķēď ƀŷ: ", ["0"]],
"wtcxiD": ["Śĥàŕē ţĥĩś śēţũƥ ŵĩţĥ ŷōũŕ ţēàḿ?"],
"wvK7Ay": ["Ŷōũŕ ĺōćàĺ ćōƥŷ ōƒ ƀŕàńćĥ <0>", ["branch"], "</0> ĩś ƀēĥĩńď."],
@@ -4187,7 +4197,6 @@
"zL0LPh": ["Ĝĺōƀàĺ ōũţśĩďē ţēxţ ƒĩēĺďś"],
"zLGXna": ["Ńō śţàŕţēŕ ƥàćķś àvàĩĺàƀĺē."],
"zLak8b": ["Àćţĩvàţē ńēŵ ţàƀ"],
- "zO-IiA": ["Ţĥē ţēŕḿĩńàĺ ĩśń'ţ àvàĩĺàƀĺē ĥēŕē — ţĥē ćōḿḿēńţś àŕē śţĩĺĺ ŵàĩţĩńĝ ţō śēńď."],
"zQBg2C": ["Ḿōvē ţĥē ćũŕŕēńţ ƀĺōćķ ũƥ ōŕ ďōŵń ōńē ƥōśĩţĩōń."],
"zXj1rA": ["Śēàŕćĥ ƀŷ ḿēàńĩńĝ"],
"zYp8Sr": [
@@ -4205,7 +4214,6 @@
"zkz0Fg": ["Śēţ ũƥ śŷńćĩńĝ"],
"zlErBl": ["Ƥàĝē ĥēàďĩńĝś ēŕŕōŕ ŕēśƥōńśē ďĩď ńōţ ḿàţćĥ ŔƑĆ 9457"],
"zo3Dl7": ["Ţōĝĝĺē ţĥũḿƀńàĩĺś"],
- "zovxVp": ["Ŕēàďŷ ţō śēńď"],
"zpfN9p": ["Ńō ćōḿḿēńţś ŷēţ. Śēĺēćţ ţēxţ ĩń ţĥē ďōćũḿēńţ ţō àďď ōńē."],
"zq2eBA": ["Vĩēŵ ĩń śōũŕćē"],
"zrP8HX": [
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index ba2dff42a..277d519f5 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr ""
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr ""
@@ -506,6 +504,10 @@ msgstr ""
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr ""
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr ""
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr ""
@@ -546,7 +548,6 @@ msgstr ""
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr ""
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,7 +575,7 @@ msgstr ""
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
+msgid "{failed} of {0} comments could not be updated."
msgstr ""
#: src/components/FileTree.tsx
@@ -601,6 +602,10 @@ msgstr ""
msgid "{formatted} GitHub stars"
msgstr ""
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr ""
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr ""
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr ""
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr ""
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr ""
@@ -736,6 +745,10 @@ msgstr ""
msgid "{seconds}s ago"
msgstr ""
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr ""
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr ""
@@ -1182,6 +1195,10 @@ msgstr ""
msgid "Add Comment"
msgstr ""
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr ""
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr ""
@@ -1593,7 +1610,6 @@ msgstr ""
msgid "Ask {agentName}"
msgstr ""
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1603,7 +1619,11 @@ msgid "Ask AI"
msgstr ""
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
+msgid "Ask AI about selection"
+msgstr ""
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
msgstr ""
#: src/components/ProblemsPanel.tsx
@@ -2112,7 +2132,6 @@ msgstr ""
msgid "Checking"
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr ""
@@ -2191,7 +2210,7 @@ msgstr ""
msgid "Choose what a new tab starts"
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr ""
@@ -2227,7 +2246,6 @@ msgstr ""
msgid "Cleanup log"
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2349,7 +2367,7 @@ msgstr ""
msgid "Cloning..."
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2485,6 +2503,10 @@ msgstr ""
msgid "Collapse all file groups"
msgstr ""
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr ""
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr ""
@@ -2533,6 +2555,10 @@ msgstr ""
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr ""
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr ""
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr ""
@@ -2541,6 +2567,10 @@ msgstr ""
msgid "Comment on selection"
msgstr ""
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr ""
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2551,15 +2581,11 @@ msgid "Comment or ask AI about this code block"
msgstr ""
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr ""
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr ""
@@ -3312,10 +3338,6 @@ msgstr ""
msgid "Couldn't open the terminal — please try again."
msgstr ""
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr ""
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr ""
@@ -3409,10 +3431,6 @@ msgstr ""
msgid "Couldn't reopen that comment."
msgstr ""
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr ""
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr ""
@@ -3539,10 +3557,6 @@ msgstr ""
msgid "Couldn't update skills sharing — {detail}."
msgstr ""
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr ""
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr ""
@@ -3887,7 +3901,7 @@ msgstr ""
msgid "Delete this chat?"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr ""
@@ -4194,8 +4208,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr ""
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr ""
@@ -4385,7 +4398,7 @@ msgstr ""
msgid "Edit source pane and code property fields"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr ""
@@ -4714,6 +4727,10 @@ msgstr ""
msgid "Expand all file groups"
msgstr ""
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr ""
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr ""
@@ -5561,7 +5578,6 @@ msgstr ""
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr ""
@@ -5594,6 +5610,10 @@ msgstr ""
msgid "guides/install or https://example.com"
msgstr ""
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr ""
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr ""
@@ -5767,10 +5787,14 @@ msgstr ""
msgid "Hide replace"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr ""
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr ""
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr ""
@@ -5979,10 +6003,6 @@ msgstr ""
msgid "In the Claude Desktop App"
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr ""
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr ""
@@ -6340,7 +6360,7 @@ msgstr ""
msgid "Jump to tab 1-8"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr ""
@@ -6795,6 +6815,10 @@ msgstr ""
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr ""
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr ""
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr ""
@@ -7351,7 +7375,7 @@ msgstr ""
msgid "No agents available."
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr ""
@@ -7384,6 +7408,10 @@ msgstr ""
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr ""
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr ""
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr ""
@@ -7738,10 +7766,6 @@ msgstr ""
msgid "Nothing set yet."
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr ""
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr ""
@@ -7940,10 +7964,6 @@ msgstr ""
msgid "Open an existing project folder from disk."
msgstr ""
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr ""
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr ""
@@ -7964,6 +7984,10 @@ msgstr ""
msgid "Open comment"
msgstr ""
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr ""
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr ""
@@ -8432,7 +8456,7 @@ msgstr ""
msgid "Orphan mode"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr ""
@@ -9098,7 +9122,7 @@ msgstr ""
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr ""
@@ -9126,10 +9150,6 @@ msgstr ""
msgid "Reading…"
msgstr ""
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr ""
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr ""
@@ -9466,7 +9486,7 @@ msgstr ""
msgid "Rendered"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr ""
@@ -9632,10 +9652,6 @@ msgstr ""
msgid "Resize {handleKey}"
msgstr ""
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr ""
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr ""
@@ -9648,7 +9664,7 @@ msgstr ""
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr ""
@@ -10187,7 +10203,7 @@ msgstr ""
msgid "Select the full source document."
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr ""
@@ -10240,6 +10256,10 @@ msgstr ""
msgid "Send & continue"
msgstr ""
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr ""
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr ""
@@ -10253,22 +10273,23 @@ msgstr ""
msgid "Send feedback…"
msgstr ""
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr ""
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr ""
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr ""
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr ""
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr ""
@@ -10654,10 +10675,14 @@ msgid "Show replace"
msgstr ""
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr ""
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr ""
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr ""
@@ -10957,6 +10982,10 @@ msgstr ""
msgid "Split list item"
msgstr ""
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr ""
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr ""
@@ -10978,7 +11007,7 @@ msgstr ""
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr ""
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr ""
@@ -11540,10 +11569,6 @@ msgstr ""
msgid "Thanks for the report!"
msgstr ""
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr ""
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11594,7 +11619,7 @@ msgstr ""
msgid "The agent's persona, values, and voice."
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr ""
@@ -11745,10 +11770,6 @@ msgstr ""
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr ""
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr ""
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11873,7 +11894,7 @@ msgstr ""
msgid "This can be configured in Settings > AI tools & CLI"
msgstr ""
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr ""
@@ -12033,6 +12054,7 @@ msgstr ""
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr ""
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr ""
@@ -12167,10 +12189,6 @@ msgstr ""
msgid "To do."
msgstr ""
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr ""
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr ""
@@ -12246,7 +12264,7 @@ msgid "Toggle strikethrough formatting."
msgstr ""
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
+msgid "Toggle the bottom dock, where the terminal lives."
msgstr ""
#: src/lib/keyboard-shortcuts.ts
@@ -12499,6 +12517,10 @@ msgstr ""
msgid "unlink"
msgstr ""
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr ""
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr ""
@@ -12954,6 +12976,10 @@ msgstr ""
msgid "When the agent runs its scheduled work."
msgstr ""
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr ""
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr ""
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index e0bb733d9..c3ace12e2 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -170,7 +170,6 @@
"1njn7W": ["Claro"],
"1nke1r": ["Abrir ", ["0"], " no GitHub (abre em uma nova aba)"],
"1oSHI0": ["Não deu para instalar ", ["skillName"], ": ", ["0"]],
- "1oawp3": ["Não foi possível limpar ", ["failed"], " de ", ["0"], " comentários."],
"1t_NnN": ["Rejeitar"],
"1u-mAI": ["Não deu para iniciar a sincronização. Verifique sua conexão e tente de novo."],
"1vn0CI": ["Resposta do servidor inválida"],
@@ -197,7 +196,6 @@
"2FnYUD": [
"Informações do app e do sistema, logs recentes do app e logs do servidor do projeto: o essencial para reproduzirmos o problema."
],
- "2FoHU3": ["Resolver"],
"2G-56b": ["Falha ao atualizar as regras do markdownlint"],
"2GT3Hf": ["Global"],
"2H43L8": ["Segredos como chaves de API e tokens são ocultados automaticamente."],
@@ -358,9 +356,6 @@
"4E9jPa": ["Crie seu primeiro projeto"],
"4EZrJN": ["Regras"],
"4ErgAf": ["OpenKnowledge instalou uma habilidade"],
- "4GWjF8": [
- "Não deu para descobrir para onde enviar os comentários — eles continuam aguardando."
- ],
"4Gz2wC": ["Falha ao enviar o arquivo"],
"4KmEoC": ["Atalhos de teclado"],
"4NC2Ym": ["Vai para a próxima célula da tabela ou para a anterior."],
@@ -396,6 +391,7 @@
"4sKwf6": ["O arquivo já existe"],
"4sUdTJ": ["pré-visualização com tema"],
"4uNLmk": ["Fazendo pull"],
+ "4uaCUA": [["mins"], "min"],
"4v2Yyz": [
"Seleciona todas as linhas visíveis da árvore de arquivos quando o foco está na barra lateral Arquivos."
],
@@ -415,6 +411,7 @@
"56WWtu": ["Não deu para carregar os pacotes iniciais: ", ["error"]],
"56xUL1": ["Nome da propriedade"],
"57fiu8": ["(somente leitura — por enquanto, edite no modo código)"],
+ "58qIOK": ["Comentar esta seleção"],
"5ALjdr": ["Percorre os resultados de busca do editor visual a partir do campo de busca."],
"5Ajb15": ["A fórmula <0>c = √(a² + b²)</0> é renderizada em linha."],
"5AzM72": [
@@ -455,6 +452,9 @@
"5aahsI": ["nada (", ["0"], " não é um padrão válido)"],
"5b3WD-": ["OpenKnowledge salvou um ponto de verificação"],
"5e1Dri": ["O rótulo de menu pelo qual os agentes escolhem este modelo (obrigatório)."],
+ "5ecEGe": [
+ "Entrega os comentários marcados a um agente em um único turno. Em Este documento, apenas os comentários desse documento; em Este projeto, todos os comentários marcados. Não faz nada enquanto a aba Comentários está fechada."
+ ],
"5gr_ev": [
"Vira o conteúdo do documento quando alguém cria um documento a partir deste modelo. Digite <0>",
["dateToken"],
@@ -528,6 +528,7 @@
"6V3Ea3": ["Copiado"],
"6VqW-1": ["Remover ", ["keyName"]],
"6WdDG7": ["Página"],
+ "6YBJ3m": ["Perguntar à IA sobre a seleção"],
"6YtxFj": ["Nome"],
"6ZhdPI": ["O que o agente pode ler, escrever e mostrar."],
"6_ZOw4": ["Caminho completo copiado"],
@@ -694,11 +695,11 @@
"8fRyLo": ["Carga de patch inválida"],
"8fc_3j": ["Ramo protegido — não é possível enviar"],
"8k6INX": ["Cole um token de acesso pessoal para <0>", ["host"], "</0>."],
- "8kBLOT": ["Esse app não está disponível — os comentários continuam aguardando envio."],
"8lwQlE": [["0"], " adicionados, ", ["1"], " removidos"],
"8m8diM": ["Nenhum local selecionado. Use Procurar para escolher uma pasta."],
"8nOdkO": ["Centralizar"],
"8nWu1k": ["Diagrama vazio"],
+ "8oWgty": ["Marcar todos os comentários para enviar"],
"8qgfac": ["Servidores MCP"],
"8ruqQi": ["Links internos quebrados"],
"8sMErm": ["Ativar Acompanhar?"],
@@ -934,6 +935,7 @@
"C0hoX6": ["Sempre incluído"],
"C3Zc44": ["Explorar habilidades"],
"C62P6b": ["Seleção do editor"],
+ "C7PKTv": ["Enviar os comentários marcados para o chat"],
"C7waqI": [
[
"0",
@@ -976,6 +978,9 @@
"ChAtFg": ["Você não tem permissão para enviar a este repositório"],
"ChMshD": ["Encerrar o ", ["appName"]],
"Ck9XRt": ["Não deu para salvar a chave — tente de novo."],
+ "ClTEde": [
+ "Prepara o trecho selecionado no painel de agentes, pronto para complementar e enviar."
+ ],
"CmeH9S": ["Adicionar propriedade a ", ["keyName"]],
"CnOGgs": ["Modo de sincronização"],
"CoHvYd": [["0"], " movido para a posição ", ["1"], " de ", ["2"]],
@@ -1257,7 +1262,7 @@
"G0YZ-I": ["Aumentar ou diminuir o recuo do item de lista"],
"G1Gw0v": ["Novo modelo"],
"G1XxbZ": ["Caixa de seleção"],
- "G4-bgo": ["Perguntar à IA (a partir da seleção)"],
+ "G1zJlD": ["Ocultar comentários resolvidos"],
"G4m8rL": ["Comentar na seleção"],
"G6Lrs_": ["Fazer ", ["0"], " parar de ler esta habilidade"],
"G7-rf8": ["Erro de sintaxe no padrão: ", ["message"]],
@@ -1621,6 +1626,7 @@
"LXdWeS": ["Título de seção médio."],
"LXfNU-": ["Navegação e sugestões"],
"LYufDw": ["Falha ao ativar a busca semântica — ", ["detail"]],
+ "LaskKp": ["Enviar para o chat (", ["0"], ")"],
"Lbl6KA": ["Não deu para instalar a partir de ", ["0"], ": ", ["1"]],
"LbmLyU": ["Não é seguro editar a configuração desta ferramenta"],
"Lcehxn": ["Salvar a resolução"],
@@ -1780,6 +1786,7 @@
"N55YNr": [
"Escolha se a configuração do OpenKnowledge deste projeto, incluindo as conexões com ferramentas de IA, é salva junto com o projeto para que os colegas também a recebam, ou fica só no seu computador."
],
+ "NBdIgR": ["Comentar"],
"NCmYhK": [
"As habilidades ensinam tarefas repetíveis aos agentes. Crie e gerencie pela seção Habilidades do editor; o menu de instalação de cada habilidade controla onde ela fica. Estas são as pastas de habilidades deste projeto."
],
@@ -1798,9 +1805,7 @@
"NRSLBe": ["há ", ["diffMin"], " min"],
"NSnIUP": ["Duas páginas (pares)"],
"NUr4kz": ["Um ponto de partida reutilizável para novos documentos nesta pasta."],
- "NVtrN-": [
- "Alterna o painel inferior, onde fica o terminal. Com texto selecionado, prepara-o para a IA de sua preferência."
- ],
+ "NUw7lo": ["Mostra ou oculta o painel inferior, onde fica o terminal."],
"NYUhy5": ["Nome da subpasta"],
"NYn1cR": ["Carregando o editor"],
"NYu2Pt": ["Novo projeto…"],
@@ -1813,6 +1818,7 @@
"NeY1Np": ["O Slidev demorou demais para iniciar. Tente novamente."],
"NfraGd": ["Outras formas de instalar o Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " ativos"],
+ "NiGIcB": ["Abrir Comentários"],
"NjrIak": ["Arquivo: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["Editar ", ["tag"]],
"NkXEFS": ["Falha ao restaurar — o documento não mudou"],
@@ -1822,11 +1828,11 @@
"NnQapF": ["Abrir com a IA ", ["targetDisplayName"]],
"NoY1k4": ["Estrutura da resposta do servidor inválida"],
"NpC29w": ["Cria um novo item de lista a partir do item atual."],
- "NpuPmi": ["A enviar"],
"NrFwux": ["Falha ao salvar as regras de conteúdo — ", ["0"]],
"Ns0z5o": [
"Quando você instala uma habilidade publicada, o diretório de habilidades (skills.sh) é avisado para que a contagem de instalações fique correta. São enviados o nome da habilidade, o repositório de origem dela e para quais ferramentas de IA ela foi — nunca o conteúdo dos arquivos, e nunca no caso de uma habilidade de origem privada, local ou digitada à mão. Uma vez por habilidade, por computador."
],
+ "Ns5f4J": ["Desmarcar todos os comentários"],
"Nu4DdT": ["Sincronização"],
"Nu4oKW": ["Descrição"],
"NuH1jp": ["Repositório público"],
@@ -1890,6 +1896,7 @@
],
"Okd2Xv": ["Liga ou desliga o sublinhado."],
"OlAl5i": ["Expandir tudo"],
+ "OlFVNr": ["Perguntar à IA sobre a seleção"],
"Oo_WWc": ["Nenhuma página encontrada"],
"Oos8fo": ["Copiar comando"],
"OplnBG": ["O gerenciamento de ferramentas de IA não está disponível nesta compilação."],
@@ -1959,7 +1966,6 @@
"PkeYXL": ["Modo de grafo expandido"],
"Pkw7J9": ["Esta pasta está vazia."],
"PlGC6r": ["o arquivo de exclusão do git não permite escrita"],
- "Pnvg8e": ["Não deu para abrir o terminal — os comentários continuam aguardando envio."],
"Pp0Vgd": ["Clique para instalar em ", ["label"]],
"PpJy-V": ["O endpoint não respondeu a tempo."],
"PqYWiC": [
@@ -1995,6 +2001,7 @@
],
"QDZbvN": ["há ", ["diffDays"], " d"],
"QHCx0c": ["Histórico de relatórios de erro"],
+ "QIrBIx": ["Expandir todos os arquivos"],
"QKgePK": [["editor"], " alinhado ao código fonte (os bytes dele têm backup)"],
"QLgdT6": ["qualquer documento chamado ", ["0"]],
"QM3SBZ": ["Plano (", ["done"], "/", ["0"], ")"],
@@ -2022,6 +2029,7 @@
"QlAG4m": ["Conte mais (opcional)"],
"QlkiD5": ["Reposicionar no texto selecionado"],
"QlxHAH": ["Mostrando resultados de \"", ["semanticResultsLabel"], "\""],
+ "Qpfxa1": [["secs"], "s"],
"QqBQu1": ["Rótulo <0>(texto visível do link)</0>"],
"Quz_Qu": ["As edições valem na hora. O modo claro ou escuro vem do esquema."],
"Qvls7J": ["Especificações de engenharia"],
@@ -2030,6 +2038,7 @@
],
"QySH4I": ["Projetos do OpenKnowledge detectados"],
"QyioBP": ["Mover para cima"],
+ "QzofTX": ["Ainda não há comentários neste projeto. Comente um trecho para começar."],
"R0cyYB": [
[
"0",
@@ -2091,7 +2100,6 @@
"Rj01Fz": ["Links"],
"RlCInP": ["Comandos de barra"],
"RmBY0A": ["Sem remoto do git"],
- "RmmhAh": ["Enviar depois"],
"RnrnTe": ["Já configurado — ok está disponível no seu terminal"],
"RoafuO": ["Enviar comentários"],
"RobAKV": ["Atualize o destino e a âncora de seção opcional."],
@@ -2475,6 +2483,7 @@
"XV5sC0": ["Abrir o worktree"],
"XVnIvs": ["Instalar habilidades"],
"XW18jo": ["A resposta dos títulos da página não corresponde ao esquema de sucesso"],
+ "XWEqQj": [["days"], "d"],
"XXA1b_": [["componentLabel"], " (vazio)"],
"XYlJJT": ["Configurando"],
"XZkdtg": ["Trocar de ramo"],
@@ -2582,7 +2591,6 @@
"Yy90sM": ["Habilidade \"", ["name"], "\" criada"],
"YyXtnN": ["Sublinhado"],
"Yzs3QX": ["Mais ações de habilidade"],
- "YzyyG2": ["Ainda não há nada para enviar. Comente uma passagem para acrescentá-la aqui."],
"Z0W6SO": [
"Esta pasta é um clone de ",
["actualOwner"],
@@ -2619,7 +2627,6 @@
"ZBxvV3": ["Novo terminal"],
"ZDOq9A": ["O que você compartilha é enviado para a equipe do OpenKnowledge."],
"ZGVsOD": ["Envie este ramo para o GitHub antes de compartilhar."],
- "ZHAM1l": ["Incluir no envio"],
"ZI8uvA": ["Nenhum problema encontrado."],
"ZJ99sD": ["Inserir coluna à esquerda"],
"ZNK2Tq": ["raiz"],
@@ -2705,6 +2712,7 @@
"Cópia somente leitura de um bloco MirrorSource de outro documento. Edite na fonte e ela se atualiza ao vivo."
],
"_XWY2J": ["Terminal desativado"],
+ "_YEyHO": ["Mostrar comentários resolvidos"],
"_YWqV2": ["OpenKnowledge resolveu um conflito"],
"_ayOfA": [
"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."
@@ -2718,6 +2726,7 @@
"_gO_m8": ["Aguardando sua aprovação"],
"_gkGSK": ["modelo excluído"],
"_mcDqU": [["count"], " habilidades nesta fonte"],
+ "_oqig9": [["hours"], "h"],
"_pY_Vq": ["O repositório foi movido, renomeado ou excluído."],
"_qD6mn": ["Escolha a pasta onde você o clonou."],
"_rP3HI": ["há ", ["minutes"], " min"],
@@ -2725,7 +2734,6 @@
"_tjopj": ["Colar duplicado"],
"_yB-24": ["tudo dentro de qualquer pasta ", ["0"], "/"],
"a-cKXz": ["Selecionar todo o código"],
- "a3H_MR": ["Abre e foca o compositor de Perguntar à IA com a seleção atual do editor."],
"a3LDKx": ["Segurança"],
"a45f2c": ["Padrões glob a que este esquema se aplica"],
"a4FRQv": ["Desfazer até esta edição?"],
@@ -3088,7 +3096,6 @@
"Conteúdo autoritativo; espelhado literalmente em todo lugar onde for referenciado."
],
"enPTnx": ["linha ", ["displayLine"]],
- "eoEUI3": ["Não deu para resolver esse comentário."],
"epuNYK": [
"Marca um bloco como fonte da verdade. Os espelhos em outros lugares se atualizam ao vivo enquanto você o edita."
],
@@ -3146,6 +3153,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(arquivo binário, sem pré-visualização)"],
"fevEu0": ["Trazer as últimas alterações"],
+ "ffH3Rt": ["Adicionar comentário (Enter)"],
"fg1U4e": ["Descoberta de habilidades por <0>skills.sh</0>"],
"fhaxJL": ["Falha ao clonar — corpo da resposta vazio"],
"fiMNLl": [
@@ -3627,7 +3635,6 @@
["4"],
") que não vai mexer no resto do seu sistema."
],
- "l7X_SM": ["Enviar para a IA"],
"l87Deg": ["Escolha o que uma nova aba inicia"],
"l9s3IX": [["agentName"], " não conseguiu iniciar uma conversa."],
"lAiyU_": ["Só o documento atual usa <0>#", ["tag"], "</0>."],
@@ -4140,6 +4147,7 @@
],
"rwrPbS": ["Navegação pelos limites dos componentes"],
"rxWGWX": ["Avançar"],
+ "ryhHUm": ["Quando a aba Comentários está aberta"],
"s-MGs7": ["Recursos"],
"s-XOaI": ["Nome do arquivo"],
"s-pW_v": ["Não deu para instalar: ", ["0"]],
@@ -4180,6 +4188,7 @@
"sNeKjP": ["Falha ao guardar o token — tente de novo"],
"sOxZaS": ["Falha ao carregar o grafo"],
"sQoLn0": ["Sair"],
+ "sR0I-f": ["Recolher todos os arquivos"],
"sW5OjU": ["obrigatório"],
"sZ2IOu": [
"Este ",
@@ -4240,6 +4249,7 @@
"</0> será criado a partir do commit atual, em um worktree próprio dentro de <1>.ok/worktrees/</1>."
],
"t6w1cq": ["Abre uma aba de editor em branco."],
+ "t7YoBO": ["Enviar este comentário"],
"t9Qn8y": ["Nenhum agente ativado"],
"tA0b9E": ["a pasta de habilidades padrão (o caminho exato aparece depois de salvar)"],
"tA2-xC": ["\"", ["0"], "\" já tinha sido adicionado (conteúdo idêntico)."],
@@ -4328,7 +4338,6 @@
"u_lS4C": ["Clonagem concluída — abrindo o projeto"],
"uaUc6t": ["Reiniciar o servidor"],
"ubMwcO": ["A sessão de terminal terminou (sinal ", ["0"], ")."],
- "ubx-L3": ["Comentários a enviar"],
"ucXZ0k": ["Carregando agentes…"],
"ugQcJX": [
["display"],
@@ -4502,6 +4511,7 @@
"Você escolheu ~/Downloads. Os arquivos de lá costumam ser passageiros — pense em uma pasta mais estável."
],
"wndeIl": ["Páginas de todo o projeto sem arestas de entrada nem de saída no grafo."],
+ "wqD3pI": ["Não foi possível atualizar ", ["failed"], " de ", ["0"], " comentários."],
"ws5o1F": ["Verificado por: ", ["0"]],
"wtcxiD": ["Compartilhar esta configuração com sua equipe?"],
"wvK7Ay": ["Sua cópia local do ramo <0>", ["branch"], "</0> está atrasada."],
@@ -4688,7 +4698,6 @@
"zL0LPh": ["Global fora dos campos de texto"],
"zLGXna": ["Nenhum pacote inicial disponível."],
"zLak8b": ["Ativar nova aba"],
- "zO-IiA": ["O terminal não está disponível aqui — os comentários continuam aguardando envio."],
"zQBg2C": ["Sobe ou desce o bloco atual uma posição."],
"zXj1rA": ["Buscar por significado"],
"zYp8Sr": [
@@ -4708,7 +4717,6 @@
"zkz0Fg": ["Configurar a sincronização"],
"zlErBl": ["A resposta de erro dos títulos da página não seguiu a RFC 9457"],
"zo3Dl7": ["Mostrar ou ocultar as miniaturas"],
- "zovxVp": ["Pronto para enviar"],
"zpfN9p": ["Ainda não há comentários. Selecione um texto no documento para adicionar um."],
"zq2eBA": ["Ver no código"],
"zrP8HX": [
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index 5496a1022..36b86fd62 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} está sobre {destination}."
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} ainda não está instalado — abrindo sua página de download."
@@ -506,6 +504,10 @@ msgstr "{count} habilidades nesta fonte"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {há # dia} many {há # dias} other {há # dias}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}d"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "há {days} d"
@@ -546,7 +548,6 @@ msgstr "{display} é uma cópia independente, enquanto os outros locais da habil
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) não está instalado nem no seu PATH."
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} ativos"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "Não foi possível limpar {failed} de {0} comentários."
+msgid "{failed} of {0} comments could not be updated."
+msgstr "Não foi possível atualizar {failed} de {0} comentários."
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {pasta} many {pastas} other {pastas}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} estrelas no GitHub"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}h"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {há # min} many {há # min} other {há # min}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}min"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "há {minutes} min"
@@ -736,6 +745,10 @@ msgstr "Propriedades de {propPanelDescriptorLabel}"
msgid "{seconds}s ago"
msgstr "há {seconds} s"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}s"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "Propriedades de {settingsDescriptorLabel}"
@@ -1182,6 +1195,10 @@ msgstr "Adicione pelo menos uma letra ou número."
msgid "Add Comment"
msgstr "Adicionar comentário"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "Adicionar comentário (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "Adicione cursores ou selecione ocorrências correspondentes pelo CodeMirror."
@@ -1593,7 +1610,6 @@ msgstr "Perguntar à CLI do {0}"
msgid "Ask {agentName}"
msgstr "Perguntar ao {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1603,8 +1619,12 @@ msgid "Ask AI"
msgstr "Perguntar à IA"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "Perguntar à IA (a partir da seleção)"
+msgid "Ask AI about selection"
+msgstr "Perguntar à IA sobre a seleção"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "Perguntar à IA sobre a seleção"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2112,7 +2132,6 @@ msgstr "Verificado por: {0}"
msgid "Checking"
msgstr "Verificando"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "Procurando agentes"
@@ -2191,7 +2210,7 @@ msgstr "Escolher ícone"
msgid "Choose what a new tab starts"
msgstr "Escolha o que uma nova aba inicia"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "Escolha para onde enviar estes comentários"
@@ -2227,7 +2246,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "Log de limpeza"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2349,7 +2367,7 @@ msgstr "Clonando {repoName}..."
msgid "Cloning..."
msgstr "Clonando..."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2485,6 +2503,10 @@ msgstr "Recolher tudo"
msgid "Collapse all file groups"
msgstr "Recolher todos os grupos de arquivos"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "Recolher todos os arquivos"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "Recolher Perguntar à IA"
@@ -2533,6 +2555,10 @@ msgstr "Comandos"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "Os comandos rodam com todo o acesso da sua conta de usuário do macOS neste computador. Desligue isto para desabilitar o shell."
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "Comentar"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "Comentar em {address}"
@@ -2541,6 +2567,10 @@ msgstr "Comentar em {address}"
msgid "Comment on selection"
msgstr "Comentar na seleção"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "Comentar esta seleção"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2551,15 +2581,11 @@ msgid "Comment or ask AI about this code block"
msgstr "Comente ou pergunte à IA sobre este bloco de código"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "Comentários"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "Comentários a enviar"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "Faça commit ou stash das alterações para trocar:"
@@ -3312,10 +3338,6 @@ msgstr "Não deu para abrir o documento"
msgid "Couldn't open the terminal — please try again."
msgstr "Não deu para abrir o terminal — tente de novo."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "Não deu para abrir o terminal — os comentários continuam aguardando envio."
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "Não deu para abrir o worktree. Tente de novo."
@@ -3409,10 +3431,6 @@ msgstr "Não deu para renomear o modelo: {0}"
msgid "Couldn't reopen that comment."
msgstr "Não deu para reabrir esse comentário."
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "Não deu para resolver esse comentário."
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "Não deu para resolver o conflito de {filePath}."
@@ -3539,10 +3557,6 @@ msgstr "Não deu para atualizar o compartilhamento de habilidades"
msgid "Couldn't update skills sharing — {detail}."
msgstr "Não deu para atualizar o compartilhamento de habilidades — {detail}."
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "Não deu para descobrir para onde enviar os comentários — eles continuam aguardando."
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "Contar publicamente as instalações de habilidades"
@@ -3887,7 +3901,7 @@ msgstr "Excluir tabela"
msgid "Delete this chat?"
msgstr "Excluir este chat?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "Excluir este comentário"
@@ -4194,8 +4208,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "Não vê <0>Habilidades</0>? Ative antes <1>Configurações <2/> Recursos <3/> Execução de código e criação de arquivos</1>."
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "Não enviar este comentário"
@@ -4385,7 +4398,7 @@ msgstr "Editar o código fonte"
msgid "Edit source pane and code property fields"
msgstr "Painel de edição de código e campos de propriedade do tipo código"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "Editar este comentário"
@@ -4714,6 +4727,10 @@ msgstr "Expandir tudo"
msgid "Expand all file groups"
msgstr "Expandir todos os grupos de arquivos"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "Expandir todos os arquivos"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "Expandir o grafo"
@@ -5561,7 +5578,6 @@ msgstr "Ir para a linha {0} em {1}"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "Ir para este comentário em {0}"
@@ -5594,6 +5610,10 @@ msgstr "Orienta seus agentes de IA sobre como trabalhar aqui."
msgid "guides/install or https://example.com"
msgstr "guides/install ou https://exemplo.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "Entrega os comentários marcados a um agente em um único turno. Em Este documento, apenas os comentários desse documento; em Este projeto, todos os comentários marcados. Não faz nada enquanto a aba Comentários está fechada."
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "Quebra de linha forçada"
@@ -5767,10 +5787,14 @@ msgstr "Ocultar os indicadores de problemas"
msgid "Hide replace"
msgstr "Ocultar substituir"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "Ocultar os resolvidos"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "Ocultar comentários resolvidos"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "Ocultar a pré-visualização da seleção"
@@ -5979,10 +6003,6 @@ msgstr "No app (beta)"
msgid "In the Claude Desktop App"
msgstr "No app Claude Desktop"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "Incluir no envio"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "Incluir este comentário no próximo envio"
@@ -6340,7 +6360,7 @@ msgstr "Ir para a página {pageNumber}"
msgid "Jump to tab 1-8"
msgstr "Ir para as abas 1-8"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "Ir para o texto ancorado"
@@ -6795,6 +6815,10 @@ msgstr "Mapear a arquitetura"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "Marca um bloco como fonte da verdade. Os espelhos em outros lugares se atualizam ao vivo enquanto você o edita."
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "Marcar todos os comentários para enviar"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7351,7 +7375,7 @@ msgstr "Nenhum agente foi configurado ainda — escolha um no menu de envio."
msgid "No agents available."
msgstr "Nenhum agente disponível."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "Nenhum agente ativado"
@@ -7384,6 +7408,10 @@ msgstr "Sem alterações"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "Não há servidor de colaboração para este worktree — rode <0>ok start</0> aqui ou abra o projeto de novo."
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "Ainda não há comentários neste projeto. Comente um trecho para começar."
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "Ainda não há comentários. Selecione um texto no documento para adicionar um."
@@ -7738,10 +7766,6 @@ msgstr "nada ({0} não é um padrão válido)"
msgid "Nothing set yet."
msgstr "Ainda não há nada definido."
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "Ainda não há nada para enviar. Comente uma passagem para acrescentá-la aqui."
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "Nada foi enviado. O relatório fica neste Mac até você mandá-lo para a gente por e-mail."
@@ -7940,10 +7964,6 @@ msgstr "Abrir o painel de agentes"
msgid "Open an existing project folder from disk."
msgstr "Abre do disco uma pasta de projeto existente."
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "Abre e foca o compositor de Perguntar à IA com a seleção atual do editor."
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "Abre e foca o compositor de prompts de Perguntar à IA na parte de baixo."
@@ -7964,6 +7984,10 @@ msgstr "Abre o painel de diagnósticos de análise do CodeMirror."
msgid "Open comment"
msgstr "Abrir o comentário"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "Abrir Comentários"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "Abrir a pasta que o contém"
@@ -8432,7 +8456,7 @@ msgstr "Arquivo original — antes das edições deste agente."
msgid "Orphan mode"
msgstr "Modo órfãs"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "Órfã"
@@ -9098,7 +9122,7 @@ msgstr "Autenticar de novo no GitHub Enterprise Server"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "Os embeddings são recalculados à medida que as buscas rodam, então a cobertura recomeça do zero e vai enchendo."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "Reposicionar no texto selecionado"
@@ -9126,10 +9150,6 @@ msgstr "Arquivo somente leitura na habilidade {name}"
msgid "Reading…"
msgstr "Lendo…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "Pronto para enviar"
-
#: 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."
@@ -9466,7 +9486,7 @@ msgstr "erro de renderização"
msgid "Rendered"
msgstr "Renderizado"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "Reabrir"
@@ -9632,10 +9652,6 @@ msgstr "Redefinir os filtros de visualização"
msgid "Resize {handleKey}"
msgstr "Redimensionar {handleKey}"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "Resolver"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "Resolva o conflito no seu terminal"
@@ -9648,7 +9664,7 @@ msgstr "Resolva o conflito em {files} antes de excluir."
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "Resolva o conflito em {files} e em mais {overflow} antes de excluir."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "Resolvido"
@@ -10187,7 +10203,7 @@ msgstr "Selecionar a próxima ocorrência"
msgid "Select the full source document."
msgstr "Seleciona o documento de código inteiro."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "Selecionar este texto na propriedade"
@@ -10240,6 +10256,10 @@ msgstr "Enviar"
msgid "Send & continue"
msgstr "Enviar e continuar"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "Enviar os comentários marcados para o chat"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "Enviar os comentários para"
@@ -10253,22 +10273,23 @@ msgstr "Enviar comentários"
msgid "Send feedback…"
msgstr "Enviar comentários…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "Enviar depois"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "Enviar o relatório"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "Enviar para a IA"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "Enviar este comentário"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "Enviar para o chat"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "Enviar para o chat ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "Enviar quando o agente estiver livre"
@@ -10654,10 +10675,14 @@ msgid "Show replace"
msgstr "Mostrar substituir"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "Mostrar os resolvidos ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "Mostrar comentários resolvidos"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "Mostrar a pré-visualização da seleção"
@@ -10957,6 +10982,10 @@ msgstr "Desfazer ou refazer no código"
msgid "Split list item"
msgstr "Dividir o item de lista"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "Prepara o trecho selecionado no painel de agentes, pronto para complementar e enviar."
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "Dê uma estrela no GitHub"
@@ -10978,7 +11007,7 @@ msgstr "Iniciar {agentName}, {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "Inicie um chat com o botão + ou inicie um agente a partir de uma página."
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "Começar um novo chat"
@@ -11540,10 +11569,6 @@ msgstr "Obrigado pelo retorno!"
msgid "Thanks for the report!"
msgstr "Obrigado pelo relatório!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "Esse app não está disponível — os comentários continuam aguardando envio."
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11594,7 +11619,7 @@ msgstr "O agente não está parando. A parada forçada fecha este chat e encerra
msgid "The agent's persona, values, and voice."
msgstr "A personalidade, os valores e a voz do agente."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "O texto ancorado sumiu. Você pode reposicioná-lo em um texto selecionado."
@@ -11745,10 +11770,6 @@ msgstr "O nome do arquivo do modelo (sem `.md`)."
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "O terminal está desligado neste projeto. Ligue de novo para rodar comandos aqui."
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "O terminal não está disponível aqui — os comentários continuam aguardando envio."
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11873,7 +11894,7 @@ msgstr "Este ramo está extraído em:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "Isto pode ser configurado em Configurações > Ferramentas de IA e CLI"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "Este comentário é sobre a propriedade inteira"
@@ -12033,6 +12054,7 @@ msgstr "Isso remove permanentemente {0}/{1} da skill “{2}”. Tudo o que apont
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "Isto remove definitivamente {path}. Os agentes que citarem este modelo pelo nome vão falhar até ele ser recriado ou substituído por um de uma pasta acima."
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "Este projeto"
@@ -12167,10 +12189,6 @@ msgstr "A fazer"
msgid "To do."
msgstr "A fazer."
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "A enviar"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "Liga ou desliga uma lista com marcadores."
@@ -12246,8 +12264,8 @@ msgid "Toggle strikethrough formatting."
msgstr "Liga ou desliga o tachado."
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "Alterna o painel inferior, onde fica o terminal. Com texto selecionado, prepara-o para a IA de sua preferência."
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "Mostra ou oculta o painel inferior, onde fica o terminal."
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12499,6 +12517,10 @@ msgstr "Erro desconhecido"
msgid "unlink"
msgstr "desvincular"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "Desmarcar todos os comentários"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "Lista de itens sem numeração."
@@ -12954,6 +12976,10 @@ msgstr "Quando está ligado, o agente abre ou atualiza a pré-visualização dep
msgid "When the agent runs its scheduled work."
msgstr "Quando o agente roda o trabalho agendado dele."
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "Quando a aba Comentários está aberta"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "Quando você passa o cursor sobre um link externo, a URL dele é enviada ao site de destino para buscar os metadados de pré-visualização da página — uma requisição por link pré-visualizado."
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index be19c9c8f..6dbcee64d 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -154,7 +154,6 @@
"1njn7W": ["روشن"],
"1nke1r": [["0"], " کو GitHub پر کھولیں (نئے ٹیب میں کھلتا ہے)"],
"1oSHI0": [["skillName"], " نصب نہیں ہو سکی: ", ["0"]],
- "1oawp3": [["0"], " میں سے ", ["failed"], " تبصرے صاف نہیں کیے جا سکے۔"],
"1t_NnN": ["مسترد کریں"],
"1u-mAI": ["مطابقت پذیری شروع نہیں ہو سکی۔ اپنا کنکشن دیکھیں، پھر دوبارہ کوشش کریں۔"],
"1vn0CI": ["سرور کا جواب غیر درست ہے"],
@@ -179,7 +178,6 @@
"2FnYUD": [
"ایپ اور سسٹم کی معلومات، حالیہ ایپ لاگز، اور پروجیکٹ سرور کے لاگز: وہ بنیادی چیزیں جو ہمیں مسئلہ دہرانے کے لیے درکار ہیں۔"
],
- "2FoHU3": ["حل کریں"],
"2G-56b": ["markdownlint کے قواعد تازہ نہیں ہو سکے"],
"2GT3Hf": ["عالمی"],
"2H43L8": ["API کلیدیں اور ٹوکنز جیسے راز خودکار طور پر چھپا دیے جاتے ہیں۔"],
@@ -306,7 +304,6 @@
"4E9jPa": ["اپنا پہلا پروجیکٹ بنائیں"],
"4EZrJN": ["قواعد"],
"4ErgAf": ["OpenKnowledge نے ایک اسکل انسٹال کی"],
- "4GWjF8": ["معلوم نہیں ہو سکا کہ تبصرے کہاں بھیجنے ہیں — یہ اب بھی منتظر ہیں۔"],
"4Gz2wC": ["فائل اپ لوڈ نہیں ہو سکی"],
"4KmEoC": ["شارٹ کٹ کلیدیں"],
"4NC2Ym": ["ٹیبل کے اگلے یا پچھلے خانے پر جائیں۔"],
@@ -338,6 +335,7 @@
"4sKwf6": ["فائل پہلے سے موجود ہے"],
"4sUdTJ": ["تھیم والا پیش منظر"],
"4uNLmk": ["کھینچا جا رہا ہے"],
+ "4uaCUA": [["mins"], "من"],
"4v2Yyz": [
"جب فوکس فائلوں کے سائیڈ بار میں ہو تو فائل ٹری کی ہر نظر آنے والی قطار منتخب کریں۔"
],
@@ -357,6 +355,7 @@
"56WWtu": ["ابتدائی پیکس لوڈ نہیں ہو سکے: ", ["error"]],
"56xUL1": ["خصوصیت کا نام"],
"57fiu8": ["(صرف پڑھنے کے لیے — فی الحال سورس موڈ میں ترمیم کریں)"],
+ "58qIOK": ["اس انتخاب پر تبصرہ کریں"],
"5ALjdr": ["تلاش کے فیلڈ سے بصری ایڈیٹر کے تلاش نتائج میں گھومیں۔"],
"5Ajb15": ["فارمولا <0>c = √(a² + b²)</0> اِن لائن رینڈر ہوتا ہے۔"],
"5AzM72": ["یہ ترتیب ہر مشین کے لیے الگ ہے اور ساتھیوں کے ساتھ مشترک نہیں ہوتی۔"],
@@ -395,6 +394,9 @@
"5aahsI": ["کچھ نہیں (", ["0"], " درست پیٹرن نہیں ہے)"],
"5b3WD-": ["OpenKnowledge نے ایک چیک پوائنٹ محفوظ کیا"],
"5e1Dri": ["وہ مینو لیبل جس سے ایجنٹس یہ ٹیمپلیٹ منتخب کرتے ہیں (درکار)۔"],
+ "5ecEGe": [
+ "منتخب تبصرے ایک ہی بار میں ایجنٹ کے حوالے کریں۔ یہ دستاویز پر صرف اسی دستاویز کے تبصرے؛ یہ پروجیکٹ پر تمام منتخب تبصرے۔ تبصرے ٹیب بند ہونے پر کچھ نہیں ہوتا۔"
+ ],
"5gr_ev": [
"جب کوئی اس ٹیمپلیٹ سے دستاویز بناتا ہے تو یہ دستاویز کا مواد بن جاتا ہے۔ آج کی تاریخ یا مصنف کا نام خودکار بھرنے کے لیے <0>",
["dateToken"],
@@ -459,6 +461,7 @@
"6V3Ea3": ["نقل ہو گیا"],
"6VqW-1": [["keyName"], " ہٹائیں"],
"6WdDG7": ["صفحہ"],
+ "6YBJ3m": ["منتخب حصے کے بارے میں AI سے پوچھیں"],
"6YtxFj": ["نام"],
"6ZhdPI": ["ایجنٹ کیا پڑھ، لکھ اور ظاہر کر سکتا ہے۔"],
"6_ZOw4": ["مکمل راستہ نقل ہو گیا"],
@@ -603,11 +606,11 @@
"8fRyLo": ["غلط پیچ پے لوڈ"],
"8fc_3j": ["محفوظ برانچ — پُش نہیں ہو سکتا"],
"8k6INX": ["<0>", ["host"], "</0> کے لیے ذاتی رسائی ٹوکن چسپاں کریں۔"],
- "8kBLOT": ["وہ ایپ دستیاب نہیں — تبصرے اب بھی بھیجنے کے منتظر ہیں۔"],
"8lwQlE": [["0"], " شامل، ", ["1"], " ہٹائے گئے"],
"8m8diM": ["کوئی مقام منتخب نہیں۔ فولڈر منتخب کرنے کے لیے «براؤز کریں» استعمال کریں۔"],
"8nOdkO": ["درمیان میں ترتیب دیں"],
"8nWu1k": ["خالی خاکہ"],
+ "8oWgty": ["بھیجنے کے لیے تمام تبصرے منتخب کریں"],
"8qgfac": ["MCP سرورز"],
"8ruqQi": ["ٹوٹے ہوئے داخلی لنکس"],
"8sMErm": ["پیروی فعال کریں؟"],
@@ -810,6 +813,7 @@
"C0hoX6": ["ہمیشہ شامل"],
"C3Zc44": ["مہارتیں دریافت کریں"],
"C62P6b": ["ایڈیٹر کا انتخاب"],
+ "C7PKTv": ["منتخب تبصرے چیٹ میں بھیجیں"],
"C7waqI": [["0", "plural", { "one": ["#", " دستاویز"], "other": ["#", " دستاویزات"] }]],
"C9TBvF": ["کوئی جانے والا نہیں"],
"CB7c0Z": ["قطار میں موجود پیغام محفوظ کریں"],
@@ -846,6 +850,7 @@
"ChAtFg": ["آپ کو اس ریپو میں پُش کرنے کی اجازت نہیں"],
"ChMshD": [["appName"], " سے باہر نکلیں"],
"Ck9XRt": ["کلید محفوظ نہیں ہو سکی — براہِ کرم دوبارہ کوشش کریں۔"],
+ "ClTEde": ["منتخب اقتباس کو ایجنٹ پینل میں تیار رکھیں، مزید لکھ کر بھیجنے کے لیے۔"],
"CmeH9S": [["keyName"], " میں خصوصیت شامل کریں"],
"CnOGgs": ["مطابقت پذیری کا موڈ"],
"CoHvYd": [["0"], " کو ", ["2"], " میں سے ", ["1"], " پوزیشن پر منتقل کر دیا گیا"],
@@ -1103,7 +1108,7 @@
"G0YZ-I": ["فہرست آئٹم کی اندروں یا باہر کی جگہ بدلیں"],
"G1Gw0v": ["نیا ٹیمپلیٹ"],
"G1XxbZ": ["چیک باکس"],
- "G4-bgo": ["AI سے پوچھیں (انتخاب سے)"],
+ "G1zJlD": ["حل شدہ تبصرے چھپائیں"],
"G4m8rL": ["انتخاب پر تبصرہ"],
"G6Lrs_": [["0"], " کا یہ مہارت پڑھنا روکیں"],
"G7-rf8": ["پیٹرن کی ساخت میں خرابی: ", ["message"]],
@@ -1442,6 +1447,7 @@
"LXdWeS": ["درمیانہ سیکشن عنوان۔"],
"LXfNU-": ["نیویگیشن اور تجاویز"],
"LYufDw": ["معنوی تلاش فعال نہیں ہو سکی — ", ["detail"]],
+ "LaskKp": ["چیٹ میں بھیجیں (", ["0"], ")"],
"Lbl6KA": [["0"], " سے نصب نہیں ہو سکا: ", ["1"]],
"LbmLyU": ["اس ٹول کی کنفیگ محفوظ طریقے سے ترمیم نہیں کی جا سکتی"],
"Lcehxn": ["حل محفوظ کریں"],
@@ -1583,6 +1589,7 @@
"N55YNr": [
"منتخب کریں کہ اس پروجیکٹ کا OpenKnowledge سیٹ اپ، بشمول اس کے AI ٹول کنکشنز، پروجیکٹ کے ساتھ محفوظ ہو تاکہ ساتھیوں کو بھی مل جائے، یا صرف آپ کے کمپیوٹر پر رہے۔"
],
+ "NBdIgR": ["تبصرہ"],
"NCmYhK": [
"مہارتیں ایجنٹس کو دہرائے جانے والے کام سکھاتی ہیں۔ انہیں ایڈیٹر کے مہارتوں کے سیکشن سے لکھیں اور سنبھالیں؛ ہر مہارت کا تنصیبی مینو طے کرتا ہے کہ وہ کہاں رہے۔ یہ اس پروجیکٹ کے مہارت فولڈرز ہیں۔"
],
@@ -1601,9 +1608,7 @@
"NRSLBe": [["diffMin"], " منٹ پہلے"],
"NSnIUP": ["دو صفحے (جفت)"],
"NUr4kz": ["اس فولڈر میں نئی دستاویزات کے لیے دوبارہ استعمال ہونے والا نقطۂ آغاز۔"],
- "NVtrN-": [
- "نچلے پینل کو ٹوگل کریں، جہاں ٹرمینل ہوتا ہے۔ اگر متن منتخب ہو تو اسے آپ کی پسندیدہ AI کے لیے تیار کر دیا جاتا ہے۔"
- ],
+ "NUw7lo": ["نچلا پینل دکھائیں یا چھپائیں، جہاں ٹرمینل ہوتا ہے۔"],
"NYUhy5": ["ذیلی فولڈر کا نام"],
"NYn1cR": ["ایڈیٹر لوڈ ہو رہا ہے"],
"NYu2Pt": ["نیا پروجیکٹ…"],
@@ -1616,6 +1621,7 @@
"NeY1Np": ["Slidev شروع ہوتے ہوئے وقت ختم ہو گیا۔ دوبارہ کوشش کریں۔"],
"NfraGd": ["Slidev انسٹال کرنے کے دیگر طریقے"],
"NgZwB0": [["enabledCount"], "/", ["0"], " فعال"],
+ "NiGIcB": ["تبصرے کھولیں"],
"NjrIak": ["فائل: <0>", ["fixedName"], ".md</0>"],
"NkNfSr": [["tag"], " میں ترمیم کریں"],
"NkXEFS": ["بحالی ناکام — دستاویز میں کوئی تبدیلی نہیں"],
@@ -1625,11 +1631,11 @@
"NnQapF": ["AI ", ["targetDisplayName"], " کے ساتھ کھولیں"],
"NoY1k4": ["سرور کے جواب کی ساخت غیر درست ہے"],
"NpC29w": ["موجودہ فہرست آئٹم سے نیا فہرست آئٹم بنائیں۔"],
- "NpuPmi": ["بھیجنے کے لیے"],
"NrFwux": ["مواد کے قواعد محفوظ نہیں ہو سکے — ", ["0"]],
"Ns0z5o": [
"جب آپ کوئی شائع شدہ مہارت نصب کریں تو مہارتوں کی ڈائریکٹری (skills.sh) کو بتائیں تاکہ اس کی تنصیبات کی تعداد درست رہے۔ مہارت کا نام، اس کا ماخذ ریپازٹری، اور یہ کہ وہ کن ایجنٹ ٹولز میں گئی، بھیجا جاتا ہے — فائلوں کا مواد کبھی نہیں، اور نجی، مقامی یا ہاتھ سے لکھے ماخذ کی مہارت کے لیے کبھی نہیں۔ ہر مشین پر ہر مہارت کے لیے ایک بار۔"
],
+ "Ns5f4J": ["تمام تبصروں کا انتخاب ہٹائیں"],
"Nu4DdT": ["مطابقت پذیری"],
"Nu4oKW": ["تفصیل"],
"NuH1jp": ["عوامی ریپازٹری"],
@@ -1691,6 +1697,7 @@
],
"Okd2Xv": ["خطِ تحت کی فارمیٹنگ بدلیں۔"],
"OlAl5i": ["سب پھیلائیں"],
+ "OlFVNr": ["منتخب حصے کے بارے میں AI سے پوچھیں"],
"Oo_WWc": ["کوئی صفحہ نہیں ملا"],
"Oos8fo": ["کمانڈ نقل کریں"],
"OplnBG": ["اس بلڈ میں AI ٹولز کا انتظام دستیاب نہیں۔"],
@@ -1760,7 +1767,6 @@
"PkeYXL": ["پھیلا ہوا گراف موڈ"],
"Pkw7J9": ["یہ فولڈر خالی ہے۔"],
"PlGC6r": ["git کی exclude فائل قابلِ تحریر نہیں"],
- "Pnvg8e": ["ٹرمینل نہیں کھل سکا — تبصرے اب بھی بھیجنے کے منتظر ہیں۔"],
"Pp0Vgd": [["label"], " میں نصب کرنے کے لیے کلک کریں"],
"PpJy-V": ["اینڈ پوائنٹ نے وقت پر جواب نہیں دیا۔"],
"PqYWiC": [
@@ -1791,6 +1797,7 @@
"QB-moX": ["اسے شیئر کرنے کے لیے اپنے دیگر ایڈیٹرز (Claude Code، Cursor، Codex) میں نصب کریں۔"],
"QDZbvN": [["diffDays"], " دن پہلے"],
"QHCx0c": ["بگ رپورٹ کی تاریخ"],
+ "QIrBIx": ["سب فائلیں پھیلائیں"],
"QKgePK": [["editor"], " کو ماخذ سے ہم آہنگ کر دیا گیا (اس کے بائٹس کا بیک اپ محفوظ ہے)"],
"QLgdT6": [["0"], " نام کی کوئی بھی دستاویز"],
"QM3SBZ": ["منصوبہ (", ["done"], "/", ["0"], ")"],
@@ -1815,6 +1822,7 @@
"QlAG4m": ["ہمیں مزید بتائیں (اختیاری)"],
"QlkiD5": ["منتخب متن پر دوبارہ رکھیں"],
"QlxHAH": ["«", ["semanticResultsLabel"], "» کے نتائج دکھائے جا رہے ہیں"],
+ "Qpfxa1": [["secs"], "س"],
"QqBQu1": ["لیبل <0>(نظر آنے والا لنک متن)</0>"],
"Quz_Qu": ["ترامیم براہِ راست لاگو ہوتی ہیں۔ روشن یا تاریک اسکیم سے آتا ہے۔"],
"Qvls7J": ["انجینئرنگ اسپیکس"],
@@ -1823,6 +1831,9 @@
],
"QySH4I": ["پائے گئے OpenKnowledge پروجیکٹس"],
"QyioBP": ["اوپر لے جائیں"],
+ "QzofTX": [
+ "اس پروجیکٹ میں ابھی کوئی تبصرہ نہیں ہے۔ شروع کرنے کے لیے کسی اقتباس پر تبصرہ کریں۔"
+ ],
"R0cyYB": [
[
"0",
@@ -1883,7 +1894,6 @@
"Rj01Fz": ["لنکس"],
"RlCInP": ["سلیش کمانڈز"],
"RmBY0A": ["کوئی git ریموٹ نہیں"],
- "RmmhAh": ["بعد میں بھیجیں"],
"RnrnTe": ["پہلے سے ترتیب دیا جا چکا ہے — ok آپ کے ٹرمینل میں دستیاب ہے"],
"RoafuO": ["رائے بھیجیں"],
"RobAKV": ["منزل اور اختیاری سیکشن اینکر تازہ کریں۔"],
@@ -2237,6 +2247,7 @@
"XV5sC0": ["ورک ٹری کھولیں"],
"XVnIvs": ["مہارتیں نصب کریں"],
"XW18jo": ["صفحے کے عنوانات کا جواب کامیابی کے اسکیما سے میل نہیں کھایا"],
+ "XWEqQj": [["days"], "دن"],
"XXA1b_": [["componentLabel"], " (خالی)"],
"XYlJJT": ["ترتیب دیا جا رہا ہے"],
"XZkdtg": ["برانچ بدلیں"],
@@ -2331,7 +2342,6 @@
"Yy90sM": ["مہارت «", ["name"], "» بن گئی"],
"YyXtnN": ["خطِ تحت"],
"Yzs3QX": ["مہارت کے مزید اعمال"],
- "YzyyG2": ["ابھی بھیجنے کو کچھ نہیں۔ اسے یہاں شامل کرنے کے لیے کسی اقتباس پر تبصرہ کریں۔"],
"Z0W6SO": [
"یہ فولڈر ",
["actualOwner"],
@@ -2366,7 +2376,6 @@
"ZBxvV3": ["نیا ٹرمینل"],
"ZDOq9A": ["آپ جو شیئر کرتے ہیں وہ OpenKnowledge ٹیم کو بھیجا جاتا ہے۔"],
"ZGVsOD": ["شیئر کرنے سے پہلے اس برانچ کو GitHub پر پش کریں۔"],
- "ZHAM1l": ["بھیجنے میں شامل کریں"],
"ZI8uvA": ["کوئی مسئلہ نہیں ملا۔"],
"ZJ99sD": ["بائیں طرف کالم داخل کریں"],
"ZNK2Tq": ["جڑ"],
@@ -2448,6 +2457,7 @@
"کسی دوسری دستاویز کے MirrorSource بلاک کی صرف پڑھنے والی نقل۔ ماخذ پر ترمیم کریں اور یہ براہِ راست تازہ ہو جاتی ہے۔"
],
"_XWY2J": ["ٹرمینل بند"],
+ "_YEyHO": ["حل شدہ تبصرے دکھائیں"],
"_YWqV2": ["OpenKnowledge نے ایک تنازع حل کیا"],
"_ayOfA": [
"ایک نالج بیس جو Google کے Open Knowledge Format کی پیروی کرتا ہے، جو آپ کی معلومات کو منظم کرنے کا ایک مشترکہ طریقہ ہے۔ اگر آپ چاہتے ہیں کہ آپ کے نوٹس اس فارمیٹ کو سمجھنے والے دیگر ٹولز کے ساتھ اچھی طرح کام کریں تو یہ منتخب کریں۔"
@@ -2459,6 +2469,7 @@
"_gO_m8": ["آپ کی منظوری کا انتظار ہے"],
"_gkGSK": ["ٹیمپلیٹ حذف کیا"],
"_mcDqU": ["اس ماخذ پر ", ["count"], " مہارتیں"],
+ "_oqig9": [["hours"], "گھ"],
"_pY_Vq": ["ریپازٹری منتقل ہو گئی، اس کا نام بدل گیا، یا وہ حذف ہو گئی۔"],
"_qD6mn": ["وہ فولڈر منتخب کریں جہاں آپ نے اسے کلون کیا ہے۔"],
"_rP3HI": [["minutes"], " منٹ پہلے"],
@@ -2466,7 +2477,6 @@
"_tjopj": ["نقل چسپاں کریں"],
"_yB-24": ["کسی بھی ", ["0"], "/ فولڈر کے تحت سب کچھ"],
"a-cKXz": ["پورا سورس منتخب کریں"],
- "a3H_MR": ["موجودہ ایڈیٹر انتخاب کے لیے «AI سے پوچھیں» کا کمپوزر کھولیں اور اس پر فوکس کریں۔"],
"a3LDKx": ["سیکیورٹی"],
"a45f2c": ["وہ glob پیٹرنز جن پر یہ اسکیما لاگو ہوتا ہے"],
"a4FRQv": ["اس ترمیم تک واپس جائیں؟"],
@@ -2780,7 +2790,6 @@
"emMrXQ": ["سرور نے بگڑا ہوا ڈپلیکیٹ جواب لوٹایا۔"],
"emgiet": ["مستند مواد؛ جہاں بھی اس کا حوالہ ہو وہاں لفظ بہ لفظ منعکس ہوتا ہے۔"],
"enPTnx": ["سطر ", ["displayLine"]],
- "eoEUI3": ["وہ تبصرہ حل نہیں ہو سکا۔"],
"epuNYK": [
"کسی بلاک کو سچائی کا ماخذ نشان زد کریں۔ اس میں ترمیم کرتے ہی دوسری جگہوں کے مررز براہِ راست تازہ ہو جاتے ہیں۔"
],
@@ -2830,6 +2839,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(بائنری فائل، پیش منظر ممکن نہیں)"],
"fevEu0": ["تازہ ترین تبدیلیاں کھینچیں"],
+ "ffH3Rt": ["تبصرہ شامل کریں (Enter)"],
"fg1U4e": ["مہارتوں کی دریافت <0>skills.sh</0> سے تقویت یافتہ"],
"fhaxJL": ["کلون ناکام — جوابی مواد خالی ہے"],
"fiMNLl": ["مطابقت پذیری کی ترتیبات ابھی لوڈ نہیں ہوئیں — تھوڑی دیر بعد دوبارہ کوشش کریں"],
@@ -3276,7 +3286,6 @@
["4"],
" سے) جو آپ کے باقی سسٹم کو نہیں چھوئے گی۔"
],
- "l7X_SM": ["AI کو بھیجیں"],
"l87Deg": ["منتخب کریں کہ نیا ٹیب کیا شروع کرے"],
"l9s3IX": [["agentName"], " گفتگو شروع نہ کر سکا۔"],
"lAiyU_": ["صرف موجودہ دستاویز <0>#", ["tag"], "</0> استعمال کرتی ہے۔"],
@@ -3736,6 +3745,7 @@
],
"rwrPbS": ["جزو کی حد میں نیویگیشن"],
"rxWGWX": ["آگے"],
+ "ryhHUm": ["جب تبصرے ٹیب کھلا ہو"],
"s-MGs7": ["وسائل"],
"s-XOaI": ["فائل کا نام"],
"s-pW_v": ["نصب نہیں ہو سکا: ", ["0"]],
@@ -3770,6 +3780,7 @@
"sNeKjP": ["ٹوکن محفوظ نہیں ہو سکا — دوبارہ کوشش کریں"],
"sOxZaS": ["گراف لوڈ نہیں ہو سکا"],
"sQoLn0": ["باہر نکلیں"],
+ "sR0I-f": ["سب فائلیں سکیڑیں"],
"sW5OjU": ["لازمی"],
"sZ2IOu": [
"یہ ",
@@ -3826,6 +3837,7 @@
"</0> موجودہ کمٹ سے بنے گی، <1>.ok/worktrees/</1> کے تحت اپنے الگ ورک ٹری میں۔"
],
"t6w1cq": ["خالی ایڈیٹر ٹیب کھولیں۔"],
+ "t7YoBO": ["یہ تبصرہ بھیجیں"],
"t9Qn8y": ["کوئی ایجنٹ فعال نہیں"],
"tA0b9E": ["طے شدہ مہارت فولڈر (محفوظ ہونے کے بعد صحیح راستہ ظاہر ہوتا ہے)"],
"tA2-xC": ["«", ["0"], "» پہلے ہی شامل تھا (یکساں مواد)۔"],
@@ -3903,7 +3915,6 @@
"u_lS4C": ["کلون مکمل — پروجیکٹ کھولا جا رہا ہے"],
"uaUc6t": ["سرور دوبارہ چلائیں"],
"ubMwcO": ["ٹرمینل کا سیشن ختم ہو گیا (سگنل ", ["0"], ")۔"],
- "ubx-L3": ["بھیجنے کے لیے تبصرے"],
"ucXZ0k": ["ایجنٹس لوڈ ہو رہے ہیں…"],
"ugQcJX": [
["display"],
@@ -4071,6 +4082,7 @@
"آپ نے ~/Downloads منتخب کیا۔ وہاں فائلیں عموماً عارضی ہوتی ہیں — اس کے بجائے کسی مستقل فولڈر پر غور کریں۔"
],
"wndeIl": ["پروجیکٹ کی سطح کے وہ صفحات جن کے گراف میں نہ آنے والے اور نہ جانے والے کنارے ہیں۔"],
+ "wqD3pI": [["0"], " میں سے ", ["failed"], " تبصرے اپ ڈیٹ نہیں ہو سکے۔"],
"ws5o1F": ["جانچا گیا: ", ["0"]],
"wtcxiD": ["یہ سیٹ اپ اپنی ٹیم کے ساتھ شیئر کریں؟"],
"wvK7Ay": ["برانچ <0>", ["branch"], "</0> کی آپ کی مقامی نقل پیچھے ہے۔"],
@@ -4239,7 +4251,6 @@
"zL0LPh": ["متن کے فیلڈز سے باہر عالمی"],
"zLGXna": ["کوئی ابتدائی پیک دستیاب نہیں۔"],
"zLak8b": ["نیا ٹیب فعال کریں"],
- "zO-IiA": ["ٹرمینل یہاں دستیاب نہیں — تبصرے اب بھی بھیجنے کے منتظر ہیں۔"],
"zQBg2C": ["موجودہ بلاک کو ایک درجہ اوپر یا نیچے لے جائیں۔"],
"zXj1rA": ["معنی کے لحاظ سے تلاش کریں"],
"zYp8Sr": [
@@ -4259,7 +4270,6 @@
"zkz0Fg": ["مطابقت پذیری ترتیب دیں"],
"zlErBl": ["صفحے کے عنوانات کی خرابی کا جواب RFC 9457 سے میل نہیں کھایا"],
"zo3Dl7": ["تھمب نیلز بدلیں"],
- "zovxVp": ["بھیجنے کے لیے تیار"],
"zpfN9p": ["ابھی کوئی تبصرہ نہیں۔ ایک شامل کرنے کے لیے دستاویز میں متن منتخب کریں۔"],
"zq2eBA": ["سورس میں دیکھیں"],
"zrP8HX": [
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index bb5e05020..368fb71f1 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} {destination} کے اوپر ہے۔"
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} ابھی نصب نہیں ہے — اس کا ڈاؤن لوڈ صفحہ کھولا جا رہا ہے۔"
@@ -506,6 +504,10 @@ msgstr "اس ماخذ پر {count} مہارتیں"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, one {# دن پہلے} other {# دن پہلے}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}دن"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days} دن پہلے"
@@ -546,7 +548,6 @@ msgstr "{display} ایک خودمختار نقل ہے جبکہ مہارت کے
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName} ({bin}) نصب نہیں ہے یا آپ کے PATH میں نہیں ہے۔"
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "{enabledCount}/{0} فعال"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{0} میں سے {failed} تبصرے صاف نہیں کیے جا سکے۔"
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{0} میں سے {failed} تبصرے اپ ڈیٹ نہیں ہو سکے۔"
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, one {فولڈر} other {فولڈرز}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} GitHub ستارے"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}گھ"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}: {message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, one {# منٹ پہلے} other {# منٹ پہلے}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}من"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} منٹ پہلے"
@@ -736,6 +745,10 @@ msgstr "{propPanelDescriptorLabel} کی خصوصیات"
msgid "{seconds}s ago"
msgstr "{seconds} سیکنڈ پہلے"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}س"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "{settingsDescriptorLabel} کی خصوصیات"
@@ -1186,6 +1199,10 @@ msgstr "کم از کم ایک حرف یا عدد شامل کریں۔"
msgid "Add Comment"
msgstr "تبصرہ شامل کریں"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "تبصرہ شامل کریں (Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "CodeMirror کے ذریعے کرسر شامل کریں یا مماثل مواقع منتخب کریں۔"
@@ -1597,7 +1614,6 @@ msgstr "{0} CLI سے پوچھیں"
msgid "Ask {agentName}"
msgstr "{agentName} سے پوچھیں"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "AI سے پوچھیں"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "AI سے پوچھیں (انتخاب سے)"
+msgid "Ask AI about selection"
+msgstr "منتخب حصے کے بارے میں AI سے پوچھیں"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "منتخب حصے کے بارے میں AI سے پوچھیں"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "جانچا گیا: {0}"
msgid "Checking"
msgstr "جانچا جا رہا ہے"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "ایجنٹس تلاش کیے جا رہے ہیں"
@@ -2195,7 +2214,7 @@ msgstr "آئیکن منتخب کریں"
msgid "Choose what a new tab starts"
msgstr "منتخب کریں کہ نیا ٹیب کیا شروع کرے"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "منتخب کریں کہ یہ تبصرے کہاں بھیجے جائیں"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "صفائی کا لاگ"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "{repoName} کلون کیا جا رہا ہے..."
msgid "Cloning..."
msgstr "کلون کیا جا رہا ہے..."
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "سب سکیڑیں"
msgid "Collapse all file groups"
msgstr "فائلوں کے تمام گروپ سکیڑیں"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "سب فائلیں سکیڑیں"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "«AI سے پوچھیں» سکیڑیں"
@@ -2537,6 +2559,10 @@ msgstr "کمانڈز"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "کمانڈز اس مشین پر آپ کے macOS صارف اکاؤنٹ کی مکمل رسائی کے ساتھ چلتی ہیں۔ شیل بند کرنے کے لیے اسے بند کریں۔"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "تبصرہ"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "{address} پر تبصرہ"
@@ -2545,6 +2571,10 @@ msgstr "{address} پر تبصرہ"
msgid "Comment on selection"
msgstr "انتخاب پر تبصرہ"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "اس انتخاب پر تبصرہ کریں"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "اس کوڈ بلاک پر تبصرہ کریں یا AI سے پوچھیں"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "تبصرے"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "بھیجنے کے لیے تبصرے"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "تبدیل کرنے کے لیے تبدیلیاں کمٹ کریں یا اسٹیش کریں:"
@@ -3316,10 +3342,6 @@ msgstr "دستاویز نہیں کھل سکی"
msgid "Couldn't open the terminal — please try again."
msgstr "ٹرمینل نہیں کھل سکا — براہِ کرم دوبارہ کوشش کریں۔"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "ٹرمینل نہیں کھل سکا — تبصرے اب بھی بھیجنے کے منتظر ہیں۔"
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "ورک ٹری نہیں کھل سکا۔ دوبارہ کوشش کریں۔"
@@ -3413,10 +3435,6 @@ msgstr "ٹیمپلیٹ کا نام نہیں بدلا جا سکا: {0}"
msgid "Couldn't reopen that comment."
msgstr "وہ تبصرہ دوبارہ نہیں کھل سکا۔"
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "وہ تبصرہ حل نہیں ہو سکا۔"
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "{filePath} کا تصادم حل نہیں ہو سکا۔"
@@ -3543,10 +3561,6 @@ msgstr "مہارتوں کا اشتراک تازہ نہیں ہو سکا"
msgid "Couldn't update skills sharing — {detail}."
msgstr "مہارتوں کا اشتراک تازہ نہیں ہو سکا — {detail}۔"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "معلوم نہیں ہو سکا کہ تبصرے کہاں بھیجنے ہیں — یہ اب بھی منتظر ہیں۔"
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "مہارت کی تنصیبات عوامی طور پر شمار کریں"
@@ -3891,7 +3905,7 @@ msgstr "ٹیبل حذف کریں"
msgid "Delete this chat?"
msgstr "یہ چیٹ حذف کریں؟"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "یہ تبصرہ حذف کریں"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "<0>مہارتیں</0> نظر نہیں آ رہیں؟ پہلے <1>ترتیبات <2/> صلاحیتیں <3/> کوڈ کا اجرا اور فائل سازی</1> فعال کریں۔"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "یہ تبصرہ نہ بھیجیں"
@@ -4389,7 +4402,7 @@ msgstr "سورس میں ترمیم کریں"
msgid "Edit source pane and code property fields"
msgstr "سورس پین اور کوڈ خصوصیت کے فیلڈز میں ترمیم"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "اس تبصرے میں ترمیم کریں"
@@ -4718,6 +4731,10 @@ msgstr "سب پھیلائیں"
msgid "Expand all file groups"
msgstr "فائلوں کے تمام گروپ پھیلائیں"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "سب فائلیں پھیلائیں"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "گراف پھیلائیں"
@@ -5565,7 +5582,6 @@ msgstr "{1} میں سطر {0} پر جائیں"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "{0} میں اس تبصرے پر جائیں"
@@ -5598,6 +5614,10 @@ msgstr "آپ کے AI ایجنٹس کو رہنمائی دیتا ہے کہ یہا
msgid "guides/install or https://example.com"
msgstr "guides/install یا https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "منتخب تبصرے ایک ہی بار میں ایجنٹ کے حوالے کریں۔ یہ دستاویز پر صرف اسی دستاویز کے تبصرے؛ یہ پروجیکٹ پر تمام منتخب تبصرے۔ تبصرے ٹیب بند ہونے پر کچھ نہیں ہوتا۔"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "سخت وقفہ"
@@ -5771,10 +5791,14 @@ msgstr "مسائل کے اشارے چھپائیں"
msgid "Hide replace"
msgstr "تبدیلی چھپائیں"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "حل شدہ چھپائیں"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "حل شدہ تبصرے چھپائیں"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "انتخاب کا پیش منظر چھپائیں"
@@ -5983,10 +6007,6 @@ msgstr "ایپ میں (بیٹا)"
msgid "In the Claude Desktop App"
msgstr "Claude Desktop App میں"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "بھیجنے میں شامل کریں"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "اگلی بار بھیجتے وقت یہ تبصرہ شامل کریں"
@@ -6344,7 +6364,7 @@ msgstr "صفحہ {pageNumber} پر جائیں"
msgid "Jump to tab 1-8"
msgstr "ٹیب 1-8 پر جائیں"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "لنگر انداز متن پر جائیں"
@@ -6799,6 +6819,10 @@ msgstr "ڈھانچے کا نقشہ بنائیں"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "کسی بلاک کو سچائی کا ماخذ نشان زد کریں۔ اس میں ترمیم کرتے ہی دوسری جگہوں کے مررز براہِ راست تازہ ہو جاتے ہیں۔"
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "بھیجنے کے لیے تمام تبصرے منتخب کریں"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "ابھی کوئی ایجنٹ ترتیب نہیں دیا گیا — بھ
msgid "No agents available."
msgstr "کوئی ایجنٹ دستیاب نہیں۔"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "کوئی ایجنٹ فعال نہیں"
@@ -7388,6 +7412,10 @@ msgstr "کوئی تبدیلی نہیں"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "اس ورک ٹری کے لیے کوئی اشتراکی سرور نہیں — یہاں <0>ok start</0> چلائیں، یا پروجیکٹ دوبارہ کھولیں۔"
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "اس پروجیکٹ میں ابھی کوئی تبصرہ نہیں ہے۔ شروع کرنے کے لیے کسی اقتباس پر تبصرہ کریں۔"
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "ابھی کوئی تبصرہ نہیں۔ ایک شامل کرنے کے لیے دستاویز میں متن منتخب کریں۔"
@@ -7742,10 +7770,6 @@ msgstr "کچھ نہیں ({0} درست پیٹرن نہیں ہے)"
msgid "Nothing set yet."
msgstr "ابھی کچھ مقرر نہیں۔"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "ابھی بھیجنے کو کچھ نہیں۔ اسے یہاں شامل کرنے کے لیے کسی اقتباس پر تبصرہ کریں۔"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "کچھ اپ لوڈ نہیں ہوا۔ رپورٹ اسی Mac پر رہتی ہے جب تک آپ اسے ہمیں ای میل نہ کریں۔"
@@ -7944,10 +7968,6 @@ msgstr "ایجنٹس کا پینل کھولیں"
msgid "Open an existing project folder from disk."
msgstr "ڈسک سے موجودہ پروجیکٹ کا فولڈر کھولیں۔"
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "موجودہ ایڈیٹر انتخاب کے لیے «AI سے پوچھیں» کا کمپوزر کھولیں اور اس پر فوکس کریں۔"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "نیچے کا «AI سے پوچھیں» پرامپٹ کمپوزر کھولیں اور اس پر فوکس کریں۔"
@@ -7968,6 +7988,10 @@ msgstr "CodeMirror کا لِنٹ تشخیصی پینل کھولیں۔"
msgid "Open comment"
msgstr "تبصرہ کھولیں"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "تبصرے کھولیں"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "پر مشتمل فولڈر کھولیں"
@@ -8436,7 +8460,7 @@ msgstr "اصل فائل — اس ایجنٹ کی ترامیم سے پہلے۔"
msgid "Orphan mode"
msgstr "یتیم موڈ"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "یتیم"
@@ -9102,7 +9126,7 @@ msgstr "GitHub Enterprise Server سے دوبارہ توثیق کریں"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "دوبارہ ایمبیڈنگ تلاش چلنے کے دوران ہوتی ہے، اس لیے احاطہ صفر سے شروع ہو کر دوبارہ بھرتا ہے۔"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "منتخب متن پر دوبارہ رکھیں"
@@ -9130,10 +9154,6 @@ msgstr "{name} مہارت میں صرف پڑھنے والی فائل"
msgid "Reading…"
msgstr "پڑھا جا رہا ہے…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "بھیجنے کے لیے تیار"
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "جلد شروع کرنے کے لیے تیار شدہ فولڈرز اور ٹیمپلیٹس۔"
@@ -9470,7 +9490,7 @@ msgstr "رینڈر کی خرابی"
msgid "Rendered"
msgstr "رینڈر شدہ"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "دوبارہ کھولیں"
@@ -9636,10 +9656,6 @@ msgstr "منظر کے فلٹرز دوبارہ ترتیب دیں"
msgid "Resize {handleKey}"
msgstr "{handleKey} کا حجم بدلیں"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "حل کریں"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "اپنے ٹرمینل میں تصادم حل کریں"
@@ -9652,7 +9668,7 @@ msgstr "حذف کرنے سے پہلے {files} کا تنازع حل کریں۔"
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "حذف کرنے سے پہلے {files} اور مزید {overflow} فائلوں کا تنازع حل کریں۔"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "حل شدہ"
@@ -10191,7 +10207,7 @@ msgstr "اگلا موقع منتخب کریں"
msgid "Select the full source document."
msgstr "پورا سورس دستاویز منتخب کریں۔"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "خصوصیت میں یہ متن منتخب کریں"
@@ -10244,6 +10260,10 @@ msgstr "بھیجیں"
msgid "Send & continue"
msgstr "بھیجیں اور جاری رکھیں"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "منتخب تبصرے چیٹ میں بھیجیں"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "تبصرے یہاں بھیجیں"
@@ -10257,22 +10277,23 @@ msgstr "رائے بھیجیں"
msgid "Send feedback…"
msgstr "رائے بھیجیں…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "بعد میں بھیجیں"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "رپورٹ بھیجیں"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "AI کو بھیجیں"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "یہ تبصرہ بھیجیں"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "چیٹ میں بھیجیں"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "چیٹ میں بھیجیں ({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "ایجنٹ فارغ ہونے پر بھیجیں"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "تبدیلی دکھائیں"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "حل شدہ دکھائیں ({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "حل شدہ تبصرے دکھائیں"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "انتخاب کا پیش منظر دکھائیں"
@@ -10961,6 +10986,10 @@ msgstr "سورس میں واپسی یا دوبارہ"
msgid "Split list item"
msgstr "فہرست آئٹم تقسیم کریں"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "منتخب اقتباس کو ایجنٹ پینل میں تیار رکھیں، مزید لکھ کر بھیجنے کے لیے۔"
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "GitHub پر ہمیں ستارہ دیں"
@@ -10982,7 +11011,7 @@ msgstr "{agentName} شروع کریں، {hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "+ بٹن سے چیٹ شروع کریں، یا کسی صفحے سے ایجنٹ شروع کریں۔"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "نئی گفتگو شروع کریں"
@@ -11544,10 +11573,6 @@ msgstr "رائے دینے کا شکریہ!"
msgid "Thanks for the report!"
msgstr "رپورٹ کا شکریہ!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "وہ ایپ دستیاب نہیں — تبصرے اب بھی بھیجنے کے منتظر ہیں۔"
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "ایجنٹ رک نہیں رہا۔ زبردستی روکنے سے یہ چ
msgid "The agent's persona, values, and voice."
msgstr "ایجنٹ کی شخصیت، اقدار اور لہجہ۔"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "لنگر انداز متن غائب ہو گیا۔ آپ اسے منتخب متن پر دوبارہ رکھ سکتے ہیں۔"
@@ -11749,10 +11774,6 @@ msgstr "ٹیمپلیٹ کی فائل کا نام (`.md` کے بغیر)۔"
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "اس پروجیکٹ کے لیے ٹرمینل بند ہے۔ یہاں کمانڈز چلانے کے لیے اسے دوبارہ فعال کریں۔"
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "ٹرمینل یہاں دستیاب نہیں — تبصرے اب بھی بھیجنے کے منتظر ہیں۔"
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "یہ برانچ یہاں چیک آؤٹ ہے:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "یہ ترتیبات > AI ٹولز اور CLI میں مقرر کیا جا سکتا ہے"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "یہ تبصرہ پوری خصوصیت پر ہے"
@@ -12037,6 +12058,7 @@ msgstr "یہ «{2}» اسکل سے {0}/{1} کو مستقل طور پر ہٹا د
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "یہ {path} کو مستقل طور پر ہٹا دیتا ہے۔ جو ایجنٹس اس ٹیمپلیٹ کا نام سے حوالہ دیتے ہیں وہ اس کے دوبارہ بننے یا کسی والد فولڈر کے ٹیمپلیٹ سے بدلنے تک ناکام رہیں گے۔"
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "یہ پروجیکٹ"
@@ -12171,10 +12193,6 @@ msgstr "کرنا ہے"
msgid "To do."
msgstr "کرنا ہے۔"
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "بھیجنے کے لیے"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "بلٹ فہرست بدلیں۔"
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "درمیان سے کٹی فارمیٹنگ بدلیں۔"
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "نچلے پینل کو ٹوگل کریں، جہاں ٹرمینل ہوتا ہے۔ اگر متن منتخب ہو تو اسے آپ کی پسندیدہ AI کے لیے تیار کر دیا جاتا ہے۔"
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "نچلا پینل دکھائیں یا چھپائیں، جہاں ٹرمینل ہوتا ہے۔"
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "نامعلوم خرابی"
msgid "unlink"
msgstr "لنک ختم کریں"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "تمام تبصروں کا انتخاب ہٹائیں"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "آئٹمز کی غیر مرتب فہرست۔"
@@ -12958,6 +12980,10 @@ msgstr "فعال ہونے پر، ایجنٹ ہر ترمیم کے بعد پیش
msgid "When the agent runs its scheduled work."
msgstr "ایجنٹ اپنا طے شدہ کام کب چلاتا ہے۔"
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "جب تبصرے ٹیب کھلا ہو"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "جب آپ کسی بیرونی لنک پر ماؤس لے جاتے ہیں تو صفحے کا پیش منظر ڈیٹا لانے کے لیے اس کا URL منزل کی سائٹ کو بھیجا جاتا ہے — ہر پیش منظر والے لنک کے لیے ایک درخواست۔"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index 5e3346543..9a5317976 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -141,7 +141,6 @@
"1njn7W": ["浅色"],
"1nke1r": ["在 GitHub 上打开 ", ["0"], "(在新标签页中打开)"],
"1oSHI0": ["无法安装 ", ["skillName"], ":", ["0"]],
- "1oawp3": [["0"], " 条评论中有 ", ["failed"], " 条无法清除。"],
"1t_NnN": ["拒绝"],
"1u-mAI": ["无法开始同步。请检查你的网络连接,然后重试。"],
"1vn0CI": ["服务器响应无效"],
@@ -162,7 +161,6 @@
"2CHoQv": ["强制重新加载"],
"2FYpfJ": ["更多"],
"2FnYUD": ["应用与系统信息、最近的应用日志和项目服务器日志:复现问题所需的基本材料。"],
- "2FoHU3": ["解决"],
"2G-56b": ["更新 markdownlint 规则失败"],
"2GT3Hf": ["全局"],
"2H43L8": ["API 密钥、令牌等机密内容会自动隐去。"],
@@ -275,7 +273,6 @@
"4E9jPa": ["创建你的第一个项目"],
"4EZrJN": ["规则"],
"4ErgAf": ["OpenKnowledge 安装了一个技能"],
- "4GWjF8": ["无法确定把这些评论发送到哪里——它们仍在等待。"],
"4Gz2wC": ["上传文件失败"],
"4KmEoC": ["快捷键"],
"4NC2Ym": ["移动到表格的下一个或上一个单元格。"],
@@ -301,6 +298,7 @@
"4sKwf6": ["文件已存在"],
"4sUdTJ": ["带主题的预览"],
"4uNLmk": ["正在拉取"],
+ "4uaCUA": [["mins"], "分"],
"4v2Yyz": ["当焦点在「文件」侧边栏时,选中文件树中所有可见的行。"],
"4wo5UV": ["安装选中项"],
"4xtLTl": ["已隐藏文件夹“", ["basename"], "”"],
@@ -318,6 +316,7 @@
"56WWtu": ["无法加载入门包:", ["error"]],
"56xUL1": ["属性名"],
"57fiu8": ["(只读——目前请在源码模式中编辑)"],
+ "58qIOK": ["对选中内容添加评论"],
"5ALjdr": ["从查找输入框中在可视化编辑器的查找结果之间移动。"],
"5Ajb15": ["公式 <0>c = √(a² + b²)</0> 以行内形式渲染。"],
"5AzM72": ["这项设置按电脑生效,不会与协作者共享。"],
@@ -354,6 +353,9 @@
"5aahsI": ["无(", ["0"], " 不是有效的模式)"],
"5b3WD-": ["OpenKnowledge 保存了一个检查点"],
"5e1Dri": ["智能体选择这个模板时看到的菜单标签(必填)。"],
+ "5ecEGe": [
+ "一次性把勾选的评论交给智能体。在“这个文档”下只发送该文档的评论;在“本项目”下发送所有勾选的评论。评论标签页关闭时不做任何事。"
+ ],
"5gr_ev": [
"当有人用这个模板创建文档时,这会成为该文档的内容。输入 <0>",
["dateToken"],
@@ -405,6 +407,7 @@
"6V3Ea3": ["已复制"],
"6VqW-1": ["移除 ", ["keyName"]],
"6WdDG7": ["页"],
+ "6YBJ3m": ["就选中内容问 AI"],
"6YtxFj": ["名称"],
"6ZhdPI": ["智能体可以读取、写入和呈现的内容。"],
"6_ZOw4": ["已复制完整路径"],
@@ -528,11 +531,11 @@
"8fRyLo": ["补丁负载无效"],
"8fc_3j": ["受保护分支——无法推送"],
"8k6INX": ["粘贴用于 <0>", ["host"], "</0> 的个人访问令牌。"],
- "8kBLOT": ["那个应用不可用——这些评论仍在等待发送。"],
"8lwQlE": ["新增 ", ["0"], " 项,移除 ", ["1"], " 项"],
"8m8diM": ["未选择位置。请用「浏览」选择一个文件夹。"],
"8nOdkO": ["居中对齐"],
"8nWu1k": ["空图示"],
+ "8oWgty": ["勾选全部评论以发送"],
"8qgfac": ["MCP 服务器"],
"8ruqQi": ["失效的内部链接"],
"8sMErm": ["要启用「跟随」吗?"],
@@ -706,6 +709,7 @@
"C0hoX6": ["始终包含"],
"C3Zc44": ["探索技能"],
"C62P6b": ["编辑器选区"],
+ "C7PKTv": ["把勾选的评论发送到对话"],
"C7waqI": [["0", "plural", { "other": ["#", " 个文档"] }]],
"C9TBvF": ["无出链"],
"CB7c0Z": ["保存排队中的消息"],
@@ -738,6 +742,7 @@
"ChAtFg": ["你没有推送到这个仓库的权限"],
"ChMshD": ["退出 ", ["appName"]],
"Ck9XRt": ["无法保存密钥——请重试。"],
+ "ClTEde": ["把选中的内容放入智能体面板,随时可以补充并发送。"],
"CmeH9S": ["向 ", ["keyName"], " 添加属性"],
"CnOGgs": ["同步模式"],
"CoHvYd": ["已把 ", ["0"], " 移动到第 ", ["1"], "/", ["2"], " 个位置"],
@@ -957,7 +962,7 @@
"G0YZ-I": ["增加或减少列表项缩进"],
"G1Gw0v": ["新建模板"],
"G1XxbZ": ["复选框"],
- "G4-bgo": ["问 AI(基于所选内容)"],
+ "G1zJlD": ["隐藏已解决的评论"],
"G4m8rL": ["对所选内容发表评论"],
"G6Lrs_": ["让 ", ["0"], " 不再读取这个技能"],
"G7-rf8": ["模式语法错误:", ["message"]],
@@ -1229,6 +1234,7 @@
"LXdWeS": ["中号章节标题。"],
"LXfNU-": ["导航与建议"],
"LYufDw": ["开启语义搜索失败——", ["detail"]],
+ "LaskKp": ["发送到对话(", ["0"], ")"],
"Lbl6KA": ["无法从 ", ["0"], " 安装:", ["1"]],
"LbmLyU": ["无法安全地编辑这个工具的配置"],
"Lcehxn": ["保存解决结果"],
@@ -1346,6 +1352,7 @@
"N55YNr": [
"选择这个项目的 OpenKnowledge 配置(包括它与 AI 工具的连接)是随项目一起保存、让队友也能获得,还是只留在你的电脑上。"
],
+ "NBdIgR": ["评论"],
"NCmYhK": [
"技能教会智能体完成可重复的任务。可在编辑器的「技能」区中编写和管理它们;每个技能的安装菜单决定它保存在哪里。以下是这个项目的技能文件夹。"
],
@@ -1364,7 +1371,7 @@
"NRSLBe": [["diffMin"], " 分钟前"],
"NSnIUP": ["双页(偶数)"],
"NUr4kz": ["这个文件夹中新文档可复用的起点。"],
- "NVtrN-": ["切换底部面板(终端所在处)。若已选中文本,则改为将其发送给你偏好的 AI。"],
+ "NUw7lo": ["显示或隐藏底部面板,终端就在那里。"],
"NYUhy5": ["子文件夹名"],
"NYn1cR": ["正在加载编辑器"],
"NYu2Pt": ["新建项目…"],
@@ -1377,6 +1384,7 @@
"NeY1Np": ["Slidev 启动超时。请重试。"],
"NfraGd": ["安装 Slidev 的其他方式"],
"NgZwB0": ["已开启 ", ["enabledCount"], "/", ["0"]],
+ "NiGIcB": ["打开评论"],
"NjrIak": ["文件:<0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["编辑 ", ["tag"]],
"NkXEFS": ["恢复失败——文档未改变"],
@@ -1386,11 +1394,11 @@
"NnQapF": ["用 AI ", ["targetDisplayName"], " 打开"],
"NoY1k4": ["服务器响应结构无效"],
"NpC29w": ["基于当前列表项创建一个新的列表项。"],
- "NpuPmi": ["待发送"],
"NrFwux": ["保存内容规则失败——", ["0"]],
"Ns0z5o": [
"当你安装一个已发布的技能时,会告知技能目录(skills.sh),让它的安装量统计保持准确。发送的内容包括技能名称、它的来源仓库,以及它被安装到了哪些 AI 工具——绝不包含文件内容,也绝不会为来自私有、本地或手动输入来源的技能发送。每个技能在每台电脑上只发送一次。"
],
+ "Ns5f4J": ["取消勾选全部评论"],
"Nu4DdT": ["同步"],
"Nu4oKW": ["描述"],
"NuH1jp": ["公开仓库"],
@@ -1444,6 +1452,7 @@
],
"Okd2Xv": ["切换下划线格式。"],
"OlAl5i": ["全部展开"],
+ "OlFVNr": ["就选中内容问 AI"],
"Oo_WWc": ["没有找到页面"],
"Oos8fo": ["复制命令"],
"OplnBG": ["这个版本不支持管理 AI 工具。"],
@@ -1509,7 +1518,6 @@
"PkeYXL": ["关系图展开模式"],
"Pkw7J9": ["这个文件夹是空的。"],
"PlGC6r": ["git 的 exclude 文件不可写"],
- "Pnvg8e": ["无法打开终端——这些评论仍在等待发送。"],
"Pp0Vgd": ["点击可安装到 ", ["label"]],
"PpJy-V": ["端点未在规定时间内响应。"],
"PqYWiC": [
@@ -1534,6 +1542,7 @@
"QB-moX": ["把它安装到你的其他编辑器(Claude Code、Cursor、Codex)中即可共享。"],
"QDZbvN": [["diffDays"], " 天前"],
"QHCx0c": ["错误报告历史"],
+ "QIrBIx": ["展开全部文件"],
"QKgePK": ["已将 ", ["editor"], " 对齐到源码(其字节已备份)"],
"QLgdT6": ["任何名为 ", ["0"], " 的文档"],
"QM3SBZ": ["计划(", ["done"], "/", ["0"], ")"],
@@ -1557,6 +1566,7 @@
"QlAG4m": ["再多说一些(可选)"],
"QlkiD5": ["重新定位到选中的文本上"],
"QlxHAH": ["正在显示 \"", ["semanticResultsLabel"], "\" 的结果"],
+ "Qpfxa1": [["secs"], "秒"],
"QqBQu1": ["标签 <0>(可见的链接文本)</0>"],
"Quz_Qu": ["更改实时生效。明暗模式来自配色方案。"],
"Qvls7J": ["工程规格"],
@@ -1565,6 +1575,7 @@
],
"QySH4I": ["检测到的 OpenKnowledge 项目"],
"QyioBP": ["上移"],
+ "QzofTX": ["本项目还没有评论。对一段内容添加评论即可开始。"],
"R0cyYB": [["0", "plural", { "other": ["预览的安全策略拦截了 ", "#", " 个请求"] }]],
"R0jJzV": ["粘贴 URL、owner/repo,或搜索你的仓库"],
"R3y75Z": ["编辑源码"],
@@ -1612,7 +1623,6 @@
"Rj01Fz": ["链接"],
"RlCInP": ["斜杠命令"],
"RmBY0A": ["没有 git 远程"],
- "RmmhAh": ["稍后发送"],
"RnrnTe": ["已配置完成——ok 现在可以在你的终端中使用"],
"RoafuO": ["发送反馈"],
"RobAKV": ["更新目标地址和可选的章节锚点。"],
@@ -1933,6 +1943,7 @@
"XV5sC0": ["打开 worktree"],
"XVnIvs": ["安装技能"],
"XW18jo": ["页面标题响应不符合成功时的架构"],
+ "XWEqQj": [["days"], "天"],
"XXA1b_": [["componentLabel"], "(空)"],
"XYlJJT": ["正在设置"],
"XZkdtg": ["切换分支"],
@@ -2024,7 +2035,6 @@
"Yy90sM": ["已创建技能“", ["name"], "”"],
"YyXtnN": ["下划线"],
"Yzs3QX": ["更多技能操作"],
- "YzyyG2": ["还没有可发送的内容。对某段文字发表评论即可添加到这里。"],
"Z0W6SO": [
"此文件夹是 ",
["actualOwner"],
@@ -2055,7 +2065,6 @@
"ZBxvV3": ["新建终端"],
"ZDOq9A": ["你分享的内容会发送给 OpenKnowledge 团队。"],
"ZGVsOD": ["共享前请先将此分支推送到 GitHub。"],
- "ZHAM1l": ["包含在发送中"],
"ZI8uvA": ["没有发现问题。"],
"ZJ99sD": ["在左侧插入列"],
"ZNK2Tq": ["根目录"],
@@ -2133,6 +2142,7 @@
"_W-elG": ["(内联)"],
"_WPP7e": ["来自另一个文档的 MirrorSource 块的只读副本。在来源处编辑,这里会实时更新。"],
"_XWY2J": ["终端已禁用"],
+ "_YEyHO": ["显示已解决的评论"],
"_YWqV2": ["OpenKnowledge 解决了一个冲突"],
"_ayOfA": [
"遵循 Google Open Knowledge Format 的知识库,一种整理知识的通用方式。如果你希望自己的笔记能与理解该格式的其他工具良好协作,请选这个。"
@@ -2144,6 +2154,7 @@
"_gO_m8": ["正在等待你的批准"],
"_gkGSK": ["已删除模板"],
"_mcDqU": ["此来源有 ", ["count"], " 个技能"],
+ "_oqig9": [["hours"], "小时"],
"_pY_Vq": ["这个仓库被移动、重命名或删除了。"],
"_qD6mn": ["选择你克隆到的那个文件夹。"],
"_rP3HI": [["minutes"], " 分钟前"],
@@ -2151,7 +2162,6 @@
"_tjopj": ["粘贴副本"],
"_yB-24": ["任意 ", ["0"], "/ 文件夹下的所有内容"],
"a-cKXz": ["全选源码"],
- "a3H_MR": ["针对当前编辑器选区打开并聚焦「问 AI」输入框。"],
"a3LDKx": ["安全"],
"a45f2c": ["这个架构适用的 glob 模式"],
"a4FRQv": ["要撤销到这次编辑吗?"],
@@ -2423,7 +2433,6 @@
"emMrXQ": ["服务器返回的副本响应格式错误。"],
"emgiet": ["权威内容;在所有被引用的地方逐字镜像。"],
"enPTnx": ["第 ", ["displayLine"], " 行"],
- "eoEUI3": ["无法解决那条评论。"],
"epuNYK": ["把某个块标记为事实来源。你编辑它时,别处的镜像会实时更新。"],
"erenF-": ["无法删除存在未解决冲突的文件"],
"euc6Ns": ["创建副本"],
@@ -2469,6 +2478,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(二进制文件,无法预览)"],
"fevEu0": ["拉取最新改动"],
+ "ffH3Rt": ["添加评论(Enter)"],
"fg1U4e": ["技能发现由 <0>skills.sh</0> 提供支持"],
"fhaxJL": ["克隆失败——响应正文为空"],
"fiMNLl": ["同步设置尚未加载——请稍后再试"],
@@ -2854,7 +2864,6 @@
["4"],
"),不会影响你系统的其余部分。"
],
- "l7X_SM": ["发送给 AI"],
"l87Deg": ["选择新标签页启动的内容"],
"l9s3IX": [["agentName"], " 无法开始对话。"],
"lAiyU_": ["只有当前文档使用 <0>#", ["tag"], "</0>。"],
@@ -3256,6 +3265,7 @@
],
"rwrPbS": ["组件边界导航"],
"rxWGWX": ["前进"],
+ "ryhHUm": ["当评论标签页打开时"],
"s-MGs7": ["资源"],
"s-XOaI": ["文件名"],
"s-pW_v": ["无法安装:", ["0"]],
@@ -3286,6 +3296,7 @@
"sNeKjP": ["保存令牌失败——请重试"],
"sOxZaS": ["加载关系图失败"],
"sQoLn0": ["退出"],
+ "sR0I-f": ["折叠全部文件"],
"sW5OjU": ["必填"],
"sZ2IOu": [
"这个",
@@ -3336,6 +3347,7 @@
"</0> 将基于当前提交创建,位于 <1>.ok/worktrees/</1> 下自己的 worktree 中。"
],
"t6w1cq": ["打开一个空白的编辑器标签页。"],
+ "t7YoBO": ["发送这条评论"],
"t9Qn8y": ["没有启用任何智能体"],
"tA0b9E": ["默认的技能文件夹(保存后会显示确切路径)"],
"tA2-xC": ["“", ["0"], "”已添加过(内容相同)。"],
@@ -3405,7 +3417,6 @@
"u_lS4C": ["克隆完成——正在打开项目"],
"uaUc6t": ["重启服务器"],
"ubMwcO": ["终端会话已结束(信号 ", ["0"], ")。"],
- "ubx-L3": ["待发送的评论"],
"ucXZ0k": ["正在加载智能体…"],
"ugQcJX": [
["display"],
@@ -3519,6 +3530,7 @@
"wgNoIs": ["全选"],
"wlwXUk": ["你选择了 ~/Downloads。那里的文件通常是临时的——建议改用一个稳定的文件夹。"],
"wndeIl": ["既无入链又无出链的项目级页面。"],
+ "wqD3pI": [["0"], " 条评论中有 ", ["failed"], " 条无法更新。"],
"ws5o1F": ["检查者:", ["0"]],
"wtcxiD": ["要把这套配置分享给你的团队吗?"],
"wvK7Ay": ["你本地的 <0>", ["branch"], "</0> 分支副本落后了。"],
@@ -3671,7 +3683,6 @@
"zL0LPh": ["文本字段之外的全局范围"],
"zLGXna": ["没有可用的入门包。"],
"zLak8b": ["激活新标签页"],
- "zO-IiA": ["这里没有可用的终端——这些评论仍在等待发送。"],
"zQBg2C": ["把当前块上移或下移一个位置。"],
"zXj1rA": ["按语义搜索"],
"zYp8Sr": [
@@ -3687,7 +3698,6 @@
"zkz0Fg": ["设置同步"],
"zlErBl": ["页面标题的错误响应不符合 RFC 9457"],
"zo3Dl7": ["切换缩略图"],
- "zovxVp": ["可以发送了"],
"zpfN9p": ["还没有评论。在文档中选中文本即可添加。"],
"zq2eBA": ["在源码中查看"],
"zrP8HX": [
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index 197027c83..49a64f92a 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} 位于 {destination} 上方。"
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} 尚未安装——正在打开它的下载页面。"
@@ -506,6 +504,10 @@ msgstr "此来源有 {count} 个技能"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, other {# 天前}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}天"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days} 天前"
@@ -546,7 +548,6 @@ msgstr "{display} 是独立副本,而该技能的其他位置是符号链接
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName}({bin})未安装,也不在你的 PATH 中。"
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "已开启 {enabledCount}/{0}"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{0} 条评论中有 {failed} 条无法清除。"
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{0} 条评论中有 {failed} 条无法更新。"
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, other {文件夹}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} 个 GitHub star"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}小时"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}:{message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, other {# 分钟前}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}分"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} 分钟前"
@@ -736,6 +745,10 @@ msgstr "{propPanelDescriptorLabel} 属性"
msgid "{seconds}s ago"
msgstr "{seconds} 秒前"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}秒"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "{settingsDescriptorLabel} 属性"
@@ -1186,6 +1199,10 @@ msgstr "请至少加入一个字母或数字。"
msgid "Add Comment"
msgstr "添加评论"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "添加评论(Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "通过 CodeMirror 添加光标或选中匹配项。"
@@ -1597,7 +1614,6 @@ msgstr "询问 {0} CLI"
msgid "Ask {agentName}"
msgstr "询问 {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "问 AI"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "问 AI(基于所选内容)"
+msgid "Ask AI about selection"
+msgstr "就选中内容问 AI"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "就选中内容问 AI"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "检查者:{0}"
msgid "Checking"
msgstr "正在检查"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "正在查找智能体"
@@ -2195,7 +2214,7 @@ msgstr "选择图标"
msgid "Choose what a new tab starts"
msgstr "选择新标签页启动的内容"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "选择把这些评论发送到哪里"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "清理日志"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "正在克隆 {repoName}…"
msgid "Cloning..."
msgstr "正在克隆…"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "全部折叠"
msgid "Collapse all file groups"
msgstr "折叠所有文件分组"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "折叠全部文件"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "折叠「问 AI」"
@@ -2537,6 +2559,10 @@ msgstr "命令"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "命令将以你在这台电脑上的 macOS 用户账户的全部权限运行。关闭此项可禁用 shell。"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "评论"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "对 {address} 发表评论"
@@ -2545,6 +2571,10 @@ msgstr "对 {address} 发表评论"
msgid "Comment on selection"
msgstr "对所选内容发表评论"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "对选中内容添加评论"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "对此代码块发表评论或询问 AI"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "评论"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "待发送的评论"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "提交或暂存改动后才能切换:"
@@ -3316,10 +3342,6 @@ msgstr "无法打开文档"
msgid "Couldn't open the terminal — please try again."
msgstr "无法打开终端——请重试。"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "无法打开终端——这些评论仍在等待发送。"
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "无法打开 worktree。请重试。"
@@ -3413,10 +3435,6 @@ msgstr "无法重命名模板:{0}"
msgid "Couldn't reopen that comment."
msgstr "无法重新打开那条评论。"
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "无法解决那条评论。"
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "无法解决 {filePath} 的冲突。"
@@ -3543,10 +3561,6 @@ msgstr "无法更新技能共享设置"
msgid "Couldn't update skills sharing — {detail}."
msgstr "无法更新技能共享设置——{detail}。"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "无法确定把这些评论发送到哪里——它们仍在等待。"
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "公开统计技能安装量"
@@ -3891,7 +3905,7 @@ msgstr "删除表格"
msgid "Delete this chat?"
msgstr "删除此对话?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "删除这条评论"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "没看到<0>技能</0>?请先启用<1>设置 <2/> 功能 <3/> 代码执行与文件创建</1>。"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "不要发送这条评论"
@@ -4389,7 +4402,7 @@ msgstr "编辑源码"
msgid "Edit source pane and code property fields"
msgstr "编辑源码面板和代码类属性字段"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "编辑这条评论"
@@ -4718,6 +4731,10 @@ msgstr "全部展开"
msgid "Expand all file groups"
msgstr "展开所有文件分组"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "展开全部文件"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "展开关系图"
@@ -5565,7 +5582,6 @@ msgstr "跳转到 {1} 的第 {0} 行"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "在 {0} 中查看这条评论"
@@ -5598,6 +5614,10 @@ msgstr "指导你的 AI 智能体在这里如何工作。"
msgid "guides/install or https://example.com"
msgstr "guides/install 或 https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "一次性把勾选的评论交给智能体。在“这个文档”下只发送该文档的评论;在“本项目”下发送所有勾选的评论。评论标签页关闭时不做任何事。"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "强制换行"
@@ -5771,10 +5791,14 @@ msgstr "隐藏问题标记"
msgid "Hide replace"
msgstr "隐藏替换"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "隐藏已解决的"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "隐藏已解决的评论"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "隐藏选区预览"
@@ -5983,10 +6007,6 @@ msgstr "在应用内(beta)"
msgid "In the Claude Desktop App"
msgstr "在 Claude 桌面应用中"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "包含在发送中"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "下次发送时包含这条评论"
@@ -6344,7 +6364,7 @@ msgstr "跳到第 {pageNumber} 页"
msgid "Jump to tab 1-8"
msgstr "跳到第 1-8 个标签页"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "跳到锚定的文本"
@@ -6799,6 +6819,10 @@ msgstr "梳理架构"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "把某个块标记为事实来源。你编辑它时,别处的镜像会实时更新。"
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "勾选全部评论以发送"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "还没有配置任何智能体——请从发送菜单中选一个。"
msgid "No agents available."
msgstr "没有可用的智能体。"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "没有启用任何智能体"
@@ -7388,6 +7412,10 @@ msgstr "没有改动"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "这个 worktree 没有协作服务器——请在这里运行 <0>ok start</0>,或重新打开项目。"
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "本项目还没有评论。对一段内容添加评论即可开始。"
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "还没有评论。在文档中选中文本即可添加。"
@@ -7742,10 +7770,6 @@ msgstr "无({0} 不是有效的模式)"
msgid "Nothing set yet."
msgstr "还没有设置任何内容。"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "还没有可发送的内容。对某段文字发表评论即可添加到这里。"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "什么都没有上传。在你把报告通过邮件发给我们之前,它只保存在这台 Mac 上。"
@@ -7944,10 +7968,6 @@ msgstr "打开智能体面板"
msgid "Open an existing project folder from disk."
msgstr "从磁盘打开一个已有的项目文件夹。"
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "针对当前编辑器选区打开并聚焦「问 AI」输入框。"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "打开并聚焦底部的「问 AI」提示词输入框。"
@@ -7968,6 +7988,10 @@ msgstr "打开 CodeMirror 的检查诊断面板。"
msgid "Open comment"
msgstr "打开评论"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "打开评论"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "打开所在文件夹"
@@ -8436,7 +8460,7 @@ msgstr "原始文件——这个智能体编辑之前的版本。"
msgid "Orphan mode"
msgstr "孤立页模式"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "孤立"
@@ -9102,7 +9126,7 @@ msgstr "重新通过 GitHub Enterprise Server 认证"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "重新生成嵌入向量会随着搜索进行,因此覆盖率会从零重新累积。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "重新定位到选中的文本上"
@@ -9130,10 +9154,6 @@ msgstr "{name} 技能中的只读文件"
msgid "Reading…"
msgstr "正在阅读…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "可以发送了"
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "现成的文件夹和模板,帮你快速上手。"
@@ -9470,7 +9490,7 @@ msgstr "渲染错误"
msgid "Rendered"
msgstr "已渲染"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "重新打开"
@@ -9636,10 +9656,6 @@ msgstr "重置视图筛选条件"
msgid "Resize {handleKey}"
msgstr "调整 {handleKey} 的大小"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "解决"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "在你的终端中解决冲突"
@@ -9652,7 +9668,7 @@ msgstr "删除前请先解决 {files} 上的冲突。"
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "删除前请先解决 {files} 以及另外 {overflow} 个文件上的冲突。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "已解决"
@@ -10191,7 +10207,7 @@ msgstr "选中下一处出现"
msgid "Select the full source document."
msgstr "选中整个源码文档。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "在属性中选中这段文本"
@@ -10244,6 +10260,10 @@ msgstr "发送"
msgid "Send & continue"
msgstr "发送并继续"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "把勾选的评论发送到对话"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "把评论发送到"
@@ -10257,22 +10277,23 @@ msgstr "发送反馈"
msgid "Send feedback…"
msgstr "发送反馈…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "稍后发送"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "发送报告"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "发送给 AI"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "发送这条评论"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "发送到对话"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "发送到对话({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "在智能体空闲时发送"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "显示替换"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "显示已解决的({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "显示已解决的评论"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "显示选区预览"
@@ -10961,6 +10986,10 @@ msgstr "源码撤销或重做"
msgid "Split list item"
msgstr "拆分列表项"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "把选中的内容放入智能体面板,随时可以补充并发送。"
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "在 GitHub 上给我们点个星"
@@ -10982,7 +11011,7 @@ msgstr "启动 {agentName},{hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "使用 + 按钮开始对话,或从页面启动智能体。"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "开始新对话"
@@ -11544,10 +11573,6 @@ msgstr "感谢你的反馈!"
msgid "Thanks for the report!"
msgstr "感谢你的报告!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "那个应用不可用——这些评论仍在等待发送。"
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "智能体没有停止。强制停止将关闭此对话并退出智能体
msgid "The agent's persona, values, and voice."
msgstr "智能体的人设、价值观和语气。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "锚定的文本已经不见了。你可以把它重新定位到选中的文本上。"
@@ -11749,10 +11774,6 @@ msgstr "模板的文件名(不含 `.md`)。"
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "这个项目关闭了终端。重新开启后才能在这里运行命令。"
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "这里没有可用的终端——这些评论仍在等待发送。"
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "这个分支已在以下位置检出:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "这可以在「设置 > AI 工具与 CLI」中配置"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "这条评论针对的是整个属性"
@@ -12037,6 +12058,7 @@ msgstr "此操作会从“{2}”技能中永久删除 {0}/{1}。SKILL.md 中指
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "这会永久移除 {path}。在重新创建它,或者由上级文件夹中的同名模板取代之前,按名称引用这个模板的智能体都会失败。"
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "本项目"
@@ -12171,10 +12193,6 @@ msgstr "待办"
msgid "To do."
msgstr "待办。"
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "待发送"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "切换无序列表。"
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "切换删除线格式。"
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "切换底部面板(终端所在处)。若已选中文本,则改为将其发送给你偏好的 AI。"
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "显示或隐藏底部面板,终端就在那里。"
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "未知错误"
msgid "unlink"
msgstr "取消链接"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "取消勾选全部评论"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "不带编号的项目列表。"
@@ -12958,6 +12980,10 @@ msgstr "开启后,智能体每次编辑后都会打开或刷新预览。如果
msgid "When the agent runs its scheduled work."
msgstr "智能体执行定时任务的时间。"
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "当评论标签页打开时"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "把鼠标悬停在外部链接上时,它的 URL 会发送到目标站点以获取页面的预览元数据——每个被预览的链接一次请求。"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index 2bf421c0d..948e0c351 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -141,7 +141,6 @@
"1njn7W": ["淺色"],
"1nke1r": ["在 GitHub 上開啟 ", ["0"], "(在新分頁中開啟)"],
"1oSHI0": ["無法安裝 ", ["skillName"], ":", ["0"]],
- "1oawp3": [["0"], " 則註解中有 ", ["failed"], " 則無法清除。"],
"1t_NnN": ["拒絕"],
"1u-mAI": ["無法開始同步。請檢查你的網路連線,然後再試一次。"],
"1vn0CI": ["伺服器回應無效"],
@@ -164,7 +163,6 @@
"2FnYUD": [
"應用程式與系統資訊、最近的應用程式記錄和專案伺服器記錄:我們重現問題所需的基本材料。"
],
- "2FoHU3": ["解決"],
"2G-56b": ["更新 markdownlint 規則失敗"],
"2GT3Hf": ["全域"],
"2H43L8": ["API 金鑰、權杖之類的機密內容會自動遮蔽。"],
@@ -277,7 +275,6 @@
"4E9jPa": ["建立你的第一個專案"],
"4EZrJN": ["規則"],
"4ErgAf": ["OpenKnowledge 安裝了一個技能"],
- "4GWjF8": ["無法判斷要把這些註解送到哪裡——它們還在等著。"],
"4Gz2wC": ["上傳檔案失敗"],
"4KmEoC": ["快速鍵"],
"4NC2Ym": ["移動到表格的下一個或上一個儲存格。"],
@@ -303,6 +300,7 @@
"4sKwf6": ["檔案已存在"],
"4sUdTJ": ["帶主題的預覽"],
"4uNLmk": ["正在拉取"],
+ "4uaCUA": [["mins"], "分"],
"4v2Yyz": ["當焦點在「檔案」側邊欄時,選取檔案樹中所有看得到的列。"],
"4wo5UV": ["安裝選取項"],
"4xtLTl": ["已隱藏資料夾「", ["basename"], "」"],
@@ -320,6 +318,7 @@
"56WWtu": ["無法載入入門套件:", ["error"]],
"56xUL1": ["屬性名稱"],
"57fiu8": ["(唯讀——目前請在原始碼模式中編輯)"],
+ "58qIOK": ["為選取內容新增註解"],
"5ALjdr": ["從尋找輸入框在視覺化編輯器的尋找結果之間移動。"],
"5Ajb15": ["公式 <0>c = √(a² + b²)</0> 會以行內形式顯示。"],
"5AzM72": ["這項設定按每台電腦生效,不會分享給協作者。"],
@@ -356,6 +355,9 @@
"5aahsI": ["無(", ["0"], " 不是有效的模式)"],
"5b3WD-": ["OpenKnowledge 儲存了一個檢查點"],
"5e1Dri": ["代理挑選這個範本時看到的選單標籤(必填)。"],
+ "5ecEGe": [
+ "一次把勾選的註解交給智慧代理。在「這份文件」下只傳送該文件的註解;在「這個專案」下傳送所有勾選的註解。註解分頁關閉時不會有任何動作。"
+ ],
"5gr_ev": [
"當有人用這個範本建立文件時,這會成為那份文件的內容。輸入 <0>",
["dateToken"],
@@ -407,6 +409,7 @@
"6V3Ea3": ["已複製"],
"6VqW-1": ["移除 ", ["keyName"]],
"6WdDG7": ["頁"],
+ "6YBJ3m": ["就選取內容問 AI"],
"6YtxFj": ["名稱"],
"6ZhdPI": ["代理可以讀取、寫入和呈現的內容。"],
"6_ZOw4": ["已複製完整路徑"],
@@ -530,11 +533,11 @@
"8fRyLo": ["修補內容無效"],
"8fc_3j": ["受保護的分支——無法推送"],
"8k6INX": ["貼上用於 <0>", ["host"], "</0> 的個人存取權杖。"],
- "8kBLOT": ["那個應用程式無法使用——那些註解仍在等著傳送。"],
"8lwQlE": ["新增 ", ["0"], " 項,移除 ", ["1"], " 項"],
"8m8diM": ["沒有選取位置。請用「瀏覽」挑一個資料夾。"],
"8nOdkO": ["置中對齊"],
"8nWu1k": ["空白圖表"],
+ "8oWgty": ["勾選全部註解以傳送"],
"8qgfac": ["MCP 伺服器"],
"8ruqQi": ["失效的內部連結"],
"8sMErm": ["要啟用「跟隨」嗎?"],
@@ -708,6 +711,7 @@
"C0hoX6": ["一律包含"],
"C3Zc44": ["探索技能"],
"C62P6b": ["編輯器選取範圍"],
+ "C7PKTv": ["將勾選的註解傳送到對話"],
"C7waqI": [["0", "plural", { "other": ["#", " 個文件"] }]],
"C9TBvF": ["沒有連出"],
"CB7c0Z": ["儲存排隊中的訊息"],
@@ -742,6 +746,7 @@
"ChAtFg": ["你沒有推送到這個儲存庫的權限"],
"ChMshD": ["結束 ", ["appName"]],
"Ck9XRt": ["無法儲存金鑰——請再試一次。"],
+ "ClTEde": ["把選取的內容放入代理面板,隨時可以補充並傳送。"],
"CmeH9S": ["為 ", ["keyName"], " 新增屬性"],
"CnOGgs": ["同步模式"],
"CoHvYd": ["已把 ", ["0"], " 移到第 ", ["1"], "/", ["2"], " 個位置"],
@@ -963,7 +968,7 @@
"G0YZ-I": ["增加或減少清單項目縮排"],
"G1Gw0v": ["新增範本"],
"G1XxbZ": ["核取方塊"],
- "G4-bgo": ["問 AI(依據選取內容)"],
+ "G1zJlD": ["隱藏已解決的註解"],
"G4m8rL": ["對選取內容加上註解"],
"G6Lrs_": ["讓 ", ["0"], " 不再讀取這個技能"],
"G7-rf8": ["模式語法錯誤:", ["message"]],
@@ -1243,6 +1248,7 @@
"LXdWeS": ["中型章節標題。"],
"LXfNU-": ["導覽與建議"],
"LYufDw": ["開啟語意搜尋失敗——", ["detail"]],
+ "LaskKp": ["傳送到對話(", ["0"], ")"],
"Lbl6KA": ["無法從 ", ["0"], " 安裝:", ["1"]],
"LbmLyU": ["無法安全地編輯這個工具的設定"],
"Lcehxn": ["儲存解決結果"],
@@ -1366,6 +1372,7 @@
"N55YNr": [
"選擇這個專案的 OpenKnowledge 設定(包括它和 AI 工具的連接)要隨專案一起保存、讓隊友也能拿到,還是只留在你的電腦上。"
],
+ "NBdIgR": ["註解"],
"NCmYhK": [
"技能會教代理完成可重複的工作。可以在編輯器的「技能」區中撰寫和管理它們;每個技能的安裝選單決定它放在哪裡。以下是這個專案的技能資料夾。"
],
@@ -1384,7 +1391,7 @@
"NRSLBe": [["diffMin"], " 分鐘前"],
"NSnIUP": ["雙頁(偶數)"],
"NUr4kz": ["這個資料夾中新文件可重複使用的起點。"],
- "NVtrN-": ["切換底部面板(終端機所在處)。若已選取文字,則改為將其送往你偏好的 AI。"],
+ "NUw7lo": ["顯示或隱藏底部面板,終端機就在那裡。"],
"NYUhy5": ["子資料夾名稱"],
"NYn1cR": ["正在載入編輯器"],
"NYu2Pt": ["新增專案…"],
@@ -1397,6 +1404,7 @@
"NeY1Np": ["Slidev 啟動逾時。請再試一次。"],
"NfraGd": ["安裝 Slidev 的其他方式"],
"NgZwB0": ["已開啟 ", ["enabledCount"], "/", ["0"]],
+ "NiGIcB": ["開啟註解"],
"NjrIak": ["檔案:<0>", ["fixedName"], ".md</0>"],
"NkNfSr": ["編輯 ", ["tag"]],
"NkXEFS": ["還原失敗——文件沒有變動"],
@@ -1406,11 +1414,11 @@
"NnQapF": ["用 AI ", ["targetDisplayName"], " 開啟"],
"NoY1k4": ["伺服器回應結構無效"],
"NpC29w": ["從目前的清單項目建立一個新的清單項目。"],
- "NpuPmi": ["待傳送"],
"NrFwux": ["儲存內容規則失敗——", ["0"]],
"Ns0z5o": [
"當你安裝一個已發布的技能時,會告知技能目錄(skills.sh),讓它的安裝次數保持準確。送出的內容包括技能名稱、它的來源儲存庫,以及它被裝到哪些代理工具——絕不包含檔案內容,也絕不會為來自私人、本機或手動輸入來源的技能送出。每個技能在每台電腦只送一次。"
],
+ "Ns5f4J": ["取消勾選全部註解"],
"Nu4DdT": ["同步"],
"Nu4oKW": ["描述"],
"NuH1jp": ["公開儲存庫"],
@@ -1464,6 +1472,7 @@
],
"Okd2Xv": ["切換底線格式。"],
"OlAl5i": ["全部展開"],
+ "OlFVNr": ["就選取內容問 AI"],
"Oo_WWc": ["找不到頁面"],
"Oos8fo": ["複製指令"],
"OplnBG": ["這個版本無法管理 AI 工具。"],
@@ -1529,7 +1538,6 @@
"PkeYXL": ["關係圖展開模式"],
"Pkw7J9": ["這個資料夾是空的。"],
"PlGC6r": ["git 的 exclude 檔案無法寫入"],
- "Pnvg8e": ["無法開啟終端機——那些註解仍在等著傳送。"],
"Pp0Vgd": ["點一下即可安裝到 ", ["label"]],
"PpJy-V": ["端點沒有及時回應。"],
"PqYWiC": [
@@ -1554,6 +1562,7 @@
"QB-moX": ["把它安裝到你的其他編輯器(Claude Code、Cursor、Codex)就能分享。"],
"QDZbvN": [["diffDays"], " 天前"],
"QHCx0c": ["錯誤回報記錄"],
+ "QIrBIx": ["展開全部檔案"],
"QKgePK": ["已把 ", ["editor"], " 對齊到原始碼(它的位元組已備份)"],
"QLgdT6": ["任何名為 ", ["0"], " 的文件"],
"QM3SBZ": ["計畫(", ["done"], "/", ["0"], ")"],
@@ -1577,6 +1586,7 @@
"QlAG4m": ["再多說一些(選填)"],
"QlkiD5": ["重新定位到選取的文字上"],
"QlxHAH": ["正在顯示「", ["semanticResultsLabel"], "」的結果"],
+ "Qpfxa1": [["secs"], "秒"],
"QqBQu1": ["標籤 <0>(可見的連結文字)</0>"],
"Quz_Qu": ["編輯會即時生效。淺色或深色由配色方案決定。"],
"Qvls7J": ["工程規格"],
@@ -1585,6 +1595,7 @@
],
"QySH4I": ["偵測到的 OpenKnowledge 專案"],
"QyioBP": ["上移"],
+ "QzofTX": ["這個專案還沒有註解。為一段內容新增註解即可開始。"],
"R0cyYB": [["0", "plural", { "other": ["預覽的安全性原則攔截了 ", "#", " 個要求"] }]],
"R0jJzV": ["貼上 URL、owner/repo,或搜尋你的儲存庫"],
"R3y75Z": ["編輯原始碼"],
@@ -1632,7 +1643,6 @@
"Rj01Fz": ["連結"],
"RlCInP": ["斜線指令"],
"RmBY0A": ["沒有 git 遠端"],
- "RmmhAh": ["稍後傳送"],
"RnrnTe": ["已經設定好了——ok 現在可以在你的終端機中使用"],
"RoafuO": ["傳送意見回饋"],
"RobAKV": ["更新目標位置和選填的章節錨點。"],
@@ -1955,6 +1965,7 @@
"XV5sC0": ["開啟 worktree"],
"XVnIvs": ["安裝技能"],
"XW18jo": ["頁面標題回應不符合成功時的結構描述"],
+ "XWEqQj": [["days"], "天"],
"XXA1b_": [["componentLabel"], "(空的)"],
"XYlJJT": ["正在設定"],
"XZkdtg": ["切換分支"],
@@ -2042,7 +2053,6 @@
"Yy90sM": ["已建立技能「", ["name"], "」"],
"YyXtnN": ["底線"],
"Yzs3QX": ["更多技能動作"],
- "YzyyG2": ["還沒有可傳送的內容。對某段文字加上註解就會出現在這裡。"],
"Z0W6SO": [
"這個資料夾是 ",
["actualOwner"],
@@ -2073,7 +2083,6 @@
"ZBxvV3": ["新增終端機"],
"ZDOq9A": ["你分享的內容會寄給 OpenKnowledge 團隊。"],
"ZGVsOD": ["分享前請先將這個分支推送到 GitHub。"],
- "ZHAM1l": ["納入這次傳送"],
"ZI8uvA": ["沒有發現問題。"],
"ZJ99sD": ["在左側插入欄"],
"ZNK2Tq": ["根目錄"],
@@ -2153,6 +2162,7 @@
"_W-elG": ["(行內)"],
"_WPP7e": ["來自另一份文件的 MirrorSource 區塊的唯讀副本。在來源處編輯,這裡會即時更新。"],
"_XWY2J": ["終端機已停用"],
+ "_YEyHO": ["顯示已解決的註解"],
"_YWqV2": ["OpenKnowledge 解決了一個衝突"],
"_ayOfA": [
"遵循 Google Open Knowledge Format 的知識庫,一種整理知識的共通做法。如果你希望自己的筆記能和看得懂這個格式的其他工具好好搭配,請選這個。"
@@ -2164,6 +2174,7 @@
"_gO_m8": ["正在等你核准"],
"_gkGSK": ["已刪除範本"],
"_mcDqU": ["這個來源有 ", ["count"], " 個技能"],
+ "_oqig9": [["hours"], "小時"],
"_pY_Vq": ["這個儲存庫被移動、重新命名或刪除了。"],
"_qD6mn": ["挑你複製下來的那個資料夾。"],
"_rP3HI": [["minutes"], " 分鐘前"],
@@ -2171,7 +2182,6 @@
"_tjopj": ["貼上副本"],
"_yB-24": ["任何 ", ["0"], "/ 資料夾底下的所有內容"],
"a-cKXz": ["全選原始碼"],
- "a3H_MR": ["針對目前的編輯器選取範圍開啟並聚焦「問 AI」輸入框。"],
"a3LDKx": ["安全性"],
"a45f2c": ["這個結構描述適用的 glob 模式"],
"a4FRQv": ["要復原到這次編輯嗎?"],
@@ -2443,7 +2453,6 @@
"emMrXQ": ["伺服器回傳的複本回應格式錯誤。"],
"emgiet": ["權威內容;在所有被參照的地方逐字鏡像。"],
"enPTnx": ["第 ", ["displayLine"], " 行"],
- "eoEUI3": ["無法解決那則註解。"],
"epuNYK": ["把某個區塊標記為事實來源。你編輯它的時候,別處的鏡像會即時更新。"],
"erenF-": ["無法刪除仍有未解決衝突的檔案"],
"euc6Ns": ["建立副本"],
@@ -2489,6 +2498,7 @@
"fcgvCA": ["Claude"],
"fdeFfN": ["(二進位檔案,無法預覽)"],
"fevEu0": ["拉取最新的變更"],
+ "ffH3Rt": ["新增註解(Enter)"],
"fg1U4e": ["技能探索由 <0>skills.sh</0> 提供"],
"fhaxJL": ["複製失敗——回應內容為空"],
"fiMNLl": ["同步設定尚未載入——請稍候再試"],
@@ -2878,7 +2888,6 @@
["4"],
"),不會動到你系統的其他部分。"
],
- "l7X_SM": ["傳送給 AI"],
"l87Deg": ["選擇新分頁啟動的內容"],
"l9s3IX": [["agentName"], " 無法開始對話。"],
"lAiyU_": ["只有目前這份文件用到 <0>#", ["tag"], "</0>。"],
@@ -3284,6 +3293,7 @@
],
"rwrPbS": ["元件邊界導覽"],
"rxWGWX": ["前進"],
+ "ryhHUm": ["當註解分頁開啟時"],
"s-MGs7": ["資源"],
"s-XOaI": ["檔案名稱"],
"s-pW_v": ["無法安裝:", ["0"]],
@@ -3314,6 +3324,7 @@
"sNeKjP": ["儲存權杖失敗——請再試一次"],
"sOxZaS": ["載入關係圖失敗"],
"sQoLn0": ["結束"],
+ "sR0I-f": ["摺疊全部檔案"],
"sW5OjU": ["必填"],
"sZ2IOu": [
"這個",
@@ -3364,6 +3375,7 @@
"</0> 會從目前的提交建立,放在 <1>.ok/worktrees/</1> 底下自己的 worktree 中。"
],
"t6w1cq": ["開啟一個空白的編輯器分頁。"],
+ "t7YoBO": ["傳送這則註解"],
"t9Qn8y": ["沒有啟用任何代理"],
"tA0b9E": ["預設的技能資料夾(儲存後會顯示確切路徑)"],
"tA2-xC": ["「", ["0"], "」先前已新增過(內容相同)。"],
@@ -3435,7 +3447,6 @@
"u_lS4C": ["複製完成——正在開啟專案"],
"uaUc6t": ["重新啟動伺服器"],
"ubMwcO": ["終端機工作階段已結束(訊號 ", ["0"], ")。"],
- "ubx-L3": ["要傳送的註解"],
"ucXZ0k": ["正在載入代理…"],
"ugQcJX": [
["display"],
@@ -3549,6 +3560,7 @@
"wgNoIs": ["全選"],
"wlwXUk": ["你選了 ~/Downloads。那裡的檔案通常是暫時的——建議改用一個穩定的資料夾。"],
"wndeIl": ["既沒有連入也沒有連出關係圖邊的專案層級頁面。"],
+ "wqD3pI": [["0"], " 則註解中有 ", ["failed"], " 則無法更新。"],
"ws5o1F": ["檢查者:", ["0"]],
"wtcxiD": ["要把這套設定分享給你的團隊嗎?"],
"wvK7Ay": ["你本機的 <0>", ["branch"], "</0> 分支副本落後了。"],
@@ -3703,7 +3715,6 @@
"zL0LPh": ["文字欄位之外的全域範圍"],
"zLGXna": ["沒有可用的入門套件。"],
"zLak8b": ["切換到新分頁"],
- "zO-IiA": ["這裡沒有可用的終端機——那些註解仍在等著傳送。"],
"zQBg2C": ["把目前的區塊往上或往下移一個位置。"],
"zXj1rA": ["按語意搜尋"],
"zYp8Sr": [
@@ -3719,7 +3730,6 @@
"zkz0Fg": ["設定同步"],
"zlErBl": ["頁面標題的錯誤回應不符合 RFC 9457"],
"zo3Dl7": ["切換縮圖"],
- "zovxVp": ["可以傳送了"],
"zpfN9p": ["還沒有註解。在文件中選取文字就能加上一則。"],
"zq2eBA": ["在原始碼中檢視"],
"zrP8HX": [
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index 0d9dec1df..f7f672121 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -276,8 +276,6 @@ msgid "{0} is over {destination}."
msgstr "{0} 位於 {destination} 上方。"
#. placeholder {0}: resolvedTarget.displayName
-#. placeholder {0}: target.displayName
-#: src/comments/use-comment-delivery.ts
#: src/components/BottomComposer.tsx
msgid "{0} isn't installed yet — opening its download page."
msgstr "{0} 尚未安裝——正在開啟它的下載頁面。"
@@ -506,6 +504,10 @@ msgstr "這個來源有 {count} 個技能"
msgid "{days, plural, one {# day ago} other {# days ago}}"
msgstr "{days, plural, other {# 天前}}"
+#: src/comments/ThreadCard.tsx
+msgid "{days}d"
+msgstr "{days}天"
+
#: src/components/acp/ThreadHistoryMenu.tsx
msgid "{days}d ago"
msgstr "{days} 天前"
@@ -546,7 +548,6 @@ msgstr "{display} 是獨立副本,而這個技能的其他位置是符號連
msgid "{displayName} ({bin}) isn't installed or on your PATH."
msgstr "{displayName}({bin})未安裝,也不在你的 PATH 中。"
-#: src/comments/use-comment-agent-picker.ts
#: src/components/BottomComposer.tsx
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -574,8 +575,8 @@ msgstr "已開啟 {enabledCount}/{0}"
#. placeholder {0}: ids.length
#: src/comments/store.ts
-msgid "{failed} of {0} comments could not be cleared."
-msgstr "{0} 則註解中有 {failed} 則無法清除。"
+msgid "{failed} of {0} comments could not be updated."
+msgstr "{0} 則註解中有 {failed} 則無法更新。"
#: src/components/FileTree.tsx
msgid "{failedCount, plural, one {1 file failed to upload} other {{failedCount} files failed to upload}}"
@@ -601,6 +602,10 @@ msgstr "{folderCount, plural, other {資料夾}}"
msgid "{formatted} GitHub stars"
msgstr "{formatted} 個 GitHub star"
+#: src/comments/ThreadCard.tsx
+msgid "{hours}h"
+msgstr "{hours}小時"
+
#: src/components/acp/ThreadHistoryMenu.tsx
#: src/components/ActivityModeContent.tsx
#: src/components/ActivityPanelFileRow.tsx
@@ -663,6 +668,10 @@ msgstr "{loadErrorTitle}:{message}"
msgid "{mins, plural, one {# min ago} other {# min ago}}"
msgstr "{mins, plural, other {# 分鐘前}}"
+#: src/comments/ThreadCard.tsx
+msgid "{mins}m"
+msgstr "{mins}分"
+
#: src/components/SyncStatusBadge.tsx
msgid "{minutes} min ago"
msgstr "{minutes} 分鐘前"
@@ -736,6 +745,10 @@ msgstr "{propPanelDescriptorLabel} 屬性"
msgid "{seconds}s ago"
msgstr "{seconds} 秒前"
+#: src/comments/ThreadCard.tsx
+msgid "{secs}s"
+msgstr "{secs}秒"
+
#: src/editor/extensions/JsxComponentView.tsx
msgid "{settingsDescriptorLabel} properties"
msgstr "{settingsDescriptorLabel} 屬性"
@@ -1186,6 +1199,10 @@ msgstr "請至少加入一個字母或數字。"
msgid "Add Comment"
msgstr "新增註解"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Add Comment (Enter)"
+msgstr "新增註解(Enter)"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Add cursors or select matching occurrences through CodeMirror."
msgstr "透過 CodeMirror 新增游標或選取相符的項目。"
@@ -1597,7 +1614,6 @@ msgstr "詢問 {0} CLI"
msgid "Ask {agentName}"
msgstr "詢問 {agentName}"
-#: src/comments/CommentBubbleButton.tsx
#: src/components/BottomComposer.tsx
#: src/components/EditorFooter.tsx
#: src/components/OnboardingCard.tsx
@@ -1607,8 +1623,12 @@ msgid "Ask AI"
msgstr "問 AI"
#: src/lib/keyboard-shortcuts.ts
-msgid "Ask AI (from selection)"
-msgstr "問 AI(依據選取內容)"
+msgid "Ask AI about selection"
+msgstr "就選取內容問 AI"
+
+#: src/components/command-palette-commands.ts
+msgid "Ask AI About Selection"
+msgstr "就選取內容問 AI"
#: src/components/ProblemsPanel.tsx
msgid "Ask AI to fix {flatId}"
@@ -2116,7 +2136,6 @@ msgstr "檢查者:{0}"
msgid "Checking"
msgstr "正在檢查"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/BottomComposer.tsx
msgid "Checking for agents"
msgstr "正在尋找代理"
@@ -2195,7 +2214,7 @@ msgstr "選擇圖示"
msgid "Choose what a new tab starts"
msgstr "選擇新分頁啟動的內容"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Choose where to send these comments"
msgstr "選擇要把這些註解送到哪裡"
@@ -2231,7 +2250,6 @@ msgstr "Claude Desktop"
msgid "Cleanup log"
msgstr "清理記錄"
-#: src/comments/CommentQueuePanel.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/SkillPluginBundleDialog.tsx
msgid "Clear"
@@ -2353,7 +2371,7 @@ msgstr "正在複製 {repoName}…"
msgid "Cloning..."
msgstr "正在複製…"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
#: src/components/EditorTabs.tsx
#: src/components/FeedbackForm.tsx
#: src/components/InstallInClaudeDesktopDialog.tsx
@@ -2489,6 +2507,10 @@ msgstr "全部摺疊"
msgid "Collapse all file groups"
msgstr "摺疊所有檔案群組"
+#: src/comments/CommentListPanel.tsx
+msgid "Collapse all files"
+msgstr "摺疊全部檔案"
+
#: src/components/BottomComposer.tsx
msgid "Collapse Ask AI"
msgstr "摺疊「問 AI」"
@@ -2537,6 +2559,10 @@ msgstr "指令"
msgid "Commands run with the full access of your macOS user account on this machine. Turn this off to disable the shell."
msgstr "指令會以你在這台電腦上的 macOS 使用者帳戶的完整權限執行。關掉這一項可停用 shell。"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment"
+msgstr "註解"
+
#: src/comments/PropertyCommentButton.tsx
msgid "Comment on {address}"
msgstr "對 {address} 加上註解"
@@ -2545,6 +2571,10 @@ msgstr "對 {address} 加上註解"
msgid "Comment on selection"
msgstr "對選取內容加上註解"
+#: src/comments/CommentBubbleButton.tsx
+msgid "Comment on this selection"
+msgstr "為選取內容新增註解"
+
#. placeholder {0}: descriptor.displayName ?? descriptor.name
#: src/editor/extensions/JsxComponentView.tsx
msgid "Comment or ask AI about this {0}"
@@ -2555,15 +2585,11 @@ msgid "Comment or ask AI about this code block"
msgstr "對此程式碼區塊發表評論或詢問 AI"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
#: src/components/DocPanel.tsx
msgid "Comments"
msgstr "註解"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Comments to send"
-msgstr "要傳送的註解"
-
#: src/components/ShareBranchSwitchDialog.tsx
msgid "Commit or stash changes to switch:"
msgstr "先提交或暫存變更才能切換:"
@@ -3316,10 +3342,6 @@ msgstr "無法開啟文件"
msgid "Couldn't open the terminal — please try again."
msgstr "無法開啟終端機——請再試一次。"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't open the terminal — the comments are still waiting to send."
-msgstr "無法開啟終端機——那些註解仍在等著傳送。"
-
#: src/components/NewWorktreeDialog.tsx
msgid "Couldn't open the worktree. Try again."
msgstr "無法開啟 worktree。請再試一次。"
@@ -3413,10 +3435,6 @@ msgstr "無法重新命名範本:{0}"
msgid "Couldn't reopen that comment."
msgstr "無法重新開啟那則註解。"
-#: src/comments/store.ts
-msgid "Couldn't resolve that comment."
-msgstr "無法解決那則註解。"
-
#: src/components/DiffViewBoundary.tsx
msgid "Couldn't resolve the conflict for {filePath}."
msgstr "無法解決 {filePath} 的衝突。"
@@ -3543,10 +3561,6 @@ msgstr "無法更新技能分享設定"
msgid "Couldn't update skills sharing — {detail}."
msgstr "無法更新技能分享設定——{detail}。"
-#: src/comments/use-comment-delivery.ts
-msgid "Couldn't work out where to send the comments — they're still waiting."
-msgstr "無法判斷要把這些註解送到哪裡——它們還在等著。"
-
#: src/components/settings/settings-fields.ts
msgid "Count skill installs publicly"
msgstr "公開統計技能安裝次數"
@@ -3891,7 +3905,7 @@ msgstr "刪除表格"
msgid "Delete this chat?"
msgstr "刪除此對話?"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Delete this comment"
msgstr "刪除這則註解"
@@ -4198,8 +4212,7 @@ msgid "Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code e
msgstr "沒看到<0>技能</0>嗎?請先啟用<1>設定 <2/> 功能 <3/> 程式碼執行與檔案建立</1>。"
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Don't send this comment"
msgstr "不要傳送這則註解"
@@ -4389,7 +4402,7 @@ msgstr "編輯原始碼"
msgid "Edit source pane and code property fields"
msgstr "編輯原始碼窗格和程式碼類屬性欄位"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Edit this comment"
msgstr "編輯這則註解"
@@ -4718,6 +4731,10 @@ msgstr "全部展開"
msgid "Expand all file groups"
msgstr "展開所有檔案群組"
+#: src/comments/CommentListPanel.tsx
+msgid "Expand all files"
+msgstr "展開全部檔案"
+
#: src/components/GraphPanel.tsx
msgid "Expand graph"
msgstr "展開關係圖"
@@ -5565,7 +5582,6 @@ msgstr "移至 {1} 的第 {0} 行"
#. placeholder {0}: docBasename(thread.docName)
#: src/comments/comment-chips.tsx
-#: src/comments/CommentQueuePanel.tsx
msgid "Go to this comment in {0}"
msgstr "在 {0} 中查看這則註解"
@@ -5598,6 +5614,10 @@ msgstr "指引你的 AI 代理在這裡該怎麼做事。"
msgid "guides/install or https://example.com"
msgstr "guides/install 或 https://example.com"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Hand the checked comments to an agent in one turn. On This doc, that document's comments only; on This project, every checked comment. Does nothing while the Comments tab is closed."
+msgstr "一次把勾選的註解交給智慧代理。在「這份文件」下只傳送該文件的註解;在「這個專案」下傳送所有勾選的註解。註解分頁關閉時不會有任何動作。"
+
#: src/lib/keyboard-shortcuts.ts
msgid "Hard break"
msgstr "強制換行"
@@ -5771,10 +5791,14 @@ msgstr "隱藏問題標記"
msgid "Hide replace"
msgstr "隱藏取代"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Hide resolved"
msgstr "隱藏已解決的"
+#: src/comments/CommentListPanel.tsx
+msgid "Hide resolved comments"
+msgstr "隱藏已解決的註解"
+
#: src/components/BottomComposer.tsx
msgid "Hide selection preview"
msgstr "隱藏選取範圍預覽"
@@ -5983,10 +6007,6 @@ msgstr "在應用程式內(beta)"
msgid "In the Claude Desktop App"
msgstr "在 Claude Desktop App 中"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Include in dispatch"
-msgstr "納入這次傳送"
-
#: src/comments/comment-chips.tsx
msgid "Include this comment in the next send"
msgstr "下次傳送時包含這則註解"
@@ -6344,7 +6364,7 @@ msgstr "跳到第 {pageNumber} 頁"
msgid "Jump to tab 1-8"
msgstr "跳到第 1-8 個分頁"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Jump to the anchored text"
msgstr "跳到錨定的文字"
@@ -6799,6 +6819,10 @@ msgstr "梳理架構"
msgid "Mark a block as the source of truth. Mirrors elsewhere update live as you edit it."
msgstr "把某個區塊標記為事實來源。你編輯它的時候,別處的鏡像會即時更新。"
+#: src/comments/CommentSendFooter.tsx
+msgid "Mark every comment to send"
+msgstr "勾選全部註解以傳送"
+
#: src/components/EditorModeToggle.tsx
msgid "Markdown"
msgstr "Markdown"
@@ -7355,7 +7379,7 @@ msgstr "還沒有設定任何代理——請從傳送選單中挑一個。"
msgid "No agents available."
msgstr "沒有可用的代理。"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/components/BottomComposer.tsx
msgid "No agents enabled"
msgstr "沒有啟用任何代理"
@@ -7388,6 +7412,10 @@ msgstr "沒有變更"
msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
msgstr "這個 worktree 沒有協作伺服器——請在這裡執行 <0>ok start</0>,或重新開啟專案。"
+#: src/comments/CommentProjectPanel.tsx
+msgid "No comments in this project yet. Comment on a passage to start one."
+msgstr "這個專案還沒有註解。為一段內容新增註解即可開始。"
+
#: src/comments/CommentsPanel.tsx
msgid "No comments yet. Select text in the document to add one."
msgstr "還沒有註解。在文件中選取文字就能加上一則。"
@@ -7742,10 +7770,6 @@ msgstr "無({0} 不是有效的模式)"
msgid "Nothing set yet."
msgstr "還沒有設定任何東西。"
-#: src/comments/CommentQueuePanel.tsx
-msgid "Nothing to send yet. Comment on a passage to add it here."
-msgstr "還沒有可傳送的內容。對某段文字加上註解就會出現在這裡。"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Nothing was uploaded. The report stays on this Mac until you email it to us."
msgstr "什麼都沒有上傳。在你用電子郵件寄給我們之前,這份回報只會留在這台 Mac 上。"
@@ -7944,10 +7968,6 @@ msgstr "開啟代理面板"
msgid "Open an existing project folder from disk."
msgstr "從磁碟開啟一個既有的專案資料夾。"
-#: src/lib/keyboard-shortcuts.ts
-msgid "Open and focus the Ask AI composer for the current editor selection."
-msgstr "針對目前的編輯器選取範圍開啟並聚焦「問 AI」輸入框。"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Open and focus the bottom Ask AI prompt composer."
msgstr "開啟並聚焦底部的「問 AI」提示輸入框。"
@@ -7968,6 +7988,10 @@ msgstr "開啟 CodeMirror 的檢查診斷面板。"
msgid "Open comment"
msgstr "開啟註解"
+#: src/comments/CommentSelectionAffordance.tsx
+msgid "Open Comments"
+msgstr "開啟註解"
+
#: src/lib/reveal-label.ts
msgid "Open containing folder"
msgstr "開啟所在的資料夾"
@@ -8436,7 +8460,7 @@ msgstr "原始檔案——這個代理編輯之前的樣子。"
msgid "Orphan mode"
msgstr "孤立頁模式"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Orphaned"
msgstr "孤立"
@@ -9102,7 +9126,7 @@ msgstr "重新用 GitHub Enterprise Server 驗證"
msgid "Re-embedding happens as searches run, so coverage restarts at zero and refills."
msgstr "重新產生嵌入向量會隨著搜尋進行,所以涵蓋率會從零重新累積。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Re-place on selected text"
msgstr "重新定位到選取的文字上"
@@ -9130,10 +9154,6 @@ msgstr "{name} 技能中的唯讀檔案"
msgid "Reading…"
msgstr "閱讀中…"
-#: src/comments/CommentsPanel.tsx
-msgid "Ready to send"
-msgstr "可以傳送了"
-
#: src/components/SeedDialog.tsx
msgid "Ready-made folders and templates to get you started quickly."
msgstr "現成的資料夾和範本,幫你快速上手。"
@@ -9470,7 +9490,7 @@ msgstr "算繪錯誤"
msgid "Rendered"
msgstr "已顯示"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Reopen"
msgstr "重新開啟"
@@ -9636,10 +9656,6 @@ msgstr "重設檢視篩選條件"
msgid "Resize {handleKey}"
msgstr "調整 {handleKey} 的大小"
-#: src/comments/CommentsPanel.tsx
-msgid "Resolve"
-msgstr "解決"
-
#: src/components/SyncStatusBadge.tsx
msgid "Resolve conflict in your terminal"
msgstr "在你的終端機中解決衝突"
@@ -9652,7 +9668,7 @@ msgstr "刪除前請先解決 {files} 上的衝突。"
msgid "Resolve the conflict on {files}, +{overflow} more before deleting."
msgstr "刪除前請先解決 {files} 以及另外 {overflow} 個檔案上的衝突。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Resolved"
msgstr "已解決"
@@ -10191,7 +10207,7 @@ msgstr "選取下一個出現的位置"
msgid "Select the full source document."
msgstr "選取整份原始碼文件。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "Select this text in the property"
msgstr "在屬性中選取這段文字"
@@ -10244,6 +10260,10 @@ msgstr "傳送"
msgid "Send & continue"
msgstr "傳送並繼續"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Send checked comments to chat"
+msgstr "將勾選的註解傳送到對話"
+
#: src/comments/QueueNewChatRow.tsx
msgid "Send comments to"
msgstr "把註解傳送到"
@@ -10257,22 +10277,23 @@ msgstr "傳送意見回饋"
msgid "Send feedback…"
msgstr "傳送意見回饋…"
-#: src/comments/CommentsPanel.tsx
-msgid "Send later"
-msgstr "稍後傳送"
-
#: src/components/ReportBugDialogBody.tsx
msgid "Send report"
msgstr "傳送回報"
-#: src/comments/CommentSelectionAffordance.tsx
-msgid "Send to AI"
-msgstr "傳送給 AI"
+#: src/comments/ThreadCard.tsx
+msgid "Send this comment"
+msgstr "傳送這則註解"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
msgid "Send to chat"
msgstr "傳送到對話"
+#. placeholder {0}: formatShortcutLabel('send-comment-queue')
+#: src/comments/CommentSendFooter.tsx
+msgid "Send to chat ({0})"
+msgstr "傳送到對話({0})"
+
#: src/components/acp/ThreadView.tsx
msgid "Send when the agent is free"
msgstr "在智慧體空閒時傳送"
@@ -10658,10 +10679,14 @@ msgid "Show replace"
msgstr "顯示取代"
#. placeholder {0}: resolved.length
-#: src/comments/CommentsPanel.tsx
+#: src/comments/CommentListPanel.tsx
msgid "Show resolved ({0})"
msgstr "顯示已解決的({0})"
+#: src/comments/CommentListPanel.tsx
+msgid "Show resolved comments"
+msgstr "顯示已解決的註解"
+
#: src/components/BottomComposer.tsx
msgid "Show selection preview"
msgstr "顯示選取範圍預覽"
@@ -10961,6 +10986,10 @@ msgstr "原始碼復原或重做"
msgid "Split list item"
msgstr "分割清單項目"
+#: src/lib/keyboard-shortcuts.ts
+msgid "Stage the selected passage in the agents panel, ready to extend and send."
+msgstr "把選取的內容放入代理面板,隨時可以補充並傳送。"
+
#: src/components/SubscribeCard.tsx
msgid "Star us on GitHub"
msgstr "在 GitHub 上給我們一顆星"
@@ -10982,7 +11011,7 @@ msgstr "啟動 {agentName},{hint}"
msgid "Start a chat with the + button, or launch an agent from a page."
msgstr "使用 + 按鈕開始對話,或從頁面啟動智慧代理。"
-#: src/comments/CommentQueuePanel.tsx
+#: src/comments/CommentSendFooter.tsx
#: src/comments/QueueNewChatRow.tsx
msgid "Start a new chat"
msgstr "開始新的對話"
@@ -11544,10 +11573,6 @@ msgstr "謝謝你的意見回饋!"
msgid "Thanks for the report!"
msgstr "謝謝你的回報!"
-#: src/comments/use-comment-delivery.ts
-msgid "That app isn't available — the comments are still waiting to send."
-msgstr "那個應用程式無法使用——那些註解仍在等著傳送。"
-
#: src/components/NewWorktreeDialog.tsx
#: src/components/ShareBranchSwitchDialog.tsx
msgid "That branch is already open in another worktree."
@@ -11598,7 +11623,7 @@ msgstr "智慧代理沒有停止。強制停止將關閉此對話並結束智慧
msgid "The agent's persona, values, and voice."
msgstr "代理的人設、價值觀和語氣。"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "The anchored text is gone. You can re-place it on selected text."
msgstr "錨定的文字已經不見了。你可以把它重新定位到選取的文字上。"
@@ -11749,10 +11774,6 @@ msgstr "範本的檔案名稱(不含 `.md`)。"
msgid "The terminal is turned off for this project. Turn it back on to run commands here."
msgstr "這個專案關閉了終端機。重新開啟後才能在這裡執行指令。"
-#: src/comments/use-comment-delivery.ts
-msgid "The terminal isn't available here — the comments are still waiting to send."
-msgstr "這裡沒有可用的終端機——那些註解仍在等著傳送。"
-
#. placeholder {0}: info.exitCode
#: src/components/TerminalExitNotice.tsx
msgid "The terminal session ended (exit code {0})."
@@ -11877,7 +11898,7 @@ msgstr "這個分支已在以下位置簽出:"
msgid "This can be configured in Settings > AI tools & CLI"
msgstr "這可以在「設定 > AI 工具與 CLI」中設定"
-#: src/comments/CommentsPanel.tsx
+#: src/comments/ThreadCard.tsx
msgid "This comment is on the whole property"
msgstr "這則註解是針對整個屬性的"
@@ -12037,6 +12058,7 @@ msgstr "此操作會從「{2}」技能中永久刪除 {0}/{1}。SKILL.md 中指
msgid "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."
msgstr "這會永久移除 {path}。在重新建立它,或由上層資料夾中的同名範本取代之前,用名稱參照這個範本的代理都會失敗。"
+#: src/comments/CommentsTab.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "This project"
msgstr "這個專案"
@@ -12171,10 +12193,6 @@ msgstr "待辦"
msgid "To do."
msgstr "待辦。"
-#: src/comments/CommentsTab.tsx
-msgid "To send"
-msgstr "待傳送"
-
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle a bullet list."
msgstr "切換項目符號清單。"
@@ -12250,8 +12268,8 @@ msgid "Toggle strikethrough formatting."
msgstr "切換刪除線格式。"
#: src/lib/keyboard-shortcuts.ts
-msgid "Toggle the bottom dock, where the terminal lives. With text selected, stage it for your preferred AI instead."
-msgstr "切換底部面板(終端機所在處)。若已選取文字,則改為將其送往你偏好的 AI。"
+msgid "Toggle the bottom dock, where the terminal lives."
+msgstr "顯示或隱藏底部面板,終端機就在那裡。"
#: src/lib/keyboard-shortcuts.ts
msgid "Toggle the left file sidebar."
@@ -12503,6 +12521,10 @@ msgstr "未知的錯誤"
msgid "unlink"
msgstr "取消連結"
+#: src/comments/CommentSendFooter.tsx
+msgid "Unmark every comment"
+msgstr "取消勾選全部註解"
+
#: src/editor/slash-command/items.tsx
msgid "Unordered list of items."
msgstr "沒有編號的項目清單。"
@@ -12958,6 +12980,10 @@ msgstr "開啟之後,代理每次編輯完都會開啟或重新整理預覽。
msgid "When the agent runs its scheduled work."
msgstr "代理執行排程工作的時間。"
+#: src/lib/keyboard-shortcuts.ts
+msgid "When the Comments tab is open"
+msgstr "當註解分頁開啟時"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "When you hover an external link, its URL is sent to the destination site to fetch the page's preview metadata — one request per previewed link."
msgstr "把游標停在外部連結上時,它的 URL 會送到目標網站,以取得那個頁面的預覽中繼資料——每個被預覽的連結送一次要求。"
diff --git a/packages/core/src/bridge/bind-frontmatter-doc.ts b/packages/core/src/bridge/bind-frontmatter-doc.ts
index d7a845280..dfd95ef49 100644
--- a/packages/core/src/bridge/bind-frontmatter-doc.ts
+++ b/packages/core/src/bridge/bind-frontmatter-doc.ts
@@ -1,3 +1,4 @@
+
import type * as Y from 'yjs';
import type { Err, Ok, Result } from '../config/result.ts';
import { type FrontmatterValidationError, toFrontmatterIssue } from '../frontmatter/errors.ts';
diff --git a/packages/core/src/bridge/bridge-invariant.ts b/packages/core/src/bridge/bridge-invariant.ts
index 005627195..8bfdb40cd 100644
--- a/packages/core/src/bridge/bridge-invariant.ts
+++ b/packages/core/src/bridge/bridge-invariant.ts
@@ -1,3 +1,4 @@
+
import { fnv1aDigest } from './hash-util.ts';
export type BridgeInvariantSite = 'observer-b' | 'persistence' | 'test-harness';
diff --git a/packages/core/src/bridge/compose.ts b/packages/core/src/bridge/compose.ts
index f4cc8a286..2a597ec3d 100644
--- a/packages/core/src/bridge/compose.ts
+++ b/packages/core/src/bridge/compose.ts
@@ -1,3 +1,4 @@
+
import { prependFrontmatter, stripFrontmatter } from '../extensions/frontmatter.ts';
export type ComposeAdjustment = 'none' | 'body' | 'frontmatter' | 'unresolved';
diff --git a/packages/core/src/bridge/doc-boundary-space.ts b/packages/core/src/bridge/doc-boundary-space.ts
index 8fb428b90..01ef76a9f 100644
--- a/packages/core/src/bridge/doc-boundary-space.ts
+++ b/packages/core/src/bridge/doc-boundary-space.ts
@@ -1,3 +1,4 @@
+
import { FRONTMATTER_RE, stripFrontmatter } from '../extensions/frontmatter.ts';
import { carriedEdgeEmpties, type DocEdgeEmpties } from '../markdown/doc-edge-blank-runs.ts';
diff --git a/packages/core/src/bridge/growth-detect.ts b/packages/core/src/bridge/growth-detect.ts
index 9d9c244b0..463e89595 100644
--- a/packages/core/src/bridge/growth-detect.ts
+++ b/packages/core/src/bridge/growth-detect.ts
@@ -1,3 +1,4 @@
+
const DEFAULT_MIN_SUBSTANTIVE_LINE_LENGTH = 16;
export const DUPLICATION_GATE_MIN_LINE_LENGTH = 8;
diff --git a/packages/core/src/bridge/intraline-predicate.ts b/packages/core/src/bridge/intraline-predicate.ts
index c43fdd7e7..0939885bb 100644
--- a/packages/core/src/bridge/intraline-predicate.ts
+++ b/packages/core/src/bridge/intraline-predicate.ts
@@ -1,3 +1,4 @@
+
export function rawLineCounts(doc: string): Map<string, number> {
const counts = new Map<string, number>();
for (const line of doc.split('\n')) {
diff --git a/packages/core/src/bridge/merge-three-way.ts b/packages/core/src/bridge/merge-three-way.ts
index 251560a35..c0dc65705 100644
--- a/packages/core/src/bridge/merge-three-way.ts
+++ b/packages/core/src/bridge/merge-three-way.ts
@@ -65,6 +65,7 @@ export function tryLineLevelCombine(
return { clean: true, merged };
}
+
export type BridgeMergeContentLossSide = 'user' | 'agent';
export type BridgeMergeContentLossWhich = 'substring' | 'order' | 'growth';
diff --git a/packages/core/src/bridge/normalize.ts b/packages/core/src/bridge/normalize.ts
index 01ac80099..dcc5b0690 100644
--- a/packages/core/src/bridge/normalize.ts
+++ b/packages/core/src/bridge/normalize.ts
@@ -1,3 +1,4 @@
+
import { stripFrontmatter } from '../extensions/frontmatter.ts';
import { bodyEdgeEmpties } from './doc-boundary-space.ts';
diff --git a/packages/core/src/bridge/pm-structural-equivalence.ts b/packages/core/src/bridge/pm-structural-equivalence.ts
index 754dc5cc2..0be5203e4 100644
--- a/packages/core/src/bridge/pm-structural-equivalence.ts
+++ b/packages/core/src/bridge/pm-structural-equivalence.ts
@@ -32,6 +32,7 @@ const BR_SENTINEL: PmStructuralNode = { type: '__br__' };
const BR_LITERAL_RE = /^<br\s*\/?>$/i;
+
interface DegradeEntry {
readonly label: string;
readonly severity: ToleranceClassSeverity;
@@ -127,6 +128,7 @@ export interface ComparePmStructuralOptions {
ignoreAttrs?: (attrKey: string) => boolean;
}
+
/** Rebuild a node with `fn` applied to each child; identity when childless.
* Shared by the degrade canonicalizers so none re-implements the walk. */
function mapChildren(
@@ -248,6 +250,7 @@ function applyDegrades(tree: PmStructuralNode): {
return { normalized: current, fired };
}
+
export function comparePmStructural(
expected: PmStructuralNode,
actual: PmStructuralNode,
diff --git a/packages/core/src/bridge/subsequence.ts b/packages/core/src/bridge/subsequence.ts
index af20de1e2..dca644141 100644
--- a/packages/core/src/bridge/subsequence.ts
+++ b/packages/core/src/bridge/subsequence.ts
@@ -1,3 +1,4 @@
+
/** True when `needle` is a subsequence of `haystack` (two-pointer, O(n+m)):
* insertions in `haystack` are free; any dropped or substituted `needle` byte
* fails. */
diff --git a/packages/core/src/commands/command-identity.ts b/packages/core/src/commands/command-identity.ts
index 234f12f1a..1d1b1d25f 100644
--- a/packages/core/src/commands/command-identity.ts
+++ b/packages/core/src/commands/command-identity.ts
@@ -175,6 +175,19 @@ export interface CommandStateToggle {
| 'agentPanelVisible';
/** Menu default when the state is unknown (sidebar/doc-panel start visible → "Hide"). */
readonly defaultVisible: boolean;
+ /**
+ * A third label that REPLACES show/hide entirely while `overrideField` is
+ * true, for a command whose action changes with state rather than merely
+ * inverting.
+ *
+ * Exists because a show/hide pair can only ever describe a toggle. ⌘L stages a
+ * selection instead of toggling when one exists, so with only the pair the
+ * item promised "Hide Agents" and then neither hid them nor said what it did.
+ * A menu item that cannot name its own action is worse than one with an
+ * unusual name, so the override wins over the pair — never the reverse.
+ */
+ readonly overrideKey?: MenuLabelKey;
+ readonly overrideField?: 'hasEditorSelection';
}
/** View-menu-state checkbox field a command's check indicator reads. */
@@ -617,6 +630,8 @@ export const COMMAND_IDENTITIES: readonly CommandIdentity[] = [
hideKey: 'agentPanelHide',
stateField: 'agentPanelVisible',
defaultVisible: false,
+ overrideKey: 'agentPanelAskSelection',
+ overrideField: 'hasEditorSelection',
},
availability: {},
palette: { group: 'view', visibility: 'search-only' },
diff --git a/packages/core/src/constants/menu-labels.ts b/packages/core/src/constants/menu-labels.ts
index dcb70f9f9..f86497d5c 100644
--- a/packages/core/src/constants/menu-labels.ts
+++ b/packages/core/src/constants/menu-labels.ts
@@ -104,6 +104,10 @@ export const MENU_LABELS = {
terminalHide: 'Hide Bottom Dock',
agentPanelShow: 'Show Agents',
agentPanelHide: 'Hide Agents',
+ // ⌘L stages a selection rather than toggling when one exists, so the item
+ // renames itself to what it will actually do. Without this it reads "Hide
+ // Agents" and then does not hide them.
+ agentPanelAskSelection: 'Ask AI About Selection',
// Palette form for the install command, whose native-menu leaf renders a
// different literal via the placement's `menuLabelText` ("…(desktop app)"
// lowercase), so only this palette string participates in the shared-label
diff --git a/packages/core/src/desktop-bridge.ts b/packages/core/src/desktop-bridge.ts
index 5572323a3..1762055af 100644
--- a/packages/core/src/desktop-bridge.ts
+++ b/packages/core/src/desktop-bridge.ts
@@ -849,6 +849,13 @@ export interface OkEditorViewMenuStateSnapshot {
readonly terminalLive?: boolean;
readonly agentPanelVisible?: boolean;
readonly canViewInSource?: boolean;
+ /**
+ * Is there a live editor selection? ⌘L stages that selection in the agents
+ * panel instead of toggling it, so the menu item has to know: without this the
+ * label reads "Hide Agents" while the click stages a passage and the panel
+ * stays open.
+ */
+ readonly hasEditorSelection?: boolean;
}
/**
diff --git a/packages/core/src/markdown/callout-transformer.ts b/packages/core/src/markdown/callout-transformer.ts
index 83d47404a..a363dfd54 100644
--- a/packages/core/src/markdown/callout-transformer.ts
+++ b/packages/core/src/markdown/callout-transformer.ts
@@ -1,3 +1,4 @@
+
import type { Blockquote, Paragraph, Root } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/code-fence.ts b/packages/core/src/markdown/code-fence.ts
index 9807a7e82..4499dbc92 100644
--- a/packages/core/src/markdown/code-fence.ts
+++ b/packages/core/src/markdown/code-fence.ts
@@ -1,3 +1,4 @@
+
export function selectFenceChar(info: string): '`' | '~' {
return info.includes('`') ? '~' : '`';
}
diff --git a/packages/core/src/markdown/comment-promoter.ts b/packages/core/src/markdown/comment-promoter.ts
index 7415c474a..34704165b 100644
--- a/packages/core/src/markdown/comment-promoter.ts
+++ b/packages/core/src/markdown/comment-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Paragraph, PhrasingContent, Root, RootContent, Text } from 'mdast';
import { SKIP, visit } from 'unist-util-visit';
import type { VFile } from 'vfile';
diff --git a/packages/core/src/markdown/dedent-block-jsx-close.ts b/packages/core/src/markdown/dedent-block-jsx-close.ts
index ece5c02a1..b6299a948 100644
--- a/packages/core/src/markdown/dedent-block-jsx-close.ts
+++ b/packages/core/src/markdown/dedent-block-jsx-close.ts
@@ -1,3 +1,4 @@
+
import { findFencedRegions, isInsideFence } from './fence-regions.ts';
const INDENTED_BLOCK_JSX_CLOSE_RE = /^([ ]{1,3})(<\/[A-Z][A-Za-z0-9_]*\s*>)([ \t]*)$/gm;
diff --git a/packages/core/src/markdown/details-accordion-promoter.ts b/packages/core/src/markdown/details-accordion-promoter.ts
index 54774764a..acd398aa6 100644
--- a/packages/core/src/markdown/details-accordion-promoter.ts
+++ b/packages/core/src/markdown/details-accordion-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Paragraph, Parent, Root, Text } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/div-align-promoter.ts b/packages/core/src/markdown/div-align-promoter.ts
index 43ecdc709..ba9b56384 100644
--- a/packages/core/src/markdown/div-align-promoter.ts
+++ b/packages/core/src/markdown/div-align-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Paragraph, Parent, Root, Text } from 'mdast';
import type { MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/fence-regions.ts b/packages/core/src/markdown/fence-regions.ts
index 6d3f3643e..4513da9bb 100644
--- a/packages/core/src/markdown/fence-regions.ts
+++ b/packages/core/src/markdown/fence-regions.ts
@@ -1,3 +1,4 @@
+
const FENCE_RE = /^(`{3,}|~{3,})/gm;
export function findFencedRegions(src: string): Array<[number, number]> {
diff --git a/packages/core/src/markdown/fixtures/index.ts b/packages/core/src/markdown/fixtures/index.ts
index 00f5771ee..6931623c7 100644
--- a/packages/core/src/markdown/fixtures/index.ts
+++ b/packages/core/src/markdown/fixtures/index.ts
@@ -1,3 +1,4 @@
+
import { readFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
@@ -8,6 +9,7 @@ function fixturePath(...segments: string[]): string {
return resolve(FIXTURES_DIR, ...segments);
}
+
interface GfmExample {
section: string;
markdown: string;
@@ -17,6 +19,7 @@ export function loadGfmExamples(): GfmExample[] {
return JSON.parse(readFileSync(fixturePath('gfm', 'examples.json'), 'utf8')) as GfmExample[];
}
+
interface MdxCrashEntry {
id: string;
input: string;
@@ -68,6 +71,7 @@ export function loadLargeEmbedFixtures(): LargeEmbedFixture[] {
) as LargeEmbedFixture[];
}
+
export function loadPrd6955Before(): string {
return readFileSync(fixturePath('regression', 'prd-6955-before.md'), 'utf8');
}
@@ -76,6 +80,7 @@ export function loadPrd6955CorruptedTriplicated(): string {
return readFileSync(fixturePath('regression', 'prd-6955-corrupted-triplicated.md'), 'utf8');
}
+
export interface NgPinnedCase {
id: string;
name: string;
@@ -92,6 +97,7 @@ export function loadNgPinnedCases(): NgPinnedCase[] {
) as NgPinnedCase[];
}
+
export function loadLargeRealistic(): string {
return readFileSync(fixturePath('perf', 'large-realistic.md'), 'utf8');
}
diff --git a/packages/core/src/markdown/fixtures/perf/generate.ts b/packages/core/src/markdown/fixtures/perf/generate.ts
index 8b1eb8519..daa3ef82b 100644
--- a/packages/core/src/markdown/fixtures/perf/generate.ts
+++ b/packages/core/src/markdown/fixtures/perf/generate.ts
@@ -1,3 +1,4 @@
+
import { writeFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
@@ -10,6 +11,7 @@ const BASELINE_ONLY_COUNTS = [500, 2500] as const;
const SEED = 0xf1de1117;
+
function mulberry32(seed: number): () => number {
let a = seed >>> 0;
return () => {
@@ -36,6 +38,7 @@ function pickWeighted<T>(rand: () => number, items: readonly [T, number][]): T {
return items[items.length - 1][0];
}
+
const WORDS = [
'lorem',
'ipsum',
@@ -153,6 +156,7 @@ function mdxBlock(rand: () => number): string {
return `<${name}>\n\n${sentence(rand)}\n\n</${name}>`;
}
+
type BlockKind = 'paragraph' | 'heading' | 'list' | 'code' | 'table' | 'mdx';
const MIX: readonly [BlockKind, number][] = [
@@ -191,6 +195,7 @@ function generateDocument(blockCount: number, seed: number): string {
return `${blocks.join('\n\n')}\n`;
}
+
function main(): void {
for (const count of [...BLOCK_COUNTS, ...BASELINE_ONLY_COUNTS]) {
const doc = generateDocument(count, SEED);
diff --git a/packages/core/src/markdown/guard-flanking-matrix.ts b/packages/core/src/markdown/guard-flanking-matrix.ts
index 420dc0fe5..32c055c5b 100644
--- a/packages/core/src/markdown/guard-flanking-matrix.ts
+++ b/packages/core/src/markdown/guard-flanking-matrix.ts
@@ -7,6 +7,7 @@ import {
import { BACKSLASH_GUARD_SUBSTITUTIONS, encodeBackslashEscapes } from './backslash-escape-guard.ts';
import { ENTITY_REF_GUARD_SUBSTITUTIONS, encodeEntityRefs } from './entity-ref-guard.ts';
+
export const ATTENTION_DELIMITERS = ['*', '_', '**', '~~', '=='] as const;
export type FlankClass = 'whitespace' | 'punctuation' | 'other';
diff --git a/packages/core/src/markdown/handler-shadow-audit.ts b/packages/core/src/markdown/handler-shadow-audit.ts
index 2653473da..283913255 100644
--- a/packages/core/src/markdown/handler-shadow-audit.ts
+++ b/packages/core/src/markdown/handler-shadow-audit.ts
@@ -1,3 +1,4 @@
+
export interface HandlerShadowWitness {
input: string;
expect: 'byte' | 'byte-and-reparse-type';
diff --git a/packages/core/src/markdown/highlight-promoter.ts b/packages/core/src/markdown/highlight-promoter.ts
index da0a81d23..5d1000cc4 100644
--- a/packages/core/src/markdown/highlight-promoter.ts
+++ b/packages/core/src/markdown/highlight-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parent, PhrasingContent, Root, Text } from 'mdast';
import type { MdxJsxTextElement } from 'mdast-util-mdx';
import { SKIP, visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/html-to-mdast.ts b/packages/core/src/markdown/html-to-mdast.ts
index 787315157..9681c0056 100644
--- a/packages/core/src/markdown/html-to-mdast.ts
+++ b/packages/core/src/markdown/html-to-mdast.ts
@@ -1,3 +1,4 @@
+
import type { Element as HastElement, Root as HastRoot } from 'hast';
import type { List, Nodes as MdastNodes, Root as MdastRoot } from 'mdast';
import rehypeParse from 'rehype-parse';
@@ -128,7 +129,8 @@ export function htmlToMdast(html: string, options?: HtmlToMdastOptions): MdastRo
throw new HtmlPayloadTooLargeError(html.length, maxBytes);
}
- const processor = unified().use(rehypeParse, { fragment: true });
+ const processor = unified()
+ .use(rehypeParse, { fragment: true });
for (const plugin of cleanupPlugins) {
processor.use(plugin);
diff --git a/packages/core/src/markdown/image-promoter.ts b/packages/core/src/markdown/image-promoter.ts
index 706fa9afb..994eb6917 100644
--- a/packages/core/src/markdown/image-promoter.ts
+++ b/packages/core/src/markdown/image-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Image, Paragraph, Root } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/index.ts b/packages/core/src/markdown/index.ts
index 9075aa7f1..69221627d 100644
--- a/packages/core/src/markdown/index.ts
+++ b/packages/core/src/markdown/index.ts
@@ -1,3 +1,4 @@
+
import {
type FromProseMirrorOptions,
fromPmMark,
@@ -206,6 +207,7 @@ export class MarkdownManager {
}
}
+
const registry = createRegistry();
function destructureAttrs(
@@ -254,6 +256,7 @@ function destructureAttrs(
return result;
}
+
function hasDirtyDescendant(node: PmNode): boolean {
let found = false;
node.descendants((child) => {
@@ -276,6 +279,7 @@ function effectiveDirty(node: PmNode, freshnessChecker?: StructuralFreshnessChec
return freshnessChecker ? freshnessChecker.isDiverged(node.toJSON()) : false;
}
+
function isEmptyMdastParagraph(node: MdastNodes): boolean {
if (node.type !== 'paragraph') return false;
const children = node.children ?? [];
@@ -344,6 +348,7 @@ function extractTextFromMdastNodes(nodes: MdastNodes[]): string {
return out;
}
+
import {
AUDIO_EXTENSIONS,
FILE_ATTACHMENT_EXTENSIONS,
@@ -596,6 +601,7 @@ function buildMdastToPmHandlers(
}));
}
+
if (m.emphasis) {
handlers.emphasis = toPmMark(m.emphasis, (node: Emphasis) => ({
sourceDelimiter: node.data?.sourceDelimiter ?? '*',
@@ -676,6 +682,7 @@ function buildMdastToPmHandlers(
}));
}
+
if (m.link) {
const sourceLiteralMark = m.sourceLiteral;
handlers.link = (node: Link, _parent: MdastParent, state: MdastToPmState) => {
@@ -973,6 +980,7 @@ function buildMdastToPmHandlers(
};
}
+
const blockUnknownHandler = (node: {
type: string;
position?: { start: { offset: number }; end: { offset: number } };
@@ -1098,6 +1106,7 @@ function buildMdastToPmHandlers(
return handlers as RemarkProseMirrorOptions['handlers'];
}
+
function buildPmToMdastHandlers(
schema: Schema,
freshness: FreshnessCheckerHolder,
diff --git a/packages/core/src/markdown/lint/applies-to.ts b/packages/core/src/markdown/lint/applies-to.ts
index fa0be9e86..b79e9aef7 100644
--- a/packages/core/src/markdown/lint/applies-to.ts
+++ b/packages/core/src/markdown/lint/applies-to.ts
@@ -1,3 +1,4 @@
+
import picomatch from 'picomatch';
import { SUPPORTED_DOC_EXTENSIONS } from '../../constants/doc-extensions.ts';
diff --git a/packages/core/src/markdown/lint/config-files.ts b/packages/core/src/markdown/lint/config-files.ts
index 312c9c74b..94b34dee1 100644
--- a/packages/core/src/markdown/lint/config-files.ts
+++ b/packages/core/src/markdown/lint/config-files.ts
@@ -1,3 +1,4 @@
+
const MARKDOWNLINT_JSON_CONFIG_FILES: ReadonlySet<string> = new Set([
'.markdownlint.json',
'.markdownlint.jsonc',
diff --git a/packages/core/src/markdown/lint/config-schemas.ts b/packages/core/src/markdown/lint/config-schemas.ts
index 0ba33b7d8..e413367ef 100644
--- a/packages/core/src/markdown/lint/config-schemas.ts
+++ b/packages/core/src/markdown/lint/config-schemas.ts
@@ -38,6 +38,7 @@ const fullPluginShape = Object.fromEntries(
LINT_PLUGINS.map((plugin) => [plugin.id, plugin.sliceSchema]),
) as z.ZodRawShape;
+
export const LinterConfigSchema = z.object({
enabled: z.boolean(),
plugins: z.object(fullPluginShape),
diff --git a/packages/core/src/markdown/lint/default-config.ts b/packages/core/src/markdown/lint/default-config.ts
index d48eea5e4..a51f2ffb0 100644
--- a/packages/core/src/markdown/lint/default-config.ts
+++ b/packages/core/src/markdown/lint/default-config.ts
@@ -6,6 +6,7 @@ export const DEFAULT_MARKDOWNLINT_CONFIG: Record<string, MarkdownlintRuleSetting
MD013: false,
};
+
export function resolveMarkdownlintConfig(
rules: Record<string, MarkdownlintRuleSetting> | undefined,
): Configuration {
diff --git a/packages/core/src/markdown/lint/frontmatter-schema-edit.ts b/packages/core/src/markdown/lint/frontmatter-schema-edit.ts
index ef478e268..9c9542661 100644
--- a/packages/core/src/markdown/lint/frontmatter-schema-edit.ts
+++ b/packages/core/src/markdown/lint/frontmatter-schema-edit.ts
@@ -1,3 +1,4 @@
+
import { CANONICAL_SCHEMA_DIALECT_URIS, DEFAULT_SCHEMA_DIALECT } from './frontmatter-validate.ts';
export interface FrontmatterFieldConstraint {
diff --git a/packages/core/src/markdown/lint/frontmatter-validate.ts b/packages/core/src/markdown/lint/frontmatter-validate.ts
index 0d4c9a0df..b96d19182 100644
--- a/packages/core/src/markdown/lint/frontmatter-validate.ts
+++ b/packages/core/src/markdown/lint/frontmatter-validate.ts
@@ -1,3 +1,4 @@
+
import Ajv, { type ValidateFunction } from 'ajv';
import Ajv2019 from 'ajv/dist/2019.js';
import Ajv2020 from 'ajv/dist/2020.js';
diff --git a/packages/core/src/markdown/lint/index.ts b/packages/core/src/markdown/lint/index.ts
index 00d08265a..48d260ed6 100644
--- a/packages/core/src/markdown/lint/index.ts
+++ b/packages/core/src/markdown/lint/index.ts
@@ -1,3 +1,4 @@
+
import { LINT_PLUGINS, type LinterConfig } from './plugins.ts';
import type { LintDiagnostic } from './types.ts';
diff --git a/packages/core/src/markdown/lint/plugins.ts b/packages/core/src/markdown/lint/plugins.ts
index 5e832aa19..be5871ed9 100644
--- a/packages/core/src/markdown/lint/plugins.ts
+++ b/packages/core/src/markdown/lint/plugins.ts
@@ -1,3 +1,4 @@
+
import { z } from 'zod';
import { DEFAULT_MARKDOWNLINT_CONFIG, resolveMarkdownlintConfig } from './default-config.ts';
import {
@@ -13,6 +14,7 @@ import {
type MarkdownlintSlice,
} from './types.ts';
+
const MarkdownlintRuleSettingSchema = z.union([
z.boolean(),
z.enum(MARKDOWNLINT_RULE_SEVERITIES),
diff --git a/packages/core/src/markdown/lint/types.ts b/packages/core/src/markdown/lint/types.ts
index 3918e657c..833c3a727 100644
--- a/packages/core/src/markdown/lint/types.ts
+++ b/packages/core/src/markdown/lint/types.ts
@@ -1,3 +1,4 @@
+
export const LINT_PLUGIN_IDS = ['markdownlint', 'frontmatter'] as const;
export type LintPluginId = (typeof LINT_PLUGIN_IDS)[number];
@@ -71,6 +72,7 @@ export interface FrontmatterSlice {
schemas: ResolvedFrontmatterSchemaEntry[];
}
+
interface RuleOptionSpecBase {
key: string;
description: string;
diff --git a/packages/core/src/markdown/lint/validation-counts.ts b/packages/core/src/markdown/lint/validation-counts.ts
index 98238656e..437cc539a 100644
--- a/packages/core/src/markdown/lint/validation-counts.ts
+++ b/packages/core/src/markdown/lint/validation-counts.ts
@@ -1,3 +1,4 @@
+
export interface ValidationSourceCounts {
errorCount: number;
warningCount: number;
diff --git a/packages/core/src/markdown/math-promoter.ts b/packages/core/src/markdown/math-promoter.ts
index a5b511f25..bd79424c7 100644
--- a/packages/core/src/markdown/math-promoter.ts
+++ b/packages/core/src/markdown/math-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Code, Root } from 'mdast';
import type { Math as MdastMath } from 'mdast-util-math';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
diff --git a/packages/core/src/markdown/mdast-to-hast-handlers.ts b/packages/core/src/markdown/mdast-to-hast-handlers.ts
index ed89371d0..00fbc0035 100644
--- a/packages/core/src/markdown/mdast-to-hast-handlers.ts
+++ b/packages/core/src/markdown/mdast-to-hast-handlers.ts
@@ -1,3 +1,4 @@
+
import type { Comment, Element, ElementContent, Properties } from 'hast';
import type { FootnoteDefinition, FootnoteReference } from 'mdast';
import type { MdxJsxFlowElement, MdxJsxTextElement } from 'mdast-util-mdx';
diff --git a/packages/core/src/markdown/mdast-to-html.ts b/packages/core/src/markdown/mdast-to-html.ts
index 8ce2b2492..df788a80d 100644
--- a/packages/core/src/markdown/mdast-to-html.ts
+++ b/packages/core/src/markdown/mdast-to-html.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root as HastRoot, Text as HastText } from 'hast';
import type { Root as MdastRoot, Text as MdastText } from 'mdast';
import type { Handler } from 'mdast-util-to-hast';
diff --git a/packages/core/src/markdown/merged-walker.ts b/packages/core/src/markdown/merged-walker.ts
index bfd7e3109..fa3cfcd86 100644
--- a/packages/core/src/markdown/merged-walker.ts
+++ b/packages/core/src/markdown/merged-walker.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parent, Root } from 'mdast';
import { SKIP, visit } from 'unist-util-visit';
import type { VFile } from 'vfile';
diff --git a/packages/core/src/markdown/mermaid-promoter.ts b/packages/core/src/markdown/mermaid-promoter.ts
index 1a897fca8..17ed2b829 100644
--- a/packages/core/src/markdown/mermaid-promoter.ts
+++ b/packages/core/src/markdown/mermaid-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Code, Root } from 'mdast';
import type { MdxJsxAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/parse-with-fallback.ts b/packages/core/src/markdown/parse-with-fallback.ts
index d988f4b8b..4aa0490c4 100644
--- a/packages/core/src/markdown/parse-with-fallback.ts
+++ b/packages/core/src/markdown/parse-with-fallback.ts
@@ -168,6 +168,7 @@ export function parseRecursive(
}
}
+
interface VFilePlace {
offset?: number;
start?: { offset?: number };
@@ -186,6 +187,7 @@ function extractErrorOffset(err: unknown): number | undefined {
return undefined;
}
+
interface Region {
start: number;
end: number;
@@ -209,6 +211,7 @@ function nearestBlankLineAfter(src: string, offset: number): number | null {
return null;
}
+
export interface TagEvent {
kind: 'open' | 'close' | 'self-close';
name: string;
@@ -355,6 +358,7 @@ function findFallbackRegion(src: string, errorOffset: number): Region {
return { start: blockStart, end: blockEnd };
}
+
interface SourceBlock {
src: string;
start: number;
@@ -452,6 +456,7 @@ function tryPerBlockFallback(
};
}
+
function wholeDocRawText(source: string): JSONContent {
return {
type: 'doc',
diff --git a/packages/core/src/markdown/parser-drop-closure.ts b/packages/core/src/markdown/parser-drop-closure.ts
index e6ab4fd57..43d420187 100644
--- a/packages/core/src/markdown/parser-drop-closure.ts
+++ b/packages/core/src/markdown/parser-drop-closure.ts
@@ -1,3 +1,4 @@
+
export type DroppedTokenAdjudication =
| {
kind: 'format-dof-axis';
diff --git a/packages/core/src/markdown/pipeline.ts b/packages/core/src/markdown/pipeline.ts
index 449e6f12f..5af2f05f5 100644
--- a/packages/core/src/markdown/pipeline.ts
+++ b/packages/core/src/markdown/pipeline.ts
@@ -1,3 +1,4 @@
+
import {
type FromProseMirrorOptions,
fromProseMirror,
diff --git a/packages/core/src/markdown/position-aware-join.ts b/packages/core/src/markdown/position-aware-join.ts
index 91cdf658f..ccf06e94d 100644
--- a/packages/core/src/markdown/position-aware-join.ts
+++ b/packages/core/src/markdown/position-aware-join.ts
@@ -1,3 +1,4 @@
+
import type { Join } from 'mdast-util-to-markdown';
import type { Position } from 'unist';
import { isBlankLineParagraph } from './zero-emission-blocks.ts';
diff --git a/packages/core/src/markdown/position-slice.ts b/packages/core/src/markdown/position-slice.ts
index 0f399d34c..e5b4c9eba 100644
--- a/packages/core/src/markdown/position-slice.ts
+++ b/packages/core/src/markdown/position-slice.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Root } from 'mdast';
import { visit } from 'unist-util-visit';
import type { VFile } from 'vfile';
@@ -476,7 +477,8 @@ export function applyPositionSliceToNode(
const first = source[startOff];
if (first !== '[' && first !== '<' && !node.title) {
node.data.sourceStyle = 'gfm-autolink';
- } else if (first === '[') {
+ }
+ else if (first === '[') {
const slice = source.slice(startOff, endOff);
const closeBracketIdx = slice.lastIndexOf('](');
if (closeBracketIdx !== -1) {
diff --git a/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts b/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts
index db10fa54b..ca225ce9b 100644
--- a/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts
+++ b/packages/core/src/markdown/rehype-plugins/skip-notion-whitespace.ts
@@ -1,3 +1,4 @@
+
import type { Comment, Element, Root, Text } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts b/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts
index 34068d103..3a2524a9a 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-cocoa-meta.ts
@@ -1,3 +1,4 @@
+
import type { Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts b/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts
index 93151d43b..2279a0189 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-gdocs-wrapper.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts b/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts
index 188f02d83..a0f467c42 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-github-hovercard.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts b/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts
index 4ba2c3418..4e8542a21 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-gmail-classes.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts b/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts
index 1a74b1272..a3c96b24a 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-gsheets-wrapper.ts
@@ -1,3 +1,4 @@
+
import type { Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts b/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts
index de35e7b79..e95cf43d6 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-mso-styles.ts
@@ -1,3 +1,4 @@
+
import type { Comment, Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts b/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts
index b4be1b2ea..ffdb4d5b5 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-slack-classes.ts
@@ -1,3 +1,4 @@
+
import type { Element, ElementContent, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts b/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts
index 3c8d88b7c..e2a96d1a7 100644
--- a/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts
+++ b/packages/core/src/markdown/rehype-plugins/strip-vscode-spans.ts
@@ -1,3 +1,4 @@
+
import type { Element, Root } from 'hast';
import type { Plugin } from 'unified';
diff --git a/packages/core/src/markdown/resolve-image-url.ts b/packages/core/src/markdown/resolve-image-url.ts
index cf2c9da8e..0389575ac 100644
--- a/packages/core/src/markdown/resolve-image-url.ts
+++ b/packages/core/src/markdown/resolve-image-url.ts
@@ -1,3 +1,4 @@
+
import { isRelativeUrl } from './safe-url.ts';
function isDevDiagnosticContext(): boolean {
diff --git a/packages/core/src/markdown/safe-url.ts b/packages/core/src/markdown/safe-url.ts
index 4d3250d3a..8be632ba4 100644
--- a/packages/core/src/markdown/safe-url.ts
+++ b/packages/core/src/markdown/safe-url.ts
@@ -1,3 +1,4 @@
+
export const SAFE_URL_SCHEMES = ['https', 'http', 'mailto', 'tel', 'ftp', 'sms'] as const;
const SCHEME_ALT = SAFE_URL_SCHEMES.map((s) => `${s}:`).join('|');
diff --git a/packages/core/src/markdown/serialize-fidelity.test-helper.ts b/packages/core/src/markdown/serialize-fidelity.test-helper.ts
index 0dd54070e..96304e7a5 100644
--- a/packages/core/src/markdown/serialize-fidelity.test-helper.ts
+++ b/packages/core/src/markdown/serialize-fidelity.test-helper.ts
@@ -1,3 +1,4 @@
+
import type { JSONContent } from '@tiptap/core';
import type { Nodes } from 'mdast';
import { expect } from 'vitest';
diff --git a/packages/core/src/markdown/serialize-helpers.ts b/packages/core/src/markdown/serialize-helpers.ts
index 7cac5b042..93798cf83 100644
--- a/packages/core/src/markdown/serialize-helpers.ts
+++ b/packages/core/src/markdown/serialize-helpers.ts
@@ -1,3 +1,4 @@
+
import type { Node as PmNode } from '@tiptap/pm/model';
import type {
MdxJsxAttribute,
diff --git a/packages/core/src/markdown/single-dollar-math-promoter.ts b/packages/core/src/markdown/single-dollar-math-promoter.ts
index b012a5aff..8c08b7a04 100644
--- a/packages/core/src/markdown/single-dollar-math-promoter.ts
+++ b/packages/core/src/markdown/single-dollar-math-promoter.ts
@@ -1,3 +1,4 @@
+
import type { PhrasingContent, Root, Text } from 'mdast';
import type { InlineMath } from 'mdast-util-math';
import { SKIP, visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/to-markdown-handlers.ts b/packages/core/src/markdown/to-markdown-handlers.ts
index 3e79f8cb6..959cc0bd2 100644
--- a/packages/core/src/markdown/to-markdown-handlers.ts
+++ b/packages/core/src/markdown/to-markdown-handlers.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parents } from 'mdast';
import type { MdxJsxAttribute, MdxJsxExpressionAttribute, MdxJsxFlowElement } from 'mdast-util-mdx';
import type { Handle, Info, State } from 'mdast-util-to-markdown';
diff --git a/packages/core/src/markdown/underline-promoter.ts b/packages/core/src/markdown/underline-promoter.ts
index 0f1b0f27d..6e6d73400 100644
--- a/packages/core/src/markdown/underline-promoter.ts
+++ b/packages/core/src/markdown/underline-promoter.ts
@@ -1,3 +1,4 @@
+
import type { Nodes, Parent, Root } from 'mdast';
import type { MdxJsxTextElement } from 'mdast-util-mdx';
import { visit } from 'unist-util-visit';
diff --git a/packages/core/src/markdown/unknown-mdast-guard.ts b/packages/core/src/markdown/unknown-mdast-guard.ts
index 1a082bda7..932d7d2a8 100644
--- a/packages/core/src/markdown/unknown-mdast-guard.ts
+++ b/packages/core/src/markdown/unknown-mdast-guard.ts
@@ -1,3 +1,4 @@
+
import type { Root as MdastRoot } from 'mdast';
import type { VFile } from 'vfile';
diff --git a/packages/core/src/markdown/whitespace-char-ref.ts b/packages/core/src/markdown/whitespace-char-ref.ts
index d578476a7..ac9f5239b 100644
--- a/packages/core/src/markdown/whitespace-char-ref.ts
+++ b/packages/core/src/markdown/whitespace-char-ref.ts
@@ -1,3 +1,4 @@
+
const INLINE_WHITESPACE_BY_CODE: ReadonlyMap<number, string> = new Map([
[0x20, ' '],
[0x09, '\t'],
diff --git a/packages/core/src/markdown/wiki-link-micromark.ts b/packages/core/src/markdown/wiki-link-micromark.ts
index 6dad26200..afd9936fe 100644
--- a/packages/core/src/markdown/wiki-link-micromark.ts
+++ b/packages/core/src/markdown/wiki-link-micromark.ts
@@ -17,6 +17,7 @@ declare module 'micromark-util-types' {
}
}
+
const CODE_BANG = 33; // !
const CODE_LBRACKET = 91; // [
const CODE_RBRACKET = 93; // ]
@@ -260,6 +261,7 @@ export function wikiLinkSyntax(): Extension {
};
}
+
function enterWikiLink(this: CompileContext, token: Token) {
this.enter(
{
@@ -385,6 +387,7 @@ export const wikiLinkToMarkdown: {
unsafe: [{ character: '[', inConstruct: ['phrasing'] }],
};
+
const MICROMARK_EXT = wikiLinkSyntax();
export function remarkWikiLink(this: Processor) {
diff --git a/packages/desktop/src/main/menu.ts b/packages/desktop/src/main/menu.ts
index cdb8690d7..362f9df74 100644
--- a/packages/desktop/src/main/menu.ts
+++ b/packages/desktop/src/main/menu.ts
@@ -310,6 +310,12 @@ export interface MenuDeps {
* stays wired off-mac — agent threads are server-hosted, not pty-backed.
*/
agentPanelVisible?: boolean;
+ /**
+ * Live editor selection. `onToggleAgentPanel` stages that selection in the
+ * agents panel rather than toggling it, so the item renames itself to say so —
+ * see the `overrideKey` on this command's `stateToggle`.
+ */
+ hasEditorSelection?: boolean;
onToggleAgentPanel?(): void;
/**
* Top-level Terminal menu actions. `onNewTerminal` opens a new terminal tab
@@ -684,7 +690,13 @@ function menuLeafLabel(
): string {
if (placement.menuLabelText !== undefined) return translate(placement.menuLabelText);
if (cmd.stateToggle) {
- const { stateField, defaultVisible, showKey, hideKey } = cmd.stateToggle;
+ const { stateField, defaultVisible, showKey, hideKey, overrideKey, overrideField } =
+ cmd.stateToggle;
+ // The override wins over the show/hide pair: it names an action the toggle
+ // is not performing, so deferring to the pair would leave the item lying.
+ if (overrideKey !== undefined && overrideField !== undefined && deps[overrideField] === true) {
+ return MENU_LABELS[overrideKey];
+ }
const visible = deps[stateField] ?? defaultVisible;
return translate(MENU_LABELS[visible ? hideKey : showKey]);
}
diff --git a/packages/desktop/src/main/view-menu-state.test.ts b/packages/desktop/src/main/view-menu-state.test.ts
index 75767148d..ea5033def 100644
--- a/packages/desktop/src/main/view-menu-state.test.ts
+++ b/packages/desktop/src/main/view-menu-state.test.ts
@@ -160,6 +160,10 @@ describe('createDefaultEditorViewMenuState — pre-first-push menu state', () =>
// Restrictive by design: this one gates a context-menu row, and a row
// offered before the renderer says the jump is live would do nothing.
canViewInSource: false,
+ // Same posture: pre-push, assume no selection so View → Agents reads as
+ // the plain Show/Hide toggle. Defaulting true would rename the item to
+ // "Ask AI About Selection" on a window that has no selection at all.
+ hasEditorSelection: false,
});
});
});
@@ -179,6 +183,7 @@ describe('buildViewMenuStateDeps — snapshot → menu-deps wiring', () => {
terminalVisible: true,
terminalLive: true,
agentPanelVisible: true,
+ hasEditorSelection: true,
} as const;
test('maps every snapshot field onto its menu dep', () => {
@@ -194,6 +199,7 @@ describe('buildViewMenuStateDeps — snapshot → menu-deps wiring', () => {
expect(deps.terminalVisible).toBe(true);
expect(deps.terminalLive).toBe(true);
expect(deps.agentPanelVisible).toBe(true);
+ expect(deps.hasEditorSelection).toBe(true);
});
test('each toggle / tree / terminal handler dispatches its menu-action ID', () => {
diff --git a/packages/desktop/src/main/view-menu-state.ts b/packages/desktop/src/main/view-menu-state.ts
index a69399460..38d1ad162 100644
--- a/packages/desktop/src/main/view-menu-state.ts
+++ b/packages/desktop/src/main/view-menu-state.ts
@@ -37,6 +37,7 @@ export function createDefaultEditorViewMenuState(): EditorViewMenuStateSnapshot
terminalLive: false,
agentPanelVisible: false,
canViewInSource: false,
+ hasEditorSelection: false,
};
}
@@ -60,6 +61,7 @@ type ViewMenuStateDeps = Pick<
| 'terminalVisible'
| 'terminalLive'
| 'agentPanelVisible'
+ | 'hasEditorSelection'
| 'onToggleShowHiddenFiles'
| 'onToggleShowOkFolders'
| 'onToggleShowOnlyMarkdownFiles'
@@ -97,6 +99,7 @@ export function buildViewMenuStateDeps(
terminalVisible: state.terminalVisible,
terminalLive: state.terminalLive,
agentPanelVisible: state.agentPanelVisible,
+ hasEditorSelection: state.hasEditorSelection,
onToggleShowHiddenFiles: () => sendMenuAction('toggle-show-hidden-files'),
onToggleShowOkFolders: () => sendMenuAction('toggle-show-ok-folders'),
onToggleShowOnlyMarkdownFiles: () => sendMenuAction('toggle-show-only-markdown-files'),