@assistant-ui/pinboard-gateway
v0.21.1
Published
Pinboard Gateway: directory, placement, and HTTP proxy for Pinboard workers
Readme
@assistant-ui/pinboard-gateway
Pinboard Gateway, the control plane for Pinboard: a stateless Node service that owns the directory of which backend holds which id and proxies every data-plane request to it. Any number of nodes behind one load balancer URL, coordinating through Redis. Part of harness-sdk, with statewire and Pinboard.
Install
pnpm add @assistant-ui/pinboard-gatewayUse
npm install && npm run build
PINBOARD_TOKEN='...' \
PINBOARD_PASSPORT='{"providers":[{"type":"staticToken","id":"pinboard","keys":[{"name":"deployment","token":{"env":"PINBOARD_TOKEN"},"scopes":["pinboard:worker","pinboard:operator"],"claims":{"pinboard":{"namespaces":["*"],"allowedBackendHosts":["*"]}}}]}],"namespaces":{"*":{"allow":"anonymous"}}}' \
REDIS_URL=redis://localhost:6379 npm startREDIS_URL=memory: runs an in-process store for dev and tests; npm test needs no Redis.
Docs
- Get started: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/pinboard/docs/get-started/fleet/page.mdx
- Guide: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/pinboard/docs/guides/python/fleet/page.mdx
- Reference: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/pinboard/docs/reference/gateway/page.mdx
- Spec: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/pinboard/docs/spec/gateway-registry/page.mdx
