plugins/ppq/vendor/ppq-private-mode/bin architecture
Provides the standalone executable entrypoint that validates runtime configuration, starts, reports, and gracefully shuts down the vendored PPQ Private Mode proxy.
Architectural role
Vendored runtime boundary for launching the pinned third-party proxy in the local v0.1.0 candidate. It remains separate from first-party orchestration and is a release-verification surface for documented configuration, ai-model-source v1 behavior, and funded live-flow validation before publication.
Source map
server.ts— CLI entrypoint requiring Node.js 20+ and either an API key or writable data directory, parsing proxy, enclave, CORS, and host-security settings from environment variables, starting the proxy, printing client examples, and closing it on SIGINT or SIGTERM.
Integration details
server.ts— Operational handoff from deployment configuration to the vendored proxy implementation; its environment contract, startup behavior, and shutdown handling must remain aligned with package metadata and release documentation without taking on first-party orchestration.