@alva-ai/toolkit 0.37.0 → 0.38.0-beta.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.
- package/README.md +16 -1
- package/dist/browser.global.js +85 -85
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +942 -905
- package/dist/cli.js +3264 -3115
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +942 -905
- package/dist/dispatch.js +132 -107
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +3146 -3086
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +943 -906
- package/dist/index.d.ts +943 -906
- package/dist/index.js +3146 -3086
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -70,8 +70,13 @@ Headless / no-browser environments (SSH, containers, devcontainers, etc.)
|
|
|
70
70
|
are auto-detected; pass `--no-browser` to force the paste-code flow or
|
|
71
71
|
`--browser` to force the listener flow.
|
|
72
72
|
|
|
73
|
+
The new key is named `<agent> · <computer>` in your key list: the agent comes
|
|
74
|
+
from `--agent <name>`, or is detected from the environment when the CLI runs
|
|
75
|
+
inside a known agent. A hosted agent (Grok bot, Muse) is named without its VM.
|
|
76
|
+
|
|
73
77
|
```bash
|
|
74
78
|
alva auth login --no-browser # force paste-code flow
|
|
79
|
+
alva auth login --agent "Codex" # name the key after the agent signing in
|
|
75
80
|
alva auth login --profile staging # save under a named profile
|
|
76
81
|
alva auth login --auth-url https://stg.alva.xyz --base-url https://api-llm.stg.alva.ai # point at stg
|
|
77
82
|
```
|
|
@@ -432,7 +437,7 @@ follow the embedded CLI release instructions below.
|
|
|
432
437
|
```text
|
|
433
438
|
alva configure --api-key <key> [--base-url <url>] [--profile <name>]
|
|
434
439
|
alva whoami [--profile <name>]
|
|
435
|
-
alva auth login [--browser | --no-browser] [--profile <name>]
|
|
440
|
+
alva auth login [--browser | --no-browser] [--profile <name>] [--agent <name>]
|
|
436
441
|
alva user me
|
|
437
442
|
alva fs <read|write|stat|readdir|mkdir|remove|rename|copy|symlink|readlink|chmod|grant|revoke>
|
|
438
443
|
alva run --code <code> [--entry-path <path>] [--working-dir <dir>] [--args <json> | --args-stdin] [--timeout-ms <ms>]
|
|
@@ -465,6 +470,7 @@ alva markets watchlist list [--limit <1-100>] [--cursor <endCursor>]
|
|
|
465
470
|
alva people search --query <text> [--kind <user|person>] [--limit <1-50>]
|
|
466
471
|
alva people follows <follow|unfollow> --kind <user|person> --id <id>
|
|
467
472
|
alva people follows list [--kind <user|person>] [--limit <1-50>] [--cursor <endCursor>]
|
|
473
|
+
alva people follows theses [--cursor <next_cursor>]
|
|
468
474
|
```
|
|
469
475
|
|
|
470
476
|
## Contributing
|
|
@@ -514,8 +520,17 @@ alva markets watchlist list --limit 50
|
|
|
514
520
|
alva people search --query "cathie wood" --kind person
|
|
515
521
|
alva people follows follow --kind person --id 42
|
|
516
522
|
alva people follows list
|
|
523
|
+
alva people follows theses --cursor <next_cursor>
|
|
517
524
|
```
|
|
518
525
|
|
|
526
|
+
`people follows theses` lists the Thesis Updates of the profiles the user
|
|
527
|
+
follows, in the order they reached Alva (a curated person's thesis can reach
|
|
528
|
+
Alva hours after its post time). Without `--cursor` it reads the last 24 hours.
|
|
529
|
+
Every answer carries a non-empty `next_cursor`, also after an empty page: page
|
|
530
|
+
while `has_more` is true and keep the last `next_cursor` to read only what is
|
|
531
|
+
new next time. The
|
|
532
|
+
SDK equivalent is `client.follows.theses({ cursor, first })`.
|
|
533
|
+
|
|
519
534
|
The SDK equivalents live on `client.follows`: `addToWatchlist()`,
|
|
520
535
|
`removeFromWatchlist()`, `watchlist()`, `searchProfiles()`, `followProfile()`,
|
|
521
536
|
`unfollowProfile()` and `profiles()`. Tickers match exact symbols (1-50 per
|