返回 DeepSeek-Reasonix
presentedFileNavigation.ts
根目录 / desktop / frontend / src / lib / presentedFileNavigation.ts
1 /**
2 * Compatibility seam for callers created with the first present-file UI.
3 *
4 * Navigation itself lives in the running instance's FileNavigationOwner, which
5 * the runtime registers through `fileNavigationCommands`. Nothing here holds a
6 * request, a listener or a cancellation controller of its own; these exports
7 * only keep the original names bound to the current instance.
8 */
9 import type { FileAction } from "./fileNavigationCommands";
10
11 export type { FileResourceRef, FileAccessContext, ResolvedFileResource } from "./fileResource";
12 export { resolveFileResourcePath } from "./fileResource";
13 export { openResource, performResourceAction } from "./fileNavigationCommands";
14 export type { FileNavigationOutcome } from "./fileNavigationOwner";
15
16 export type PresentedFileAction = FileAction;
17
17 lines TYPESCRIPT