opentasks 0.0.1 → 0.0.2
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/README.md +344 -1
- package/dist/__tests__/cli-tools.test.d.ts +8 -0
- package/dist/__tests__/cli-tools.test.d.ts.map +1 -0
- package/dist/__tests__/cli-tools.test.js +546 -0
- package/dist/__tests__/cli-tools.test.js.map +1 -0
- package/dist/__tests__/cli.test.d.ts +5 -0
- package/dist/__tests__/cli.test.d.ts.map +1 -0
- package/dist/__tests__/cli.test.js +77 -0
- package/dist/__tests__/cli.test.js.map +1 -0
- package/dist/__tests__/p1-p3-gaps.test.d.ts +2 -0
- package/dist/__tests__/p1-p3-gaps.test.d.ts.map +1 -0
- package/dist/__tests__/p1-p3-gaps.test.js +463 -0
- package/dist/__tests__/p1-p3-gaps.test.js.map +1 -0
- package/dist/cli.d.ts +19 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +702 -23
- package/dist/cli.js.map +1 -1
- package/dist/client/__tests__/client-crud.test.d.ts +7 -0
- package/dist/client/__tests__/client-crud.test.d.ts.map +1 -0
- package/dist/client/__tests__/client-crud.test.js +404 -0
- package/dist/client/__tests__/client-crud.test.js.map +1 -0
- package/dist/client/__tests__/client.test.d.ts +5 -0
- package/dist/client/__tests__/client.test.d.ts.map +1 -0
- package/dist/client/__tests__/client.test.js +518 -0
- package/dist/client/__tests__/client.test.js.map +1 -0
- package/dist/client/client.d.ts +228 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +393 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/index.d.ts +11 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +9 -0
- package/dist/client/index.js.map +1 -0
- package/dist/config/__tests__/defaults.test.d.ts +2 -0
- package/dist/config/__tests__/defaults.test.d.ts.map +1 -0
- package/dist/config/__tests__/defaults.test.js +57 -0
- package/dist/config/__tests__/defaults.test.js.map +1 -0
- package/dist/config/__tests__/env.test.d.ts +2 -0
- package/dist/config/__tests__/env.test.d.ts.map +1 -0
- package/dist/config/__tests__/env.test.js +136 -0
- package/dist/config/__tests__/env.test.js.map +1 -0
- package/dist/config/__tests__/index.test.d.ts +2 -0
- package/dist/config/__tests__/index.test.d.ts.map +1 -0
- package/dist/config/__tests__/index.test.js +113 -0
- package/dist/config/__tests__/index.test.js.map +1 -0
- package/dist/config/__tests__/loader.test.d.ts +2 -0
- package/dist/config/__tests__/loader.test.d.ts.map +1 -0
- package/dist/config/__tests__/loader.test.js +128 -0
- package/dist/config/__tests__/loader.test.js.map +1 -0
- package/dist/config/__tests__/merge.test.d.ts +2 -0
- package/dist/config/__tests__/merge.test.d.ts.map +1 -0
- package/dist/config/__tests__/merge.test.js +79 -0
- package/dist/config/__tests__/merge.test.js.map +1 -0
- package/dist/config/__tests__/schema.test.d.ts +2 -0
- package/dist/config/__tests__/schema.test.d.ts.map +1 -0
- package/dist/config/__tests__/schema.test.js +300 -0
- package/dist/config/__tests__/schema.test.js.map +1 -0
- package/dist/config/defaults.d.ts +13 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +15 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/env.d.ts +14 -0
- package/dist/config/env.d.ts.map +1 -0
- package/dist/config/env.js +130 -0
- package/dist/config/env.js.map +1 -0
- package/dist/config/errors.d.ts +21 -0
- package/dist/config/errors.d.ts.map +1 -0
- package/dist/config/errors.js +30 -0
- package/dist/config/errors.js.map +1 -0
- package/dist/config/index.d.ts +21 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +41 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/loader.d.ts +8 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +87 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/merge.d.ts +12 -0
- package/dist/config/merge.d.ts.map +1 -0
- package/dist/config/merge.js +54 -0
- package/dist/config/merge.js.map +1 -0
- package/dist/config/schema.d.ts +644 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +491 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/core/__tests__/conditional-redirects.test.d.ts +2 -0
- package/dist/core/__tests__/conditional-redirects.test.d.ts.map +1 -0
- package/dist/core/__tests__/conditional-redirects.test.js +83 -0
- package/dist/core/__tests__/conditional-redirects.test.js.map +1 -0
- package/dist/core/__tests__/connections.test.d.ts +2 -0
- package/dist/core/__tests__/connections.test.d.ts.map +1 -0
- package/dist/core/__tests__/connections.test.js +158 -0
- package/dist/core/__tests__/connections.test.js.map +1 -0
- package/dist/core/__tests__/hash.test.d.ts +2 -0
- package/dist/core/__tests__/hash.test.d.ts.map +1 -0
- package/dist/core/__tests__/hash.test.js +139 -0
- package/dist/core/__tests__/hash.test.js.map +1 -0
- package/dist/core/__tests__/id.test.d.ts +2 -0
- package/dist/core/__tests__/id.test.d.ts.map +1 -0
- package/dist/core/__tests__/id.test.js +142 -0
- package/dist/core/__tests__/id.test.js.map +1 -0
- package/dist/core/__tests__/location.test.d.ts +2 -0
- package/dist/core/__tests__/location.test.d.ts.map +1 -0
- package/dist/core/__tests__/location.test.js +77 -0
- package/dist/core/__tests__/location.test.js.map +1 -0
- package/dist/core/__tests__/merge-driver.test.d.ts +2 -0
- package/dist/core/__tests__/merge-driver.test.d.ts.map +1 -0
- package/dist/core/__tests__/merge-driver.test.js +218 -0
- package/dist/core/__tests__/merge-driver.test.js.map +1 -0
- package/dist/core/__tests__/redirects.test.d.ts +2 -0
- package/dist/core/__tests__/redirects.test.d.ts.map +1 -0
- package/dist/core/__tests__/redirects.test.js +123 -0
- package/dist/core/__tests__/redirects.test.js.map +1 -0
- package/dist/core/__tests__/resolve-location-target.test.d.ts +8 -0
- package/dist/core/__tests__/resolve-location-target.test.d.ts.map +1 -0
- package/dist/core/__tests__/resolve-location-target.test.js +303 -0
- package/dist/core/__tests__/resolve-location-target.test.js.map +1 -0
- package/dist/core/__tests__/uri.test.d.ts +2 -0
- package/dist/core/__tests__/uri.test.d.ts.map +1 -0
- package/dist/core/__tests__/uri.test.js +159 -0
- package/dist/core/__tests__/uri.test.js.map +1 -0
- package/dist/core/__tests__/worktree.test.d.ts +2 -0
- package/dist/core/__tests__/worktree.test.d.ts.map +1 -0
- package/dist/core/__tests__/worktree.test.js +120 -0
- package/dist/core/__tests__/worktree.test.js.map +1 -0
- package/dist/core/conditional-redirects.d.ts +42 -0
- package/dist/core/conditional-redirects.d.ts.map +1 -0
- package/dist/core/conditional-redirects.js +59 -0
- package/dist/core/conditional-redirects.js.map +1 -0
- package/dist/core/connections.d.ts +87 -0
- package/dist/core/connections.d.ts.map +1 -0
- package/dist/core/connections.js +160 -0
- package/dist/core/connections.js.map +1 -0
- package/dist/core/discover.d.ts +39 -0
- package/dist/core/discover.d.ts.map +1 -0
- package/dist/core/discover.js +136 -0
- package/dist/core/discover.js.map +1 -0
- package/dist/core/hash.d.ts +25 -0
- package/dist/core/hash.d.ts.map +1 -0
- package/dist/core/hash.js +62 -0
- package/dist/core/hash.js.map +1 -0
- package/dist/core/id.d.ts +79 -0
- package/dist/core/id.d.ts.map +1 -0
- package/dist/core/id.js +141 -0
- package/dist/core/id.js.map +1 -0
- package/dist/core/index.d.ts +15 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +24 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/location.d.ts +70 -0
- package/dist/core/location.d.ts.map +1 -0
- package/dist/core/location.js +121 -0
- package/dist/core/location.js.map +1 -0
- package/dist/core/merge-driver.d.ts +50 -0
- package/dist/core/merge-driver.d.ts.map +1 -0
- package/dist/core/merge-driver.js +258 -0
- package/dist/core/merge-driver.js.map +1 -0
- package/dist/core/redirects.d.ts +91 -0
- package/dist/core/redirects.d.ts.map +1 -0
- package/dist/core/redirects.js +113 -0
- package/dist/core/redirects.js.map +1 -0
- package/dist/core/uri.d.ts +105 -0
- package/dist/core/uri.d.ts.map +1 -0
- package/dist/core/uri.js +190 -0
- package/dist/core/uri.js.map +1 -0
- package/dist/core/worktree.d.ts +106 -0
- package/dist/core/worktree.d.ts.map +1 -0
- package/dist/core/worktree.js +394 -0
- package/dist/core/worktree.js.map +1 -0
- package/dist/daemon/__tests__/flush.test.d.ts +5 -0
- package/dist/daemon/__tests__/flush.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/flush.test.js +213 -0
- package/dist/daemon/__tests__/flush.test.js.map +1 -0
- package/dist/daemon/__tests__/integration.test.d.ts +7 -0
- package/dist/daemon/__tests__/integration.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/integration.test.js +276 -0
- package/dist/daemon/__tests__/integration.test.js.map +1 -0
- package/dist/daemon/__tests__/ipc.test.d.ts +5 -0
- package/dist/daemon/__tests__/ipc.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/ipc.test.js +314 -0
- package/dist/daemon/__tests__/ipc.test.js.map +1 -0
- package/dist/daemon/__tests__/lifecycle.test.d.ts +5 -0
- package/dist/daemon/__tests__/lifecycle.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/lifecycle.test.js +301 -0
- package/dist/daemon/__tests__/lifecycle.test.js.map +1 -0
- package/dist/daemon/__tests__/lock.test.d.ts +5 -0
- package/dist/daemon/__tests__/lock.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/lock.test.js +192 -0
- package/dist/daemon/__tests__/lock.test.js.map +1 -0
- package/dist/daemon/__tests__/methods/graph.test.d.ts +5 -0
- package/dist/daemon/__tests__/methods/graph.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/methods/graph.test.js +309 -0
- package/dist/daemon/__tests__/methods/graph.test.js.map +1 -0
- package/dist/daemon/__tests__/methods/provider.test.d.ts +7 -0
- package/dist/daemon/__tests__/methods/provider.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/methods/provider.test.js +181 -0
- package/dist/daemon/__tests__/methods/provider.test.js.map +1 -0
- package/dist/daemon/__tests__/methods/tools.test.d.ts +5 -0
- package/dist/daemon/__tests__/methods/tools.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/methods/tools.test.js +587 -0
- package/dist/daemon/__tests__/methods/tools.test.js.map +1 -0
- package/dist/daemon/__tests__/multi-location.test.d.ts +8 -0
- package/dist/daemon/__tests__/multi-location.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/multi-location.test.js +669 -0
- package/dist/daemon/__tests__/multi-location.test.js.map +1 -0
- package/dist/daemon/__tests__/registry.test.d.ts +5 -0
- package/dist/daemon/__tests__/registry.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/registry.test.js +208 -0
- package/dist/daemon/__tests__/registry.test.js.map +1 -0
- package/dist/daemon/__tests__/watcher.test.d.ts +5 -0
- package/dist/daemon/__tests__/watcher.test.d.ts.map +1 -0
- package/dist/daemon/__tests__/watcher.test.js +234 -0
- package/dist/daemon/__tests__/watcher.test.js.map +1 -0
- package/dist/daemon/entire-linker.d.ts +68 -0
- package/dist/daemon/entire-linker.d.ts.map +1 -0
- package/dist/daemon/entire-linker.js +439 -0
- package/dist/daemon/entire-linker.js.map +1 -0
- package/dist/daemon/entire-watcher.d.ts +66 -0
- package/dist/daemon/entire-watcher.d.ts.map +1 -0
- package/dist/daemon/entire-watcher.js +258 -0
- package/dist/daemon/entire-watcher.js.map +1 -0
- package/dist/daemon/factory.d.ts +59 -0
- package/dist/daemon/factory.d.ts.map +1 -0
- package/dist/daemon/factory.js +72 -0
- package/dist/daemon/factory.js.map +1 -0
- package/dist/daemon/flush.d.ts +51 -0
- package/dist/daemon/flush.d.ts.map +1 -0
- package/dist/daemon/flush.js +89 -0
- package/dist/daemon/flush.js.map +1 -0
- package/dist/daemon/index.d.ts +39 -0
- package/dist/daemon/index.d.ts.map +1 -0
- package/dist/daemon/index.js +24 -0
- package/dist/daemon/index.js.map +1 -0
- package/dist/daemon/ipc.d.ts +97 -0
- package/dist/daemon/ipc.d.ts.map +1 -0
- package/dist/daemon/ipc.js +304 -0
- package/dist/daemon/ipc.js.map +1 -0
- package/dist/daemon/lifecycle.d.ts +85 -0
- package/dist/daemon/lifecycle.d.ts.map +1 -0
- package/dist/daemon/lifecycle.js +754 -0
- package/dist/daemon/lifecycle.js.map +1 -0
- package/dist/daemon/location-state.d.ts +85 -0
- package/dist/daemon/location-state.d.ts.map +1 -0
- package/dist/daemon/location-state.js +291 -0
- package/dist/daemon/location-state.js.map +1 -0
- package/dist/daemon/lock.d.ts +29 -0
- package/dist/daemon/lock.d.ts.map +1 -0
- package/dist/daemon/lock.js +131 -0
- package/dist/daemon/lock.js.map +1 -0
- package/dist/daemon/methods/__tests__/graph.test.d.ts +5 -0
- package/dist/daemon/methods/__tests__/graph.test.d.ts.map +1 -0
- package/dist/daemon/methods/__tests__/graph.test.js +274 -0
- package/dist/daemon/methods/__tests__/graph.test.js.map +1 -0
- package/dist/daemon/methods/__tests__/provider.test.d.ts +5 -0
- package/dist/daemon/methods/__tests__/provider.test.d.ts.map +1 -0
- package/dist/daemon/methods/__tests__/provider.test.js +184 -0
- package/dist/daemon/methods/__tests__/provider.test.js.map +1 -0
- package/dist/daemon/methods/__tests__/tools.test.d.ts +5 -0
- package/dist/daemon/methods/__tests__/tools.test.d.ts.map +1 -0
- package/dist/daemon/methods/__tests__/tools.test.js +295 -0
- package/dist/daemon/methods/__tests__/tools.test.js.map +1 -0
- package/dist/daemon/methods/archive.d.ts +22 -0
- package/dist/daemon/methods/archive.d.ts.map +1 -0
- package/dist/daemon/methods/archive.js +107 -0
- package/dist/daemon/methods/archive.js.map +1 -0
- package/dist/daemon/methods/graph.d.ts +26 -0
- package/dist/daemon/methods/graph.d.ts.map +1 -0
- package/dist/daemon/methods/graph.js +157 -0
- package/dist/daemon/methods/graph.js.map +1 -0
- package/dist/daemon/methods/lifecycle.d.ts +54 -0
- package/dist/daemon/methods/lifecycle.d.ts.map +1 -0
- package/dist/daemon/methods/lifecycle.js +46 -0
- package/dist/daemon/methods/lifecycle.js.map +1 -0
- package/dist/daemon/methods/location.d.ts +24 -0
- package/dist/daemon/methods/location.d.ts.map +1 -0
- package/dist/daemon/methods/location.js +72 -0
- package/dist/daemon/methods/location.js.map +1 -0
- package/dist/daemon/methods/provider.d.ts +22 -0
- package/dist/daemon/methods/provider.d.ts.map +1 -0
- package/dist/daemon/methods/provider.js +72 -0
- package/dist/daemon/methods/provider.js.map +1 -0
- package/dist/daemon/methods/tools.d.ts +23 -0
- package/dist/daemon/methods/tools.d.ts.map +1 -0
- package/dist/daemon/methods/tools.js +111 -0
- package/dist/daemon/methods/tools.js.map +1 -0
- package/dist/daemon/registry.d.ts +35 -0
- package/dist/daemon/registry.d.ts.map +1 -0
- package/dist/daemon/registry.js +189 -0
- package/dist/daemon/registry.js.map +1 -0
- package/dist/daemon/types.d.ts +101 -0
- package/dist/daemon/types.d.ts.map +1 -0
- package/dist/daemon/types.js +19 -0
- package/dist/daemon/types.js.map +1 -0
- package/dist/daemon/watcher.d.ts +62 -0
- package/dist/daemon/watcher.d.ts.map +1 -0
- package/dist/daemon/watcher.js +142 -0
- package/dist/daemon/watcher.js.map +1 -0
- package/dist/graph/EdgeTypeRegistry.d.ts +134 -0
- package/dist/graph/EdgeTypeRegistry.d.ts.map +1 -0
- package/dist/graph/EdgeTypeRegistry.js +255 -0
- package/dist/graph/EdgeTypeRegistry.js.map +1 -0
- package/dist/graph/FederatedGraph.d.ts +296 -0
- package/dist/graph/FederatedGraph.d.ts.map +1 -0
- package/dist/graph/FederatedGraph.js +406 -0
- package/dist/graph/FederatedGraph.js.map +1 -0
- package/dist/graph/GraphologyAdapter.d.ts +151 -0
- package/dist/graph/GraphologyAdapter.d.ts.map +1 -0
- package/dist/graph/GraphologyAdapter.js +209 -0
- package/dist/graph/GraphologyAdapter.js.map +1 -0
- package/dist/graph/HydratingFederatedGraph.d.ts +151 -0
- package/dist/graph/HydratingFederatedGraph.d.ts.map +1 -0
- package/dist/graph/HydratingFederatedGraph.js +327 -0
- package/dist/graph/HydratingFederatedGraph.js.map +1 -0
- package/dist/graph/__tests__/EdgeTypeRegistry.test.d.ts +2 -0
- package/dist/graph/__tests__/EdgeTypeRegistry.test.d.ts.map +1 -0
- package/dist/graph/__tests__/EdgeTypeRegistry.test.js +212 -0
- package/dist/graph/__tests__/EdgeTypeRegistry.test.js.map +1 -0
- package/dist/graph/__tests__/FederatedGraph.test.d.ts +2 -0
- package/dist/graph/__tests__/FederatedGraph.test.d.ts.map +1 -0
- package/dist/graph/__tests__/FederatedGraph.test.js +661 -0
- package/dist/graph/__tests__/FederatedGraph.test.js.map +1 -0
- package/dist/graph/__tests__/GraphologyAdapter.test.d.ts +2 -0
- package/dist/graph/__tests__/GraphologyAdapter.test.d.ts.map +1 -0
- package/dist/graph/__tests__/GraphologyAdapter.test.js +326 -0
- package/dist/graph/__tests__/GraphologyAdapter.test.js.map +1 -0
- package/dist/graph/__tests__/HydratingFederatedGraph.test.d.ts +2 -0
- package/dist/graph/__tests__/HydratingFederatedGraph.test.d.ts.map +1 -0
- package/dist/graph/__tests__/HydratingFederatedGraph.test.js +587 -0
- package/dist/graph/__tests__/HydratingFederatedGraph.test.js.map +1 -0
- package/dist/graph/__tests__/debounce.test.d.ts +5 -0
- package/dist/graph/__tests__/debounce.test.d.ts.map +1 -0
- package/dist/graph/__tests__/debounce.test.js +195 -0
- package/dist/graph/__tests__/debounce.test.js.map +1 -0
- package/dist/graph/__tests__/edge-cases.test.d.ts +8 -0
- package/dist/graph/__tests__/edge-cases.test.d.ts.map +1 -0
- package/dist/graph/__tests__/edge-cases.test.js +472 -0
- package/dist/graph/__tests__/edge-cases.test.js.map +1 -0
- package/dist/graph/__tests__/expansion.test.d.ts +2 -0
- package/dist/graph/__tests__/expansion.test.d.ts.map +1 -0
- package/dist/graph/__tests__/expansion.test.js +105 -0
- package/dist/graph/__tests__/expansion.test.js.map +1 -0
- package/dist/graph/__tests__/provider-store.test.d.ts +5 -0
- package/dist/graph/__tests__/provider-store.test.d.ts.map +1 -0
- package/dist/graph/__tests__/provider-store.test.js +791 -0
- package/dist/graph/__tests__/provider-store.test.js.map +1 -0
- package/dist/graph/__tests__/query.test.d.ts +5 -0
- package/dist/graph/__tests__/query.test.d.ts.map +1 -0
- package/dist/graph/__tests__/query.test.js +774 -0
- package/dist/graph/__tests__/query.test.js.map +1 -0
- package/dist/graph/__tests__/store.test.d.ts +5 -0
- package/dist/graph/__tests__/store.test.d.ts.map +1 -0
- package/dist/graph/__tests__/store.test.js +489 -0
- package/dist/graph/__tests__/store.test.js.map +1 -0
- package/dist/graph/__tests__/sync.test.d.ts +5 -0
- package/dist/graph/__tests__/sync.test.d.ts.map +1 -0
- package/dist/graph/__tests__/sync.test.js +129 -0
- package/dist/graph/__tests__/sync.test.js.map +1 -0
- package/dist/graph/__tests__/validation.test.d.ts +2 -0
- package/dist/graph/__tests__/validation.test.d.ts.map +1 -0
- package/dist/graph/__tests__/validation.test.js +521 -0
- package/dist/graph/__tests__/validation.test.js.map +1 -0
- package/dist/graph/coordination.d.ts +190 -0
- package/dist/graph/coordination.d.ts.map +1 -0
- package/dist/graph/coordination.js +180 -0
- package/dist/graph/coordination.js.map +1 -0
- package/dist/graph/debounce.d.ts +47 -0
- package/dist/graph/debounce.d.ts.map +1 -0
- package/dist/graph/debounce.js +95 -0
- package/dist/graph/debounce.js.map +1 -0
- package/dist/graph/expansion.d.ts +64 -0
- package/dist/graph/expansion.d.ts.map +1 -0
- package/dist/graph/expansion.js +205 -0
- package/dist/graph/expansion.js.map +1 -0
- package/dist/graph/history.d.ts +186 -0
- package/dist/graph/history.d.ts.map +1 -0
- package/dist/graph/history.js +155 -0
- package/dist/graph/history.js.map +1 -0
- package/dist/graph/index.d.ts +35 -0
- package/dist/graph/index.d.ts.map +1 -0
- package/dist/graph/index.js +22 -0
- package/dist/graph/index.js.map +1 -0
- package/dist/graph/provider-store.d.ts +211 -0
- package/dist/graph/provider-store.d.ts.map +1 -0
- package/dist/graph/provider-store.js +568 -0
- package/dist/graph/provider-store.js.map +1 -0
- package/dist/graph/query.d.ts +90 -0
- package/dist/graph/query.d.ts.map +1 -0
- package/dist/graph/query.js +463 -0
- package/dist/graph/query.js.map +1 -0
- package/dist/graph/store.d.ts +71 -0
- package/dist/graph/store.d.ts.map +1 -0
- package/dist/graph/store.js +530 -0
- package/dist/graph/store.js.map +1 -0
- package/dist/graph/sync.d.ts +48 -0
- package/dist/graph/sync.d.ts.map +1 -0
- package/dist/graph/sync.js +60 -0
- package/dist/graph/sync.js.map +1 -0
- package/dist/graph/types.d.ts +289 -0
- package/dist/graph/types.d.ts.map +1 -0
- package/dist/graph/types.js +19 -0
- package/dist/graph/types.js.map +1 -0
- package/dist/graph/validation.d.ts +26 -0
- package/dist/graph/validation.d.ts.map +1 -0
- package/dist/graph/validation.js +338 -0
- package/dist/graph/validation.js.map +1 -0
- package/dist/index.d.ts +25 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -25
- package/dist/index.js.map +1 -1
- package/dist/materialization/archiver.d.ts +12 -0
- package/dist/materialization/archiver.d.ts.map +1 -0
- package/dist/materialization/archiver.js +273 -0
- package/dist/materialization/archiver.js.map +1 -0
- package/dist/materialization/git-archive-store.d.ts +17 -0
- package/dist/materialization/git-archive-store.d.ts.map +1 -0
- package/dist/materialization/git-archive-store.js +509 -0
- package/dist/materialization/git-archive-store.js.map +1 -0
- package/dist/materialization/git-remote-store.d.ts +22 -0
- package/dist/materialization/git-remote-store.d.ts.map +1 -0
- package/dist/materialization/git-remote-store.js +448 -0
- package/dist/materialization/git-remote-store.js.map +1 -0
- package/dist/materialization/graph-id.d.ts +53 -0
- package/dist/materialization/graph-id.d.ts.map +1 -0
- package/dist/materialization/graph-id.js +163 -0
- package/dist/materialization/graph-id.js.map +1 -0
- package/dist/materialization/http-remote-store.d.ts +12 -0
- package/dist/materialization/http-remote-store.d.ts.map +1 -0
- package/dist/materialization/http-remote-store.js +143 -0
- package/dist/materialization/http-remote-store.js.map +1 -0
- package/dist/materialization/index.d.ts +15 -0
- package/dist/materialization/index.d.ts.map +1 -0
- package/dist/materialization/index.js +17 -0
- package/dist/materialization/index.js.map +1 -0
- package/dist/materialization/remote-store-factory.d.ts +17 -0
- package/dist/materialization/remote-store-factory.d.ts.map +1 -0
- package/dist/materialization/remote-store-factory.js +46 -0
- package/dist/materialization/remote-store-factory.js.map +1 -0
- package/dist/materialization/snapshot.d.ts +34 -0
- package/dist/materialization/snapshot.d.ts.map +1 -0
- package/dist/materialization/snapshot.js +177 -0
- package/dist/materialization/snapshot.js.map +1 -0
- package/dist/materialization/types.d.ts +300 -0
- package/dist/materialization/types.d.ts.map +1 -0
- package/dist/materialization/types.js +17 -0
- package/dist/materialization/types.js.map +1 -0
- package/dist/providers/__tests__/beads.test.d.ts +5 -0
- package/dist/providers/__tests__/beads.test.d.ts.map +1 -0
- package/dist/providers/__tests__/beads.test.js +591 -0
- package/dist/providers/__tests__/beads.test.js.map +1 -0
- package/dist/providers/__tests__/claude-tasks.test.d.ts +5 -0
- package/dist/providers/__tests__/claude-tasks.test.d.ts.map +1 -0
- package/dist/providers/__tests__/claude-tasks.test.js +392 -0
- package/dist/providers/__tests__/claude-tasks.test.js.map +1 -0
- package/dist/providers/__tests__/from-config.test.d.ts +5 -0
- package/dist/providers/__tests__/from-config.test.d.ts.map +1 -0
- package/dist/providers/__tests__/from-config.test.js +152 -0
- package/dist/providers/__tests__/from-config.test.js.map +1 -0
- package/dist/providers/__tests__/materialization.test.d.ts +5 -0
- package/dist/providers/__tests__/materialization.test.d.ts.map +1 -0
- package/dist/providers/__tests__/materialization.test.js +407 -0
- package/dist/providers/__tests__/materialization.test.js.map +1 -0
- package/dist/providers/__tests__/native.test.d.ts +5 -0
- package/dist/providers/__tests__/native.test.d.ts.map +1 -0
- package/dist/providers/__tests__/native.test.js +566 -0
- package/dist/providers/__tests__/native.test.js.map +1 -0
- package/dist/providers/__tests__/registry.test.d.ts +5 -0
- package/dist/providers/__tests__/registry.test.d.ts.map +1 -0
- package/dist/providers/__tests__/registry.test.js +183 -0
- package/dist/providers/__tests__/registry.test.js.map +1 -0
- package/dist/providers/beads.d.ts +46 -0
- package/dist/providers/beads.d.ts.map +1 -0
- package/dist/providers/beads.js +865 -0
- package/dist/providers/beads.js.map +1 -0
- package/dist/providers/claude-tasks.d.ts +56 -0
- package/dist/providers/claude-tasks.d.ts.map +1 -0
- package/dist/providers/claude-tasks.js +282 -0
- package/dist/providers/claude-tasks.js.map +1 -0
- package/dist/providers/entire.d.ts +88 -0
- package/dist/providers/entire.d.ts.map +1 -0
- package/dist/providers/entire.js +409 -0
- package/dist/providers/entire.js.map +1 -0
- package/dist/providers/from-config.d.ts +47 -0
- package/dist/providers/from-config.d.ts.map +1 -0
- package/dist/providers/from-config.js +150 -0
- package/dist/providers/from-config.js.map +1 -0
- package/dist/providers/index.d.ts +26 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +29 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/location.d.ts +44 -0
- package/dist/providers/location.d.ts.map +1 -0
- package/dist/providers/location.js +157 -0
- package/dist/providers/location.js.map +1 -0
- package/dist/providers/materialization.d.ts +46 -0
- package/dist/providers/materialization.d.ts.map +1 -0
- package/dist/providers/materialization.js +237 -0
- package/dist/providers/materialization.js.map +1 -0
- package/dist/providers/native.d.ts +32 -0
- package/dist/providers/native.d.ts.map +1 -0
- package/dist/providers/native.js +552 -0
- package/dist/providers/native.js.map +1 -0
- package/dist/providers/registry.d.ts +11 -0
- package/dist/providers/registry.d.ts.map +1 -0
- package/dist/providers/registry.js +97 -0
- package/dist/providers/registry.js.map +1 -0
- package/dist/providers/sudocode.d.ts +49 -0
- package/dist/providers/sudocode.d.ts.map +1 -0
- package/dist/providers/sudocode.js +945 -0
- package/dist/providers/sudocode.js.map +1 -0
- package/dist/providers/sync.d.ts +299 -0
- package/dist/providers/sync.d.ts.map +1 -0
- package/dist/providers/sync.js +93 -0
- package/dist/providers/sync.js.map +1 -0
- package/dist/providers/traits/RelationshipQueryable.d.ts +129 -0
- package/dist/providers/traits/RelationshipQueryable.d.ts.map +1 -0
- package/dist/providers/traits/RelationshipQueryable.js +68 -0
- package/dist/providers/traits/RelationshipQueryable.js.map +1 -0
- package/dist/providers/traits/TaskManageable.d.ts +157 -0
- package/dist/providers/traits/TaskManageable.d.ts.map +1 -0
- package/dist/providers/traits/TaskManageable.js +37 -0
- package/dist/providers/traits/TaskManageable.js.map +1 -0
- package/dist/providers/traits/Watchable.d.ts +216 -0
- package/dist/providers/traits/Watchable.d.ts.map +1 -0
- package/dist/providers/traits/Watchable.js +37 -0
- package/dist/providers/traits/Watchable.js.map +1 -0
- package/dist/providers/traits/__tests__/RelationshipQueryable.test.d.ts +2 -0
- package/dist/providers/traits/__tests__/RelationshipQueryable.test.d.ts.map +1 -0
- package/dist/providers/traits/__tests__/RelationshipQueryable.test.js +169 -0
- package/dist/providers/traits/__tests__/RelationshipQueryable.test.js.map +1 -0
- package/dist/providers/traits/__tests__/TaskManageable.test.d.ts +2 -0
- package/dist/providers/traits/__tests__/TaskManageable.test.d.ts.map +1 -0
- package/dist/providers/traits/__tests__/TaskManageable.test.js +172 -0
- package/dist/providers/traits/__tests__/TaskManageable.test.js.map +1 -0
- package/dist/providers/traits/index.d.ts +13 -0
- package/dist/providers/traits/index.d.ts.map +1 -0
- package/dist/providers/traits/index.js +10 -0
- package/dist/providers/traits/index.js.map +1 -0
- package/dist/providers/types.d.ts +284 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +30 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/schema/__tests__/validation.test.d.ts +2 -0
- package/dist/schema/__tests__/validation.test.d.ts.map +1 -0
- package/dist/schema/__tests__/validation.test.js +241 -0
- package/dist/schema/__tests__/validation.test.js.map +1 -0
- package/dist/schema/base.d.ts +68 -0
- package/dist/schema/base.d.ts.map +1 -0
- package/dist/schema/base.js +5 -0
- package/dist/schema/base.js.map +1 -0
- package/dist/schema/edges.d.ts +49 -0
- package/dist/schema/edges.d.ts.map +1 -0
- package/dist/schema/edges.js +9 -0
- package/dist/schema/edges.js.map +1 -0
- package/dist/schema/index.d.ts +11 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/index.js +8 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/schema/nodes.d.ts +97 -0
- package/dist/schema/nodes.d.ts.map +1 -0
- package/dist/schema/nodes.js +5 -0
- package/dist/schema/nodes.js.map +1 -0
- package/dist/schema/storage.d.ts +107 -0
- package/dist/schema/storage.d.ts.map +1 -0
- package/dist/schema/storage.js +10 -0
- package/dist/schema/storage.js.map +1 -0
- package/dist/schema/validation.d.ts +61 -0
- package/dist/schema/validation.d.ts.map +1 -0
- package/dist/schema/validation.js +170 -0
- package/dist/schema/validation.js.map +1 -0
- package/dist/storage/__tests__/atomic-write.test.d.ts +5 -0
- package/dist/storage/__tests__/atomic-write.test.d.ts.map +1 -0
- package/dist/storage/__tests__/atomic-write.test.js +170 -0
- package/dist/storage/__tests__/atomic-write.test.js.map +1 -0
- package/dist/storage/__tests__/file-lock.test.d.ts +2 -0
- package/dist/storage/__tests__/file-lock.test.d.ts.map +1 -0
- package/dist/storage/__tests__/file-lock.test.js +89 -0
- package/dist/storage/__tests__/file-lock.test.js.map +1 -0
- package/dist/storage/__tests__/jsonl.test.d.ts +2 -0
- package/dist/storage/__tests__/jsonl.test.d.ts.map +1 -0
- package/dist/storage/__tests__/jsonl.test.js +228 -0
- package/dist/storage/__tests__/jsonl.test.js.map +1 -0
- package/dist/storage/__tests__/locked-writer.test.d.ts +2 -0
- package/dist/storage/__tests__/locked-writer.test.d.ts.map +1 -0
- package/dist/storage/__tests__/locked-writer.test.js +109 -0
- package/dist/storage/__tests__/locked-writer.test.js.map +1 -0
- package/dist/storage/__tests__/sqlite.test.d.ts +2 -0
- package/dist/storage/__tests__/sqlite.test.d.ts.map +1 -0
- package/dist/storage/__tests__/sqlite.test.js +470 -0
- package/dist/storage/__tests__/sqlite.test.js.map +1 -0
- package/dist/storage/atomic-write.d.ts +38 -0
- package/dist/storage/atomic-write.d.ts.map +1 -0
- package/dist/storage/atomic-write.js +83 -0
- package/dist/storage/atomic-write.js.map +1 -0
- package/dist/storage/file-lock.d.ts +66 -0
- package/dist/storage/file-lock.d.ts.map +1 -0
- package/dist/storage/file-lock.js +176 -0
- package/dist/storage/file-lock.js.map +1 -0
- package/dist/storage/index.d.ts +11 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +13 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/interface.d.ts +219 -0
- package/dist/storage/interface.d.ts.map +1 -0
- package/dist/storage/interface.js +22 -0
- package/dist/storage/interface.js.map +1 -0
- package/dist/storage/jsonl.d.ts +106 -0
- package/dist/storage/jsonl.d.ts.map +1 -0
- package/dist/storage/jsonl.js +218 -0
- package/dist/storage/jsonl.js.map +1 -0
- package/dist/storage/locked-writer.d.ts +67 -0
- package/dist/storage/locked-writer.d.ts.map +1 -0
- package/dist/storage/locked-writer.js +105 -0
- package/dist/storage/locked-writer.js.map +1 -0
- package/dist/storage/sqlite-schema.d.ts +48 -0
- package/dist/storage/sqlite-schema.d.ts.map +1 -0
- package/dist/storage/sqlite-schema.js +169 -0
- package/dist/storage/sqlite-schema.js.map +1 -0
- package/dist/storage/sqlite.d.ts +73 -0
- package/dist/storage/sqlite.d.ts.map +1 -0
- package/dist/storage/sqlite.js +698 -0
- package/dist/storage/sqlite.js.map +1 -0
- package/dist/tools/__tests__/annotate.test.d.ts +5 -0
- package/dist/tools/__tests__/annotate.test.d.ts.map +1 -0
- package/dist/tools/__tests__/annotate.test.js +314 -0
- package/dist/tools/__tests__/annotate.test.js.map +1 -0
- package/dist/tools/__tests__/link.test.d.ts +5 -0
- package/dist/tools/__tests__/link.test.d.ts.map +1 -0
- package/dist/tools/__tests__/link.test.js +245 -0
- package/dist/tools/__tests__/link.test.js.map +1 -0
- package/dist/tools/__tests__/query.test.d.ts +5 -0
- package/dist/tools/__tests__/query.test.d.ts.map +1 -0
- package/dist/tools/__tests__/query.test.js +288 -0
- package/dist/tools/__tests__/query.test.js.map +1 -0
- package/dist/tools/__tests__/task.test.d.ts +5 -0
- package/dist/tools/__tests__/task.test.d.ts.map +1 -0
- package/dist/tools/__tests__/task.test.js +178 -0
- package/dist/tools/__tests__/task.test.js.map +1 -0
- package/dist/tools/annotate.d.ts +17 -0
- package/dist/tools/annotate.d.ts.map +1 -0
- package/dist/tools/annotate.js +218 -0
- package/dist/tools/annotate.js.map +1 -0
- package/dist/tools/index.d.ts +14 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +14 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/link.d.ts +17 -0
- package/dist/tools/link.d.ts.map +1 -0
- package/dist/tools/link.js +127 -0
- package/dist/tools/link.js.map +1 -0
- package/dist/tools/query.d.ts +17 -0
- package/dist/tools/query.d.ts.map +1 -0
- package/dist/tools/query.js +342 -0
- package/dist/tools/query.js.map +1 -0
- package/dist/tools/task.d.ts +20 -0
- package/dist/tools/task.d.ts.map +1 -0
- package/dist/tools/task.js +161 -0
- package/dist/tools/task.js.map +1 -0
- package/dist/tools/types.d.ts +334 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +19 -0
- package/dist/tools/types.js.map +1 -0
- package/package.json +40 -5
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration schema with Zod validation
|
|
3
|
+
*
|
|
4
|
+
* Phase 2 additions: location identity, connections, role, redirects
|
|
5
|
+
*/
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
declare const LocationConfigSchemaInner: z.ZodObject<{
|
|
8
|
+
hash: z.ZodString;
|
|
9
|
+
uuid: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const LocationConfigSchema: z.ZodPipe<z.ZodOptional<z.ZodObject<{
|
|
13
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
14
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
17
|
+
hash: string;
|
|
18
|
+
uuid: string;
|
|
19
|
+
name: string;
|
|
20
|
+
} | undefined, {
|
|
21
|
+
hash?: string | undefined;
|
|
22
|
+
uuid?: string | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
} | undefined>>;
|
|
25
|
+
export type LocationConfig = z.infer<typeof LocationConfigSchemaInner>;
|
|
26
|
+
export declare const ConnectionRoleSchema: z.ZodEnum<{
|
|
27
|
+
peer: "peer";
|
|
28
|
+
parent: "parent";
|
|
29
|
+
child: "child";
|
|
30
|
+
}>;
|
|
31
|
+
export declare const ConnectionSchema: z.ZodObject<{
|
|
32
|
+
hash: z.ZodString;
|
|
33
|
+
path: z.ZodString;
|
|
34
|
+
role: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
peer: "peer";
|
|
36
|
+
parent: "parent";
|
|
37
|
+
child: "child";
|
|
38
|
+
}>>;
|
|
39
|
+
name: z.ZodDefault<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type ConnectionConfig = z.infer<typeof ConnectionSchema>;
|
|
42
|
+
export declare const RedirectOperationSchema: z.ZodEnum<{
|
|
43
|
+
read: "read";
|
|
44
|
+
write: "write";
|
|
45
|
+
}>;
|
|
46
|
+
export declare const RedirectRuleSchema: z.ZodObject<{
|
|
47
|
+
operations: z.ZodArray<z.ZodEnum<{
|
|
48
|
+
read: "read";
|
|
49
|
+
write: "write";
|
|
50
|
+
}>>;
|
|
51
|
+
pattern: z.ZodDefault<z.ZodString>;
|
|
52
|
+
target: z.ZodString;
|
|
53
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
54
|
+
fallback: z.ZodDefault<z.ZodEnum<{
|
|
55
|
+
error: "error";
|
|
56
|
+
local: "local";
|
|
57
|
+
}>>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export type RedirectRuleConfig = z.infer<typeof RedirectRuleSchema>;
|
|
60
|
+
export declare const StorageConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
61
|
+
jsonlPath: z.ZodOptional<z.ZodString>;
|
|
62
|
+
sqlitePath: z.ZodOptional<z.ZodString>;
|
|
63
|
+
autoCompactRatio: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
65
|
+
jsonlPath: string;
|
|
66
|
+
sqlitePath: string;
|
|
67
|
+
autoCompactRatio: number;
|
|
68
|
+
}, {
|
|
69
|
+
jsonlPath?: string | undefined;
|
|
70
|
+
sqlitePath?: string | undefined;
|
|
71
|
+
autoCompactRatio?: number | undefined;
|
|
72
|
+
}>>;
|
|
73
|
+
export type StorageConfig = z.infer<typeof StorageConfigSchema>;
|
|
74
|
+
export declare const DaemonConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
75
|
+
socketPath: z.ZodOptional<z.ZodString>;
|
|
76
|
+
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
flushInterval: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
79
|
+
socketPath: string;
|
|
80
|
+
autoStart: boolean;
|
|
81
|
+
flushInterval: number;
|
|
82
|
+
}, {
|
|
83
|
+
socketPath?: string | undefined;
|
|
84
|
+
autoStart?: boolean | undefined;
|
|
85
|
+
flushInterval?: number | undefined;
|
|
86
|
+
}>>;
|
|
87
|
+
export type DaemonConfig = z.infer<typeof DaemonConfigSchema>;
|
|
88
|
+
export declare const BeadsProviderConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
89
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
91
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
93
|
+
enabled: boolean;
|
|
94
|
+
executable: string;
|
|
95
|
+
timeout: number;
|
|
96
|
+
}, {
|
|
97
|
+
enabled?: boolean | undefined;
|
|
98
|
+
executable?: string | undefined;
|
|
99
|
+
timeout?: number | undefined;
|
|
100
|
+
}>>;
|
|
101
|
+
export type BeadsProviderConfig = z.infer<typeof BeadsProviderConfigSchema>;
|
|
102
|
+
export declare const ClaudeTasksProviderConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
103
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
105
|
+
enabled: boolean;
|
|
106
|
+
}, {
|
|
107
|
+
enabled?: boolean | undefined;
|
|
108
|
+
}>>;
|
|
109
|
+
export type ClaudeTasksProviderConfig = z.infer<typeof ClaudeTasksProviderConfigSchema>;
|
|
110
|
+
export declare const EntireProviderConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
111
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
113
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
autoLinkMinConfidence: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
high: "high";
|
|
117
|
+
medium: "medium";
|
|
118
|
+
low: "low";
|
|
119
|
+
}>>;
|
|
120
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
121
|
+
enabled: boolean;
|
|
122
|
+
executable: string;
|
|
123
|
+
timeout: number;
|
|
124
|
+
autoLink: boolean;
|
|
125
|
+
autoLinkMinConfidence: "high" | "medium" | "low";
|
|
126
|
+
}, {
|
|
127
|
+
enabled?: boolean | undefined;
|
|
128
|
+
executable?: string | undefined;
|
|
129
|
+
timeout?: number | undefined;
|
|
130
|
+
autoLink?: boolean | undefined;
|
|
131
|
+
autoLinkMinConfidence?: "high" | "medium" | "low" | undefined;
|
|
132
|
+
}>>;
|
|
133
|
+
export type EntireProviderConfig = z.infer<typeof EntireProviderConfigSchema>;
|
|
134
|
+
export declare const SudocodeProviderConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
135
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
137
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
139
|
+
enabled: boolean;
|
|
140
|
+
executable: string;
|
|
141
|
+
timeout: number;
|
|
142
|
+
}, {
|
|
143
|
+
enabled?: boolean | undefined;
|
|
144
|
+
executable?: string | undefined;
|
|
145
|
+
timeout?: number | undefined;
|
|
146
|
+
}>>;
|
|
147
|
+
export type SudocodeProviderConfig = z.infer<typeof SudocodeProviderConfigSchema>;
|
|
148
|
+
export declare const ProvidersConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
149
|
+
beads: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
152
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
claudeTasks: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
156
|
+
}, z.core.$strip>>;
|
|
157
|
+
sudocode: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
160
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
entire: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
165
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
autoLinkMinConfidence: z.ZodOptional<z.ZodEnum<{
|
|
168
|
+
high: "high";
|
|
169
|
+
medium: "medium";
|
|
170
|
+
low: "low";
|
|
171
|
+
}>>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
174
|
+
beads: {
|
|
175
|
+
enabled: boolean;
|
|
176
|
+
executable: string;
|
|
177
|
+
timeout: number;
|
|
178
|
+
};
|
|
179
|
+
claudeTasks: {
|
|
180
|
+
enabled: boolean;
|
|
181
|
+
};
|
|
182
|
+
sudocode: {
|
|
183
|
+
enabled: boolean;
|
|
184
|
+
executable: string;
|
|
185
|
+
timeout: number;
|
|
186
|
+
};
|
|
187
|
+
entire: {
|
|
188
|
+
enabled: boolean;
|
|
189
|
+
executable: string;
|
|
190
|
+
timeout: number;
|
|
191
|
+
autoLink: boolean;
|
|
192
|
+
autoLinkMinConfidence: "high" | "medium" | "low";
|
|
193
|
+
};
|
|
194
|
+
}, {
|
|
195
|
+
beads?: {
|
|
196
|
+
enabled?: boolean | undefined;
|
|
197
|
+
executable?: string | undefined;
|
|
198
|
+
timeout?: number | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
claudeTasks?: {
|
|
201
|
+
enabled?: boolean | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
sudocode?: {
|
|
204
|
+
enabled?: boolean | undefined;
|
|
205
|
+
executable?: string | undefined;
|
|
206
|
+
timeout?: number | undefined;
|
|
207
|
+
} | undefined;
|
|
208
|
+
entire?: {
|
|
209
|
+
enabled?: boolean | undefined;
|
|
210
|
+
executable?: string | undefined;
|
|
211
|
+
timeout?: number | undefined;
|
|
212
|
+
autoLink?: boolean | undefined;
|
|
213
|
+
autoLinkMinConfidence?: "high" | "medium" | "low" | undefined;
|
|
214
|
+
} | undefined;
|
|
215
|
+
}>>;
|
|
216
|
+
export type ProvidersConfig = z.infer<typeof ProvidersConfigSchema>;
|
|
217
|
+
export declare const GitArchiveConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
218
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
220
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
221
|
+
repoPath: z.ZodOptional<z.ZodString>;
|
|
222
|
+
pushPolicy: z.ZodOptional<z.ZodEnum<{
|
|
223
|
+
immediate: "immediate";
|
|
224
|
+
"on-session-end": "on-session-end";
|
|
225
|
+
manual: "manual";
|
|
226
|
+
}>>;
|
|
227
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
228
|
+
enabled: boolean;
|
|
229
|
+
branch: string;
|
|
230
|
+
pushPolicy: "immediate" | "on-session-end" | "manual";
|
|
231
|
+
remote?: string | undefined;
|
|
232
|
+
repoPath?: string | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
enabled?: boolean | undefined;
|
|
235
|
+
branch?: string | undefined;
|
|
236
|
+
remote?: string | undefined;
|
|
237
|
+
repoPath?: string | undefined;
|
|
238
|
+
pushPolicy?: "immediate" | "on-session-end" | "manual" | undefined;
|
|
239
|
+
}>>;
|
|
240
|
+
export type GitArchiveConfig = z.infer<typeof GitArchiveConfigSchema>;
|
|
241
|
+
export declare const MaterializationConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
242
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
243
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
245
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
246
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
247
|
+
repoPath: z.ZodOptional<z.ZodString>;
|
|
248
|
+
pushPolicy: z.ZodOptional<z.ZodEnum<{
|
|
249
|
+
immediate: "immediate";
|
|
250
|
+
"on-session-end": "on-session-end";
|
|
251
|
+
manual: "manual";
|
|
252
|
+
}>>;
|
|
253
|
+
}, z.core.$strip>>;
|
|
254
|
+
remoteStores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
|
+
type: z.ZodString;
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
259
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
260
|
+
"session.started": "session.started";
|
|
261
|
+
"session.checkpoint": "session.checkpoint";
|
|
262
|
+
"session.ended": "session.ended";
|
|
263
|
+
}>>>;
|
|
264
|
+
}, z.core.$strip>>>;
|
|
265
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
archiveOnStart: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
+
archiveOnCheckpoint: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
archiveOnEnd: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
materializeBeforeArchive: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
+
}, z.core.$strip>>;
|
|
271
|
+
rematerializeOnStartup: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
273
|
+
git: {
|
|
274
|
+
enabled: boolean;
|
|
275
|
+
branch: string;
|
|
276
|
+
pushPolicy: "immediate" | "on-session-end" | "manual";
|
|
277
|
+
remote?: string | undefined;
|
|
278
|
+
repoPath?: string | undefined;
|
|
279
|
+
};
|
|
280
|
+
remoteStores: {
|
|
281
|
+
type: string;
|
|
282
|
+
name: string;
|
|
283
|
+
enabled: boolean;
|
|
284
|
+
config: Record<string, any>;
|
|
285
|
+
events: ("session.started" | "session.checkpoint" | "session.ended")[];
|
|
286
|
+
}[];
|
|
287
|
+
policy: {
|
|
288
|
+
archiveOnStart: boolean;
|
|
289
|
+
archiveOnCheckpoint: boolean;
|
|
290
|
+
archiveOnEnd: boolean;
|
|
291
|
+
materializeBeforeArchive: boolean;
|
|
292
|
+
};
|
|
293
|
+
rematerializeOnStartup: boolean;
|
|
294
|
+
graphId?: string | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
graphId?: string | undefined;
|
|
297
|
+
git?: {
|
|
298
|
+
enabled?: boolean | undefined;
|
|
299
|
+
branch?: string | undefined;
|
|
300
|
+
remote?: string | undefined;
|
|
301
|
+
repoPath?: string | undefined;
|
|
302
|
+
pushPolicy?: "immediate" | "on-session-end" | "manual" | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
remoteStores?: {
|
|
305
|
+
type: string;
|
|
306
|
+
name: string;
|
|
307
|
+
enabled?: boolean | undefined;
|
|
308
|
+
config?: Record<string, any> | undefined;
|
|
309
|
+
events?: ("session.started" | "session.checkpoint" | "session.ended")[] | undefined;
|
|
310
|
+
}[] | undefined;
|
|
311
|
+
policy?: {
|
|
312
|
+
archiveOnStart?: boolean | undefined;
|
|
313
|
+
archiveOnCheckpoint?: boolean | undefined;
|
|
314
|
+
archiveOnEnd?: boolean | undefined;
|
|
315
|
+
materializeBeforeArchive?: boolean | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
rematerializeOnStartup?: boolean | undefined;
|
|
318
|
+
}>>;
|
|
319
|
+
export type MaterializationConfig = z.infer<typeof MaterializationConfigSchema>;
|
|
320
|
+
export declare const LoggingLevelSchema: z.ZodEnum<{
|
|
321
|
+
error: "error";
|
|
322
|
+
debug: "debug";
|
|
323
|
+
info: "info";
|
|
324
|
+
warn: "warn";
|
|
325
|
+
}>;
|
|
326
|
+
export type LoggingLevel = z.infer<typeof LoggingLevelSchema>;
|
|
327
|
+
export declare const LoggingConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
328
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
329
|
+
error: "error";
|
|
330
|
+
debug: "debug";
|
|
331
|
+
info: "info";
|
|
332
|
+
warn: "warn";
|
|
333
|
+
}>>;
|
|
334
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
336
|
+
level: "error" | "debug" | "info" | "warn";
|
|
337
|
+
file: string | null;
|
|
338
|
+
}, {
|
|
339
|
+
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
340
|
+
file?: string | null | undefined;
|
|
341
|
+
}>>;
|
|
342
|
+
export type LoggingConfig = z.infer<typeof LoggingConfigSchema>;
|
|
343
|
+
export declare const OpenTasksConfigSchema: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
344
|
+
version: z.ZodOptional<z.ZodString>;
|
|
345
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
jsonlPath: z.ZodOptional<z.ZodString>;
|
|
347
|
+
sqlitePath: z.ZodOptional<z.ZodString>;
|
|
348
|
+
autoCompactRatio: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
daemon: z.ZodOptional<z.ZodObject<{
|
|
351
|
+
socketPath: z.ZodOptional<z.ZodString>;
|
|
352
|
+
autoStart: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
flushInterval: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
providers: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
beads: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
358
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
359
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
}, z.core.$strip>>;
|
|
361
|
+
claudeTasks: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
sudocode: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
367
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
entire: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
371
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
372
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
373
|
+
autoLink: z.ZodOptional<z.ZodBoolean>;
|
|
374
|
+
autoLinkMinConfidence: z.ZodOptional<z.ZodEnum<{
|
|
375
|
+
high: "high";
|
|
376
|
+
medium: "medium";
|
|
377
|
+
low: "low";
|
|
378
|
+
}>>;
|
|
379
|
+
}, z.core.$strip>>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
logging: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
383
|
+
error: "error";
|
|
384
|
+
debug: "debug";
|
|
385
|
+
info: "info";
|
|
386
|
+
warn: "warn";
|
|
387
|
+
}>>;
|
|
388
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
392
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
393
|
+
name: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
396
|
+
hash: z.ZodString;
|
|
397
|
+
path: z.ZodString;
|
|
398
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
peer: "peer";
|
|
400
|
+
parent: "parent";
|
|
401
|
+
child: "child";
|
|
402
|
+
}>>;
|
|
403
|
+
name: z.ZodOptional<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>>>;
|
|
405
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
406
|
+
manager: "manager";
|
|
407
|
+
worker: "worker";
|
|
408
|
+
standalone: "standalone";
|
|
409
|
+
}>>;
|
|
410
|
+
redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
411
|
+
operations: z.ZodArray<z.ZodEnum<{
|
|
412
|
+
read: "read";
|
|
413
|
+
write: "write";
|
|
414
|
+
}>>;
|
|
415
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
416
|
+
target: z.ZodString;
|
|
417
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
fallback: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
error: "error";
|
|
420
|
+
local: "local";
|
|
421
|
+
}>>;
|
|
422
|
+
}, z.core.$strip>>>;
|
|
423
|
+
defaultProvider: z.ZodOptional<z.ZodString>;
|
|
424
|
+
materialization: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
graphId: z.ZodOptional<z.ZodString>;
|
|
426
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
429
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
430
|
+
repoPath: z.ZodOptional<z.ZodString>;
|
|
431
|
+
pushPolicy: z.ZodOptional<z.ZodEnum<{
|
|
432
|
+
immediate: "immediate";
|
|
433
|
+
"on-session-end": "on-session-end";
|
|
434
|
+
manual: "manual";
|
|
435
|
+
}>>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
437
|
+
remoteStores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
438
|
+
type: z.ZodString;
|
|
439
|
+
name: z.ZodString;
|
|
440
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
442
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
443
|
+
"session.started": "session.started";
|
|
444
|
+
"session.checkpoint": "session.checkpoint";
|
|
445
|
+
"session.ended": "session.ended";
|
|
446
|
+
}>>>;
|
|
447
|
+
}, z.core.$strip>>>;
|
|
448
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
449
|
+
archiveOnStart: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
archiveOnCheckpoint: z.ZodOptional<z.ZodBoolean>;
|
|
451
|
+
archiveOnEnd: z.ZodOptional<z.ZodBoolean>;
|
|
452
|
+
materializeBeforeArchive: z.ZodOptional<z.ZodBoolean>;
|
|
453
|
+
}, z.core.$strip>>;
|
|
454
|
+
rematerializeOnStartup: z.ZodOptional<z.ZodBoolean>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
456
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
457
|
+
version: string;
|
|
458
|
+
storage: {
|
|
459
|
+
jsonlPath: string;
|
|
460
|
+
sqlitePath: string;
|
|
461
|
+
autoCompactRatio: number;
|
|
462
|
+
};
|
|
463
|
+
daemon: {
|
|
464
|
+
socketPath: string;
|
|
465
|
+
autoStart: boolean;
|
|
466
|
+
flushInterval: number;
|
|
467
|
+
};
|
|
468
|
+
providers: {
|
|
469
|
+
beads: {
|
|
470
|
+
enabled: boolean;
|
|
471
|
+
executable: string;
|
|
472
|
+
timeout: number;
|
|
473
|
+
};
|
|
474
|
+
claudeTasks: {
|
|
475
|
+
enabled: boolean;
|
|
476
|
+
};
|
|
477
|
+
sudocode: {
|
|
478
|
+
enabled: boolean;
|
|
479
|
+
executable: string;
|
|
480
|
+
timeout: number;
|
|
481
|
+
};
|
|
482
|
+
entire: {
|
|
483
|
+
enabled: boolean;
|
|
484
|
+
executable: string;
|
|
485
|
+
timeout: number;
|
|
486
|
+
autoLink: boolean;
|
|
487
|
+
autoLinkMinConfidence: "high" | "medium" | "low";
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
logging: {
|
|
491
|
+
level: "error" | "debug" | "info" | "warn";
|
|
492
|
+
file: string | null;
|
|
493
|
+
};
|
|
494
|
+
location: {
|
|
495
|
+
hash: string;
|
|
496
|
+
uuid: string;
|
|
497
|
+
name: string;
|
|
498
|
+
} | undefined;
|
|
499
|
+
connections: {
|
|
500
|
+
hash: string;
|
|
501
|
+
path: string;
|
|
502
|
+
role: "peer" | "parent" | "child";
|
|
503
|
+
name: string;
|
|
504
|
+
}[];
|
|
505
|
+
role: "manager" | "worker" | "standalone";
|
|
506
|
+
redirects: {
|
|
507
|
+
operations: ("read" | "write")[];
|
|
508
|
+
pattern: string;
|
|
509
|
+
target: string;
|
|
510
|
+
priority: number;
|
|
511
|
+
fallback: "error" | "local";
|
|
512
|
+
}[];
|
|
513
|
+
defaultProvider: string;
|
|
514
|
+
materialization: {
|
|
515
|
+
git: {
|
|
516
|
+
enabled: boolean;
|
|
517
|
+
branch: string;
|
|
518
|
+
pushPolicy: "immediate" | "on-session-end" | "manual";
|
|
519
|
+
remote?: string | undefined;
|
|
520
|
+
repoPath?: string | undefined;
|
|
521
|
+
};
|
|
522
|
+
remoteStores: {
|
|
523
|
+
type: string;
|
|
524
|
+
name: string;
|
|
525
|
+
enabled: boolean;
|
|
526
|
+
config: Record<string, any>;
|
|
527
|
+
events: ("session.started" | "session.checkpoint" | "session.ended")[];
|
|
528
|
+
}[];
|
|
529
|
+
policy: {
|
|
530
|
+
archiveOnStart: boolean;
|
|
531
|
+
archiveOnCheckpoint: boolean;
|
|
532
|
+
archiveOnEnd: boolean;
|
|
533
|
+
materializeBeforeArchive: boolean;
|
|
534
|
+
};
|
|
535
|
+
rematerializeOnStartup: boolean;
|
|
536
|
+
graphId?: string | undefined;
|
|
537
|
+
};
|
|
538
|
+
}, {
|
|
539
|
+
version?: string | undefined;
|
|
540
|
+
storage?: {
|
|
541
|
+
jsonlPath?: string | undefined;
|
|
542
|
+
sqlitePath?: string | undefined;
|
|
543
|
+
autoCompactRatio?: number | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
daemon?: {
|
|
546
|
+
socketPath?: string | undefined;
|
|
547
|
+
autoStart?: boolean | undefined;
|
|
548
|
+
flushInterval?: number | undefined;
|
|
549
|
+
} | undefined;
|
|
550
|
+
providers?: {
|
|
551
|
+
beads?: {
|
|
552
|
+
enabled?: boolean | undefined;
|
|
553
|
+
executable?: string | undefined;
|
|
554
|
+
timeout?: number | undefined;
|
|
555
|
+
} | undefined;
|
|
556
|
+
claudeTasks?: {
|
|
557
|
+
enabled?: boolean | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
sudocode?: {
|
|
560
|
+
enabled?: boolean | undefined;
|
|
561
|
+
executable?: string | undefined;
|
|
562
|
+
timeout?: number | undefined;
|
|
563
|
+
} | undefined;
|
|
564
|
+
entire?: {
|
|
565
|
+
enabled?: boolean | undefined;
|
|
566
|
+
executable?: string | undefined;
|
|
567
|
+
timeout?: number | undefined;
|
|
568
|
+
autoLink?: boolean | undefined;
|
|
569
|
+
autoLinkMinConfidence?: "high" | "medium" | "low" | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
logging?: {
|
|
573
|
+
level?: "error" | "debug" | "info" | "warn" | undefined;
|
|
574
|
+
file?: string | null | undefined;
|
|
575
|
+
} | undefined;
|
|
576
|
+
location?: {
|
|
577
|
+
hash?: string | undefined;
|
|
578
|
+
uuid?: string | undefined;
|
|
579
|
+
name?: string | undefined;
|
|
580
|
+
} | undefined;
|
|
581
|
+
connections?: {
|
|
582
|
+
hash: string;
|
|
583
|
+
path: string;
|
|
584
|
+
role?: "peer" | "parent" | "child" | undefined;
|
|
585
|
+
name?: string | undefined;
|
|
586
|
+
}[] | undefined;
|
|
587
|
+
role?: "manager" | "worker" | "standalone" | undefined;
|
|
588
|
+
redirects?: {
|
|
589
|
+
operations: ("read" | "write")[];
|
|
590
|
+
target: string;
|
|
591
|
+
pattern?: string | undefined;
|
|
592
|
+
priority?: number | undefined;
|
|
593
|
+
fallback?: "error" | "local" | undefined;
|
|
594
|
+
}[] | undefined;
|
|
595
|
+
defaultProvider?: string | undefined;
|
|
596
|
+
materialization?: {
|
|
597
|
+
graphId?: string | undefined;
|
|
598
|
+
git?: {
|
|
599
|
+
enabled?: boolean | undefined;
|
|
600
|
+
branch?: string | undefined;
|
|
601
|
+
remote?: string | undefined;
|
|
602
|
+
repoPath?: string | undefined;
|
|
603
|
+
pushPolicy?: "immediate" | "on-session-end" | "manual" | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
remoteStores?: {
|
|
606
|
+
type: string;
|
|
607
|
+
name: string;
|
|
608
|
+
enabled?: boolean | undefined;
|
|
609
|
+
config?: Record<string, any> | undefined;
|
|
610
|
+
events?: ("session.started" | "session.checkpoint" | "session.ended")[] | undefined;
|
|
611
|
+
}[] | undefined;
|
|
612
|
+
policy?: {
|
|
613
|
+
archiveOnStart?: boolean | undefined;
|
|
614
|
+
archiveOnCheckpoint?: boolean | undefined;
|
|
615
|
+
archiveOnEnd?: boolean | undefined;
|
|
616
|
+
materializeBeforeArchive?: boolean | undefined;
|
|
617
|
+
} | undefined;
|
|
618
|
+
rematerializeOnStartup?: boolean | undefined;
|
|
619
|
+
} | undefined;
|
|
620
|
+
}>>;
|
|
621
|
+
export type OpenTasksConfig = z.infer<typeof OpenTasksConfigSchema>;
|
|
622
|
+
/** Deep partial type for config merging */
|
|
623
|
+
export type DeepPartial<T> = {
|
|
624
|
+
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
625
|
+
};
|
|
626
|
+
export type PartialOpenTasksConfig = DeepPartial<OpenTasksConfig>;
|
|
627
|
+
export interface ValidationResult {
|
|
628
|
+
success: boolean;
|
|
629
|
+
data?: OpenTasksConfig;
|
|
630
|
+
errors?: Array<{
|
|
631
|
+
path: string;
|
|
632
|
+
message: string;
|
|
633
|
+
}>;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* Validate a configuration object
|
|
637
|
+
*/
|
|
638
|
+
export declare function validateConfig(config: unknown): ValidationResult;
|
|
639
|
+
/**
|
|
640
|
+
* Parse and validate a configuration, throwing on error
|
|
641
|
+
*/
|
|
642
|
+
export declare function parseConfig(config: unknown): OpenTasksConfig;
|
|
643
|
+
export {};
|
|
644
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,yBAAyB;;;;iBAO7B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;eAc7B,CAAC;AAEL,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAMvE,eAAO,MAAM,oBAAoB;;;;EAAsC,CAAC;AAExE,eAAO,MAAM,gBAAgB;;;;;;;;;iBAS3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAMhE,eAAO,MAAM,uBAAuB;;;EAA4B,CAAC;AAEjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;iBAW7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAiBpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;GAO0B,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAiBhE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;GAO0B,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAiB9D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;GAO0B,CAAC;AAEjE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAO5E,eAAO,MAAM,+BAA+B;;;;;;GAK0B,CAAC;AAEvE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAmBxF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;GAS0B,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAa9E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;GAO0B,CAAC;AAEpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AASlF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgC0B,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAuBpE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;GAS0B,CAAC;AAE9D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAiDtE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoC0B,CAAC;AAEnE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMhF,eAAO,MAAM,kBAAkB;;;;;EAA6C,CAAC;AAE7E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAU9D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;GAM0B,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AA0BhE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2H0B,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMpE,2CAA2C;AAC3C,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,eAAe,CAAC,CAAC;AAMlE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,gBAAgB,CAiBhE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,eAAe,CAE5D"}
|