2026-05-10 23:12:26 +02:00
|
|
|
{
|
2026-05-10 23:51:24 +02:00
|
|
|
"name": "@ktx/cli",
|
2026-05-10 23:12:26 +02:00
|
|
|
"version": "0.0.0-private",
|
2026-05-10 23:51:24 +02:00
|
|
|
"description": "CLI wrapper for ktx context packages",
|
2026-05-10 23:12:26 +02:00
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=22.0.0"
|
|
|
|
|
},
|
|
|
|
|
"bin": {
|
2026-05-10 23:51:24 +02:00
|
|
|
"ktx": "./dist/bin.js"
|
2026-05-10 23:12:26 +02:00
|
|
|
},
|
|
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"import": "./dist/index.js",
|
|
|
|
|
"default": "./dist/index.js"
|
|
|
|
|
},
|
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"assets"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"assets:demo": "node scripts/build-demo-assets.mjs",
|
2026-05-15 12:06:37 +02:00
|
|
|
"build": "tsc -p tsconfig.json && node scripts/copy-runtime-assets.mjs && node ../../scripts/prepare-cli-bin.mjs",
|
|
|
|
|
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('node_modules/.cache/tsc.tsbuildinfo', { force: true })\"",
|
2026-05-13 00:26:06 +02:00
|
|
|
"docs:commands": "pnpm run build && node dist/print-command-tree.js",
|
2026-05-10 23:12:26 +02:00
|
|
|
"smoke": "vitest run src/standalone-smoke.test.ts src/example-smoke.test.ts --testTimeout 30000",
|
2026-05-11 09:55:42 +02:00
|
|
|
"test": "vitest run --exclude src/standalone-smoke.test.ts --exclude src/example-smoke.test.ts --exclude src/setup-databases.test.ts --exclude src/scan.test.ts --exclude src/commands/connection-metabase-setup.test.ts --exclude src/setup-models.test.ts --exclude src/setup-sources.test.ts --exclude src/setup.test.ts --exclude src/connection.test.ts --exclude src/setup-embeddings.test.ts --exclude src/ingest.test.ts --exclude src/commands/connection-mapping.test.ts --exclude src/ingest-viz.test.ts --exclude src/demo.test.ts --exclude src/setup-project.test.ts --exclude src/sl.test.ts --exclude src/local-scan-connectors.test.ts --exclude src/commands/connection-notion.test.ts",
|
|
|
|
|
"test:slow": "vitest run src/setup-databases.test.ts src/scan.test.ts src/commands/connection-metabase-setup.test.ts src/setup-models.test.ts src/setup-sources.test.ts src/setup.test.ts src/connection.test.ts src/setup-embeddings.test.ts src/ingest.test.ts src/commands/connection-mapping.test.ts src/ingest-viz.test.ts src/demo.test.ts src/setup-project.test.ts src/sl.test.ts src/local-scan-connectors.test.ts src/commands/connection-notion.test.ts --testTimeout 30000",
|
2026-05-10 23:12:26 +02:00
|
|
|
"type-check": "tsc -p tsconfig.json --noEmit"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2026-05-13 01:15:35 +02:00
|
|
|
"@clack/prompts": "1.4.0",
|
2026-05-10 23:12:26 +02:00
|
|
|
"@commander-js/extra-typings": "14.0.0",
|
2026-05-10 23:51:24 +02:00
|
|
|
"@ktx/connector-bigquery": "workspace:*",
|
|
|
|
|
"@ktx/connector-clickhouse": "workspace:*",
|
|
|
|
|
"@ktx/connector-mysql": "workspace:*",
|
|
|
|
|
"@ktx/connector-postgres": "workspace:*",
|
|
|
|
|
"@ktx/connector-snowflake": "workspace:*",
|
|
|
|
|
"@ktx/connector-sqlite": "workspace:*",
|
|
|
|
|
"@ktx/connector-sqlserver": "workspace:*",
|
|
|
|
|
"@ktx/context": "workspace:*",
|
|
|
|
|
"@ktx/llm": "workspace:*",
|
2026-05-15 02:35:09 +02:00
|
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
2026-05-10 23:12:26 +02:00
|
|
|
"commander": "14.0.3",
|
2026-05-13 01:15:35 +02:00
|
|
|
"ink": "^7.0.2",
|
|
|
|
|
"react": "^19.2.6",
|
2026-05-10 23:12:26 +02:00
|
|
|
"zod": "^4.4.3"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/better-sqlite3": "^7.6.13",
|
2026-05-13 01:15:35 +02:00
|
|
|
"@types/node": "^25.7.0",
|
2026-05-10 23:12:26 +02:00
|
|
|
"@types/react": "^19.2.14",
|
2026-05-14 01:13:31 +02:00
|
|
|
"@vitest/coverage-v8": "^4.1.6",
|
2026-05-13 01:15:35 +02:00
|
|
|
"better-sqlite3": "^12.10.0",
|
2026-05-10 23:12:26 +02:00
|
|
|
"ink-testing-library": "^4.0.0",
|
2026-05-13 01:15:35 +02:00
|
|
|
"typescript": "^6.0.3",
|
|
|
|
|
"vitest": "^4.1.6"
|
2026-05-10 23:12:26 +02:00
|
|
|
},
|
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/kaelio/ktx.git",
|
|
|
|
|
"directory": "packages/cli"
|
|
|
|
|
},
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/kaelio/ktx/issues"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://github.com/kaelio/ktx#readme"
|
|
|
|
|
}
|