agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,34 @@
import { LogLevel } from './types';
interface PackageManagerProps {
readonly lockFile: string;
readonly installCommand: string[];
readonly runCommand: string[];
readonly argsSeparator?: string;
}
export declare enum LockFile {
NPM = "package-lock.json",
YARN = "yarn.lock",
BUN = "bun.lockb",
BUN_LOCK = "bun.lock",
PNPM = "pnpm-lock.yaml"
}
/**
* A node package manager
*/
export declare class PackageManager {
/**
* Use a lock file path to determine the package manager to use. Optionally, specify a log level to
* control its verbosity.
* @param lockFilePath Path of the lock file
* @param logLevel optional log level @default LogLevel.INFO
* @returns the right PackageManager for that lock file
*/
static fromLockFile(lockFilePath: string, logLevel?: LogLevel): PackageManager;
readonly lockFile: string;
readonly installCommand: string[];
readonly runCommand: string[];
readonly argsSeparator?: string;
constructor(props: PackageManagerProps);
runBinCommand(bin: string): string[];
}
export {};