Skip to content

fix: agent_sdk.zig — deduplicate doc comments and remove unused import (#427)#432

Open
yxlyx wants to merge 1 commit intomainfrom
fix/427-agent-sdk-docs
Open

fix: agent_sdk.zig — deduplicate doc comments and remove unused import (#427)#432
yxlyx wants to merge 1 commit intomainfrom
fix/427-agent-sdk-docs

Conversation

@yxlyx
Copy link
Copy Markdown
Collaborator

@yxlyx yxlyx commented Apr 10, 2026

Summary

  • Removed 3x duplicated doc comments on AgentOptions, tryClaudeAgent, and streamClaudeOutput
  • Removed unused const mj = @import("mcp").json import (line 16)
  • Net: 12 lines deleted, zero behavior change

Test plan

  • zig ast-check src/agent_sdk.zig passes
  • grep confirms no mj. usage in the file
  • Each public item now has exactly one doc comment block

Fixes #427

Made with Cursor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: agent_sdk.zig — duplicated doc comments and unused mj import

1 participant