@positive-skew/headless
v0.2.3
Published
Shared adapter-agnostic core for Positive Skew headless clients (CLI, MCP server, future)
Maintainers
Readme
@positive-skew/headless
Shared adapter-agnostic core for Positive Skew headless clients.
Consumed by:
@positive-skew/cli— terminal CLI@positive-skew/mcp— MCP stdio server
What's in here
- Session/config storage (
PSKEW_PROFILE, atomic session writes) - Embedded production Supabase defaults + explicit
PSKEW_SUPABASE_*override resolution - Telemetry header builder
- Alpaca OAuth URL construction
- Edge-function invocation + structured error mapping
- Typed error contract (
HeadlessError)
What's NOT in here
process.exit/ argv parsing / Commander- MCP SDK / tool schemas
- Console output / human-readable formatting
- Adapter-specific behavior drift (e.g.
pskew pipeline runwaiting strategy,--sincedefensive filters)
Adapters (CLI, MCP) translate HeadlessError instances into their own surface: exit codes for CLI, structured tool results for MCP.
License
MIT — Copyright (c) 2026 Burak Yenigun.
