Public pnpm workspace for Constructive Desktop plugins. Desktop selects and bundles plugins at build time, pinning this repository to an exact Git commit. Packages: Flows, Platform billing and the experimental Workspace panes with Data studio, a plugin built on it.
Use Node.js 22+ and the pnpm version in package.json. You can install the
workspace and run its tests without a Desktop checkout:
pnpm install
pnpm testThe Desktop app is private. Full typechecking and running a plugin in Desktop currently require the Desktop SDK, which is linked locally for maintainers and provided by Desktop at build time. Publishing the SDK through agentic-kit is planned so public contributors can develop against it without the Desktop source.
Never hand-write GraphQL documents or response types. Use the published
@constructive-io/sdk generated by Constructive's cnc codegen. Create an SDK
client for the relevant service with an adapter that forwards the generated
document and variables through the Desktop plugin host. Desktop owns service
routing and credentials; plugins do not fetch service endpoints directly.
See the Flows Compute adapter
and generated Desktop plugin starter.
pnpm test runs pnpm check:graphql to enforce this pattern in plugin sources.
Register new adapter files explicitly in the guard.