Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultStateDir ¶
DefaultStateDir returns the default trajectory storage directory, ~/.ax/antigravity/conversations. AX owns this path so it stays a harness implementation detail rather than a user-facing ax.yaml knob. It lives outside the agent's working directory on purpose: the working directory is the agent's operating surface (it reads and edits files there), so AX's internal state is kept separate to avoid the agent seeing or clobbering it.
Types ¶
type AntigravityHarness ¶
type AntigravityHarness struct {
// contains filtered or unexported fields
}
AntigravityHarness implements the Harness interface by connecting to the Antigravity Python agent server over gRPC.
func New ¶
func New(ctx context.Context, address, stateDir string, autoStart bool) (*AntigravityHarness, error)
New creates a new AntigravityHarness. When autoStart is true, New forks the Antigravity Python sidecar and waits for it to become reachable. If stateDir is non-empty, it is passed to the sidecar as --state-dir; empty stateDir lets the sidecar apply its own default.