TUI: add a passthrough target to a Box egress gateway

Open
#2,833 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
cli

Research direction

Start with src/handlers/project/add/gateway-target/screen.tsx, named in the follow-up context, and trace how the wizard lists gateways and target types. Compare its target configuration flow with the CLI command shown in the issue, then find the relevant wizard tests and run them. Done means Box gateways offer only passthrough, collect the endpoint and outbound auth, produce the equivalent configuration, and have test coverage.

Written by the indexing model from the issue text.

Description

enhancement
Description

In a Box project, each runtime has a Box egress gateway, <runtime>-box-egress. This gateway takes only passthrough targets. The CLI can add one:

agentcore add gateway-target --gateway <runtime>-box-egress --target-configuration '{"name": "...", "targetType": "passthrough", ...}'

The TUI cannot. The add gateway-target wizard lists the Box gateways (they are always in agentcore.json), but it has no passthrough target type. So a TUI user cannot add a target to a Box gateway.

This came up in the review of aws/agentcore-cli#2787.

Acceptance Criteria
  • The TUI add gateway-target wizard offers a passthrough target type.
  • When the selected gateway is a Box gateway, the wizard offers only passthrough.
  • The wizard collects the passthrough endpoint and the outbound auth (for example GATEWAY_IAM_ROLE with a service name).
  • The result is the same as agentcore add gateway-target --target-configuration with the same values.
  • Tests cover the wizard path for a Box gateway.
Additional Context

Follow-up from aws/agentcore-cli#2787 (review comment by @tejaskash on src/handlers/project/add/gateway-target/screen.tsx).

Drafted with Claude Code.

Dominant language
TypeScript
Stars
339
Forks
129
Avg merge
19h 21m
Merged PRs (30d)
125

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/agentcore-cli

All issues in aws/agentcore-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.