TUI: add a passthrough target to a Box egress gateway

Aperta
#2,833 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
339
Fork
129
Merge medio
19h 21m
PR unite (30g)
125

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/agentcore-cli

Tutte le issue di aws/agentcore-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.