Skip to content

feat(connector): default proxy --method to GET - #360

Merged
BlackHole1 merged 1 commit into
mainfrom
feat/connector-proxy-default-get
Sep 1, 2026
Merged

feat(connector): default proxy --method to GET#360
BlackHole1 merged 1 commit into
mainfrom
feat/connector-proxy-default-get

Conversation

@BlackHole1

Copy link
Copy Markdown
Member

oo connector proxy required --method on every call, including the plain lookups that make up most proxy requests, which is friction curl users do not expect. The request schema now defaults method to GET, so both the split flags and the --data object can omit it, and the "--method is required" error is gone. Non-GET requests still need an explicit method, and the new CLI tests cover both input forms plus the telemetry method property.

The bundled skill reference deliberately keeps --method GET in its canonical forms so agents always pass the method explicitly rather than relying on the default. Only docs/commands.md and docs/commands.zh-CN.md document the new default.

`oo connector proxy` required `--method` even for the plain lookups that make up most proxy calls, which is friction curl users do not expect. The request schema now defaults `method` to `GET`, so both the split flags and the `--data` object can omit it, and the `--method` required error is gone. Any non-GET request still needs an explicit method.

The bundled skill reference keeps `--method GET` in its canonical forms on purpose, so agents always pass the method explicitly and do not depend on the default.

Signed-off-by: Kevin Cui <bh@bugs.cc>
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

On-demand reviews are free for the next 20 days. After that, they cost $0.25 per reviewed file.

Or wait 37 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 53 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: 028a51d6-97a1-4134-8c8f-4b3e510de944

📥 Commits

Reviewing files that changed from the base of the PR and between 65acb48 and e45b632.

📒 Files selected for processing (5)
  • docs/commands.md
  • docs/commands.zh-CN.md
  • src/application/commands/connector/index.cli.test.ts
  • src/application/commands/connector/proxy.ts
  • src/i18n/catalog.ts

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

@BlackHole1
BlackHole1 merged commit 830030e into main Sep 1, 2026
7 checks passed
@BlackHole1
BlackHole1 deleted the feat/connector-proxy-default-get branch September 1, 2026 03:03
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