ruvnet/ruflo · error · UnsupportedPlatformError

meta-proxy has no published release for ${platform}/${arch}

Error message

meta-proxy has no published release for ${platform}/${arch}

What it means

Error "meta-proxy has no published release for ${platform}/${arch}" thrown in ruvnet/ruflo.

Source

Thrown at v3/@claude-flow/cli/src/proxy/release.ts:36

  'x86_64-unknown-linux-gnu',
  'aarch64-unknown-linux-gnu',
  'x86_64-pc-windows-msvc',
] as const;
export type TargetTriple = (typeof TARGET_TRIPLES)[number];

export class UnsupportedPlatformError extends Error {
  constructor(platform: string, arch: string) {
    super(`meta-proxy has no published release for ${platform}/${arch}`);
    this.name = 'UnsupportedPlatformError';
  }
}

/** Maps the running Node process's platform/arch onto one of meta-proxy's 5 published triples. */
export function detectTargetTriple(platform: string = process.platform, arch: string = process.arch): TargetTriple {
  if (platform === 'darwin') return arch === 'arm64' ? 'aarch64-apple-darwin' : 'x86_64-apple-darwin';
  if (platform === 'linux') return arch === 'arm64' ? 'aarch64-unknown-linux-gnu' : 'x86_64-unknown-linux-gnu';
  if (platform === 'win32') {
    if (arch !== 'x64') throw new UnsupportedPlatformError(platform, arch);
    return 'x86_64-pc-windows-msvc';
  }
  throw new UnsupportedPlatformError(platform, arch);
}

export function releaseArchiveExtension(triple: TargetTriple): 'zip' | 'tar.gz' {
  return triple.endsWith('windows-msvc') ? 'zip' : 'tar.gz';
}

export function releaseAssetFilename(version: string, triple: TargetTriple): string {
  return `meta-proxy-${version}-${triple}.${releaseArchiveExtension(triple)}`;
}

export interface ReleaseAssets {
  archiveBytes: Buffer;
  archiveFilename: string;
  sumsBytes: Buffer;
  sigBase64: string;

View on GitHub (pinned to 6b01dc5a68)

When it happens

Trigger: Thrown at v3/@claude-flow/cli/src/proxy/release.ts:36 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@6b01dc5a68 (2026-08-12). Data as JSON: /api/errors/a14c4ce2f76d36d9. Report an issue: GitHub.