kit

module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT

Directories

Path Synopsis
Package inference is an app daemon's client of lodge's inference socket, /run/lodge/inference.sock: OpenAI's chat completions and responses, and the aliases the app may use (https://github.com/frostyard/lodge/blob/main/docs/specs/app-contract.md#inference).
Package inference is an app daemon's client of lodge's inference socket, /run/lodge/inference.sock: OpenAI's chat completions and responses, and the aliases the app may use (https://github.com/frostyard/lodge/blob/main/docs/specs/app-contract.md#inference).
internal
peer
Package peer checks a Unix socket peer's uid (SO_PEERCRED), for the app socket and the private socket alike.
Package peer checks a Unix socket peer's uid (SO_PEERCRED), for the app socket and the private socket alike.
testapp
Package testapp is the smallest app on the kit: the kit's JSON-RPC server on /api, a blob on /content/, an MCP stand-in behind mcpsession and a device echo.
Package testapp is the smallest app on the kit: the kit's JSON-RPC server on /api, a blob on /content/, an MCP stand-in behind mcpsession and a device echo.
wsline
Package wsline turns a WebSocket that carries one JSON-RPC message per text frame into a net.Conn that carries one message per line, the framing the apps' Unix-socket servers read and write.
Package wsline turns a WebSocket that carries one JSON-RPC message per text frame into a net.Conn that carries one message per line, the framing the apps' Unix-socket servers read and write.
Package jsonrpc is the apps' JSON-RPC 2.0 runtime, one message per line: the server's connection loop, the router with caller kinds, the client, and the private socket.
Package jsonrpc is the apps' JSON-RPC 2.0 runtime, one message per line: the server's connection loop, the router with caller kinds, the client, and the private socket.
Package kittest plays lodge's side of an app socket in tests: it serves a lodgeapp.Server on a socket in a temp root, sends requests with the Lodge-* headers lodge would set, and checks the contract's socket rules (CheckRules).
Package kittest plays lodge's side of an app socket in tests: it serves a lodgeapp.Server on a socket in a temp root, sends requests with the Lodge-* headers lodge would set, and checks the contract's socket rules (CheckRules).
Package lodgeapp serves an app daemon's side of the lodge app contract (https://github.com/frostyard/lodge/blob/main/docs/specs/app-contract.md): HTTP/1.1 on the app's Unix socket, which admits only lodge's uid, with the Lodge-* headers parsed into a Caller and each path admitting one caller kind.
Package lodgeapp serves an app daemon's side of the lodge app contract (https://github.com/frostyard/lodge/blob/main/docs/specs/app-contract.md): HTTP/1.1 on the app's Unix socket, which admits only lodge's uid, with the Lodge-* headers parsed into a Caller and each path admitting one caller kind.
Package manifest is an app's app.json, which lodge reads from /usr/share/lodge/apps/<id>/ (app-contract.md, The manifest).
Package manifest is an app's app.json, which lodge reads from /usr/share/lodge/apps/<id>/ (app-contract.md, The manifest).
Package mcpsession binds an app's MCP sessions to the token that opened them (app-contract.md, MCP tokens and scope).
Package mcpsession binds an app's MCP sessions to the token that opened them (app-contract.md, MCP tokens and scope).
Package netguard refuses outbound connections to addresses inside the owner's network.
Package netguard refuses outbound connections to addresses inside the owner's network.
Package rpctest runs an app's RPC server on a temporary private socket for tests: the transport an app's own rpctest builds on.
Package rpctest runs an app's RPC server on a temporary private socket for tests: the transport an app's own rpctest builds on.

Jump to

Keyboard shortcuts

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