Question
I'm developing in a hybrid environment where:
- Project code resides/runs on a remote server (for computational requirements or data constraints).
- The server is in a restricted internal network with no outbound access to model APIs (e.g., OpenAI, Anthropic) or authentication endpoints.
- I need OpenCode (installed locally on my Mac) to:
- Connect to the remote server for code editing/synchronization.
- Execute scripts on the remote server's environment (leveraging its resources).
- But route all model API calls and authentication exclusively through my local Mac (which has internet access and stores credentials securely).
I previously tried directory mounting, but it broke script execution paths and dependencies.
Does OpenCode support this workflow natively?
Question
I'm developing in a hybrid environment where:
I previously tried directory mounting, but it broke script execution paths and dependencies.
Does OpenCode support this workflow natively?