Files
orca/src/shared/remote-bundle-artifacts.ts
T
Brennan Benson 3a6bb347b5 Apply supported read-only controls to hidden text helpers (#38558)
* Keep background text generation read-only

* Align runtime MIME dependency in frozen lockfile

* Bundle MIME lookup data for background text tasks

* Preserve text task cancellation and process ownership during policy probes

* Update streamed generation fixture for permission probe

* fix: preserve naming recipes with compatible restrictions

* test: align naming contracts with single-attempt behavior

* fix: preserve older OpenCode helper restrictions

* test: complete OpenCode capability fixtures

* Separate supported read-only controls from naming retries
2026-11-06 04:15:29 -08:00

21 lines
859 B
TypeScript

/** Shared WSL guest/ripgrep artifact names. Keep erasable-only TypeScript: Node build-wsl-guest.mjs imports via 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'
/** Built into the WSL guest bundle dir; runs the owned OpenCode text task inside the distro. */
export const OPENCODE_WSL_TEXT_TASK_FILENAME = 'opencode-text-task-wsl.cjs'