@vestra-player/sdk/docs: the SDK's documentation as a tree of small
pages for agents, like go doc. The same pages and API as the
documentation site (https://vestrasys.github.io/vestra-player-sdk/),
read by path:
docs("/") the top level
docs("/API/Media") a category: its symbols
docs("/API/Media/Snapshot/dispose") a member: its whole documentation
docs("/Guides/Guides/Test a plugin") a guide page
searchDocs("snapshot export") matching paths
Every answer is plain text (Markdown) of at most DOCS_PAGE_BYTES
bytes; a longer one comes in pages ({ page: 2 }). The command line
gives the same answers: vestra-plugin docs [path] [--page N] and
vestra-plugin docs --search <query> (outside a project that depends on
the SDK: npx -p @vestra-player/sdk vestra-plugin docs …). The tree is
generated from the package's sources when it is built
(scripts/docs-tree.mjs) and read on first use.
@vestra-player/sdk/docs: the SDK's documentation as a tree of small pages for agents, likego doc. The same pages and API as the documentation site (https://vestrasys.github.io/vestra-player-sdk/), read by path:Every answer is plain text (Markdown) of at most DOCS_PAGE_BYTES bytes; a longer one comes in pages (
{ page: 2 }). The command line gives the same answers:vestra-plugin docs [path] [--page N]andvestra-plugin docs --search <query>(outside a project that depends on the SDK:npx -p @vestra-player/sdk vestra-plugin docs …). The tree is generated from the package's sources when it is built (scripts/docs-tree.mjs) and read on first use.