v0.1.0-pre.061

This commit is contained in:
2026-07-28 18:41:30 +02:00
parent c7bad46f50
commit f40fb78817
527 changed files with 4598 additions and 4114 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-app-demo-desktop/src/tauri.rs
// version: 15
// version: 17
//! Tauri runtime assembly and private command wrappers.
@@ -76,8 +76,8 @@ pub fn run() -> kb_core::Result<()> {
demo_execution_spl_validation_scenarios,
demo_execution_spl_token_execute,
demo_spl_token_journal,
demo_execution_spl_token2022_execute,
demo_spl_token2022_fixture,
demo_execution_spl_token_2022_execute,
demo_spl_token_2022_fixture,
demo_spl_ata_derive,
demo_execution_spl_ata_execute,
demo_spl_ata_journal,
@@ -424,6 +424,7 @@ async fn demo_decode_replay_execute(
unmatched = summary.unmatched,
not_started = summary.not_started,
failed_inputs = summary.failed_inputs,
processing_error_inputs = summary.processing_error_inputs,
cancelled = summary.cancelled,
processors = ?summary.processors,
"contextual decode replay command completed"
@@ -1326,13 +1327,13 @@ fn demo_execution_spl_validation_scenarios()
label: scenario.label,
family: match scenario.family {
kb_pipeline_demo_scenarios::DevnetSplValidationFamily::Token2022Public => {
"token2022_public".to_string()
"token_2022_public".to_string()
},
kb_pipeline_demo_scenarios::DevnetSplValidationFamily::ElGamalRegistry => {
"elgamal_registry".to_string()
},
kb_pipeline_demo_scenarios::DevnetSplValidationFamily::Token2022Confidential => {
"token2022_confidential".to_string()
"token_2022_confidential".to_string()
},
},
operation_code: scenario.operation_code,
@@ -1712,7 +1713,7 @@ async fn demo_spl_ata_journal(
/// Executes one public Token-2022 simulation or explicitly authorized Devnet submission.
#[tauri::command]
async fn demo_execution_spl_token2022_execute(
async fn demo_execution_spl_token_2022_execute(
app_handle: tauri::AppHandle,
state: tauri::State<'_, crate::AppState>,
request: crate::DemoExecutionSplToken2022Request,
@@ -1775,7 +1776,7 @@ async fn demo_execution_spl_token2022_execute(
cancel_requested: state.demo_execution_solana_core_cancel_requested(),
};
let workspace_root = crate::workspace_root_dir();
let summary = match kb_pipeline_demo_scenarios::execute_devnet_spl_token2022(
let summary = match kb_pipeline_demo_scenarios::execute_devnet_spl_token_2022(
&http_pool,
&store,
&profile,
@@ -1790,7 +1791,7 @@ async fn demo_execution_spl_token2022_execute(
std::result::Result::Ok(value) => value,
std::result::Result::Err(error) => return std::result::Result::Err(error.to_string()),
};
return std::result::Result::Ok(crate::demo_spl_token2022_summary_payload(
return std::result::Result::Ok(crate::demo_spl_token_2022_summary_payload(
request.scenario_id,
operation_code,
summary,
@@ -1799,7 +1800,7 @@ async fn demo_execution_spl_token2022_execute(
/// Loads public Token-2022 fixture values without reading private key bytes.
#[tauri::command]
fn demo_spl_token2022_fixture(
fn demo_spl_token_2022_fixture(
state: tauri::State<'_, crate::AppState>,
profile_name: std::string::String,
) -> std::result::Result<crate::DemoSplToken2022FixturePayload, std::string::String> {
@@ -1813,7 +1814,7 @@ fn demo_spl_token2022_fixture(
} else {
crate::workspace_root_dir().join(configured)
};
let fixture_path = wallet_dir.join("spl_token2022_validation").join("fixture.env");
let fixture_path = wallet_dir.join("spl_token_2022_validation").join("fixture.env");
let contents = match std::fs::read_to_string(&fixture_path) {
std::result::Result::Ok(value) => value,
std::result::Result::Err(error) => {