mirror of
https://github.com/stablyai/orca.git
synced 2026-10-03 08:02:12 +00:00
Merge remote-tracking branch 'origin/main' into err-pr-3-composer-drop-failures
This commit is contained in:
@@ -17,6 +17,7 @@ import type {
|
||||
LocalLogTailWatchArgs
|
||||
} from '../../shared/local-log-tail-types'
|
||||
import type { SshMutationExpectation } from '../../shared/ssh-types'
|
||||
import type { RuntimeUploadFileStreamRequest } from '../../shared/runtime-upload-staging-contract'
|
||||
|
||||
export type ExportApi = {
|
||||
htmlToPdf: (args: {
|
||||
@@ -143,6 +144,9 @@ export type FilesystemApi = {
|
||||
stageExternalPathsForRuntimeUpload: (args: {
|
||||
sourcePaths: string[]
|
||||
}) => Promise<{ sources: StagedExternalImportSource[] }>
|
||||
uploadExternalFileToRuntime: (
|
||||
args: RuntimeUploadFileStreamRequest
|
||||
) => Promise<{ byteLength: number }>
|
||||
resolveDroppedPathsForAgent: (
|
||||
args: {
|
||||
paths: string[]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import type { PathExistenceResult } from '../../shared/path-existence-batch'
|
||||
import { ipcRenderer } from 'electron'
|
||||
import type { SshMutationExpectation } from '../../shared/ssh-types'
|
||||
import type { RuntimeUploadFileStreamRequest } from '../../shared/runtime-upload-staging-contract'
|
||||
import type { SearchResult } from '../../shared/code-search-types'
|
||||
import type { FsChangedPayload } from '../../shared/filesystem-entry-types'
|
||||
import type {
|
||||
@@ -161,6 +162,9 @@ export const fsApi = {
|
||||
sourcePaths: string[]
|
||||
}): Promise<{ sources: StagedExternalImportSource[] }> =>
|
||||
ipcRenderer.invoke('fs:stageExternalPathsForRuntimeUpload', args),
|
||||
uploadExternalFileToRuntime: (
|
||||
args: RuntimeUploadFileStreamRequest
|
||||
): Promise<{ byteLength: number }> => ipcRenderer.invoke('fs:uploadExternalFileToRuntime', args),
|
||||
resolveDroppedPathsForAgent: (
|
||||
args: {
|
||||
paths: string[]
|
||||
|
||||
Reference in New Issue
Block a user