@dikolab/kbdb 0.6.4 → 0.6.5

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 (67) hide show
  1. package/dist/cli.cjs +452 -144
  2. package/dist/cli.cjs.map +4 -4
  3. package/dist/cli.mjs +452 -144
  4. package/dist/cli.mjs.map +4 -4
  5. package/dist/kbdb-worker.cjs +49 -7
  6. package/dist/kbdb-worker.cjs.map +4 -4
  7. package/dist/mod.cjs +1 -1
  8. package/dist/mod.cjs.map +1 -1
  9. package/dist/mod.mjs +1 -1
  10. package/dist/mod.mjs.map +1 -1
  11. package/dist/src/shared/cli/constants/defaults.constant.d.ts +1 -1
  12. package/dist/src/shared/cli/functions/learn-structured-document.function.d.ts +10 -0
  13. package/dist/src/shared/cli/functions/learn-target-content.function.d.ts +5 -17
  14. package/dist/src/shared/cli/functions/split-markdown-sections.function.d.ts +4 -0
  15. package/dist/src/shared/cli/typings/learn-client.interface.d.ts +2 -0
  16. package/dist/src/shared/cli/typings/learn-result.model.d.ts +2 -0
  17. package/dist/src/shared/content-splitter/classes/heading-parent-tracker.class.d.ts +20 -0
  18. package/dist/src/shared/content-splitter/constants/content-type-maps.constant.d.ts +5 -0
  19. package/dist/src/shared/content-splitter/constants/split-strategy-map.constant.d.ts +4 -0
  20. package/dist/src/shared/content-splitter/functions/detect-content-type.function.d.ts +13 -0
  21. package/dist/src/shared/content-splitter/functions/flush-markdown-draft.function.d.ts +14 -0
  22. package/dist/src/shared/content-splitter/functions/flush-toml-draft.function.d.ts +15 -0
  23. package/dist/src/shared/content-splitter/functions/push-content-section.function.d.ts +16 -0
  24. package/dist/src/shared/content-splitter/functions/resolve-parent-ids.function.d.ts +14 -0
  25. package/dist/src/shared/content-splitter/functions/split-content.function.d.ts +11 -0
  26. package/dist/src/shared/content-splitter/functions/split-html.function.d.ts +12 -0
  27. package/dist/src/shared/content-splitter/functions/split-markdown.function.d.ts +13 -0
  28. package/dist/src/shared/content-splitter/functions/split-plain-text.function.d.ts +8 -0
  29. package/dist/src/shared/content-splitter/functions/split-toml.function.d.ts +12 -0
  30. package/dist/src/shared/content-splitter/index.d.ts +11 -0
  31. package/dist/src/shared/content-splitter/typings/content-format.type.d.ts +2 -0
  32. package/dist/src/shared/content-splitter/typings/content-section.interface.d.ts +17 -0
  33. package/dist/src/shared/content-splitter/typings/markdown-draft.interface.d.ts +12 -0
  34. package/dist/src/shared/content-splitter/typings/split-result.interface.d.ts +8 -0
  35. package/dist/src/shared/content-splitter/typings/split-strategy.interface.d.ts +3 -0
  36. package/dist/src/shared/content-splitter/typings/toml-draft.interface.d.ts +15 -0
  37. package/dist/src/shared/mcp/functions/build-learn-payload.function.d.ts +24 -0
  38. package/dist/src/shared/mcp/functions/determine-learn-split.function.d.ts +18 -0
  39. package/dist/src/shared/mcp/functions/handle-tool-learn.function.d.ts +3 -1
  40. package/dist/src/shared/mcp/functions/learn-with-splitting.function.d.ts +22 -0
  41. package/dist/src/shared/mcp/functions/parse-learn-args.function.d.ts +24 -0
  42. package/dist/src/shared/mcp/functions/store-split-learn-sections.function.d.ts +16 -0
  43. package/dist/src/shared/mcp/functions/unwrap-json-content.function.d.ts +9 -0
  44. package/dist/src/shared/mcp/typings/learn-section-params.interface.d.ts +20 -0
  45. package/dist/src/shared/mcp/typings/mcp-client.interface.d.ts +4 -0
  46. package/dist/src/shared/mcp/typings/mcp-worker-client.interface.d.ts +4 -0
  47. package/dist/src/shared/version/constants/version.constant.d.ts +1 -1
  48. package/dist/src/shared/wasm-codec/functions/decode-one-recall-result.function.d.ts +2 -1
  49. package/dist/src/shared/wasm-codec/functions/decode-recall-document.function.d.ts +2 -1
  50. package/dist/src/shared/wasm-codec/functions/decode-recall-result.function.d.ts +2 -0
  51. package/dist/src/shared/wasm-codec/functions/decode-recall-sibling.function.d.ts +2 -1
  52. package/dist/src/shared/wasm-codec/functions/decode-scored-results.function.d.ts +6 -0
  53. package/dist/src/shared/wasm-codec/functions/decode-section-match.function.d.ts +2 -1
  54. package/dist/src/shared/wasm-codec/functions/decode-section-records.function.d.ts +4 -0
  55. package/dist/src/shared/wasm-codec/functions/encode-add-section-params.function.d.ts +1 -0
  56. package/dist/src/shared/wasm-codec/typings/add-section-input.model.d.ts +2 -0
  57. package/dist/src/shared/wasm-codec/typings/section-match.model.d.ts +4 -0
  58. package/dist/src/shared/wasm-codec/typings/section-record-trailing.model.d.ts +2 -0
  59. package/dist/src/shared/wasm-codec/typings/section-record.model.d.ts +2 -0
  60. package/dist/src/shared/worker-client/typings/recall-result.model.d.ts +12 -0
  61. package/dist/src/shared/worker-client/typings/search-result.model.d.ts +4 -0
  62. package/dist/src/shared/worker-client/typings/section.model.d.ts +2 -0
  63. package/dist/wasm/fs-database/kbdb_fs_database_bg.wasm +0 -0
  64. package/dist/wasm/kb-worker/kbdb_worker_bg.wasm +0 -0
  65. package/dist/worker.mjs +49 -7
  66. package/dist/worker.mjs.map +4 -4
  67. package/package.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dikolab/kbdb",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "CLI tool and MCP server for a file-based knowledge base database -- index documents, search with ranked results, and recall context for AI agents",
5
5
  "publishConfig": {
6
6
  "access": "public"