memento-mcp-server 2.0.3 → 2.0.4
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/dist/cli/agent-ask/approval.d.ts +2 -1
- package/dist/cli/agent-ask/approval.d.ts.map +1 -1
- package/dist/cli/agent-ask/io.d.ts +2 -1
- package/dist/cli/agent-ask/io.d.ts.map +1 -1
- package/dist/cli/agent-ask/parse.d.ts +2 -1
- package/dist/cli/agent-ask/parse.d.ts.map +1 -1
- package/dist/cli/agent-ask.d.ts +1 -4
- package/dist/cli/agent-ask.d.ts.map +1 -1
- package/dist/cli/agent-ask.js +1 -2
- package/dist/cli/agent-ask.js.map +1 -1
- package/dist/cli/agent-hook-command.d.ts +13 -0
- package/dist/cli/agent-hook-command.d.ts.map +1 -0
- package/dist/cli/agent-hook-command.js +104 -0
- package/dist/cli/agent-hook-command.js.map +1 -0
- package/dist/cli/agent-ops-core.d.ts +0 -2
- package/dist/cli/agent-ops-core.d.ts.map +1 -1
- package/dist/cli/agent-ops-core.js +2 -2
- package/dist/cli/agent-ops-core.js.map +1 -1
- package/dist/cli/agent-ops.d.ts +2 -2
- package/dist/cli/agent-ops.d.ts.map +1 -1
- package/dist/cli/agent-ops.js.map +1 -1
- package/dist/cli/claude-code-hook.d.ts +0 -9
- package/dist/cli/claude-code-hook.d.ts.map +1 -1
- package/dist/cli/claude-code-hook.js +4 -102
- package/dist/cli/claude-code-hook.js.map +1 -1
- package/dist/cli/codex-hook.d.ts +0 -9
- package/dist/cli/codex-hook.d.ts.map +1 -1
- package/dist/cli/codex-hook.js +4 -98
- package/dist/cli/codex-hook.js.map +1 -1
- package/dist/cli/env-loader.d.ts +2 -9
- package/dist/cli/env-loader.d.ts.map +1 -1
- package/dist/cli/env-loader.js +1 -1
- package/dist/cli/env-loader.js.map +1 -1
- package/dist/cli/project-connect.d.ts +0 -2
- package/dist/cli/project-connect.d.ts.map +1 -1
- package/dist/cli/project-connect.js +1 -1
- package/dist/cli/project-connect.js.map +1 -1
- package/dist/cli/review-queue-cleanup.d.ts +1 -1
- package/dist/cli/review-queue-cleanup.d.ts.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/bootstrap/search-and-embedding.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/bootstrap/search-and-embedding.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/bootstrap/search-and-embedding.js +3 -3
- package/dist/node_modules/@memento/core/dist/bootstrap/search-and-embedding.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/bootstrap.d.ts +3 -0
- package/dist/node_modules/@memento/core/dist/bootstrap.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/bootstrap.js +4 -1
- package/dist/node_modules/@memento/core/dist/bootstrap.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/context.js +1 -0
- package/dist/node_modules/@memento/core/dist/context.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-capture-transaction.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-capture-transaction.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-provenance-graph.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-provenance-graph.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-session-summary-service.d.ts +0 -5
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-session-summary-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-session-summary-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/agent-integration/services/agent-session-summary-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-cache-service.d.ts +1 -2
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-cache-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-cache-service.js +2 -6
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-cache-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-interfaces.d.ts +0 -6
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-interfaces.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-interfaces.js +0 -9
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-interfaces.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-search-service.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-search-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-search-service.js +0 -2
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/anchor-search-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/database-types.d.ts +0 -13
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/database-types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/database-types.js +0 -4
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/database-types.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/embedding-types.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/embedding-types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/local-search-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/local-search-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/n-hop-linked-memory-service.d.ts +2 -2
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/n-hop-linked-memory-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/n-hop-linked-memory-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/n-hop-linked-memory-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/vector-search-engine-types.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/vector-search-engine-types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/index.d.ts +1 -5
- package/dist/node_modules/@memento/core/dist/domains/consolidation/index.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/index.js +1 -4
- package/dist/node_modules/@memento/core/dist/domains/consolidation/index.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/repositories/consolidation-repository.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/consolidation/repositories/consolidation-repository.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/cluster-judge.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/cluster-judge.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/clustering-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/clustering-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/sleep-consolidation-service.d.ts +2 -4
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/sleep-consolidation-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/sleep-consolidation-service.js +0 -6
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/sleep-consolidation-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/summarization-service.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/consolidation/services/summarization-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/providers/embedding-provider-factory.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/providers/embedding-provider-factory.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/providers/model-availability-service.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/embedding/providers/model-availability-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-execution.d.ts +0 -2
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-execution.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-execution.js +2 -2
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-execution.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/{infrastructure/database → domains/embedding/services/embedding-migration-service}/migration-history-service.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-history-service.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/{infrastructure/database → domains/embedding/services/embedding-migration-service}/migration-history-service.js +3 -3
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-history-service.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/{infrastructure/database → domains/embedding/services/embedding-migration-service}/migration-monitor-service.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-monitor-service.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-monitor-service.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-progress.d.ts +1 -3
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-progress.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-progress.js +3 -3
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service/migration-progress.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service.js +2 -2
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-migration-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-reindex-service.d.ts +2 -2
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/embedding-reindex-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/gemini-embedding-service.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/gemini-embedding-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/gemini-embedding-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/gemini-embedding-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/lightweight-embedding-service.d.ts +3 -5
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/lightweight-embedding-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/lightweight-embedding-service.js +0 -3
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/lightweight-embedding-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/mock-embedding-service.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/mock-embedding-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/mock-embedding-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/mock-embedding-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/openai-embedding-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/embedding/services/openai-embedding-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/algorithms/forgetting-algorithm.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/algorithms/forgetting-algorithm.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/algorithms/spaced-repetition.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/algorithms/spaced-repetition.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/services/forgetting-policy-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/services/forgetting-policy-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/services/forgetting-policy-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/services/forgetting-policy-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/tools/forgetting-stats-tool.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/tools/forgetting-stats-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/forgetting/tools/forgetting-stats-tool.js +1 -3
- package/dist/node_modules/@memento/core/dist/domains/forgetting/tools/forgetting-stats-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/introspection-healing-service.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/introspection-healing-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/introspection-healing-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/introspection-healing-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/introspection-scan-cache.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/introspection-scan-cache.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/meta-memory-introspection-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/introspection/meta-memory-introspection-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-llm-extractor.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-llm-extractor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-llm-extractor.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-llm-extractor.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-change-detector.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-change-detector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-extractor.d.ts +2 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-extractor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-extractor.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-similarity.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/procedural-memory-similarity.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/remember-procedure-tool.d.ts +2 -0
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/remember-procedure-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/remember-procedure-tool.js +54 -52
- package/dist/node_modules/@memento/core/dist/domains/memory/procedural/remember-procedure-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-anchor-rotation.d.ts +6 -5
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-anchor-rotation.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-anchor-rotation.js +114 -105
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-anchor-rotation.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-direct.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-direct.js +3 -4
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-direct.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-envelope.d.ts +5 -8
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-envelope.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-envelope.js +90 -89
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-envelope.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-filters.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-filters.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-filters.js +72 -112
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-filters.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-post-search.d.ts +4 -19
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-post-search.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-post-search.js +33 -37
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-post-search.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-results.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-results.js +99 -104
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-results.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-schema.d.ts +28 -28
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool.d.ts +9 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool.js +176 -167
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-near-duplicate.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-near-duplicate.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-augmentation.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-augmentation.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-core.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-core.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-core.js +2 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-core.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-memory-item.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-memory-item.js +291 -249
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-memory-item.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-reflection.d.ts +0 -10
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-reflection.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-reflection.js +2 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-reflection.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-schema.d.ts +33 -33
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-vault.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-vault.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-vault.js +2 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool-vault.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool.d.ts +5 -0
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool.js +86 -78
- package/dist/node_modules/@memento/core/dist/domains/memory/remember/remember-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/repositories/repository-provider.port.d.ts +18 -0
- package/dist/node_modules/@memento/core/dist/domains/memory/repositories/repository-provider.port.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/domains/memory/repositories/repository-provider.port.js +8 -0
- package/dist/node_modules/@memento/core/dist/domains/memory/repositories/repository-provider.port.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-list-query.d.ts +2 -4
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-list-query.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-list-query.js +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-list-query.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-selection-service.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-selection-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-selection-service.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-candidate-selection-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-queue-health-service.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-queue-health-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-queue-health-service.js +0 -3
- package/dist/node_modules/@memento/core/dist/domains/memory/review/memory-review-queue-health-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/core-memory-service.d.ts +2 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/services/core-memory-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/knowledge-vault-service.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/services/knowledge-vault-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-embedding-service.d.ts +0 -8
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-embedding-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-embedding-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-jsonl-portability.d.ts +2 -10
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-jsonl-portability.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-jsonl-portability.js +8 -14
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-jsonl-portability.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-neighbor-service.d.ts +3 -3
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-neighbor-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-neighbor-service.js +0 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/services/memory-neighbor-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/repetition-meta-update-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/repetition-meta-update-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/repetition-meta-update-service.js +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/services/repetition-meta-update-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/export-memories-tool.d.ts +0 -37
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/export-memories-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/export-memories-tool.js +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/export-memories-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/feedback-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/feedback-tool.js +3 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/feedback-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/forget-tool.d.ts +7 -4
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/forget-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/forget-tool.js +29 -18
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/forget-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/memory-injection-prompt.d.ts +0 -2
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/memory-injection-prompt.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/memory-injection-prompt.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/memory-injection-prompt.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/pin-tool.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/pin-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/pin-tool.js +2 -17
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/pin-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/unpin-tool.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/unpin-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/unpin-tool.js +2 -17
- package/dist/node_modules/@memento/core/dist/domains/memory/tools/unpin-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/alert-notification-service.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/alert-notification-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/database-metrics-reader.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/database-metrics-reader.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/error-logging-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/error-logging-service.js +0 -8
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/error-logging-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/failure-detector.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/failure-detector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-alert-manager.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-alert-manager.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-analytics.d.ts +5 -8
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-analytics.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-analytics.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-analytics.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-monitor.d.ts +2 -7
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-monitor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-monitor.js +0 -11
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/performance-monitor.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/category-quality-aggregator.d.ts +5 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/category-quality-aggregator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/category-quality-aggregator.js +155 -139
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/category-quality-aggregator.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-assurance-service.d.ts +5 -4
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-assurance-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-assurance-service.js +2 -4
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-assurance-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-evaluator.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-evaluator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-evaluator.js +1 -2
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-evaluator.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-metrics-collector.d.ts +3 -3
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-metrics-collector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-metrics-collector.js +3 -5
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-metrics-collector.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-metrics-types.d.ts +0 -32
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-metrics-types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-recorder.d.ts +2 -9
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-recorder.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-report-renderers.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-report-renderers.js +1 -0
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/quality-report-renderers.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/relation-metrics-collector.d.ts +2 -0
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/relation-metrics-collector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/relation-metrics-collector.js +114 -106
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/relation-metrics-collector.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-metrics-collector.d.ts +17 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-metrics-collector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-metrics-collector.js +321 -269
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-metrics-collector.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-benchmark-fixtures.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-benchmark-fixtures.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-benchmark-fixtures.js +2 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-benchmark-fixtures.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-metrics.d.ts +0 -51
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-metrics.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-metrics.js +0 -91
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/search-quality-metrics.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/storage-metrics-collector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/storage-metrics-collector.js +168 -229
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/storage-metrics-collector.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-baseline.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-baseline.js +1 -0
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-baseline.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-comparison.d.ts +3 -5
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-comparison.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-comparison.js +2 -3
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-comparison.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-degradation-alerts.d.ts +0 -55
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-degradation-alerts.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-degradation-alerts.js +0 -148
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-degradation-alerts.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-ground-truth.d.ts +0 -19
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-ground-truth.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-ground-truth.js +1 -30
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-ground-truth.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-quality-comparison.d.ts +0 -44
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-quality-comparison.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-quality-comparison.js +2 -2
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-quality-comparison.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics.d.ts +2 -2
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/runtime-diagnostics-logger.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/runtime-diagnostics-logger.js +1 -0
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/runtime-diagnostics-logger.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/search-metrics-store.d.ts +0 -13
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/search-metrics-store.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/tools/performance-stats-tool.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/tools/performance-stats-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/tools/performance-stats-tool.js +1 -3
- package/dist/node_modules/@memento/core/dist/domains/monitoring/tools/performance-stats-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/adapters/deterministic-mock-llm-adapter.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/adapters/deterministic-mock-llm-adapter.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/errors/personal-agent-llm-error.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/errors/personal-agent-llm-error.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/index.d.ts +3 -9
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/index.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/index.js +1 -3
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/index.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/mappers/knowledge-candidate-to-remember-params.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/personal-agent/mappers/knowledge-candidate-to-remember-params.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-based-relation-extractor.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-based-relation-extractor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-based-relation-extractor.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-json.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-json.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-provider-selection.d.ts +5 -4
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-provider-selection.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-relation-extractor/llm-response-parse.d.ts +0 -2
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-relation-extractor/llm-response-parse.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-relation-extractor/llm-response-parse.js +79 -228
- package/dist/node_modules/@memento/core/dist/domains/relation/services/llm-relation-extractor/llm-response-parse.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-errors.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-errors.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-errors.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-errors.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-graph-mutations.d.ts +2 -19
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-graph-mutations.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-graph-mutations.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-graph.d.ts +2 -20
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-graph.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-graph.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-quality-validator/quality-metrics-rules.d.ts +1 -2
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-quality-validator/quality-metrics-rules.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-quality-validator/quality-metrics-rules.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-quality-validator.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-quality-validator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/relation-quality-validator.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/rule-based-relation-extractor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/services/rule-based-relation-extractor.js +1 -2
- package/dist/node_modules/@memento/core/dist/domains/relation/services/rule-based-relation-extractor.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/add-relation-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/add-relation-tool.js +8 -70
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/add-relation-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/extract-relations-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/extract-relations-tool.js +5 -40
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/extract-relations-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/get-relations-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/get-relations-tool.js +4 -30
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/get-relations-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/relation-tool-response.d.ts +4 -0
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/relation-tool-response.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/relation-tool-response.js +10 -0
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/relation-tool-response.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/remove-relation-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/remove-relation-tool.js +5 -40
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/remove-relation-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/visualize-relations-tool.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/visualize-relations-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/visualize-relations-tool.js +4 -30
- package/dist/node_modules/@memento/core/dist/domains/relation/tools/visualize-relations-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-result-ranker.d.ts +3 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-result-ranker.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-result-ranker.js +8 -5
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-result-ranker.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-engine.d.ts +5 -6
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-engine.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-engine.js +5 -12
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-engine.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-provider-parallel.d.ts +3 -7
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-provider-parallel.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-provider-parallel.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-search-provider-parallel.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-vector-search-executor.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/hybrid-vector-search-executor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/process-attribute-fit.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/process-attribute-fit.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-fts-availability.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-fts-availability.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-fts-availability.js +1 -2
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-fts-availability.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-ranking.d.ts +4 -5
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-ranking.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-ranking.js +83 -117
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine/search-engine-ranking.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine.d.ts +3 -17
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine.js +8 -37
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-engine.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-error.d.ts +1 -4
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-error.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-error.js +0 -3
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-error.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking/search-ranking-signals.d.ts +0 -5
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking/search-ranking-signals.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking/search-ranking-signals.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking/search-ranking-signals.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/search-ranking.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/vector-length-decay.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/vector-length-decay.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/vector-search-engine.d.ts +0 -2
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/vector-search-engine.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/vector-search-engine.js +0 -6
- package/dist/node_modules/@memento/core/dist/domains/search/algorithms/vector-search-engine.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/factories/hybrid-search.factory.d.ts +3 -3
- package/dist/node_modules/@memento/core/dist/domains/search/factories/hybrid-search.factory.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/factories/hybrid-search.factory.js +5 -5
- package/dist/node_modules/@memento/core/dist/domains/search/factories/hybrid-search.factory.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/ports/relevance-gate-port.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/domains/search/ports/relevance-gate-port.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-availability.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-availability.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-availability.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-availability.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-hybrid-query.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-hybrid-query.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-hybrid-query.js +1 -27
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-hybrid-query.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-knn-query.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-knn-query.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-knn-query.js +2 -28
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-knn-query.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-result-mapper.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-result-mapper.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-result-mapper.js +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-result-mapper.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-runtime-context.d.ts +0 -9
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-runtime-context.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-runtime-context.js +3 -3
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-runtime-context.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-scope.d.ts +11 -0
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-scope.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-scope.js +30 -0
- package/dist/node_modules/@memento/core/dist/domains/search/repositories/vector-search/vector-search-scope.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/search/services/relevance-gate/jev-relevance-gate.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/domains/search/services/relevance-gate/jev-relevance-gate.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/repositories/telemetry-repository.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/repositories/telemetry-repository.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/services/telemetry-service.d.ts +12 -3
- package/dist/node_modules/@memento/core/dist/domains/telemetry/services/telemetry-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/services/telemetry-service.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/types/telemetry.types.d.ts +0 -10
- package/dist/node_modules/@memento/core/dist/domains/telemetry/types/telemetry.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/index.d.ts +20 -34
- package/dist/node_modules/@memento/core/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/index.js +19 -34
- package/dist/node_modules/@memento/core/dist/index.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/async-optimizer-parsers.d.ts +1 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/async-optimizer-parsers.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/async-optimizer-parsers.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer.d.ts +0 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer.js +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/cache/cache-service.d.ts +3 -9
- package/dist/node_modules/@memento/core/dist/infrastructure/cache/cache-service.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/factories/sqlite-repository-provider.d.ts +4 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/factories/sqlite-repository-provider.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/factories/sqlite-repository-provider.js +12 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/factories/sqlite-repository-provider.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/apply-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/apply-schema.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/db-integrity-preflight.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/db-integrity-preflight.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/db-integrity-preflight.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/ensure-memory-embedding-metadata-defaults.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/ensure-memory-embedding-metadata-defaults.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/ensure-memory-embedding-metadata-defaults.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/ensure-memory-embedding-metadata-defaults.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-bootstrap-new-db.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-bootstrap-new-db.js +17 -38
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-bootstrap-new-db.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-legacy-schema.d.ts +0 -7
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-legacy-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-legacy-schema.js +1 -125
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-legacy-schema.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migrate-existing.d.ts +6 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migrate-existing.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migrate-existing.js +26 -20
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migrate-existing.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migration-baseline.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migration-baseline.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migration-baseline.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/init-migration-baseline.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/backup-manager.d.ts +4 -3
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/backup-manager.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/backup-manager.js +3 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/backup-manager.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/dependency-validator.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/dependency-validator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-detector.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-detector.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-detector.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-logger.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-logger.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-logger.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-logger.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-repair-helpers.d.ts +3 -22
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-repair-helpers.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-repair-helpers.js +2 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migration-repair-helpers.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/002-mirix-schema-expansion.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/002-mirix-schema-expansion.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/002-mirix-schema-expansion.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/003-consolidation-score-fields.d.ts +0 -9
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/003-consolidation-score-fields.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/003-consolidation-score-fields.js +0 -35
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/003-consolidation-score-fields.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/005-relation-engine-schema.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/005-relation-engine-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/005-relation-engine-schema.js +1 -7
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/005-relation-engine-schema.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/006-fts5-reflection-notes.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/006-fts5-reflection-notes.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/006-fts5-reflection-notes.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/007-procedural-memory-enhancement.d.ts +0 -9
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/007-procedural-memory-enhancement.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/007-procedural-memory-enhancement.js +0 -35
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/007-procedural-memory-enhancement.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/008-arigraph-schema-expansion.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/008-arigraph-schema-expansion.js +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/008-arigraph-schema-expansion.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/009-quality-assurance-schema.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/009-quality-assurance-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/009-quality-assurance-schema.js +1 -7
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/009-quality-assurance-schema.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/010-add-core-memory-version.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/010-add-core-memory-version.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/010-add-core-memory-version.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/011-meta-memory-stats-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/011-meta-memory-stats-schema.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/011-meta-memory-stats-schema.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/audit-log-schema.d.ts +0 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/audit-log-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/audit-log-schema.js +2 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/migrations/audit-log-schema.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/schema-version-manager.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/schema-version-manager.js +2 -13
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/migration/schema-version-manager.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/vec-schema.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/sqlite/vec-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation-paths.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation-paths.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation-paths.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation-paths.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/logging/log-rotation.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-procedural-memory-service/reflexion-procedural-update-incremental.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-procedural-memory-service/reflexion-procedural-update-incremental.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-procedural-memory-service/reflexion-procedural-update-incremental.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-procedural-memory-service/reflexion-procedural-update-incremental.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-worker.d.ts +3 -36
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-worker.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-worker.js +1 -12
- package/dist/node_modules/@memento/core/dist/infrastructure/reflexion-worker.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-job-execution-coordinator.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-job-execution-coordinator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-job-execution-coordinator.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-job-execution-coordinator.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-recurring-schedules.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-recurring-schedules.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-recurring-schedules.js +4 -4
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-recurring-schedules.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-database-stats.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-database-stats.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-health.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-health.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-interval.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-interval.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-control.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-control.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-processor.d.ts +0 -16
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-processor.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-processor.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-processor.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-runners.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-job-runners.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-lifecycle.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-lifecycle.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-logging.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-logging.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-service-wiring.d.ts +4 -21
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-service-wiring.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-service-wiring.js +2 -27
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-service-wiring.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-singleton.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-singleton.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-singleton.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-singleton.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-stats.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-stats.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-status.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler-status.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler.d.ts +0 -5
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler.js +2 -6
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/batch-scheduler/batch-scheduler.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/file-logger.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/file-logger.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/file-logger.js +1 -0
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/file-logger.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/handlers/batch-scheduler-review-meta-handlers.d.ts +0 -11
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/handlers/batch-scheduler-review-meta-handlers.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/handlers/batch-scheduler-review-meta-handlers.js +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/handlers/batch-scheduler-review-meta-handlers.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/health-checker.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/health-checker.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/job-queue.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/job-queue.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/forgetting-event-cleanup-batch-job.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/forgetting-event-cleanup-batch-job.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/job-run-cleanup-batch-job.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/job-run-cleanup-batch-job.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/quality-measurement-batch-job.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/quality-measurement-batch-job.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/quality-measurement-batch-job.js +3 -2
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/quality-measurement-batch-job.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/sleep-consolidation-batch-job.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/sleep-consolidation-batch-job.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/telemetry-cleanup-batch-job.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/jobs/telemetry-cleanup-batch-job.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/server/mcp-logger.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/server/mcp-logger.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/config-loader-utils.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/config/config-loader-utils.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/config-loader-utils.js +1 -0
- package/dist/node_modules/@memento/core/dist/shared/config/config-loader-utils.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/constants.d.ts +0 -6
- package/dist/node_modules/@memento/core/dist/shared/config/constants.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/environment.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/shared/config/environment.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/environment.js +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/environment.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/index.d.ts +0 -13
- package/dist/node_modules/@memento/core/dist/shared/config/index.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/index.js +0 -15
- package/dist/node_modules/@memento/core/dist/shared/config/index.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/llm-model-resolver.d.ts +5 -4
- package/dist/node_modules/@memento/core/dist/shared/config/llm-model-resolver.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/llm-provider-override.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/config/llm-provider-override.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/ranking-weights-loader.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/ranking-weights-loader.js +1 -0
- package/dist/node_modules/@memento/core/dist/shared/config/ranking-weights-loader.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/retry-options-loader.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/shared/config/retry-options-loader.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/retry-options-loader.js +1 -0
- package/dist/node_modules/@memento/core/dist/shared/config/retry-options-loader.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/vector-search.config.d.ts +0 -14
- package/dist/node_modules/@memento/core/dist/shared/config/vector-search.config.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/config/vector-search.config.js +0 -14
- package/dist/node_modules/@memento/core/dist/shared/config/vector-search.config.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/constants/introspection-constants.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/constants/introspection-constants.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/constants/relation-constants.d.ts +0 -13
- package/dist/node_modules/@memento/core/dist/shared/constants/relation-constants.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/constants/relation-constants.js +0 -13
- package/dist/node_modules/@memento/core/dist/shared/constants/relation-constants.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/services/llm-client-initializer/ollama.d.ts +1 -1
- package/dist/node_modules/@memento/core/dist/shared/services/llm-client-initializer/ollama.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/services/llm-client-initializer.js +1 -1
- package/dist/node_modules/@memento/core/dist/shared/services/llm-client-initializer.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/alerts.types.d.ts +0 -14
- package/dist/node_modules/@memento/core/dist/shared/types/alerts.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/benchmark.types.d.ts +0 -8
- package/dist/node_modules/@memento/core/dist/shared/types/benchmark.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/error-types.d.ts +0 -7
- package/dist/node_modules/@memento/core/dist/shared/types/error-types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/feedback.types.d.ts +0 -13
- package/dist/node_modules/@memento/core/dist/shared/types/feedback.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/memory.types.d.ts +0 -58
- package/dist/node_modules/@memento/core/dist/shared/types/memory.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/relation-graph.d.ts +27 -32
- package/dist/node_modules/@memento/core/dist/shared/types/relation-graph.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/relation.d.ts +2 -19
- package/dist/node_modules/@memento/core/dist/shared/types/relation.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/relation.js +0 -12
- package/dist/node_modules/@memento/core/dist/shared/types/relation.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/search.types.d.ts +0 -7
- package/dist/node_modules/@memento/core/dist/shared/types/search.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/types/vector-search.types.d.ts +0 -13
- package/dist/node_modules/@memento/core/dist/shared/types/vector-search.types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/cache-key-generator.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/shared/utils/cache-key-generator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/configuration-validator.d.ts +3 -3
- package/dist/node_modules/@memento/core/dist/shared/utils/configuration-validator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/database/query-helpers.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/database/query-helpers.js +8 -42
- package/dist/node_modules/@memento/core/dist/shared/utils/database/query-helpers.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/database/transaction-helpers.d.ts +0 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/database/transaction-helpers.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/database/transaction-helpers.js +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/database/transaction-helpers.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/fts5-migration-status.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/fts5-migration-status.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/jsonl-rotation.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/jsonl-rotation.js +1 -0
- package/dist/node_modules/@memento/core/dist/shared/utils/jsonl-rotation.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/logger.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/shared/utils/logger.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/logging-rate-limiter.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/logging-rate-limiter.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/memento-resource-uri.d.ts +2 -2
- package/dist/node_modules/@memento/core/dist/shared/utils/memento-resource-uri.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/memento-resource-uri.js +2 -2
- package/dist/node_modules/@memento/core/dist/shared/utils/memento-resource-uri.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/memory-filter-sql.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/memory-filter-sql.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/owner-scope-mode.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/owner-scope-mode.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/pii-masker.d.ts +5 -3
- package/dist/node_modules/@memento/core/dist/shared/utils/pii-masker.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/pii-masker.js +60 -131
- package/dist/node_modules/@memento/core/dist/shared/utils/pii-masker.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/reflection-notes-normalize.d.ts +0 -17
- package/dist/node_modules/@memento/core/dist/shared/utils/reflection-notes-normalize.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/reflection-notes-normalize.js +0 -44
- package/dist/node_modules/@memento/core/dist/shared/utils/reflection-notes-normalize.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/reflection-notes-schema.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/reflection-notes-schema.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/remember-dedup-config.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/remember-dedup-config.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/{infrastructure/scheduler → shared/utils}/retry-manager.d.ts +5 -4
- package/dist/node_modules/@memento/core/dist/shared/utils/retry-manager.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/{infrastructure/scheduler → shared/utils}/retry-manager.js +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/retry-manager.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/shared/utils/schema-version.d.ts +7 -0
- package/dist/node_modules/@memento/core/dist/shared/utils/schema-version.d.ts.map +1 -0
- package/dist/node_modules/@memento/core/dist/shared/utils/schema-version.js +15 -0
- package/dist/node_modules/@memento/core/dist/shared/utils/schema-version.js.map +1 -0
- package/dist/node_modules/@memento/core/dist/shared/utils/type-guards.d.ts +4 -19
- package/dist/node_modules/@memento/core/dist/shared/utils/type-guards.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/type-guards.js +3 -3
- package/dist/node_modules/@memento/core/dist/shared/utils/type-guards.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/type-param-validator.d.ts +2 -1
- package/dist/node_modules/@memento/core/dist/shared/utils/type-param-validator.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/shared/validation/source-uri.d.ts +3 -2
- package/dist/node_modules/@memento/core/dist/shared/validation/source-uri.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/base-tool.d.ts +4 -0
- package/dist/node_modules/@memento/core/dist/tools/base-tool.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/base-tool.js +17 -0
- package/dist/node_modules/@memento/core/dist/tools/base-tool.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/index.d.ts +0 -5
- package/dist/node_modules/@memento/core/dist/tools/index.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/index.js +2 -6
- package/dist/node_modules/@memento/core/dist/tools/index.js.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/tool-registry.d.ts +2 -10
- package/dist/node_modules/@memento/core/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/types.d.ts +3 -5
- package/dist/node_modules/@memento/core/dist/tools/types.d.ts.map +1 -1
- package/dist/node_modules/@memento/core/dist/tools/types.js.map +1 -1
- package/dist/node_modules/@memento/core/package.json +1 -1
- package/dist/node_modules/@memento/core/tsconfig.json +2 -0
- package/dist/server/audit-tool-dispatch.d.ts +2 -2
- package/dist/server/audit-tool-dispatch.d.ts.map +1 -1
- package/dist/server/audit-tool-dispatch.js +1 -1
- package/dist/server/audit-tool-dispatch.js.map +1 -1
- package/dist/server/auth/session-store.d.ts +2 -1
- package/dist/server/auth/session-store.d.ts.map +1 -1
- package/dist/server/batch-run-history.d.ts +2 -1
- package/dist/server/batch-run-history.d.ts.map +1 -1
- package/dist/server/bootstrap.d.ts +0 -1
- package/dist/server/bootstrap.d.ts.map +1 -1
- package/dist/server/bootstrap.js +1 -4
- package/dist/server/bootstrap.js.map +1 -1
- package/dist/server/handlers/anchor-map.handler.d.ts +5 -12
- package/dist/server/handlers/anchor-map.handler.d.ts.map +1 -1
- package/dist/server/handlers/anchor-map.handler.js +2 -2
- package/dist/server/handlers/anchor-map.handler.js.map +1 -1
- package/dist/server/http-server-lifecycle.d.ts +1 -1
- package/dist/server/http-server-lifecycle.d.ts.map +1 -1
- package/dist/server/http-server-websocket.d.ts +2 -1
- package/dist/server/http-server-websocket.d.ts.map +1 -1
- package/dist/server/http-server.js +3 -3
- package/dist/server/http-server.js.map +1 -1
- package/dist/server/mcp-logger.d.ts +2 -1
- package/dist/server/mcp-logger.d.ts.map +1 -1
- package/dist/server/mcp-server-factory.d.ts +2 -1
- package/dist/server/mcp-server-factory.d.ts.map +1 -1
- package/dist/server/middleware/error-handler.middleware.d.ts +0 -8
- package/dist/server/middleware/error-handler.middleware.d.ts.map +1 -1
- package/dist/server/middleware/error-handler.middleware.js +0 -12
- package/dist/server/middleware/error-handler.middleware.js.map +1 -1
- package/dist/server/middleware/http-audit.middleware.d.ts +3 -2
- package/dist/server/middleware/http-audit.middleware.d.ts.map +1 -1
- package/dist/server/middleware/http-rate-limit.middleware.d.ts +1 -14
- package/dist/server/middleware/http-rate-limit.middleware.d.ts.map +1 -1
- package/dist/server/middleware/http-rate-limit.middleware.js +1 -1
- package/dist/server/middleware/http-rate-limit.middleware.js.map +1 -1
- package/dist/server/middleware/index.d.ts +3 -3
- package/dist/server/middleware/index.d.ts.map +1 -1
- package/dist/server/middleware/index.js +2 -2
- package/dist/server/middleware/index.js.map +1 -1
- package/dist/server/middleware/programmatic-auth.middleware.d.ts +2 -3
- package/dist/server/middleware/programmatic-auth.middleware.d.ts.map +1 -1
- package/dist/server/middleware/programmatic-auth.middleware.js +1 -1
- package/dist/server/middleware/programmatic-auth.middleware.js.map +1 -1
- package/dist/server/middleware/service-injector.middleware.d.ts +1 -1
- package/dist/server/middleware/service-injector.middleware.d.ts.map +1 -1
- package/dist/server/middleware/service-injector.middleware.js +1 -1
- package/dist/server/middleware/service-injector.middleware.js.map +1 -1
- package/dist/server/middleware/session-auth.middleware.d.ts +2 -1
- package/dist/server/middleware/session-auth.middleware.d.ts.map +1 -1
- package/dist/server/middleware/trust-proxy.d.ts +2 -1
- package/dist/server/middleware/trust-proxy.d.ts.map +1 -1
- package/dist/server/review-candidates-changed-fanout.d.ts +3 -2
- package/dist/server/review-candidates-changed-fanout.d.ts.map +1 -1
- package/dist/server/routes/admin/admin-batch.routes.js +1 -1
- package/dist/server/routes/admin/admin-batch.routes.js.map +1 -1
- package/dist/server/routes/admin/admin-embedding-map-response.d.ts +3 -2
- package/dist/server/routes/admin/admin-embedding-map-response.d.ts.map +1 -1
- package/dist/server/routes/admin/admin-graph-response.d.ts +4 -3
- package/dist/server/routes/admin/admin-graph-response.d.ts.map +1 -1
- package/dist/server/routes/admin/admin-memory-search.routes.d.ts +0 -12
- package/dist/server/routes/admin/admin-memory-search.routes.d.ts.map +1 -1
- package/dist/server/routes/admin/admin-memory-search.routes.js +1 -1
- package/dist/server/routes/admin/admin-memory-search.routes.js.map +1 -1
- package/dist/server/routes/admin/admin-runtime-performance.routes.js +3 -3
- package/dist/server/routes/admin/admin-runtime-performance.routes.js.map +1 -1
- package/dist/server/routes/admin/admin-stats-and-health.routes.js +6 -6
- package/dist/server/routes/admin/admin-stats-and-health.routes.js.map +1 -1
- package/dist/server/routes/admin/admin-status-service.d.ts +3 -2
- package/dist/server/routes/admin/admin-status-service.d.ts.map +1 -1
- package/dist/server/routes/admin/evolution-demo/index.d.ts +1 -2
- package/dist/server/routes/admin/evolution-demo/index.d.ts.map +1 -1
- package/dist/server/routes/admin/evolution-demo/index.js +1 -1
- package/dist/server/routes/admin/evolution-demo/index.js.map +1 -1
- package/dist/server/routes/admin/evolution-demo/spec.d.ts +0 -119
- package/dist/server/routes/admin/evolution-demo/spec.d.ts.map +1 -1
- package/dist/server/routes/admin/evolution-demo/spec.js +7 -12
- package/dist/server/routes/admin/evolution-demo/spec.js.map +1 -1
- package/dist/server/routes/admin.routes.d.ts +0 -1
- package/dist/server/routes/admin.routes.d.ts.map +1 -1
- package/dist/server/routes/admin.routes.js.map +1 -1
- package/dist/server/routes/agent-transcript-import.d.ts +4 -4
- package/dist/server/routes/agent-transcript-import.d.ts.map +1 -1
- package/dist/server/routes/agent.routes.d.ts +0 -1
- package/dist/server/routes/agent.routes.d.ts.map +1 -1
- package/dist/server/routes/agent.routes.events.d.ts.map +1 -1
- package/dist/server/routes/agent.routes.events.js +25 -46
- package/dist/server/routes/agent.routes.events.js.map +1 -1
- package/dist/server/routes/agent.routes.js.map +1 -1
- package/dist/server/routes/agent.routes.validation.d.ts +2 -1
- package/dist/server/routes/agent.routes.validation.d.ts.map +1 -1
- package/dist/server/routes/api.routes.js +1 -1
- package/dist/server/routes/api.routes.js.map +1 -1
- package/dist/server/routes/mcp/handlers.d.ts +0 -3
- package/dist/server/routes/mcp/handlers.d.ts.map +1 -1
- package/dist/server/routes/mcp/handlers.js +2 -2
- package/dist/server/routes/mcp/handlers.js.map +1 -1
- package/dist/server/routes/mcp/modern-request-validation.d.ts +2 -1
- package/dist/server/routes/mcp/modern-request-validation.d.ts.map +1 -1
- package/dist/server/routes/quality.routes.js +2 -2
- package/dist/server/routes/quality.routes.js.map +1 -1
- package/dist/server/routes/tools.routes.js +1 -1
- package/dist/server/routes/tools.routes.js.map +1 -1
- package/dist/server/server-info.d.ts +1 -1
- package/dist/server/server-info.d.ts.map +1 -1
- package/dist/server/server-state.d.ts +2 -1
- package/dist/server/server-state.d.ts.map +1 -1
- package/dist/server/utils/mcp-tool-call-error.d.ts +2 -1
- package/dist/server/utils/mcp-tool-call-error.d.ts.map +1 -1
- package/package.json +5 -3
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/index.d.ts +0 -11
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/index.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/index.js +0 -10
- package/dist/node_modules/@memento/core/dist/domains/anchor/services/anchor/index.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-validation.d.ts +0 -10
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-validation.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-validation.js +0 -43
- package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-validation.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-files.d.ts +0 -52
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-files.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-files.js +0 -180
- package/dist/node_modules/@memento/core/dist/domains/monitoring/services/quality-assurance/vector-search-quality-metrics/report-files.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/index.d.ts +0 -5
- package/dist/node_modules/@memento/core/dist/domains/telemetry/index.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/domains/telemetry/index.js +0 -3
- package/dist/node_modules/@memento/core/dist/domains/telemetry/index.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/batch-processor.d.ts +0 -20
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/batch-processor.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/batch-processor.js +0 -90
- package/dist/node_modules/@memento/core/dist/infrastructure/async-optimizer/batch-processor.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/migration-history-service.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/migration-history-service.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/migration-monitor-service.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/database/migration-monitor-service.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/retry-manager.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/infrastructure/scheduler/retry-manager.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/shared/types/index.d.ts +0 -9
- package/dist/node_modules/@memento/core/dist/shared/types/index.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/shared/types/index.js +0 -3
- package/dist/node_modules/@memento/core/dist/shared/types/index.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/shared/types/ranking.types.d.ts +0 -33
- package/dist/node_modules/@memento/core/dist/shared/types/ranking.types.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/shared/types/ranking.types.js +0 -5
- package/dist/node_modules/@memento/core/dist/shared/types/ranking.types.js.map +0 -1
- package/dist/node_modules/@memento/core/dist/shared/types/relation.types.d.ts +0 -4
- package/dist/node_modules/@memento/core/dist/shared/types/relation.types.d.ts.map +0 -1
- package/dist/node_modules/@memento/core/dist/shared/types/relation.types.js +0 -3
- package/dist/node_modules/@memento/core/dist/shared/types/relation.types.js.map +0 -1
- package/dist/tools/types.d.ts +0 -48
- package/dist/tools/types.d.ts.map +0 -1
- package/dist/tools/types.js +0 -35
- package/dist/tools/types.js.map +0 -1
- /package/dist/node_modules/@memento/core/dist/{infrastructure/database → domains/embedding/services/embedding-migration-service}/migration-monitor-service.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"procedural-memory-similarity.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/procedural/procedural-memory-similarity.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"procedural-memory-similarity.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/procedural/procedural-memory-similarity.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF;;GAEG;AACH,UAAU,qBAAqB;IAC7B,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,SAAS,GAAG,aAAa,GAAG,WAAW,CAAC;CACrD;AAiFD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,yBAAyB,EACpC,QAAQ,EAAE;IACR,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,GACA,MAAM,CA8DR;AAED;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAC1C,EAAE,EAAE,QAAQ,CAAC,QAAQ,EACrB,SAAS,EAAE,yBAAyB,GACnC,OAAO,CAAC,qBAAqB,CAAC,CAwEhC"}
|
package/dist/node_modules/@memento/core/dist/domains/memory/procedural/remember-procedure-tool.d.ts
CHANGED
|
@@ -18,5 +18,7 @@ export declare class RememberProcedureTool extends BaseTool {
|
|
|
18
18
|
* Then: invalid_params 또는 validation_failed 에러.
|
|
19
19
|
*/
|
|
20
20
|
handle(params: unknown, context: ToolContext): Promise<ToolResult>;
|
|
21
|
+
/** params 객체 → content → procedural 필드 → reflection_notes 순서로 검증한다. */
|
|
22
|
+
private validateProcedureInput;
|
|
21
23
|
}
|
|
22
24
|
//# sourceMappingURL=remember-procedure-tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remember-procedure-tool.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/procedural/remember-procedure-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAC,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"remember-procedure-tool.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/procedural/remember-procedure-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAC,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAItE,qBAAa,qBAAsB,SAAQ,QAAQ;IACjD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;;IAoD5C;;;;;;;;OAQG;IACG,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC;IA6BxE,uEAAuE;IACvE,OAAO,CAAC,sBAAsB;CA8B/B"}
|
package/dist/node_modules/@memento/core/dist/domains/memory/procedural/remember-procedure-tool.js
CHANGED
|
@@ -66,6 +66,32 @@ export class RememberProcedureTool extends BaseTool {
|
|
|
66
66
|
*/
|
|
67
67
|
async handle(params, context) {
|
|
68
68
|
const raw = params;
|
|
69
|
+
const invalid = this.validateProcedureInput(raw);
|
|
70
|
+
if (invalid)
|
|
71
|
+
return invalid;
|
|
72
|
+
if (!context.db) {
|
|
73
|
+
return this.createErrorResult('database_unavailable', '데이터베이스를 사용할 수 없습니다.');
|
|
74
|
+
}
|
|
75
|
+
this.logInfo('remember_procedure 호출', {
|
|
76
|
+
workflow_name: raw.workflow_name ?? null,
|
|
77
|
+
skill_name: raw.skill_name ?? null,
|
|
78
|
+
});
|
|
79
|
+
// resolveCallerAgentId 의 owner 불일치 throw 는 save_failed 로 바꾸지 않는다 (#1285).
|
|
80
|
+
const rememberParams = buildRememberParams(raw, context);
|
|
81
|
+
try {
|
|
82
|
+
return await this.rememberTool.handle(rememberParams, context);
|
|
83
|
+
}
|
|
84
|
+
catch (err) {
|
|
85
|
+
const message = errorMessage(err);
|
|
86
|
+
this.logError(err instanceof Error ? err : new Error(message), 'remember_procedure 위임 실패', {
|
|
87
|
+
workflow_name: raw.workflow_name,
|
|
88
|
+
skill_name: raw.skill_name,
|
|
89
|
+
});
|
|
90
|
+
return this.createErrorResult('save_failed', message);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/** params 객체 → content → procedural 필드 → reflection_notes 순서로 검증한다. */
|
|
94
|
+
validateProcedureInput(raw) {
|
|
69
95
|
if (!raw || typeof raw !== 'object') {
|
|
70
96
|
return this.createErrorResult('invalid_params', 'params는 객체여야 합니다.');
|
|
71
97
|
}
|
|
@@ -73,7 +99,6 @@ export class RememberProcedureTool extends BaseTool {
|
|
|
73
99
|
if (content === undefined || content === null || (typeof content === 'string' && content.trim() === '')) {
|
|
74
100
|
return this.createErrorResult('invalid_params', 'content는 필수이며 비어 있을 수 없습니다.');
|
|
75
101
|
}
|
|
76
|
-
// procedural 전용 검증 (workflow_name, skill_name, trigger_conditions)
|
|
77
102
|
try {
|
|
78
103
|
validateProceduralMemoryFields({
|
|
79
104
|
workflow_name: raw.workflow_name,
|
|
@@ -82,61 +107,38 @@ export class RememberProcedureTool extends BaseTool {
|
|
|
82
107
|
});
|
|
83
108
|
}
|
|
84
109
|
catch (err) {
|
|
85
|
-
const message =
|
|
110
|
+
const message = errorMessage(err);
|
|
86
111
|
this.logWarning('Procedural 필드 검증 실패', { message });
|
|
87
112
|
return this.createErrorResult('validation_failed', `Procedural Memory 필드 검증 실패: ${message}`);
|
|
88
113
|
}
|
|
89
|
-
// reflection_notes가 제공된 경우 JSON·스키마 검증
|
|
90
114
|
const reflectionNotes = raw.reflection_notes;
|
|
91
|
-
if (reflectionNotes
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
if (!context.db) {
|
|
101
|
-
return this.createErrorResult('database_unavailable', '데이터베이스를 사용할 수 없습니다.');
|
|
102
|
-
}
|
|
103
|
-
this.logInfo('remember_procedure 호출', {
|
|
104
|
-
workflow_name: raw.workflow_name ?? null,
|
|
105
|
-
skill_name: raw.skill_name ?? null,
|
|
106
|
-
});
|
|
107
|
-
const importance = typeof raw.importance === 'number' && raw.importance >= 0 && raw.importance <= 1
|
|
108
|
-
? raw.importance
|
|
109
|
-
: 0.5;
|
|
110
|
-
const privacy_scope = raw.privacy_scope === 'team' || raw.privacy_scope === 'public' ? raw.privacy_scope : 'private';
|
|
111
|
-
const owner_id = resolveCallerAgentId(context, typeof raw.owner_id === 'string' && raw.owner_id.trim() !== '' ? raw.owner_id.trim() : undefined) ?? context.agentId ?? undefined;
|
|
112
|
-
const process_id = typeof raw.process_id === 'string' && raw.process_id.trim() !== ''
|
|
113
|
-
? raw.process_id.trim()
|
|
114
|
-
: context.processId ?? undefined;
|
|
115
|
-
const session_id = typeof raw.session_id === 'string' && raw.session_id.trim() !== ''
|
|
116
|
-
? raw.session_id.trim()
|
|
117
|
-
: context.sessionId ?? undefined;
|
|
118
|
-
const rememberParams = {
|
|
119
|
-
...raw,
|
|
120
|
-
type: 'procedural',
|
|
121
|
-
content: typeof content === 'string' ? content : String(content),
|
|
122
|
-
importance,
|
|
123
|
-
privacy_scope,
|
|
124
|
-
owner_id,
|
|
125
|
-
process_id,
|
|
126
|
-
session_id,
|
|
127
|
-
};
|
|
128
|
-
try {
|
|
129
|
-
const result = await this.rememberTool.handle(rememberParams, context);
|
|
130
|
-
return result;
|
|
131
|
-
}
|
|
132
|
-
catch (err) {
|
|
133
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
134
|
-
this.logError(err instanceof Error ? err : new Error(message), 'remember_procedure 위임 실패', {
|
|
135
|
-
workflow_name: raw.workflow_name,
|
|
136
|
-
skill_name: raw.skill_name,
|
|
137
|
-
});
|
|
138
|
-
return this.createErrorResult('save_failed', message);
|
|
139
|
-
}
|
|
115
|
+
if (reflectionNotes === undefined || reflectionNotes === null || reflectionNotes === '')
|
|
116
|
+
return null;
|
|
117
|
+
const result = validateReflectionNotes(String(reflectionNotes));
|
|
118
|
+
if (result.isValid)
|
|
119
|
+
return null;
|
|
120
|
+
const message = formatValidationErrors(result);
|
|
121
|
+
this.logWarning('reflection_notes 검증 실패', { message });
|
|
122
|
+
return this.createErrorResult('validation_failed', `reflection_notes 스키마 검증 실패:\n${message}`);
|
|
140
123
|
}
|
|
141
124
|
}
|
|
125
|
+
const errorMessage = (err) => (err instanceof Error ? err.message : String(err));
|
|
126
|
+
/** 비어 있지 않은 문자열이면 trim 값, 아니면 fallback. */
|
|
127
|
+
function trimmedOr(value, fallback) {
|
|
128
|
+
return typeof value === 'string' && value.trim() !== '' ? value.trim() : fallback;
|
|
129
|
+
}
|
|
130
|
+
function buildRememberParams(raw, context) {
|
|
131
|
+
const importance = typeof raw.importance === 'number' && raw.importance >= 0 && raw.importance <= 1 ? raw.importance : 0.5;
|
|
132
|
+
const privacy_scope = raw.privacy_scope === 'team' || raw.privacy_scope === 'public' ? raw.privacy_scope : 'private';
|
|
133
|
+
return {
|
|
134
|
+
...raw,
|
|
135
|
+
type: 'procedural',
|
|
136
|
+
content: String(raw.content),
|
|
137
|
+
importance,
|
|
138
|
+
privacy_scope,
|
|
139
|
+
owner_id: resolveCallerAgentId(context, trimmedOr(raw.owner_id, undefined)) ?? context.agentId ?? undefined,
|
|
140
|
+
process_id: trimmedOr(raw.process_id, context.processId ?? undefined),
|
|
141
|
+
session_id: trimmedOr(raw.session_id, context.sessionId ?? undefined),
|
|
142
|
+
};
|
|
143
|
+
}
|
|
142
144
|
//# sourceMappingURL=remember-procedure-tool.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remember-procedure-tool.js","sourceRoot":"","sources":["../../../../src/domains/memory/procedural/remember-procedure-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,sBAAsB,EAAC,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAClH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"remember-procedure-tool.js","sourceRoot":"","sources":["../../../../src/domains/memory/procedural/remember-procedure-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,sBAAsB,EAAC,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAClH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,OAAO,qBAAsB,SAAQ,QAAQ;IAChC,YAAY,CAAe;IAE5C;QACE,KAAK,CACH,oBAAoB,EACpB,6FAA6F,EAC7F;YACE,IAAI,EAAE,QAAQ;YACd,UAAU,EA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L,GAAG,GAAG;QACN,IAAI,EAAE,YAAqB;QAC3B,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC;QAC5B,UAAU;QACV,aAAa;QACb,QAAQ,EAAE,oBAAoB,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,IAAI,OAAO,CAAC,OAAO,IAAI,SAAS;QAC3G,UAAU,EAAE,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,SAAS,IAAI,SAAS,CAAC;QACrE,UAAU,EAAE,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,SAAS,IAAI,SAAS,CAAC;KACtE,CAAC;AACJ,CAAC"}
|
package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-anchor-rotation.d.ts
CHANGED
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
import type { ToolContext } from '../../../tools/types.js';
|
|
5
5
|
import type { RecallToolHost } from './recall-tool-host.js';
|
|
6
6
|
import type { AnchorSetMetadata, RecallSearchItem } from './recall-tool-types.js';
|
|
7
|
-
|
|
8
|
-
* 자동 앵커 설정 처리
|
|
9
|
-
*/
|
|
10
|
-
export declare function handleAutoSetAnchor(host: RecallToolHost, searchItems: RecallSearchItem[], agentId: string, context: ToolContext): Promise<{
|
|
7
|
+
export interface AnchorSetResult {
|
|
11
8
|
success: boolean;
|
|
12
9
|
anchor_set: AnchorSetMetadata | null;
|
|
13
10
|
error?: boolean;
|
|
14
11
|
skipped?: boolean;
|
|
15
12
|
skipped_reason?: string;
|
|
16
|
-
}
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 자동 앵커 설정 처리
|
|
16
|
+
*/
|
|
17
|
+
export declare function handleAutoSetAnchor(host: RecallToolHost, searchItems: RecallSearchItem[], agentId: string, context: ToolContext): Promise<AnchorSetResult>;
|
|
17
18
|
//# sourceMappingURL=recall-tool-anchor-rotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall-tool-anchor-rotation.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-anchor-rotation.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"recall-tool-anchor-rotation.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-anchor-rotation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAElF,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAmID;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,cAAc,EACpB,WAAW,EAAE,gBAAgB,EAAE,EAC/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,eAAe,CAAC,CAqD1B"}
|
package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-anchor-rotation.js
CHANGED
|
@@ -1,6 +1,104 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Recall auto-set anchor rotation (recall-tool-envelope.ts에서 분리, #507).
|
|
3
3
|
*/
|
|
4
|
+
const SELECT_PINNED_SQL = `
|
|
5
|
+
SELECT pinned FROM memory_item WHERE id = ?
|
|
6
|
+
`;
|
|
7
|
+
function anchorSetSuccess(memoryId, agentId) {
|
|
8
|
+
return {
|
|
9
|
+
success: true,
|
|
10
|
+
anchor_set: {
|
|
11
|
+
memory_id: memoryId,
|
|
12
|
+
slot: 'A',
|
|
13
|
+
agent_id: agentId
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function anchorSetError() {
|
|
18
|
+
return {
|
|
19
|
+
success: false,
|
|
20
|
+
anchor_set: null,
|
|
21
|
+
error: true
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/** getAnchor(slot) 결과가 단일 앵커 객체일 때만 돌려준다. */
|
|
25
|
+
function asSingleAnchor(anchor) {
|
|
26
|
+
return anchor && typeof anchor === 'object' && 'memory_id' in anchor ? anchor : null;
|
|
27
|
+
}
|
|
28
|
+
function isPinnedMemory(db, memoryId) {
|
|
29
|
+
const row = db.prepare(SELECT_PINNED_SQL).get(memoryId);
|
|
30
|
+
return row !== undefined && (row.pinned === 1 || row.pinned === true);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 검색 1위가 이미 앵커 슬롯에 있으면 중복 setAnchor 오류 없이 처리한다.
|
|
34
|
+
* 슬롯 A 면 true(회전 불필요), B·C 면 그 슬롯을 비우고 false.
|
|
35
|
+
*/
|
|
36
|
+
async function releaseExistingSlot(host, anchorManager, agentId, memoryId) {
|
|
37
|
+
for (const slot of ['A', 'B', 'C']) {
|
|
38
|
+
const anchor = asSingleAnchor(await anchorManager.getAnchor(agentId, slot));
|
|
39
|
+
if (anchor?.memory_id !== memoryId)
|
|
40
|
+
continue;
|
|
41
|
+
if (slot === 'A') {
|
|
42
|
+
host.logInfo('검색 1위가 이미 슬롯 A 앵커이므로 회전을 건너뜁니다', {
|
|
43
|
+
agent_id: agentId,
|
|
44
|
+
memory_id: memoryId
|
|
45
|
+
});
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
await anchorManager.clearAnchor(agentId, slot);
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
/** 슬롯 C 를 비우고 B 를 C 로 민다. */
|
|
54
|
+
async function shiftSlotBToC(host, db, anchorManager, agentId, slotAMemoryId) {
|
|
55
|
+
const slotBAnchor = asSingleAnchor(await anchorManager.getAnchor(agentId, 'B'));
|
|
56
|
+
if (!slotBAnchor)
|
|
57
|
+
return;
|
|
58
|
+
if (isPinnedMemory(db, slotBAnchor.memory_id)) {
|
|
59
|
+
host.logWarning('슬롯 B의 pinned 앵커가 덮어써집니다', {
|
|
60
|
+
agent_id: agentId,
|
|
61
|
+
old_memory_id: slotBAnchor.memory_id,
|
|
62
|
+
new_memory_id: slotAMemoryId
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
const slotCAnchor = asSingleAnchor(await anchorManager.getAnchor(agentId, 'C'));
|
|
66
|
+
if (slotCAnchor) {
|
|
67
|
+
if (isPinnedMemory(db, slotCAnchor.memory_id)) {
|
|
68
|
+
host.logWarning('슬롯 C의 pinned 앵커가 제거됩니다', {
|
|
69
|
+
agent_id: agentId,
|
|
70
|
+
old_memory_id: slotCAnchor.memory_id
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
await anchorManager.clearAnchor(agentId, 'C');
|
|
74
|
+
}
|
|
75
|
+
const slotBMemoryId = slotBAnchor.memory_id;
|
|
76
|
+
if (slotBMemoryId) {
|
|
77
|
+
await anchorManager.clearAnchor(agentId, 'B');
|
|
78
|
+
await anchorManager.setAnchor(agentId, slotBMemoryId, 'C');
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/** A→B→C 로 한 칸씩 민다. 슬롯 A 가 pinned 면 아무것도 하지 않고 false. */
|
|
82
|
+
async function rotateSlotsDown(host, context, anchorManager, agentId) {
|
|
83
|
+
const slotAAnchor = asSingleAnchor(await anchorManager.getAnchor(agentId, 'A'));
|
|
84
|
+
if (!slotAAnchor)
|
|
85
|
+
return true;
|
|
86
|
+
const db = context.db;
|
|
87
|
+
if (isPinnedMemory(db, slotAAnchor.memory_id)) {
|
|
88
|
+
host.logInfo('슬롯 A에 pinned 앵커가 있어 앵커 설정을 건너뜁니다', {
|
|
89
|
+
agent_id: agentId,
|
|
90
|
+
existing_memory_id: slotAAnchor.memory_id
|
|
91
|
+
});
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
await shiftSlotBToC(host, db, anchorManager, agentId, slotAAnchor.memory_id);
|
|
95
|
+
const slotAMemoryId = slotAAnchor.memory_id;
|
|
96
|
+
if (slotAMemoryId) {
|
|
97
|
+
await anchorManager.clearAnchor(agentId, 'A');
|
|
98
|
+
await anchorManager.setAnchor(agentId, slotAMemoryId, 'B');
|
|
99
|
+
}
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
4
102
|
/**
|
|
5
103
|
* 자동 앵커 설정 처리
|
|
6
104
|
*/
|
|
@@ -15,128 +113,39 @@ export async function handleAutoSetAnchor(host, searchItems, agentId, context) {
|
|
|
15
113
|
const memoryId = topMemory.id ?? topMemory.memory_id;
|
|
16
114
|
if (!memoryId) {
|
|
17
115
|
host.logWarning('검색 결과에 memory_id가 없어 앵커 설정을 건너뜁니다', { topMemory });
|
|
18
|
-
return
|
|
19
|
-
success: false,
|
|
20
|
-
anchor_set: null,
|
|
21
|
-
error: true
|
|
22
|
-
};
|
|
116
|
+
return anchorSetError();
|
|
23
117
|
}
|
|
24
|
-
|
|
118
|
+
const anchorManager = context.services.anchorManager;
|
|
119
|
+
if (!anchorManager) {
|
|
25
120
|
host.logWarning('AnchorManager 서비스가 없어 앵커 설정을 건너뜁니다');
|
|
26
|
-
return
|
|
27
|
-
success: false,
|
|
28
|
-
anchor_set: null,
|
|
29
|
-
error: true
|
|
30
|
-
};
|
|
121
|
+
return anchorSetError();
|
|
31
122
|
}
|
|
32
123
|
try {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
const existingAnchor = await context.services.anchorManager.getAnchor(agentId, existingSlot);
|
|
36
|
-
if (existingAnchor
|
|
37
|
-
&& typeof existingAnchor === 'object'
|
|
38
|
-
&& 'memory_id' in existingAnchor
|
|
39
|
-
&& existingAnchor.memory_id === memoryId) {
|
|
40
|
-
if (existingSlot === 'A') {
|
|
41
|
-
host.logInfo('검색 1위가 이미 슬롯 A 앵커이므로 회전을 건너뜁니다', {
|
|
42
|
-
agent_id: agentId,
|
|
43
|
-
memory_id: memoryId
|
|
44
|
-
});
|
|
45
|
-
return {
|
|
46
|
-
success: true,
|
|
47
|
-
anchor_set: {
|
|
48
|
-
memory_id: memoryId,
|
|
49
|
-
slot: 'A',
|
|
50
|
-
agent_id: agentId
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
await context.services.anchorManager.clearAnchor(agentId, existingSlot);
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
124
|
+
if (await releaseExistingSlot(host, anchorManager, agentId, memoryId)) {
|
|
125
|
+
return anchorSetSuccess(memoryId, agentId);
|
|
57
126
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
host.logInfo('슬롯 A에 pinned 앵커가 있어 앵커 설정을 건너뜁니다', {
|
|
66
|
-
agent_id: agentId,
|
|
67
|
-
existing_memory_id: slotAAnchor.memory_id
|
|
68
|
-
});
|
|
69
|
-
return {
|
|
70
|
-
success: false,
|
|
71
|
-
anchor_set: null,
|
|
72
|
-
skipped: true,
|
|
73
|
-
skipped_reason: 'pinned_anchor_protected'
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
const slotBAnchor = await context.services.anchorManager.getAnchor(agentId, 'B');
|
|
77
|
-
if (slotBAnchor && typeof slotBAnchor === 'object' && 'memory_id' in slotBAnchor) {
|
|
78
|
-
const slotBMemory = context.db.prepare(`
|
|
79
|
-
SELECT pinned FROM memory_item WHERE id = ?
|
|
80
|
-
`).get(slotBAnchor.memory_id);
|
|
81
|
-
const slotBIsPinned = slotBMemory && (slotBMemory.pinned === 1 || slotBMemory.pinned === true);
|
|
82
|
-
if (slotBIsPinned) {
|
|
83
|
-
host.logWarning('슬롯 B의 pinned 앵커가 덮어써집니다', {
|
|
84
|
-
agent_id: agentId,
|
|
85
|
-
old_memory_id: slotBAnchor.memory_id,
|
|
86
|
-
new_memory_id: slotAAnchor.memory_id
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
const slotCAnchor = await context.services.anchorManager.getAnchor(agentId, 'C');
|
|
90
|
-
if (slotCAnchor && typeof slotCAnchor === 'object' && 'memory_id' in slotCAnchor) {
|
|
91
|
-
const slotCMemory = context.db.prepare(`
|
|
92
|
-
SELECT pinned FROM memory_item WHERE id = ?
|
|
93
|
-
`).get(slotCAnchor.memory_id);
|
|
94
|
-
const slotCIsPinned = slotCMemory && (slotCMemory.pinned === 1 || slotCMemory.pinned === true);
|
|
95
|
-
if (slotCIsPinned) {
|
|
96
|
-
host.logWarning('슬롯 C의 pinned 앵커가 제거됩니다', {
|
|
97
|
-
agent_id: agentId,
|
|
98
|
-
old_memory_id: slotCAnchor.memory_id
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
await context.services.anchorManager.clearAnchor(agentId, 'C');
|
|
102
|
-
}
|
|
103
|
-
const slotBMemoryId = slotBAnchor.memory_id;
|
|
104
|
-
if (slotBMemoryId) {
|
|
105
|
-
await context.services.anchorManager.clearAnchor(agentId, 'B');
|
|
106
|
-
await context.services.anchorManager.setAnchor(agentId, slotBMemoryId, 'C');
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
const slotAMemoryId = slotAAnchor.memory_id;
|
|
110
|
-
if (slotAMemoryId) {
|
|
111
|
-
await context.services.anchorManager.clearAnchor(agentId, 'A');
|
|
112
|
-
await context.services.anchorManager.setAnchor(agentId, slotAMemoryId, 'B');
|
|
113
|
-
}
|
|
127
|
+
if (!(await rotateSlotsDown(host, context, anchorManager, agentId))) {
|
|
128
|
+
return {
|
|
129
|
+
success: false,
|
|
130
|
+
anchor_set: null,
|
|
131
|
+
skipped: true,
|
|
132
|
+
skipped_reason: 'pinned_anchor_protected'
|
|
133
|
+
};
|
|
114
134
|
}
|
|
115
|
-
await
|
|
135
|
+
await anchorManager.setAnchor(agentId, memoryId, 'A');
|
|
116
136
|
host.logInfo('앵커가 자동으로 설정되었습니다', {
|
|
117
137
|
agent_id: agentId,
|
|
118
138
|
memory_id: memoryId,
|
|
119
139
|
slot: 'A'
|
|
120
140
|
});
|
|
121
|
-
return
|
|
122
|
-
success: true,
|
|
123
|
-
anchor_set: {
|
|
124
|
-
memory_id: memoryId,
|
|
125
|
-
slot: 'A',
|
|
126
|
-
agent_id: agentId
|
|
127
|
-
}
|
|
128
|
-
};
|
|
141
|
+
return anchorSetSuccess(memoryId, agentId);
|
|
129
142
|
}
|
|
130
143
|
catch (error) {
|
|
131
144
|
host.logError(error, '앵커 자동 설정 실패', {
|
|
132
145
|
agent_id: agentId,
|
|
133
146
|
memory_id: memoryId
|
|
134
147
|
});
|
|
135
|
-
return
|
|
136
|
-
success: false,
|
|
137
|
-
anchor_set: null,
|
|
138
|
-
error: true
|
|
139
|
-
};
|
|
148
|
+
return anchorSetError();
|
|
140
149
|
}
|
|
141
150
|
}
|
|
142
151
|
//# sourceMappingURL=recall-tool-anchor-rotation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall-tool-anchor-rotation.js","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-anchor-rotation.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"recall-tool-anchor-rotation.js","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-anchor-rotation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAmBH,MAAM,iBAAiB,GAAG;;CAEzB,CAAC;AAEF,SAAS,gBAAgB,CAAC,QAAgB,EAAE,OAAe;IACzD,OAAO;QACL,OAAO,EAAE,IAAI;QACb,UAAU,EAAE;YACV,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,OAAO;SAClB;KACF,CAAC;AACJ,CAAC;AAED,SAAS,cAA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C"}
|
package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-direct.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall-tool-direct.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-direct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,EAC1C,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"recall-tool-direct.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-direct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,EAC1C,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,UAAU,CAAC,CA0CrB;AAED,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,EAC1C,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,UAAU,CAAC,CAyCrB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Core/Vault 직접 조회 (recall-tool.ts에서 분리, #445).
|
|
3
3
|
*/
|
|
4
4
|
import { mementoConfig } from '../../../shared/config/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { requireRepositoryProvider } from '../repositories/repository-provider.port.js';
|
|
6
6
|
import { CoreMemoryService } from '../services/core-memory-service.js';
|
|
7
7
|
import { KnowledgeVaultService } from '../services/knowledge-vault-service.js';
|
|
8
8
|
export async function recallCoreMemoryDirect(host, agentId, key, query, memory_types, searchStartTime, startTime, context) {
|
|
@@ -12,8 +12,7 @@ export async function recallCoreMemoryDirect(host, agentId, key, query, memory_t
|
|
|
12
12
|
if (memory_types && memory_types.length > 0) {
|
|
13
13
|
host.logWarning('type="core"일 때 memory_types 파라미터는 무시됩니다', { memory_types });
|
|
14
14
|
}
|
|
15
|
-
const
|
|
16
|
-
const coreMemoryRepository = createCoreMemoryRepository(context.db);
|
|
15
|
+
const coreMemoryRepository = requireRepositoryProvider(context.services?.repositories).coreMemory(context.db);
|
|
17
16
|
const { getCoreMemoryCache } = await import('../services/core-memory-cache-service.js');
|
|
18
17
|
const coreMemoryCache = getCoreMemoryCache();
|
|
19
18
|
const coreMemoryService = new CoreMemoryService(coreMemoryRepository, coreMemoryCache);
|
|
@@ -53,7 +52,7 @@ export async function recallVaultMemoryDirect(host, agentId, key, query, memory_
|
|
|
53
52
|
if (memory_types && memory_types.length > 0) {
|
|
54
53
|
host.logWarning('type="vault"일 때 memory_types 파라미터는 무시됩니다', { memory_types });
|
|
55
54
|
}
|
|
56
|
-
const knowledgeVaultRepository =
|
|
55
|
+
const knowledgeVaultRepository = requireRepositoryProvider(context.services?.repositories).knowledgeVault(context.db);
|
|
57
56
|
const knowledgeVaultService = new KnowledgeVaultService(knowledgeVaultRepository);
|
|
58
57
|
let records;
|
|
59
58
|
if (key) {
|
package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-direct.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall-tool-direct.js","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-direct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"recall-tool-direct.js","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-direct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAI/E,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,IAAoB,EACpB,OAAe,EACf,GAAuB,EACvB,KAAyB,EACzB,YAA0C,EAC1C,eAAuB,EACvB,SAAiB,EACjB,OAAoB;IAEpB,IAAI,KAAK,EAAE,CAAC;QACV,IAAI,CAAC,UAAU,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IACjE,CAAC;IACD,IAAI,YAAY,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5C,IAAI,CAAC,UAAU,CAAC,yCAAyC,E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,CAAC;QACN,OAAO,GAAG,MAAM,qBAAqB,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,eAAe,CAAC;IACnD,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC9C,SAAS,EAAE,MAAM,CAAC,QAAQ;QAC1B,IAAI,EAAE,OAAO;QACb,GAAG,EAAE,MAAM,CAAC,GAAG;QACf,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,aAAa,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI;QAC7E,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,UAAU,EAAE,MAAM,CAAC,UAAU;KAC9B,CAAC,CAAC,CAAC;IAEJ,IAAI,aAAa,CAAC,oBAAoB,EAAE,CAAC;QACvC,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC;IACvE,CAAC;IACD,OAAO,IAAI,CAAC,mBAAmB,CAAC;QAC9B,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,gBAAgB,CAAC,MAAM;QACpC,UAAU,EAAE,aAAa;QACzB,WAAW,EAAE,QAAQ;KACtB,CAAC,CAAC;AACL,CAAC"}
|
package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-envelope.d.ts
CHANGED
|
@@ -3,15 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { MemorySearchFilters } from '../../../shared/types/search.types.js';
|
|
5
5
|
import type { ToolContext, ToolResult } from '../../../tools/types.js';
|
|
6
|
-
import type { MetaMemoryService } from '../introspection/meta-memory-service.js';
|
|
7
6
|
import type { RecallToolHost } from './recall-tool-host.js';
|
|
8
7
|
import type { RecallHybridOrTextSearchResult, RecallTelemetryRetrievalStrategy } from './recall-tool-schema.js';
|
|
9
|
-
import type {
|
|
10
|
-
|
|
11
|
-
* Meta Memory Statistics 조회
|
|
12
|
-
*/
|
|
13
|
-
export declare function getMetaStatsForResults(host: RecallToolHost, processedResults: RecallResultItem[], metaMemoryService: MetaMemoryService): Promise<Record<string, MetaStatsItem> | undefined>;
|
|
14
|
-
export declare function finalizeMemoryItemRecallEnvelope(host: RecallToolHost, context: ToolContext, input: {
|
|
8
|
+
import type { RecallResultItem, RecallSearchItem } from './recall-tool-types.js';
|
|
9
|
+
type RecallEnvelopeInput = {
|
|
15
10
|
agentId: string;
|
|
16
11
|
query: string;
|
|
17
12
|
searchItems: RecallSearchItem[];
|
|
@@ -32,5 +27,7 @@ export declare function finalizeMemoryItemRecallEnvelope(host: RecallToolHost, c
|
|
|
32
27
|
normalizedTextWeight: number;
|
|
33
28
|
retrievalStrategy: RecallTelemetryRetrievalStrategy;
|
|
34
29
|
queryHash: string;
|
|
35
|
-
}
|
|
30
|
+
};
|
|
31
|
+
export declare function finalizeMemoryItemRecallEnvelope(host: RecallToolHost, context: ToolContext, input: RecallEnvelopeInput): Promise<ToolResult>;
|
|
32
|
+
export {};
|
|
36
33
|
//# sourceMappingURL=recall-tool-envelope.d.ts.map
|
package/dist/node_modules/@memento/core/dist/domains/memory/recall/recall-tool-envelope.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recall-tool-envelope.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-envelope.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"recall-tool-envelope.d.ts","sourceRoot":"","sources":["../../../../src/domains/memory/recall/recall-tool-envelope.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAM5D,OAAO,KAAK,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAC;AAEhH,OAAO,KAAK,EAIV,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,wBAAwB,CAAC;AA+ChC,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,gBAAgB,EAAE,CAAC;IAChC,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;IACrC,YAAY,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,8BAA8B,EAAE,MAAM,CAAC;IACvC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAE,gCAAgC,CAAC;IACpD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA+GF,wBAAsB,gCAAgC,CACpD,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,WAAW,EAC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