docs: add JSDoc documentation for ClineAsk and ClineSay types #4427
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.
Related GitHub Issue
Closes: #1848
Description
This PR adds comprehensive JSDoc documentation to the
clineAsksandclineSaystype arrays inpackages/types/src/message.ts. The documentation provides clear descriptions for each message type variant, helping developers understand:Key implementation details:
Test Procedure
Automated Testing:
pnpm testin the types package workspace - all tests passManual Verification:
Documentation Accuracy:
Type of Change
srcor test files.Pre-Submission Checklist
npm run lint).console.log) has been removed.npm test).mainbranch.npm run changesetif this PR includes user-facing changes or dependency updates.Screenshots / Videos
N/A - This is a documentation-only change with no UI impact.
Documentation Updates
This PR itself IS the documentation update. The JSDoc comments added will be automatically picked up by IDEs and documentation generators.
Additional Notes
The descriptions were verified against actual usage throughout the codebase to ensure accuracy. All message types are now properly documented, which will significantly improve the developer experience when working with these critical types.
Important
Add JSDoc documentation for
clineAsksandclineSaysinmessage.ts, detailing 36 type variants.clineAsksandclineSaysinmessage.ts.ClineAskvariants and 24ClineSayvariants with descriptions and use cases.This description was created by
for ebde26a. You can customize this summary. It will automatically update as commits are pushed.