feat(gateway): add headless invoke command - #1967
Merged
Merged
Conversation
aidandaly24
force-pushed
the
feat/gateway-invoke
branch
from
August 10, 2026 21:53
70955f5 to
be653e2
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## refactor #1967 +/- ##
============================================
+ Coverage 96.91% 96.94% +0.02%
============================================
Files 356 360 +4
Lines 20136 20596 +460
============================================
+ Hits 19515 19966 +451
- Misses 621 630 +9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aidandaly24
marked this pull request as ready for review
August 11, 2026 14:27
aidandaly24
force-pushed
the
feat/gateway-invoke
branch
from
August 11, 2026 23:15
884a63b to
9b136d4
Compare
tejaskash
previously approved these changes
Aug 12, 2026
nborges-aws
reviewed
Aug 13, 2026
aidandaly24
force-pushed
the
feat/gateway-invoke
branch
from
August 13, 2026 16:33
9b136d4 to
30eeb82
Compare
tejaskash
previously approved these changes
Aug 13, 2026
nborges-aws
previously approved these changes
Aug 13, 2026
nborges-aws
left a comment
Contributor
There was a problem hiding this comment.
LGTM thanks for fixes!
aidandaly24
dismissed stale reviews from nborges-aws and tejaskash
via
August 13, 2026 19:41
d40be7e
aidandaly24
force-pushed
the
feat/gateway-invoke
branch
from
August 13, 2026 19:41
30eeb82 to
d40be7e
Compare
nborges-aws
approved these changes
Aug 13, 2026
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.
Summary
agentcore gateway invokeas a headless, project-independent command withGET,POST, andDELETEsupportGetGateway, including SigV4, bearer-token, and unsigned requestsAUTHENTICATE_ONLYrequests with SigV4, matching live service behavior--request-type, structured--query, or discovery commandsValidation
bun test: 1,087 passed, 0 failed on currentrefactorbun run typecheckbun run lint:checkbun run format:checkbun run buildLive Gateway validation
Using
AWS_PROFILE=deployin account603141041947:NONE: HTTP 200 with file/stdin payloads and raw/JSON/file outputAWS_IAM: HTTP 200 with SigV4 and repeated query keysCUSTOM_JWT: HTTP 200 with inline/file/stdin bearer-token sourcesAUTHENTICATE_ONLY: HTTP 200 with SigV4 through the CLI;--bearer-tokenis rejected locallyCLIENT_CREDENTIALSMCP target invocationCompleteResourceTokenAuthsession binding, and successful per-user tool call with downstream user-token evidenceobo.*downstream tokenv1/models; OpenAI-compatible chat completion returnedinference gateway readyMethod Not Allowedin raw and JSON output, then exited 1 without duplicate stderrpath: [REDACTED]The reusable matrix and retry commands are documented at
gateway-invoke/auth-matrix/README.mdin the task workspace.