@alva-ai/toolkit 0.35.0 → 0.36.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 +6 -4
- package/dist/browser.global.js +64 -50
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +104 -11
- package/dist/cli.js +241 -114
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +104 -11
- package/dist/dispatch.js +102 -72
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +183 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +105 -12
- package/dist/index.d.ts +105 -12
- package/dist/index.js +183 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -287,9 +287,10 @@ Add the browser bundle via a CDN:
|
|
|
287
287
|
|
|
288
288
|
When the browser bundle is loaded inside an Alva playbook iframe, it also
|
|
289
289
|
installs `window.alva.udf`. The runtime reads the playbook-scoped viewer
|
|
290
|
-
token
|
|
291
|
-
|
|
292
|
-
UDF calls.
|
|
290
|
+
token from the private navigation response bootstrap, deletes that in-memory
|
|
291
|
+
bootstrap after consumption, accepts origin/source-checked parent refreshes,
|
|
292
|
+
and uses PBSV headers for UDF calls. URL credentials are ignored and scrubbed.
|
|
293
|
+
Non-owner viewers have read access only; invoking a UDF requires ownership.
|
|
293
294
|
|
|
294
295
|
Register creator-side functions first with `alva functions register`; viewer
|
|
295
296
|
HTML should call the browser runtime instead of hand-writing API fetches.
|
|
@@ -438,11 +439,12 @@ alva run --code <code> [--entry-path <path>] [--working-dir <dir>] [--args <json
|
|
|
438
439
|
alva deploy <create|list|get|update|delete|pause|resume|runs|run-logs>
|
|
439
440
|
alva release <feed|playbook-draft|playbook>
|
|
440
441
|
alva playbooks <trending>
|
|
441
|
-
alva thesis <list|related|create|get|signals|set-visibility|update|
|
|
442
|
+
alva thesis <list|related|create|get|signals|set-visibility|update|rewrite>
|
|
442
443
|
alva thesis version get --id <thesis-id> --author-version-id <version-id>
|
|
443
444
|
alva thesis list --person <slug> # or --person-name <name> / --user <username>
|
|
444
445
|
alva thesis list --ticker NVDA # or --entity-id <id>; --cursor <nextCursor>
|
|
445
446
|
alva thesis related --id <playbook-id>
|
|
447
|
+
alva thesis watchpoints --id <thesis-id> # list the Thesis's current watchpoints: [{label, text, origin}]
|
|
446
448
|
alva functions <register|list|delete|invoke|allowance>
|
|
447
449
|
alva secrets <create|list|get|update|delete>
|
|
448
450
|
alva sdk <doc|partitions|partition-summary>
|