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.30.1 (#2639)
inkeep-internal-ci[bot]143552c19a94
diff --git a/.changeset/codeblock-ask-ai-composer-fallback.md b/.changeset/codeblock-ask-ai-composer-fallback.mddeleted file mode 100644index b164ae4f8..000000000--- a/.changeset/codeblock-ask-ai-composer-fallback.md+++ /dev/null@@ -1,8 +0,0 @@-----'@inkeep/open-knowledge': patch------**Fix:** the code-block chrome's Ask AI now grounds the composer with the-selected block's fenced source on first click, matching the second-click and-text-selection Ask AI paths. Previously, when no terminal was live, the-composer opened with an empty pill and the receiving agent got no passage.diff --git a/.changeset/embeddings-endpoint-cli-and-validation.md b/.changeset/embeddings-endpoint-cli-and-validation.mddeleted file mode 100644index 9f4544357..000000000--- a/.changeset/embeddings-endpoint-cli-and-validation.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Add `ok embeddings set-url <url>` / `ok embeddings clear-url` to configure the semantic-search embeddings endpoint from the CLI (for headless / CI users), and validate the endpoint URL inline in **Settings → This project → Search**. Both the CLI and the Settings field now reject a guaranteed-to-fail endpoint at entry — a malformed URL, or a plaintext `http://` host other than localhost — using the same rule the server enforces before it will send the API key, instead of letting a bad value degrade silently to lexical search later.diff --git a/.changeset/external-link-desktop-bridge.md b/.changeset/external-link-desktop-bridge.mddeleted file mode 100644index cdf131254..000000000--- a/.changeset/external-link-desktop-bridge.md+++ /dev/null@@ -1,12 +0,0 @@-----'@inkeep/open-knowledge': patch------External links now reliably open in your OS default browser on desktop.-Clicking an http(s) link in the visual editor, source mode, or a wiki-link-chip previously could open another Open Knowledge window rendering the page-— most visibly in windows created after a server restart. Link clicks now-route straight through the desktop bridge, and the window-level safety net-is attached to every editor window (including the server-restart recreate-path), so external URLs land in your browser everywhere. Web behavior is-unchanged (links still open in a new tab).diff --git a/.changeset/gate-terminal-cli-rows-on-path.md b/.changeset/gate-terminal-cli-rows-on-path.mddeleted file mode 100644index eb59f11c0..000000000--- a/.changeset/gate-terminal-cli-rows-on-path.md+++ /dev/null@@ -1,13 +0,0 @@-----'@inkeep/open-knowledge': patch------**Terminal CLI launch rows now reflect what's installed.** Across every-launch surface — the header / tab-strip "New chat", the "Ask X" composer-button, and the "Open with AI" menus — the docked-terminal CLI rows are gated-on a PATH-detection probe, so you only see the CLIs you actually have (e.g. no-Codex or Cursor-agent row when they aren't on PATH). Claude always keeps its-row as an install anchor. The gate fails open: a CLI whose install state is-still unknown (probe pending, probe failure, or an older desktop bridge) stays-visible rather than being silently dropped, so a probe miss never hides a CLI-you have installed.diff --git a/.changeset/list-boundary-merge-nested.md b/.changeset/list-boundary-merge-nested.mddeleted file mode 100644index bc1c9bbcc..000000000--- a/.changeset/list-boundary-merge-nested.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Fixes Backspace/Delete merges at nested list-item boundaries (inkeep/open-knowledge#609). Backspace at the start of an item whose previous sibling has a nested sublist no longer lifts the item out of the list as a bare paragraph with no bullet or checkbox, and forward Delete at the end of a nested item before a shallower item no longer re-nests that item at the wrong depth or silently drops its checkbox. Both fixes cover the Mod-Backspace/Mod-Delete variants; flat-list merges, first-item lift-out, and autoformat undo behavior are unchanged. Supersedes and credits inkeep/open-knowledge#613 by @blokboy.diff --git a/.changeset/pre.json b/.changeset/pre.jsonindex c21a8cc7a..9fde4f22a 100644--- a/.changeset/pre.json+++ b/.changeset/pre.json@@ -2,15 +2,15 @@"mode": "pre","tag": "beta","initialVersions": {- "@inkeep/open-knowledge-docs": "0.0.18",- "@inkeep/open-knowledge-app": "0.30.0",- "@inkeep/open-knowledge": "0.30.0",- "@inkeep/open-knowledge-core": "0.30.0",- "@inkeep/open-knowledge-desktop": "0.30.0",- "@inkeep/md-conformance": "0.0.26",+ "@inkeep/open-knowledge-docs": "0.0.19",+ "@inkeep/open-knowledge-app": "0.30.1",+ "@inkeep/open-knowledge": "0.30.1",+ "@inkeep/open-knowledge-core": "0.30.1",+ "@inkeep/open-knowledge-desktop": "0.30.1",+ "@inkeep/md-conformance": "0.0.27","@inkeep/open-knowledge-native-config": "0.0.0","@inkeep/open-knowledge-plugin": "0.3.1",- "@inkeep/open-knowledge-server": "0.30.0"+ "@inkeep/open-knowledge-server": "0.30.1"},"changesets": []}diff --git a/.changeset/remember-project-window-positions.md b/.changeset/remember-project-window-positions.mddeleted file mode 100644index 16679ae87..000000000--- a/.changeset/remember-project-window-positions.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Remember each project's window position across opens and relaunches. Reopening a project now restores its editor window to the exact frame it last had — same display, same position, same size, including maximized / full-screen state — instead of the cascade default; cascade remains the fallback for projects with no memory or whose remembered display is no longer connected. The desktop also tracks which project window was most recently focused: a post-update relaunch reopens every window at its old position and brings the window you were actually working in back to the front, and a normal cold start reopens the project you were last in rather than the one you happened to open last. Focus tracking freezes the moment shutdown begins, so the window-close cascade during quit or update install can't mislabel "last active" with whichever window closed last.diff --git a/.changeset/root-create-rename-focus.md b/.changeset/root-create-rename-focus.mddeleted file mode 100644index 38c223f61..000000000--- a/.changeset/root-create-rename-focus.md+++ /dev/null@@ -1,5 +0,0 @@-----'@inkeep/open-knowledge': patch------`New file`, `New folder`, and template creation from sidebar menus now keep the inline name field focused, so you can rename the item instead of immediately committing its default name.diff --git a/.changeset/wiki-link-suggestion-collision.md b/.changeset/wiki-link-suggestion-collision.mddeleted file mode 100644index f16e4d5dc..000000000--- a/.changeset/wiki-link-suggestion-collision.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Fix the `[[` wiki-link suggestion box silently freezing when a folder and a note share a name. The search index keyed every entry as `page:<name>`, so a folder `wiki` and a note `wiki.md` collided on `page:wiki`; the index rejected the duplicate key and the uncaught error killed the typeahead, leaving the dropdown stuck on the same initial results no matter what you typed. Entries are now keyed by their true kind (`folder:`, `page:`, `file:`), folders and assets are explicitly included in the corpus, and results map back to notes by the full kind-qualified key so a folder can't stand in for a same-named note.diff --git a/.changeset/writer-attributed-splice.md b/.changeset/writer-attributed-splice.mddeleted file mode 100644index 5523155a3..000000000--- a/.changeset/writer-attributed-splice.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Preserve agent-authored byte-forms through WYSIWYG edits in the same block. Blockquote lazy continuations now round-trip via a `'lazy'` marker-spacing capture, tight ATX heading-paragraph adjacency round-trips via the existing contiguity attribute, and Observer A's map-driven splice narrows into an edited blockquote, list, or list item so untouched sibling children keep their source bytes (including blank-line runs inside list items).diff --git a/bun.lock b/bun.lockindex cec2a4fbf..1e6e1bf6f 100644--- a/bun.lock+++ b/bun.lock@@ -19,7 +19,7 @@},"docs": {"name": "@inkeep/open-knowledge-docs",- "version": "0.0.18",+ "version": "0.0.19","dependencies": {"@hookform/resolvers": "^5.4.0","@inkeep/cxkit-react": "^0.5.117",@@ -62,7 +62,7 @@},"packages/app": {"name": "@inkeep/open-knowledge-app",- "version": "0.30.0",+ "version": "0.30.1","dependencies": {"@codemirror/autocomplete": "^6.20.1","@codemirror/commands": "^6.10.3",@@ -209,7 +209,7 @@},"packages/cli": {"name": "@inkeep/open-knowledge",- "version": "0.30.0",+ "version": "0.30.1","bin": {"open-knowledge": "dist/cli.mjs","ok": "dist/cli.mjs",@@ -253,7 +253,7 @@},"packages/core": {"name": "@inkeep/open-knowledge-core",- "version": "0.30.0",+ "version": "0.30.1","dependencies": {"@handlewithcare/remark-prosemirror": "0.1.5","@opentelemetry/api": "^1.9.0",@@ -329,7 +329,7 @@},"packages/desktop": {"name": "@inkeep/open-knowledge-desktop",- "version": "0.30.0",+ "version": "0.30.1","dependencies": {"@inkeep/open-knowledge": "workspace:*","@inkeep/open-knowledge-core": "workspace:*",@@ -374,7 +374,7 @@},"packages/server": {"name": "@inkeep/open-knowledge-server",- "version": "0.30.0",+ "version": "0.30.1","dependencies": {"@hocuspocus/server": "4.0.0-rc.1","@inkeep/open-knowledge-core": "workspace:*",diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 46d40f676..f49e79892 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -1,5 +1,11 @@# @inkeep/open-knowledge-docs+## 0.0.19++### Patch Changes++- @inkeep/[email protected]+## 0.0.18### Patch Changesdiff --git a/docs/package.json b/docs/package.jsonindex 0853ce1b0..803c03fd2 100644--- a/docs/package.json+++ b/docs/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-docs",- "version": "0.0.18",+ "version": "0.0.19","license": "GPL-3.0-or-later","private": true,"packageManager": "[email protected]",diff --git a/packages/app/package.json b/packages/app/package.jsonindex f87fd3d71..684594050 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-app",- "version": "0.30.0",+ "version": "0.30.1","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex d07cd23f9..28bc15408 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge",- "version": "0.30.0",+ "version": "0.30.1","license": "GPL-3.0-or-later","private": false,"type": "module",diff --git a/packages/core/package.json b/packages/core/package.jsonindex 74431c8b1..c4b424a80 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-core",- "version": "0.30.0",+ "version": "0.30.1","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/desktop/package.json b/packages/desktop/package.jsonindex 85ea90cb1..2d6e8d572 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,7 +1,7 @@{"name": "@inkeep/open-knowledge-desktop","productName": "OpenKnowledge",- "version": "0.30.0",+ "version": "0.30.1","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 92e4fd968..853ba139d 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 OpenKnowledge is, wants to install it on a repository, wants to share an OpenKnowledge project with collaborators, or asks how `ok init` / `ok cowork` / OK Desktop set up a project. Do NOT load to perform OpenKnowledge 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.30.0"+ version: "0.30.1"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 0a5c6a759..28cd0f94d 100644--- a/packages/server/assets/skills/project/SKILL.md+++ b/packages/server/assets/skills/project/SKILL.md@@ -3,7 +3,7 @@ name: open-knowledgedescription: "Authoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP. Use whenever reading, listing, searching, or editing any `.md` or `.mdx` file in the project, and before any `mcp__open-knowledge__*` tool call (`exec`, `search`, `write`, `edit`, and the rest). Installed by `ok init`, so its presence means this is an OpenKnowledge project and it governs every markdown file here. Covers the read/write tool surface, grounding and linking rules, folder/template conventions, the live browser preview, and the rule that OK's MCP tools — never native file tools — handle in-scope markdown."compatibility: "Claude Code, Claude Desktop, Claude Cowork, Claude.ai web. Requires OpenKnowledge MCP server + code execution."metadata:- version: "0.30.0"+ version: "0.30.1"author: "Inkeep"repository: "https://github.com/inkeep/open-knowledge"---diff --git a/packages/server/assets/skills/write-skill/SKILL.md b/packages/server/assets/skills/write-skill/SKILL.mdindex 5cc94647a..8d9bc4117 100644--- a/packages/server/assets/skills/write-skill/SKILL.md+++ b/packages/server/assets/skills/write-skill/SKILL.md@@ -3,7 +3,7 @@ name: open-knowledge-write-skilldescription: "Use when the user wants to create, author, write, or design a new Agent Skill (a SKILL.md) — for OpenKnowledge or for their editors — including requests like 'help me write a skill', 'make a skill that…', 'turn this workflow into a skill', or improving an existing skill's triggering and discipline. Also use when capturing reusable agent guidance that should live as an installable skill rather than a one-off prompt. Covers choosing scope (project vs global), the SKILL.md frontmatter contract, progressive-disclosure structure, evaluating the skill, and installing it into the user's editors."compatibility: "OpenKnowledge project recommended (uses the `write` / `edit` / `install` MCP verbs). Authoring + validation are pure file ops; live preview + eval want a running server (`ok start`)."metadata:- version: "0.30.0"+ version: "0.30.1"author: "Inkeep"repository: "https://github.com/inkeep/open-knowledge"---diff --git a/packages/server/package.json b/packages/server/package.jsonindex 8f46e8e14..8c54710da 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-server",- "version": "0.30.0",+ "version": "0.30.1","license": "GPL-3.0-or-later","private": true,"type": "module",