v0.1.0-pre.076
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: kb-app-demo-desktop/src/lib.rs
|
||||
// version: 15
|
||||
// version: 25
|
||||
|
||||
//! Tauri desktop demo application for `khadhroony-bot3`.
|
||||
|
||||
@@ -36,6 +36,8 @@ pub use self::tauri::run;
|
||||
|
||||
/// Shared application state managed by Tauri.
|
||||
pub(crate) use self::app_state::AppState;
|
||||
/// Canonical tracing target for the desktop demo application.
|
||||
pub(crate) use self::constants::TRACING_TARGET;
|
||||
/// Backfill observer forwarding pipeline progress to the Tauri window.
|
||||
pub(crate) use self::demo_backfill::DemoBackfillObserver;
|
||||
/// Initial options shown by the backfill window.
|
||||
@@ -52,12 +54,12 @@ pub(crate) use self::demo_backfill::DemoBackfillRoleOption;
|
||||
pub(crate) use self::demo_backfill::DemoBackfillRunGuard;
|
||||
/// Final UI-safe summary for one backfill campaign.
|
||||
pub(crate) use self::demo_backfill::DemoBackfillSummaryPayload;
|
||||
/// Builds one validated pipeline request from the UI contract.
|
||||
pub(crate) use self::demo_backfill::build_demo_backfill_pipeline_request;
|
||||
/// Builds selectable endpoint roles from the HTTP pool snapshot.
|
||||
pub(crate) use self::demo_backfill::build_role_options;
|
||||
/// Converts a pipeline summary to the UI-safe summary.
|
||||
pub(crate) use self::demo_backfill::demo_backfill_summary_payload;
|
||||
/// Requests cooperative cancellation of the active backfill campaign.
|
||||
pub(crate) use self::demo_backfill::demo_backfill_cancel;
|
||||
/// Executes one bounded backfill campaign and emits progress events.
|
||||
pub(crate) use self::demo_backfill::demo_backfill_execute;
|
||||
/// Returns endpoint roles, known programs and conservative backfill defaults.
|
||||
pub(crate) use self::demo_backfill::demo_backfill_options;
|
||||
/// Configuration payload shown by the configuration window.
|
||||
pub(crate) use self::demo_config::DemoConfigPayload;
|
||||
/// Builds the configuration payload from shared application state.
|
||||
@@ -77,15 +79,11 @@ pub(crate) use self::demo_core_extraction::DemoCoreExtractionRunGuard;
|
||||
/// Internal demo core extraction item.
|
||||
pub(crate) use self::demo_core_extraction::DemoCoreExtractionSummaryPayload;
|
||||
/// Internal demo core extraction item.
|
||||
pub(crate) use self::demo_core_extraction::build_demo_core_extraction_pipeline_request;
|
||||
pub(crate) use self::demo_core_extraction::demo_core_extraction_cancel;
|
||||
/// Internal demo core extraction item.
|
||||
pub(crate) use self::demo_core_extraction::cancel_demo_core_extraction;
|
||||
pub(crate) use self::demo_core_extraction::demo_core_extraction_execute;
|
||||
/// Internal demo core extraction item.
|
||||
pub(crate) use self::demo_core_extraction::demo_core_extraction_options_payload;
|
||||
/// Internal demo core extraction item.
|
||||
pub(crate) use self::demo_core_extraction::demo_core_extraction_summary_payload;
|
||||
/// Internal demo core extraction item.
|
||||
pub(crate) use self::demo_core_extraction::execute_demo_core_extraction;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::DemoDecodeCoverageSummaryPayload;
|
||||
/// Internal demo decode replay item.
|
||||
@@ -112,35 +110,29 @@ pub(crate) use self::demo_decode_replay::DemoDecodeReplaySummaryPayload;
|
||||
pub(crate) use self::demo_decode_replay::DemoTransactionAnnotationRequest;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::DemoTransactionAnnotationRow;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::annotation_payload;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::available_decoders;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::available_materializers;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::build_demo_decode_replay_pipeline_request;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::coverage_payload;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::demo_decode_replay_summary_payload;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::optional_line_count;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::register_active_campaign;
|
||||
/// Internal demo decode replay item.
|
||||
pub(crate) use self::demo_decode_replay::text_sample;
|
||||
/// Loads bounded materialized transaction annotations for the replay diagnostics panel.
|
||||
pub(crate) use self::demo_decode_replay::demo_decode_replay_annotations;
|
||||
/// Requests cooperative cancellation of the active decode replay campaign.
|
||||
pub(crate) use self::demo_decode_replay::demo_decode_replay_cancel;
|
||||
/// Loads aggregate diagnostics for the decode replay panel.
|
||||
pub(crate) use self::demo_decode_replay::demo_decode_replay_diagnostics;
|
||||
/// Executes one bounded contextual decode replay campaign.
|
||||
pub(crate) use self::demo_decode_replay::demo_decode_replay_execute;
|
||||
/// Returns available decoders and default replay bounds.
|
||||
pub(crate) use self::demo_decode_replay::demo_decode_replay_options;
|
||||
/// Readiness report for one Devnet profile PostgreSQL store.
|
||||
pub(crate) use self::demo_devnet_common::DemoExecutionDevnetStoreReadinessPayload;
|
||||
/// Converts the reusable scenario readiness report to the desktop TS-RS payload.
|
||||
pub(crate) use self::demo_devnet_common::devnet_store_readiness_payload;
|
||||
/// Serializes a diagnostic value to indented JSON without panicking.
|
||||
pub(crate) use self::demo_devnet_common::pretty_json;
|
||||
/// Request sent by the Memo v4 Devnet execution panel.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionMemoRequest;
|
||||
/// UI-safe result of one Memo v4 Devnet execution orchestration.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionMemoSummaryPayload;
|
||||
/// Public key generated for a disposable Devnet recipient.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreGeneratedRecipientPayload;
|
||||
/// ????
|
||||
/// Bridges reusable execution progress to desktop events.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreObserver;
|
||||
/// Initial options shown by the Solana Core execution demo.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreOptionsPayload;
|
||||
@@ -150,26 +142,32 @@ pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreProfileO
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreProgressPayload;
|
||||
/// Request sent by the execution demo.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreRequest;
|
||||
/// ????
|
||||
/// Restores the single-execution state flag when a run finishes.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreRunGuard;
|
||||
/// UI-safe result of one execution orchestration.
|
||||
pub(crate) use self::demo_execution_solana_core::DemoExecutionSolanaCoreSummaryPayload;
|
||||
/// ????
|
||||
/// Maps a confirmation status to its stable UI code.
|
||||
pub(crate) use self::demo_execution_solana_core::confirmation_status_code;
|
||||
/// ????
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_solana_core_memo_summary_payload;
|
||||
/// ????
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_solana_core_summary_payload;
|
||||
/// ????
|
||||
pub(crate) use self::demo_execution_solana_core::devnet_profile_options;
|
||||
/// ????
|
||||
/// Returns compatible Devnet profiles and conservative defaults.
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_devnet_prepare_profile;
|
||||
/// Requests cooperative cancellation before the next execution stage.
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_solana_core_cancel;
|
||||
/// Executes one bounded System transfer simulation or Devnet submission.
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_solana_core_execute;
|
||||
/// Generates a disposable recipient public key without exposing its private key.
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_solana_core_generate_recipient;
|
||||
/// Returns compatible Devnet profiles and conservative defaults.
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_solana_core_options;
|
||||
/// Executes one Memo v4 simulation or explicitly authorized Devnet submission.
|
||||
pub(crate) use self::demo_execution_solana_core::demo_execution_spl_memo_execute;
|
||||
/// Maps an execution cluster to its stable UI code.
|
||||
pub(crate) use self::demo_execution_solana_core::execution_cluster_code;
|
||||
/// ????
|
||||
pub(crate) use self::demo_execution_solana_core::pretty_json;
|
||||
/// ????
|
||||
/// Selects and validates one Devnet profile by name.
|
||||
pub(crate) use self::demo_execution_solana_core::select_devnet_profile;
|
||||
/// Frontend payload for one independent Devnet SPL validation scenario.
|
||||
pub(crate) use self::demo_execution_spl::DevnetSplValidationScenarioPayload;
|
||||
/// Returns the complete ordered Devnet SPL validation inventory for milestone 0.4.6.
|
||||
pub(crate) use self::demo_execution_spl::demo_execution_spl_validation_scenarios;
|
||||
/// HTTP demo response payload.
|
||||
pub(crate) use self::demo_http::DemoHttpExecutionPayload;
|
||||
/// One selectable HTTP JSON-RPC method.
|
||||
@@ -180,12 +178,12 @@ pub(crate) use self::demo_http::DemoHttpOptionsPayload;
|
||||
pub(crate) use self::demo_http::DemoHttpRequest;
|
||||
/// One selectable HTTP endpoint role.
|
||||
pub(crate) use self::demo_http::DemoHttpRoleOption;
|
||||
/// Builds the HTTP method inventory.
|
||||
pub(crate) use self::demo_http::build_http_method_options;
|
||||
/// Builds the HTTP role inventory from pool snapshots.
|
||||
pub(crate) use self::demo_http::build_http_role_options;
|
||||
/// Executes one raw HTTP JSON-RPC request.
|
||||
pub(crate) use self::demo_http::demo_http_execute_request_inner;
|
||||
pub(crate) use self::demo_http::demo_http_execute_request;
|
||||
/// Returns the configured HTTP pool client snapshots.
|
||||
pub(crate) use self::demo_http::demo_http_list_pool_clients;
|
||||
/// Returns HTTP roles, methods and conservative defaults.
|
||||
pub(crate) use self::demo_http::demo_http_options;
|
||||
/// Request for one representative ATA creation on Devnet.
|
||||
pub(crate) use self::demo_spl_ata::DemoExecutionSplAtaRequest;
|
||||
/// UI-safe ATA execution result.
|
||||
@@ -198,18 +196,12 @@ pub(crate) use self::demo_spl_ata::DemoSplAtaDerivationRequest;
|
||||
pub(crate) use self::demo_spl_ata::DemoSplAtaJournalRequest;
|
||||
/// One UI-safe ATA lifecycle journal row.
|
||||
pub(crate) use self::demo_spl_ata::DemoSplAtaJournalRow;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_ata::demo_spl_ata_summary_payload;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_ata::derive_ata;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_ata::journal_matches;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_ata::journal_row;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_ata::load_profile_wallet;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_ata::parse_token_program;
|
||||
/// Executes one representative Create or CreateIdempotent ATA flow.
|
||||
pub(crate) use self::demo_spl_ata::demo_execution_spl_ata_execute;
|
||||
/// Derives the representative profile wallet ATA without exposing private key material.
|
||||
pub(crate) use self::demo_spl_ata::demo_spl_ata_derive;
|
||||
/// Loads a bounded journal of ATA-owned lifecycle facts.
|
||||
pub(crate) use self::demo_spl_ata::demo_spl_ata_journal;
|
||||
/// Request for one checked classic SPL Token transfer on Devnet.
|
||||
pub(crate) use self::demo_spl_token::DemoExecutionSplTokenRequest;
|
||||
/// UI-safe result of one checked SPL Token transfer orchestration.
|
||||
@@ -218,26 +210,20 @@ pub(crate) use self::demo_spl_token::DemoExecutionSplTokenSummaryPayload;
|
||||
pub(crate) use self::demo_spl_token::DemoSplTokenJournalRequest;
|
||||
/// UI-safe materialized classic SPL Token journal row.
|
||||
pub(crate) use self::demo_spl_token::DemoSplTokenJournalRow;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_token::demo_spl_token_journal_row;
|
||||
/// Executes one checked SPL Token simulation or explicitly authorized Devnet submission.
|
||||
pub(crate) use self::demo_spl_token::demo_spl_token_summary_payload;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_token::payload_matches;
|
||||
pub(crate) use self::demo_spl_token::demo_execution_spl_token_execute;
|
||||
/// Loads a bounded, typed journal of committed classic SPL Token projections.
|
||||
pub(crate) use self::demo_spl_token::validate_journal_request;
|
||||
pub(crate) use self::demo_spl_token::demo_spl_token_journal;
|
||||
/// Request for one independent public Token-2022 Devnet scenario.
|
||||
pub(crate) use self::demo_spl_token_2022::DemoExecutionSplToken2022Request;
|
||||
/// UI-safe result of one public Token-2022 Devnet orchestration.
|
||||
pub(crate) use self::demo_spl_token_2022::DemoExecutionSplToken2022SummaryPayload;
|
||||
/// Public values loaded from one persisted Token-2022 validation fixture.
|
||||
pub(crate) use self::demo_spl_token_2022::DemoSplToken2022FixturePayload;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_token_2022::demo_spl_token_2022_summary_payload;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_token_2022::operation_from_request;
|
||||
/// ????
|
||||
pub(crate) use self::demo_spl_token_2022::parse_fixture;
|
||||
/// Executes one public Token-2022 simulation or explicitly authorized Devnet submission.
|
||||
pub(crate) use self::demo_spl_token_2022::demo_execution_spl_token_2022_execute;
|
||||
/// Loads public Token-2022 fixture values without reading private key bytes.
|
||||
pub(crate) use self::demo_spl_token_2022::demo_spl_token_2022_fixture;
|
||||
/// UI-safe SQL table diagnostic snapshot.
|
||||
pub(crate) use self::demo_sql_common::DemoSqlTableSnapshot;
|
||||
/// Connects to the configured PostgreSQL store.
|
||||
@@ -254,10 +240,16 @@ pub(crate) use self::demo_sql_common::table_snapshot_from_pg;
|
||||
pub(crate) use self::demo_sql_common::table_snapshots_from_pg;
|
||||
/// SQL diagnostic payload.
|
||||
pub(crate) use self::demo_sql_diag::DemoSqlDiagPayload;
|
||||
/// Loads read-only SQL diagnostics from the active profile.
|
||||
pub(crate) use self::demo_sql_diag::load_demo_sql_diag;
|
||||
/// PostgreSQL core-table payload.
|
||||
pub(crate) use self::demo_sql_pg_core::DemoSqlPgCorePayload;
|
||||
/// Loads read-only core table diagnostics from PostgreSQL.
|
||||
pub(crate) use self::demo_sql_pg_core::load_demo_sql_pg_core;
|
||||
/// PostgreSQL raw-table payload.
|
||||
pub(crate) use self::demo_sql_pg_raw::DemoSqlPgRawPayload;
|
||||
/// Loads read-only raw table diagnostics from PostgreSQL.
|
||||
pub(crate) use self::demo_sql_pg_raw::load_demo_sql_pg_raw;
|
||||
/// SQL replay entity request.
|
||||
pub(crate) use self::demo_sql_replay_candidates::DemoSqlReplayEntityRequest;
|
||||
/// SQL replay entity row.
|
||||
@@ -274,22 +266,16 @@ pub(crate) use self::demo_sql_replay_candidates::DemoSqlReplayProgramRow;
|
||||
pub(crate) use self::demo_sql_replay_candidates::DemoSqlReplayTransactionRequest;
|
||||
/// SQL replay transaction row.
|
||||
pub(crate) use self::demo_sql_replay_candidates::DemoSqlReplayTransactionRow;
|
||||
/// Resolves an available CSV path.
|
||||
pub(crate) use self::demo_sql_replay_candidates::available_csv_export_path;
|
||||
/// Parses an entity-kind code.
|
||||
pub(crate) use self::demo_sql_replay_candidates::entity_kind_from_code;
|
||||
/// Converts a PostgreSQL entity row.
|
||||
pub(crate) use self::demo_sql_replay_candidates::entity_row_from_pg;
|
||||
/// Parses an optional entity-kind code.
|
||||
pub(crate) use self::demo_sql_replay_candidates::optional_entity_kind_from_code;
|
||||
/// Converts a PostgreSQL program row.
|
||||
pub(crate) use self::demo_sql_replay_candidates::program_row_from_pg;
|
||||
/// Parses a program-scope code.
|
||||
pub(crate) use self::demo_sql_replay_candidates::program_scope_from_code;
|
||||
/// Converts a PostgreSQL transaction row.
|
||||
pub(crate) use self::demo_sql_replay_candidates::transaction_row_from_pg;
|
||||
/// Validates a CSV filename.
|
||||
pub(crate) use self::demo_sql_replay_candidates::validated_csv_file_name;
|
||||
/// Loads static browser options from the active PostgreSQL profile.
|
||||
pub(crate) use self::demo_sql_replay_candidates::demo_sql_replay_options;
|
||||
/// Writes a bounded replay-candidate CSV file into `./data/exports_csv/`.
|
||||
pub(crate) use self::demo_sql_replay_candidates::export_demo_sql_replay_csv;
|
||||
/// Loads bounded mint, owner or account-key summaries from PostgreSQL core tables.
|
||||
pub(crate) use self::demo_sql_replay_candidates::load_demo_sql_replay_entities;
|
||||
/// Loads bounded program summaries from PostgreSQL.
|
||||
pub(crate) use self::demo_sql_replay_candidates::load_demo_sql_replay_programs;
|
||||
/// Loads bounded transaction replay candidates from PostgreSQL.
|
||||
pub(crate) use self::demo_sql_replay_candidates::load_demo_sql_replay_transactions;
|
||||
/// WebSocket execution response payload.
|
||||
pub(crate) use self::demo_ws::DemoWsExecutionPayload;
|
||||
/// WebSocket message emitted to the frontend.
|
||||
@@ -308,18 +294,18 @@ pub(crate) use self::demo_ws::DemoWsStatusPayload;
|
||||
pub(crate) use self::demo_ws::DemoWsSubscriptionStatusPayload;
|
||||
/// WebSocket unsubscribe request.
|
||||
pub(crate) use self::demo_ws::DemoWsUnsubscribeRequest;
|
||||
/// Builds the standard WebSocket method inventory.
|
||||
pub(crate) use self::demo_ws::build_ws_method_options;
|
||||
/// Builds selectable WebSocket roles from pool snapshots.
|
||||
pub(crate) use self::demo_ws::build_ws_role_options;
|
||||
/// Connects and subscribes through the persistent WebSocket session.
|
||||
pub(crate) use self::demo_ws::demo_ws_connect_inner;
|
||||
pub(crate) use self::demo_ws::demo_ws_connect;
|
||||
/// Disconnects the persistent WebSocket session.
|
||||
pub(crate) use self::demo_ws::demo_ws_disconnect_inner;
|
||||
pub(crate) use self::demo_ws::demo_ws_disconnect;
|
||||
/// Lists WebSocket endpoints available through the configured pool.
|
||||
pub(crate) use self::demo_ws::demo_ws_list_pool_clients;
|
||||
/// Lists selectable WebSocket roles and methods for the demo UI.
|
||||
pub(crate) use self::demo_ws::demo_ws_options;
|
||||
/// Returns the current WebSocket session status.
|
||||
pub(crate) use self::demo_ws::demo_ws_status_inner;
|
||||
pub(crate) use self::demo_ws::demo_ws_status;
|
||||
/// Unsubscribes one active WebSocket subscription.
|
||||
pub(crate) use self::demo_ws::demo_ws_unsubscribe_inner;
|
||||
pub(crate) use self::demo_ws::demo_ws_unsubscribe;
|
||||
/// Disconnects the persistent WebSocket session during application shutdown.
|
||||
pub(crate) use self::demo_ws::disconnect_demo_ws_app_state;
|
||||
/// Frontend logging payload.
|
||||
@@ -341,10 +327,4 @@ pub(crate) use self::splash::SplashOrder;
|
||||
/// Emits one order to the splash frontend.
|
||||
pub(crate) use self::splash::emit_splash_order;
|
||||
/// Runs the startup sequence after the splash frontend is ready.
|
||||
pub(crate) use self::splash::splash_frontend_ready_inner;
|
||||
/// Waits for the minimum splash duration.
|
||||
pub(crate) use self::splash::wait_until_minimum;
|
||||
|
||||
// Keep the canonical tracing target as the final facade export.
|
||||
/// Canonical tracing target for the desktop demo application.
|
||||
pub(crate) use self::constants::TRACING_TARGET;
|
||||
pub(crate) use self::splash::splash_frontend_ready;
|
||||
|
||||
Reference in New Issue
Block a user