Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 22 minutes. View limit details
No actionable comments were generated in the recent review. WalkthroughThe Claude Agent SDK adds a public ChangesClaude Agent SDK additional directories
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Possibly related PRs
Merge Risk:
|
e237de1 to
7e0f13c
Compare
Code Coverage SummaryDetailsDiff against mainResults for commit: 8124a97 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
f147cc9 to
c4a5a9e
Compare
62cf58e to
65cabc7
Compare
65cabc7 to
8256cb1
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8256cb1. Configure here.
8256cb1 to
117b155
Compare
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Bazel only creates test targets for files listed in integration_tests, so unlisted tests never run in the Bazel CI job. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
117b155 to
dd201b9
Compare
Additional directories are plain paths like the working directory, so leaving them out of debug output hid configuration that diagnostics need and only environment entries and model strings should stay hidden. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
A hand-written debug list silently drops every field added later. Letting the environment and model types hide their own contents keeps options debug output derived, so new settings appear without editing a list and secrets stay hidden wherever those values are printed. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Debug output now names every environment variable, which is what callers need when diagnosing a run, while values stay redacted unless the caller marks them plain. Making sensitive the default keeps a forgotten marker from leaking a credential into logs. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>

Note
Medium Risk
Public option types change (
model,env) and new env values default to sensitive, so callers may need updates even though this remains an API draft without runtime wiring.Overview
Extends
ClaudeAgentOptionswithadditional_directories(orderedVec<PathBuf>, no canonicalization) to align with Pythonadd_dirs/ TypeScriptadditionalDirectories, with integration tests and Bazel coverage.Refactors configuration types for safer
Debugoutput:modelbecomesOption<ModelName>(model string hidden),envbecomes anEnvironmentmap ofConfigValueentries that default to sensitive unless markedPlain(names visible, secrets as<redacted>). AddsSensitiveString,ConfigValue,Environment, andModelName, exports them from the crate, and updates README and tests accordingly.Reviewed by Cursor Bugbot for commit 785bda0. Bugbot is set up for automated code reviews on this repo. Configure here.