@prismshadow/penguin-library-trace · library/trace/src/ports.ts:54

HarnessHistoryBuilds

interface

What the history reads of the harness build on disk (the server's hmr manifest readers satisfy it).

API

@Interface()
export abstract class HarnessHistoryBuilds {
  abstract info(root: string): Promise<HarnessInfo | null>;
  abstract pushedBuild(root: string): Buffer | null;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Useconsumed by (1)

Members (2)

info

info(root: string): Promise<HarnessInfo | null>

The runtime's current commit (harness.json), or null on a packaged boot.

@paramrootstring
@returnsPromise<HarnessInfo | null>

pushedBuild

pushedBuild(root: string): Buffer | null

The pushed upgrade body — bundles, web archive, assets, provenance — or null when nothing was pushed here.

@paramrootstring
@returnsBuffer | null