hermes

package
v0.9.0-rc6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLI

func CLI(cfg *config.Config, id string, args []string) error

func Delete

func Delete(cfg *config.Config, id string, force bool, u *ui.UI) error

func DeploymentPath

func DeploymentPath(cfg *config.Config, id string) string

func ImageRef

func ImageRef() string

ImageRef returns the upstream Hermes container image ref. Used by stack.devPreloadImages so `obol stack up` pulls the image to the host docker daemon and imports it into the k3d cluster's containerd cache — otherwise the cluster's first Hermes pod stalls waiting for the registry mirror to serve a cold pull, which has caused flow-14 step 32 timeouts in the past.

func ImportPrivateKeyWalletCmd

func ImportPrivateKeyWalletCmd(cfg *config.Config, id string, opts ImportPrivateKeyWalletOptions, u *ui.UI) error

ImportPrivateKeyWalletCmd imports an existing private key as the remote-signer wallet for a Hermes instance. Mirror of the OpenClaw path.

func List

func List(cfg *config.Config, u *ui.UI) error

func ListWallets

func ListWallets(cfg *config.Config, id string, u *ui.UI) error

func Onboard

func Onboard(cfg *config.Config, opts OnboardOptions, u *ui.UI) error

func RegenerateToken

func RegenerateToken(cfg *config.Config, id string, u *ui.UI) (string, error)

func ResolveCLIInvocation

func ResolveCLIInvocation(cfg *config.Config, args []string) (string, []string, error)

func ResolveInstance

func ResolveInstance(cfg *config.Config, args []string) (string, []string, error)

func ResolveInstanceNamespace

func ResolveInstanceNamespace(cfg *config.Config) (string, error)

func ResolveWalletAddress

func ResolveWalletAddress(cfg *config.Config) (string, error)

func Setup

func Setup(cfg *config.Config, id string, _ SetupOptions, u *ui.UI) error

func SetupDefault

func SetupDefault(cfg *config.Config, u *ui.UI) error

func Skills

func Skills(cfg *config.Config, id string, args []string) error

func Sync

func Sync(cfg *config.Config, id string, u *ui.UI) error

func SyncDefaultModels

func SyncDefaultModels(cfg *config.Config, u *ui.UI) error

func Token

func Token(cfg *config.Config, id string, u *ui.UI) error

func WriteWalletMetadata

func WriteWalletMetadata(deploymentDir string, wallet *WalletInfo) error

Types

type DashboardOptions

type DashboardOptions struct {
	Port      int
	NoBrowser bool
}

type ImportPrivateKeyWalletOptions

type ImportPrivateKeyWalletOptions struct {
	PrivateKeyFile string
	Force          bool
	ApplyCluster   bool
}

ImportPrivateKeyWalletOptions holds options for importing a raw private key as a Hermes remote-signer wallet.

type OnboardOptions

type OnboardOptions struct {
	ID        string
	Force     bool
	Sync      bool
	IsDefault bool
	AgentMode bool
}

type SetupOptions

type SetupOptions struct{}

type WalletInfo

type WalletInfo struct {
	Address      string `json:"address"`
	PublicKey    string `json:"publicKey"`
	KeystoreUUID string `json:"keystore_uuid"`
	KeystorePath string `json:"keystore_path"`
	CreatedAt    string `json:"createdAt"`
	Password     string `json:"-"`
}

func GenerateWallet

func GenerateWallet(cfg *config.Config, id string, u *ui.UI) (*WalletInfo, error)

func ImportWalletFromPrivateKey

func ImportWalletFromPrivateKey(cfg *config.Config, id, privateKeyHex string, u *ui.UI) (*WalletInfo, error)

ImportWalletFromPrivateKey provisions an existing Ethereum private key as the remote-signer wallet for a Hermes instance.

func ReadWalletMetadata

func ReadWalletMetadata(deploymentDir string) (*WalletInfo, error)

Jump to

Keyboard shortcuts

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