@inkeep/open-knowledge 0.59.0-beta.10 → 0.59.0-beta.11

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 (38) hide show
  1. package/dist/{acp-harness-probe-B-zYNbKH.mjs → acp-harness-probe-CtYsL4oW.mjs} +3 -3
  2. package/dist/cli.mjs +61 -61
  3. package/dist/constants-SPXFIIpr.mjs +2 -0
  4. package/dist/index.d.mts +0 -27
  5. package/dist/index.mjs +202 -202
  6. package/dist/init-0PQaEmO4.mjs +1 -0
  7. package/dist/init-D4hGzG0x.mjs +638 -0
  8. package/dist/{launch-json-removal-BFc1Zjdt.mjs → launch-json-removal-CHW6BDW0.mjs} +2 -2
  9. package/dist/loader-ChgEto49.mjs +1 -0
  10. package/dist/{loader-gs03Z0wR.mjs → loader-VHR4P_Qn.mjs} +2 -2
  11. package/dist/{open-browser-00vuZ49B.mjs → open-browser-B-Kf-THH.mjs} +2 -2
  12. package/dist/preview-DU1q26MM.mjs +1 -0
  13. package/dist/{preview-D-cqfvmS.mjs → preview-FdLPtoZn.mjs} +2 -2
  14. package/dist/{repair-launch-json-TrmFTJtM.mjs → repair-launch-json-CkUiGP8u.mjs} +2 -2
  15. package/dist/{repair-mcp-configs-D3EO32iD.mjs → repair-mcp-configs-_Oeqg3QH.mjs} +2 -2
  16. package/dist/repair-skills-CI9y4QbJ.mjs +4 -0
  17. package/dist/repair-skills-QaEJT3NL.mjs +1 -0
  18. package/dist/{resolve-project-root-CAzm4bRw.mjs → resolve-project-root-CRcZU2OU.mjs} +5 -5
  19. package/dist/{skill-teardown-CwUORgAd.mjs → skill-teardown-DLV1OiQx.mjs} +2 -2
  20. package/dist/src-DCqESfWX.mjs +1 -0
  21. package/dist/src-DfNaUXGz.mjs +1 -0
  22. package/dist/{src-BEA-yn6c.mjs → src-_fp0S8Pp.mjs} +330 -330
  23. package/dist/src-a0eFWYIv.mjs +20 -0
  24. package/dist/start-C2nJJx-n.mjs +1 -0
  25. package/dist/{start-sc9lI5yb.mjs → start-Dck4TtIt.mjs} +4 -4
  26. package/dist/{ui-BxBKs2IM.mjs → ui-DZeKrf4E.mjs} +3 -3
  27. package/package.json +5 -5
  28. package/dist/constants-CuvKewzN.mjs +0 -2
  29. package/dist/init-B5gPgKmk.mjs +0 -1
  30. package/dist/init-BzZZQKjK.mjs +0 -638
  31. package/dist/loader-Bowldk_b.mjs +0 -1
  32. package/dist/preview-DrxJEWLx.mjs +0 -1
  33. package/dist/repair-skills-CTJ78v6_.mjs +0 -4
  34. package/dist/repair-skills-lEisdlv1.mjs +0 -1
  35. package/dist/src-BNK2WY-u.mjs +0 -20
  36. package/dist/src-Bz8L1kRK.mjs +0 -1
  37. package/dist/src-Dhp-cFHN.mjs +0 -1
  38. package/dist/start-BgU8qitb.mjs +0 -1
@@ -0,0 +1,2 @@
1
+ import"./src-BxdlvOrw.mjs";var e=`0.59.0-beta.11`;const t=`config.yml`,n=e;export{n,t};
2
+ //# sourceMappingURL=constants-SPXFIIpr.mjs.map
package/dist/index.d.mts CHANGED
@@ -14117,33 +14117,6 @@ interface IntegrationWriteOutcome {
14117
14117
  }
14118
14118
  //#endregion
14119
14119
  //#region src/integrations/resolve-project-root.d.ts
14120
- /**
14121
- * Resolve a CLI project root via ancestor-walk for `.ok/config.yml` first,
14122
- * git-root promotion second. Mirrors desktop `discoverProject` from
14123
- * `packages/desktop/src/main/folder-admission.ts` with a flat record shape and
14124
- * synchronous execution suited to CLI ergonomics — `ok init` calls this
14125
- * before any filesystem side effect. It is init-only by design: git-root
14126
- * promotion and the home-dir stop are scaffolding concerns. Lifecycle
14127
- * commands anchor to an EXISTING project via the CLI preAction hook's
14128
- * `resolveProjectAnchor` (`findEnclosingProjectRoot` semantics) instead.
14129
- *
14130
- * Walk-up rules:
14131
- * - Realpath cwd, stop at home, filesystem root, or 30 levels.
14132
- * - First `.ok/config.yml` hit wins; cursor != cwd ⇒ ancestorPromoted.
14133
- * - No ancestor: try `git rev-parse --show-toplevel`; promote only when the
14134
- * resolved root is a strict descendant of homeDir (carve-out for
14135
- * hypothetical `~/.git/`).
14136
- * - Otherwise: projectRoot = cwd, no promotion (today's CLI behavior).
14137
- *
14138
- * `defaultContentDir` is always `'.'` — content scope equals the resolved
14139
- * `projectRoot`. On git-root promotion the user can still narrow scope via
14140
- * `config.yml`'s `content.dir`, but the default aligns "opened folder" and
14141
- * "content dir" so the two never diverge silently.
14142
- *
14143
- * Pure of stdout — the caller decides whether to print `[ok] Opened existing
14144
- * project at …` or a git-root disclosure line based on the returned record
14145
- * plus its own `existsSync(<projectRoot>/.ok)` probe.
14146
- */
14147
14120
  interface ResolveProjectRootResult {
14148
14121
  /** Where `.ok/` lives or will live. Equals `realpath(cwd)` when no
14149
14122
  * promotion happened; otherwise the ancestor that owned `.ok/config.yml`