@aopslabs/host-gateway
v0.2.4
Published
Admission-gated discovery, OpenAPI, and strict tool invocation for AOPS Labs plugin hosts.
Readme
@aopslabs/host-gateway
Admission-gated catalog discovery, schema/OpenAPI projection, and strict tool invocation for AOPS Labs plugin hosts.
Route-safety v2 tools are gated only by their declared gateClass: write and
destructive calls require apply, and destructive calls additionally require
confirm. Legacy plugins keep their pre-v2 method/extension behavior exactly.
Tool descriptors expose preserved raw domain evidence as domainSideEffect.
Installation
```bash npm install @aopslabs/host-gateway ```
`createHostGateway` exposes admitted `listTools`, `getTool`, `getToolInputJsonSchema`, and `getOpenApi` projections plus strict `invokeTool`, diagnostics, refresh, and invalidation. Caller-supplied execution context is rejected; identity and credentials come only from the server request context.
License
Copyright (c) 2026 Mehmet Zeki Sönmez. Licensed under the PolyForm Strict License 1.0.0; see LICENSE.
