@aventurevc/aventure-cli 0.7.295 → 0.7.296

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.
package/README.md CHANGED
@@ -23,25 +23,33 @@ aventure auth login
23
23
  aventure entities list --entity-name Stripe
24
24
  ```
25
25
 
26
- Complete browser sign-in when prompted. The CLI stores the native OAuth access
27
- token in the operating-system credential store. `aventure auth status` reports
28
- credential metadata without displaying the token.
26
+ Complete browser sign-in when prompted. The CLI stores the OAuth credential in
27
+ the operating-system credential store, or in `~/.config/aventure/credentials.json`
28
+ (mode `0600`) where the keyring cannot be used without a GUI session. An expired
29
+ access token is renewed with its refresh token automatically. `aventure auth
30
+ status` reports credential metadata, the store in use, and the sign-in providers
31
+ without displaying any secret. `aventure auth logout` revokes the personal key,
32
+ revokes the OAuth refresh token, and removes both local records.
29
33
 
30
34
  ### Personal API key
31
35
 
32
36
  Create a key at [aventure.vc](https://aventure.vc) under **Settings → API keys →
33
37
  Add new key**, then provide it through `AUTH_TOKEN` using your environment or
34
38
  secret manager. To create and store a personal key through browser approval, run
35
- `aventure auth personal-login` in an interactive terminal. `aventure auth status`
39
+ `aventure auth login --key` in an interactive terminal. `aventure auth status`
36
40
  reports metadata without displaying the key. Help and the command catalog work
37
41
  without signing in.
38
42
 
39
43
  ## Headless authentication
40
44
 
41
- CI, containers, and SSH sessions without writable OS credential storage must
42
- provide an existing personal API key through `AUTH_TOKEN`. Native OAuth
43
- (`aventure auth login`) and personal-key approval (`aventure auth personal-login`)
44
- require an interactive terminal and usable OS credential storage.
45
+ `aventure auth login` uses the OAuth device authorization grant: it prints a one-time
46
+ code and a sign-in URL, opens the browser when one is available (`--no-browser` only
47
+ skips that), you approve on any device, and the CLI polls until the sign-in completes.
48
+ The same command works on a laptop, over SSH, and in a container. The verification
49
+ page uses the account already signed in at `accounts.aventure.vc`; to choose another
50
+ account, open the URL in a private window or sign out there first. `aventure auth
51
+ login --key --no-browser` is the equivalent path for a personal API key, and an
52
+ existing key can always be provided through `AUTH_TOKEN`.
45
53
 
46
54
  The command catalog is generated from the public aVenture OpenAPI spec and must not be hand-edited.
47
55
 
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{D as e,V as t,j as n,z as r}from"../chunks/auth-DVA6KxqF.js";import{C as i,g as a,i as o,s,t as c}from"../chunks/openapi-commands-CM6Yhmi3.js";o(process.argv.slice(2))&&t(!1);try{if(s(process.argv.slice(2),c)===`optional`){await n();try{await i(),await a()}catch(e){r({component:`aventure-cli`,event:`optional_auth_materialization_failed`,message:`saved credential unavailable; continuing with credential-optional command`,error:e})}}await import(`../chunks/aventure-cli-CeQTzpF6.js`)}catch(t){if(!(t instanceof e))throw t;process.stderr.write(`${t.message}\n`),process.exitCode=t.exitCode}export{};
2
+ import{D as e,V as t,j as n,z as r}from"../chunks/auth-Bb-9biQe.js";import{C as i,g as a,i as o,s,t as c}from"../chunks/openapi-commands-DoiIrMC_.js";o(process.argv.slice(2))&&t(!1);try{if(s(process.argv.slice(2),c)===`optional`){await n();try{await i(),await a()}catch(e){r({component:`aventure-cli`,event:`optional_auth_materialization_failed`,message:`saved credential unavailable; continuing with credential-optional command`,error:e})}}await import(`../chunks/aventure-cli-D8DWnUUN.js`)}catch(t){if(!(t instanceof e))throw t;process.stderr.write(`${t.message}\n`),process.exitCode=t.exitCode}export{};
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "MCP_GENERATION_CONTRACT",
4
- "generatedAt": "2026-09-15T22:57:34.452Z",
4
+ "generatedAt": "2026-09-16T01:44:05.499Z",
5
5
  "totalOperations": 162,
6
6
  "note": "Projection of MCP_GENERATION_CONTRACT - see mcp/scripts/build-unified-operations.ts header for SSOT rules.",
7
7
  "operations": [