@aopslabs/domain-host-plugin-agentspace
v0.5.3
Published
Agentspace host plugin for xf-host compatible plugin registries.
Downloads
714
Readme
@aopslabs/domain-host-plugin-agentspace
Host integration for Agentspace operations. The package exposes a runtime plugin with operation routing, lifecycle guards, configuration, and environment validation.
Installation
npm install @aopslabs/domain-host-plugin-agentspaceUsage
import { createAgentspacePlugin } from '@aopslabs/domain-host-plugin-agentspace'
const plugin = createAgentspacePlugin()TypeScript declarations are included with the compiled JavaScript output.
Host input contract
Version 0.3 declares host.input-contract.v1 and requires a host that supports its separate executeCanonical entrypoint. Canonical JSON and route parameters are the only input authorities on that path; legacy query/body merging remains isolated in execute for the 0.2 behavior fixture. The host codec preserves query values as strings instead of schema-guessing them. For example, the same ?query=10 wire value is the string { query: '10' } on the canonical path; legacy execution first converted it to a number and then rejected it against the string schema. JSON objects and numbers must be sent through a canonical JSON authority rather than encoded inside a query value.
License
Copyright (c) 2026 Mehmet Zeki Sönmez.
Licensed under the PolyForm Strict License 1.0.0. The license permits noncommercial use and does not grant permission to modify or redistribute the package.
