TUI: add a passthrough target to a Box egress gateway

未關閉
#2,833 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
55/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
typescript
領域
cli

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
339
分支
129
平均合併
19 小時 21 分鐘
30 天內合併 PR
125

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aws/agentcore-cli 的其他 Issue

查看 aws/agentcore-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。