(ctx: { cwd: string })
| 145 | const PREFIX = "[magic-context][pi]"; |
| 146 | |
| 147 | function resolveCurrentProject(ctx: { cwd: string }): { |
| 148 | projectDir: string; |
| 149 | projectIdentity: string; |
| 150 | } { |
| 151 | const projectDir = ctx.cwd; |
| 152 | const projectIdentity = resolveProjectIdentity(projectDir); |
| 153 | return { projectDir, projectIdentity }; |
| 154 | } |
| 155 | |
| 156 | export function persistPiMessageEndModelMeta(args: { |
| 157 | db: ContextDatabase; |
no test coverage detected