@evident-ai/cli 3.6.1-dev.57b3e59 → 3.6.1-dev.5c4c582
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 +39 -0
- package/dist/index.js +1361 -230
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,23 @@ Show the currently authenticated user for the current endpoint.
|
|
|
63
63
|
evident whoami
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
+
### `evident teams`
|
|
67
|
+
|
|
68
|
+
List the teams available to the authenticated user. Each line contains a team's
|
|
69
|
+
ID and name. A selected team is prefixed with `*`; the command does not print
|
|
70
|
+
team roles. With no teams, it prints `No teams found for this account.` With
|
|
71
|
+
several teams and no selection, it prints:
|
|
72
|
+
`Choose a team with --team <id> or set EVIDENT_TEAM.`
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
evident teams
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
When you belong to more than one team, choose one for team-scoped requests with
|
|
79
|
+
the global `--team <id>` flag or `EVIDENT_TEAM`. The CLI does not store the
|
|
80
|
+
selection. A specific runner or proxy uses the team that owns it and does not
|
|
81
|
+
require a selection.
|
|
82
|
+
|
|
66
83
|
### `evident status`
|
|
67
84
|
|
|
68
85
|
Check whether the configured credentials can reach Evident. It resolves
|
|
@@ -78,6 +95,22 @@ Options:
|
|
|
78
95
|
|
|
79
96
|
- `--json` — Output in JSON format.
|
|
80
97
|
|
|
98
|
+
### `evident mcp authorize <proxy-id> <connection-id>`
|
|
99
|
+
|
|
100
|
+
Authorize a local MCP connection with your Evident user login. The CLI opens the
|
|
101
|
+
provider in your browser and waits for it to return to this computer:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
evident mcp authorize <proxy-id> <connection-id>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
The callback page shows when the provider response arrives, while Evident finishes
|
|
108
|
+
authorization, and confirms the connection only after Evident reports success. If
|
|
109
|
+
authorization succeeds while tools are still being prepared, the page says so. If
|
|
110
|
+
completion cannot be confirmed, check the connection in Evident before retrying.
|
|
111
|
+
Use `--no-browser` to open the printed authorization URL yourself, or `--json` to
|
|
112
|
+
keep the final result on standard output while progress is written to standard error.
|
|
113
|
+
|
|
81
114
|
### `evident run`
|
|
82
115
|
|
|
83
116
|
Connect to Evident and serve your runner. `evident run` authenticates, resolves
|
|
@@ -231,6 +264,9 @@ targets the **production** Evident platform by default.
|
|
|
231
264
|
- `--endpoint <url>` — Evident REST API base URL (e.g. `http://localhost:3001`).
|
|
232
265
|
A trailing `/v1` is optional — it's added automatically.
|
|
233
266
|
- `--tunnel <url>` — Tunnel WebSocket URL (e.g. `ws://localhost:8787`).
|
|
267
|
+
- `--team <id>` — Evident team ID to act in when your account belongs to more than
|
|
268
|
+
one team. List available teams with `evident teams`. The selection is not stored
|
|
269
|
+
by the CLI. Env: `EVIDENT_TEAM`.
|
|
234
270
|
|
|
235
271
|
## Environment variables
|
|
236
272
|
|
|
@@ -245,6 +281,9 @@ targets the **production** Evident platform by default.
|
|
|
245
281
|
keychain login from `evident login`).
|
|
246
282
|
- `EVIDENT_API_URL` — Override the API base URL (equivalent to `--endpoint`).
|
|
247
283
|
- `EVIDENT_TUNNEL_URL` — Override the tunnel relay URL (equivalent to `--tunnel`).
|
|
284
|
+
- `EVIDENT_TEAM` — Select the Evident team ID for team-scoped requests (equivalent
|
|
285
|
+
to `--team`). List available teams with `evident teams`. The selection is not
|
|
286
|
+
stored by the CLI.
|
|
248
287
|
- `EVIDENT_CLAUDE_USAGE_REPORTING` — Equivalent to `--claude-usage-reporting`; the
|
|
249
288
|
flag wins if both are set.
|
|
250
289
|
- `EVIDENT_OPENAI_USAGE_REPORTING` — Equivalent to `--openai-usage-reporting`; the
|