ktx/packages/context
Andrey Avtomonov f8db99811a
feat(context): add driver-discriminated connection schemas (#96)
* refactor(context): export and describe mapping shape schemas

* feat(context): add driver-schemas module with warehouse drivers

* feat(context): add metabase, looker, lookml driver schemas with mappings

* feat(context): add notion, dbt, metricflow driver schemas

* refactor(context): make connectionSchema a driver-discriminated union

* chore(context): re-export KtxConnectionConfig from project package

* docs(context): add connection driver schema plan

* chore(secrets): allowlist example credentials in driver-schemas fixtures

* test(cli): align metabase fixtures with required api_url field

The driver-discriminated union added in this branch now requires api_url
for metabase connections and a known driver for warehouses. Update slow
CLI test fixtures and assertions so they exercise the new schema:
- ingest.test-utils.ts: add api_url to the prod-metabase fixture.
- setup.test.ts: switch metabase fixture from 'url' to 'api_url'.
- local-scan-connectors.test.ts: invalid-driver/missing-driver tests now
  expect the schema error from loadKtxProject (parse-time rejection).
2026-05-15 00:08:11 +02:00
..
prompts Polish documentation copy (#98) 2026-05-14 12:43:14 -04:00
scripts rename klo to ktx 2026-05-10 23:51:24 +02:00
skills Polish documentation copy (#98) 2026-05-14 12:43:14 -04:00
src feat(context): add driver-discriminated connection schemas (#96) 2026-05-15 00:08:11 +02:00
test/fixtures refactor: remove legacy compatibility paths (#64) 2026-05-13 15:55:00 +02:00
package.json ci: add codecov coverage reporting (#82) 2026-05-14 01:13:31 +02:00
tsconfig.json Initial open-source release 2026-05-10 23:12:26 +02:00
vitest.config.ts Initial open-source release 2026-05-10 23:12:26 +02:00