Commit graph

133 commits

Author SHA1 Message Date
Luca Martial
d567ffec48 feat(cli): offer connection URL paste first in database setup
Users most commonly paste a connection URL rather than entering fields
individually, so surface that option first in the connection method prompt.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 17:14:35 -07:00
Luca Martial
ea10dd9f39 merge: resolve conflict with main's box-drawing formatting
Keep the confirmProjectDir helper extraction from this branch while
adopting the │ box-drawing prefixes added on main.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 17:03:03 -07:00
Luca Martial
bdca6d0f04 fix(cli): replace duplicate directory prompt with direct path options
Extract confirmProjectDir helper and split the "Create a new project
folder" option into "New subfolder (./ktx-project)" and "Custom path"
so users reach their target directory with fewer prompts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 16:59:30 -07:00
Luca Martial
fcdf5234c6
Merge pull request #45 from Kaelio/luca/klo-654-improve-indents
feat(cli): add box-drawing prefixes to setup messages
2026-05-12 19:58:55 -04:00
Luca Martial
07ac71ea7c feat(cli): add box-drawing prefixes to remaining setup stdout messages
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 16:58:09 -07:00
Luca Martial
509f9f5301 feat(cli): prefix text-input continuation lines with box-drawing characters
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 16:58:00 -07:00
Luca Martial
e13350c970
Merge pull request #47 from Kaelio/luca-martial/save-setup-in-dot-ktx
Save setup completion state in .ktx/setup/state.json
2026-05-12 19:27:26 -04:00
Luca Martial
dbfee6b453 feat(cli): migrate all setup steps to use local state for completion tracking
Update every setup step to write completed_steps to .ktx/setup/state.json
instead of ktx.yaml, stripping legacy entries from config on write.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 16:26:23 -07:00
Andrey Avtomonov
85fc408054
chore(deps): refresh workspace dependencies (#43)
* chore(deps): refresh workspace dependencies

* Fix pnpm artifact smoke build approvals
2026-05-13 01:15:35 +02:00
Luca Martial
f091f948ee feat(cli): add box-drawing prefixes to setup informational messages
Align stdout informational messages in setup flows with the existing
Clack prompt visual style by prefixing them with │.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-12 15:46:56 -07:00
Andrey Avtomonov
17a2fee69a
fix(cli): remove ktx setup subcommands (#42)
* fix(cli): remove ktx setup subcommands

* test(scripts): update setup-dev status expectation
2026-05-13 00:38:26 +02:00
Andrey Avtomonov
5e057f97e3 fix(cli): preserve tree continuation guides 2026-05-13 00:35:07 +02:00
Andrey Avtomonov
39f0320c2b feat(cli): render command docs as tree 2026-05-13 00:33:24 +02:00
Andrey Avtomonov
e8a7018c55 fix(cli): match command tree description separator 2026-05-13 00:27:39 +02:00
Andrey Avtomonov
d4ce275a3c chore(cli): add docs:commands pnpm script 2026-05-13 00:26:06 +02:00
Andrey Avtomonov
fda3d4b7ec feat(cli): add print-command-tree build-time script 2026-05-13 00:25:35 +02:00
Andrey Avtomonov
f205bec1f6 feat(cli): add walkCommandTree and formatCommandTree helpers 2026-05-13 00:24:51 +02:00
Andrey Avtomonov
cdcfd21e95 refactor(cli): extract buildKtxProgram for reuse outside runCommanderKtxCli 2026-05-13 00:23:58 +02:00
Andrey Avtomonov
e15a4ebaec feat(cli): clean up command surface 2026-05-12 23:51:46 +02:00
Luca Martial
60457e9407
Improve schema setup and Notion ingest UX (#14)
* Improve schema setup and Notion ingest UX

* Handle Postgres network scan failures

* WIP: save local changes before main merge

* Refine setup prompt choices

* Tighten ingest reconciliation guidance

* Commit setup config updates

* Canonicalize unmapped fallback details

* Count reconciliation actions in reports

* Harden semantic layer source validation

* Return wiki content after edits

* Validate SL sources against manifests

* Validate wiki refs before writes

* Simplify CLI next steps

* Clarify agent setup summary

* Surface dbt target SL sources

* Recover SL write fallbacks

* Preserve failed context build metadata

* Track raw paths for ingest actions

* test(cli): update seeded demo expectations

* fix(ingest): scope fallback recovery checks

* fix(sl): tighten source validation guards

* fix(wiki): ignore empty embedding vectors

* Improve Notion ingest UX

* Enforce flat wiki keys

* test(context): update wiki key assertion

---------

Co-authored-by: Andrey Avtomonov <andreybavt@gmail.com>
2026-05-12 22:56:58 +02:00
Andrey Avtomonov
6a1fded5ce fix(ci): align smoke stderr expectations 2026-05-12 15:31:41 +02:00
Andrey Avtomonov
009558be7e
Merge branch 'main' into cli-print-project-dir 2026-05-12 15:22:38 +02:00
Andrey Avtomonov
dc0e33ddda fix(cli): route plain ingest progress to stderr 2026-05-12 15:15:28 +02:00
Andrey Avtomonov
3ec8482dab
Merge branch 'main' into cli-print-project-dir 2026-05-12 15:07:22 +02:00
Andrey Avtomonov
0ff14e1953 feat(cli): print resolved project dir 2026-05-12 15:04:01 +02:00
Andrey Avtomonov
80c2930ad8 fix(cli): replace KLO logo with KTX 2026-05-12 14:56:09 +02:00
Andrey Avtomonov
7a315d580f Merge remote-tracking branch 'origin/main' into andreybavt/execute-context7-plan
# Conflicts:
#	packages/cli/src/ingest.test.ts
#	packages/cli/src/ingest.ts
2026-05-12 14:37:51 +02:00
Andrey Avtomonov
f422facf10
fix(cli): clarify historic SQL ingest progress (#36) 2026-05-12 14:21:57 +02:00
Andrey Avtomonov
e1129dd6a9
fix(cli): scale nested scan progress phases (#35) 2026-05-12 14:07:02 +02:00
Andrey Avtomonov
15f433930e
Merge branch 'main' into andreybavt/execute-context7-plan 2026-05-12 13:04:16 +02:00
Andrey Avtomonov
da108e556c
Merge pull request #22 from Kaelio/andreybavt/fix-metabase-readiness
fix(cli): report metabase ingest readiness
2026-05-12 13:01:19 +02:00
Andrey Avtomonov
36c3f93ad7
feat(cli): add reliable runtime stop --all (#30)
* feat(cli): add runtime stop all

* test(cli): avoid Metabase secret fixture path collision

---------

Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 13:00:08 +02:00
Andrey Avtomonov
bd5154f918
Merge pull request #31 from Kaelio/andreybavt/pasted-text-attachment
fix: standardize KTX environment variables
2026-05-12 12:26:33 +02:00
Andrey Avtomonov
085f68beec docs: refresh KTX demo readiness guidance 2026-05-12 12:26:19 +02:00
Andrey Avtomonov
d830e8c46e docs: standardize env variable examples 2026-05-12 12:24:25 +02:00
Andrey Avtomonov
4c93a6e983
fix(ci): update stale KTX test expectations (#32)
Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 12:02:26 +02:00
Andrey Avtomonov
c35297b80a test(cli): cover output channel invariants 2026-05-12 11:36:15 +02:00
Andrey Avtomonov
b95cb9b334 feat(cli): formalize dev-friendly result output 2026-05-12 11:32:49 +02:00
Andrey Avtomonov
42365481ac refactor(cli): centralize Clack prompt handling 2026-05-12 11:31:43 +02:00
Andrey Avtomonov
9409d50d1d fix(cli): keep ingest progress off stdout 2026-05-12 11:29:34 +02:00
Andrey Avtomonov
d7fb092cb0 feat(cli): route ingest adapter logs through operational logger 2026-05-12 11:26:34 +02:00
Andrey Avtomonov
60b29bb1e6 Merge origin/main into fix-metabase-readiness 2026-05-12 10:28:35 +02:00
Andrey Avtomonov
a2dcd4eb08
fix: guide dev ingest llm setup (#15)
Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 10:26:07 +02:00
Andrey Avtomonov
ff3e0edce3
fix(cli): harden managed runtime install (#16)
Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 10:26:05 +02:00
Andrey Avtomonov
f013e0071a
fix(cli): retry daemon health before startup failure (#17)
Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 10:26:01 +02:00
Andrey Avtomonov
df2eeaa96c
fix(cli): surface historic sql ingest progress (#18)
Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 10:25:58 +02:00
Andrey Avtomonov
106ce161ee
fix(cli): support Metabase connection tests (#21)
Co-authored-by: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com>
2026-05-12 10:25:54 +02:00
Andrey Avtomonov
bb8868f238
Merge pull request #19 from Kaelio/andreybavt/dbt-vertex-no-anthropic
fix(cli): honor configured LLM backends in setup
2026-05-12 10:25:24 +02:00
Luca Martial
950fa151ce
Merge pull request #26 from Kaelio/luca-martial/demo-data-wizard-ux
feat(cli): add demo guided tour with real Orbit project data
2026-05-12 01:06:45 -04:00
Luca Martial
6943f1708d refactor(cli): remove dead demo dep from KtxSetupDeps
The demo entry menu now calls runDemoTour directly, so the injectable
demo property and KtxDemoArgs import are unused. Update test to mock the
new module import.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-11 22:03:20 -07:00