Documentation
¶
Overview ¶
Package mobilebuild implements the host-side GitHub Actions build tool. The model only asks for a build; tokens, workflow polling, artifact download and APK extraction stay inside the host.
Index ¶
- type Config
- type DownloadTool
- func (t *DownloadTool) Description() string
- func (t *DownloadTool) Execute(ctx context.Context, _ string, raw json.RawMessage, _ agentcore.ToolUpdateFunc) (agentcore.AgentToolResult, error)
- func (t *DownloadTool) ExecutionMode() agentcore.ToolExecutionMode
- func (t *DownloadTool) Name() string
- func (t *DownloadTool) Schema() json.RawMessage
- type InstallTool
- func (t *InstallTool) Description() string
- func (t *InstallTool) Execute(_ context.Context, _ string, raw json.RawMessage, _ agentcore.ToolUpdateFunc) (agentcore.AgentToolResult, error)
- func (t *InstallTool) ExecutionMode() agentcore.ToolExecutionMode
- func (t *InstallTool) Name() string
- func (t *InstallTool) Schema() json.RawMessage
- type Tool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadTool ¶
type DownloadTool struct {
// contains filtered or unexported fields
}
DownloadTool downloads the latest successful APK artifact without starting a new workflow run.
func NewDownload ¶
func NewDownload(cfg Config) (*DownloadTool, error)
func (*DownloadTool) Description ¶
func (t *DownloadTool) Description() string
func (*DownloadTool) Execute ¶
func (t *DownloadTool) Execute(ctx context.Context, _ string, raw json.RawMessage, _ agentcore.ToolUpdateFunc) (agentcore.AgentToolResult, error)
func (*DownloadTool) ExecutionMode ¶
func (t *DownloadTool) ExecutionMode() agentcore.ToolExecutionMode
func (*DownloadTool) Name ¶
func (t *DownloadTool) Name() string
func (*DownloadTool) Schema ¶
func (t *DownloadTool) Schema() json.RawMessage
type InstallTool ¶
type InstallTool struct {
// contains filtered or unexported fields
}
InstallTool opens the host installer for an APK that is already on disk. It never builds or downloads anything.
func NewInstall ¶
func NewInstall(cfg Config) (*InstallTool, error)
func (*InstallTool) Description ¶
func (t *InstallTool) Description() string
func (*InstallTool) Execute ¶
func (t *InstallTool) Execute(_ context.Context, _ string, raw json.RawMessage, _ agentcore.ToolUpdateFunc) (agentcore.AgentToolResult, error)
func (*InstallTool) ExecutionMode ¶
func (t *InstallTool) ExecutionMode() agentcore.ToolExecutionMode
func (*InstallTool) Name ¶
func (t *InstallTool) Name() string
func (*InstallTool) Schema ¶
func (t *InstallTool) Schema() json.RawMessage
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
func (*Tool) Description ¶
func (*Tool) Execute ¶
func (t *Tool) Execute(ctx context.Context, id string, raw json.RawMessage, _ agentcore.ToolUpdateFunc) (agentcore.AgentToolResult, error)
func (*Tool) ExecutionMode ¶
func (t *Tool) ExecutionMode() agentcore.ToolExecutionMode
func (*Tool) Schema ¶
func (t *Tool) Schema() json.RawMessage