@hasna/mementos 0.14.86 → 0.14.88
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/bun.lock +3 -0
- package/dist/cli/__fixtures__/clean-fallback-stub-server.d.ts +2 -0
- package/dist/cli/__fixtures__/clean-fallback-stub-server.d.ts.map +1 -0
- package/dist/cli/__fixtures__/io-restore-stub-server.d.ts +2 -0
- package/dist/cli/__fixtures__/io-restore-stub-server.d.ts.map +1 -0
- package/dist/cli/brains.d.ts +3 -0
- package/dist/cli/brains.d.ts.map +1 -0
- package/dist/cli/commands/agent.d.ts +3 -0
- package/dist/cli/commands/agent.d.ts.map +1 -0
- package/dist/cli/commands/consolidation.d.ts +3 -0
- package/dist/cli/commands/consolidation.d.ts.map +1 -0
- package/dist/cli/commands/entity.d.ts +3 -0
- package/dist/cli/commands/entity.d.ts.map +1 -0
- package/dist/cli/commands/graph.d.ts +3 -0
- package/dist/cli/commands/graph.d.ts.map +1 -0
- package/dist/cli/commands/info-context.d.ts +3 -0
- package/dist/cli/commands/info-context.d.ts.map +1 -0
- package/dist/cli/commands/info-history.d.ts +3 -0
- package/dist/cli/commands/info-history.d.ts.map +1 -0
- package/dist/cli/commands/info-report.d.ts +3 -0
- package/dist/cli/commands/info-report.d.ts.map +1 -0
- package/dist/cli/commands/info-stale.d.ts +3 -0
- package/dist/cli/commands/info-stale.d.ts.map +1 -0
- package/dist/cli/commands/info-stats.d.ts +3 -0
- package/dist/cli/commands/info-stats.d.ts.map +1 -0
- package/dist/cli/commands/info.d.ts +12 -0
- package/dist/cli/commands/info.d.ts.map +1 -0
- package/dist/cli/commands/init.d.ts +3 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/io-backup.d.ts +3 -0
- package/dist/cli/commands/io-backup.d.ts.map +1 -0
- package/dist/cli/commands/io-clean.d.ts +3 -0
- package/dist/cli/commands/io-clean.d.ts.map +1 -0
- package/dist/cli/commands/io-export.d.ts +3 -0
- package/dist/cli/commands/io-export.d.ts.map +1 -0
- package/dist/cli/commands/io-import.d.ts +3 -0
- package/dist/cli/commands/io-import.d.ts.map +1 -0
- package/dist/cli/commands/io-restore.d.ts +3 -0
- package/dist/cli/commands/io-restore.d.ts.map +1 -0
- package/dist/cli/commands/io.d.ts +12 -0
- package/dist/cli/commands/io.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-bulk.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-bulk.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-chain.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-chain.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-crud.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-crud.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-diff.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-diff.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-list.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-list.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-recall-exit.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-recall-exit.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-recall.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-recall.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-remove.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-remove.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-search.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-search.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-tail.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-tail.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-util.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-util.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-view.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-view.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-watch.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-watch.d.ts.map +1 -0
- package/dist/cli/commands/memory-cmd-when-to-use.d.ts +3 -0
- package/dist/cli/commands/memory-cmd-when-to-use.d.ts.map +1 -0
- package/dist/cli/commands/memory.d.ts +3 -0
- package/dist/cli/commands/memory.d.ts.map +1 -0
- package/dist/cli/commands/project-panel.d.ts +3 -0
- package/dist/cli/commands/project-panel.d.ts.map +1 -0
- package/dist/cli/commands/project.d.ts +3 -0
- package/dist/cli/commands/project.d.ts.map +1 -0
- package/dist/cli/commands/relation.d.ts +3 -0
- package/dist/cli/commands/relation.d.ts.map +1 -0
- package/dist/cli/commands/storage.d.ts +3 -0
- package/dist/cli/commands/storage.d.ts.map +1 -0
- package/dist/cli/commands/system-auto-memory.d.ts +3 -0
- package/dist/cli/commands/system-auto-memory.d.ts.map +1 -0
- package/dist/cli/commands/system-completions.d.ts +13 -0
- package/dist/cli/commands/system-completions.d.ts.map +1 -0
- package/dist/cli/commands/system-config.d.ts +3 -0
- package/dist/cli/commands/system-config.d.ts.map +1 -0
- package/dist/cli/commands/system-doctor.d.ts +3 -0
- package/dist/cli/commands/system-doctor.d.ts.map +1 -0
- package/dist/cli/commands/system-hooks.d.ts +3 -0
- package/dist/cli/commands/system-hooks.d.ts.map +1 -0
- package/dist/cli/commands/system-mcp.d.ts +3 -0
- package/dist/cli/commands/system-mcp.d.ts.map +1 -0
- package/dist/cli/commands/system-misc.d.ts +3 -0
- package/dist/cli/commands/system-misc.d.ts.map +1 -0
- package/dist/cli/commands/system-profile.d.ts +3 -0
- package/dist/cli/commands/system-profile.d.ts.map +1 -0
- package/dist/cli/commands/system-session.d.ts +3 -0
- package/dist/cli/commands/system-session.d.ts.map +1 -0
- package/dist/cli/commands/system-sessions.d.ts +3 -0
- package/dist/cli/commands/system-sessions.d.ts.map +1 -0
- package/dist/cli/commands/system-synthesis.d.ts +3 -0
- package/dist/cli/commands/system-synthesis.d.ts.map +1 -0
- package/dist/cli/commands/system-synthesized-profile.d.ts +3 -0
- package/dist/cli/commands/system-synthesized-profile.d.ts.map +1 -0
- package/dist/cli/commands/system-tools.d.ts +3 -0
- package/dist/cli/commands/system-tools.d.ts.map +1 -0
- package/dist/cli/commands/system-watch.d.ts +3 -0
- package/dist/cli/commands/system-watch.d.ts.map +1 -0
- package/dist/cli/commands/system.d.ts +3 -0
- package/dist/cli/commands/system.d.ts.map +1 -0
- package/dist/cli/exit-codes.d.ts +13 -0
- package/dist/cli/exit-codes.d.ts.map +1 -0
- package/dist/cli/global-options.d.ts +27 -0
- package/dist/cli/global-options.d.ts.map +1 -0
- package/dist/cli/helpers.d.ts +150 -0
- package/dist/cli/helpers.d.ts.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +1150 -695
- package/dist/cli/register-all.d.ts +17 -0
- package/dist/cli/register-all.d.ts.map +1 -0
- package/dist/cli/startup-side-effects.d.ts +9 -0
- package/dist/cli/startup-side-effects.d.ts.map +1 -0
- package/dist/db/__fixtures__/fail-closed-stub-server.d.ts +2 -0
- package/dist/db/__fixtures__/fail-closed-stub-server.d.ts.map +1 -0
- package/dist/db/__fixtures__/list-filter-capture-server.d.ts +2 -0
- package/dist/db/__fixtures__/list-filter-capture-server.d.ts.map +1 -0
- package/dist/db/__fixtures__/list-filter-client-runner.d.ts +2 -0
- package/dist/db/__fixtures__/list-filter-client-runner.d.ts.map +1 -0
- package/dist/db/acl.d.ts +34 -0
- package/dist/db/acl.d.ts.map +1 -0
- package/dist/db/agents.d.ts +35 -0
- package/dist/db/agents.d.ts.map +1 -0
- package/dist/db/analytics.d.ts +124 -0
- package/dist/db/analytics.d.ts.map +1 -0
- package/dist/db/api-mode.d.ts +127 -0
- package/dist/db/api-mode.d.ts.map +1 -0
- package/dist/db/audit.d.ts +53 -0
- package/dist/db/audit.d.ts.map +1 -0
- package/dist/db/database.d.ts +26 -0
- package/dist/db/database.d.ts.map +1 -0
- package/dist/db/entities.d.ts +62 -0
- package/dist/db/entities.d.ts.map +1 -0
- package/dist/db/entity-memories.d.ts +34 -0
- package/dist/db/entity-memories.d.ts.map +1 -0
- package/dist/db/feedback.d.ts +9 -0
- package/dist/db/feedback.d.ts.map +1 -0
- package/dist/db/locks.d.ts +63 -0
- package/dist/db/locks.d.ts.map +1 -0
- package/dist/db/machines.d.ts +23 -0
- package/dist/db/machines.d.ts.map +1 -0
- package/dist/db/memories.d.ts +199 -0
- package/dist/db/memories.d.ts.map +1 -0
- package/dist/db/memory-links.d.ts +21 -0
- package/dist/db/memory-links.d.ts.map +1 -0
- package/dist/db/memory-project-link.d.ts +13 -0
- package/dist/db/memory-project-link.d.ts.map +1 -0
- package/dist/db/migrations.d.ts +3 -0
- package/dist/db/migrations.d.ts.map +1 -0
- package/dist/db/pg-migrate.d.ts +27 -0
- package/dist/db/pg-migrate.d.ts.map +1 -0
- package/dist/db/pg-migrations.d.ts +2 -0
- package/dist/db/pg-migrations.d.ts.map +1 -0
- package/dist/db/projects.d.ts +27 -0
- package/dist/db/projects.d.ts.map +1 -0
- package/dist/db/ratings.d.ts +23 -0
- package/dist/db/ratings.d.ts.map +1 -0
- package/dist/db/relations.d.ts +49 -0
- package/dist/db/relations.d.ts.map +1 -0
- package/dist/db/session-jobs.d.ts +67 -0
- package/dist/db/session-jobs.d.ts.map +1 -0
- package/dist/db/store-backend.d.ts +42 -0
- package/dist/db/store-backend.d.ts.map +1 -0
- package/dist/db/subscriptions.d.ts +24 -0
- package/dist/db/subscriptions.d.ts.map +1 -0
- package/dist/db/synthesis.d.ts +101 -0
- package/dist/db/synthesis.d.ts.map +1 -0
- package/dist/db/tasks.d.ts +89 -0
- package/dist/db/tasks.d.ts.map +1 -0
- package/dist/db/tool-events.d.ts +27 -0
- package/dist/db/tool-events.d.ts.map +1 -0
- package/dist/db/webhook_hooks.d.ts +48 -0
- package/dist/db/webhook_hooks.d.ts.map +1 -0
- package/dist/diagnostics/historical-project-registration-receipt.d.ts +39 -0
- package/dist/diagnostics/historical-project-registration-receipt.d.ts.map +1 -0
- package/dist/diagnostics/historical-project-registration-receipt.js +116 -10
- package/dist/generated/storage-kit/backend.d.ts +20 -0
- package/dist/generated/storage-kit/backend.d.ts.map +1 -0
- package/dist/generated/storage-kit/health.d.ts +20 -0
- package/dist/generated/storage-kit/health.d.ts.map +1 -0
- package/dist/generated/storage-kit/index.d.ts +8 -0
- package/dist/generated/storage-kit/index.d.ts.map +1 -0
- package/dist/generated/storage-kit/migrations.d.ts +48 -0
- package/dist/generated/storage-kit/migrations.d.ts.map +1 -0
- package/dist/generated/storage-kit/own.d.ts +11 -0
- package/dist/generated/storage-kit/own.d.ts.map +1 -0
- package/dist/generated/storage-kit/pool.d.ts +35 -0
- package/dist/generated/storage-kit/pool.d.ts.map +1 -0
- package/dist/generated/storage-kit/query.d.ts +36 -0
- package/dist/generated/storage-kit/query.d.ts.map +1 -0
- package/dist/generated/storage-kit/tls.d.ts +53 -0
- package/dist/generated/storage-kit/tls.d.ts.map +1 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +806 -541
- package/dist/lib/activation-matcher.d.ts +17 -0
- package/dist/lib/activation-matcher.d.ts.map +1 -0
- package/dist/lib/asmr/categorizer.d.ts +31 -0
- package/dist/lib/asmr/categorizer.d.ts.map +1 -0
- package/dist/lib/asmr/context-agent.d.ts +4 -0
- package/dist/lib/asmr/context-agent.d.ts.map +1 -0
- package/dist/lib/asmr/ensemble.d.ts +23 -0
- package/dist/lib/asmr/ensemble.d.ts.map +1 -0
- package/dist/lib/asmr/fact-agent.d.ts +4 -0
- package/dist/lib/asmr/fact-agent.d.ts.map +1 -0
- package/dist/lib/asmr/index.d.ts +7 -0
- package/dist/lib/asmr/index.d.ts.map +1 -0
- package/dist/lib/asmr/orchestrator.d.ts +4 -0
- package/dist/lib/asmr/orchestrator.d.ts.map +1 -0
- package/dist/lib/asmr/recall.d.ts +3 -0
- package/dist/lib/asmr/recall.d.ts.map +1 -0
- package/dist/lib/asmr/temporal-agent.d.ts +4 -0
- package/dist/lib/asmr/temporal-agent.d.ts.map +1 -0
- package/dist/lib/asmr/types.d.ts +27 -0
- package/dist/lib/asmr/types.d.ts.map +1 -0
- package/dist/lib/auto-inject-orchestrator.d.ts +57 -0
- package/dist/lib/auto-inject-orchestrator.d.ts.map +1 -0
- package/dist/lib/auto-memory-queue.d.ts +48 -0
- package/dist/lib/auto-memory-queue.d.ts.map +1 -0
- package/dist/lib/auto-memory.d.ts +19 -0
- package/dist/lib/auto-memory.d.ts.map +1 -0
- package/dist/lib/bench.d.ts +20 -0
- package/dist/lib/bench.d.ts.map +1 -0
- package/dist/lib/built-in-hooks.d.ts +32 -0
- package/dist/lib/built-in-hooks.d.ts.map +1 -0
- package/dist/lib/channel-pusher.d.ts +39 -0
- package/dist/lib/channel-pusher.d.ts.map +1 -0
- package/dist/lib/config.d.ts +9 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/connectors/files.d.ts +8 -0
- package/dist/lib/connectors/files.d.ts.map +1 -0
- package/dist/lib/connectors/github.d.ts +7 -0
- package/dist/lib/connectors/github.d.ts.map +1 -0
- package/dist/lib/connectors/index.d.ts +12 -0
- package/dist/lib/connectors/index.d.ts.map +1 -0
- package/dist/lib/connectors/notion.d.ts +7 -0
- package/dist/lib/connectors/notion.d.ts.map +1 -0
- package/dist/lib/connectors/types.d.ts +27 -0
- package/dist/lib/connectors/types.d.ts.map +1 -0
- package/dist/lib/consolidation.d.ts +52 -0
- package/dist/lib/consolidation.d.ts.map +1 -0
- package/dist/lib/context-extractor.d.ts +14 -0
- package/dist/lib/context-extractor.d.ts.map +1 -0
- package/dist/lib/context.d.ts +36 -0
- package/dist/lib/context.d.ts.map +1 -0
- package/dist/lib/contradiction.d.ts +50 -0
- package/dist/lib/contradiction.d.ts.map +1 -0
- package/dist/lib/decay.d.ts +35 -0
- package/dist/lib/decay.d.ts.map +1 -0
- package/dist/lib/dedup.d.ts +33 -0
- package/dist/lib/dedup.d.ts.map +1 -0
- package/dist/lib/duration.d.ts +28 -0
- package/dist/lib/duration.d.ts.map +1 -0
- package/dist/lib/embeddings.d.ts +20 -0
- package/dist/lib/embeddings.d.ts.map +1 -0
- package/dist/lib/enum-validation.d.ts +20 -0
- package/dist/lib/enum-validation.d.ts.map +1 -0
- package/dist/lib/export-v1.d.ts +30 -0
- package/dist/lib/export-v1.d.ts.map +1 -0
- package/dist/lib/extractor.d.ts +9 -0
- package/dist/lib/extractor.d.ts.map +1 -0
- package/dist/lib/extractors/audio.d.ts +8 -0
- package/dist/lib/extractors/audio.d.ts.map +1 -0
- package/dist/lib/extractors/index.d.ts +12 -0
- package/dist/lib/extractors/index.d.ts.map +1 -0
- package/dist/lib/extractors/ocr.d.ts +7 -0
- package/dist/lib/extractors/ocr.d.ts.map +1 -0
- package/dist/lib/extractors/pdf.d.ts +7 -0
- package/dist/lib/extractors/pdf.d.ts.map +1 -0
- package/dist/lib/extractors/types.d.ts +12 -0
- package/dist/lib/extractors/types.d.ts.map +1 -0
- package/dist/lib/file-deps.d.ts +27 -0
- package/dist/lib/file-deps.d.ts.map +1 -0
- package/dist/lib/focus.d.ts +58 -0
- package/dist/lib/focus.d.ts.map +1 -0
- package/dist/lib/gatherer.d.ts +16 -0
- package/dist/lib/gatherer.d.ts.map +1 -0
- package/dist/lib/gdpr.d.ts +39 -0
- package/dist/lib/gdpr.d.ts.map +1 -0
- package/dist/lib/hooks.d.ts +50 -0
- package/dist/lib/hooks.d.ts.map +1 -0
- package/dist/lib/importers/index.d.ts +38 -0
- package/dist/lib/importers/index.d.ts.map +1 -0
- package/dist/lib/injector.d.ts +89 -0
- package/dist/lib/injector.d.ts.map +1 -0
- package/dist/lib/machine-visibility.d.ts +6 -0
- package/dist/lib/machine-visibility.d.ts.map +1 -0
- package/dist/lib/matryoshka.d.ts +50 -0
- package/dist/lib/matryoshka.d.ts.map +1 -0
- package/dist/lib/memory-lock.d.ts +58 -0
- package/dist/lib/memory-lock.d.ts.map +1 -0
- package/dist/lib/model-config.d.ts +14 -0
- package/dist/lib/model-config.d.ts.map +1 -0
- package/dist/lib/open-sessions-connector.d.ts +60 -0
- package/dist/lib/open-sessions-connector.d.ts.map +1 -0
- package/dist/lib/package-version.d.ts +3 -0
- package/dist/lib/package-version.d.ts.map +1 -0
- package/dist/lib/paths.d.ts +51 -0
- package/dist/lib/paths.d.ts.map +1 -0
- package/dist/lib/poisoning.d.ts +19 -0
- package/dist/lib/poisoning.d.ts.map +1 -0
- package/dist/lib/poll.d.ts +17 -0
- package/dist/lib/poll.d.ts.map +1 -0
- package/dist/lib/procedural-extractor.d.ts +21 -0
- package/dist/lib/procedural-extractor.d.ts.map +1 -0
- package/dist/lib/profile-sync.d.ts +20 -0
- package/dist/lib/profile-sync.d.ts.map +1 -0
- package/dist/lib/profile-synthesizer.d.ts +20 -0
- package/dist/lib/profile-synthesizer.d.ts.map +1 -0
- package/dist/lib/project-detect.d.ts +18 -0
- package/dist/lib/project-detect.d.ts.map +1 -0
- package/dist/lib/project-panel.d.ts +7 -0
- package/dist/lib/project-panel.d.ts.map +1 -0
- package/dist/lib/providers/anthropic.d.ts +21 -0
- package/dist/lib/providers/anthropic.d.ts.map +1 -0
- package/dist/lib/providers/base.d.ts +96 -0
- package/dist/lib/providers/base.d.ts.map +1 -0
- package/dist/lib/providers/cerebras.d.ts +20 -0
- package/dist/lib/providers/cerebras.d.ts.map +1 -0
- package/dist/lib/providers/grok.d.ts +19 -0
- package/dist/lib/providers/grok.d.ts.map +1 -0
- package/dist/lib/providers/index.d.ts +7 -0
- package/dist/lib/providers/index.d.ts.map +1 -0
- package/dist/lib/providers/openai-compat.d.ts +18 -0
- package/dist/lib/providers/openai-compat.d.ts.map +1 -0
- package/dist/lib/providers/openai.d.ts +20 -0
- package/dist/lib/providers/openai.d.ts.map +1 -0
- package/dist/lib/providers/registry.d.ts +38 -0
- package/dist/lib/providers/registry.d.ts.map +1 -0
- package/dist/lib/quality.d.ts +16 -0
- package/dist/lib/quality.d.ts.map +1 -0
- package/dist/lib/redact.d.ts +26 -0
- package/dist/lib/redact.d.ts.map +1 -0
- package/dist/lib/reflection.d.ts +83 -0
- package/dist/lib/reflection.d.ts.map +1 -0
- package/dist/lib/retention.d.ts +17 -0
- package/dist/lib/retention.d.ts.map +1 -0
- package/dist/lib/retired-storage-mode.d.ts +11 -0
- package/dist/lib/retired-storage-mode.d.ts.map +1 -0
- package/dist/lib/search.d.ts +52 -0
- package/dist/lib/search.d.ts.map +1 -0
- package/dist/lib/session-auto-resolve.d.ts +28 -0
- package/dist/lib/session-auto-resolve.d.ts.map +1 -0
- package/dist/lib/session-processor.d.ts +38 -0
- package/dist/lib/session-processor.d.ts.map +1 -0
- package/dist/lib/session-queue.d.ts +28 -0
- package/dist/lib/session-queue.d.ts.map +1 -0
- package/dist/lib/session-registry.d.ts +47 -0
- package/dist/lib/session-registry.d.ts.map +1 -0
- package/dist/lib/session-start-briefing.d.ts +10 -0
- package/dist/lib/session-start-briefing.d.ts.map +1 -0
- package/dist/lib/session-watcher.d.ts +30 -0
- package/dist/lib/session-watcher.d.ts.map +1 -0
- package/dist/lib/storage-sync.d.ts +45 -0
- package/dist/lib/storage-sync.d.ts.map +1 -0
- package/dist/lib/sync.d.ts +10 -0
- package/dist/lib/sync.d.ts.map +1 -0
- package/dist/lib/synthesis/corpus-builder.d.ts +30 -0
- package/dist/lib/synthesis/corpus-builder.d.ts.map +1 -0
- package/dist/lib/synthesis/executor.d.ts +14 -0
- package/dist/lib/synthesis/executor.d.ts.map +1 -0
- package/dist/lib/synthesis/index.d.ts +37 -0
- package/dist/lib/synthesis/index.d.ts.map +1 -0
- package/dist/lib/synthesis/llm-analyzer.d.ts +18 -0
- package/dist/lib/synthesis/llm-analyzer.d.ts.map +1 -0
- package/dist/lib/synthesis/metrics.d.ts +13 -0
- package/dist/lib/synthesis/metrics.d.ts.map +1 -0
- package/dist/lib/synthesis/scheduler.d.ts +18 -0
- package/dist/lib/synthesis/scheduler.d.ts.map +1 -0
- package/dist/lib/synthesis/validator.d.ts +19 -0
- package/dist/lib/synthesis/validator.d.ts.map +1 -0
- package/dist/lib/task-runner.d.ts +37 -0
- package/dist/lib/task-runner.d.ts.map +1 -0
- package/dist/lib/tool-lesson-extractor.d.ts +24 -0
- package/dist/lib/tool-lesson-extractor.d.ts.map +1 -0
- package/dist/lib/tool-memory-synthesizer.d.ts +28 -0
- package/dist/lib/tool-memory-synthesizer.d.ts.map +1 -0
- package/dist/lib/topic-clusterer.d.ts +21 -0
- package/dist/lib/topic-clusterer.d.ts.map +1 -0
- package/dist/lib/when-to-use-generator.d.ts +22 -0
- package/dist/lib/when-to-use-generator.d.ts.map +1 -0
- package/dist/mcp/http.d.ts +17 -0
- package/dist/mcp/http.d.ts.map +1 -0
- package/dist/mcp/index.d.ts +6 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +978 -554
- package/dist/mcp/memory-broadcast.d.ts +12 -0
- package/dist/mcp/memory-broadcast.d.ts.map +1 -0
- package/dist/mcp/tools/agent-tools.d.ts +3 -0
- package/dist/mcp/tools/agent-tools.d.ts.map +1 -0
- package/dist/mcp/tools/auto-memory-tools.d.ts +5 -0
- package/dist/mcp/tools/auto-memory-tools.d.ts.map +1 -0
- package/dist/mcp/tools/bulk-tools.d.ts +3 -0
- package/dist/mcp/tools/bulk-tools.d.ts.map +1 -0
- package/dist/mcp/tools/consolidation-tools.d.ts +3 -0
- package/dist/mcp/tools/consolidation-tools.d.ts.map +1 -0
- package/dist/mcp/tools/focus-tools.d.ts +3 -0
- package/dist/mcp/tools/focus-tools.d.ts.map +1 -0
- package/dist/mcp/tools/graph-entity-tools.d.ts +3 -0
- package/dist/mcp/tools/graph-entity-tools.d.ts.map +1 -0
- package/dist/mcp/tools/graph-query-tools.d.ts +3 -0
- package/dist/mcp/tools/graph-query-tools.d.ts.map +1 -0
- package/dist/mcp/tools/graph-relation-tools.d.ts +3 -0
- package/dist/mcp/tools/graph-relation-tools.d.ts.map +1 -0
- package/dist/mcp/tools/graph-tools.d.ts +3 -0
- package/dist/mcp/tools/graph-tools.d.ts.map +1 -0
- package/dist/mcp/tools/graph-utils.d.ts +5 -0
- package/dist/mcp/tools/graph-utils.d.ts.map +1 -0
- package/dist/mcp/tools/hook-tools.d.ts +3 -0
- package/dist/mcp/tools/hook-tools.d.ts.map +1 -0
- package/dist/mcp/tools/lock-tools.d.ts +3 -0
- package/dist/mcp/tools/lock-tools.d.ts.map +1 -0
- package/dist/mcp/tools/memory-audit.d.ts +3 -0
- package/dist/mcp/tools/memory-audit.d.ts.map +1 -0
- package/dist/mcp/tools/memory-crud.d.ts +3 -0
- package/dist/mcp/tools/memory-crud.d.ts.map +1 -0
- package/dist/mcp/tools/memory-health.d.ts +3 -0
- package/dist/mcp/tools/memory-health.d.ts.map +1 -0
- package/dist/mcp/tools/memory-history.d.ts +3 -0
- package/dist/mcp/tools/memory-history.d.ts.map +1 -0
- package/dist/mcp/tools/memory-inject.d.ts +3 -0
- package/dist/mcp/tools/memory-inject.d.ts.map +1 -0
- package/dist/mcp/tools/memory-io.d.ts +3 -0
- package/dist/mcp/tools/memory-io.d.ts.map +1 -0
- package/dist/mcp/tools/memory-lifecycle.d.ts +3 -0
- package/dist/mcp/tools/memory-lifecycle.d.ts.map +1 -0
- package/dist/mcp/tools/memory-search.d.ts +3 -0
- package/dist/mcp/tools/memory-search.d.ts.map +1 -0
- package/dist/mcp/tools/memory-stats.d.ts +3 -0
- package/dist/mcp/tools/memory-stats.d.ts.map +1 -0
- package/dist/mcp/tools/memory-tools.d.ts +17 -0
- package/dist/mcp/tools/memory-tools.d.ts.map +1 -0
- package/dist/mcp/tools/memory-utils.d.ts +27 -0
- package/dist/mcp/tools/memory-utils.d.ts.map +1 -0
- package/dist/mcp/tools/memory-validation.d.ts +3 -0
- package/dist/mcp/tools/memory-validation.d.ts.map +1 -0
- package/dist/mcp/tools/project-tools.d.ts +3 -0
- package/dist/mcp/tools/project-tools.d.ts.map +1 -0
- package/dist/mcp/tools/session-tools.d.ts +3 -0
- package/dist/mcp/tools/session-tools.d.ts.map +1 -0
- package/dist/mcp/tools/storage-tools.d.ts +3 -0
- package/dist/mcp/tools/storage-tools.d.ts.map +1 -0
- package/dist/mcp/tools/synthesis-tools.d.ts +3 -0
- package/dist/mcp/tools/synthesis-tools.d.ts.map +1 -0
- package/dist/mcp/tools/system-tools-events.d.ts +3 -0
- package/dist/mcp/tools/system-tools-events.d.ts.map +1 -0
- package/dist/mcp/tools/system-tools-memory-admin.d.ts +3 -0
- package/dist/mcp/tools/system-tools-memory-admin.d.ts.map +1 -0
- package/dist/mcp/tools/system-tools-shared.d.ts +23 -0
- package/dist/mcp/tools/system-tools-shared.d.ts.map +1 -0
- package/dist/mcp/tools/system-tools.d.ts +3 -0
- package/dist/mcp/tools/system-tools.d.ts.map +1 -0
- package/dist/mcp/tools/tool-registry.d.ts +30 -0
- package/dist/mcp/tools/tool-registry.d.ts.map +1 -0
- package/dist/mcp/tools/utility-tools.d.ts +3 -0
- package/dist/mcp/tools/utility-tools.d.ts.map +1 -0
- package/dist/memory-project-link/index.d.ts +2 -0
- package/dist/memory-project-link/index.d.ts.map +1 -0
- package/dist/memory-project-link/schema.d.ts +5 -0
- package/dist/memory-project-link/schema.d.ts.map +1 -0
- package/dist/pg-sync-worker.d.ts +2 -0
- package/dist/pg-sync-worker.d.ts.map +1 -0
- package/dist/project-registration/authority.d.ts +43 -0
- package/dist/project-registration/authority.d.ts.map +1 -0
- package/dist/project-registration/historical-receipt.d.ts +38 -0
- package/dist/project-registration/historical-receipt.d.ts.map +1 -0
- package/dist/project-registration/http.d.ts +32 -0
- package/dist/project-registration/http.d.ts.map +1 -0
- package/dist/project-registration/identity.d.ts +20 -0
- package/dist/project-registration/identity.d.ts.map +1 -0
- package/dist/project-registration/index.d.ts +11 -0
- package/dist/project-registration/index.d.ts.map +1 -0
- package/dist/project-registration/project-references.d.ts +71 -0
- package/dist/project-registration/project-references.d.ts.map +1 -0
- package/dist/project-registration/project-resources.d.ts +22 -0
- package/dist/project-registration/project-resources.d.ts.map +1 -0
- package/dist/project-registration/schema.d.ts +5 -0
- package/dist/project-registration/schema.d.ts.map +1 -0
- package/dist/project-registration/types.d.ts +319 -0
- package/dist/project-registration/types.d.ts.map +1 -0
- package/dist/project-registration.d.ts +2 -0
- package/dist/project-registration.d.ts.map +1 -0
- package/dist/project-registration.js +179 -42
- package/dist/sdk/index.d.ts +987 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/server/auth.d.ts +11 -0
- package/dist/server/auth.d.ts.map +1 -0
- package/dist/server/helpers.d.ts +53 -0
- package/dist/server/helpers.d.ts.map +1 -0
- package/dist/server/index.d.ts +14 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +1047 -569
- package/dist/server/openapi.d.ts +2 -0
- package/dist/server/openapi.d.ts.map +1 -0
- package/dist/server/router.d.ts +17 -0
- package/dist/server/router.d.ts.map +1 -0
- package/dist/server/routes/agents.d.ts +2 -0
- package/dist/server/routes/agents.d.ts.map +1 -0
- package/dist/server/routes/entities.d.ts +2 -0
- package/dist/server/routes/entities.d.ts.map +1 -0
- package/dist/server/routes/memories-bulk.d.ts +2 -0
- package/dist/server/routes/memories-bulk.d.ts.map +1 -0
- package/dist/server/routes/memories-crud.d.ts +2 -0
- package/dist/server/routes/memories-crud.d.ts.map +1 -0
- package/dist/server/routes/memories-io.d.ts +2 -0
- package/dist/server/routes/memories-io.d.ts.map +1 -0
- package/dist/server/routes/memories-misc.d.ts +2 -0
- package/dist/server/routes/memories-misc.d.ts.map +1 -0
- package/dist/server/routes/memories-search.d.ts +2 -0
- package/dist/server/routes/memories-search.d.ts.map +1 -0
- package/dist/server/routes/memories-stats.d.ts +2 -0
- package/dist/server/routes/memories-stats.d.ts.map +1 -0
- package/dist/server/routes/memories.d.ts +19 -0
- package/dist/server/routes/memories.d.ts.map +1 -0
- package/dist/server/routes/memory-project-link.d.ts +2 -0
- package/dist/server/routes/memory-project-link.d.ts.map +1 -0
- package/dist/server/routes/project-registration.d.ts +2 -0
- package/dist/server/routes/project-registration.d.ts.map +1 -0
- package/dist/server/routes/projects.d.ts +2 -0
- package/dist/server/routes/projects.d.ts.map +1 -0
- package/dist/server/routes/system-auto-memory.d.ts +2 -0
- package/dist/server/routes/system-auto-memory.d.ts.map +1 -0
- package/dist/server/routes/system-chain.d.ts +2 -0
- package/dist/server/routes/system-chain.d.ts.map +1 -0
- package/dist/server/routes/system-consolidation.d.ts +2 -0
- package/dist/server/routes/system-consolidation.d.ts.map +1 -0
- package/dist/server/routes/system-hooks.d.ts +2 -0
- package/dist/server/routes/system-hooks.d.ts.map +1 -0
- package/dist/server/routes/system-sessions.d.ts +2 -0
- package/dist/server/routes/system-sessions.d.ts.map +1 -0
- package/dist/server/routes/system-subscriptions.d.ts +2 -0
- package/dist/server/routes/system-subscriptions.d.ts.map +1 -0
- package/dist/server/routes/system-synthesis.d.ts +2 -0
- package/dist/server/routes/system-synthesis.d.ts.map +1 -0
- package/dist/server/routes/system-tools.d.ts +2 -0
- package/dist/server/routes/system-tools.d.ts.map +1 -0
- package/dist/server/routes/system.d.ts +2 -0
- package/dist/server/routes/system.d.ts.map +1 -0
- package/dist/server/routes/tasks.d.ts +2 -0
- package/dist/server/routes/tasks.d.ts.map +1 -0
- package/dist/storage.d.ts +298 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +134 -17
- package/dist/test-support/memories-page-stub-server.d.ts +2 -0
- package/dist/test-support/memories-page-stub-server.d.ts.map +1 -0
- package/dist/test-support/memories-page-stub.d.ts +28 -0
- package/dist/test-support/memories-page-stub.d.ts.map +1 -0
- package/dist/test-support/pg-sync-stub-worker.d.ts +2 -0
- package/dist/test-support/pg-sync-stub-worker.d.ts.map +1 -0
- package/dist/test-support/preload-local-store.d.ts +2 -0
- package/dist/test-support/preload-local-store.d.ts.map +1 -0
- package/dist/test-support/project-authority-identity.d.ts +8 -0
- package/dist/test-support/project-authority-identity.d.ts.map +1 -0
- package/dist/test-support/store-isolation.d.ts +108 -0
- package/dist/test-support/store-isolation.d.ts.map +1 -0
- package/dist/test-support/strip-ansi.d.ts +3 -0
- package/dist/test-support/strip-ansi.d.ts.map +1 -0
- package/dist/types/hooks.d.ts +136 -0
- package/dist/types/hooks.d.ts.map +1 -0
- package/dist/types/index.d.ts +482 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +6 -4
- package/postinstall.mjs +34 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ProjectAuthorityIdentity } from "../types/index.js";
|
|
2
|
+
import { type MementosProjectRegistrationAuthorityOptions, type MementosProjectRegistrationCapability } from "./types.js";
|
|
3
|
+
export declare const MEMENTOS_PROJECT_AUTHORITY_ENV: {
|
|
4
|
+
readonly authorityId: "MEMENTOS_PROJECT_AUTHORITY_ID";
|
|
5
|
+
readonly tenantId: "MEMENTOS_PROJECT_TENANT_ID";
|
|
6
|
+
readonly corpusId: "MEMENTOS_PROJECT_CORPUS_ID";
|
|
7
|
+
};
|
|
8
|
+
export declare class MementosProjectAuthorityIdentityError extends Error {
|
|
9
|
+
readonly missing_env: string[];
|
|
10
|
+
readonly code: "MEMENTOS_PROJECT_AUTHORITY_UNCONFIGURED";
|
|
11
|
+
constructor(missing_env: string[]);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The one package-owned source for the authority binding advertised by the
|
|
15
|
+
* live capability. Callers consume this binding instead of copying
|
|
16
|
+
* authority/tenant/corpus literals into individual commands or data paths.
|
|
17
|
+
*/
|
|
18
|
+
export declare function resolveMementosProjectAuthorityIdentity(options?: Pick<MementosProjectRegistrationAuthorityOptions, "authorityId" | "tenantId" | "corpusId">): ProjectAuthorityIdentity;
|
|
19
|
+
export declare function buildMementosProjectRegistrationCapability(options?: MementosProjectRegistrationAuthorityOptions): MementosProjectRegistrationCapability;
|
|
20
|
+
//# sourceMappingURL=identity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/project-registration/identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAIL,KAAK,2CAA2C,EAChD,KAAK,qCAAqC,EAC3C,MAAM,YAAY,CAAC;AAMpB,eAAO,MAAM,8BAA8B;;;;CAIjC,CAAC;AAWX,qBAAa,qCAAsC,SAAQ,KAAK;aAGlC,WAAW,EAAE,MAAM,EAAE;IAFjD,QAAQ,CAAC,IAAI,EAAG,yCAAyC,CAAU;gBAEvC,WAAW,EAAE,MAAM,EAAE;CAOlD;AAED;;;;GAIG;AACH,wBAAgB,uCAAuC,CACrD,OAAO,GAAE,IAAI,CACX,2CAA2C,EAC3C,aAAa,GAAG,UAAU,GAAG,UAAU,CACnC,GACL,wBAAwB,CAyB1B;AAED,wBAAgB,0CAA0C,CACxD,OAAO,GAAE,2CAAgD,GACxD,qCAAqC,CAiCvC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { PackageOwnedMementosProjectRegistrationAuthority, canonicalMementosProjectRegistrationJson, createLocalMementosProjectRegistrationAuthority, createMementosProjectRegistrationAuthority, deriveMementosProjectRegistrationIdempotencyKey, digestMementosProjectRegistrationValue, } from "./authority.js";
|
|
2
|
+
export { MementosProjectRegistrationHttpClient, createMementosProjectRegistrationHttpClient, handleMementosProjectRegistrationHttpRequest, } from "./http.js";
|
|
3
|
+
export { postgresMementosProjectRegistrationSchemaSql, postgresMementosProjectGuardedUpdateSchemaSql, sqliteMementosProjectRegistrationSchemaSql, sqliteMementosProjectGuardedUpdateSchemaSql, } from "./schema.js";
|
|
4
|
+
export { MEMENTOS_PROJECT_REFERENCE_SURFACES, hasMementosProjectReferences, mementosProjectReferenceCounts, } from "./project-references.js";
|
|
5
|
+
export { buildMementosProjectRegistrationCapability, MementosProjectAuthorityIdentityError, MEMENTOS_PROJECT_AUTHORITY_ENV, resolveMementosProjectAuthorityIdentity, } from "./identity.js";
|
|
6
|
+
export { MementosProjectResourceError, getMementosProjectResourceExact, readAllMementosProjectResources, readMementosProjectResourcePage, } from "./project-resources.js";
|
|
7
|
+
export type { MementosProjectResourceErrorCode, ReadAllMementosProjectResourcesOptions, ReadMementosProjectResourcePageOptions, } from "./project-resources.js";
|
|
8
|
+
export type { MementosProjectReferenceCounts, MementosProjectReferenceKey, } from "./project-references.js";
|
|
9
|
+
export { MEMENTOS_PROJECT_REGISTRATION_CALLER_ROUTE, MEMENTOS_PROJECT_REGISTRATION_ROUTE, MEMENTOS_PROJECT_REGISTRATION_SCHEMA_VERSION, MEMENTOS_PROJECT_GUARDED_UPDATE_ROUTE, MEMENTOS_PROJECT_RESOURCE_KINDS, MEMENTOS_PROJECT_RESOURCE_ROUTE, MementosProjectRegistrationError, } from "./types.js";
|
|
10
|
+
export type { MementosProjectGuardedRollbackRequest, MementosProjectGuardedUpdateReceipt, MementosProjectGuardedUpdateReceiptLookupRequest, MementosProjectGuardedUpdateReceiptLookupResult, MementosProjectGuardedUpdateRequest, MementosProjectGuardedUpdateResult, MementosProjectRegistrationAuthority, MementosProjectRegistrationAuthorityOptions, MementosProjectRegistrationBounds, MementosProjectRegistrationCapability, MementosProjectRegistrationDirection, MementosProjectRegistrationErrorCode, MementosProjectRegistrationFaultPoint, MementosProjectRegistrationHistoricalLookupIdentity, MementosProjectRegistrationHttpClientOptions, MementosProjectRegistrationInverseVerification, MementosProjectRegistrationLookupRequest, MementosProjectRegistrationLookupResult, MementosProjectRegistrationOutcome, MementosProjectRegistrationPathHandle, MementosProjectRegistrationReceipt, MementosProjectRegistrationRecord, MementosProjectRegistrationRequest, MementosProjectRegistrationResourceKind, MementosProjectRegistrationResponseControl, MementosProjectResource, MementosProjectResourceAuthority, MementosProjectResourceExactResult, MementosProjectResourceKind, MementosProjectResourcePage, } from "./types.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":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ClC,iCAAiC,EACjC,kCAAkC,EAClC,uCAAuC,EACvC,0CAA0C,EAC1C,uBAAuB,EACvB,gCAAgC,EAChC,kCAAkC,EAClC,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { DbAdapter } from "../storage.js";
|
|
2
|
+
/**
|
|
3
|
+
* Every supported schema column that directly points at a Mementos project.
|
|
4
|
+
* Counts, receipt digests, inverse admission, and the conditional DELETE all
|
|
5
|
+
* derive from this registry so adding a relationship cannot update one guard
|
|
6
|
+
* while silently bypassing another.
|
|
7
|
+
*/
|
|
8
|
+
export declare const MEMENTOS_PROJECT_REFERENCE_SURFACES: readonly [{
|
|
9
|
+
readonly key: "memories";
|
|
10
|
+
readonly table: "memories";
|
|
11
|
+
readonly column: "project_id";
|
|
12
|
+
}, {
|
|
13
|
+
readonly key: "sessions";
|
|
14
|
+
readonly table: "sessions";
|
|
15
|
+
readonly column: "project_id";
|
|
16
|
+
}, {
|
|
17
|
+
readonly key: "entities";
|
|
18
|
+
readonly table: "entities";
|
|
19
|
+
readonly column: "project_id";
|
|
20
|
+
}, {
|
|
21
|
+
readonly key: "agents";
|
|
22
|
+
readonly table: "agents";
|
|
23
|
+
readonly column: "active_project_id";
|
|
24
|
+
}, {
|
|
25
|
+
readonly key: "tool_events";
|
|
26
|
+
readonly table: "tool_events";
|
|
27
|
+
readonly column: "project_id";
|
|
28
|
+
}, {
|
|
29
|
+
readonly key: "tasks";
|
|
30
|
+
readonly table: "tasks";
|
|
31
|
+
readonly column: "project_id";
|
|
32
|
+
}, {
|
|
33
|
+
readonly key: "memory_consolidation_runs";
|
|
34
|
+
readonly table: "memory_consolidation_runs";
|
|
35
|
+
readonly column: "project_id";
|
|
36
|
+
}, {
|
|
37
|
+
readonly key: "memory_reflection_runs";
|
|
38
|
+
readonly table: "memory_reflection_runs";
|
|
39
|
+
readonly column: "project_id";
|
|
40
|
+
}, {
|
|
41
|
+
readonly key: "memory_acl";
|
|
42
|
+
readonly table: "memory_acl";
|
|
43
|
+
readonly column: "project_id";
|
|
44
|
+
}, {
|
|
45
|
+
readonly key: "search_history";
|
|
46
|
+
readonly table: "search_history";
|
|
47
|
+
readonly column: "project_id";
|
|
48
|
+
}, {
|
|
49
|
+
readonly key: "session_memory_jobs";
|
|
50
|
+
readonly table: "session_memory_jobs";
|
|
51
|
+
readonly column: "project_id";
|
|
52
|
+
}, {
|
|
53
|
+
readonly key: "synthesis_events";
|
|
54
|
+
readonly table: "synthesis_events";
|
|
55
|
+
readonly column: "project_id";
|
|
56
|
+
}, {
|
|
57
|
+
readonly key: "synthesis_runs";
|
|
58
|
+
readonly table: "synthesis_runs";
|
|
59
|
+
readonly column: "project_id";
|
|
60
|
+
}, {
|
|
61
|
+
readonly key: "webhook_hooks";
|
|
62
|
+
readonly table: "webhook_hooks";
|
|
63
|
+
readonly column: "project_id";
|
|
64
|
+
}];
|
|
65
|
+
export type MementosProjectReferenceKey = (typeof MEMENTOS_PROJECT_REFERENCE_SURFACES)[number]["key"];
|
|
66
|
+
export type MementosProjectReferenceCounts = Record<MementosProjectReferenceKey, number>;
|
|
67
|
+
export declare function mementosProjectReferenceCounts(db: DbAdapter, projectId: string): MementosProjectReferenceCounts;
|
|
68
|
+
export declare function hasMementosProjectReferences(counts: MementosProjectReferenceCounts): boolean;
|
|
69
|
+
/** Delete exactly one project only when every registered direct relationship is absent. */
|
|
70
|
+
export declare function deleteMementosProjectIfUnreferenced(db: DbAdapter, projectId: string): number;
|
|
71
|
+
//# sourceMappingURL=project-references.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-references.d.ts","sourceRoot":"","sources":["../../src/project-registration/project-references.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BtC,CAAC;AAEX,MAAM,MAAM,2BAA2B,GACrC,CAAC,OAAO,mCAAmC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;AAE9D,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;AASzF,wBAAgB,8BAA8B,CAC5C,EAAE,EAAE,SAAS,EACb,SAAS,EAAE,MAAM,GAChB,8BAA8B,CAYhC;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,8BAA8B,GACrC,OAAO,CAET;AAED,2FAA2F;AAC3F,wBAAgB,mCAAmC,CACjD,EAAE,EAAE,SAAS,EACb,SAAS,EAAE,MAAM,GAChB,MAAM,CAaR"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DbAdapter, SqliteAdapter } from "../storage.js";
|
|
2
|
+
import { type MementosProjectRegistrationAuthorityOptions, type MementosProjectResourceExactResult, type MementosProjectResourceKind, type MementosProjectResourcePage } from "./types.js";
|
|
3
|
+
export type MementosProjectResourceErrorCode = "MEMENTOS_PROJECT_RESOURCE_INVALID_INPUT" | "MEMENTOS_PROJECT_RESOURCE_PROJECT_NOT_FOUND" | "MEMENTOS_PROJECT_RESOURCE_NOT_FOUND" | "MEMENTOS_PROJECT_RESOURCE_COLLECTION_CHANGED" | "MEMENTOS_PROJECT_RESOURCE_INCOMPLETE";
|
|
4
|
+
export declare class MementosProjectResourceError extends Error {
|
|
5
|
+
readonly code: MementosProjectResourceErrorCode;
|
|
6
|
+
readonly details: Record<string, unknown>;
|
|
7
|
+
constructor(code: MementosProjectResourceErrorCode, message: string, details?: Record<string, unknown>);
|
|
8
|
+
}
|
|
9
|
+
export interface ReadMementosProjectResourcePageOptions {
|
|
10
|
+
limit?: number;
|
|
11
|
+
cursor?: string | null;
|
|
12
|
+
resource_kinds?: MementosProjectResourceKind[];
|
|
13
|
+
}
|
|
14
|
+
export interface ReadAllMementosProjectResourcesOptions {
|
|
15
|
+
page_size?: number;
|
|
16
|
+
resource_kinds?: MementosProjectResourceKind[];
|
|
17
|
+
}
|
|
18
|
+
export declare function readMementosProjectResourcePage(projectId: string, options?: ReadMementosProjectResourcePageOptions, db?: DbAdapter, authorityOptions?: MementosProjectRegistrationAuthorityOptions): MementosProjectResourcePage;
|
|
19
|
+
export declare function readAllMementosProjectResources(projectId: string, options?: ReadAllMementosProjectResourcesOptions, db?: DbAdapter, authorityOptions?: MementosProjectRegistrationAuthorityOptions): MementosProjectResourcePage;
|
|
20
|
+
export declare function getMementosProjectResourceExact(projectId: string, resourceKind: MementosProjectResourceKind, stableId: string, db?: DbAdapter, authorityOptions?: MementosProjectRegistrationAuthorityOptions): MementosProjectResourceExactResult;
|
|
21
|
+
export type { SqliteAdapter };
|
|
22
|
+
//# sourceMappingURL=project-resources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-resources.d.ts","sourceRoot":"","sources":["../../src/project-registration/project-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAQ9D,OAAO,EAGL,KAAK,2CAA2C,EAEhD,KAAK,kCAAkC,EACvC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EACjC,MAAM,YAAY,CAAC;AAwBpB,MAAM,MAAM,gCAAgC,GACxC,yCAAyC,GACzC,6CAA6C,GAC7C,qCAAqC,GACrC,8CAA8C,GAC9C,sCAAsC,CAAC;AAE3C,qBAAa,4BAA6B,SAAQ,KAAK;IAEnD,QAAQ,CAAC,IAAI,EAAE,gCAAgC;IAE/C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAFhC,IAAI,EAAE,gCAAgC,EAC/C,OAAO,EAAE,MAAM,EACN,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM;CAKjD;AAED,MAAM,WAAW,sCAAsC;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,2BAA2B,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,sCAAsC;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,2BAA2B,EAAE,CAAC;CAChD;AAoMD,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,sCAA2C,EACpD,EAAE,CAAC,EAAE,SAAS,EACd,gBAAgB,GAAE,2CAAgD,GACjE,2BAA2B,CAoF7B;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,sCAA2C,EACpD,EAAE,CAAC,EAAE,SAAS,EACd,gBAAgB,GAAE,2CAAgD,GACjE,2BAA2B,CA0G7B;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,2BAA2B,EACzC,QAAQ,EAAE,MAAM,EAChB,EAAE,CAAC,EAAE,SAAS,EACd,gBAAgB,GAAE,2CAAgD,GACjE,kCAAkC,CA2CpC;AAED,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function sqliteMementosProjectRegistrationSchemaSql(): string;
|
|
2
|
+
export declare function postgresMementosProjectRegistrationSchemaSql(): string;
|
|
3
|
+
export declare function sqliteMementosProjectGuardedUpdateSchemaSql(): string;
|
|
4
|
+
export declare function postgresMementosProjectGuardedUpdateSchemaSql(): string;
|
|
5
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/project-registration/schema.ts"],"names":[],"mappings":"AAAA,wBAAgB,0CAA0C,IAAI,MAAM,CAwFnE;AAED,wBAAgB,4CAA4C,IAAI,MAAM,CAyFrE;AAED,wBAAgB,2CAA2C,IAAI,MAAM,CA4CpE;AAED,wBAAgB,6CAA6C,IAAI,MAAM,CA8CtE"}
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
export declare const MEMENTOS_PROJECT_REGISTRATION_ROUTE: "mementos.project-registration.v1";
|
|
2
|
+
export declare const MEMENTOS_PROJECT_REGISTRATION_CALLER_ROUTE: "projects.full-registration.v1";
|
|
3
|
+
export declare const MEMENTOS_PROJECT_REGISTRATION_SCHEMA_VERSION: 1;
|
|
4
|
+
export declare const MEMENTOS_PROJECT_GUARDED_UPDATE_ROUTE: "mementos.project-guarded-update.v1";
|
|
5
|
+
export declare const MEMENTOS_PROJECT_RESOURCE_ROUTE: "mementos.project-resources.v1";
|
|
6
|
+
export declare const MEMENTOS_PROJECT_RESOURCE_KINDS: readonly ["project", "knowledge", "memory", "session"];
|
|
7
|
+
export type MementosProjectResourceKind = (typeof MEMENTOS_PROJECT_RESOURCE_KINDS)[number];
|
|
8
|
+
export type MementosProjectRegistrationResourceKind = "project";
|
|
9
|
+
export type MementosProjectRegistrationDirection = "forward" | "inverse";
|
|
10
|
+
export type MementosProjectRegistrationOutcome = "accepted" | "duplicate_of_accepted" | "terminal_nonacceptance";
|
|
11
|
+
export interface MementosProjectRegistrationBounds {
|
|
12
|
+
response_byte_limit: number;
|
|
13
|
+
time_budget_ms: number;
|
|
14
|
+
}
|
|
15
|
+
export interface MementosProjectRegistrationResponseControl extends MementosProjectRegistrationBounds {
|
|
16
|
+
response_bytes: number;
|
|
17
|
+
elapsed_ms: number;
|
|
18
|
+
complete: true;
|
|
19
|
+
truncated: false;
|
|
20
|
+
}
|
|
21
|
+
export interface MementosProjectRegistrationCapability {
|
|
22
|
+
authority: "mementos";
|
|
23
|
+
route: typeof MEMENTOS_PROJECT_REGISTRATION_ROUTE;
|
|
24
|
+
package_version: string;
|
|
25
|
+
authority_id: string;
|
|
26
|
+
tenant_id: string;
|
|
27
|
+
corpus_id: string;
|
|
28
|
+
supported_resources: ["project"];
|
|
29
|
+
supported_historical_lookup_identities: MementosProjectRegistrationHistoricalLookupIdentity[];
|
|
30
|
+
conditional_create: true;
|
|
31
|
+
immutable_receipts: true;
|
|
32
|
+
exact_terminal_lookup: true;
|
|
33
|
+
exact_readback: true;
|
|
34
|
+
conditional_inverse: true;
|
|
35
|
+
ambiguous_outcome_reconciliation: true;
|
|
36
|
+
guarded_update: true;
|
|
37
|
+
guarded_update_route: typeof MEMENTOS_PROJECT_GUARDED_UPDATE_ROUTE;
|
|
38
|
+
no_write_dry_run: true;
|
|
39
|
+
expected_revision_compare_and_swap: true;
|
|
40
|
+
caller_idempotency: true;
|
|
41
|
+
exact_inverse_rollback: true;
|
|
42
|
+
project_resource_enumeration: true;
|
|
43
|
+
project_resource_route: typeof MEMENTOS_PROJECT_RESOURCE_ROUTE;
|
|
44
|
+
project_resource_kinds: ["project", "knowledge", "memory", "session"];
|
|
45
|
+
stable_keyset_pagination: true;
|
|
46
|
+
explicit_membership_only: true;
|
|
47
|
+
}
|
|
48
|
+
export interface MementosProjectRegistrationHistoricalLookupIdentity {
|
|
49
|
+
source: {
|
|
50
|
+
authority: "mementos";
|
|
51
|
+
authority_route: typeof MEMENTOS_PROJECT_REGISTRATION_ROUTE;
|
|
52
|
+
package_version: string;
|
|
53
|
+
authority_id: string;
|
|
54
|
+
tenant_id: string;
|
|
55
|
+
corpus_id: string;
|
|
56
|
+
operation_id: string;
|
|
57
|
+
step_id: string;
|
|
58
|
+
resource_kind: "project";
|
|
59
|
+
direction: "forward";
|
|
60
|
+
target_selector: string;
|
|
61
|
+
target_id: string;
|
|
62
|
+
idempotency_key: string;
|
|
63
|
+
receipt_id: string;
|
|
64
|
+
};
|
|
65
|
+
destination: {
|
|
66
|
+
authority_id: string;
|
|
67
|
+
tenant_id: string;
|
|
68
|
+
corpus_id: string;
|
|
69
|
+
};
|
|
70
|
+
lookup_only: true;
|
|
71
|
+
immutable_receipt: true;
|
|
72
|
+
}
|
|
73
|
+
export interface MementosProjectResourceAuthority {
|
|
74
|
+
authority: "mementos";
|
|
75
|
+
authority_id: string;
|
|
76
|
+
tenant_id: string;
|
|
77
|
+
corpus_id: string;
|
|
78
|
+
package_version: string;
|
|
79
|
+
}
|
|
80
|
+
export interface MementosProjectResource {
|
|
81
|
+
authority: "mementos";
|
|
82
|
+
source_package: "@hasna/mementos";
|
|
83
|
+
project_id: string;
|
|
84
|
+
resource_kind: MementosProjectResourceKind;
|
|
85
|
+
stable_id: string;
|
|
86
|
+
revision: string;
|
|
87
|
+
digest: string;
|
|
88
|
+
membership: "project_aggregate" | "explicit_project_id_or_focus";
|
|
89
|
+
}
|
|
90
|
+
export interface MementosProjectResourcePage {
|
|
91
|
+
schema: typeof MEMENTOS_PROJECT_RESOURCE_ROUTE;
|
|
92
|
+
authority: MementosProjectResourceAuthority;
|
|
93
|
+
project_id: string;
|
|
94
|
+
project_revision: string;
|
|
95
|
+
collection_revision: string;
|
|
96
|
+
resource_kinds: MementosProjectResourceKind[];
|
|
97
|
+
resources: MementosProjectResource[];
|
|
98
|
+
count: number;
|
|
99
|
+
total: number;
|
|
100
|
+
limit: number;
|
|
101
|
+
cursor: string | null;
|
|
102
|
+
next_cursor: string | null;
|
|
103
|
+
has_more: boolean;
|
|
104
|
+
complete: true;
|
|
105
|
+
truncated: false;
|
|
106
|
+
}
|
|
107
|
+
export interface MementosProjectResourceExactResult {
|
|
108
|
+
schema: "mementos.project-resource.v1";
|
|
109
|
+
authority: MementosProjectResourceAuthority;
|
|
110
|
+
project_id: string;
|
|
111
|
+
project_revision: string;
|
|
112
|
+
collection_revision: string;
|
|
113
|
+
resource: MementosProjectResource;
|
|
114
|
+
complete: true;
|
|
115
|
+
truncated: false;
|
|
116
|
+
}
|
|
117
|
+
export interface MementosProjectRegistrationReceipt {
|
|
118
|
+
receipt_id: string;
|
|
119
|
+
authority: "mementos";
|
|
120
|
+
route: typeof MEMENTOS_PROJECT_REGISTRATION_ROUTE;
|
|
121
|
+
package_version: string;
|
|
122
|
+
authority_id: string;
|
|
123
|
+
tenant_id: string;
|
|
124
|
+
corpus_id: string;
|
|
125
|
+
operation_id: string;
|
|
126
|
+
step_id: string;
|
|
127
|
+
resource_kind: "project";
|
|
128
|
+
direction: MementosProjectRegistrationDirection;
|
|
129
|
+
idempotency_key: string;
|
|
130
|
+
request_digest: string;
|
|
131
|
+
precondition_digest: string;
|
|
132
|
+
outcome: MementosProjectRegistrationOutcome;
|
|
133
|
+
reason: string | null;
|
|
134
|
+
target_id: string | null;
|
|
135
|
+
result_revision: string | null;
|
|
136
|
+
result_digest: string | null;
|
|
137
|
+
duplicate_of_receipt_id: string | null;
|
|
138
|
+
accepted_receipt_id: string | null;
|
|
139
|
+
created_by_operation: boolean;
|
|
140
|
+
created_at: string;
|
|
141
|
+
}
|
|
142
|
+
export interface MementosProjectRegistrationRecord {
|
|
143
|
+
target_id: string;
|
|
144
|
+
revision: string;
|
|
145
|
+
digest: string;
|
|
146
|
+
}
|
|
147
|
+
export interface MementosProjectGuardedUpdateReceipt {
|
|
148
|
+
receipt_id: string;
|
|
149
|
+
authority: "mementos";
|
|
150
|
+
route: typeof MEMENTOS_PROJECT_GUARDED_UPDATE_ROUTE;
|
|
151
|
+
package_version: string;
|
|
152
|
+
authority_id: string;
|
|
153
|
+
tenant_id: string;
|
|
154
|
+
corpus_id: string;
|
|
155
|
+
operation_id: string;
|
|
156
|
+
step_id: string;
|
|
157
|
+
direction: "forward" | "rollback";
|
|
158
|
+
idempotency_key: string;
|
|
159
|
+
request_digest: string;
|
|
160
|
+
outcome: "accepted";
|
|
161
|
+
target_id: string;
|
|
162
|
+
expected_revision: string;
|
|
163
|
+
result_revision: string;
|
|
164
|
+
result_digest: string;
|
|
165
|
+
accepted_receipt_id: string | null;
|
|
166
|
+
created_at: string;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Structural handle implemented by @hasna/projects. The absolute path can be
|
|
170
|
+
* consumed by this authority but is never returned in a capability, receipt,
|
|
171
|
+
* lookup, or exact-read response.
|
|
172
|
+
*/
|
|
173
|
+
export interface MementosProjectRegistrationPathHandle {
|
|
174
|
+
withOwnedPath<T>(consumer: (absolutePath: string) => T): T;
|
|
175
|
+
}
|
|
176
|
+
export interface MementosProjectGuardedUpdateRequest extends MementosProjectRegistrationBounds {
|
|
177
|
+
authority: "mementos";
|
|
178
|
+
authority_route: typeof MEMENTOS_PROJECT_GUARDED_UPDATE_ROUTE;
|
|
179
|
+
package_version: string;
|
|
180
|
+
authority_id: string;
|
|
181
|
+
tenant_id: string;
|
|
182
|
+
corpus_id: string;
|
|
183
|
+
operation_id: string;
|
|
184
|
+
step_id: string;
|
|
185
|
+
idempotency_key: string;
|
|
186
|
+
expected_revision: string;
|
|
187
|
+
updates: {
|
|
188
|
+
path: MementosProjectRegistrationPathHandle;
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
export interface MementosProjectGuardedUpdateReceiptLookupRequest extends MementosProjectRegistrationBounds {
|
|
192
|
+
authority: "mementos";
|
|
193
|
+
authority_route: typeof MEMENTOS_PROJECT_GUARDED_UPDATE_ROUTE;
|
|
194
|
+
package_version: string;
|
|
195
|
+
authority_id: string;
|
|
196
|
+
tenant_id: string;
|
|
197
|
+
corpus_id: string;
|
|
198
|
+
}
|
|
199
|
+
export interface MementosProjectGuardedRollbackRequest extends MementosProjectGuardedUpdateReceiptLookupRequest {
|
|
200
|
+
operation_id: string;
|
|
201
|
+
step_id: string;
|
|
202
|
+
idempotency_key: string;
|
|
203
|
+
expected_revision: string;
|
|
204
|
+
accepted_receipt: MementosProjectGuardedUpdateReceipt;
|
|
205
|
+
}
|
|
206
|
+
export interface MementosProjectGuardedUpdateResult {
|
|
207
|
+
dry_run: false;
|
|
208
|
+
applied: true;
|
|
209
|
+
record: MementosProjectRegistrationRecord;
|
|
210
|
+
receipt: MementosProjectGuardedUpdateReceipt;
|
|
211
|
+
response_control: MementosProjectRegistrationResponseControl;
|
|
212
|
+
}
|
|
213
|
+
export interface MementosProjectGuardedUpdateReceiptLookupResult {
|
|
214
|
+
receipt: MementosProjectGuardedUpdateReceipt;
|
|
215
|
+
response_control: MementosProjectRegistrationResponseControl;
|
|
216
|
+
}
|
|
217
|
+
export interface MementosProjectRegistrationRequest extends MementosProjectRegistrationBounds {
|
|
218
|
+
operation_id: string;
|
|
219
|
+
step_id: string;
|
|
220
|
+
resource_kind: "project";
|
|
221
|
+
direction: MementosProjectRegistrationDirection;
|
|
222
|
+
authority_route: string;
|
|
223
|
+
package_version: string;
|
|
224
|
+
authority_id: string;
|
|
225
|
+
tenant_id: string;
|
|
226
|
+
corpus_id: string;
|
|
227
|
+
target_selector: string;
|
|
228
|
+
idempotency_key: string;
|
|
229
|
+
request_digest: string;
|
|
230
|
+
precondition_digest: string;
|
|
231
|
+
project_id: string;
|
|
232
|
+
project_slug: string;
|
|
233
|
+
project_name: string;
|
|
234
|
+
desired: Record<string, unknown>;
|
|
235
|
+
target: MementosProjectRegistrationPathHandle;
|
|
236
|
+
accepted_receipt?: MementosProjectRegistrationReceipt;
|
|
237
|
+
}
|
|
238
|
+
export interface MementosProjectRegistrationLookupRequest extends MementosProjectRegistrationBounds {
|
|
239
|
+
operation_id: string;
|
|
240
|
+
step_id: string;
|
|
241
|
+
resource_kind: "project";
|
|
242
|
+
direction: MementosProjectRegistrationDirection;
|
|
243
|
+
authority: "mementos";
|
|
244
|
+
authority_route: string;
|
|
245
|
+
package_version: string;
|
|
246
|
+
authority_id: string;
|
|
247
|
+
tenant_id: string;
|
|
248
|
+
corpus_id: string;
|
|
249
|
+
target_selector: string;
|
|
250
|
+
idempotency_key: string;
|
|
251
|
+
target_id?: string;
|
|
252
|
+
max_items: 1;
|
|
253
|
+
}
|
|
254
|
+
export interface MementosProjectRegistrationLookupResult {
|
|
255
|
+
receipt: MementosProjectRegistrationReceipt;
|
|
256
|
+
response_control: MementosProjectRegistrationResponseControl;
|
|
257
|
+
}
|
|
258
|
+
export interface MementosProjectRegistrationInverseVerification {
|
|
259
|
+
target_id: string;
|
|
260
|
+
accepted_receipt_id: string;
|
|
261
|
+
absent: true;
|
|
262
|
+
digest: string;
|
|
263
|
+
}
|
|
264
|
+
export interface MementosProjectRegistrationAuthority {
|
|
265
|
+
readonly authority: "mementos";
|
|
266
|
+
capability(): Promise<MementosProjectRegistrationCapability>;
|
|
267
|
+
create(request: MementosProjectRegistrationRequest): Promise<MementosProjectRegistrationReceipt>;
|
|
268
|
+
readExact(request: {
|
|
269
|
+
resource_kind: "project";
|
|
270
|
+
target_id: string;
|
|
271
|
+
target: MementosProjectRegistrationPathHandle;
|
|
272
|
+
response_byte_limit: number;
|
|
273
|
+
time_budget_ms: number;
|
|
274
|
+
}): Promise<MementosProjectRegistrationRecord>;
|
|
275
|
+
lookupReceipt(request: MementosProjectRegistrationLookupRequest): Promise<MementosProjectRegistrationLookupResult>;
|
|
276
|
+
compensate(request: MementosProjectRegistrationRequest): Promise<MementosProjectRegistrationReceipt>;
|
|
277
|
+
verifyInverse(request: MementosProjectRegistrationRequest): Promise<MementosProjectRegistrationInverseVerification>;
|
|
278
|
+
guardedUpdateProject(targetId: string, request: MementosProjectGuardedUpdateRequest): Promise<MementosProjectGuardedUpdateResult>;
|
|
279
|
+
getGuardedProjectUpdateReceipt(targetId: string, receiptId: string, request: MementosProjectGuardedUpdateReceiptLookupRequest): Promise<MementosProjectGuardedUpdateReceiptLookupResult>;
|
|
280
|
+
rollbackGuardedProjectUpdate(targetId: string, request: MementosProjectGuardedRollbackRequest): Promise<MementosProjectGuardedUpdateResult>;
|
|
281
|
+
}
|
|
282
|
+
export type MementosProjectRegistrationFaultPoint = "before_object_write" | "after_object_write" | "before_receipt_write" | "after_receipt_write" | "after_commit";
|
|
283
|
+
export interface MementosProjectRegistrationAuthorityOptions {
|
|
284
|
+
packageVersion?: string;
|
|
285
|
+
authorityId?: string;
|
|
286
|
+
tenantId?: string;
|
|
287
|
+
corpusId?: string;
|
|
288
|
+
now?: () => string;
|
|
289
|
+
faultInjector?: (point: MementosProjectRegistrationFaultPoint, context: {
|
|
290
|
+
operation_id: string;
|
|
291
|
+
step_id: string;
|
|
292
|
+
resource_kind: "project";
|
|
293
|
+
direction: MementosProjectRegistrationDirection;
|
|
294
|
+
}) => void;
|
|
295
|
+
}
|
|
296
|
+
export type MementosProjectRegistrationErrorCode = "MEMENTOS_PROJECT_REGISTRATION_INVALID_INPUT" | "MEMENTOS_PROJECT_REGISTRATION_INVALID_BOUNDS" | "MEMENTOS_PROJECT_REGISTRATION_RESPONSE_TOO_LARGE" | "MEMENTOS_PROJECT_REGISTRATION_TIME_BUDGET_EXCEEDED" | "MEMENTOS_PROJECT_REGISTRATION_CAPABILITY_MISMATCH" | "MEMENTOS_PROJECT_REGISTRATION_DIGEST_MISMATCH" | "MEMENTOS_PROJECT_REGISTRATION_IDEMPOTENCY_MISMATCH" | "MEMENTOS_PROJECT_REGISTRATION_EXACT_ID_REQUIRED" | "MEMENTOS_PROJECT_REGISTRATION_RECEIPT_NOT_FOUND" | "MEMENTOS_PROJECT_REGISTRATION_RECORD_NOT_FOUND" | "MEMENTOS_PROJECT_REGISTRATION_ACCEPTED_RECEIPT_NOT_FOUND" | "MEMENTOS_PROJECT_REGISTRATION_ATOMICITY_UNAVAILABLE" | "MEMENTOS_PROJECT_REGISTRATION_CONFLICT";
|
|
297
|
+
export declare class MementosProjectRegistrationError extends Error {
|
|
298
|
+
readonly code: MementosProjectRegistrationErrorCode;
|
|
299
|
+
readonly details: Record<string, unknown>;
|
|
300
|
+
constructor(code: MementosProjectRegistrationErrorCode, message: string, details?: Record<string, unknown>);
|
|
301
|
+
}
|
|
302
|
+
export interface MementosProjectRegistrationHttpClientOptions {
|
|
303
|
+
baseUrl: string;
|
|
304
|
+
apiKey?: string;
|
|
305
|
+
fetch?: typeof globalThis.fetch;
|
|
306
|
+
headers?: Record<string, string>;
|
|
307
|
+
}
|
|
308
|
+
/** Private wire request used only between the package-owned HTTP client/server. */
|
|
309
|
+
export interface MementosProjectRegistrationWireRequest extends Omit<MementosProjectRegistrationRequest, "target"> {
|
|
310
|
+
canonical_path: string;
|
|
311
|
+
}
|
|
312
|
+
/** Private guarded-update wire request; the raw path is request-only. */
|
|
313
|
+
export interface MementosProjectGuardedUpdateWireRequest extends Omit<MementosProjectGuardedUpdateRequest, "updates"> {
|
|
314
|
+
target_id: string;
|
|
315
|
+
updates: {
|
|
316
|
+
path: string;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/project-registration/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAAG,kCAA2C,CAAC;AAC/F,eAAO,MAAM,0CAA0C,EAAG,+BAAwC,CAAC;AACnG,eAAO,MAAM,4CAA4C,EAAG,CAAU,CAAC;AACvE,eAAO,MAAM,qCAAqC,EAChD,oCAA6C,CAAC;AAChD,eAAO,MAAM,+BAA+B,EAC1C,+BAAwC,CAAC;AAC3C,eAAO,MAAM,+BAA+B,wDAKlC,CAAC;AACX,MAAM,MAAM,2BAA2B,GACrC,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,MAAM,MAAM,uCAAuC,GAAG,SAAS,CAAC;AAChE,MAAM,MAAM,oCAAoC,GAAG,SAAS,GAAG,SAAS,CAAC;AACzE,MAAM,MAAM,kCAAkC,GAC1C,UAAU,GACV,uBAAuB,GACvB,wBAAwB,CAAC;AAE7B,MAAM,WAAW,iCAAiC;IAChD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,0CACjB,SAAQ,iCAAiC;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,IAAI,CAAC;IACf,SAAS,EAAE,KAAK,CAAC;CAClB;AAED,MAAM,WAAW,qCAAqC;IACp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AC;QAChB,aAAa,EAAE,SAAS,CAAC;QACzB,SAAS,EAAE,oCAAoC,CAAC;KACjD,KACE,IAAI,CAAC;CACX;AAED,MAAM,MAAM,oCAAoC,GAC5C,6CAA6C,GAC7C,8CAA8C,GAC9C,kDAAkD,GAClD,oDAAoD,GACpD,mDAAmD,GACnD,+CAA+C,GAC/C,oDAAoD,GACpD,iDAAiD,GACjD,iDAAiD,GACjD,gDAAgD,GAChD,0DAA0D,GAC1D,qDAAqD,GACrD,wCAAwC,CAAC;AAE7C,qBAAa,gCAAiC,SAAQ,KAAK;IAEvD,QAAQ,CAAC,IAAI,EAAE,oCAAoC;IAEnD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAFhC,IAAI,EAAE,oCAAoC,EACnD,OAAO,EAAE,MAAM,EACN,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM;CAKjD;AAED,MAAM,WAAW,4CAA4C;IAC3D,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAED,mFAAmF;AACnF,MAAM,WAAW,sCACjB,SAAQ,IAAI,CAAC,kCAAkC,EAAE,QAAQ,CAAC;IACxD,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,yEAAyE;AACzE,MAAM,WAAW,uCACjB,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-registration.d.ts","sourceRoot":"","sources":["../src/project-registration.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC"}
|