Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
12345678910111213141516171819202122232425262728package acp
const ( resumeForPrompt = "Resume the session before sending another prompt" resumeForConfig = "Resume the session before changing its configuration")
func invalidParams(message string) *rpcError { return problem(-32602, "invalid_params", message) }func refuseBusy(message string) *rpcError { return problem(-32602, "busy", message) }
func unknownMethod() *rpcError { return problem(-32601, "method_not_found", "Unknown method")}
func noSession(id string) *rpcError { err := problem(-32002, "session_not_found", "Session not found") err.Data["sessionId"] = id return err}
func uncertain(message string) *rpcError { return problem(-32603, "observation_uncertain", message)}
func internalError(message string) *rpcError { return problem(-32603, "internal_error", message)}