ktx/packages/cli/src
Kevin Messiaen bcfd562f18
refactor(mongo-query): forward the query input without re-listing fields
Now that KtxMongoQueryArgs extends KtxMongoQueryInput and the runner takes
that type, pass the args/input object straight through instead of rebuilding
it field by field. assertSafeConnectionId returns its input verbatim, so the
`{ ...input, connectionId }` spread was re-asserting an equal value.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ga2tvQ2YCEphmY8HM5Guzq
2026-07-11 21:26:10 +07:00
..
commands refactor(mongo-query): consolidate query types and drop unsafe cast 2026-07-11 21:19:55 +07:00
completion feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
connectors refactor(mongo-query): consolidate query types and drop unsafe cast 2026-07-11 21:19:55 +07:00
context refactor(mongo-query): forward the query input without re-listing fields 2026-07-11 21:26:10 +07:00
io refactor(io): extract shared result-table formatters from sql 2026-07-06 19:59:34 +07:00
llm refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +02:00
prompts feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00:00
skills feat(sigma): add Sigma Computing context-source adapter (#316) 2026-07-01 01:14:57 +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 feat(telemetry): add mongo_query_completed event 2026-07-06 20:05:22 +07: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 feat(cli): register ktx mongo-query command 2026-07-06 20:12:52 +07:00
cli-runtime.ts feat(cli): register ktx mongo-query command 2026-07-06 20:12:52 +07: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(connector): add Amazon Athena connector via Glue Data Catalog (#309) 2026-07-02 15:00:26 +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 feat: Add duckdb connector (#308) 2026-07-01 12:06:02 +00:00
context-build-view.ts feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00: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 feat(cli): export runKtxMongoQuery as public API to match runKtxSql 2026-07-06 20:29:04 +07: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: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00: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 feat(connector): add Amazon Athena connector via Glue Data Catalog (#309) 2026-07-02 15:00:26 +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 feat(cli): self-provision pinned uv and defer MCP Python runtime install (#297) 2026-06-12 16:31:06 +00: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 refactor: enforce ktx naming and AGENTS.md compliance sweep (#289) 2026-06-11 13:49:45 +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 feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00:00
mcp-server-factory.ts feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00:00
mcp-stdio-server.ts feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00: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
mongo-query.ts refactor(mongo-query): forward the query input without re-listing fields 2026-07-11 21:26:10 +07: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 feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00: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 feat(sigma): add Sigma Computing context-source adapter (#316) 2026-07-01 01:14:57 +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 feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00: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(connector): add Amazon Athena connector via Glue Data Catalog (#309) 2026-07-02 15:00:26 +02: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(sigma): add Sigma Computing context-source adapter (#316) 2026-07-01 01:14:57 +02:00
setup.ts Add gdrive context source adapter (#209) 2026-06-27 23:41:32 +02:00
sl.ts feat(setup): apply per-role LLM model presets, remove --llm-model (#268) 2026-06-08 15:30:48 +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 refactor(io): extract shared result-table formatters from sql 2026-07-06 19:59:34 +07: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 feat: Add duckdb connector (#308) 2026-07-01 12:06:02 +00:00
text-ingest.ts feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00: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
verbatim-ingest.ts feat: ktx batch — scan resilience, analytics SQL craft, connector hardening (#312) 2026-06-29 16:35:57 +00:00
viz-fallback.ts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00