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.37.2 (#2851)
inkeep-internal-ci[bot]5397a03fafb4
diff --git a/.changeset/comment-clipboard-contract.md b/.changeset/comment-clipboard-contract.mddeleted file mode 100644index 915383348..000000000--- a/.changeset/comment-clipboard-contract.md+++ /dev/null@@ -1,5 +0,0 @@-----'@inkeep/open-knowledge': patch------Comment annotations (`%%…%%` and `<!-- … -->`) now stay with copied content inside OpenKnowledge and never appear in content pasted into other apps. Copying or cutting in the WYSIWYG editor scrubs comments from every public clipboard flavor (plain text, rich HTML in all serializer tiers, table cells) and carries them on a private OpenKnowledge clipboard flavor, so pasting back into OpenKnowledge restores the annotation instead of silently dropping it or leaking it as visible text.diff --git a/.changeset/destroy-step-timeout-env-override.md b/.changeset/destroy-step-timeout-env-override.mddeleted file mode 100644index 763c1043c..000000000--- a/.changeset/destroy-step-timeout-env-override.md+++ /dev/null@@ -1,7 +0,0 @@-----"@inkeep/open-knowledge": patch------Allow overriding the per-step server-shutdown timeout via `OK_DESTROY_STEP_TIMEOUT_MS`--Each server teardown step is capped (default 5s) so a stuck step can't hang exit. That cap is now overridable with the `OK_DESTROY_STEP_TIMEOUT_MS` environment variable (milliseconds), which gives slower or heavily loaded environments headroom without changing the default. Normal usage is unaffected.diff --git a/.changeset/ghes-share-links.md b/.changeset/ghes-share-links.mddeleted file mode 100644index 1b73ef143..000000000--- a/.changeset/ghes-share-links.md+++ /dev/null@@ -1,18 +0,0 @@-----'@inkeep/open-knowledge': patch-'@inkeep/open-knowledge-server': patch-'@inkeep/open-knowledge-core': patch-'@inkeep/open-knowledge-desktop': patch-'@inkeep/open-knowledge-app': patch-'@inkeep/open-knowledge-docs': patch------**Feat:** share links now work with GitHub Enterprise Server remotes-(PRD-7351). The construct side threads the origin host into the share URL,-and the receive pipeline carries the host as part of the repo identity end-to end — so a GHES `owner/repo` share never resolves to a same-named-github.com clone. Because a decoded deep link is untrusted input, a share-pointing at a non-github.com host is gated: it proceeds silently only for a-host the recipient is already authenticated to, otherwise the app prompts to-open the link in a browser instead. The web splash renders enterprise shares-with the host shown prominently.diff --git a/.changeset/link-syntax-consolidation.md b/.changeset/link-syntax-consolidation.mddeleted file mode 100644index e4ac018e5..000000000--- a/.changeset/link-syntax-consolidation.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Consolidate the server's inline link recognizers (backlink index, rename rewriting, link suggestions, referenced-asset scanning) onto one shared grammar, so a link that counts for backlinks can no longer be silently missed by rename rewriting or the asset sidebar. The backlink/rename grammar is the canonical one; the asset scanner picks up small correctness fixes from the alignment: links with parenthesized titles (`[doc](file.pdf (title))`) and titles containing the other quote character (`[doc](file.pdf "it's here")`) now count as asset references, malformed mismatched-quote titles no longer do, and wiki-link targets are trimmed before resolution.diff --git a/.changeset/mermaid-wysiwyg-editing-polish.md b/.changeset/mermaid-wysiwyg-editing-polish.mddeleted file mode 100644index b669047b6..000000000--- a/.changeset/mermaid-wysiwyg-editing-polish.md+++ /dev/null@@ -1,5 +0,0 @@-----"@inkeep/open-knowledge": patch------Mermaid WYSIWYG polish. The Edit Mermaid source dialog's preview is now a full WYSIWYG canvas — click popovers, double-click label editing, and connect gestures rewrite the dialog draft live, with Save persisting and Cancel discarding as usual. Diagram popovers behave like part of the diagram: they anchor at the exact box you clicked (participants render two), flip below the node instead of clipping at the block edge, follow the diagram when it pans or zooms, and close when you interact anywhere else. Inline label editing now feels like a plain textbox — the canvas holds re-renders while you type, so the caret never jumps and Escape reliably reverts.diff --git a/.changeset/ok-ws-mcp-telemetry.md b/.changeset/ok-ws-mcp-telemetry.mddeleted file mode 100644index 28ed1bdc5..000000000--- a/.changeset/ok-ws-mcp-telemetry.md+++ /dev/null@@ -1,9 +0,0 @@-----"@inkeep/open-knowledge": patch------Add WebSocket-lifecycle and MCP-tool observability to the server (all opt-in via OpenTelemetry, zero overhead when disabled):--- New observable gauges: `ok.ws.connections.active` (live collab connections, labeled `kind ∈ {websocket, direct}`), `ok.sessions.active`, and `ok.sessions.limit` — a session-cap stall now shows up as active pinned at the limit instead of undiagnosable 503s.-- The `traceparent` the browser already appends to the collab WebSocket URL is now extracted server-side, so the `sync.handshake` span parents to the user's browser trace instead of starting a disconnected root.-- Every MCP tool invocation now gets a `mcp.tool.<name>` span plus an `ok.mcp.tool.duration` histogram and `ok.mcp.tool.errors` counter (bounded tool-name labels), instrumented once at the dispatch spine — including the HTTP MCP endpoint, which previously had no per-tool instrumentation at all.diff --git a/.changeset/pre.json b/.changeset/pre.jsonindex c37f342d3..74ce2b5a9 100644--- a/.changeset/pre.json+++ b/.changeset/pre.json@@ -2,15 +2,15 @@"mode": "pre","tag": "beta","initialVersions": {- "@inkeep/open-knowledge-docs": "0.0.33",- "@inkeep/open-knowledge-app": "0.37.1",- "@inkeep/open-knowledge": "0.37.1",- "@inkeep/open-knowledge-core": "0.37.1",- "@inkeep/open-knowledge-desktop": "0.37.1",- "@inkeep/md-conformance": "0.0.41",+ "@inkeep/open-knowledge-docs": "0.0.34",+ "@inkeep/open-knowledge-app": "0.37.2",+ "@inkeep/open-knowledge": "0.37.2",+ "@inkeep/open-knowledge-core": "0.37.2",+ "@inkeep/open-knowledge-desktop": "0.37.2",+ "@inkeep/md-conformance": "0.0.42","@inkeep/open-knowledge-native-config": "0.0.0","@inkeep/open-knowledge-plugin": "0.3.1",- "@inkeep/open-knowledge-server": "0.37.1"+ "@inkeep/open-knowledge-server": "0.37.2"},"changesets": []}diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 4ba80c508..a3fb110ea 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -1,5 +1,21 @@# @inkeep/open-knowledge-docs+## 0.0.34++### Patch Changes++- 86b9804: **Feat:** share links now work with GitHub Enterprise Server remotes+ (PRD-7351). The construct side threads the origin host into the share URL,+ and the receive pipeline carries the host as part of the repo identity end+ to end — so a GHES `owner/repo` share never resolves to a same-named+ github.com clone. Because a decoded deep link is untrusted input, a share+ pointing at a non-github.com host is gated: it proceeds silently only for a+ host the recipient is already authenticated to, otherwise the app prompts to+ open the link in a browser instead. The web splash renders enterprise shares+ with the host shown prominently.+- Updated dependencies [86b9804]+ - @inkeep/[email protected]+## 0.0.33### Patch Changesdiff --git a/docs/package.json b/docs/package.jsonindex 168909824..ac6b740bc 100644--- a/docs/package.json+++ b/docs/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-docs",- "version": "0.0.33",+ "version": "0.0.34","license": "GPL-3.0-or-later","private": true,"packageManager": "[email protected]",diff --git a/packages/app/package.json b/packages/app/package.jsonindex ca584af99..9f8f113fc 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-app",- "version": "0.37.1",+ "version": "0.37.2","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 86a70a8b2..e92012bb6 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge",- "version": "0.37.1",+ "version": "0.37.2","license": "GPL-3.0-or-later","private": false,"type": "module",diff --git a/packages/core/package.json b/packages/core/package.jsonindex 791cd1712..663763c0b 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-core",- "version": "0.37.1",+ "version": "0.37.2","license": "GPL-3.0-or-later","private": true,"type": "module",diff --git a/packages/desktop/package.json b/packages/desktop/package.jsonindex 069b1f946..0226c8224 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -1,7 +1,7 @@{"name": "@inkeep/open-knowledge-desktop","productName": "OpenKnowledge",- "version": "0.37.1",+ "version": "0.37.2","license": "GPL-3.0-or-later","homepage": "https://openknowledge.ai","author": {diff --git a/packages/server/assets/skills/discovery/SKILL.md b/packages/server/assets/skills/discovery/SKILL.mdindex 8502b834e..55e26ff2a 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.37.1"+ version: "0.37.2"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 68914f571..18cd2ff72 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, editing, or linting any `.md` or `.mdx` file in the project, and before any `mcp__open-knowledge__*` tool call (`exec`, `search`, `write`, `edit`, `lint`, 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.37.1"+ version: "0.37.2"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 6a11a9823..e3ccf1c0a 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.37.1"+ version: "0.37.2"author: "Inkeep"repository: "https://github.com/inkeep/open-knowledge"---diff --git a/packages/server/package.json b/packages/server/package.jsonindex 9a704e4f2..fb99c6f68 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -1,6 +1,6 @@{"name": "@inkeep/open-knowledge-server",- "version": "0.37.1",+ "version": "0.37.2","license": "GPL-3.0-or-later","private": true,"type": "module",