ktx/scripts
Andrey Avtomonov 2c9a58bb56
feat(cli): smart defaults and flatter command surface for ktx (#177)
Bare invocations now do the obvious thing instead of erroring out, and mode-as-subcommand patterns collapse into flags on the parent. No new top-level commands.

- `ktx ingest` (bare) ingests every configured connection. The `text` subcommand is gone; capture inline notes with `ktx ingest --text "..."` and files with `ktx ingest --file path` (use `-` for stdin). `--text`/`--file` reject a positional connection id; pass `--connection-id` to tag captured notes.
- `ktx connection` (bare) lists; `ktx connection test` (bare) tests every configured connection.
- `ktx wiki` and `ktx sl` flatten `list`/`search`: bare lists, with a `[query...]` positional searches (multi-word joined with spaces). `sl validate` and `sl query` stay as distinct verbs and now read `--connection-id` from the parent.
- `ktx mcp` (bare) prints daemon status.

Adds a shared `resolveConnectionSelection` helper consumed by ingest and connection test. Updates README, docs-site cli-reference and guides, next-steps strings, agent SKILL templates, and all affected tests. Per-package type-check, unit tests (605), smoke tests, and dead-code checks all pass.
2026-05-20 01:52:37 +02:00
..
acquire-public-benchmark-fixtures.mjs Initial open-source release 2026-05-10 23:12:26 +02:00
acquire-public-benchmark-fixtures.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
adventureworks-oltp-source.json Initial open-source release 2026-05-10 23:12:26 +02:00
adventureworks-oltp-source.test.mjs Initial open-source release 2026-05-10 23:12:26 +02:00
anti-fixture-conditional.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
build-adventureworks-oltp-fixture.mjs fix: stop requiring readonly connection config (#71) 2026-05-13 19:37:25 +02:00
build-benchmark-snapshot.mjs Initial open-source release 2026-05-10 23:12:26 +02:00
build-benchmark-snapshot.test.mjs [codex] Add Conductor workspace scripts (#2) 2026-05-11 09:55:42 +02:00
build-evidence-fusion-adversarial-fixtures.mjs refactor: remove legacy compatibility paths (#64) 2026-05-13 15:55:00 +02:00
build-public-npm-package.mjs fix: align release provenance metadata 2026-05-19 16:10:30 +02:00
build-public-npm-package.test.mjs fix: align release provenance metadata 2026-05-19 16:10:30 +02:00
build-python-runtime-wheel.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
build-python-runtime-wheel.test.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
check-boundaries.mjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
check-boundaries.test.mjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
ci-artifact-upload.test.mjs ci: parallelize KTX CI checks 2026-05-12 01:44:15 +02:00
conductor-run.sh [codex] Add Conductor workspace scripts (#2) 2026-05-11 09:55:42 +02:00
conductor-scripts.test.mjs perf(setup): speed up conductor setup and make it rerun-safe (#107) 2026-05-15 12:06:37 +02:00
conductor-setup.sh chore: preserve superpowers docs symlink in worktrees (#158) 2026-05-20 00:11:38 +02:00
examples-docs.test.mjs feat(cli): smart defaults and flatter command surface for ktx (#177) 2026-05-20 01:52:37 +02:00
installed-live-database-smoke.mjs feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
installed-live-database-smoke.test.mjs fix: remove project from ktx config (#95) 2026-05-14 17:39:31 +02:00
link-dev-cli.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
link-dev-cli.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
local-embeddings-runtime-smoke.mjs feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
local-embeddings-runtime-smoke.test.mjs feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
normalize-lcov-paths.mjs ci: configure Codecov coverage uploads (#150) 2026-05-19 16:56:48 +02:00
normalize-lcov-paths.test.mjs ci: configure Codecov coverage uploads (#150) 2026-05-19 16:56:48 +02:00
package-artifacts.mjs feat(cli): smart defaults and flatter command surface for ktx (#177) 2026-05-20 01:52:37 +02:00
package-artifacts.test.mjs feat(cli): smart defaults and flatter command surface for ktx (#177) 2026-05-20 01:52:37 +02:00
prepare-cli-bin.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
public-benchmark-manifest.json ci: run pre-commit checks in CI (#74) 2026-05-13 19:49:25 +02:00
public-npm-release-metadata.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
public-npm-release-metadata.test.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
published-package-smoke-config.mjs fix(cli): remove ktx setup subcommands (#42) 2026-05-13 00:38:26 +02:00
published-package-smoke.mjs fix(release): repair next npm release workflow (#122) 2026-05-17 01:41:07 +02:00
published-package-smoke.test.mjs fix(release): repair next npm release workflow (#122) 2026-05-17 01:41:07 +02:00
relationship-orbit-verification.mjs feat: merge ingest and scan 2026-05-14 01:43:06 +02:00
relationship-orbit-verification.test.mjs feat: merge ingest and scan 2026-05-14 01:43:06 +02:00
release-readiness.mjs feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
release-readiness.test.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
release-workflow.test.mjs ci: simplify ktx release flow (#149) 2026-05-19 16:40:23 +02:00
run-ktx.mjs perf(cli): cache pnpm run ktx builds against a stamp file (#113) 2026-05-15 15:49:39 +02:00
run-ktx.test.mjs perf(cli): cache pnpm run ktx builds against a stamp file (#113) 2026-05-15 15:49:39 +02:00
semantic-release-config.cjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
semantic-release-config.test.mjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
setup-dev.mjs fix(cli): build runtime assets during dev setup (#121) 2026-05-17 01:04:44 +02:00
setup-dev.test.mjs fix(cli): build runtime assets during dev setup (#121) 2026-05-17 01:04:44 +02:00
standalone-ci-workflow.test.mjs ci: run pre-commit checks in CI (#74) 2026-05-13 19:49:25 +02:00
test-tiering.test.mjs [codex] Add Conductor workspace scripts (#2) 2026-05-11 09:55:42 +02:00
update-public-release-version.mjs feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
update-public-release-version.test.mjs feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
validate-llm-debug-jsonl.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
validate-llm-debug-jsonl.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00