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.
- package/package.json +1 -1
- package/packages/core/dist/api/dashboard.d.ts +3 -0
- package/packages/core/{src/api/dashboard.ts → dist/api/dashboard.js} +8 -11
- package/packages/core/dist/api/graph-data.d.ts +11 -0
- package/packages/core/dist/api/graph-data.js +255 -0
- package/packages/core/dist/api/pwa.d.ts +3 -0
- package/packages/core/{src/api/pwa.ts → dist/api/pwa.js} +27 -32
- package/packages/core/dist/api/server.d.ts +16 -0
- package/packages/core/dist/api/server.js +647 -0
- package/packages/core/dist/capture/voice.d.ts +24 -0
- package/packages/core/dist/capture/voice.js +135 -0
- package/packages/core/{src/cloud/index.ts → dist/cloud/index.d.ts} +1 -0
- package/packages/core/dist/cloud/index.js +2 -0
- package/packages/core/dist/cloud/sync.d.ts +29 -0
- package/packages/core/dist/cloud/sync.js +137 -0
- package/packages/core/dist/config.d.ts +27 -0
- package/packages/core/dist/config.js +55 -0
- package/packages/core/dist/federation/credits.d.ts +26 -0
- package/packages/core/dist/federation/credits.js +56 -0
- package/packages/core/dist/federation/identity.d.ts +14 -0
- package/packages/core/dist/federation/identity.js +74 -0
- package/packages/core/{src/federation/index.ts → dist/federation/index.d.ts} +1 -2
- package/packages/core/dist/federation/index.js +5 -0
- package/packages/core/dist/federation/node.d.ts +31 -0
- package/packages/core/dist/federation/node.js +216 -0
- package/packages/core/dist/federation/privacy.d.ts +8 -0
- package/packages/core/dist/federation/privacy.js +40 -0
- package/packages/core/dist/federation/reputation.d.ts +37 -0
- package/packages/core/dist/federation/reputation.js +139 -0
- package/packages/core/dist/federation/search.d.ts +19 -0
- package/packages/core/dist/federation/search.js +101 -0
- package/packages/core/dist/federation/sharing.d.ts +72 -0
- package/packages/core/dist/federation/sharing.js +246 -0
- package/packages/core/dist/federation/trust.d.ts +15 -0
- package/packages/core/dist/federation/trust.js +60 -0
- package/packages/core/dist/federation/types.d.ts +40 -0
- package/packages/core/dist/federation/types.js +3 -0
- package/packages/core/dist/i18n/index.d.ts +6 -0
- package/packages/core/dist/i18n/index.js +81 -0
- package/packages/core/{src/index.ts → dist/index.d.ts} +46 -65
- package/packages/core/dist/index.js +69 -0
- package/packages/core/dist/indexer/chunker.d.ts +14 -0
- package/packages/core/dist/indexer/chunker.js +148 -0
- package/packages/core/dist/indexer/embedder.d.ts +8 -0
- package/packages/core/dist/indexer/embedder.js +3 -0
- package/packages/core/dist/indexer/index.d.ts +28 -0
- package/packages/core/dist/indexer/index.js +74 -0
- package/packages/core/dist/indexer/local-embedder.d.ts +3 -0
- package/packages/core/dist/indexer/local-embedder.js +29 -0
- package/packages/core/dist/indexer/scanner.d.ts +11 -0
- package/packages/core/dist/indexer/scanner.js +137 -0
- package/packages/core/dist/indexer/watcher.d.ts +19 -0
- package/packages/core/dist/indexer/watcher.js +49 -0
- package/packages/core/dist/intelligence/contradiction-detector.d.ts +20 -0
- package/packages/core/dist/intelligence/contradiction-detector.js +115 -0
- package/packages/core/dist/intelligence/decay-engine.d.ts +27 -0
- package/packages/core/dist/intelligence/decay-engine.js +190 -0
- package/packages/core/dist/intelligence/duplicate-detector.d.ts +20 -0
- package/packages/core/dist/intelligence/duplicate-detector.js +55 -0
- package/packages/core/dist/intelligence/fsrs.d.ts +43 -0
- package/packages/core/dist/intelligence/fsrs.js +70 -0
- package/packages/core/dist/intelligence/gap-detector.d.ts +25 -0
- package/packages/core/dist/intelligence/gap-detector.js +78 -0
- package/packages/core/dist/intelligence/learning-path.d.ts +31 -0
- package/packages/core/dist/intelligence/learning-path.js +53 -0
- package/packages/core/dist/intelligence/notifications.d.ts +31 -0
- package/packages/core/dist/intelligence/notifications.js +65 -0
- package/packages/core/dist/intelligence/predictive-gaps.d.ts +14 -0
- package/packages/core/dist/intelligence/predictive-gaps.js +74 -0
- package/packages/core/dist/intelligence/semantic-versioning.d.ts +37 -0
- package/packages/core/dist/intelligence/semantic-versioning.js +68 -0
- package/packages/core/dist/intelligence/types.d.ts +28 -0
- package/packages/core/dist/intelligence/types.js +3 -0
- package/packages/core/dist/mcp/custom-tools.d.ts +29 -0
- package/packages/core/dist/mcp/custom-tools.js +70 -0
- package/packages/core/{src/mcp/index.ts → dist/mcp/index.d.ts} +1 -0
- package/packages/core/dist/mcp/index.js +2 -0
- package/packages/core/dist/mcp/server.d.ts +49 -0
- package/packages/core/dist/mcp/server.js +133 -0
- package/packages/core/dist/mcp/tools/agentic-graph.d.ts +87 -0
- package/packages/core/dist/mcp/tools/agentic-graph.js +88 -0
- package/packages/core/dist/mcp/tools/brief.d.ts +31 -0
- package/packages/core/dist/mcp/tools/brief.js +39 -0
- package/packages/core/dist/mcp/tools/decay.d.ts +33 -0
- package/packages/core/dist/mcp/tools/decay.js +32 -0
- package/packages/core/dist/mcp/tools/decision-journal.d.ts +78 -0
- package/packages/core/dist/mcp/tools/decision-journal.js +79 -0
- package/packages/core/dist/mcp/tools/export.d.ts +29 -0
- package/packages/core/dist/mcp/tools/export.js +60 -0
- package/packages/core/dist/mcp/tools/federated-search.d.ts +29 -0
- package/packages/core/dist/mcp/tools/federated-search.js +36 -0
- package/packages/core/dist/mcp/tools/generate-claude-md.d.ts +35 -0
- package/packages/core/dist/mcp/tools/generate-claude-md.js +107 -0
- package/packages/core/dist/mcp/tools/get-document.d.ts +35 -0
- package/packages/core/dist/mcp/tools/get-document.js +25 -0
- package/packages/core/dist/mcp/tools/get-related.d.ts +32 -0
- package/packages/core/dist/mcp/tools/get-related.js +33 -0
- package/packages/core/dist/mcp/tools/learning-path.d.ts +23 -0
- package/packages/core/dist/mcp/tools/learning-path.js +45 -0
- package/packages/core/dist/mcp/tools/list-topics.d.ts +15 -0
- package/packages/core/dist/mcp/tools/list-topics.js +18 -0
- package/packages/core/dist/mcp/tools/search.d.ts +39 -0
- package/packages/core/dist/mcp/tools/search.js +29 -0
- package/packages/core/dist/mcp/tools/snapshot.d.ts +47 -0
- package/packages/core/dist/mcp/tools/snapshot.js +84 -0
- package/packages/core/dist/multi-vault/index.d.ts +26 -0
- package/packages/core/dist/multi-vault/index.js +80 -0
- package/packages/core/dist/pack/creator.d.ts +21 -0
- package/packages/core/dist/pack/creator.js +105 -0
- package/packages/core/dist/pack/exporter.d.ts +4 -0
- package/packages/core/dist/pack/exporter.js +18 -0
- package/packages/core/dist/pack/importer.d.ts +10 -0
- package/packages/core/dist/pack/importer.js +55 -0
- package/packages/core/{src/pack/index.ts → dist/pack/index.d.ts} +1 -0
- package/packages/core/dist/pack/index.js +5 -0
- package/packages/core/dist/pack/marketplace.d.ts +14 -0
- package/packages/core/dist/pack/marketplace.js +90 -0
- package/packages/core/dist/pack/pii-masker.d.ts +7 -0
- package/packages/core/dist/pack/pii-masker.js +29 -0
- package/packages/core/dist/pack/types.d.ts +36 -0
- package/packages/core/dist/pack/types.js +3 -0
- package/packages/core/dist/plugins/index.d.ts +35 -0
- package/packages/core/dist/plugins/index.js +57 -0
- package/packages/core/dist/plugins/webhooks.d.ts +30 -0
- package/packages/core/dist/plugins/webhooks.js +79 -0
- package/packages/core/dist/search/bm25.d.ts +4 -0
- package/packages/core/dist/search/bm25.js +10 -0
- package/packages/core/dist/search/index.d.ts +13 -0
- package/packages/core/dist/search/index.js +63 -0
- package/packages/core/dist/search/rrf.d.ts +7 -0
- package/packages/core/dist/search/rrf.js +21 -0
- package/packages/core/dist/search/semantic.d.ts +5 -0
- package/packages/core/dist/search/semantic.js +6 -0
- package/packages/core/{src/store/index.ts → dist/store/index.d.ts} +1 -0
- package/packages/core/dist/store/index.js +2 -0
- package/packages/core/dist/store/sqlite-vec.d.ts +6 -0
- package/packages/core/dist/store/sqlite-vec.js +251 -0
- package/packages/core/dist/store/types.d.ts +20 -0
- package/packages/core/dist/store/types.js +3 -0
- package/packages/core/dist/team/index.d.ts +25 -0
- package/packages/core/dist/team/index.js +97 -0
- package/packages/core/dist/types/chunk.d.ts +23 -0
- package/packages/core/dist/types/chunk.js +3 -0
- package/packages/core/dist/types/document.d.ts +23 -0
- package/packages/core/dist/types/document.js +3 -0
- package/packages/core/dist/types/graph.d.ts +39 -0
- package/packages/core/dist/types/graph.js +3 -0
- package/packages/core/dist/types/index.d.ts +5 -0
- package/packages/core/dist/types/index.js +2 -0
- package/packages/core/dist/types/search.d.ts +39 -0
- package/packages/core/dist/types/search.js +3 -0
- package/packages/core/dist/utils/retry.d.ts +25 -0
- package/packages/core/dist/utils/retry.js +59 -0
- package/.github/workflows/pages.yml +0 -37
- package/memory/MEMORY.md +0 -25
- package/packages/cli/dist/commands/brief-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/brief-cmd.js.map +0 -1
- package/packages/cli/dist/commands/capture-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/capture-cmd.js.map +0 -1
- package/packages/cli/dist/commands/card-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/card-cmd.js.map +0 -1
- package/packages/cli/dist/commands/clip-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/clip-cmd.js.map +0 -1
- package/packages/cli/dist/commands/cloud-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/cloud-cmd.js.map +0 -1
- package/packages/cli/dist/commands/contradictions-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/contradictions-cmd.js.map +0 -1
- package/packages/cli/dist/commands/decay-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/decay-cmd.js.map +0 -1
- package/packages/cli/dist/commands/digest-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/digest-cmd.js.map +0 -1
- package/packages/cli/dist/commands/duplicates-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/duplicates-cmd.js.map +0 -1
- package/packages/cli/dist/commands/federate-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/federate-cmd.js.map +0 -1
- package/packages/cli/dist/commands/gaps-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/gaps-cmd.js.map +0 -1
- package/packages/cli/dist/commands/graph-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/graph-cmd.js.map +0 -1
- package/packages/cli/dist/commands/index-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/index-cmd.js.map +0 -1
- package/packages/cli/dist/commands/init-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/init-cmd.js.map +0 -1
- package/packages/cli/dist/commands/learn-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/learn-cmd.js.map +0 -1
- package/packages/cli/dist/commands/pack-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/pack-cmd.js.map +0 -1
- package/packages/cli/dist/commands/review-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/review-cmd.js.map +0 -1
- package/packages/cli/dist/commands/search-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/search-cmd.js.map +0 -1
- package/packages/cli/dist/commands/serve-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/serve-cmd.js.map +0 -1
- package/packages/cli/dist/commands/status-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/status-cmd.js.map +0 -1
- package/packages/cli/dist/commands/sync-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/sync-cmd.js.map +0 -1
- package/packages/cli/dist/commands/vault-cmd.d.ts.map +0 -1
- package/packages/cli/dist/commands/vault-cmd.js.map +0 -1
- package/packages/cli/dist/index.d.ts.map +0 -1
- package/packages/cli/dist/index.js.map +0 -1
- package/packages/cli/src/commands/brief-cmd.ts +0 -87
- package/packages/cli/src/commands/capture-cmd.ts +0 -34
- package/packages/cli/src/commands/card-cmd.ts +0 -29
- package/packages/cli/src/commands/clip-cmd.ts +0 -172
- package/packages/cli/src/commands/cloud-cmd.ts +0 -75
- package/packages/cli/src/commands/contradictions-cmd.ts +0 -41
- package/packages/cli/src/commands/decay-cmd.ts +0 -57
- package/packages/cli/src/commands/digest-cmd.ts +0 -89
- package/packages/cli/src/commands/duplicates-cmd.ts +0 -38
- package/packages/cli/src/commands/federate-cmd.ts +0 -256
- package/packages/cli/src/commands/gaps-cmd.ts +0 -40
- package/packages/cli/src/commands/graph-cmd.ts +0 -88
- package/packages/cli/src/commands/index-cmd.ts +0 -65
- package/packages/cli/src/commands/init-cmd.ts +0 -145
- package/packages/cli/src/commands/learn-cmd.ts +0 -56
- package/packages/cli/src/commands/pack-cmd.ts +0 -121
- package/packages/cli/src/commands/review-cmd.ts +0 -125
- package/packages/cli/src/commands/search-cmd.ts +0 -45
- package/packages/cli/src/commands/serve-cmd.ts +0 -17
- package/packages/cli/src/commands/status-cmd.ts +0 -37
- package/packages/cli/src/commands/sync-cmd.ts +0 -68
- package/packages/cli/src/commands/vault-cmd.ts +0 -64
- package/packages/cli/src/index.ts +0 -187
- package/packages/core/src/api/graph-data.ts +0 -286
- package/packages/core/src/api/server.ts +0 -660
- package/packages/core/src/capture/voice.ts +0 -168
- package/packages/core/src/cloud/sync.ts +0 -167
- package/packages/core/src/config.ts +0 -82
- package/packages/core/src/federation/credits.ts +0 -80
- package/packages/core/src/federation/hyperswarm.d.ts +0 -19
- package/packages/core/src/federation/identity.ts +0 -90
- package/packages/core/src/federation/node.ts +0 -235
- package/packages/core/src/federation/privacy.ts +0 -52
- package/packages/core/src/federation/reputation.ts +0 -202
- package/packages/core/src/federation/search.ts +0 -129
- package/packages/core/src/federation/sharing.ts +0 -315
- package/packages/core/src/federation/trust.ts +0 -76
- package/packages/core/src/federation/types.ts +0 -25
- package/packages/core/src/i18n/index.ts +0 -85
- package/packages/core/src/indexer/chunker.ts +0 -180
- package/packages/core/src/indexer/embedder.ts +0 -9
- package/packages/core/src/indexer/index.ts +0 -113
- package/packages/core/src/indexer/local-embedder.ts +0 -35
- package/packages/core/src/indexer/scanner.ts +0 -142
- package/packages/core/src/indexer/watcher.ts +0 -62
- package/packages/core/src/intelligence/contradiction-detector.ts +0 -134
- package/packages/core/src/intelligence/decay-engine.ts +0 -229
- package/packages/core/src/intelligence/duplicate-detector.ts +0 -71
- package/packages/core/src/intelligence/fsrs.ts +0 -79
- package/packages/core/src/intelligence/gap-detector.ts +0 -109
- package/packages/core/src/intelligence/learning-path.ts +0 -86
- package/packages/core/src/intelligence/notifications.ts +0 -106
- package/packages/core/src/intelligence/predictive-gaps.ts +0 -94
- package/packages/core/src/intelligence/semantic-versioning.ts +0 -97
- package/packages/core/src/intelligence/types.ts +0 -28
- package/packages/core/src/mcp/custom-tools.ts +0 -97
- package/packages/core/src/mcp/server.ts +0 -142
- package/packages/core/src/mcp/tools/agentic-graph.ts +0 -96
- package/packages/core/src/mcp/tools/brief.ts +0 -49
- package/packages/core/src/mcp/tools/decay.ts +0 -40
- package/packages/core/src/mcp/tools/decision-journal.ts +0 -95
- package/packages/core/src/mcp/tools/export.ts +0 -72
- package/packages/core/src/mcp/tools/federated-search.ts +0 -43
- package/packages/core/src/mcp/tools/generate-claude-md.ts +0 -130
- package/packages/core/src/mcp/tools/get-document.ts +0 -26
- package/packages/core/src/mcp/tools/get-related.ts +0 -41
- package/packages/core/src/mcp/tools/learning-path.ts +0 -52
- package/packages/core/src/mcp/tools/list-topics.ts +0 -20
- package/packages/core/src/mcp/tools/search.ts +0 -35
- package/packages/core/src/mcp/tools/snapshot.ts +0 -98
- package/packages/core/src/multi-vault/index.ts +0 -118
- package/packages/core/src/pack/creator.ts +0 -127
- package/packages/core/src/pack/exporter.ts +0 -21
- package/packages/core/src/pack/importer.ts +0 -82
- package/packages/core/src/pack/marketplace.ts +0 -103
- package/packages/core/src/pack/pii-masker.ts +0 -38
- package/packages/core/src/pack/types.ts +0 -39
- package/packages/core/src/plugins/index.ts +0 -100
- package/packages/core/src/plugins/webhooks.ts +0 -110
- package/packages/core/src/search/bm25.ts +0 -16
- package/packages/core/src/search/index.ts +0 -83
- package/packages/core/src/search/rrf.ts +0 -31
- package/packages/core/src/search/semantic.ts +0 -15
- package/packages/core/src/store/sqlite-vec.ts +0 -290
- package/packages/core/src/store/types.ts +0 -22
- package/packages/core/src/team/index.ts +0 -126
- package/packages/core/src/types/chunk.ts +0 -25
- package/packages/core/src/types/document.ts +0 -24
- package/packages/core/src/types/graph.ts +0 -44
- package/packages/core/src/types/index.ts +0 -15
- package/packages/core/src/types/search.ts +0 -38
- package/packages/core/src/utils/retry.ts +0 -85
- package/packages/core/tests/api-card.test.ts +0 -60
- package/packages/core/tests/api-routes.test.ts +0 -98
- package/packages/core/tests/bm25.test.ts +0 -87
- package/packages/core/tests/chunker.test.ts +0 -48
- package/packages/core/tests/cluster.test.ts +0 -75
- package/packages/core/tests/constellation.test.ts +0 -77
- package/packages/core/tests/export-utils.test.ts +0 -97
- package/packages/core/tests/fsrs.test.ts +0 -96
- package/packages/core/tests/gesture-detector.test.ts +0 -45
- package/packages/core/tests/graph-data.test.ts +0 -87
- package/packages/core/tests/layout.test.ts +0 -83
- package/packages/core/tests/mcp.test.ts +0 -148
- package/packages/core/tests/pack.test.ts +0 -127
- package/packages/core/tests/pii-masker.test.ts +0 -42
- package/packages/core/tests/profile-card.test.ts +0 -62
- package/packages/core/tests/rrf.test.ts +0 -29
- package/packages/core/tests/search-integration.test.ts +0 -139
- package/packages/core/tests/store.test.ts +0 -80
- package/packages/graph/click-result.png +0 -0
- package/packages/graph/dist/assets/camera_utils-BMxqtvoZ.js +0 -1
- package/packages/graph/dist/assets/hands-DXA01_mx.js +0 -18
- package/packages/graph/dist/assets/index-DMEe2diW.js +0 -4192
- package/packages/graph/dist/assets/layout.worker-DbKCEFTz.js +0 -1
- package/packages/graph/dist/index.html +0 -17
- package/packages/graph/index.html +0 -17
- package/packages/graph/package.json +0 -32
- package/packages/graph/src/App.tsx +0 -7
- package/packages/graph/src/api/client.ts +0 -39
- package/packages/graph/src/components/ClusterFilter.tsx +0 -73
- package/packages/graph/src/components/ConstellationView.tsx +0 -232
- package/packages/graph/src/components/ExportPanel.tsx +0 -177
- package/packages/graph/src/components/Graph3D.tsx +0 -230
- package/packages/graph/src/components/GraphEdges.tsx +0 -100
- package/packages/graph/src/components/GraphNodes.tsx +0 -386
- package/packages/graph/src/components/HealthDashboard.tsx +0 -173
- package/packages/graph/src/components/Layout.tsx +0 -214
- package/packages/graph/src/components/MotionOverlay.tsx +0 -81
- package/packages/graph/src/components/MotionToggle.tsx +0 -33
- package/packages/graph/src/components/MultiverseView.tsx +0 -286
- package/packages/graph/src/components/NodeDetail.tsx +0 -232
- package/packages/graph/src/components/PulseParticle.tsx +0 -232
- package/packages/graph/src/components/SearchBar.tsx +0 -107
- package/packages/graph/src/components/StarField.tsx +0 -197
- package/packages/graph/src/components/StatusBar.tsx +0 -53
- package/packages/graph/src/components/Timeline.tsx +0 -148
- package/packages/graph/src/components/ToolsPanel.tsx +0 -512
- package/packages/graph/src/components/Tooltip.tsx +0 -100
- package/packages/graph/src/components/TypeFilter.tsx +0 -131
- package/packages/graph/src/embed/EmbedGraph.tsx +0 -144
- package/packages/graph/src/hooks/useConstellationLOD.ts +0 -76
- package/packages/graph/src/hooks/useDecay.ts +0 -37
- package/packages/graph/src/hooks/useExport.ts +0 -165
- package/packages/graph/src/hooks/useGraph.ts +0 -69
- package/packages/graph/src/hooks/useKeyboardNav.ts +0 -122
- package/packages/graph/src/hooks/useLayout.ts +0 -45
- package/packages/graph/src/hooks/useMotion.ts +0 -120
- package/packages/graph/src/hooks/usePulse.ts +0 -58
- package/packages/graph/src/hooks/useSearch.ts +0 -71
- package/packages/graph/src/lib/constellation.ts +0 -107
- package/packages/graph/src/lib/export-utils.ts +0 -48
- package/packages/graph/src/lib/gesture-detector.ts +0 -123
- package/packages/graph/src/lib/layout.worker.ts +0 -153
- package/packages/graph/src/lib/motion-controller.ts +0 -83
- package/packages/graph/src/lib/profile-card.ts +0 -122
- package/packages/graph/src/main.tsx +0 -4
- package/packages/graph/src/stores/graph-store.ts +0 -155
- package/packages/graph/success.png +0 -0
- package/packages/graph/test-click.mjs +0 -49
- package/packages/graph/test-explore.mjs +0 -102
- package/packages/graph/test-final.mjs +0 -61
- package/packages/graph/test-graph.mjs +0 -139
- package/packages/graph/test-hover.mjs +0 -48
- package/packages/graph/test-pulse.mjs +0 -68
- package/packages/graph/test-screenshot.mjs +0 -56
- package/packages/graph/test-v2.mjs +0 -97
- package/packages/graph/tsconfig.tsbuildinfo +0 -1
- package/packages/graph/vite.config.ts +0 -15
- package/packages/sync/.env.example +0 -11
- package/packages/sync/.sync-state.json +0 -317
- package/packages/sync/.upload-state.json +0 -1009
- package/packages/sync/create-stella-network-notion.mjs +0 -151
- package/packages/sync/create-stellavault-project-notion.mjs +0 -322
- package/packages/sync/logs/sync-2026-03-28.log +0 -6
- package/packages/sync/logs/sync-2026-03-29.log +0 -12
- package/packages/sync/logs/sync-2026-03-30.log +0 -6
- package/packages/sync/logs/sync-2026-03-31.log +0 -6
- package/packages/sync/logs/sync-2026-04-01.log +0 -6
- package/packages/sync/logs/sync-2026-04-02.log +0 -6
- package/packages/sync/package-lock.json +0 -373
- package/packages/sync/package.json +0 -16
- package/packages/sync/run-sync.bat +0 -18
- package/packages/sync/run-sync.mjs +0 -46
- package/packages/sync/setup-scheduler.mjs +0 -119
- package/packages/sync/structured-sync.mjs +0 -187
- package/packages/sync/sync-to-obsidian.mjs +0 -264
- package/packages/sync/upload-pdca-to-notion.mjs +0 -495
- package/tsconfig.base.json +0 -18
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "notion-sync",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"lockfileVersion": 3,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"packages": {
|
|
7
|
-
"": {
|
|
8
|
-
"name": "notion-sync",
|
|
9
|
-
"version": "1.0.0",
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@notionhq/client": "^2.2.15",
|
|
12
|
-
"notion-to-md": "^3.1.1"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"node_modules/@notionhq/client": {
|
|
16
|
-
"version": "2.3.0",
|
|
17
|
-
"resolved": "https://registry.npmjs.org/@notionhq/client/-/client-2.3.0.tgz",
|
|
18
|
-
"integrity": "sha512-l7WqTCpQqC+HibkB9chghONQTYcxNQT0/rOJemBfmuKQRTu2vuV8B3yA395iKaUdDo7HI+0KvQaz9687Xskzkw==",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@types/node-fetch": "^2.5.10",
|
|
22
|
-
"node-fetch": "^2.6.1"
|
|
23
|
-
},
|
|
24
|
-
"engines": {
|
|
25
|
-
"node": ">=12"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"node_modules/@types/node": {
|
|
29
|
-
"version": "25.5.0",
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.0.tgz",
|
|
31
|
-
"integrity": "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw==",
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"undici-types": "~7.18.0"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"node_modules/@types/node-fetch": {
|
|
38
|
-
"version": "2.6.13",
|
|
39
|
-
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.13.tgz",
|
|
40
|
-
"integrity": "sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw==",
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"dependencies": {
|
|
43
|
-
"@types/node": "*",
|
|
44
|
-
"form-data": "^4.0.4"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"node_modules/asynckit": {
|
|
48
|
-
"version": "0.4.0",
|
|
49
|
-
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
50
|
-
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
|
51
|
-
"license": "MIT"
|
|
52
|
-
},
|
|
53
|
-
"node_modules/call-bind-apply-helpers": {
|
|
54
|
-
"version": "1.0.2",
|
|
55
|
-
"resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
|
|
56
|
-
"integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
|
|
57
|
-
"license": "MIT",
|
|
58
|
-
"dependencies": {
|
|
59
|
-
"es-errors": "^1.3.0",
|
|
60
|
-
"function-bind": "^1.1.2"
|
|
61
|
-
},
|
|
62
|
-
"engines": {
|
|
63
|
-
"node": ">= 0.4"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"node_modules/combined-stream": {
|
|
67
|
-
"version": "1.0.8",
|
|
68
|
-
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
|
69
|
-
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
|
70
|
-
"license": "MIT",
|
|
71
|
-
"dependencies": {
|
|
72
|
-
"delayed-stream": "~1.0.0"
|
|
73
|
-
},
|
|
74
|
-
"engines": {
|
|
75
|
-
"node": ">= 0.8"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"node_modules/delayed-stream": {
|
|
79
|
-
"version": "1.0.0",
|
|
80
|
-
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
|
81
|
-
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
|
82
|
-
"license": "MIT",
|
|
83
|
-
"engines": {
|
|
84
|
-
"node": ">=0.4.0"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"node_modules/dunder-proto": {
|
|
88
|
-
"version": "1.0.1",
|
|
89
|
-
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
|
|
90
|
-
"integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
|
|
91
|
-
"license": "MIT",
|
|
92
|
-
"dependencies": {
|
|
93
|
-
"call-bind-apply-helpers": "^1.0.1",
|
|
94
|
-
"es-errors": "^1.3.0",
|
|
95
|
-
"gopd": "^1.2.0"
|
|
96
|
-
},
|
|
97
|
-
"engines": {
|
|
98
|
-
"node": ">= 0.4"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"node_modules/es-define-property": {
|
|
102
|
-
"version": "1.0.1",
|
|
103
|
-
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
|
|
104
|
-
"integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
|
|
105
|
-
"license": "MIT",
|
|
106
|
-
"engines": {
|
|
107
|
-
"node": ">= 0.4"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"node_modules/es-errors": {
|
|
111
|
-
"version": "1.3.0",
|
|
112
|
-
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
|
113
|
-
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
|
114
|
-
"license": "MIT",
|
|
115
|
-
"engines": {
|
|
116
|
-
"node": ">= 0.4"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"node_modules/es-object-atoms": {
|
|
120
|
-
"version": "1.1.1",
|
|
121
|
-
"resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
|
|
122
|
-
"integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
|
|
123
|
-
"license": "MIT",
|
|
124
|
-
"dependencies": {
|
|
125
|
-
"es-errors": "^1.3.0"
|
|
126
|
-
},
|
|
127
|
-
"engines": {
|
|
128
|
-
"node": ">= 0.4"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"node_modules/es-set-tostringtag": {
|
|
132
|
-
"version": "2.1.0",
|
|
133
|
-
"resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
|
|
134
|
-
"integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
|
|
135
|
-
"license": "MIT",
|
|
136
|
-
"dependencies": {
|
|
137
|
-
"es-errors": "^1.3.0",
|
|
138
|
-
"get-intrinsic": "^1.2.6",
|
|
139
|
-
"has-tostringtag": "^1.0.2",
|
|
140
|
-
"hasown": "^2.0.2"
|
|
141
|
-
},
|
|
142
|
-
"engines": {
|
|
143
|
-
"node": ">= 0.4"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"node_modules/form-data": {
|
|
147
|
-
"version": "4.0.5",
|
|
148
|
-
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz",
|
|
149
|
-
"integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",
|
|
150
|
-
"license": "MIT",
|
|
151
|
-
"dependencies": {
|
|
152
|
-
"asynckit": "^0.4.0",
|
|
153
|
-
"combined-stream": "^1.0.8",
|
|
154
|
-
"es-set-tostringtag": "^2.1.0",
|
|
155
|
-
"hasown": "^2.0.2",
|
|
156
|
-
"mime-types": "^2.1.12"
|
|
157
|
-
},
|
|
158
|
-
"engines": {
|
|
159
|
-
"node": ">= 6"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
"node_modules/function-bind": {
|
|
163
|
-
"version": "1.1.2",
|
|
164
|
-
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
|
165
|
-
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
|
166
|
-
"license": "MIT",
|
|
167
|
-
"funding": {
|
|
168
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"node_modules/get-intrinsic": {
|
|
172
|
-
"version": "1.3.0",
|
|
173
|
-
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
|
|
174
|
-
"integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
|
|
175
|
-
"license": "MIT",
|
|
176
|
-
"dependencies": {
|
|
177
|
-
"call-bind-apply-helpers": "^1.0.2",
|
|
178
|
-
"es-define-property": "^1.0.1",
|
|
179
|
-
"es-errors": "^1.3.0",
|
|
180
|
-
"es-object-atoms": "^1.1.1",
|
|
181
|
-
"function-bind": "^1.1.2",
|
|
182
|
-
"get-proto": "^1.0.1",
|
|
183
|
-
"gopd": "^1.2.0",
|
|
184
|
-
"has-symbols": "^1.1.0",
|
|
185
|
-
"hasown": "^2.0.2",
|
|
186
|
-
"math-intrinsics": "^1.1.0"
|
|
187
|
-
},
|
|
188
|
-
"engines": {
|
|
189
|
-
"node": ">= 0.4"
|
|
190
|
-
},
|
|
191
|
-
"funding": {
|
|
192
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"node_modules/get-proto": {
|
|
196
|
-
"version": "1.0.1",
|
|
197
|
-
"resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
|
|
198
|
-
"integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
|
|
199
|
-
"license": "MIT",
|
|
200
|
-
"dependencies": {
|
|
201
|
-
"dunder-proto": "^1.0.1",
|
|
202
|
-
"es-object-atoms": "^1.0.0"
|
|
203
|
-
},
|
|
204
|
-
"engines": {
|
|
205
|
-
"node": ">= 0.4"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"node_modules/gopd": {
|
|
209
|
-
"version": "1.2.0",
|
|
210
|
-
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
|
|
211
|
-
"integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
|
|
212
|
-
"license": "MIT",
|
|
213
|
-
"engines": {
|
|
214
|
-
"node": ">= 0.4"
|
|
215
|
-
},
|
|
216
|
-
"funding": {
|
|
217
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"node_modules/has-symbols": {
|
|
221
|
-
"version": "1.1.0",
|
|
222
|
-
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
|
|
223
|
-
"integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
|
|
224
|
-
"license": "MIT",
|
|
225
|
-
"engines": {
|
|
226
|
-
"node": ">= 0.4"
|
|
227
|
-
},
|
|
228
|
-
"funding": {
|
|
229
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"node_modules/has-tostringtag": {
|
|
233
|
-
"version": "1.0.2",
|
|
234
|
-
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
|
|
235
|
-
"integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
|
|
236
|
-
"license": "MIT",
|
|
237
|
-
"dependencies": {
|
|
238
|
-
"has-symbols": "^1.0.3"
|
|
239
|
-
},
|
|
240
|
-
"engines": {
|
|
241
|
-
"node": ">= 0.4"
|
|
242
|
-
},
|
|
243
|
-
"funding": {
|
|
244
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
"node_modules/hasown": {
|
|
248
|
-
"version": "2.0.2",
|
|
249
|
-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
|
250
|
-
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
|
251
|
-
"license": "MIT",
|
|
252
|
-
"dependencies": {
|
|
253
|
-
"function-bind": "^1.1.2"
|
|
254
|
-
},
|
|
255
|
-
"engines": {
|
|
256
|
-
"node": ">= 0.4"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
"node_modules/markdown-table": {
|
|
260
|
-
"version": "2.0.0",
|
|
261
|
-
"resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-2.0.0.tgz",
|
|
262
|
-
"integrity": "sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==",
|
|
263
|
-
"license": "MIT",
|
|
264
|
-
"dependencies": {
|
|
265
|
-
"repeat-string": "^1.0.0"
|
|
266
|
-
},
|
|
267
|
-
"funding": {
|
|
268
|
-
"type": "github",
|
|
269
|
-
"url": "https://github.com/sponsors/wooorm"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
"node_modules/math-intrinsics": {
|
|
273
|
-
"version": "1.1.0",
|
|
274
|
-
"resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
|
|
275
|
-
"integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
|
|
276
|
-
"license": "MIT",
|
|
277
|
-
"engines": {
|
|
278
|
-
"node": ">= 0.4"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"node_modules/mime-db": {
|
|
282
|
-
"version": "1.52.0",
|
|
283
|
-
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
|
284
|
-
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
|
285
|
-
"license": "MIT",
|
|
286
|
-
"engines": {
|
|
287
|
-
"node": ">= 0.6"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
"node_modules/mime-types": {
|
|
291
|
-
"version": "2.1.35",
|
|
292
|
-
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
|
293
|
-
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
|
294
|
-
"license": "MIT",
|
|
295
|
-
"dependencies": {
|
|
296
|
-
"mime-db": "1.52.0"
|
|
297
|
-
},
|
|
298
|
-
"engines": {
|
|
299
|
-
"node": ">= 0.6"
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"node_modules/node-fetch": {
|
|
303
|
-
"version": "2.7.0",
|
|
304
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
|
|
305
|
-
"integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
|
|
306
|
-
"license": "MIT",
|
|
307
|
-
"dependencies": {
|
|
308
|
-
"whatwg-url": "^5.0.0"
|
|
309
|
-
},
|
|
310
|
-
"engines": {
|
|
311
|
-
"node": "4.x || >=6.0.0"
|
|
312
|
-
},
|
|
313
|
-
"peerDependencies": {
|
|
314
|
-
"encoding": "^0.1.0"
|
|
315
|
-
},
|
|
316
|
-
"peerDependenciesMeta": {
|
|
317
|
-
"encoding": {
|
|
318
|
-
"optional": true
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
"node_modules/notion-to-md": {
|
|
323
|
-
"version": "3.1.9",
|
|
324
|
-
"resolved": "https://registry.npmjs.org/notion-to-md/-/notion-to-md-3.1.9.tgz",
|
|
325
|
-
"integrity": "sha512-SsYhhigh+jOv06QOiFynOQATPMl96CspWDIL3Q5klzp4eaZ1dYaPI3ELoly80G1K0jf730u3ItvfwskzPKK41g==",
|
|
326
|
-
"license": "ISC",
|
|
327
|
-
"dependencies": {
|
|
328
|
-
"markdown-table": "^2.0.0",
|
|
329
|
-
"node-fetch": "2"
|
|
330
|
-
},
|
|
331
|
-
"engines": {
|
|
332
|
-
"node": ">=12"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"node_modules/repeat-string": {
|
|
336
|
-
"version": "1.6.1",
|
|
337
|
-
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
|
|
338
|
-
"integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==",
|
|
339
|
-
"license": "MIT",
|
|
340
|
-
"engines": {
|
|
341
|
-
"node": ">=0.10"
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
"node_modules/tr46": {
|
|
345
|
-
"version": "0.0.3",
|
|
346
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
347
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
|
|
348
|
-
"license": "MIT"
|
|
349
|
-
},
|
|
350
|
-
"node_modules/undici-types": {
|
|
351
|
-
"version": "7.18.2",
|
|
352
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
|
|
353
|
-
"integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
|
|
354
|
-
"license": "MIT"
|
|
355
|
-
},
|
|
356
|
-
"node_modules/webidl-conversions": {
|
|
357
|
-
"version": "3.0.1",
|
|
358
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
359
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
|
|
360
|
-
"license": "BSD-2-Clause"
|
|
361
|
-
},
|
|
362
|
-
"node_modules/whatwg-url": {
|
|
363
|
-
"version": "5.0.0",
|
|
364
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
365
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
366
|
-
"license": "MIT",
|
|
367
|
-
"dependencies": {
|
|
368
|
-
"tr46": "~0.0.3",
|
|
369
|
-
"webidl-conversions": "^3.0.0"
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@stellavault/sync",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"description": "노션 프로젝트 페이지 → 옵시디언 마크다운 동기화 + 로컬 PDCA → 노션 업로드",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"sync": "node sync-to-obsidian.mjs",
|
|
9
|
-
"upload": "node upload-pdca-to-notion.mjs",
|
|
10
|
-
"setup-scheduler": "node setup-scheduler.mjs"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@notionhq/client": "^2.2.15",
|
|
14
|
-
"notion-to-md": "^3.1.1"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
REM 로컬 PDCA 업로드 + 노션→옵시디언 자동 동기화 (Windows 작업 스케줄러용)
|
|
3
|
-
REM 생성일: 2026-03-29
|
|
4
|
-
|
|
5
|
-
cd /d "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync"
|
|
6
|
-
mkdir logs 2>nul
|
|
7
|
-
|
|
8
|
-
echo [%DATE% %TIME%] ===== 업로드+동기화 시작 ===== >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log"
|
|
9
|
-
|
|
10
|
-
echo [%DATE% %TIME%] [1/2] 로컬 PDCA → 노션 업로드 >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log"
|
|
11
|
-
node "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\upload-pdca-to-notion.mjs" >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log" 2>&1
|
|
12
|
-
echo [%DATE% %TIME%] 업로드 완료 (exit code: %ERRORLEVEL%) >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log"
|
|
13
|
-
|
|
14
|
-
echo [%DATE% %TIME%] [2/2] 노션 → 옵시디언 동기화 >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log"
|
|
15
|
-
node "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\sync-to-obsidian.mjs" >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log" 2>&1
|
|
16
|
-
echo [%DATE% %TIME%] 동기화 완료 (exit code: %ERRORLEVEL%) >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log"
|
|
17
|
-
|
|
18
|
-
echo [%DATE% %TIME%] ===== 전체 완료 ===== >> "E:\AI코딩프로젝트\클로드코드\notion-obsidian-sync\packages\sync\logs\sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log"
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 스케줄러용 런처 — 업로드 + 동기화 순차 실행 + 로그 기록
|
|
3
|
-
* Windows 한글 경로에서도 안정적으로 동작
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { execFileSync } from 'child_process';
|
|
7
|
-
import fs from 'fs';
|
|
8
|
-
import path from 'path';
|
|
9
|
-
import { fileURLToPath } from 'url';
|
|
10
|
-
|
|
11
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
12
|
-
const logDir = path.join(__dirname, 'logs');
|
|
13
|
-
const today = new Date().toISOString().slice(0, 10);
|
|
14
|
-
const logFile = path.join(logDir, `sync-${today}.log`);
|
|
15
|
-
|
|
16
|
-
fs.mkdirSync(logDir, { recursive: true });
|
|
17
|
-
|
|
18
|
-
function log(msg) {
|
|
19
|
-
const ts = new Date().toLocaleString('ko-KR');
|
|
20
|
-
const line = `[${ts}] ${msg}\n`;
|
|
21
|
-
fs.appendFileSync(logFile, line, 'utf-8');
|
|
22
|
-
process.stdout.write(line);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function runScript(name) {
|
|
26
|
-
const script = path.join(__dirname, name);
|
|
27
|
-
try {
|
|
28
|
-
const output = execFileSync('node', [script], {
|
|
29
|
-
cwd: __dirname,
|
|
30
|
-
timeout: 1800000,
|
|
31
|
-
encoding: 'utf-8',
|
|
32
|
-
});
|
|
33
|
-
log(output.trim().split('\n').slice(-3).join(' | '));
|
|
34
|
-
return true;
|
|
35
|
-
} catch (err) {
|
|
36
|
-
log(`ERROR in ${name}: ${err.message}`);
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
log('===== START =====');
|
|
42
|
-
log('[1/2] Upload PDCA to Notion');
|
|
43
|
-
runScript('upload-pdca-to-notion.mjs');
|
|
44
|
-
log('[2/2] Sync Notion to Obsidian');
|
|
45
|
-
runScript('sync-to-obsidian.mjs');
|
|
46
|
-
log('===== DONE =====');
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Windows 작업 스케줄러 설정 스크립트
|
|
3
|
-
*
|
|
4
|
-
* 기능:
|
|
5
|
-
* - 매일 오전 7시에 sync-to-obsidian.mjs 자동 실행
|
|
6
|
-
* - 작업 이름: NotionToObsidianSync
|
|
7
|
-
* - 실행 로그를 logs/ 폴더에 저장
|
|
8
|
-
*
|
|
9
|
-
* 사용법: node setup-scheduler.mjs
|
|
10
|
-
* 제거: node setup-scheduler.mjs --remove
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { execSync } from 'child_process';
|
|
14
|
-
import fs from 'fs';
|
|
15
|
-
import path from 'path';
|
|
16
|
-
import { fileURLToPath } from 'url';
|
|
17
|
-
|
|
18
|
-
// ─── 경로 계산 ───
|
|
19
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
20
|
-
const SCRIPT_PATH = path.join(__dirname, 'sync-to-obsidian.mjs');
|
|
21
|
-
const LOG_DIR = path.join(__dirname, 'logs');
|
|
22
|
-
const TASK_NAME = 'NotionToObsidianSync';
|
|
23
|
-
|
|
24
|
-
// ─── 실행 배치 파일 생성 ───
|
|
25
|
-
function createBatchFile() {
|
|
26
|
-
const batchPath = path.join(__dirname, 'run-sync.bat');
|
|
27
|
-
const logFile = path.join(LOG_DIR, 'sync-%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2%.log');
|
|
28
|
-
|
|
29
|
-
const batchContent = `@echo off
|
|
30
|
-
REM 로컬 PDCA 업로드 + 노션→옵시디언 자동 동기화 (Windows 작업 스케줄러용)
|
|
31
|
-
REM 생성일: ${new Date().toISOString().slice(0, 10)}
|
|
32
|
-
|
|
33
|
-
cd /d "${__dirname}"
|
|
34
|
-
mkdir logs 2>nul
|
|
35
|
-
|
|
36
|
-
echo [%DATE% %TIME%] ===== 업로드+동기화 시작 ===== >> "${logFile}"
|
|
37
|
-
|
|
38
|
-
echo [%DATE% %TIME%] [1/2] 로컬 PDCA → 노션 업로드 >> "${logFile}"
|
|
39
|
-
node "${path.join(__dirname, 'upload-pdca-to-notion.mjs')}" >> "${logFile}" 2>&1
|
|
40
|
-
echo [%DATE% %TIME%] 업로드 완료 (exit code: %ERRORLEVEL%) >> "${logFile}"
|
|
41
|
-
|
|
42
|
-
echo [%DATE% %TIME%] [2/2] 노션 → 옵시디언 동기화 >> "${logFile}"
|
|
43
|
-
node "${SCRIPT_PATH}" >> "${logFile}" 2>&1
|
|
44
|
-
echo [%DATE% %TIME%] 동기화 완료 (exit code: %ERRORLEVEL%) >> "${logFile}"
|
|
45
|
-
|
|
46
|
-
echo [%DATE% %TIME%] ===== 전체 완료 ===== >> "${logFile}"
|
|
47
|
-
`;
|
|
48
|
-
|
|
49
|
-
fs.writeFileSync(batchPath, batchContent, 'utf-8');
|
|
50
|
-
console.log(`✅ 배치 파일 생성: ${batchPath}`);
|
|
51
|
-
return batchPath;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// ─── 작업 스케줄러 등록 ───
|
|
55
|
-
function registerTask(batchPath) {
|
|
56
|
-
// 기존 작업 삭제 (존재하는 경우)
|
|
57
|
-
try {
|
|
58
|
-
execSync(`schtasks /delete /tn "${TASK_NAME}" /f`, { stdio: 'pipe' });
|
|
59
|
-
console.log(`🗑️ 기존 작업 "${TASK_NAME}" 삭제됨`);
|
|
60
|
-
} catch {
|
|
61
|
-
// 작업이 없으면 무시
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// 새 작업 등록 (매일 오전 7시) — Node.js 런처 사용 (한글 경로 안정)
|
|
65
|
-
const runScript = path.join(__dirname, 'run-sync.mjs');
|
|
66
|
-
// node 절대경로 사용 — 스케줄러 실행 계정에서 PATH가 다를 수 있음
|
|
67
|
-
const nodePath = process.execPath;
|
|
68
|
-
const cmd = `schtasks /create /tn "${TASK_NAME}" /tr "\\"${nodePath}\\" \\"${runScript}\\"" /sc daily /st 07:00 /f`;
|
|
69
|
-
|
|
70
|
-
try {
|
|
71
|
-
execSync(cmd, { stdio: 'pipe' });
|
|
72
|
-
console.log(`✅ 작업 스케줄러 등록 완료: "${TASK_NAME}"`);
|
|
73
|
-
console.log(` ⏰ 실행 시간: 매일 오전 7:00`);
|
|
74
|
-
console.log(` 📄 실행 파일: ${batchPath}`);
|
|
75
|
-
console.log(` 📁 로그 경로: ${LOG_DIR}/`);
|
|
76
|
-
} catch (err) {
|
|
77
|
-
console.error(`❌ 작업 등록 실패: ${err.message}`);
|
|
78
|
-
console.log('');
|
|
79
|
-
console.log('💡 관리자 권한으로 다시 시도해주세요:');
|
|
80
|
-
console.log(` ${cmd}`);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// ─── 작업 제거 ───
|
|
85
|
-
function removeTask() {
|
|
86
|
-
try {
|
|
87
|
-
execSync(`schtasks /delete /tn "${TASK_NAME}" /f`, { stdio: 'pipe' });
|
|
88
|
-
console.log(`✅ 작업 "${TASK_NAME}" 제거 완료`);
|
|
89
|
-
} catch {
|
|
90
|
-
console.log(`ℹ️ 작업 "${TASK_NAME}"이 존재하지 않습니다.`);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// ─── 메인 실행 ───
|
|
95
|
-
const args = process.argv.slice(2);
|
|
96
|
-
|
|
97
|
-
console.log('');
|
|
98
|
-
console.log('╔══════════════════════════════════════════════╗');
|
|
99
|
-
console.log('║ ⏰ 동기화 스케줄러 설정 ║');
|
|
100
|
-
console.log('╚══════════════════════════════════════════════╝');
|
|
101
|
-
console.log('');
|
|
102
|
-
|
|
103
|
-
if (args.includes('--remove')) {
|
|
104
|
-
removeTask();
|
|
105
|
-
} else {
|
|
106
|
-
fs.mkdirSync(LOG_DIR, { recursive: true });
|
|
107
|
-
const batchPath = createBatchFile();
|
|
108
|
-
registerTask(batchPath);
|
|
109
|
-
|
|
110
|
-
console.log('');
|
|
111
|
-
console.log('📋 확인 명령어:');
|
|
112
|
-
console.log(` schtasks /query /tn "${TASK_NAME}" /v /fo list`);
|
|
113
|
-
console.log('');
|
|
114
|
-
console.log('🧪 수동 테스트:');
|
|
115
|
-
console.log(` node "${SCRIPT_PATH}"`);
|
|
116
|
-
console.log('');
|
|
117
|
-
console.log('🗑️ 제거:');
|
|
118
|
-
console.log(` node "${path.basename(new URL(import.meta.url).pathname)}" --remove`);
|
|
119
|
-
}
|