@alva-ai/toolkit 0.37.0 → 0.38.0-beta.1

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
@@ -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 users the user
527
+ follows, in the order they reached Alva (an imported thesis can reach Alva
528
+ long 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