@northtek/overstory 0.1.0

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 (71) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +115 -0
  3. package/dist/build/aggregate.d.ts +9 -0
  4. package/dist/build/aggregate.js +74 -0
  5. package/dist/build/builder.d.ts +52 -0
  6. package/dist/build/builder.js +223 -0
  7. package/dist/build/inmemory.d.ts +16 -0
  8. package/dist/build/inmemory.js +79 -0
  9. package/dist/build/pool.d.ts +3 -0
  10. package/dist/build/pool.js +16 -0
  11. package/dist/build/reflexion.d.ts +15 -0
  12. package/dist/build/reflexion.js +116 -0
  13. package/dist/build/summarize.d.ts +25 -0
  14. package/dist/build/summarize.js +146 -0
  15. package/dist/cli/index.d.ts +2 -0
  16. package/dist/cli/index.js +323 -0
  17. package/dist/core/bm25.d.ts +19 -0
  18. package/dist/core/bm25.js +48 -0
  19. package/dist/core/chunk.d.ts +5 -0
  20. package/dist/core/chunk.js +91 -0
  21. package/dist/core/corpus.d.ts +21 -0
  22. package/dist/core/corpus.js +112 -0
  23. package/dist/core/gate.d.ts +25 -0
  24. package/dist/core/gate.js +155 -0
  25. package/dist/core/hash.d.ts +7 -0
  26. package/dist/core/hash.js +15 -0
  27. package/dist/core/store.d.ts +74 -0
  28. package/dist/core/store.js +66 -0
  29. package/dist/core/types.d.ts +96 -0
  30. package/dist/core/types.js +1 -0
  31. package/dist/fix/prompts.d.ts +4 -0
  32. package/dist/fix/prompts.js +124 -0
  33. package/dist/fix/scan.d.ts +18 -0
  34. package/dist/fix/scan.js +197 -0
  35. package/dist/index.d.ts +28 -0
  36. package/dist/index.js +22 -0
  37. package/dist/llm/anthropic.d.ts +11 -0
  38. package/dist/llm/anthropic.js +46 -0
  39. package/dist/llm/mock.d.ts +5 -0
  40. package/dist/llm/mock.js +20 -0
  41. package/dist/llm/ollama.d.ts +11 -0
  42. package/dist/llm/ollama.js +49 -0
  43. package/dist/llm/provider.d.ts +16 -0
  44. package/dist/llm/provider.js +7 -0
  45. package/dist/llm/resolve.d.ts +14 -0
  46. package/dist/llm/resolve.js +24 -0
  47. package/dist/mcp/server.d.ts +7 -0
  48. package/dist/mcp/server.js +136 -0
  49. package/dist/query/ask.d.ts +53 -0
  50. package/dist/query/ask.js +127 -0
  51. package/dist/query/notarize.d.ts +40 -0
  52. package/dist/query/notarize.js +31 -0
  53. package/dist/registry/github.d.ts +28 -0
  54. package/dist/registry/github.js +113 -0
  55. package/dist/registry/publishClient.d.ts +25 -0
  56. package/dist/registry/publishClient.js +39 -0
  57. package/dist/registry/registry.d.ts +35 -0
  58. package/dist/registry/registry.js +57 -0
  59. package/dist/registry/repoTree.d.ts +9 -0
  60. package/dist/registry/repoTree.js +32 -0
  61. package/dist/serve/app.d.ts +4 -0
  62. package/dist/serve/app.js +809 -0
  63. package/dist/serve/server.d.ts +9 -0
  64. package/dist/serve/server.js +180 -0
  65. package/dist/serve/threads.d.ts +31 -0
  66. package/dist/serve/threads.js +69 -0
  67. package/dist/site/data.d.ts +58 -0
  68. package/dist/site/data.js +88 -0
  69. package/dist/site/generate.d.ts +21 -0
  70. package/dist/site/generate.js +827 -0
  71. package/package.json +64 -0
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@northtek/overstory",
3
+ "version": "0.1.0",
4
+ "description": "Turn any repo or docs folder into a living knowledge tree where every claim carries a verifiable receipt. Local-first: your code never leaves your machine.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "bin": {
8
+ "overstory": "./dist/cli/index.js"
9
+ },
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "files": [
13
+ "dist",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
17
+ "scripts": {
18
+ "build": "tsc -p tsconfig.build.json",
19
+ "test": "vitest run",
20
+ "typecheck": "tsc --noEmit",
21
+ "prepack": "npm run build"
22
+ },
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/NORTHTEKDevs/overstory"
29
+ },
30
+ "keywords": [
31
+ "knowledge-tree",
32
+ "provenance",
33
+ "citations",
34
+ "raptor",
35
+ "mcp",
36
+ "documentation",
37
+ "codebase",
38
+ "local-first",
39
+ "verified"
40
+ ],
41
+ "author": "Northtek <info@northtek.io>",
42
+ "engines": {
43
+ "node": ">=20"
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "^26.1.1",
47
+ "typescript": "^7.0.2",
48
+ "vitest": "^4.1.10"
49
+ },
50
+ "dependencies": {
51
+ "@modelcontextprotocol/sdk": "^1.29.0",
52
+ "zod": "^4.4.3"
53
+ },
54
+ "exports": {
55
+ ".": {
56
+ "types": "./dist/index.d.ts",
57
+ "import": "./dist/index.js"
58
+ }
59
+ },
60
+ "homepage": "https://github.com/NORTHTEKDevs/overstory#readme",
61
+ "bugs": {
62
+ "url": "https://github.com/NORTHTEKDevs/overstory/issues"
63
+ }
64
+ }