deploy: v0.12 存档迁移+考古日志滚动条

This commit is contained in:
2026-06-24 03:04:38 +00:00
parent 4831505ef9
commit b4c6111516
58986 changed files with 7569452 additions and 31667 deletions
+36
View File
@@ -0,0 +1,36 @@
import { FileSystemApi, FilesMap } from './modules/fs';
import type { FileWatchEvent } from './modules/fs';
import { ShellApi, ShellInfo, ShellProcess } from './modules/shell';
import { PreviewApi, PreviewInfo } from './modules/preview';
export type { ShellInfo, PreviewInfo, FilesMap, ShellProcess, FileWatchEvent };
export interface ChannelOptions {
iframe: HTMLIFrameElement;
/**
* A custom Nodebox runtime URL
*/
runtimeUrl?: string;
/**
* A custom Sandpack CDN URL.
*/
cdnUrl?: string;
}
/**
* Create a new Node emulator instance
*/
export declare class Nodebox {
private readonly options;
private channel;
private isConnected;
private url;
private fileSystemApi;
private shellApi;
private previewApi;
constructor(options: ChannelOptions);
/**
* Connect to the deployed Node Emulator instance.
*/
connect(): Promise<void>;
get fs(): FileSystemApi;
get shell(): ShellApi;
get preview(): PreviewApi;
}