feat(ai-sdk)!: remove relocated Rudder bindings (/server, make:agent, ai:eval) + drop @rudderjs/* peers#49
Merged
Conversation
… CLI and drop @rudderjs/* peers The /server provider, make:agent scaffolder, and ai:eval CLI command were relocated to the Rudder side and now ship in @rudderjs/ai@1.18.4. Delete them from the engine along with the @rudderjs/core and @rudderjs/console optional peers (and dev deps). The framework-agnostic engine no longer carries any @rudderjs/* peer dependency for these paths. Illustrative @rudderjs/* names in source doc-comments were rephrased to neutral wording. src/queue-job.ts still dynamically imports @rudderjs/queue / @rudderjs/broadcast; that is a separate BYO seam handled by a follow-up issue and is left untouched.
This was referenced Jun 27, 2026
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.
Final step of epic #35 (decouple @gemstack/ai-sdk from @rudderjs/*).
The
/serverprovider,make:agentscaffolder, andai:evalCLI command were already relocated to the Rudder side and now ship in published@rudderjs/ai@1.18.4. This PR deletes them from the engine and drops the associated optional peers, so the framework-agnostic engine no longer carries any@rudderjs/*peer dependency for these paths.Removed
src/server/(the/serverprovider) and the./serverexportsrc/commands/(make-agent,ai-eval) and the./commands/make-agent+./commands/ai-evalexportssrc/eval-cli.test.tsandsrc/eval-html.test.ts(imported the removedai-evalCLI)@rudderjs/coreand@rudderjs/consolefrompeerDependencies,peerDependenciesMeta, anddevDependenciesAiProvidertest region insrc/index.test.tsAlso
src/isomorphic-check.test.ts(no more/serverexemption / existence assertion)@rudderjs/*references in non-test source doc-comments to framework-neutral wording (ai-sdk decouple: cleanup doc-comment refs + drop @rudderjs/* peers from package.json #41)0.x)Verification
pnpm --filter @gemstack/ai-sdk buildpasses (no type errors)grep -rn '@rudderjs' packages/ai-sdk/src(excludingqueue-job.tsand*.test.ts) returns nothingBreaking change
The
./server,./commands/make-agent, and./commands/ai-evalsubpaths and the@rudderjs/core/@rudderjs/consolepeers are removed. Rudder users pick them up unchanged from@rudderjs/ai. Versioned as a minor bump while the package is on0.x.Note
src/queue-job.tsstill dynamically imports@rudderjs/queue/@rudderjs/broadcast(a separate BYO feature seam) and is intentionally left untouched here; it will be handled by a follow-up issue. So the epic's literalgrep -rn @rudderjs srcis not fully empty yet.Closes #39
Closes #40
Closes #41