internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2026 License: Apache-2.0

Directories

Path Synopsis
Package audit writes writgate's audit log (docs/SPEC.md section 6): one JSON object per line, each carrying the hash of the line before it.
Package audit writes writgate's audit log (docs/SPEC.md section 6): one JSON object per line, each carrying the hash of the line before it.
Package openapi loads an OpenAPI document and checks that writgate can serve it: OpenAPI 3.0.x or 3.1.x, with remote $refs off unless asked for.
Package openapi loads an OpenAPI document and checks that writgate can serve it: OpenAPI 3.0.x or 3.1.x, with remote $refs off unless asked for.
Package policy decides which tools an agent may call.
Package policy decides which tools an agent may call.
Package recovery settles calls whose result the audit log doesn't know (docs/SPEC.md section 6): an intent with no outcome because writgate stopped in between, or an outcome saying no response came back.
Package recovery settles calls whose result the audit log doesn't know (docs/SPEC.md section 6): an intent with no outcome because writgate stopped in between, or an outcome saying no response came back.
Package server serves a set of tools as an MCP server.
Package server serves a set of tools as an MCP server.
Package tools turns the operations of an OpenAPI document into MCP tool definitions: one operation becomes one tool.
Package tools turns the operations of an OpenAPI document into MCP tool definitions: one operation becomes one tool.
Package upstream turns a tool call into an HTTP request to the API behind writgate, and the HTTP response back into an MCP tool result (docs/SPEC.md section 3).
Package upstream turns a tool call into an HTTP request to the API behind writgate, and the HTTP response back into an MCP tool result (docs/SPEC.md section 3).
Package version holds the writgate build version.
Package version holds the writgate build version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL