chore(release): version packages#14
Merged
bahadirarda merged 1 commit intomainfrom Apr 22, 2026
Merged
Conversation
648aa80 to
097fde1
Compare
bahadirarda
added a commit
that referenced
this pull request
Apr 22, 2026
…tch (0.4.5 cadence) Per user direction "0.4.4'ten 0.4.5'e geçeceğiz." Pre-1.0 0.4.x cadence ships frequent patches even for breaking changes — established precedent (11dec5d "downgrade queued bumps minor → patch (0.4.2 cadence)"). Aggregate effect on release PR #14: - @namzu/sdk 0.4.4 → 0.4.5 (was 0.5.0) - @namzu/cli 0.0.0 → 0.0.1 (was 0.1.0) Doctor SDK→CLI migration + Phase 0 registry hygiene fix all bundled into the 0.4.5/0.0.1 patch.
097fde1 to
450938e
Compare
450938e to
4d3a2ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@namzu/cli@0.0.1
Patch Changes
8f076e5: ses_007 Phase 5 — doctor runtime moved from
@namzu/sdkto@namzu/cli. Architectural pivot: kernel = SDK (pure runtime primitives), operator surface = CLI (presentation + tooling).Breaking changes —
@namzu/sdkThe following 12 runtime exports have been removed from
@namzu/sdk. They now live in@namzu/cli:doctor(singleton),DoctorRegistry,createDoctorRegistryregisterDoctorCheck,runDoctorbuiltInDoctorCheckssandboxPlatformCheck,cwdWritableCheck,tmpdirWritableCheckvaultRegisteredCheck,providersRegisteredCheck,telemetryInstalledCheckThe
RunDoctorOptionstype has also been removed from@namzu/sdkexports.What stays in
@namzu/sdk:DoctorCheck,DoctorCheckResult,DoctorCheckContext,DoctorCheckRecord,DoctorReport,DoctorStatus,DoctorCategory— remain intypes/doctor/so kernel components can implement custom checks against them.LLMProvider.doctorCheck?(): Promise<DoctorCheckResult>— the kernel hook that lets a provider expose its own healthcheck stays on the interface.Migration
If you were calling the doctor in your own process:
If you were running it from the command line:
Custom check authors continue to import the protocol types from
@namzu/sdk:New —
@namzu/cli(initial public release)@namzu/cliv0.1.0 ships as a public package for the first time. Dual-purpose:npx @namzu/cli doctor, or after install:namzu doctor. Supports--json,--verbose,--category <a,b,c>,--per-check-timeout <ms>,--wall-clock-timeout <ms>. Sysexits-aligned exit codes (0ok,1fail,2no config,70internal error).import { runDoctor, registerDoctorCheck, builtInDoctorChecks } from '@namzu/cli'for embedded usage where consumer code wants to invoke the doctor in its own process so app-registered checks are visible.What ships built-in:
sandbox.platform(darwin sandbox-exec presence + win32 warn + linux/other inconclusive)runtime.cwd-writable+runtime.tmpdir-writable(realfs.access(W_OK)probes)telemetry.installed(dynamic-import probe for@namzu/telemetry)vault.registered+providers.registered(intentionally inconclusive — consumers register their own walking their setup)Why patch-bump-equivalent:
@namzu/sdk: minorcarries the breaking removal (pre-1.0 cadence);@namzu/cli: minorcarries the new package's first feature release. Together they make the next release a coordinated cut.82220e3: Doctor —
runDoctor()accepts streaming callbacks + cooperative cancellation (ses_013 Phase 1).Three new optional fields on
RunDoctorOptions:onCheckStart(check)— fires immediately before each check'srun()is invoked.onCheckComplete(record)— fires exactly once per check after its record is built (whetherpass,fail,inconclusive, orwarn). Defended against double-fire by the samecompletedmap that pins the record.signal?: AbortSignal— cooperative cancellation. When the signal aborts, in-flight checks stop being awaited; their records becomeinconclusivewith an "aborted by signal" message. Completed records are preserved verbatim.Throwing callbacks are caught + logged + never affect the doctor run or the final
DoctorReport.Substrate for the upcoming TUI mode (later patch in this same series), useful standalone for analytics or custom progress UIs.
Internal:
packages/cli/tsconfig.jsonadds"jsx": "react-jsx"+"jsxImportSource": "react"in preparation for the TUI's.tsxfiles. No.tsxfiles yet; typecheck still passes. Purely additive — no consumer behavior change.0ba357d: Doctor registry — preserve completed records on wall-timeout + double-fire defense (ses_013 Phase 0).
Two pre-existing bugs in
DoctorRegistry.run()surfaced by the ses_013 codex adversarial review:inconclusive, even ones that already finished. Fast pass + slow timeout produced 0 pass + N inconclusive. After: only checks that haven't finished by the wall-clock deadline are markedinconclusive; completed records are preserved verbatim. Fast pass + slow timeout now correctly produces 1 pass + (N-1) inconclusive.if (completed.has(check.id)) returnguard inside the per-check callback. First record wins.No public API change — bug fix only. 4 new tests pin the corrected contract; suite total 22 → 26.
Updated dependencies [aead3a8]
Updated dependencies [8f076e5]
@namzu/sdk@0.4.5
Patch Changes
aead3a8: Doctor registry runtime + 5 built-in checks — ses_007 Phase 4.
runDoctor(opts?)aggregates registered checks into aDoctorReportwith per-check status + summary + sysexits exit code.registerDoctorCheck(check)is the programmatic registration entry point.New runtime exports (12 names):
doctor(singletonDoctorRegistry),DoctorRegistry,createDoctorRegistryregisterDoctorCheck(check)— programmatic registrationrunDoctor(opts?)→Promise<DoctorReport>builtInDoctorChecks— readonly list of the six shipped checkssandboxPlatformCheck,cwdWritableCheck,tmpdirWritableCheck,vaultRegisteredCheck,providersRegisteredCheck,telemetryInstalledCheckLLMProvider interface gains optional
doctorCheck?(): Promise<DoctorCheckResult>. Non-breaking — existing providers don't need to implement it. Consumers wanting provider health probes register a custom check that walksProviderRegistry.getAll()and callsprovider.doctorCheck?.()per provider.Built-in checks ship intentionally conservative for v1.
sandbox.platformpasses on darwin if/usr/bin/sandbox-execis executable; inconclusive on linux (proc namespace probe deferred); warn on win32; inconclusive elsewhere.runtime.cwd-writable+runtime.tmpdir-writableare realfs.access(W_OK)probes.telemetry.installeddynamic-imports@namzu/telemetry(specifier-variable to evade TS resolution since SDK doesn't depend on telemetry); pass if installed, inconclusive if not.vault.registered+providers.registeredare intentionally inconclusive with explicit "register your own check" guidance — vault and provider registries are module-private and aren't auto-discoverable from a standalone process.Failure isolation: a thrown check is recorded as
failwith the throw message; other checks still run. A check exceedingperCheckTimeoutMs(default 5000ms) becomesinconclusive. Wall-clock timeout (default 10000ms) marks not-yet-completed checks asinconclusive. Status set:pass | fail | inconclusive | warn. Onlyfailaffects the exit code (1);inconclusiveandwarnare informational. Empty registry → exit 2 (no config).Embedded usage today, CLI command in the next patch. Consumers can
import { runDoctor, registerDoctorCheck } from '@namzu/sdk'and integrate the doctor in their own process where their checks have already executed. The standalonenamzu doctorCLI command lands in the next patch (Phase 5).8f076e5: ses_007 Phase 5 — doctor runtime moved from
@namzu/sdkto@namzu/cli. Architectural pivot: kernel = SDK (pure runtime primitives), operator surface = CLI (presentation + tooling).Breaking changes —
@namzu/sdkThe following 12 runtime exports have been removed from
@namzu/sdk. They now live in@namzu/cli:doctor(singleton),DoctorRegistry,createDoctorRegistryregisterDoctorCheck,runDoctorbuiltInDoctorCheckssandboxPlatformCheck,cwdWritableCheck,tmpdirWritableCheckvaultRegisteredCheck,providersRegisteredCheck,telemetryInstalledCheckThe
RunDoctorOptionstype has also been removed from@namzu/sdkexports.What stays in
@namzu/sdk:DoctorCheck,DoctorCheckResult,DoctorCheckContext,DoctorCheckRecord,DoctorReport,DoctorStatus,DoctorCategory— remain intypes/doctor/so kernel components can implement custom checks against them.LLMProvider.doctorCheck?(): Promise<DoctorCheckResult>— the kernel hook that lets a provider expose its own healthcheck stays on the interface.Migration
If you were calling the doctor in your own process:
If you were running it from the command line:
Custom check authors continue to import the protocol types from
@namzu/sdk:New —
@namzu/cli(initial public release)@namzu/cliv0.1.0 ships as a public package for the first time. Dual-purpose:npx @namzu/cli doctor, or after install:namzu doctor. Supports--json,--verbose,--category <a,b,c>,--per-check-timeout <ms>,--wall-clock-timeout <ms>. Sysexits-aligned exit codes (0ok,1fail,2no config,70internal error).import { runDoctor, registerDoctorCheck, builtInDoctorChecks } from '@namzu/cli'for embedded usage where consumer code wants to invoke the doctor in its own process so app-registered checks are visible.What ships built-in:
sandbox.platform(darwin sandbox-exec presence + win32 warn + linux/other inconclusive)runtime.cwd-writable+runtime.tmpdir-writable(realfs.access(W_OK)probes)telemetry.installed(dynamic-import probe for@namzu/telemetry)vault.registered+providers.registered(intentionally inconclusive — consumers register their own walking their setup)Why patch-bump-equivalent:
@namzu/sdk: minorcarries the breaking removal (pre-1.0 cadence);@namzu/cli: minorcarries the new package's first feature release. Together they make the next release a coordinated cut.