Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
main reset: post-stable v0.15.0 (#1961)
inkeep-internal-ci[bot]a7a705cd9525
diff --git a/.changeset/allfiles-search-surfaces.md b/.changeset/allfiles-search-surfaces.mddeleted file mode 100644index 2b438d984..000000000--- a/.changeset/allfiles-search-surfaces.md+++ /dev/null@@ -1,16 +0,0 @@-----"@inkeep/open-knowledge": minor------Search and the ⌘K omnibar now surface **every file in your project**, not just markdown notes. Part 1 made the sidebar tree show all files; this extends that to search so the two agree.--- Type part of any filename or folder path in ⌘K to jump to it — `data.csv`, `FileTree.tsx`, an image, a config file — regardless of type. Markdown is still ranked first; non-markdown files match by name and path.-- Folders that contain only non-markdown files are now searchable, and partial folder-path queries (e.g. `server/src`) resolve.-- Tracked dot-path files (`.changeset/`, `.github/`) are searchable (rank-deprioritized) without being sent to the embeddings provider.-- A link to an existing non-markdown file no longer renders dead; a genuinely missing target still does.-- The move/rename and new-file destination pickers list the same all-files set the tree shows.-- The omnibar shows a one-line hint when a query matches only file names (no content), and an empty-results note pointing to the file tree when a query matches nothing.-- MCP `search` returns all files by name/path and points agents at `exec` `grep` for exhaustive content search.-- Intentional hardening: secret-bearing files and directories (`.env*`, SSH private keys including `id_ed25519`/`id_ecdsa`/`id_dsa`, `.netrc`/`.npmrc`/`.pgpass`/`.git-credentials`, `*.pem`/`*.key`/`*.p12`/`*.pfx`/`*.keystore`/`*.jks`/`*.ppk`, and the `.ssh`/`.aws`/`.gnupg`/`.kube`/`.docker` directories) are excluded from **all** surfaces — the Part 1 "Show All Files" tree as well as search and `/api/documents`. The unauthenticated local HTTP API is bindable to non-loopback hosts; closing this name-egress channel is the floor whether or not `.gitignore` covers the path.--The file index now indexes names/paths for all files and full content for markdown only, with ContentFilter kept on (gitignored/build content stays out of search) and a 50,000-entry cap on the name-only tier (`OK_SEARCH_MAX_ENTRIES`).diff --git a/.changeset/consent-dialog-copy.md b/.changeset/consent-dialog-copy.mddeleted file mode 100644index 67cebf76e..000000000--- a/.changeset/consent-dialog-copy.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Reword the open-folder onboarding dialog. The title is now "Setup Open Knowledge in this folder?" and the description reads "Open Knowledge stores its configuration and internal files inside a newly created `.ok` directory in your project root folder." The pointer to "Advanced settings" is dropped from the description; the Advanced settings section and the top-level Share-this-setup selector are unchanged.diff --git a/.changeset/docked-terminal-introduction.md b/.changeset/docked-terminal-introduction.mddeleted file mode 100644index 777de0f22..000000000--- a/.changeset/docked-terminal-introduction.md+++ /dev/null@@ -1,13 +0,0 @@-----"@inkeep/open-knowledge": patch------Introduce the docked terminal in OK Desktop — an embedded shell beside the editor for running your tools without leaving the app. Toggle it with ⌘J or the new top-level Terminal menu. It ships polished for daily use:--- **Matches your theme** — light, dark, or system, and re-skins live when you switch themes (no restart).-- **Available by default** — opens on first use with no consent dialog; disable it per-project in Settings.-- **Top-level Terminal menu** — New Terminal and Kill Terminal, between View and Window like a native editor.-- **Trash to kill** — actually ends the shell session rather than just collapsing the panel; reopening starts a fresh shell, while collapse keeps the session running.-- **Cleaner agent hand-off** — launching an agent into the terminal no longer appends the web-only "open the editor in web view" line.--Opening or starting a new terminal now focuses the input so you can type right away, and killing a terminal after an agent hand-off opens a blank shell instead of replaying the previous prompt.diff --git a/.changeset/drop-mcp-instructions-handshake.md b/.changeset/drop-mcp-instructions-handshake.mddeleted file mode 100644index 1ace5fc08..000000000--- a/.changeset/drop-mcp-instructions-handshake.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------The Open Knowledge MCP server no longer emits a handshake `instructions` block. That block was injected into every project the (globally-registered) server connected to — including non-Open-Knowledge projects — which steered agents toward OK tools they could not use there. Agent guidance for OK projects is delivered by the installed `open-knowledge` project skill, which is the single source of that contract.diff --git a/.changeset/embedded-copy-prompt-clipboard.md b/.changeset/embedded-copy-prompt-clipboard.mddeleted file mode 100644index 0937de6cf..000000000--- a/.changeset/embedded-copy-prompt-clipboard.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Fix the empty-state "copy prompt" rows not working when OK runs inside an embedded host iframe (e.g. Claude). The copy buttons called the async Clipboard API directly, which the host frame's Permissions-Policy refuses inside an iframe — the rejection was swallowed silently, so nothing copied and the row never showed "Copied". The copy now routes through the shared clipboard adapter, whose `execCommand` fallback succeeds under the click's user activation where the policy-gated async write is blocked.diff --git a/.changeset/empty-state-create-with-agent-composer.md b/.changeset/empty-state-create-with-agent-composer.mddeleted file mode 100644index b34b844e3..000000000--- a/.changeset/empty-state-create-with-agent-composer.md+++ /dev/null@@ -1,9 +0,0 @@-----"@inkeep/open-knowledge": patch------Add an AI prompt composer to the empty-state screens. Describe what you want to build and hand it off to your coding agent (Claude, Codex, or Cursor) — it composes a project brief and opens the agent to scaffold your knowledge base to match, using the same handoff path as "Open with AI". One-click starter prompts are tailored to the surface (build-from-scratch ideas on a brand-new project; spec / architecture prompts when the project already has content). The agent picker lists your installed agents and remembers your last choice per machine; when none are installed, Create is disabled with a hint.--The composer now leads both empty-state surfaces; the old "With AI" editor-launch cards and the "New file" card on the post-init screen are gone (a "or create a new file" link covers blank files). Starter-pack descriptions are shorter and friendlier, and the "Entity vault (GBrain-compatible)" pack is renamed "Personal CRM".--When OK runs embedded inside a host agent (Cursor/Codex/Claude) — where launching an agent would loop back — the empty state shows the same starter prompts as copy-to-paste rows instead, so you can grab one and paste it straight into the chat without leaving the agent.diff --git a/.changeset/name-first-create-project.md b/.changeset/name-first-create-project.mddeleted file mode 100644index b4b1a12ce..000000000--- a/.changeset/name-first-create-project.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------The Create-new-project dialog in OK Desktop is now name-first. You type the project name in a focused field at the top, then see a read-only Location with a Browse button to change where it lands and a live "Will be created at: …" caption showing the exact folder before you commit. Naming a project no longer means using the OS folder picker's New Folder button or hitting an "already has files" wall first. A name that collides with an existing non-empty folder, or one that can't be turned into a valid folder name, is flagged inline on the name field. The nested-project and parent-git-repo guards are unchanged.diff --git a/.changeset/prd-7054-image-upload-affordance.md b/.changeset/prd-7054-image-upload-affordance.mddeleted file mode 100644index 72b5efcfb..000000000--- a/.changeset/prd-7054-image-upload-affordance.md+++ /dev/null@@ -1,30 +0,0 @@-----"@inkeep/open-knowledge": patch------Make the image / video / audio upload affordance discoverable on the property-panel and consolidate alignment to one surface. Three changes:--- Collapse three alignment surfaces into one. Image / video / Embed /- CommonMarkImage previously exposed alignment in the floating bubble menu,- in the per-block chrome bar, AND in the PropPanel `Align` Select. The- bubble menu (`ImageAlignButtons`) is the canonical surface; the chrome-bar- trio and PropPanel Select are removed, and the `align` PropDef carries- `hidden: true` so the prop still travels through the registry (MCP queries,- descriptor docs, render path) without producing a redundant control. The- rest of the cluster (PRD-7054 origin findings) follows:--- The upload control rendered as an icon-only square next to the URL input,- which read as decoration; users skipped it entirely and fell back to- URL-paste as the only "working" path. Replaced with a full-width labeled- "Upload from computer" button that pairs the icon with explicit text — the- visible label doubles as the assistive-tech accessible name, so the screen-- reader contract stays intact without `aria-label`.-- The asset-autocomplete dropdown bound its width with the Tailwind v3- implicit-`var()` shorthand `w-[--radix-popover-trigger-width]`. In Tailwind- v4 that form emits literal `width: --radix-popover-trigger-width` — invalid- CSS, silently ignored — so the suggestion list auto-sized to its longest- asset path (~550px-wide) and overflowed the parent prop panel, swallowing- the upload affordance in the visual chaos. Switched to v4's parenthesized- form `w-(--radix-popover-trigger-width)`; a DOM-level regression test pins- the syntax so a future revert fails CI instead of users.diff --git a/.changeset/pre.json b/.changeset/pre.jsonindex a5422e87d..a21d1b168 100644--- a/.changeset/pre.json+++ b/.changeset/pre.json@@ -3,13 +3,13 @@"tag": "beta","initialVersions": {"@inkeep/open-knowledge-docs": "0.0.1",- "@inkeep/open-knowledge-app": "0.14.0",- "@inkeep/open-knowledge": "0.14.0",- "@inkeep/open-knowledge-core": "0.14.0",- "@inkeep/open-knowledge-desktop": "0.14.0",- "@inkeep/md-conformance": "0.0.3",+ "@inkeep/open-knowledge-app": "0.15.0",+ "@inkeep/open-knowledge": "0.15.0",+ "@inkeep/open-knowledge-core": "0.15.0",+ "@inkeep/open-knowledge-desktop": "0.15.0",+ "@inkeep/md-conformance": "0.0.4","@inkeep/open-knowledge-plugin": "0.3.1",- "@inkeep/open-knowledge-server": "0.14.0"+ "@inkeep/open-knowledge-server": "0.15.0"},"changesets": []}diff --git a/.changeset/project-switcher-overflow.md b/.changeset/project-switcher-overflow.mddeleted file mode 100644index 1bab977d7..000000000--- a/.changeset/project-switcher-overflow.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Fix horizontal scrolling in the project switcher's recent-projects menu. Long project names and paths now truncate with an ellipsis inside the dropdown instead of forcing the menu wider than its container and introducing a horizontal scrollbar. The recents list clips overflow on the x-axis, and each row shrinks to the menu width so both the name and the path ellipsize cleanly.diff --git a/.changeset/publish-owner-radio-default-org.md b/.changeset/publish-owner-radio-default-org.mddeleted file mode 100644index 9680d8349..000000000--- a/.changeset/publish-owner-radio-default-org.md+++ /dev/null@@ -1,7 +0,0 @@-----"@inkeep/open-knowledge": patch------Publish-to-GitHub: pick the owner with a radio list and default to an org--The "Publish to GitHub" dialog now renders the eligible owners as a radio list (one card per owner) instead of a dropdown, so every choice is visible at a glance. When you belong to one or more organizations the wizard pre-selects the first org rather than your personal account, since a knowledge base is far more likely meant for the team, and accidentally publishing it under a personal login is annoying to undo. With no org available it falls back to your own account as before.diff --git a/.changeset/relaunch-aware-sidebar-reconnect.md b/.changeset/relaunch-aware-sidebar-reconnect.mddeleted file mode 100644index 71737cb93..000000000--- a/.changeset/relaunch-aware-sidebar-reconnect.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------The file sidebar no longer flashes a red "Could not reach server" error during a desktop auto-update relaunch. While the app restarts to install an update, the server is intentionally torn down for a few seconds — the sidebar now shows a calm "Relaunching to install the update…" notice instead, and quietly re-attempts the listing so it self-heals the moment the server returns (for example, when a relaunch is aborted). A genuine outage with no relaunch underway still surfaces the honest error immediately.diff --git a/.changeset/remove-broken-upload-file-button.md b/.changeset/remove-broken-upload-file-button.mddeleted file mode 100644index ef866f6ec..000000000--- a/.changeset/remove-broken-upload-file-button.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Remove the broken "Upload file" button from the file sidebar. This drops the upload-via-file-picker entry points: the sidebar toolbar button, the folder and empty-area right-click menu items, and the empty-state button. Drag-and-drop file upload onto the file tree is unchanged.diff --git a/.changeset/sharing-top-level.md b/.changeset/sharing-top-level.mddeleted file mode 100644index ab315b5b8..000000000--- a/.changeset/sharing-top-level.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------The "Share this setup with your team?" choice in both onboarding dialogs (Open-folder and Create-new-project) now sits at the top level as two side-by-side cards — Shared vs Local only — instead of being buried under "Advanced settings." The copy is shorter and plain-language; the technical detail (which files, git mechanics) stays in the info tooltip next to the question. Both dialogs render the same selector via a new shared `SharingModeField` component.diff --git a/bun.lock b/bun.lockindex cfaf26f6e..13b28c05c 100644--- a/bun.lock+++ b/bun.lock@@ -53,7 +53,7 @@},"packages/app": {"name": "@inkeep/open-knowledge-app",- "version": "0.14.0",+ "version": "0.15.0","dependencies": {"@codemirror/autocomplete": "^6.20.1","@codemirror/commands": "^6.10.3",@@ -196,7 +196,7 @@},"packages/cli": {"name": "@inkeep/open-knowledge",- "version": "0.14.0",+ "version": "0.15.0","bin": {"open-knowledge": "dist/cli.mjs","ok": "dist/cli.mjs",@@ -238,7 +238,7 @@},"packages/core": {"name": "@inkeep/open-knowledge-core",- "version": "0.14.0",+ "version": "0.15.0","dependencies": {"@handlewithcare/remark-prosemirror": "0.1.5","@opentelemetry/api": "^1.9.0",@@ -314,7 +314,7 @@},"packages/desktop": {"name": "@inkeep/open-knowledge-desktop",- "version": "0.14.0",+ "version": "0.15.0","dependencies": {"@inkeep/open-knowledge": "workspace:*","@inkeep/open-knowledge-core": "workspace:*",@@ -348,7 +348,7 @@},"packages/server": {"name": "@inkeep/open-knowledge-server",- "version": "0.14.0",+ "version": "0.15.0","dependencies": {"@hocuspocus/server": "4.0.0-rc.1","@inkeep/open-knowledge-core": "workspace:*",diff --git a/packages/app/package.json b/packages/app/package.jsonindex 9b193fae2..41d372220 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-app",- "version": "0.14.0",+ "version": "0.15.0","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex a922d05dc..e91820205 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge",- "version": "0.14.0",+ "version": "0.15.0","license": "GPL-3.0-or-later","private": false,"type": "module",diff --git a/packages/core/package.json b/packages/core/package.jsonindex 5acdb271b..fa65cfb05 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-core",- "version": "0.14.0",+ "version": "0.15.0","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/desktop/package.json b/packages/desktop/package.jsonindex 1da9a09b8..83b236e8e 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,7 +1,7 @@{"name": "@inkeep/open-knowledge-desktop","productName": "Open Knowledge",- "version": "0.14.0",+ "version": "0.15.0","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/server/assets/skills/discovery/SKILL.md b/packages/server/assets/skills/discovery/SKILL.mdindex e0bc0954c..8a29f742d 100644--- a/packages/server/assets/skills/discovery/SKILL.md+++ b/packages/server/assets/skills/discovery/SKILL.md@@ -3,7 +3,7 @@ name: open-knowledge-discoverydescription: "Read when the user asks what Open Knowledge is, wants to install it on a repository, wants to share an Open Knowledge project with collaborators, or asks how `ok init` / `ok install-skill` / OK Desktop set up a project. Do NOT load to perform Open Knowledge reads/writes — the runtime guidance for editing markdown inside an initialized OK project ships as a separate project-local skill at `.claude/skills/open-knowledge/` whenever `ok init` runs. If the user appears to be editing markdown inside a `.ok/` project and this is the only OK skill loaded, advise them to re-run `ok init` to install the project-local skill."compatibility: "Any agent host — no MCP server required. Pure discovery + install guidance."metadata:- version: "0.14.0"+ version: "0.15.0"author: "Inkeep"repository: "https://github.com/inkeep/open-knowledge"---diff --git a/packages/server/assets/skills/project/SKILL.md b/packages/server/assets/skills/project/SKILL.mdindex cb6ae09d8..cabbbde0e 100644--- a/packages/server/assets/skills/project/SKILL.md+++ b/packages/server/assets/skills/project/SKILL.md@@ -3,7 +3,7 @@ name: open-knowledgedescription: "MUST invoke before reading or editing any `.md` / `.mdx` file, and before any `mcp__open-knowledge__*` tool call (`exec`, `search`, `write`, `edit`, and the rest). This skill is installed into the repository by `ok init`, so its presence alone means this is an Open Knowledge project — its runtime contract governs every markdown file here, with no need to probe for a `.ok/` directory. Authoritative agent-runtime contract for working inside this Open Knowledge project."compatibility: "Claude Code, Claude Desktop, Claude Cowork, Claude.ai web. Requires Open Knowledge MCP server + code execution."metadata:- version: "0.14.0"+ version: "0.15.0"author: "Inkeep"repository: "https://github.com/inkeep/open-knowledge"---diff --git a/packages/server/package.json b/packages/server/package.jsonindex f6689c72a..9aff8ea4f 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-server",- "version": "0.14.0",+ "version": "0.15.0","license": "GPL-3.0-or-later","private": true,"type": "module",