TUI: add a passthrough target to a Box egress gateway

Aberta
#2,833 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
339
Forks
129
Merge médio
19h 21min
PRs com merge (30d)
125

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de aws/agentcore-cli

Todas as issues de aws/agentcore-cli

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.