Add imperative AgentCore Payments commands
- Lingua principale
- TypeScript
- Stelle
- 290
- Fork
- 96
- Merge medio
- 1g 2h
- PR unite (30g)
- 183
Descrizione
## Description
Add project-free AgentCore Payments commands to the imperative CLI on `refactor`, following the
existing Handler/Core and ID-based resource-selection conventions.
Deliver the headless surface as two dependent PRs:
1. Read-only commands: get/list for payment managers, connectors, sessions, instruments, and
Identity payment credential providers, plus instrument balance.
2. Mutation commands: create/update/delete where supported, including Coinbase Quick Create,
credential input validation, and optional default service-role provisioning.
Session and instrument commands accept a manager ID. Core resolves the manager ARN with
GetPaymentManager before calling the data plane. Balance requires an explicit chain, defaults
to USDC, preserves atomic amount strings and decimals, and does not convert service errors to zero.
## Acceptance Criteria
- Both PRs independently build and pass their tests.
- Read-only commands do not depend on new mutation handlers or IAM provisioning.
- SDK calls remain in Core, using injected clients and the shared command/test infrastructure.
- The mutation PR preserves the complete headless command behavior.
- CLI-only routes are clearly distinguished from TUI screens.
Read-only/interactive TUI screens are a later, separate PR. Payment execution, runtime payment-token
retrieval, and a generic tagging command are outside this issue.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla CLI imperativa e dalle convenzioni esistenti di Handler/Core e di selezione delle risorse basata su ID, quindi esamina l’infrastruttura condivisa dei comandi e dei test. Separa le superfici dei comandi di sola lettura da quelle di mutazione, mantieni le chiamate all’SDK in Core e distingui i percorsi della CLI dalle schermate TUI successive. Il lavoro è completato quando entrambi i PR dipendenti vengono compilati indipendentemente e superano i relativi test, preservando il comportamento headless indicato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- api, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100