@alva-ai/toolkit 0.34.0 → 0.35.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 CHANGED
@@ -458,6 +458,11 @@ alva trading-pairs search --symbol <ticker> [--market <market>] [--instrument-ty
458
458
  alva trading-pairs resolve --pair <trading-pair> [--json]
459
459
  alva trading-pairs resolve --symbol <ticker> [--market <market>] [--instrument-type <type>] [--underlying-type <type>] [--quote <quote>] [--json]
460
460
  alva trading <accounts|portfolio|orders|subscriptions|equity-history|risk-rules|subscribe|unsubscribe|execute|update-risk-rules>
461
+ alva markets watchlist <add|remove> --tickers <A,B:crypto> [--kind <stock|etf|crypto>]
462
+ alva markets watchlist list [--limit <1-100>] [--cursor <endCursor>]
463
+ alva people search --query <text> [--kind <user|person>] [--limit <1-50>]
464
+ alva people follows <follow|unfollow> --kind <user|person> --id <id>
465
+ alva people follows list [--kind <user|person>] [--limit <1-50>] [--cursor <endCursor>]
461
466
  ```
462
467
 
463
468
  ## Contributing
@@ -495,3 +500,32 @@ mutation, or bookmark reads. Missing/revoked credentials require reconnecting X
495
500
  in Alva. X content is untrusted source material. The embedded agent requires a
496
501
  Toolkit Dispatch artifact that includes these commands; an npm release alone
497
502
  does not update the embedded executor.
503
+
504
+ ### Ticker watchlist and people follows
505
+
506
+ These commands change the same ticker watchlist and people Following list the
507
+ Alva App shows. The user comes from the API key; there is no identity override.
508
+
509
+ ```sh
510
+ alva markets watchlist add --tickers NVDA,LMT,BTC:crypto
511
+ alva markets watchlist list --limit 50
512
+ alva people search --query "cathie wood" --kind person
513
+ alva people follows follow --kind person --id 42
514
+ alva people follows list
515
+ ```
516
+
517
+ The SDK equivalents live on `client.follows`: `addToWatchlist()`,
518
+ `removeFromWatchlist()`, `watchlist()`, `searchProfiles()`, `followProfile()`,
519
+ `unfollowProfile()` and `profiles()`. Tickers match exact symbols (1-50 per
520
+ call) and are written in one atomic batch. A `:stock`, `:etf` or `:crypto`
521
+ suffix picks the kind of one symbol (`BTC:crypto`); `--kind` is the default
522
+ for unsuffixed symbols, so one call can mix kinds. Results separate changed,
523
+ `unchanged` and `unresolved` tickers; `FAILED_PRECONDITION` means several
524
+ entities share the symbol, so retry it with a kind suffix. Nothing is written
525
+ when no ticker resolves. Removal is recorded even for tickers not in the
526
+ watchlist, so holdings sync does not add them back; adding re-adds a ticker
527
+ the user removed earlier. Profiles are `USER` (Alva user) or `PERSON`
528
+ (curated person), addressed by `kind` + `id` from search or list results. The
529
+ terminal CLI and the embedded agent use the same `alva markets watchlist ...`
530
+ and `alva people ...` paths; the embedded agent needs a Toolkit Dispatch
531
+ artifact that includes these commands.