Documentation
¶
Index ¶
- func CLI(cfg *config.Config, id string, args []string) error
- func Delete(cfg *config.Config, id string, force bool, u *ui.UI) error
- func DeploymentPath(cfg *config.Config, id string) string
- func ImageRef() string
- func ImportPrivateKeyWalletCmd(cfg *config.Config, id string, opts ImportPrivateKeyWalletOptions, u *ui.UI) error
- func List(cfg *config.Config, u *ui.UI) error
- func ListWallets(cfg *config.Config, id string, u *ui.UI) error
- func Onboard(cfg *config.Config, opts OnboardOptions, u *ui.UI) error
- func RegenerateToken(cfg *config.Config, id string, u *ui.UI) (string, error)
- func ResolveCLIInvocation(cfg *config.Config, args []string) (string, []string, error)
- func ResolveInstance(cfg *config.Config, args []string) (string, []string, error)
- func ResolveInstanceNamespace(cfg *config.Config) (string, error)
- func ResolveWalletAddress(cfg *config.Config) (string, error)
- func Setup(cfg *config.Config, id string, _ SetupOptions, u *ui.UI) error
- func SetupDefault(cfg *config.Config, u *ui.UI) error
- func Skills(cfg *config.Config, id string, args []string) error
- func Sync(cfg *config.Config, id string, u *ui.UI) error
- func SyncDefaultModels(cfg *config.Config, u *ui.UI) error
- func Token(cfg *config.Config, id string, u *ui.UI) error
- func WriteWalletMetadata(deploymentDir string, wallet *WalletInfo) error
- type DashboardOptions
- type ImportPrivateKeyWalletOptions
- type OnboardOptions
- type SetupOptions
- type WalletInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 RegenerateToken ¶
func ResolveCLIInvocation ¶
func ResolveInstance ¶
func WriteWalletMetadata ¶
func WriteWalletMetadata(deploymentDir string, wallet *WalletInfo) error
Types ¶
type DashboardOptions ¶
type ImportPrivateKeyWalletOptions ¶
ImportPrivateKeyWalletOptions holds options for importing a raw private key as a Hermes remote-signer wallet.
type OnboardOptions ¶
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 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)