Repository navigation
Conversation
… from #135 #135 added the optional `cwd` and `settingSources` host options to `claudeAgents`, `claudeGraph`, `createClaudeAgentsHandler` and `toClaudeAgents` without regenerating `etc/ai-claude-agents.api.md`, so `yarn api:check` has failed on main since. This is the output of `yarn --cwd packages/claude-agents api:update`, nothing else. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
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.
yarn api:checkhas failed onmainsince #135 ("Check API reports":packages/claude-agents/: an API report is out of date), and every PR based onmaininherits that failure. #135 added the optionalcwdandsettingSourceshost options to the public@launchdarkly/ai-claude-agentsfunctions, but nobody regeneratedetc/ai-claude-agents.api.mdafter #153 committed it.This PR only commits the output of
yarn --cwd packages/claude-agents api:update. No source changes. The report now shows:import { SettingSource } from '@anthropic-ai/claude-agent-sdk'ae-forgotten-exportwarning forClaudeAgentsHostOptions& ClaudeAgentsHostOptionsonclaudeAgents,claudeGraph,createClaudeAgentsHandlerandtoClaudeAgentsclaudeGraph(key, options)→claudeGraph(key, input), because feat(claude-agents)!: accept trusted cwd and settingSources options, and load no host settings by default #135 made it destructure the argument, andcreateClaudeAgentsHandler(input?)→createClaudeAgentsHandler(options?), because feat(claude-agents)!: accept trusted cwd and settingSources options, and load no host settings by default #135 gave it a named parameter instead of a destructured oneWhy the
!: the API compatibility check counts every changed declaration as breaking. The breaking change already shipped in #135, and that PR declared it (feat(claude-agents)!:). This PR changes no behaviour; the!only satisfies the check for the report diff. A reviewer could applyapi-compatibleinstead and drop the!.Testing (locally, after
yarn install && yarn build):yarn api:checkexits 0yarn api:surfaceexits 0🤖 Generated with Claude Code
Note
Overview
Regenerates
@launchdarkly/ai-claude-agentsAPI Extractor report (etc/ai-claude-agents.api.md) soyarn api:checkpasses after #135 landed host options in source without updating the report. No runtime or source changes—only the committedapi:updateoutput.The refreshed report documents
ClaudeAgentsHostOptionsonclaudeAgents,claudeGraph,createClaudeAgentsHandler, andtoClaudeAgents, adds theSettingSourceimport, and reflects signature renames (claudeGraph’s second argoptions→input,createClaudeAgentsHandler’s paraminput→options). API Extractor also emits anae-forgotten-exportwarning becauseClaudeAgentsHostOptionsis not exported from the package entry point.Reviewed by Cursor Bugbot for commit de6a7ec. Bugbot is set up for automated code reviews on this repo. Configure here.