vectie/bunnia/effects does not have a README file
pub struct BackendContract {
id : String
base_url_key : String
session_token_key : String
session_header_key : String
endpoints : Array[BackendEndpoint]
} derive(Eq, Debug)pub struct BackendEndpoint {
id : String
kind : BackendEndpointKind
http_method : HttpMethod
path : String
payload_key : String
response_key : String
timeout_ms : Int
streaming : Bool
requires_review : Bool
} derive(Eq, Debug)pub struct BackendPlan {
contract : BackendContract
endpoint_count : Int
streaming_count : Int
review_required_count : Int
cancel_count : Int
retry_count : Int
diagnostics : Array[String]
summary : String
} derive(Eq, Debug)pub struct BackendResult {
request : BackendRequest
kind : BackendResultKind
response_json : String
error_message : String
} derive(Eq, Debug)pub struct Effect {
id : String
kind : EffectKind
target : String
payload_key : String
message : String
} derive(Eq, Debug)pub struct EffectPlan {
platform : Platform
adapter : PlatformAdapter
effect_count : Int
cloud_function_count : Int
stream_effect_count : Int
diagnostics : Array[String]
summary : String
} derive(Eq, Debug)pub struct SnapshotDelta {
kind : SnapshotDeltaKind
scope : String
section : String
item_id : String
value_json : String
patch : Patch
} derive(Eq, Debug)fn agent_cancel_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn agent_message_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn agent_retry_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn agent_stream_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn append_snapshot_item_delta(scope : String, section : String, item_id : String, value_json : String) -> SnapshotDeltafn backend_budget(max_endpoints~ : Int, max_streaming~ : Int, max_review_required~ : Int) -> BackendBudgetfn backend_contract(id~ : String, base_url_key? : String, session_token_key? : String, session_header_key? : String, endpoints~ : Array[BackendEndpoint]) -> BackendContractfn backend_endpoint(id~ : String, kind~ : BackendEndpointKind, http_method~ : HttpMethod, path~ : String, payload_key? : String, response_key? : String, timeout_ms? : Int, streaming? : Bool, requires_review? : Bool) -> BackendEndpointfn backend_request(id~ : String, endpoint~ : BackendEndpoint, payload_json? : String, replay_key? : String) -> BackendRequestfn effect(id~ : String, kind~ : EffectKind, target~ : String, payload_key? : String, message? : String) -> Effectfn generic_endpoint(id : String, path : String, http_method : HttpMethod, payload_key? : String, response_key? : String) -> BackendEndpointfn handoff_submit_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn operator_submit_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn plan_backend_contract_with_budget(contract : BackendContract, budget : BackendBudget) -> BackendPlanfn plan_backend_effects_for_adapter(contract : BackendContract, adapter : PlatformAdapter) -> EffectPlanfn plan_snapshot_deltas_with_budget(deltas : Array[SnapshotDelta], budget : PatchBudget) -> SnapshotDeltaPlanfn review_decision_endpoint(id : String, path : String, payload_key : String, response_key : String) -> BackendEndpointfn set_snapshot_section_delta(scope : String, section : String, value_json : String) -> SnapshotDeltaMoonBit mini-app UI framework with Rabbita-style authoring and modular platform adapters.