Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
feat(ok): give create-project the in-project pack flow (PRD-7979) (#3505)
tim-inkeepb41c20008e5f
diff --git a/.changeset/create-project-pack-configurator.md b/.changeset/create-project-pack-configurator.mdnew file mode 100644index 000000000..c158697b5--- /dev/null+++ b/.changeset/create-project-pack-configurator.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": minor+---++Picking a starter pack while creating a new project now works the same way it does inside an open project. The create-project dialog shows the pack's full description, a live list of exactly which folders, files, and skills it will add, and a choice of where they go — the project root, or a subfolder you name. Before, the same pick gave you a one-line summary and no preview, and it quietly put a pack's contents in that pack's own default subfolder (so a knowledge base landed in `brain/` rather than at the top level of your new project). The project root is now the default in both places, and you can switch packs from inside the dialog instead of cancelling out to start over.diff --git a/packages/app/src/components/CreateProjectDialog.pack.dom.test.tsx b/packages/app/src/components/CreateProjectDialog.pack.dom.test.tsxnew file mode 100644index 000000000..05bdb5b6a--- /dev/null+++ b/packages/app/src/components/CreateProjectDialog.pack.dom.test.tsx@@ -0,0 +1,445 @@+import { act, cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';+import userEvent from '@testing-library/user-event';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { TooltipProvider } from '@/components/ui/tooltip';+import type {+ OkDesktopBridge,+ OkPackId,+ OkScaffoldPlan,+ OkSeedPackInfo,+} from '@/lib/desktop-bridge-types';++// The create-new dialog's pack half: the same configurator the in-project seed+// dialog shows (root chooser + live preview), planned against a project that+// does not exist yet. Everything here is about what the user sees before+// clicking Create and what that click sends.++interface PlanCall {+ packId?: OkPackId;+ rootDir?: string;+ preview?: { skillsInstallable: boolean };+}++const planCalls: PlanCall[] = [];++const plans: Record<string, OkScaffoldPlan> = {+ 'knowledge-base': {+ created: [+ { kind: 'folder', path: 'external-sources' },+ { kind: 'file', path: 'external-sources/.ok/templates/clip.md' },+ { kind: 'file', path: 'log.md' },+ ],+ skipped: [],+ warnings: [],+ packSkills: [{ name: 'open-knowledge-pack-knowledge-base', pending: true }],+ },+ 'plain-notes': {+ created: [+ { kind: 'folder', path: 'daily' },+ { kind: 'file', path: 'daily/.ok/templates/daily.md' },+ ],+ skipped: [],+ warnings: [],+ },+};++// When set, `plan()` fails with this error kind. `invalid-root` is what the+// real handler answers for a rootDir the planner rejects (`../x`, `/x`);+// `internal` stands in for a preview that could not be computed at all.+let planFailure: { kind: 'invalid-root' | 'internal'; message: string } | null = null;+// When set, `plan()` rejects instead of resolving — the IPC bridge itself+// failing, which is a structurally different path from a resolved `ok: false`.+let planRejection: Error | null = null;++vi.doMock('@/lib/seed-client', () => ({+ seedClient: () => ({+ plan: async (options: PlanCall) => {+ planCalls.push(options);+ if (planRejection !== null) throw planRejection;+ if (planFailure !== null) {+ return { ok: false as const, error: planFailure };+ }+ const rootDir = options.rootDir;+ const base = plans[options.packId ?? 'knowledge-base'] ?? plans['knowledge-base'];+ if (base === undefined) throw new Error('missing fixture plan');+ if (rootDir === undefined) return { ok: true as const, plan: base };+ return {+ ok: true as const,+ plan: {+ ...base,+ created: base.created.map((entry) => ({ ...entry, path: `${rootDir}/${entry.path}` })),+ },+ };+ },+ apply: async () => ({ ok: true as const, result: { applied: 0, errors: [], durationMs: 1 } }),+ listPacks: async () => ({ ok: true as const, packs: PACKS }),+ }),+}));++vi.doMock('sonner', () => ({+ toast: { error: () => {}, success: () => {}, warning: () => {}, message: () => {} },+}));++const PACKS: OkSeedPackInfo[] = [+ {+ id: 'knowledge-base',+ name: 'Knowledge base',+ description: 'Structured folders for a team wiki.',+ defaultSubfolder: 'brain',+ folders: [{ path: 'external-sources', summary: 'Things you saved.' }],+ entryCounts: { files: 2, folders: 1 },+ },+ {+ id: 'plain-notes',+ name: 'Plain notes',+ description: 'A single flat folder for quick notes.',+ folders: [{ path: 'daily', summary: 'Daily journal.' }],+ entryCounts: { files: 1, folders: 1 },+ },+];++const PARENT = '/Users/test/Projects';++type CreateNewCall = { packId?: string; rootDir?: string; editors: string[] };++function makeBridge(detectedEditorIds: string[] = ['claude']) {+ const createNewCalls: CreateNewCall[] = [];+ const bridge = {+ fs: {+ defaultProjectsRoot: vi.fn(() => Promise.resolve(PARENT)),+ findEnclosingProjectRoot: vi.fn(() => Promise.resolve(null)),+ findEnclosingGitRoot: vi.fn(() => Promise.resolve(null)),+ folderState: vi.fn(() => Promise.resolve('free')),+ removeGitFolder: vi.fn(() => Promise.resolve()),+ },+ dialog: { openFolder: vi.fn(() => Promise.resolve(null)) },+ integrations: {+ status: vi.fn(() =>+ Promise.resolve({+ available: true,+ editors: [],+ path: { shellDetected: false, rcFilesToTouch: [], installed: false },+ skills: [],+ detectedEditorIds,+ }),+ ),+ },+ project: {+ createNew: vi.fn((args: CreateNewCall) => {+ createNewCalls.push(args);+ return Promise.resolve();+ }),+ recordCreateNewBannerShown: vi.fn(() => Promise.resolve()),+ open: vi.fn(() => Promise.resolve()),+ },+ } as unknown as OkDesktopBridge;+ return { bridge, createNewCalls };+}++async function renderDialog(bridge: OkDesktopBridge, initialPackId?: OkPackId) {+ const { CreateProjectDialog } = await import('./CreateProjectDialog');+ render(+ <TooltipProvider>+ <CreateProjectDialog+ open+ onOpenChange={() => {}}+ bridge={bridge}+ initialPackId={initialPackId}+ packs={PACKS}+ />+ </TooltipProvider>,+ );+ await screen.findByTestId('create-project-dialog');+ await act(async () => {+ await new Promise((resolve) => setTimeout(resolve, 0));+ });+}++/** Radix renders the radio as a button; the label wraps a whole Field, so the+ * id is the stable handle. */+function clickRadio(id: string) {+ const radio = document.getElementById(id);+ if (radio === null) throw new Error(`no radio ${id}`);+ fireEvent.click(radio);+}++async function submit(name: string) {+ await userEvent.type(screen.getByTestId('create-name'), name);+ await waitFor(() => {+ expect((screen.getByTestId('create-submit') as HTMLButtonElement).disabled).toBe(false);+ });+ fireEvent.click(screen.getByTestId('create-submit'));+}++describe('CreateProjectDialog starter-pack configurator', () => {+ afterEach(() => {+ cleanup();+ planCalls.length = 0;+ planFailure = null;+ planRejection = null;+ });++ test('no pack selected renders no pack UI and no preview request', async () => {+ const { bridge } = makeBridge();+ await renderDialog(bridge);+ expect(screen.queryByTestId('create-pack-section')).toBeNull();+ expect(planCalls).toEqual([]);+ });++ test('previews the pack at the project root, not its default subfolder', async () => {+ const { bridge, createNewCalls } = makeBridge();+ await renderDialog(bridge, 'knowledge-base');++ await waitFor(() => {+ expect(planCalls.length).toBeGreaterThan(0);+ });+ // `knowledge-base` declares `defaultSubfolder: 'brain'`; the pack still+ // previews (and seeds) at the project root until the user says otherwise.+ expect(planCalls[0]?.rootDir).toBeUndefined();+ expect(planCalls[0]?.packId).toBe('knowledge-base');+ // The editor-detection probe is a round-trip: the first preview goes out+ // before it lands, and the re-plan once it does is what reports the pack's+ // skills as installable.+ await waitFor(() => {+ expect(planCalls.at(-1)?.preview).toEqual({ skillsInstallable: true });+ });++ await screen.findByText('external-sources/');++ await submit('Wiki');+ await waitFor(() => {+ expect(createNewCalls).toHaveLength(1);+ });+ expect(createNewCalls[0]?.packId).toBe('knowledge-base');+ expect(createNewCalls[0]?.rootDir).toBeUndefined();+ });++ test('choosing a subfolder re-previews there and threads rootDir into createNew', async () => {+ const { bridge, createNewCalls } = makeBridge();+ await renderDialog(bridge, 'knowledge-base');+ await waitFor(() => {+ expect(planCalls.length).toBeGreaterThan(0);+ });++ clickRadio('create-seed-root-subfolder');++ // The pack's `defaultSubfolder` pre-filled the input, so the re-plan uses it.+ await waitFor(() => {+ expect(planCalls.at(-1)?.rootDir).toBe('brain');+ });+ await screen.findByText('external-sources/');++ await submit('Wiki');+ await waitFor(() => {+ expect(createNewCalls).toHaveLength(1);+ });+ expect(createNewCalls[0]?.rootDir).toBe('brain');+ });++ test('reports skills as uninstallable when no editor is selected', async () => {+ const { bridge } = makeBridge([]);+ await renderDialog(bridge, 'knowledge-base');+ await waitFor(() => {+ expect(planCalls.length).toBeGreaterThan(0);+ });+ expect(planCalls.at(-1)?.preview).toEqual({ skillsInstallable: false });+ });++ test('Create stays disabled while the pack preview is in an error state', async () => {+ // A subfolder the planner rejects ('../x', '/x') is non-empty, so the+ // empty-name guard lets it through. With no preview gate the user can+ // submit: runCreateNew's best-effort catch swallows the SeedRootDirError+ // and the project opens with no pack and no error shown.+ const { bridge, createNewCalls } = makeBridge();+ planFailure = {+ kind: 'invalid-root',+ message: 'rootDir must be relative to the project directory, got: ../x',+ };+ await renderDialog(bridge, 'knowledge-base');++ await userEvent.type(screen.getByTestId('create-name'), 'Wiki');+ await screen.findByTestId('create-pack-preview-error');++ // Bounded absence check: everything else that gates Create (the cascade+ // probe, the name) settles well inside this window, so if the preview gate+ // is missing the button flips to enabled here.+ await expect(+ waitFor(+ () => {+ expect((screen.getByTestId('create-submit') as HTMLButtonElement).disabled).toBe(false);+ },+ { timeout: 1500 },+ ),+ ).rejects.toThrow();++ fireEvent.click(screen.getByTestId('create-submit'));+ expect(createNewCalls).toHaveLength(0);+ });++ test('a preview that cannot be computed at all still lets the project be created', async () => {+ // The counterpart to the rejected-rootDir case: an internal or transport+ // failure is not something the user can fix by editing the form, and the+ // pack is secondary to creating the project — so Create must stay live+ // rather than stranding them on a permanently disabled button.+ const { bridge, createNewCalls } = makeBridge();+ planFailure = { kind: 'internal', message: 'Failed to fetch' };+ await renderDialog(bridge, 'knowledge-base');++ await screen.findByTestId('create-pack-preview-error');+ await submit('Wiki');++ await waitFor(() => {+ expect(createNewCalls).toHaveLength(1);+ });+ expect(createNewCalls[0]?.packId).toBe('knowledge-base');+ });++ test('a rejected preview request also leaves the project creatable', async () => {+ // The sibling of the case above, and a structurally separate branch: this+ // is the IPC bridge rejecting rather than the handler answering `ok:false`.+ // Both must stay non-blocking, and they can diverge independently.+ const { bridge, createNewCalls } = makeBridge();+ planRejection = new Error("Error invoking remote method 'ok:seed:plan': read ECONNRESET");+ await renderDialog(bridge, 'knowledge-base');++ const alert = await screen.findByTestId('create-pack-preview-error');+ // The raw transport string is a console concern, not something to put in+ // front of someone who can still create their project.+ expect(alert.textContent).not.toContain('ECONNRESET');++ await submit('Wiki');+ await waitFor(() => {+ expect(createNewCalls).toHaveLength(1);+ });+ });++ test('reopening the dialog restores the pack default subfolder', async () => {+ // Closing goes through NavigatorApp's onOpenChange, which clears both the+ // pending pack and the pack list; reopening re-supplies the same array+ // instance. A subfolder typed into a cancelled attempt must not survive+ // that round trip and reach createNew unnoticed.+ const { bridge } = makeBridge();+ const { CreateProjectDialog } = await import('./CreateProjectDialog');+ const props = { onOpenChange: () => {}, bridge };+ const { rerender } = render(+ <TooltipProvider>+ <CreateProjectDialog open initialPackId="knowledge-base" packs={PACKS} {...props} />+ </TooltipProvider>,+ );+ await screen.findByTestId('create-project-dialog');+ await act(async () => {+ await new Promise((resolve) => setTimeout(resolve, 0));+ });++ clickRadio('create-seed-root-subfolder');+ const field = await screen.findByLabelText('Subfolder name');+ await userEvent.clear(field);+ await userEvent.type(field, 'custom-name');++ rerender(+ <TooltipProvider>+ <CreateProjectDialog open={false} initialPackId={undefined} packs={undefined} {...props} />+ </TooltipProvider>,+ );+ rerender(+ <TooltipProvider>+ <CreateProjectDialog open initialPackId="knowledge-base" packs={PACKS} {...props} />+ </TooltipProvider>,+ );+ await act(async () => {+ await new Promise((resolve) => setTimeout(resolve, 0));+ });++ clickRadio('create-seed-root-subfolder');+ expect((await screen.findByLabelText('Subfolder name')).getAttribute('value')).toBe('brain');+ });++ test('an empty subfolder name blocks Create and says why', async () => {+ // Distinct from the rejected-rootDir case: an empty name never reaches the+ // planner, so the guard has to be local to the form.+ const { bridge, createNewCalls } = makeBridge();+ await renderDialog(bridge, 'knowledge-base');++ clickRadio('create-seed-root-subfolder');+ await userEvent.clear(await screen.findByLabelText('Subfolder name'));+ await userEvent.type(screen.getByTestId('create-name'), 'Wiki');++ await screen.findByTestId('create-pack-preview-error');+ await expect(+ waitFor(+ () => {+ expect((screen.getByTestId('create-submit') as HTMLButtonElement).disabled).toBe(false);+ },+ { timeout: 1500 },+ ),+ ).rejects.toThrow();++ fireEvent.click(screen.getByTestId('create-submit'));+ expect(createNewCalls).toHaveLength(0);+ });++ test('says where the pack lands when the project is an enclosing git repo', async () => {+ // The project becomes the repo, not the folder being created, so "project+ // root" would read as the repo's top level. Main anchors the pack at the+ // new folder; the dialog has to say so.+ const { bridge } = makeBridge();+ (bridge.fs.findEnclosingGitRoot as unknown as ReturnType<typeof vi.fn>).mockResolvedValue({+ gitRoot: '/Users/test/code/acme',+ });+ await renderDialog(bridge, 'knowledge-base');++ expect(screen.queryByTestId('create-pack-promoted-note')).toBeNull();+ await userEvent.type(screen.getByTestId('create-name'), 'Team Wiki');++ const note = await screen.findByTestId('create-pack-promoted-note');+ expect(note.textContent).toContain('Team Wiki');+ });++ test('the root chooser is announced with its own heading', async () => {+ // Without the association the radios are announced with no group context —+ // "project root" and "in a subfolder" on their own say nothing about what+ // is being placed.+ const { bridge } = makeBridge();+ await renderDialog(bridge, 'knowledge-base');+ expect(screen.getByRole('radiogroup', { name: /Where should it live/ })).not.toBeNull();+ });++ test('picking a pack moves focus into the form', async () => {+ // The clicked card unmounts with the grid, so without an explicit move+ // focus lands on the body and a keyboard user loses their place.+ const { bridge } = makeBridge();+ await renderDialog(bridge, 'knowledge-base');+ fireEvent.click(screen.getByTestId('create-change-pack'));++ await userEvent.click(screen.getByRole('button', { name: /Plain notes/ }));++ await waitFor(() => {+ expect(document.activeElement).toBe(screen.getByTestId('create-name'));+ });+ });++ test('Change pack swaps the configured pack without leaving the dialog', async () => {+ const { bridge, createNewCalls } = makeBridge();+ await renderDialog(bridge, 'knowledge-base');+ await waitFor(() => {+ expect(planCalls.length).toBeGreaterThan(0);+ });++ fireEvent.click(screen.getByTestId('create-change-pack'));+ // The grid replaces the form; no Create until a pack is picked again.+ expect(screen.queryByTestId('create-submit')).toBeNull();++ await userEvent.click(screen.getByRole('button', { name: /Plain notes/ }));++ await waitFor(() => {+ expect(planCalls.at(-1)?.packId).toBe('plain-notes');+ });+ await screen.findByText('daily/');++ await submit('Notes');+ await waitFor(() => {+ expect(createNewCalls).toHaveLength(1);+ });+ expect(createNewCalls[0]?.packId).toBe('plain-notes');+ });+});diff --git a/packages/app/src/components/CreateProjectDialog.tsx b/packages/app/src/components/CreateProjectDialog.tsxindex 5de74a4ea..d1f17e267 100644--- a/packages/app/src/components/CreateProjectDialog.tsx+++ b/packages/app/src/components/CreateProjectDialog.tsx@@ -74,10 +74,13 @@ import {} from '@inkeep/open-knowledge-core';import type { MessageDescriptor } from '@lingui/core';import { msg } from '@lingui/core/macro';-import { Plural, Trans, useLingui } from '@lingui/react/macro';-import { ChevronRight } from 'lucide-react';+import { Trans, useLingui } from '@lingui/react/macro';+import { ArrowLeft, ChevronRight } from 'lucide-react';import { useEffect, useId, useRef, useState } from 'react';import { toast } from 'sonner';+import { CreatedItemsList, CreatedItemsSkeleton } from '@/components/CreatedItemsList';+import { PackCardGrid } from '@/components/PackCardGrid';+import { type SeedRootChoice, SeedRootPicker } from '@/components/SeedRootPicker';import { SharingModeField } from '@/components/SharingModeField';import { Button } from '@/components/ui/button';import { Checkbox } from '@/components/ui/checkbox';@@ -100,8 +103,12 @@ import type {OkFolderState,OkMcpWiringEditorId,OkPackId,+ OkScaffoldPlan,OkSeedPackInfo,} from '@/lib/desktop-bridge-types';+import { PACK_BLURBS } from '@/lib/pack-copy';+import { seedClient } from '@/lib/seed-client';+import { cn } from '@/lib/utils';/*** Debounce window for the cascade probes. ~180 ms after a `name`/`location`@@ -120,6 +127,14 @@ const PROBE_DEBOUNCE_MS = 180;*/const GIT_BANNER_POLL_INTERVAL_MS = 5_000;+/**+ * Debounce for the starter-pack preview plan. Matches the in-project seed+ * dialog: the first plan of an open cycle fires immediately (the user just+ * picked a pack and expects to see it), later ones — driven by typing in the+ * subfolder field — wait this long so the list doesn't strobe per keystroke.+ */+const PACK_PREVIEW_DEBOUNCE_MS = 200;+// The settled verdict of the cascade probe. Drives banner mount: the render// layer reads only this. A probe-in-flight discriminant is intentionally// NOT a member here — see `ProbeLifecycle` below. Splitting the two@@ -146,6 +161,24 @@ type ProbeLifecycle = 'idle' | 'in-flight';* success — probeNonce bumps + the banner either disappears or repaints* with the next-higher .git) or error (inline retry).*/+/**+ * Live preview of what the selected starter pack would scaffold into the+ * project about to be created. Planned against a throwaway directory main-side+ * (`preview` on the seed-plan channel) because this dialog runs on the+ * Navigator window, which has no project bound.+ */+type PackPreview =+ | { kind: 'loading' }+ | { kind: 'plan'; plan: OkScaffoldPlan }+ /**+ * `blocking` separates "you typed a root the planner rejects" from "the+ * preview could not be computed". Only the first withholds Create: the+ * second is not the user's fault and the pack is secondary to creating the+ * project, so a transport or internal failure must not strand someone with a+ * permanently disabled button.+ */+ | { kind: 'error'; message: string; blocking: boolean };+type RemoveGitState =| { kind: 'idle' }| { kind: 'confirming'; gitRoot: string }@@ -183,18 +216,17 @@ interface CreateProjectDialogProps {bridge: OkDesktopBridge;/*** Starter pack pre-selected on the packs-forward first-run launcher. When- * set (alongside a matching entry in `packs`), the dialog names the pack in- * its description as read-only confirmation and threads this id into- * `createNew` so the fresh project opens seeded. The pack was already chosen- * on the launcher — the dialog confirms it, it isn't a control here. Unset →- * the blank-project create flow (today's generic description). No subfolder- * UI — first-run applies the pack's defaults (see `runCreateNew`).+ * set (alongside a matching entry in `packs`), the dialog configures that+ * pack the same way the in-project seed dialog does — long-form blurb, root+ * chooser, live "What gets created" preview — and threads the choice into+ * `createNew` so the fresh project opens seeded. Unset → the blank-project+ * create flow (today's generic description, no pack UI).*/initialPackId?: OkPackId;/**- * The available starter packs, used only to look up `initialPackId`'s- * display metadata (name + folder count) for the read-only description.- * Empty/omitted → the generic blank-create description.+ * The available starter packs. Supplies the selected pack's display metadata+ * and backs the in-dialog "Change pack" grid. Empty/omitted → the generic+ * blank-create description and no pack UI.*/packs?: OkSeedPackInfo[];}@@ -346,6 +378,15 @@ export function CreateProjectDialog({// so the dialog leads with just the name and location fields. Reset closed// on each open.const [advancedOpen, setAdvancedOpen] = useState(false);+ // Starter-pack selection + where it scaffolds. `packId` starts at the+ // launcher's pick and can be changed in-dialog (step 'pick'); the root+ // defaults to the project root — same default the in-project seed dialog+ // uses — with the pack's `defaultSubfolder` only pre-filling the input.+ const [packId, setPackId] = useState<OkPackId | undefined>(initialPackId);+ const [step, setStep] = useState<'pick' | 'configure'>('configure');+ const [rootChoice, setRootChoice] = useState<SeedRootChoice>('project-root');+ const [subfolder, setSubfolder] = useState('');+ const [packPreview, setPackPreview] = useState<PackPreview>({ kind: 'loading' });const [cascade, setCascade] = useState<SettledCascade>({ kind: 'idle' });const [probeLifecycle, setProbeLifecycle] = useState<ProbeLifecycle>('idle');const [busy, setBusy] = useState(false);@@ -383,6 +424,10 @@ export function CreateProjectDialog({// overwritten by the seed landing late. What the checkboxes show right after// their click is the truth; a late probe never overrides it.const editorsTouchedRef = useRef(false);+ // Whether the next pack-preview plan is the first of this open cycle — it+ // fires immediately, later ones debounce. Reset on open and whenever the+ // user picks a different pack.+ const previewFirstLoadRef = useRef(true);// Hydrate Location + focus the Name input on dialog open. Reset transient// state (banner-fired set, error, busy, name, editors, removeGitState) so@@ -405,6 +450,13 @@ export function CreateProjectDialog({setSharing('shared');setAdvancedOpen(false);setRemoveGitState({ kind: 'idle' });+ // Honor the caller's pack on every open — the Navigator clears it when the+ // dialog closes, so a blank create after a pack create must not inherit it.+ setPackId(initialPackId);+ setStep('configure');+ setRootChoice('project-root');+ setPackPreview({ kind: 'loading' });+ previewFirstLoadRef.current = true;// Invalidate any in-flight removeGitFolder IPC from a previous open// (dialog component is reused, useRef survives) so its completion// can't land on the fresh-open state.@@ -468,7 +520,111 @@ export function CreateProjectDialog({cancelled = true;cancelAnimationFrame(raf);};- }, [open, bridge]);+ }, [open, bridge, initialPackId]);++ // The pack currently configured, resolved from the caller-supplied list.+ // Absent when this is a blank create (no `packId`) or when the caller didn't+ // pass `packs` — both cases render no pack UI at all.+ const selectedPack = packs?.find((pack) => pack.id === packId);++ // Pre-fill the subfolder field from the selected pack's default. Packs with+ // no `defaultSubfolder` clear it, so switching from `brain/` to a pack+ // without one doesn't leave a stale value behind. The field is only a+ // pre-fill — the scaffold still lands at the project root unless the user+ // picks "In a subfolder".+ //+ // Keyed on `open` and the default VALUE rather than the pack object: a name+ // typed into a cancelled attempt must not survive into the next open, and+ // the caller may hand back the very same pack object (its pack list is+ // fetched once and reused), so object identity alone would not re-fire this.+ const selectedPackSubfolderDefault = selectedPack?.defaultSubfolder ?? '';+ useEffect(() => {+ // `open` is a "re-run me on reopen" signal, not a value the body reads —+ // same shape as `probeNonce` below.+ void open;+ if (packId === undefined) return;+ setSubfolder(selectedPackSubfolderDefault);+ }, [open, packId, selectedPackSubfolderDefault]);++ const trimmedSubfolder = subfolder.trim();+ const subfolderInvalid =+ selectedPack !== undefined && rootChoice === 'subfolder' && trimmedSubfolder === '';+ const packRootDir = rootChoice === 'project-root' ? undefined : trimmedSubfolder;+ // The pack's skills install only into editors this project is set up for,+ // and `runCreateNew` writes those integrations before it seeds — so an empty+ // editor selection means no skill lands, and the preview must say so.+ const skillsInstallable = editorIds.size > 0;++ // Live pack preview. Re-plans on every input that changes what would be+ // written; nothing here touches disk (main plans against a throwaway dir).+ useEffect(() => {+ if (!open) return;+ if (selectedPack === undefined) return;+ if (step !== 'configure') return;+ if (subfolderInvalid) {+ setPackPreview({+ kind: 'error',+ message: t`Enter a folder name (e.g. brain).`,+ blocking: true,+ });+ return;+ }++ const delay = previewFirstLoadRef.current ? 0 : PACK_PREVIEW_DEBOUNCE_MS;+ previewFirstLoadRef.current = false;++ let cancelled = false;+ const timer = setTimeout(() => {+ if (cancelled) return;+ // Only show the skeleton when nothing is on screen yet — keeps the list+ // steady while the user is still typing a subfolder name.+ setPackPreview((prev) => (prev.kind === 'plan' ? prev : { kind: 'loading' }));+ seedClient()+ .plan({+ rootDir: packRootDir,+ packId: selectedPack.id,+ preview: { skillsInstallable },+ })+ .then((result) => {+ if (cancelled) return;+ if (result.ok) {+ setPackPreview({ kind: 'plan', plan: result.plan });+ return;+ }+ // `invalid-root` is the one kind the user can fix by editing the+ // field, and the one that would otherwise produce a silently+ // unseeded project. Its message names what is wrong with the input,+ // so it is worth showing; anything else is an internal string+ // (`ENOENT …`, `Error invoking remote method …`) that tells the user+ // nothing they can act on. The detail goes to the console instead.+ const blocking = result.error.kind === 'invalid-root';+ if (!blocking) {+ console.warn('[CreateProjectDialog] pack preview unavailable:', result.error);+ }+ setPackPreview({+ kind: 'error',+ message: blocking ? result.error.message : t`Pack preview unavailable.`,+ blocking,+ });+ })+ .catch((err: unknown) => {+ if (cancelled) return;+ console.warn('[CreateProjectDialog] pack preview plan failed:', err);+ setPackPreview({+ kind: 'error',+ message: t`Pack preview unavailable.`,+ // A rejected transport is not something the user can fix by+ // editing the form, so it must not withhold Create.+ blocking: false,+ });+ });+ }, delay);++ return () => {+ cancelled = true;+ clearTimeout(timer);+ };+ }, [open, step, selectedPack, packRootDir, subfolderInvalid, skillsInstallable, t]);// Cascade probe — debounce + abort. Recomputes on every `location` or// `name` change. When either is empty (or `name` sanitizes to empty),@@ -642,12 +798,6 @@ export function CreateProjectDialog({});}, [open, cascade, bridge]);- // The launcher-chosen pack, resolved for the read-only description. Present- // only when the dialog was opened from a pack (`initialPackId` set) and its- // metadata is available in `packs`; otherwise the description stays generic- // (blank / `File → New` create path).- const selectedPack = packs?.find((pack) => pack.id === initialPackId);-// Derived name + target presentation.const rawName = name;const sanitized = rawName === '' ? '' : sanitizeFolderName(rawName);@@ -671,6 +821,15 @@ export function CreateProjectDialog({location !== '' &&rawName !== '' &&sanitized !== '' &&+ !subfolderInvalid &&+ // A rootDir the planner rejects (`../x`, `/x`) is non-empty, so+ // `subfolderInvalid` passes it through. Seeding is best-effort main-side —+ // the error is swallowed to a warn — so submitting here would open a+ // project with no pack and nothing said. Withhold Create instead, the way+ // the in-project dialog withholds Initialize outside `phase.kind: 'plan'`.+ // Only for `blocking` errors: a preview that could not be computed at all+ // must not stop someone from creating the project.+ (selectedPack === undefined || packPreview.kind !== 'error' || !packPreview.blocking) &&probeLifecycle === 'idle' &&(cascade.kind === 'free' || cascade.kind === 'confirm-git');// Keep Create enabled while no name is typed yet — a disabled button@@ -743,10 +902,11 @@ export function CreateProjectDialog({name: sanitized,editors: Array.from(editorIds),sharing,- // Seed the launcher-chosen starter pack (packs-forward first-run).- // Undefined on the blank-create path — main opens an empty project- // as before.- packId: initialPackId,+ // Seed the chosen starter pack (packs-forward first-run). Undefined on+ // the blank-create path — main opens an empty project as before.+ packId,+ // Undefined means the project root, which is the default here.+ rootDir: packRootDir,});onOpenChange(false);} catch (err) {@@ -828,88 +988,119 @@ export function CreateProjectDialog({const nameDescribedBy =sanitizeErased || nameTaken || sanitizeDiverged ? `${captionId} ${nameErrorId}` : captionId;+ // The pack grid is only reachable when the caller supplied a pack list AND+ // this open started from a pack — the blank create paths (File → New,+ // command palette, project switcher) stay a plain create dialog.+ const canChangePack = packId !== undefined && (packs?.length ?? 0) > 0;+ const selectedPackName = selectedPack?.name;+ const selectedPackBlurb = selectedPack ? PACK_BLURBS[selectedPack.id] : undefined;+ const title =+ selectedPackName !== undefined+ ? t`Create new project from ${selectedPackName}`+ : t`Create new project`;+ const description =+ selectedPack === undefined+ ? t`Create a new OpenKnowledge project in the folder of your choice.`+ : selectedPackBlurb+ ? t(selectedPackBlurb)+ : selectedPack.description;+return (<Dialog open={open} onOpenChange={onOpenChangeInternal}>- <DialogContent className="sm:max-w-lg" data-testid="create-project-dialog">+ <DialogContent+ className={cn('sm:max-w-lg', step === 'pick' && 'sm:max-w-3xl')}+ data-testid="create-project-dialog"+ ><DialogHeader>- <DialogTitle>- <Trans>Create new project</Trans>- </DialogTitle>+ <DialogTitle>{step === 'pick' ? t`Starter packs` : title}</DialogTitle><DialogDescription>- {selectedPack ? (- <Trans>- Create a new OpenKnowledge project from the <strong>{selectedPack.name}</strong>{' '}- starter pack (- <Plural value={selectedPack.entryCounts.folders} one="# folder" other="# folders" />{' '}- and starter templates) in the folder of your choice.- </Trans>- ) : (- <Trans>Create a new OpenKnowledge project in the folder of your choice.</Trans>- )}+ {step === 'pick'+ ? t`Each pack scaffolds your project with ready-made folders and templates.`+ : description}</DialogDescription></DialogHeader>- <DialogBody className="space-y-6">- <form- id={formId}- onSubmit={onSubmit}- data-testid="create-project-form"- className="space-y-6"- >- <div className="flex flex-col gap-2">- <Label htmlFor={nameInputId}>- <Trans>Project name</Trans>- </Label>- <Input- id={nameInputId}- ref={nameInputRef}- value={name}- placeholder={t`Team Wiki`}- onChange={(e) => setName(e.target.value)}- disabled={busy}- autoComplete="off"- aria-invalid={sanitizeErased || nameTaken}- aria-describedby={nameDescribedBy}- data-testid="create-name"- />- {sanitizeErased ? (- <p- id={nameErrorId}- role="alert"- className="text-1sm text-destructive"- data-testid="create-name-error-erased"- >- <Trans>Add at least one letter or number.</Trans>- </p>- ) : nameTaken ? (- <p- id={nameErrorId}- role="alert"- className="text-1sm text-destructive"- data-testid="create-name-error-taken"- >- <Trans>- A folder named <code className="font-mono break-all">{sanitized}</code> already- has files here. Pick a different name.- </Trans>- </p>- ) : sanitizeDiverged ? (- <p- id={nameErrorId}- role="status"- aria-live="polite"- className="text-1sm text-muted-foreground"- data-testid="create-name-hint-diverged"- >- <Trans>- Will be saved as <code className="font-mono break-all">{sanitized}</code>.- </Trans>- </p>- ) : null}- </div>+ {step === 'pick' ? (+ <DialogBody>+ <PackCardGrid+ packs={packs ?? null}+ onPackSelect={(id) => {+ setPackId(id);+ setStep('configure');+ // The user just clicked a card and expects the preview to+ // follow immediately, not after the typing debounce.+ previewFirstLoadRef.current = true;+ setPackPreview({ kind: 'loading' });+ // The card the click landed on unmounts with the grid, so+ // focus would fall to the body and a keyboard user would lose+ // their place inside the dialog. Same rAF-then-focus shape as+ // the on-open focus above.+ requestAnimationFrame(() => nameInputRef.current?.focus());+ }}+ />+ </DialogBody>+ ) : (+ <DialogBody className="space-y-6">+ <form+ id={formId}+ onSubmit={onSubmit}+ data-testid="create-project-form"+ className="space-y-6"+ >+ <div className="flex flex-col gap-2">+ <Label htmlFor={nameInputId}>+ <Trans>Project name</Trans>+ </Label>+ <Input+ id={nameInputId}+ ref={nameInputRef}+ value={name}+ placeholder={t`Team Wiki`}+ onChange={(e) => setName(e.target.value)}+ disabled={busy}+ autoComplete="off"+ aria-invalid={sanitizeErased || nameTaken}+ aria-describedby={nameDescribedBy}+ data-testid="create-name"+ />+ {sanitizeErased ? (+ <p+ id={nameErrorId}+ role="alert"+ className="text-1sm text-destructive"+ data-testid="create-name-error-erased"+ >+ <Trans>Add at least one letter or number.</Trans>+ </p>+ ) : nameTaken ? (+ <p+ id={nameErrorId}+ role="alert"+ className="text-1sm text-destructive"+ data-testid="create-name-error-taken"+ >+ <Trans>+ A folder named <code className="font-mono break-all">{sanitized}</code>{' '}+ already has files here. Pick a different name.+ </Trans>+ </p>+ ) : sanitizeDiverged ? (+ <p+ id={nameErrorId}+ role="status"+ aria-live="polite"+ className="text-1sm text-muted-foreground"+ data-testid="create-name-hint-diverged"+ >+ <Trans>+ Will be saved as <code className="font-mono break-all">{sanitized}</code>.+ </Trans>+ </p>+ ) : null}+ </div>- <div className="flex flex-col gap-2">- {/* "Location" is a visual label for the read-only path display.+ <div className="flex flex-col gap-2">+ {/* "Location" is a visual label for the read-only path display.No htmlFor/association: the value sits in a non-labelable<div> (a label can only bind to a form control), so a bindinghere would be a dead attribute. AT reads the label then the@@ -917,137 +1108,203 @@ export function CreateProjectDialog({<Input readOnly>, because it renders three mutually exclusiveinner states (resolved path / "Resolving" / "No locationselected") that a single `value` string can't express. */}- <Label>- <Trans>Location</Trans>- </Label>- <div className="flex items-center gap-2">- <div- className="min-w-0 flex-1 rounded-md border border-input bg-muted/50 px-2.5 py-1 text-sm text-foreground wrap-break-word"- data-testid="create-location-display"- >- {location !== '' ? (- location- ) : locationResolving ? (- <span className="text-muted-foreground">- <Trans>Resolving default location</Trans>- </span>- ) : (- <span className="text-muted-foreground">- <Trans>No location selected. Use Browse to choose a folder.</Trans>- </span>- )}+ <Label>+ <Trans>Location</Trans>+ </Label>+ <div className="flex items-center gap-2">+ <div+ className="min-w-0 flex-1 rounded-md border border-input bg-muted/50 px-2.5 py-1 text-sm text-foreground wrap-break-word"+ data-testid="create-location-display"+ >+ {location !== '' ? (+ location+ ) : locationResolving ? (+ <span className="text-muted-foreground">+ <Trans>Resolving default location</Trans>+ </span>+ ) : (+ <span className="text-muted-foreground">+ <Trans>No location selected. Use Browse to choose a folder.</Trans>+ </span>+ )}+ </div>+ <Button+ type="button"+ variant="outline"+ className="shrink-0"+ disabled={busy}+ onClick={() => void onBrowse()}+ data-testid="create-browse"+ >+ <Trans>Browse</Trans>+ </Button></div>- <Button- type="button"- variant="outline"- className="shrink-0"- disabled={busy}- onClick={() => void onBrowse()}- data-testid="create-browse"+ <p+ id={captionId}+ className="text-1sm text-muted-foreground wrap-break-word"+ aria-live="polite"+ data-testid="create-target-caption">- <Trans>Browse</Trans>- </Button>+ {targetPreview !== '' ? (+ <Trans>+ Will be created at:{' '}+ <code className="font-mono break-all">{targetPreview}</code>+ </Trans>+ ) : null}+ </p></div>- <p- id={captionId}- className="text-1sm text-muted-foreground wrap-break-word"- aria-live="polite"- data-testid="create-target-caption"- >- {targetPreview !== '' ? (- <Trans>- Will be created at: <code className="font-mono break-all">{targetPreview}</code>- </Trans>- ) : null}- </p>- </div>- <CascadeBanner- cascade={cascade}- onOpenNested={onOpenNested}- removeGitState={removeGitState}- onRequestRemoveGit={onRequestRemoveGit}- onCancelRemoveGit={onCancelRemoveGit}- onConfirmRemoveGit={onConfirmRemoveGit}- />+ <CascadeBanner+ cascade={cascade}+ onOpenNested={onOpenNested}+ removeGitState={removeGitState}+ onRequestRemoveGit={onRequestRemoveGit}+ onCancelRemoveGit={onCancelRemoveGit}+ onConfirmRemoveGit={onConfirmRemoveGit}+ />- <Collapsible- open={advancedOpen}- onOpenChange={setAdvancedOpen}- className="rounded-md border border-border"- data-testid="create-advanced"- >- <CollapsibleTrigger- className="group flex w-full items-center justify-between gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50"- data-testid="create-advanced-trigger"+ {selectedPack ? (+ <div className="space-y-6" data-testid="create-pack-section">+ <SeedRootPicker+ choice={rootChoice}+ subfolder={subfolder}+ placeholder={selectedPack.defaultSubfolder ?? 'subfolder'}+ idPrefix="create-seed-root"+ onChoiceChange={setRootChoice}+ onSubfolderChange={setSubfolder}+ />+ {/* Inside an existing git repo the project is the repo, not+ the folder being created (one project per repo), so+ "project root" would otherwise read as the repo's top+ level. The pack is anchored at the new folder instead —+ say so, because the banner above only speaks about where+ OpenKnowledge itself is set up. */}+ {cascade.kind === 'confirm-git' ? (+ <p+ className="text-1sm text-muted-foreground"+ data-testid="create-pack-promoted-note"+ >+ <Trans>+ OpenKnowledge is set up at the repository root here, so the pack goes inside{' '}+ <code className="font-mono break-all">{sanitized}</code> rather than at the+ top of the repository.+ </Trans>+ </p>+ ) : null}+ {packPreview.kind === 'error' ? (+ <div+ role="alert"+ className="rounded-md bg-destructive/10 p-3 text-sm text-destructive"+ data-testid="create-pack-preview-error"+ >+ {packPreview.message}+ </div>+ ) : packPreview.kind === 'plan' ? (+ <CreatedItemsList plan={packPreview.plan} selectedPack={selectedPack} />+ ) : (+ <CreatedItemsSkeleton rowCount={selectedPack.folders.length} />+ )}+ </div>+ ) : null}++ <Collapsible+ open={advancedOpen}+ onOpenChange={setAdvancedOpen}+ className="rounded-md border border-border"+ data-testid="create-advanced">- <Trans>Advanced settings</Trans>- <ChevronRight- className="size-4 transition-transform group-data-[state=open]:rotate-90 motion-reduce:transition-none"- aria-hidden- />- </CollapsibleTrigger>- <CollapsibleContent className="space-y-6 border-t border-border px-3 py-4">- <fieldset className="flex flex-col space-y-2 pb-2">- <legend className="text-sm font-medium">- <Trans>Connect to AI tools</Trans>- </legend>- <p className="text-1sm text-muted-foreground">- <Trans>Each selected tool gets an OpenKnowledge MCP entry.</Trans>- </p>- {ALL_EDITOR_IDS.map((id) => {- const inputId = `create-editor-${id}`;- return (- <Label key={id} htmlFor={inputId} className="text-sm font-normal">- <Checkbox- id={inputId}- checked={editorIds.has(id)}- onCheckedChange={() => toggleEditor(id)}- disabled={busy}- data-testid={`create-editor-${id}`}- />- <span>{EDITOR_LABELS[id]}</span>- </Label>- );- })}- </fieldset>+ <CollapsibleTrigger+ className="group flex w-full items-center justify-between gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50"+ data-testid="create-advanced-trigger"+ >+ <Trans>Advanced settings</Trans>+ <ChevronRight+ className="size-4 transition-transform group-data-[state=open]:rotate-90 motion-reduce:transition-none"+ aria-hidden+ />+ </CollapsibleTrigger>+ <CollapsibleContent className="space-y-6 border-t border-border px-3 py-4">+ <fieldset className="flex flex-col space-y-2 pb-2">+ <legend className="text-sm font-medium">+ <Trans>Connect to AI tools</Trans>+ </legend>+ <p className="text-1sm text-muted-foreground">+ <Trans>Each selected tool gets an OpenKnowledge MCP entry.</Trans>+ </p>+ {ALL_EDITOR_IDS.map((id) => {+ const inputId = `create-editor-${id}`;+ return (+ <Label key={id} htmlFor={inputId} className="text-sm font-normal">+ <Checkbox+ id={inputId}+ checked={editorIds.has(id)}+ onCheckedChange={() => toggleEditor(id)}+ disabled={busy}+ data-testid={`create-editor-${id}`}+ />+ <span>{EDITOR_LABELS[id]}</span>+ </Label>+ );+ })}+ </fieldset>- <SharingModeField- idPrefix="create"- testIdPrefix="create-sharing"- value={sharing}- onValueChange={setSharing}- disabled={busy}- />- </CollapsibleContent>- </Collapsible>+ <SharingModeField+ idPrefix="create"+ testIdPrefix="create-sharing"+ value={sharing}+ onValueChange={setSharing}+ disabled={busy}+ />+ </CollapsibleContent>+ </Collapsible>- {submitError !== null ? (- <div- role="alert"- className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive"- data-testid="create-submit-error"- >- {t(errorCopy(submitError))}- </div>- ) : null}- </form>- </DialogBody>+ {submitError !== null ? (+ <div+ role="alert"+ className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive"+ data-testid="create-submit-error"+ >+ {t(errorCopy(submitError))}+ </div>+ ) : null}+ </form>+ </DialogBody>+ )}<DialogFooter>+ {step === 'configure' && canChangePack ? (+ <Button+ type="button"+ variant="ghost"+ className="me-auto font-mono uppercase"+ onClick={() => setStep('pick')}+ disabled={busy}+ data-testid="create-change-pack"+ >+ <ArrowLeft aria-hidden="true" className="h-4 w-4" />+ <Trans>Change pack</Trans>+ </Button>+ ) : null}<Buttontype="button"variant="outline"className="font-mono uppercase"- onClick={() => onOpenChange(false)}+ onClick={() => (step === 'pick' ? setStep('configure') : onOpenChange(false))}disabled={busy}data-testid="create-cancel">- <Trans>Cancel</Trans>- </Button>- <Button type="submit" form={formId} disabled={submitDisabled} data-testid="create-submit">- {busy ? <Trans>Creating</Trans> : <Trans>Create</Trans>}+ {step === 'pick' ? <Trans>Back</Trans> : <Trans>Cancel</Trans>}</Button>+ {step === 'configure' ? (+ <Button+ type="submit"+ form={formId}+ disabled={submitDisabled}+ data-testid="create-submit"+ >+ {busy ? <Trans>Creating</Trans> : <Trans>Create</Trans>}+ </Button>+ ) : null}</DialogFooter></DialogContent></Dialog>diff --git a/packages/app/src/components/CreatedItemsList.tsx b/packages/app/src/components/CreatedItemsList.tsxindex f457783f7..038342c2f 100644--- a/packages/app/src/components/CreatedItemsList.tsx+++ b/packages/app/src/components/CreatedItemsList.tsx@@ -12,6 +12,32 @@ function basename(path: string): string {return path.split('/').pop() ?? path;}+/**+ * Stand-in for `CreatedItemsList` while its plan is in flight. Skeleton rows+ * match the real row shape (size-8 icon block, centered, + name/description+ * lines) so the plan swaps in without a layout jump. `rowCount` tracks the+ * pack's folders (the dominant row kind). `role="status"` so assistive tech+ * hears it loading.+ */+export function CreatedItemsSkeleton({ rowCount }: { rowCount: number }) {+ const { t } = useLingui();+ return (+ <section role="status" aria-busy="true" aria-label={t`Loading preview`}>+ <ul className="space-y-2">+ {Array.from({ length: rowCount }, (_, i) => i).map((i) => (+ <li key={`seed-skeleton-${i}`} aria-hidden="true" className="flex items-center gap-3">+ <div className="size-8 shrink-0 animate-pulse rounded-lg bg-muted" />+ <div className="min-w-0 flex-1 py-0.5">+ <span className="block h-3.5 w-28 animate-pulse rounded bg-muted" />+ <span className="mt-2 block h-3 w-4/5 animate-pulse rounded bg-muted" />+ </div>+ </li>+ ))}+ </ul>+ </section>+ );+}+/*** A top-level folder to preview as a row. `templateCount` is the number of* starter/extra templates the plan installs into `<folder>/.ok/templates/`.diff --git a/packages/app/src/components/SeedDialog.tsx b/packages/app/src/components/SeedDialog.tsxindex b468ffeb2..fada46394 100644--- a/packages/app/src/components/SeedDialog.tsx+++ b/packages/app/src/components/SeedDialog.tsx@@ -5,8 +5,9 @@ import { ArrowLeft } from 'lucide-react';import type { ReactElement } from 'react';import { useEffect, useRef, useState } from 'react';import { toast } from 'sonner';-import { CreatedItemsList } from '@/components/CreatedItemsList';+import { CreatedItemsList, CreatedItemsSkeleton } from '@/components/CreatedItemsList';import { PackCardGrid } from '@/components/PackCardGrid';+import { type SeedRootChoice, SeedRootPicker } from '@/components/SeedRootPicker';import { Button } from '@/components/ui/button';import {DialogBody,@@ -17,17 +18,9 @@ import {Dialog as DialogRoot,DialogTitle,} from '@/components/ui/dialog';-import {- Field,- FieldContent,- FieldDescription,- FieldLabel,- FieldTitle,-} from '@/components/ui/field';-import { Input } from '@/components/ui/input';-import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';import { Spinner } from '@/components/ui/spinner';import type { OkPackId, OkScaffoldPlan, OkSeedPackInfo } from '@/lib/desktop-bridge-types';+import { PACK_BLURBS } from '@/lib/pack-copy';import { seedClient } from '@/lib/seed-client';const DEFAULT_PACK_ID: OkPackId = 'knowledge-base';@@ -54,7 +47,6 @@ type DialogPhase =| { kind: 'error'; message: string }| { kind: 'applying'; plan: OkScaffoldPlan };-type RootChoice = 'project-root' | 'subfolder';type DialogStep = 'pick' | 'configure';/**@@ -76,7 +68,7 @@ export function SeedDialog({ open, onOpenChange, onSeedApplied, initialPackId }:const [phase, setPhase] = useState<DialogPhase>({ kind: 'loading' });const [packs, setPacks] = useState<OkSeedPackInfo[] | null>(null);const [selectedPackId, setSelectedPackId] = useState<OkPackId>(initialPackId ?? DEFAULT_PACK_ID);- const [rootChoice, setRootChoice] = useState<RootChoice>('project-root');+ const [rootChoice, setRootChoice] = useState<SeedRootChoice>('project-root');const [subfolder, setSubfolder] = useState<string>('');// Tracks which step the body is rendering. Starts at 'configure' when the// caller pre-picked a pack (canvas entry); otherwise the user picks in@@ -283,24 +275,12 @@ export function SeedDialog({ open, onOpenChange, onSeedApplied, initialPackId }:step === 'configure' && selectedPack? t`Initialize ${selectedPackName}`: t`Initialize a starter pack`;- // The configure step has room for more than the one-line card blurb: a- // sentence or two on why you'd reach for this pack and what you'd do with it.- // Dialog-only copy, so it lives here rather than on the pack wire (a- // drift-guarded three-way mirror). Unmapped packs fall back to the short- // `description`.- const packBlurbs: Partial<Record<OkPackId, string>> = {- 'knowledge-base': t`Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later.`,- 'software-lifecycle': t`Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke.`,- 'codebase-wiki': t`Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask.`,- 'plain-notes': t`A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time.`,- okf: t`A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format.`,- 'writing-pipeline': t`Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages.`,- 'entity-vault': t`Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about.`,- worldbuilding: t`Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write.`,- };+ const packBlurb = selectedPack ? PACK_BLURBS[selectedPack.id] : undefined;const description =step === 'configure' && selectedPack- ? (packBlurbs[selectedPack.id] ?? selectedPack.description)+ ? packBlurb+ ? t(packBlurb)+ : selectedPack.description: t`Ready-made folders and templates to get you started quickly.`;function handlePackSelect(id: OkPackId) {@@ -333,7 +313,7 @@ export function SeedDialog({ open, onOpenChange, onSeedApplied, initialPackId }:</DialogBody>) : (<DialogBody className="space-y-6">- <RootPicker+ <SeedRootPickerchoice={rootChoice}subfolder={subfolder}placeholder={selectedPack?.defaultSubfolder ?? 'subfolder'}@@ -378,73 +358,6 @@ export function SeedDialog({ open, onOpenChange, onSeedApplied, initialPackId }:);}-function RootPicker({- choice,- subfolder,- placeholder,- onChoiceChange,- onSubfolderChange,-}: {- choice: RootChoice;- subfolder: string;- placeholder: string;- onChoiceChange: (next: RootChoice) => void;- onSubfolderChange: (next: string) => void;-}) {- const { t } = useLingui();- return (- <div className="space-y-2 py-1">- <p className="text-sm font-medium">- <Trans>Where should it live?</Trans>- </p>- <RadioGroup- className="sm:flex"- value={choice}- onValueChange={(next) => onChoiceChange(next as RootChoice)}- >- <FieldLabel htmlFor="seed-root-project-root">- <Field orientation="horizontal">- <FieldContent>- <FieldTitle>- <Trans>Project root</Trans>- </FieldTitle>- <FieldDescription className="text-1sm">- <Trans>Add it directly to this project.</Trans>- </FieldDescription>- </FieldContent>- <RadioGroupItem value="project-root" id="seed-root-project-root" />- </Field>- </FieldLabel>- <FieldLabel htmlFor="seed-root-subfolder">- <Field orientation="horizontal">- <FieldContent>- <FieldTitle>- <Trans>In a subfolder</Trans>- </FieldTitle>- <FieldDescription className="nth-last-2:mt-0 text-1sm">- <Trans>Reused if it already exists, created if not.</Trans>- </FieldDescription>- {choice === 'subfolder' && (- <Input- value={subfolder}- onChange={(e) => onSubfolderChange(e.target.value)}- placeholder={placeholder}- aria-label={t`Subfolder name`}- spellCheck={false}- autoCapitalize="off"- autoCorrect="off"- className="mt-1.5 font-mono text-xs bg-background"- />- )}- </FieldContent>- <RadioGroupItem value="subfolder" id="seed-root-subfolder" />- </Field>- </FieldLabel>- </RadioGroup>- </div>- );-}-function SeedDialogBody({phase,selectedPack,@@ -452,28 +365,8 @@ function SeedDialogBody({phase: DialogPhase;selectedPack: OkSeedPackInfo | undefined;}) {- const { t } = useLingui();if (phase.kind === 'loading') {- // Skeleton rows matching the real `CreatedItemsList` row shape (size-8 icon- // block, centered, + name/description lines), so the plan swaps in without a- // layout jump. Count tracks the pack's folders (the dominant row kind).- // `role="status"` so assistive tech hears it loading.- const rowCount = selectedPack?.folders.length ?? 6;- return (- <section role="status" aria-busy="true" aria-label={t`Loading preview`}>- <ul className="space-y-2">- {Array.from({ length: rowCount }, (_, i) => i).map((i) => (- <li key={`seed-skeleton-${i}`} aria-hidden="true" className="flex items-center gap-3">- <div className="size-8 shrink-0 animate-pulse rounded-lg bg-muted" />- <div className="min-w-0 flex-1 py-0.5">- <span className="block h-3.5 w-28 animate-pulse rounded bg-muted" />- <span className="mt-2 block h-3 w-4/5 animate-pulse rounded bg-muted" />- </div>- </li>- ))}- </ul>- </section>- );+ return <CreatedItemsSkeleton rowCount={selectedPack?.folders.length ?? 6} />;}if (phase.kind === 'error') {diff --git a/packages/app/src/components/SeedRootPicker.tsx b/packages/app/src/components/SeedRootPicker.tsxnew file mode 100644index 000000000..6b55afd40--- /dev/null+++ b/packages/app/src/components/SeedRootPicker.tsx@@ -0,0 +1,97 @@+import { Trans, useLingui } from '@lingui/react/macro';+import {+ Field,+ FieldContent,+ FieldDescription,+ FieldLabel,+ FieldTitle,+} from '@/components/ui/field';+import { Input } from '@/components/ui/input';+import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';++export type SeedRootChoice = 'project-root' | 'subfolder';++/**+ * "Where should it live?" chooser for a starter-pack scaffold — project root+ * (the default) or a named subfolder. Shared by the in-project seed dialog and+ * the create-new-project dialog so both offer the same choice with the same+ * default; a pack's `defaultSubfolder` only pre-fills the input, it never+ * silently becomes the destination.+ *+ * `idPrefix` keeps the radio ids unique when two instances could mount at once.+ */+export function SeedRootPicker({+ choice,+ subfolder,+ placeholder,+ idPrefix = 'seed-root',+ onChoiceChange,+ onSubfolderChange,+}: {+ choice: SeedRootChoice;+ subfolder: string;+ placeholder: string;+ idPrefix?: string;+ onChoiceChange: (next: SeedRootChoice) => void;+ onSubfolderChange: (next: string) => void;+}) {+ const { t } = useLingui();+ const projectRootId = `${idPrefix}-project-root`;+ const subfolderId = `${idPrefix}-subfolder`;+ const groupLabelId = `${idPrefix}-group-label`;+ return (+ <div className="space-y-2 py-1">+ {/* The heading is bound to the group with aria-labelledby, not left as a+ visual-only <p>: assistive tech announces the radios with no group+ context otherwise. */}+ <p id={groupLabelId} className="text-sm font-medium">+ <Trans>Where should it live?</Trans>+ </p>+ <RadioGroup+ aria-labelledby={groupLabelId}+ className="sm:flex"+ value={choice}+ onValueChange={(next) => onChoiceChange(next as SeedRootChoice)}+ >+ <FieldLabel htmlFor={projectRootId}>+ <Field orientation="horizontal">+ <FieldContent>+ <FieldTitle>+ <Trans>Project root</Trans>+ </FieldTitle>+ <FieldDescription className="text-1sm">+ <Trans>Add it directly to this project.</Trans>+ </FieldDescription>+ </FieldContent>+ <RadioGroupItem value="project-root" id={projectRootId} />+ </Field>+ </FieldLabel>+ <FieldLabel htmlFor={subfolderId}>+ <Field orientation="horizontal">+ <FieldContent>+ <FieldTitle>+ <Trans>In a subfolder</Trans>+ </FieldTitle>+ <FieldDescription className="nth-last-2:mt-0 text-1sm">+ <Trans>Reused if it already exists, created if not.</Trans>+ </FieldDescription>+ {choice === 'subfolder' && (+ <Input+ value={subfolder}+ onChange={(e) => onSubfolderChange(e.target.value)}+ placeholder={placeholder}+ aria-label={t`Subfolder name`}+ spellCheck={false}+ autoCapitalize="off"+ autoCorrect="off"+ className="mt-1.5 font-mono text-xs bg-background"+ />+ )}+ </FieldContent>+ <RadioGroupItem value="subfolder" id={subfolderId} />+ </Field>+ </FieldLabel>+ </RadioGroup>+ </div>+ );+}diff --git a/packages/app/src/lib/pack-copy.ts b/packages/app/src/lib/pack-copy.tsnew file mode 100644index 000000000..2808b5273--- /dev/null+++ b/packages/app/src/lib/pack-copy.ts@@ -0,0 +1,25 @@+import type { MessageDescriptor } from '@lingui/core';+import { msg } from '@lingui/core/macro';+import type { OkPackId } from '@/lib/desktop-bridge-types';++/**+ * Long-form pack copy for the surfaces that configure a pack before it is+ * applied — the in-project seed dialog and the create-new-project dialog.+ * Both have room for more than the one-line card blurb on the picker grid: a+ * sentence or two on why you'd reach for this pack and what you'd do with it.+ *+ * Dialog-only copy, so it lives here rather than on the pack wire (which would+ * make it a drift-guarded three-way mirror). Descriptors rather than strings so+ * the lookup can live at module scope; callers resolve with `t(...)` from+ * `useLingui()`. Unmapped packs fall back to the short wire `description`.+ */+export const PACK_BLURBS: Partial<Record<OkPackId, MessageDescriptor>> = {+ 'knowledge-base': msg`Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later.`,+ 'software-lifecycle': msg`Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke.`,+ 'codebase-wiki': msg`Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask.`,+ 'plain-notes': msg`A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time.`,+ okf: msg`A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format.`,+ 'writing-pipeline': msg`Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages.`,+ 'entity-vault': msg`Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about.`,+ worldbuilding: msg`Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write.`,+};diff --git a/packages/app/src/lib/seed-client.ts b/packages/app/src/lib/seed-client.tsindex 070a92746..aa307da92 100644--- a/packages/app/src/lib/seed-client.ts+++ b/packages/app/src/lib/seed-client.ts@@ -53,6 +53,12 @@ async function translateSeedError(res: Response): Promise<OkSeedError> {interface SeedPlanOptions {rootDir?: string;packId?: OkPackId;+ /**+ * Preview a pack for a project that does not exist yet. Desktop-only: it is+ * the create-new-project dialog's plan, and the HTTP transport always runs+ * inside an already-open project, so the query path below ignores it.+ */+ preview?: { skillsInstallable: boolean };}interface SeedApplyOptions {packId?: OkPackId;diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex 91f55948a..f603a6a62 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -52,6 +52,11 @@"-imiMK": ["متابعة — تتدفق التحديثات من مستودعك البعيد؛ وتبقى تعديلاتك على هذا الجهاز."],"-kKdCC": ["تم تثبيت ", ["imported"], " مهارة من ", ["0"]],"-kbIAr": ["الروابط والصور"],+ "-ksoxk": [+ "تم إعداد OpenKnowledge في جذر المستودع هنا، لذا تُوضع الحزمة داخل <0>",+ ["sanitized"],+ "</0> بدلاً من أعلى المستودع."+ ],"-l6jM7": ["ابدأ محادثة بزر +، أو شغّل وكيلاً من صفحة."],"-lCAuQ": ["يجري تحميل الرسم البياني"],"-o5XAG": [@@ -687,6 +692,7 @@"7m3Ade": ["التثبيتات:"],"7qRHf0": ["التثبيت لـ Claude Chat وCowork"],"7uBlRT": ["انسخ عنصر شجرة الملفات المركَّز عليه ليتمكن «لصق» من تكراره."],+ "7vxWET": ["معاينة الحزمة غير متاحة."],"7wogIQ": [["0",@@ -1078,24 +1084,6 @@"D-Oh1s": ["كيفية إعداد ", ["0"], " (يفتح في المتصفح)"],"D-_B7l": ["متصل — تُرجع نقطة النهاية هذه متجهات بـ ", ["0"], " بُعدًا."],"D12vtS": ["(منفصل)"],- "D2CwBE": [- "أنشئ مشروع OpenKnowledge جديدًا من حزمة البداية <0>",- ["0"],- "</0> (",- [- "1",- "plural",- {- "zero": ["#", " مجلد"],- "one": ["مجلد واحد"],- "two": ["مجلدان"],- "few": ["#", " مجلدات"],- "many": ["#", " مجلدًا"],- "other": ["#", " مجلد"]- }- ],- " وقوالب بداية) في المجلد الذي تختاره."- ],"D2emTw": ["حدث خطأ ما أثناء إرسال ملاحظاتك. يرجى المحاولة مرة أخرى."],"D4H2N6": ["إزالة ", ["tag"]],"D7hnvB": ["يجري التمعّن…"],@@ -1856,6 +1844,7 @@"MJuO1q": ["نافذة السياق:"],"MKEPCY": ["متابعة"],"MLVPcm": [["0"], " الإصدار ", ["1"]],+ "MPpSAg": ["إنشاء مشروع جديد من ", ["selectedPackName"]],"MQ5LOx": ["أعِد ",["display"],@@ -4701,6 +4690,7 @@"يتحقق من مشروعك مقابل Open Knowledge Format. قم بإيقاف تشغيله في أي وقت في الإعدادات."],"uKRYiW": ["حالة المزامنة غير متاحة — خطأ في الخادم."],+ "uLVNZL": ["تغيير الحزمة"],"uL_Wx8": ["توقفت الطرفية على نحو غير متوقع."],"uM6jnS": ["فشلت الاستعادة"],"uNGmQn": ["تعذّر تشغيل الاختبار. تأكد من أن OpenKnowledge لا يزال يعمل."],diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex edbe1a296..ce0e9bc71 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -1049,7 +1049,7 @@ msgstr "يوجد بالفعل مجلد باسم <0>{sanitized}</0> فيه ملفmsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "المفتاح مضبوط، لكن مزوّد التضمينات رفضه أو تعذّر الوصول إليه — فعاد البحث إلى مطابقة الكلمات المفتاحية. استخدم <0>اختبار الاتصال</0> ضمن «نقطة نهاية مخصصة» لمعرفة الخطأ."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "قاعدة معرفة تتبع تنسيق Google Open Knowledge، وهو طريقة مشتركة لتنظيم ما تعرفه. اختر هذا إن أردت أن تعمل ملاحظاتك جيدًا مع أدوات أخرى تفهم التنسيق."@@ -1140,7 +1140,7 @@ msgstr "توجد سمة محفوظة بهذا الاسم بالفعل."msgid "A short line shown under the title in the template list."msgstr "سطر قصير يظهر تحت العنوان في قائمة القوالب."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "مكان بسيط للكتابة، بملف واحد لكل موضوع ويومية يومية. اختر هذا إن أردت البدء بالكتابة فحسب وترك الروابط بين الملاحظات تتكوّن مع الوقت."@@ -1311,7 +1311,7 @@ msgstr "إضافة حقل"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "أضف نمط ملف أو مجلد، مثل guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "أضفه مباشرةً إلى هذا المشروع."@@ -1897,6 +1897,7 @@ msgstr "متاح في تطبيق OpenKnowledge لسطح المكتب. من ال#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "ابنِ قاعدة معرفة لبحث المنافسين. ابدأ بmsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "ابنِ ويكي معرفيًا عن أنواع الطيور غير القادرة على الطيران. ابدأ بصفحة نظرة عامة، ثم أضف صفحات مترابطة لكل مجموعة رئيسية (الطيور الجواثم كالنعام والإيمو والكيوي؛ والبطاريق؛ والمرعات غير الطائرة)، والمناطق التي تعيش فيها، وخطًا زمنيًا لكيفية تطور فقدان الطيران."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "ابنِ العالم الذي تدور فيه قصتك وتتبّعه. موطن لشخصياتك وأماكنك وفصائلك والسِّيَر التي تربطها، لتبقى التفاصيل متسقة أثناء كتابتك."@@ -2227,6 +2228,10 @@ msgstr "لا يمكن حذف ملفات لم تُحَل تعارضاتها"msgid "Cannot upload: no document is open"msgstr "تعذّر الرفع: لا يوجد مستند مفتوح"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "تغيير الحزمة"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "تغيير المزوّد"@@ -3866,12 +3871,6 @@ msgstr "أنشئ فرعًا جديدًا، أو اسحب فرعًا موجودًmsgid "Create a new list item from the current list item."msgstr "أنشئ عنصر قائمة جديدًا من عنصر القائمة الحالي."-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "أنشئ مشروع OpenKnowledge جديدًا من حزمة البداية <0>{0}</0> ({1, plural, zero {# مجلد} one {مجلد واحد} two {مجلدان} few {# مجلدات} many {# مجلدًا} other {# مجلد}} وقوالب بداية) في المجلد الذي تختاره."-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "أنشئ مشروع OpenKnowledge جديدًا في المجلد الذي تختاره."@@ -3913,6 +3912,10 @@ msgstr "إنشاء الصفحة المفقودة {target}"msgid "Create new project"msgstr "إنشاء مشروع جديد"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "إنشاء مشروع جديد من {selectedPackName}"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "إنشاء وسم جديد #{tagValue}"@@ -4605,6 +4608,7 @@ msgstr "مثال: تبديل المشاريع أثناء تشغيل مزامنةmsgid "e.g. The editor froze after I pasted a large table"msgstr "مثال: تجمّد المحرر بعد لصق جدول كبير"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "تبني كل حزمة هيكل مشروعك بمجلدات وقوالب جاهزة."@@ -4924,6 +4928,7 @@ msgstr "إدخال"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "أدخل قيمة ست عشرية من 6 خانات مثل #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "أدخل اسم مجلد (مثل brain)."@@ -5052,7 +5057,7 @@ msgstr "وضع الرسم البياني الموسّع"msgid "Expires in {timeLabel}"msgstr "تنتهي الصلاحية خلال {timeLabel}"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "اشرح كيف يعمل مستودع الكود لديك ليجد زملاؤك ووكلاء الذكاء الاصطناعي طريقهم فيه. مناسب لتوثيق البنية والأجزاء الرئيسية والأسئلة التي يطرحها المساهمون الجدد دائمًا."@@ -6365,7 +6370,7 @@ msgstr "يجري الاستيراد"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "في مستند السجل: تبدأ عناوين الإدخال بتاريخ ISO YYYY-MM-DD، الأحدث أولاً. إن عدد titles الذي تستخدمه، وما إذا كانت الإدخالات عبارة عن تعداد نقطي، هو أمر متروك لك."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "في مجلد فرعي"@@ -6810,7 +6815,7 @@ msgstr "انتقل إلى مصدر Markdown للكتلة عند المؤشر،msgid "just now"msgstr "الآن"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "احتفظ بسجل مكتوب لكيفية بناء منتجك. موطن لاقتراح الأفكار وتدوين القرارات وكتابة المواصفات وتسجيل ما تعلمته بعد أي عطل."@@ -6854,7 +6859,7 @@ msgstr "اجعل الاسم 64 حرفًا أو أقل."msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "أبقِ هذا المشروع متزامنًا مع مستودعك البعيد. تجلب المتابعة التحديثات دون دفع؛ أما المزامنة الكاملة فتدفع إيداعاتك أيضًا. يتطلب تشغيل المزامنة تأكيدًا."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "تتبّع الأشخاص والشركات التي تعمل معها والاجتماعات التي تعقدها معهم. مناسب لتذكّر من يكون أحدهم، وكيف تعرفه، وآخر ما تحدثتما عنه."@@ -7134,7 +7139,7 @@ msgstr "يجري تحميل ملف PDF"msgid "Loading popular skills"msgstr "يجري تحميل المهارات الشائعة"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "يجري تحميل المعاينة"@@ -8879,6 +8884,10 @@ msgstr "ثبّت OpenKnowledge مهارة"msgid "OpenKnowledge integrations checked."msgstr "تم فحص تكاملات OpenKnowledge."+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "تم إعداد OpenKnowledge في جذر المستودع هنا، لذا تُوضع الحزمة داخل <0>{sanitized}</0> بدلاً من أعلى المستودع."+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "يستخدم OpenKnowledge حساب GitHub الذي توفره واجهة gh السطرية. لا توجد بيانات اعتماد منفصلة لـ OpenKnowledge لقطع اتصالها."@@ -9103,6 +9112,10 @@ msgstr "المالك"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo، أو رابط git، أو مسار محلي"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "معاينة الحزمة غير متاحة."+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "إضافات المشروع هي معيار التأليف لمشروعك — شغّلها أو أوقفها هنا. يُودَع الاختيار في config.yml ويُشارك مع كل متعاون عبر git. تحصل كل إضافة مفعّلة على صفحتها الخاصة تحت «الإضافات» في الشريط الجانبي للإعدادات."#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "جذر المشروع"@@ -10445,7 +10458,7 @@ msgstr "جارٍ إعادة المحاولة…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "أعد استخدام تبويب واحد عند التنقل بالنقر في الأشرطة الجانبية. عند التعطيل، تُفتح كل نقرة في تبويبها الخاص."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "يُعاد استخدامه إن كان موجودًا، ويُنشأ إن لم يكن."@@ -11717,6 +11730,7 @@ msgstr "محتوى البداية"msgid "starter pack"msgstr "حزمة بداية"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "حزم البداية"@@ -11828,7 +11842,7 @@ msgstr "النمط"msgid "subagents"msgstr "subagents"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "اسم المجلد الفرعي"@@ -12088,7 +12102,7 @@ msgstr "وسوم تطابق «{tagListQuery}»"msgid "Take a look if you'd like. This exact file is what we receive."msgstr "ألقِ نظرة إن أردت. هذا الملف بعينه هو ما نستلمه."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "خذ نصًا من فكرة أولية إلى مسودة مكتملة إلى شيء جاهز للمشاركة. مناسب للتدوينات أو المقالات أو أي شيء تريد أن يمر بمراحل واضحة."@@ -13159,7 +13173,7 @@ msgstr "هل تشغّل معاينات الروابط الخارجية؟"msgid "Turn on semantic search?"msgstr "هل تشغّل البحث الدلالي؟"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "حوّل ما تقرأه إلى مقالات واضحة موثوقة. احفظ مصدرًا، واستخلص معناه، ثم أبقِ النسخة النهائية لتعتمد عليها لاحقًا."@@ -13829,7 +13843,7 @@ msgstr "عند تثبيتك مهارة منشورة، أخبر دليل المهmsgid "Where newly added attachments are placed."msgstr "أين توضع المرفقات المضافة حديثًا."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "أين ينبغي أن يعيش؟"diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex ec879468b..f9481e742 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -28,6 +28,11 @@"-imiMK": ["Follow — হালনাগাদ আপনার রিমোট থেকে আসতে থাকে; আপনার সম্পাদনা এই কম্পিউটারেই থাকে।"],"-kKdCC": [["0"], " থেকে ", ["imported"], "টি স্কিল ইনস্টল করা হয়েছে"],"-kbIAr": ["লিংক ও ছবি"],+ "-ksoxk": [+ "এখানে OpenKnowledge সংগ্রহস্থলের মূলে সেট আপ করা হয়েছে, তাই প্যাকটি সংগ্রহস্থলের শীর্ষে না গিয়ে <0>",+ ["sanitized"],+ "</0>-এর ভিতরে যায়।"+ ],"-l6jM7": ["+ বোতাম দিয়ে চ্যাট শুরু করুন, বা কোনো পৃষ্ঠা থেকে এজেন্ট চালু করুন।"],"-lCAuQ": ["গ্রাফ লোড হচ্ছে"],"-o5XAG": [@@ -570,6 +575,7 @@"7m3Ade": ["ইনস্টল:"],"7qRHf0": ["Claude Chat ও Cowork-এর জন্য ইনস্টল করুন"],"7uBlRT": ["ফোকাস করা ফাইল-ট্রি আইটেমটি কপি করুন যাতে Paste সেটির প্রতিলিপি বানাতে পারে।"],+ "7vxWET": ["প্যাক প্রিভিউ অনুপলব্ধ।"],"7wogIQ": [["0", "plural", { "one": ["প্লাগইন"], "other": ["প্লাগইন"] }]],"80c4-P": ["কোড ক্লিপবোর্ডে কপি হয়েছে"],"81H_23": ["প্রপার্টি যোগ করুন"],@@ -894,13 +900,6 @@"D-Oh1s": [["0"], " কীভাবে সেট আপ করবেন (ব্রাউজারে খোলে)"],"D-_B7l": ["যুক্ত হয়েছে — এই এন্ডপয়েন্ট ", ["0"], "-মাত্রার ভেক্টর ফেরায়।"],"D12vtS": ["(বিচ্ছিন্ন)"],- "D2CwBE": [- "আপনার পছন্দের ফোল্ডারে <0>",- ["0"],- "</0> স্টার্টার প্যাক (",- ["1", "plural", { "one": ["#", " ফোল্ডার"], "other": ["#", " ফোল্ডার"] }],- " ও স্টার্টার টেমপ্লেট) থেকে একটি নতুন OpenKnowledge প্রকল্প তৈরি করুন।"- ],"D2emTw": ["আপনার মতামত পাঠানোর সময় কিছু একটা ভুল হয়েছে। অনুগ্রহ করে আবার চেষ্টা করুন।"],"D4H2N6": [["tag"], " সরান"],"D7hnvB": ["ভেবে দেখা হচ্ছে…"],@@ -1547,6 +1546,7 @@"MJuO1q": ["প্রসঙ্গ জানালা:"],"MKEPCY": ["Follow"],"MLVPcm": [["0"], " সংস্করণ ", ["1"]],+ "MPpSAg": [["selectedPackName"], " থেকে নতুন প্রকল্প তৈরি করুন"],"MQ5LOx": [["display"],"-কে আবার একটি সত্যিকারের ডিরেক্টরি বানান যাতে এখন দেখা প্রতিটি স্কিলের জন্য আলাদা সিমলিংক থাকে — কিছুই কাজ করা বন্ধ করে না, আর তারপর প্রতিটি স্কিলের মেনু সেটি সামলায়।"@@ -4003,6 +4003,7 @@"Open Knowledge Format এর বিরুদ্ধে আপনার প্রকল্প পরীক্ষা করে। সেটিংস থেকে যেকোনো সময় এটি বন্ধ করুন।"],"uKRYiW": ["সিঙ্কের অবস্থা পাওয়া যাচ্ছে না — সার্ভার ত্রুটি।"],+ "uLVNZL": ["প্যাক বদলান"],"uL_Wx8": ["টার্মিনাল অপ্রত্যাশিতভাবে থেমে গেছে।"],"uM6jnS": ["ফিরিয়ে আনা ব্যর্থ"],"uNGmQn": ["পরীক্ষা চালানো যায়নি। OpenKnowledge এখনও চলছে কি না দেখুন।"],diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex 8cbcb9a9e..f1b81f2e4 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -1045,7 +1045,7 @@ msgstr "<0>{sanitized}</0> নামের একটি ফোল্ডারেmsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "একটি কী নির্ধারিত আছে, কিন্তু এমবেডিং সরবরাহকারী সেটি প্রত্যাখ্যান করেছে বা তার নাগাল পাওয়া যায়নি — অনুসন্ধান কীওয়ার্ড মিলানোয় ফিরে গেছে। কী ভুল হয়েছে দেখতে Custom endpoint-এর নিচে <0>সংযোগ পরীক্ষা করুন</0> ব্যবহার করুন।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "এমন একটি জ্ঞানভাণ্ডার যা Google-এর Open Knowledge Format মেনে চলে, অর্থাৎ আপনি যা জানেন তা গুছিয়ে রাখার একটি সাধারণ উপায়। আপনার নোট যদি এই ফরম্যাট বোঝে এমন অন্য টুলের সঙ্গেও ভালো কাজ করুক চান, তবে এটি বাছুন।"@@ -1136,7 +1136,7 @@ msgstr "এই নামে ইতিমধ্যেই একটি সংরmsgid "A short line shown under the title in the template list."msgstr "টেমপ্লেট তালিকায় শিরোনামের নিচে দেখানো একটি ছোট লাইন।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "লেখার জন্য একটি সহজ জায়গা, প্রতি বিষয়ে একটি ফাইল আর একটি দৈনিক জার্নাল নিয়ে। আপনি যদি কেবল লেখা শুরু করতে চান এবং সময়ের সঙ্গে নোটগুলোর মধ্যে যোগসূত্র গড়ে উঠতে দিতে চান, তবে এটি বাছুন।"@@ -1307,7 +1307,7 @@ msgstr "ফিল্ড যোগ করুন"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "ফাইল বা ফোল্ডার প্যাটার্ন যোগ করুন, যেমন guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "এটি সরাসরি এই প্রকল্পে যোগ করুন।"@@ -1893,6 +1893,7 @@ msgstr "OpenKnowledge ডেস্কটপ অ্যাপে পাওয়#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2101,7 +2102,7 @@ msgstr "প্রতিযোগী গবেষণার একটি জ্ঞmsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "উড়তে না পারা পাখিদের বিভিন্ন ধরন নিয়ে একটি জ্ঞান উইকি গড়ুন। একটি সংক্ষিপ্তসার পাতা দিয়ে শুরু করুন, তারপর প্রতিটি প্রধান গোষ্ঠী (উটপাখি, ইমু ও কিউয়ির মতো রেটাইট; পেঙ্গুইন; এবং উড়তে না পারা রেল), তারা যে অঞ্চলে থাকে, এবং উড়তে না পারার বৈশিষ্ট্য কীভাবে বিকশিত হলো তার একটি কালানুক্রমের জন্য পরস্পর-যুক্ত পাতা যোগ করুন।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "আপনার গল্পের পেছনের জগৎ গড়ুন এবং তার হিসাব রাখুন। আপনার চরিত্র, স্থান, গোষ্ঠী এবং তাদের যুক্ত করা কাহিনির একটি ঘর, যাতে লেখার সময় খুঁটিনাটি সামঞ্জস্যপূর্ণ থাকে।"@@ -2223,6 +2224,10 @@ msgstr "যেসব ফাইলের দ্বন্দ্ব এখনওmsgid "Cannot upload: no document is open"msgstr "আপলোড করা যাচ্ছে না: কোনো নথি খোলা নেই"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "প্যাক বদলান"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "সরবরাহকারী বদলান"@@ -3862,12 +3867,6 @@ msgstr "একটি নতুন ব্রাঞ্চ তৈরি করুmsgid "Create a new list item from the current list item."msgstr "বর্তমান তালিকা আইটেম থেকে একটি নতুন তালিকা আইটেম তৈরি করুন।"-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "আপনার পছন্দের ফোল্ডারে <0>{0}</0> স্টার্টার প্যাক ({1, plural, one {# ফোল্ডার} other {# ফোল্ডার}} ও স্টার্টার টেমপ্লেট) থেকে একটি নতুন OpenKnowledge প্রকল্প তৈরি করুন।"-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "আপনার পছন্দের ফোল্ডারে একটি নতুন OpenKnowledge প্রকল্প তৈরি করুন।"@@ -3909,6 +3908,10 @@ msgstr "অনুপস্থিত পাতা {target} তৈরি করুmsgid "Create new project"msgstr "নতুন প্রকল্প তৈরি করুন"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "{selectedPackName} থেকে নতুন প্রকল্প তৈরি করুন"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "নতুন ট্যাগ #{tagValue} তৈরি করুন"@@ -4601,6 +4604,7 @@ msgstr "যেমন সিঙ্ক চলার সময় প্রকলmsgid "e.g. The editor froze after I pasted a large table"msgstr "যেমন একটি বড় টেবিল পেস্ট করার পর সম্পাদক জমে গিয়েছিল"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "প্রতিটি প্যাক আপনার প্রকল্পকে তৈরি ফোল্ডার ও টেমপ্লেট দিয়ে কাঠামো দেয়।"@@ -4920,6 +4924,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "#1A2B3C-এর মতো ৬-অঙ্কের হেক্স দিন"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "একটি ফোল্ডারের নাম দিন (যেমন brain)।"@@ -5048,7 +5053,7 @@ msgstr "মেলে ধরা গ্রাফ মোড"msgid "Expires in {timeLabel}"msgstr "{timeLabel}-এ মেয়াদ শেষ"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "আপনার কোডবেস কীভাবে কাজ করে তা বুঝিয়ে বলুন যাতে সহকর্মী ও AI এজেন্ট পথ খুঁজে পায়। স্থাপত্য, প্রধান অংশ এবং নতুন অবদানকারীরা যে প্রশ্নগুলো সবসময় করেন সেগুলো নথিভুক্ত করার জন্য ভালো।"@@ -6361,7 +6366,7 @@ msgstr "আমদানি করা হচ্ছে"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "একটি লগ নথিতে: এন্ট্রি শিরোনাম একটি ISO YYYY-MM-DD তারিখ সহ, নতুন প্রথম। আপনি কতগুলি title ব্যবহার করবেন এবং এন্ট্রিগুলি বুলেট কিনা তা আপনার উপর নির্ভর করে।"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "একটি উপ-ফোল্ডারে"@@ -6806,7 +6811,7 @@ msgstr "কার্সরে থাকা ব্লকের markdown সোরmsgid "just now"msgstr "এইমাত্র"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "আপনার পণ্য কীভাবে তৈরি হয় তার লিখিত হিসাব রাখুন। ধারণা প্রস্তাব করা, সিদ্ধান্ত নথিভুক্ত করা, স্পেক লেখা এবং কিছু ভেঙে যাওয়ার পর যা শিখলেন তা ধরে রাখার একটি ঘর।"@@ -6850,7 +6855,7 @@ msgstr "নামটি ৬৪ অক্ষর বা তার কমে রাmsgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "এই প্রকল্পটি আপনার git রিমোটের সঙ্গে মিলিয়ে রাখুন। Follow না পাঠিয়ে হালনাগাদ আনে; পূর্ণ সিঙ্ক আপনার কমিটও পাঠায়। সিঙ্ক চালু করতে নিশ্চিতকরণ লাগে।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "আপনি যাদের ও যে কোম্পানিগুলোর সঙ্গে কাজ করেন এবং তাদের সঙ্গে আপনার বৈঠকগুলোর হিসাব রাখুন। কেউ কে, আপনি তাকে কীভাবে চেনেন, এবং শেষবার কী নিয়ে কথা হয়েছিল তা মনে রাখার জন্য ভালো।"@@ -7130,7 +7135,7 @@ msgstr "PDF লোড হচ্ছে"msgid "Loading popular skills"msgstr "জনপ্রিয় স্কিল লোড হচ্ছে"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "প্রাকদর্শন লোড হচ্ছে"@@ -8875,6 +8880,10 @@ msgstr "OpenKnowledge একটি স্কিল ইনস্টল করেmsgid "OpenKnowledge integrations checked."msgstr "OpenKnowledge ইন্টিগ্রেশন যাচাই করা হয়েছে।"+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "এখানে OpenKnowledge সংগ্রহস্থলের মূলে সেট আপ করা হয়েছে, তাই প্যাকটি সংগ্রহস্থলের শীর্ষে না গিয়ে <0>{sanitized}</0>-এর ভিতরে যায়।"+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge gh CLI-র দেওয়া একটি GitHub অ্যাকাউন্ট ব্যবহার করছে। বিচ্ছিন্ন করার মতো আলাদা কোনো OpenKnowledge ক্রেডেনশিয়াল নেই।"@@ -9099,6 +9108,10 @@ msgstr "মালিক"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo, একটি git URL, বা একটি স্থানীয় পথ"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "প্যাক প্রিভিউ অনুপলব্ধ।"+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9565,7 +9578,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "প্রকল্প প্লাগইন হলো আপনার প্রকল্পের রচনা-মান — সেগুলো এখানে চালু বা বন্ধ করুন। এই বাছাই config.yml-এ কমিট হয় এবং git-এর মাধ্যমে প্রতিটি সহযোগীর সঙ্গে ভাগ করা হয়। চালু করা প্রতিটি প্লাগইন সেটিং সাইডবারে Plugins-এর নিচে নিজের পাতা পায়।"#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "প্রকল্পের রুট"@@ -10441,7 +10454,7 @@ msgstr "পুনরায় চেষ্টা করা হচ্ছে…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "সাইডবার ঘুরে ক্লিক করার সময় একটি ট্যাবই পুনরায় ব্যবহার করুন। বন্ধ থাকলে প্রতিটি ক্লিক নিজের ট্যাবে খোলে।"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "আগে থেকে থাকলে পুনরায় ব্যবহার করা হয়, না থাকলে তৈরি করা হয়।"@@ -11713,6 +11726,7 @@ msgstr "শুরুর বিষয়বস্তু"msgid "starter pack"msgstr "স্টার্টার প্যাক"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "স্টার্টার প্যাক"@@ -11824,7 +11838,7 @@ msgstr "ধরন"msgid "subagents"msgstr "উপ-এজেন্ট"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "উপ-ফোল্ডারের নাম"@@ -12084,7 +12098,7 @@ msgstr "\"{tagListQuery}\"-এর সঙ্গে মিলে যাওয়msgid "Take a look if you'd like. This exact file is what we receive."msgstr "ইচ্ছে করলে দেখে নিন। ঠিক এই ফাইলটিই আমরা পাই।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "একটি লেখাকে একটি কাঁচা ধারণা থেকে একটি শেষ খসড়ায়, তারপর ভাগ করার মতো কিছুতে নিয়ে যান। ব্লগ পোস্ট, প্রবন্ধ, বা এমন যেকোনো কিছুর জন্য ভালো যা আপনি স্পষ্ট ধাপে ধাপে এগিয়ে নিতে চান।"@@ -13155,7 +13169,7 @@ msgstr "বাইরের লিংকের প্রাকদর্শন চmsgid "Turn on semantic search?"msgstr "অর্থভিত্তিক অনুসন্ধান চালু করবেন?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "আপনি যা পড়েন তা স্পষ্ট, নির্ভরযোগ্য নিবন্ধে রূপ দিন। একটি উৎস সংরক্ষণ করুন, তার অর্থ বুঝুন, তারপর চূড়ান্ত সংস্করণটি রেখে দিন যাতে পরে তার উপর ভরসা করতে পারেন।"@@ -13825,7 +13839,7 @@ msgstr "আপনি কোনো প্রকাশিত স্কিল ইmsgid "Where newly added attachments are placed."msgstr "নতুন যোগ করা সংযুক্তি কোথায় রাখা হয়।"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "এটি কোথায় থাকবে?"diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex 25bef4641..c281403f0 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -32,6 +32,11 @@"-imiMK": ["Follow — updates flow in from your remote; your edits stay on this computer."],"-kKdCC": ["Installed ", ["imported"], " skills from ", ["0"]],"-kbIAr": ["Links & images"],+ "-ksoxk": [+ "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>",+ ["sanitized"],+ "</0> rather than at the top of the repository."+ ],"-l6jM7": ["Start a chat with the + button, or launch an agent from a page."],"-lCAuQ": ["Loading graph"],"-o5XAG": [@@ -585,6 +590,7 @@"7m3Ade": ["installs:"],"7qRHf0": ["Install for Claude Chat & Cowork"],"7uBlRT": ["Copy the focused file-tree item so Paste can duplicate it."],+ "7vxWET": ["Pack preview unavailable."],"7wogIQ": [["0", "plural", { "one": ["Plugin"], "other": ["Plugins"] }]],"80c4-P": ["Code copied to clipboard"],"81H_23": ["Add properties"],@@ -926,13 +932,6 @@"D-Oh1s": ["How to set up ", ["0"], " (opens in browser)"],"D-_B7l": ["Connected — this endpoint returns ", ["0"], "-dimension vectors."],"D12vtS": ["(detached)"],- "D2CwBE": [- "Create a new OpenKnowledge project from the <0>",- ["0"],- "</0> starter pack (",- ["1", "plural", { "one": ["#", " folder"], "other": ["#", " folders"] }],- " and starter templates) in the folder of your choice."- ],"D2emTw": ["Something went wrong sending your feedback. Please try again."],"D4H2N6": ["Remove ", ["tag"]],"D7hnvB": ["Pondering…"],@@ -1595,6 +1594,7 @@"MJuO1q": ["Context window:"],"MKEPCY": ["Follow"],"MLVPcm": [["0"], " version ", ["1"]],+ "MPpSAg": ["Create new project from ", ["selectedPackName"]],"MQ5LOx": ["Turn ",["display"],@@ -4136,6 +4136,7 @@"Checks your project against the Open Knowledge Format. Turn it off any time in Settings."],"uKRYiW": ["Sync status unavailable — server error."],+ "uLVNZL": ["Change pack"],"uL_Wx8": ["The terminal stopped unexpectedly."],"uM6jnS": ["Restore failed"],"uNGmQn": ["Couldn't run the test. Check that OpenKnowledge is still running."],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex bc33e901d..d2e96c5e6 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -1049,7 +1049,7 @@ msgstr "A folder named <0>{sanitized}</0> already has files here. Pick a differemsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."@@ -1140,7 +1140,7 @@ msgstr "A saved theme already uses this name."msgid "A short line shown under the title in the template list."msgstr "A short line shown under the title in the template list."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."@@ -1311,7 +1311,7 @@ msgstr "Add field"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "Add file or folder pattern, e.g. guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "Add it directly to this project."@@ -1897,6 +1897,7 @@ msgstr "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok c#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "Build a competitor research knowledge base. Start with an overview page,msgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."@@ -2227,6 +2228,10 @@ msgstr "Cannot delete files with unresolved conflicts"msgid "Cannot upload: no document is open"msgstr "Cannot upload: no document is open"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "Change pack"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "Change provider"@@ -3866,12 +3871,6 @@ msgstr "Create a new branch, or check out an existing one, in its own window."msgid "Create a new list item from the current list item."msgstr "Create a new list item from the current list item."-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "Create a new OpenKnowledge project in the folder of your choice."@@ -3913,6 +3912,10 @@ msgstr "Create missing page {target}"msgid "Create new project"msgstr "Create new project"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "Create new project from {selectedPackName}"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "Create new tag #{tagValue}"@@ -4605,6 +4608,7 @@ msgstr "e.g. Switching projects while a sync was running"msgid "e.g. The editor froze after I pasted a large table"msgstr "e.g. The editor froze after I pasted a large table"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "Each pack scaffolds your project with ready-made folders and templates."@@ -4924,6 +4928,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "Enter a 6-digit hex like #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "Enter a folder name (e.g. brain)."@@ -5052,7 +5057,7 @@ msgstr "Expanded graph mode"msgid "Expires in {timeLabel}"msgstr "Expires in {timeLabel}"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."@@ -6365,7 +6370,7 @@ msgstr "Importing"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "In a subfolder"@@ -6810,7 +6815,7 @@ msgstr "Jump to the markdown source for the block at the cursor, centered and himsgid "just now"msgstr "just now"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."@@ -6854,7 +6859,7 @@ msgstr "Keep the name to 64 characters or fewer."msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."@@ -7134,7 +7139,7 @@ msgstr "Loading PDF"msgid "Loading popular skills"msgstr "Loading popular skills"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "Loading preview"@@ -8879,6 +8884,10 @@ msgstr "OpenKnowledge installed a skill"msgid "OpenKnowledge integrations checked."msgstr "OpenKnowledge integrations checked."+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."@@ -9103,6 +9112,10 @@ msgstr "Owner"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo, a git URL, or a local path"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "Pack preview unavailable."+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "Project plugins are your project's authoring standard — turn them on or off here. The choice is committed to config.yml and shared with every collaborator via git. Each enabled plugin gets its own page under Plugins in the settings sidebar."#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "Project root"@@ -10445,7 +10458,7 @@ msgstr "Retrying…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "Reused if it already exists, created if not."@@ -11717,6 +11730,7 @@ msgstr "Starter content"msgid "starter pack"msgstr "starter pack"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "Starter packs"@@ -11828,7 +11842,7 @@ msgstr "Style"msgid "subagents"msgstr "subagents"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "Subfolder name"@@ -12088,7 +12102,7 @@ msgstr "Tags matching \"{tagListQuery}\""msgid "Take a look if you'd like. This exact file is what we receive."msgstr "Take a look if you'd like. This exact file is what we receive."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."@@ -13159,7 +13173,7 @@ msgstr "Turn on external link previews?"msgid "Turn on semantic search?"msgstr "Turn on semantic search?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."@@ -13829,7 +13843,7 @@ msgstr "When you install a published skill, tell the skill directory (skills.sh)msgid "Where newly added attachments are placed."msgstr "Where newly added attachments are placed."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "Where should it live?"diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex 564ec42a5..305dbafda 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -44,6 +44,11 @@],"-kKdCC": ["Se instalaron ", ["imported"], " habilidades desde ", ["0"]],"-kbIAr": ["Enlaces e imágenes"],+ "-ksoxk": [+ "Aquí OpenKnowledge se configura en la raíz del repositorio, así que el paquete va dentro de <0>",+ ["sanitized"],+ "</0> en lugar de en la parte superior del repositorio."+ ],"-l6jM7": ["Inicia un chat con el botón + o lanza un agente desde una página."],"-lCAuQ": ["Cargando el grafo"],"-o5XAG": [@@ -691,6 +696,7 @@"7m3Ade": ["instalaciones:"],"7qRHf0": ["Instalar para Claude Chat y Cowork"],"7uBlRT": ["Copia el elemento enfocado del árbol de archivos para que Pegar pueda duplicarlo."],+ "7vxWET": ["La vista previa del paquete no está disponible."],"7wogIQ": [["0",@@ -1087,17 +1093,6 @@"D-Oh1s": ["Cómo configurar ", ["0"], " (se abre en el navegador)"],"D-_B7l": ["Conectado: este endpoint devuelve vectores de ", ["0"], " dimensiones."],"D12vtS": ["(desacoplado)"],- "D2CwBE": [- "Crea un proyecto de OpenKnowledge a partir del paquete inicial <0>",- ["0"],- "</0> (",- [- "1",- "plural",- { "one": ["#", " carpeta"], "many": ["#", " carpetas"], "other": ["#", " carpetas"] }- ],- " y plantillas iniciales) en la carpeta que elijas."- ],"D2emTw": ["Algo salió mal al enviar tus comentarios. Inténtalo de nuevo."],"D4H2N6": ["Quitar ", ["tag"]],"D7hnvB": ["Meditando…"],@@ -1869,6 +1864,7 @@"MJuO1q": ["Ventana de contexto:"],"MKEPCY": ["Seguir"],"MLVPcm": [["0"], " versión ", ["1"]],+ "MPpSAg": ["Crear proyecto a partir de ", ["selectedPackName"]],"MQ5LOx": ["Vuelve a convertir ",["display"],@@ -4775,6 +4771,7 @@"Comprueba tu proyecto con Open Knowledge Format. Puedes desactivarlo en cualquier momento en Configuración."],"uKRYiW": ["Estado de sincronización no disponible: error del servidor."],+ "uLVNZL": ["Cambiar paquete"],"uL_Wx8": ["La terminal se detuvo de forma inesperada."],"uM6jnS": ["Falló la restauración"],"uNGmQn": ["No se pudo ejecutar la prueba. Comprueba que OpenKnowledge siga en marcha."],diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex 93db4933c..a285738a8 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -1049,7 +1049,7 @@ msgstr "Ya hay archivos en una carpeta llamada <0>{sanitized}</0>. Elige otro nomsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "Hay una clave definida, pero el proveedor de embeddings la rechazó o no estaba disponible; la búsqueda volvió a coincidencia por palabras clave. Usa <0>Probar conexión</0> en Endpoint personalizado para ver qué falló."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "Una base de conocimiento que sigue el Open Knowledge Format de Google, una forma común de organizar lo que sabes. Elige esto si quieres que tus notas funcionen bien con otras herramientas que entienden el formato."@@ -1140,7 +1140,7 @@ msgstr "Ya existe un tema guardado con este nombre."msgid "A short line shown under the title in the template list."msgstr "Una línea breve que aparece bajo el título en la lista de plantillas."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "Un sitio sencillo para escribir, con un archivo por tema y un diario. Elige esto si solo quieres empezar a escribir y dejar que los enlaces entre notas surjan con el tiempo."@@ -1311,7 +1311,7 @@ msgstr "Añadir campo"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "Añade un patrón de archivo o carpeta, p. ej. guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "Añádelo directamente a este proyecto."@@ -1897,6 +1897,7 @@ msgstr "Disponible en la aplicación de escritorio de OpenKnowledge. Desde una t#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "Crea una base de conocimiento de investigación de la competencia. Empiemsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "Crea una wiki de conocimiento sobre los distintos tipos de aves no voladoras. Empieza con una página general y añade después páginas enlazadas entre sí para cada gran grupo (ratites como avestruces, emús y kiwis; pingüinos; y rálidos no voladores), las regiones donde viven y una cronología de cómo evolucionó la pérdida del vuelo."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "Construye y ordena el mundo que hay detrás de tu historia. Un sitio para tus personajes, lugares, facciones y la mitología que los une, para que los detalles no se contradigan mientras escribes."@@ -2227,6 +2228,10 @@ msgstr "No se pueden eliminar archivos con conflictos sin resolver"msgid "Cannot upload: no document is open"msgstr "No se puede subir: no hay ningún documento abierto"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "Cambiar paquete"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "Cambiar de proveedor"@@ -3866,12 +3871,6 @@ msgstr "Crea una rama nueva, o extrae una existente, en su propia ventana."msgid "Create a new list item from the current list item."msgstr "Crea un elemento de lista nuevo a partir del elemento actual."-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "Crea un proyecto de OpenKnowledge a partir del paquete inicial <0>{0}</0> ({1, plural, one {# carpeta} many {# carpetas} other {# carpetas}} y plantillas iniciales) en la carpeta que elijas."-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "Crea un proyecto de OpenKnowledge en la carpeta que elijas."@@ -3913,6 +3912,10 @@ msgstr "Crear la página inexistente {target}"msgid "Create new project"msgstr "Crear proyecto"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "Crear proyecto a partir de {selectedPackName}"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "Crear la etiqueta nueva #{tagValue}"@@ -4605,6 +4608,7 @@ msgstr "p. ej. Cambiar de proyecto mientras se sincronizaba"msgid "e.g. The editor froze after I pasted a large table"msgstr "p. ej. El editor se quedó bloqueado al pegar una tabla grande"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "Cada paquete prepara tu proyecto con carpetas y plantillas ya hechas."@@ -4924,6 +4928,7 @@ msgstr "Intro"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "Escribe un valor hexadecimal de 6 dígitos, como #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "Escribe un nombre de carpeta (p. ej. cerebro)."@@ -5052,7 +5057,7 @@ msgstr "Modo de grafo expandido"msgid "Expires in {timeLabel}"msgstr "Caduca en {timeLabel}"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "Explica cómo funciona tu código para que compañeros y agentes de IA se orienten. Va bien para documentar la arquitectura, las partes principales y las preguntas que siempre hacen los nuevos."@@ -6365,7 +6370,7 @@ msgstr "Importando"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "En un documento de registro, los encabezados de las entradas comienzan con una fecha ISO YYYY-MM-DD y se ordenan de más reciente a más antigua. Tú decides cuántos títulos usar y si las entradas llevan viñetas."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "En una subcarpeta"@@ -6810,7 +6815,7 @@ msgstr "Ir al código markdown del bloque donde está el cursor, centrado y resamsgid "just now"msgstr "ahora mismo"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "Deja constancia escrita de cómo se construye tu producto. Un sitio para proponer ideas, registrar decisiones, escribir especificaciones y anotar lo aprendido cuando algo falla."@@ -6854,7 +6859,7 @@ msgstr "El nombre debe tener 64 caracteres o menos."msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "Mantén este proyecto sincronizado con tu remoto de git. Seguir obtiene actualizaciones sin hacer push; la sincronización completa también sube tus commits. Activar la sincronización requiere confirmación."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "Lleva la cuenta de las personas y empresas con las que trabajas y de las reuniones que tienes con ellas. Va bien para recordar quién es alguien, de qué la conoces y de qué hablasteis la última vez."@@ -7134,7 +7139,7 @@ msgstr "Cargando el PDF"msgid "Loading popular skills"msgstr "Cargando las habilidades populares"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "Cargando la vista previa"@@ -8879,6 +8884,10 @@ msgstr "OpenKnowledge instaló una habilidad"msgid "OpenKnowledge integrations checked."msgstr "Se comprobaron las integraciones de OpenKnowledge."+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "Aquí OpenKnowledge se configura en la raíz del repositorio, así que el paquete va dentro de <0>{sanitized}</0> en lugar de en la parte superior del repositorio."+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge está usando una cuenta de GitHub proporcionada por la CLI de gh. No hay ninguna credencial propia de OpenKnowledge que desconectar."@@ -9103,6 +9112,10 @@ msgstr "Propietario"msgid "owner/repo, a git URL, or a local path"msgstr "propietario/repo, una URL de git o una ruta local"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "La vista previa del paquete no está disponible."+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "Los complementos de proyecto son el estándar de autoría de tu proyecto: actívalos o desactívalos aquí. La elección se guarda en config.yml y se comparte con todos los colaboradores mediante git. Cada complemento activado tiene su propia página bajo Complementos en la barra lateral de ajustes."#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "Raíz del proyecto"@@ -10445,7 +10458,7 @@ msgstr "Reintentando…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "Reutiliza una pestaña al ir haciendo clic en las barras laterales. Si está desactivado, cada clic abre su propia pestaña."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "Se reutiliza si ya existe; si no, se crea."@@ -11717,6 +11730,7 @@ msgstr "Contenido inicial"msgid "starter pack"msgstr "paquete inicial"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "Paquetes iniciales"@@ -11828,7 +11842,7 @@ msgstr "Estilo"msgid "subagents"msgstr "subagentes"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "Nombre de la subcarpeta"@@ -12088,7 +12102,7 @@ msgstr "Etiquetas que coinciden con \"{tagListQuery}\""msgid "Take a look if you'd like. This exact file is what we receive."msgstr "Échale un vistazo si quieres. Este archivo exacto es lo que recibimos."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "Lleva un texto de una idea en bruto a un borrador terminado y luego a algo listo para compartir. Va bien para entradas de blog, ensayos o cualquier cosa que quieras mover por etapas claras."@@ -13159,7 +13173,7 @@ msgstr "¿Activar la vista previa de enlaces externos?"msgid "Turn on semantic search?"msgstr "¿Activar la búsqueda semántica?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "Convierte lo que lees en artículos claros y fiables. Guarda una fuente, averigua qué significa y conserva la versión final para poder apoyarte en ella más adelante."@@ -13829,7 +13843,7 @@ msgstr "Cuando instalas una habilidad publicada, se avisa al directorio de habilmsgid "Where newly added attachments are placed."msgstr "Dónde se colocan los adjuntos recién añadidos."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "¿Dónde debería vivir?"diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex 770ebe6e0..0bc2ecb8a 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -44,6 +44,11 @@],"-kKdCC": [["imported"], " compétences installées depuis ", ["0"]],"-kbIAr": ["Liens et images"],+ "-ksoxk": [+ "Ici, OpenKnowledge est configuré à la racine du dépôt, donc le pack est placé dans <0>",+ ["sanitized"],+ "</0> plutôt qu’à la racine du dépôt."+ ],"-l6jM7": ["Démarrez un chat avec le bouton + ou lancez un agent depuis une page."],"-lCAuQ": ["Chargement du graphe"],"-o5XAG": [@@ -719,6 +724,7 @@"7uBlRT": ["Copie l'élément de l'arborescence ayant le focus pour que Coller puisse le dupliquer."],+ "7vxWET": ["Aperçu du pack indisponible."],"7wogIQ": [["0", "plural", { "one": ["Extension"], "many": ["Extensions"], "other": ["Extensions"] }]],@@ -1111,17 +1117,6 @@"D-Oh1s": ["Comment configurer ", ["0"], " (s'ouvre dans le navigateur)"],"D-_B7l": ["Connecté — ce point de terminaison renvoie des vecteurs de dimension ", ["0"], "."],"D12vtS": ["(détaché)"],- "D2CwBE": [- "Créez un nouveau projet OpenKnowledge à partir du pack de démarrage <0>",- ["0"],- "</0> (",- [- "1",- "plural",- { "one": ["#", " dossier"], "many": ["#", " dossiers"], "other": ["#", " dossiers"] }- ],- " et modèles de départ) dans le dossier de votre choix."- ],"D2emTw": ["Une erreur s'est produite lors de l'envoi de votre retour. Veuillez réessayer."],"D4H2N6": ["Retirer ", ["tag"]],"D7hnvB": ["Réflexion…"],@@ -1894,6 +1889,7 @@"MJuO1q": ["Fenêtre de contexte :"],"MKEPCY": ["Suivre"],"MLVPcm": [["0"], " version ", ["1"]],+ "MPpSAg": ["Créer un projet à partir de ", ["selectedPackName"]],"MQ5LOx": ["Retransformez ",["display"],@@ -4827,6 +4823,7 @@"Vérifie votre projet par rapport au Open Knowledge Format. Désactivez-le à tout moment dans Paramètres."],"uKRYiW": ["État de synchronisation indisponible — erreur serveur."],+ "uLVNZL": ["Changer de pack"],"uL_Wx8": ["Le terminal s'est arrêté de façon inattendue."],"uM6jnS": ["Échec de la restauration"],"uNGmQn": ["Impossible d'exécuter le test. Vérifiez qu'OpenKnowledge fonctionne toujours."],diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex 161eead8e..404fa34cb 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -1049,7 +1049,7 @@ msgstr "Un dossier nommé <0>{sanitized}</0> contient déjà des fichiers ici. Cmsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "Une clé est définie, mais le fournisseur d'embeddings l'a refusée ou était injoignable — la recherche est revenue à la correspondance par mots-clés. Utilisez <0>Tester la connexion</0> sous Point de terminaison personnalisé pour voir ce qui n'a pas fonctionné."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "Une base de connaissances qui suit l'Open Knowledge Format de Google, une manière commune d'organiser ce que vous savez. Choisissez ceci si vous voulez que vos notes fonctionnent bien avec les autres outils qui comprennent ce format."@@ -1140,7 +1140,7 @@ msgstr "Un thème enregistré utilise déjà ce nom."msgid "A short line shown under the title in the template list."msgstr "Une courte ligne affichée sous le titre dans la liste des modèles."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "Un espace d'écriture simple, avec un fichier par sujet et un journal quotidien. Choisissez ceci si vous voulez juste commencer à écrire et laisser les liens entre les notes se construire au fil du temps."@@ -1311,7 +1311,7 @@ msgstr "Ajouter un champ"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "Ajoutez un motif de fichier ou de dossier, par ex. guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "Ajoutez-le directement à ce projet."@@ -1897,6 +1897,7 @@ msgstr "Disponible dans l'application de bureau OpenKnowledge. Depuis un termina#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "Construis une base de connaissances d'étude concurrentielle. Commence pmsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "Construis un wiki de connaissances sur les différents types d'oiseaux incapables de voler. Commence par une page de synthèse, puis ajoute des pages liées entre elles pour chaque grand groupe (ratites comme les autruches, les émeus et les kiwis ; manchots ; râles inaptes au vol), les régions où ils vivent, et une chronologie de l'évolution de la perte du vol."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "Construisez et gardez la trace du monde qui se cache derrière votre histoire. Un espace pour vos personnages, vos lieux, vos factions et la mythologie qui les relie, afin que les détails restent cohérents pendant que vous écrivez."@@ -2227,6 +2228,10 @@ msgstr "Impossible de supprimer des fichiers dont les conflits ne sont pas résomsgid "Cannot upload: no document is open"msgstr "Envoi impossible : aucun document n'est ouvert"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "Changer de pack"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "Changer de fournisseur"@@ -3866,12 +3871,6 @@ msgstr "Créez une nouvelle branche, ou extrayez-en une existante, dans sa proprmsgid "Create a new list item from the current list item."msgstr "Crée un nouvel élément de liste à partir de l'élément courant."-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "Créez un nouveau projet OpenKnowledge à partir du pack de démarrage <0>{0}</0> ({1, plural, one {# dossier} many {# dossiers} other {# dossiers}} et modèles de départ) dans le dossier de votre choix."-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "Créez un nouveau projet OpenKnowledge dans le dossier de votre choix."@@ -3913,6 +3912,10 @@ msgstr "Créer la page manquante {target}"msgid "Create new project"msgstr "Créer un projet"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "Créer un projet à partir de {selectedPackName}"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "Créer l'étiquette #{tagValue}"@@ -4605,6 +4608,7 @@ msgstr "par ex. Changement de projet pendant une synchronisation"msgid "e.g. The editor froze after I pasted a large table"msgstr "par ex. L'éditeur s'est figé après avoir collé un grand tableau"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "Chaque pack équipe votre projet de dossiers et de modèles prêts à l'emploi."@@ -4924,6 +4928,7 @@ msgstr "Entrée"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "Saisissez une valeur hexadécimale à 6 chiffres, par ex. #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "Saisissez un nom de dossier (par ex. brain)."@@ -5052,7 +5057,7 @@ msgstr "Mode graphe développé"msgid "Expires in {timeLabel}"msgstr "Expire dans {timeLabel}"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "Explique le fonctionnement de ton code pour que tes coéquipiers et les agents IA s'y retrouvent. Utile pour documenter l'architecture, les grandes parties, et les questions que posent toujours les nouveaux contributeurs."@@ -6365,7 +6370,7 @@ msgstr "Importation"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "Dans un document de journal : les en-têtes d'entrée commencent par une date ISO YYYY-MM-DD, la plus récente en premier. Le nombre de title que vous utilisez et le fait que les entrées soient des puces dépendent de vous."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "Dans un sous-dossier"@@ -6810,7 +6815,7 @@ msgstr "Va à la source markdown du bloc situé au curseur, centrée et mise enmsgid "just now"msgstr "à l'instant"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "Gardez une trace écrite de la façon dont votre produit se construit. Un espace pour proposer des idées, consigner des décisions, rédiger des spécifications et noter ce que vous avez appris après un incident."@@ -6854,7 +6859,7 @@ msgstr "Limitez le nom à 64 caractères maximum."msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "Gardez ce projet synchronisé avec votre dépôt git distant. Suivre récupère les mises à jour sans pousser ; la synchronisation complète pousse aussi vos commits. Activer la synchronisation demande une confirmation."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "Gardez la trace des personnes et des entreprises avec lesquelles vous travaillez et des réunions que vous avez avec elles. Utile pour se rappeler qui est quelqu'un, comment vous le connaissez, et de quoi vous avez parlé la dernière fois."@@ -7134,7 +7139,7 @@ msgstr "Chargement du PDF"msgid "Loading popular skills"msgstr "Chargement des compétences populaires"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "Chargement de l'aperçu"@@ -8879,6 +8884,10 @@ msgstr "OpenKnowledge a installé une compétence"msgid "OpenKnowledge integrations checked."msgstr "Intégrations OpenKnowledge vérifiées."+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "Ici, OpenKnowledge est configuré à la racine du dépôt, donc le pack est placé dans <0>{sanitized}</0> plutôt qu’à la racine du dépôt."+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge utilise un compte GitHub fourni par la CLI gh. Il n'y a pas d'identifiant OpenKnowledge distinct à déconnecter."@@ -9103,6 +9112,10 @@ msgstr "Propriétaire"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo, une URL git, ou un chemin local"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "Aperçu du pack indisponible."+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "Les plugins de projet constituent la norme de rédaction de votre projet — activez-les ou désactivez-les ici. Ce choix est validé dans config.yml et partagé avec tous les collaborateurs via git. Chaque plugin activé obtient sa propre page sous Plugins dans la barre latérale des paramètres."#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "Racine du projet"@@ -10445,7 +10458,7 @@ msgstr "Nouvelle tentative…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "Réutiliser un même onglet lors des clics dans les barres latérales. Désactivé, chaque clic ouvre son propre onglet."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "Réutilisé s'il existe déjà, créé sinon."@@ -11717,6 +11730,7 @@ msgstr "Contenu de départ"msgid "starter pack"msgstr "pack de démarrage"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "Packs de démarrage"@@ -11828,7 +11842,7 @@ msgstr "Style"msgid "subagents"msgstr "sous-agents"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "Nom du sous-dossier"@@ -12088,7 +12102,7 @@ msgstr "Étiquettes correspondant à « {tagListQuery} »"msgid "Take a look if you'd like. This exact file is what we receive."msgstr "Jetez-y un œil si vous le souhaitez. C'est exactement ce fichier que nous recevons."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "Faites passer un texte de l'idée brute au brouillon achevé, puis à quelque chose que vous êtes prêt à partager. Utile pour les articles de blog, les essais, ou tout ce que vous voulez faire avancer par étapes claires."@@ -13159,7 +13173,7 @@ msgstr "Activer les aperçus de liens externes ?"msgid "Turn on semantic search?"msgstr "Activer la recherche sémantique ?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "Transformez ce que vous lisez en articles clairs et fiables. Enregistrez une source, dégagez-en le sens, puis conservez la version finale pour pouvoir vous y fier plus tard."@@ -13829,7 +13843,7 @@ msgstr "Quand vous installez une compétence publiée, en informer l'annuaire demsgid "Where newly added attachments are placed."msgstr "Où sont placées les pièces jointes nouvellement ajoutées."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "Où doit-elle résider ?"diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex 4879470dc..6bf4d09d2 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -32,6 +32,11 @@"-imiMK": ["Follow — अपडेट आपके रिमोट से आते रहते हैं; आपके संपादन इसी कंप्यूटर पर रहते हैं।"],"-kKdCC": [["0"], " से ", ["imported"], " स्किल इंस्टॉल की गईं"],"-kbIAr": ["लिंक और छवियाँ"],+ "-ksoxk": [+ "यहाँ OpenKnowledge रिपॉज़िटरी रूट पर सेट होता है, इसलिए पैक रिपॉज़िटरी के शीर्ष के बजाय <0>",+ ["sanitized"],+ "</0> के अंदर जाता है।"+ ],"-l6jM7": ["+ बटन से चैट शुरू करें, या किसी पेज से एजेंट लॉन्च करें।"],"-lCAuQ": ["ग्राफ़ लोड हो रहा है"],"-o5XAG": [@@ -571,6 +576,7 @@"7m3Ade": ["इंस्टॉल:"],"7qRHf0": ["Claude Chat और Cowork के लिए इंस्टॉल करें"],"7uBlRT": ["फ़ाइल-ट्री के फ़ोकस किए गए आइटम को कॉपी करें ताकि Paste उसकी नकल बना सके।"],+ "7vxWET": ["पैक पूर्वावलोकन उपलब्ध नहीं है।"],"7wogIQ": [["0", "plural", { "one": ["प्लगइन"], "other": ["प्लगइन"] }]],"80c4-P": ["कोड क्लिपबोर्ड पर कॉपी किया गया"],"81H_23": ["प्रॉपर्टी जोड़ें"],@@ -894,13 +900,6 @@"D-Oh1s": [["0"], " कैसे सेट अप करें (ब्राउज़र में खुलता है)"],"D-_B7l": ["जुड़ गया — यह एंडपॉइंट ", ["0"], "-आयाम वाले वेक्टर लौटाता है।"],"D12vtS": ["(अलग किया हुआ)"],- "D2CwBE": [- "अपनी पसंद के फ़ोल्डर में <0>",- ["0"],- "</0> स्टार्टर पैक (",- ["1", "plural", { "one": ["#", " फ़ोल्डर"], "other": ["#", " फ़ोल्डर"] }],- " और स्टार्टर टेम्पलेट) से एक नया OpenKnowledge प्रोजेक्ट बनाएँ।"- ],"D2emTw": ["आपकी प्रतिक्रिया भेजते समय कुछ ग़लत हो गया। कृपया फिर कोशिश करें।"],"D4H2N6": [["tag"], " हटाएँ"],"D7hnvB": ["विचार किया जा रहा है…"],@@ -1548,6 +1547,7 @@"MJuO1q": ["संदर्भ विंडो:"],"MKEPCY": ["Follow"],"MLVPcm": [["0"], " संस्करण ", ["1"]],+ "MPpSAg": [["selectedPackName"], " से नया प्रोजेक्ट बनाएँ"],"MQ5LOx": [["display"]," को फिर से एक असली निर्देशिका बनाएँ जिसमें उसे अभी दिखने वाली हर स्किल के लिए एक अलग सिमलिंक हो — कुछ भी काम करना बंद नहीं करता, और उसके बाद हर स्किल का मेन्यू उसे सँभालता है।"@@ -3996,6 +3996,7 @@"Open Knowledge Format के विरुद्ध आपके प्रोजेक्ट की जाँच करता है। किसी भी समय सेटिंग में जाकर इसे बंद कर दें."],"uKRYiW": ["सिंक स्थिति अनुपलब्ध — सर्वर त्रुटि।"],+ "uLVNZL": ["पैक बदलें"],"uL_Wx8": ["टर्मिनल अप्रत्याशित रूप से रुक गया।"],"uM6jnS": ["बहाली विफल"],"uNGmQn": ["परीक्षण नहीं चलाया जा सका। जाँचें कि OpenKnowledge अब भी चल रहा है।"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex cfbba7d77..6162a18b3 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -1045,7 +1045,7 @@ msgstr "<0>{sanitized}</0> नाम के एक फ़ोल्डर मेmsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "एक कुंजी सेट है, पर एम्बेडिंग प्रदाता ने उसे अस्वीकार कर दिया या वह पहुँच से बाहर था — खोज कीवर्ड मिलान पर लौट आई। क्या ग़लत हुआ यह देखने के लिए Custom endpoint के नीचे <0>कनेक्शन जाँचें</0> का उपयोग करें।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "एक ज्ञान आधार जो Google के Open Knowledge Format का पालन करता है, जो आपकी जानकारी को व्यवस्थित करने का एक साझा तरीका है। इसे चुनें यदि आप चाहते हैं कि आपके नोट उन दूसरे टूल के साथ अच्छी तरह काम करें जो इस फ़ॉर्मेट को समझते हैं।"@@ -1136,7 +1136,7 @@ msgstr "एक सहेजी गई थीम पहले से इस नmsgid "A short line shown under the title in the template list."msgstr "टेम्पलेट सूची में शीर्षक के नीचे दिखाई जाने वाली एक छोटी पंक्ति।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "लिखने के लिए एक सरल जगह, हर विषय के लिए एक फ़ाइल और एक दैनिक जर्नल के साथ। इसे चुनें यदि आप बस लिखना शुरू करना चाहते हैं और समय के साथ नोटों के बीच के संबंध बनने देना चाहते हैं।"@@ -1307,7 +1307,7 @@ msgstr "फ़ील्ड जोड़ें"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "फ़ाइल या फ़ोल्डर पैटर्न जोड़ें, जैसे guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "इसे सीधे इस प्रोजेक्ट में जोड़ें।"@@ -1893,6 +1893,7 @@ msgstr "OpenKnowledge डेस्कटॉप ऐप में उपलब्#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2101,7 +2102,7 @@ msgstr "प्रतिस्पर्धी शोध का एक ज्ञmsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "उड़ान न भरने वाले पक्षियों के विभिन्न प्रकारों पर एक ज्ञान विकी बनाएँ। एक सिंहावलोकन पेज से शुरू करें, फिर हर प्रमुख समूह (शुतुरमुर्ग, एमू और कीवी जैसे रेटाइट; पेंगुइन; और उड़ान न भरने वाले रेल), उनके रहने के क्षेत्रों, और उड़ानहीनता कैसे विकसित हुई इसकी समयरेखा के लिए आपस में जुड़े पेज जोड़ें।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "अपनी कहानी के पीछे की दुनिया बनाएँ और उस पर नज़र रखें। आपके पात्रों, स्थानों, गुटों और उन्हें जोड़ने वाली दंतकथाओं का एक घर, ताकि लिखते समय ब्यौरे एक जैसे बने रहें।"@@ -2223,6 +2224,10 @@ msgstr "जिन फ़ाइलों के विरोध हल नहीmsgid "Cannot upload: no document is open"msgstr "अपलोड नहीं किया जा सकता: कोई दस्तावेज़ खुला नहीं है"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "पैक बदलें"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "प्रदाता बदलें"@@ -3862,12 +3867,6 @@ msgstr "एक नई ब्रांच बनाएँ, या किसीmsgid "Create a new list item from the current list item."msgstr "मौजूदा सूची आइटम से एक नया सूची आइटम बनाएँ।"-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "अपनी पसंद के फ़ोल्डर में <0>{0}</0> स्टार्टर पैक ({1, plural, one {# फ़ोल्डर} other {# फ़ोल्डर}} और स्टार्टर टेम्पलेट) से एक नया OpenKnowledge प्रोजेक्ट बनाएँ।"-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "अपनी पसंद के फ़ोल्डर में एक नया OpenKnowledge प्रोजेक्ट बनाएँ।"@@ -3909,6 +3908,10 @@ msgstr "अनुपस्थित पेज {target} बनाएँ"msgid "Create new project"msgstr "नया प्रोजेक्ट बनाएँ"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "{selectedPackName} से नया प्रोजेक्ट बनाएँ"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "नया टैग #{tagValue} बनाएँ"@@ -4601,6 +4604,7 @@ msgstr "जैसे सिंक चलते समय प्रोजेकmsgid "e.g. The editor froze after I pasted a large table"msgstr "जैसे एक बड़ी तालिका चिपकाने के बाद संपादक जम गया"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "हर पैक आपके प्रोजेक्ट को तैयार फ़ोल्डर और टेम्पलेट के साथ ढाँचा देता है।"@@ -4920,6 +4924,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "#1A2B3C जैसा 6-अंकों का हेक्स मान डालें"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "एक फ़ोल्डर नाम डालें (जैसे brain)।"@@ -5048,7 +5053,7 @@ msgstr "फैला हुआ ग्राफ़ मोड"msgid "Expires in {timeLabel}"msgstr "{timeLabel} में समाप्त होगा"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "बताएँ कि आपका कोडबेस कैसे काम करता है ताकि सहकर्मी और AI एजेंट अपना रास्ता खोज सकें। संरचना, मुख्य हिस्सों और उन प्रश्नों को दर्ज करने के लिए अच्छा जो नए योगदानकर्ता हमेशा पूछते हैं।"@@ -6361,7 +6366,7 @@ msgstr "आयात किया जा रहा है"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "एक लॉग दस्तावेज़ में: प्रविष्टि शीर्षक ISO YYYY-MM-DD दिनांक के साथ आगे बढ़ते हैं, सबसे पहले नवीनतम। आप कितने title का उपयोग करते हैं, और क्या प्रविष्टियाँ बुलेट हैं, यह आप पर निर्भर है।"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "किसी उप-फ़ोल्डर में"@@ -6806,7 +6811,7 @@ msgstr "कर्सर वाले ब्लॉक के markdown स्रmsgid "just now"msgstr "अभी-अभी"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "अपना उत्पाद कैसे बनता है इसका लिखित लेखा रखें। विचार प्रस्तावित करने, निर्णय दर्ज करने, स्पेक लिखने और किसी गड़बड़ी के बाद सीखी बातों को सहेजने का एक घर।"@@ -6850,7 +6855,7 @@ msgstr "नाम 64 अक्षरों या उससे कम रखेmsgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "इस प्रोजेक्ट को अपने git रिमोट के साथ तालमेल में रखें। Follow बिना भेजे अपडेट लाता है; पूर्ण सिंक आपके कमिट भी भेजता है। सिंक चालू करने के लिए पुष्टि ज़रूरी है।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "आप जिन लोगों और कंपनियों के साथ काम करते हैं और उनके साथ होने वाली बैठकों पर नज़र रखें। यह याद रखने के लिए अच्छा कि कोई कौन है, आप उसे कैसे जानते हैं, और आपकी आख़िरी बात किस पर हुई थी।"@@ -7130,7 +7135,7 @@ msgstr "PDF लोड हो रही है"msgid "Loading popular skills"msgstr "लोकप्रिय स्किल लोड हो रही हैं"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "पूर्वावलोकन लोड हो रहा है"@@ -8875,6 +8880,10 @@ msgstr "OpenKnowledge ने एक स्किल इंस्टॉल कीmsgid "OpenKnowledge integrations checked."msgstr "OpenKnowledge इंटीग्रेशन जाँच लिए गए।"+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "यहाँ OpenKnowledge रिपॉज़िटरी रूट पर सेट होता है, इसलिए पैक रिपॉज़िटरी के शीर्ष के बजाय <0>{sanitized}</0> के अंदर जाता है।"+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge gh CLI द्वारा दिया गया GitHub खाता उपयोग कर रहा है। कनेक्शन तोड़ने के लिए कोई अलग OpenKnowledge क्रेडेंशियल नहीं है।"@@ -9099,6 +9108,10 @@ msgstr "स्वामी"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo, एक git URL, या एक स्थानीय पथ"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "पैक पूर्वावलोकन उपलब्ध नहीं है।"+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9565,7 +9578,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "प्रोजेक्ट प्लगइन आपके प्रोजेक्ट का लेखन मानक हैं — उन्हें यहाँ चालू या बंद करें। यह चुनाव config.yml में कमिट होता है और git के ज़रिए हर सहयोगी के साथ साझा होता है। हर सक्षम प्लगइन को सेटिंग साइडबार में Plugins के अंतर्गत अपना पेज मिलता है।"#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "प्रोजेक्ट रूट"@@ -10441,7 +10454,7 @@ msgstr "पुनः प्रयास किया जा रहा है…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "साइडबार से क्लिक करते समय एक ही टैब का पुन: उपयोग करें। बंद होने पर हर क्लिक अपने अलग टैब में खुलता है।"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "यदि पहले से मौजूद है तो पुन: उपयोग किया जाता है, वरना बना दिया जाता है।"@@ -11713,6 +11726,7 @@ msgstr "शुरुआती सामग्री"msgid "starter pack"msgstr "स्टार्टर पैक"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "स्टार्टर पैक"@@ -11824,7 +11838,7 @@ msgstr "शैली"msgid "subagents"msgstr "उप-एजेंट"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "उप-फ़ोल्डर का नाम"@@ -12084,7 +12098,7 @@ msgstr "\"{tagListQuery}\" से मेल खाते टैग"msgid "Take a look if you'd like. This exact file is what we receive."msgstr "चाहें तो देख लें। हमें ठीक यही फ़ाइल मिलती है।"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "किसी लेखन को एक कच्चे विचार से तैयार मसौदे तक और फिर साझा करने लायक चीज़ तक ले जाएँ। ब्लॉग पोस्ट, निबंध, या ऐसी किसी भी चीज़ के लिए अच्छा जिसे आप स्पष्ट चरणों से गुज़ारना चाहते हैं।"@@ -13155,7 +13169,7 @@ msgstr "बाहरी लिंक पूर्वावलोकन चालmsgid "Turn on semantic search?"msgstr "अर्थ-आधारित खोज चालू करें?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "आप जो पढ़ते हैं उसे स्पष्ट, भरोसेमंद लेखों में बदलें। कोई स्रोत सहेजें, समझें कि उसका क्या अर्थ है, फिर अंतिम संस्करण रखें ताकि आप बाद में उस पर भरोसा कर सकें।"@@ -13825,7 +13839,7 @@ msgstr "जब आप कोई प्रकाशित स्किल इंmsgid "Where newly added attachments are placed."msgstr "नए जोड़े गए संलग्नक कहाँ रखे जाते हैं।"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "यह कहाँ रहना चाहिए?"diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex 9e0f29ac0..2dd62add1 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -28,6 +28,11 @@],"-kKdCC": [["imported"], " keterampilan dipasang dari ", ["0"]],"-kbIAr": ["Tautan & gambar"],+ "-ksoxk": [+ "Di sini OpenKnowledge disiapkan di root repositori, jadi paket ditempatkan di dalam <0>",+ ["sanitized"],+ "</0> alih-alih di puncak repositori."+ ],"-l6jM7": ["Mulai obrolan dengan tombol +, atau luncurkan agen dari halaman."],"-lCAuQ": ["Memuat graf"],"-o5XAG": [@@ -587,6 +592,7 @@"7m3Ade": ["pemasangan:"],"7qRHf0": ["Pasang untuk Claude Chat & Cowork"],"7uBlRT": ["Menyalin item pohon berkas yang sedang difokus agar Tempel bisa menggandakannya."],+ "7vxWET": ["Pratinjau paket tidak tersedia."],"7wogIQ": [["0", "plural", { "other": ["Plugin"] }]],"80c4-P": ["Kode disalin ke papan klip"],"81H_23": ["Tambahkan properti"],@@ -907,13 +913,6 @@"D-Oh1s": ["Cara menyiapkan ", ["0"], " (terbuka di peramban)"],"D-_B7l": ["Terhubung — endpoint ini mengembalikan vektor berdimensi ", ["0"], "."],"D12vtS": ["(terlepas)"],- "D2CwBE": [- "Membuat proyek OpenKnowledge baru dari paket awal <0>",- ["0"],- "</0> (",- ["1", "plural", { "other": ["#", " folder"] }],- " dan templat awal) di folder pilihan Anda."- ],"D2emTw": ["Ada yang tidak beres saat mengirim masukan Anda. Silakan coba lagi."],"D4H2N6": ["Hapus ", ["tag"]],"D7hnvB": ["Menimbang…"],@@ -1597,6 +1596,7 @@"MJuO1q": ["Jendela konteks:"],"MKEPCY": ["Ikuti"],"MLVPcm": [["0"], " versi ", ["1"]],+ "MPpSAg": ["Buat proyek baru dari ", ["selectedPackName"]],"MQ5LOx": ["Mengubah ",["display"],@@ -4164,6 +4164,7 @@"Periksa proyek Anda terhadap Open Knowledge Format. Matikan kapan saja di Pengaturan."],"uKRYiW": ["Status sinkronisasi tidak tersedia — galat server."],+ "uLVNZL": ["Ganti paket"],"uL_Wx8": ["Terminal berhenti tak terduga."],"uM6jnS": ["Gagal memulihkan"],"uNGmQn": ["Pengujiannya tidak bisa dijalankan. Pastikan OpenKnowledge masih berjalan."],diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex e91895f6b..0d5d4accb 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -1045,7 +1045,7 @@ msgstr "Folder bernama <0>{sanitized}</0> sudah punya berkas di sini. Pilih namamsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "Kuncinya sudah disetel, tetapi penyedia embedding menolaknya atau tidak dapat dihubungi — pencarian kembali ke pencocokan kata kunci. Gunakan <0>Uji koneksi</0> di Endpoint khusus untuk melihat apa yang salah."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "Basis pengetahuan yang mengikuti Open Knowledge Format dari Google, cara bersama untuk menata apa yang Anda tahu. Pilih ini jika Anda ingin catatan Anda bekerja baik dengan alat lain yang memahami format tersebut."@@ -1136,7 +1136,7 @@ msgstr "Tema tersimpan lain sudah menggunakan nama ini."msgid "A short line shown under the title in the template list."msgstr "Satu baris singkat yang ditampilkan di bawah judul pada daftar templat."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "Tempat sederhana untuk menulis, dengan satu berkas per topik dan jurnal harian. Pilih ini jika Anda hanya ingin mulai menulis dan membiarkan tautan antarcatatan tumbuh seiring waktu."@@ -1307,7 +1307,7 @@ msgstr "Tambahkan bidang"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "Tambahkan pola berkas atau folder, mis. guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "Tambahkan langsung ke proyek ini."@@ -1893,6 +1893,7 @@ msgstr "Tersedia di aplikasi desktop OpenKnowledge. Dari terminal, gunakan<0> ok#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2101,7 +2102,7 @@ msgstr "Bangun basis pengetahuan riset pesaing. Mulai dengan halaman ikhtisar, lmsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "Bangun wiki pengetahuan tentang berbagai jenis burung yang tidak bisa terbang. Mulai dengan halaman ikhtisar, lalu tambahkan halaman yang saling tertaut untuk tiap kelompok besar (ratit seperti burung unta, emu, dan kiwi; penguin; serta mandar yang tidak bisa terbang), wilayah tempat mereka hidup, dan lini masa bagaimana ketidakmampuan terbang itu berkembang."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "Bangun dan pantau dunia di balik cerita Anda. Rumah bagi tokoh, tempat, faksi, dan latar cerita yang mengikat semuanya, agar detailnya tetap konsisten selama Anda menulis."@@ -2223,6 +2224,10 @@ msgstr "Tidak dapat menghapus berkas yang konfliknya belum diselesaikan"msgid "Cannot upload: no document is open"msgstr "Tidak bisa mengunggah: tidak ada dokumen yang terbuka"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "Ganti paket"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "Ganti penyedia"@@ -3862,12 +3867,6 @@ msgstr "Buat cabang baru, atau ambil cabang yang sudah ada, di jendelanya sendirmsgid "Create a new list item from the current list item."msgstr "Membuat item daftar baru dari item daftar saat ini."-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "Membuat proyek OpenKnowledge baru dari paket awal <0>{0}</0> ({1, plural, other {# folder}} dan templat awal) di folder pilihan Anda."-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "Membuat proyek OpenKnowledge baru di folder pilihan Anda."@@ -3909,6 +3908,10 @@ msgstr "Buat halaman {target} yang belum ada"msgid "Create new project"msgstr "Buat proyek baru"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "Buat proyek baru dari {selectedPackName}"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "Buat tag baru #{tagValue}"@@ -4601,6 +4604,7 @@ msgstr "mis. Berpindah proyek saat sinkronisasi sedang berjalan"msgid "e.g. The editor froze after I pasted a large table"msgstr "mis. Penyunting membeku setelah saya menempelkan tabel besar"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "Setiap paket menyusun proyek Anda dengan folder dan templat siap pakai."@@ -4920,6 +4924,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "Masukkan nilai heksa 6 digit seperti #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "Masukkan nama folder (mis. otak)."@@ -5048,7 +5053,7 @@ msgstr "Mode graf terbentang"msgid "Expires in {timeLabel}"msgstr "Kedaluwarsa dalam {timeLabel}"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "Jelaskan cara kerja basis kode Anda agar rekan tim dan agen AI bisa menemukan arah. Cocok untuk mendokumentasikan arsitektur, bagian-bagian utamanya, dan pertanyaan yang selalu diajukan kontributor baru."@@ -6361,7 +6366,7 @@ msgstr "Mengimpor"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "Dalam dokumen log: judul entri diawali dengan tanggal ISO YYYY-MM-DD, terbaru terlebih dahulu. Berapa banyak title yang Anda gunakan, dan apakah entri merupakan poin, terserah Anda."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "Di subfolder"@@ -6806,7 +6811,7 @@ msgstr "Lompat ke sumber markdown untuk blok di posisi kursor, terpusat dan tersmsgid "just now"msgstr "baru saja"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "Simpan catatan tertulis tentang bagaimana produk Anda dibangun. Rumah untuk mengusulkan ide, mencatat keputusan, menulis spesifikasi, dan merekam apa yang Anda pelajari setelah sesuatu rusak."@@ -6850,7 +6855,7 @@ msgstr "Nama harus 64 karakter atau kurang."msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "Jaga proyek ini tetap selaras dengan remote git Anda. Ikuti mengambil pembaruan tanpa mengirim; sinkronisasi penuh juga mengirim commit Anda. Menyalakan sinkronisasi memerlukan konfirmasi."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "Catat orang dan perusahaan yang bekerja dengan Anda serta pertemuan yang Anda adakan dengan mereka. Cocok untuk mengingat siapa seseorang, dari mana Anda mengenalnya, dan apa yang terakhir Anda bicarakan."@@ -7130,7 +7135,7 @@ msgstr "Memuat PDF"msgid "Loading popular skills"msgstr "Memuat keterampilan populer"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "Memuat pratinjau"@@ -8875,6 +8880,10 @@ msgstr "OpenKnowledge memasang sebuah keterampilan"msgid "OpenKnowledge integrations checked."msgstr "Integrasi OpenKnowledge telah diperiksa."+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "Di sini OpenKnowledge disiapkan di root repositori, jadi paket ditempatkan di dalam <0>{sanitized}</0> alih-alih di puncak repositori."+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge memakai akun GitHub yang disediakan CLI gh. Tidak ada kredensial OpenKnowledge terpisah yang perlu diputus."@@ -9099,6 +9108,10 @@ msgstr "Pemilik"msgid "owner/repo, a git URL, or a local path"msgstr "pemilik/repo, sebuah URL git, atau jalur lokal"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "Pratinjau paket tidak tersedia."+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9565,7 +9578,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "Plugin proyek adalah standar penulisan proyek Anda — nyalakan atau matikan di sini. Pilihan ini disimpan di config.yml dan dibagikan ke setiap kolaborator lewat git. Setiap plugin yang aktif mendapat halamannya sendiri di bawah Plugin pada bilah sisi pengaturan."#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "Akar proyek"@@ -10441,7 +10454,7 @@ msgstr "Mencoba lagi…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "Pakai ulang satu tab saat Anda mengeklik lewat bilah sisi. Bila mati, setiap klik terbuka di tabnya sendiri."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "Dipakai ulang jika sudah ada, dibuat jika belum."@@ -11713,6 +11726,7 @@ msgstr "Isi awal"msgid "starter pack"msgstr "paket awal"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "Paket awal"@@ -11824,7 +11838,7 @@ msgstr "Gaya"msgid "subagents"msgstr "subagen"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "Nama subfolder"@@ -12084,7 +12098,7 @@ msgstr "Tag yang cocok dengan \"{tagListQuery}\""msgid "Take a look if you'd like. This exact file is what we receive."msgstr "Silakan lihat kalau mau. Berkas persis inilah yang kami terima."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "Bawa sebuah tulisan dari ide kasar menjadi draf jadi lalu menjadi sesuatu yang siap Anda bagikan. Cocok untuk pos blog, esai, atau apa pun yang ingin Anda jalankan lewat tahapan yang jelas."@@ -13155,7 +13169,7 @@ msgstr "Nyalakan pratinjau tautan eksternal?"msgid "Turn on semantic search?"msgstr "Nyalakan pencarian semantik?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "Ubah apa yang Anda baca menjadi artikel yang jelas dan tepercaya. Simpan sebuah sumber, cari tahu maknanya, lalu simpan versi finalnya agar bisa Anda andalkan nanti."@@ -13825,7 +13839,7 @@ msgstr "Ketika Anda memasang keterampilan yang diterbitkan, direktori keterampilmsgid "Where newly added attachments are placed."msgstr "Tempat lampiran yang baru ditambahkan diletakkan."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "Di mana ia sebaiknya berada?"diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 598902fc3..65a8055c0 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -32,6 +32,11 @@"-imiMK": ["Ƒōĺĺōŵ — ũƥďàţēś ƒĺōŵ ĩń ƒŕōḿ ŷōũŕ ŕēḿōţē; ŷōũŕ ēďĩţś śţàŷ ōń ţĥĩś ćōḿƥũţēŕ."],"-kKdCC": ["Ĩńśţàĺĺēď ", ["imported"], " śķĩĺĺś ƒŕōḿ ", ["0"]],"-kbIAr": ["Ĺĩńķś & ĩḿàĝēś"],+ "-ksoxk": [+ "ŌƥēńĶńōŵĺēďĝē ĩś śēţ ũƥ àţ ţĥē ŕēƥōśĩţōŕŷ ŕōōţ ĥēŕē, śō ţĥē ƥàćķ ĝōēś ĩńśĩďē <0>",+ ["sanitized"],+ "</0> ŕàţĥēŕ ţĥàń àţ ţĥē ţōƥ ōƒ ţĥē ŕēƥōśĩţōŕŷ."+ ],"-l6jM7": ["Śţàŕţ à ćĥàţ ŵĩţĥ ţĥē + ƀũţţōń, ōŕ ĺàũńćĥ àń àĝēńţ ƒŕōḿ à ƥàĝē."],"-lCAuQ": ["Ĺōàďĩńĝ ĝŕàƥĥ"],"-o5XAG": [@@ -585,6 +590,7 @@"7m3Ade": ["ĩńśţàĺĺś:"],"7qRHf0": ["Ĩńśţàĺĺ ƒōŕ Ćĺàũďē Ćĥàţ & Ćōŵōŕķ"],"7uBlRT": ["Ćōƥŷ ţĥē ƒōćũśēď ƒĩĺē-ţŕēē ĩţēḿ śō Ƥàśţē ćàń ďũƥĺĩćàţē ĩţ."],+ "7vxWET": ["Ƥàćķ ƥŕēvĩēŵ ũńàvàĩĺàƀĺē."],"7wogIQ": [["0", "plural", { "one": ["Ƥĺũĝĩń"], "other": ["Ƥĺũĝĩńś"] }]],"80c4-P": ["Ćōďē ćōƥĩēď ţō ćĺĩƥƀōàŕď"],"81H_23": ["Àďď ƥŕōƥēŕţĩēś"],@@ -926,13 +932,6 @@"D-Oh1s": ["Ĥōŵ ţō śēţ ũƥ ", ["0"], " (ōƥēńś ĩń ƀŕōŵśēŕ)"],"D-_B7l": ["Ćōńńēćţēď — ţĥĩś ēńďƥōĩńţ ŕēţũŕńś ", ["0"], "-ďĩḿēńśĩōń vēćţōŕś."],"D12vtS": ["(ďēţàćĥēď)"],- "D2CwBE": [- "Ćŕēàţē à ńēŵ ŌƥēńĶńōŵĺēďĝē ƥŕōĴēćţ ƒŕōḿ ţĥē <0>",- ["0"],- "</0> śţàŕţēŕ ƥàćķ (",- ["1", "plural", { "one": ["#", " ƒōĺďēŕ"], "other": ["#", " ƒōĺďēŕś"] }],- " àńď śţàŕţēŕ ţēḿƥĺàţēś) ĩń ţĥē ƒōĺďēŕ ōƒ ŷōũŕ ćĥōĩćē."- ],"D2emTw": ["Śōḿēţĥĩńĝ ŵēńţ ŵŕōńĝ śēńďĩńĝ ŷōũŕ ƒēēďƀàćķ. Ƥĺēàśē ţŕŷ àĝàĩń."],"D4H2N6": ["Ŕēḿōvē ", ["tag"]],"D7hnvB": ["Ƥōńďēŕĩńĝ…"],@@ -1595,6 +1594,7 @@"MJuO1q": ["Ćōńţēxţ ŵĩńďōŵ:"],"MKEPCY": ["Ƒōĺĺōŵ"],"MLVPcm": [["0"], " vēŕśĩōń ", ["1"]],+ "MPpSAg": ["Ćŕēàţē ńēŵ ƥŕōĴēćţ ƒŕōḿ ", ["selectedPackName"]],"MQ5LOx": ["Ţũŕń ",["display"],@@ -4136,6 +4136,7 @@"Ćĥēćķś ŷōũŕ ƥŕōĴēćţ àĝàĩńśţ ţĥē Ōƥēń Ķńōŵĺēďĝē Ƒōŕḿàţ. Ţũŕń ĩţ ōƒƒ àńŷ ţĩḿē ĩń Śēţţĩńĝś."],"uKRYiW": ["Śŷńć śţàţũś ũńàvàĩĺàƀĺē — śēŕvēŕ ēŕŕōŕ."],+ "uLVNZL": ["Ćĥàńĝē ƥàćķ"],"uL_Wx8": ["Ţĥē ţēŕḿĩńàĺ śţōƥƥēď ũńēxƥēćţēďĺŷ."],"uM6jnS": ["Ŕēśţōŕē ƒàĩĺēď"],"uNGmQn": ["Ćōũĺďń'ţ ŕũń ţĥē ţēśţ. Ćĥēćķ ţĥàţ ŌƥēńĶńōŵĺēďĝē ĩś śţĩĺĺ ŕũńńĩńĝ."],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex ab9a63731..c854f669b 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -1045,7 +1045,7 @@ msgstr ""msgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr ""@@ -1136,7 +1136,7 @@ msgstr ""msgid "A short line shown under the title in the template list."msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr ""@@ -1307,7 +1307,7 @@ msgstr ""msgid "Add file or folder pattern, e.g. guides/**/*"msgstr ""-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr ""@@ -1893,6 +1893,7 @@ msgstr ""#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2101,7 +2102,7 @@ msgstr ""msgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr ""@@ -2223,6 +2224,10 @@ msgstr ""msgid "Cannot upload: no document is open"msgstr ""+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr ""+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr ""@@ -3862,12 +3867,6 @@ msgstr ""msgid "Create a new list item from the current list item."msgstr ""-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr ""-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr ""@@ -3909,6 +3908,10 @@ msgstr ""msgid "Create new project"msgstr ""+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr ""+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr ""@@ -4601,6 +4604,7 @@ msgstr ""msgid "e.g. The editor froze after I pasted a large table"msgstr ""+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr ""@@ -4920,6 +4924,7 @@ msgstr ""msgid "Enter a 6-digit hex like #1A2B3C"msgstr ""+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr ""@@ -5048,7 +5053,7 @@ msgstr ""msgid "Expires in {timeLabel}"msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr ""@@ -6361,7 +6366,7 @@ msgstr ""msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr ""-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr ""@@ -6806,7 +6811,7 @@ msgstr ""msgid "just now"msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr ""@@ -6850,7 +6855,7 @@ msgstr ""msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr ""@@ -7130,7 +7135,7 @@ msgstr ""msgid "Loading popular skills"msgstr ""-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr ""@@ -8875,6 +8880,10 @@ msgstr ""msgid "OpenKnowledge integrations checked."msgstr ""+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr ""+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr ""@@ -9099,6 +9108,10 @@ msgstr ""msgid "owner/repo, a git URL, or a local path"msgstr ""+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr ""+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9565,7 +9578,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr ""#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr ""@@ -10441,7 +10454,7 @@ msgstr ""msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr ""-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr ""@@ -11713,6 +11726,7 @@ msgstr ""msgid "starter pack"msgstr ""+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr ""@@ -11824,7 +11838,7 @@ msgstr ""msgid "subagents"msgstr ""-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr ""@@ -12084,7 +12098,7 @@ msgstr ""msgid "Take a look if you'd like. This exact file is what we receive."msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr ""@@ -13155,7 +13169,7 @@ msgstr ""msgid "Turn on semantic search?"msgstr ""-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr ""@@ -13825,7 +13839,7 @@ msgstr ""msgid "Where newly added attachments are placed."msgstr ""-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr ""diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex 80213f969..808e38a0d 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -44,6 +44,11 @@],"-kKdCC": [["imported"], " habilidades instaladas a partir de ", ["0"]],"-kbIAr": ["Links e imagens"],+ "-ksoxk": [+ "Aqui o OpenKnowledge é configurado na raiz do repositório, então o pacote fica dentro de <0>",+ ["sanitized"],+ "</0> em vez de no topo do repositório."+ ],"-l6jM7": ["Inicie um chat com o botão + ou inicie um agente a partir de uma página."],"-lCAuQ": ["Carregando o grafo"],"-o5XAG": [@@ -687,6 +692,7 @@"7m3Ade": ["instalações:"],"7qRHf0": ["Instalar para o Claude Chat e Cowork"],"7uBlRT": ["Copia o item em foco na árvore de arquivos para que Colar possa duplicá-lo."],+ "7vxWET": ["Prévia do pacote indisponível."],"7wogIQ": [["0", "plural", { "one": ["Plugin"], "many": ["Plugins"], "other": ["Plugins"] }]],"80c4-P": ["Código copiado para a área de transferência"],"81H_23": ["Adicionar propriedades"],@@ -1069,17 +1075,6 @@"D-Oh1s": ["Como configurar ", ["0"], " (abre no navegador)"],"D-_B7l": ["Conectado — este endpoint devolve vetores de ", ["0"], " dimensões."],"D12vtS": ["(desanexado)"],- "D2CwBE": [- "Cria um novo projeto do OpenKnowledge a partir do pacote inicial <0>",- ["0"],- "</0> (",- [- "1",- "plural",- { "one": ["#", " pasta"], "many": ["#", " pastas"], "other": ["#", " pastas"] }- ],- " e modelos iniciais) na pasta que você escolher."- ],"D2emTw": ["Algo deu errado ao enviar seus comentários. Tente de novo."],"D4H2N6": ["Remover ", ["tag"]],"D7hnvB": ["Ponderando…"],@@ -1841,6 +1836,7 @@"MJuO1q": ["Janela de contexto:"],"MKEPCY": ["Acompanhar"],"MLVPcm": [["0"], " versão ", ["1"]],+ "MPpSAg": ["Criar novo projeto a partir de ", ["selectedPackName"]],"MQ5LOx": ["Transforma ",["display"],@@ -4682,6 +4678,7 @@"Verifica seu projeto em relação ao Open Knowledge Format. Desligue-o a qualquer momento nas Configurações."],"uKRYiW": ["Status de sincronização indisponível — erro do servidor."],+ "uLVNZL": ["Trocar pacote"],"uL_Wx8": ["O terminal parou de forma inesperada."],"uM6jnS": ["Falha ao restaurar"],"uNGmQn": ["Não deu para executar o teste. Verifique se o OpenKnowledge ainda está rodando."],diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex 1a2af58d8..eb520787f 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -1045,7 +1045,7 @@ msgstr "Uma pasta chamada <0>{sanitized}</0> já tem arquivos aqui. Escolha outrmsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "Há uma chave definida, mas o provedor de embeddings a rejeitou ou estava indisponível — a busca voltou para correspondência por palavra-chave. Use <0>Testar conexão</0> em Endpoint personalizado para ver o que deu errado."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "Uma base de conhecimento que segue o Open Knowledge Format do Google, uma forma comum de organizar o que você sabe. Escolha isto se quiser que suas notas funcionem bem com outras ferramentas que entendem o formato."@@ -1136,7 +1136,7 @@ msgstr "Um tema salvo já usa este nome."msgid "A short line shown under the title in the template list."msgstr "Uma linha curta mostrada abaixo do título na lista de modelos."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "Um lugar simples para escrever, com um arquivo por assunto e um diário. Escolha isto se quiser apenas começar a escrever e deixar os links entre notas surgirem com o tempo."@@ -1307,7 +1307,7 @@ msgstr "Adicionar campo"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "Adicione um padrão de arquivo ou pasta, ex.: guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "Adicione-o diretamente a este projeto."@@ -1893,6 +1893,7 @@ msgstr "Disponível no app de desktop do OpenKnowledge. Em um terminal, use<0> o#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2101,7 +2102,7 @@ msgstr "Monte uma base de conhecimento sobre a concorrência. Comece com uma pámsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "Monte uma wiki de conhecimento sobre os diferentes tipos de aves que não voam. Comece com uma página geral e depois acrescente páginas interligadas para cada grande grupo (ratitas como avestruzes, emus e quivis; pinguins; e saracuras que não voam), as regiões onde vivem e uma linha do tempo de como a perda do voo evoluiu."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "Construa e organize o mundo por trás da sua história. Um lugar para seus personagens, lugares, facções e a mitologia que os une, para que os detalhes não se contradigam enquanto você escreve."@@ -2223,6 +2224,10 @@ msgstr "Não é possível excluir arquivos com conflitos não resolvidos"msgid "Cannot upload: no document is open"msgstr "Não é possível enviar: nenhum documento está aberto"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "Trocar pacote"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "Trocar de provedor"@@ -3862,12 +3867,6 @@ msgstr "Crie um novo ramo, ou extraia um existente, em uma janela própria."msgid "Create a new list item from the current list item."msgstr "Cria um novo item de lista a partir do item atual."-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "Cria um novo projeto do OpenKnowledge a partir do pacote inicial <0>{0}</0> ({1, plural, one {# pasta} many {# pastas} other {# pastas}} e modelos iniciais) na pasta que você escolher."-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "Cria um novo projeto do OpenKnowledge na pasta que você escolher."@@ -3909,6 +3908,10 @@ msgstr "Criar a página inexistente {target}"msgid "Create new project"msgstr "Criar novo projeto"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "Criar novo projeto a partir de {selectedPackName}"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "Criar a nova tag #{tagValue}"@@ -4601,6 +4604,7 @@ msgstr "ex.: Trocar de projeto enquanto uma sincronização rodava"msgid "e.g. The editor froze after I pasted a large table"msgstr "ex.: O editor travou depois que colei uma tabela grande"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "Cada pacote prepara seu projeto com pastas e modelos prontos."@@ -4920,6 +4924,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "Digite um valor hexadecimal de 6 dígitos, como #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "Digite um nome de pasta (ex.: cerebro)."@@ -5048,7 +5053,7 @@ msgstr "Modo de grafo expandido"msgid "Expires in {timeLabel}"msgstr "Expira em {timeLabel}"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "Explique como seu código funciona para que colegas e agentes de IA se orientem. Bom para documentar a arquitetura, as partes principais e as perguntas que todo novo colaborador faz."@@ -6361,7 +6366,7 @@ msgstr "Importando"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "Em um documento de registro: os cabeçalhos de entrada levam a uma data ISO YYYY-MM-DD, o mais recente primeiro. Quantos titles você usa e se as entradas são marcadores depende de você."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "Em uma subpasta"@@ -6806,7 +6811,7 @@ msgstr "Ir para o código markdown do bloco onde está o cursor, centralizado emsgid "just now"msgstr "agora mesmo"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "Mantenha um registro escrito de como seu produto é construído. Um lugar para propor ideias, registrar decisões, escrever especificações e anotar o que você aprendeu depois que algo quebrou."@@ -6850,7 +6855,7 @@ msgstr "O nome deve ter 64 caracteres ou menos."msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "Mantenha este projeto em sincronia com seu remoto do git. Acompanhar busca atualizações sem enviar; a sincronização completa também envia seus commits. Ligar a sincronização exige confirmação."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "Acompanhe as pessoas e empresas com quem você trabalha e as reuniões que tem com elas. Bom para lembrar quem é alguém, de onde você a conhece e sobre o que vocês falaram da última vez."@@ -7130,7 +7135,7 @@ msgstr "Carregando o PDF"msgid "Loading popular skills"msgstr "Carregando as habilidades populares"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "Carregando a pré-visualização"@@ -8875,6 +8880,10 @@ msgstr "OpenKnowledge instalou uma habilidade"msgid "OpenKnowledge integrations checked."msgstr "Integrações do OpenKnowledge verificadas."+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "Aqui o OpenKnowledge é configurado na raiz do repositório, então o pacote fica dentro de <0>{sanitized}</0> em vez de no topo do repositório."+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "O OpenKnowledge está usando uma conta do GitHub fornecida pela CLI gh. Não há credencial própria do OpenKnowledge para desconectar."@@ -9099,6 +9108,10 @@ msgstr "Dono"msgid "owner/repo, a git URL, or a local path"msgstr "dono/repo, uma URL de git ou um caminho local"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "Prévia do pacote indisponível."+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9565,7 +9578,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "Os plugins de projeto são o padrão de autoria do seu projeto — ligue ou desligue aqui. A escolha fica salva no config.yml e é compartilhada com todos os colaboradores pelo git. Cada plugin ativado ganha uma página própria em Plugins, na barra lateral de configurações."#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "Raiz do projeto"@@ -10441,7 +10454,7 @@ msgstr "Tentando novamente…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "Reaproveita uma aba quando você vai clicando pelas barras laterais. Desligado, cada clique abre uma aba própria."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "Reaproveitada se já existir; criada se não."@@ -11713,6 +11726,7 @@ msgstr "Conteúdo inicial"msgid "starter pack"msgstr "pacote inicial"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "Pacotes iniciais"@@ -11824,7 +11838,7 @@ msgstr "Estilo"msgid "subagents"msgstr "subagentes"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "Nome da subpasta"@@ -12084,7 +12098,7 @@ msgstr "Tags que correspondem a \"{tagListQuery}\""msgid "Take a look if you'd like. This exact file is what we receive."msgstr "Dê uma olhada se quiser. Este arquivo exato é o que recebemos."-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "Leve um texto de uma ideia bruta a um rascunho pronto e depois a algo que você já pode compartilhar. Bom para posts de blog, ensaios ou qualquer coisa que você queira mover por etapas claras."@@ -13155,7 +13169,7 @@ msgstr "Ligar a pré-visualização de links externos?"msgid "Turn on semantic search?"msgstr "Ligar a busca semântica?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "Transforme o que você lê em artigos claros e confiáveis. Salve uma fonte, descubra o que ela significa e guarde a versão final para poder se apoiar nela depois."@@ -13825,7 +13839,7 @@ msgstr "Quando você instala uma habilidade publicada, o diretório de habilidadmsgid "Where newly added attachments are placed."msgstr "Onde os anexos recém-adicionados são colocados."-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "Onde ela deve ficar?"diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex 32ac761fc..ebe96cb83 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -30,6 +30,11 @@],"-kKdCC": [["0"], " سے ", ["imported"], " مہارتیں نصب ہو گئیں"],"-kbIAr": ["لنکس اور تصاویر"],+ "-ksoxk": [+ "یہاں OpenKnowledge ریپوزٹری کی جڑ میں سیٹ ہوتا ہے، اس لیے پیک ریپوزٹری کے اوپر کے بجائے <0>",+ ["sanitized"],+ "</0> کے اندر جاتا ہے۔"+ ],"-l6jM7": ["+ بٹن سے چیٹ شروع کریں، یا کسی صفحے سے ایجنٹ شروع کریں۔"],"-lCAuQ": ["گراف لوڈ ہو رہا ہے"],"-o5XAG": [@@ -593,6 +598,7 @@"7m3Ade": ["تنصیبات:"],"7qRHf0": ["Claude Chat اور Cowork کے لیے نصب کریں"],"7uBlRT": ["فوکس شدہ فائل ٹری آئٹم نقل کریں تاکہ «چسپاں» اس کی نقل بنا سکے۔"],+ "7vxWET": ["پیک کا پیش منظر دستیاب نہیں ہے۔"],"7wogIQ": [["0", "plural", { "one": ["پلگ اِن"], "other": ["پلگ اِنز"] }]],"80c4-P": ["کوڈ کلپ بورڈ پر نقل ہو گیا"],"81H_23": ["خصوصیات شامل کریں"],@@ -928,13 +934,6 @@"D-Oh1s": [["0"], " کیسے ترتیب دیں (براؤزر میں کھلتا ہے)"],"D-_B7l": ["منسلک — یہ اینڈ پوائنٹ ", ["0"], " ابعاد والے ویکٹرز لوٹاتا ہے۔"],"D12vtS": ["(منقطع)"],- "D2CwBE": [- "اپنی پسند کے فولڈر میں <0>",- ["0"],- "</0> ابتدائی پیک (",- ["1", "plural", { "one": ["#", " فولڈر"], "other": ["#", " فولڈرز"] }],- " اور ابتدائی ٹیمپلیٹس) سے نیا OpenKnowledge پروجیکٹ بنائیں۔"- ],"D2emTw": ["آپ کی رائے بھیجتے ہوئے کچھ غلط ہو گیا۔ براہِ کرم دوبارہ کوشش کریں۔"],"D4H2N6": [["tag"], " ہٹائیں"],"D7hnvB": ["غور کیا جا رہا ہے…"],@@ -1631,6 +1630,7 @@"MJuO1q": ["سیاق کی ونڈو:"],"MKEPCY": ["پیروی"],"MLVPcm": [["0"], " ورژن ", ["1"]],+ "MPpSAg": [["selectedPackName"], " سے نیا پروجیکٹ بنائیں"],"MQ5LOx": [["display"]," کو دوبارہ ایک حقیقی ڈائریکٹری بنا دیں جس میں اس وقت نظر آنے والی ہر مہارت کے لیے الگ سِم لنک ہو — کچھ بھی کام کرنا بند نہیں کرتا، اور وہاں سے ہر مہارت کا مینو اسے سنبھالتا ہے۔"@@ -4206,6 +4206,7 @@"آپ کے پروجیکٹ کو Open Knowledge Format کے خلاف چیک کرتا ہے۔ اسے کسی بھی وقت ترتیبات میں بند کریں۔"],"uKRYiW": ["مطابقت پذیری کی حالت دستیاب نہیں — سرور کی خرابی۔"],+ "uLVNZL": ["پیک تبدیل کریں"],"uL_Wx8": ["ٹرمینل غیر متوقع طور پر رک گیا۔"],"uM6jnS": ["بحالی ناکام"],"uNGmQn": ["ٹیسٹ نہیں چل سکا۔ دیکھیں کہ OpenKnowledge اب بھی چل رہا ہے۔"],diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex 86e84f5a1..44b2378ac 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -1049,7 +1049,7 @@ msgstr "<0>{sanitized}</0> نام کے فولڈر میں یہاں پہلے سےmsgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "ایک کلید مقرر ہے، مگر ایمبیڈنگز فراہم کنندہ نے اسے مسترد کر دیا یا وہ ناقابلِ رسائی تھا — تلاش کلیدی الفاظ کی مماثلت پر واپس آ گئی۔ خرابی جاننے کے لیے «حسبِ ضرورت اینڈ پوائنٹ» کے تحت <0>کنکشن جانچیں</0> استعمال کریں۔"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "ایک نالج بیس جو Google کے Open Knowledge Format کی پیروی کرتا ہے، جو آپ کی معلومات کو منظم کرنے کا ایک مشترکہ طریقہ ہے۔ اگر آپ چاہتے ہیں کہ آپ کے نوٹس اس فارمیٹ کو سمجھنے والے دیگر ٹولز کے ساتھ اچھی طرح کام کریں تو یہ منتخب کریں۔"@@ -1140,7 +1140,7 @@ msgstr "اس نام کی ایک محفوظ شدہ تھیم پہلے سے موجmsgid "A short line shown under the title in the template list."msgstr "ٹیمپلیٹ کی فہرست میں عنوان کے نیچے دکھائی جانے والی مختصر سطر۔"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "لکھنے کے لیے ایک سادہ جگہ، ہر موضوع کے لیے ایک فائل اور روزانہ کا جریدہ۔ اگر آپ صرف لکھنا شروع کرنا چاہتے ہیں اور نوٹس کے درمیان روابط کو وقت کے ساتھ بننے دینا چاہتے ہیں تو یہ منتخب کریں۔"@@ -1311,7 +1311,7 @@ msgstr "فیلڈ شامل کریں"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "فائل یا فولڈر کا پیٹرن شامل کریں، مثلاً guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "اسے براہِ راست اس پروجیکٹ میں شامل کریں۔"@@ -1897,6 +1897,7 @@ msgstr "OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب۔ ٹرمینل#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "حریفوں کی تحقیق کا نالج بیس بنائیں۔ ایکmsgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "اڑنے سے قاصر پرندوں کی مختلف اقسام پر ایک نالج وکی بنائیں۔ ایک جائزہ صفحے سے شروع کریں، پھر ہر بڑے گروہ (شترمرغ، ایمو اور کیوی جیسے ریٹائٹس؛ پینگوئنز؛ اور اڑنے سے قاصر ریلز)، ان کے رہائشی خطوں، اور اڑنے کی صلاحیت کے خاتمے کے ارتقا کی زمانی ترتیب کے لیے باہم مربوط صفحات شامل کریں۔"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "اپنی کہانی کے پس منظر کی دنیا بنائیں اور اس کا حساب رکھیں۔ آپ کے کرداروں، مقامات، دھڑوں اور انہیں باہم جوڑنے والی روایات کا ٹھکانہ، تاکہ لکھتے وقت تفصیلات ہم آہنگ رہیں۔"@@ -2227,6 +2228,10 @@ msgstr "ایسی فائلیں حذف نہیں کی جا سکتیں جن کے تmsgid "Cannot upload: no document is open"msgstr "اپ لوڈ نہیں ہو سکتا: کوئی دستاویز کھلی نہیں"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "پیک تبدیل کریں"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "فراہم کنندہ بدلیں"@@ -3866,12 +3871,6 @@ msgstr "نئی برانچ بنائیں، یا موجودہ کو چیک آؤٹ کmsgid "Create a new list item from the current list item."msgstr "موجودہ فہرست آئٹم سے نیا فہرست آئٹم بنائیں۔"-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "اپنی پسند کے فولڈر میں <0>{0}</0> ابتدائی پیک ({1, plural, one {# فولڈر} other {# فولڈرز}} اور ابتدائی ٹیمپلیٹس) سے نیا OpenKnowledge پروجیکٹ بنائیں۔"-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "اپنی پسند کے فولڈر میں نیا OpenKnowledge پروجیکٹ بنائیں۔"@@ -3913,6 +3912,10 @@ msgstr "غائب صفحہ {target} بنائیں"msgid "Create new project"msgstr "نیا پروجیکٹ بنائیں"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "{selectedPackName} سے نیا پروجیکٹ بنائیں"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "نیا ٹیگ #{tagValue} بنائیں"@@ -4605,6 +4608,7 @@ msgstr "مثلاً مطابقت پذیری کے دوران پروجیکٹ بدلmsgid "e.g. The editor froze after I pasted a large table"msgstr "مثلاً بڑا ٹیبل چسپاں کرنے کے بعد ایڈیٹر جم گیا"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "ہر پیک آپ کے پروجیکٹ کا ڈھانچہ تیار شدہ فولڈرز اور ٹیمپلیٹس سے بناتا ہے۔"@@ -4924,6 +4928,7 @@ msgstr "درج کریں"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "#1A2B3C جیسی 6 ہندسوں کی ہیکس قدر درج کریں"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "فولڈر کا نام درج کریں (مثلاً brain)۔"@@ -5052,7 +5057,7 @@ msgstr "پھیلا ہوا گراف موڈ"msgid "Expires in {timeLabel}"msgstr "{timeLabel} میں میعاد ختم"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "بیان کریں کہ آپ کا کوڈ بیس کیسے کام کرتا ہے تاکہ ساتھی اور AI ایجنٹس اس میں راستہ پا سکیں۔ ڈھانچے، بنیادی حصوں، اور ان سوالات کی دستاویز بندی کے لیے مفید جو نئے معاونین ہمیشہ پوچھتے ہیں۔"@@ -6365,7 +6370,7 @@ msgstr "درآمد کیا جا رہا ہے"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "لاگ دستاویز میں: اندراج کی سرخیاں ISO YYYY-MM-DD تاریخ کے ساتھ لیڈ کرتی ہیں، سب سے پہلے۔ آپ کتنے title استعمال کرتے ہیں، اور آیا اندراجات گولیاں ہیں، یہ آپ پر منحصر ہے۔"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "ذیلی فولڈر میں"@@ -6810,7 +6815,7 @@ msgstr "کرسر والے بلاک کے Markdown سورس پر جائیں، بیmsgid "just now"msgstr "ابھی ابھی"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "اس کا تحریری ریکارڈ رکھیں کہ آپ کی مصنوع کیسے بنتی ہے۔ خیالات پیش کرنے، فیصلے درج کرنے، اسپیکس لکھنے، اور کچھ ٹوٹنے کے بعد سیکھے گئے اسباق محفوظ کرنے کا ٹھکانہ۔"@@ -6854,7 +6859,7 @@ msgstr "نام کو 64 حروف یا اس سے کم رکھیں۔"msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "اس پروجیکٹ کو اپنے git ریموٹ کے ساتھ ہم آہنگ رکھیں۔ پیروی بغیر پُش کیے اپ ڈیٹس لاتی ہے؛ مکمل مطابقت پذیری آپ کے کمٹس بھی پُش کرتی ہے۔ مطابقت پذیری فعال کرنے کے لیے تصدیق درکار ہے۔"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "ان لوگوں اور کمپنیوں کا حساب رکھیں جن کے ساتھ آپ کام کرتے ہیں اور ان کے ساتھ ہونے والی ملاقاتوں کا۔ یہ یاد رکھنے کے لیے مفید کہ کوئی کون ہے، آپ اسے کیسے جانتے ہیں، اور آخری بار کس بارے میں بات ہوئی تھی۔"@@ -7134,7 +7139,7 @@ msgstr "PDF لوڈ ہو رہی ہے"msgid "Loading popular skills"msgstr "مقبول مہارتیں لوڈ ہو رہی ہیں"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "پیش منظر لوڈ ہو رہا ہے"@@ -8879,6 +8884,10 @@ msgstr "OpenKnowledge نے ایک اسکل انسٹال کی"msgid "OpenKnowledge integrations checked."msgstr "OpenKnowledge انٹیگریشنز جانچ لی گئیں۔"+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "یہاں OpenKnowledge ریپوزٹری کی جڑ میں سیٹ ہوتا ہے، اس لیے پیک ریپوزٹری کے اوپر کے بجائے <0>{sanitized}</0> کے اندر جاتا ہے۔"+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge وہ GitHub اکاؤنٹ استعمال کر رہا ہے جو gh CLI فراہم کرتا ہے۔ منقطع کرنے کے لیے OpenKnowledge کی کوئی الگ سند نہیں ہے۔"@@ -9103,6 +9112,10 @@ msgstr "مالک"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo، کوئی git URL، یا مقامی راستہ"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "پیک کا پیش منظر دستیاب نہیں ہے۔"+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "پروجیکٹ کے پلگ اِنز آپ کے پروجیکٹ کا تصنیفی معیار ہیں — انہیں یہاں فعال یا بند کریں۔ یہ انتخاب config.yml میں کمٹ ہوتا ہے اور git کے ذریعے ہر ساتھی کے ساتھ مشترک ہوتا ہے۔ ہر فعال پلگ اِن کو ترتیبات کے سائیڈ بار میں پلگ اِنز کے تحت اپنا صفحہ ملتا ہے۔"#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "پروجیکٹ کی جڑ"@@ -10445,7 +10458,7 @@ msgstr "دوبارہ کوشش جاری ہے…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "سائیڈ بارز میں کلک کرتے وقت ایک ہی ٹیب دوبارہ استعمال کریں۔ بند ہونے پر ہر کلک اپنے الگ ٹیب میں کھلتا ہے۔"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "اگر پہلے سے موجود ہو تو دوبارہ استعمال ہوتا ہے، ورنہ بن جاتا ہے۔"@@ -11717,6 +11730,7 @@ msgstr "ابتدائی مواد"msgid "starter pack"msgstr "ابتدائی پیک"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "ابتدائی پیکس"@@ -11828,7 +11842,7 @@ msgstr "انداز"msgid "subagents"msgstr "subagents"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "ذیلی فولڈر کا نام"@@ -12088,7 +12102,7 @@ msgstr "«{tagListQuery}» سے مماثل ٹیگز"msgid "Take a look if you'd like. This exact file is what we receive."msgstr "چاہیں تو دیکھ لیں۔ ہمیں بالکل یہی فائل ملتی ہے۔"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "کسی تحریر کو خام خیال سے مکمل مسودے تک اور پھر شیئر کرنے کے قابل چیز تک لے جائیں۔ بلاگ پوسٹس، مضامین، یا کسی بھی ایسی چیز کے لیے مفید جسے آپ واضح مراحل سے گزارنا چاہتے ہیں۔"@@ -13159,7 +13173,7 @@ msgstr "بیرونی لنکس کے پیش منظر فعال کریں؟"msgid "Turn on semantic search?"msgstr "معنوی تلاش فعال کریں؟"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "جو کچھ آپ پڑھتے ہیں اسے واضح، قابلِ اعتماد مضامین میں بدلیں۔ کوئی ماخذ محفوظ کریں، اس کا مطلب سمجھیں، پھر حتمی ورژن رکھیں تاکہ بعد میں اس پر بھروسہ کر سکیں۔"@@ -13829,7 +13843,7 @@ msgstr "جب آپ کوئی شائع شدہ مہارت نصب کریں تو مہmsgid "Where newly added attachments are placed."msgstr "نئے شامل ہونے والے منسلکات کہاں رکھے جاتے ہیں۔"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "یہ کہاں رہنا چاہیے؟"diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex 59ca5922d..c46f11b97 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -26,6 +26,11 @@"-imiMK": ["跟随——更新从你的远程流入;你的编辑留在这台电脑上。"],"-kKdCC": ["已从 ", ["0"], " 安装 ", ["imported"], " 个技能"],"-kbIAr": ["链接与图片"],+ "-ksoxk": [+ "这里的 OpenKnowledge 设置在仓库根目录,因此入门包会放进 <0>",+ ["sanitized"],+ "</0>,而不是仓库顶层。"+ ],"-l6jM7": ["使用 + 按钮开始对话,或从页面启动智能体。"],"-lCAuQ": ["正在加载关系图"],"-o5XAG": ["会连同你的备注和应用版本一起私下发送给 OpenKnowledge 团队。绝不会公开发布。"],@@ -528,6 +533,7 @@"7m3Ade": ["安装量:"],"7qRHf0": ["为 Claude Chat 和 Cowork 安装"],"7uBlRT": ["复制文件树中当前聚焦的项目,以便用「粘贴」创建副本。"],+ "7vxWET": ["无法预览入门包。"],"7wogIQ": [["0", "plural", { "other": ["插件"] }]],"80c4-P": ["代码已复制到剪贴板"],"81H_23": ["添加属性"],@@ -815,13 +821,6 @@"D-Oh1s": ["如何设置 ", ["0"], "(在浏览器中打开)"],"D-_B7l": ["已连接——该端点返回 ", ["0"], " 维向量。"],"D12vtS": ["(游离状态)"],- "D2CwBE": [- "用 <0>",- ["0"],- "</0> 入门包(",- ["1", "plural", { "other": ["#", " 个文件夹"] }],- "和入门模板)在你选择的文件夹中创建一个新的 OpenKnowledge 项目。"- ],"D2emTw": ["发送你的反馈时出了点问题。请重试。"],"D4H2N6": ["移除 ", ["tag"]],"D7hnvB": ["正在思量…"],@@ -1393,6 +1392,7 @@"MJuO1q": ["上下文窗口:"],"MKEPCY": ["跟随"],"MLVPcm": [["0"], " 版本 ", ["1"]],+ "MPpSAg": ["从 ", ["selectedPackName"], " 新建项目"],"MQ5LOx": ["把 ",["display"],@@ -3658,6 +3658,7 @@"uJfwF8": ["已安装——没有可导入的新内容。"],"uK2peg": ["根据 Open Knowledge Format 检查您的项目。随时在“设置”中将其关闭。"],"uKRYiW": ["同步状态不可用——服务器错误。"],+ "uLVNZL": ["更换入门包"],"uL_Wx8": ["终端意外停止了。"],"uM6jnS": ["恢复失败"],"uNGmQn": ["无法运行测试。请确认 OpenKnowledge 仍在运行。"],diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex aa4a998cc..905410947 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -1049,7 +1049,7 @@ msgstr "名为 <0>{sanitized}</0> 的文件夹这里已经有文件了。请换msgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "密钥已设置,但嵌入服务提供方拒绝了它或无法连接——搜索已退回到关键词匹配。可在「自定义端点」下使用<0>测试连接</0>查看具体问题。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "遵循 Google Open Knowledge Format 的知识库,一种整理知识的通用方式。如果你希望自己的笔记能与理解该格式的其他工具良好协作,请选这个。"@@ -1140,7 +1140,7 @@ msgstr "已有一个已保存的主题使用此名称。"msgid "A short line shown under the title in the template list."msgstr "在模板列表中显示在标题下方的一行简介。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "一个简单的写作空间,每个主题一个文件,外加一份日志。如果你只想先动笔,让笔记之间的链接慢慢生长,请选这个。"@@ -1311,7 +1311,7 @@ msgstr "添加字段"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "添加文件或文件夹模式,例如 guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "直接把它添加到这个项目。"@@ -1897,6 +1897,7 @@ msgstr "在 OpenKnowledge 桌面应用中可用。在终端里可使用<0> ok co#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "搭建一个竞品调研知识库。先写一页总览,再为每个竞msgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "搭建一个关于各种不会飞的鸟类的知识维基。先写一页总览,再为每个主要类群(鸵鸟、鸸鹋、几维鸟等平胸鸟;企鹅;以及不会飞的秧鸡)、它们的分布区域,以及失去飞行能力的演化时间线,添加相互链接的页面。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "构建并梳理你故事背后的世界。一个安放角色、地点、势力以及把它们串联起来的设定的地方,让细节在写作过程中始终自洽。"@@ -2227,6 +2228,10 @@ msgstr "无法删除存在未解决冲突的文件"msgid "Cannot upload: no document is open"msgstr "无法上传:当前没有打开的文档"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "更换入门包"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "更换服务提供方"@@ -3866,12 +3871,6 @@ msgstr "新建一个分支,或检出一个已有分支,各自在独立窗口msgid "Create a new list item from the current list item."msgstr "基于当前列表项创建一个新的列表项。"-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "用 <0>{0}</0> 入门包({1, plural, other {# 个文件夹}}和入门模板)在你选择的文件夹中创建一个新的 OpenKnowledge 项目。"-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "在你选择的文件夹中创建一个新的 OpenKnowledge 项目。"@@ -3913,6 +3912,10 @@ msgstr "创建缺失的页面 {target}"msgid "Create new project"msgstr "新建项目"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "从 {selectedPackName} 新建项目"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "新建标签 #{tagValue}"@@ -4605,6 +4608,7 @@ msgstr "例如:同步过程中切换了项目"msgid "e.g. The editor froze after I pasted a large table"msgstr "例如:粘贴一个很大的表格后编辑器卡住了"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "每个包都会用现成的文件夹和模板为你的项目搭好骨架。"@@ -4924,6 +4928,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "请输入 6 位十六进制值,例如 #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "请输入文件夹名(例如 brain)。"@@ -5052,7 +5057,7 @@ msgstr "关系图展开模式"msgid "Expires in {timeLabel}"msgstr "{timeLabel}后过期"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "讲清楚你的代码库是怎么运作的,让队友和 AI 智能体都能找到方向。适合记录架构、主要组成部分,以及新贡献者总会问到的问题。"@@ -6365,7 +6370,7 @@ msgstr "正在导入"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "在日志文档中:条目标题以 ISO YYYY-MM-DD 日期开头,最新的在前。您使用多少个 title,以及条目是否为项目符号,都取决于您。"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "在子文件夹中"@@ -6810,7 +6815,7 @@ msgstr "跳到光标所在块的 markdown 源码,居中并高亮显示。"msgid "just now"msgstr "刚刚"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "为你的产品是怎么做出来的留下书面记录。一个提出想法、记录决策、撰写规格,以及在出问题后总结经验的地方。"@@ -6854,7 +6859,7 @@ msgstr "名称请控制在 64 个字符以内。"msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "让这个项目与你的 git 远程保持同步。「跟随」只获取更新而不推送;完全同步也会推送你的提交。开启同步需要确认。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "记录你打交道的人和公司,以及你们之间的会面。适合用来记住某人是谁、你怎么认识他们,以及上次聊了什么。"@@ -7134,7 +7139,7 @@ msgstr "正在加载 PDF"msgid "Loading popular skills"msgstr "正在加载热门技能"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "正在加载预览"@@ -8879,6 +8884,10 @@ msgstr "OpenKnowledge 安装了一个技能"msgid "OpenKnowledge integrations checked."msgstr "已检查 OpenKnowledge 集成。"+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "这里的 OpenKnowledge 设置在仓库根目录,因此入门包会放进 <0>{sanitized}</0>,而不是仓库顶层。"+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge 正在使用 gh CLI 提供的 GitHub 账户。没有单独的 OpenKnowledge 凭据需要断开。"@@ -9103,6 +9112,10 @@ msgstr "所有者"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo、一个 git URL,或一个本地路径"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "无法预览入门包。"+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "项目插件是你项目的写作规范——在这里开启或关闭它们。这个选择会写入 config.yml,并通过 git 与所有协作者共享。每个启用的插件在设置侧边栏的「插件」下都有自己的页面。"#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "项目根目录"@@ -10445,7 +10458,7 @@ msgstr "正在重试…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "在侧边栏中连续点击时复用同一个标签页。关闭后,每次点击都会打开新标签页。"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "如果已存在就复用,否则就新建。"@@ -11717,6 +11730,7 @@ msgstr "初始内容"msgid "starter pack"msgstr "入门包"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "入门包"@@ -11828,7 +11842,7 @@ msgstr "样式"msgid "subagents"msgstr "子智能体"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "子文件夹名"@@ -12088,7 +12102,7 @@ msgstr "匹配 \"{tagListQuery}\" 的标签"msgid "Take a look if you'd like. This exact file is what we receive."msgstr "愿意的话可以看看。我们收到的就是这个文件本身。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "把一段文字从粗略的想法带到完成的初稿,再到可以拿出去分享的成品。适合博客文章、随笔,或者任何你想分阶段推进的写作。"@@ -13159,7 +13173,7 @@ msgstr "要开启外部链接预览吗?"msgid "Turn on semantic search?"msgstr "要开启语义搜索吗?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "把你读过的东西变成清晰可信的文章。保存来源,弄清它的含义,再留下最终版本,以便日后可以放心引用。"@@ -13829,7 +13843,7 @@ msgstr "当你安装一个已发布的技能时,会告知技能目录(skillsmsgid "Where newly added attachments are placed."msgstr "新添加的附件放在哪里。"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "它应该保存在哪里?"diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex c03b6a85d..4f7ae0d69 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -26,6 +26,11 @@"-imiMK": ["跟隨——更新從你的遠端流入;你的編輯留在這台電腦上。"],"-kKdCC": ["已從 ", ["0"], " 安裝 ", ["imported"], " 個技能"],"-kbIAr": ["連結與圖片"],+ "-ksoxk": [+ "這裡的 OpenKnowledge 設定在存放庫根目錄,因此入門套件會放進 <0>",+ ["sanitized"],+ "</0>,而不是存放庫頂層。"+ ],"-l6jM7": ["使用 + 按鈕開始對話,或從頁面啟動智慧代理。"],"-lCAuQ": ["正在載入關係圖"],"-o5XAG": ["會連同你的備註和應用程式版本一起私下寄給 OpenKnowledge 團隊。絕不會公開發布。"],@@ -530,6 +535,7 @@"7m3Ade": ["安裝次數:"],"7qRHf0": ["為 Claude Chat 和 Cowork 安裝"],"7uBlRT": ["複製檔案樹中目前聚焦的項目,這樣「貼上」就能做出一份副本。"],+ "7vxWET": ["無法預覽入門套件。"],"7wogIQ": [["0", "plural", { "other": ["外掛程式"] }]],"80c4-P": ["程式碼已複製到剪貼簿"],"81H_23": ["新增屬性"],@@ -819,13 +825,6 @@"D-Oh1s": ["如何設定 ", ["0"], "(在瀏覽器中開啟)"],"D-_B7l": ["已連線——這個端點傳回 ", ["0"], " 維向量。"],"D12vtS": ["(分離狀態)"],- "D2CwBE": [- "用 <0>",- ["0"],- "</0> 入門套件(",- ["1", "plural", { "other": ["#", " 個資料夾"] }],- "和入門範本)在你選的資料夾中建立一個新的 OpenKnowledge 專案。"- ],"D2emTw": ["傳送你的意見回饋時出了點問題。請再試一次。"],"D4H2N6": ["移除 ", ["tag"]],"D7hnvB": ["思量中…"],@@ -1411,6 +1410,7 @@"MJuO1q": ["脈絡視窗:"],"MKEPCY": ["跟隨"],"MLVPcm": [["0"], " 版本 ", ["1"]],+ "MPpSAg": ["從 ", ["selectedPackName"], " 建立新專案"],"MQ5LOx": ["把 ",["display"],@@ -3684,6 +3684,7 @@"uJfwF8": ["已經安裝了——沒有可匯入的新內容。"],"uK2peg": ["根據 Open Knowledge Format 檢查您的項目。隨時在“設定”中將其關閉。"],"uKRYiW": ["無法取得同步狀態——伺服器錯誤。"],+ "uLVNZL": ["更換入門套件"],"uL_Wx8": ["終端機非預期地停止了。"],"uM6jnS": ["還原失敗"],"uNGmQn": ["無法執行測試。請確認 OpenKnowledge 仍在執行。"],diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex 69c7f3ded..e433aa4da 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -1049,7 +1049,7 @@ msgstr "名為 <0>{sanitized}</0> 的資料夾這裡已經有檔案了。請換msgid "A key is set, but the embeddings provider rejected it or was unreachable — search fell back to keyword matching. Use <0>Test connection</0> under Custom endpoint to see what went wrong."msgstr "金鑰已設定,但嵌入服務供應商拒絕了它或無法連線——搜尋已退回關鍵字比對。可在「自訂端點」下用<0>測試連線</0>看看是哪裡出了問題。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A knowledge base that follows Google's Open Knowledge Format, a shared way of organizing what you know. Pick this if you want your notes to work well with other tools that understand the format."msgstr "遵循 Google Open Knowledge Format 的知識庫,一種整理知識的共通做法。如果你希望自己的筆記能和看得懂這個格式的其他工具好好搭配,請選這個。"@@ -1140,7 +1140,7 @@ msgstr "已有已儲存的主題使用這個名稱。"msgid "A short line shown under the title in the template list."msgstr "在範本清單中顯示在標題下方的簡短說明。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "A simple place to write, with one file per topic and a daily journal. Pick this if you just want to start writing and let the links between notes build up over time."msgstr "一個單純的寫作空間,每個主題一個檔案,外加一份日誌。如果你只想先動筆,讓筆記之間的連結慢慢長出來,請選這個。"@@ -1311,7 +1311,7 @@ msgstr "新增欄位"msgid "Add file or folder pattern, e.g. guides/**/*"msgstr "新增檔案或資料夾模式,例如 guides/**/*"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Add it directly to this project."msgstr "直接把它加到這個專案。"@@ -1897,6 +1897,7 @@ msgstr "在 OpenKnowledge 桌面應用程式中提供。在終端機裡可以使#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts+#: src/components/CreateProjectDialog.tsx#: src/components/NavigationHistoryControls.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx@@ -2105,7 +2106,7 @@ msgstr "建立一個競品研究知識庫。先寫一頁總覽,再為每個競msgid "Build a knowledge wiki about the different types of flightless birds. Start with an overview page, then add cross-linked pages for each major group (ratites like ostriches, emus, and kiwis; penguins; and flightless rails), the regions they live in, and a timeline of how flightlessness evolved."msgstr "建立一個關於各種不會飛的鳥類的知識維基。先寫一頁總覽,再為每個主要類群(鴕鳥、鴯鶓、奇異鳥等平胸鳥;企鵝;以及不會飛的秧雞)、牠們分布的區域,以及失去飛行能力的演化時間軸,加上互相連結的頁面。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Build and keep track of the world behind your story. A home for your characters, places, factions, and the lore that ties them together, so details stay consistent as you write."msgstr "建立並掌握你故事背後的世界。一個安放角色、地點、勢力,以及把它們串起來的設定的地方,讓細節在寫作過程中保持一致。"@@ -2227,6 +2228,10 @@ msgstr "無法刪除仍有未解決衝突的檔案"msgid "Cannot upload: no document is open"msgstr "無法上傳:目前沒有開啟任何文件"+#: src/components/CreateProjectDialog.tsx+msgid "Change pack"+msgstr "更換入門套件"+#: src/components/settings/SearchSection.tsxmsgid "Change provider"msgstr "更換供應商"@@ -3866,12 +3871,6 @@ msgstr "建立新分支,或簽出既有分支,各自在獨立視窗中開啟msgid "Create a new list item from the current list item."msgstr "從目前的清單項目建立一個新的清單項目。"-#. placeholder {0}: selectedPack.name-#. placeholder {1}: selectedPack.entryCounts.folders-#: src/components/CreateProjectDialog.tsx-msgid "Create a new OpenKnowledge project from the <0>{0}</0> starter pack ({1, plural, one {# folder} other {# folders}} and starter templates) in the folder of your choice."-msgstr "用 <0>{0}</0> 入門套件({1, plural, other {# 個資料夾}}和入門範本)在你選的資料夾中建立一個新的 OpenKnowledge 專案。"-#: src/components/CreateProjectDialog.tsxmsgid "Create a new OpenKnowledge project in the folder of your choice."msgstr "在你選的資料夾中建立一個新的 OpenKnowledge 專案。"@@ -3913,6 +3912,10 @@ msgstr "建立缺少的頁面 {target}"msgid "Create new project"msgstr "建立新專案"+#: src/components/CreateProjectDialog.tsx+msgid "Create new project from {selectedPackName}"+msgstr "從 {selectedPackName} 建立新專案"+#: src/editor/tag-suggestion/TagSuggestionMenu.tsxmsgid "Create new tag #{tagValue}"msgstr "建立新標籤 #{tagValue}"@@ -4605,6 +4608,7 @@ msgstr "例如:同步進行到一半時切換了專案"msgid "e.g. The editor froze after I pasted a large table"msgstr "例如:貼上一個很大的表格之後編輯器卡住了"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Each pack scaffolds your project with ready-made folders and templates."msgstr "每個套件都會用現成的資料夾和範本幫你的專案搭好骨架。"@@ -4924,6 +4928,7 @@ msgstr "Enter"msgid "Enter a 6-digit hex like #1A2B3C"msgstr "請輸入 6 位十六進位值,例如 #1A2B3C"+#: src/components/CreateProjectDialog.tsx#: src/components/SeedDialog.tsxmsgid "Enter a folder name (e.g. brain)."msgstr "請輸入資料夾名稱(例如 brain)。"@@ -5052,7 +5057,7 @@ msgstr "關係圖展開模式"msgid "Expires in {timeLabel}"msgstr "{timeLabel}後到期"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Explain how your codebase works so teammates and AI agents can find their way around. Good for documenting the architecture, the main parts, and the questions new contributors always ask."msgstr "說清楚你的程式碼庫是怎麼運作的,讓隊友和 AI 代理都找得到方向。適合用來記錄架構、主要組成,以及新貢獻者一定會問的問題。"@@ -6365,7 +6370,7 @@ msgstr "正在匯入"msgid "In a log document: entry headings lead with an ISO YYYY-MM-DD date, newest first. How many titles you use, and whether entries are bullets, is up to you."msgstr "在日誌文件中:條目標題以 ISO YYYY-MM-DD 日期開頭,最新的在前。您使用多少個 title,以及條目是否為項目符號,都取決於您。"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "In a subfolder"msgstr "在子資料夾中"@@ -6810,7 +6815,7 @@ msgstr "跳到游標所在區塊的 markdown 原始碼,置中並醒目提示msgid "just now"msgstr "剛剛"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep a written record of how your product gets built. A home for proposing ideas, recording decisions, writing specs, and capturing what you learned after something broke."msgstr "為你的產品是怎麼做出來的留下書面記錄。一個提出想法、記錄決策、撰寫規格,以及在出事之後總結心得的地方。"@@ -6854,7 +6859,7 @@ msgstr "名稱請控制在 64 個字元以內。"msgid "Keep this project in sync with your git remote. Follow fetches updates without pushing; full sync pushes your commits too. Turning sync on requires confirmation."msgstr "讓這個專案和你的 git 遠端保持同步。「跟隨」只取得更新而不推送;完全同步也會推送你的提交。開啟同步需要確認。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Keep track of the people and companies you work with and the meetings you have with them. Good for remembering who someone is, how you know them, and what you last talked about."msgstr "記錄你往來的人和公司,以及你們之間的會面。適合用來記住某人是誰、你怎麼認識他們,還有上次聊了什麼。"@@ -7134,7 +7139,7 @@ msgstr "正在載入 PDF"msgid "Loading popular skills"msgstr "正在載入熱門技能"-#: src/components/SeedDialog.tsx+#: src/components/CreatedItemsList.tsxmsgid "Loading preview"msgstr "正在載入預覽"@@ -8879,6 +8884,10 @@ msgstr "OpenKnowledge 安裝了一個技能"msgid "OpenKnowledge integrations checked."msgstr "已檢查 OpenKnowledge 整合。"+#: src/components/CreateProjectDialog.tsx+msgid "OpenKnowledge is set up at the repository root here, so the pack goes inside <0>{sanitized}</0> rather than at the top of the repository."+msgstr "這裡的 OpenKnowledge 設定在存放庫根目錄,因此入門套件會放進 <0>{sanitized}</0>,而不是存放庫頂層。"+#: src/components/settings/AccountSection.tsxmsgid "OpenKnowledge is using a GitHub account provided by the gh CLI. There's no separate OpenKnowledge credential to disconnect."msgstr "OpenKnowledge 正在使用 gh CLI 提供的 GitHub 帳戶。沒有另外的 OpenKnowledge 憑證需要中斷。"@@ -9103,6 +9112,10 @@ msgstr "擁有者"msgid "owner/repo, a git URL, or a local path"msgstr "owner/repo、一個 git URL,或一個本機路徑"+#: src/components/CreateProjectDialog.tsx+msgid "Pack preview unavailable."+msgstr "無法預覽入門套件。"+#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/link-path-suggestions.tsxmsgid "Page"@@ -9569,7 +9582,7 @@ msgid "Project plugins are your project's authoring standard — turn them on ormsgstr "專案外掛是你專案的寫作標準——在這裡開啟或關閉它們。這個選擇會寫進 config.yml,並透過 git 分享給每位協作者。每個啟用的外掛在設定側邊欄的「外掛」底下都有自己的頁面。"#: src/components/FileTree.tsx-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Project root"msgstr "專案根目錄"@@ -10445,7 +10458,7 @@ msgstr "正在重試…"msgid "Reuse one tab when clicking through the sidebars. Off opens every click in its own tab."msgstr "在側邊欄中一路點下去時重複使用同一個分頁。關掉之後,每次點擊都會開新分頁。"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Reused if it already exists, created if not."msgstr "如果已經存在就重複使用,否則就建立。"@@ -11717,6 +11730,7 @@ msgstr "起始內容"msgid "starter pack"msgstr "入門套件"+#: src/components/CreateProjectDialog.tsx#: src/components/NavigatorApp.tsxmsgid "Starter packs"msgstr "入門套件"@@ -11828,7 +11842,7 @@ msgstr "樣式"msgid "subagents"msgstr "子代理"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Subfolder name"msgstr "子資料夾名稱"@@ -12088,7 +12102,7 @@ msgstr "符合「{tagListQuery}」的標籤"msgid "Take a look if you'd like. This exact file is what we receive."msgstr "想看的話可以看看。我們收到的就是這個檔案本身。"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Take a piece of writing from a rough idea to a finished draft to something you're ready to share. Good for blog posts, essays, or anything you want to move through clear stages."msgstr "把一段文字從粗略的想法帶到完成的初稿,再到可以拿出去分享的成品。適合部落格文章、隨筆,或任何你想分階段推進的寫作。"@@ -13159,7 +13173,7 @@ msgstr "要開啟外部連結預覽嗎?"msgid "Turn on semantic search?"msgstr "要開啟語意搜尋嗎?"-#: src/components/SeedDialog.tsx+#: src/lib/pack-copy.tsmsgid "Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."msgstr "把你讀過的東西變成清楚可信的文章。先存下來源,弄懂它的意思,再留下最終版本,之後就能放心引用。"@@ -13829,7 +13843,7 @@ msgstr "當你安裝一個已發布的技能時,會告知技能目錄(skillsmsgid "Where newly added attachments are placed."msgstr "新加入的附件要放在哪裡。"-#: src/components/SeedDialog.tsx+#: src/components/SeedRootPicker.tsxmsgid "Where should it live?"msgstr "它應該放在哪裡?"diff --git a/packages/core/src/desktop-bridge.ts b/packages/core/src/desktop-bridge.tsindex 3d8d7b72c..f65a66b2a 100644--- a/packages/core/src/desktop-bridge.ts+++ b/packages/core/src/desktop-bridge.ts@@ -818,6 +818,17 @@ export type OkPackId =export interface OkSeedPlanOptions {rootDir?: string;packId?: OkPackId;+ /**+ * Preview a pack for a project that does not exist yet. The create-new+ * dialog runs on the Navigator window, which has no project bound, so the+ * normal `resolveProjectRoot` path answers `no-project`. Main plans against+ * a throwaway directory instead, so every entry reads as `created`.+ *+ * `skillsInstallable` is the part only the caller knows: whether the project+ * about to be created has an editor selected, and so whether the pack's+ * skills will actually install once it exists.+ */+ preview?: { skillsInstallable: boolean };}export interface OkSeedApplyOptions {@@ -1532,6 +1543,11 @@ export interface OkDesktopBridge {/** OK config sharing mode — defaults to 'shared' when omitted. */sharing?: 'shared' | 'local-only';packId?: OkPackId;+ /**+ * Folder the pack scaffolds into, relative to the project root.+ * Omitted → the project root (the dialog's default).+ */+ rootDir?: string;}): Promise<void>;/*** Fire-and-forget renderer→main telemetry counter for the Create-new-projectdiff --git a/packages/desktop/src/main/create-new-project.test.ts b/packages/desktop/src/main/create-new-project.test.tsindex f8a5a5a7a..05b1f4089 100644--- a/packages/desktop/src/main/create-new-project.test.ts+++ b/packages/desktop/src/main/create-new-project.test.ts@@ -306,6 +306,66 @@ describe('runCreateNew — happy paths', () => {});});+describe('runCreateNew — starter-pack seeding under git-root promotion', () => {+ /**+ * When the picked location sits inside an existing git repo the project root+ * is promoted to that repo, so "project root" is no longer the folder the+ * user just named. Seeding there would spray the pack across someone's+ * existing repo and leave the named folder empty.+ */+ function promotedFixture(homeName: string) {+ const tmpReal = realpathSync(tmpRoot);+ const fakeHome = resolve(tmpReal, homeName);+ const repo = resolve(fakeHome, 'repo');+ const notes = resolve(repo, 'notes');+ mkdirSync(notes, { recursive: true });+ mkdirSync(resolve(repo, '.git'), { recursive: true });+ writeFileSync(resolve(repo, '.git/HEAD'), 'ref: refs/heads/main\n');+ const target = resolve(notes, 'MyProj');+ return {+ repo,+ notes,+ target,+ deps: withDetected(ALL_EDITOR_IDS, makeDiscoverDeps(fakeHome, { [target]: repo })),+ };+ }++ test('anchors the pack at the named folder, not the repo root', async () => {+ const { repo, notes, target, deps } = promotedFixture('promoted-root');++ const result = await runCreateNew(+ { parent: notes, name: 'MyProj', editors: [...ALL_EDITOR_IDS], packId: 'knowledge-base' },+ deps,+ );++ expect(result.projectDir).toBe(repo);+ expect(result.gitRootPromoted).toBe(true);+ expect(existsSync(resolve(target, 'external-sources'))).toBe(true);+ expect(existsSync(resolve(target, 'log.md'))).toBe(true);+ // The user's existing repo root stays untouched.+ expect(existsSync(resolve(repo, 'external-sources'))).toBe(false);+ expect(existsSync(resolve(repo, 'log.md'))).toBe(false);+ });++ test('nests a chosen subfolder inside the named folder', async () => {+ const { repo, notes, target, deps } = promotedFixture('promoted-subfolder');++ await runCreateNew(+ {+ parent: notes,+ name: 'MyProj',+ editors: [...ALL_EDITOR_IDS],+ packId: 'knowledge-base',+ rootDir: 'brain',+ },+ deps,+ );++ expect(existsSync(resolve(target, 'brain', 'external-sources'))).toBe(true);+ expect(existsSync(resolve(repo, 'brain'))).toBe(false);+ });+});+describe('runCreateNew — git-root promotion', () => {/*** When the user picks a parent inside an existing git working tree, the@@ -726,6 +786,32 @@ describe('runCreateNew — starter-pack seeding', () => {expect(existsSync(join(result.projectDir, 'daily'))).toBe(true);});+ test('seeds at the project root when no rootDir is given', async () => {+ // `knowledge-base` declares `defaultSubfolder: 'brain'`. That default only+ // pre-fills the dialog's subfolder input — the scaffold itself lands at the+ // project root unless the user picks "In a subfolder".+ const result = await runCreateNew({+ parent: tmpRoot,+ name: 'Root Seeded Project',+ editors: [...ALL_EDITOR_IDS],+ packId: 'knowledge-base',+ });+ expect(existsSync(join(result.projectDir, 'external-sources'))).toBe(true);+ expect(existsSync(join(result.projectDir, 'brain'))).toBe(false);+ });++ test('seeds under rootDir when the dialog picked a subfolder', async () => {+ const result = await runCreateNew({+ parent: tmpRoot,+ name: 'Subfolder Seeded Project',+ editors: [...ALL_EDITOR_IDS],+ packId: 'knowledge-base',+ rootDir: 'brain',+ });+ expect(existsSync(join(result.projectDir, 'brain', 'external-sources'))).toBe(true);+ expect(existsSync(join(result.projectDir, 'external-sources'))).toBe(false);+ });+test('creates a blank project when packId is unrecognised', async () => {const result = await runCreateNew({parent: tmpRoot,diff --git a/packages/desktop/src/main/create-new-project.ts b/packages/desktop/src/main/create-new-project.tsindex 74e90f1d8..ae3d380e3 100644--- a/packages/desktop/src/main/create-new-project.ts+++ b/packages/desktop/src/main/create-new-project.ts@@ -13,7 +13,7 @@*/import { existsSync, readdirSync, statSync } from 'node:fs';-import { resolve } from 'node:path';+import { relative, resolve } from 'node:path';import {addOkPathsToGitExclude,detectInstalledEditors,@@ -36,7 +36,6 @@ import {findEnclosingProjectRoot,initContent,planSeed,- resolvePack,tracedMkdirSync,writeRootGitignoreForNewRepo,} from '@inkeep/open-knowledge-server';@@ -191,6 +190,13 @@ interface CreateNewProjectArgs {* `coercePackId` at the trust boundary; an unknown id skips seeding.*/readonly packId?: string;+ /**+ * Folder (relative to the project root) the pack scaffolds into. Omitted →+ * the project root, matching the create-new dialog's root chooser default.+ * Validated by `planSeed`, which rejects absolute paths, `..` segments, and+ * symlink escapes.+ */+ readonly rootDir?: string;}/**@@ -476,20 +482,33 @@ export async function runCreateNew(// first-run launcher threaded a `packId`; the blank create path leaves// it undefined and the project opens empty as before. Runs BEFORE the// caller opens the editor window so it lands populated with no- // empty-editor flash. Seeds at the pack's `defaultSubfolder` (project- // root when the pack declares none) — parity with `SeedDialog`'s- // project-root default + pre-filled subfolder. `initContent` (step 7)- // already wrote `.ok/config.yml`, so `planSeed`'s project-root- // prerequisite holds. Best-effort: a seed failure leaves a valid (if- // empty) project rather than failing the whole create — the folder is- // already on disk and the user just picked a name/location.+ // empty-editor flash. Seeds at `args.rootDir` — the folder the dialog's+ // root chooser resolved, which defaults to the project root just as the+ // in-project seed dialog does. `initContent` (step 7) already wrote+ // `.ok/config.yml`, so `planSeed`'s project-root prerequisite holds.+ // Best-effort: a seed failure leaves a valid (if empty) project rather+ // than failing the whole create — the folder is already on disk and the+ // user just picked a name/location.+ //+ // Under git-root promotion `projectDir` is the enclosing repo, NOT the+ // folder the user just named, so seeding at the project root there would+ // scatter the pack across an existing repo and leave the named folder+ // empty. Anchor at the named folder in that case; a chosen subfolder+ // nests inside it.const seedPackId = coercePackId(args.packId);if (seedPackId !== undefined) {+ const namedRoot = gitRootPromoted ? relative(projectDir, target) : '';+ const chosenRoot = args.rootDir ?? '';+ const seedRootDir =+ namedRoot === ''+ ? args.rootDir+ : chosenRoot === ''+ ? namedRoot+ : `${namedRoot}/${chosenRoot}`;try {- const pack = resolvePack(seedPackId);const plan = await planSeed({projectDir,- rootDir: pack.defaultSubfolder,+ rootDir: seedRootDir,packId: seedPackId,});const seedResult = await applySeed(plan, { projectDir, packId: seedPackId });@@ -506,7 +525,7 @@ export async function runCreateNew(// Pass `err` as a structured second arg (not the interpolated message) so// the stack survives — parity with the partial-failure branch above; a// "first project was empty" report needs the call depth to tell whether- // the throw came from resolvePack, planSeed, or applySeed.+ // the throw came from planSeed or applySeed.console.warn(`[create-new-project] starter-pack seed failed at ${projectDir} (pack ${seedPackId}):`,err,diff --git a/packages/desktop/src/main/index.ts b/packages/desktop/src/main/index.tsindex 8f2f0e73c..e2b1c9357 100644--- a/packages/desktop/src/main/index.ts+++ b/packages/desktop/src/main/index.ts@@ -6311,6 +6311,7 @@ function registerIpcHandlers() {editors: args.editors,sharing: args.sharing,packId: args.packId,+ rootDir: args.rootDir,});} catch (err) {if (err instanceof CreateNewProjectError) {diff --git a/packages/desktop/src/main/ipc/seed.ts b/packages/desktop/src/main/ipc/seed.tsindex c5b62ac33..8a69c1d95 100644--- a/packages/desktop/src/main/ipc/seed.ts+++ b/packages/desktop/src/main/ipc/seed.ts@@ -20,6 +20,9 @@* window's project root — no business logic here.*/+import { randomUUID } from 'node:crypto';+import { tmpdir } from 'node:os';+import { join } from 'node:path';import {applySeed as applySeedImpl,coercePackId,@@ -37,6 +40,7 @@ import type {SeedApplyOptions,SeedPlanOptions,} from '../../shared/bridge-contract.ts';+import { getLogger } from '../desktop-logger.ts';// Wire-format aliases — kept for compatibility with `ipc-channels.ts`.export type SeedPlanResult = OkSeedPlanResult;@@ -69,25 +73,60 @@ function noProjectError(): { ok: false; error: { kind: 'no-project'; message: st};}-/** Map an arbitrary error onto the structured `internal` error envelope. */+/**+ * Map an arbitrary error onto the structured `internal` error envelope.+ *+ * Logs first: only `err.message` survives the IPC boundary, so without this the+ * stack behind a "preview failed with an internal error" report is gone by the+ * time anyone reads it. The two expected error types never reach here.+ */function internalError(err: unknown): { ok: false; error: { kind: 'internal'; message: string } } {+ getLogger('ipc:seed').error({ err }, 'unexpected seed error');return {ok: false,error: { kind: 'internal', message: err instanceof Error ? err.message : String(err) },};}+/**+ * Rewrite a preview plan's skill rows for a project that doesn't exist yet.+ *+ * `planSeed` reads the skill state off disk, and the throwaway preview dir has+ * no agent folder — so `resolvePackSkillHome` refuses and every skill reports+ * `pending: false`. At create time the project's AI integrations are written+ * before the seed runs, so the skills DO install as long as the user has an+ * editor selected. `skillsInstallable` is the caller's answer to that.+ */+function normalizePreviewPlan(plan: ScaffoldPlan, skillsInstallable: boolean): ScaffoldPlan {+ const { packSkillHomeRefusal, ...rest } = plan;+ void packSkillHomeRefusal;+ if (rest.packSkills === undefined) return rest;+ return {+ ...rest,+ packSkills: rest.packSkills.map((skill) => ({ ...skill, pending: skillsInstallable })),+ };+}+/*** `ok:seed:plan` handler — compute a ScaffoldPlan for the current window's* project. Pure read; never writes to disk. Optional `rootDir` (relative to* the project root) scopes the scaffold to a subfolder. Optional `packId`* selects which pack to scaffold (defaults to `'knowledge-base'`).+ *+ * `preview` swaps the window's project for a throwaway directory that is never+ * created, so the create-new dialog (which runs on the project-less Navigator+ * window) can show what a pack would scaffold. Nothing exists there, so every+ * entry lands in `created` — the same all-created preview `ok seed --dry-run`+ * gets from `skipPrerequisite`.*/export async function handleSeedPlan(deps: SeedIpcDeps,options?: SeedPlanOptions,): Promise<SeedPlanResult> {- const projectRoot = deps.resolveProjectRoot();+ const preview = options?.preview;+ const projectRoot = preview+ ? join(tmpdir(), `ok-seed-preview-${randomUUID()}`)+ : deps.resolveProjectRoot();if (!projectRoot) return noProjectError();const plan = deps.planSeed ?? planSeedImpl;@@ -106,8 +145,14 @@ export async function handleSeedPlan(projectDir: projectRoot,rootDir: options?.rootDir,packId,+ skipPrerequisite: preview !== undefined,});- return { ok: true, plan: result };+ return {+ ok: true,+ // `=== true` because the flag crosses the IPC trust boundary — anything+ // other than a real `true` reads as "no skills will install".+ plan: preview ? normalizePreviewPlan(result, preview.skillsInstallable === true) : result,+ };} catch (err) {if (err instanceof SeedPrerequisiteError) {return { ok: false, error: { kind: 'prerequisite-missing', message: err.message } };diff --git a/packages/desktop/src/shared/ipc-channels.ts b/packages/desktop/src/shared/ipc-channels.tsindex 693468239..af77d3195 100644--- a/packages/desktop/src/shared/ipc-channels.ts+++ b/packages/desktop/src/shared/ipc-channels.ts@@ -1141,6 +1141,11 @@ export interface RequestChannels {* packs-forward launcher). Omitted → blank project (today's behavior).*/packId?: PackId;+ /**+ * Folder the pack scaffolds into, relative to the project root.+ * Omitted → the project root (the dialog's default).+ */+ rootDir?: string;},];result: undefined;diff --git a/packages/desktop/tests/main/seed-ipc.test.ts b/packages/desktop/tests/main/seed-ipc.test.tsindex 87f4d509e..589d83ea1 100644--- a/packages/desktop/tests/main/seed-ipc.test.ts+++ b/packages/desktop/tests/main/seed-ipc.test.ts@@ -64,6 +64,74 @@ describe('handleSeedPlan', () => {}});+ test('preview mode plans without a bound project and reports every entry as created', async () => {+ // The create-new dialog runs on the Navigator window, which has no project+ // bound — without the preview branch it can only ever get `no-project`.+ const result = await handleSeedPlan(+ { resolveProjectRoot: () => undefined },+ { packId: 'knowledge-base', preview: { skillsInstallable: true } },+ );+ expect(result.ok).toBe(true);+ if (!result.ok) return;+ expect(result.plan.skipped).toEqual([]);+ expect(result.plan.created.some((e) => e.path === 'log.md')).toBe(true);+ // The throwaway dir has no agent folder, so the raw plan would refuse the+ // skills outright; the caller's answer wins because create writes the AI+ // integrations before it seeds.+ expect(result.plan.packSkills?.length).toBeGreaterThan(0);+ expect(result.plan.packSkills?.every((s) => s.pending)).toBe(true);+ });++ test('preview mode reports skills as not pending when no editor is selected', async () => {+ const result = await handleSeedPlan(+ { resolveProjectRoot: () => undefined },+ { packId: 'knowledge-base', preview: { skillsInstallable: false } },+ );+ expect(result.ok).toBe(true);+ if (!result.ok) return;+ expect(result.plan.packSkills?.some((s) => s.pending)).toBe(false);+ });++ test('rejects an unknown packId rather than falling back to the default pack', async () => {+ // The renderer picks the id, so this is a trust boundary: a silent fallback+ // would plan (and then apply) a pack the user never chose.+ scaffoldOkDir(testDir);+ // Cast through unknown: the whole point is a value the wire type forbids+ // but an untrusted renderer can still send.+ const options = { packId: 'not-a-real-pack' } as unknown as Parameters<+ typeof handleSeedPlan+ >[1];+ const result = await handleSeedPlan({ resolveProjectRoot: () => testDir }, options);+ expect(result.ok).toBe(false);+ if (!result.ok) {+ expect(result.error.kind).toBe('internal');+ expect(result.error.message).toMatch(/Unknown packId/);+ }+ });++ test('rejects an unknown packId in preview mode too', async () => {+ const options = {+ packId: 'not-a-real-pack',+ preview: { skillsInstallable: true },+ } as unknown as Parameters<typeof handleSeedPlan>[1];+ const result = await handleSeedPlan({ resolveProjectRoot: () => undefined }, options);+ expect(result.ok).toBe(false);+ if (!result.ok) {+ expect(result.error.kind).toBe('internal');+ expect(result.error.message).toMatch(/Unknown packId/);+ }+ });++ test('preview mode scopes the plan to rootDir', async () => {+ const result = await handleSeedPlan(+ { resolveProjectRoot: () => undefined },+ { packId: 'knowledge-base', rootDir: 'brain', preview: { skillsInstallable: true } },+ );+ expect(result.ok).toBe(true);+ if (!result.ok) return;+ expect(result.plan.created.some((e) => e.path === 'brain/log.md')).toBe(true);+ });+test('returns {ok:false, invalid-root} when rootDir resolves outside projectDir', async () => {scaffoldOkDir(testDir);// Real planSeed (no inject) — exercises the typed-error path end-to-end.