How prooflinedev/sdk-typescript works
Proofline SDK is a typed Node.js client for review, coverage, export, and MCP knowledge/fix APIs. A caller configures ProoflineClient, invokes typed operations, and receives decoded results or typed errors; review iteration and waiting add client-side workflow behavior. The graph distinguishes the REST and MCP paths and their shared transport. Coverage, export decoding, and specialized MCP helpers are included; sampled excerpts establish the main wiring, while unsampled implementation details are not inferred.
Main entry points: index.ts ProoflineClient · transport.ts HTTP transport · operations.ts REST operations · mcp.ts MCP protocol
Components 13
Client workflows
- ProoflineClient
src/index.ts - Review workflows
src/index.ts
REST API
- REST operations
src/operations.ts - HTTP transport
src/transport.ts - API schema types
src/schema.d.ts
MCP tools
- MCP protocol
src/mcp.ts - Knowledge tools
src/knowledge.ts - Fix tools
src/fixes.ts
Data helpers
- Coverage files
src/coverage.ts - Export decoder
src/exports.ts
Other components
- SDK caller
- Proofline REST API
- Proofline MCP service
Connections 17
- SDK caller → ProoflineClient: configures and calls
README.md - ProoflineClient → REST operations: extends
src/index.ts - ProoflineClient → HTTP transport: constructs and invokes
src/index.ts - ProoflineClient → Review workflows: provides
README.md - Review workflows → REST operations: requests review data
src/index.ts - REST operations → HTTP transport: invokes requests
src/operations.ts - HTTP transport → Proofline REST API: sends HTTP
README.md - ProoflineClient → Coverage files: reads upload files
src/index.ts - ProoflineClient → Export decoder: decodes export response
src/index.ts - Knowledge tools → MCP protocol: calls tools
src/knowledge.ts - Fix tools → MCP protocol: calls tools
src/fixes.ts - ProoflineClient → Knowledge tools: exposes
src/index.ts - ProoflineClient → Fix tools: exposes
src/index.ts - MCP protocol → HTTP transport: sends MCP requests
src/mcp.ts - MCP protocol → Proofline MCP service: calls tools
README.md - REST operations → API schema types: uses request and response types
src/operations.ts - HTTP transport → API schema types: uses response types
src/transport.ts