From d0cadbf296c9276728f593d724ac0d97a03774d7 Mon Sep 17 00:00:00 2001 From: "inkeep-internal-ci[bot]" <259778081+inkeep-internal-ci[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 22:38:26 +0000 Subject: [PATCH] main reset: post-stable v0.37.2 (#2851) GitOrigin-RevId: 6c40a56a19358e991883debaec91b70ae54b1028 --- .changeset/comment-clipboard-contract.md | 5 ----- .../destroy-step-timeout-env-override.md | 7 ------- .changeset/ghes-share-links.md | 18 ------------------ .changeset/link-syntax-consolidation.md | 5 ----- .changeset/mermaid-wysiwyg-editing-polish.md | 5 ----- .changeset/ok-ws-mcp-telemetry.md | 9 --------- .changeset/pre.json | 14 +++++++------- docs/CHANGELOG.md | 16 ++++++++++++++++ docs/package.json | 2 +- packages/app/package.json | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/desktop/package.json | 2 +- .../server/assets/skills/discovery/SKILL.md | 2 +- packages/server/assets/skills/project/SKILL.md | 2 +- .../server/assets/skills/write-skill/SKILL.md | 2 +- packages/server/package.json | 2 +- 17 files changed, 32 insertions(+), 65 deletions(-) delete mode 100644 .changeset/comment-clipboard-contract.md delete mode 100644 .changeset/destroy-step-timeout-env-override.md delete mode 100644 .changeset/ghes-share-links.md delete mode 100644 .changeset/link-syntax-consolidation.md delete mode 100644 .changeset/mermaid-wysiwyg-editing-polish.md delete mode 100644 .changeset/ok-ws-mcp-telemetry.md diff --git a/.changeset/comment-clipboard-contract.md b/.changeset/comment-clipboard-contract.md deleted file mode 100644 index 91538334..00000000 --- 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.md deleted file mode 100644 index 763c1043..00000000 --- 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.md deleted file mode 100644 index 1b73ef14..00000000 --- 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.md deleted file mode 100644 index e4ac018e..00000000 --- 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.md deleted file mode 100644 index b669047b..00000000 --- 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.md deleted file mode 100644 index 28ed1bdc..00000000 --- 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.` 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.json index c37f342d..74ce2b5a 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.md index 4ba80c50..a3fb110e 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/open-knowledge-core@0.37.2 + ## 0.0.33 ### Patch Changes diff --git a/docs/package.json b/docs/package.json index 16890982..ac6b740b 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": "pnpm@10.33.0", diff --git a/packages/app/package.json b/packages/app/package.json index ca584af9..9f8f113f 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.json index 86a70a8b..e92012bb 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.json index 791cd171..663763c0 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.json index 069b1f94..0226c822 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.md index 8502b834..55e26ff2 100644 --- a/packages/server/assets/skills/discovery/SKILL.md +++ b/packages/server/assets/skills/discovery/SKILL.md @@ -3,7 +3,7 @@ name: open-knowledge-discovery description: "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.md index 68914f57..18cd2ff7 100644 --- a/packages/server/assets/skills/project/SKILL.md +++ b/packages/server/assets/skills/project/SKILL.md @@ -3,7 +3,7 @@ name: open-knowledge description: "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.md index 6a11a982..e3ccf1c0 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-skill description: "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.json index 9a704e4f..fb99c6f6 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",