stellavault 0.2.0 → 0.2.1

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 (390) hide show
  1. package/package.json +1 -1
  2. package/packages/core/dist/api/dashboard.d.ts +3 -0
  3. package/packages/core/{src/api/dashboard.ts → dist/api/dashboard.js} +8 -11
  4. package/packages/core/dist/api/graph-data.d.ts +11 -0
  5. package/packages/core/dist/api/graph-data.js +255 -0
  6. package/packages/core/dist/api/pwa.d.ts +3 -0
  7. package/packages/core/{src/api/pwa.ts → dist/api/pwa.js} +27 -32
  8. package/packages/core/dist/api/server.d.ts +16 -0
  9. package/packages/core/dist/api/server.js +647 -0
  10. package/packages/core/dist/capture/voice.d.ts +24 -0
  11. package/packages/core/dist/capture/voice.js +135 -0
  12. package/packages/core/{src/cloud/index.ts → dist/cloud/index.d.ts} +1 -0
  13. package/packages/core/dist/cloud/index.js +2 -0
  14. package/packages/core/dist/cloud/sync.d.ts +29 -0
  15. package/packages/core/dist/cloud/sync.js +137 -0
  16. package/packages/core/dist/config.d.ts +27 -0
  17. package/packages/core/dist/config.js +55 -0
  18. package/packages/core/dist/federation/credits.d.ts +26 -0
  19. package/packages/core/dist/federation/credits.js +56 -0
  20. package/packages/core/dist/federation/identity.d.ts +14 -0
  21. package/packages/core/dist/federation/identity.js +74 -0
  22. package/packages/core/{src/federation/index.ts → dist/federation/index.d.ts} +1 -2
  23. package/packages/core/dist/federation/index.js +5 -0
  24. package/packages/core/dist/federation/node.d.ts +31 -0
  25. package/packages/core/dist/federation/node.js +216 -0
  26. package/packages/core/dist/federation/privacy.d.ts +8 -0
  27. package/packages/core/dist/federation/privacy.js +40 -0
  28. package/packages/core/dist/federation/reputation.d.ts +37 -0
  29. package/packages/core/dist/federation/reputation.js +139 -0
  30. package/packages/core/dist/federation/search.d.ts +19 -0
  31. package/packages/core/dist/federation/search.js +101 -0
  32. package/packages/core/dist/federation/sharing.d.ts +72 -0
  33. package/packages/core/dist/federation/sharing.js +246 -0
  34. package/packages/core/dist/federation/trust.d.ts +15 -0
  35. package/packages/core/dist/federation/trust.js +60 -0
  36. package/packages/core/dist/federation/types.d.ts +40 -0
  37. package/packages/core/dist/federation/types.js +3 -0
  38. package/packages/core/dist/i18n/index.d.ts +6 -0
  39. package/packages/core/dist/i18n/index.js +81 -0
  40. package/packages/core/{src/index.ts → dist/index.d.ts} +46 -65
  41. package/packages/core/dist/index.js +69 -0
  42. package/packages/core/dist/indexer/chunker.d.ts +14 -0
  43. package/packages/core/dist/indexer/chunker.js +148 -0
  44. package/packages/core/dist/indexer/embedder.d.ts +8 -0
  45. package/packages/core/dist/indexer/embedder.js +3 -0
  46. package/packages/core/dist/indexer/index.d.ts +28 -0
  47. package/packages/core/dist/indexer/index.js +74 -0
  48. package/packages/core/dist/indexer/local-embedder.d.ts +3 -0
  49. package/packages/core/dist/indexer/local-embedder.js +29 -0
  50. package/packages/core/dist/indexer/scanner.d.ts +11 -0
  51. package/packages/core/dist/indexer/scanner.js +137 -0
  52. package/packages/core/dist/indexer/watcher.d.ts +19 -0
  53. package/packages/core/dist/indexer/watcher.js +49 -0
  54. package/packages/core/dist/intelligence/contradiction-detector.d.ts +20 -0
  55. package/packages/core/dist/intelligence/contradiction-detector.js +115 -0
  56. package/packages/core/dist/intelligence/decay-engine.d.ts +27 -0
  57. package/packages/core/dist/intelligence/decay-engine.js +190 -0
  58. package/packages/core/dist/intelligence/duplicate-detector.d.ts +20 -0
  59. package/packages/core/dist/intelligence/duplicate-detector.js +55 -0
  60. package/packages/core/dist/intelligence/fsrs.d.ts +43 -0
  61. package/packages/core/dist/intelligence/fsrs.js +70 -0
  62. package/packages/core/dist/intelligence/gap-detector.d.ts +25 -0
  63. package/packages/core/dist/intelligence/gap-detector.js +78 -0
  64. package/packages/core/dist/intelligence/learning-path.d.ts +31 -0
  65. package/packages/core/dist/intelligence/learning-path.js +53 -0
  66. package/packages/core/dist/intelligence/notifications.d.ts +31 -0
  67. package/packages/core/dist/intelligence/notifications.js +65 -0
  68. package/packages/core/dist/intelligence/predictive-gaps.d.ts +14 -0
  69. package/packages/core/dist/intelligence/predictive-gaps.js +74 -0
  70. package/packages/core/dist/intelligence/semantic-versioning.d.ts +37 -0
  71. package/packages/core/dist/intelligence/semantic-versioning.js +68 -0
  72. package/packages/core/dist/intelligence/types.d.ts +28 -0
  73. package/packages/core/dist/intelligence/types.js +3 -0
  74. package/packages/core/dist/mcp/custom-tools.d.ts +29 -0
  75. package/packages/core/dist/mcp/custom-tools.js +70 -0
  76. package/packages/core/{src/mcp/index.ts → dist/mcp/index.d.ts} +1 -0
  77. package/packages/core/dist/mcp/index.js +2 -0
  78. package/packages/core/dist/mcp/server.d.ts +49 -0
  79. package/packages/core/dist/mcp/server.js +133 -0
  80. package/packages/core/dist/mcp/tools/agentic-graph.d.ts +87 -0
  81. package/packages/core/dist/mcp/tools/agentic-graph.js +88 -0
  82. package/packages/core/dist/mcp/tools/brief.d.ts +31 -0
  83. package/packages/core/dist/mcp/tools/brief.js +39 -0
  84. package/packages/core/dist/mcp/tools/decay.d.ts +33 -0
  85. package/packages/core/dist/mcp/tools/decay.js +32 -0
  86. package/packages/core/dist/mcp/tools/decision-journal.d.ts +78 -0
  87. package/packages/core/dist/mcp/tools/decision-journal.js +79 -0
  88. package/packages/core/dist/mcp/tools/export.d.ts +29 -0
  89. package/packages/core/dist/mcp/tools/export.js +60 -0
  90. package/packages/core/dist/mcp/tools/federated-search.d.ts +29 -0
  91. package/packages/core/dist/mcp/tools/federated-search.js +36 -0
  92. package/packages/core/dist/mcp/tools/generate-claude-md.d.ts +35 -0
  93. package/packages/core/dist/mcp/tools/generate-claude-md.js +107 -0
  94. package/packages/core/dist/mcp/tools/get-document.d.ts +35 -0
  95. package/packages/core/dist/mcp/tools/get-document.js +25 -0
  96. package/packages/core/dist/mcp/tools/get-related.d.ts +32 -0
  97. package/packages/core/dist/mcp/tools/get-related.js +33 -0
  98. package/packages/core/dist/mcp/tools/learning-path.d.ts +23 -0
  99. package/packages/core/dist/mcp/tools/learning-path.js +45 -0
  100. package/packages/core/dist/mcp/tools/list-topics.d.ts +15 -0
  101. package/packages/core/dist/mcp/tools/list-topics.js +18 -0
  102. package/packages/core/dist/mcp/tools/search.d.ts +39 -0
  103. package/packages/core/dist/mcp/tools/search.js +29 -0
  104. package/packages/core/dist/mcp/tools/snapshot.d.ts +47 -0
  105. package/packages/core/dist/mcp/tools/snapshot.js +84 -0
  106. package/packages/core/dist/multi-vault/index.d.ts +26 -0
  107. package/packages/core/dist/multi-vault/index.js +80 -0
  108. package/packages/core/dist/pack/creator.d.ts +21 -0
  109. package/packages/core/dist/pack/creator.js +105 -0
  110. package/packages/core/dist/pack/exporter.d.ts +4 -0
  111. package/packages/core/dist/pack/exporter.js +18 -0
  112. package/packages/core/dist/pack/importer.d.ts +10 -0
  113. package/packages/core/dist/pack/importer.js +55 -0
  114. package/packages/core/{src/pack/index.ts → dist/pack/index.d.ts} +1 -0
  115. package/packages/core/dist/pack/index.js +5 -0
  116. package/packages/core/dist/pack/marketplace.d.ts +14 -0
  117. package/packages/core/dist/pack/marketplace.js +90 -0
  118. package/packages/core/dist/pack/pii-masker.d.ts +7 -0
  119. package/packages/core/dist/pack/pii-masker.js +29 -0
  120. package/packages/core/dist/pack/types.d.ts +36 -0
  121. package/packages/core/dist/pack/types.js +3 -0
  122. package/packages/core/dist/plugins/index.d.ts +35 -0
  123. package/packages/core/dist/plugins/index.js +57 -0
  124. package/packages/core/dist/plugins/webhooks.d.ts +30 -0
  125. package/packages/core/dist/plugins/webhooks.js +79 -0
  126. package/packages/core/dist/search/bm25.d.ts +4 -0
  127. package/packages/core/dist/search/bm25.js +10 -0
  128. package/packages/core/dist/search/index.d.ts +13 -0
  129. package/packages/core/dist/search/index.js +63 -0
  130. package/packages/core/dist/search/rrf.d.ts +7 -0
  131. package/packages/core/dist/search/rrf.js +21 -0
  132. package/packages/core/dist/search/semantic.d.ts +5 -0
  133. package/packages/core/dist/search/semantic.js +6 -0
  134. package/packages/core/{src/store/index.ts → dist/store/index.d.ts} +1 -0
  135. package/packages/core/dist/store/index.js +2 -0
  136. package/packages/core/dist/store/sqlite-vec.d.ts +6 -0
  137. package/packages/core/dist/store/sqlite-vec.js +251 -0
  138. package/packages/core/dist/store/types.d.ts +20 -0
  139. package/packages/core/dist/store/types.js +3 -0
  140. package/packages/core/dist/team/index.d.ts +25 -0
  141. package/packages/core/dist/team/index.js +97 -0
  142. package/packages/core/dist/types/chunk.d.ts +23 -0
  143. package/packages/core/dist/types/chunk.js +3 -0
  144. package/packages/core/dist/types/document.d.ts +23 -0
  145. package/packages/core/dist/types/document.js +3 -0
  146. package/packages/core/dist/types/graph.d.ts +39 -0
  147. package/packages/core/dist/types/graph.js +3 -0
  148. package/packages/core/dist/types/index.d.ts +5 -0
  149. package/packages/core/dist/types/index.js +2 -0
  150. package/packages/core/dist/types/search.d.ts +39 -0
  151. package/packages/core/dist/types/search.js +3 -0
  152. package/packages/core/dist/utils/retry.d.ts +25 -0
  153. package/packages/core/dist/utils/retry.js +59 -0
  154. package/.github/workflows/pages.yml +0 -37
  155. package/memory/MEMORY.md +0 -25
  156. package/packages/cli/dist/commands/brief-cmd.d.ts.map +0 -1
  157. package/packages/cli/dist/commands/brief-cmd.js.map +0 -1
  158. package/packages/cli/dist/commands/capture-cmd.d.ts.map +0 -1
  159. package/packages/cli/dist/commands/capture-cmd.js.map +0 -1
  160. package/packages/cli/dist/commands/card-cmd.d.ts.map +0 -1
  161. package/packages/cli/dist/commands/card-cmd.js.map +0 -1
  162. package/packages/cli/dist/commands/clip-cmd.d.ts.map +0 -1
  163. package/packages/cli/dist/commands/clip-cmd.js.map +0 -1
  164. package/packages/cli/dist/commands/cloud-cmd.d.ts.map +0 -1
  165. package/packages/cli/dist/commands/cloud-cmd.js.map +0 -1
  166. package/packages/cli/dist/commands/contradictions-cmd.d.ts.map +0 -1
  167. package/packages/cli/dist/commands/contradictions-cmd.js.map +0 -1
  168. package/packages/cli/dist/commands/decay-cmd.d.ts.map +0 -1
  169. package/packages/cli/dist/commands/decay-cmd.js.map +0 -1
  170. package/packages/cli/dist/commands/digest-cmd.d.ts.map +0 -1
  171. package/packages/cli/dist/commands/digest-cmd.js.map +0 -1
  172. package/packages/cli/dist/commands/duplicates-cmd.d.ts.map +0 -1
  173. package/packages/cli/dist/commands/duplicates-cmd.js.map +0 -1
  174. package/packages/cli/dist/commands/federate-cmd.d.ts.map +0 -1
  175. package/packages/cli/dist/commands/federate-cmd.js.map +0 -1
  176. package/packages/cli/dist/commands/gaps-cmd.d.ts.map +0 -1
  177. package/packages/cli/dist/commands/gaps-cmd.js.map +0 -1
  178. package/packages/cli/dist/commands/graph-cmd.d.ts.map +0 -1
  179. package/packages/cli/dist/commands/graph-cmd.js.map +0 -1
  180. package/packages/cli/dist/commands/index-cmd.d.ts.map +0 -1
  181. package/packages/cli/dist/commands/index-cmd.js.map +0 -1
  182. package/packages/cli/dist/commands/init-cmd.d.ts.map +0 -1
  183. package/packages/cli/dist/commands/init-cmd.js.map +0 -1
  184. package/packages/cli/dist/commands/learn-cmd.d.ts.map +0 -1
  185. package/packages/cli/dist/commands/learn-cmd.js.map +0 -1
  186. package/packages/cli/dist/commands/pack-cmd.d.ts.map +0 -1
  187. package/packages/cli/dist/commands/pack-cmd.js.map +0 -1
  188. package/packages/cli/dist/commands/review-cmd.d.ts.map +0 -1
  189. package/packages/cli/dist/commands/review-cmd.js.map +0 -1
  190. package/packages/cli/dist/commands/search-cmd.d.ts.map +0 -1
  191. package/packages/cli/dist/commands/search-cmd.js.map +0 -1
  192. package/packages/cli/dist/commands/serve-cmd.d.ts.map +0 -1
  193. package/packages/cli/dist/commands/serve-cmd.js.map +0 -1
  194. package/packages/cli/dist/commands/status-cmd.d.ts.map +0 -1
  195. package/packages/cli/dist/commands/status-cmd.js.map +0 -1
  196. package/packages/cli/dist/commands/sync-cmd.d.ts.map +0 -1
  197. package/packages/cli/dist/commands/sync-cmd.js.map +0 -1
  198. package/packages/cli/dist/commands/vault-cmd.d.ts.map +0 -1
  199. package/packages/cli/dist/commands/vault-cmd.js.map +0 -1
  200. package/packages/cli/dist/index.d.ts.map +0 -1
  201. package/packages/cli/dist/index.js.map +0 -1
  202. package/packages/cli/src/commands/brief-cmd.ts +0 -87
  203. package/packages/cli/src/commands/capture-cmd.ts +0 -34
  204. package/packages/cli/src/commands/card-cmd.ts +0 -29
  205. package/packages/cli/src/commands/clip-cmd.ts +0 -172
  206. package/packages/cli/src/commands/cloud-cmd.ts +0 -75
  207. package/packages/cli/src/commands/contradictions-cmd.ts +0 -41
  208. package/packages/cli/src/commands/decay-cmd.ts +0 -57
  209. package/packages/cli/src/commands/digest-cmd.ts +0 -89
  210. package/packages/cli/src/commands/duplicates-cmd.ts +0 -38
  211. package/packages/cli/src/commands/federate-cmd.ts +0 -256
  212. package/packages/cli/src/commands/gaps-cmd.ts +0 -40
  213. package/packages/cli/src/commands/graph-cmd.ts +0 -88
  214. package/packages/cli/src/commands/index-cmd.ts +0 -65
  215. package/packages/cli/src/commands/init-cmd.ts +0 -145
  216. package/packages/cli/src/commands/learn-cmd.ts +0 -56
  217. package/packages/cli/src/commands/pack-cmd.ts +0 -121
  218. package/packages/cli/src/commands/review-cmd.ts +0 -125
  219. package/packages/cli/src/commands/search-cmd.ts +0 -45
  220. package/packages/cli/src/commands/serve-cmd.ts +0 -17
  221. package/packages/cli/src/commands/status-cmd.ts +0 -37
  222. package/packages/cli/src/commands/sync-cmd.ts +0 -68
  223. package/packages/cli/src/commands/vault-cmd.ts +0 -64
  224. package/packages/cli/src/index.ts +0 -187
  225. package/packages/core/src/api/graph-data.ts +0 -286
  226. package/packages/core/src/api/server.ts +0 -660
  227. package/packages/core/src/capture/voice.ts +0 -168
  228. package/packages/core/src/cloud/sync.ts +0 -167
  229. package/packages/core/src/config.ts +0 -82
  230. package/packages/core/src/federation/credits.ts +0 -80
  231. package/packages/core/src/federation/hyperswarm.d.ts +0 -19
  232. package/packages/core/src/federation/identity.ts +0 -90
  233. package/packages/core/src/federation/node.ts +0 -235
  234. package/packages/core/src/federation/privacy.ts +0 -52
  235. package/packages/core/src/federation/reputation.ts +0 -202
  236. package/packages/core/src/federation/search.ts +0 -129
  237. package/packages/core/src/federation/sharing.ts +0 -315
  238. package/packages/core/src/federation/trust.ts +0 -76
  239. package/packages/core/src/federation/types.ts +0 -25
  240. package/packages/core/src/i18n/index.ts +0 -85
  241. package/packages/core/src/indexer/chunker.ts +0 -180
  242. package/packages/core/src/indexer/embedder.ts +0 -9
  243. package/packages/core/src/indexer/index.ts +0 -113
  244. package/packages/core/src/indexer/local-embedder.ts +0 -35
  245. package/packages/core/src/indexer/scanner.ts +0 -142
  246. package/packages/core/src/indexer/watcher.ts +0 -62
  247. package/packages/core/src/intelligence/contradiction-detector.ts +0 -134
  248. package/packages/core/src/intelligence/decay-engine.ts +0 -229
  249. package/packages/core/src/intelligence/duplicate-detector.ts +0 -71
  250. package/packages/core/src/intelligence/fsrs.ts +0 -79
  251. package/packages/core/src/intelligence/gap-detector.ts +0 -109
  252. package/packages/core/src/intelligence/learning-path.ts +0 -86
  253. package/packages/core/src/intelligence/notifications.ts +0 -106
  254. package/packages/core/src/intelligence/predictive-gaps.ts +0 -94
  255. package/packages/core/src/intelligence/semantic-versioning.ts +0 -97
  256. package/packages/core/src/intelligence/types.ts +0 -28
  257. package/packages/core/src/mcp/custom-tools.ts +0 -97
  258. package/packages/core/src/mcp/server.ts +0 -142
  259. package/packages/core/src/mcp/tools/agentic-graph.ts +0 -96
  260. package/packages/core/src/mcp/tools/brief.ts +0 -49
  261. package/packages/core/src/mcp/tools/decay.ts +0 -40
  262. package/packages/core/src/mcp/tools/decision-journal.ts +0 -95
  263. package/packages/core/src/mcp/tools/export.ts +0 -72
  264. package/packages/core/src/mcp/tools/federated-search.ts +0 -43
  265. package/packages/core/src/mcp/tools/generate-claude-md.ts +0 -130
  266. package/packages/core/src/mcp/tools/get-document.ts +0 -26
  267. package/packages/core/src/mcp/tools/get-related.ts +0 -41
  268. package/packages/core/src/mcp/tools/learning-path.ts +0 -52
  269. package/packages/core/src/mcp/tools/list-topics.ts +0 -20
  270. package/packages/core/src/mcp/tools/search.ts +0 -35
  271. package/packages/core/src/mcp/tools/snapshot.ts +0 -98
  272. package/packages/core/src/multi-vault/index.ts +0 -118
  273. package/packages/core/src/pack/creator.ts +0 -127
  274. package/packages/core/src/pack/exporter.ts +0 -21
  275. package/packages/core/src/pack/importer.ts +0 -82
  276. package/packages/core/src/pack/marketplace.ts +0 -103
  277. package/packages/core/src/pack/pii-masker.ts +0 -38
  278. package/packages/core/src/pack/types.ts +0 -39
  279. package/packages/core/src/plugins/index.ts +0 -100
  280. package/packages/core/src/plugins/webhooks.ts +0 -110
  281. package/packages/core/src/search/bm25.ts +0 -16
  282. package/packages/core/src/search/index.ts +0 -83
  283. package/packages/core/src/search/rrf.ts +0 -31
  284. package/packages/core/src/search/semantic.ts +0 -15
  285. package/packages/core/src/store/sqlite-vec.ts +0 -290
  286. package/packages/core/src/store/types.ts +0 -22
  287. package/packages/core/src/team/index.ts +0 -126
  288. package/packages/core/src/types/chunk.ts +0 -25
  289. package/packages/core/src/types/document.ts +0 -24
  290. package/packages/core/src/types/graph.ts +0 -44
  291. package/packages/core/src/types/index.ts +0 -15
  292. package/packages/core/src/types/search.ts +0 -38
  293. package/packages/core/src/utils/retry.ts +0 -85
  294. package/packages/core/tests/api-card.test.ts +0 -60
  295. package/packages/core/tests/api-routes.test.ts +0 -98
  296. package/packages/core/tests/bm25.test.ts +0 -87
  297. package/packages/core/tests/chunker.test.ts +0 -48
  298. package/packages/core/tests/cluster.test.ts +0 -75
  299. package/packages/core/tests/constellation.test.ts +0 -77
  300. package/packages/core/tests/export-utils.test.ts +0 -97
  301. package/packages/core/tests/fsrs.test.ts +0 -96
  302. package/packages/core/tests/gesture-detector.test.ts +0 -45
  303. package/packages/core/tests/graph-data.test.ts +0 -87
  304. package/packages/core/tests/layout.test.ts +0 -83
  305. package/packages/core/tests/mcp.test.ts +0 -148
  306. package/packages/core/tests/pack.test.ts +0 -127
  307. package/packages/core/tests/pii-masker.test.ts +0 -42
  308. package/packages/core/tests/profile-card.test.ts +0 -62
  309. package/packages/core/tests/rrf.test.ts +0 -29
  310. package/packages/core/tests/search-integration.test.ts +0 -139
  311. package/packages/core/tests/store.test.ts +0 -80
  312. package/packages/graph/click-result.png +0 -0
  313. package/packages/graph/dist/assets/camera_utils-BMxqtvoZ.js +0 -1
  314. package/packages/graph/dist/assets/hands-DXA01_mx.js +0 -18
  315. package/packages/graph/dist/assets/index-DMEe2diW.js +0 -4192
  316. package/packages/graph/dist/assets/layout.worker-DbKCEFTz.js +0 -1
  317. package/packages/graph/dist/index.html +0 -17
  318. package/packages/graph/index.html +0 -17
  319. package/packages/graph/package.json +0 -32
  320. package/packages/graph/src/App.tsx +0 -7
  321. package/packages/graph/src/api/client.ts +0 -39
  322. package/packages/graph/src/components/ClusterFilter.tsx +0 -73
  323. package/packages/graph/src/components/ConstellationView.tsx +0 -232
  324. package/packages/graph/src/components/ExportPanel.tsx +0 -177
  325. package/packages/graph/src/components/Graph3D.tsx +0 -230
  326. package/packages/graph/src/components/GraphEdges.tsx +0 -100
  327. package/packages/graph/src/components/GraphNodes.tsx +0 -386
  328. package/packages/graph/src/components/HealthDashboard.tsx +0 -173
  329. package/packages/graph/src/components/Layout.tsx +0 -214
  330. package/packages/graph/src/components/MotionOverlay.tsx +0 -81
  331. package/packages/graph/src/components/MotionToggle.tsx +0 -33
  332. package/packages/graph/src/components/MultiverseView.tsx +0 -286
  333. package/packages/graph/src/components/NodeDetail.tsx +0 -232
  334. package/packages/graph/src/components/PulseParticle.tsx +0 -232
  335. package/packages/graph/src/components/SearchBar.tsx +0 -107
  336. package/packages/graph/src/components/StarField.tsx +0 -197
  337. package/packages/graph/src/components/StatusBar.tsx +0 -53
  338. package/packages/graph/src/components/Timeline.tsx +0 -148
  339. package/packages/graph/src/components/ToolsPanel.tsx +0 -512
  340. package/packages/graph/src/components/Tooltip.tsx +0 -100
  341. package/packages/graph/src/components/TypeFilter.tsx +0 -131
  342. package/packages/graph/src/embed/EmbedGraph.tsx +0 -144
  343. package/packages/graph/src/hooks/useConstellationLOD.ts +0 -76
  344. package/packages/graph/src/hooks/useDecay.ts +0 -37
  345. package/packages/graph/src/hooks/useExport.ts +0 -165
  346. package/packages/graph/src/hooks/useGraph.ts +0 -69
  347. package/packages/graph/src/hooks/useKeyboardNav.ts +0 -122
  348. package/packages/graph/src/hooks/useLayout.ts +0 -45
  349. package/packages/graph/src/hooks/useMotion.ts +0 -120
  350. package/packages/graph/src/hooks/usePulse.ts +0 -58
  351. package/packages/graph/src/hooks/useSearch.ts +0 -71
  352. package/packages/graph/src/lib/constellation.ts +0 -107
  353. package/packages/graph/src/lib/export-utils.ts +0 -48
  354. package/packages/graph/src/lib/gesture-detector.ts +0 -123
  355. package/packages/graph/src/lib/layout.worker.ts +0 -153
  356. package/packages/graph/src/lib/motion-controller.ts +0 -83
  357. package/packages/graph/src/lib/profile-card.ts +0 -122
  358. package/packages/graph/src/main.tsx +0 -4
  359. package/packages/graph/src/stores/graph-store.ts +0 -155
  360. package/packages/graph/success.png +0 -0
  361. package/packages/graph/test-click.mjs +0 -49
  362. package/packages/graph/test-explore.mjs +0 -102
  363. package/packages/graph/test-final.mjs +0 -61
  364. package/packages/graph/test-graph.mjs +0 -139
  365. package/packages/graph/test-hover.mjs +0 -48
  366. package/packages/graph/test-pulse.mjs +0 -68
  367. package/packages/graph/test-screenshot.mjs +0 -56
  368. package/packages/graph/test-v2.mjs +0 -97
  369. package/packages/graph/tsconfig.tsbuildinfo +0 -1
  370. package/packages/graph/vite.config.ts +0 -15
  371. package/packages/sync/.env.example +0 -11
  372. package/packages/sync/.sync-state.json +0 -317
  373. package/packages/sync/.upload-state.json +0 -1009
  374. package/packages/sync/create-stella-network-notion.mjs +0 -151
  375. package/packages/sync/create-stellavault-project-notion.mjs +0 -322
  376. package/packages/sync/logs/sync-2026-03-28.log +0 -6
  377. package/packages/sync/logs/sync-2026-03-29.log +0 -12
  378. package/packages/sync/logs/sync-2026-03-30.log +0 -6
  379. package/packages/sync/logs/sync-2026-03-31.log +0 -6
  380. package/packages/sync/logs/sync-2026-04-01.log +0 -6
  381. package/packages/sync/logs/sync-2026-04-02.log +0 -6
  382. package/packages/sync/package-lock.json +0 -373
  383. package/packages/sync/package.json +0 -16
  384. package/packages/sync/run-sync.bat +0 -18
  385. package/packages/sync/run-sync.mjs +0 -46
  386. package/packages/sync/setup-scheduler.mjs +0 -119
  387. package/packages/sync/structured-sync.mjs +0 -187
  388. package/packages/sync/sync-to-obsidian.mjs +0 -264
  389. package/packages/sync/upload-pdca-to-notion.mjs +0 -495
  390. package/tsconfig.base.json +0 -18
