internal/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT

Directories

Path Synopsis
api
Package api provides shared helpers for the Connect-RPC API layer, including error mapping, pagination, and time conversion utilities.
Package api provides shared helpers for the Connect-RPC API layer, including error mapping, pagination, and time conversion utilities.
audit
Package audit emits AuthEvent payloads to the event store.
Package audit emits AuthEvent payloads to the event store.
migrations
Package migrations embeds auth SQL migrations for goose.
Package migrations embeds auth SQL migrations for goose.
sessions
Package sessions stores cookie-based browser sessions with HMAC-signed access cookies and rotating refresh cookies.
Package sessions stores cookie-based browser sessions with HMAC-signed access cookies and rotating refresh cookies.
throttle
Package throttle implements a soft per-IP × per-method failed-auth throttle.
Package throttle implements a soft per-IP × per-method failed-auth throttle.
Package automation is the runtime engine.
Package automation is the runtime engine.
action
Package action owns automation-engine action executors.
Package action owns automation-engine action executors.
condition
Package condition holds automation-engine condition evaluators.
Package condition holds automation-engine condition evaluators.
testutil
Package testutil provides fakes for automation engine tests.
Package testutil provides fakes for automation engine tests.
trigger
Package trigger defines the runtime trigger-matching surface.
Package trigger defines the runtime trigger-matching surface.
Package carport hosts the driver-supervisor subsystem: drivers.toml configuration, per-instance subprocess lifecycle, command dispatch, and event ingest from drivers over the Carport gRPC protocol (v1alpha1).
Package carport hosts the driver-supervisor subsystem: drivers.toml configuration, per-instance subprocess lifecycle, command dispatch, and event ingest from drivers over the Carport gRPC protocol (v1alpha1).
fakedriver
Package fakedriver provides an in-process implementation of the Carport Driver gRPC service used by unit tests.
Package fakedriver provides an in-process implementation of the Carport Driver gRPC service used by unit tests.
Package cause provides a context key for threading automation correlation information through call chains.
Package cause provides a context key for threading automation correlation information through call chains.
Package cli owns the gohome CLI command tree, styling, and output helpers.
Package cli owns the gohome CLI command tree, styling, and output helpers.
Package daemon wires the eventstore, state cache, registry, CLI socket, and observability into a single runnable gohomed.
Package daemon wires the eventstore, state cache, registry, CLI socket, and observability into a single runnable gohomed.
Package eventstore owns the SQLite event log, tailer, projector dispatch, subscriptions, and snapshots.
Package eventstore owns the SQLite event log, tailer, projector dispatch, subscriptions, and snapshots.
eventstoretest
Package eventstoretest provides a fake in-memory Appender for unit tests.
Package eventstoretest provides a fake in-memory Appender for unit tests.
mcp
Package mcp implements the gohome MCP server (stdio transport).
Package mcp implements the gohome MCP server (stdio transport).
audit
Package audit emits MCP audit events through the daemon RPC surface.
Package audit emits MCP audit events through the daemon RPC surface.
fs
Package fs provides MCP filesystem-tool helpers.
Package fs provides MCP filesystem-tool helpers.
resources
Package resources registers gohome MCP resource handlers for entity state and automation traces, including live-subscription support.
Package resources registers gohome MCP resource handlers for entity state and automation traces, including live-subscription support.
tools
Package tools registers all gohome MCP tools.
Package tools registers all gohome MCP tools.
Package observability owns logging, metrics, and tracing setup.
Package observability owns logging, metrics, and tracing setup.
Package policy compiles Pkl-declared policies into a runtime artifact and evaluates Authorize requests against it.
Package policy compiles Pkl-declared policies into a runtime artifact and evaluates Authorize requests against it.
Package registry owns the SQL-backed projection of driver instances, devices, entities, and durable event subscriptions.
Package registry owns the SQL-backed projection of driver instances, devices, entities, and durable event subscriptions.
Package script provides the runtime for invocable named Starlark functions.
Package script provides the runtime for invocable named Starlark functions.
testutil
Package testutil provides synthesized helpers for testing the script engine without going through Pkl compile or a full daemon.
Package testutil provides synthesized helpers for testing the script engine without going through Pkl compile or a full daemon.
testutil
Package testutil provides a pre-wired Runtime with injectable fakes for use in Go tests (primarily C6 automation/condition unit tests).
Package testutil provides a pre-wired Runtime with injectable fakes for use in Go tests (primarily C6 automation/condition unit tests).
Package state owns the in-memory copy-on-write cache of entity state.
Package state owns the in-memory copy-on-write cache of entity state.
Package storage owns SQLite open/PRAGMA/migration plumbing and the minimal Tx interface projectors use.
Package storage owns SQLite open/PRAGMA/migration plumbing and the minimal Tx interface projectors use.
migrations
Package migrations embeds eventstore SQL migrations for goose.
Package migrations embeds eventstore SQL migrations for goose.
Package testutil offers shared helpers: in-memory DB, event builders, fixture loading.
Package testutil offers shared helpers: in-memory DB, event builders, fixture loading.

Jump to

Keyboard shortcuts

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