Repository navigation
GH#2407: Open navigate targets in the browser - #2408
superdav42 wants to merge 5 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughChangesBrowser navigation flow
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant AgentLoop
participant ClientAbilityRouter
participant ToolCapabilities
participant ClientAbilityRegistry
participant Browser
AgentLoop->>ClientAbilityRouter: submit nested sd-ai-agent/navigate call
ClientAbilityRouter->>ToolCapabilities: check navigation capability
ClientAbilityRouter->>ClientAbilityRegistry: route to sd-ai-agent-js/navigate-to
ClientAbilityRegistry->>Browser: execute validated same-origin target
Browser-->>AgentLoop: return navigation result
Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
Missing issue link. This PR references issue #2407, but the PR body doesn't contain a closing keyword. Add |
Merge summary
aidevops.sh v3.32.209 plugin for OpenCode v1.18.9 with gpt-5.6-terra spent 39m and 490,581 tokens on this as a headless worker. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/abilities/navigation.js`:
- Around line 22-33: The inputSchema in registerNavigationAbility must reflect
executeNavigateTo’s support for url-only navigation. Add url to the declared
properties and change the required configuration so callers must provide path or
url, not always path, while preserving the existing schema behavior for valid
inputs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 16f5662b-ba7a-4816-a846-0f1037939c8d
📒 Files selected for processing (7)
includes/Core/ClientAbilityRouter.phpincludes/Tools/ToolDiscovery.phpsrc/abilities/__tests__/navigation.test.jssrc/abilities/navigation.jssrc/components/chat-redesign/ToolCard.jssrc/store/slices/jobSlice.jstests/SdAiAgent/Core/AgentLoopClientToolsTest.php
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/abilities/__tests__/navigation.test.js`:
- Around line 41-44: Update the navigation schema assertion in the navigation
ability tests to use oneOf instead of anyOf, enforcing exactly one of path or
url. Add coverage in the relevant executeNavigateTo/schema validation tests for
an input containing both path and url, and assert that the ambiguous input is
rejected.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: ca77e731-b869-46d0-873e-3385f946cddc
📒 Files selected for processing (2)
src/abilities/__tests__/navigation.test.jssrc/abilities/navigation.js
🚧 Files skipped from review as they are similar to previous changes (1)
- src/abilities/navigation.js
CI repair feedback routed to issue #2407This worker PR had terminal failed CI checks. The check details have been appended Terminal failed checks:
Closed by deterministic merge pass (pulse-merge.sh). |
Summary
sd-ai-agent/navigaterequests through the existing browsersd-ai-agent-js/navigate-tocallback.sd-ai-agent/ability-callidentity so paused-job result validation and resume behavior remain intact.Resolves #2407
Worker self-verification
aidevops.sh v3.32.209 plugin for OpenCode v1.18.9 with gpt-5.6-terra spent 38m and 485,892 tokens on this as a headless worker.
Summary by CodeRabbit
New Features
Bug Fixes