@@ -1,197 +0,0 @@
1
- // 우주 배경: 다층 별 + 성운 효과 + 은하수
2
-
3
- import { useMemo, useRef } from 'react';
4
- import { useFrame } from '@react-three/fiber';
5
- import * as THREE from 'three';
6
- import { useGraphStore } from '../stores/graph-store.js';
7
-
8
- // 원형 별 텍스처
9
- function createStarTexture(): THREE.Texture {
10
- const size = 64;
11
- const canvas = document.createElement('canvas');
12
- canvas.width = size;
13
- canvas.height = size;
14
- const ctx = canvas.getContext('2d')!;
15
- const gradient = ctx.createRadialGradient(size / 2, size / 2, 0, size / 2, size / 2, size / 2);
16
- gradient.addColorStop(0, 'rgba(255,255,255,1)');
17
- gradient.addColorStop(0.15, 'rgba(255,255,255,0.8)');
18
- gradient.addColorStop(0.4, 'rgba(200,220,255,0.2)');
19
- gradient.addColorStop(1, 'rgba(200,220,255,0)');
20
- ctx.fillStyle = gradient;
21
- ctx.fillRect(0, 0, size, size);
22
- const tex = new THREE.CanvasTexture(canvas);
23
- tex.needsUpdate = true;
24
- return tex;
25
- }
26
-
27
- // 성운 텍스처 (부드러운 구름)
28
- function createNebulaTexture(r: number, g: number, b: number): THREE.Texture {
29
- const size = 128;
30
- const canvas = document.createElement('canvas');
31
- canvas.width = size;
32
- canvas.height = size;
33
- const ctx = canvas.getContext('2d')!;
34
- const gradient = ctx.createRadialGradient(size / 2, size / 2, 0, size / 2, size / 2, size / 2);
35
- gradient.addColorStop(0, `rgba(${r},${g},${b},0.7)`);
36
- gradient.addColorStop(0.3, `rgba(${r},${g},${b},0.35)`);
37
- gradient.addColorStop(0.6, `rgba(${r},${g},${b},0.12)`);
38
- gradient.addColorStop(1, `rgba(${r},${g},${b},0)`);
39
- ctx.fillStyle = gradient;
40
- ctx.fillRect(0, 0, size, size);
41
- const tex = new THREE.CanvasTexture(canvas);
42
- tex.needsUpdate = true;
43
- return tex;
44
- }
45
-
46
- const starTexture = createStarTexture();
47
-
48
- // 성운 컬러 프리셋
49
- const NEBULA_PRESETS = [
50
- { r: 100, g: 60, b: 200 }, // 보라
51
- { r: 30, g: 80, b: 220 }, // 딥블루
52
- { r: 180, g: 50, b: 120 }, // 핑크
53
- { r: 40, g: 120, b: 200 }, // 시안
54
- { r: 130, g: 40, b: 180 }, // 인디고
55
- { r: 60, g: 100, b: 180 }, // 스틸블루
56
- ];
57
-
58
- const nebulaTextures = NEBULA_PRESETS.map(c => createNebulaTexture(c.r, c.g, c.b));
59
-
60
- // --- 별 레이어 ---
61
- function Stars({ count, minR, maxR, size, opacity, speed }: {
62
- count: number; minR: number; maxR: number; size: number; opacity: number; speed: number;
63
- }) {
64
- const ref = useRef<THREE.Points>(null);
65
-
66
- const { positions, colors } = useMemo(() => {
67
- const pos = new Float32Array(count * 3);
68
- const col = new Float32Array(count * 3);
69
- for (let i = 0; i < count; i++) {
70
- const r = minR + Math.random() * (maxR - minR);
71
- const theta = Math.acos(2 * Math.random() - 1);
72
- const phi = Math.random() * 2 * Math.PI;
73
- pos[i * 3] = r * Math.sin(theta) * Math.cos(phi);
74
- pos[i * 3 + 1] = r * Math.cos(theta);
75
- pos[i * 3 + 2] = r * Math.sin(theta) * Math.sin(phi);
76
-
77
- // 별 색상 다양화 (화이트~블루~옐로우)
78
- const temp = Math.random();
79
- if (temp < 0.6) {
80
- // 화이트~블루
81
- col[i * 3] = 0.8 + Math.random() * 0.2;
82
- col[i * 3 + 1] = 0.85 + Math.random() * 0.15;
83
- col[i * 3 + 2] = 0.95 + Math.random() * 0.05;
84
- } else if (temp < 0.8) {
85
- // 옐로우
86
- col[i * 3] = 1;
87
- col[i * 3 + 1] = 0.9 + Math.random() * 0.1;
88
- col[i * 3 + 2] = 0.6 + Math.random() * 0.2;
89
- } else {
90
- // 블루
91
- col[i * 3] = 0.5 + Math.random() * 0.3;
92
- col[i * 3 + 1] = 0.6 + Math.random() * 0.3;
93
- col[i * 3 + 2] = 1;
94
- }
95
- }
96
- return { positions: pos, colors: col };
97
- }, [count, minR, maxR]);
98
-
99
- useFrame(({ clock }) => {
100
- if (ref.current) {
101
- ref.current.rotation.y = clock.getElapsedTime() * speed;
102
- }
103
- });
104
-
105
- return (
106
- <points ref={ref}>
107
- <bufferGeometry>
108
- <bufferAttribute attach="attributes-position" args={[positions, 3]} />
109
- <bufferAttribute attach="attributes-color" args={[colors, 3]} />
110
- </bufferGeometry>
111
- <pointsMaterial
112
- vertexColors
113
- transparent
114
- opacity={opacity}
115
- depthWrite={false}
116
- blending={THREE.AdditiveBlending}
117
- sizeAttenuation
118
- size={size}
119
- map={starTexture}
120
- />
121
- </points>
122
- );
123
- }
124
-
125
- // --- 성운 레이어 ---
126
- function Nebulae() {
127
- const ref = useRef<THREE.Group>(null);
128
-
129
- const clouds = useMemo(() => {
130
- const items: Array<{
131
- pos: [number, number, number];
132
- scale: number;
133
- texIdx: number;
134
- opacity: number;
135
- }> = [];
136
-
137
- // 뇌 주변 + 배경에 성운 구름 대량 배치
138
- for (let i = 0; i < 25; i++) {
139
- const theta = Math.acos(2 * Math.random() - 1);
140
- const phi = Math.random() * 2 * Math.PI;
141
- const r = 300 + Math.random() * 900;
142
- items.push({
143
- pos: [
144
- r * Math.sin(theta) * Math.cos(phi),
145
- r * Math.cos(theta),
146
- r * Math.sin(theta) * Math.sin(phi),
147
- ],
148
- scale: 300 + Math.random() * 600,
149
- texIdx: Math.floor(Math.random() * nebulaTextures.length),
150
- opacity: 0.06 + Math.random() * 0.12,
151
- });
152
- }
153
- return items;
154
- }, []);
155
-
156
- useFrame(({ clock }) => {
157
- if (ref.current) {
158
- ref.current.rotation.y = clock.getElapsedTime() * 0.002;
159
- }
160
- });
161
-
162
- return (
163
- <group ref={ref}>
164
- {clouds.map((cloud, i) => (
165
- <sprite key={i} position={cloud.pos} scale={[cloud.scale, cloud.scale, 1]}>
166
- <spriteMaterial
167
- map={nebulaTextures[cloud.texIdx]}
168
- transparent
169
- opacity={cloud.opacity}
170
- depthWrite={false}
171
- blending={THREE.AdditiveBlending}
172
- />
173
- </sprite>
174
- ))}
175
- </group>
176
- );
177
- }
178
-
179
- // --- 메인 ---
180
- export function StarField() {
181
- // Light mode에서는 별/성운 숨김 — 밝은 배경에 부적합
182
- const theme = useGraphStore((s) => s.theme);
183
- if (theme === 'light') return null;
184
-
185
- return (
186
- <group>
187
- {/* 원경 별 (작고 많음) */}
188
- <Stars count={3000} minR={1200} maxR={2500} size={1.2} opacity={0.5} speed={0.003} />
189
- {/* 중경 별 (중간) */}
190
- <Stars count={800} minR={800} maxR={1400} size={2} opacity={0.6} speed={0.005} />
191
- {/* 근경 밝은 별 (크고 적음) */}
192
- <Stars count={150} minR={600} maxR={1000} size={3.5} opacity={0.8} speed={0.007} />
193
- {/* 성운 */}
194
- <Nebulae />
195
- </group>
196
- );
197
- }
@@ -1,53 +0,0 @@
1
- import { useGraphStore } from '../stores/graph-store.js';
2
- import { ExportPanel } from './ExportPanel.js';
3
-
4
- export function StatusBar() {
5
- const nodes = useGraphStore((s) => s.nodes);
6
- const edges = useGraphStore((s) => s.edges);
7
- const clusters = useGraphStore((s) => s.clusters);
8
- const loading = useGraphStore((s) => s.loading);
9
- const mode = useGraphStore((s) => s.mode);
10
- const lodLevel = useGraphStore((s) => s.lodLevel);
11
- const theme = useGraphStore((s) => s.theme);
12
- const isDark = theme === 'dark';
13
-
14
- return (
15
- <div style={{
16
- padding: '6px 16px',
17
- background: isDark ? 'rgba(10, 10, 20, 0.8)' : 'rgba(240, 242, 248, 0.95)',
18
- borderTop: `1px solid ${isDark ? 'rgba(100, 120, 255, 0.1)' : 'rgba(0, 0, 0, 0.08)'}`,
19
- fontSize: '11px',
20
- color: isDark ? '#667' : '#556',
21
- display: 'flex',
22
- gap: '20px',
23
- alignItems: 'center',
24
- }}>
25
- {loading ? (
26
- <span>Loading...</span>
27
- ) : (
28
- <>
29
- <span>{nodes.length} docs</span>
30
- <span>{edges.length} edges</span>
31
- <span>{clusters.length} clusters</span>
32
- <span style={{ color: '#556' }}>|</span>
33
- <span style={{ color: mode === 'semantic' ? '#88aaff' : '#88cc88' }}>
34
- {mode === 'semantic' ? 'AI Semantic' : 'Obsidian Folders'}
35
- </span>
36
- <span style={{ color: '#556' }}>|</span>
37
- <span style={{ color: lodLevel === 'universe' ? '#c088ff' : lodLevel === 'note' ? '#88ffaa' : '#88aaff' }}>
38
- {lodLevel}
39
- </span>
40
- <span style={{ color: '#445', maxWidth: '40%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
41
- {clusters.map(c => c.label).join(' · ')}
42
- </span>
43
- <div style={{ marginLeft: 'auto', display: 'flex', gap: '8px', alignItems: 'center' }}>
44
- <ExportPanel />
45
- <span style={{ color: '#334', fontSize: '10px' }}>
46
- ESC=reset · /=search
47
- </span>
48
- </div>
49
- </>
50
- )}
51
- </div>
52
- );
53
- }
@@ -1,148 +0,0 @@
1
- // 지식 타임라인 — 시간 축 슬라이더로 노트 생성/수정 이력 필터
2
-
3
- import { useMemo, useCallback } from 'react';
4
- import { useGraphStore } from '../stores/graph-store.js';
5
-
6
- export function Timeline() {
7
- const nodes = useGraphStore((s) => s.nodes);
8
- const showTimeline = useGraphStore((s) => s.showTimeline);
9
- const timelineRange = useGraphStore((s) => s.timelineRange);
10
- const setTimelineRange = useGraphStore((s) => s.setTimelineRange);
11
- const theme = useGraphStore((s) => s.theme);
12
- const isDark = theme === 'dark';
13
-
14
- // 전체 날짜 범위 계산
15
- const { minMs, maxMs, histogram } = useMemo(() => {
16
- const timestamps: number[] = [];
17
- for (const n of nodes) {
18
- if (n.lastModified) {
19
- const ms = new Date(n.lastModified).getTime();
20
- if (!isNaN(ms)) timestamps.push(ms);
21
- }
22
- }
23
- if (timestamps.length === 0) return { minMs: 0, maxMs: 0, histogram: [] as number[] };
24
-
25
- const min = Math.min(...timestamps);
26
- const max = Math.max(...timestamps);
27
- const range = max - min || 1;
28
-
29
- // 50 bin 히스토그램
30
- const bins = 50;
31
- const hist = new Array(bins).fill(0);
32
- for (const ts of timestamps) {
33
- const idx = Math.min(Math.floor(((ts - min) / range) * bins), bins - 1);
34
- hist[idx]++;
35
- }
36
- return { minMs: min, maxMs: max, histogram: hist };
37
- }, [nodes]);
38
-
39
- // 현재 범위 내 노드 수
40
- const activeCount = useMemo(() => {
41
- if (!timelineRange) return nodes.length;
42
- const [start, end] = timelineRange;
43
- return nodes.filter((n) => {
44
- if (!n.lastModified) return true;
45
- const ms = new Date(n.lastModified).getTime();
46
- return ms >= start && ms <= end;
47
- }).length;
48
- }, [nodes, timelineRange]);
49
-
50
- const handleStartChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {
51
- const val = Number(e.target.value);
52
- const end = timelineRange ? timelineRange[1] : maxMs;
53
- setTimelineRange([Math.min(val, end), end]);
54
- }, [timelineRange, maxMs, setTimelineRange]);
55
-
56
- const handleEndChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {
57
- const val = Number(e.target.value);
58
- const start = timelineRange ? timelineRange[0] : minMs;
59
- setTimelineRange([start, Math.max(val, start)]);
60
- }, [timelineRange, minMs, setTimelineRange]);
61
-
62
- const resetRange = useCallback(() => {
63
- setTimelineRange(null);
64
- }, [setTimelineRange]);
65
-
66
- if (!showTimeline || minMs === 0) return null;
67
-
68
- const startVal = timelineRange ? timelineRange[0] : minMs;
69
- const endVal = timelineRange ? timelineRange[1] : maxMs;
70
- const maxHist = Math.max(1, ...histogram);
71
-
72
- const formatDate = (ms: number) => new Date(ms).toLocaleDateString('ko-KR', { year: 'numeric', month: 'short', day: 'numeric' });
73
-
74
- return (
75
- <div style={{
76
- padding: '8px 16px',
77
- background: isDark ? 'rgba(10,10,20,0.9)' : 'rgba(240,242,248,0.97)',
78
- borderTop: `1px solid ${isDark ? 'rgba(100,120,255,0.1)' : 'rgba(0,0,0,0.08)'}`,
79
- backdropFilter: 'blur(8px)',
80
- }}>
81
- {/* 히스토그램 */}
82
- <div style={{ display: 'flex', alignItems: 'flex-end', gap: '1px', height: '30px', marginBottom: '4px' }}>
83
- {histogram.map((count, i) => {
84
- const binStart = minMs + (i / histogram.length) * (maxMs - minMs);
85
- const binEnd = minMs + ((i + 1) / histogram.length) * (maxMs - minMs);
86
- const inRange = binStart >= startVal && binEnd <= endVal;
87
- return (
88
- <div
89
- key={i}
90
- style={{
91
- flex: 1,
92
- height: `${(count / maxHist) * 100}%`,
93
- minHeight: count > 0 ? '2px' : '0',
94
- background: inRange
95
- ? (isDark ? 'rgba(100,180,255,0.6)' : 'rgba(59,130,246,0.5)')
96
- : (isDark ? 'rgba(100,120,255,0.15)' : 'rgba(0,0,0,0.08)'),
97
- borderRadius: '1px 1px 0 0',
98
- transition: 'background 0.15s',
99
- }}
100
- />
101
- );
102
- })}
103
- </div>
104
-
105
- {/* 슬라이더 */}
106
- <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
107
- <span style={{ fontSize: '10px', color: isDark ? '#667' : '#999', minWidth: '90px' }}>
108
- {formatDate(startVal)}
109
- </span>
110
- <input
111
- type="range"
112
- min={minMs}
113
- max={maxMs}
114
- value={startVal}
115
- onChange={handleStartChange}
116
- style={{ flex: 1, accentColor: isDark ? '#6488ff' : '#3b82f6' }}
117
- />
118
- <input
119
- type="range"
120
- min={minMs}
121
- max={maxMs}
122
- value={endVal}
123
- onChange={handleEndChange}
124
- style={{ flex: 1, accentColor: isDark ? '#6488ff' : '#3b82f6' }}
125
- />
126
- <span style={{ fontSize: '10px', color: isDark ? '#667' : '#999', minWidth: '90px', textAlign: 'right' }}>
127
- {formatDate(endVal)}
128
- </span>
129
- <button
130
- onClick={resetRange}
131
- style={{
132
- fontSize: '10px', padding: '2px 6px', border: `1px solid ${isDark ? 'rgba(100,120,255,0.15)' : 'rgba(0,0,0,0.12)'}`,
133
- borderRadius: '3px', cursor: 'pointer',
134
- background: isDark ? 'rgba(100,120,255,0.06)' : 'rgba(0,0,0,0.03)',
135
- color: isDark ? '#aab' : '#555',
136
- }}
137
- >
138
- Reset
139
- </button>
140
- </div>
141
-
142
- {/* 상태 */}
143
- <div style={{ fontSize: '10px', color: isDark ? '#556' : '#888', marginTop: '2px', textAlign: 'center' }}>
144
- {activeCount}/{nodes.length} docs in range
145
- </div>
146
- </div>
147
- );
148
- }