@inkeep/open-knowledge 0.15.1-beta.5 → 0.15.1-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/assets/skills/discovery/SKILL.md +1 -1
  2. package/dist/assets/skills/project/SKILL.md +2 -2
  3. package/dist/cli.mjs +39 -39
  4. package/dist/constants-Bobe-usB.mjs +2 -0
  5. package/dist/dist-By70vg0t.mjs +1 -0
  6. package/dist/{dist-Bl_tym1Z.mjs → dist-CTSVLMDV.mjs} +9 -9
  7. package/dist/{gh-detect-DRHds4VZ.mjs → gh-detect-wbzQ2Z5B.mjs} +2 -2
  8. package/dist/index.mjs +1 -1
  9. package/dist/{init-BonJ-IAe.mjs → init-Cm5GW5mh.mjs} +4 -4
  10. package/dist/init-D-d4SGw0.mjs +1 -0
  11. package/dist/loader-DGNS5l_B.mjs +1 -0
  12. package/dist/{loader-CCpAbH3Q.mjs → loader-Dkfxwsah.mjs} +3 -3
  13. package/dist/{preview-CRiXRLbs.mjs → preview-B-cCcCju.mjs} +2 -2
  14. package/dist/preview-tihHY5hY.mjs +1 -0
  15. package/dist/public/assets/{ActivityModeContent-CcoGE_xm.js → ActivityModeContent-DYW6IyGe.js} +1 -1
  16. package/dist/public/assets/{DocumentContext-BYFYD2OR.js → DocumentContext-FDflxKx1.js} +1 -1
  17. package/dist/public/assets/{GraphPanel-B-5AaMRg.js → GraphPanel-BgmjHl8X.js} +1 -1
  18. package/dist/public/assets/{OpenInAgentMenuRequestContext-Df4A0AvJ.js → OpenInAgentMenuRequestContext-DbnEO7GU.js} +1 -1
  19. package/dist/public/assets/SettingsDialogBody-Cw9UBlHN.js +7 -0
  20. package/dist/public/assets/{SourceEditor-DLdOP88L.js → SourceEditor-Dt3ubo6_.js} +1 -1
  21. package/dist/public/assets/{TerminalPanel-yOVM28DS.js → TerminalPanel-Cs1MTR-8.js} +1 -1
  22. package/dist/public/assets/{config-validation-events-CRgM6DHS.js → config-validation-events-fxmQuSvc.js} +1 -1
  23. package/dist/public/assets/{dist-CVCWWNPG.js → dist-BRazL6Zi.js} +48 -48
  24. package/dist/public/assets/{index-D4QEBjBo.js → index-DnhI2qSt.js} +4 -4
  25. package/dist/public/assets/{keyboard-shortcuts-Bg9IdvnR.js → keyboard-shortcuts-73a1LeH2.js} +1 -1
  26. package/dist/public/assets/{prop-types-BSgyUl9p.js → prop-types-C2NMu-PZ.js} +1 -1
  27. package/dist/public/assets/{target-navigation-intent-BMIQLSDV.js → target-navigation-intent-xCp4fypZ.js} +1 -1
  28. package/dist/public/index.html +8 -8
  29. package/dist/{repair-launch-json-Dmuu1LHk.mjs → repair-launch-json-CV5266VW.mjs} +2 -2
  30. package/dist/{repair-mcp-configs-CrcMR9JY.mjs → repair-mcp-configs-CHXzSTzV.mjs} +2 -2
  31. package/dist/repair-skills-BQnVB088.mjs +1 -0
  32. package/dist/{repair-skills-GcwKI4g2.mjs → repair-skills-M719vrZS.mjs} +2 -2
  33. package/dist/{server-lock-BpjJj3OD-CrZDl-wH.mjs → server-lock-BpjJj3OD-DlYx_Xz-.mjs} +26 -26
  34. package/dist/server-lock-CyhBidkz-DUTkjNDG.mjs +1 -0
  35. package/dist/{src-DohMomTr.mjs → src-DKbIfvR1.mjs} +2 -2
  36. package/dist/start-BPtlwTTP.mjs +1 -0
  37. package/dist/{start-DdlZT4lz.mjs → start-CY65wpTR.mjs} +2 -2
  38. package/dist/{write-project-skill-DyOqNMyv.mjs → write-project-skill-CD8uXqFq.mjs} +2 -2
  39. package/package.json +1 -1
  40. package/dist/constants-CIS7nw8e.mjs +0 -2
  41. package/dist/dist-CPY1U8Js.mjs +0 -1
  42. package/dist/init-oJSTuUt2.mjs +0 -1
  43. package/dist/loader-C8rIR1tC.mjs +0 -1
  44. package/dist/preview-BPQHyFKc.mjs +0 -1
  45. package/dist/public/assets/SettingsDialogBody-BZCF6qQz.js +0 -7
  46. package/dist/repair-skills-B4UCaBBt.mjs +0 -1
  47. package/dist/server-lock-CyhBidkz-DXuuHDkK.mjs +0 -1
  48. package/dist/start-CmxWLg0Y.mjs +0 -1
