@agent-factory-platform/client
v0.18.2
Published
Generated Agent Factory contracts and Connect transports.
Readme
@agent-factory-platform/client
Generated Agent Factory contracts and Connect transports.
Install
npm install @agent-factory-platform/clientUse the exact Agent Factory version across packages in one application.
Scope
This package owns reusable, business-free infrastructure and lifecycle contracts. Product prompts, domain tools, policies, credentials, data, and deployment configuration remain in the consuming application.
The root export includes generated Agent, Workflow, Docs and Notify clients,
projection helpers, and the wire-compatible controlled-import v1 JSON types and
limits. Privileged imports run through a host MigrationTarget; this browser
client does not expose arbitrary event append.
Docs collaboration followers resume with afterSequence; presence is keyed by the
ephemeral session and carries explicit join/leave state. A collaboration checkpoint
sets SaveRevisionRequest.collaborationSequence together with expectedRevision.
Documentation
API and package documentation: https://www.npmjs.com/package/@agent-factory-platform/client
Docs callers can query getResourcePermissions for the current authenticated
Space or node without reading another subject's ACL. These are transient UI hints;
mutation authorization stays server-side. Anonymous resolvePublishedAsset
requires an explicit published tenant/Space/version/locale/node/revision/asset
binding; private resolveAsset still requires authenticated revision access.
Version 0.8.0 keeps Docs v1 wire compatibility while adding two Rust server trait
methods. Custom Rust DocsService implementations must implement the new permission
and published-asset handlers; af-docs-api already supplies them. Upgrade all
Factory crates and npm packages together.
