(id: string, zipPath: string)
| 123 | } |
| 124 | |
| 125 | function makeResult(id: string, zipPath: string): ExportSessionResult { |
| 126 | const manifest: ExportSessionManifest = { |
| 127 | sessionId: id, |
| 128 | exportedAt: '2026-04-18T12:00:00.000Z', |
| 129 | kimiCodeVersion: '1.27.0', |
| 130 | wireProtocolVersion: '1.0', |
| 131 | os: 'test', |
| 132 | nodejsVersion: '22.0.0', |
| 133 | workspaceDir: tmp, |
| 134 | }; |
| 135 | return { |
| 136 | zipPath, |
| 137 | entries: ['manifest.json', 'wire.jsonl'], |
| 138 | sessionDir: join(tmp, 'sessions', id), |
| 139 | manifest, |
| 140 | }; |
| 141 | } |
| 142 | |
| 143 | function makeDeps(overrides: Partial<ExportDeps> = {}): { |
| 144 | deps: ExportDeps; |
no outgoing calls
no test coverage detected