Skip to content

feat: add Game View size tool#1832

Merged
hatayama merged 2 commits into
fix/macos-e2e-integrationfrom
fix/set-game-view-size
Jul 18, 2026
Merged

feat: add Game View size tool#1832
hatayama merged 2 commits into
fix/macos-e2e-integrationfrom
fix/set-game-view-size

Conversation

@hatayama

@hatayama hatayama commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the first-party set-game-view-size tool using the public UnityEditor.PlayModeWindow API
  • support reading the current resolution or setting a paired width and height
  • include previous/current dimensions and Changed in every response
  • add the embedded CLI catalog entry and generate the Claude/Agents skill copies through the normal installer

Verification

  • dist/darwin-arm64/uloop compile --project-path "$(git rev-parse --show-toplevel)" -> Success=true, ErrorCount=0, WarningCount=0
  • live CLI read returned Success=true for the current resolution
  • live CLI changed 1280x720 to 1920x1080, returning Success=true and Changed=true with matching previous/current values
  • DefaultToolsCatalogDriftTests -> 1 passed, 0 failed, 0 skipped
  • go test ./tools from cli/common -> pass
  • jq empty cli/common/tools/default-tools.json -> pass
  • no protocol version changes

Review in cubic

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@hatayama, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 7 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2f907bcd-ba2e-47a7-ae24-ceb49307c0d9

📥 Commits

Reviewing files that changed from the base of the PR and between 9ad54aa and 5011a88.

⛔ Files ignored due to path filters (9)
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeResponse.cs.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeSchema.cs.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeTool.cs.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeUseCase.cs.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/Skill.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/Skill/SKILL.md.meta is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/UnityCLILoop.FirstPartyTools.SetGameViewSize.Editor.asmdef is excluded by none and included by none
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/UnityCLILoop.FirstPartyTools.SetGameViewSize.Editor.asmdef.meta is excluded by none and included by none
📒 Files selected for processing (8)
  • .agents/skills/uloop-set-game-view-size/SKILL.md
  • .claude/skills/uloop-set-game-view-size/SKILL.md
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeResponse.cs
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeSchema.cs
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeTool.cs
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/SetGameViewSizeUseCase.cs
  • Packages/src/Editor/FirstPartyTools/SetGameViewSize/Skill/SKILL.md
  • cli/common/tools/default-tools.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/set-game-view-size

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hatayama
hatayama merged commit 6cc54a0 into fix/macos-e2e-integration Jul 18, 2026
2 checks passed
@hatayama
hatayama deleted the fix/set-game-view-size branch July 18, 2026 06:44
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