Discover Packages
github.com/SAPPHIR3-ROS3/Solomon/v2026
internal
sandbox
ipc
package
Version:
v2026.701.2
Opens a new window with list of versions in this module.
Published: Jul 1, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
TypePing = "ping"
TypePong = "pong"
TypeRun = "run"
TypeToolRequest = "tool_request"
TypeToolResponse = "tool_response"
TypeRunDone = "run_done"
TypeShutdown = "shutdown"
)
type Envelope struct {
Type string `json:"type"`
}
type Ping struct {
Type string `json:"type"`
}
type Pong struct {
Type string `json:"type"`
OK bool `json:"ok"`
}
type RunDone struct {
Type string `json:"type"`
RunID string `json:"id"`
Output string `json:"output,omitempty"`
Error string `json:"error,omitempty"`
ToolCalls int `json:"tool_calls"`
DurationMs int64 `json:"duration_ms"`
}
type RunRequest struct {
Type string `json:"type"`
ID string `json:"id"`
WASM []byte `json:"wasm"`
Mode string `json:"mode"`
MaxCalls int `json:"max_calls"`
TimeoutSec int `json:"timeout_sec"`
}
type Shutdown struct {
Type string `json:"type"`
}
type ToolResponse struct {
Type string `json:"type"`
RunID string `json:"run_id"`
ReqID string `json:"req_id"`
Result json .RawMessage `json:"result,omitempty"`
Error string `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.