feat(providers): add pure claude adapter with record-stream golden tests (5b-1)

claude.parse mirrors indexJsonl line-for-line but yields IndexRecords (no db).
Adds MessageTurnDurationRecord op. Purely additive — buildIndex still uses the
old path. 111/111 green.
This commit is contained in:
tommy0103
2026-07-08 18:27:28 +08:00
parent 338dae413d
commit 2b30d9596d
5 changed files with 231 additions and 1 deletions
+3
View File
@@ -40,6 +40,9 @@ export default tseslint.config(
},
rules: {
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
// Provider adapters parse untyped external transcript JSON; `any` at those
// boundaries is deliberate, not a smell.
'@typescript-eslint/no-explicit-any': 'off',
},
},
);