mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
fix(daemon): let macOS terminal shells download cloud-only files (STA-11929) (#33623)
This commit is contained in:
@@ -218,6 +218,7 @@ it('launches the copied helper on plain Node and leaves no inherited credentials
|
||||
Label: macDaemonJobLabel(state.root),
|
||||
KeepAlive: false,
|
||||
AssociatedBundleIdentifiers: ['com.stablyai.orca'],
|
||||
MaterializeDatalessFiles: true,
|
||||
EnvironmentVariables: { ORCA_TEST_SECRET: 'test-value' }
|
||||
})
|
||||
expect(JSON.stringify(job)).not.toContain('NODE_CHANNEL_FD')
|
||||
|
||||
@@ -76,6 +76,8 @@ function buildMacDaemonLaunchJob(
|
||||
// Associate plist-launched jobs with Orca for Local Network access.
|
||||
AssociatedBundleIdentifiers: [LOCAL_BUILD_COMPATIBILITY_CONTRACT.appId],
|
||||
ProcessType: 'Interactive',
|
||||
// launchd disables cloud-file downloads for jobs unless asked; shells need them like Terminal.app.
|
||||
MaterializeDatalessFiles: true,
|
||||
StandardOutPath: '/dev/null',
|
||||
StandardErrorPath: '/dev/null'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user