feat(bsk): fix upload function that cannot bypass layout

This commit is contained in:
Ljy-0827
2026-08-24 15:00:22 +08:00
parent bef722107f
commit 14e5bbe4fc
20 changed files with 1033 additions and 630 deletions
+6 -5
View File
@@ -33,9 +33,10 @@ export type RpcErrorReason =
| "restricted_tab_url"
| "borrow_conflict"
| "screenshot_capture_failed"
| "file_chooser_control_failed"
| "file_chooser_not_opened"
| "unsupported_file_chooser"
| "file_input_probe_failed"
| "file_input_not_activated"
| "set_file_input_failed"
| "download_capture_failed"
| "cleanup_failed";
export interface RpcErrorData {
@@ -531,7 +532,7 @@ export interface DownloadParams {
selector?: string;
tab_id?: number;
timeout_ms?: number;
staging_path?: string;
browser_relative_dir?: string;
}
export interface DownloadResult {
@@ -542,7 +543,7 @@ export interface DownloadResult {
byte_size: number;
mime?: string;
danger?: string;
staged_path?: string;
browser_path?: string;
transfer_id?: string;
}