@inflowpayai/inflow 0.6.6 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -5
  2. package/dist/cli.js +267 -12
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -43,14 +43,15 @@ These flags are pre-extracted from `process.argv` before subcommand dispatch, so
43
43
  | Flag | Env var | Notes |
44
44
  | -------------------------------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45
45
  | `--api-key <key>` | `INFLOW_API_KEY` | Use an API key instead of the saved OAuth access token. When both are present, the flag wins for this invocation; `auth login` persists what it saw. |
46
- | `--environment <production\|sandbox>` | `INFLOW_ENVIRONMENT` | Selects the public environment. Defaults to `production`. |
47
- | `--sandbox` | — | Shorthand for `--environment sandbox`. |
48
- | `--base-url <url>` (alias: `--api-base-url`) | `INFLOW_BASE_URL` | Override the environment-derived API URL. Takes precedence over `--environment`. |
49
- | `--auth-base-url <url>` | `INFLOW_AUTH_BASE_URL` | Override the OAuth endpoint. |
50
46
  | `--auth <path>` | `INFLOW_AUTH_FILE` | Path to the credentials file. Defaults to the platform's standard config dir. |
47
+ | `--auth-base-url <url>` | `INFLOW_AUTH_BASE_URL` | Override the OAuth endpoint. |
48
+ | `--base-url <url>` (alias: `--api-base-url`) | `INFLOW_BASE_URL` | Override the environment-derived API URL. Takes precedence over `--environment`. |
49
+ | `--bootstrap` | — | Print the agent setup guide (install, authenticate, load a playbook) to stdout and exit. The same text is served at `https://inflowcli.ai/skill.md`. |
50
+ | `--environment <production\|sandbox>` | `INFLOW_ENVIRONMENT` | Selects the public environment. Defaults to `production`. |
51
51
  | `--format <json\|toon\|yaml\|md\|jsonl>` | — | Agent rendering. Default is TTY (Ink). |
52
+ | `--sandbox` | — | Shorthand for `--environment sandbox`. |
53
+ | `--skill [name]` | — | Print a bundled skill body to stdout and exit. Defaults to `agentic-payments`; an unknown name lists the available skills. No frontmatter. Use for piping into a system prompt on MCP hosts that don't natively load skills: `inflow --skill \| pbcopy`. |
52
54
  | `--verbose` | — | Log every HTTP request/response to stderr. |
53
- | `--skill` | — | Print the bundled `agentic-payments` skill body to stdout and exit. No frontmatter. Use for piping into a system prompt on MCP hosts that don't natively load skills: `inflow --skill \| pbcopy`. |
54
55
  | — | `INFLOW_HTTP_PROXY` | Route every outbound HTTP request through this proxy URL. Requires the optional `undici` peer (`npm install undici`); the SDK throws `InflowConfigurationError` at first request when the env var is set but `undici` is missing. Ignored when the caller passes a custom `fetch`. |
55
56
 
56
57
  ## `auth`