Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sentinel-gate
command
Package main is the entry point for the Sentinel Gate CLI.
|
Package main is the entry point for the Sentinel Gate CLI. |
|
sentinel-gate/cmd
Package cmd provides the CLI commands for Sentinel Gate.
|
Package cmd provides the CLI commands for Sentinel Gate. |
|
internal
|
|
|
adapter/inbound/admin
Package admin provides web UI and JSON API handlers for Sentinel Gate.
|
Package admin provides web UI and JSON API handlers for Sentinel Gate. |
|
adapter/inbound/http
Package http provides HTTP/Streamable HTTP transport for Sentinel Gate.
|
Package http provides HTTP/Streamable HTTP transport for Sentinel Gate. |
|
adapter/inbound/httpgw
Package httpgw provides the HTTP Gateway forward proxy handler.
|
Package httpgw provides the HTTP Gateway forward proxy handler. |
|
adapter/inbound/stdio
Package stdio provides the stdio transport adapter for the proxy.
|
Package stdio provides the stdio transport adapter for the proxy. |
|
adapter/outbound/audit
Package audit provides file-based audit persistence with JSON Lines format, daily rotation, size caps, retention cleanup, and an in-memory cache.
|
Package audit provides file-based audit persistence with JSON Lines format, daily rotation, size caps, retention cleanup, and an in-memory cache. |
|
adapter/outbound/cel
Package cel provides a CEL-based policy expression evaluator.
|
Package cel provides a CEL-based policy expression evaluator. |
|
adapter/outbound/mcp
Package mcp provides MCP client adapters for connecting to upstream servers.
|
Package mcp provides MCP client adapters for connecting to upstream servers. |
|
adapter/outbound/memory
Package memory provides in-memory implementations of outbound ports.
|
Package memory provides in-memory implementations of outbound ports. |
|
adapter/outbound/state
Package state provides file-based persistence for SentinelGate runtime state.
|
Package state provides file-based persistence for SentinelGate runtime state. |
|
config
Package config provides configuration types for Sentinel Gate OSS.
|
Package config provides configuration types for Sentinel Gate OSS. |
|
ctxkey
Package ctxkey defines shared context key types used across multiple packages.
|
Package ctxkey defines shared context key types used across multiple packages. |
|
domain/action
Package action defines the CanonicalAction type system: a protocol-agnostic representation of any agent action flowing through SentinelGate.
|
Package action defines the CanonicalAction type system: a protocol-agnostic representation of any agent action flowing through SentinelGate. |
|
domain/audit
Package audit contains domain types for audit logging.
|
Package audit contains domain types for audit logging. |
|
domain/auth
Package auth contains the domain types and logic for authentication.
|
Package auth contains the domain types and logic for authentication. |
|
domain/policy
Package policy contains domain types for RBAC policy evaluation.
|
Package policy contains domain types for RBAC policy evaluation. |
|
domain/proxy
Package proxy contains the core domain logic for the MCP proxy.
|
Package proxy contains the core domain logic for the MCP proxy. |
|
domain/ratelimit
Package ratelimit provides rate limiting domain types.
|
Package ratelimit provides rate limiting domain types. |
|
domain/runtime
Package runtime provides bootstrap infrastructure for the sentinel-gate run command.
|
Package runtime provides bootstrap infrastructure for the sentinel-gate run command. |
|
domain/session
Package session manages user sessions across MCP tool calls.
|
Package session manages user sessions across MCP tool calls. |
|
domain/tool
Package tool contains domain types for tool discovery and risk classification.
|
Package tool contains domain types for tool discovery and risk classification. |
|
domain/upstream
Package upstream contains domain types for MCP upstream server configuration.
|
Package upstream contains domain types for MCP upstream server configuration. |
|
domain/validation
Package validation provides MCP message validation logic.
|
Package validation provides MCP message validation logic. |
|
port/inbound
Package inbound defines the inbound port interfaces for the proxy core.
|
Package inbound defines the inbound port interfaces for the proxy core. |
|
port/outbound
Package outbound defines the outbound port interfaces for connecting to upstream MCP servers.
|
Package outbound defines the outbound port interfaces for connecting to upstream MCP servers. |
|
service
Package service provides business logic services for SentinelGate.
|
Package service provides business logic services for SentinelGate. |
|
pkg
|
|
|
mcp
Package mcp provides MCP message types and JSON-RPC codec utilities for the sentinel-gate proxy.
|
Package mcp provides MCP message types and JSON-RPC codec utilities for the sentinel-gate proxy. |
Click to show internal directories.
Click to hide internal directories.



