mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 16:41:15 +00:00
* 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
52 lines
1.6 KiB
TypeScript
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[];
|