Logical sidecar key, or null when the scope has no stable identity.
(ctx: MemoryScopeContext, scope: MemoryScope, relPath: string)
| 475 | |
| 476 | /** Logical sidecar key, or null when the scope has no stable identity. */ |
| 477 | private logicalKeyFor(ctx: MemoryScopeContext, scope: MemoryScope, relPath: string) { |
| 478 | if (scope === "project" && ctx.projectPath === "") return null; |
| 479 | return memoryLogicalKey(scope, relPath, { |
| 480 | projectPath: ctx.projectPath, |
| 481 | workspaceId: ctx.workspaceId, |
| 482 | }); |
| 483 | } |
| 484 | |
| 485 | private async recordUsage( |
| 486 | ctx: MemoryScopeContext, |
no test coverage detected