mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-09 02:54:55 +00:00
fix(browser): retain upload arguments during inspection
This commit is contained in:
parent
cc13d3fbe6
commit
f5f0e95210
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ const request = Effect.fn("BrowserConnection.request")(function* (
|
|||
const requestID = crypto.randomUUID()
|
||||
const pending = yield* Deferred.make<Browser.Result, Tool.Error>()
|
||||
const command =
|
||||
action.type === "files.upload" || action.type === "files.drop"
|
||||
(action.type === "files.upload" || action.type === "files.drop") && !inspection.inspect
|
||||
? { ...action, paths: files.map((file) => file.name) }
|
||||
: action
|
||||
browser.pending.set(requestID, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue