README

vectie/bunnia/tooling does not have a README file

#
BuildProfile

pub struct BuildProfile {
name : String
route : String
page_count : Int
node_count : Int
component_count : Int
event_count : Int
windowed_list_count : Int
list_total_count : Int
list_visible_count : Int
unwindowed_list_child_count : Int
unkeyed_list_child_count : Int
duplicate_list_key_count : Int
file_count : Int
total_bytes : Int
initial_data_bytes : Int
event_patch_bytes : Int
event_patch_operation_count : Int
max_page_first_screen_bytes : Int
max_page_update_payload_bytes : Int
max_page_update_operation_count : Int
patch_bytes : Int
effect_count : Int
cloud_function_count : Int
stream_effect_count : Int
communication_count : Int
communication_visible_count : Int
communication_unresolved_review_count : Int
communication_artifact_ref_count : Int
tool_result_count : Int
tool_result_visible_count : Int
tool_result_pending_ack_count : Int
tool_result_missing_ack_count : Int
tool_result_artifact_ref_count : Int
agent_delta_count : Int
agent_duplicate_stream_chunk_count : Int
backend_endpoint_count : Int
backend_streaming_count : Int
backend_review_required_count : Int
backend_cancel_count : Int
backend_retry_count : Int
snapshot_delta_count : Int
snapshot_section_update_count : Int
snapshot_append_item_count : Int
snapshot_full_replace_count : Int
scene_marker_count : Int
scene_visible_marker_count : Int
scene_region_count : Int
scene_visible_region_count : Int
scene_asset_count : Int
scene_package_bytes : Int
scene_remote_asset_count : Int
generated_scene_asset_count : Int
generated_scene_remote_asset_count : Int
scene_insecure_remote_asset_count : Int
scene_unapproved_remote_asset_count : Int
scene_deferred_asset_count : Int
scene_thread_link_count : Int
scene_thread_visible_link_count : Int
scene_thread_unread_total : Int
scene_thread_orphan_link_count : Int
scene_camera_count : Int
scene_camera_clamped_count : Int
scene_static_surface_count : Int
scene_canvas_surface_count : Int
scene_lightweight_surface_count : Int
scene_surface_fallback_count : Int
scene_quality_issue_count : Int
degraded_scene_count : Int
route_diagnostic_route_count : Int
route_diagnostic_count : Int
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
BuildProfileBudget

pub struct BuildProfileBudget {
max_route_diagnostic_routes : Int
max_route_diagnostics : Int
max_unwindowed_list_children : Int
max_unkeyed_list_children : Int
max_duplicate_list_keys : Int
max_communication_unresolved_reviews : Int
max_tool_result_missing_acks : Int
max_agent_duplicate_stream_chunks : Int
max_snapshot_full_replaces : Int
max_scene_thread_orphans : Int
max_scene_camera_clamped : Int
max_scene_surface_fallbacks : Int
max_scene_insecure_remote_assets : Int
max_scene_unapproved_remote_assets : Int
max_scene_deferred_assets : Int
max_scene_quality_issues : Int
max_degraded_scenes : Int
} derive(Eq,
Debug
)

#
BuildProfileGate

pub struct BuildProfileGate {
budget_profile : String
max_route_diagnostic_routes : Int
max_route_diagnostics : Int
max_unwindowed_list_children : Int
max_unkeyed_list_children : Int
max_duplicate_list_keys : Int
max_communication_unresolved_reviews : Int
max_tool_result_missing_acks : Int
max_agent_duplicate_stream_chunks : Int
max_snapshot_full_replaces : Int
max_scene_thread_orphans : Int
max_scene_camera_clamped : Int
max_scene_surface_fallbacks : Int
max_scene_insecure_remote_assets : Int
max_scene_unapproved_remote_assets : Int
max_scene_deferred_assets : Int
max_scene_quality_issues : Int
max_degraded_scenes : Int
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
CiPlan

pub struct CiPlan {
target : String
target_known : Bool
target_generator_status_id : String
target_generator_available : Bool
budget_profile : String
render_budget_profile : String
inspection_max_route_risk_score : Int
inspection_max_update_payload_bytes : Int
inspection_max_update_operations : Int
inspection_max_unwindowed_list_children : Int
inspection_max_unkeyed_list_children : Int
inspection_max_duplicate_list_keys : Int
inspection_max_backend_events : Int
inspection_max_backend_streams : Int
inspection_max_backend_reviews : Int
inspection_max_backend_cancels : Int
inspection_max_backend_retries : Int
inspection_max_scene_assets : Int
inspection_max_scene_remote_assets : Int
inspection_max_scene_package_bytes : Int
inspection_gate_summary : String
profile_max_route_diagnostic_routes : Int
profile_max_route_diagnostics : Int
profile_max_unwindowed_list_children : Int
profile_max_unkeyed_list_children : Int
profile_max_duplicate_list_keys : Int
profile_max_communication_unresolved_reviews : Int
profile_max_tool_result_missing_acks : Int
profile_max_agent_duplicate_stream_chunks : Int
profile_max_snapshot_full_replaces : Int
profile_max_scene_thread_orphans : Int
profile_max_scene_camera_clamped : Int
profile_max_scene_surface_fallbacks : Int
profile_max_scene_insecure_remote_assets : Int
profile_max_scene_unapproved_remote_assets : Int
profile_max_scene_deferred_assets : Int
profile_max_scene_quality_issues : Int
profile_max_degraded_scenes : Int
profile_gate_summary : String
examples : Array[String]
snapshot_dir : String
step_count : Int
steps : Array[CiPlanStep]
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
CiPlanStep

pub struct CiPlanStep {
name : String
command : String
purpose : String
} derive(Eq,
Debug
)

#
GeneratedSnapshot

pub struct GeneratedSnapshot {
target : String
example : String
budget_profile : String
render_budget_profile : String
project_name : String
route : String
page_count : Int
file_count : Int
total_bytes : Int
max_first_screen_bytes : Int
max_update_payload_bytes : Int
max_update_operation_count : Int
route_diagnostic_route_count : Int
route_diagnostic_count : Int
unwindowed_list_child_count : Int
unkeyed_list_child_count : Int
duplicate_list_key_count : Int
communication_unresolved_review_count : Int
tool_result_missing_ack_count : Int
agent_duplicate_stream_chunk_count : Int
snapshot_full_replace_count : Int
scene_asset_count : Int
scene_remote_asset_count : Int
scene_thread_orphan_link_count : Int
scene_camera_clamped_count : Int
scene_surface_fallback_count : Int
scene_quality_issue_count : Int
degraded_scene_count : Int
top_route : String
route_risk_score : Int
profile_gate_diagnostic_count : Int
inspection_gate_diagnostic_count : Int
diagnostic_count : Int
files : Array[GeneratedSnapshotFile]
summary : String
content : String
} derive(Eq,
Debug
)

#
GeneratedSnapshotFile

pub struct GeneratedSnapshotFile {
path : String
kind : String
bytes : Int
checksum : Int
} derive(Eq,
Debug
)

#
MiniappInspection

pub struct MiniappInspection {
target : String
example : String
page_count : Int
file_count : Int
total_bytes : Int
diagnostic_route_count : Int
diagnostic_count : Int
max_node_count : Int
max_depth : Int
max_event_count : Int
max_scene_marker_count : Int
max_scene_region_count : Int
max_scene_asset_count : Int
status : String
summary : String
} derive(Eq,
Debug
)

#
MiniappInspectionBudget

pub struct MiniappInspectionBudget {
max_pages : Int
max_files : Int
max_total_bytes : Int
max_route_diagnostic_routes : Int
max_route_diagnostics : Int
max_nodes : Int
max_depth : Int
max_events : Int
max_scene_markers : Int
max_scene_regions : Int
max_scene_assets : Int
} derive(Eq,
Debug
)

#
MiniappInspectionGate

pub struct MiniappInspectionGate {
budget_profile : String
max_pages : Int
max_files : Int
max_total_bytes : Int
max_route_diagnostic_routes : Int
max_route_diagnostics : Int
max_nodes : Int
max_depth : Int
max_events : Int
max_scene_markers : Int
max_scene_regions : Int
max_scene_assets : Int
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
PlatformComponentMapping

pub struct PlatformComponentMapping {
bunnia_kind : String
platform_component : String
} derive(Eq,
Debug
)

#
PlatformEventMapping

pub struct PlatformEventMapping {
bunnia_event : String
platform_event : String
} derive(Eq,
Debug
)

#
PlatformGeneratorStatus

pub(all) enum PlatformGeneratorStatus {
GeneratorAvailable
GeneratorDeferred
TargetUnknown
} derive(Eq,
Debug
)

#
PlatformLifecycleMapping

pub struct PlatformLifecycleMapping {
bunnia_lifecycle : String
platform_lifecycle : String
} derive(Eq,
Debug
)

#
PlatformLimitsReport

pub struct PlatformLimitsReport {
target : String
label : String
adapter :
PlatformAdapter

generator_status : PlatformGeneratorStatus
generator_status_id : String
generator_available : Bool
component_mappings : Array[PlatformComponentMapping]
event_mappings : Array[PlatformEventMapping]
lifecycle_mappings : Array[PlatformLifecycleMapping]
request_mappings : Array[PlatformRequestMapping]
supports_canvas : Bool
supports_cloud : Bool
supports_stream : Bool
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
PlatformRequestMapping

pub struct PlatformRequestMapping {
bunnia_request : String
platform_api : String
} derive(Eq,
Debug
)

#
PlatformTargetSupport

pub struct PlatformTargetSupport {
target : String
label : String
adapter :
PlatformAdapter

known : Bool
generator_status : PlatformGeneratorStatus
generator_status_id : String
generator_available : Bool
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
ProjectInspection

pub struct ProjectInspection {
target : String
example : String
route_count : Int
routes : Array[RouteInspection]
top_route : String
total_diagnostics : Int
max_first_screen_bytes : Int
max_update_payload_bytes : Int
max_update_operation_count : Int
max_unwindowed_list_child_count : Int
max_unkeyed_list_child_count : Int
max_duplicate_list_key_count : Int
max_backend_event_count : Int
max_backend_stream_count : Int
max_backend_review_count : Int
max_backend_cancel_count : Int
max_backend_retry_count : Int
max_scene_marker_count : Int
max_scene_region_count : Int
max_scene_asset_count : Int
max_scene_remote_asset_count : Int
max_scene_package_bytes : Int
risk_score : Int
summary : String
} derive(Eq,
Debug
)

#
ProjectInspectionBudget

pub struct ProjectInspectionBudget {
max_route_risk_score : Int
max_update_payload_bytes : Int
max_update_operations : Int
max_unwindowed_list_children : Int
max_unkeyed_list_children : Int
max_duplicate_list_keys : Int
max_backend_events : Int
max_backend_streams : Int
max_backend_reviews : Int
max_backend_cancels : Int
max_backend_retries : Int
max_scene_assets : Int
max_scene_remote_assets : Int
max_scene_package_bytes : Int
} derive(Eq,
Debug
)

#
ProjectInspectionGate

pub struct ProjectInspectionGate {
budget_profile : String
max_route_risk_score : Int
max_update_payload_bytes : Int
max_update_operations : Int
max_unwindowed_list_children : Int
max_unkeyed_list_children : Int
max_duplicate_list_keys : Int
max_backend_events : Int
max_backend_streams : Int
max_backend_reviews : Int
max_backend_cancels : Int
max_backend_retries : Int
max_scene_assets : Int
max_scene_remote_assets : Int
max_scene_package_bytes : Int
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
ReleaseReadinessReport

pub struct ReleaseReadinessReport {
target : String
example : String
budget_profile : String
status : String
checklist_count : Int
passed_count : Int
diagnostic_count : Int
diagnostics : Array[String]
summary : String
} derive(Eq,
Debug
)

#
RouteInspection

pub struct RouteInspection {
route : String
status : String
diagnostics : Int
first_screen_bytes : Int
update_payload_bytes : Int
update_operation_count : Int
node_count : Int
event_count : Int
unwindowed_list_child_count : Int
unkeyed_list_child_count : Int
duplicate_list_key_count : Int
backend_event_count : Int
backend_stream_count : Int
backend_review_count : Int
backend_cancel_count : Int
backend_retry_count : Int
scene_marker_count : Int
scene_visible_marker_count : Int
scene_region_count : Int
scene_visible_region_count : Int
scene_asset_count : Int
scene_remote_asset_count : Int
scene_package_bytes : Int
risk_score : Int
summary : String
} derive(Eq,
Debug
)

#
ScaffoldFile

pub struct ScaffoldFile {
path : String
content : String
} derive(Eq,
Debug
)

#
ScaffoldPlan

pub struct ScaffoldPlan {
name : String
module_name : String
files : Array[ScaffoldFile]
summary : String
} derive(Eq,
Debug
)

#
build_profile_budget

fn build_profile_budget(max_route_diagnostic_routes~ : Int, max_route_diagnostics~ : Int, max_unwindowed_list_children~ : Int, max_unkeyed_list_children~ : Int, max_duplicate_list_keys~ : Int, max_communication_unresolved_reviews~ : Int, max_tool_result_missing_acks~ : Int, max_agent_duplicate_stream_chunks~ : Int, max_snapshot_full_replaces~ : Int, max_scene_thread_orphans~ : Int, max_scene_camera_clamped~ : Int, max_scene_surface_fallbacks~ : Int, max_scene_insecure_remote_assets~ : Int, max_scene_unapproved_remote_assets~ : Int, max_scene_deferred_assets~ : Int, max_scene_quality_issues~ : Int, max_degraded_scenes~ : Int) -> BuildProfileBudget

#
build_profile_budget_for_profile

fn build_profile_budget_for_profile(name : String) -> BuildProfileBudget

#
ci_plan

fn ci_plan(target? : String, budget_profile? : String, render_budget_profile? : String, examples? : Array[String], snapshot_dir? : String, post_build_steps? : Array[CiPlanStep]) -> CiPlan

#
ci_plan_shell_script

fn ci_plan_shell_script(plan : CiPlan) -> String

#
ci_plan_step

fn ci_plan_step(name : String, command : String, purpose : String) -> CiPlanStep

#
gate_build_profile

fn gate_build_profile(profile : BuildProfile, budget : BuildProfileBudget, budget_profile? : String) -> BuildProfileGate

#
gate_miniapp_inspection

fn gate_miniapp_inspection(inspection : MiniappInspection, budget : MiniappInspectionBudget, budget_profile? : String) -> MiniappInspectionGate

#
gate_project_inspection

fn gate_project_inspection(inspection : ProjectInspection, budget : ProjectInspectionBudget, budget_profile? : String) -> ProjectInspectionGate

#
inspect_miniapp_project

fn inspect_miniapp_project(target~ : String, example~ : String, project :
MiniappProject
) -> MiniappInspection

#
inspect_wechat_project

#
inspection_budget

fn inspection_budget(max_route_risk_score~ : Int, max_update_payload_bytes~ : Int, max_update_operations~ : Int, max_unwindowed_list_children~ : Int, max_unkeyed_list_children~ : Int, max_duplicate_list_keys~ : Int, max_backend_events~ : Int, max_backend_streams~ : Int, max_backend_reviews~ : Int, max_backend_cancels~ : Int, max_backend_retries~ : Int, max_scene_assets~ : Int, max_scene_remote_assets~ : Int, max_scene_package_bytes~ : Int) -> ProjectInspectionBudget

#
inspection_budget_for_profile

fn inspection_budget_for_profile(name : String) -> ProjectInspectionBudget

#
is_named_budget_profile

fn is_named_budget_profile(name : String) -> Bool

#
miniapp_inspection_budget

fn miniapp_inspection_budget(max_pages~ : Int, max_files~ : Int, max_total_bytes~ : Int, max_route_diagnostic_routes~ : Int, max_route_diagnostics~ : Int, max_nodes~ : Int, max_depth~ : Int, max_events~ : Int, max_scene_markers~ : Int, max_scene_regions~ : Int, max_scene_assets~ : Int) -> MiniappInspectionBudget

#
miniapp_inspection_budget_for_profile

fn miniapp_inspection_budget_for_profile(name : String) -> MiniappInspectionBudget

#
miniapp_release_readiness_report

fn miniapp_release_readiness_report(target~ : String, example~ : String, budget_profile~ : String, project :
MiniappProject
, inspection : MiniappInspection, inspection_gate : MiniappInspectionGate) -> ReleaseReadinessReport

#
platform_generator_available

fn platform_generator_available(status : PlatformGeneratorStatus) -> Bool

#
platform_generator_status_id

fn platform_generator_status_id(status : PlatformGeneratorStatus) -> String

#
platform_limits

fn platform_limits(target? : String) -> PlatformLimitsReport

#
platform_limits_for_adapter

fn platform_limits_for_adapter(adapter :
PlatformAdapter
, generator_available? : Bool) -> PlatformLimitsReport

#
platform_target_support

fn platform_target_support(target? : String) -> PlatformTargetSupport

#
platform_target_support_for_adapter

fn platform_target_support_for_adapter(adapter :
PlatformAdapter
, generator_available? : Bool) -> PlatformTargetSupport

#
release_readiness_report

fn release_readiness_report(target~ : String, example~ : String, budget_profile~ : String, project :
WechatProject
, profile : BuildProfile, profile_gate : BuildProfileGate, inspection : ProjectInspection, inspection_gate : ProjectInspectionGate) -> ReleaseReadinessReport

#
render_budget_for_profile

fn render_budget_for_profile(name : String) ->
RenderBudget

#
scaffold_file

fn scaffold_file(path : String, content : String) -> ScaffoldFile

#
scaffold_project

fn scaffold_project(name~ : String, module_name? : String) -> ScaffoldPlan

#
snapshot_miniapp_project

fn snapshot_miniapp_project(target~ : String, example~ : String, project :
MiniappProject
, inspection : MiniappInspection, inspection_gate : MiniappInspectionGate, release : ReleaseReadinessReport, budget_profile? : String, render_budget_profile? : String) -> GeneratedSnapshot

#
snapshot_wechat_project

fn snapshot_wechat_project(target~ : String, example~ : String, project :
WechatProject
, profile : BuildProfile) -> GeneratedSnapshot

#
snapshot_wechat_project_with_report

fn snapshot_wechat_project_with_report(target~ : String, example~ : String, project :
WechatProject
, report :
WechatBuildReport
, profile : BuildProfile, budget_profile? : String, render_budget_profile? : String) -> GeneratedSnapshot

#
wechat_build_budget_for_profile

fn wechat_build_budget_for_profile(name : String) ->
WechatBuildBudget