You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(cli): group inference and onboard support modules (NVIDIA#3195)
## Summary
Groups the remaining inference and onboarding support modules into the
feature folders from the placement map. This retargets the combined
R4/R5 reorg onto `main` now that the lower stack has landed, while
keeping the large legacy `onboard.ts` flow in place.
## Changes
- Move inference config, health, provider model, prompt, NIM, local
inference, web-search, and onboard probe helpers under
`src/lib/inference/**`.
- Move Ollama-specific helpers under `src/lib/inference/ollama/**` and
vLLM helpers under `src/lib/inference/vllm.ts`.
- Move onboard support modules under `src/lib/onboard/**`.
- Move persisted onboard session state under
`src/lib/state/onboard-session.ts`.
- Update imports, tests, bin shims, installer references, E2E path
probes, scripts, and source-shape checks for the new paths.
- Keep `src/lib/onboard.ts` as the legacy flow entrypoint for future
focused splitting.
## Type of Change
- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)
## Verification
- [x] `npx prek run --all-files` passes
- [x] `npm test` passes
- [x] Tests added or updated for new or changed behavior
- [x] No secrets, API keys, or credentials committed
- [ ] Docs updated for user-facing behavior changes
- [ ] `make docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)
---
<!-- DCO sign-off required by CI. Run: git config user.name && git
config user.email -->
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Project modules reorganized into a new internal folder structure;
import wiring updated across the codebase.
* **Install / Onboarding**
* Installer preflight now uses the relocated onboarding preflight
implementation, affecting which host checks run during install.
* **Tests**
* Test suites and fixtures updated to reference the restructured modules
so tests continue to run against the new layout.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments