go

module
v0.0.0-...-c7fee84 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
amika command
Package main implements the amika CLI.
Package main implements the amika CLI.
amika-server command
Package main runs the Amika HTTP server.
Package main runs the Amika HTTP server.
amika/sandbox
Package sandboxcmd builds the `amika sandbox` command tree.
Package sandboxcmd builds the `amika sandbox` command tree.
amika/scp
Package scpcmd builds the top-level `amika scp` command: a thin wrapper around the system scp binary that resolves sandbox references and sandbox/scp URIs to concrete SSH destinations before delegating the copy to scp.
Package scpcmd builds the top-level `amika scp` command: a thin wrapper around the system scp binary that resolves sandbox references and sandbox/scp URIs to concrete SSH destinations before delegating the copy to scp.
amikad command
Package main runs the Amika sandbox daemon.
Package main runs the Amika sandbox daemon.
amikalog command
Package main implements the amikalog CLI, which captures Claude Code and OpenAI Codex hook activity (with git context) as raw append-only events.
Package main implements the amikalog CLI, which captures Claude Code and OpenAI Codex hook activity (with git context) as raw append-only events.
internal
agentconfig
Package agentconfig discovers coding agent configuration files on the host and produces mount specifications for sandboxes and ephemeral containers.
Package agentconfig discovers coding agent configuration files on the host and produces mount specifications for sandboxes and ephemeral containers.
amikaconfig
Package amikaconfig loads per-repo Amika configuration from .amika/config.toml.
Package amikaconfig loads per-repo Amika configuration from .amika/config.toml.
amikad
Package amikad defines the sandbox daemon command surface.
Package amikad defines the sandbox daemon command surface.
amikad/norelay
Package norelay serves authenticated WebSocket streams to loopback sshd.
Package norelay serves authenticated WebSocket streams to loopback sshd.
amikad/sshd
Package sshd owns loopback-only OpenSSH configuration and supervision.
Package sshd owns loopback-only OpenSSH configuration and supervision.
amikad/state
Package state owns amikad's sensitive files and scrub manifest.
Package state owns amikad's sensitive files and scrub manifest.
apiclient
Package apiclient provides an HTTP client for the remote Amika API.
Package apiclient provides an HTTP client for the remote Amika API.
app
Package app contains Amika application services.
Package app contains Amika application services.
appcfg
Package appcfg writes local configuration for third-party coding apps (Claude Desktop, Codex) so they can open Amika sandboxes over SSH.
Package appcfg writes local configuration for third-party coding apps (Claude Desktop, Codex) so they can open Amika sandboxes over SSH.
arch
Package arch provides platform detection helpers.
Package arch provides platform detection helpers.
auth
Package auth discovers local credentials and renders environment assignments.
Package auth discovers local credentials and renders environment assignments.
basedir
Package basedir resolves XDG base directories and Amika-managed file paths.
Package basedir resolves XDG base directories and Amika-managed file paths.
buildmeta
Package buildmeta exposes build-time metadata for Amika binaries.
Package buildmeta exposes build-time metadata for Amika binaries.
cliargs
Package cliargs splits a command line between the arguments amika interprets itself and the arguments it forwards verbatim to an underlying utility such as ssh or scp.
Package cliargs splits a command line between the arguments amika interprets itself and the arguments it forwards verbatim to an underlying utility such as ssh or scp.
config
Package config provides configuration and path resolution for amika.
Package config provides configuration and path resolution for amika.
constants
Package constants defines shared constant values used across the amika codebase.
Package constants defines shared constant values used across the amika codebase.
eventlog
Package eventlog records Claude Code and OpenAI Codex hook activity as raw, append-only events under the amika state directory, annotating every event with the git state of the directory the hook fired in.
Package eventlog records Claude Code and OpenAI Codex hook activity as raw, append-only events under the amika state directory, annotating every event with the git state of the directory the hook fired in.
filelock
Package filelock provides cancellable cross-process advisory file locks.
Package filelock provides cancellable cross-process advisory file locks.
httpapi
Package httpapi exposes Amika operations over HTTP using Huma.
Package httpapi exposes Amika operations over HTTP using Huma.
materialize
Package materialize runs scripts or commands and copies their output to a destination.
Package materialize runs scripts or commands and copies their output to a destination.
output
Package output centralizes CLI output formatting so commands can render their results as human-readable text or as JSON in a consistent way across the whole command tree.
Package output centralizes CLI output formatting so commands can render their results as human-readable text or as JSON in a consistent way across the whole command tree.
ports
Package ports defines dependency interfaces used by the application layer.
Package ports defines dependency interfaces used by the application layer.
runmode
Package runmode resolves whether a CLI command should operate against local or remote sandboxes and guards remote operations behind authentication.
Package runmode resolves whether a CLI command should operate against local or remote sandboxes and guards remote operations behind authentication.
sandbox
Package sandbox manages sandboxed environments backed by container providers.
Package sandbox manages sandboxed environments backed by container providers.
services
Package services holds shared logic for sandbox services that must stay consistent across the CLI and the HTTP API, such as port validation rules.
Package services holds shared logic for sandbox services that must stay consistent across the CLI and the HTTP API, such as port validation rules.
ssh
Package ssh abstracts how the CLI connects editors and shells to remote sandboxes over SSH: minting connection details from the API, generating a stable per-sandbox host alias in ~/.ssh/amika.conf, and execing ssh.
Package ssh abstracts how the CLI connects editors and shells to remote sandboxes over SSH: minting connection details from the API, generating a stable per-sandbox host alias in ~/.ssh/amika.conf, and execing ssh.
txn
Package txn provides primitives for managing transactional operations that may need to be rolled back on failure.
Package txn provides primitives for managing transactional operations that may need to be rolled back on failure.
wslbridge
Package wslbridge spans the WSL boundary: amika runs as a Linux binary inside a WSL distribution while the user's editors run as Windows applications.
Package wslbridge spans the WSL boundary: amika runs as a Linux binary inside a WSL distribution while the user's editors run as Windows applications.
wsstream
Package wsstream adapts bounded binary WebSocket messages to an opaque byte stream for SSH tunneling.
Package wsstream adapts bounded binary WebSocket messages to an opaque byte stream for SSH tunneling.
labs
akfs
Package akfs is the experimental Amika filesystem library (labs).
Package akfs is the experimental Amika filesystem library (labs).
akfs/frontmatter
Package frontmatter extracts and parses YAML frontmatter from text documents.
Package frontmatter extracts and parses YAML frontmatter from text documents.
cmd/akfs command
Package main implements the akfs CLI, an experimental Amika filesystem tool.
Package main implements the akfs CLI, an experimental Amika filesystem tool.
pkg
amika
Package amika provides the public programmatic API for Amika operations.
Package amika provides the public programmatic API for Amika operations.
test
e2e/cmd/e2e-sweep command
Command e2e-sweep reclaims remote resources left behind by E2E runs that were killed before their own cleanup could run.
Command e2e-sweep reclaims remote resources left behind by E2E runs that were killed before their own cleanup could run.
e2e/runner
Package runner implements a black-box test runner that drives a compiled amika binary as a subprocess: it loads YAML case files, runs each step's argv/stdin/env against the binary, asserts on stdout/stderr/exit code, and tracks any resources the steps create so they can be cleaned up in reverse order afterward.
Package runner implements a black-box test runner that drives a compiled amika binary as a subprocess: it loads YAML case files, runs each step's argv/stdin/env against the binary, asserts on stdout/stderr/exit code, and tracks any resources the steps create so they can be cleaned up in reverse order afterward.
testutil
Package testutil provides shared helpers for integration and contract tests.
Package testutil provides shared helpers for integration and contract tests.

Jump to

Keyboard shortcuts

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