( config: SessionDirProvider, workspaceId: string )
| 61 | } |
| 62 | |
| 63 | export async function readAdditionalSystemContext( |
| 64 | config: SessionDirProvider, |
| 65 | workspaceId: string |
| 66 | ): Promise<AdditionalSystemContextRecord> { |
| 67 | const [content, enabled] = await Promise.all([ |
| 68 | readContentFile(config, workspaceId), |
| 69 | readEnabledFlag(config, workspaceId), |
| 70 | ]); |
| 71 | return { content, enabled }; |
| 72 | } |
| 73 | |
| 74 | export async function writeAdditionalSystemContext( |
| 75 | config: SessionDirProvider, |
no test coverage detected