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 摘要。