Files
openclaw/scripts/lib/plain-gh.d.mts
Peter Steinberger c490117a9f fix(pr): harden coordinator hosted gates (#108153)
* fix(pr): route hosted gate reads through cache

* test(control-ui): stabilize process readiness

* fix(ci): stabilize startup memory sampling

* fix(gateway): route OpenClaw approval listing

* fix(state): reuse schema repair transaction

* test(agents): assert host authority scope

* chore(plugin-sdk): refresh API baseline

* test(agents): assert delegate tool fixture

* test(sessions): stabilize concurrency worker startup
2026-07-15 03:45:37 -07:00

52 lines
1.6 KiB
TypeScript

import type {
ExecFileSyncOptions,
ExecFileSyncOptionsWithBufferEncoding,
ExecFileSyncOptionsWithStringEncoding,
SpawnSyncOptions,
SpawnSyncOptionsWithBufferEncoding,
SpawnSyncOptionsWithStringEncoding,
SpawnSyncReturns,
} from "node:child_process";
export function plainGhEnv(env?: NodeJS.ProcessEnv): {
[key: string]: string | undefined;
};
export function resolvePlainGhBin(env?: NodeJS.ProcessEnv, systemCandidates?: string[]): string;
export function execPlainGh(
args: readonly string[],
options: ExecFileSyncOptionsWithStringEncoding,
): string;
export function execPlainGh(
args: readonly string[],
options?: ExecFileSyncOptionsWithBufferEncoding,
): Uint8Array<ArrayBuffer>;
export function execPlainGh(
args: readonly string[],
options?: ExecFileSyncOptions,
): string | Uint8Array<ArrayBuffer>;
export function execGhApiRead(
endpoint: string,
options: ExecFileSyncOptionsWithStringEncoding,
): string;
export function execGhApiRead(
endpoint: string,
options?: ExecFileSyncOptionsWithBufferEncoding,
): Uint8Array<ArrayBuffer>;
export function execGhApiRead(
endpoint: string,
options?: ExecFileSyncOptions,
): string | Uint8Array<ArrayBuffer>;
export function spawnPlainGh(
args: readonly string[],
options: SpawnSyncOptionsWithStringEncoding,
): SpawnSyncReturns<string>;
export function spawnPlainGh(
args: readonly string[],
options?: SpawnSyncOptionsWithBufferEncoding,
): SpawnSyncReturns<Uint8Array<ArrayBuffer>>;
export function spawnPlainGh(
args: readonly string[],
options?: SpawnSyncOptions,
): SpawnSyncReturns<string | Uint8Array<ArrayBuffer>>;
export const PLAIN_GH_SYSTEM_CANDIDATES: string[];