(dm: typeof dbManager, filePath: string)
| 95 | const ai = options?.aiContext |
| 96 | |
| 97 | const cliStreamImport = async (dm: typeof dbManager, filePath: string) => { |
| 98 | const { streamImport } = await import('../../../import/stream-import') |
| 99 | const result = await streamImport(dm, filePath) |
| 100 | if (!result.sessionId) throw new Error('Import succeeded but no sessionId returned') |
| 101 | return { sessionId: result.sessionId } |
| 102 | } |
| 103 | |
| 104 | const defaultUserDataDir = getDefaultNodeUserDataDir() |
| 105 | const isCustom = path.resolve(resolvedPathProvider.getUserDataDir()) !== path.resolve(defaultUserDataDir) |
nothing calls this directly
no test coverage detected