Skip to content

Commit 78d4c75

Browse files
release: v0.1.6
- Import: inspect/preview before importing; add merged-bundle (batch zip) inspection + entry preview - History: simplify favorite UI; improve long-field rendering - CI: switch pnpm to v10
1 parent ce5fcd9 commit 78d4c75

11 files changed

Lines changed: 1158 additions & 361 deletions

File tree

‎.github/workflows/build-bundles.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ jobs:
2222
- name: Setup pnpm
2323
uses: pnpm/action-setup@v4
2424
with:
25-
version: 9
25+
version: 10
2626

2727
- name: Setup Node
2828
uses: actions/setup-node@v4
2929
with:
3030
node-version: 20
31-
cache: pnpm
3231

3332
- name: Setup Rust
3433
uses: dtolnay/rust-toolchain@stable

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codexrelay",
33
"private": true,
4-
"version": "0.1.5",
4+
"version": "0.1.6",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

‎src-tauri/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src-tauri/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codexrelay"
3-
version = "0.1.5"
3+
version = "0.1.6"
44
description = "Cross-device Codex CLI session transfer manager"
55
authors = ["you"]
66
edition = "2021"

‎src-tauri/src/lib.rs‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ async fn inspect_bundle(
9393
.map_err(|e| AppError::internal(format!("inspect task join error: {e}")))?
9494
}
9595

96+
#[tauri::command]
97+
async fn inspect_batch_zip(
98+
app: tauri::AppHandle,
99+
bundle_path: String,
100+
) -> AppResult<ops::InspectBatchZipResult> {
101+
tauri::async_runtime::spawn_blocking(move || ops::inspect_batch_zip(&app, &bundle_path))
102+
.await
103+
.map_err(|e| AppError::internal(format!("inspect-batch task join error: {e}")))?
104+
}
105+
96106
#[tauri::command]
97107
async fn import_bundle(
98108
app: tauri::AppHandle,
@@ -364,6 +374,16 @@ async fn preview_bundle(
364374
.map_err(AppError::from)
365375
}
366376

377+
#[tauri::command]
378+
async fn preview_batch_zip_entry(
379+
app: tauri::AppHandle,
380+
params: ops::PreviewBatchZipEntryParams,
381+
) -> AppResult<preview::RolloutPreview> {
382+
tauri::async_runtime::spawn_blocking(move || ops::preview_batch_zip_entry(&app, params))
383+
.await
384+
.map_err(|e| AppError::internal(format!("preview-batch task join error: {e}")))?
385+
}
386+
367387
#[tauri::command]
368388
async fn extract_session_ids_from_file(
369389
_app: tauri::AppHandle,
@@ -394,6 +414,7 @@ pub fn run() {
394414
export_bundle,
395415
export_sessions,
396416
inspect_bundle,
417+
inspect_batch_zip,
397418
import_bundle,
398419
import_bundles,
399420
change_session_id,
@@ -407,6 +428,7 @@ pub fn run() {
407428
vault_usage,
408429
preview_rollout,
409430
preview_bundle,
431+
preview_batch_zip_entry,
410432
extract_session_ids_from_file,
411433
check_update
412434
])

0 commit comments

Comments
 (0)