Documentation
¶
Index ¶
- func FormatSize(size int64) string
- func NativeDir(appRoot, sandboxID, agent string) string
- type Event
- type Manifest
- type ManifestSource
- type Service
- func (s *Service) BeginLaunch(ctx context.Context, box *sandtypes.Box) (string, error)
- func (s *Service) Delete(ctx context.Context, id string) error
- func (s *Service) EndLaunch(ctx context.Context, id string) error
- func (s *Service) EndSandboxLaunches(ctx context.Context, sandboxID string) error
- func (s *Service) Export(ctx context.Context, id, format, destination string) error
- func (s *Service) List(ctx context.Context, agent, sandbox string) ([]sandtypes.AgentSession, error)
- func (s *Service) Read(ctx context.Context, id, format string, w io.Writer) error
- func (s *Service) Resolve(ctx context.Context, id string) (sandtypes.AgentSession, error)
- func (s *Service) ScrubCredentials(box *sandtypes.Box) error
- func (s *Service) Sync(ctx context.Context, box *sandtypes.Box) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSize ¶
Types ¶
type Event ¶
type Event struct {
Sequence int `json:"sequence"`
Timestamp string `json:"timestamp,omitempty"`
Kind string `json:"kind"`
Role string `json:"role,omitempty"`
Content string `json:"content,omitempty"`
ToolName string `json:"tool_name,omitempty"`
ToolCallID string `json:"tool_call_id,omitempty"`
Input json.RawMessage `json:"input,omitempty"`
Output json.RawMessage `json:"output,omitempty"`
Status string `json:"status,omitempty"`
NativeType string `json:"native_type,omitempty"`
}
type Manifest ¶
type Manifest struct {
SchemaVersion int `json:"schema_version"`
ID string `json:"id"`
AgentType string `json:"agent_type"`
NativeSessionID string `json:"native_session_id"`
Title string `json:"title,omitempty"`
Status string `json:"status"`
AdapterVersion int `json:"adapter_version"`
Sources []ManifestSource `json:"sources"`
}
type ManifestSource ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) BeginLaunch ¶
func (*Service) EndSandboxLaunches ¶
func (*Service) ScrubCredentials ¶
ScrubCredentials removes co-located authentication state after a sandbox is removed. Transcript snapshots never include these files.
Click to show internal directories.
Click to hide internal directories.