ktx/packages/cli/src
Andrey Avtomonov 6b7701487a Merge origin/main into divergent-implementation-audit
Reconciles this branch's audit fixes with main's independently-landed work
where they overlapped:

- MCP Python-runtime install: main's #297 (createLazyManagedPython-
  SemanticLayerComputePort + self-provisioned uv, shipped in 0.12.0)
  supersedes this branch's redundant 96fb94c8. Adopted main's canonical lazy
  port; dropped the duplicate single-function lazy fix.
- mcp-server-factory.ts: kept main's lazy semantic-compute port AND this
  branch's resolveSqlAnalysisPort (honors KTX_SQL_ANALYSIS_URL/KTX_DAEMON_URL,
  a strict superset of main's createManagedDaemonSqlAnalysisPort).
- doctor.test.ts: configured embeddings.openai.api_key on the ready-path
  tests to match 7692d92e's corrected status semantics (status no longer
  reports openai embeddings ready from a bare OPENAI_API_KEY env var).

Verified: type-check, build, default suite (3010 tests), connection/sl/
mcp-port excluded tests (67 tests), dead-code gate — all green.
2026-06-18 14:22:31 +02:00
..
commands feat(cli): let ktx setup --agents choose an install directory (#298) 2026-06-13 00:46:56 +02:00
completion feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
connectors feat(duckdb): cross-database federation via derived DuckDB connection (#295) 2026-06-15 15:01:39 +00:00
context Merge origin/main into divergent-implementation-audit 2026-06-18 14:22:31 +02:00
io feat(cli): add ktx wordmark banner to setup intro (#290) 2026-06-10 14:47:34 +00:00
llm refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
prompts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
skills refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
star-prompt feat: add GitHub star nudges to CLI build view and docs sidebar (#271) 2026-06-08 16:14:56 +02:00
telemetry fix: classify mcp query failures (#302) 2026-06-15 12:48:24 +00:00
update-check feat(cli): add channel-aware update notifier (#265) 2026-06-06 10:42:10 +02:00
admin-reindex.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
admin.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
bin.ts rename klo to ktx 2026-05-10 23:51:24 +02:00
clack.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
claude-code-prompt-caching.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
cli-program.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
cli-runtime.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
command-schemas.ts feat: merge ingest and scan 2026-05-14 01:43:06 +02:00
command-tree.ts feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
community-cta.ts feat(cli): add Slack community CTA on errors, crashes, setup, and help (#277) 2026-06-09 12:22:56 +02:00
connection-drivers.ts feat(cli)!: remove fast mode; ktx ingest always builds enriched context (KLO-721) (#237) 2026-05-29 17:41:04 +02:00
connection-recovery.ts feat(cli): consistent connection setup recovery and build-time gate (#257) 2026-06-03 11:08:46 +00:00
connection.ts Merge origin/main into divergent-implementation-audit 2026-06-18 14:22:31 +02:00
context-build-view.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
database-tree-picker.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
demo-assets.ts fix(cli): isolate ktx-owned project repositories (#283) 2026-06-10 14:12:25 +02:00
demo-metrics.ts fix(ingest): drive work-unit progress from tool calls, not turn counts (#269) 2026-06-08 15:30:35 +02:00
doctor.ts fix(cli): survive ktx.yaml version skew and derive repo ownership from disk (#293) 2026-06-11 22:10:47 +02:00
embedding-resolution.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
error-message.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
errors.ts fix: classify MCP SQL query errors as expected (#285) 2026-06-10 11:42:31 +02:00
index.ts fix(cli): resolve embedding provider explicitly and surface lane status in sl search (#192) 2026-05-21 02:21:22 +02:00
ingest-query-executor.ts feat(duckdb): cross-database federation via derived DuckDB connection (#295) 2026-06-15 15:01:39 +00:00
ingest-report-file.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
ingest.ts fix: read semantic sources safely (#284) 2026-06-10 14:06:13 +02:00
knowledge.ts feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
links.ts feat(cli): add Slack community CTA on errors, crashes, setup, and help (#277) 2026-06-09 12:22:56 +02:00
local-adapters.ts fix(cli): honor KTX_SQL_ANALYSIS_URL/KTX_DAEMON_URL in ktx sql and MCP 2026-06-18 13:12:13 +02:00
local-scan-connectors.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
managed-local-embeddings.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
managed-mcp-daemon.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
managed-python-command.ts fix(cli): defer managed Python runtime install to first semantic-layer call 2026-06-18 14:02:24 +02:00
managed-python-daemon.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
managed-python-http.ts fix(cli): honor KTX_SQL_ANALYSIS_URL/KTX_DAEMON_URL in ktx sql and MCP 2026-06-18 13:12:13 +02:00
managed-python-runtime.ts feat(cli): self-provision pinned uv and defer MCP Python runtime install (#297) 2026-06-12 16:31:06 +00:00
managed-uv-release.ts feat(cli): self-provision pinned uv and defer MCP Python runtime install (#297) 2026-06-12 16:31:06 +00:00
mcp-http-server.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
mcp-server-factory.ts Merge origin/main into divergent-implementation-audit 2026-06-18 14:22:31 +02:00
mcp-stdio-server.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
memory-flow-hud.tsx refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
memory-flow-interactive.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
memory-flow-tui.tsx chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
next-steps.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
notion-page-picker.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
print-command-tree.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
progress-port-adapter.ts feat(cli): stream plain ktx ingest progress to stderr (KLO-726) (#251) 2026-06-01 23:31:31 +02:00
project-resolver.ts rename klo to ktx 2026-05-10 23:51:24 +02:00
prompt-navigation.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
proxy-env.ts fix: sanitize no_proxy for managed embeddings (#153) 2026-05-19 18:18:56 +02:00
public-ingest-copy.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
public-ingest.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
release-version.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
reveal-password-prompt.ts feat(setup): wizard prompt tweaks and quieter query-history filter output (#259) 2026-06-04 14:11:08 +02:00
runtime-requirements.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
runtime.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
scan.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
setup-agents.ts feat(cli): let ktx setup --agents choose an install directory (#298) 2026-06-13 00:46:56 +02:00
setup-banner.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
setup-context.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
setup-databases.ts feat(duckdb): cross-database federation via derived DuckDB connection (#295) 2026-06-15 15:01:39 +00:00
setup-demo-tour.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
setup-embeddings.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
setup-interrupt.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
setup-models.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
setup-project.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
setup-prompts.ts feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
setup-ready-menu.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
setup-runtime.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
setup-secrets.ts rename klo to ktx 2026-05-10 23:51:24 +02:00
setup-sources.ts feat(duckdb): cross-database federation via derived DuckDB connection (#295) 2026-06-15 15:01:39 +00:00
setup.ts feat(cli): let ktx setup --agents choose an install directory (#298) 2026-06-13 00:46:56 +02:00
sl.ts fix(cli): defer managed Python runtime install to first semantic-layer call 2026-06-18 14:02:24 +02:00
source-mapping.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
sql.ts Merge origin/main into divergent-implementation-audit 2026-06-18 14:22:31 +02:00
startup-profile.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
status-project.ts fix(cli): align ktx status checks with the runtime resolvers 2026-06-18 13:35:00 +02:00
text-ingest.ts refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
tree-picker-state.ts feat(cli): skip-context-sources menu + clack-style tree picker UX (#213) 2026-05-24 19:29:37 +02:00
tree-picker-tui.tsx feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296) 2026-06-12 16:43:10 +02:00
viz-fallback.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00