Add --kms-key-arn flag to add memory (parity with harness/import)
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 84/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- typescript
- 领域
- cli
调研方向
从 MemoryPrimitive.tsx 开始,将其选项定义与 HarnessPrimitive.tsx 和 import-memory.ts 中现有的 wiring 进行比较。检查 src/schema/schemas/agentcore-project.ts:278 处的 schema 字段,以及 add dataset、evaluator 和 policy-engine 的 flag 命名。完成的标准是 add memory 接受可选的 --kms-key-arn,并在没有默认值的情况下将其映射到 encryptionKeyArn。
由索引模型根据 Issue 内容生成。
描述
Summary
The memory schema supports a CMK (encryptionKeyArn) and the CLI already wires it through add harness --memory-encryption-key-arn and import memory — but the standalone add memory command has no flag, creating a parity gap.
Evidence
- AWS:
CreateMemory.encryptionKeyArn. - CLI: schema field at
src/schema/schemas/agentcore-project.ts:278; wired viaHarnessPrimitive.ts:667andimport-memory.ts:81, but no flag inMemoryPrimitive.tsx.
Proposal
Add an optional --kms-key-arn <arn> flag (no default) to add memory, mapping to the existing encryptionKeyArn schema field. Use --kms-key-arn (not the harness-scoped --memory-encryption-key-arn) to match add dataset/add evaluator/add policy-engine.
- 主要语言
- TypeScript
- 星标
- 304
- 派生
- 105
- 平均合并
- 16 小时 14 分钟
- 30 天内合并 PR
- 186
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/agentcore-cli 的其他 Issue
-
`agentcore dev` container fails with LoginTokenLoadError when using `aws login` credentials可能已有人在做 @proton0210 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 80/100
aws/agentcore-cli#2606 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2538 ·
维护者通常 1 天内回复
-
[Refactor] project add credentials payment does not match Connector regex可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
aws/agentcore-cli#2533 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
aws/agentcore-cli#2520 ·
维护者通常 1 天内回复
-
bug(policy): add policy --target generates an undeployable Cedar statement (wrong action id suffix, resource scope not narrowed)可能已有人在做 @rksharma-owg 于 20 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
aws/agentcore-cli#2395 ·
维护者通常 1 天内回复
查看 aws/agentcore-cli 的全部 Issue
相似的 Issue
-
area:plugins enhancement platform:vscode
难度 2/5 1-3 小时 新手友好度 88/100
anthropics/claude-code#103166 ·
维护者通常 1 天内回复
-
check:failed streams:add
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
jitsi/jitsi-meet#18021 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
spec: discovery input example can contain multiple aliases for one parameter, with no canonical one未关闭
难度 1/5 1 小时以内 新手友好度 95/100
x402-foundation/x402#3841 ·
维护者通常 1 天内回复