Skip to content

feat(sdk-ts): expose debug logger option#208

Merged
lan17 merged 1 commit intomainfrom
feature/typescript-debug-logger-option
May 2, 2026
Merged

feat(sdk-ts): expose debug logger option#208
lan17 merged 1 commit intomainfrom
feature/typescript-debug-logger-option

Conversation

@lan17
Copy link
Copy Markdown
Contributor

@lan17 lan17 commented May 2, 2026

Summary

  • add debugLogger to AgentControlClient init options
  • pass debugLogger through to the generated Speakeasy AgentControlSDK
  • cover the public wrapper path with a Vitest assertion that request/response logging is invoked

Validation

  • make sdk-ts-test
  • make sdk-ts-typecheck
  • make sdk-ts-lint
  • make sdk-ts-build

Notes

  • debugLogger can log request/response headers and bodies, so callers should use a redacting logger when sensitive headers or payloads may be present.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lan17 lan17 force-pushed the feature/typescript-debug-logger-option branch from 50bb778 to 495b0dd Compare May 2, 2026 03:19
@lan17 lan17 merged commit 66aba97 into main May 2, 2026
7 checks passed
@lan17 lan17 deleted the feature/typescript-debug-logger-option branch May 2, 2026 03:35
@galileo-automation
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants