INNER CODE UNIT · JavaScript
ANALYZER_MAX_BUFFER
agent-sh/agentsys · lib/binary/index.js:55
const ANALYZER_MAX_BUFFER = 256 * 1024 * 1024;
const { ANALYZER_MIN_VERSION, BINARY_NAME, GITHUB_REPO } = require('./version');
const PLATFORM_MAP = {
'darwin-arm64': 'aarch64-apple-darwin',
'darwin-x64': 'x86_64-apple-darwin',
'linux-x64': 'x86_64-unknown-linux-gnu',
'linux-arm64': 'aarch64-unknown-linux-gnu',
'win32-x64': 'x86_64-pc-windows-msvc'
};
// ---------------------------------------------------------------------------
// Path helpers
// ---------------------------------------------------------------------------
/**
* Returns the expected path to the agent-analyzer binary.