Skip to content

Comments

Update docs coverage and hooks reference#141

Merged
brunoborges merged 1 commit intomainfrom
docs/update-doc-coverage-and-hooks
Feb 17, 2026
Merged

Update docs coverage and hooks reference#141
brunoborges merged 1 commit intomainfrom
docs/update-doc-coverage-and-hooks

Conversation

@brunoborges
Copy link
Member

Summary

Improve SDK documentation coverage alignment with current implementation and add discoverability links for newly documented sections.

Changes

  • Update event reference docs to include SessionContextChangedEvent (session.context_changed).
  • Fix hook API documentation drift in hooks.md:
    • Correct record accessor names (prompt(), source(), reason()).
    • Correct getToolResult() type to JsonNode.
    • Add startup to session start source values.
  • Add docs for:
    • SessionConfig.clone() behavior and usage example.
    • SessionHooks.hasHooks() usage example.
  • Add navigation links:
    • TOC link for Cloning SessionConfig in documentation.md.
    • Overview link for Checking Whether Hooks Are Registered in hooks.md.
  • Update .gitignore to ignore blog-copilotsdk/.

Testing

  • Validation scope: documentation and .gitignore changes only.
  • Build/test execution: skipped (mvn clean verify) because no Java source/test files changed.
  • Verified by inspection that links and section anchors are present in updated markdown files.

@brunoborges brunoborges merged commit 9d6ef2e into main Feb 17, 2026
5 checks passed
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.

1 participant