diff --git a/command.md b/command.md index 5a68c93a6..e3e148073 100644 --- a/command.md +++ b/command.md @@ -2,7 +2,7 @@ # AgentCore CLI command reference -This reference was generated from `agentcore --help` for version `1.3.0`. +This reference was generated from `agentcore --help` for version `1.4.0`. ## Table of contents @@ -23,6 +23,11 @@ This reference was generated from `agentcore --help` for version `1.3.0`. - [`agentcore add credentials api-key`](#agentcore-add-credentials-api-key) - [`agentcore add credentials oauth`](#agentcore-add-credentials-oauth) - [`agentcore add credentials payment`](#agentcore-add-credentials-payment) + - [`agentcore add credentials payment stripe`](#agentcore-add-credentials-payment-stripe) + - [`agentcore add credentials payment paypal`](#agentcore-add-credentials-payment-paypal) + - [`agentcore add credentials payment amazon-pay`](#agentcore-add-credentials-payment-amazon-pay) + - [`agentcore add credentials payment coinbase-cdp`](#agentcore-add-credentials-payment-coinbase-cdp) + - [`agentcore add credentials payment stripe-privy`](#agentcore-add-credentials-payment-stripe-privy) - [`agentcore add memory`](#agentcore-add-memory) - [`agentcore add evaluator`](#agentcore-add-evaluator) - [`agentcore add evaluator llm-as-a-judge`](#agentcore-add-evaluator-llm-as-a-judge) @@ -221,6 +226,14 @@ This reference was generated from `agentcore --help` for version `1.3.0`. - [`agentcore payment instrument get`](#agentcore-payment-instrument-get) - [`agentcore payment instrument list`](#agentcore-payment-instrument-list) - [`agentcore payment instrument balance`](#agentcore-payment-instrument-balance) + - [`agentcore payment intent`](#agentcore-payment-intent) + - [`agentcore payment intent create`](#agentcore-payment-intent-create) + - [`agentcore payment intent get`](#agentcore-payment-intent-get) + - [`agentcore payment intent create-buyer-approval-url`](#agentcore-payment-intent-create-buyer-approval-url) + - [`agentcore payment intent initiate`](#agentcore-payment-intent-initiate) + - [`agentcore payment intent authorize`](#agentcore-payment-intent-authorize) + - [`agentcore payment intent capture`](#agentcore-payment-intent-capture) + - [`agentcore payment intent cancel`](#agentcore-payment-intent-cancel) - [CLI settings and feedback](#cli-settings-and-feedback) - [`agentcore feedback`](#agentcore-feedback) - [`agentcore config`](#agentcore-config) @@ -490,18 +503,86 @@ add an OAuth2 credential provider to the current project ##### `agentcore add credentials payment` ```text -agentcore add credentials payment [options] +agentcore add credentials payment [options] [command] ``` add a payment credential provider to the current project +###### `agentcore add credentials payment stripe` + +```text +agentcore add credentials payment stripe [options] +``` + +add Stripe credentials to the current project + +**Options** + +- `--name `: the name of the credential provider (required) +- `--restricted-key `: the Stripe restricted key (file://path or - for stdin; inline values are rejected) +- `--restricted-key-secret-reference `: external secret reference JSON: {"secretId":"<id-or-arn>","jsonKey":"<key>"} +- `--publishable-key `: optional Stripe publishable key + +###### `agentcore add credentials payment paypal` + +```text +agentcore add credentials payment paypal [options] +``` + +add PayPal credentials to the current project + +**Options** + +- `--name `: the name of the credential provider (required) +- `--client-id `: the PayPal REST application client ID +- `--client-secret `: the PayPal client secret (file://path or - for stdin; inline values are rejected) +- `--client-secret-reference `: external secret reference JSON: {"secretId":"<id-or-arn>","jsonKey":"<key>"} +- `--environment `: PayPal environment: SANDBOX or LIVE (no default) + +###### `agentcore add credentials payment amazon-pay` + +```text +agentcore add credentials payment amazon-pay [options] +``` + +add Amazon Pay credentials to the current project + +**Options** + +- `--name `: the name of the credential provider (required) +- `--merchant-id `: the Amazon Pay merchant ID +- `--store-id `: the Amazon Pay store ID +- `--authorization-token `: the Amazon Pay authorization token (file://path or - for stdin; inline values are rejected) +- `--authorization-token-secret-reference `: external secret reference JSON: {"secretId":"<id-or-arn>","jsonKey":"<key>"} +- `--environment `: Amazon Pay environment: SANDBOX or LIVE (no default) +- `--amazon-pay-region `: Amazon Pay merchant region: NA or EU (no default) + +###### `agentcore add credentials payment coinbase-cdp` + +```text +agentcore add credentials payment coinbase-cdp [options] +``` + +add CoinbaseCDP credentials to the current project + **Options** - `--name `: the name of the credential provider (required) -- `--provider `: the payment provider: CoinbaseCDP or StripePrivy (required) - `--api-key-id `: Coinbase CDP API key ID - `--api-key-secret `: Coinbase CDP API key secret (file://path or - for stdin; inline values are rejected) - `--wallet-secret `: Coinbase CDP wallet secret (file://path or - for stdin; inline values are rejected) + +###### `agentcore add credentials payment stripe-privy` + +```text +agentcore add credentials payment stripe-privy [options] +``` + +add StripePrivy credentials to the current project + +**Options** + +- `--name `: the name of the credential provider (required) - `--app-id `: Privy application ID - `--app-secret `: Privy application secret (file://path or - for stdin; inline values are rejected) - `--authorization-private-key `: Stripe/Privy authorization private key (file://path or - for stdin; inline values are rejected) @@ -646,6 +727,7 @@ add a connector to a project payment manager (not available in China regions) - `--manager `: the parent payment manager (required) - `--name `: the payment connector name (required) - `--credential `: an existing payment credential to reuse +- `--aws-billing`: create an AWS Marketplace billing connector (requires its service-linked role) (default: false) - `--quick-create`: create a CoinbaseCDP connector through Quick Create (default: false) ### `agentcore dev` @@ -697,6 +779,16 @@ invoke a Runtime, harness, or Gateway - `--target `: project deployment target (default: "default") - `--local`: invoke the local development server (project Runtime only) (default: false) - `--port `: local development server port (defaults: HTTP/AG-UI 8080, MCP 8000, A2A 9000) +- `--payment-user-id `: explicit payment buyer ID; separate from Runtime --user-id +- `--payment-intent-id `: merchant intent context (does not authorize a payment) +- `--payment-instrument-id `: legacy payment instrument context +- `--payment-session-id `: legacy payment session context +- `--mcp-method `: the MCP method +- `--mcp-name `: the MCP tool, resource, or prompt name +- `--trace-id `: the X-Ray trace ID +- `--trace-parent `: the W3C trace parent +- `--trace-state `: the W3C trace state +- `--baggage `: the W3C baggage - `--payload `: the inline payload to send - `--qualifier `: the Runtime endpoint qualifier - `--content-type `: the payload content type @@ -708,12 +800,6 @@ invoke a Runtime, harness, or Gateway - `--mcp-session-id `: the MCP session ID - `--mcp-protocol-version `: the MCP protocol version - `--output-file `: the response output file -- `--mcp-method `: the MCP method -- `--mcp-name `: the MCP tool, resource, or prompt name -- `--trace-id `: the X-Ray trace ID -- `--trace-parent `: the W3C trace parent -- `--trace-state `: the W3C trace state -- `--baggage `: the W3C baggage - `--prompt `: the message to send to the harness - `--path `: the path relative to the Gateway origin - `--method `: the HTTP request method @@ -1316,6 +1402,10 @@ invoke a Runtime **Options** +- `--payment-user-id `: explicit payment buyer ID; separate from Runtime --user-id +- `--payment-intent-id `: merchant intent context (does not authorize a payment) +- `--payment-instrument-id `: legacy payment instrument context +- `--payment-session-id `: legacy payment session context - `--id `: the ID of the Runtime (required) - `--payload `: the inline payload to send - `--qualifier `: the Runtime endpoint qualifier @@ -3017,7 +3107,7 @@ enable or disable an Agent Insight Store, or change its encryption key agentcore payment [options] [command] ``` -inspect payment managers, sessions, and instruments +inspect payment resources and manage intent lifecycles #### `agentcore payment manager` @@ -3200,6 +3290,130 @@ get a payment instrument's token balance on a specific chain - `--token `: the token to query (USDC) (default: "USDC") - `--agent-name `: optional observability label, not an agent selector +#### `agentcore payment intent` + +```text +agentcore payment intent [options] [command] +``` + +create, inspect and manage payment intents + +##### `agentcore payment intent create` + +```text +agentcore payment intent create [options] +``` + +create a merchant payment intent + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--user-id `: the application buyer ID (required independently of Runtime identity) (required) +- `--agent-name `: optional agent observability label +- `--connector-id `: the payment connector ID (required) +- `--capture-strategy `: INSTANT, FUTURE or SETUP (required) +- `--checkout-details `: checkout JSON object, file://<path>, or '-' for stdin (required) +- `--client-token `: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation + +##### `agentcore payment intent get` + +```text +agentcore payment intent get [options] +``` + +get a payment intent by id + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--intent-id `: the payment intent ID (required) +- `--user-id `: the application user ID associated with the intent (required) +- `--agent-name `: optional observability label, not an agent selector + +##### `agentcore payment intent create-buyer-approval-url` + +```text +agentcore payment intent create-buyer-approval-url [options] +``` + +create an approval URL for delivery to the buyer UI + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--user-id `: the application buyer ID (required independently of Runtime identity) (required) +- `--agent-name `: optional agent observability label +- `--intent-id `: the payment intent ID (required) +- `--parent-origin `: the exact origin allowed to embed the buyer approval widget (required) +- `--client-token `: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation + +##### `agentcore payment intent initiate` + +```text +agentcore payment intent initiate [options] +``` + +initiate an approved intent using developer/backend credentials + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--user-id `: the application buyer ID (required independently of Runtime identity) (required) +- `--agent-name `: optional agent observability label +- `--intent-id `: the payment intent ID (required) +- `--client-token `: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation + +##### `agentcore payment intent authorize` + +```text +agentcore payment intent authorize [options] +``` + +authorize an initiated intent using developer/backend credentials + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--user-id `: the application buyer ID (required independently of Runtime identity) (required) +- `--agent-name `: optional agent observability label +- `--intent-id `: the payment intent ID (required) +- `--partner-callback-result `: sensitive partner callback from file://<path> or stdin '-' +- `--client-token `: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation + +##### `agentcore payment intent capture` + +```text +agentcore payment intent capture [options] +``` + +capture authorized funds using developer/backend credentials + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--user-id `: the application buyer ID (required independently of Runtime identity) (required) +- `--agent-name `: optional agent observability label +- `--intent-id `: the payment intent ID (required) +- `--capture-amount `: optional amount JSON object, file://<path>, or stdin '-' (omitted: remainder) +- `--client-token `: caller-owned capture token (33-256 letters, digits or hyphens); reuse on retries, new token requests a new capture (required) + +##### `agentcore payment intent cancel` + +```text +agentcore payment intent cancel [options] +``` + +cancel a payment intent + +**Options** + +- `--manager-id `: the parent payment manager ID (required) +- `--user-id `: the application buyer ID (required independently of Runtime identity) (required) +- `--agent-name `: optional agent observability label +- `--intent-id `: the payment intent ID (required) +- `--client-token `: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation + ## CLI settings and feedback ### `agentcore feedback` diff --git a/package.json b/package.json index cf56fdf8f..445f52e65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aws/agentcore", - "version": "1.3.0", + "version": "1.4.0", "repository": { "type": "git", "url": "https://github.com/aws/agentcore-cli.git" diff --git a/src/assets/cdk/package.json b/src/assets/cdk/package.json index 244b5d9c7..e5b7fdb1e 100644 --- a/src/assets/cdk/package.json +++ b/src/assets/cdk/package.json @@ -16,7 +16,7 @@ "typescript": "~5.9.3" }, "dependencies": { - "@aws/agentcore-cdk": "1.3.0", + "@aws/agentcore-cdk": "1.4.0", "aws-cdk-lib": "~2.269.0", "constructs": "~10.7.0" }