@@ -3,7 +3,7 @@ name: open-knowledge-discovery
3
3
  description: "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."
4
4
  compatibility: "Any agent host — no MCP server required. Pure discovery + install guidance."
5
5
  metadata:
6
- version: "0.15.1-beta.5"
6
+ version: "0.15.1-beta.7"
7
7
  author: "Inkeep"
8
8
  repository: "https://github.com/inkeep/open-knowledge"
9
9
  ---
@@ -3,7 +3,7 @@ name: open-knowledge
3
3
  description: "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."
4
4
  compatibility: "Claude Code, Claude Desktop, Claude Cowork, Claude.ai web. Requires Open Knowledge MCP server + code execution."
5
5
  metadata:
6
- version: "0.15.1-beta.5"
6
+ version: "0.15.1-beta.7"
7
7
  author: "Inkeep"
8
8
  repository: "https://github.com/inkeep/open-knowledge"
9
9
  ---
@@ -137,7 +137,7 @@ Call `write` / `edit` as soon as you have content. Native `Edit` / `sed` / direc
137
137
 
138
138
  **Advisory warnings on writes.** `write` and `edit` responses may include `structuredContent.document.warnings` (batch: per-doc `structuredContent.documents[].warnings`) — advisory entries discriminated by `kind`, each also summarized as a `⚠` line in the response text. The write always landed; the entries tell you what to do next. Write-integrity kinds mean re-read the doc (`exec("cat <path>")`) before continuing: `content-divergence` (`{ kind, intendedBytes, actualBytes, byteDelta, hint }` — the converged Y.Text doesn't match what the payload composed to: concurrent peer residue, or — rare — a primitive regression) and `disk-edit-reconciled` (an out-of-band disk edit was folded in before your write landed on top). The renderability kind `mermaid-parse-error` (`{ kind, fenceIndex, fenceFirstLine, message, line? }`) means that mermaid fence will not render — fix the fence and re-edit. (A deprecated single-valued `warning` field on the HTTP body mirrors the highest-precedence integrity entry for older consumers.) Distinct from the preview-attach `warning` field (`action: "attach-preview-once" | "start-ui"`), which stays at the top level — separate keys, can coexist.
139
139
 
140
- To author an MDX doc (the KB renders MDX/JSX components), pass a `.mdx` path on the create: `write({ document: { path: "guides/widget.mdx", content, position: "replace" } })` lands `guides/widget.mdx`. A `.md` or extension-less path lands `.md`. An existing doc keeps its on-disk extension regardless of the suffix you pass — changing it in place isn't available via the MCP today.
140
+ To author an MDX doc (the KB renders MDX/JSX components), set `extension: ".mdx"` on the create: `write({ document: { path: "guides/widget", content, extension: ".mdx", position: "replace" } })` lands `guides/widget.mdx`. A `.mdx` suffix typed into `path` works too (the `extension` field wins if you pass both); omit both and it lands `.md`. An existing doc keeps its on-disk extension regardless — changing it in place isn't available via the MCP today.
141
141
 
142
142
  To delete a doc, call `delete({ document })` — never `rm` / `unlink` / native `Bash` removal on in-scope markdown. The MCP path closes open agent sessions and unloads the doc from Hocuspocus before unlinking; native `rm` desynchronizes those. Deletion is irreversible — call `checkpoint()` first if you may need to roll back (it snapshots the whole project; afterwards restore the doc via `restore_version({ document, version })`, finding the `version` in `history`), and `links({ kind: "backlinks", document })` first if you want to fix referrers that will become redlinks. To move or rename a doc instead of delete + rewrite, use `move({ from, to })` — it auto-detects document vs folder vs asset and rewrites incoming references atomically.
143
143