Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
feat(ok): show skill context cost + consent on install (PRD-7978) (#3556)
tim-inkeep2f0ca3c5f42a
diff --git a/packages/app/src/components/McpConsentDialog.dom.test.tsx b/packages/app/src/components/McpConsentDialog.dom.test.tsxindex 39aa110d7..e22ba4574 100644--- a/packages/app/src/components/McpConsentDialog.dom.test.tsx+++ b/packages/app/src/components/McpConsentDialog.dom.test.tsx@@ -1,5 +1,5 @@import * as actualLinguiMacro from '@lingui/react/macro';-import { cleanup, render, screen, waitFor } from '@testing-library/react';+import { cleanup, render, screen, waitFor, within } from '@testing-library/react';import userEvent from '@testing-library/user-event';import type { ReactNode } from 'react';import { afterEach, describe, expect, test, vi } from 'vitest';@@ -97,15 +97,36 @@ const skillsPayload: OkMcpWiringShowPayload = {id: 'discovery',name: 'open-knowledge-discovery',alreadyInstalled: false,+ description: 'Recognize OpenKnowledge projects and route reads and writes through it.',+ size: { alwaysOn: 140, onTrigger: 1495, onDemand: 0 },+ hosts: ['claude', 'cursor'],+ paths: [+ '~/.agents/skills/open-knowledge-discovery',+ '~/.claude/skills/open-knowledge-discovery',+ ],},{id: 'write-skill',name: 'open-knowledge-write-skill',alreadyInstalled: true,+ description: 'A guided workflow for authoring new Agent Skills.',+ size: { alwaysOn: 156, onTrigger: 3218, onDemand: 916 },+ hosts: ['claude', 'cursor'],+ paths: [+ '~/.agents/skills/open-knowledge-write-skill',+ '~/.claude/skills/open-knowledge-write-skill',+ ],},],};+/** Same two bundles, zero resolved hosts — exercises the disabled/unchecked+ * state and the row's no-hosts copy (nothing can land). */+const skillsNoHostsPayload: OkMcpWiringShowPayload = {+ ...skillsPayload,+ globalSkills: skillsPayload.globalSkills.map((s) => ({ ...s, hosts: [], paths: [] })),+};+function makeHarness({confirmResult = async () => ({ ok: true as const }),skipResult = async () => ({ ok: true as const }),@@ -553,4 +574,76 @@ describe('McpConsentDialog skills section', () => {expect(harness.confirmCalls).toEqual([{ editorIds: [], pathInstall: undefined, skills: [] }]);});});++ test("renders each skill's own frontmatter description, not hand-written subtext", async () => {+ await renderDialog(makeHarness({ snapshot: skillsPayload }));+ expect(screen.getByText('A guided workflow for authoring new Agent Skills.')).toBeTruthy();+ });++ test('states skill reach is independent of the MCP editor selection', async () => {+ await renderDialog(makeHarness({ snapshot: skillsPayload }));+ expect(screen.getByTestId('mcp-consent-skill-fanout-note').textContent).toContain(+ 'independent of the MCP',+ );+ });++ test('clicking a row expands it in place with the full cost and destination list', async () => {+ await renderDialog(makeHarness({ snapshot: skillsPayload }));+ // Collapsed: no expansion mounted.+ expect(screen.queryByTestId('mcp-consent-skill-expansion-write-skill')).toBeNull();++ // The row body is the expand affordance (first launch expands; it never+ // navigates away). Clicking the skill name bubbles to its row button.+ await userEvent.click(screen.getByText('open-knowledge-write-skill'));++ const expansion = screen.getByTestId('mcp-consent-skill-expansion-write-skill');+ // Full three-tier cost — the on-demand tier appears only here, never on the+ // compact row above it.+ expect(expansion.textContent).toContain('on demand');+ // Every destination path is disclosed, including the ~/.agents hub — the+ // same list the Settings confirm modal carries.+ const paths = within(expansion).getByTestId('skill-destination-list');+ expect(paths.textContent).toContain('~/.agents/skills/open-knowledge-write-skill');+ expect(paths.textContent).toContain('~/.claude/skills/open-knowledge-write-skill');+ // The dialog is never left.+ expect(+ screen.getByRole('dialog', { name: 'Connect your AI tools to OpenKnowledge' }),+ ).toBeTruthy();+ });++ test('checking a skill stages it — nothing is written until Connect', async () => {+ const harness = await renderDialog(makeHarness({ snapshot: skillsPayload }));+ // Toggle discovery off then on — the checkbox itself never confirms.+ await userEvent.click(screen.getByTestId('mcp-consent-skill-checkbox-discovery'));+ await userEvent.click(screen.getByTestId('mcp-consent-skill-checkbox-discovery'));+ expect(harness.confirmCalls).toEqual([]);+ // Only Connect commits the staged set.+ await userEvent.click(screen.getByTestId('mcp-consent-add'));+ await waitFor(() => {+ expect(harness.confirmCalls).toHaveLength(1);+ });+ });++ test('zero resolved hosts unchecks and disables the skill checkboxes with a reason', async () => {+ await renderDialog(makeHarness({ snapshot: skillsNoHostsPayload }));+ for (const id of ['discovery', 'write-skill']) {+ const box = screen.getByTestId(`mcp-consent-skill-checkbox-${id}`);+ expect(box.getAttribute('aria-checked')).toBe('false');+ expect(box.hasAttribute('disabled')).toBe(true);+ }+ // Each row states what would make it installable — the shared no-hosts copy.+ expect(screen.getAllByTestId('skill-consent-row-no-hosts')).toHaveLength(2);+ });++ test('a staged skill with zero hosts is never sent on Connect', async () => {+ const harness = await renderDialog(makeHarness({ snapshot: skillsNoHostsPayload }));+ // Skills were offered, so Add stays enabled; confirming sends an empty set+ // (nothing can land nowhere) rather than the pre-checked default.+ await userEvent.click(screen.getByTestId('mcp-consent-add'));+ await waitFor(() => {+ expect(harness.confirmCalls).toEqual([+ { editorIds: ['claude'], pathInstall: undefined, skills: [] },+ ]);+ });+ });});diff --git a/packages/app/src/components/McpConsentDialog.test.ts b/packages/app/src/components/McpConsentDialog.test.tsindex f136a8086..2bfd5802c 100644--- a/packages/app/src/components/McpConsentDialog.test.ts+++ b/packages/app/src/components/McpConsentDialog.test.ts@@ -3,6 +3,7 @@ import type { OkMcpWiringEditorId, OkMcpWiringShowPayload } from '@/lib/desktop-import { McpConsentDialog } from './McpConsentDialog';import {computeInitialSelection,+ computeInitialSkillSelection,isPathRowActionable,partitionEditorsForDisplay,selectedIdsOrdered,@@ -11,6 +12,14 @@ import {} from './McpConsentDialogBody';type EditorDetection = OkMcpWiringShowPayload['detectedEditors'][number];+type GlobalSkill = OkMcpWiringShowPayload['globalSkills'][number];++/** Skill-descriptor factory — fills the disclosure fields the initial-selection+ * helper doesn't read (name/description/paths/size), so each case stays focused+ * on id + hosts. */+function gs(o: Pick<GlobalSkill, 'id' | 'hosts'>): GlobalSkill {+ return { name: o.id, alreadyInstalled: false, description: '', paths: [], ...o };+}/** Detection-literal factory — fills the location-disclosure fields* (configPath/entryLocator) the pure selection/ordering helpers under test@@ -58,6 +67,34 @@ describe('computeInitialSelection', () => {});});+describe('computeInitialSkillSelection', () => {+ test('pre-checks bundles with a resolved host; excludes a zero-host bundle', () => {+ const sel = computeInitialSkillSelection([+ gs({ id: 'discovery', hosts: ['claude'] }),+ gs({ id: 'write-skill', hosts: [] }),+ ]);+ expect(sel.has('discovery')).toBe(true);+ expect(sel.has('write-skill')).toBe(false);+ expect(sel.size).toBe(1);+ });++ test('all reach resolved: every bundle pre-checked (opt-out default)', () => {+ const sel = computeInitialSkillSelection([+ gs({ id: 'discovery', hosts: ['claude'] }),+ gs({ id: 'write-skill', hosts: ['cursor'] }),+ ]);+ expect(sel.size).toBe(2);+ });++ test('zero hosts everywhere: nothing pre-checked (never stage an install that cannot land)', () => {+ const sel = computeInitialSkillSelection([+ gs({ id: 'discovery', hosts: [] }),+ gs({ id: 'write-skill', hosts: [] }),+ ]);+ expect(sel.size).toBe(0);+ });+});+describe('toggleSelectedId', () => {test('adds id when absent', () => {const next = toggleSelectedId(new Set<OkMcpWiringEditorId>(), 'claude');diff --git a/packages/app/src/components/McpConsentDialogBody.tsx b/packages/app/src/components/McpConsentDialogBody.tsxindex 11ca1963f..6bb3022b0 100644--- a/packages/app/src/components/McpConsentDialogBody.tsx+++ b/packages/app/src/components/McpConsentDialogBody.tsx@@ -25,6 +25,9 @@ import { Plural, Trans, useLingui } from '@lingui/react/macro';import { ArrowUpRight, ChevronDown, ChevronUp, Info } from 'lucide-react';import { useId, useState } from 'react';import { toast as sonnerToast } from 'sonner';+import { SkillConsentRow } from '@/components/SkillConsentRow';+import { SkillCostValue } from '@/components/SkillCostValue';+import { SkillDestinationList } from '@/components/SkillDestinationList';import { Button } from '@/components/ui/button';import { Checkbox } from '@/components/ui/checkbox';import {@@ -127,14 +130,16 @@ export function partitionEditorsForDisplay(}/**- * Pure helper: initial skill checkbox state — every offered bundle starts- * checked (opt-out default: preserves today's install-everywhere behavior- * while making it one-click-off).+ * Pure helper: initial skill checkbox state — every offered bundle with a place+ * to land starts checked (opt-out default: preserves today's install-everywhere+ * behavior while making it one-click-off). A bundle whose reach resolved to zero+ * hosts starts unchecked; its row disables the checkbox, so it can never be+ * staged for an install that would land nowhere.*/export function computeInitialSkillSelection(globalSkills: readonly GlobalSkillDescriptor[],): ReadonlySet<string> {- return new Set(globalSkills.map((s) => s.id));+ return new Set(globalSkills.filter((s) => s.hosts.length > 0).map((s) => s.id));}/** Pure helper: toggle a skill checkbox; returns a new Set. */@@ -267,10 +272,13 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro// Pre-checked (opt-out) when the row solicits a decision; informational// rows render force-checked + disabled below and never read this state.const [pathChecked, setPathChecked] = useState(true);- // Pre-checked (opt-out) — every offered bundle starts on.+ // Pre-checked (opt-out) — every offered bundle with a resolved host starts on.const [skillSelection, setSkillSelection] = useState<ReadonlySet<string>>(() =>computeInitialSkillSelection(globalSkills),);+ // Which skill rows are expanded to their full cost + destination disclosure.+ // Purely presentational — expansion never touches the staged selection.+ const [expandedSkills, setExpandedSkills] = useState<ReadonlySet<string>>(() => new Set());const [busy, setBusy] = useState(false);// Progressive disclosure: detected tools show by default; undetected ones hide// behind a "Show N more" toggle (see partitionEditorsForDisplay for the@@ -283,6 +291,15 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormProsetSelection((prev) => toggleSelectedId(prev, id));}+ function toggleSkillExpanded(id: string) {+ setExpandedSkills((prev) => {+ const next = new Set(prev);+ if (next.has(id)) next.delete(id);+ else next.add(id);+ return next;+ });+ }+async function onAdd() {setBusy(true);const result = await store.confirm({@@ -560,11 +577,18 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro)}</div>{/*- * User-global Agent Skills consent section — one pre-checked row per- * bundle. Distinct from the editor list because skills install to every- * detected host by design (not per-editor). Unchecking an already-- * installed bundle removes it; the decision is honored by every install- * actor (desktop reclaim, ok init, ok start).+ * User-global Agent Skills consent section — one staged, pre-checked+ * row per bundle rendered through the shared SkillConsentRow, so this+ * surface and Settings disclose a skill identically (its own+ * description, reach cluster, and cost). Distinct from the editor list+ * because skills install to every detected host by design, not per+ * editor — the fan-out note states that independence. Nothing writes on+ * check; the single Connect commits the whole staged set. Clicking a+ * row body expands it in place — never leaving this modal — to the full+ * three-tier cost and destination list the Settings confirm modal+ * carries. A bundle whose reach resolved to zero hosts renders its+ * checkbox unchecked + disabled with the row's own no-hosts copy, so+ * first launch never stages an install that cannot land.*/}{skillsOffered && (<div className="flex flex-col gap-1.5">@@ -573,57 +597,77 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormProAgent Skills</Trans></span>+ <p+ className="text-xs text-muted-foreground"+ data-testid="mcp-consent-skill-fanout-note"+ >+ <Trans comment="Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above">+ Skills install to every AI tool detected on this machine, independent of the MCP+ connections you chose above.+ </Trans>+ </p><ul className="rounded-md border border-border bg-card/50 divide-y divide-border overflow-hidden">{globalSkills.map((skill) => {const checked = skillSelection.has(skill.id);+ const hasHosts = skill.hosts.length > 0;+ const expanded = expandedSkills.has(skill.id);const checkboxId = `${idPrefix}-skill-${skill.id}`;return (- <li key={skill.id}>- <Label- htmlFor={checkboxId}- className="flex cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal hover:bg-accent"- >- <Checkbox- id={checkboxId}- checked={checked}- disabled={busy}- onCheckedChange={() =>- setSkillSelection((prev) => toggleSkillId(prev, skill.id))- }- className="mt-0.5"- data-testid={`mcp-consent-skill-checkbox-${skill.id}`}- />- <span className="flex min-w-0 flex-1 flex-col gap-0.5">- <span className="text-sm font-medium text-foreground">- <code>{skill.name}</code>- </span>- <span- className="text-xs text-muted-foreground"- data-testid={`mcp-consent-skill-status-${skill.id}`}- >- {skill.id === 'discovery' ? (- <Trans comment="Subtext for the open-knowledge-discovery skill row">- Helps your coding agent recognize OpenKnowledge projects and route- reads and writes through it.- </Trans>- ) : (- <Trans comment="Subtext for the open-knowledge-write-skill skill row">- Adds a guided workflow for authoring new Agent Skills.- </Trans>- )}- </span>- {skill.alreadyInstalled && !checked && (- <span- className="text-xs text-amber-600 dark:text-amber-400"- data-testid={`mcp-consent-skill-warning-${skill.id}`}- >- <Trans comment="Warning shown when the user unchecks an already-installed skill">- Removes this skill from your editors.- </Trans>- </span>+ <li key={skill.id} className="hover:bg-accent">+ <SkillConsentRow+ name={skill.name}+ description={skill.description}+ hosts={skill.hosts}+ size={skill.size}+ onActivate={() => toggleSkillExpanded(skill.id)}+ ariaExpanded={expanded}+ control={+ <Checkbox+ id={checkboxId}+ checked={hasHosts && checked}+ disabled={busy || !hasHosts}+ onCheckedChange={() =>+ setSkillSelection((prev) => toggleSkillId(prev, skill.id))+ }+ aria-label={t`Set up ${skill.name}`}+ data-testid={`mcp-consent-skill-checkbox-${skill.id}`}+ />+ }+ />+ {skill.alreadyInstalled && hasHosts && !checked && (+ <p+ role="status"+ className="px-3 pb-2.5 text-xs text-amber-600 dark:text-amber-400"+ data-testid={`mcp-consent-skill-warning-${skill.id}`}+ >+ <Trans comment="Warning shown when the user unchecks an already-installed skill">+ Removes this skill from your editors.+ </Trans>+ </p>+ )}+ {expanded && (+ <div+ className="flex flex-col gap-3 px-3 pb-3"+ data-testid={`mcp-consent-skill-expansion-${skill.id}`}+ >+ {skill.size ? (+ <div className="flex flex-col gap-1">+ <span className="text-xs font-medium text-muted-foreground">+ <Trans>Context cost</Trans>+ </span>+ <SkillCostValue size={skill.size} />+ </div>+ ) : null}+ {skill.paths.length > 0 && (+ <div className="flex flex-col gap-1">+ <span className="text-xs font-medium text-muted-foreground">+ <Trans>Installs to</Trans>+ </span>+ <SkillDestinationList paths={skill.paths} />+ </div>)}- </span>- </Label>+ </div>+ )}</li>);})}diff --git a/packages/app/src/components/SkillBundlePreview.dom.test.tsx b/packages/app/src/components/SkillBundlePreview.dom.test.tsxnew file mode 100644index 000000000..22fe412a8--- /dev/null+++ b/packages/app/src/components/SkillBundlePreview.dom.test.tsx@@ -0,0 +1,168 @@+/**+ * RTL tests for the pre-install skill preview: a `tokens` property row priced+ * client-side from the fetched payload, and the read-only contract — the preview+ * discloses cost but carries no install control of its own.+ *+ * No test file existed for `SkillBundlePreview` before (the `SkillPreviewTab`+ * tests mock it away), so the fetch boundary and the editor's markdown viewer+ * are the only stubs; the row, its estimator wiring and the degrade-on-failure+ * path all run for real.+ */+import type { SkillPreview } from '@inkeep/open-knowledge-core';+import { render, screen } from '@testing-library/react';+import type { ReactNode } from 'react';+import { describe, expect, test, vi } from 'vitest';+import * as linguiShim from '../../tests/lingui-macro-shim';++vi.doMock('@lingui/react/macro', () => linguiShim);++// The one system boundary: the `/api/skills/preview` fetch. Each render sets the+// result it should resolve; a per-render source keeps the module-level preview+// cache from serving one test's payload to the next.+type PreviewResult = ({ ok: true } & SkillPreview) | { ok: false; error: string };+let previewResult: PreviewResult = { ok: false, error: 'unset' };+vi.doMock('@/lib/skills-api', () => ({+ fetchSkillPreview: async () => previewResult,+}));++// The rendered-markdown viewer binds a static TipTap editor; the tokens row+// sits above it and needs none of that, so stub it to keep the test on the row.+vi.doMock('@/components/SkillMarkdownViewer', () => ({+ SkillMarkdownViewer: () => <div data-testid="skill-md-viewer" />,+}));++const { SkillBundlePreview } = await import('./SkillBundlePreview');++let sourceCounter = 0;+function renderPreview(+ result: PreviewResult,+ props: Partial<Parameters<typeof SkillBundlePreview>[0]> = {},+) {+ previewResult = result;+ return render(+ <SkillBundlePreview+ source={`test-source-${sourceCounter++}`}+ name="sk"+ subtitle="acme/sk"+ tintKey="sk"+ headerActions={null}+ headerLine="preview"+ {...props}+ />,+ );+}++function ok(overrides: Partial<SkillPreview>): { ok: true } & SkillPreview {+ return {+ ok: true,+ name: 'sk',+ description: null,+ skillMd: '',+ files: [],+ ...overrides,+ };+}++describe('SkillBundlePreview tokens row', () => {+ test('prices the three tiers from the fetched payload, excluding non-readable files', async () => {+ const cost = await renderPreviewCost(+ ok({+ name: 'demo', // 4 chars+ description: 'x'.repeat(36), // 36 → always-on (4+36)/4 = 10+ skillMd: 'b'.repeat(800), // no frontmatter → whole body → on-trigger 200+ files: [+ { relPath: 'references/a.md', content: 'y'.repeat(1200) }, // 1200 → 300+ { relPath: 'scripts/run.sh', content: 'z'.repeat(4000) }, // excluded by extension+ ],+ }),+ );+ expect(cost.textContent).toContain('~10');+ expect(cost.textContent).toContain('~200');+ expect(cost.textContent).toContain('~300');+ expect(cost.textContent).toContain('always-on');+ expect(cost.textContent).toContain('on trigger');+ expect(cost.textContent).toContain('on demand');+ // Had the script counted, on-demand would read ~1.3k — it must not.+ expect(cost.textContent).not.toContain('~1.3k');+ });++ test('renders zeroes, not a blank row, for a skill with no body and no references', async () => {+ const cost = await renderPreviewCost(+ ok({ name: 'e', description: null, skillMd: '', files: [] }),+ );+ // Three explicit zeroes — never an absent row that could read as a free skill.+ expect(cost.textContent).toContain('~0');+ expect(cost.textContent).toContain('on trigger');+ expect(cost.textContent).toContain('on demand');+ });++ test('skips a binary/null reference and counts the readable remainder', async () => {+ const cost = await renderPreviewCost(+ ok({+ files: [+ { relPath: 'references/bin.md', content: null }, // binary → skipped+ { relPath: 'references/ok.md', content: 'k'.repeat(400) }, // 400 → 100+ ],+ }),+ );+ expect(cost.textContent).toContain('~100');+ });++ test('marks an over-budget tier and leaves on-demand bare', async () => {+ const cost = await renderPreviewCost(+ ok({+ name: 'sk',+ description: 'x'.repeat(438), // (2+438)/4 = 110 → over the ~100 always-on budget+ skillMd: 'b'.repeat(40), // on-trigger 10, under budget+ files: [{ relPath: 'guide.md', content: 'y'.repeat(200_000) }], // on-demand ~50k, no norm+ }),+ );+ // Only always-on is marked; on-demand has no published norm, so its large+ // figure stays unmarked.+ const marks = screen.getAllByRole('img');+ expect(marks).toHaveLength(1);+ expect(marks[0].getAttribute('aria-label')).toMatch(/over the .* token budget/);+ expect(cost.textContent).toContain('~50k');+ });+});++describe('SkillBundlePreview degradation', () => {+ test('omits the tokens row and shows the fallback when the fetch fails', async () => {+ renderPreview(+ { ok: false, error: 'clone failed' },+ { noPreviewFallback: <div data-testid="og-card">no preview</div> },+ );+ // The failed fetch degrades to the caller's fallback; no cost is invented.+ expect(await screen.findByTestId('og-card')).toBeTruthy();+ expect(screen.queryByTestId('skill-cost-value')).toBeNull();+ });+});++describe('SkillBundlePreview read-only contract', () => {+ test('discloses cost but adds no install control of its own', async () => {+ // A built-in supplies only a source link + Update as header actions; the+ // preview must show the cost yet offer no way to write.+ const headerActions: ReactNode = (+ <a href="https://example.test/source" data-testid="source-link">+ Source+ </a>+ );+ const cost = await renderPreviewCost(+ ok({ description: 'a read-only built-in', skillMd: '# Body' }),+ { headerActions },+ );+ expect(cost).toBeTruthy();+ expect(screen.getByTestId('source-link')).toBeTruthy();+ expect(screen.queryByRole('button', { name: /install/i })).toBeNull();+ expect(screen.queryByRole('button', { name: /uninstall/i })).toBeNull();+ });+});++/** Render, wait for the async preview to resolve, return the cost row element. */+async function renderPreviewCost(+ result: PreviewResult,+ props: Partial<Parameters<typeof SkillBundlePreview>[0]> = {},+) {+ renderPreview(result, props);+ return screen.findByTestId('skill-cost-value');+}diff --git a/packages/app/src/components/SkillBundlePreview.tsx b/packages/app/src/components/SkillBundlePreview.tsxindex 36e5a0034..9519bb667 100644--- a/packages/app/src/components/SkillBundlePreview.tsx+++ b/packages/app/src/components/SkillBundlePreview.tsx@@ -1,5 +1,6 @@import type { SkillPreview as SkillPreviewData, SkillScope } from '@inkeep/open-knowledge-core';import {+ estimateSkillCost,extractFrontmatterTags,skillFileLiveDocName,skillLiveDocName,@@ -7,10 +8,11 @@ import {unwrapFrontmatterFences,} from '@inkeep/open-knowledge-core';import { Trans, useLingui } from '@lingui/react/macro';-import { AlignLeft, Eye, Tag, Type } from 'lucide-react';+import { AlignLeft, Eye, Gauge, Tag, Type } from 'lucide-react';import { type ReactNode, useEffect, useRef, useState } from 'react';import { PropertyDisplayRow } from '@/components/PropertyDisplayRow';import { ProseFindBar } from '@/components/ProseFindBar';+import { SkillCostValue } from '@/components/SkillCostValue';import { SkillMarkdownViewer } from '@/components/SkillMarkdownViewer';import { SkillModeBanner } from '@/components/SkillModeBanner';import { useFindInViewer } from '@/hooks/use-find-in-viewer';@@ -146,6 +148,10 @@ export function SkillBundlePreview({const desc = preview?.description;const tags = preview ? parseSkillTags(preview.skillMd) : [];+ // Priced client-side from the payload already fetched — `SkillPreview`+ // satisfies the estimator's input, so no adapter, no extra fetch. Null until+ // the preview loads, which keeps the row absent on a failed fetch.+ const cost = preview ? estimateSkillCost(preview) : null;const selected: SelectedFile | null =selectedPath === SKILL_MD? preview@@ -226,6 +232,11 @@ export function SkillBundlePreview({</span>)}</PropertyDisplayRow>+ {cost ? (+ <PropertyDisplayRow icon={<Gauge className="size-3.5" />} label={t`tokens`}>+ <SkillCostValue size={cost} />+ </PropertyDisplayRow>+ ) : null}</div></div>) : null}diff --git a/packages/app/src/components/SkillConsentRow.dom.test.tsx b/packages/app/src/components/SkillConsentRow.dom.test.tsxnew file mode 100644index 000000000..1c2295032--- /dev/null+++ b/packages/app/src/components/SkillConsentRow.dom.test.tsx@@ -0,0 +1,104 @@+/**+ * RTL tests for the shared built-in-skill row (Settings + first launch). They+ * assert the truthful trio: the skill's own description, its reach through the+ * existing agent-icon cluster (including a custom-root path shown verbatim, and+ * the zero-hosts copy that replaces the cluster), and the compact cost subset+ * (always-on + on-trigger only, never a sum). The reach cluster runs for real —+ * only the Lingui macros are shimmed to their English passthrough.+ */+import type { SkillCostTiers } from '@inkeep/open-knowledge-core';+import { fireEvent, render, screen, within } from '@testing-library/react';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { TooltipProvider } from '@/components/ui/tooltip';+import * as linguiShim from '../../tests/lingui-macro-shim';++vi.doMock('@lingui/react/macro', () => linguiShim);++const { SkillConsentRow } = await import('./SkillConsentRow');++function renderRow(props: Partial<Parameters<typeof SkillConsentRow>[0]> = {}) {+ return render(+ <TooltipProvider>+ <SkillConsentRow+ name="open-knowledge-discovery"+ description="Helps your agent recognize OpenKnowledge projects."+ hosts={['claude', 'cursor']}+ {...props}+ />+ </TooltipProvider>,+ );+}++afterEach(() => {+ document.body.innerHTML = '';+});++describe('SkillConsentRow', () => {+ test('shows the skill name and its own frontmatter description', () => {+ renderRow();+ expect(screen.getByText('open-knowledge-discovery')).toBeTruthy();+ expect(screen.getByText('Helps your agent recognize OpenKnowledge projects.')).toBeTruthy();+ });++ test('renders reach through the agent-icon cluster with each host labeled', () => {+ renderRow({ hosts: ['claude', 'cursor'] });+ expect(screen.getByLabelText('Claude')).toBeTruthy();+ expect(screen.getByLabelText('Cursor')).toBeTruthy();+ expect(screen.queryByTestId('skill-consent-row-no-hosts')).toBeNull();+ });++ test('a custom-root host renders as a mark whose accessible name is the path verbatim', () => {+ renderRow({ hosts: ['claude', '/Users/me/.myagent/skills'] });+ expect(screen.getByLabelText('/Users/me/.myagent/skills')).toBeTruthy();+ });++ test('with zero hosts the cluster is replaced by explanatory copy', () => {+ renderRow({ hosts: [] });+ expect(screen.getByTestId('skill-consent-row-no-hosts')).toBeTruthy();+ // No agent marks at all — nothing claims a reach that does not exist.+ expect(screen.queryByLabelText('Claude')).toBeNull();+ });++ test('the cost line shows the always-on and on-trigger subset, never on-demand or a sum', () => {+ const size: SkillCostTiers = { alwaysOn: 156, onTrigger: 3218, onDemand: 916 };+ renderRow({ size });+ const cost = screen.getByTestId('skill-cost-value');+ const text = cost.textContent ?? '';+ expect(text).toContain('~156');+ expect(text).toContain('always-on');+ expect(text).toContain('~3.2k');+ expect(text).toContain('on trigger');+ // On-demand is omitted from the compact row — not folded into another tier.+ expect(text).not.toContain('on demand');+ expect(text).not.toContain('~916');+ });++ test('no cost line when size is absent', () => {+ renderRow({ size: undefined });+ expect(screen.queryByTestId('skill-cost-value')).toBeNull();+ });++ test('marks a tier over its published budget without touching the reach marks', () => {+ const size: SkillCostTiers = { alwaysOn: 250, onTrigger: 6000, onDemand: 0 };+ renderRow({ size });+ // Both shown tiers are over budget; each carries an accessible over-budget+ // reason. Scoped to the cost value so cluster icons can't skew the count.+ const marks = within(screen.getByTestId('skill-cost-value')).getAllByRole('img');+ expect(marks).toHaveLength(2);+ for (const mark of marks) {+ expect(mark.getAttribute('aria-label')).toMatch(/over the .* token budget/);+ }+ });++ test('the body is a preview affordance that fires onActivate', () => {+ const onActivate = vi.fn();+ renderRow({ onActivate });+ fireEvent.click(screen.getByTestId('skill-consent-row-preview'));+ expect(onActivate).toHaveBeenCalledOnce();+ });++ test('renders a surface-supplied control', () => {+ renderRow({ control: <span data-testid="stub-control">install</span> });+ expect(screen.getByTestId('stub-control')).toBeTruthy();+ });+});diff --git a/packages/app/src/components/SkillConsentRow.tsx b/packages/app/src/components/SkillConsentRow.tsxnew file mode 100644index 000000000..5e8aebb92--- /dev/null+++ b/packages/app/src/components/SkillConsentRow.tsx@@ -0,0 +1,95 @@+/**+ * The one truthful row for a built-in skill offered for install, shared by+ * Settings → AI tools & CLI and the first-launch consent dialog (near-duplicate+ * markup before this). It renders what the skill is (name + its own frontmatter+ * description, replacing the hand-written subtext), where it reaches (the+ * existing agent-icon cluster, including custom roots), and what it costs (the+ * compact always-on + on-trigger subset — never a sum).+ *+ * Presentational only: the surface-specific control (Settings' Install/Uninstall+ * button, first launch's staged checkbox) arrives as `control`, and the body's+ * click behaviour (Settings opens the preview; first launch expands inline) as+ * `onActivate`. Reach is passed as host ids so the row mirrors+ * `AgentIconCluster`'s own contract and stays decoupled from the bridge status.+ */++import type { SkillCostTiers } from '@inkeep/open-knowledge-core';+import { Trans } from '@lingui/react/macro';+import type { ReactNode } from 'react';+import { AgentIconCluster } from '@/components/AgentIconCluster';+import { SkillCostValue } from '@/components/SkillCostValue';+import { Button } from '@/components/ui/button';++export interface SkillConsentRowProps {+ name: string;+ /** The skill's own frontmatter description. */+ description: string;+ /** Reach: static editor ids plus custom-root paths (rendered verbatim). Empty+ * ⇒ the cluster is replaced by explanatory copy. */+ hosts: readonly string[];+ /** Three-tier cost; the row shows only the always-on + on-trigger subset.+ * Absent ⇒ no cost line (older data / cost not yet resolved). */+ size?: SkillCostTiers;+ /** Preview affordance: Settings opens the preview tab, first launch expands+ * inline. Absent ⇒ the body is static. */+ onActivate?: () => void;+ /** Disclosure state, when `onActivate` toggles an inline region (first+ * launch). Omitted by Settings, where `onActivate` navigates to a preview+ * tab rather than expanding anything - a static `aria-expanded` there would+ * announce a disclosure that does not exist. */+ ariaExpanded?: boolean;+ /** Surface-specific control rendered on the right. */+ control?: ReactNode;+}++export function SkillConsentRow({+ name,+ description,+ hosts,+ size,+ onActivate,+ ariaExpanded,+ control,+}: SkillConsentRowProps) {+ const body = (+ <>+ <span className="text-sm font-medium text-foreground group-hover/button:underline">+ <code>{name}</code>+ </span>+ <span className="text-xs text-muted-foreground">{description}</span>+ </>+ );+ return (+ <div className="flex items-start gap-2.5 px-3 py-2.5" data-testid="skill-consent-row">+ <span className="flex min-w-0 flex-1 flex-col gap-1.5">+ {onActivate ? (+ <Button+ variant="ghost"+ onClick={onActivate}+ aria-expanded={ariaExpanded}+ className="group/button h-auto w-full flex-col items-start justify-start gap-0.5 whitespace-normal p-0 text-left hover:bg-transparent"+ data-testid="skill-consent-row-preview"+ >+ {body}+ </Button>+ ) : (+ <span className="flex flex-col gap-0.5">{body}</span>+ )}+ <span className="flex flex-wrap items-center gap-x-3 gap-y-1">+ {hosts.length > 0 ? (+ <AgentIconCluster hosts={hosts} />+ ) : (+ <span+ className="text-xs text-muted-foreground"+ data-testid="skill-consent-row-no-hosts"+ >+ <Trans>No AI tools detected. Install one to use this skill.</Trans>+ </span>+ )}+ {size ? <SkillCostValue size={size} omitOnDemand /> : null}+ </span>+ </span>+ {control ? <span className="shrink-0">{control}</span> : null}+ </div>+ );+}diff --git a/packages/app/src/components/SkillCostValue.tsx b/packages/app/src/components/SkillCostValue.tsxnew file mode 100644index 000000000..6e8b9859f--- /dev/null+++ b/packages/app/src/components/SkillCostValue.tsx@@ -0,0 +1,77 @@+import {+ ALWAYS_ON_TOKEN_BUDGET,+ ON_TRIGGER_TOKEN_BUDGET,+ type SkillCostTiers,+} from '@inkeep/open-knowledge-core';+import { Trans, useLingui } from '@lingui/react/macro';+import { AlertTriangle } from 'lucide-react';++/**+ * `chars / 4` estimates read `~N` up to a thousand and `~N.Nk` beyond, so a+ * heavy body stays legible in a dense row. The `~` disclaims the precision a+ * real tokenizer would give.+ */+export function formatSkillTokens(tokens: number): string {+ if (tokens < 1000) return `~${tokens}`;+ return `~${Math.round(tokens / 100) / 10}k`;+}++/**+ * One tier's figure. Over its published budget it is marked with colour AND an+ * icon carrying the reason, so the warning never rests on colour alone. A tier+ * with no published norm (on-demand) passes no budget and is never marked.+ */+function TokenFigure({ tokens, budget }: { tokens: number; budget?: number }) {+ const { t } = useLingui();+ const over = budget !== undefined && tokens > budget;+ const budgetLabel = budget !== undefined ? formatSkillTokens(budget) : '';+ return (+ <span+ data-over-budget={over || undefined}+ className={over ? 'text-amber-600 dark:text-amber-500' : undefined}+ >+ {formatSkillTokens(tokens)}+ {over ? (+ <span role="img" aria-label={t`over the ${budgetLabel} token budget`}>+ <AlertTriangle className="ms-0.5 inline size-3 align-[-0.1em]" aria-hidden="true" />+ </span>+ ) : null}+ </span>+ );+}++/**+ * A skill's context cost as a single inline value: always-on (its standing index+ * cost), on-trigger (the body loaded when it fires) and on-demand (readable+ * references, loaded only when opened). Never a summed figure — the three tiers+ * are paid at different times and a total misranks skills. The surrounding row's+ * label carries the unit, so the figures stay bare but for the `~` estimate+ * marker.+ *+ * `omitOnDemand` drops the on-demand tier for the compact install-row subset+ * (always-on + on-trigger only) — omission, not summation. On-demand's full+ * figure still shows in the preview and the confirm modal.+ */+export function SkillCostValue({+ size,+ omitOnDemand,+}: {+ size: SkillCostTiers;+ omitOnDemand?: boolean;+}) {+ return (+ <span data-testid="skill-cost-value" className="font-mono text-[13px] text-muted-foreground">+ <TokenFigure tokens={size.alwaysOn} budget={ALWAYS_ON_TOKEN_BUDGET} />{' '}+ <Trans>always-on</Trans>+ {' · '}+ <TokenFigure tokens={size.onTrigger} budget={ON_TRIGGER_TOKEN_BUDGET} />{' '}+ <Trans>on trigger</Trans>+ {omitOnDemand ? null : (+ <>+ {' · '}+ <TokenFigure tokens={size.onDemand} /> <Trans>on demand</Trans>+ </>+ )}+ </span>+ );+}diff --git a/packages/app/src/components/SkillDestinationList.tsx b/packages/app/src/components/SkillDestinationList.tsxnew file mode 100644index 000000000..8c5c1973e--- /dev/null+++ b/packages/app/src/components/SkillDestinationList.tsx@@ -0,0 +1,19 @@+/**+ * The filesystem destinations a built-in skill install writes to (or an+ * uninstall removes from) — one path per line, rendered verbatim including+ * declared custom roots. Shared by the install/uninstall confirm modal and the+ * first-launch inline expansion so both disclose the same paths the same way.+ * The caller owns the surrounding heading ("Installs to" / "Removes from") so+ * the list stays neutral to direction.+ */+export function SkillDestinationList({ paths }: { paths: readonly string[] }) {+ return (+ <ul className="flex flex-col gap-0.5" data-testid="skill-destination-list">+ {paths.map((path) => (+ <li key={path}>+ <code className="break-all text-xs text-muted-foreground">{path}</code>+ </li>+ ))}+ </ul>+ );+}diff --git a/packages/app/src/components/SkillDirectoryCard.tsx b/packages/app/src/components/SkillDirectoryCard.tsxindex fc158f0ba..0711b8561 100644--- a/packages/app/src/components/SkillDirectoryCard.tsx+++ b/packages/app/src/components/SkillDirectoryCard.tsx@@ -14,6 +14,7 @@ export function SkillDirectoryCard({name,description,onOpen,+ onHover,action,meta,leading,@@ -21,6 +22,10 @@ export function SkillDirectoryCard({name: string;description?: string | null;onOpen: () => void;+ /** Fires when the card is first pointed at or focused. Used to resolve+ * hover-only detail (the context-cost figure); a card never hovered must+ * never trigger the work, so this is deliberately not called on mount. */+ onHover?: () => void;action: ReactNode;meta: ReactNode;leading?: ReactNode;@@ -28,7 +33,13 @@ export function SkillDirectoryCard({const { t } = useLingui();const title = <div className="truncate font-medium text-sm">{name}</div>;return (- <li className="relative rounded-xl border border-border bg-card p-4 transition-colors hover:border-border/60 hover:bg-accent/40 focus-within:ring-2 focus-within:ring-ring">+ <li+ className="relative rounded-xl border border-border bg-card p-4 transition-colors hover:border-border/60 hover:bg-accent/40 focus-within:ring-2 focus-within:ring-ring"+ onMouseEnter={onHover}+ // Keyboard users never fire onMouseEnter, so focus is the equivalent+ // trigger; `onFocus` bubbles from the stretched-link button inside.+ onFocus={onHover}+ >{/* Stretched-link overlay covers the whole card (keyboard-accessible,semantic — an li can't be interactive). It's positioned, so it paintsabove the static rows below and catches clicks anywhere; the `action`diff --git a/packages/app/src/components/SkillDirectoryResult.dom.test.tsx b/packages/app/src/components/SkillDirectoryResult.dom.test.tsxnew file mode 100644index 000000000..4a65350d8--- /dev/null+++ b/packages/app/src/components/SkillDirectoryResult.dom.test.tsx@@ -0,0 +1,123 @@+/**+ * RTL tests for the skills.sh directory card's hover-resolved context cost.+ *+ * The figure costs a server-side clone to produce, so the load-bearing property+ * is not "it renders" but "it is never fetched for a card nobody pointed at".+ * These assert both halves, plus the failure path (a card whose source cannot be+ * fetched must render exactly as it does today) and the session memo that keeps+ * a re-hover from re-fetching.+ */++import type { SkillSearchResult } from '@inkeep/open-knowledge-core';+import { fireEvent, render, screen, waitFor } from '@testing-library/react';+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';+import * as linguiShim from '../../tests/lingui-macro-shim';++vi.doMock('@lingui/react/macro', () => linguiShim);++const fetchSkillPreview = vi.fn();+vi.doMock('@/lib/skills-api', () => ({ fetchSkillPreview }));++const { SkillDirectoryResult } = await import('@/components/SkillDirectoryResult');+const { clearSkillCardCostCache } = await import('@/lib/skill-card-cost');++const RESULT: SkillSearchResult = {+ id: 'acme/skills/writer',+ name: 'writer',+ source: 'acme/skills',+ description: 'Writes things.',+ installs: 1200,+ publisher: 'acme',+};++/** A preview payload whose name + description price out to a known always-on. */+function previewOk(description: string) {+ return {+ ok: true as const,+ name: 'writer',+ description,+ skillMd: `---\nname: writer\ndescription: ${description}\n---\n\n${'b'.repeat(400)}`,+ files: [],+ };+}++function renderCard() {+ return render(<SkillDirectoryResult result={RESULT} imported={null} onOpen={() => {}} />);+}++beforeEach(() => {+ clearSkillCardCostCache();+ fetchSkillPreview.mockReset();+});+afterEach(() => {+ clearSkillCardCostCache();+});++describe('SkillDirectoryResult context cost', () => {+ test('a card that is never hovered performs no work', () => {+ renderCard();+ expect(fetchSkillPreview).not.toHaveBeenCalled();+ expect(screen.queryByTestId('skill-card-always-on')).toBeNull();+ });++ test('hovering resolves the always-on figure onto the meta line', async () => {+ fetchSkillPreview.mockResolvedValue(previewOk('d'.repeat(200)));+ renderCard();+ fireEvent.mouseEnter(screen.getByRole('listitem'));+ const figure = await screen.findByTestId('skill-card-always-on');+ // name (6) + description (200) = 206 chars -> ~52 tokens at chars/4.+ expect(figure.textContent).toContain('~52');+ expect(fetchSkillPreview).toHaveBeenCalledTimes(1);+ });++ test('keyboard focus resolves it too — mouseEnter never fires for keyboard users', async () => {+ fetchSkillPreview.mockResolvedValue(previewOk('d'.repeat(200)));+ renderCard();+ fireEvent.focus(screen.getByRole('listitem'));+ await screen.findByTestId('skill-card-always-on');+ expect(fetchSkillPreview).toHaveBeenCalledTimes(1);+ });++ test('a failed fetch leaves the card exactly as it renders today', async () => {+ fetchSkillPreview.mockResolvedValue({ ok: false, error: 'clone failed' });+ renderCard();+ fireEvent.mouseEnter(screen.getByRole('listitem'));+ await waitFor(() => expect(fetchSkillPreview).toHaveBeenCalledTimes(1));+ expect(screen.queryByTestId('skill-card-always-on')).toBeNull();+ // The rest of the meta line is untouched.+ expect(screen.getByText('acme')).toBeTruthy();+ });++ test('a thrown fetch is swallowed rather than surfaced on a decorative figure', async () => {+ fetchSkillPreview.mockRejectedValue(new Error('network'));+ renderCard();+ fireEvent.mouseEnter(screen.getByRole('listitem'));+ await waitFor(() => expect(fetchSkillPreview).toHaveBeenCalledTimes(1));+ expect(screen.queryByTestId('skill-card-always-on')).toBeNull();+ });++ test('re-hovering a resolved card does not re-fetch', async () => {+ fetchSkillPreview.mockResolvedValue(previewOk('d'.repeat(200)));+ const { unmount } = renderCard();+ fireEvent.mouseEnter(screen.getByRole('listitem'));+ await screen.findByTestId('skill-card-always-on');+ unmount();++ renderCard();+ // Seeded from the session memo — present without any further fetch.+ expect(screen.getByTestId('skill-card-always-on')).toBeTruthy();+ fireEvent.mouseEnter(screen.getByRole('listitem'));+ expect(fetchSkillPreview).toHaveBeenCalledTimes(1);+ });++ test('a failed source is not retried on every re-hover', async () => {+ fetchSkillPreview.mockResolvedValue({ ok: false, error: 'clone failed' });+ renderCard();+ const card = screen.getByRole('listitem');+ fireEvent.mouseEnter(card);+ await waitFor(() => expect(fetchSkillPreview).toHaveBeenCalledTimes(1));+ fireEvent.mouseEnter(card);+ fireEvent.focus(card);+ expect(fetchSkillPreview).toHaveBeenCalledTimes(1);+ });+});diff --git a/packages/app/src/components/SkillDirectoryResult.tsx b/packages/app/src/components/SkillDirectoryResult.tsxindex 6a3d10791..bcc758feb 100644--- a/packages/app/src/components/SkillDirectoryResult.tsx+++ b/packages/app/src/components/SkillDirectoryResult.tsx@@ -1,10 +1,16 @@-import type { SkillSearchResult, SkillsListEntry } from '@inkeep/open-knowledge-core';+import type {+ SkillCostTiers,+ SkillSearchResult,+ SkillsListEntry,+} from '@inkeep/open-knowledge-core';import { Trans, useLingui } from '@lingui/react/macro';import { Check, Package } from 'lucide-react';-import { useState } from 'react';+import { useEffect, useRef, useState } from 'react';+import { formatSkillTokens } from '@/components/SkillCostValue';import { SkillDirectoryCard } from '@/components/SkillDirectoryCard';import { Badge } from '@/components/ui/badge';import { formatInstalls } from '@/lib/format-installs';+import { peekSkillCardCost, resolveSkillCardCost } from '@/lib/skill-card-cost';// The `publisher` is a GitHub owner login, so `github.com/<login>.png` yields its// avatar with no API call. Rendered as the card's leading logo; decorative@@ -53,11 +59,37 @@ export function SkillDirectoryResult({readonly onOpen: () => void;}) {const { i18n } = useLingui();+ // Seeded from the session memo so a card already resolved elsewhere in the+ // grid (or on a previous render of this query) shows its figure immediately+ // instead of blanking and re-fetching.+ const [cost, setCost] = useState<SkillCostTiers | null>(+ () => peekSkillCardCost(result.source, result.name) ?? null,+ );+ // Guards a setState after unmount when the grid re-renders under a new query+ // while a hover fetch is still in flight.+ const mounted = useRef(true);+ useEffect(() => {+ mounted.current = true;+ return () => {+ mounted.current = false;+ };+ }, []);++ // Plain function on purpose: the React Compiler memoises where it matters, and+ // this repo bans manual useCallback.+ const onHover = () => {+ if (peekSkillCardCost(result.source, result.name) !== undefined) return;+ void resolveSkillCardCost(result.source, result.name).then((tiers) => {+ if (mounted.current) setCost(tiers);+ });+ };+return (<SkillDirectoryCardname={result.name}description={result.description}onOpen={onOpen}+ onHover={onHover}leading={<PublisherAvatar login={result.publisher} />}action={imported ? (@@ -91,6 +123,25 @@ export function SkillDirectoryResult({</span></>) : null}+ {/* Hover-resolved and deliberately last: the always-on tier is the only+ cost paid on every turn, so it is the one figure worth pricing a+ card by. Appended rather than positioned, because the segments+ before it are all conditional (publisher falls back to source, the+ first-party badge is optional, installs may be null) — this must+ not assume the line's current shape. Absent until hover resolves,+ and absent for good when the fetch fails, so the card renders+ exactly as it does today. */}+ {cost ? (+ <>+ <span aria-hidden>·</span>+ <span className="shrink-0 whitespace-nowrap" data-testid="skill-card-always-on">+ {formatSkillTokens(cost.alwaysOn)}{' '}+ <Trans comment="Suffix on a skill directory card's context-cost figure">+ always-on tokens+ </Trans>+ </span>+ </>+ ) : null}</div>}/>diff --git a/packages/app/src/components/SkillInstallConfirmDialog.dom.test.tsx b/packages/app/src/components/SkillInstallConfirmDialog.dom.test.tsxnew file mode 100644index 000000000..4d4471450--- /dev/null+++ b/packages/app/src/components/SkillInstallConfirmDialog.dom.test.tsx@@ -0,0 +1,124 @@+/**+ * RTL tests for the built-in-skill install/uninstall consent modal. They pin the+ * consent contract: the skill is named with its own description, the full+ * three-tier cost is shown (unlike the compact row, on-demand included), every+ * destination path is listed including a custom root, and nothing is written+ * until the user confirms. They also pin the safety behaviour — a destination+ * set that shifts underneath the open dialog forces a re-read before it can+ * commit. The AlertDialog and the estimator-fed cost run for real; only the+ * Lingui macros are shimmed to their English passthrough.+ */+import type { SkillCostTiers } from '@inkeep/open-knowledge-core';+import { cleanup, fireEvent, render, screen, within } from '@testing-library/react';+import { afterEach, describe, expect, test, vi } from 'vitest';+import * as linguiShim from '../../tests/lingui-macro-shim';++vi.doMock('@lingui/react/macro', () => linguiShim);++const { SkillInstallConfirmDialog } = await import('./SkillInstallConfirmDialog');++type Props = Parameters<typeof SkillInstallConfirmDialog>[0];++function props(overrides: Partial<Props> = {}): Props {+ return {+ open: true,+ onOpenChange: vi.fn(),+ mode: 'install',+ name: 'open-knowledge-discovery',+ description: 'Helps your agent recognize OpenKnowledge projects.',+ paths: [+ '~/.claude/skills/open-knowledge-discovery',+ '~/.cursor/skills/open-knowledge-discovery',+ ],+ onConfirm: vi.fn(),+ ...overrides,+ };+}++afterEach(cleanup);++describe('SkillInstallConfirmDialog', () => {+ test('names the skill and shows its own description', () => {+ render(<SkillInstallConfirmDialog {...props()} />);+ expect(screen.getByText('Install open-knowledge-discovery')).toBeTruthy();+ expect(screen.getByText('Helps your agent recognize OpenKnowledge projects.')).toBeTruthy();+ });++ test('shows the full three-tier cost, on-demand included', () => {+ const size: SkillCostTiers = { alwaysOn: 156, onTrigger: 3218, onDemand: 916 };+ render(<SkillInstallConfirmDialog {...props({ size })} />);+ const text = screen.getByTestId('skill-cost-value').textContent ?? '';+ expect(text).toContain('~156');+ expect(text).toContain('always-on');+ expect(text).toContain('~3.2k');+ expect(text).toContain('on trigger');+ // The modal is the full disclosure, so on-demand is present here even though+ // the compact install row omits it.+ expect(text).toContain('~916');+ expect(text).toContain('on demand');+ });++ test('lists every destination, including a declared custom root', () => {+ const paths = [+ '~/.claude/skills/open-knowledge-discovery',+ '~/.cursor/skills/open-knowledge-discovery',+ '/Users/me/.myagent/skills/open-knowledge-discovery',+ ];+ render(<SkillInstallConfirmDialog {...props({ paths })} />);+ const list = screen.getByTestId('skill-destination-list');+ for (const path of paths) {+ expect(within(list).getByText(path)).toBeTruthy();+ }+ });++ test('writes nothing on open or on cancel', () => {+ const onConfirm = vi.fn();+ const onOpenChange = vi.fn();+ render(<SkillInstallConfirmDialog {...props({ onConfirm, onOpenChange })} />);+ // Merely opening the dialog commits nothing.+ expect(onConfirm).not.toHaveBeenCalled();+ fireEvent.click(screen.getByRole('button', { name: 'Cancel' }));+ expect(onConfirm).not.toHaveBeenCalled();+ expect(onOpenChange).toHaveBeenCalledWith(false);+ });++ test('confirming commits the destination set that is shown', () => {+ const onConfirm = vi.fn();+ render(<SkillInstallConfirmDialog {...props({ onConfirm })} />);+ fireEvent.click(screen.getByTestId('skill-confirm-primary'));+ expect(onConfirm).toHaveBeenCalledOnce();+ });++ test('a destination change while open requires a re-read before it commits', () => {+ const onConfirm = vi.fn();+ const base = props({ onConfirm, paths: ['~/.claude/skills/x'] });+ const { rerender } = render(<SkillInstallConfirmDialog {...base} />);+ expect(screen.queryByTestId('skill-destinations-changed')).toBeNull();++ // A host appears underneath the open dialog.+ rerender(+ <SkillInstallConfirmDialog {...base} paths={['~/.claude/skills/x', '~/.cursor/skills/x']} />,+ );+ expect(screen.getByTestId('skill-destinations-changed')).toBeTruthy();++ // The first click acknowledges the fresh list rather than committing it.+ fireEvent.click(screen.getByTestId('skill-confirm-primary'));+ expect(onConfirm).not.toHaveBeenCalled();+ expect(screen.queryByTestId('skill-destinations-changed')).toBeNull();++ // Having re-read, the next click commits.+ fireEvent.click(screen.getByTestId('skill-confirm-primary'));+ expect(onConfirm).toHaveBeenCalledOnce();+ });++ test('the uninstall variant confirms removal over the paths that will be removed', () => {+ const onConfirm = vi.fn();+ render(<SkillInstallConfirmDialog {...props({ mode: 'uninstall', onConfirm })} />);+ expect(screen.getByText('Uninstall open-knowledge-discovery')).toBeTruthy();+ expect(screen.getByText('Removes from')).toBeTruthy();+ const primary = screen.getByTestId('skill-confirm-primary');+ expect(primary.textContent).toContain('Uninstall');+ fireEvent.click(primary);+ expect(onConfirm).toHaveBeenCalledOnce();+ });+});diff --git a/packages/app/src/components/SkillInstallConfirmDialog.tsx b/packages/app/src/components/SkillInstallConfirmDialog.tsxnew file mode 100644index 000000000..9fde41d77--- /dev/null+++ b/packages/app/src/components/SkillInstallConfirmDialog.tsx@@ -0,0 +1,138 @@+/**+ * The consent screen for installing or uninstalling a built-in skill: it names+ * the skill, shows its full three-tier context cost, and lists every+ * destination path that will be written (install) or removed (uninstall) before+ * anything touches disk. Nothing is written until the user confirms — the+ * owning surface performs the install once `onConfirm` fires and closes the+ * dialog when that settles.+ *+ * Presentational: the async install/uninstall and its in-flight state belong to+ * the caller. The confirm control is a plain Button (not AlertDialogAction) so+ * the dialog does not tear itself down before the caller's awaited work settles+ * — the same reason DeleteConfirmationDialog keeps a plain Button.+ *+ * The dialog owns its `open` prop (rather than rendering content-only) because+ * it has to notice the destination set drifting underneath it: if a host+ * appears or disappears while the dialog is open, the list re-renders and the+ * next confirm click only acknowledges the fresh destinations, so the user+ * never commits a set they never read.+ */+import type { SkillCostTiers } from '@inkeep/open-knowledge-core';+import { Trans, useLingui } from '@lingui/react/macro';+import { useState } from 'react';+import { SkillCostValue } from '@/components/SkillCostValue';+import { SkillDestinationList } from '@/components/SkillDestinationList';+import {+ AlertDialog,+ AlertDialogBody,+ AlertDialogCancel,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle,+} from '@/components/ui/alert-dialog';+import { Button } from '@/components/ui/button';++export interface SkillInstallConfirmDialogProps {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ mode: 'install' | 'uninstall';+ name: string;+ /** The skill's own frontmatter description. */+ description: string;+ /** Every destination path that will be written (install) or removed+ * (uninstall), including declared custom roots. */+ paths: readonly string[];+ /** Full three-tier cost. Absent hides the cost block. */+ size?: SkillCostTiers;+ /** Fired when the user confirms the destination set currently shown. */+ onConfirm: () => void;+}++export function SkillInstallConfirmDialog({+ open,+ onOpenChange,+ mode,+ name,+ description,+ paths,+ size,+ onConfirm,+}: SkillInstallConfirmDialogProps) {+ const { t } = useLingui();++ // Snapshot the destinations the user has read, re-taken each time the dialog+ // opens. While open, live paths drifting from that snapshot flips+ // destinationsChanged; the first confirm click then re-acknowledges rather+ // than committing. Reset-on-open via the previous-value render pattern (not an+ // effect) so a reused dialog instance doesn't carry a stale snapshot into its+ // next open. Newline joins because a filesystem path can hold a space but not+ // a newline.+ const currentSig = paths.join('\n');+ const [ackedSig, setAckedSig] = useState(currentSig);+ const [wasOpen, setWasOpen] = useState(open);+ if (open !== wasOpen) {+ setWasOpen(open);+ if (open) setAckedSig(currentSig);+ }+ const destinationsChanged = open && currentSig !== ackedSig;++ function onPrimary() {+ if (destinationsChanged) {+ setAckedSig(currentSig);+ return;+ }+ onConfirm();+ }++ return (+ <AlertDialog open={open} onOpenChange={onOpenChange}>+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>+ {mode === 'install' ? t`Install ${name}` : t`Uninstall ${name}`}+ </AlertDialogTitle>+ <AlertDialogDescription>{description}</AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogBody className="flex flex-col gap-4 py-1">+ {size ? (+ <div className="flex flex-col gap-1">+ <span className="text-xs font-medium text-muted-foreground">+ <Trans>Context cost</Trans>+ </span>+ <SkillCostValue size={size} />+ </div>+ ) : null}+ <div className="flex flex-col gap-1">+ <span className="text-xs font-medium text-muted-foreground">+ {mode === 'install' ? <Trans>Installs to</Trans> : <Trans>Removes from</Trans>}+ </span>+ <SkillDestinationList paths={paths} />+ </div>+ {destinationsChanged ? (+ <p+ role="status"+ className="text-xs text-amber-600 dark:text-amber-500"+ data-testid="skill-destinations-changed"+ >+ <Trans>The destinations changed. Review the list, then confirm.</Trans>+ </p>+ ) : null}+ </AlertDialogBody>+ <AlertDialogFooter>+ <AlertDialogCancel>+ <Trans>Cancel</Trans>+ </AlertDialogCancel>+ <Button+ variant={mode === 'uninstall' ? 'destructive' : 'default'}+ onClick={onPrimary}+ data-testid="skill-confirm-primary"+ >+ {mode === 'install' ? <Trans>Install</Trans> : <Trans>Uninstall</Trans>}+ </Button>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ );+}diff --git a/packages/app/src/components/SkillProperties.dom.test.tsx b/packages/app/src/components/SkillProperties.dom.test.tsxindex 11bd2e112..36c0ecf3b 100644--- a/packages/app/src/components/SkillProperties.dom.test.tsx+++ b/packages/app/src/components/SkillProperties.dom.test.tsx@@ -8,16 +8,41 @@*/import type { HocuspocusProvider } from '@hocuspocus/provider';+import type { SkillCostTiers, SkillsListEntry } from '@inkeep/open-knowledge-core';import { fireEvent, render, screen } from '@testing-library/react';-import { describe, expect, test, vi } from 'vitest';+import { beforeEach, describe, expect, test, vi } from 'vitest';import * as Y from 'yjs';import * as linguiShim from '../../tests/lingui-macro-shim';vi.doMock('@lingui/react/macro', () => linguiShim);+// The tokens row reads the skill's list entry. Drive it per-test through a+// mutable state: `idle` (the default) leaves `entry` undefined, exactly as the+// unmocked hook does before `/api/skills` resolves, so the identity-only tests+// below see today's behaviour.+type SkillsState = { status: 'idle' } | { status: 'ready'; data: readonly SkillsListEntry[] };+let skillsState: SkillsState = { status: 'idle' };+vi.doMock('@/hooks/use-skills', () => ({ useSkills: () => skillsState }));++function readyEntry(size?: SkillCostTiers): SkillsState {+ const entry = {+ scope: 'project',+ name: 'foo',+ path: '.claude/skills/foo/SKILL.md',+ installed: true,+ hosts: ['claude'],+ ...(size ? { size } : {}),+ } as unknown as SkillsListEntry;+ return { status: 'ready', data: [entry] };+}+const { SkillProperties } = await import('./SkillProperties');const { PropertyProvider } = await import('./PropertyContext');+beforeEach(() => {+ skillsState = { status: 'idle' };+});+/** SkillProperties reuses the document PropertyPanel, which reads the shared* property-panel context — the same `PropertyProvider` EditorArea mounts. */function renderPanel(ui: Parameters<typeof render>[0]) {@@ -87,3 +112,56 @@ describe('SkillProperties (CRDT)', () => {expect(panel.contains(screen.getByTestId('skill-name-input'))).toBe(true);});});++describe('SkillProperties tokens row', () => {+ test('shows the three tiers from the list entry, bare and ~-prefixed', () => {+ skillsState = readyEntry({ alwaysOn: 40, onTrigger: 3218, onDemand: 916 });+ const { provider } = makeProvider(SOURCE);+ renderPanel(+ <SkillProperties provider={provider} scope="project" name="foo" onRename={() => {}} />,+ );+ const row = screen.getByTestId('skill-cost-value');+ const text = row.textContent ?? '';+ // Each tier reads as its own figure — never a summed total. Over a thousand+ // reads abbreviated (`~3.2k`); below stays bare.+ expect(text).toContain('~40');+ expect(text).toContain('~3.2k');+ expect(text).toContain('~916');+ expect(text).toContain('always-on');+ expect(text).toContain('on trigger');+ expect(text).toContain('on demand');+ // Every one is under its budget here, so nothing is marked.+ expect(screen.queryAllByRole('img')).toHaveLength(0);+ });++ test('hides the row when the entry carries no size (older server)', () => {+ const errorSpy = vi.spyOn(console, 'error').mockImplementation(() => {});+ skillsState = readyEntry(undefined);+ const { provider } = makeProvider(SOURCE);+ renderPanel(+ <SkillProperties provider={provider} scope="project" name="foo" onRename={() => {}} />,+ );+ // Absent size renders nothing — never a zeroed-out row that would read as a+ // free skill — and logs no error.+ expect(screen.queryByTestId('skill-cost-value')).toBeNull();+ expect(errorSpy).not.toHaveBeenCalled();+ errorSpy.mockRestore();+ });++ test('marks tiers over their published budget and leaves on-demand bare', () => {+ skillsState = readyEntry({ alwaysOn: 250, onTrigger: 6000, onDemand: 40000 });+ const { provider } = makeProvider(SOURCE);+ renderPanel(+ <SkillProperties provider={provider} scope="project" name="foo" onRename={() => {}} />,+ );+ // always-on (>~100) and on-trigger (>5000) are each marked with an+ // accessible over-budget reason; on-demand has no published norm, so its+ // large figure is shown unmarked.+ const marks = screen.getAllByRole('img');+ expect(marks).toHaveLength(2);+ for (const mark of marks) {+ expect(mark.getAttribute('aria-label')).toMatch(/over the .* token budget/);+ }+ expect(screen.getByTestId('skill-cost-value').textContent).toContain('~40k');+ });+});diff --git a/packages/app/src/components/SkillProperties.tsx b/packages/app/src/components/SkillProperties.tsxindex 3fb30681b..d1547e2ff 100644--- a/packages/app/src/components/SkillProperties.tsx+++ b/packages/app/src/components/SkillProperties.tsx@@ -1,10 +1,11 @@import type { HocuspocusProvider } from '@hocuspocus/provider';import { SKILL_NAME_REGEX, type SkillScope } from '@inkeep/open-knowledge-core';import { Trans, useLingui } from '@lingui/react/macro';-import { Type } from 'lucide-react';+import { Gauge, Type } from 'lucide-react';import { useEffect, useId, useState } from 'react';import { PropertyDisplayRow } from '@/components/PropertyDisplayRow';import { PropertyPanel } from '@/components/PropertyPanel';+import { SkillCostValue } from '@/components/SkillCostValue';import { Input } from '@/components/ui/input';import { useSkills } from '@/hooks/use-skills';import { SKILL_RESERVED_KEYS } from '@/lib/reserved-property-keys';@@ -149,10 +150,29 @@ export function SkillProperties({</PropertyDisplayRow>);+ // The skill's estimated context cost from its list entry, read-only. Absent+ // when the server hasn't sized this skill (older build, or a store/built-in+ // row that doesn't ride the sized walk) — then the row is dropped, never shown+ // as zeroes, so a missing figure can't read as a free skill.+ const tokensRow = entry?.size ? (+ <PropertyDisplayRow icon={<Gauge className="size-3.5" />} label={t`tokens`}>+ <SkillCostValue size={entry.size} />+ </PropertyDisplayRow>+ ) : null;+// Frontmatter (description, nested objects, tags, add/rename/reorder) is the// exact document property panel — the `name` identity row is rendered at the// top via `identitySlot` and reserved out of the frontmatter rows below.return (- <PropertyPanel provider={provider} reservedKeys={SKILL_RESERVED_KEYS} identitySlot={nameRow} />+ <PropertyPanel+ provider={provider}+ reservedKeys={SKILL_RESERVED_KEYS}+ identitySlot={+ <>+ {nameRow}+ {tokensRow}+ </>+ }+ />);}diff --git a/packages/app/src/components/settings/AiToolsSection.dom.test.tsx b/packages/app/src/components/settings/AiToolsSection.dom.test.tsxindex 75e218d94..4ac4f0d79 100644--- a/packages/app/src/components/settings/AiToolsSection.dom.test.tsx+++ b/packages/app/src/components/settings/AiToolsSection.dom.test.tsx@@ -1,5 +1,5 @@import * as actualLinguiMacro from '@lingui/react/macro';-import { cleanup, render, screen, waitFor } from '@testing-library/react';+import { cleanup, render, screen, waitFor, within } from '@testing-library/react';import userEvent from '@testing-library/user-event';import type { ReactNode } from 'react';import { afterEach, describe, expect, test, vi } from 'vitest';@@ -22,6 +22,13 @@ vi.doMock('sonner', () => ({toast: { error: toastError, info: vi.fn(() => {}), success: vi.fn(() => {}) },}));+// Spy on the perf-mark instrumentation while keeping the module's other exports.+const markSpy = vi.fn();+vi.doMock('@/lib/perf', async () => {+ const actual = await vi.importActual<typeof import('@/lib/perf')>('@/lib/perf');+ return { ...actual, mark: markSpy };+});+const { AiToolsSection } = await import('./AiToolsSection');const { TooltipProvider } = await import('@/components/ui/tooltip');@@ -75,17 +82,25 @@ const baseStatus: OkIntegrationsStatus = {{id: 'discovery',name: 'open-knowledge-discovery',+ description: 'Helps your agent recognize OpenKnowledge projects.',installed: true,paths: ['~/.agents/skills/open-knowledge-discovery','~/.claude/skills/open-knowledge-discovery',],+ size: { alwaysOn: 140, onTrigger: 1495, onDemand: 0 },+ sourceDir: '/bundles/open-knowledge-discovery',+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],},{id: 'write-skill',name: 'open-knowledge-write-skill',+ description: 'Adds a guided workflow for authoring new Agent Skills.',installed: false,paths: ['~/.agents/skills/open-knowledge-write-skill'],+ size: { alwaysOn: 156, onTrigger: 3218, onDemand: 916 },+ sourceDir: '/bundles/open-knowledge-write-skill',+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],},],};@@ -123,6 +138,8 @@ async function expandEditors(): Promise<void> {afterEach(() => {cleanup();toastError.mockClear();+ markSpy.mockClear();+ window.location.hash = '';// biome-ignore lint/suspicious/noExplicitAny: test-only global teardown.(window as any).okDesktop = undefined;});@@ -167,13 +184,12 @@ describe('AiToolsSection', () => {);expect(screen.getByTestId('ai-tools-editor-status-opencode').tagName).toBe('SPAN');- // Skills: installed state drives the checkbox.- expect(screen.getByTestId('ai-tools-skill-checkbox-discovery').getAttribute('data-state')).toBe(- 'checked',- );- expect(- screen.getByTestId('ai-tools-skill-checkbox-write-skill').getAttribute('data-state'),- ).toBe('unchecked');+ // Skills: no checkbox — installed drives an Uninstall button, uninstalled an+ // Install button. The row shows the skill's own frontmatter description.+ expect(screen.queryByTestId('ai-tools-skill-checkbox-discovery')).toBeNull();+ expect(screen.getByTestId('ai-tools-skill-uninstall-discovery')).toBeTruthy();+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ expect(screen.getByText('Adds a guided workflow for authoring new Agent Skills.')).toBeTruthy();});test('detection orders a row but never claims presence on it', async () => {@@ -236,12 +252,14 @@ describe('AiToolsSection', () => {const { setCalls } = installBridge();renderSection();await waitFor(() => {- expect(screen.getByTestId('ai-tools-skill-checkbox-discovery')).toBeTruthy();+ expect(screen.getByTestId('ai-tools-editor-checkbox-claude')).toBeTruthy();});- await userEvent.click(screen.getByTestId('ai-tools-skill-checkbox-discovery'));+ // Claude is installed → unchecking it removes the MCP entry. (Skill+ // uninstall is the Install/Uninstall button flow, covered separately.)+ await userEvent.click(screen.getByTestId('ai-tools-editor-checkbox-claude'));await waitFor(() => {- expect(setCalls).toEqual([{ component: { kind: 'skill', id: 'discovery' }, enabled: false }]);+ expect(setCalls).toEqual([{ component: { kind: 'editor', id: 'claude' }, enabled: false }]);});});@@ -278,7 +296,7 @@ describe('AiToolsSection', () => {expect(screen.getByTestId('ai-tools-editor-checkbox-claude').hasAttribute('disabled')).toBe(true,);- expect(screen.getByTestId('ai-tools-skill-checkbox-discovery').hasAttribute('disabled')).toBe(+ expect(screen.getByTestId('ai-tools-skill-uninstall-discovery').hasAttribute('disabled')).toBe(true,);});@@ -303,4 +321,179 @@ describe('AiToolsSection', () => {const locators = await screen.findAllByText('mcpServers.open-knowledge');expect(locators.length).toBeGreaterThan(0);});++ test('the skills group states that skill reach is independent of the MCP selection', async () => {+ installBridge();+ renderSection();+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-fanout-note')).toBeTruthy();+ });+ expect(screen.getByTestId('ai-tools-skill-fanout-note').textContent).toContain(+ 'independent of the MCP connections',+ );+ });++ test('clicking the row body opens the built-in preview, which dismisses the settings surface', async () => {+ installBridge();+ renderSection();+ await waitFor(() => {+ expect(screen.getAllByTestId('skill-consent-row-preview').length).toBeGreaterThan(0);+ });+ // Settings is a hash-driven dialog (#settings); navigating to a preview hash+ // is exactly what dismisses it.+ window.location.hash = '#settings';++ await userEvent.click(screen.getAllByTestId('skill-consent-row-preview')[0]);++ expect(window.location.hash.startsWith('#/__skill-preview__/')).toBe(true);+ expect(window.location.hash).not.toBe('#settings');+ });++ test('Install opens a confirm modal naming the skill and its destinations; nothing writes until confirmed', async () => {+ const withCustomRoot: OkIntegrationsStatus = {+ ...baseStatus,+ skills: baseStatus.skills.map((s) =>+ s.id === 'write-skill'+ ? {+ ...s,+ paths: [+ '~/.agents/skills/open-knowledge-write-skill',+ '~/my-agent/skills/open-knowledge-write-skill',+ ],+ resolvedHosts: [+ { editor: 'claude', skillsRoot: '.claude/skills', custom: false },+ {+ editor: '~/my-agent/skills',+ skillsRoot: '~/my-agent/skills',+ custom: true,+ },+ ],+ }+ : s,+ ),+ };+ const { setCalls } = installBridge({ status: withCustomRoot });+ renderSection();+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ });+ // No checkbox in the skills group any more — the control is an explicit button.+ expect(screen.queryByTestId('ai-tools-skill-checkbox-write-skill')).toBeNull();++ await userEvent.click(screen.getByTestId('ai-tools-skill-install-write-skill'));++ const dialog = await screen.findByRole('alertdialog');+ expect(within(dialog).getByText('Install open-knowledge-write-skill')).toBeTruthy();+ // Every destination is listed, including the declared custom root, verbatim.+ expect(within(dialog).getByText('~/.agents/skills/open-knowledge-write-skill')).toBeTruthy();+ expect(within(dialog).getByText('~/my-agent/skills/open-knowledge-write-skill')).toBeTruthy();+ // Nothing is written before the user confirms.+ expect(setCalls).toEqual([]);++ await userEvent.click(within(dialog).getByTestId('skill-confirm-primary'));+ await waitFor(() => {+ expect(setCalls).toEqual([+ { component: { kind: 'skill', id: 'write-skill' }, enabled: true },+ ]);+ });+ });++ test('a skill with zero resolved hosts disables Install and states the reason on the row', async () => {+ const noHosts: OkIntegrationsStatus = {+ ...baseStatus,+ skills: baseStatus.skills.map((s) =>+ s.id === 'write-skill' ? { ...s, resolvedHosts: [] } : s,+ ),+ };+ installBridge({ status: noHosts });+ renderSection();+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ });++ expect(screen.getByTestId('ai-tools-skill-install-write-skill').hasAttribute('disabled')).toBe(+ true,+ );+ // The row states what would make it clickable (exactly the zero-host skill).+ expect(screen.getByTestId('skill-consent-row-no-hosts').textContent).toContain(+ 'No AI tools detected',+ );+ });++ test('an install that fails for every host stays uninstalled and surfaces the failure', async () => {+ installBridge({+ setResult: () => ({+ ok: false as const,+ error: "Couldn't write ~/.claude/skills/open-knowledge-write-skill",+ status: baseStatus,+ }),+ });+ renderSection();+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ });++ await userEvent.click(screen.getByTestId('ai-tools-skill-install-write-skill'));+ await userEvent.click(await screen.findByTestId('skill-confirm-primary'));++ await waitFor(() => {+ expect(toastError).toHaveBeenCalledWith(+ "Couldn't write ~/.claude/skills/open-knowledge-write-skill",+ );+ });+ // No silent revert: the control still reads Install (uninstalled).+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ expect(screen.queryByTestId('ai-tools-skill-uninstall-write-skill')).toBeNull();+ });++ test('a confirmed install marks an event carrying the originating surface and host count', async () => {+ const { setCalls } = installBridge();+ renderSection();+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ });++ await userEvent.click(screen.getByTestId('ai-tools-skill-install-write-skill'));+ await userEvent.click(await screen.findByTestId('skill-confirm-primary'));+ await waitFor(() => {+ expect(setCalls.length).toBe(1);+ });++ expect(markSpy).toHaveBeenCalledWith(+ 'ok/skill/install',+ expect.objectContaining({ surface: 'settings', mode: 'install', hostCount: 1 }),+ );+ });++ test('a partial install is treated as installed with the reach the fresh status reports', async () => {+ // Fresh snapshot after a partial install: write-skill now installed, its+ // reach reflecting only the host that actually took the copy.+ const landed: OkIntegrationsStatus = {+ ...baseStatus,+ skills: baseStatus.skills.map((s) =>+ s.id === 'write-skill'+ ? {+ ...s,+ installed: true,+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],+ }+ : s,+ ),+ };+ installBridge({ setResult: () => ({ ok: true as const, status: landed }) });+ renderSection();+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-install-write-skill')).toBeTruthy();+ });++ await userEvent.click(screen.getByTestId('ai-tools-skill-install-write-skill'));+ await userEvent.click(await screen.findByTestId('skill-confirm-primary'));++ // The fresh status flips the control to Uninstall — treated as installed —+ // and no failure is surfaced.+ await waitFor(() => {+ expect(screen.getByTestId('ai-tools-skill-uninstall-write-skill')).toBeTruthy();+ });+ expect(toastError).not.toHaveBeenCalled();+ });});diff --git a/packages/app/src/components/settings/AiToolsSection.tsx b/packages/app/src/components/settings/AiToolsSection.tsxindex 5aa0c329e..3237194a7 100644--- a/packages/app/src/components/settings/AiToolsSection.tsx+++ b/packages/app/src/components/settings/AiToolsSection.tsx@@ -2,11 +2,13 @@* Settings → User → AI tools & CLI — the persistent, stateful sibling of the* first-launch "Connect your AI tools to OpenKnowledge" consent dialog* (`McpConsentDialogBody.tsx`). Same three component groups (shell-PATH shim,- * per-editor MCP entries, user-global Agent Skills), but checkboxes reflect- * LIVE installed state and each click applies immediately: check = install,- * uncheck = uninstall. One component mutates at a time (main serializes;- * the UI disables the group while a toggle is in flight). Each row carries an- * info tooltip disclosing the exact file + entry (or folders) it touches.+ * per-editor MCP entries, user-global Agent Skills). The PATH and MCP rows are+ * checkboxes that reflect LIVE installed state and apply on click (check =+ * install, uncheck = uninstall), each with an info tooltip disclosing the file ++ * entry it touches. Agent Skills instead use an explicit Install/Uninstall button+ * behind a confirm modal — a single click never writes — with the skill's reach+ * and context cost disclosed on the row itself. One component mutates at a time+ * (main serializes; the UI disables the group while a toggle is in flight).** Desktop-only — the sidebar item is gated on the Electron preload bridge, and* this component renders a fallback if mounted without it.@@ -19,6 +21,8 @@ import { Trans, useLingui } from '@lingui/react/macro';import { ArrowUpRight, Info } from 'lucide-react';import { type ReactNode, useEffect, useState } from 'react';import { toast } from 'sonner';+import { SkillConsentRow } from '@/components/SkillConsentRow';+import { SkillInstallConfirmDialog } from '@/components/SkillInstallConfirmDialog';import { Button } from '@/components/ui/button';import { Checkbox } from '@/components/ui/checkbox';import { Label } from '@/components/ui/label';@@ -26,6 +30,8 @@ import { Skeleton } from '@/components/ui/skeleton';import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';import type { OkIntegrationsSetRequest, OkIntegrationsStatus } from '@/lib/desktop-bridge-types';import { dispatchExternalLinkClick } from '@/lib/external-link';+import { openSkillPreviewTab } from '@/lib/open-managed-artifact-tab';+import { mark } from '@/lib/perf';type ComponentRef = OkIntegrationsSetRequest['component'];@@ -71,6 +77,10 @@ export function AiToolsSection() {const [status, setStatus] = useState<OkIntegrationsStatus | null>(null);const [loadFailed, setLoadFailed] = useState(false);const [pending, setPending] = useState<string | null>(null);+ const [confirm, setConfirm] = useState<{+ skillId: string;+ mode: 'install' | 'uninstall';+ } | null>(null);const [showAllEditors, setShowAllEditors] = useState(false);useEffect(() => {@@ -107,6 +117,25 @@ export function AiToolsSection() {setPending(null);}+ // Settings install/uninstall runs behind the confirm modal — never a single+ // click. The modal fires this only once the user has acknowledged the+ // destination set it currently shows; mark the attempt with its surface ++ // reach, close the modal, then route through the same bridge path the editor+ // and path rows use (setComponent → reclaim), never the skills HTTP API.+ async function onConfirmSkill(): Promise<void> {+ if (!confirm) return;+ const target = status?.skills.find((s) => s.id === confirm.skillId);+ mark('ok/skill/install', {+ surface: 'settings',+ mode: confirm.mode,+ skill: confirm.skillId,+ hostCount: target?.resolvedHosts.length ?? 0,+ });+ const { skillId, mode } = confirm;+ setConfirm(null);+ await applyToggle({ kind: 'skill', id: skillId }, mode === 'install');+ }+// Yours first, the rest folded. A row is primary when OK has WIRED it// (`installed`, `foreign`, or `unmanageable` — its config file exists, which is// what makes the tool real), or when the editor is detected.@@ -176,6 +205,12 @@ export function AiToolsSection() {const busy = pending !== null || !status.available;const showPathRow = status.path.shellDetected || status.path.installed;+ // Re-resolved from live status each render, so the modal always discloses the+ // destinations currently on the status snapshot — it re-confirms on its own if+ // they drift while it is open.+ const confirmSkill = confirm+ ? (status.skills.find((s) => s.id === confirm.skillId) ?? null)+ : null;return (<section aria-labelledby="settings-ai-tools-title" className="space-y-4">@@ -374,59 +409,88 @@ export function AiToolsSection() {Agent Skills</Trans></span>+ <p className="text-xs text-muted-foreground" data-testid="ai-tools-skill-fanout-note">+ <Trans comment="Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above">+ Skills install to every AI tool detected on this machine, independent of the MCP+ connections you chose above.+ </Trans>+ </p><ul className="rounded-md border border-border bg-card/50 divide-y divide-border overflow-hidden">- {status.skills.map((skill) => (- <li key={skill.id} className="flex items-start hover:bg-accent">- <Label- htmlFor={`ai-tools-skill-${skill.id}`}- className="flex flex-1 cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal"- >- <Checkbox- id={`ai-tools-skill-${skill.id}`}- checked={skill.installed}- disabled={busy}- onCheckedChange={() =>- void applyToggle({ kind: 'skill', id: skill.id }, !skill.installed)+ {status.skills.map((skill) => {+ const hosts = skill.resolvedHosts.map((h) => h.editor);+ const canInstall = hosts.length > 0;+ // Bound as `name` so the accessible names reuse the catalog's+ // existing `Install {name}` / `Uninstall {name}` msgids rather+ // than minting `Install {0}` variants needing fresh translation+ // in all eleven locales.+ const name = skill.name;+ return (+ <li key={skill.id} className="hover:bg-accent">+ <SkillConsentRow+ name={skill.name}+ description={skill.description}+ hosts={hosts}+ size={skill.size}+ onActivate={+ skill.sourceDir+ ? () => {+ mark('ok/skill/preview-open', { surface: 'settings', skill: skill.id });+ openSkillPreviewTab({+ flavor: 'builtin',+ source: skill.sourceDir,+ name: skill.name,+ subtitle: '',+ level: 'global',+ });+ }+ : undefined}- className="mt-0.5"- data-testid={`ai-tools-skill-checkbox-${skill.id}`}- />- <span className="flex min-w-0 flex-1 flex-col gap-0.5">- <span className="text-sm font-medium text-foreground">- <code>{skill.name}</code>- </span>- <span- className="text-xs text-muted-foreground"- data-testid={`ai-tools-skill-status-${skill.id}`}- >- {skill.id === 'discovery' ? (- <Trans comment="Subtext for the open-knowledge-discovery skill row">- Helps your coding agent recognize OpenKnowledge projects and route reads- and writes through it.- </Trans>+ control={+ skill.installed ? (+ <Button+ variant="outline"+ size="sm"+ disabled={busy}+ onClick={() => setConfirm({ skillId: skill.id, mode: 'uninstall' })}+ aria-label={t`Uninstall ${name}`}+ data-testid={`ai-tools-skill-uninstall-${skill.id}`}+ >+ <Trans>Uninstall</Trans>+ </Button>) : (- <Trans comment="Subtext for the open-knowledge-write-skill skill row">- Adds a guided workflow for authoring new Agent Skills.- </Trans>- )}- </span>- </span>- </Label>- <RowInfoTooltip testId={`ai-tools-skill-info-${skill.id}`}>- <p className="opacity-70">- <Trans>Folders</Trans>- </p>- {skill.paths.map((path) => (- <p key={path}>- <code className="break-all">{path}</code>- </p>- ))}- </RowInfoTooltip>- </li>- ))}+ <Button+ size="sm"+ disabled={busy || !canInstall}+ onClick={() => setConfirm({ skillId: skill.id, mode: 'install' })}+ aria-label={t`Install ${name}`}+ data-testid={`ai-tools-skill-install-${skill.id}`}+ >+ <Trans>Install</Trans>+ </Button>+ )+ }+ />+ </li>+ );+ })}</ul></div>)}++ {confirmSkill && confirm && (+ <SkillInstallConfirmDialog+ open+ onOpenChange={(next) => {+ if (!next) setConfirm(null);+ }}+ mode={confirm.mode}+ name={confirmSkill.name}+ description={confirmSkill.description}+ paths={confirmSkill.paths}+ size={confirmSkill.size}+ onConfirm={() => void onConfirmSkill()}+ />+ )}</section>);}diff --git a/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsx b/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsxindex b00795c3e..80653d59b 100644--- a/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsx+++ b/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsx@@ -65,6 +65,10 @@ const baseStatus: OkProjectIntegrationsStatus = {skill: {installed: true,paths: ['.claude/skills/open-knowledge/SKILL.md', '.codex/skills/open-knowledge/SKILL.md'],+ description: 'Teaches coding agents in this project to read and write through OpenKnowledge.',+ hosts: ['claude', 'codex'],+ size: { alwaysOn: 140, onTrigger: 1495, onDemand: 0 },+ sourceDir: '/bundled/project',},};@@ -132,7 +136,9 @@ describe('ProjectAiToolsSection', () => {});expect(screen.getByTestId('project-ai-tools-editor-checkbox-cursor')).toBeTruthy();expect(screen.getByTestId('project-ai-tools-editor-checkbox-codex')).toBeTruthy();- expect(screen.getByTestId('project-ai-tools-skill-checkbox')).toBeTruthy();+ // The skill row is no longer a checkbox: an installed project skill offers+ // Uninstall, and installing is an explicit button behind a confirm screen.+ expect(screen.getByTestId('project-ai-tools-skill-uninstall')).toBeTruthy();});test('installed/foreign rows are checked; not-installed rows are not', async () => {@@ -177,15 +183,26 @@ describe('ProjectAiToolsSection', () => {expect(setCalls[0]).toEqual({ component: { kind: 'editor', id: 'cursor' }, enabled: true });});- test('toggling the skill row fans out via a single skill component ref', async () => {+ test('the skill row confirms before uninstalling, then fans out via one component ref', async () => {const { setCalls } = installBridge();renderSection();const user = userEvent.setup();await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-skill-checkbox')).toBeTruthy();+ expect(screen.getByTestId('project-ai-tools-skill-uninstall')).toBeTruthy();});- // Installed → unchecking uninstalls.- await user.click(screen.getByTestId('project-ai-tools-skill-checkbox'));++ // The control alone writes nothing — it opens the consent screen. This is+ // the whole point of the change: the project skill lands in the repo for+ // everyone, so it must not move on a single click.+ await user.click(screen.getByTestId('project-ai-tools-skill-uninstall'));+ expect(setCalls.length).toBe(0);++ // The confirm names every project-relative destination before acting.+ const destinations = await screen.findByTestId('skill-destination-list');+ expect(destinations.textContent).toContain('.claude/skills/open-knowledge/SKILL.md');+ expect(destinations.textContent).toContain('.codex/skills/open-knowledge/SKILL.md');++ await user.click(screen.getByTestId('skill-confirm-primary'));await waitFor(() => expect(setCalls.length).toBe(1));expect(setCalls[0]).toEqual({ component: { kind: 'skill' }, enabled: false });});@@ -224,8 +241,8 @@ describe('ProjectAiToolsSection', () => {await waitFor(() => {expect(screen.getByTestId('project-ai-tools-read-only')).toBeTruthy();});- expect(- screen.getByTestId('project-ai-tools-skill-checkbox').getAttribute('data-disabled'),- ).not.toBeNull();+ expect(screen.getByTestId('project-ai-tools-skill-uninstall').hasAttribute('disabled')).toBe(+ true,+ );});});diff --git a/packages/app/src/components/settings/ProjectAiToolsSection.tsx b/packages/app/src/components/settings/ProjectAiToolsSection.tsxindex f97bd4de9..3be80dab7 100644--- a/packages/app/src/components/settings/ProjectAiToolsSection.tsx+++ b/packages/app/src/components/settings/ProjectAiToolsSection.tsx@@ -25,6 +25,8 @@ import { Trans, useLingui } from '@lingui/react/macro';import { Info } from 'lucide-react';import { type ReactNode, useEffect, useState } from 'react';import { toast } from 'sonner';+import { SkillConsentRow } from '@/components/SkillConsentRow';+import { SkillInstallConfirmDialog } from '@/components/SkillInstallConfirmDialog';import { Button } from '@/components/ui/button';import { Checkbox } from '@/components/ui/checkbox';import { Label } from '@/components/ui/label';@@ -35,6 +37,7 @@ import type {OkProjectIntegrationsSetRequest,OkProjectIntegrationsStatus,} from '@/lib/desktop-bridge-types';+import { openSkillPreviewTab } from '@/lib/open-managed-artifact-tab';type EditorRow = OkProjectIntegrationsStatus['editors'][number];type ComponentRef = OkProjectIntegrationsSetRequest['component'];@@ -112,6 +115,9 @@ export function ProjectAiToolsSection() {const [status, setStatus] = useState<OkProjectIntegrationsStatus | null>(null);const [loadFailed, setLoadFailed] = useState(false);const [pending, setPending] = useState<string | null>(null);+ // The project skill is a single row, so the confirm state is just its mode —+ // no per-row id like the user-global section needs.+ const [confirmMode, setConfirmMode] = useState<'install' | 'uninstall' | null>(null);useEffect(() => {if (!bridge) return;@@ -236,47 +242,92 @@ export function ProjectAiToolsSection() {Project skill</Trans></span>+ <p+ className="text-xs text-muted-foreground"+ data-testid="project-ai-tools-skill-scope-note"+ >+ <Trans comment="Tells the user the project skill is committed to the repo, unlike the user-global skills">+ This skill lives in the project folder, so it installs for everyone who opens this+ project — not just you.+ </Trans>+ </p><ul className="rounded-md border border-border bg-card/50 overflow-hidden">- <li className="flex items-start hover:bg-accent">- <Label- htmlFor="project-ai-tools-skill"- className="flex flex-1 cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal"- >- <Checkbox- id="project-ai-tools-skill"- checked={status.skill.installed}- disabled={busy}- onCheckedChange={() =>- void applyToggle({ kind: 'skill' }, !status.skill?.installed)- }- className="mt-0.5"- data-testid="project-ai-tools-skill-checkbox"- />- <span className="flex min-w-0 flex-1 flex-col gap-0.5">- <span className="text-sm font-medium text-foreground">- <code>open-knowledge</code>- </span>- <span className="text-xs text-muted-foreground">- <Trans comment="Subtext for the project runtime-skill row">- Teaches coding agents in this project to read and write through OpenKnowledge.- </Trans>- </span>- </span>- </Label>- <RowInfoTooltip testId="project-ai-tools-skill-info">- <p className="opacity-70">- <Trans>Folders</Trans>- </p>- {status.skill.paths.map((path) => (- <p key={path}>- <code className="break-all">{path}</code>- </p>- ))}- </RowInfoTooltip>+ <li className="hover:bg-accent">+ <SkillConsentRow+ name="open-knowledge"+ description={+ status.skill.description ||+ t`Teaches coding agents in this project to read and write through OpenKnowledge.`+ }+ // Defensive: a main process older than this renderer sends no+ // hosts. An empty set renders the row's own no-destination copy+ // rather than crashing the whole section.+ hosts={status.skill.hosts ?? []}+ size={status.skill.size}+ onActivate={+ status.skill.sourceDir+ ? () => {+ const source = status.skill?.sourceDir;+ if (!source) return;+ openSkillPreviewTab({+ flavor: 'builtin',+ source,+ name: 'open-knowledge',+ subtitle: '',+ level: 'project',+ });+ }+ : undefined+ }+ control={+ status.skill.installed ? (+ <Button+ variant="outline"+ size="sm"+ disabled={busy}+ onClick={() => setConfirmMode('uninstall')}+ data-testid="project-ai-tools-skill-uninstall"+ >+ <Trans>Uninstall</Trans>+ </Button>+ ) : (+ <Button+ size="sm"+ disabled={busy || (status.skill.hosts ?? []).length === 0}+ onClick={() => setConfirmMode('install')}+ data-testid="project-ai-tools-skill-install"+ >+ <Trans>Install</Trans>+ </Button>+ )+ }+ /></li></ul></div>)}++ {status.skill !== null && confirmMode && (+ <SkillInstallConfirmDialog+ open+ onOpenChange={(next) => {+ if (!next) setConfirmMode(null);+ }}+ mode={confirmMode}+ name="open-knowledge"+ description={+ status.skill.description ||+ t`Teaches coding agents in this project to read and write through OpenKnowledge.`+ }+ paths={status.skill.paths}+ size={status.skill.size}+ onConfirm={() => {+ const next = confirmMode === 'install';+ setConfirmMode(null);+ void applyToggle({ kind: 'skill' }, next);+ }}+ />+ )}</section>);}diff --git a/packages/app/src/lib/skill-card-cost.ts b/packages/app/src/lib/skill-card-cost.tsnew file mode 100644index 000000000..11bb55931--- /dev/null+++ b/packages/app/src/lib/skill-card-cost.ts@@ -0,0 +1,75 @@+import { estimateSkillCost, type SkillCostTiers } from '@inkeep/open-knowledge-core';+import { fetchSkillPreview } from '@/lib/skills-api';++/**+ * Hover-resolved context cost for a skills.sh directory card.+ *+ * The figure is NOT free: skills.sh publishes no size, so the only way to price+ * a card is to fetch its bundle, which clones the source server-side. Resolving+ * every card in a grid would clone once per distinct source on every settled+ * query, so this runs on hover only — a card the user never points at costs+ * nothing. Siblings are cheap because the server caches the clone by source, so+ * the second card from one repo reuses the first card's clone.+ *+ * Results are memoised per `source::name` for the session, including MISSES:+ * a source that cannot be cloned should not be retried on every re-hover.+ */+const cache = new Map<string, SkillCostTiers | null>();+const inFlight = new Map<string, Promise<SkillCostTiers | null>>();++function keyOf(source: string, name: string): string {+ return `${source}::${name}`;+}++/** Cached figure, or `undefined` when this card has never been resolved. */+export function peekSkillCardCost(source: string, name: string): SkillCostTiers | null | undefined {+ return cache.get(keyOf(source, name));+}++/**+ * Resolve (and memoise) a card's cost. Concurrent hovers on the same card share+ * one request. A failed fetch resolves to `null` — the card must render exactly+ * as it does today rather than surfacing an error for a decorative figure.+ */+export async function resolveSkillCardCost(+ source: string,+ name: string,+): Promise<SkillCostTiers | null> {+ const key = keyOf(source, name);+ const cached = cache.get(key);+ if (cached !== undefined) return cached;+ const pending = inFlight.get(key);+ if (pending) return pending;++ const run = (async (): Promise<SkillCostTiers | null> => {+ try {+ const res = await fetchSkillPreview({ source, name });+ if (!res.ok) return null;+ return estimateSkillCost({+ name: res.name,+ description: res.description ?? '',+ skillMd: res.skillMd,+ files: res.files,+ });+ } catch {+ // Network/abort — indistinguishable from "no figure available" for a+ // decorative card annotation.+ return null;+ }+ })();++ inFlight.set(key, run);+ try {+ const value = await run;+ cache.set(key, value);+ return value;+ } finally {+ inFlight.delete(key);+ }+}++/** Test seam — drops every memoised figure. */+export function clearSkillCardCostCache(): void {+ cache.clear();+ inFlight.clear();+}diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex a6895e2c6..5a84d6028 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -88,6 +88,7 @@"09Tv5j": ["يجري إعادة الاتصال…"],"0BB9ID": ["لا توجد عناوين بعد."],"0BfhAj": ["إعادة تعيين العرض"],+ "0CvV_9": ["يُثبَّت في"],"0E9DR6": ["اكتب للعثور على مستند"],"0Er6-M": ["تجري إعادة التشغيل"],"0Gd0NU": ["مشترك"],@@ -126,9 +127,6 @@],"0eHrMb": ["تعذّر إتمام الحذف"],"0g7rCZ": ["تم التكرار إلى «", ["0"], "»"],- "0inVGS": [- "يساعد وكيل البرمجة لديك على التعرف على مشاريع OpenKnowledge وتوجيه القراءات والكتابات عبره."- ],"0jD-Gn": ["قاعدة معرفة لفريق، ويكي شخصي، مستندات مشروع..."],"0kTAXe": ["فتح المصدر: ", ["mirrorSrc"]],"0pZmTP": ["تعذّرت مشاركة هذا المسار."],@@ -992,6 +990,7 @@],"BlLxpG": ["البحث في المهارات"],"BowKyI": ["إظهار التفاصيل"],+ "BuMD5w": ["يُزال من"],"Bv5a9_": ["إحصاءات التحديد"],"BwKH4d": ["تطبيقات خارجية"],"Bx4EXG": ["إجراءات ", ["label"]],@@ -1090,6 +1089,7 @@"D8JJwQ": ["الملاحظات غير متاحة الآن. يرجى المحاولة لاحقًا."],"D8OV7J": ["المتعاونون فقط"],"DAVInK": ["إضافة إلى القاموس"],+ "DBqxw2": ["دائم التحميل"],"DCSSZt": ["الوكيل يعمل"],"DDTdLl": ["إعدادات كتلة الكود"],"DELNQk": ["يرى المتعاونون تعديلاتك الجارية بمجرد مزامنتها."],@@ -1304,7 +1304,6 @@")."],"FWSjnp": ["تحرير لوحة المصدر وحقول خصائص الكود"],- "FXk_zY": ["يضيف سير عمل موجَّهًا لتأليف مهارات وكيل جديدة."],"FZtBeR": ["تفعيل ", ["0"]],"FeXcUS": [["display"],@@ -1629,6 +1628,7 @@],"K0N7zS": ["فشلت قراءة حالة مشاركة الإعدادات"],"K1ckLX": ["فشل إنشاء المجلد"],+ "K1nRu2": ["توجد هذه المهارة في مجلد المشروع، لذا تُثبَّت لكل من يفتح هذا المشروع، وليس لك وحدك."],"K2v7QF": ["تعذّرت مشاركة المهارات"],"K4G55s": ["يجري التحقق من المصدر"],"K6MQQk": ["المزامنة تفشل. راجع حالة المزامنة للتفاصيل."],@@ -1870,6 +1870,7 @@"Md709y": ["يجري تحميل ", ["fileName"]],"MdpSC1": ["مهارة جديدة"],"Mh_4hd": ["التبويب السابق"],+ "MiMTvb": ["توكنات دائمة"],"Mj8R8K": ["تعذّر تثبيت المهارة: ", ["0"]],"MmDDWK": ["فُتح مؤخرًا"],"Mnavhe": ["خصائص ", ["propPanelDescriptorLabel"]],@@ -1918,6 +1919,7 @@"NOHyEE": ["إعادة محاولة الدفع"],"NORKZU": ["تحذيرات النمط: ", ["summary"]],"NQ8llq": ["إضافة عنصر"],+ "NQVepz": ["تثبيت ", ["name"]],"NQXwDy": ["التحرير في ملف الإعداد"],"NRSLBe": ["قبل ", ["diffMin"], " دقيقة"],"NSnIUP": ["صفحتان (زوجي)"],@@ -2137,6 +2139,7 @@"QWdKwH": ["نقل"],"QYTOaN": ["يمكنك تغيير هذا لاحقًا من <0>الإعدادات ← المزامنة</0>."],"QYfQdv": ["واجهة ", ["displayName"], " السطرية"],+ "QcScEc": ["إلغاء تثبيت ", ["name"]],"QcpeeE": ["الانتقال إلى ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -2160,6 +2163,7 @@"QlAG4m": ["أخبرنا المزيد (اختياري)"],"QlkiD5": ["إعادة الوضع على النص المحدد"],"QlxHAH": ["تُعرض نتائج «", ["semanticResultsLabel"], "»"],+ "QnnKlV": ["عند الطلب"],"QohqVL": ["هذا الوكيل لا يقدم أوامر الشرطة المائلة"],"QpSqAP": ["الصدفة الحقيقية معطّلة لهذا المشروع. تشغيلها يجعل الأوامر تُنفَّذ بكامل صلاحيات حساب المستخدم الخاص بك."@@ -2613,6 +2617,7 @@" عنصرًا محددًا؟ ستُحذف المجلدات وكل الملفات بداخلها. لا يمكن التراجع عن هذا الإجراء."],"WMsoIm": ["هل سجّلت الدخول بالفعل؟"],+ "WOr-hW": ["توكنات"],"WPwDin": ["فتح المجلد على القرص"],"WR0y2O": ["مشاركة المجلد"],"WRNXKp": ["يجري البحث"],@@ -2752,6 +2757,7 @@"XuQzrk": ["تعذّرت إعادة تشغيل الخادم — عملية أخرى تملكه. أغلق نوافذ OpenKnowledge الأخرى لهذا المشروع، ثم أعد المحاولة."],+ "XuVQrE": ["إعداد ", ["0"]],"Xv_ijG": ["https://github.com/owner/repo أو owner/repo"],"Xwump4": ["لا يوجد مستودع git هنا"],"XyOUTJ": ["إنهاء الدمج"],@@ -3043,6 +3049,7 @@"aalx4E": ["يجري تحرير مصدر MDX معطوب: ", ["reason"]],"aatPoi": ["الملفات التي تم إنشاؤها"],"abiHje": ["حذف العناصر المحددة"],+ "ac8G0O": ["عند التفعيل"],"adsMWO": ["يجري حل الفروق"],"ah_ekO": ["«", ["name"], "» محدَّث بالفعل"],"aiArms": ["تعذّر علينا استنساخ هذا المستودع."],@@ -3444,6 +3451,7 @@"fiMNLl": ["لم تُحمَّل إعدادات المزامنة بعد — أعد المحاولة بعد قليل"],"fj5YiP": ["ينزّل نسخة جديدة من GitHub."],"fnlBN4": ["لم تُحمَّل إعدادات الموافقة التلقائية بعد — أعد المحاولة بعد قليل"],+ "fo0VXg": ["إلغاء التثبيت"],"fo6CCk": ["الجزء ", ["0"]],"fqSfXY": ["استبدال"],"ft-BOm": ["الإبلاغ عن علة…"],@@ -3768,6 +3776,7 @@"jerqF0": ["يجري تحميل حالة الفرع"],"jhtG3I": [" تمت استعادة تحديدك."],"jjtmV_": ["اسم الملف الأول"],+ "jkt28V": ["تكلفة السياق"],"jnCROW": ["لقطة من الذاكرة وقت العطل، وهي الأداة الأكثر فائدة لنا. قد تحتوي على محتوى المستندات ولا يمكن إخفاؤه، لذا ألغِ تحديدها إن كنت تفضّل عدم مشاركتها."],@@ -4137,6 +4146,7 @@"nc-ipN": ["تحرير الحقول متاح لملفات المخططات المربوطة في إضافة مخططات frontmatter"],"ndwmea": ["غير متاح على هذه المنصة"],"neRy3o": ["تقسيم عنصر القائمة"],+ "nem6R7": ["يتجاوز ميزانية التوكنات ", ["budgetLabel"]],"nf0wk0": ["مربوط رمزيًا عبر الأب"],"nfPccR": [[@@ -4798,6 +4808,9 @@"vGQxBT": ["تُطبَّق تحديثات المصدر تلقائيًا (ما لم تُحرَّر محليًا)"],"vGeNNQ": ["انسخ موجّهًا والصقه في وكيلك لإعداد مشروعك."],"vHlhDc": ["انقر نقرًا مزدوجًا للتحرير"],+ "vIR6Hp": [+ "تُثبَّت المهارات في كل أداة ذكاء اصطناعي مكتشفة على هذا الجهاز، بغض النظر عن اتصالات MCP التي اخترتها أعلاه."+ ],"vIxrEk": ["ملاءمة العرض"],"vLyv1R": ["إخفاء"],"vO2v-0": ["إخفاء الآخرين"],@@ -5030,6 +5043,7 @@"yLq4w4": ["فاصل"],"yLwx9e": ["المجلد الأب هو الرابط الرمزي — فك ارتباط ذلك المجلد نفسه لاستعادة هذا."],"yMgL_E": ["التنقل في حقل البحث"],+ "yOjRUV": ["لم يتم العثور على أدوات الذكاء الاصطناعي. ثبّت واحدة لاستخدام هذه المهارة."],"yQE2r9": ["يجري التحميل"],"yQyglE": ["لا توجد مستندات مطابقة"],"yR5LHI": ["أدخل قيمة ست عشرية من 6 خانات مثل #1A2B3C"],@@ -5147,6 +5161,7 @@"zbymaY": ["قبل ", ["0"], " دقيقة"],"zcmYx4": ["إعداد git غير متاح"],"zd00pH": ["نسخ المسار"],+ "zewp9w": ["تغيّرت الوجهات. راجع القائمة ثم أكّد."],"zgSFyG": ["رابط خارجي"],"zkz0Fg": ["إعداد المزامنة"],"zlErBl": ["لم تطابق استجابة خطأ عناوين الصفحة معيار RFC 9457"],diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex c97e679e3..168a16470 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -1393,13 +1393,6 @@ msgstr "أضف تعليقاتك إلى هذه الرسالة"msgid "Added"msgstr "أُضيف"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "يضيف سير عمل موجَّهًا لتأليف مهارات وكيل جديدة."-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "يضيف كتلة مُدارة إلى"@@ -1583,6 +1576,15 @@ msgstr "هل سجّلت الدخول بالفعل؟"msgid "Always included"msgstr "مُدرج دائمًا"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "دائم التحميل"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "توكنات دائمة"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "تعذّرت مشاركة هذا المسار."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "قواعد المحتوى"msgid "Content rules not yet loaded — try again in a moment"msgstr "لم تُحمَّل قواعد المحتوى بعد — أعد المحاولة بعد قليل"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "تكلفة السياق"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "نافذة السياق:"@@ -5657,8 +5665,6 @@ msgstr "تم نسخ رابط مشاركة المجلد."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "الوجهة المجلدية: {linkTitle}. انقر لفتح النظرة العامة."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "المجلدات"@@ -6026,13 +6032,6 @@ msgstr "مساعدة"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "يساعد وكلاء الترميز في اختيار أنواع المستندات OKF والحفاظ على المصدر وتجنب اختراع بيانات تعريف غير مدعومة."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "يساعد وكيل البرمجة لديك على التعرف على مشاريع OpenKnowledge وتوجيه القراءات والكتابات عبره."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "الأعلى"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "أدرج أسطر محرر المصدر واحذفها وانقلها وانسخها وأزحها عبر خريطة مفاتيح CodeMirror الافتراضية."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "تثبيت {0}"msgid "Install {brand} →"msgstr "تثبيت {brand} ←"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "تثبيت {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "يجري التثبيت"msgid "Installing {agentName}…"msgstr "يجري تثبيت {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "يُثبَّت في"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "التثبيتات:"@@ -7933,6 +7945,10 @@ msgstr "لم يُحدَّد أي وكيل — المهارات محفوظة لكmsgid "No AI agents installed"msgstr "لا توجد وكلاء ذكاء اصطناعي مثبَّتون"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "لم يتم العثور على أدوات الذكاء الاصطناعي. ثبّت واحدة لاستخدام هذه المهارة."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "لم يُضبط مفتاح API لنقطة النهاية هذه. أضف واحدًا أعلاه."@@ -8406,6 +8422,10 @@ msgstr "مفعّل — تُرسل استعلامات بحثك ونص الصفحmsgid "On <0>{address}</0>"msgstr "على <0>{address}</0>"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "عند الطلب"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "على النص المحدد في <0>{address}</0>"@@ -8414,6 +8434,10 @@ msgstr "على النص المحدد في <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "في الفهرس الجذري، تتم كتابة okf_version كسلسلة مقتبسة مثل \"0.2\". بدون اقتباس، يقرأه YAML كرقم ويصبح 0.10 بصمت 0.1."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "عند التفعيل"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "صادر"msgid "Outline"msgstr "المخطط"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "يتجاوز ميزانية التوكنات {budgetLabel}"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "تعديلات متداخلة"@@ -10046,6 +10074,10 @@ msgstr "أُزيلت «{0}» من كل موقع آخر — ولا يزال مجmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "أُزيل «{projectName}» من المشاريع الحديثة. لم يعد مجلده موجودًا."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "يُزال من"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "أعدّه في صفحته الخاصة تحت «الإضافات»."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "اضبط المزامنة الافتراضية للمستخدمين الذين يفتحون هذا المشروع للمرة الأولى. يُودَع هذا الإعداد في مستودعك."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "إعداد {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "إعداد تكاملات OpenKnowledge"@@ -11479,6 +11516,13 @@ msgstr "المهارات"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "أصبحت المهارات مشتركة. أودع .ok/skills لمشاركتها مع فريقك."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "تُثبَّت المهارات في كل أداة ذكاء اصطناعي مكتشفة على هذا الجهاز، بغض النظر عن اتصالات MCP التي اخترتها أعلاه."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "قائمة مهام"msgid "Task List"msgstr "قائمة مهام"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "يعلّم وكلاء البرمجة في هذا المشروع القراءة والكتابة عبر OpenKnowledge."@@ -12339,6 +12382,10 @@ msgstr "مجلد المهارات الافتراضي (يظهر المسار الmsgid "The desktop app isn't responding. Refresh and try again."msgstr "تطبيق سطح المكتب لا يستجيب. حدّث وأعد المحاولة."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "تغيّرت الوجهات. راجع القائمة ثم أكّد."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "هذا الإعداد خاص بكل جهاز ولا يُشارك مع اmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "هذا الإعداد خاص بكل جهاز ولا يُشارك مع المتعاونين. ويحتاج إلى مفتاح API (يُضبط أدناه) ما لم تكن نقطة نهايتك خادمًا محليًا لا يتطلب واحدًا."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "توجد هذه المهارة في مجلد المشروع، لذا تُثبَّت لكل من يفتح هذا المشروع، وليس لك وحدك."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "يحزم هذا المصدر عدة مهارات — اختر واحدة، ثم استورد."@@ -13083,6 +13135,11 @@ msgstr "بدّل تنسيق التسطير."msgid "Toggles the pattern {0}/**"msgstr "يبدّل النمط {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "توكنات"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "بطيء جدًا"@@ -13274,6 +13331,17 @@ msgstr "هل تتراجع إلى هذا التعديل؟"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "تراجع أو أعِد أو تنقّل بين تغييرات التحديد في لوحة «تحرير المصدر» أو في حقل خاصية على هيئة كود."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "إلغاء التثبيت"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "إلغاء تثبيت {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex 7bdada227..db45b2aa9 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -64,6 +64,7 @@"09Tv5j": ["আবার যুক্ত হচ্ছে…"],"0BB9ID": ["এখনও কোনো শিরোনাম নেই।"],"0BfhAj": ["দৃশ্য রিসেট করুন"],+ "0CvV_9": ["যেখানে ইনস্টল হবে"],"0E9DR6": ["একটি নথি খুঁজতে লিখুন"],"0Er6-M": ["পুনরায় চালু করা হচ্ছে"],"0Gd0NU": ["ভাগ করা"],@@ -101,9 +102,6 @@],"0eHrMb": ["মুছে ফেলা সম্পূর্ণ করা যায়নি"],"0g7rCZ": ["\"", ["0"], "\"-এ প্রতিলিপি করা হয়েছে"],- "0inVGS": [- "আপনার কোডিং এজেন্টকে OpenKnowledge প্রকল্প চিনতে এবং পড়া ও লেখা তার মাধ্যমেই করতে সাহায্য করে।"- ],"0jD-Gn": ["একটি দলগত জ্ঞানভাণ্ডার, একটি ব্যক্তিগত উইকি, প্রকল্পের নথিপত্র…"],"0kTAXe": ["উৎস খুলুন: ", ["mirrorSrc"]],"0pZmTP": ["এই পাথ শেয়ার করা যাচ্ছে না।"],@@ -819,6 +817,7 @@],"BlLxpG": ["স্কিল খুঁজুন"],"BowKyI": ["বিবরণ দেখান"],+ "BuMD5w": ["যেখান থেকে সরানো হবে"],"Bv5a9_": ["নির্বাচনের পরিসংখ্যান"],"BwKH4d": ["বাহ্যিক অ্যাপ"],"Bx4EXG": [["label"], "-এর জন্য ক্রিয়া"],@@ -906,6 +905,7 @@"D8JJwQ": ["মতামত এখন পাওয়া যাচ্ছে না। অনুগ্রহ করে পরে আবার চেষ্টা করুন।"],"D8OV7J": ["কেবল সহযোগীরা"],"DAVInK": ["অভিধানে যোগ করুন"],+ "DBqxw2": ["সর্বদা সক্রিয়"],"DCSSZt": ["এজেন্ট কাজ করছে"],"DDTdLl": ["কোড ব্লক সেটিং"],"DELNQk": ["সহযোগীরা সিঙ্ক হওয়ামাত্রই আপনার চলমান সম্পাদনা দেখতে পান।"],@@ -1104,7 +1104,6 @@") সঙ্গে মেলে না।"],"FWSjnp": ["সোর্স প্যানেল ও কোড প্রপার্টি ফিল্ড সম্পাদনা করুন"],- "FXk_zY": ["নতুন Agent Skills লেখার জন্য একটি পথনির্দেশী কর্মপ্রবাহ যোগ করে।"],"FZtBeR": [["0"], " চালু করুন"],"FeXcUS": [["display"],@@ -1367,6 +1366,9 @@"K0FgsP": [".ok/skills কমিট করা যায় যাতে আপনার দল আপনার স্কিল পায়; বাকি .ok/ এই কম্পিউটারেই থাকে।"],"K0N7zS": ["কনফিগ ভাগাভাগির অবস্থা পড়তে ব্যর্থ"],"K1ckLX": ["ফোল্ডার তৈরি করতে ব্যর্থ"],+ "K1nRu2": [+ "এই স্কিলটি প্রজেক্ট ফোল্ডারে থাকে, তাই যিনিই এই প্রজেক্ট খুলবেন তার জন্যই এটি ইনস্টল হয়, শুধু আপনার জন্য নয়।"+ ],"K2v7QF": ["স্কিল ভাগ করা যায়নি"],"K4G55s": ["উৎস পরীক্ষা করা হচ্ছে"],"K6MQQk": ["সিঙ্ক ব্যর্থ হচ্ছে। বিস্তারিত জানতে সিঙ্কের অবস্থা দেখুন।"],@@ -1571,6 +1573,7 @@"Md709y": [["fileName"], " লোড হচ্ছে"],"MdpSC1": ["নতুন স্কিল"],"Mh_4hd": ["আগের ট্যাব"],+ "MiMTvb": ["সর্বদা সক্রিয় টোকেন"],"Mj8R8K": ["স্কিল ইনস্টল করা যায়নি: ", ["0"]],"MmDDWK": ["সম্প্রতি খোলা"],"Mnavhe": [["propPanelDescriptorLabel"], " প্রপার্টি"],@@ -1618,6 +1621,7 @@"NOHyEE": ["আবার পাঠানোর চেষ্টা করুন"],"NORKZU": ["প্যাটার্নের সতর্কতা: ", ["summary"]],"NQ8llq": ["আইটেম যোগ করুন"],+ "NQVepz": [["name"], " ইনস্টল করুন"],"NQXwDy": ["কনফিগ ফাইলে সম্পাদনা করুন"],"NRSLBe": [["diffMin"], " মিনিট আগে"],"NSnIUP": ["দুই পাতা (জোড়)"],@@ -1844,6 +1848,7 @@"QWdKwH": ["সরান"],"QYTOaN": ["আপনি এটি পরে <0>Settings → Sync</0>-এ বদলাতে পারেন।"],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": [["name"], " আনইনস্টল করুন"],"QcpeeE": [["docName"], "-এ যান"],"Qe47G0": [["componentLabel"],@@ -1857,6 +1862,7 @@"QlAG4m": ["আরও বলুন (ঐচ্ছিক)"],"QlkiD5": ["নির্বাচিত লেখার উপর আবার বসান"],"QlxHAH": ["\"", ["semanticResultsLabel"], "\"-এর ফলাফল দেখানো হচ্ছে"],+ "QnnKlV": ["চাহিদা অনুযায়ী"],"QohqVL": ["এই এজেন্ট স্ল্যাশ কমান্ড দেয় না"],"QpSqAP": ["এই প্রকল্পের জন্য আসল শেল বন্ধ আছে। চালু করলে কমান্ডগুলো আপনার ইউজার অ্যাকাউন্টের পূর্ণ অ্যাক্সেস নিয়ে চলে।"@@ -2225,6 +2231,7 @@"টি আইটেম মুছে ফেলতে চান? ফোল্ডার ও তার ভেতরের সব ফাইল মুছে যাবে। এই কাজ ফেরানো যাবে না।"],"WMsoIm": ["আগে থেকেই সাইন ইন করা আছে?"],+ "WOr-hW": ["টোকেন"],"WPwDin": ["ফোল্ডারটি ডিস্কে খুলুন"],"WR0y2O": ["ফোল্ডার ভাগ করুন"],"WRNXKp": ["খোঁজা হচ্ছে"],@@ -2346,6 +2353,7 @@"XuQzrk": ["সার্ভার পুনরায় চালু করা যায়নি — অন্য একটি প্রক্রিয়া এর মালিক। এই প্রকল্পের অন্য OpenKnowledge জানালাগুলো বন্ধ করে আবার চেষ্টা করুন।"],+ "XuVQrE": [["0"], " সেট আপ করুন"],"Xv_ijG": ["https://github.com/owner/repo বা owner/repo"],"Xwump4": ["এখানে কোনো git রিপোজিটরি নেই"],"XyOUTJ": ["মার্জ থেকে বেরিয়ে যান"],@@ -2608,6 +2616,7 @@"aalx4E": ["ভাঙা MDX সোর্স সম্পাদনা করা হচ্ছে: ", ["reason"]],"aatPoi": ["জেনারেটেড ফাইল"],"abiHje": ["নির্বাচিত আইটেম মুছুন"],+ "ac8G0O": ["ট্রিগার হলে"],"adsMWO": ["ডেল্টা মীমাংসা করা হচ্ছে"],"ah_ekO": ["\"", ["name"], "\" ইতিমধ্যেই হালনাগাদ"],"aiArms": ["আমরা এই রিপোজিটরিটি ক্লোন করতে পারিনি।"],@@ -2920,6 +2929,7 @@"fiMNLl": ["সিঙ্কের সেটিং এখনও লোড হয়নি — একটু পরে আবার চেষ্টা করুন"],"fj5YiP": ["GitHub থেকে একটি নতুন অনুলিপি ডাউনলোড করে।"],"fnlBN4": ["স্বয়ংক্রিয় অনুমোদনের সেটিং এখনও লোড হয়নি — একটু পরে আবার চেষ্টা করুন"],+ "fo0VXg": ["আনইনস্টল করুন"],"fo6CCk": ["প্যান ", ["0"]],"fqSfXY": ["বদলান"],"ft-BOm": ["একটি বাগ জানান…"],@@ -3221,6 +3231,7 @@"jerqF0": ["ব্রাঞ্চের অবস্থা লোড হচ্ছে"],"jhtG3I": [" আপনার নির্বাচন পুনরুদ্ধার করা হয়েছে।"],"jjtmV_": ["প্রথম ফাইলের নাম"],+ "jkt28V": ["কনটেক্সট খরচ"],"jnCROW": ["ক্র্যাশের সময়কার একটি মেমরি স্ন্যাপশট, আর এটাই সেই উপাদান যা আমাদের সবচেয়ে বেশি সাহায্য করে। এতে নথির বিষয়বস্তু থাকতে পারে এবং তা থেকে গোপন তথ্য সরানো যায় না, তাই ভাগ করতে না চাইলে এটি অচিহ্নিত করে দিন।"],@@ -3545,6 +3556,7 @@],"ndwmea": ["এই প্ল্যাটফর্মে পাওয়া যায় না"],"neRy3o": ["তালিকা আইটেম ভাগ করুন"],+ "nem6R7": [["budgetLabel"], " টোকেন বাজেটের বেশি"],"nf0wk0": ["মূলের মাধ্যমে সিমলিংক করা"],"nfPccR": [[@@ -4078,6 +4090,9 @@"vGQxBT": ["উৎসের হালনাগাদ নিজে থেকেই প্রয়োগ হয় (স্থানীয়ভাবে সম্পাদনা না করা থাকলে)"],"vGeNNQ": ["আপনার প্রকল্প সেট আপ করতে একটি প্রম্পট কপি করে আপনার এজেন্টে পেস্ট করুন।"],"vHlhDc": ["সম্পাদনা করতে ডাবল-ক্লিক করুন"],+ "vIR6Hp": [+ "স্কিল এই মেশিনে শনাক্ত হওয়া প্রতিটি AI টুলে ইনস্টল হয়, উপরে বেছে নেওয়া MCP সংযোগ যাই হোক না কেন।"+ ],"vIxrEk": ["প্রস্থ অনুযায়ী"],"vLyv1R": ["লুকান"],"vO2v-0": ["অন্যগুলি লুকান"],@@ -4274,6 +4289,7 @@"yLq4w4": ["বিভাজক"],"yLwx9e": ["একটি মূল ডিরেক্টরিই সিমলিংক — এটি ফিরিয়ে নিতে সেই ফোল্ডারটিকেই আনলিংক করুন।"],"yMgL_E": ["খোঁজার ফিল্ডে নেভিগেশন"],+ "yOjRUV": ["কোনো AI টুল পাওয়া যায়নি। এই স্কিল ব্যবহার করতে একটি ইনস্টল করুন।"],"yQE2r9": ["লোড হচ্ছে"],"yQyglE": ["মিলে যাওয়া কোনো নথি নেই"],"yR5LHI": ["#1A2B3C-এর মতো ৬-অঙ্কের হেক্স দিন"],@@ -4362,6 +4378,7 @@"zbymaY": [["0"], " মিনিট আগে"],"zcmYx4": ["git কনফিগারেশন পাওয়া যাচ্ছে না"],"zd00pH": ["পথ কপি করুন"],+ "zewp9w": ["গন্তব্য বদলে গেছে। তালিকা দেখে নিশ্চিত করুন।"],"zgSFyG": ["বাইরের লিংক"],"zkz0Fg": ["সিঙ্ক সেট আপ করুন"],"zlErBl": ["পাতার শিরোনামের ত্রুটি সাড়া RFC 9457-এর সঙ্গে মেলেনি"],diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex 52705f6e3..ea3d7501c 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -1389,13 +1389,6 @@ msgstr "এই বার্তায় আপনার মন্তব্যmsgid "Added"msgstr "যোগ করা হয়েছে"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "নতুন Agent Skills লেখার জন্য একটি পথনির্দেশী কর্মপ্রবাহ যোগ করে।"-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "এতে একটি পরিচালিত ব্লক যোগ করে"@@ -1579,6 +1572,15 @@ msgstr "আগে থেকেই সাইন ইন করা আছে?"msgid "Always included"msgstr "সবসময় অন্তর্ভুক্ত"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "সর্বদা সক্রিয়"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "সর্বদা সক্রিয় টোকেন"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2185,6 +2187,7 @@ msgstr "এই পাথ শেয়ার করা যাচ্ছে না#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3019,6 +3022,11 @@ msgstr "বিষয়বস্তুর নিয়ম"msgid "Content rules not yet loaded — try again in a moment"msgstr "বিষয়বস্তুর নিয়ম এখনও লোড হয়নি — একটু পরে আবার চেষ্টা করুন"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "কনটেক্সট খরচ"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "প্রসঙ্গ জানালা:"@@ -5653,8 +5661,6 @@ msgstr "ফোল্ডার শেয়ার লিংক কপি করmsgid "Folder target: {linkTitle}. Click to open the overview."msgstr "ফোল্ডার লক্ষ্য: {linkTitle}। সংক্ষিপ্তসার খুলতে ক্লিক করুন।"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "ফোল্ডার"@@ -6022,13 +6028,6 @@ msgstr "সহায়তা"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "কোডিং এজেন্টদের OKF নথির ধরন বেছে নিতে, মূল স্থান সংরক্ষণ করতে এবং অসমর্থিত মেটাডেটা উদ্ভাবন এড়াতে সাহায্য করে।"-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "আপনার কোডিং এজেন্টকে OpenKnowledge প্রকল্প চিনতে এবং পড়া ও লেখা তার মাধ্যমেই করতে সাহায্য করে।"-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "সর্বোচ্চ"@@ -6554,8 +6553,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror-এর ডিফল্ট কীম্যাপ দিয়ে সোর্স সম্পাদকের লাইন ঢোকান, মুছুন, সরান, কপি করুন ও ভেতরে নিন।"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6570,6 +6572,11 @@ msgstr "{0} ইনস্টল করুন"msgid "Install {brand} →"msgstr "{brand} ইনস্টল করুন →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "{name} ইনস্টল করুন"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6700,6 +6707,11 @@ msgstr "ইনস্টল করা হচ্ছে"msgid "Installing {agentName}…"msgstr "{agentName} ইনস্টল করা হচ্ছে…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "যেখানে ইনস্টল হবে"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "ইনস্টল:"@@ -7929,6 +7941,10 @@ msgstr "কোনো এজেন্ট নির্বাচিত হয়নmsgid "No AI agents installed"msgstr "কোনো AI এজেন্ট ইনস্টল করা নেই"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "কোনো AI টুল পাওয়া যায়নি। এই স্কিল ব্যবহার করতে একটি ইনস্টল করুন।"+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "এই এন্ডপয়েন্টের জন্য কোনো API কী নির্ধারিত নেই। উপরে একটি যোগ করুন।"@@ -8402,6 +8418,10 @@ msgstr "চালু — আপনার অনুসন্ধানের পmsgid "On <0>{address}</0>"msgstr "<0>{address}</0>-এ"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "চাহিদা অনুযায়ী"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "<0>{address}</0>-এ নির্বাচিত লেখার উপর"@@ -8410,6 +8430,10 @@ msgstr "<0>{address}</0>-এ নির্বাচিত লেখার উপmsgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "রুট ইনডেক্সে, okf_version একটি উদ্ধৃত স্ট্রিং হিসাবে লেখা হয় যেমন \"0.2\"। উদ্ধৃতিহীন, YAML এটিকে একটি সংখ্যা হিসাবে পড়ে এবং 0.10 নিঃশব্দে 0.1 হয়ে যায়।"+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "ট্রিগার হলে"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9092,6 +9116,10 @@ msgstr "বহির্গামী"msgid "Outline"msgstr "রূপরেখা"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "{budgetLabel} টোকেন বাজেটের বেশি"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "পরস্পরে মিলে যাওয়া সম্পাদনা"@@ -10042,6 +10070,10 @@ msgstr "\"{0}\"-কে অন্য প্রতিটি জায়গা থmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "\"{projectName}\"-কে সাম্প্রতিক প্রকল্প থেকে সরানো হয়েছে। এর ফোল্ডারটি আর নেই।"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "যেখান থেকে সরানো হবে"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11068,6 +11100,11 @@ msgstr "Plugins-এর নিচে এর নিজের পাতায়msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "যাঁরা এই প্রকল্পটি প্রথমবার খুলবেন তাঁদের জন্য সিঙ্কের ডিফল্ট নির্ধারণ করুন। এই সেটিং আপনার রিপোজিটরিতে কমিট হয়।"+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "{0} সেট আপ করুন"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "OpenKnowledge সংযুক্তি সেট আপ করুন"@@ -11475,6 +11512,13 @@ msgstr "স্কিল"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "স্কিল এখন ভাগ করা। আপনার দলের সঙ্গে ভাগ করতে .ok/skills কমিট করুন।"+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "স্কিল এই মেশিনে শনাক্ত হওয়া প্রতিটি AI টুলে ইনস্টল হয়, উপরে বেছে নেওয়া MCP সংযোগ যাই হোক না কেন।"+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12113,7 +12157,6 @@ msgstr "কাজের তালিকা"msgid "Task List"msgstr "কাজের তালিকা"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "এই প্রকল্পের কোডিং এজেন্টদের OpenKnowledge-এর মাধ্যমে পড়তে ও লিখতে শেখায়।"@@ -12335,6 +12378,10 @@ msgstr "ডিফল্ট স্কিল ফোল্ডার (সংরকmsgid "The desktop app isn't responding. Refresh and try again."msgstr "ডেস্কটপ অ্যাপ সাড়া দিচ্ছে না। সতেজ করে আবার চেষ্টা করুন।"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "গন্তব্য বদলে গেছে। তালিকা দেখে নিশ্চিত করুন।"+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12914,6 +12961,11 @@ msgstr "এই সেটিংটি প্রতি-মেশিন ভিতmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "এই সেটিংটি প্রতি-মেশিন ভিত্তিক এবং সহযোগীদের সঙ্গে ভাগ করা হয় না। এর জন্য একটি API কী দরকার (নিচে নির্ধারণ করুন), যদি না আপনার এন্ডপয়েন্ট এমন কোনো স্থানীয় সার্ভার হয় যার সেটি লাগে না।"+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "এই স্কিলটি প্রজেক্ট ফোল্ডারে থাকে, তাই যিনিই এই প্রজেক্ট খুলবেন তার জন্যই এটি ইনস্টল হয়, শুধু আপনার জন্য নয়।"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "এই উৎসে কয়েকটি স্কিল আছে — একটি বাছুন, তারপর Import করুন।"@@ -13079,6 +13131,11 @@ msgstr "নিম্নরেখার বিন্যাস চালু বাmsgid "Toggles the pattern {0}/**"msgstr "প্যাটার্ন {0}/** টগল করুন"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "টোকেন"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "খুব ধীর"@@ -13270,6 +13327,17 @@ msgstr "এই সম্পাদনা পর্যন্ত পূর্বাmsgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Edit source প্যানেলে বা কোড-ধাঁচের কোনো প্রপার্টি ফিল্ডে নির্বাচনের পরিবর্তন পূর্বাবস্থায় ফেরান, পুনরায় করুন, বা এক এক করে দেখুন।"+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "আনইনস্টল করুন"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "{name} আনইনস্টল করুন"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex 8e0d92bb6..7d0b2c748 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -68,6 +68,7 @@"09Tv5j": ["Reconnecting…"],"0BB9ID": ["No headings yet."],"0BfhAj": ["Reset view"],+ "0CvV_9": ["Installs to"],"0E9DR6": ["Type to find a doc"],"0Er6-M": ["Restarting"],"0Gd0NU": ["Shared"],@@ -105,9 +106,6 @@],"0eHrMb": ["Could not complete delete"],"0g7rCZ": ["Duplicated to \"", ["0"], "\""],- "0inVGS": [- "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."- ],"0jD-Gn": ["A team knowledge base, a personal wiki, project docs..."],"0kTAXe": ["Open source: ", ["mirrorSrc"]],"0pZmTP": ["Can't share this path."],@@ -851,6 +849,7 @@],"BlLxpG": ["Search skills"],"BowKyI": ["Show details"],+ "BuMD5w": ["Removes from"],"Bv5a9_": ["Selection statistics"],"BwKH4d": ["External apps"],"Bx4EXG": ["Actions for ", ["label"]],@@ -938,6 +937,7 @@"D8JJwQ": ["Feedback isn't available right now. Please try again later."],"D8OV7J": ["Only collaborators"],"DAVInK": ["Add to Dictionary"],+ "DBqxw2": ["always-on"],"DCSSZt": ["The agent is working"],"DDTdLl": ["Code block settings"],"DELNQk": ["Collaborators see your in-progress edits as soon as they sync."],@@ -1134,7 +1134,6 @@")."],"FWSjnp": ["Edit source pane and code property fields"],- "FXk_zY": ["Adds a guided workflow for authoring new Agent Skills."],"FZtBeR": ["Enable ", ["0"]],"FeXcUS": [["display"],@@ -1410,6 +1409,9 @@],"K0N7zS": ["Config sharing status read failed"],"K1ckLX": ["Failed to create folder"],+ "K1nRu2": [+ "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+ ],"K2v7QF": ["Couldn't share skills"],"K4G55s": ["Checking source"],"K6MQQk": ["Sync is failing. See the sync status for details."],@@ -1620,6 +1622,7 @@"Md709y": ["Loading ", ["fileName"]],"MdpSC1": ["New skill"],"Mh_4hd": ["Previous tab"],+ "MiMTvb": ["always-on tokens"],"Mj8R8K": ["Couldn't install skill: ", ["0"]],"MmDDWK": ["Recently opened"],"Mnavhe": [["propPanelDescriptorLabel"], " Properties"],@@ -1668,6 +1671,7 @@"NOHyEE": ["Retry push"],"NORKZU": ["Pattern warnings: ", ["summary"]],"NQ8llq": ["Add item"],+ "NQVepz": ["Install ", ["name"]],"NQXwDy": ["Edit in config file"],"NRSLBe": [["diffMin"], "m ago"],"NSnIUP": ["Two-page (even)"],@@ -1893,6 +1897,7 @@"QWdKwH": ["Move"],"QYTOaN": ["You can change this later in <0>Settings → Sync</0>."],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": ["Uninstall ", ["name"]],"QcpeeE": ["Navigate to ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -1905,6 +1910,7 @@"QlAG4m": ["Tell us more (optional)"],"QlkiD5": ["Re-place on selected text"],"QlxHAH": ["Showing results for \"", ["semanticResultsLabel"], "\""],+ "QnnKlV": ["on demand"],"QohqVL": ["This agent doesn't offer slash commands"],"QpSqAP": ["A real shell is off for this project. Turning it on runs commands with the full access of your user account."@@ -2278,6 +2284,7 @@" selected items? Folders and all files inside them will be deleted. This action cannot be undone."],"WMsoIm": ["Already signed in?"],+ "WOr-hW": ["tokens"],"WPwDin": ["Open folder on disk"],"WR0y2O": ["Share folder"],"WRNXKp": ["Searching"],@@ -2399,6 +2406,7 @@"XuQzrk": ["Couldn't restart the server — another process owns it. Quit other OpenKnowledge windows for this project, then try again."],+ "XuVQrE": ["Set up ", ["0"]],"Xv_ijG": ["https://github.com/owner/repo or owner/repo"],"Xwump4": ["no git repository here"],"XyOUTJ": ["Exit merge"],@@ -2662,6 +2670,7 @@"aalx4E": ["Editing broken MDX source: ", ["reason"]],"aatPoi": ["Generated files"],"abiHje": ["Delete selected items"],+ "ac8G0O": ["on trigger"],"adsMWO": ["Resolving deltas"],"ah_ekO": ["\"", ["name"], "\" is already up to date"],"aiArms": ["We couldn't clone this repository."],@@ -2994,6 +3003,7 @@"fiMNLl": ["Sync settings not yet loaded — try again in a moment"],"fj5YiP": ["Downloads a fresh copy from GitHub."],"fnlBN4": ["Auto-approve settings not yet loaded — try again in a moment"],+ "fo0VXg": ["Uninstall"],"fo6CCk": ["pane ", ["0"]],"fqSfXY": ["Replace"],"ft-BOm": ["Report a bug…"],@@ -3316,6 +3326,7 @@"jerqF0": ["Loading branch state"],"jhtG3I": [" Your selection has been restored."],"jjtmV_": ["First file name"],+ "jkt28V": ["Context cost"],"jnCROW": ["A memory snapshot from the crash, and the artifact that helps us most. It can contain document content and can't be redacted, so uncheck it if you'd rather not share it."],@@ -3650,6 +3661,7 @@],"ndwmea": ["unavailable on this platform"],"neRy3o": ["Split list item"],+ "nem6R7": ["over the ", ["budgetLabel"], " token budget"],"nf0wk0": ["symlinked via parent"],"nfPccR": [[@@ -4213,6 +4225,9 @@"vGQxBT": ["Updates from the source apply automatically (unless edited locally)"],"vGeNNQ": ["Copy a prompt and paste it into your agent to set up your project."],"vHlhDc": ["Double-click to edit"],+ "vIR6Hp": [+ "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+ ],"vIxrEk": ["Fit width"],"vLyv1R": ["Hide"],"vO2v-0": ["Hide Others"],@@ -4426,6 +4441,7 @@"A parent directory is the symlink — unlink that folder itself to take this one back."],"yMgL_E": ["Find field navigation"],+ "yOjRUV": ["No AI tools detected. Install one to use this skill."],"yQE2r9": ["Loading"],"yQyglE": ["No matching docs"],"yR5LHI": ["Enter a 6-digit hex like #1A2B3C"],@@ -4516,6 +4532,7 @@"zbymaY": [["0"], "m ago"],"zcmYx4": ["git configuration is unavailable"],"zd00pH": ["Copy Path"],+ "zewp9w": ["The destinations changed. Review the list, then confirm."],"zgSFyG": ["External link"],"zkz0Fg": ["Set up syncing"],"zlErBl": ["Page headings error response did not match RFC 9457"],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex 9c4f5ea02..492b41271 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -1393,13 +1393,6 @@ msgstr "Add your comments to this message"msgid "Added"msgstr "Added"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "Adds a guided workflow for authoring new Agent Skills."-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "Adds a managed block to"@@ -1583,6 +1576,15 @@ msgstr "Already signed in?"msgid "Always included"msgstr "Always included"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "always-on"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "always-on tokens"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "Can't share this path."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "Content rules"msgid "Content rules not yet loaded — try again in a moment"msgstr "Content rules not yet loaded — try again in a moment"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "Context cost"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "Context window:"@@ -5657,8 +5665,6 @@ msgstr "Folder share link copied."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "Folder target: {linkTitle}. Click to open the overview."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "Folders"@@ -6026,13 +6032,6 @@ msgstr "Help"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "HI"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Insert, delete, move, copy, and indent source editor lines through CodeMirror's default keymap."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "Install {0}"msgid "Install {brand} →"msgstr "Install {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "Install {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "Installing"msgid "Installing {agentName}…"msgstr "Installing {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "Installs to"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "installs:"@@ -7933,6 +7945,10 @@ msgstr "No agents selected — the skills are saved but not installed anywhere."msgid "No AI agents installed"msgstr "No AI agents installed"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "No AI tools detected. Install one to use this skill."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "No API key is set for this endpoint. Add one above."@@ -8406,6 +8422,10 @@ msgstr "On — your search queries and the text of matching pages are sent to yomsgid "On <0>{address}</0>"msgstr "On <0>{address}</0>"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "on demand"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "On selected text in <0>{address}</0>"@@ -8414,6 +8434,10 @@ msgstr "On selected text in <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "on trigger"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "Outgoing"msgid "Outline"msgstr "Outline"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "over the {budgetLabel} token budget"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "Overlapping edits"@@ -10046,6 +10074,10 @@ msgstr "Removed \"{0}\" from every other location — its source folder still lomsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "Removed \"{projectName}\" from recent projects. Its folder no longer exists."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "Removes from"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "Set it up on its own page under Plugins."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "Set the sync default for users opening this project for the first time. This setting is committed to your repository."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "Set up {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "Set up OpenKnowledge integrations"@@ -11479,6 +11516,13 @@ msgstr "Skills"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "Skills are now shared. Commit .ok/skills to share them with your team."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "Task list"msgid "Task List"msgstr "Task List"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "Teaches coding agents in this project to read and write through OpenKnowledge."@@ -12339,6 +12382,10 @@ msgstr "the default skills folder (the exact path appears once saved)"msgid "The desktop app isn't responding. Refresh and try again."msgstr "The desktop app isn't responding. Refresh and try again."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "The destinations changed. Review the list, then confirm."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "This setting is per-machine and isn't shared with collaborators."msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "This source bundles several skills — choose one, then Import."@@ -13083,6 +13135,11 @@ msgstr "Toggle underline formatting."msgid "Toggles the pattern {0}/**"msgstr "Toggles the pattern {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "tokens"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "Too slow"@@ -13274,6 +13331,17 @@ msgstr "Undo to this edit?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "Uninstall"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "Uninstall {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex 9619eac39..16bc9f328 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -84,6 +84,7 @@"09Tv5j": ["Reconectando…"],"0BB9ID": ["Todavía no hay encabezados."],"0BfhAj": ["Restablecer la vista"],+ "0CvV_9": ["Se instala en"],"0E9DR6": ["Escribe para encontrar un documento"],"0Er6-M": ["Reiniciando"],"0Gd0NU": ["Compartido"],@@ -121,9 +122,6 @@],"0eHrMb": ["No se pudo completar la eliminación"],"0g7rCZ": ["Se duplicó en \"", ["0"], "\""],- "0inVGS": [- "Ayuda a tu agente de programación a reconocer los proyectos de OpenKnowledge y a canalizar por él las lecturas y escrituras."- ],"0jD-Gn": ["Una base de conocimiento de equipo, una wiki personal, documentación de proyecto..."],@@ -998,6 +996,7 @@],"BlLxpG": ["Buscar habilidades"],"BowKyI": ["Mostrar detalles"],+ "BuMD5w": ["Se elimina de"],"Bv5a9_": ["Estadísticas de la selección"],"BwKH4d": ["Aplicaciones externas"],"Bx4EXG": ["Acciones de ", ["label"]],@@ -1099,6 +1098,7 @@"D8JJwQ": ["Ahora mismo no se pueden enviar comentarios. Inténtalo más tarde."],"D8OV7J": ["Solo colaboradores"],"DAVInK": ["Añadir al diccionario"],+ "DBqxw2": ["siempre activo"],"DCSSZt": ["El agente está trabajando"],"DDTdLl": ["Ajustes del bloque de código"],"DELNQk": ["Tus colaboradores ven tus ediciones en curso en cuanto se sincronizan."],@@ -1309,7 +1309,6 @@")."],"FWSjnp": ["Panel de edición de código y campos de propiedad de tipo código"],- "FXk_zY": ["Añade un flujo guiado para crear nuevas Habilidades de agente."],"FZtBeR": ["Activar ", ["0"]],"FeXcUS": [["display"],@@ -1651,6 +1650,9 @@],"K0N7zS": ["No se pudo leer el estado de compartición de la configuración"],"K1ckLX": ["No se pudo crear la carpeta"],+ "K1nRu2": [+ "Esta habilidad vive en la carpeta del proyecto, así que se instala para todos los que abran este proyecto, no solo para ti."+ ],"K2v7QF": ["No se pudieron compartir las habilidades"],"K4G55s": ["Comprobando el origen"],"K6MQQk": [@@ -1890,6 +1892,7 @@"Md709y": ["Cargando ", ["fileName"]],"MdpSC1": ["Habilidad nueva"],"Mh_4hd": ["Pestaña anterior"],+ "MiMTvb": ["tokens siempre activos"],"Mj8R8K": ["No se pudo instalar la habilidad: ", ["0"]],"MmDDWK": ["Abiertos recientemente"],"Mnavhe": ["Propiedades de ", ["propPanelDescriptorLabel"]],@@ -1940,6 +1943,7 @@"NOHyEE": ["Reintentar el push"],"NORKZU": ["Advertencias del patrón: ", ["summary"]],"NQ8llq": ["Añadir elemento"],+ "NQVepz": ["Instalar ", ["name"]],"NQXwDy": ["Editar en el archivo de configuración"],"NRSLBe": ["hace ", ["diffMin"], " min"],"NSnIUP": ["Dos páginas (pares)"],@@ -2181,6 +2185,7 @@"QWdKwH": ["Mover"],"QYTOaN": ["Puedes cambiarlo más adelante en <0>Ajustes → Sincronización</0>."],"QYfQdv": ["CLI de ", ["displayName"]],+ "QcScEc": ["Desinstalar ", ["name"]],"QcpeeE": ["Ir a ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -2197,6 +2202,7 @@"QlAG4m": ["Cuéntanos más (opcional)"],"QlkiD5": ["Volver a colocar sobre el texto seleccionado"],"QlxHAH": ["Mostrando resultados de \"", ["semanticResultsLabel"], "\""],+ "QnnKlV": ["bajo demanda"],"QohqVL": ["Este agente no ofrece comandos de barra"],"QpSqAP": ["El shell real está desactivado para este proyecto. Al activarlo, los comandos se ejecutan con todo el acceso de tu cuenta de usuario."@@ -2645,6 +2651,7 @@" elementos seleccionados? Se eliminarán las carpetas y todos los archivos que contienen. Esta acción no se puede deshacer."],"WMsoIm": ["¿Ya iniciaste sesión?"],+ "WOr-hW": ["tokens"],"WPwDin": ["Abrir la carpeta en el disco"],"WR0y2O": ["Compartir la carpeta"],"WRNXKp": ["Buscando"],@@ -2783,6 +2790,7 @@"XuQzrk": ["No se pudo reiniciar el servidor: otro proceso lo tiene. Cierra las demás ventanas de OpenKnowledge de este proyecto e inténtalo de nuevo."],+ "XuVQrE": ["Configurar ", ["0"]],"Xv_ijG": ["https://github.com/propietario/repo o propietario/repo"],"Xwump4": ["aquí no hay repositorio de git"],"XyOUTJ": ["Salir de la fusión"],@@ -3084,6 +3092,7 @@"aalx4E": ["Editando código MDX defectuoso: ", ["reason"]],"aatPoi": ["Archivos generados"],"abiHje": ["Eliminar los elementos seleccionados"],+ "ac8G0O": ["al activarse"],"adsMWO": ["Resolviendo deltas"],"ah_ekO": ["\"", ["name"], "\" ya está al día"],"aiArms": ["No pudimos clonar este repositorio."],@@ -3500,6 +3509,7 @@"fnlBN4": ["Los ajustes de aprobación automática aún no se han cargado; inténtalo de nuevo en un momento"],+ "fo0VXg": ["Desinstalar"],"fo6CCk": ["panel ", ["0"]],"fqSfXY": ["Reemplazar"],"ft-BOm": ["Informar de un error…"],@@ -3857,6 +3867,7 @@"jerqF0": ["Cargando el estado de las ramas"],"jhtG3I": [" Se restauró tu selección."],"jjtmV_": ["Nombre del primer archivo"],+ "jkt28V": ["Coste de contexto"],"jnCROW": ["Una instantánea de memoria del fallo, y el artefacto que más nos ayuda. Puede contener contenido de documentos y no se puede ocultar, así que desmárcalo si prefieres no compartirlo."],@@ -4231,6 +4242,7 @@],"ndwmea": ["no disponible en esta plataforma"],"neRy3o": ["Dividir el elemento de lista"],+ "nem6R7": ["supera el presupuesto de tokens de ", ["budgetLabel"]],"nf0wk0": ["enlazado a través de la carpeta superior"],"nfPccR": [[@@ -4859,6 +4871,9 @@],"vGeNNQ": ["Copia un prompt y pégalo en tu agente para configurar tu proyecto."],"vHlhDc": ["Haz doble clic para editar"],+ "vIR6Hp": [+ "Las habilidades se instalan en todas las herramientas de IA detectadas en este equipo, con independencia de las conexiones MCP que elegiste arriba."+ ],"vIxrEk": ["Ajustar al ancho"],"vLyv1R": ["Ocultar"],"vO2v-0": ["Ocultar los demás"],@@ -5105,6 +5120,7 @@"El enlace simbólico es un directorio superior: desvincula esa carpeta para recuperar esta."],"yMgL_E": ["Navegación del campo de búsqueda"],+ "yOjRUV": ["No se detectaron herramientas de IA. Instala una para usar esta habilidad."],"yQE2r9": ["Cargando"],"yQyglE": ["Ningún documento coincide"],"yR5LHI": ["Escribe un valor hexadecimal de 6 dígitos, como #1A2B3C"],@@ -5224,6 +5240,7 @@"zbymaY": ["hace ", ["0"], " min"],"zcmYx4": ["La configuración de git no está disponible"],"zd00pH": ["Copiar ruta"],+ "zewp9w": ["Los destinos cambiaron. Revisa la lista y luego confirma."],"zgSFyG": ["Enlace externo"],"zkz0Fg": ["Configurar la sincronización"],"zlErBl": ["La respuesta de error de los encabezados de página no cumple RFC 9457"],diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex 6ebad19f4..3a5cf7023 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -1393,13 +1393,6 @@ msgstr "Añade tus comentarios a este mensaje"msgid "Added"msgstr "Añadido"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "Añade un flujo guiado para crear nuevas Habilidades de agente."-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "Añade un bloque gestionado a"@@ -1583,6 +1576,15 @@ msgstr "¿Ya iniciaste sesión?"msgid "Always included"msgstr "Siempre incluido"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "siempre activo"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "tokens siempre activos"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "No se puede compartir esta ruta."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "Reglas de contenido"msgid "Content rules not yet loaded — try again in a moment"msgstr "Las reglas de contenido aún no se han cargado; inténtalo de nuevo en un momento"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "Coste de contexto"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "Ventana de contexto:"@@ -5657,8 +5665,6 @@ msgstr "Se copió el enlace para compartir la carpeta."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "Carpeta de destino: {linkTitle}. Haz clic para abrir la vista general."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "Carpetas"@@ -6026,13 +6032,6 @@ msgstr "Ayuda"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "Ayuda a los agentes de programación a elegir tipos de documento OKF, preservar la procedencia y evitar inventar metadatos no compatibles."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "Ayuda a tu agente de programación a reconocer los proyectos de OpenKnowledge y a canalizar por él las lecturas y escrituras."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "MÁX"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Inserta, elimina, mueve, copia y sangra líneas del editor de código con el mapa de teclas por defecto de CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "Instalar {0}"msgid "Install {brand} →"msgstr "Instalar {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "Instalar {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "Instalando"msgid "Installing {agentName}…"msgstr "Instalando {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "Se instala en"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "instalaciones:"@@ -7933,6 +7945,10 @@ msgstr "No hay agentes seleccionados: las habilidades se guardan pero no se instmsgid "No AI agents installed"msgstr "No hay agentes de IA instalados"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "No se detectaron herramientas de IA. Instala una para usar esta habilidad."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "No hay ninguna clave de API definida para este endpoint. Añade una arriba."@@ -8406,6 +8422,10 @@ msgstr "Activada: tus consultas de búsqueda y el texto de las páginas que coinmsgid "On <0>{address}</0>"msgstr "En <0>{address}</0>"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "bajo demanda"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "Sobre el texto seleccionado en <0>{address}</0>"@@ -8414,6 +8434,10 @@ msgstr "Sobre el texto seleccionado en <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "En el índice raíz, okf_version se escribe como una cadena entrecomillada como \"0.2\". Sin comillas, YAML lo lee como un número y 0.10 silenciosamente se convierte en 0.1."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "al activarse"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "Salientes"msgid "Outline"msgstr "Esquema"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "supera el presupuesto de tokens de {budgetLabel}"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "Ediciones solapadas"@@ -10046,6 +10074,10 @@ msgstr "Se quitó \"{0}\" de todas las demás ubicaciones; su carpeta de origenmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "Se quitó \"{projectName}\" de los proyectos recientes. Su carpeta ya no existe."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "Se elimina de"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "Configúralo en su propia página, bajo Complementos."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "Define la sincronización por defecto para quienes abran este proyecto por primera vez. Este ajuste se guarda en tu repositorio."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "Configurar {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "Configurar las integraciones de OpenKnowledge"@@ -11479,6 +11516,13 @@ msgstr "Habilidades"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "Las habilidades ahora se comparten. Haz commit de .ok/skills para compartirlas con tu equipo."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "Las habilidades se instalan en todas las herramientas de IA detectadas en este equipo, con independencia de las conexiones MCP que elegiste arriba."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "Lista de tareas"msgid "Task List"msgstr "Lista de tareas"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "Enseña a los agentes de programación de este proyecto a leer y escribir a través de OpenKnowledge."@@ -12339,6 +12382,10 @@ msgstr "la carpeta de habilidades por defecto (la ruta exacta aparece al guardarmsgid "The desktop app isn't responding. Refresh and try again."msgstr "La aplicación de escritorio no responde. Actualiza e inténtalo de nuevo."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "Los destinos cambiaron. Revisa la lista y luego confirma."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "Este ajuste es de cada equipo y no se comparte con tus colaboradores."msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Este ajuste es de cada equipo y no se comparte con tus colaboradores. Necesita una clave de API (defínela abajo) salvo que tu endpoint sea un servidor local que no la requiera."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "Esta habilidad vive en la carpeta del proyecto, así que se instala para todos los que abran este proyecto, no solo para ti."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Este origen incluye varias habilidades: elige una y luego pulsa Importar."@@ -13083,6 +13135,11 @@ msgstr "Activa o desactiva el subrayado."msgid "Toggles the pattern {0}/**"msgstr "Alterna el patrón {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "tokens"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "Demasiado lento"@@ -13274,6 +13331,17 @@ msgstr "¿Deshacer hasta esta edición?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Deshaz, rehaz o recorre los cambios de selección en el panel Editar código o en un campo de propiedad con forma de código."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "Desinstalar"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "Desinstalar {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex 00009545a..77f1dd024 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -86,6 +86,7 @@"09Tv5j": ["Reconnexion…"],"0BB9ID": ["Pas encore de titres."],"0BfhAj": ["Réinitialiser la vue"],+ "0CvV_9": ["S'installe dans"],"0E9DR6": ["Saisissez pour trouver un document"],"0Er6-M": ["Redémarrage"],"0Gd0NU": ["Partagé"],@@ -123,9 +124,6 @@],"0eHrMb": ["Impossible de terminer la suppression"],"0g7rCZ": ["Dupliqué sous « ", ["0"], " »"],- "0inVGS": [- "Aide votre agent de code à reconnaître les projets OpenKnowledge et à y faire transiter les lectures et les écritures."- ],"0jD-Gn": ["Une base de connaissances d'équipe, un wiki personnel, la documentation d'un projet…"],@@ -1022,6 +1020,7 @@],"BlLxpG": ["Rechercher des compétences"],"BowKyI": ["Afficher les détails"],+ "BuMD5w": ["Supprime de"],"Bv5a9_": ["Statistiques de la sélection"],"BwKH4d": ["Applications externes"],"Bx4EXG": ["Actions pour ", ["label"]],@@ -1125,6 +1124,7 @@],"D8OV7J": ["Collaborateurs uniquement"],"DAVInK": ["Ajouter au dictionnaire"],+ "DBqxw2": ["toujours actif"],"DCSSZt": ["L'agent travaille"],"DDTdLl": ["Paramètres du bloc de code"],"DELNQk": [@@ -1340,7 +1340,6 @@")."],"FWSjnp": ["Volet Modifier la source et champs de propriétés de type code"],- "FXk_zY": ["Ajoute un flux de travail guidé pour rédiger de nouvelles compétences d'agent."],"FZtBeR": ["Activer ", ["0"]],"FeXcUS": [["display"],@@ -1678,6 +1677,9 @@],"K0N7zS": ["Échec de la lecture de l'état du partage de configuration"],"K1ckLX": ["Échec de la création du dossier"],+ "K1nRu2": [+ "Cette compétence réside dans le dossier du projet : elle s'installe donc pour toutes les personnes qui ouvrent ce projet, pas seulement pour vous."+ ],"K2v7QF": ["Impossible de partager les compétences"],"K4G55s": ["Vérification de la source"],"K6MQQk": [@@ -1915,6 +1917,7 @@"Md709y": ["Chargement de ", ["fileName"]],"MdpSC1": ["Nouvelle compétence"],"Mh_4hd": ["Onglet précédent"],+ "MiMTvb": ["tokens toujours actifs"],"Mj8R8K": ["Impossible d'installer la compétence : ", ["0"]],"MmDDWK": ["Ouverts récemment"],"Mnavhe": ["Propriétés de ", ["propPanelDescriptorLabel"]],@@ -1965,6 +1968,7 @@"NOHyEE": ["Réessayer le push"],"NORKZU": ["Avertissements sur les motifs : ", ["summary"]],"NQ8llq": ["Ajouter un élément"],+ "NQVepz": ["Installer ", ["name"]],"NQXwDy": ["Modifier dans le fichier de configuration"],"NRSLBe": ["il y a ", ["diffMin"], " min"],"NSnIUP": ["Deux pages (paires)"],@@ -2206,6 +2210,7 @@"QWdKwH": ["Déplacer"],"QYTOaN": ["Vous pourrez changer cela plus tard dans <0>Paramètres → Synchronisation</0>."],"QYfQdv": ["CLI ", ["displayName"]],+ "QcScEc": ["Désinstaller ", ["name"]],"QcpeeE": ["Aller à ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -2222,6 +2227,7 @@"QlAG4m": ["Dites-nous en plus (facultatif)"],"QlkiD5": ["Replacer sur le texte sélectionné"],"QlxHAH": ["Résultats pour « ", ["semanticResultsLabel"], " »"],+ "QnnKlV": ["à la demande"],"QohqVL": ["Cet agent ne propose pas de commandes slash"],"QpSqAP": ["Le vrai shell est désactivé pour ce projet. L'activer exécute les commandes avec tous les droits de votre compte utilisateur."@@ -2680,6 +2686,7 @@" éléments sélectionnés ? Les dossiers et tous les fichiers qu'ils contiennent seront supprimés. Cette action est irréversible."],"WMsoIm": ["Déjà connecté ?"],+ "WOr-hW": ["tokens"],"WPwDin": ["Ouvrir le dossier sur le disque"],"WR0y2O": ["Partager le dossier"],"WRNXKp": ["Recherche en cours"],@@ -2811,6 +2818,7 @@"XuQzrk": ["Impossible de redémarrer le serveur — un autre processus le détient. Quittez les autres fenêtres OpenKnowledge de ce projet, puis réessayez."],+ "XuVQrE": ["Configurer ", ["0"]],"Xv_ijG": ["https://github.com/owner/repo ou owner/repo"],"Xwump4": ["aucun dépôt git ici"],"XyOUTJ": ["Quitter la fusion"],@@ -3114,6 +3122,7 @@"aalx4E": ["Modification d'une source MDX cassée : ", ["reason"]],"aatPoi": ["Fichiers générés"],"abiHje": ["Supprimer les éléments sélectionnés"],+ "ac8G0O": ["au déclenchement"],"adsMWO": ["Résolution des deltas"],"ah_ekO": ["« ", ["name"], " » est déjà à jour"],"aiArms": ["Nous n'avons pas pu cloner ce dépôt."],@@ -3529,6 +3538,7 @@"fnlBN4": ["Les paramètres d'approbation automatique ne sont pas encore chargés — réessayez dans un instant"],+ "fo0VXg": ["Désinstaller"],"fo6CCk": ["volet ", ["0"]],"fqSfXY": ["Remplacer"],"ft-BOm": ["Signaler un bug…"],@@ -3886,6 +3896,7 @@"jerqF0": ["Chargement de l'état des branches"],"jhtG3I": [" Votre sélection a été restaurée."],"jjtmV_": ["Nom du premier fichier"],+ "jkt28V": ["Coût de contexte"],"jnCROW": ["Un instantané de la mémoire au moment du plantage, et l'élément qui nous aide le plus. Il peut contenir du contenu de document et ne peut pas être masqué, alors décochez-le si vous préférez ne pas le partager."],@@ -4264,6 +4275,7 @@],"ndwmea": ["indisponible sur cette plateforme"],"neRy3o": ["Scinder l'élément de liste"],+ "nem6R7": ["dépasse le budget de tokens ", ["budgetLabel"]],"nf0wk0": ["lié via le parent"],"nfPccR": [[@@ -4911,6 +4923,9 @@],"vGeNNQ": ["Copiez une invite et collez-la dans votre agent pour configurer votre projet."],"vHlhDc": ["Double-cliquez pour modifier"],+ "vIR6Hp": [+ "Les compétences s'installent dans tous les outils IA détectés sur cette machine, indépendamment des connexions MCP choisies ci-dessus."+ ],"vIxrEk": ["Ajuster à la largeur"],"vLyv1R": ["Masquer"],"vO2v-0": ["Masquer les autres"],@@ -5157,6 +5172,7 @@"C'est un répertoire parent qui est le lien symbolique — dissociez ce dossier-là pour récupérer celui-ci."],"yMgL_E": ["Navigation dans le champ de recherche"],+ "yOjRUV": ["Aucun outil IA détecté. Installez-en un pour utiliser cette compétence."],"yQE2r9": ["Chargement"],"yQyglE": ["Aucun document correspondant"],"yR5LHI": ["Saisissez une valeur hexadécimale à 6 chiffres, par ex. #1A2B3C"],@@ -5276,6 +5292,7 @@"zbymaY": ["il y a ", ["0"], " min"],"zcmYx4": ["la configuration git est indisponible"],"zd00pH": ["Copier le chemin"],+ "zewp9w": ["Les destinations ont changé. Vérifiez la liste, puis confirmez."],"zgSFyG": ["Lien externe"],"zkz0Fg": ["Configurer la synchronisation"],"zlErBl": ["La réponse d'erreur des titres de page ne respecte pas la RFC 9457"],diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex 780c4d7f2..fb4a83808 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -1393,13 +1393,6 @@ msgstr "Ajoutez vos commentaires à ce message"msgid "Added"msgstr "Ajouté"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "Ajoute un flux de travail guidé pour rédiger de nouvelles compétences d'agent."-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "Ajoute un bloc géré à"@@ -1583,6 +1576,15 @@ msgstr "Déjà connecté ?"msgid "Always included"msgstr "Toujours inclus"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "toujours actif"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "tokens toujours actifs"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "Impossible de partager ce chemin."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "Règles de contenu"msgid "Content rules not yet loaded — try again in a moment"msgstr "Les règles de contenu ne sont pas encore chargées — réessayez dans un instant"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "Coût de contexte"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "Fenêtre de contexte :"@@ -5657,8 +5665,6 @@ msgstr "Lien de partage du dossier copié."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "Dossier cible : {linkTitle}. Cliquez pour ouvrir la synthèse."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "Dossiers"@@ -6026,13 +6032,6 @@ msgstr "Aide"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "Aide les agents de codage à choisir les types de documents OKF, à préserver la provenance et à éviter d'inventer des métadonnées non prises en charge."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "Aide votre agent de code à reconnaître les projets OpenKnowledge et à y faire transiter les lectures et les écritures."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "MAX"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Insérez, supprimez, déplacez, copiez et mettez en retrait les lignes de l'éditeur de source via le mappage clavier par défaut de CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "Installer {0}"msgid "Install {brand} →"msgstr "Installer {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "Installer {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "Installation"msgid "Installing {agentName}…"msgstr "Installation de {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "S'installe dans"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "installations :"@@ -7933,6 +7945,10 @@ msgstr "Aucun agent sélectionné — les compétences sont enregistrées mais imsgid "No AI agents installed"msgstr "Aucun agent IA installé"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "Aucun outil IA détecté. Installez-en un pour utiliser cette compétence."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "Aucune clé API n'est définie pour ce point de terminaison. Ajoutez-en une ci-dessus."@@ -8406,6 +8422,10 @@ msgstr "Activé — vos requêtes de recherche et le texte des pages correspondamsgid "On <0>{address}</0>"msgstr "Sur <0>{address}</0>"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "à la demande"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "Sur le texte sélectionné dans <0>{address}</0>"@@ -8414,6 +8434,10 @@ msgstr "Sur le texte sélectionné dans <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "Sur l'index racine, okf_version est écrit sous forme de chaîne entre guillemets comme \"0.2\". Non cité, YAML le lit comme un nombre et 0.10 devient silencieusement 0.1."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "au déclenchement"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "Sortants"msgid "Outline"msgstr "Plan"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "dépasse le budget de tokens {budgetLabel}"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "Modifications qui se chevauchent"@@ -10046,6 +10074,10 @@ msgstr "« {0} » retiré de tous les autres emplacements — son dossier sourcemsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "« {projectName} » retiré des projets récents. Son dossier n'existe plus."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "Supprime de"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "Configurez-le sur sa propre page sous Plugins."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "Définissez la synchronisation par défaut pour les utilisateurs qui ouvrent ce projet pour la première fois. Ce réglage est validé dans votre dépôt."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "Configurer {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "Configurer les intégrations OpenKnowledge"@@ -11479,6 +11516,13 @@ msgstr "Compétences"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "Les compétences sont maintenant partagées. Validez .ok/skills pour les partager avec votre équipe."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "Les compétences s'installent dans tous les outils IA détectés sur cette machine, indépendamment des connexions MCP choisies ci-dessus."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "Liste de tâches"msgid "Task List"msgstr "Liste de tâches"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "Apprend aux agents de code de ce projet à lire et écrire via OpenKnowledge."@@ -12339,6 +12382,10 @@ msgstr "le dossier de compétences par défaut (le chemin exact apparaît une fomsgid "The desktop app isn't responding. Refresh and try again."msgstr "L'application de bureau ne répond pas. Actualisez et réessayez."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "Les destinations ont changé. Vérifiez la liste, puis confirmez."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "Ce réglage est propre à chaque machine et n'est pas partagé avec lesmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Ce réglage est propre à chaque machine et n'est pas partagé avec les collaborateurs. Il nécessite une clé API (définie ci-dessous), sauf si votre point de terminaison est un serveur local qui n'en demande pas."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "Cette compétence réside dans le dossier du projet : elle s'installe donc pour toutes les personnes qui ouvrent ce projet, pas seulement pour vous."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Cette source regroupe plusieurs compétences — choisissez-en une, puis importez."@@ -13083,6 +13135,11 @@ msgstr "Bascule la mise en forme soulignée."msgid "Toggles the pattern {0}/**"msgstr "Active ou désactive le motif {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "tokens"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "Trop lent"@@ -13274,6 +13331,17 @@ msgstr "Annuler jusqu'à cette modification ?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Annulez, rétablissez, ou parcourez les changements de sélection dans le volet Modifier la source ou dans un champ de propriété de type code."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "Désinstaller"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "Désinstaller {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex 40d11cfc4..fcc66769a 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -68,6 +68,7 @@"09Tv5j": ["फिर से जोड़ा जा रहा है…"],"0BB9ID": ["अभी कोई शीर्षक नहीं।"],"0BfhAj": ["दृश्य रीसेट करें"],+ "0CvV_9": ["यहाँ इंस्टॉल होगा"],"0E9DR6": ["कोई दस्तावेज़ खोजने के लिए लिखें"],"0Er6-M": ["पुनः आरंभ किया जा रहा है"],"0Gd0NU": ["साझा"],@@ -105,9 +106,6 @@],"0eHrMb": ["विलोपन पूरा नहीं हो सका"],"0g7rCZ": ["\"", ["0"], "\" में नकल बनाई गई"],- "0inVGS": [- "आपके कोडिंग एजेंट को OpenKnowledge प्रोजेक्ट पहचानने और पढ़ने-लिखने का काम उसी के ज़रिए करने में मदद करता है।"- ],"0jD-Gn": ["एक टीम ज्ञान आधार, एक निजी विकी, प्रोजेक्ट दस्तावेज़…"],"0kTAXe": ["स्रोत खोलें: ", ["mirrorSrc"]],"0pZmTP": ["यह पथ साझा नहीं किया जा सकता।"],@@ -817,6 +815,7 @@],"BlLxpG": ["स्किल खोजें"],"BowKyI": ["विवरण दिखाएँ"],+ "BuMD5w": ["यहाँ से हटेगा"],"Bv5a9_": ["चयन के आँकड़े"],"BwKH4d": ["बाहरी ऐप्स"],"Bx4EXG": [["label"], " के लिए क्रियाएँ"],@@ -906,6 +905,7 @@"D8JJwQ": ["प्रतिक्रिया अभी उपलब्ध नहीं है। कृपया बाद में फिर कोशिश करें।"],"D8OV7J": ["केवल सहयोगी"],"DAVInK": ["शब्दकोश में जोड़ें"],+ "DBqxw2": ["हमेशा सक्रिय"],"DCSSZt": ["एजेंट काम कर रहा है"],"DDTdLl": ["कोड ब्लॉक सेटिंग"],"DELNQk": ["सहयोगी आपके चल रहे संपादन सिंक होते ही देख लेते हैं।"],@@ -1100,7 +1100,6 @@") से मेल नहीं खाता।"],"FWSjnp": ["स्रोत पैनल और कोड प्रॉपर्टी फ़ील्ड संपादित करें"],- "FXk_zY": ["नई Agent Skills लिखने के लिए एक मार्गदर्शित कार्यप्रवाह जोड़ता है।"],"FZtBeR": [["0"], " सक्षम करें"],"FeXcUS": [["display"],@@ -1365,6 +1364,9 @@],"K0N7zS": ["कॉन्फ़िग साझाकरण स्थिति पढ़ने में विफल"],"K1ckLX": ["फ़ोल्डर बनाने में विफल"],+ "K1nRu2": [+ "यह स्किल प्रोजेक्ट फ़ोल्डर में रहती है, इसलिए यह हर उस व्यक्ति के लिए इंस्टॉल होती है जो इस प्रोजेक्ट को खोलता है, सिर्फ़ आपके लिए नहीं।"+ ],"K2v7QF": ["स्किल साझा नहीं की जा सकीं"],"K4G55s": ["स्रोत जाँचा जा रहा है"],"K6MQQk": ["सिंक विफल हो रहा है। विवरण के लिए सिंक स्थिति देखें।"],@@ -1570,6 +1572,7 @@"Md709y": [["fileName"], " लोड हो रही है"],"MdpSC1": ["नई स्किल"],"Mh_4hd": ["पिछला टैब"],+ "MiMTvb": ["हमेशा सक्रिय टोकन"],"Mj8R8K": ["स्किल इंस्टॉल नहीं की जा सकी: ", ["0"]],"MmDDWK": ["हाल में खोले गए"],"Mnavhe": [["propPanelDescriptorLabel"], " प्रॉपर्टी"],@@ -1617,6 +1620,7 @@"NOHyEE": ["भेजना फिर आज़माएँ"],"NORKZU": ["पैटर्न चेतावनियाँ: ", ["summary"]],"NQ8llq": ["आइटम जोड़ें"],+ "NQVepz": [["name"], " इंस्टॉल करें"],"NQXwDy": ["कॉन्फ़िग फ़ाइल में संपादित करें"],"NRSLBe": [["diffMin"], " मिनट पहले"],"NSnIUP": ["दो पेज (सम)"],@@ -1837,6 +1841,7 @@"QWdKwH": ["हिलाएँ"],"QYTOaN": ["आप इसे बाद में <0>Settings → Sync</0> में बदल सकते हैं।"],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": [["name"], " अनइंस्टॉल करें"],"QcpeeE": [["docName"], " पर जाएँ"],"Qe47G0": [["componentLabel"],@@ -1850,6 +1855,7 @@"QlAG4m": ["हमें और बताएँ (वैकल्पिक)"],"QlkiD5": ["चयनित पाठ पर फिर से रखें"],"QlxHAH": ["\"", ["semanticResultsLabel"], "\" के परिणाम दिखाए जा रहे हैं"],+ "QnnKlV": ["मांग पर"],"QohqVL": ["यह एजेंट स्लैश कमांड नहीं देता"],"QpSqAP": ["इस प्रोजेक्ट के लिए असली शेल बंद है। इसे चालू करने पर कमांड आपके उपयोगकर्ता खाते की पूरी पहुँच के साथ चलते हैं।"@@ -2210,6 +2216,7 @@" चयनित आइटम हटाना चाहते हैं? फ़ोल्डर और उनके भीतर की सभी फ़ाइलें हट जाएँगी। यह क्रिया वापस नहीं ली जा सकती।"],"WMsoIm": ["पहले से साइन इन हैं?"],+ "WOr-hW": ["टोकन"],"WPwDin": ["फ़ोल्डर डिस्क पर खोलें"],"WR0y2O": ["फ़ोल्डर साझा करें"],"WRNXKp": ["खोजा जा रहा है"],@@ -2331,6 +2338,7 @@"XuQzrk": ["सर्वर पुनः आरंभ नहीं किया जा सका — कोई दूसरी प्रक्रिया उस पर अधिकार रखती है। इस प्रोजेक्ट की बाकी OpenKnowledge विंडो बंद करें, फिर कोशिश करें।"],+ "XuVQrE": [["0"], " सेट अप करें"],"Xv_ijG": ["https://github.com/owner/repo या owner/repo"],"Xwump4": ["यहाँ कोई git रिपॉज़िटरी नहीं"],"XyOUTJ": ["मर्ज से बाहर निकलें"],@@ -2591,6 +2599,7 @@"aalx4E": ["टूटा हुआ MDX स्रोत संपादित किया जा रहा है: ", ["reason"]],"aatPoi": ["जेनरेट की गई फ़ाइलें"],"abiHje": ["चयनित आइटम हटाएँ"],+ "ac8G0O": ["ट्रिगर होने पर"],"adsMWO": ["डेल्टा सुलझाए जा रहे हैं"],"ah_ekO": ["\"", ["name"], "\" पहले से ही अद्यतित है"],"aiArms": ["हम यह रिपॉज़िटरी क्लोन नहीं कर सके।"],@@ -2908,6 +2917,7 @@"fiMNLl": ["सिंक सेटिंग अभी लोड नहीं हुई — कुछ देर बाद फिर कोशिश करें"],"fj5YiP": ["GitHub से एक नई प्रति डाउनलोड करता है।"],"fnlBN4": ["स्वत: स्वीकृति सेटिंग अभी लोड नहीं हुई — कुछ देर बाद फिर कोशिश करें"],+ "fo0VXg": ["अनइंस्टॉल करें"],"fo6CCk": ["फलक ", ["0"]],"fqSfXY": ["बदलें"],"ft-BOm": ["बग की रिपोर्ट करें…"],@@ -3212,6 +3222,7 @@"jerqF0": ["ब्रांच स्थिति लोड हो रही है"],"jhtG3I": [" आपका चयन बहाल कर दिया गया है।"],"jjtmV_": ["पहली फ़ाइल का नाम"],+ "jkt28V": ["कॉन्टेक्स्ट लागत"],"jnCROW": ["क्रैश के समय का एक मेमोरी स्नैपशॉट, और वह कलाकृति जो हमारी सबसे ज़्यादा मदद करती है। इसमें दस्तावेज़ की सामग्री हो सकती है और इससे गोपनीय जानकारी हटाई नहीं जा सकती, इसलिए यदि आप इसे साझा नहीं करना चाहते तो इसे अनचेक कर दें।"],@@ -3533,6 +3544,7 @@],"ndwmea": ["इस प्लेटफ़ॉर्म पर अनुपलब्ध"],"neRy3o": ["सूची आइटम बाँटें"],+ "nem6R7": [["budgetLabel"], " टोकन बजट से अधिक"],"nf0wk0": ["मूल के ज़रिए सिमलिंक किया गया"],"nfPccR": [[@@ -4069,6 +4081,7 @@"vGQxBT": ["स्रोत के अपडेट अपने आप लागू होते हैं (जब तक स्थानीय रूप से संपादित न किया गया हो)"],"vGeNNQ": ["अपना प्रोजेक्ट सेट अप करने के लिए एक प्रॉम्प्ट कॉपी करके अपने एजेंट में चिपकाएँ।"],"vHlhDc": ["संपादित करने के लिए डबल-क्लिक करें"],+ "vIR6Hp": ["स्किल इस मशीन पर मिले हर AI टूल में इंस्टॉल होती हैं, चाहे आपने ऊपर कोई भी MCP कनेक्शन चुना हो।"],"vIxrEk": ["चौड़ाई के अनुसार"],"vLyv1R": ["छिपाएँ"],"vO2v-0": ["अन्य छिपाएँ"],@@ -4271,6 +4284,7 @@"yLq4w4": ["विभाजक"],"yLwx9e": ["मूल निर्देशिका ही सिमलिंक है — इसे वापस लेने के लिए उस फ़ोल्डर को ही अनलिंक करें।"],"yMgL_E": ["खोज फ़ील्ड नेविगेशन"],+ "yOjRUV": ["कोई AI टूल नहीं मिला। इस स्किल को इस्तेमाल करने के लिए एक इंस्टॉल करें।"],"yQE2r9": ["लोड हो रहा है"],"yQyglE": ["कोई मेल खाता दस्तावेज़ नहीं"],"yR5LHI": ["#1A2B3C जैसा 6-अंकों का हेक्स मान डालें"],@@ -4361,6 +4375,7 @@"zbymaY": [["0"], " मिनट पहले"],"zcmYx4": ["git कॉन्फ़िगरेशन अनुपलब्ध है"],"zd00pH": ["पथ कॉपी करें"],+ "zewp9w": ["गंतव्य बदल गए हैं। सूची देखें, फिर पुष्टि करें।"],"zgSFyG": ["बाहरी लिंक"],"zkz0Fg": ["सिंक सेट अप करें"],"zlErBl": ["पेज शीर्षकों की त्रुटि प्रतिक्रिया RFC 9457 से मेल नहीं खाई"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex 0e27c4157..ebc185fae 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -1389,13 +1389,6 @@ msgstr "इस संदेश में अपनी टिप्पणियmsgid "Added"msgstr "जोड़ा गया"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "नई Agent Skills लिखने के लिए एक मार्गदर्शित कार्यप्रवाह जोड़ता है।"-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "इसमें एक प्रबंधित ब्लॉक जोड़ता है"@@ -1579,6 +1572,15 @@ msgstr "पहले से साइन इन हैं?"msgid "Always included"msgstr "हमेशा शामिल"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "हमेशा सक्रिय"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "हमेशा सक्रिय टोकन"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2185,6 +2187,7 @@ msgstr "यह पथ साझा नहीं किया जा सकता#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3019,6 +3022,11 @@ msgstr "सामग्री नियम"msgid "Content rules not yet loaded — try again in a moment"msgstr "सामग्री नियम अभी लोड नहीं हुए — कुछ देर बाद फिर कोशिश करें"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "कॉन्टेक्स्ट लागत"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "संदर्भ विंडो:"@@ -5653,8 +5661,6 @@ msgstr "फ़ोल्डर साझा करने का लिंक कmsgid "Folder target: {linkTitle}. Click to open the overview."msgstr "फ़ोल्डर लक्ष्य: {linkTitle}. सिंहावलोकन खोलने के लिए क्लिक करें।"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "फ़ोल्डर"@@ -6022,13 +6028,6 @@ msgstr "सहायता"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "कोडिंग एजेंटों को OKF दस्तावेज़ प्रकार चुनने, उत्पत्ति को संरक्षित करने और असमर्थित मेटाडेटा का आविष्कार करने से बचने में मदद करता है।"-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "आपके कोडिंग एजेंट को OpenKnowledge प्रोजेक्ट पहचानने और पढ़ने-लिखने का काम उसी के ज़रिए करने में मदद करता है।"-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "उच्च"@@ -6554,8 +6553,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror के डिफ़ॉल्ट कीमैप से स्रोत संपादक की पंक्तियाँ डालें, हटाएँ, हिलाएँ, कॉपी करें और अंदर करें।"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6570,6 +6572,11 @@ msgstr "{0} इंस्टॉल करें"msgid "Install {brand} →"msgstr "{brand} इंस्टॉल करें →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "{name} इंस्टॉल करें"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6700,6 +6707,11 @@ msgstr "इंस्टॉल किया जा रहा है"msgid "Installing {agentName}…"msgstr "{agentName} इंस्टॉल किया जा रहा है…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "यहाँ इंस्टॉल होगा"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "इंस्टॉल:"@@ -7929,6 +7941,10 @@ msgstr "कोई एजेंट नहीं चुना गया — स्msgid "No AI agents installed"msgstr "कोई AI एजेंट इंस्टॉल नहीं है"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "कोई AI टूल नहीं मिला। इस स्किल को इस्तेमाल करने के लिए एक इंस्टॉल करें।"+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "इस एंडपॉइंट के लिए कोई API कुंजी सेट नहीं है। ऊपर एक जोड़ें।"@@ -8402,6 +8418,10 @@ msgstr "चालू — आपकी खोज क्वेरी और मेmsgid "On <0>{address}</0>"msgstr "<0>{address}</0> पर"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "मांग पर"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "<0>{address}</0> में चयनित पाठ पर"@@ -8410,6 +8430,10 @@ msgstr "<0>{address}</0> में चयनित पाठ पर"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "रूट इंडेक्स पर, okf_version को \"0.2\" जैसी उद्धृत स्ट्रिंग के रूप में लिखा जाता है। अउद्धृत, YAML इसे एक संख्या के रूप में पढ़ता है और 0.10 चुपचाप 0.1 बन जाता है।"+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "ट्रिगर होने पर"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9092,6 +9116,10 @@ msgstr "बाहर जाने वाले"msgid "Outline"msgstr "रूपरेखा"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "{budgetLabel} टोकन बजट से अधिक"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "आपस में टकराते संपादन"@@ -10042,6 +10070,10 @@ msgstr "\"{0}\" को बाकी हर स्थान से हटा दmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "\"{projectName}\" को हाल के प्रोजेक्ट से हटा दिया गया। इसका फ़ोल्डर अब मौजूद नहीं है।"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "यहाँ से हटेगा"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11068,6 +11100,11 @@ msgstr "इसे Plugins के अंतर्गत इसके अपनेmsgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "इस प्रोजेक्ट को पहली बार खोलने वाले उपयोगकर्ताओं के लिए सिंक का डिफ़ॉल्ट तय करें। यह सेटिंग आपकी रिपॉज़िटरी में कमिट होती है।"+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "{0} सेट अप करें"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "OpenKnowledge एकीकरण सेट अप करें"@@ -11475,6 +11512,13 @@ msgstr "स्किल"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "स्किल अब साझा हैं। अपनी टीम के साथ साझा करने के लिए .ok/skills कमिट करें।"+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "स्किल इस मशीन पर मिले हर AI टूल में इंस्टॉल होती हैं, चाहे आपने ऊपर कोई भी MCP कनेक्शन चुना हो।"+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12113,7 +12157,6 @@ msgstr "कार्य सूची"msgid "Task List"msgstr "कार्य सूची"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "इस प्रोजेक्ट के कोडिंग एजेंट को OpenKnowledge के ज़रिए पढ़ना और लिखना सिखाता है।"@@ -12335,6 +12378,10 @@ msgstr "डिफ़ॉल्ट स्किल फ़ोल्डर (सहmsgid "The desktop app isn't responding. Refresh and try again."msgstr "डेस्कटॉप ऐप प्रतिक्रिया नहीं दे रहा। ताज़ा करें और फिर कोशिश करें।"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "गंतव्य बदल गए हैं। सूची देखें, फिर पुष्टि करें।"+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12914,6 +12961,11 @@ msgstr "यह सेटिंग हर मशीन के लिए अलगmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "यह सेटिंग हर मशीन के लिए अलग है और सहयोगियों के साथ साझा नहीं होती। इसके लिए एक API कुंजी चाहिए (नीचे सेट करें), बशर्ते आपका एंडपॉइंट कोई ऐसा स्थानीय सर्वर न हो जिसे इसकी ज़रूरत न हो।"+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "यह स्किल प्रोजेक्ट फ़ोल्डर में रहती है, इसलिए यह हर उस व्यक्ति के लिए इंस्टॉल होती है जो इस प्रोजेक्ट को खोलता है, सिर्फ़ आपके लिए नहीं।"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "इस स्रोत में कई स्किल हैं — एक चुनें, फिर Import करें।"@@ -13079,6 +13131,11 @@ msgstr "रेखांकित फ़ॉर्मैटिंग चालूmsgid "Toggles the pattern {0}/**"msgstr "पैटर्न {0}/** टॉगल करें"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "टोकन"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "बहुत धीमा"@@ -13270,6 +13327,17 @@ msgstr "इस संपादन तक पूर्ववत करें?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Edit source पैनल या कोड जैसी किसी प्रॉपर्टी फ़ील्ड में चयन के बदलाव पूर्ववत करें, फिर से करें, या एक-एक करके देखें।"+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "अनइंस्टॉल करें"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "{name} अनइंस्टॉल करें"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex f5a1d7b4f..88c8fb2b6 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -68,6 +68,7 @@"09Tv5j": ["Menyambung ulang…"],"0BB9ID": ["Belum ada judul."],"0BfhAj": ["Setel ulang tampilan"],+ "0CvV_9": ["Dipasang di"],"0E9DR6": ["Ketik untuk menemukan sebuah dokumen"],"0Er6-M": ["Memulai ulang"],"0Gd0NU": ["Dibagikan"],@@ -105,9 +106,6 @@],"0eHrMb": ["Penghapusan tidak dapat diselesaikan"],"0g7rCZ": ["Digandakan menjadi \"", ["0"], "\""],- "0inVGS": [- "Membantu agen pemrograman Anda mengenali proyek OpenKnowledge dan mengarahkan baca-tulis melaluinya."- ],"0jD-Gn": ["Basis pengetahuan tim, wiki pribadi, dokumentasi proyek..."],"0kTAXe": ["Buka sumber: ", ["mirrorSrc"]],"0pZmTP": ["Tidak dapat membagikan jalur ini."],@@ -830,6 +828,7 @@],"BlLxpG": ["Cari keterampilan"],"BowKyI": ["Tampilkan detail"],+ "BuMD5w": ["Dihapus dari"],"Bv5a9_": ["Statistik pilihan"],"BwKH4d": ["Aplikasi eksternal"],"Bx4EXG": ["Tindakan untuk ", ["label"]],@@ -919,6 +918,7 @@"D8JJwQ": ["Masukan tidak tersedia saat ini. Silakan coba lagi nanti."],"D8OV7J": ["Hanya kolaborator"],"DAVInK": ["Tambahkan ke kamus"],+ "DBqxw2": ["selalu aktif"],"DCSSZt": ["Agennya sedang bekerja"],"DDTdLl": ["Pengaturan blok kode"],"DELNQk": ["Kolaborator melihat suntingan Anda yang sedang berjalan begitu tersinkronkan."],@@ -1122,7 +1122,6 @@")."],"FWSjnp": ["Panel sunting sumber dan bidang properti berbentuk kode"],- "FXk_zY": ["Menambahkan alur terpandu untuk menulis Keterampilan Agen baru."],"FZtBeR": ["Aktifkan ", ["0"]],"FeXcUS": [["display"],@@ -1417,6 +1416,9 @@],"K0N7zS": ["Gagal membaca status berbagi konfigurasi"],"K1ckLX": ["Gagal membuat folder"],+ "K1nRu2": [+ "Keterampilan ini berada di folder proyek, jadi terpasang untuk semua orang yang membuka proyek ini, bukan hanya Anda."+ ],"K2v7QF": ["Keterampilan tidak bisa dibagikan"],"K4G55s": ["Memeriksa sumber"],"K6MQQk": ["Sinkronisasi sedang gagal. Lihat status sinkronisasi untuk detailnya."],@@ -1622,6 +1624,7 @@"Md709y": ["Memuat ", ["fileName"]],"MdpSC1": ["Keterampilan baru"],"Mh_4hd": ["Tab sebelumnya"],+ "MiMTvb": ["token selalu aktif"],"Mj8R8K": ["Keterampilan tidak bisa dipasang: ", ["0"]],"MmDDWK": ["Baru saja dibuka"],"Mnavhe": ["Properti ", ["propPanelDescriptorLabel"]],@@ -1672,6 +1675,7 @@"NOHyEE": ["Coba push lagi"],"NORKZU": ["Peringatan pola: ", ["summary"]],"NQ8llq": ["Tambahkan item"],+ "NQVepz": ["Pasang ", ["name"]],"NQXwDy": ["Sunting di berkas konfigurasi"],"NRSLBe": [["diffMin"], " mnt lalu"],"NSnIUP": ["Dua halaman (genap)"],@@ -1907,6 +1911,7 @@"QWdKwH": ["Pindahkan"],"QYTOaN": ["Anda bisa mengubah ini nanti di <0>Pengaturan → Sinkronisasi</0>."],"QYfQdv": ["CLI ", ["displayName"]],+ "QcScEc": ["Copot ", ["name"]],"QcpeeE": ["Pergi ke ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -1919,6 +1924,7 @@"QlAG4m": ["Ceritakan lebih banyak (opsional)"],"QlkiD5": ["Tempatkan ulang pada teks terpilih"],"QlxHAH": ["Menampilkan hasil untuk \"", ["semanticResultsLabel"], "\""],+ "QnnKlV": ["sesuai permintaan"],"QohqVL": ["Agen ini tidak menawarkan perintah garis miring"],"QpSqAP": ["Shell asli dinonaktifkan untuk proyek ini. Mengaktifkannya membuat perintah berjalan dengan akses penuh akun pengguna Anda."@@ -2297,6 +2303,7 @@" item terpilih? Folder dan semua berkas di dalamnya akan dihapus. Tindakan ini tidak bisa dibatalkan."],"WMsoIm": ["Sudah masuk?"],+ "WOr-hW": ["token"],"WPwDin": ["Buka folder di disk"],"WR0y2O": ["Bagikan folder"],"WRNXKp": ["Mencari"],@@ -2414,6 +2421,7 @@"XuQzrk": ["Server tidak bisa dimulai ulang — proses lain menguasainya. Tutup jendela OpenKnowledge lain untuk proyek ini, lalu coba lagi."],+ "XuVQrE": ["Siapkan ", ["0"]],"Xv_ijG": ["https://github.com/pemilik/repo atau pemilik/repo"],"Xwump4": ["tidak ada repositori git di sini"],"XyOUTJ": ["Keluar dari penggabungan"],@@ -2672,6 +2680,7 @@"aalx4E": ["Menyunting sumber MDX yang rusak: ", ["reason"]],"aatPoi": ["File yang dihasilkan"],"abiHje": ["Hapus item terpilih"],+ "ac8G0O": ["saat dipicu"],"adsMWO": ["Menyelesaikan delta"],"ah_ekO": ["\"", ["name"], "\" sudah yang terbaru"],"aiArms": ["Kami tidak bisa mengkloning repositori ini."],@@ -3019,6 +3028,7 @@"fiMNLl": ["Pengaturan sinkronisasi belum dimuat — coba lagi sebentar"],"fj5YiP": ["Mengunduh salinan baru dari GitHub."],"fnlBN4": ["Pengaturan persetujuan otomatis belum dimuat — coba lagi sebentar"],+ "fo0VXg": ["Copot"],"fo6CCk": ["panel ", ["0"]],"fqSfXY": ["Ganti"],"ft-BOm": ["Laporkan bug…"],@@ -3351,6 +3361,7 @@"jerqF0": ["Memuat keadaan cabang"],"jhtG3I": [" Pilihan Anda telah dipulihkan."],"jjtmV_": ["Nama berkas pertama"],+ "jkt28V": ["Biaya konteks"],"jnCROW": ["Cuplikan memori dari kegagalan itu, dan artefak yang paling membantu kami. Isinya bisa memuat isi dokumen dan tidak bisa disunting, jadi hapus centangnya jika Anda tidak ingin membagikannya."],@@ -3688,6 +3699,7 @@],"ndwmea": ["tidak tersedia di platform ini"],"neRy3o": ["Pisahkan item daftar"],+ "nem6R7": ["melebihi anggaran token ", ["budgetLabel"]],"nf0wk0": ["ditautkan lewat folder induk"],"nfPccR": [["laterEdits", "plural", { "other": ["Mengembalikan ", "#", " suntingan berikutnya."] }]@@ -4224,6 +4236,9 @@"vGQxBT": ["Pembaruan dari sumbernya berlaku otomatis (kecuali sudah disunting secara lokal)"],"vGeNNQ": ["Salin sebuah prompt dan tempelkan ke agen Anda untuk menyiapkan proyek Anda."],"vHlhDc": ["Klik dua kali untuk menyunting"],+ "vIR6Hp": [+ "Keterampilan dipasang ke setiap alat AI yang terdeteksi di mesin ini, terlepas dari koneksi MCP yang Anda pilih di atas."+ ],"vIxrEk": ["Sesuaikan lebar"],"vLyv1R": ["Sembunyikan"],"vO2v-0": ["Sembunyikan lainnya"],@@ -4440,6 +4455,7 @@"Direktori di atasnya yang merupakan symlink — lepaskan tautan folder itu untuk mengambil kembali yang ini."],"yMgL_E": ["Navigasi bidang pencarian"],+ "yOjRUV": ["Tidak ada alat AI yang terdeteksi. Pasang satu untuk memakai keterampilan ini."],"yQE2r9": ["Memuat"],"yQyglE": ["Tidak ada dokumen yang cocok"],"yR5LHI": ["Masukkan nilai heksa 6 digit seperti #1A2B3C"],@@ -4535,6 +4551,7 @@"zbymaY": [["0"], " mnt lalu"],"zcmYx4": ["konfigurasi git tidak tersedia"],"zd00pH": ["Salin Jalur"],+ "zewp9w": ["Tujuannya berubah. Periksa daftarnya, lalu konfirmasi."],"zgSFyG": ["Tautan eksternal"],"zkz0Fg": ["Siapkan sinkronisasi"],"zlErBl": ["Respons galat judul halaman tidak sesuai RFC 9457"],diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex e0b279fe8..a0e7b95e9 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -1389,13 +1389,6 @@ msgstr "Tambahkan komentar Anda ke pesan ini"msgid "Added"msgstr "Ditambahkan"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "Menambahkan alur terpandu untuk menulis Keterampilan Agen baru."-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "Menambahkan blok terkelola ke"@@ -1579,6 +1572,15 @@ msgstr "Sudah masuk?"msgid "Always included"msgstr "Selalu disertakan"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "selalu aktif"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "token selalu aktif"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2185,6 +2187,7 @@ msgstr "Tidak dapat membagikan jalur ini."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3019,6 +3022,11 @@ msgstr "Aturan konten"msgid "Content rules not yet loaded — try again in a moment"msgstr "Aturan konten belum dimuat — coba lagi sebentar"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "Biaya konteks"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "Jendela konteks:"@@ -5653,8 +5661,6 @@ msgstr "Tautan berbagi folder disalin."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "Folder tujuan: {linkTitle}. Klik untuk membuka ikhtisarnya."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "Folder"@@ -6022,13 +6028,6 @@ msgstr "Bantuan"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "Membantu agen pengkodean memilih jenis dokumen OKF, mempertahankan asal, dan menghindari penemuan metadata yang tidak didukung."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "Membantu agen pemrograman Anda mengenali proyek OpenKnowledge dan mengarahkan baca-tulis melaluinya."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "MAKS"@@ -6554,8 +6553,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Menyisipkan, menghapus, memindahkan, menyalin, dan mengindentasi baris penyunting sumber lewat peta tombol bawaan CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6570,6 +6572,11 @@ msgstr "Pasang {0}"msgid "Install {brand} →"msgstr "Pasang {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "Pasang {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6700,6 +6707,11 @@ msgstr "Memasang"msgid "Installing {agentName}…"msgstr "Memasang {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "Dipasang di"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "pemasangan:"@@ -7929,6 +7941,10 @@ msgstr "Tidak ada agen yang dipilih — keterampilannya tersimpan tetapi tidak dmsgid "No AI agents installed"msgstr "Tidak ada agen AI yang terpasang"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "Tidak ada alat AI yang terdeteksi. Pasang satu untuk memakai keterampilan ini."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "Tidak ada kunci API yang disetel untuk endpoint ini. Tambahkan satu di atas."@@ -8402,6 +8418,10 @@ msgstr "Aktif — kueri pencarian Anda dan teks halaman yang cocok dikirim ke pemsgid "On <0>{address}</0>"msgstr "Pada <0>{address}</0>"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "sesuai permintaan"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "Pada teks terpilih di <0>{address}</0>"@@ -8410,6 +8430,10 @@ msgstr "Pada teks terpilih di <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "Pada indeks root, okf_version ditulis sebagai string yang dikutip seperti \"0.2\". Tanpa tanda kutip, YAML membacanya sebagai angka dan 0.10 diam-diam menjadi 0.1."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "saat dipicu"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9092,6 +9116,10 @@ msgstr "Keluar"msgid "Outline"msgstr "Kerangka"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "melebihi anggaran token {budgetLabel}"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "Suntingan bertumpang tindih"@@ -10042,6 +10070,10 @@ msgstr "\"{0}\" dihapus dari semua lokasi lain — folder sumbernya tetap dimuatmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "\"{projectName}\" dihapus dari proyek terbaru. Foldernya sudah tidak ada."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "Dihapus dari"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11068,6 +11100,11 @@ msgstr "Siapkan di halamannya sendiri di bawah Plugin."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "Setel sinkronisasi bawaan untuk pengguna yang membuka proyek ini pertama kali. Pengaturan ini disimpan di repositori Anda."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "Siapkan {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "Siapkan integrasi OpenKnowledge"@@ -11475,6 +11512,13 @@ msgstr "Keterampilan"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "Keterampilan kini dibagikan. Lakukan commit pada .ok/skills untuk membagikannya dengan tim Anda."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "Keterampilan dipasang ke setiap alat AI yang terdeteksi di mesin ini, terlepas dari koneksi MCP yang Anda pilih di atas."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12113,7 +12157,6 @@ msgstr "Daftar tugas"msgid "Task List"msgstr "Daftar Tugas"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "Mengajari agen pemrograman di proyek ini untuk membaca dan menulis lewat OpenKnowledge."@@ -12335,6 +12378,10 @@ msgstr "folder keterampilan bawaan (jalur persisnya muncul setelah disimpan)"msgid "The desktop app isn't responding. Refresh and try again."msgstr "Aplikasi desktopnya tidak merespons. Segarkan lalu coba lagi."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "Tujuannya berubah. Periksa daftarnya, lalu konfirmasi."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12914,6 +12961,11 @@ msgstr "Pengaturan ini berlaku per komputer dan tidak dibagikan dengan kolaboratmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Pengaturan ini berlaku per komputer dan tidak dibagikan dengan kolaborator. Ia memerlukan kunci API (setel di bawah) kecuali endpoint Anda adalah server lokal yang tidak memerlukannya."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "Keterampilan ini berada di folder proyek, jadi terpasang untuk semua orang yang membuka proyek ini, bukan hanya Anda."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Sumber ini memuat beberapa keterampilan — pilih satu, lalu Impor."@@ -13079,6 +13131,11 @@ msgstr "Menyalakan atau mematikan format garis bawah."msgid "Toggles the pattern {0}/**"msgstr "Mengaktifkan atau menonaktifkan pola {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "token"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "Terlalu lambat"@@ -13270,6 +13327,17 @@ msgstr "Batalkan hingga suntingan ini?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Membatalkan, mengulangi, atau menelusuri perubahan pilihan di panel Sunting sumber atau bidang properti berbentuk kode."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "Copot"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "Copot {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.jsonindex d6adf5002..a80834f1f 100644--- a/packages/app/src/locales/ko/messages.json+++ b/packages/app/src/locales/ko/messages.json@@ -62,6 +62,7 @@"09Tv5j": ["다시 연결 중…"],"0BB9ID": ["아직 제목 없음."],"0BfhAj": ["보기 재설정"],+ "0CvV_9": ["설치 위치"],"0E9DR6": ["문서를 찾으려면 입력"],"0Er6-M": ["재시작 중"],"0Gd0NU": ["공유됨"],@@ -100,9 +101,6 @@],"0eHrMb": ["삭제를 완료하지 못했습니다"],"0g7rCZ": ["\"", ["0"], "\"에 복제됨"],- "0inVGS": [- "코딩 에이전트가 OpenKnowledge 프로젝트를 인식하고 읽기와 쓰기를 OpenKnowledge로 전달하도록 돕습니다."- ],"0jD-Gn": ["팀 지식 베이스, 개인 위키, 프로젝트 문서…"],"0kTAXe": ["소스 열기: ", ["mirrorSrc"]],"0pZmTP": ["이 경로는 공유할 수 없습니다."],@@ -805,6 +803,7 @@],"BlLxpG": ["스킬 검색"],"BowKyI": ["세부 정보 보기"],+ "BuMD5w": ["제거 위치"],"Bv5a9_": ["선택 영역 통계"],"BwKH4d": ["외부 앱"],"Bx4EXG": [["label"], " 작업"],@@ -890,6 +889,7 @@"D8JJwQ": ["현재 피드백을 사용할 수 없습니다. 나중에 다시 시도하세요."],"D8OV7J": ["공동 작업자만"],"DAVInK": ["사전에 추가"],+ "DBqxw2": ["상시"],"DCSSZt": ["에이전트 작업 중"],"DDTdLl": ["코드 블록 설정"],"DELNQk": ["공동 작업자는 동기화가 완료되면 진행 중인 편집 내용을 바로 볼 수 있습니다."],@@ -1077,7 +1077,6 @@")를 실행 중입니다."],"FWSjnp": ["소스 창과 코드 속성 필드를 편집합니다."],- "FXk_zY": ["새 에이전트 스킬 작성용 안내 워크플로 추가"],"FZtBeR": [["0"], " 활성화"],"FeXcUS": [["display"],@@ -1358,6 +1357,9 @@],"K0N7zS": ["config 공유 상태를 읽지 못했습니다"],"K1ckLX": ["폴더를 만들지 못했습니다"],+ "K1nRu2": [+ "이 스킬은 프로젝트 폴더에 있으므로 나만이 아니라 이 프로젝트를 여는 모든 사람에게 설치됩니다."+ ],"K2v7QF": ["스킬 공유 실패"],"K4G55s": ["소스 확인 중"],"K6MQQk": ["동기화에 실패하고 있습니다. 자세한 내용은 동기화 상태를 확인하세요."],@@ -1558,6 +1560,7 @@"Md709y": [["fileName"], " 불러오는 중"],"MdpSC1": ["새 스킬"],"Mh_4hd": ["이전 탭"],+ "MiMTvb": ["상시 토큰"],"Mj8R8K": ["스킬 설치 실패: ", ["0"]],"MmDDWK": ["최근 열기"],"Mnavhe": [["propPanelDescriptorLabel"], " 속성"],@@ -1606,6 +1609,7 @@"NOHyEE": ["푸시 재시도"],"NORKZU": ["패턴 경고: ", ["summary"]],"NQ8llq": ["항목 추가"],+ "NQVepz": [["name"], " 설치"],"NQXwDy": ["config 파일에서 편집"],"NRSLBe": [["diffMin"], "분 전"],"NSnIUP": ["두 페이지 (짝수)"],@@ -1825,6 +1829,7 @@"QWdKwH": ["이동"],"QYTOaN": ["나중에 <0>설정 → 동기화</0>에서 변경할 수 있습니다."],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": [["name"], " 설치 제거"],"QcpeeE": [["docName"], "로 이동"],"Qe47G0": [["componentLabel"], ", 항목 ", ["childCount", "plural", { "other": ["#", "개"] }]],"QfFBdJ": ["템플릿 파일 이름입니다(`.md` 제외)."],@@ -1833,6 +1838,7 @@"QlAG4m": ["더 알려 주세요 (선택 사항)"],"QlkiD5": ["선택 텍스트에 다시 배치"],"QlxHAH": ["“", ["semanticResultsLabel"], "”에 대한 결과 표시"],+ "QnnKlV": ["요청 시"],"QohqVL": ["이 에이전트는 슬래시 명령을 제공하지 않습니다"],"QpSqAP": ["이 프로젝트에서 실제 셸이 꺼져 있습니다. 켜면 사용자 계정의 전체 권한으로 명령을 실행합니다."@@ -2198,6 +2204,7 @@"개 항목을 삭제하시겠습니까? 폴더와 내부의 모든 파일도 삭제됩니다. 이 작업은 취소할 수 없습니다."],"WMsoIm": ["이미 로그인했나요?"],+ "WOr-hW": ["토큰"],"WPwDin": ["디스크에서 폴더 열기"],"WR0y2O": ["폴더 공유"],"WRNXKp": ["검색 중"],@@ -2313,6 +2320,7 @@"XuQzrk": ["서버를 다시 시작할 수 없습니다. 다른 프로세스가 사용 중입니다. 이 프로젝트의 다른 OpenKnowledge 창을 닫은 후 다시 시도하세요."],+ "XuVQrE": [["0"], " 설정"],"Xv_ijG": ["https://github.com/owner/repo 또는 owner/repo"],"Xwump4": ["이곳에 git 저장소 없음"],"XyOUTJ": ["병합 종료"],@@ -2569,6 +2577,7 @@"aalx4E": ["손상된 MDX 소스 편집 중: ", ["reason"]],"aatPoi": ["생성된 파일"],"abiHje": ["선택 항목 삭제"],+ "ac8G0O": ["트리거 시"],"adsMWO": ["델타 해결 중"],"ah_ekO": ["\"", ["name"], "\"은 이미 최신 상태입니다"],"aiArms": ["이 저장소를 클론할 수 없습니다."],@@ -2894,6 +2903,7 @@"fiMNLl": ["동기화 설정이 아직 로드되지 않았습니다. 잠시 후 다시 시도하세요."],"fj5YiP": ["GitHub에서 최신 사본을 다운로드합니다."],"fnlBN4": ["자동 승인 설정을 아직 불러오지 못했습니다. 잠시 후 다시 시도합니다."],+ "fo0VXg": ["설치 제거"],"fo6CCk": ["패널 ", ["0"]],"fqSfXY": ["바꾸기"],"ft-BOm": ["버그 신고…"],@@ -3204,6 +3214,7 @@"jerqF0": ["브랜치 상태 불러오는 중"],"jhtG3I": [" 선택 영역을 복원했습니다."],"jjtmV_": ["첫 파일 이름"],+ "jkt28V": ["컨텍스트 비용"],"jnCROW": ["크래시 메모리 스냅샷과 가장 도움이 되는 아티팩트입니다. 문서 내용이 포함될 수 있고 비공개 처리할 수 없으므로 공유하지 않으려면 선택을 해제하세요."],@@ -3525,6 +3536,7 @@"nc-ipN": ["Frontmatter schemas 플러그인에 매핑된 스키마 파일에서 필드를 편집할 수 있습니다"],"ndwmea": ["이 플랫폼에서 사용 불가"],"neRy3o": ["목록 항목 분할"],+ "nem6R7": [["budgetLabel"], " 토큰 예산 초과"],"nf0wk0": ["상위 경로를 통한 심볼릭 링크"],"nfPccR": [["laterEdits", "plural", { "other": ["이후 편집 ", "#", "개를 되돌립니다."] }]],"nfoduq": ["워크트리 만들기"],@@ -4031,6 +4043,9 @@"vGQxBT": ["소스 업데이트가 자동으로 적용됩니다(로컬에서 편집한 경우 제외)"],"vGeNNQ": ["프롬프트를 복사해 에이전트에 붙여넣으면 프로젝트를 설정합니다."],"vHlhDc": ["편집하려면 두 번 클릭"],+ "vIR6Hp": [+ "스킬은 이 컴퓨터에서 감지된 모든 AI 도구에 설치되며, 위에서 선택한 MCP 연결과는 무관합니다."+ ],"vIxrEk": ["너비에 맞추기"],"vLyv1R": ["숨기기"],"vO2v-0": ["다른 앱 가리기"],@@ -4231,6 +4246,7 @@"상위 디렉터리가 심볼릭 링크입니다. 이 폴더 자체의 링크를 해제하면 다시 가져올 수 있습니다."],"yMgL_E": ["찾기 필드 탐색"],+ "yOjRUV": ["AI 도구가 감지되지 않았습니다. 이 스킬을 사용하려면 하나를 설치하세요."],"yQE2r9": ["로드 중"],"yQyglE": ["일치하는 문서 없음"],"yR5LHI": ["6자리 16진수 입력, 예: #1A2B3C"],@@ -4321,6 +4337,7 @@"zbymaY": [["0"], "분 전"],"zcmYx4": ["git 설정을 사용할 수 없음"],"zd00pH": ["경로 복사"],+ "zewp9w": ["대상이 변경되었습니다. 목록을 확인한 후 승인하세요."],"zgSFyG": ["외부 링크"],"zkz0Fg": ["동기화 설정"],"zlErBl": ["페이지 제목 오류 응답이 RFC 9457과 일치하지 않습니다"],diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.poindex 190bced99..7b46b519e 100644--- a/packages/app/src/locales/ko/messages.po+++ b/packages/app/src/locales/ko/messages.po@@ -1393,13 +1393,6 @@ msgstr "이 메시지에 댓글 남기기"msgid "Added"msgstr "추가됨"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "새 에이전트 스킬 작성용 안내 워크플로 추가"-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "관리 블록을 다음 대상에 추가합니다"@@ -1583,6 +1576,15 @@ msgstr "이미 로그인했나요?"msgid "Always included"msgstr "항상 포함"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "상시"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "상시 토큰"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "이 경로는 공유할 수 없습니다."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "콘텐츠 규칙"msgid "Content rules not yet loaded — try again in a moment"msgstr "콘텐츠 규칙을 아직 불러오지 못했습니다. 잠시 후 다시 시도합니다."+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "컨텍스트 비용"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "컨텍스트 창:"@@ -5657,8 +5665,6 @@ msgstr "폴더 공유 링크가 복사되었습니다."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "폴더 대상: {linkTitle}. 클릭하여 개요를 엽니다."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "폴더"@@ -6026,13 +6032,6 @@ msgstr "도움말"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "코딩 에이전트가 OKF 문서 유형을 선택하고 출처를 보존하며 지원되지 않는 메타데이터를 만들지 않도록 돕습니다."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "코딩 에이전트가 OpenKnowledge 프로젝트를 인식하고 읽기와 쓰기를 OpenKnowledge로 전달하도록 돕습니다."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "안녕"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror 기본 키맵을 통해 소스 편집기 줄을 삽입, 삭제, 이동, 복사하고 들여씁니다."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "{0} 설치"msgid "Install {brand} →"msgstr "{brand} 설치 →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "{name} 설치"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "설치 중"msgid "Installing {agentName}…"msgstr "{agentName} 설치 중…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "설치 위치"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "설치 항목:"@@ -7933,6 +7945,10 @@ msgstr "선택한 에이전트가 없습니다. 스킬은 저장되지만 어디msgid "No AI agents installed"msgstr "설치된 AI 에이전트 없음"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "AI 도구가 감지되지 않았습니다. 이 스킬을 사용하려면 하나를 설치하세요."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "이 엔드포인트에 API 키가 설정되지 않았습니다. 위에서 추가합니다."@@ -8406,6 +8422,10 @@ msgstr "켜짐, 검색어와 일치하는 페이지의 텍스트가 임베딩msgid "On <0>{address}</0>"msgstr "<0>{address}</0>에"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "요청 시"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "선택 텍스트: <0>{address}</0>"@@ -8414,6 +8434,10 @@ msgstr "선택 텍스트: <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "루트 인덱스에서 okf_version은 \"0.2\"와 같은 따옴표 문자열로 작성됩니다. 따옴표가 없으면 YAML이 숫자로 읽어 0.10이 조용히 0.1로 바뀝니다."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "트리거 시"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "나가는 링크"msgid "Outline"msgstr "개요"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "{budgetLabel} 토큰 예산 초과"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "겹치는 편집 내용"@@ -10046,6 +10074,10 @@ msgstr "다른 모든 위치에서 \"{0}\"을 제거했습니다. 소스 폴더msgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "최근 프로젝트에서 \"{projectName}\"을 제거했습니다. 폴더가 더 이상 존재하지 않습니다."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "제거 위치"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "플러그인 아래의 자체 페이지에서 설정합니다."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "이 프로젝트를 처음 여는 사용자의 동기화 기본값을 설정합니다. 이 설정은 저장소에 커밋됩니다."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "{0} 설정"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "OpenKnowledge 통합 설정"@@ -11479,6 +11516,13 @@ msgstr "스킬"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "이제 스킬을 공유합니다. 팀과 공유하려면 .ok/skills를 커밋하세요."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "스킬은 이 컴퓨터에서 감지된 모든 AI 도구에 설치되며, 위에서 선택한 MCP 연결과는 무관합니다."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "작업 목록"msgid "Task List"msgstr "할 일 목록"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "이 프로젝트의 코딩 에이전트가 OpenKnowledge를 통해 읽고 쓰도록 가르칩니다."@@ -12339,6 +12382,10 @@ msgstr "기본 스킬 폴더(저장 후 정확한 경로가 표시됨)"msgid "The desktop app isn't responding. Refresh and try again."msgstr "데스크톱 앱 응답 없음. 새로 고침 후 다시 시도하세요."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "대상이 변경되었습니다. 목록을 확인한 후 승인하세요."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "이 설정은 컴퓨터별로 적용되며 공동 작업자와 공유되msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "이 설정은 컴퓨터별로 적용되며 공동 작업자와 공유되지 않습니다. 엔드포인트가 키를 요구하지 않는 로컬 서버가 아니면 API 키(아래에서 설정)가 필요합니다."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "이 스킬은 프로젝트 폴더에 있으므로 나만이 아니라 이 프로젝트를 여는 모든 사람에게 설치됩니다."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "이 소스에는 여러 스킬이 들어 있습니다. 하나를 선택한 후 가져오기를 누르세요."@@ -13083,6 +13135,11 @@ msgstr "밑줄 서식을 전환합니다."msgid "Toggles the pattern {0}/**"msgstr "패턴 {0}/** 사용 설정 전환"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "토큰"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "너무 느림"@@ -13274,6 +13331,17 @@ msgstr "이 편집으로 되돌리시겠습니까?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "소스 편집 창 또는 코드 형태의 속성 필드에서 선택 영역 변경을 실행 취소, 다시 실행하거나 단계별로 이동합니다."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "설치 제거"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "{name} 설치 제거"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex e8feb4d99..27af5c288 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -68,6 +68,7 @@"09Tv5j": ["Ŕēćōńńēćţĩńĝ…"],"0BB9ID": ["Ńō ĥēàďĩńĝś ŷēţ."],"0BfhAj": ["Ŕēśēţ vĩēŵ"],+ "0CvV_9": ["Ĩńśţàĺĺś ţō"],"0E9DR6": ["Ţŷƥē ţō ƒĩńď à ďōć"],"0Er6-M": ["Ŕēśţàŕţĩńĝ"],"0Gd0NU": ["Śĥàŕēď"],@@ -105,9 +106,6 @@],"0eHrMb": ["Ćōũĺď ńōţ ćōḿƥĺēţē ďēĺēţē"],"0g7rCZ": ["Ďũƥĺĩćàţēď ţō \"", ["0"], "\""],- "0inVGS": [- "Ĥēĺƥś ŷōũŕ ćōďĩńĝ àĝēńţ ŕēćōĝńĩźē ŌƥēńĶńōŵĺēďĝē ƥŕōĴēćţś àńď ŕōũţē ŕēàďś àńď ŵŕĩţēś ţĥŕōũĝĥ ĩţ."- ],"0jD-Gn": ["À ţēàḿ ķńōŵĺēďĝē ƀàśē, à ƥēŕśōńàĺ ŵĩķĩ, ƥŕōĴēćţ ďōćś..."],"0kTAXe": ["Ōƥēń śōũŕćē: ", ["mirrorSrc"]],"0pZmTP": ["Ćàń'ţ śĥàŕē ţĥĩś ƥàţĥ."],@@ -851,6 +849,7 @@],"BlLxpG": ["Śēàŕćĥ śķĩĺĺś"],"BowKyI": ["Śĥōŵ ďēţàĩĺś"],+ "BuMD5w": ["Ŕēḿōvēś ƒŕōḿ"],"Bv5a9_": ["Śēĺēćţĩōń śţàţĩśţĩćś"],"BwKH4d": ["Ēxţēŕńàĺ àƥƥś"],"Bx4EXG": ["Àćţĩōńś ƒōŕ ", ["label"]],@@ -938,6 +937,7 @@"D8JJwQ": ["Ƒēēďƀàćķ ĩśń'ţ àvàĩĺàƀĺē ŕĩĝĥţ ńōŵ. Ƥĺēàśē ţŕŷ àĝàĩń ĺàţēŕ."],"D8OV7J": ["Ōńĺŷ ćōĺĺàƀōŕàţōŕś"],"DAVInK": ["Àďď ţō Ďĩćţĩōńàŕŷ"],+ "DBqxw2": ["àĺŵàŷś-ōń"],"DCSSZt": ["Ţĥē àĝēńţ ĩś ŵōŕķĩńĝ"],"DDTdLl": ["Ćōďē ƀĺōćķ śēţţĩńĝś"],"DELNQk": ["Ćōĺĺàƀōŕàţōŕś śēē ŷōũŕ ĩń-ƥŕōĝŕēśś ēďĩţś àś śōōń àś ţĥēŷ śŷńć."],@@ -1134,7 +1134,6 @@")."],"FWSjnp": ["Ēďĩţ śōũŕćē ƥàńē àńď ćōďē ƥŕōƥēŕţŷ ƒĩēĺďś"],- "FXk_zY": ["Àďďś à ĝũĩďēď ŵōŕķƒĺōŵ ƒōŕ àũţĥōŕĩńĝ ńēŵ Àĝēńţ Śķĩĺĺś."],"FZtBeR": ["Ēńàƀĺē ", ["0"]],"FeXcUS": [["display"],@@ -1410,6 +1409,9 @@],"K0N7zS": ["Ćōńƒĩĝ śĥàŕĩńĝ śţàţũś ŕēàď ƒàĩĺēď"],"K1ckLX": ["Ƒàĩĺēď ţō ćŕēàţē ƒōĺďēŕ"],+ "K1nRu2": [+ "Ţĥĩś śķĩĺĺ ĺĩvēś ĩń ţĥē ƥŕōĴēćţ ƒōĺďēŕ, śō ĩţ ĩńśţàĺĺś ƒōŕ ēvēŕŷōńē ŵĥō ōƥēńś ţĥĩś ƥŕōĴēćţ — ńōţ Ĵũśţ ŷōũ."+ ],"K2v7QF": ["Ćōũĺďń'ţ śĥàŕē śķĩĺĺś"],"K4G55s": ["Ćĥēćķĩńĝ śōũŕćē"],"K6MQQk": ["Śŷńć ĩś ƒàĩĺĩńĝ. Śēē ţĥē śŷńć śţàţũś ƒōŕ ďēţàĩĺś."],@@ -1620,6 +1622,7 @@"Md709y": ["Ĺōàďĩńĝ ", ["fileName"]],"MdpSC1": ["Ńēŵ śķĩĺĺ"],"Mh_4hd": ["Ƥŕēvĩōũś ţàƀ"],+ "MiMTvb": ["àĺŵàŷś-ōń ţōķēńś"],"Mj8R8K": ["Ćōũĺďń'ţ ĩńśţàĺĺ śķĩĺĺ: ", ["0"]],"MmDDWK": ["Ŕēćēńţĺŷ ōƥēńēď"],"Mnavhe": [["propPanelDescriptorLabel"], " Ƥŕōƥēŕţĩēś"],@@ -1668,6 +1671,7 @@"NOHyEE": ["Ŕēţŕŷ ƥũśĥ"],"NORKZU": ["Ƥàţţēŕń ŵàŕńĩńĝś: ", ["summary"]],"NQ8llq": ["Àďď ĩţēḿ"],+ "NQVepz": ["Ĩńśţàĺĺ ", ["name"]],"NQXwDy": ["Ēďĩţ ĩń ćōńƒĩĝ ƒĩĺē"],"NRSLBe": [["diffMin"], "ḿ àĝō"],"NSnIUP": ["Ţŵō-ƥàĝē (ēvēń)"],@@ -1893,6 +1897,7 @@"QWdKwH": ["Ḿōvē"],"QYTOaN": ["Ŷōũ ćàń ćĥàńĝē ţĥĩś ĺàţēŕ ĩń <0>Śēţţĩńĝś → Śŷńć</0>."],"QYfQdv": [["displayName"], " ĆĹĨ"],+ "QcScEc": ["Ũńĩńśţàĺĺ ", ["name"]],"QcpeeE": ["Ńàvĩĝàţē ţō ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -1905,6 +1910,7 @@"QlAG4m": ["Ţēĺĺ ũś ḿōŕē (ōƥţĩōńàĺ)"],"QlkiD5": ["Ŕē-ƥĺàćē ōń śēĺēćţēď ţēxţ"],"QlxHAH": ["Śĥōŵĩńĝ ŕēśũĺţś ƒōŕ \"", ["semanticResultsLabel"], "\""],+ "QnnKlV": ["ōń ďēḿàńď"],"QohqVL": ["Ţĥĩś àĝēńţ ďōēśń'ţ ōƒƒēŕ śĺàśĥ ćōḿḿàńďś"],"QpSqAP": ["À ŕēàĺ śĥēĺĺ ĩś ōƒƒ ƒōŕ ţĥĩś ƥŕōĴēćţ. Ţũŕńĩńĝ ĩţ ōń ŕũńś ćōḿḿàńďś ŵĩţĥ ţĥē ƒũĺĺ àććēśś ōƒ ŷōũŕ ũśēŕ àććōũńţ."@@ -2278,6 +2284,7 @@" śēĺēćţēď ĩţēḿś? Ƒōĺďēŕś àńď àĺĺ ƒĩĺēś ĩńśĩďē ţĥēḿ ŵĩĺĺ ƀē ďēĺēţēď. Ţĥĩś àćţĩōń ćàńńōţ ƀē ũńďōńē."],"WMsoIm": ["Àĺŕēàďŷ śĩĝńēď ĩń?"],+ "WOr-hW": ["ţōķēńś"],"WPwDin": ["Ōƥēń ƒōĺďēŕ ōń ďĩśķ"],"WR0y2O": ["Śĥàŕē ƒōĺďēŕ"],"WRNXKp": ["Śēàŕćĥĩńĝ"],@@ -2399,6 +2406,7 @@"XuQzrk": ["Ćōũĺďń'ţ ŕēśţàŕţ ţĥē śēŕvēŕ — àńōţĥēŕ ƥŕōćēśś ōŵńś ĩţ. Ǫũĩţ ōţĥēŕ ŌƥēńĶńōŵĺēďĝē ŵĩńďōŵś ƒōŕ ţĥĩś ƥŕōĴēćţ, ţĥēń ţŕŷ àĝàĩń."],+ "XuVQrE": ["Śēţ ũƥ ", ["0"]],"Xv_ijG": ["ĥţţƥś://ĝĩţĥũƀ.ćōḿ/ōŵńēŕ/ŕēƥō ōŕ ōŵńēŕ/ŕēƥō"],"Xwump4": ["ńō ĝĩţ ŕēƥōśĩţōŕŷ ĥēŕē"],"XyOUTJ": ["Ēxĩţ ḿēŕĝē"],@@ -2662,6 +2670,7 @@"aalx4E": ["Ēďĩţĩńĝ ƀŕōķēń ḾĎX śōũŕćē: ", ["reason"]],"aatPoi": ["Ĝēńēŕàţēď ƒĩĺēś"],"abiHje": ["Ďēĺēţē śēĺēćţēď ĩţēḿś"],+ "ac8G0O": ["ōń ţŕĩĝĝēŕ"],"adsMWO": ["Ŕēśōĺvĩńĝ ďēĺţàś"],"ah_ekO": ["\"", ["name"], "\" ĩś àĺŕēàďŷ ũƥ ţō ďàţē"],"aiArms": ["Ŵē ćōũĺďń'ţ ćĺōńē ţĥĩś ŕēƥōśĩţōŕŷ."],@@ -2994,6 +3003,7 @@"fiMNLl": ["Śŷńć śēţţĩńĝś ńōţ ŷēţ ĺōàďēď — ţŕŷ àĝàĩń ĩń à ḿōḿēńţ"],"fj5YiP": ["Ďōŵńĺōàďś à ƒŕēśĥ ćōƥŷ ƒŕōḿ ĜĩţĤũƀ."],"fnlBN4": ["Àũţō-àƥƥŕōvē śēţţĩńĝś ńōţ ŷēţ ĺōàďēď — ţŕŷ àĝàĩń ĩń à ḿōḿēńţ"],+ "fo0VXg": ["Ũńĩńśţàĺĺ"],"fo6CCk": ["ƥàńē ", ["0"]],"fqSfXY": ["Ŕēƥĺàćē"],"ft-BOm": ["Ŕēƥōŕţ à ƀũĝ…"],@@ -3316,6 +3326,7 @@"jerqF0": ["Ĺōàďĩńĝ ƀŕàńćĥ śţàţē"],"jhtG3I": [" Ŷōũŕ śēĺēćţĩōń ĥàś ƀēēń ŕēśţōŕēď."],"jjtmV_": ["Ƒĩŕśţ ƒĩĺē ńàḿē"],+ "jkt28V": ["Ćōńţēxţ ćōśţ"],"jnCROW": ["À ḿēḿōŕŷ śńàƥśĥōţ ƒŕōḿ ţĥē ćŕàśĥ, àńď ţĥē àŕţĩƒàćţ ţĥàţ ĥēĺƥś ũś ḿōśţ. Ĩţ ćàń ćōńţàĩń ďōćũḿēńţ ćōńţēńţ àńď ćàń'ţ ƀē ŕēďàćţēď, śō ũńćĥēćķ ĩţ ĩƒ ŷōũ'ď ŕàţĥēŕ ńōţ śĥàŕē ĩţ."],@@ -3650,6 +3661,7 @@],"ndwmea": ["ũńàvàĩĺàƀĺē ōń ţĥĩś ƥĺàţƒōŕḿ"],"neRy3o": ["Śƥĺĩţ ĺĩśţ ĩţēḿ"],+ "nem6R7": ["ōvēŕ ţĥē ", ["budgetLabel"], " ţōķēń ƀũďĝēţ"],"nf0wk0": ["śŷḿĺĩńķēď vĩà ƥàŕēńţ"],"nfPccR": [[@@ -4213,6 +4225,9 @@"vGQxBT": ["Ũƥďàţēś ƒŕōḿ ţĥē śōũŕćē àƥƥĺŷ àũţōḿàţĩćàĺĺŷ (ũńĺēśś ēďĩţēď ĺōćàĺĺŷ)"],"vGeNNQ": ["Ćōƥŷ à ƥŕōḿƥţ àńď ƥàśţē ĩţ ĩńţō ŷōũŕ àĝēńţ ţō śēţ ũƥ ŷōũŕ ƥŕōĴēćţ."],"vHlhDc": ["Ďōũƀĺē-ćĺĩćķ ţō ēďĩţ"],+ "vIR6Hp": [+ "Śķĩĺĺś ĩńśţàĺĺ ţō ēvēŕŷ ÀĨ ţōōĺ ďēţēćţēď ōń ţĥĩś ḿàćĥĩńē, ĩńďēƥēńďēńţ ōƒ ţĥē ḾĆƤ ćōńńēćţĩōńś ŷōũ ćĥōśē àƀōvē."+ ],"vIxrEk": ["Ƒĩţ ŵĩďţĥ"],"vLyv1R": ["Ĥĩďē"],"vO2v-0": ["Ĥĩďē Ōţĥēŕś"],@@ -4426,6 +4441,7 @@"À ƥàŕēńţ ďĩŕēćţōŕŷ ĩś ţĥē śŷḿĺĩńķ — ũńĺĩńķ ţĥàţ ƒōĺďēŕ ĩţśēĺƒ ţō ţàķē ţĥĩś ōńē ƀàćķ."],"yMgL_E": ["Ƒĩńď ƒĩēĺď ńàvĩĝàţĩōń"],+ "yOjRUV": ["Ńō ÀĨ ţōōĺś ďēţēćţēď. Ĩńśţàĺĺ ōńē ţō ũśē ţĥĩś śķĩĺĺ."],"yQE2r9": ["Ĺōàďĩńĝ"],"yQyglE": ["Ńō ḿàţćĥĩńĝ ďōćś"],"yR5LHI": ["Ēńţēŕ à 6-ďĩĝĩţ ĥēx ĺĩķē #1À2ß3Ć"],@@ -4516,6 +4532,7 @@"zbymaY": [["0"], "ḿ àĝō"],"zcmYx4": ["ĝĩţ ćōńƒĩĝũŕàţĩōń ĩś ũńàvàĩĺàƀĺē"],"zd00pH": ["Ćōƥŷ Ƥàţĥ"],+ "zewp9w": ["Ţĥē ďēśţĩńàţĩōńś ćĥàńĝēď. Ŕēvĩēŵ ţĥē ĺĩśţ, ţĥēń ćōńƒĩŕḿ."],"zgSFyG": ["Ēxţēŕńàĺ ĺĩńķ"],"zkz0Fg": ["Śēţ ũƥ śŷńćĩńĝ"],"zlErBl": ["Ƥàĝē ĥēàďĩńĝś ēŕŕōŕ ŕēśƥōńśē ďĩď ńōţ ḿàţćĥ ŔƑĆ 9457"],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex fabcccbc2..9c96702ec 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -1389,13 +1389,6 @@ msgstr ""msgid "Added"msgstr ""-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr ""-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr ""@@ -1579,6 +1572,15 @@ msgstr ""msgid "Always included"msgstr ""+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr ""++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr ""+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2185,6 +2187,7 @@ msgstr ""#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3019,6 +3022,11 @@ msgstr ""msgid "Content rules not yet loaded — try again in a moment"msgstr ""+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr ""+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr ""@@ -5653,8 +5661,6 @@ msgstr ""msgid "Folder target: {linkTitle}. Click to open the overview."msgstr ""-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr ""@@ -6022,13 +6028,6 @@ msgstr ""msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr ""-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr ""-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr ""@@ -6554,8 +6553,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr ""#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6570,6 +6572,11 @@ msgstr ""msgid "Install {brand} →"msgstr ""+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr ""+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6700,6 +6707,11 @@ msgstr ""msgid "Installing {agentName}…"msgstr ""+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr ""+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr ""@@ -7929,6 +7941,10 @@ msgstr ""msgid "No AI agents installed"msgstr ""+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr ""+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr ""@@ -8402,6 +8418,10 @@ msgstr ""msgid "On <0>{address}</0>"msgstr ""+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr ""+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr ""@@ -8410,6 +8430,10 @@ msgstr ""msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr ""+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr ""+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9092,6 +9116,10 @@ msgstr ""msgid "Outline"msgstr ""+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr ""+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr ""@@ -10042,6 +10070,10 @@ msgstr ""msgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr ""+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr ""+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11068,6 +11100,11 @@ msgstr ""msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr ""+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr ""+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr ""@@ -11475,6 +11512,13 @@ msgstr ""msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr ""+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr ""+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12113,7 +12157,6 @@ msgstr ""msgid "Task List"msgstr ""-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr ""@@ -12335,6 +12378,10 @@ msgstr ""msgid "The desktop app isn't responding. Refresh and try again."msgstr ""+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr ""+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12914,6 +12961,11 @@ msgstr ""msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr ""+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr ""+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr ""@@ -13079,6 +13131,11 @@ msgstr ""msgid "Toggles the pattern {0}/**"msgstr ""+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr ""+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr ""@@ -13270,6 +13327,17 @@ msgstr ""msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr ""+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr ""++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr ""+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex 41e69a921..f1153951b 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -82,6 +82,7 @@"09Tv5j": ["Reconectando…"],"0BB9ID": ["Ainda não há títulos."],"0BfhAj": ["Redefinir a visualização"],+ "0CvV_9": ["Instala em"],"0E9DR6": ["Digite para encontrar um documento"],"0Er6-M": ["Reiniciando"],"0Gd0NU": ["Compartilhado"],@@ -119,9 +120,6 @@],"0eHrMb": ["Não foi possível concluir a exclusão"],"0g7rCZ": ["Duplicado em \"", ["0"], "\""],- "0inVGS": [- "Ajuda seu agente de programação a reconhecer projetos do OpenKnowledge e a rotear leituras e escritas por ele."- ],"0jD-Gn": ["Uma base de conhecimento de equipe, uma wiki pessoal, documentação de projeto..."],"0kTAXe": ["Abrir a fonte: ", ["mirrorSrc"]],"0pZmTP": ["Não é possível compartilhar este caminho."],@@ -984,6 +982,7 @@],"BlLxpG": ["Buscar habilidades"],"BowKyI": ["Mostrar detalhes"],+ "BuMD5w": ["Remove de"],"Bv5a9_": ["Estatísticas da seleção"],"BwKH4d": ["Aplicativos externos"],"Bx4EXG": ["Ações de ", ["label"]],@@ -1081,6 +1080,7 @@"D8JJwQ": ["Não dá para enviar comentários agora. Tente mais tarde."],"D8OV7J": ["Somente colaboradores"],"DAVInK": ["Adicionar ao dicionário"],+ "DBqxw2": ["sempre ativo"],"DCSSZt": ["O agente está trabalhando"],"DDTdLl": ["Configurações do bloco de código"],"DELNQk": ["Os colaboradores veem suas edições em andamento assim que elas sincronizam."],@@ -1295,7 +1295,6 @@")."],"FWSjnp": ["Painel de edição de código e campos de propriedade do tipo código"],- "FXk_zY": ["Adiciona um fluxo guiado para criar novas Habilidades de agente."],"FZtBeR": ["Ativar ", ["0"]],"FeXcUS": [["display"],@@ -1631,6 +1630,9 @@],"K0N7zS": ["Falha ao ler o estado do compartilhamento de configuração"],"K1ckLX": ["Falha ao criar a pasta"],+ "K1nRu2": [+ "Esta habilidade fica na pasta do projeto, então ela é instalada para todos que abrirem este projeto, não apenas para você."+ ],"K2v7QF": ["Não deu para compartilhar as habilidades"],"K4G55s": ["Verificando a fonte"],"K6MQQk": ["A sincronização está falhando. Veja o status de sincronização para os detalhes."],@@ -1862,6 +1864,7 @@"Md709y": ["Carregando ", ["fileName"]],"MdpSC1": ["Nova habilidade"],"Mh_4hd": ["Aba anterior"],+ "MiMTvb": ["tokens sempre ativos"],"Mj8R8K": ["Não deu para instalar a habilidade: ", ["0"]],"MmDDWK": ["Abertos recentemente"],"Mnavhe": ["Propriedades de ", ["propPanelDescriptorLabel"]],@@ -1912,6 +1915,7 @@"NOHyEE": ["Tentar o push de novo"],"NORKZU": ["Avisos do padrão: ", ["summary"]],"NQ8llq": ["Adicionar item"],+ "NQVepz": ["Instalar ", ["name"]],"NQXwDy": ["Editar no arquivo de configuração"],"NRSLBe": ["há ", ["diffMin"], " min"],"NSnIUP": ["Duas páginas (pares)"],@@ -2151,6 +2155,7 @@"QWdKwH": ["Mover"],"QYTOaN": ["Você pode mudar isto depois em <0>Configurações → Sincronização</0>."],"QYfQdv": ["CLI do ", ["displayName"]],+ "QcScEc": ["Desinstalar ", ["name"]],"QcpeeE": ["Ir para ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -2167,6 +2172,7 @@"QlAG4m": ["Conte mais (opcional)"],"QlkiD5": ["Reposicionar no texto selecionado"],"QlxHAH": ["Mostrando resultados de \"", ["semanticResultsLabel"], "\""],+ "QnnKlV": ["sob demanda"],"QohqVL": ["Este agente não oferece comandos de barra"],"QpSqAP": ["O shell real está desativado para este projeto. Ativá-lo faz os comandos rodarem com todo o acesso da sua conta de usuário."@@ -2605,6 +2611,7 @@" itens selecionados? As pastas e todos os arquivos dentro delas serão excluídos. Esta ação não pode ser desfeita."],"WMsoIm": ["Já fez login?"],+ "WOr-hW": ["tokens"],"WPwDin": ["Abrir a pasta no disco"],"WR0y2O": ["Compartilhar a pasta"],"WRNXKp": ["Buscando"],@@ -2737,6 +2744,7 @@"XuQzrk": ["Não deu para reiniciar o servidor — outro processo está com ele. Feche as outras janelas do OpenKnowledge deste projeto e tente de novo."],+ "XuVQrE": ["Configurar ", ["0"]],"Xv_ijG": ["https://github.com/dono/repo ou dono/repo"],"Xwump4": ["não há repositório git aqui"],"XyOUTJ": ["Sair da mesclagem"],@@ -3021,6 +3029,7 @@"aalx4E": ["Editando código MDX quebrado: ", ["reason"]],"aatPoi": ["Arquivos gerados"],"abiHje": ["Excluir os itens selecionados"],+ "ac8G0O": ["ao acionar"],"adsMWO": ["Resolvendo deltas"],"ah_ekO": ["\"", ["name"], "\" já está atualizado"],"aiArms": ["Não foi possível clonar este repositório."],@@ -3426,6 +3435,7 @@"fnlBN4": ["As configurações de aprovação automática ainda não carregaram — tente de novo em instantes"],+ "fo0VXg": ["Desinstalar"],"fo6CCk": ["painel ", ["0"]],"fqSfXY": ["Substituir"],"ft-BOm": ["Relatar um erro…"],@@ -3777,6 +3787,7 @@"jerqF0": ["Carregando o estado dos ramos"],"jhtG3I": [" Sua seleção foi restaurada."],"jjtmV_": ["Nome do primeiro arquivo"],+ "jkt28V": ["Custo de contexto"],"jnCROW": ["Um instantâneo de memória da falha, e o artefato que mais nos ajuda. Ele pode conter conteúdo de documentos e não pode ser ocultado, então desmarque se preferir não compartilhá-lo."],@@ -4145,6 +4156,7 @@],"ndwmea": ["indisponível nesta plataforma"],"neRy3o": ["Dividir o item de lista"],+ "nem6R7": ["acima do orçamento de tokens de ", ["budgetLabel"]],"nf0wk0": ["vinculado por uma pasta acima"],"nfPccR": [[@@ -4766,6 +4778,9 @@],"vGeNNQ": ["Copie um prompt e cole no seu agente para configurar seu projeto."],"vHlhDc": ["Clique duas vezes para editar"],+ "vIR6Hp": [+ "As habilidades são instaladas em todas as ferramentas de IA detectadas nesta máquina, independentemente das conexões MCP que você escolheu acima."+ ],"vIxrEk": ["Ajustar à largura"],"vLyv1R": ["Ocultar"],"vO2v-0": ["Ocultar os outros"],@@ -4989,6 +5004,7 @@"O link simbólico é um diretório acima — desvincule aquela pasta para retomar esta."],"yMgL_E": ["Navegação do campo de busca"],+ "yOjRUV": ["Nenhuma ferramenta de IA detectada. Instale uma para usar esta habilidade."],"yQE2r9": ["Carregando"],"yQyglE": ["Nenhum documento corresponde"],"yR5LHI": ["Digite um valor hexadecimal de 6 dígitos, como #1A2B3C"],@@ -5096,6 +5112,7 @@"zbymaY": ["há ", ["0"], " min"],"zcmYx4": ["a configuração do git não está disponível"],"zd00pH": ["Copiar caminho"],+ "zewp9w": ["Os destinos mudaram. Revise a lista e confirme."],"zgSFyG": ["Link externo"],"zkz0Fg": ["Configurar a sincronização"],"zlErBl": ["A resposta de erro dos títulos da página não seguiu a RFC 9457"],diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex f38346e34..05600d25a 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -1389,13 +1389,6 @@ msgstr "Adicione seus comentários a esta mensagem"msgid "Added"msgstr "Adicionado"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "Adiciona um fluxo guiado para criar novas Habilidades de agente."-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "Adiciona um bloco gerenciado a"@@ -1579,6 +1572,15 @@ msgstr "Já fez login?"msgid "Always included"msgstr "Sempre incluído"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "sempre ativo"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "tokens sempre ativos"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2185,6 +2187,7 @@ msgstr "Não é possível compartilhar este caminho."#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3019,6 +3022,11 @@ msgstr "Regras de conteúdo"msgid "Content rules not yet loaded — try again in a moment"msgstr "As regras de conteúdo ainda não carregaram — tente de novo em instantes"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "Custo de contexto"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "Janela de contexto:"@@ -5653,8 +5661,6 @@ msgstr "Link de compartilhamento da pasta copiado."msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "Pasta de destino: {linkTitle}. Clique para abrir a visão geral."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "Pastas"@@ -6022,13 +6028,6 @@ msgstr "Ajuda"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "Ajuda os agentes de codificação a escolher tipos de documentos OKF, preservar a proveniência e evitar a invenção de metadados não suportados."-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "Ajuda seu agente de programação a reconhecer projetos do OpenKnowledge e a rotear leituras e escritas por ele."-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "MÁX"@@ -6554,8 +6553,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Insere, exclui, move, copia e recua linhas do editor de código pelo mapa de teclas padrão do CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6570,6 +6572,11 @@ msgstr "Instalar {0}"msgid "Install {brand} →"msgstr "Instalar {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "Instalar {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6700,6 +6707,11 @@ msgstr "Instalando"msgid "Installing {agentName}…"msgstr "Instalando {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "Instala em"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "instalações:"@@ -7929,6 +7941,10 @@ msgstr "Nenhum agente selecionado — as habilidades ficam salvas, mas não sãomsgid "No AI agents installed"msgstr "Nenhum agente de IA instalado"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "Nenhuma ferramenta de IA detectada. Instale uma para usar esta habilidade."+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "Nenhuma chave de API definida para este endpoint. Adicione uma acima."@@ -8402,6 +8418,10 @@ msgstr "Ligada — suas consultas de busca e o texto das páginas correspondentemsgid "On <0>{address}</0>"msgstr "Em <0>{address}</0>"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "sob demanda"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "Sobre o texto selecionado em <0>{address}</0>"@@ -8410,6 +8430,10 @@ msgstr "Sobre o texto selecionado em <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "No índice raiz, okf_version é escrito como uma string entre aspas, como \"0.2\". Sem aspas, YAML lê-o como um número e 0.10 silenciosamente se torna 0.1."+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "ao acionar"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9092,6 +9116,10 @@ msgstr "Saída"msgid "Outline"msgstr "Estrutura"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "acima do orçamento de tokens de {budgetLabel}"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "Edições sobrepostas"@@ -10042,6 +10070,10 @@ msgstr "\"{0}\" foi removido de todos os outros locais — a pasta de origem delmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "\"{projectName}\" foi removido dos projetos recentes. A pasta dele não existe mais."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "Remove de"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11068,6 +11100,11 @@ msgstr "Configure na página própria dele, em Plugins."msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "Defina a sincronização padrão para quem abrir este projeto pela primeira vez. Esta configuração fica salva no seu repositório."+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "Configurar {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "Configurar as integrações do OpenKnowledge"@@ -11475,6 +11512,13 @@ msgstr "Habilidades"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "As habilidades agora são compartilhadas. Faça commit de .ok/skills para compartilhá-las com sua equipe."+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "As habilidades são instaladas em todas as ferramentas de IA detectadas nesta máquina, independentemente das conexões MCP que você escolheu acima."+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12113,7 +12157,6 @@ msgstr "Lista de tarefas"msgid "Task List"msgstr "Lista de tarefas"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "Ensina os agentes de programação deste projeto a ler e escrever pelo OpenKnowledge."@@ -12335,6 +12378,10 @@ msgstr "a pasta de habilidades padrão (o caminho exato aparece depois de salvarmsgid "The desktop app isn't responding. Refresh and try again."msgstr "O app de desktop não está respondendo. Atualize e tente de novo."+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "Os destinos mudaram. Revise a lista e confirme."+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12914,6 +12961,11 @@ msgstr "Esta configuração é de cada computador e não é compartilhada com osmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Esta configuração é de cada computador e não é compartilhada com os colaboradores. Ela precisa de uma chave de API (defina abaixo), a menos que seu endpoint seja um servidor local que não exija uma."+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "Esta habilidade fica na pasta do projeto, então ela é instalada para todos que abrirem este projeto, não apenas para você."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Esta fonte traz várias habilidades — escolha uma e depois Importar."@@ -13079,6 +13131,11 @@ msgstr "Liga ou desliga o sublinhado."msgid "Toggles the pattern {0}/**"msgstr "Alterna o padrão {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "tokens"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "Lento demais"@@ -13270,6 +13327,17 @@ msgstr "Desfazer até esta edição?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "Desfaz, refaz ou percorre as mudanças de seleção no painel Editar código ou em um campo de propriedade em formato de código."+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "Desinstalar"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "Desinstalar {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex 320ffe646..07cda209c 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -66,6 +66,7 @@"09Tv5j": ["دوبارہ منسلک ہو رہا ہے…"],"0BB9ID": ["ابھی کوئی عنوان نہیں۔"],"0BfhAj": ["منظر دوبارہ ترتیب دیں"],+ "0CvV_9": ["یہاں نصب ہوگا"],"0E9DR6": ["دستاویز ڈھونڈنے کے لیے لکھیں"],"0Er6-M": ["دوبارہ چلایا جا رہا ہے"],"0Gd0NU": ["مشترک"],@@ -103,9 +104,6 @@],"0eHrMb": ["حذف مکمل نہیں ہو سکا"],"0g7rCZ": ["«", ["0"], "» پر نقل بن گئی"],- "0inVGS": [- "آپ کے کوڈنگ ایجنٹ کو OpenKnowledge پروجیکٹس پہچاننے اور پڑھنے لکھنے کو اس کے ذریعے چلانے میں مدد دیتا ہے۔"- ],"0jD-Gn": ["ٹیم کا نالج بیس، ذاتی وکی، پروجیکٹ کی دستاویزات..."],"0kTAXe": ["ماخذ کھولیں: ", ["mirrorSrc"]],"0pZmTP": ["یہ راستہ شیئر نہیں کیا جا سکتا۔"],@@ -851,6 +849,7 @@],"BlLxpG": ["مہارتیں تلاش کریں"],"BowKyI": ["تفصیلات دکھائیں"],+ "BuMD5w": ["یہاں سے ہٹے گا"],"Bv5a9_": ["انتخاب کے اعداد و شمار"],"BwKH4d": ["بیرونی ایپس"],"Bx4EXG": [["label"], " کے لیے اعمال"],@@ -940,6 +939,7 @@"D8JJwQ": ["رائے ابھی دستیاب نہیں۔ براہِ کرم بعد میں دوبارہ کوشش کریں۔"],"D8OV7J": ["صرف ساتھی"],"DAVInK": ["لغت میں شامل کریں"],+ "DBqxw2": ["ہمیشہ فعال"],"DCSSZt": ["ایجنٹ کام کر رہا ہے"],"DDTdLl": ["کوڈ بلاک کی ترتیبات"],"DELNQk": ["ساتھی آپ کی جاری ترامیم مطابقت پذیری ہوتے ہی دیکھ لیتے ہیں۔"],@@ -1144,7 +1144,6 @@")۔"],"FWSjnp": ["سورس پین اور کوڈ خصوصیت کے فیلڈز میں ترمیم"],- "FXk_zY": ["نئی ایجنٹ مہارتیں لکھنے کے لیے رہنمائی والا ورک فلو شامل کرتا ہے۔"],"FZtBeR": [["0"], " فعال کریں"],"FeXcUS": [["display"],@@ -1438,6 +1437,9 @@],"K0N7zS": ["کنفیگ اشتراک کی حالت پڑھی نہیں جا سکی"],"K1ckLX": ["فولڈر نہیں بن سکا"],+ "K1nRu2": [+ "یہ مہارت پروجیکٹ فولڈر میں رہتی ہے، اس لیے یہ ہر اس شخص کے لیے نصب ہوتی ہے جو یہ پروجیکٹ کھولے، صرف آپ کے لیے نہیں۔"+ ],"K2v7QF": ["مہارتیں شیئر نہیں ہو سکیں"],"K4G55s": ["ماخذ جانچا جا رہا ہے"],"K6MQQk": ["مطابقت پذیری ناکام ہو رہی ہے۔ تفصیلات کے لیے مطابقت پذیری کی حالت دیکھیں۔"],@@ -1655,6 +1657,7 @@"Md709y": [["fileName"], " لوڈ ہو رہی ہے"],"MdpSC1": ["نئی مہارت"],"Mh_4hd": ["پچھلا ٹیب"],+ "MiMTvb": ["ہمیشہ فعال ٹوکنز"],"Mj8R8K": ["مہارت نصب نہیں ہو سکی: ", ["0"]],"MmDDWK": ["حال ہی میں کھولے گئے"],"Mnavhe": [["propPanelDescriptorLabel"], " کی خصوصیات"],@@ -1704,6 +1707,7 @@"NOHyEE": ["پُش دوبارہ آزمائیں"],"NORKZU": ["پیٹرن کے انتباہات: ", ["summary"]],"NQ8llq": ["آئٹم شامل کریں"],+ "NQVepz": [["name"], " نصب کریں"],"NQXwDy": ["کنفیگ فائل میں ترمیم کریں"],"NRSLBe": [["diffMin"], " منٹ پہلے"],"NSnIUP": ["دو صفحے (جفت)"],@@ -1934,6 +1938,7 @@"QWdKwH": ["منتقل کریں"],"QYTOaN": ["آپ اسے بعد میں <0>ترتیبات ← مطابقت پذیری</0> میں بدل سکتے ہیں۔"],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": [["name"], " ان انسٹال کریں"],"QcpeeE": [["docName"], " پر جائیں"],"Qe47G0": [["componentLabel"],@@ -1947,6 +1952,7 @@"QlAG4m": ["ہمیں مزید بتائیں (اختیاری)"],"QlkiD5": ["منتخب متن پر دوبارہ رکھیں"],"QlxHAH": ["«", ["semanticResultsLabel"], "» کے نتائج دکھائے جا رہے ہیں"],+ "QnnKlV": ["طلب پر"],"QohqVL": ["یہ ایجنٹ سلیش کمانڈ پیش نہیں کرتا"],"QpSqAP": ["اس پروجیکٹ کے لیے اصل شیل بند ہے۔ اسے آن کرنے پر کمانڈز آپ کے صارف اکاؤنٹ کی مکمل رسائی کے ساتھ چلتی ہیں۔"@@ -2340,6 +2346,7 @@" منتخب آئٹمز حذف کرنا چاہتے ہیں؟ فولڈرز اور ان کے اندر کی تمام فائلیں حذف ہو جائیں گی۔ یہ عمل واپس نہیں لیا جا سکتا۔"],"WMsoIm": ["پہلے سے سائن اِن ہیں؟"],+ "WOr-hW": ["ٹوکنز"],"WPwDin": ["ڈسک پر فولڈر کھولیں"],"WR0y2O": ["فولڈر شیئر کریں"],"WRNXKp": ["تلاش جاری ہے"],@@ -2461,6 +2468,7 @@"XuQzrk": ["سرور دوبارہ نہیں چل سکا — کوئی اور عمل اس کا مالک ہے۔ اس پروجیکٹ کے لیے OpenKnowledge کی دیگر ونڈوز بند کریں، پھر دوبارہ کوشش کریں۔"],+ "XuVQrE": [["0"], " سیٹ اپ کریں"],"Xv_ijG": ["https://github.com/owner/repo یا owner/repo"],"Xwump4": ["یہاں کوئی git ریپازٹری نہیں"],"XyOUTJ": ["ضم کرنا ختم کریں"],@@ -2723,6 +2731,7 @@"aalx4E": ["ٹوٹے ہوئے MDX سورس میں ترمیم: ", ["reason"]],"aatPoi": ["تیار کردہ فائلیں۔"],"abiHje": ["منتخب آئٹمز حذف کریں"],+ "ac8G0O": ["ٹرگر ہونے پر"],"adsMWO": ["ڈیلٹا حل کیے جا رہے ہیں"],"ah_ekO": ["«", ["name"], "» پہلے ہی تازہ ترین ہے"],"aiArms": ["ہم یہ ریپازٹری کلون نہیں کر سکے۔"],@@ -3069,6 +3078,7 @@"fiMNLl": ["مطابقت پذیری کی ترتیبات ابھی لوڈ نہیں ہوئیں — تھوڑی دیر بعد دوبارہ کوشش کریں"],"fj5YiP": ["GitHub سے تازہ نقل ڈاؤن لوڈ کرتا ہے۔"],"fnlBN4": ["خودکار منظوری کی ترتیبات ابھی لوڈ نہیں ہوئیں — تھوڑی دیر بعد دوبارہ کوشش کریں"],+ "fo0VXg": ["ان انسٹال کریں"],"fo6CCk": ["پین ", ["0"]],"fqSfXY": ["تبدیل کریں"],"ft-BOm": ["بگ رپورٹ کریں…"],@@ -3394,6 +3404,7 @@"jerqF0": ["برانچ کی حالت لوڈ ہو رہی ہے"],"jhtG3I": [" آپ کا انتخاب بحال کر دیا گیا ہے۔"],"jjtmV_": ["پہلی فائل کا نام"],+ "jkt28V": ["کانٹیکسٹ لاگت"],"jnCROW": ["کریش کے وقت کا میموری اسنیپ شاٹ، اور وہ نمونہ جو ہماری سب سے زیادہ مدد کرتا ہے۔ اس میں دستاویز کا مواد ہو سکتا ہے اور اسے چھپایا نہیں جا سکتا، اس لیے اگر آپ اسے شیئر نہیں کرنا چاہتے تو نشان ہٹا دیں۔"],@@ -3739,6 +3750,7 @@],"ndwmea": ["اس پلیٹ فارم پر دستیاب نہیں"],"neRy3o": ["فہرست آئٹم تقسیم کریں"],+ "nem6R7": [["budgetLabel"], " ٹوکن بجٹ سے زیادہ"],"nf0wk0": ["والد کے ذریعے سِم لنک شدہ"],"nfPccR": [[@@ -4284,6 +4296,9 @@"ایک پرامپٹ نقل کریں اور اپنے پروجیکٹ کی ترتیب کے لیے اسے اپنے ایجنٹ میں چسپاں کریں۔"],"vHlhDc": ["ترمیم کے لیے ڈبل کلک کریں"],+ "vIR6Hp": [+ "مہارتیں اس مشین پر ملنے والے ہر AI ٹول میں نصب ہوتی ہیں، چاہے آپ نے اوپر کوئی بھی MCP کنکشن منتخب کیا ہو۔"+ ],"vIxrEk": ["چوڑائی کے مطابق"],"vLyv1R": ["چھپائیں"],"vO2v-0": ["دیگر چھپائیں"],@@ -4502,6 +4517,7 @@"yLq4w4": ["علیحدہ کنندہ"],"yLwx9e": ["والد ڈائریکٹری ہی سِم لنک ہے — اسے واپس لینے کے لیے اسی فولڈر کا لنک ختم کریں۔"],"yMgL_E": ["تلاش کے فیلڈ میں نیویگیشن"],+ "yOjRUV": ["کوئی AI ٹول نہیں ملا۔ اس مہارت کو استعمال کرنے کے لیے ایک نصب کریں۔"],"yQE2r9": ["لوڈ ہو رہا ہے"],"yQyglE": ["کوئی مماثل دستاویز نہیں"],"yR5LHI": ["#1A2B3C جیسی 6 ہندسوں کی ہیکس قدر درج کریں"],@@ -4594,6 +4610,7 @@"zbymaY": [["0"], " منٹ پہلے"],"zcmYx4": ["git کی کنفیگریشن دستیاب نہیں"],"zd00pH": ["راستہ نقل کریں"],+ "zewp9w": ["مقامات تبدیل ہو گئے ہیں۔ فہرست دیکھیں، پھر تصدیق کریں۔"],"zgSFyG": ["بیرونی لنک"],"zkz0Fg": ["مطابقت پذیری ترتیب دیں"],"zlErBl": ["صفحے کے عنوانات کی خرابی کا جواب RFC 9457 سے میل نہیں کھایا"],diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex 2a3f1e4bf..4cf45ff5e 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -1393,13 +1393,6 @@ msgstr "اس پیغام میں اپنے تبصرے شامل کریں"msgid "Added"msgstr "شامل کر دیا گیا"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "نئی ایجنٹ مہارتیں لکھنے کے لیے رہنمائی والا ورک فلو شامل کرتا ہے۔"-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "منظم بلاک شامل کرتا ہے اِس میں"@@ -1583,6 +1576,15 @@ msgstr "پہلے سے سائن اِن ہیں؟"msgid "Always included"msgstr "ہمیشہ شامل"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "ہمیشہ فعال"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "ہمیشہ فعال ٹوکنز"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "یہ راستہ شیئر نہیں کیا جا سکتا۔"#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "مواد کے قواعد"msgid "Content rules not yet loaded — try again in a moment"msgstr "مواد کے قواعد ابھی لوڈ نہیں ہوئے — تھوڑی دیر بعد دوبارہ کوشش کریں"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "کانٹیکسٹ لاگت"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "سیاق کی ونڈو:"@@ -5657,8 +5665,6 @@ msgstr "فولڈر شیئر لنک کاپی ہو گیا۔"msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "فولڈر کا ہدف: {linkTitle}۔ جائزہ کھولنے کے لیے کلک کریں۔"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "فولڈرز"@@ -6026,13 +6032,6 @@ msgstr "مدد"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "کوڈنگ ایجنٹوں کو OKF دستاویز کی اقسام کا انتخاب کرنے، اصل کو محفوظ رکھنے، اور غیر تعاون یافتہ میٹا ڈیٹا ایجاد کرنے سے بچنے میں مدد کرتا ہے۔"-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "آپ کے کوڈنگ ایجنٹ کو OpenKnowledge پروجیکٹس پہچاننے اور پڑھنے لکھنے کو اس کے ذریعے چلانے میں مدد دیتا ہے۔"-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "بلند ترین"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror کے طے شدہ کی میپ کے ذریعے سورس ایڈیٹر کی سطریں داخل کریں، حذف کریں، منتقل کریں، نقل کریں اور کھسکائیں۔"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "{0} نصب کریں"msgid "Install {brand} →"msgstr "{brand} نصب کریں ←"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "{name} نصب کریں"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "نصب کیا جا رہا ہے"msgid "Installing {agentName}…"msgstr "{agentName} نصب کیا جا رہا ہے…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "یہاں نصب ہوگا"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "تنصیبات:"@@ -7933,6 +7945,10 @@ msgstr "کوئی ایجنٹ منتخب نہیں — مہارتیں محفوظ ہmsgid "No AI agents installed"msgstr "کوئی AI ایجنٹ نصب نہیں"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "کوئی AI ٹول نہیں ملا۔ اس مہارت کو استعمال کرنے کے لیے ایک نصب کریں۔"+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "اس اینڈ پوائنٹ کے لیے کوئی API کلید مقرر نہیں۔ اوپر ایک شامل کریں۔"@@ -8406,6 +8422,10 @@ msgstr "فعال — آپ کے تلاش استفسارات اور مماثل صmsgid "On <0>{address}</0>"msgstr "<0>{address}</0> پر"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "طلب پر"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "<0>{address}</0> میں منتخب متن پر"@@ -8414,6 +8434,10 @@ msgstr "<0>{address}</0> میں منتخب متن پر"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "روٹ انڈیکس پر، okf_version کو \"0.2\" کی طرح کوٹڈ سٹرنگ کے طور پر لکھا جاتا ہے۔ بغیر حوالہ، YAML اسے ایک نمبر کے طور پر پڑھتا ہے اور 0.10 خاموشی سے 0.1 بن جاتا ہے۔"+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "ٹرگر ہونے پر"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "جانے والے"msgid "Outline"msgstr "خاکہ"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "{budgetLabel} ٹوکن بجٹ سے زیادہ"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "ٹکراتی ترامیم"@@ -10046,6 +10074,10 @@ msgstr "«{0}» کو ہر دوسرے مقام سے ہٹا دیا گیا — اسmsgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "«{projectName}» کو حالیہ پروجیکٹس سے ہٹا دیا گیا۔ اس کا فولڈر اب موجود نہیں۔"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "یہاں سے ہٹے گا"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "اسے پلگ اِنز کے تحت اس کے اپنے صفحے پر ترmsgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "ان صارفین کے لیے طے شدہ مطابقت پذیری مقرر کریں جو یہ پروجیکٹ پہلی بار کھولتے ہیں۔ یہ ترتیب آپ کی ریپازٹری میں کمٹ ہوتی ہے۔"+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "{0} سیٹ اپ کریں"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "OpenKnowledge کے انضمامات ترتیب دیں"@@ -11479,6 +11516,13 @@ msgstr "مہارتیں"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "مہارتیں اب مشترک ہیں۔ انہیں اپنی ٹیم کے ساتھ شیئر کرنے کے لیے .ok/skills کمٹ کریں۔"+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "مہارتیں اس مشین پر ملنے والے ہر AI ٹول میں نصب ہوتی ہیں، چاہے آپ نے اوپر کوئی بھی MCP کنکشن منتخب کیا ہو۔"+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "کاموں کی فہرست"msgid "Task List"msgstr "کاموں کی فہرست"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "اس پروجیکٹ کے کوڈنگ ایجنٹس کو OpenKnowledge کے ذریعے پڑھنا اور لکھنا سکھاتا ہے۔"@@ -12339,6 +12382,10 @@ msgstr "طے شدہ مہارت فولڈر (محفوظ ہونے کے بعد صحmsgid "The desktop app isn't responding. Refresh and try again."msgstr "ڈیسک ٹاپ ایپ جواب نہیں دے رہی۔ تازہ کریں اور دوبارہ کوشش کریں۔"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "مقامات تبدیل ہو گئے ہیں۔ فہرست دیکھیں، پھر تصدیق کریں۔"+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "یہ ترتیب ہر مشین کے لیے الگ ہے اور ساتھیmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "یہ ترتیب ہر مشین کے لیے الگ ہے اور ساتھیوں کے ساتھ مشترک نہیں ہوتی۔ اسے ایک API کلید درکار ہے (نیچے مقرر کریں) الّا یہ کہ آپ کا اینڈ پوائنٹ کوئی مقامی سرور ہو جسے اس کی ضرورت نہ ہو۔"+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "یہ مہارت پروجیکٹ فولڈر میں رہتی ہے، اس لیے یہ ہر اس شخص کے لیے نصب ہوتی ہے جو یہ پروجیکٹ کھولے، صرف آپ کے لیے نہیں۔"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "یہ ماخذ کئی مہارتیں سمیٹے ہوئے ہے — ایک منتخب کریں، پھر درآمد کریں۔"@@ -13083,6 +13135,11 @@ msgstr "خطِ تحت کی فارمیٹنگ بدلیں۔"msgid "Toggles the pattern {0}/**"msgstr "پیٹرن {0}/** ٹوگل کریں"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "ٹوکنز"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "بہت سست"@@ -13274,6 +13331,17 @@ msgstr "اس ترمیم تک واپس جائیں؟"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "«سورس میں ترمیم» کے پین یا کوڈ نما خصوصیت کے فیلڈ میں انتخاب کی تبدیلیاں واپس لیں، دوبارہ کریں، یا ان میں گھومیں۔"+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "ان انسٹال کریں"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "{name} ان انسٹال کریں"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex b83cc5cda..15b063aed 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -60,6 +60,7 @@"09Tv5j": ["正在重新连接…"],"0BB9ID": ["还没有标题。"],"0BfhAj": ["重置视图"],+ "0CvV_9": ["安装到"],"0E9DR6": ["输入以查找文档"],"0Er6-M": ["正在重启"],"0Gd0NU": ["已共享"],@@ -98,7 +99,6 @@],"0eHrMb": ["无法完成删除"],"0g7rCZ": ["已创建副本 \"", ["0"], "\""],- "0inVGS": ["帮助你的编程智能体识别 OpenKnowledge 项目,并把读写都经由它进行。"],"0jD-Gn": ["团队知识库、个人维基、项目文档……"],"0kTAXe": ["来源:", ["mirrorSrc"]],"0pZmTP": ["无法共享此路径。"],@@ -744,6 +744,7 @@"BkGtRl": ["在「编辑源码」面板或代码类属性字段中撤销、重做,或逐步回溯选区变化。"],"BlLxpG": ["搜索技能"],"BowKyI": ["显示详情"],+ "BuMD5w": ["从以下位置移除"],"Bv5a9_": ["选区统计"],"BwKH4d": ["外部应用"],"Bx4EXG": [["label"], " 的操作"],@@ -827,6 +828,7 @@"D8JJwQ": ["反馈功能暂时不可用。请稍后再试。"],"D8OV7J": ["仅协作者"],"DAVInK": ["添加到词典"],+ "DBqxw2": ["常驻"],"DCSSZt": ["智能体正在工作"],"DDTdLl": ["代码块设置"],"DELNQk": ["协作者一同步就能看到你正在进行的编辑。"],@@ -1001,7 +1003,6 @@"FUMerq": ["无法启用同步:", ["detail"]],"FWQuPE": ["这个项目运行的 OpenKnowledge 版本与这个应用(v", ["0"], ")不同且不兼容。"],"FWSjnp": ["编辑源码面板和代码类属性字段"],- "FXk_zY": ["新增一套用于编写新的智能体技能的引导流程。"],"FZtBeR": ["启用 ", ["0"]],"FeXcUS": [["display"],@@ -1241,6 +1242,7 @@"K0FgsP": [".ok/skills 可以提交,让团队获得你的技能;.ok/ 的其余内容只保留在这台电脑上。"],"K0N7zS": ["读取配置共享状态失败"],"K1ckLX": ["创建文件夹失败"],+ "K1nRu2": ["此技能位于项目文件夹中,因此会为每个打开该项目的人安装,而不只是你。"],"K2v7QF": ["无法共享技能"],"K4G55s": ["正在检查来源"],"K6MQQk": ["同步正在失败。详情请查看同步状态。"],@@ -1416,6 +1418,7 @@"Md709y": ["正在加载 ", ["fileName"]],"MdpSC1": ["新建技能"],"Mh_4hd": ["上一个标签页"],+ "MiMTvb": ["常驻 token"],"Mj8R8K": ["无法安装技能:", ["0"]],"MmDDWK": ["最近打开"],"Mnavhe": [["propPanelDescriptorLabel"], " 属性"],@@ -1464,6 +1467,7 @@"NOHyEE": ["重试推送"],"NORKZU": ["模式警告:", ["summary"]],"NQ8llq": ["添加项目"],+ "NQVepz": ["安装 ", ["name"]],"NQXwDy": ["在配置文件中编辑"],"NRSLBe": [["diffMin"], " 分钟前"],"NSnIUP": ["双页(偶数)"],@@ -1674,6 +1678,7 @@"QWdKwH": ["移动"],"QYTOaN": ["之后可以在<0>「设置 → 同步」</0>中更改。"],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": ["卸载 ", ["name"]],"QcpeeE": ["跳转到 ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -1686,6 +1691,7 @@"QlAG4m": ["再多说一些(可选)"],"QlkiD5": ["重新定位到选中的文本上"],"QlxHAH": ["正在显示 \"", ["semanticResultsLabel"], "\" 的结果"],+ "QnnKlV": ["按需"],"QohqVL": ["此智能体不提供斜杠命令"],"QpSqAP": ["本项目未启用真实 shell。启用后,命令将以你的用户账户的完整权限运行。"],"QqBQu1": ["标签 <0>(可见的链接文本)</0>"],@@ -2020,6 +2026,7 @@" 个项目吗?文件夹及其中的所有文件都会被删除。此操作无法撤销。"],"WMsoIm": ["已经登录了?"],+ "WOr-hW": ["token"],"WPwDin": ["在磁盘上打开文件夹"],"WR0y2O": ["共享文件夹"],"WRNXKp": ["正在搜索"],@@ -2128,6 +2135,7 @@"XuQzrk": ["无法重启服务器——它被另一个进程占用。请关闭这个项目的其他 OpenKnowledge 窗口后重试。"],+ "XuVQrE": ["设置 ", ["0"]],"Xv_ijG": ["https://github.com/owner/repo 或 owner/repo"],"Xwump4": ["这里没有 git 仓库"],"XyOUTJ": ["退出合并"],@@ -2366,6 +2374,7 @@"aalx4E": ["正在编辑损坏的 MDX 源码:", ["reason"]],"aatPoi": ["生成的文件"],"abiHje": ["删除选中的项目"],+ "ac8G0O": ["触发时"],"adsMWO": ["正在解析差异"],"ah_ekO": ["“", ["name"], "”已是最新"],"aiArms": ["我们无法克隆这个仓库。"],@@ -2666,6 +2675,7 @@"fiMNLl": ["同步设置尚未加载——请稍后再试"],"fj5YiP": ["从 GitHub 下载一份全新的副本。"],"fnlBN4": ["自动批准设置尚未加载——请稍后再试"],+ "fo0VXg": ["卸载"],"fo6CCk": ["窗格 ", ["0"]],"fqSfXY": ["替换"],"ft-BOm": ["报告问题…"],@@ -2943,6 +2953,7 @@"jerqF0": ["正在加载分支状态"],"jhtG3I": [" 已恢复你的选择。"],"jjtmV_": ["第一个文件名"],+ "jkt28V": ["上下文开销"],"jnCROW": ["崩溃时的内存快照,也是对我们帮助最大的材料。它可能包含文档内容且无法隐去,如果你不想分享,请取消勾选。"],@@ -3236,6 +3247,7 @@"nc-ipN": ["字段编辑仅适用于在「frontmatter 架构」插件中映射过的架构文件"],"ndwmea": ["这个平台不可用"],"neRy3o": ["拆分列表项"],+ "nem6R7": ["超出 ", ["budgetLabel"], " token 预算"],"nf0wk0": ["通过上级目录建立的符号链接"],"nfPccR": [["laterEdits", "plural", { "other": ["回滚 ", "#", " 处后续编辑。"] }]],"nfoduq": ["创建 worktree"],@@ -3708,6 +3720,7 @@"vGQxBT": ["来源的更新会自动应用(除非在本地编辑过)"],"vGeNNQ": ["复制一段提示词,粘贴给你的智能体来配置项目。"],"vHlhDc": ["双击进行编辑"],+ "vIR6Hp": ["技能会安装到本机检测到的每个 AI 工具,与上面选择的 MCP 连接无关。"],"vIxrEk": ["适应宽度"],"vLyv1R": ["隐藏"],"vO2v-0": ["隐藏其他"],@@ -3881,6 +3894,7 @@"yLq4w4": ["分隔符"],"yLwx9e": ["作为符号链接的是上层目录——请对那个文件夹取消链接,才能收回这一个。"],"yMgL_E": ["查找字段导航"],+ "yOjRUV": ["未检测到 AI 工具。请先安装一个再使用此技能。"],"yQE2r9": ["正在加载"],"yQyglE": ["没有匹配的文档"],"yR5LHI": ["请输入 6 位十六进制值,例如 #1A2B3C"],@@ -3964,6 +3978,7 @@"zbymaY": [["0"], " 分钟前"],"zcmYx4": ["git 配置不可用"],"zd00pH": ["复制路径"],+ "zewp9w": ["安装位置已变化。请检查列表后确认。"],"zgSFyG": ["外部链接"],"zkz0Fg": ["设置同步"],"zlErBl": ["页面标题的错误响应不符合 RFC 9457"],diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex b6528fcb1..aa6d652f7 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -1393,13 +1393,6 @@ msgstr "把你的评论写在这条消息里"msgid "Added"msgstr "已添加"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "新增一套用于编写新的智能体技能的引导流程。"-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "添加一个受管理的块到"@@ -1583,6 +1576,15 @@ msgstr "已经登录了?"msgid "Always included"msgstr "始终包含"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "常驻"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "常驻 token"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "无法共享此路径。"#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "内容规则"msgid "Content rules not yet loaded — try again in a moment"msgstr "内容规则尚未加载——请稍后再试"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "上下文开销"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "上下文窗口:"@@ -5657,8 +5665,6 @@ msgstr "已复制文件夹共享链接。"msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "目标文件夹:{linkTitle}。点击可打开总览。"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "文件夹"@@ -6026,13 +6032,6 @@ msgstr "帮助"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "帮助编码代理选择 OKF 文档类型、保留来源并避免发明不受支持的元数据。"-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "帮助你的编程智能体识别 OpenKnowledge 项目,并把读写都经由它进行。"-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "最高"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "通过 CodeMirror 的默认按键映射,在源码编辑器中插入、删除、移动、复制和缩进行。"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "安装 {0}"msgid "Install {brand} →"msgstr "安装 {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "安装 {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "正在安装"msgid "Installing {agentName}…"msgstr "正在安装 {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "安装到"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "安装量:"@@ -7933,6 +7945,10 @@ msgstr "未选择任何智能体——技能已保存,但没有安装到任何msgid "No AI agents installed"msgstr "未安装任何 AI 智能体"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "未检测到 AI 工具。请先安装一个再使用此技能。"+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "这个端点还没有设置 API 密钥。请在上方添加一个。"@@ -8406,6 +8422,10 @@ msgstr "开启——你的搜索查询和匹配页面的文本会发送到你的msgid "On <0>{address}</0>"msgstr "在 <0>{address}</0> 上"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "按需"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "在 <0>{address}</0> 中选中的文本上"@@ -8414,6 +8434,10 @@ msgstr "在 <0>{address}</0> 中选中的文本上"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "在根索引上,okf_version 被写为带引号的字符串,如 \"0.2\"。不加引号,YAML 将其读取为数字,0.10 默默地变成 0.1。"+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "触发时"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "出链"msgid "Outline"msgstr "大纲"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "超出 {budgetLabel} token 预算"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "重叠的编辑"@@ -10046,6 +10074,10 @@ msgstr "已把“{0}”从其他所有位置移除——它的来源文件夹仍msgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "已把“{projectName}”从最近的项目中移除。它的文件夹已不存在。"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "从以下位置移除"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "在「插件」下它自己的页面中进行设置。"msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "为首次打开这个项目的用户设置同步默认值。这项设置会提交到你的仓库。"+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "设置 {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "设置 OpenKnowledge 集成"@@ -11479,6 +11516,13 @@ msgstr "技能"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "技能现在已共享。提交 .ok/skills 即可分享给你的团队。"+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "技能会安装到本机检测到的每个 AI 工具,与上面选择的 MCP 连接无关。"+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "任务清单"msgid "Task List"msgstr "任务清单"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "教会这个项目中的编程智能体通过 OpenKnowledge 读写内容。"@@ -12339,6 +12382,10 @@ msgstr "默认的技能文件夹(保存后会显示确切路径)"msgid "The desktop app isn't responding. Refresh and try again."msgstr "桌面应用没有响应。请刷新后重试。"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "安装位置已变化。请检查列表后确认。"+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "这项设置按电脑生效,不会与协作者共享。"msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "这项设置按电脑生效,不会与协作者共享。除非你的端点是不需要密钥的本地服务器,否则需要一个 API 密钥(在下方设置)。"+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "此技能位于项目文件夹中,因此会为每个打开该项目的人安装,而不只是你。"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "这个来源包含多个技能——请先选择一个,然后导入。"@@ -13083,6 +13135,11 @@ msgstr "切换下划线格式。"msgid "Toggles the pattern {0}/**"msgstr "切换模式 {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "token"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "太慢了"@@ -13274,6 +13331,17 @@ msgstr "要撤销到这次编辑吗?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "在「编辑源码」面板或代码类属性字段中撤销、重做,或逐步回溯选区变化。"+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "卸载"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "卸载 {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex 44af67430..98b7068e9 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -60,6 +60,7 @@"09Tv5j": ["正在重新連線…"],"0BB9ID": ["還沒有標題。"],"0BfhAj": ["重設檢視"],+ "0CvV_9": ["安裝到"],"0E9DR6": ["輸入以尋找文件"],"0Er6-M": ["正在重新啟動"],"0Gd0NU": ["已分享"],@@ -98,7 +99,6 @@],"0eHrMb": ["無法完成刪除"],"0g7rCZ": ["已建立副本「", ["0"], "」"],- "0inVGS": ["幫助你的程式碼代理辨識 OpenKnowledge 專案,並把讀寫都經由它進行。"],"0jD-Gn": ["團隊知識庫、個人維基、專案文件……"],"0kTAXe": ["來源:", ["mirrorSrc"]],"0pZmTP": ["無法分享這個路徑。"],@@ -746,6 +746,7 @@"BkGtRl": ["在「編輯原始碼」窗格或程式碼類屬性欄位中復原、重做,或逐步回溯選取範圍的變化。"],"BlLxpG": ["搜尋技能"],"BowKyI": ["顯示詳細資料"],+ "BuMD5w": ["從以下位置移除"],"Bv5a9_": ["選取範圍統計"],"BwKH4d": ["外部應用程式"],"Bx4EXG": [["label"], " 的動作"],@@ -831,6 +832,7 @@"D8JJwQ": ["意見回饋功能目前無法使用。請稍後再試。"],"D8OV7J": ["僅協作者"],"DAVInK": ["加入詞典"],+ "DBqxw2": ["常駐"],"DCSSZt": ["代理正在工作"],"DDTdLl": ["程式碼區塊設定"],"DELNQk": ["協作者一同步就會看到你正在進行的編輯。"],@@ -1007,7 +1009,6 @@"FUMerq": ["無法啟用同步:", ["detail"]],"FWQuPE": ["這個專案執行的 OpenKnowledge 版本和這個應用程式(v", ["0"], ")不同,而且不相容。"],"FWSjnp": ["編輯原始碼窗格和程式碼類屬性欄位"],- "FXk_zY": ["加入一套用來撰寫新代理技能的引導流程。"],"FZtBeR": ["啟用 ", ["0"]],"FeXcUS": [["display"],@@ -1249,6 +1250,7 @@"K0FgsP": [".ok/skills 可以提交,讓團隊取得你的技能;.ok/ 的其餘內容只留在這台電腦上。"],"K0N7zS": ["讀取設定分享狀態失敗"],"K1ckLX": ["建立資料夾失敗"],+ "K1nRu2": ["此技能位於專案資料夾中,因此會為每個開啟該專案的人安裝,而不只是你。"],"K2v7QF": ["無法分享技能"],"K4G55s": ["正在檢查來源"],"K6MQQk": ["同步一直失敗。詳情請看同步狀態。"],@@ -1434,6 +1436,7 @@"Md709y": ["正在載入 ", ["fileName"]],"MdpSC1": ["新增技能"],"Mh_4hd": ["上一個分頁"],+ "MiMTvb": ["常駐 token"],"Mj8R8K": ["無法安裝技能:", ["0"]],"MmDDWK": ["最近開啟"],"Mnavhe": [["propPanelDescriptorLabel"], " 屬性"],@@ -1482,6 +1485,7 @@"NOHyEE": ["重試推送"],"NORKZU": ["模式警告:", ["summary"]],"NQ8llq": ["新增項目"],+ "NQVepz": ["安裝 ", ["name"]],"NQXwDy": ["在設定檔中編輯"],"NRSLBe": [["diffMin"], " 分鐘前"],"NSnIUP": ["雙頁(偶數)"],@@ -1694,6 +1698,7 @@"QWdKwH": ["移動"],"QYTOaN": ["之後可以在<0>「設定 → 同步」</0>中變更。"],"QYfQdv": [["displayName"], " CLI"],+ "QcScEc": ["解除安裝 ", ["name"]],"QcpeeE": ["前往 ", ["docName"]],"Qe47G0": [["componentLabel"],@@ -1706,6 +1711,7 @@"QlAG4m": ["再多說一些(選填)"],"QlkiD5": ["重新定位到選取的文字上"],"QlxHAH": ["正在顯示「", ["semanticResultsLabel"], "」的結果"],+ "QnnKlV": ["按需"],"QohqVL": ["此智慧代理不提供斜線指令"],"QpSqAP": ["本專案未啟用真實 shell。啟用後,命令會以你的使用者帳戶的完整權限執行。"],"QqBQu1": ["標籤 <0>(可見的連結文字)</0>"],@@ -2042,6 +2048,7 @@" 個項目嗎?資料夾以及裡面的所有檔案都會被刪除。這個動作無法復原。"],"WMsoIm": ["已經登入了?"],+ "WOr-hW": ["token"],"WPwDin": ["在磁碟上開啟資料夾"],"WR0y2O": ["分享資料夾"],"WRNXKp": ["正在搜尋"],@@ -2150,6 +2157,7 @@"XuQzrk": ["無法重新啟動伺服器——它被另一個處理程序佔用。請關閉這個專案的其他 OpenKnowledge 視窗,然後再試一次。"],+ "XuVQrE": ["設定 ", ["0"]],"Xv_ijG": ["https://github.com/owner/repo 或 owner/repo"],"Xwump4": ["這裡沒有 git 儲存庫"],"XyOUTJ": ["結束合併"],@@ -2386,6 +2394,7 @@"aalx4E": ["正在編輯壞掉的 MDX 原始碼:", ["reason"]],"aatPoi": ["產生的文件"],"abiHje": ["刪除選取的項目"],+ "ac8G0O": ["觸發時"],"adsMWO": ["正在解析差異"],"ah_ekO": ["「", ["name"], "」已是最新"],"aiArms": ["我們無法複製這個儲存庫。"],@@ -2686,6 +2695,7 @@"fiMNLl": ["同步設定尚未載入——請稍候再試"],"fj5YiP": ["從 GitHub 下載一份全新的副本。"],"fnlBN4": ["自動核准設定尚未載入——請稍候再試"],+ "fo0VXg": ["解除安裝"],"fo6CCk": ["窗格 ", ["0"]],"fqSfXY": ["取代"],"ft-BOm": ["回報問題…"],@@ -2967,6 +2977,7 @@"jerqF0": ["正在載入分支狀態"],"jhtG3I": [" 已還原你的選取內容。"],"jjtmV_": ["第一個檔案名稱"],+ "jkt28V": ["上下文開銷"],"jnCROW": ["當機當下的記憶體快照,也是對我們幫助最大的檔案。它可能含有文件內容而且無法遮蔽,如果你不想分享,請取消勾選。"],@@ -3262,6 +3273,7 @@"nc-ipN": ["只有在「frontmatter 結構描述」外掛中對應過的結構描述檔案才能編輯欄位"],"ndwmea": ["這個平台無法使用"],"neRy3o": ["分割清單項目"],+ "nem6R7": ["超出 ", ["budgetLabel"], " token 預算"],"nf0wk0": ["透過上層目錄建立的符號連結"],"nfPccR": [["laterEdits", "plural", { "other": ["回復 ", "#", " 處後續編輯。"] }]],"nfoduq": ["建立 worktree"],@@ -3736,6 +3748,7 @@"vGQxBT": ["來源的更新會自動套用(除非在本機編輯過)"],"vGeNNQ": ["複製一段提示,貼給你的代理來設定專案。"],"vHlhDc": ["按兩下即可編輯"],+ "vIR6Hp": ["技能會安裝到本機偵測到的每個 AI 工具,與上面選擇的 MCP 連線無關。"],"vIxrEk": ["符合寬度"],"vLyv1R": ["隱藏"],"vO2v-0": ["隱藏其他"],@@ -3909,6 +3922,7 @@"yLq4w4": ["分隔線"],"yLwx9e": ["作為符號連結的是上層目錄——請對那個資料夾取消連結,才能把這一個收回來。"],"yMgL_E": ["尋找欄位導覽"],+ "yOjRUV": ["未偵測到 AI 工具。請先安裝一個再使用此技能。"],"yQE2r9": ["正在載入"],"yQyglE": ["沒有相符的文件"],"yR5LHI": ["請輸入 6 位十六進位值,例如 #1A2B3C"],@@ -3994,6 +4008,7 @@"zbymaY": [["0"], " 分鐘前"],"zcmYx4": ["無法使用 git 設定"],"zd00pH": ["複製路徑"],+ "zewp9w": ["安裝位置已變更。請檢查清單後確認。"],"zgSFyG": ["外部連結"],"zkz0Fg": ["設定同步"],"zlErBl": ["頁面標題的錯誤回應不符合 RFC 9457"],diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex ce033dce0..1c4ce544f 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -1393,13 +1393,6 @@ msgstr "把你的註解寫在這則訊息裡"msgid "Added"msgstr "已新增"-#. Subtext for the open-knowledge-write-skill skill row-#. Subtext for the open-knowledge-write-skill skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a guided workflow for authoring new Agent Skills."-msgstr "加入一套用來撰寫新代理技能的引導流程。"-#: src/components/settings/AiToolsSection.tsxmsgid "Adds a managed block to"msgstr "加入一個受管理的區塊到"@@ -1583,6 +1576,15 @@ msgstr "已經登入了?"msgid "Always included"msgstr "一律包含"+#: src/components/SkillCostValue.tsx+msgid "always-on"+msgstr "常駐"++#. Suffix on a skill directory card's context-cost figure+#: src/components/SkillDirectoryResult.tsx+msgid "always-on tokens"+msgstr "常駐 token"+#: src/components/AppErrorBoundary.tsx#: src/components/DocumentErrorBoundary.tsxmsgid "An unexpected error occurred."@@ -2189,6 +2191,7 @@ msgstr "無法分享這個路徑。"#: src/components/ShareReceiveDialog.tsx#: src/components/SkillFileCreateDialog.tsx#: src/components/SkillFileRenameDialog.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPluginBundleDialog.tsx#: src/components/SkillRenameDialog.tsx#: src/components/SkillScopeMoveDialog.tsx@@ -3023,6 +3026,11 @@ msgstr "內容規則"msgid "Content rules not yet loaded — try again in a moment"msgstr "內容規則尚未載入——請稍候再試"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Context cost"+msgstr "上下文開銷"+#: src/components/acp/ThreadView.tsxmsgid "Context window:"msgstr "脈絡視窗:"@@ -5657,8 +5665,6 @@ msgstr "已複製資料夾分享連結。"msgid "Folder target: {linkTitle}. Click to open the overview."msgstr "目標資料夾:{linkTitle}。點一下可開啟總覽。"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SkillTargetsPicker.tsxmsgid "Folders"msgstr "資料夾"@@ -6026,13 +6032,6 @@ msgstr "說明"msgid "Helps coding agents choose OKF document types, preserve provenance, and avoid inventing unsupported metadata."msgstr "幫助編碼代理選擇 OKF 文件類型、保留來源並避免發明不支援的元資料。"-#. Subtext for the open-knowledge-discovery skill row-#. Subtext for the open-knowledge-discovery skill row-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Helps your coding agent recognize OpenKnowledge projects and route reads and writes through it."-msgstr "幫助你的程式碼代理辨識 OpenKnowledge 專案,並把讀寫都經由它進行。"-#: src/components/OkBlobRunner.tsxmsgid "HI"msgstr "最高"@@ -6558,8 +6557,11 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "透過 CodeMirror 的預設按鍵對應,在原始碼編輯器中插入、刪除、移動、複製和縮排行。"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AiToolsSection.tsx#: src/components/settings/IntegrationsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/skill-actions.tsx+#: src/components/SkillInstallConfirmDialog.tsx#: src/components/SkillPreviewTab.tsx#: src/components/SkillsTree.tsxmsgid "Install"@@ -6574,6 +6576,11 @@ msgstr "安裝 {0}"msgid "Install {brand} →"msgstr "安裝 {brand} →"+#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Install {name}"+msgstr "安裝 {name}"+#. placeholder {0}: res.error#: src/hooks/use-explore-preview-install.tsmsgid "Install failed: {0}"@@ -6704,6 +6711,11 @@ msgstr "正在安裝"msgid "Installing {agentName}…"msgstr "正在安裝 {agentName}…"+#: src/components/McpConsentDialogBody.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Installs to"+msgstr "安裝到"+#: src/components/SkillDirectoryResult.tsxmsgid "installs:"msgstr "安裝次數:"@@ -7933,6 +7945,10 @@ msgstr "沒有選取任何代理——技能已儲存,但沒有安裝到任何msgid "No AI agents installed"msgstr "沒有安裝任何 AI 代理"+#: src/components/SkillConsentRow.tsx+msgid "No AI tools detected. Install one to use this skill."+msgstr "未偵測到 AI 工具。請先安裝一個再使用此技能。"+#: src/components/settings/SearchSection.tsxmsgid "No API key is set for this endpoint. Add one above."msgstr "這個端點還沒有設定 API 金鑰。請在上面加一個。"@@ -8406,6 +8422,10 @@ msgstr "開啟——你的搜尋查詢和相符頁面的內容會送到你的嵌msgid "On <0>{address}</0>"msgstr "在 <0>{address}</0> 上"+#: src/components/SkillCostValue.tsx+msgid "on demand"+msgstr "按需"+#: src/comments/PropertyCommentButton.tsxmsgid "On selected text in <0>{address}</0>"msgstr "在 <0>{address}</0> 中選取的文字上"@@ -8414,6 +8434,10 @@ msgstr "在 <0>{address}</0> 中選取的文字上"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "在根索引上,okf_version 被寫為引號的字串,如 \"0.2\"。不加引號,YAML 將其讀為數字,0.10 默默地變成 0.1。"+#: src/components/SkillCostValue.tsx+msgid "on trigger"+msgstr "觸發時"+#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled#: src/components/settings/ProjectAiToolsSection.tsxmsgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."@@ -9096,6 +9120,10 @@ msgstr "連出"msgid "Outline"msgstr "大綱"+#: src/components/SkillCostValue.tsx+msgid "over the {budgetLabel} token budget"+msgstr "超出 {budgetLabel} token 預算"+#: src/components/AutoSyncEnableWarning.tsxmsgid "Overlapping edits"msgstr "重疊的編輯"@@ -10046,6 +10074,10 @@ msgstr "已把「{0}」從其他所有位置移除——它的來源資料夾仍msgid "Removed \"{projectName}\" from recent projects. Its folder no longer exists."msgstr "已把「{projectName}」從最近的專案中移除。它的資料夾已經不存在了。"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Removes from"+msgstr "從以下位置移除"+#. Warning shown when the user unchecks an already-installed skill#: src/components/McpConsentDialogBody.tsxmsgid "Removes this skill from your editors."@@ -11072,6 +11104,11 @@ msgstr "在「外掛」底下它自己的頁面中設定。"msgid "Set the sync default for users opening this project for the first time. This setting is committed to your repository."msgstr "為第一次開啟這個專案的使用者設定同步預設值。這項設定會提交到你的儲存庫。"+#. placeholder {0}: skill.name+#: src/components/McpConsentDialogBody.tsx+msgid "Set up {0}"+msgstr "設定 {0}"+#: src/components/command-palette-commands.tsmsgid "Set up OpenKnowledge integrations"msgstr "設定 OpenKnowledge 整合"@@ -11479,6 +11516,13 @@ msgstr "技能"msgid "Skills are now shared. Commit .ok/skills to share them with your team."msgstr "技能現在已分享。提交 .ok/skills 就能分享給你的團隊。"+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#. Tells the user a skill installs to every detected AI tool, independent of the per-tool MCP connections listed above+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AiToolsSection.tsx+msgid "Skills install to every AI tool detected on this machine, independent of the MCP connections you chose above."+msgstr "技能會安裝到本機偵測到的每個 AI 工具,與上面選擇的 MCP 連線無關。"+#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsx@@ -12117,7 +12161,6 @@ msgstr "工作清單"msgid "Task List"msgstr "工作清單"-#. Subtext for the project runtime-skill row#: src/components/settings/ProjectAiToolsSection.tsxmsgid "Teaches coding agents in this project to read and write through OpenKnowledge."msgstr "教會這個專案裡的程式碼代理透過 OpenKnowledge 讀寫內容。"@@ -12339,6 +12382,10 @@ msgstr "預設的技能資料夾(儲存後會顯示確切路徑)"msgid "The desktop app isn't responding. Refresh and try again."msgstr "桌面應用程式沒有回應。請重新整理後再試一次。"+#: src/components/SkillInstallConfirmDialog.tsx+msgid "The destinations changed. Review the list, then confirm."+msgstr "安裝位置已變更。請檢查清單後確認。"+#. placeholder {0}: summary.target#: src/components/settings/LintingSection.tsxmsgid "the doc {0}"@@ -12918,6 +12965,11 @@ msgstr "這項設定按每台電腦生效,不會分享給協作者。"msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "這項設定按每台電腦生效,不會分享給協作者。除非你的端點是不需要金鑰的本機伺服器,否則需要一把 API 金鑰(在下面設定)。"+#. Tells the user the project skill is committed to the repo, unlike the user-global skills+#: src/components/settings/ProjectAiToolsSection.tsx+msgid "This skill lives in the project folder, so it installs for everyone who opens this project — not just you."+msgstr "此技能位於專案資料夾中,因此會為每個開啟該專案的人安裝,而不只是你。"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "這個來源包含好幾個技能——先選一個,再匯入。"@@ -13083,6 +13135,11 @@ msgstr "切換底線格式。"msgid "Toggles the pattern {0}/**"msgstr "切換模式 {0}/**"+#: src/components/SkillBundlePreview.tsx+#: src/components/SkillProperties.tsx+msgid "tokens"+msgstr "token"+#: src/components/FeedbackForm.tsxmsgid "Too slow"msgstr "太慢了"@@ -13274,6 +13331,17 @@ msgstr "要復原到這次編輯嗎?"msgid "Undo, redo, or step through selection changes in the Edit source pane or a code-shaped property field."msgstr "在「編輯原始碼」窗格或程式碼類屬性欄位中復原、重做,或逐步回溯選取範圍的變化。"+#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall"+msgstr "解除安裝"++#: src/components/settings/AiToolsSection.tsx+#: src/components/SkillInstallConfirmDialog.tsx+msgid "Uninstall {name}"+msgstr "解除安裝 {name}"+#: src/lib/native-menu-catalog.ts#: src/uninstall/UninstallPickerScreen.tsxmsgid "Uninstall OpenKnowledge"diff --git a/packages/app/tests/integration/skill-installable-editors.test.ts b/packages/app/tests/integration/skill-installable-editors.test.tsindex 0d5848106..2e0ffe648 100644--- a/packages/app/tests/integration/skill-installable-editors.test.ts+++ b/packages/app/tests/integration/skill-installable-editors.test.ts@@ -167,6 +167,26 @@ describe('skill-targets folders are gated on activation (PRD-7985)', () => {});});+describe('three-tier size on the skills list (PRD-7978)', () => {+ test('an in-place skill entry carries its server-computed three-tier cost', async () => {+ const name = 'sized-skill';+ expect((await putSkill('project', name)).status).toBe(200);++ const res = await fetch(`${base()}/api/skills`);+ const parsed = SkillsListSuccessSchema.safeParse(await res.json());+ expect(parsed.success).toBe(true);+ if (!parsed.success) return;++ // The list carries the cost so the editor prices a skill without re-reading+ // it: name+description drive always-on, the body drives on-trigger, and a+ // bundle with no readable references reports zero on-demand (not NaN/absent).+ const entry = parsed.data.skills.find((s) => s.name === name);+ expect(entry?.size?.alwaysOn).toBeGreaterThan(0);+ expect(entry?.size?.onTrigger).toBeGreaterThan(0);+ expect(entry?.size?.onDemand).toBe(0);+ });+});+describe('default global install targets stay in the install-target vocabulary', () => {/*** Detection (`~/.gemini` → antigravity) is WIDER than the install-targetdiff --git a/packages/core/src/desktop-bridge.ts b/packages/core/src/desktop-bridge.tsindex f65a66b2a..c23e2363d 100644--- a/packages/core/src/desktop-bridge.ts+++ b/packages/core/src/desktop-bridge.ts@@ -39,6 +39,7 @@ import type {ShareTargetStatusResponse,} from './schemas/api/share.ts';import type { RecentProjectEntry } from './sharing/index.ts';+import type { SkillCostTiers } from './skills-catalog/skill-cost.ts';import type { TerminalPlacement } from './terminal-layout.ts';export type { OkFolderState } from './constants/folder-state.ts';@@ -536,11 +537,23 @@ export interface OkMcpWiringShowPayload {};/** Per-bundle opt-in rows for the two user-global skills. Empty ⇒ no skill* decision solicited. `alreadyInstalled: true` renders the row pre-checked- * as an existing install the user can uncheck to remove. */+ * as an existing install the user can uncheck to remove. The disclosure+ * fields (description, size, hosts, paths) let the row show what the skill+ * is, costs, and where it would land — the same information Settings shows,+ * so first-launch consent is as informed. `hosts` empty ⇒ nowhere to land,+ * and the row disables its checkbox. */readonly globalSkills: readonly {readonly id: string;readonly name: string;readonly alreadyInstalled: boolean;+ /** The skill's own frontmatter description. */+ readonly description: string;+ /** Three-tier context cost; absent when the packaged bundle is unreadable. */+ readonly size?: SkillCostTiers;+ /** Resolved reach: static editor ids plus declared custom-root paths. */+ readonly hosts: readonly string[];+ /** Destination paths a confirmed install writes (or an uninstall removes). */+ readonly paths: readonly string[];}[];}@@ -597,8 +610,23 @@ export interface OkIntegrationsStatus {readonly skills: readonly {readonly id: string;readonly name: string;+ /** The skill's own frontmatter description; empty when the bundle is+ * unreadable. Replaces the hand-written per-id subtext on the row. */+ readonly description: string;readonly installed: boolean;readonly paths: readonly string[];+ /** Three-tier context cost from the shared estimator. Absent when the+ * bundle could not be parsed (broken build) — the row hides the cost. */+ readonly size?: SkillCostTiers;+ /** On-disk source directory of the built-in bundle (its SKILL.md + files). */+ readonly sourceDir: string;+ /** Every place this skill would install: static agent hosts present on disk+ * plus declared custom roots. For a custom root `editor === skillsRoot`. */+ readonly resolvedHosts: readonly {+ readonly editor: string;+ readonly skillsRoot: string;+ readonly custom: boolean;+ }[];}[];/*** Every editor whose host root already exists on this machine — a SUPERSET@@ -655,6 +683,18 @@ export interface OkProjectIntegrationsStatus {readonly skill: {readonly installed: boolean;readonly paths: readonly string[];+ /** The skill's own frontmatter description, so the row states what the+ * bundle says rather than a hand-written subtext that can drift from it. */+ readonly description: string;+ /** Editor ids this project's skill fans out to — the reach cluster's input.+ * Project-scoped, so these are the editors with a project skill root here,+ * not the user-global host set. */+ readonly hosts: readonly string[];+ /** Three-tier context cost of the bundled project skill. Absent when the+ * bundle cannot be read. */+ readonly size?: SkillCostTiers;+ /** On-disk source of the bundled skill, so the row can open its preview. */+ readonly sourceDir?: string;} | null;}diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 1f5ad87ae..158491b22 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -1829,6 +1829,18 @@ export {isDetectedSkillInProject,isSkillOutsideOpenProject,} from './skills-catalog/scope.ts';+// Three-tier context-cost estimator — pure, browser-safe; shared by the client+// preview payload and the server skills-list walk so a skill's cost reads the+// same on every surface.+export {+ ALWAYS_ON_TOKEN_BUDGET,+ estimateSkillCost,+ ON_TRIGGER_TOKEN_BUDGET,+ READABLE_SKILL_EXTENSIONS,+ type SkillCostInput,+ type SkillCostTiers,+ SkillCostTiersSchema,+} from './skills-catalog/skill-cost.ts';export {parseSkillsShCatalogSource,type SkillsShCatalogSource,diff --git a/packages/core/src/schemas/api/tags-search.ts b/packages/core/src/schemas/api/tags-search.tsindex 0dd87db1a..ba8acaec3 100644--- a/packages/core/src/schemas/api/tags-search.ts+++ b/packages/core/src/schemas/api/tags-search.ts@@ -27,6 +27,7 @@ import type { StandardSchemaV1 } from '@standard-schema/spec';import { z } from 'zod';import { MANAGED_ARTIFACT_SCOPES } from '../../constants/cc1.ts';import { SkillTargetEditorSchema } from '../../skill-targets/schema.ts';+import { SkillCostTiersSchema } from '../../skills-catalog/skill-cost.ts';import { agentIdentityFields, summaryField } from './_shared.ts';/**@@ -560,6 +561,11 @@ export const SkillsListEntrySchema = z// anywhere said why. Every surface that offers to OPEN a skill reads this// first and offers `POST /api/skill/track-in-git` instead.ignored: z.boolean().optional(),+ // Three-tier context cost (always-on / on-trigger / on-demand estimated+ // tokens) from the server's stamped bundle walk, so the editor prices a+ // skill without re-reading it. Optional: an older server omits it and the+ // row hides rather than rendering zeroes.+ size: SkillCostTiersSchema.optional(),}).strict() satisfies StandardSchemaV1;export type SkillsListEntry = z.infer<typeof SkillsListEntrySchema>;diff --git a/packages/core/src/skills-catalog/skill-cost.test.ts b/packages/core/src/skills-catalog/skill-cost.test.tsnew file mode 100644index 000000000..f3c3e85a3--- /dev/null+++ b/packages/core/src/skills-catalog/skill-cost.test.ts@@ -0,0 +1,111 @@+import { describe, expect, test } from 'vitest';+import {+ ALWAYS_ON_TOKEN_BUDGET,+ estimateSkillCost,+ ON_TRIGGER_TOKEN_BUDGET,+ READABLE_SKILL_EXTENSIONS,+ type SkillCostInput,+} from './skill-cost.ts';++/** A well-formed SKILL.md with a body of `bodyLen` `b` characters after its frontmatter. */+function skillMd(bodyLen: number): string {+ return `---\nname: x\n---\n${'b'.repeat(bodyLen)}`;+}++const emptyInput: SkillCostInput = { name: '', description: '', skillMd: '', files: [] };++describe('estimateSkillCost', () => {+ test('reports each tier as chars/4 and never a summed total', () => {+ const cost = estimateSkillCost({+ name: 'x'.repeat(8),+ description: 'y'.repeat(8),+ skillMd: skillMd(20),+ files: [{ relPath: 'references/a.md', content: 'c'.repeat(12) }],+ });+ expect(cost).toEqual({ alwaysOn: 4, onTrigger: 5, onDemand: 3 });+ // No summed/total field leaks onto the output — three tiers, exactly.+ expect(Object.keys(cost).sort()).toEqual(['alwaysOn', 'onDemand', 'onTrigger']);+ });++ test('always-on counts name plus description, rounded to nearest token', () => {+ expect(estimateSkillCost({ ...emptyInput, name: 'a'.repeat(9) }).alwaysOn).toBe(2);+ expect(estimateSkillCost({ ...emptyInput, name: 'a'.repeat(11) }).alwaysOn).toBe(3);+ expect(estimateSkillCost({ ...emptyInput, name: 'ab', description: 'cd' }).alwaysOn).toBe(1);+ });++ test('on-trigger counts only the body after frontmatter, not the frontmatter', () => {+ // Long frontmatter, short body: on-trigger reflects the body alone.+ const md = `---\nname: n\ndescription: ${'d'.repeat(400)}\n---\nshort body`;+ expect(estimateSkillCost({ ...emptyInput, skillMd: md }).onTrigger).toBe(+ Math.round('short body'.length / 4),+ );+ });++ test('on-demand counts .md/.mdx/.txt anywhere in the bundle', () => {+ const cost = estimateSkillCost({+ ...emptyInput,+ files: [+ { relPath: 'references/a.md', content: 'a'.repeat(4) },+ { relPath: 'deep/nested/b.mdx', content: 'b'.repeat(4) },+ { relPath: 'notes.txt', content: 'c'.repeat(4) },+ ],+ });+ expect(cost.onDemand).toBe(3); // (4+4+4)/4+ });++ test('excludes scripts, overlay.yaml and evals JSON from on-demand', () => {+ // Mirrors the real bundle shape (turbopack/shadcn/deep-investigate): only the+ // readable-extension files count; extension-blind counting would overstate.+ const cost = estimateSkillCost({+ ...emptyInput,+ files: [+ { relPath: 'references/keep.md', content: 'k'.repeat(8) },+ { relPath: 'assets/keep.template.md', content: 'k'.repeat(8) },+ { relPath: 'scripts/run.sh', content: 'x'.repeat(1000) },+ { relPath: 'overlay.yaml', content: 'x'.repeat(1000) },+ { relPath: 'evals/evals.json', content: 'x'.repeat(1000) },+ { relPath: 'assets/data.template.json', content: 'x'.repeat(1000) },+ ],+ });+ expect(cost.onDemand).toBe(4); // (8+8)/4, config/scripts excluded+ });++ test('excludes SKILL.md itself from on-demand even when passed among the files', () => {+ const cost = estimateSkillCost({+ ...emptyInput,+ files: [+ { relPath: 'SKILL.md', content: 'x'.repeat(1000) },+ { relPath: 'references/a.md', content: 'a'.repeat(8) },+ ],+ });+ expect(cost.onDemand).toBe(2);+ });++ test('skips a binary/unreadable file and still counts the readable remainder', () => {+ const cost = estimateSkillCost({+ ...emptyInput,+ files: [+ { relPath: 'references/binary.md', content: null },+ { relPath: 'references/text.md', content: 'a'.repeat(12) },+ ],+ });+ expect(cost.onDemand).toBe(3);+ });++ test('degrades missing frontmatter/description/body/files to zeroes, never NaN', () => {+ const cost = estimateSkillCost(emptyInput);+ expect(cost).toEqual({ alwaysOn: 0, onTrigger: 0, onDemand: 0 });++ const nullish = estimateSkillCost({ name: null, description: null, skillMd: '', files: [] });+ expect(nullish).toEqual({ alwaysOn: 0, onTrigger: 0, onDemand: 0 });++ // Description absent, name present — count what is there.+ expect(estimateSkillCost({ ...emptyInput, name: 'abcd' }).alwaysOn).toBe(1);+ });++ test('exports the readable-extension set and the published budget constants', () => {+ expect(READABLE_SKILL_EXTENSIONS).toEqual(['.md', '.mdx', '.txt']);+ expect(ALWAYS_ON_TOKEN_BUDGET).toBe(100);+ expect(ON_TRIGGER_TOKEN_BUDGET).toBe(5000);+ });+});diff --git a/packages/core/src/skills-catalog/skill-cost.ts b/packages/core/src/skills-catalog/skill-cost.tsnew file mode 100644index 000000000..1ebac9f17--- /dev/null+++ b/packages/core/src/skills-catalog/skill-cost.ts@@ -0,0 +1,91 @@+/**+ * Shared three-tier context-cost estimator for a skill bundle.+ *+ * One input contract (frontmatter name/description plus the bundle's named+ * blobs), one output (three tiers), fed by two producers that already hold the+ * bytes — the preview payload on the client and the bundle walk on the server —+ * so a skill's cost reads the same everywhere it is shown.+ */+import { z } from 'zod';+import { stripFrontmatter } from '../extensions/frontmatter.ts';++/**+ * A skill's context cost in estimated tokens, split by when the cost is paid.+ * There is deliberately no summed total: a single figure misranks skills whose+ * weight sits in different tiers (a lean index in front of a heavy body vs. the+ * reverse), so every surface renders the three tiers or a documented subset.+ *+ * The zod schema is the single source both the estimator's return type and the+ * skills-list wire field derive from, so the shape cannot drift between the+ * producer and the transport.+ */+export const SkillCostTiersSchema = z+ .object({+ /** `name` + `description` — the only fields a harness keeps in context until the skill triggers. */+ alwaysOn: z.number().int().nonnegative(),+ /** SKILL.md body after frontmatter — loaded when the skill fires. */+ onTrigger: z.number().int().nonnegative(),+ /** Readable bundle files beyond SKILL.md — loaded only when the agent opens one. */+ onDemand: z.number().int().nonnegative(),+ })+ .strict();+export type SkillCostTiers = z.infer<typeof SkillCostTiersSchema>;++/** Input the estimator needs; `SkillPreview` satisfies it structurally so the client passes its payload verbatim. */+export interface SkillCostInput {+ name?: string | null;+ description?: string | null;+ /** Full SKILL.md text (frontmatter + body); the frontmatter is stripped for the on-trigger tier. */+ skillMd: string;+ /** Bundle files — `content` is null for binary/unreadable files. SKILL.md, if present here, is excluded from on-demand. */+ files: ReadonlyArray<{ relPath: string; content: string | null }>;+}++/**+ * Bundle files whose bytes a harness may read into context on demand. Scripts,+ * `overlay.yaml` and `evals/*.json` are executed or consumed as data, never read+ * as prose — counting them overstates on-demand cost by up to ~7.5k tokens on+ * real bundles, so on-demand counts by readable extension anywhere in the bundle,+ * not by a `references/` directory name.+ */+export const READABLE_SKILL_EXTENSIONS = ['.md', '.mdx', '.txt'] as const;++/** Published always-on norm from the Agent Skills spec (~100 tokens/skill, name + description). */+export const ALWAYS_ON_TOKEN_BUDGET = 100;+/** Published on-trigger norm from the Agent Skills spec (keep the SKILL.md body under ~5k tokens). */+export const ON_TRIGGER_TOKEN_BUDGET = 5000;++const CHARS_PER_TOKEN = 4;++function estimateTokens(charCount: number): number {+ return Math.round(charCount / CHARS_PER_TOKEN);+}++function isReadableBundleFile(relPath: string): boolean {+ const dot = relPath.lastIndexOf('.');+ if (dot === -1) return false;+ return (READABLE_SKILL_EXTENSIONS as readonly string[]).includes(+ relPath.slice(dot).toLowerCase(),+ );+}++/**+ * Estimate a skill's three-tier context cost from the bytes a producer already+ * holds. `chars / 4`, no tokenizer: consistent under one method, so figures+ * compare like-for-like even though none is exact against a real tokenizer+ * (hence the `~` every surface prefixes).+ */+export function estimateSkillCost(input: SkillCostInput): SkillCostTiers {+ const alwaysOn = estimateTokens((input.name ?? '').length + (input.description ?? '').length);+ const onTrigger = estimateTokens(stripFrontmatter(input.skillMd).body.length);++ let onDemandChars = 0;+ for (const file of input.files) {+ if (file.content === null) continue;+ if (file.relPath === 'SKILL.md') continue;+ if (!isReadableBundleFile(file.relPath)) continue;+ onDemandChars += file.content.length;+ }++ return { alwaysOn, onTrigger, onDemand: estimateTokens(onDemandChars) };+}diff --git a/packages/desktop/src/main/index.ts b/packages/desktop/src/main/index.tsindex f3d3c2965..23a8155ce 100644--- a/packages/desktop/src/main/index.ts+++ b/packages/desktop/src/main/index.ts@@ -74,6 +74,7 @@ import {import {AGENTS_SKILLS_ROOT,CLIENT_VERSION_HEADER,+ estimateSkillCost,hasUninstallFeedbackContent,type LanguagePreference,OPENKNOWLEDGE_SKILLS_REPO,@@ -92,6 +93,7 @@ import type {OkTerminalDockStateWriteResult,OkTerminalRestartSnapshot,} from '@inkeep/open-knowledge-core/desktop-bridge';+import { parseSkillDir } from '@inkeep/open-knowledge-core/skills-catalog';import {assertGitAvailable,BUNDLE_SKILL_NAME,@@ -108,12 +110,14 @@ import {isProcessAlive,normalizeFsPath,prepareSingleFileOpen,+ type ResolvedSkillHost,RUNTIME_VERSION,readBundleDecision,readServerLock,readServerPackageVersion,recordSkillInstallEvent,reportSkillInstall,+ resolveBuiltinSkillHosts,resolveBundledSkillDir,resolveLockDir,resolveSkillInstallReportSettings,@@ -522,6 +526,66 @@ const VIBRANCY_DEFAULT: VibrancyMaterial = 'sidebar';const AGENTS_HUB_DIR = AGENTS_SKILLS_ROOT.split('/')[0] ?? '.agents';+/**+ * The skills roots a confirmed install actually writes, `~`-relative and in+ * disclosure order. One walk feeds all three consumers - the destination list,+ * the install state, and the post-install verification - because those three+ * disagreeing is exactly the bug this replaced: `installed` probed only the+ * central store, while the reclaim writes that store solely when `~/.agents`+ * already exists (it never creates the hub). A user with a detected editor and+ * no hub installed successfully, failed verification, got+ * "Couldn't install <name>.", and kept a permanent Install button.+ *+ * Mapped by `skillsRoot`, not `hostDir + '/skills'` - Pi's user root is+ * `.pi/agent/skills`, which the naive shape renders wrong.+ */+function installedSkillRoots(home: string): string[] {+ return [+ ...(existsSync(join(home, AGENTS_HUB_DIR)) ? [AGENTS_SKILLS_ROOT] : []),+ ...USER_SKILL_HOSTS.filter((h) => existsSync(join(home, h.hostDir))).map((h) => h.skillsRoot),+ ];+}++/** True when `name` occupies any root a confirmed install would have written. */+function builtinSkillInstalled(home: string, name: string): boolean {+ return installedSkillRoots(home).some((root) => existsSync(join(home, root, name)));+}++/**+ * One derivation of a built-in skill's install disclosure — its own+ * description, three-tier cost, install state, and the exact destination paths+ * a confirmed install writes. Shared by the persistent Settings status and the+ * first-launch consent descriptor so both surfaces disclose the same skill the+ * same way and a destination-list drift between them is structurally impossible.+ *+ * `paths` mirrors the reclaim's own destination set and BOTH its gates: the hub+ * entry only when `~/.agents` already exists (the reclaim never creates it), and+ * `USER_SKILL_HOSTS` mapped by `skillsRoot` (not `hostDir + '/skills'` — Pi's+ * user root is `.pi/agent/skills`, which the naive shape renders wrong). Both+ * degrade fail-soft: a missing packaged asset gives an empty `sourceDir` (no+ * preview link, no cost), an unreadable bundle a null parse (no description, no+ * cost) — never a thrown group.+ */+function computeBuiltinSkillDisclosure(home: string, id: (typeof USER_GLOBAL_BUNDLE_IDS)[number]) {+ const name = BUNDLE_SKILL_NAME[id];+ let sourceDir: string;+ try {+ sourceDir = resolveBundledSkillDir(id, { checkDesktop: false });+ } catch {+ sourceDir = '';+ }+ const parsed = sourceDir ? parseSkillDir(sourceDir) : null;+ const roots = installedSkillRoots(home);+ return {+ name,+ description: parsed?.description ?? '',+ size: parsed ? estimateSkillCost(parsed) : undefined,+ installed: roots.some((root) => existsSync(join(home, root, name))),+ sourceDir,+ paths: roots.map((root) => `~/${root}/${name}`),+ };+}+// Chrome stack is per-platform. Electron applies `titleBarStyle:// 'hiddenInset'` / `vibrancy` / `visualEffectState` / `transparent` /// `trafficLightPosition` on every platform that supports them — un-gated, a@@ -4423,14 +4487,31 @@ function createMcpWiringOpts(opts: ArmMcpWiringOpts = {}) {// to install the enabled set and tear down any declined-but-present// bundle — one code path for install + removal.skills: {- computeDescriptors: () =>- USER_GLOBAL_BUNDLE_IDS.map((id) => ({- id,- name: BUNDLE_SKILL_NAME[id],- alreadyInstalled: existsSync(- join(osHomedir(), '.agents', 'skills', BUNDLE_SKILL_NAME[id]),- ),- })),+ computeDescriptors: () => {+ const home = osHomedir();+ // Resolve reach once — identical for every built-in. A ledger read can+ // throw (realpath containment), so degrade to zero hosts, which disables+ // the row's checkbox rather than dropping every skill row for the boot.+ let resolvedHosts: ResolvedSkillHost[];+ try {+ resolvedHosts = resolveBuiltinSkillHosts(home);+ } catch {+ resolvedHosts = [];+ }+ const hosts = resolvedHosts.map((h) => h.editor);+ return USER_GLOBAL_BUNDLE_IDS.map((id) => {+ const d = computeBuiltinSkillDisclosure(home, id);+ return {+ id,+ name: d.name,+ alreadyInstalled: d.installed,+ description: d.description,+ size: d.size,+ hosts,+ paths: d.paths,+ };+ });+ },applyConsent: async (enabledIds: readonly string[]) => {const home = osHomedir();// The consent dialog is the trust boundary: a failed decision write@@ -6704,35 +6785,32 @@ function registerIntegrationsSettingsIpc(): void {},},skills: {- computeStatuses: () =>- USER_GLOBAL_BUNDLE_IDS.map((id) => {- const home = osHomedir();- const name = BUNDLE_SKILL_NAME[id];+ computeStatuses: () => {+ const home = osHomedir();+ // Resolve reach once — the target set is identical for every built-in.+ // The ledger read touches the filesystem (realpath containment), so a+ // throw degrades to zero hosts, keeping the skill rows visible instead+ // of emptying the whole group.+ let resolvedHosts: ResolvedSkillHost[];+ try {+ resolvedHosts = resolveBuiltinSkillHosts(home);+ } catch {+ resolvedHosts = [];+ }+ return USER_GLOBAL_BUNDLE_IDS.map((id) => {+ const d = computeBuiltinSkillDisclosure(home, id);return {id,- name,- installed: existsSync(join(home, '.agents', 'skills', name)),- // Mirror the reclaim's own destination set and BOTH its gates, so- // this row can never advertise a copy that will not be written.- //- // USER_SKILL_HOSTS, not the project-shaped host list: that one drops- // Copilot and Pi by design, which silently omitted `~/.copilot`,- // `~/.pi/agent` and `~/.gemini` from a list users read as complete.- // And map `skillsRoot`, not `hostDir + '/skills'`: Pi's user root is- // `.pi/agent/skills`, which the naive shape renders as a `~/.pi/skills`- // that does not exist.- paths: [- // The hub is written only when it already exists — the reclaim- // never creates it. Same gate here.- ...(existsSync(join(home, AGENTS_HUB_DIR))- ? [`~/${AGENTS_SKILLS_ROOT}/${name}`]- : []),- ...USER_SKILL_HOSTS.filter((h) => existsSync(join(home, h.hostDir))).map(- (h) => `~/${h.skillsRoot}/${name}`,- ),- ],+ name: d.name,+ description: d.description,+ installed: d.installed,+ size: d.size,+ sourceDir: d.sourceDir,+ resolvedHosts,+ paths: d.paths,};- }),+ });+ },setEnabled: async (bundleId, enabled) => {const home = osHomedir();const id = USER_GLOBAL_BUNDLE_IDS.find((b) => b === bundleId);@@ -6767,10 +6845,11 @@ function registerIntegrationsSettingsIpc(): void {} catch (err) {return { ok: false as const, error: formatUnknownError(err) };}- // Verify by effect — the reclaim reports per-target entries, but the- // central-store dir is the definitive "installed" signal every other- // surface reads.- if (!existsSync(join(home, '.agents', 'skills', name))) {+ // Verify by effect against the same roots the disclosure lists. The+ // central store alone is NOT the signal: the reclaim skips it entirely+ // when `~/.agents` does not already exist, so probing only there failed+ // every install on a machine without the hub.+ if (!builtinSkillInstalled(home, name)) {return { ok: false as const, error: `Couldn't install ${name}.` };}return { ok: true as const };@@ -6819,6 +6898,19 @@ function registerProjectIntegrationsSettingsIpc(): void {projectConfigPath: (id, projectDir) =>EDITOR_TARGETS[id].projectConfigPath?.(projectDir) ?? null,projectSkillPath: (id, projectDir) => EDITOR_TARGETS[id].projectSkillPath?.(projectDir) ?? null,+ // Same read the user-global rows use: parse the shipped bundle and price it+ // from its own bytes, so the project row cannot quote a stale figure.+ projectSkillBundle: () => {+ // resolveBundledSkillDir throws when the bundled asset is missing (a dev+ // tree that never ran the bundle build). Let it propagate: the caller+ // already catches it, logs the cause, and degrades the row to no cost+ // line - catching it here produced the same degraded row with no log at+ // all, which made the caller's warn dead code for this path.+ const sourceDir = resolveBundledSkillDir('project', { checkDesktop: false });+ const parsed = sourceDir ? parseSkillDir(sourceDir) : null;+ if (!parsed) return null;+ return { sourceDir, description: parsed.description ?? '', size: estimateSkillCost(parsed) };+ },entryLocator: (id) => {const target = EDITOR_TARGETS[id];// `format: 'file'` targets (Pi) own a whole managed file, not a keyeddiff --git a/packages/desktop/src/main/integrations-settings.test.ts b/packages/desktop/src/main/integrations-settings.test.tsindex 8ad722662..71334815a 100644--- a/packages/desktop/src/main/integrations-settings.test.ts+++ b/packages/desktop/src/main/integrations-settings.test.ts@@ -144,14 +144,20 @@ function makeSkills({id: 'discovery',name: 'open-knowledge-discovery',+ description: 'Recognize OpenKnowledge projects.',installed: installed.has('discovery'),paths: ['~/.agents/skills/open-knowledge-discovery'],+ sourceDir: '/bundles/open-knowledge-discovery',+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],},{id: 'write-skill',name: 'open-knowledge-write-skill',+ description: 'Author new Agent Skills.',installed: installed.has('write-skill'),paths: ['~/.agents/skills/open-knowledge-write-skill'],+ sourceDir: '/bundles/open-knowledge-write-skill',+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],},],setEnabled: async (bundleId, enabled) => {@@ -289,14 +295,20 @@ describe('ok:integrations:dispatch — status', () => {{id: 'discovery',name: 'open-knowledge-discovery',+ description: 'Recognize OpenKnowledge projects.',installed: true,paths: ['~/.agents/skills/open-knowledge-discovery'],+ sourceDir: '/bundles/open-knowledge-discovery',+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],},{id: 'write-skill',name: 'open-knowledge-write-skill',+ description: 'Author new Agent Skills.',installed: false,paths: ['~/.agents/skills/open-knowledge-write-skill'],+ sourceDir: '/bundles/open-knowledge-write-skill',+ resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],},]);});diff --git a/packages/desktop/src/main/mcp-wiring.ts b/packages/desktop/src/main/mcp-wiring.tsindex 6f8ff172a..51f6c63d8 100644--- a/packages/desktop/src/main/mcp-wiring.ts+++ b/packages/desktop/src/main/mcp-wiring.ts@@ -52,6 +52,7 @@ import type {McpWiringConfirmResult,McpWiringEditorDetection,McpWiringEditorId,+ McpWiringGlobalSkillDescriptor,McpWiringPathInstallDescriptor,McpWiringSkipResult,} from '../shared/ipc-channels.ts';@@ -354,12 +355,9 @@ export interface McpWiringPathInstallSurface {*/export interface McpWiringSkillsSurface {/** One row per user-global bundle for the dialog. Read-only — must not- * write. `alreadyInstalled` pre-checks the row (grandfathered install). */- computeDescriptors(): Array<{- id: string;- name: string;- alreadyInstalled: boolean;- }>;+ * write. `alreadyInstalled` pre-checks the row (grandfathered install);+ * the disclosure fields drive the row's cost/reach/destination display. */+ computeDescriptors(): McpWiringGlobalSkillDescriptor[];/*** Finalize the per-bundle decision. Records enabled for every id in* `enabledBundleIds` and declined for the rest, then installs the enableddiff --git a/packages/desktop/src/main/project-integrations-settings.test.ts b/packages/desktop/src/main/project-integrations-settings.test.tsindex faccee5a4..9d956c91a 100644--- a/packages/desktop/src/main/project-integrations-settings.test.ts+++ b/packages/desktop/src/main/project-integrations-settings.test.ts@@ -72,6 +72,11 @@ function makeCli(overrides: CliOverrides = {}): ProjectIntegrationsCliSurface &editorLabel: (id) => id,projectConfigPath: (id, projectDir) => (CONFIG[id] ? `${projectDir}/${CONFIG[id]}` : null),projectSkillPath: (id, projectDir) => (SKILL[id] ? `${projectDir}/${SKILL[id]}` : null),+ projectSkillBundle: () => ({+ sourceDir: '/bundled/project',+ description: 'Teaches coding agents in this project.',+ size: { alwaysOn: 140, onTrigger: 1495, onDemand: 0 },+ }),entryLocator: (id) =>id === 'codex' ? '[mcp_servers.open-knowledge]' : 'mcpServers.open-knowledge',classifyExistingProjectMcpConfig: (id) =>@@ -217,6 +222,38 @@ describe('registerProjectIntegrationsSettings — set', () => {if (!r.ok) expect(r.error).toContain('left unchanged');});+ test('the skill row carries reach, cost and source so the consent row can price it', async () => {+ const cli = makeCli();+ const { status } = register(cli);+ const r = await status();+ expect(r.skill).not.toBeNull();+ // Reach and paths are derived from ONE walk of the capable editors, so they+ // can never disagree about which editors are involved.+ expect(r.skill?.hosts).toEqual(['claude', 'codex']);+ expect(r.skill?.paths.length).toBe(2);+ expect(r.skill?.size).toEqual({ alwaysOn: 140, onTrigger: 1495, onDemand: 0 });+ expect(r.skill?.sourceDir).toBe('/bundled/project');+ // The bundle's own description, not a hand-written subtext that can drift.+ expect(r.skill?.description).toBe('Teaches coding agents in this project.');+ });++ test('an unreadable bundle costs the row its cost line, never the row itself', async () => {+ const cli = makeCli();+ const { status } = register({+ ...cli,+ projectSkillBundle: () => {+ throw new Error('bundled asset missing');+ },+ });+ const r = await status();+ // Still a row — installed state and destinations come from disk, not the+ // bundle — but with no cost figure and no preview affordance.+ expect(r.skill).not.toBeNull();+ expect(r.skill?.hosts).toEqual(['claude', 'codex']);+ expect(r.skill?.size).toBeUndefined();+ expect(r.skill?.sourceDir).toBeUndefined();+ });+test('skill install fans out to every capable editor', async () => {const cli = makeCli();const { set } = register(cli);diff --git a/packages/desktop/src/main/project-integrations-settings.ts b/packages/desktop/src/main/project-integrations-settings.tsindex 4155d8566..8da8859d6 100644--- a/packages/desktop/src/main/project-integrations-settings.ts+++ b/packages/desktop/src/main/project-integrations-settings.ts@@ -45,6 +45,7 @@ import type {ProjectIntegrationsSetRequest,ProjectIntegrationsSetResult,ProjectIntegrationsStatus,+ SkillCostTiers,} from '../shared/ipc-channels.ts';import { createHandler } from '../shared/ipc-handler.ts';import { classifyEditorState } from './integrations-settings.ts';@@ -76,6 +77,15 @@ export interface ProjectIntegrationsCliSurface {/** Absolute project skill `SKILL.md` path, or null when the editor exposes* no project-scope skill surface. */projectSkillPath(id: McpWiringEditorId, projectDir: string): string | null;+ /** The bundled project skill as shipped: its on-disk source, its own+ * frontmatter description and its three-tier cost. Injected rather than+ * resolved here so this module stays Electron-free and unit-testable.+ * Returns null when the bundle cannot be read. */+ projectSkillBundle(): {+ sourceDir: string;+ description: string;+ size?: SkillCostTiers;+ } | null;/** Technical locator of OK's entry inside the config — disclosure only. */entryLocator(id: McpWiringEditorId): string;classifyExistingProjectMcpConfig(@@ -219,7 +229,12 @@ export function registerProjectIntegrationsSettings(});editors = [];}- const skillPaths = editorsWithProjectSkill(projectDir)+ // Reach and paths come from the SAME editor set, walked once, so the+ // cluster can never name an editor the paths omit (or the reverse).+ const skillHosts = editorsWithProjectSkill(projectDir).filter(+ (id) => cli.projectSkillPath(id, projectDir) !== null,+ );+ const skillPaths = skillHosts.map((id) => cli.projectSkillPath(id, projectDir)).filter((p): p is string => p !== null).map((p) => relative(projectDir, p));@@ -234,7 +249,22 @@ export function registerProjectIntegrationsSettings(err,});}- skill = { installed, paths: skillPaths };+ // Best-effort: an unreadable bundle costs the row its cost line and+ // preview affordance, never the row itself.+ let bundle: ReturnType<ProjectIntegrationsCliSurface['projectSkillBundle']> = null;+ try {+ bundle = cli.projectSkillBundle();+ } catch (err) {+ logger.warn('project skill bundle read failed', { err });+ }+ skill = {+ installed,+ paths: skillPaths,+ hosts: skillHosts,+ description: bundle?.description ?? '',+ ...(bundle?.size ? { size: bundle.size } : {}),+ ...(bundle?.sourceDir ? { sourceDir: bundle.sourceDir } : {}),+ };}return { available, hasProject: true, projectDir: tildify(projectDir), editors, skill };}diff --git a/packages/desktop/src/shared/ipc-channels.ts b/packages/desktop/src/shared/ipc-channels.tsindex af77d3195..770fbbc03 100644--- a/packages/desktop/src/shared/ipc-channels.ts+++ b/packages/desktop/src/shared/ipc-channels.ts@@ -109,6 +109,7 @@ import type {OkBugReportSendResult,OkFolderState,ShareTargetStatusResponse,+ SkillCostTiers,TerminalCli,UninstallDispatchRequest,UninstallDispatchResult,@@ -162,6 +163,7 @@ import type { EntryPoint } from './entry-point.ts';export type EditorActiveTargetSnapshot = OkEditorActiveTargetSnapshot;export type EditorViewMenuStateSnapshot = OkEditorViewMenuStateSnapshot;+export type { SkillCostTiers };export type MenuDispatchRole = OkMenuDispatchRole;export type MenuDispatchCommand = OkMenuDispatchCommand;export type MenuDispatchRequest = OkMenuDispatchRequest;@@ -506,11 +508,21 @@ export interface McpWiringConfirmRequest {/** One user-global skill row in the first-launch consent dialog. Computed* read-only at arming time from `USER_GLOBAL_BUNDLE_IDS` + disk/marker state.* `alreadyInstalled: true` renders the row pre-checked as an existing install- * the user can uncheck to remove. */+ * the user can uncheck to remove. The disclosure fields mirror the Settings+ * skill status so both consent surfaces show the same what/cost/where; `hosts`+ * empty ⇒ nowhere to land and the row disables its checkbox. */export interface McpWiringGlobalSkillDescriptor {readonly id: string;readonly name: string;readonly alreadyInstalled: boolean;+ /** The skill's own frontmatter description. */+ readonly description: string;+ /** Three-tier context cost; absent when the packaged bundle is unreadable. */+ readonly size?: SkillCostTiers;+ /** Resolved reach: static editor ids plus declared custom-root paths. */+ readonly hosts: readonly string[];+ /** Destination paths a confirmed install writes (or an uninstall removes). */+ readonly paths: readonly string[];}/** Confirm / skip response shape. `ok:false` surfaces when (a)@@ -556,13 +568,34 @@ export interface IntegrationsPathStatus {readonly installed: boolean;}+/** One resolved install target for a built-in skill: a static agent host, or a+ * custom root the user declared. For a custom root `editor === skillsRoot` (the+ * path is its id — there is no agent name). Resolved in main; the renderer+ * never re-derives reach from it. */+export interface IntegrationsResolvedSkillHost {+ readonly editor: string;+ readonly skillsRoot: string;+ readonly custom: boolean;+}+export interface IntegrationsSkillStatus {readonly id: string;readonly name: string;+ /** The skill's own frontmatter description; empty when the bundle is+ * unreadable. Replaces the hand-written per-id subtext on the row. */+ readonly description: string;readonly installed: boolean;/** Tildified directories a toggle touches: the central `~/.agents/skills`* copy plus each per-host copy whose host root exists on this machine. */readonly paths: readonly string[];+ /** Three-tier context cost from the shared estimator. Absent when the bundle+ * could not be parsed (broken build) — the row hides the cost. */+ readonly size?: SkillCostTiers;+ /** On-disk source directory of the built-in bundle (its SKILL.md + files). */+ readonly sourceDir: string;+ /** Every place this skill would install: static agent hosts present on disk+ * plus declared custom roots. */+ readonly resolvedHosts: readonly IntegrationsResolvedSkillHost[];}/** Full component inventory for Settings → AI tools. `available: false`@@ -640,6 +673,18 @@ export interface ProjectIntegrationsEditorStatus {export interface ProjectIntegrationsSkillStatus {readonly installed: boolean;readonly paths: readonly string[];+ /** The bundle's own frontmatter description, so the row states what the skill+ * says rather than a hand-written subtext that can drift from it. */+ readonly description: string;+ /** Editor ids the project skill fans out to — the reach cluster's input.+ * Project-scoped: the editors with a project skill root HERE, not the+ * user-global host set. */+ readonly hosts: readonly string[];+ /** Three-tier context cost of the bundled project skill. Absent when the+ * bundle cannot be read. */+ readonly size?: SkillCostTiers;+ /** On-disk source of the bundled skill, so the row can open its preview. */+ readonly sourceDir?: string;}/** Component inventory for Settings → This project → AI tools. `hasProject:diff --git a/packages/server/src/api-extension.ts b/packages/server/src/api-extension.tsindex 1a30f0c44..bdecbda17 100644--- a/packages/server/src/api-extension.ts+++ b/packages/server/src/api-extension.ts@@ -14793,6 +14793,7 @@ export function createApiExtension(absolutePath: resolve(contentDir, s.dir, 'SKILL.md'),installed: true,hosts: [...s.hosts],+ size: s.size,installableEditors: projectInstallableEditors,...(s.linkedHosts.length > 0 ? { symlinkedHosts: [...s.linkedHosts] } : {}),...(Object.keys(projectAliases).length > 0 ? { hostAliases: projectAliases } : {}),@@ -14857,6 +14858,7 @@ export function createApiExtension(absolutePath: resolve(skillsHome, s.dir, 'SKILL.md'),installed: true,hosts: [...s.hosts],+ size: s.size,installableEditors: globalInstallableEditors,...(s.linkedHosts.length > 0 ? { symlinkedHosts: [...s.linkedHosts] } : {}),...(Object.keys(globalAliases).length > 0 ? { hostAliases: globalAliases } : {}),diff --git a/packages/server/src/in-place-skills.test.ts b/packages/server/src/in-place-skills.test.tsindex 685e827c8..e8552b3ef 100644--- a/packages/server/src/in-place-skills.test.ts+++ b/packages/server/src/in-place-skills.test.ts@@ -1,4 +1,13 @@-import { existsSync, mkdirSync, mkdtempSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';+import {+ existsSync,+ mkdirSync,+ mkdtempSync,+ readFileSync,+ rmSync,+ symlinkSync,+ utimesSync,+ writeFileSync,+} from 'node:fs';import { tmpdir } from 'node:os';import { join } from 'node:path';import { parseSkillDir } from '@inkeep/open-knowledge-core/skills-catalog';@@ -221,6 +230,46 @@ describe('scanInPlaceSkills (list projection)', () => {expect(a?.conflictHosts).toEqual(['codex']);});+ test('size reports the three tiers from the on-disk bundle, excluding non-readable files', () => {+ writeSkill(contentDir, '.claude/skills/foo', '# Foo body content');+ // A readable reference contributes to on-demand; a script never does — the+ // producer feeds the estimator the real tree, which filters by extension.+ mkdirSync(join(contentDir, '.claude/skills/foo/references'), { recursive: true });+ writeFileSync(join(contentDir, '.claude/skills/foo/references/ref.md'), 'x'.repeat(400));+ mkdirSync(join(contentDir, '.claude/skills/foo/scripts'), { recursive: true });+ writeFileSync(join(contentDir, '.claude/skills/foo/scripts/run.sh'), 'y'.repeat(400));++ const foo = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');+ // name ("foo"=3) + description ("d"=1) = 4 chars / 4.+ expect(foo?.size.alwaysOn).toBe(1);+ expect(foo?.size.onTrigger).toBeGreaterThan(0);+ // 400-char readable .md → 100 tokens; the equal-length .sh contributes zero.+ expect(foo?.size.onDemand).toBe(100);+ });++ test('a bundle with no references reports zero on-demand', () => {+ writeSkill(contentDir, '.claude/skills/bare', '# just a body');+ const bare = scanInPlaceSkills(contentDir).find((s) => s.name === 'bare');+ expect(bare?.size.onDemand).toBe(0);+ });++ test('a symlinked bundle dir is followed for size (corpus is symlinks into a shared dir)', () => {+ const shared = join(contentDir, 'shared-store', 'foo');+ mkdirSync(shared, { recursive: true });+ writeFileSync(+ join(shared, 'SKILL.md'),+ `---\nname: foo\ndescription: d\n---\n\n${'z'.repeat(80)}\n`,+ );+ mkdirSync(join(contentDir, '.claude/skills'), { recursive: true });+ symlinkSync(shared, join(contentDir, '.claude/skills/foo'), 'dir');++ const foo = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');+ expect(foo?.dir).toBe('.claude/skills/foo');+ // The body lives only behind the symlink; a non-zero on-trigger proves the+ // walk read through it.+ expect(foo?.size.onTrigger).toBeGreaterThan(0);+ });+test('.agents/skills is a first-class host and wins precedence among same-hash copies (R14)', () => {writeSkill(contentDir, '.agents/skills/foo', '# Same');writeSkill(contentDir, '.claude/skills/foo', '# Same');@@ -237,6 +286,68 @@ describe('scanInPlaceSkills (list projection)', () => {});});+describe('parse cache (bundle stamp invalidation)', () => {+ let contentDir: string;+ // A pinned mtime so the stamp is controlled explicitly rather than left to+ // depend on filesystem clock resolution between successive writes.+ const PINNED = new Date(1_700_000_000_000);+ beforeEach(() => {+ contentDir = mkdtempSync(join(tmpdir(), 'ok-parse-cache-'));+ });+ afterEach(() => {+ rmSync(contentDir, { recursive: true, force: true });+ });++ const skillMdOf = (name: string) => join(contentDir, `.claude/skills/${name}/SKILL.md`);++ test('serves an unchanged bundle from cache: a stamp-preserving edit is not re-read', () => {+ writeSkill(contentDir, '.claude/skills/foo', '# body one');+ utimesSync(skillMdOf('foo'), PINNED, PINNED);+ const first = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');++ // Swap the body for different bytes of the SAME length and restore the pinned+ // mtime: relpath+size+mtime are unchanged, so the stamp matches. A re-parse+ // would surface the new hash; the cache returns the old one.+ const swapped = readFileSync(skillMdOf('foo'), 'utf8').replace('# body one', '# body two');+ writeFileSync(skillMdOf('foo'), swapped);+ utimesSync(skillMdOf('foo'), PINNED, PINNED);++ const second = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');+ expect(second?.contentHash).toBe(first?.contentHash);+ });++ test('a file-size change invalidates the cache and moves the reported size', () => {+ writeSkill(contentDir, '.claude/skills/foo', '# short');+ const first = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');++ // A real on-disk edit that grows the body must surface on the next list, not a+ // permanently cached figure.+ writeFileSync(+ skillMdOf('foo'),+ `---\nname: foo\ndescription: d\n---\n\n${'word '.repeat(200)}\n`,+ );+ const second = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');+ expect(second?.contentHash).not.toBe(first?.contentHash);+ expect(second?.size.onTrigger).toBeGreaterThan(first?.size.onTrigger ?? 0);+ });++ test('an mtime-only change (identical size) invalidates the cache', () => {+ writeSkill(contentDir, '.claude/skills/foo', '# one');+ utimesSync(skillMdOf('foo'), PINNED, PINNED);+ const first = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');++ // Same-length body swap (size identical) with a bumped mtime: mtime is the ONLY+ // changed stamp field, so a re-parse here proves mtime alone invalidates.+ const swapped = readFileSync(skillMdOf('foo'), 'utf8').replace('# one', '# two');+ writeFileSync(skillMdOf('foo'), swapped);+ const later = new Date(PINNED.getTime() + 5000);+ utimesSync(skillMdOf('foo'), later, later);++ const second = scanInPlaceSkills(contentDir).find((s) => s.name === 'foo');+ expect(second?.contentHash).not.toBe(first?.contentHash);+ });+});+describe('global tier (R12): scanGlobalInPlaceSkills + resolveGlobalNativeSkillDir', () => {let home: string;beforeEach(() => {diff --git a/packages/server/src/in-place-skills.ts b/packages/server/src/in-place-skills.tsindex d39392f05..d71719e1a 100644--- a/packages/server/src/in-place-skills.ts+++ b/packages/server/src/in-place-skills.ts@@ -24,7 +24,9 @@ import {EDITOR_PROJECT_SKILL_ROOT,EDITOR_USER_SKILL_ROOT,type EditorId,+ estimateSkillCost,LEGACY_SKILL_STORE_ROOT,+ type SkillCostTiers,type SkillScope,skillRootActivationPath,} from '@inkeep/open-knowledge-core';@@ -86,10 +88,15 @@ export interface InPlaceSkill {readonly copyDirs: readonly string[];/** `parseSkillDir` bundle hash of the canonical — the dedup/Modified identity. */readonly contentHash: string;+ /** Three-tier context cost of the canonical bundle (always-on / on-trigger /+ * on-demand), estimated in the same parse the hash rides so no second walk+ * reads the bytes. */+ readonly size: SkillCostTiers;}interface ScanOccurrence extends LocatedSkillOccurrence {readonly description: string;+ readonly size: SkillCostTiers;readonly viaLink: boolean;/** The occurrence lives under an ALIASED root (the folder or a parent is a* symlink) — a VIEW of another location. Never electable as canonical@@ -358,16 +365,30 @@ function bundleStamp(absDir: string): string | null {* `~/.claude/skills` at global tier) — the reported UI slowness. Unchanged* bundles (stamp match) skip the content read entirely. Bounded in practice* by the number of skill dirs on the machine. */-const parseCache = new Map<string, { stamp: string; contentHash: string; description: string }>();+const parseCache = new Map<+ string,+ { stamp: string; contentHash: string; description: string; size: SkillCostTiers }+>();-function parseSkillDirCached(absDir: string): { contentHash: string; description: string } | null {+function parseSkillDirCached(+ absDir: string,+): { contentHash: string; description: string; size: SkillCostTiers } | null {const stamp = bundleStamp(absDir);if (stamp === null) return null;const hit = parseCache.get(absDir);if (hit !== undefined && hit.stamp === stamp) return hit;const parsed = parseSkillDir(absDir);if (!parsed) return null;- const entry = { stamp, contentHash: parsed.contentHash, description: parsed.description };+ // `parsed` already holds every bundle byte the hash was computed over, so the+ // cost estimate is a pure pass over it — the size rides the parse, never a+ // second read of the tree. Cached under the same stamp, so a byte change on+ // disk invalidates the size alongside the hash.+ const entry = {+ stamp,+ contentHash: parsed.contentHash,+ description: parsed.description,+ size: estimateSkillCost(parsed),+ };parseCache.set(absDir, entry);return entry;}@@ -414,6 +435,7 @@ function scanBase(base: string, scope: SkillScope): InPlaceSkill[] {contentHash: parsed.contentHash,dir: `${root}/${entry}`,description: parsed.description,+ size: parsed.size,viaLink: rootAliased || lstatSync(absDir).isSymbolicLink(),...(rootAliased ? { aliasRooted: true } : {}),...(sourcePrefs[entry] === editor ? { preferredSource: true } : {}),@@ -485,6 +507,7 @@ function scanBase(base: string, scope: SkillScope): InPlaceSkill[] {conflictHosts,copyDirs: realCopies.filter((c) => !c.viaLink).map((c) => c.dir),contentHash: g.contentHash,+ size: g.canonical.size,};}));diff --git a/packages/server/src/index.ts b/packages/server/src/index.tsindex e9d0e5054..c658fee03 100644--- a/packages/server/src/index.ts+++ b/packages/server/src/index.ts@@ -541,6 +541,8 @@ export {type InstallUserSkillOptions,type InstallUserSkillResult,installUserSkill,+ type ResolvedSkillHost,+ resolveBuiltinSkillHosts,type SkillInstallLogger,type SpawnLike,} from './skill-install.ts';diff --git a/packages/server/src/skill-install.test.ts b/packages/server/src/skill-install.test.tsindex d58985028..40f470623 100644--- a/packages/server/src/skill-install.test.ts+++ b/packages/server/src/skill-install.test.ts@@ -26,6 +26,7 @@ import {buildAndOpenSkill,detectUserSkillHosts,installUserSkill,+ resolveBuiltinSkillHosts,type SkillInstallLogger,type SpawnLike,} from './skill-install.ts';@@ -324,6 +325,61 @@ describe('installUserSkill — scope discipline', () => {});});+/** Declare custom roots in the placements ledger `resolveBuiltinSkillHosts` reads. */+function seedDeclaredRoots(home: string, roots: string[]): void {+ const dir = join(home, '.ok', 'local');+ mkdirSync(dir, { recursive: true });+ writeFileSync(join(dir, 'skill-placements.json'), JSON.stringify({ roots }));+}++describe('resolveBuiltinSkillHosts', () => {+ test('with no declared roots, resolves only the static hosts present on disk', () => {+ const home = freshHome();+ expect(resolveBuiltinSkillHosts(home)).toEqual([]);+ installHost(home, '.codex');+ expect(resolveBuiltinSkillHosts(home)).toEqual([+ { editor: 'codex', skillsRoot: '.codex/skills', custom: false },+ ]);+ });++ test('includes a declared custom root that exists on disk', () => {+ const home = freshHome();+ seedDeclaredRoots(home, ['.tim/skills']);+ installHost(home, '.tim/skills');+ expect(resolveBuiltinSkillHosts(home)).toContainEqual({+ editor: '.tim/skills',+ skillsRoot: '.tim/skills',+ custom: true,+ });+ });++ test('skips a declared custom root that no longer exists on disk', () => {+ const home = freshHome();+ seedDeclaredRoots(home, ['.tim/skills']);+ expect(resolveBuiltinSkillHosts(home).some((host) => host.custom)).toBe(false);+ });++ test('a declared root duplicating a static host appears once', () => {+ const home = freshHome();+ installHost(home, '.codex');+ seedDeclaredRoots(home, ['.codex/skills']);+ installHost(home, '.codex/skills');+ expect(+ resolveBuiltinSkillHosts(home).filter((host) => host.skillsRoot === '.codex/skills'),+ ).toEqual([{ editor: 'codex', skillsRoot: '.codex/skills', custom: false }]);+ });++ test('an unreadable placements ledger degrades to the static hosts only', () => {+ const home = freshHome();+ installHost(home, '.codex');+ mkdirSync(join(home, '.ok', 'local'), { recursive: true });+ writeFileSync(join(home, '.ok', 'local', 'skill-placements.json'), '{ not json');+ expect(resolveBuiltinSkillHosts(home)).toEqual([+ { editor: 'codex', skillsRoot: '.codex/skills', custom: false },+ ]);+ });+});+describe('installUserSkill — fresh install', () => {test('no sidecar + a detected host → writes the bundle, returns "installed"', async () => {const home = freshHome();diff --git a/packages/server/src/skill-install.ts b/packages/server/src/skill-install.tsindex 20e755682..cd56ab354 100644--- a/packages/server/src/skill-install.ts+++ b/packages/server/src/skill-install.ts@@ -22,6 +22,7 @@ import { getLogger } from './logger.ts';import { BUNDLE_SKILL_NAME, type BundleId } from './skill-bundles.ts';import { recordSkillInstallEvent, type SkillInstallEventOutcome } from './skill-install-events.ts';import { resolveSkillInstallReportSettings } from './skill-install-report-config.ts';+import { readKnownSkillPlacementRoots } from './skill-placements-store.ts';import {readBundleDecision,readServerPackageVersion,@@ -135,6 +136,42 @@ export function detectUserSkillHosts(home: string): DetectedSkillHost[] {return USER_SKILL_HOSTS.filter((host) => existsSync(join(home, host.hostDir)));}+/**+ * A resolved user-global built-in-skill install target: a static agent host, or+ * a custom root the user declared in the placements ledger.+ */+export interface ResolvedSkillHost {+ /** editorId for a static agent host; the home-relative root path for a+ * declared custom root, which has no agent name — the path is its id. */+ readonly editor: string;+ /** Home-relative skills root, e.g. `.claude/skills`, `.pi/agent/skills`,+ * `.tim/skills`. */+ readonly skillsRoot: string;+ /** True when this came from the declared-roots ledger, not the static host list. */+ readonly custom: boolean;+}++/**+ * Every place a user-global built-in skill would land under `home`: the static+ * agent hosts present on disk (see {@link detectUserSkillHosts}) plus the custom+ * roots the user declared in the placements ledger and that still exist. No+ * directory scanning — a root is a target only because a static host root exists+ * or the user nominated it. A declared root no longer on disk is skipped; one+ * that coincides with a static host root is not repeated.+ */+export function resolveBuiltinSkillHosts(home: string): ResolvedSkillHost[] {+ const staticHosts: ResolvedSkillHost[] = detectUserSkillHosts(home).map((host) => ({+ editor: host.editorId,+ skillsRoot: host.skillsRoot,+ custom: false,+ }));+ const seen = new Set(staticHosts.map((host) => host.skillsRoot));+ const customHosts: ResolvedSkillHost[] = readKnownSkillPlacementRoots(home)+ .filter((root) => !seen.has(root) && existsSync(join(home, root)))+ .map((root) => ({ editor: root, skillsRoot: root, custom: true }));+ return [...staticHosts, ...customHosts];+}+/*** The project-scoped counterpart of `detectUserSkillHosts`: editors this PROJECT* has adopted, by the same activation-path rule.diff --git a/packages/server/src/skill-source-cache.test.ts b/packages/server/src/skill-source-cache.test.tsnew file mode 100644index 000000000..7a87b67b2--- /dev/null+++ b/packages/server/src/skill-source-cache.test.ts@@ -0,0 +1,163 @@+import { execFileSync } from 'node:child_process';+import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import {+ discoverSkillDirs,+ parseSkillDir,+ type SourceSpec,+} from '@inkeep/open-knowledge-core/skills-catalog';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { clearSourceCache, fetchCachedSource } from './skill-source-cache.ts';++interface SkillFixture {+ dir: string;+ name: string;+ description: string;+ body?: string;+}++function skillMd(f: SkillFixture): string {+ return [+ '---',+ `name: ${f.name}`,+ `description: ${f.description}`,+ '---',+ '',+ f.body ?? 'Body.',+ '',+ ].join('\n');+}++/**+ * Build a REAL local git repo holding the given skill dirs. `fetchSource` clones+ * a bare local path with no transport scheme, so this exercises the actual git+ * clone path (clone, HEAD rev-parse, temp dir, cleanup) with no network.+ */+function makeGitRepo(skills: SkillFixture[]): string {+ const repo = mkdtempSync(join(tmpdir(), 'ok-source-cache-repo-'));+ for (const s of skills) {+ const d = join(repo, s.dir);+ mkdirSync(d, { recursive: true });+ writeFileSync(join(d, 'SKILL.md'), skillMd(s));+ }+ const git = (args: string[]) => execFileSync('git', ['-C', repo, ...args], { stdio: 'pipe' });+ git(['init', '-q']);+ git(['config', 'user.email', '[email protected]']);+ git(['config', 'user.name', 'Test']);+ git(['config', 'commit.gpgsign', 'false']);+ git(['add', '-A']);+ git(['commit', '-q', '-m', 'init']);+ return repo;+}++const gitSpec = (repo: string): SourceSpec => ({ kind: 'git', url: repo });++function skillNames(dir: string): string[] {+ return discoverSkillDirs(dir)+ .map((d) => parseSkillDir(d.dir)?.name)+ .filter((n): n is string => typeof n === 'string')+ .sort();+}++describe('fetchCachedSource', () => {+ const cleanupDirs: string[] = [];+ afterEach(async () => {+ await clearSourceCache();+ for (const d of cleanupDirs.splice(0)) rmSync(d, { recursive: true, force: true });+ });+ const repo = (skills: SkillFixture[]): string => {+ const r = makeGitRepo(skills);+ cleanupDirs.push(r);+ return r;+ };++ test('two sibling skills from one source clone the repo once', async () => {+ const src = repo([+ { dir: 'alpha', name: 'alpha', description: 'A' },+ { dir: 'beta', name: 'beta', description: 'B' },+ ]);+ const first = await fetchCachedSource(gitSpec(src));+ const second = await fetchCachedSource(gitSpec(src));+ // A second clone would mkdtemp a fresh dir; the same dir proves one clone.+ expect(second.dir).toBe(first.dir);+ // The cloned dir is exactly what the preview handler reads next.+ expect(skillNames(first.dir)).toEqual(['alpha', 'beta']);+ });++ test('concurrent sibling requests dedupe onto one in-flight clone', async () => {+ const src = repo([{ dir: 'alpha', name: 'alpha', description: 'A' }]);+ const [a, b] = await Promise.all([+ fetchCachedSource(gitSpec(src)),+ fetchCachedSource(gitSpec(src)),+ ]);+ expect(b.dir).toBe(a.dir);+ });++ test('distinct sources do not collide', async () => {+ const one = repo([{ dir: 'one', name: 'skill-one', description: 'One' }]);+ const two = repo([{ dir: 'two', name: 'skill-two', description: 'Two' }]);+ const a = await fetchCachedSource(gitSpec(one));+ const b = await fetchCachedSource(gitSpec(two));+ expect(a.dir).not.toBe(b.dir);+ expect(skillNames(a.dir)).toEqual(['skill-one']);+ expect(skillNames(b.dir)).toEqual(['skill-two']);+ });++ test('the clone path resolves a real commit sha and clearing removes the clone', async () => {+ const src = repo([{ dir: 'alpha', name: 'alpha', description: 'A' }]);+ const fetched = await fetchCachedSource(gitSpec(src));+ expect(fetched.ref).toMatch(/^[0-9a-f]{40}$/);+ const clonedDir = fetched.dir;+ expect(existsSync(clonedDir)).toBe(true);+ // The caller's own cleanup is a no-op — the cache owns removal on clear.+ fetched.cleanup();+ expect(existsSync(clonedDir)).toBe(true);+ await clearSourceCache();+ expect(existsSync(clonedDir)).toBe(false);+ });++ test('an entry past the TTL is swept, its clone removed, and the next call re-clones', async () => {+ const src = repo([{ dir: 'alpha', name: 'alpha', description: 'A' }]);+ const first = await fetchCachedSource(gitSpec(src));+ const clonedDir = first.dir;+ expect(existsSync(clonedDir)).toBe(true);++ // Fake ONLY Date: the clone path shells out to git, and faking the timer+ // wholesale would stall that I/O. The sweep reads Date.now(), so moving the+ // clock past the 30s window is the whole trigger.+ vi.useFakeTimers({ toFake: ['Date'] });+ let second: Awaited<ReturnType<typeof fetchCachedSource>>;+ try {+ vi.setSystemTime(Date.now() + 31_000);+ second = await fetchCachedSource(gitSpec(src));+ } finally {+ vi.useRealTimers();+ }++ // A fresh mkdtemp dir proves the expired entry was evicted, not served.+ expect(second.dir).not.toBe(clonedDir);+ expect(skillNames(second.dir)).toEqual(['alpha']);+ // Sweep-time cleanup is fire-and-forget, so the removal lands a tick later.+ await vi.waitFor(() => expect(existsSync(clonedDir)).toBe(false));+ });++ test('local sources bypass the cache and read in place', async () => {+ const dir = mkdtempSync(join(tmpdir(), 'ok-source-cache-local-'));+ cleanupDirs.push(dir);+ mkdirSync(join(dir, 'x'), { recursive: true });+ writeFileSync(join(dir, 'x', 'SKILL.md'), skillMd({ dir: 'x', name: 'x', description: 'X' }));+ const fetched = await fetchCachedSource({ kind: 'local', path: dir });+ expect(fetched.dir).toBe(dir);+ expect(fetched.ref).toBeUndefined();+ });++ test('a failed clone rejects without wedging the cache for other sources', async () => {+ const missing = join(tmpdir(), 'ok-source-cache-nonexistent-xyz');+ await expect(fetchCachedSource(gitSpec(missing))).rejects.toThrow();+ // A good source still resolves afterward — one failure didn't stick.+ const src = repo([{ dir: 'alpha', name: 'alpha', description: 'A' }]);+ const ok = await fetchCachedSource(gitSpec(src));+ expect(skillNames(ok.dir)).toEqual(['alpha']);+ });+});diff --git a/packages/server/src/skill-source-cache.ts b/packages/server/src/skill-source-cache.tsnew file mode 100644index 000000000..373d3fd36--- /dev/null+++ b/packages/server/src/skill-source-cache.ts@@ -0,0 +1,88 @@+import type { Fetched, SourceSpec } from '@inkeep/open-knowledge-core/skills-catalog';+import { fetchSource } from '@inkeep/open-knowledge-core/skills-catalog';++/**+ * A shallow clone of a repo is the expensive step behind every skill preview and+ * discover, and one repo holds many skills: previewing N siblings from one source+ * used to clone it N times (and a hover-then-open on the same source cloned it+ * twice more). This caches the fetched clone by resolved source so siblings, and+ * a discover followed by a preview, reuse ONE clone.+ *+ * The window is short on purpose: the remote HEAD can move, so a stale entry is+ * a momentary wrong figure, not a lasting one. Local sources read in place with+ * nothing to amortize, so they bypass the cache entirely.+ */+const TTL_MS = 30_000;++interface Entry {+ readonly fetched: Promise<Fetched>;+ readonly expiresAt: number;+}++const cache = new Map<string, Entry>();++/**+ * Key the clone by the RESOLVED source, not by skill name: two skills in one+ * repo resolve to the same spec and must share the clone. Distinct repos, refs,+ * or website bundles produce distinct keys so they never serve each other's+ * bytes. A website bundle materializes one skill at a time, so its key carries+ * the skill. The separator is a newline, which no URL or path field can contain,+ * so fields can never realign into a collision.+ */+function sourceKey(spec: SourceSpec): string {+ if (spec.kind === 'git') return `git\n${spec.url}\n${spec.subpath ?? ''}`;+ if (spec.kind === 'well-known') return `wk\n${spec.origin}\n${spec.skill}`;+ return `local\n${spec.path}`;+}++function sweepExpired(now: number): void {+ for (const [key, entry] of cache) {+ if (entry.expiresAt > now) continue;+ cache.delete(key);+ // Remove the temp clone once its fetch settles. A rejected fetch left no+ // directory behind, and a removal that races another cleanup is harmless,+ // so swallow either way.+ void entry.fetched.then((f) => f.cleanup()).catch(() => {});+ }+}++/**+ * `fetchSource` behind a short-lived, source-keyed clone cache. Every caller gets+ * a view whose `cleanup` is a no-op: the cache owns the real temp-dir removal on+ * expiry, so one caller finishing can't delete a clone another is still reading.+ *+ * The PROMISE is cached (not just the settled value) so concurrent siblings+ * dedupe the in-flight clone rather than each starting their own. A rejected+ * fetch evicts itself so a transient failure doesn't pin the source as broken for+ * the whole window.+ */+export async function fetchCachedSource(spec: SourceSpec): Promise<Fetched> {+ if (spec.kind === 'local') return fetchSource(spec);+ const now = Date.now();+ sweepExpired(now);+ const key = sourceKey(spec);+ let entry = cache.get(key);+ if (!entry) {+ const fetched = fetchSource(spec);+ entry = { fetched, expiresAt: now + TTL_MS };+ cache.set(key, entry);+ // Only evict our own entry: a slow reject must not delete a fresh clone a+ // later call already put under the same key.+ const self = entry;+ fetched.catch(() => {+ if (cache.get(key) === self) cache.delete(key);+ });+ }+ const fetched = await entry.fetched;+ return { dir: fetched.dir, ref: fetched.ref, cleanup: () => {} };+}++/**+ * Evict every cached clone and remove its temp dir. Tests call this between cases+ * so a cached clone never leaks or bleeds into the next case.+ */+export async function clearSourceCache(): Promise<void> {+ const entries = [...cache.values()];+ cache.clear();+ await Promise.all(entries.map((e) => e.fetched.then((f) => f.cleanup()).catch(() => {})));+}diff --git a/packages/server/src/skills-sh-handlers.ts b/packages/server/src/skills-sh-handlers.tsindex 8702777b8..3cadbe522 100644--- a/packages/server/src/skills-sh-handlers.ts+++ b/packages/server/src/skills-sh-handlers.ts@@ -48,6 +48,7 @@ import { successResponse } from './http/success-response.ts';import { isAllowedGitUrl } from './local-op-security.ts';import type { PinoLogger } from './logger.ts';import { rejectDisallowedGitSpec } from './skill-git-spec-guard.ts';+import { fetchCachedSource } from './skill-source-cache.ts';import { getPopularSkills, getPublisherSkills } from './skills-leaderboard.ts';import { readSkillsLockFile } from './skills-lock-store.ts';@@ -303,8 +304,8 @@ export function createSkillsShHandlers(deps: SkillsShHandlerDeps): SkillsShHandl// `GET /api/skills/preview?source=&name=` fetches one un-imported bundle so// Explore can render the exact files before installation. Repository and// website sources converge on the same temporary-directory parser here.- // ponytail: remote sources are fetched per preview open; add a short-lived- // cache keyed on source+ref if click-through churn becomes a problem.+ // Sibling skills share a source, so the shallow clone is cached by source+ // (fetchCachedSource): previewing several skills from one repo clones it once.const handleSkillsPreview = withValidation(EmptyRequestSchema,async (req, res) => {@@ -339,10 +340,8 @@ export function createSkillsShHandlers(deps: SkillsShHandlerDeps): SkillsShHandlreturn;}if (rejectDisallowedGitSpec(res, spec, 'skills-preview')) return;- let cleanup: (() => void) | undefined;try {- const fetched = await fetchSource(spec);- cleanup = fetched.cleanup;+ const fetched = await fetchCachedSource(spec);const dirs = discoverSkillDirs(fetched.dir);if (dirs.length === 0) {errorResponse(res, 404, 'urn:ok:error:not-found', 'No SKILL.md found in source.', {@@ -420,8 +419,6 @@ export function createSkillsShHandlers(deps: SkillsShHandlerDeps): SkillsShHandlhandler: 'skills-preview',cause: e,});- } finally {- cleanup?.();}},{ handler: 'skills-preview', method: 'GET', skipBodyParse: true },@@ -429,8 +426,8 @@ export function createSkillsShHandlers(deps: SkillsShHandlerDeps): SkillsShHandl// `GET /api/skills/discover?source=` enumerates a repository/local tree or a// website's well-known index so the Import modal can offer an exact picker.- // ponytail: remote indexes/repos are fetched per call; cache by source+ref if- // debounced typing churn becomes a problem.+ // The clone is cached by source (fetchCachedSource), so discovering then+ // previewing the same source, or re-discovering it, reuses one clone.const handleSkillsDiscover = withValidation(EmptyRequestSchema,async (req, res) => {@@ -474,10 +471,8 @@ export function createSkillsShHandlers(deps: SkillsShHandlerDeps): SkillsShHandlreturn;}if (rejectDisallowedGitSpec(res, spec, 'skills-discover')) return;- let cleanup: (() => void) | undefined;try {- const fetched = await fetchSource(spec);- cleanup = fetched.cleanup;+ const fetched = await fetchCachedSource(spec);const dirs = discoverSkillDirs(fetched.dir);// Prefer the SKILL.md frontmatter name (what the import path matches and// what a user recognizes); fall back to the dir basename.@@ -501,8 +496,6 @@ export function createSkillsShHandlers(deps: SkillsShHandlerDeps): SkillsShHandlhandler: 'skills-discover',cause: e,});- } finally {- cleanup?.();}},{ handler: 'skills-discover', method: 'GET', skipBodyParse: true },