feat(gateway): add headless invoke command - #1967
Open
aidandaly24 wants to merge 4 commits into
Open
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.78% 96.81% +0.02%
============================================
Files 326 330 +4
Lines 18061 18510 +449
============================================
+ Hits 17480 17920 +440
- Misses 581 590 +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
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.