Documentation
¶
Overview ¶
Package oku embeds the canonical documentation and agent skill assets that live at the repository root so installed binaries can serve them offline.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
oku
command
Command oku is the Oku Agent: swap and bridge across 30+ chains and trade perps on Oku from the command line.
|
Command oku is the Oku Agent: swap and bridge across 30+ chains and trade perps on Oku from the command line. |
|
pkg
|
|
|
api
Package api is the CLI's client for the Oku account API.
|
Package api is the CLI's client for the Oku account API. |
|
auth
Package auth stores the CLI Privy credential.
|
Package auth stores the CLI Privy credential. |
|
buildinfo
Package buildinfo holds release metadata injected with -ldflags -X.
|
Package buildinfo holds release metadata injected with -ldflags -X. |
|
cli
Package cli implements the oku command tree.
|
Package cli implements the oku command tree. |
|
config
Package config manages profiles stored under the XDG config directory.
|
Package config manages profiles stored under the XDG config directory. |
|
decimal
Package decimal validates exact decimal strings.
|
Package decimal validates exact decimal strings. |
|
docs
Package docs serves the documentation bundled in the binary so it is available offline.
|
Package docs serves the documentation bundled in the binary so it is available offline. |
|
drafts
Package drafts turns malformed order-draft JSON (for example model output wrapped in code fences or using single quotes) into a strictly validated, reviewable candidate.
|
Package drafts turns malformed order-draft JSON (for example model output wrapped in code fences or using single quotes) into a strictly validated, reviewable candidate. |
|
journal
Package journal persists intent lifecycle and signer-global nonces without secrets.
|
Package journal persists intent lifecycle and signer-global nonces without secrets. |
|
lending
Package lending builds and checks Morpho Blue, MetaMorpho vault and Euler V2 lending calls, and holds the shared risk and loop math.
|
Package lending builds and checks Morpho Blue, MetaMorpho vault and Euler V2 lending calls, and holds the shared risk and loop math. |
|
mcp
Package mcp exposes Oku over the Model Context Protocol (stdio) using the official Go SDK.
|
Package mcp exposes Oku over the Model Context Protocol (stdio) using the official Go SDK. |
|
onchain
Package onchain executes verified, journaled EVM transaction templates.
|
Package onchain executes verified, journaled EVM transaction templates. |
|
onchain/onchaintest
Package onchaintest provides test helpers for onchain batch fixtures.
|
Package onchaintest provides test helpers for onchain batch fixtures. |
|
output
Package output implements the versioned JSON envelope and error taxonomy.
|
Package output implements the versioned JSON envelope and error taxonomy. |
|
pnl
Package pnl computes average-cost positions and profit and loss from the swaps an agent made, in exact rational arithmetic.
|
Package pnl computes average-cost positions and profit and loss from the swaps an agent made, in exact rational arithmetic. |
|
privy
Package privy implements Privy's OAuth device-grant wallet signing protocol.
|
Package privy implements Privy's OAuth device-grant wallet signing protocol. |
|
signing
Package signing implements Hyperliquid L1 agent signing (sign_l1_action), ported from trade/src/app/features/perps/lib/hyperliquid{,Hash}.ts.
|
Package signing implements Hyperliquid L1 agent signing (sign_l1_action), ported from trade/src/app/features/perps/lib/hyperliquid{,Hash}.ts. |
|
skills
Package skills bundles agent skill assets into the binary and installs them without silently overwriting user files.
|
Package skills bundles agent skill assets into the binary and installs them without silently overwriting user files. |
|
telemetry
Package telemetry sends strictly opt-in, allowlisted usage events to PostHog.
|
Package telemetry sends strictly opt-in, allowlisted usage events to PostHog. |
|
trading
Package trading defines order intents and validates server-built Hyperliquid actions against them before anything is signed.
|
Package trading defines order intents and validates server-built Hyperliquid actions against them before anything is signed. |
|
uniswaplp
Package uniswaplp builds and verifies Uniswap v3 and v4 liquidity position actions for the agent wallet.
|
Package uniswaplp builds and verifies Uniswap v3 and v4 liquidity position actions for the agent wallet. |
Click to show internal directories.
Click to hide internal directories.