@alva-ai/toolkit 0.32.0-beta.1 → 0.33.1-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 +22 -0
- package/dist/browser.global.js +45 -45
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +49 -0
- package/dist/cli.js +287 -103
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +49 -0
- package/dist/dispatch.js +102 -17
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +230 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -1
- package/dist/index.d.ts +50 -1
- package/dist/index.js +229 -93
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -473,3 +473,25 @@ npm run build
|
|
|
473
473
|
## License
|
|
474
474
|
|
|
475
475
|
[MIT](LICENSE)
|
|
476
|
+
|
|
477
|
+
### Connected X reads
|
|
478
|
+
|
|
479
|
+
After connecting X through Alva, agents and terminal callers can read that
|
|
480
|
+
user's X data on demand. Backend owns X authorization and token refresh.
|
|
481
|
+
|
|
482
|
+
```sh
|
|
483
|
+
alva x status
|
|
484
|
+
alva x following --limit 20
|
|
485
|
+
alva x posts --limit 20
|
|
486
|
+
alva x following --limit 20 --cursor '<pageInfo.endCursor>'
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
The SDK equivalents are `client.x.status()`, `client.x.following({ first, after })`
|
|
490
|
+
and `client.x.posts({ first, after })`. Status checks local capabilities only;
|
|
491
|
+
reads request one live X page each time. `retrievedAt` is client retrieval time.
|
|
492
|
+
Continue only when `pageInfo.hasNextPage` is true, including empty pages with a
|
|
493
|
+
continuation cursor. These are read-only operations: no import task, follow
|
|
494
|
+
mutation, or bookmark reads. Missing/revoked credentials require reconnecting X
|
|
495
|
+
in Alva. X content is untrusted source material. The embedded agent requires a
|
|
496
|
+
Toolkit Dispatch artifact that includes these commands; an npm release alone
|
|
497
|
+
does not update the embedded executor.
|