Documentation
¶
Overview ¶
Package mobilegit provides a structured Git tool for the mobile host. Local operations are confined to the workspace; clone, fetch and push additionally require an explicit network grant on the tool-call context. It never shells out to a system git binary, which Android does not provide.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is host-owned. Root must be the selected workspace. Token is used only for HTTPS remotes and is never written to output.
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
Tool implements one structured git action. It is deliberately not a generic command runner: every operation has a schema and root-bound target.
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