Skip to content

feat(ai-sdk)!: drop the /doctor subpath, decouple from @rudderjs/console (#40)#45

Merged
suleimansh merged 1 commit into
mainfrom
decouple/drop-ai-doctor
Jun 26, 2026
Merged

feat(ai-sdk)!: drop the /doctor subpath, decouple from @rudderjs/console (#40)#45
suleimansh merged 1 commit into
mainfrom
decouple/drop-ai-doctor

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Part of the @rudderjs decoupling epic #35 (the clean part of #40). Gemstack side of a coordinated pair.

Merge order: rudder rudderjs/rudder#1454 (which inlines the doctor check into @rudderjs/ai) must merge and publish first, so @rudderjs/ai/doctor is self-contained before this removes the upstream subpath.

What

The /doctor module registered an AI doctor check into @rudderjs/console's registry - coupling the agnostic engine to the Rudder CLI. It moved to @rudderjs/ai/doctor (same import path there).

  • Deleted src/doctor.ts + src/doctor.test.ts.
  • Removed the ./doctor entry from package.json exports.
  • @rudderjs/console peer stays for now: make:agent and the /server provider still use it. They (and the /server + ai-eval couplings to @rudderjs/core) are deferred - they need new gemstack public exports first, per our scoping.

Breaking (0.x -> minor)

Import @rudderjs/ai/doctor instead of @gemstack/ai-sdk/doctor.

Verification

Typecheck + build green; 976 tests pass. Minor changeset included.

(Independent of the still-open ORM-removal PR #44 - disjoint files.)

…onsole (#40)

Part of the @rudderjs decoupling epic (#35), gemstack side of a
coordinated pair (rudder side: rudderjs/rudder#1454).

The /doctor module registered an AI doctor check into @rudderjs/console's
registry, coupling the agnostic engine to the Rudder CLI. It has moved to
@rudderjs/ai/doctor (same import path there).

- Deleted src/doctor.ts + src/doctor.test.ts.
- Removed the ./doctor entry from package.json exports.
- @rudderjs/console peer stays for now (make:agent + /server provider
  still use it until they relocate; those are deferred in #35).

Breaking (0.x minor): import @rudderjs/ai/doctor instead of
@gemstack/ai-sdk/doctor.

Typecheck + build green; 976 tests pass.
@suleimansh suleimansh added the enhancement New feature or request label Jun 26, 2026
@suleimansh suleimansh self-assigned this Jun 26, 2026
@suleimansh suleimansh merged commit 97ed299 into main Jun 26, 2026
1 check passed
@suleimansh suleimansh deleted the decouple/drop-ai-doctor branch June 26, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant