2026-05-10 23:12:26 +02:00
|
|
|
{
|
2026-05-21 13:05:14 +02:00
|
|
|
"name": "@kaelio/ktx",
|
2026-05-21 00:23:17 +00:00
|
|
|
"version": "0.4.1",
|
2026-05-21 14:23:28 +02:00
|
|
|
"description": "Standalone ktx context layer for data agents",
|
2026-05-10 23:12:26 +02:00
|
|
|
"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"
|
|
|
|
|
],
|
2026-05-21 13:05:14 +02:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public",
|
|
|
|
|
"provenance": true
|
|
|
|
|
},
|
2026-05-10 23:12:26 +02:00
|
|
|
"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",
|
2026-05-21 14:23:28 +02:00
|
|
|
"clean": "node -e \"fs.rmSync('dist', { recursive: true, 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-21 03:27:33 +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 --exclude src/context/scan/local-scan.test.ts --exclude src/context/mcp/local-project-ports.test.ts --exclude src/context/ingest/local-stage-ingest.test.ts --exclude src/context/sl/pglite-sl-search-prototype.test.ts --exclude src/context/core/git.service.test.ts --exclude src/context/ingest/local-adapters.test.ts --exclude src/context/ingest/local-bundle-ingest.test.ts --exclude src/context/ingest/local-metabase-ingest.test.ts --exclude src/context/sl/local-sl.test.ts --exclude src/context/search/pglite-owner-process.test.ts --exclude src/context/scan/local-enrichment-artifacts.test.ts --exclude src/context/search/pglite-spike.test.ts --exclude src/context/wiki/local-knowledge.test.ts --exclude src/context/sl/local-query.test.ts --exclude src/context/scan/relationship-review-decisions.test.ts --exclude src/context/scan/relationship-profiling.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 src/context/scan/local-scan.test.ts src/context/mcp/local-project-ports.test.ts src/context/ingest/local-stage-ingest.test.ts src/context/sl/pglite-sl-search-prototype.test.ts src/context/core/git.service.test.ts src/context/ingest/local-adapters.test.ts src/context/ingest/local-bundle-ingest.test.ts src/context/ingest/local-metabase-ingest.test.ts src/context/sl/local-sl.test.ts src/context/search/pglite-owner-process.test.ts src/context/scan/local-enrichment-artifacts.test.ts src/context/search/pglite-spike.test.ts src/context/wiki/local-knowledge.test.ts src/context/sl/local-query.test.ts src/context/scan/relationship-review-decisions.test.ts src/context/scan/relationship-profiling.test.ts --testTimeout 30000",
|
|
|
|
|
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
|
|
|
"relationships:benchmarks": "pnpm --silent run build && node ../../scripts/relationship-benchmark-report.mjs",
|
|
|
|
|
"relationships:benchmarks:test": "KTX_RUN_RELATIONSHIP_BENCHMARKS=1 vitest run src/context/scan/relationship-benchmarks.test.ts",
|
|
|
|
|
"search:pglite-spike": "node ../../scripts/pglite-hybrid-search-spike.mjs",
|
|
|
|
|
"search:pglite-owner-prototype": "node ../../scripts/pglite-owner-process-prototype.mjs",
|
|
|
|
|
"search:pglite-sl-prototype": "node ../../scripts/pglite-sl-search-prototype.mjs"
|
2026-05-10 23:12:26 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2026-05-21 03:09:44 +02:00
|
|
|
"@ai-sdk/anthropic": "3.0.77",
|
|
|
|
|
"@ai-sdk/devtools": "0.0.17",
|
|
|
|
|
"@ai-sdk/google-vertex": "^4.0.128",
|
2026-05-21 03:27:33 +02:00
|
|
|
"@anthropic-ai/claude-agent-sdk": "0.3.142",
|
2026-05-13 01:15:35 +02:00
|
|
|
"@clack/prompts": "1.4.0",
|
2026-05-21 03:27:33 +02:00
|
|
|
"@clickhouse/client": "^1.18.4",
|
2026-05-10 23:12:26 +02:00
|
|
|
"@commander-js/extra-typings": "14.0.0",
|
2026-05-21 03:27:33 +02:00
|
|
|
"@google-cloud/bigquery": "^8.3.1",
|
|
|
|
|
"@looker/sdk": "^26.8.0",
|
|
|
|
|
"@looker/sdk-node": "^26.8.0",
|
|
|
|
|
"@looker/sdk-rtl": "^21.6.5",
|
2026-05-15 02:35:09 +02:00
|
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
2026-05-21 03:27:33 +02:00
|
|
|
"@notionhq/client": "^5.21.0",
|
2026-05-21 03:09:44 +02:00
|
|
|
"ai": "^6.0.180",
|
2026-05-21 03:27:33 +02:00
|
|
|
"better-sqlite3": "^12.10.0",
|
2026-05-10 23:12:26 +02:00
|
|
|
"commander": "14.0.3",
|
feat(setup): add Claude Desktop target and MCP-first agent setup (#114)
* feat(setup): add Claude Desktop target and MCP-first agent setup
Adds `ktx mcp stdio` and a `claude-desktop` setup target that generates a
local plugin ZIP wiring the analytics skill and a stdio MCP config. Replaces
the CLI-only agent install mode with MCP+analytics (default) and an optional
admin CLI skill, renames the research skill to analytics, and lets interactive
setup pick project vs global scope when every target supports it. Extracts a
shared MCP server factory used by both HTTP and stdio entrypoints.
* Add MCP agent client setup support
* Polish setup output formatting
* Add MCP tool polish design spec
Design for slimming the MCP-registered surface from 25 to 11 tools,
introducing memory_ingest, applying the per-tool polish kit (annotations,
outputSchema, .describe(), in-band error wrapping, union-drift fixes,
type-narrowed jsonToolResult), emitting progress notifications on
sql_execution + sl_query, and refining the ktx-analytics SKILL.md to
match.
* Refine MCP tool polish design spec after adversarial review iteration 1
* Refine MCP tool polish design spec after adversarial review iteration 2
* Refine MCP tool polish design spec after adversarial review iteration 3
* refactor(context): rename memory capture service to ingest
* feat(mcp): slim research tool surface
* refactor(mcp): remove admin ports from server factory
* refactor(cli): rename text ingest memory port
* docs: update analytics skill for memory ingest
* chore: verify mcp surface rename
* Add MCP tool polish v1 surface change plan
* feat(context): polish mcp tool metadata
* fix(context): enforce resolved semantic layer compute sources
* feat(context): emit mcp query progress stages
* fix(context): keep mcp progress event internal
* Add MCP tool polish v1 metadata & progress plan
* Fix CI snapshot and docs checks
2026-05-16 11:39:55 +02:00
|
|
|
"fflate": "^0.8.2",
|
2026-05-21 03:27:33 +02:00
|
|
|
"handlebars": "^4.7.9",
|
2026-05-13 01:15:35 +02:00
|
|
|
"ink": "^7.0.2",
|
2026-05-21 03:27:33 +02:00
|
|
|
"lookml-parser": "7.1.0",
|
|
|
|
|
"minimatch": "^10.2.5",
|
|
|
|
|
"mssql": "^12.5.2",
|
|
|
|
|
"mysql2": "^3.22.3",
|
2026-05-21 03:09:44 +02:00
|
|
|
"openai": "^6.37.0",
|
2026-05-21 03:27:33 +02:00
|
|
|
"p-limit": "^7.3.0",
|
|
|
|
|
"pg": "^8.20.0",
|
2026-05-13 01:15:35 +02:00
|
|
|
"react": "^19.2.6",
|
2026-05-21 03:27:33 +02:00
|
|
|
"simple-git": "3.36.0",
|
|
|
|
|
"snowflake-sdk": "^2.4.1",
|
|
|
|
|
"yaml": "^2.9.0",
|
2026-05-10 23:12:26 +02:00
|
|
|
"zod": "^4.4.3"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-05-21 03:27:33 +02:00
|
|
|
"@electric-sql/pglite": "^0.4.5",
|
|
|
|
|
"@electric-sql/pglite-socket": "^0.1.5",
|
2026-05-10 23:12:26 +02:00
|
|
|
"@types/better-sqlite3": "^7.6.13",
|
2026-05-21 03:27:33 +02:00
|
|
|
"@types/mssql": "^12.3.0",
|
2026-05-13 01:15:35 +02:00
|
|
|
"@types/node": "^25.7.0",
|
2026-05-21 03:27:33 +02:00
|
|
|
"@types/pg": "^8.20.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-21 03:27:33 +02:00
|
|
|
"ajv": "8.20.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",
|
2026-05-21 13:05:14 +02:00
|
|
|
"url": "https://github.com/Kaelio/ktx",
|
2026-05-10 23:12:26 +02:00
|
|
|
"directory": "packages/cli"
|
|
|
|
|
},
|
|
|
|
|
"bugs": {
|
2026-05-21 13:05:14 +02:00
|
|
|
"url": "https://github.com/Kaelio/ktx/issues"
|
2026-05-10 23:12:26 +02:00
|
|
|
},
|
2026-05-21 13:05:14 +02:00
|
|
|
"homepage": "https://github.com/Kaelio/ktx#readme"
|
2026-05-10 23:12:26 +02:00
|
|
|
}
|