Files
orca/src/shared/remote-bundle-artifacts.ts
T

24 lines
849 B
TypeScript

/**
* Names and platforms shared by the bundles Orca ships to other machines: the WSL guest
* programs (`build-wsl-guest.mjs`, out/relay/wsl) and the per-platform ripgrep.
*
* Keep this file erasable-only TypeScript: build-wsl-guest.mjs imports it directly under Node's
* type stripping, which rejects enums, namespaces, and parameter properties.
*/
/** Every host platform Orca bundles programs for. */
export const REMOTE_BUNDLE_PLATFORMS = [
'linux-x64',
'linux-arm64',
'darwin-x64',
'darwin-arm64',
'win32-x64',
'win32-arm64'
] as const
export type RemoteBundlePlatform = (typeof REMOTE_BUNDLE_PLATFORMS)[number]
export const OPENCODE_SQLITE_READER_FILENAME = 'opencode-sqlite-reader.cjs'
/** Built into the WSL guest bundle dir (out/relay/wsl). */
export const WSL_CLAUDE_PROFILE_HELPER_FILENAME = 'claude-profile-wsl.cjs'