MCPcopy
hub / github.com/for-GET/http-decision-diagram

github.com/for-GET/http-decision-diagram @v4.0.202202-1 sqlite

repository ↗ · DeepWiki ↗ · release v4.0.202202-1 ↗
372 symbols 767 edges 2 files 149 documented · 40%
README

Why, why, why

Why is this helpful?

Watch Webmachine: Focus on Resources - Sean Cribbs from Øredev Conference on Vimeo.

Sean also has a good rundown of why an FSM is a good match for a protocol specification/implementation.

Goal

This repository's goal is to build on previous work, and set a "reference" in terms of a HTTP decision diagram and necessary callbacks.

In doing so, we take a snapshot of the current Webmachine callbacks that are linked to Alan Dean's http-headers-status, and trying to do constructive criticism and addressing outstanding issues

  • in a v4 diagram
  • by adding/modifying Webmachine's callbacks
  • with clear definitions of the steps/logic implied by the callbacks
  • with a diagram described as FSM thanks to Cosmogol, with a JSON AST export.

Take it also as a process of gaining context, while the existing callbacks and the existing diagram may be spot on.

Kudos to

Others

  • Cyril Rohr - http://crohr.me/journal/2011/http-status-codes-flowchart.html

Core symbols most depended-on inside this repo

t
called by 229
coffee-script.js
require
called by 169
coffee-script.js
jQuery
called by 47
joint.all.js
point
called by 44
joint.all.js
kt
called by 32
coffee-script.js
isFunction
called by 18
joint.all.js
f
called by 18
joint.all.js
isNaN
called by 17
joint.all.js

Shape

Function 372

Languages

TypeScript100%

Modules by API surface

joint.all.js367 symbols
coffee-script.js5 symbols

For agents

$ claude mcp add http-decision-diagram \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact