@opengeni/runtime 2.5.2-canary.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +0,0 @@
1
- import type { TarWorkspaceArchiveDescriptor } from "@opengeni/contracts";
2
- /** Process-owned, reopenable archive bytes. Never persisted as a local path. */
3
- export type WorkspaceArchiveSpool = {
4
- path: string;
5
- byteSize: number;
6
- sha256: string;
7
- open: () => AsyncIterable<Uint8Array>;
8
- dispose: () => Promise<void>;
9
- };
10
- export type VerifiedHostWorkspaceArchive = {
11
- kind: "host_spool";
12
- spool: WorkspaceArchiveSpool;
13
- descriptor: TarWorkspaceArchiveDescriptor;
14
- };
@@ -1,19 +0,0 @@
1
- import type { WorkspaceTreeFingerprint } from "@opengeni/contracts";
2
- import type { WorkspaceArchiveSpool } from "./archive-spool.js";
3
- /** Matches SDK 0.14.3 resolveSandboxArchiveLimits: absent/null means unlimited;
4
- * an explicit object fills undefined fields with SDK defaults, null disables a field.
5
- * chunkBytes controls buffering, never the amount of input accepted. */
6
- export type HostWorkspaceArchiveOptions = {
7
- chunkBytes?: number;
8
- archiveLimits?: {
9
- maxInputBytes?: number | null;
10
- maxExtractedBytes?: number | null;
11
- maxMembers?: number | null;
12
- } | null;
13
- };
14
- export declare function fingerprintHostWorkspace(root: string, excludedPaths: readonly string[]): Promise<WorkspaceTreeFingerprint>;
15
- export declare function captureHostWorkspaceArchive(root: string, excludedPaths: readonly string[]): Promise<{
16
- spool: WorkspaceArchiveSpool;
17
- workspace: WorkspaceTreeFingerprint;
18
- }>;
19
- export declare function restoreHostWorkspaceArchive(root: string, spool: WorkspaceArchiveSpool, options?: HostWorkspaceArchiveOptions): Promise<void>;
@@ -1,16 +0,0 @@
1
- import type { TarWorkspaceArchiveDescriptor } from "@opengeni/contracts";
2
-
3
- /** Process-owned, reopenable archive bytes. Never persisted as a local path. */
4
- export type WorkspaceArchiveSpool = {
5
- path: string;
6
- byteSize: number;
7
- sha256: string;
8
- open: () => AsyncIterable<Uint8Array>;
9
- dispose: () => Promise<void>;
10
- };
11
-
12
- export type VerifiedHostWorkspaceArchive = {
13
- kind: "host_spool";
14
- spool: WorkspaceArchiveSpool;
15
- descriptor: TarWorkspaceArchiveDescriptor;
16
- };