AE_title
(param ptr i32) (param len i32) (result i32)Sets the UTF-8 application title during AE_configure.
AE_title(param ptr i32) (param len i32) (result i32)Sets the UTF-8 application title during AE_configure.
AE_menu_item(param id i32) (param ptr i32) (param len i32) (param shortcut i32) (param flags i32) (result i32)Declares an action menu item; flags & 1 is a separator and shortcut codes are host-defined.
AE_action(param id i32) (param label_ptr i32) (param label_len i32) (param flags i32) (result i32)Declares a labeled action for native buttons without creating a menu item; version 0 requires flags = 0.
AE_pause_trigger(param kind i32) (param code i32) (param flags i32) (result i32)Registers one typed host-consumed pause/wake trigger during AE_configure; version 0 supports stable key kind 1 and requires flags = 0.
AE_motion_interest(param kind i32) (param rate_hz i32) (param flags i32) (result i32)Registers one motion-sensor interest during AE_configure: kind 1 is the host-derived shake gesture (rate must be 0), kind 2 is the six-axis sample stream (rate 0 selects the 60 Hz default, else 1..=120); flags = 0. Interests are accepted even where sensors are absent or permission is denied, in which case no motion events ever arrive - keep a manual affordance fallback.
AE_touch_interest(param max_contacts i32) (param flags i32) (result i32)Opts into ordered raw touch-contact event kinds 11 through 14 during AE_configure, with a guest-selected simultaneous-contact bound from 1 through 16; version 0 requires flags = 0. Guests that omit this import retain touch-to-primary-pointer compatibility.
AE_slider_i32(param id i32) (param label_ptr i32) (param label_len i32) (param min i32) (param max i32) (param step i32) (param initial i32) (result i32)Declares an exact stepped integer slider during AE_configure; changes arrive through AE_control_event.
AE_external_link(param id i32) (param label_ptr i32) (param label_len i32) (param url_ptr i32) (param url_len i32) (param flags i32) (result i32)Declares one labeled, credential-free HTTPS destination during AE_configure; version 0 requires flags = 0.
AE_ui_begin(param revision i32) (result i32)Begins one guest-authoritative keyed native-UI snapshot during AE_render; the revision must differ from the last accepted snapshot.
AE_ui_end(result i32)Completes the current native-UI snapshot, which is published atomically only if the surrounding render also succeeds.
AE_control_panel_q16(param id i32) (param x_q16 i32) (param y_q16 i32) (param width_q16 i32) (param height_q16 i32) (param rgba i32) (param flags i32) (result i32)Places a guest-sized native-control panel in the current UI snapshot using Q16.16 logical-pixel geometry; version 0 requires flags = 0.
AE_slider_place_q16(param id i32) (param panel_id i32) (param value i32) (param x_q16 i32) (param y_q16 i32) (param width_q16 i32) (param height_q16 i32) (param label_placement i32) (param flags i32) (result i32)Places a declared native integer slider in the current UI snapshot; the guest-provided value and Q16.16 bounds remain authoritative.
AE_button_place_q16(param id i32) (param panel_id i32) (param action_id i32) (param x_q16 i32) (param y_q16 i32) (param width_q16 i32) (param height_q16 i32) (param flags i32) (result i32)Places a declared action as a keyed native button; flag bit 0 is the guest-authored selected state and all other bits are reserved.
AE_external_link_place_q16(param id i32) (param panel_id i32) (param x_q16 i32) (param y_q16 i32) (param width_q16 i32) (param height_q16 i32) (param flags i32) (result i32)Places one declared external link in a guest-owned panel using Q16.16 logical-pixel geometry; version 0 requires flags = 0.
AE_text_field(param id i32) (param label_ptr i32) (param label_len i32) (param max_scalars i32) (param flags i32) (result i32)Declares one bounded text-entry control during AE_configure; committed text arrives as integer scalar events, never as a host write into guest memory. Version 0 requires flags = 0.
AE_text_field_place_q16(param id i32) (param panel_id i32) (param x_q16 i32) (param y_q16 i32) (param width_q16 i32) (param height_q16 i32) (param flags i32) (result i32)Places one declared text field in a guest-owned panel using Q16.16 logical-pixel geometry; version 0 requires flags = 0.
AE_sin_cos_turn(param angle_turn i32) (result sin_q30 i32) (result cos_q30 i32)Returns deterministic Q1.30 sine and cosine for a wrapping binary angle where 2^32 units are one turn.
AE_random_v1_seed_u64(param state_ptr i32) (param seed_low i32) (param seed_high i32) (result i32)Initializes one 48-byte guest-owned RandomZ v1 stream from the unsigned 64-bit seed supplied to AE_init[_i32].
AE_random_v1_seed_bytes(param state_ptr i32) (param seed_ptr i32) (result i32)Initializes one 48-byte guest-owned RandomZ v1 stream from exactly 32 seed bytes.
AE_random_v1_fill(param state_ptr i32) (param output_ptr i32) (param output_len i32) (result i32)Writes deterministic raw stream bytes and advances the serialized stream only after the complete bounded output succeeds.
AE_random_v1_range_i64(param state_ptr i32) (param start i64) (param end i64) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch of unbiased inclusive-range integers as little-endian i64 values.
AE_random_v1_uniform(param state_ptr i32) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch of exact uniform [0,1) RandomZ fixed values.
AE_random_v1_normal(param state_ptr i32) (param mean_m i64) (param mean_e i32) (param stddev_m i64) (param stddev_e i32) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch from the integer-only RandomZ normal distribution.
AE_random_v1_normal_i64(param state_ptr i32) (param start i64) (param end i64) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch of range-scaled normal integers as little-endian i64 values.
AE_random_v1_exponential(param state_ptr i32) (param rate_m i64) (param rate_e i32) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch from the integer-only RandomZ exponential distribution.
AE_random_v1_poisson(param state_ptr i32) (param lambda_m i64) (param lambda_e i32) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch of RandomZ Poisson variates as little-endian i64 values.
AE_random_v1_log_normal(param state_ptr i32) (param mean_m i64) (param mean_e i32) (param stddev_m i64) (param stddev_e i32) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch from the integer-only RandomZ log-normal distribution.
AE_random_v1_beta(param state_ptr i32) (param alpha_m i64) (param alpha_e i32) (param beta_m i64) (param beta_e i32) (param output_ptr i32) (param count i32) (result i32)Writes a bounded batch from the integer-only RandomZ beta distribution.
AE_synth_voice(param program_id i32) (param waveform i32) (param delay_ms i32) (param duration_ms i32) (param frequency_start_millihz i32) (param frequency_mid_millihz i32) (param frequency_end_millihz i32) (param gain_start_ppm i32) (param gain_peak_ppm i32) (param gain_end_ppm i32) (param filter i32) (param filter_start_millihz i32) (param filter_end_millihz i32) (param cooldown_ms i32) (result i32)Declares a bounded synthesized-audio program during AE_configure.
AE_sample_asset(param id i32) (param path_ptr i32) (param path_len i32) (param flags i32) (result i32)Binds a unique sampled-audio ID to one bounded FLAC under the application assets/ virtual root during AE_configure; version 0 requires flags = 0.
AE_image_define(param id i32) (param ptr i32) (param len i32) (param flags i32) (result i32)Defines an image resource; flags & 1 selects raw RGBA, otherwise bytes are encoded image data.
AE_image_release(param id i32) (result i32)Releases a previously defined image resource.
AE_frame_begin(param r f32) (param g f32) (param b f32) (param a f32) (result i32)Begins one render transaction with normalized RGBA background components.
AE_frame_begin_rgba(param rgba i32) (result i32)Begins one render transaction with a packed 0xRRGGBBAA background for integer-only guests.
AE_transform_push(param m11 f32) (param m12 f32) (param m21 f32) (param m22 f32) (param tx f32) (param ty f32) (result i32)Pushes an affine transform inside the current frame.
AE_transform_pop(result i32)Pops the current frame transform.
AE_path_begin(param id i32) (result i32)Begins a uniquely identified path in the current frame.
AE_path_move(param x f32) (param y f32) (result i32)Appends a move segment to the active path.
AE_path_move_q16(param x_q16 i32) (param y_q16 i32) (result i32)Appends a move segment using signed Q16.16 logical-pixel coordinates.
AE_path_line(param x f32) (param y f32) (result i32)Appends a line segment to the active path.
AE_path_line_q16(param x_q16 i32) (param y_q16 i32) (result i32)Appends a line segment using signed Q16.16 logical-pixel coordinates.
AE_path_quad(param cx f32) (param cy f32) (param x f32) (param y f32) (result i32)Appends a quadratic Bézier segment to the active path.
AE_path_cubic(param c1x f32) (param c1y f32) (param c2x f32) (param c2y f32) (param x f32) (param y f32) (result i32)Appends a cubic Bézier segment to the active path.
AE_path_close(result i32)Closes the active path.
AE_path_end(param width f32) (param fill_rgba i32) (param stroke_rgba i32) (param flags i32) (result i32)Commits the active path; version 0 requires flags = 0.
AE_path_end_q16(param width_q16 i32) (param fill_rgba i32) (param stroke_rgba i32) (param flags i32) (result i32)Commits an integer-profile path with Q16.16 width; a zero packed color disables that paint and version 0 requires flags = 0.
AE_sprite(param id i32) (param image_id i32) (param src_x f32) (param src_y f32) (param src_w f32) (param src_h f32) (param dst_x f32) (param dst_y f32) (param dst_w f32) (param dst_h f32) (param pivot_x f32) (param pivot_y f32) (param tint_rgba i32) (param flags i32) (result i32)Draws a bounded source rectangle from a defined image; version 0 requires flags = 0.
AE_line(param id i32) (param x1 f32) (param y1 f32) (param x2 f32) (param y2 f32) (param width f32) (param rgba i32) (result i32)Draws a uniquely identified line.
AE_circle(param id i32) (param x f32) (param y f32) (param radius f32) (param width f32) (param rgba i32) (param flags i32) (result i32)Draws a uniquely identified circle; flags = 0 outlines it and flags = 1 fills it, while every other flag value is rejected.
AE_text(param id i32) (param ptr i32) (param len i32) (param x f32) (param y f32) (param size f32) (param rgba i32) (param flags i32) (result i32)Draws UTF-8 text; flags & 1 centers it.
AE_text_font(param id i32) (param ptr i32) (param len i32) (param x f32) (param y f32) (param size f32) (param rgba i32) (param font i32) (param flags i32) (result i32)Draws UTF-8 text with an explicit portable face: font = 0 is the platform default, 1 is bundled Geist Mono Regular, and flags & 1 centers it.
AE_text_font_q16(param id i32) (param ptr i32) (param len i32) (param x_q16 i32) (param y_q16 i32) (param size_q16 i32) (param rgba i32) (param font i32) (param flags i32) (result i32)Integer-profile counterpart to AE_text_font; position and size are signed Q16.16 and the stable face selectors are identical.
AE_frame_end(result i32)Completes the current frame after all path and transform stacks balance.
AE_audio(param id i32) (param volume f32) (param pitch f32) (param flags i32) (result i32)Queues one declared synthesized-audio program with volume 0..1 and pitch 0.25..4.
AE_sample_play(param id i32) (param volume f32) (param pitch f32) (param flags i32) (result i32)Queues one declared immutable sample with volume 0..1 and pitch 0.25..4; playback is one-way and version 0 requires flags = 0.
AE_effect(param kind i32) (param a i32) (param b i32) (result i32)Queues a host effect: redraw (1), quit (2), set cursor (3), or persist snapshot (4).
AE_log(param level i32) (param ptr i32) (param len i32) (result i32)Accepts a bounded UTF-8 diagnostic message; version 0 does not expose its sink to the guest.
General guest-owned composition, layout, scrolling, tabs, grids, editable values, and accessibility semantics beyond the current flat AVP controls.
Specified direction · Native, Web, headless
Bounded, rate-limited application state with desktop and browser adapters, transactional writes, quotas, and no ambient filesystem access.
Policy design · Native, Web, headless test double
Explicit open/save grants for general applications, with browser file-picker parity and no path authority beyond the selected resource.
Policy design · Native, Web
Stable device, button, axis, connection, and disconnection events with deterministic dead-zone and ordering rules.
Adapter research · Web, macOS, Linux, Windows
Non-windowed lifecycle, structured standard streams, terminal capability negotiation, and deterministic headless execution for WAT applications.
Architecture proposal · Terminal, headless
Bounded font assets with stable family handles and identical native/browser shaping behavior beyond bundled Geist Mono.
Asset-contract proposal · Native, Web, headless
Combine one pinned Aedicule runtime and one exact .aed package into a normal platform application, then recover both constituents losslessly.
Delivery proposal · macOS, Linux, Windows