Versions in this module Expand all Collapse all v1 v1.0.19 Apr 24, 2026 v1.0.18 Apr 23, 2026 Changes in this version + const DefaultExecMaxOutputBytes + const DefaultExecTimeoutMs + const DefaultFileMaxBytes + const DefaultFileTimeoutMs + const DefaultProviderAlias + const SingleValueFileRefID + var EnvTemplateRe = regexp.MustCompile(`^\$\{([A-Z][A-Z0-9_]{0,127})\}$`) + func AssertSecurePath(params AuditParams) (string, error) + func ReadJSONPointer(data interface{}, pointer string) (interface{}, error) + func ResolveDefaultProvider(ref *SecretRef, cfg *SecretsConfig) string + func ResolveSecretInput(input SecretInput, cfg *SecretsConfig, getenv func(string) string) (string, error) + type AuditParams struct + AllowInsecurePath bool + AllowReadableByOthers bool + AllowSymlinkPath bool + Label string + TargetPath string + TrustedDirs []string + type CandidateApp struct + AppID string + AppSecret SecretInput + Brand string + Label string + func ListCandidateApps(ch *FeishuChannel) []CandidateApp + type ChannelsRoot struct + Feishu *FeishuChannel + type FeishuAccount struct + AppID string + AppSecret SecretInput + Brand string + Enabled *bool + type FeishuChannel struct + Accounts map[string]*FeishuAccount + AppID string + AppSecret SecretInput + Brand string + Enabled *bool + type OpenClawRoot struct + Channels ChannelsRoot + Secrets *SecretsConfig + func ReadOpenClawConfig(path string) (*OpenClawRoot, error) + type ProviderConfig struct + AllowInsecurePath bool + AllowSymlinkCommand bool + Allowlist []string + Args []string + Command string + Env map[string]string + JSONOnly *bool + MaxBytes int + MaxOutputBytes int + Mode string + NoOutputTimeoutMs int + PassEnv []string + Path string + Source string + TimeoutMs int + TrustedDirs []string + func LookupProvider(ref *SecretRef, cfg *SecretsConfig) (*ProviderConfig, error) + type ProviderDefaults struct + Env string + Exec string + File string + type SecretInput struct + Plain string + Ref *SecretRef + func (s *SecretInput) UnmarshalJSON(data []byte) error + func (s SecretInput) IsPlain() bool + func (s SecretInput) IsZero() bool + func (s SecretInput) MarshalJSON() ([]byte, error) + type SecretRef struct + ID string + Provider string + Source string + type SecretsConfig struct + Defaults *ProviderDefaults + Providers map[string]*ProviderConfig