feat(scout): client wrappers for repos/orgOpenWork/orgMergedPrs (wire 0.3.0) - #31
Merged
Merged
Conversation
… 0.3.0) Bring the in-box scout client up to scout-wire 0.3.0: - fetchRepos / fetchOrgOpenWork / fetchOrgMergedPrs — the org-wide reads (a box can enumerate an org's repos + all open work + merged PRs through the read door, holding no token). Org-wide reads are partial by design: unreadable repos land in `skipped` rather than aborting. - ProjectItem gains the 0.3.0 board-read fields: strict state (OPEN/CLOSED/MERGED), contentId, itemId, createdAt, isPrivate — enough to reconstruct a board item and derive membership. - CLI: repos / org-open-work / org-merged-prs subcommands. - Bump the scout-wire dep 0.2.0 → 0.3.0. wire-conformance stays green: scout.ts now dispatches exactly SCOUT_WIRE's 10 methods. bun test: 6 pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H7i26MiqwkD1gCRAY85gJY
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Brings the in-box scout client up to scout-wire 0.3.0 (now published to JSR), so a box can do the org-wide reads that gh-project-room's
scoutReadsadapter will call.What
fetchRepos/fetchOrgOpenWork/fetchOrgMergedPrs— the three org-wide reads. A box enumerates an org's repos, all open issues/PRs, and merged PRs through the read door, holding no token. Org-wide reads are partial by design: unreadable repos land inskippedrather than aborting the enumeration.ProjectItemgains the 0.3.0 board-read fields — strictstate(OPEN/CLOSED/MERGED),contentId,itemId,createdAt,isPrivate— enough to reconstruct a board item and derive membership.repos/org-open-work/org-merged-prssubcommands.0.2.0→0.3.0.Verification
wire-conformancestays green:lib/scout.tsnow dispatches exactlySCOUT_WIRE's 10 methods.bun install --frozen-lockfile && bun test→ 6 pass.Generated by Claude Code
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.