@vortex-api/pile
v0.1.6
Published
Pile SDK + CLI + capture + widget — one package for the whole Pile surface.
Downloads
1,150
Readme
@vortex-api/pile
Pile — the agent-native issue tracker and support desk. The support ticket and the engineering issue are the same object; coding agents are first-class users that record bugs, read capture artifacts, and open fix PRs.
One package ships the whole surface:
| Import / command | What |
| ---------------------------------- | ---------------------------------------------------------------------------- |
| @vortex-api/pile | TypeScript SDK (createPileClient, typed OpenAPI client) |
| @vortex-api/pile/capture | Browser capture SDK — console, network, errors, rrweb replay, debugger state |
| @vortex-api/pile/chat.js | Embeddable support widget (IIFE) |
| @vortex-api/pile/capture.iife.js | One-tag capture script |
| pile | CLI — issues, tickets, agent sessions, capture |
Quickstart
npm i @vortex-api/pile
pile init # sign up → workspace → API key, one commandOr drive the API directly:
curl -X POST https://pile.nyc/api/auth/sign-up/email \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"…","name":"You"}'
curl -X POST https://pile.nyc/workspaces/onboard \
-H 'Cookie: <session>' -H 'Content-Type: application/json' \
-d '{"name":"Acme","slug":"acme","key":"ACM"}'
# → { workspace, team, token }Embed capture
<script
src="https://pile.nyc/capture.js"
data-pile-key="pil_…"
data-pile-replay="true"
></script>or programmatically:
import { initCapture } from "@vortex-api/pile/capture";
const capture = initCapture({ publicKey: "pil_…" });Support widget
<script src="https://pile.nyc/chat.js" data-pile-widget="wgt_…"></script>For agents
GET /llms.txt— machine-readable index of surfaces and docsGET /llms-full.txt— the full docs corpusPOST /mcp— MCP server exposing issue/ticket/workspace toolsGET /openapi.json— the full API contract
Apache-2.0 · https://pile.nyc
