@theholocron/cli 5.0.0-alpha.340 → 5.0.0-alpha.342

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -754,8 +754,8 @@ export default defineConfig({
754
754
 
755
755
  Each SDK sits behind an interface from `@theholocron/observability` —
756
756
  `ErrorSink` (Sentry) / `AnalyticsSink` (PostHog); the adapters, and the only
757
- `@sentry/node` / `posthog-node` imports, live in that package. `observability/telemetry.ts`
758
- holds the orchestration + the Holocron-specific credential resolution
757
+ `@sentry/node` / `posthog-node` imports, live in that package. the orchestration is `createCliTelemetry` in `@theholocron/kyber/observability`;
758
+ `observability/telemetry.ts` binds it to the Holocron-specific credential resolution
759
759
  (`observability/resolve-telemetry.ts`). See the
760
760
  [telemetry guide](https://docs.theholocron.dev/holocron/telemetry/).
761
761
 
@@ -790,9 +790,10 @@ the local override exists to exempt.
790
790
  providers implement
791
791
  - `src/config.ts` — config schema, `defineConfig`, `resolveConfig`,
792
792
  `CapabilityConfigPackage`
793
- - `src/config/load-config.ts` — `loadConfig` — reads `holocron.config.*`
794
- (file discovery via [`@theholocron/datapad`](../datapad))
795
- - `src/define-config.ts` — `defineConfig` typed pass-through
793
+ - `src/config/config-system.ts` — `defineConfig`, `loadConfig` (reads `holocron.config.*`;
794
+ file discovery via [`@theholocron/datapad`](../datapad)) and `compose`, all built from
795
+ kyber's `createConfigSystem`; Holocron's own rules sit beside it in `config/config`,
796
+ `compose/{merge-*,task-name}` and `load-config/{derive-defaults,read-package-json-name}`
796
797
  - `src/observability/logger.ts` — CLI-side `@theholocron/observability/logger` wiring
797
798
  (`buildCliLogger`, `resolveLogLevel`)
798
799
  - `src/loader.ts` — `PluginLoader` — dynamic-imports plugins, resolves
@@ -814,13 +815,13 @@ the local override exists to exempt.
814
815
  - `src/commands/doctor-checks/` and `src/commands/deep-checks/` — the shared row
815
816
  renderer and `declaredVsActual` helper, and `DEEP_CHECKS`, the registry every
816
817
  `doctor <capability>` is listed in
817
- - `src/interactive-menu/` — the interactive fallback: `command-registry`
818
- (`COMMAND_REGISTRY`, each entry's `positionals`/`options`), `launch-menu`
819
- (Layers 1–2, picks + spawns a fresh `holocron <command>`), `child-argv`
820
- (builds the spawned argv + secret env), `menu-items`, `run-menu-entries`.
821
- The generic prompting pieces it calls — `promptForPositionals`,
822
- `promptForOptions` (Layer 3) — live in `src/ui/`, which has no knowledge
823
- of commands.
818
+ - `src/interactive-menu/` — the interactive fallback's Holocron data: `command-registry`
819
+ (`COMMAND_REGISTRY`, each entry's `positionals`/`options`), `run-menu-entries`
820
+ and `probe-menu-entries` (menu entries built at run time), and `menu.ts`,
821
+ kyber's `createMenu` bound to the `holocron` bin and `HOLOCRON_` env prefix.
822
+ The engine itself (the picker, argv and secret env, the dry-run preview, the spawn)
823
+ and the prompting pieces — `promptForPositionals`, `promptForOptions` — live in
824
+ `@theholocron/kyber` (`/menu`, `/prompts`), which has no knowledge of commands.
824
825
 
825
826
  ## Status
826
827