@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 +16 -8
- package/dist/aventure-cli/index.js +1 -1
- package/dist/aventure-cli/unified-operations.json +1 -1
- package/dist/chunks/{auth-DVA6KxqF.js → auth-Bb-9biQe.js} +1 -1
- package/dist/chunks/{aventure-cli-CeQTzpF6.js → aventure-cli-D8DWnUUN.js} +2 -2
- package/dist/chunks/{index.node-DLQhh1RA.js → index.node-BBdAsEIu.js} +1 -1
- package/dist/chunks/{mcp-generation-contract-Df9WpBvs.js → mcp-generation-contract-TKBneuCS.js} +1 -1
- package/dist/chunks/{oauth-credential-BvaMUsLv.js → oauth-credential-CayH9z1e.js} +1 -1
- package/dist/chunks/oauth-login-DXqj8AHE.js +3 -0
- package/dist/chunks/oauth-login-eW2jq0F0.js +1 -0
- package/dist/chunks/{openapi-commands-CM6Yhmi3.js → openapi-commands-DoiIrMC_.js} +1 -1
- package/package.json +3 -3
- package/dist/chunks/oauth-login-BL08wbH6.js +0 -1
- package/dist/chunks/oauth-login-DpbqrJ94.js +0 -2
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
|
|
27
|
-
|
|
28
|
-
|
|
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
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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-
|
|
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-
|
|
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": [
|