You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish .NET sandbox packages for macOS Apple Silicon #202
Hyperlight v0.17.0 added macOS Apple Silicon support (hyperlight-dev/hyperlight#1674), but the published .NET sandbox packages do not currently include macOS native assets.
Yes, I started to look at this but we need to finish up one more item in hyperlight to fully enable it hyperlight-dev/hyperlight#1690 for hyperlight-wasm which is used in the project
Hyperlight v0.17.0 added macOS Apple Silicon support (hyperlight-dev/hyperlight#1674), but the published .NET sandbox packages do not currently include macOS native assets.
warn: McpServer.CodeMode.SandboxRunnerFactory[0]
Falling back to local sandbox runner because Hyperlight runner could not be created.
System.DllNotFoundException: Unable to load shared library '/Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/bin/Debug/net10.0/runtimes/linux-x64/native/libhyperlight_sandbox_dotnet_ffi.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/bin/Debug/net10.0/runtimes/linux-x64/native/libhyperlight_sandbox_dotnet_ffi.so, 0x0001): tried: '/Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/bin/Debug/net10.0/runtimes/linux-x64/native/libhyperlight_sandbox_dotnet_ffi.so' (slice is not valid mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/bin/Debug/net10.0/runtimes/linux-x64/native/libhyperlight_sandbox_dotnet_ffi.so' (no such file), '/Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/bin/Debug/net10.0/runtimes/linux-x64/native/libhyperlight_sandbox_dotnet_ffi.so' (slice is not valid mach-o file)
at System.Runtime.InteropServices.NativeLibrary.Load(String libraryPath)
at HyperlightSandbox.PInvoke.SafeNativeMethods.DllImportResolver(String libraryName, Assembly assembly, Nullable`1 searchPath)
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at HyperlightSandbox.PInvoke.SafeNativeMethods.hyperlight_sandbox_create(FFISandboxOptions options)
at HyperlightSandbox.PInvoke.SafeNativeMethods.hyperlight_sandbox_create(FFISandboxOptions options)
at HyperlightSandbox.Api.Sandbox..ctor(String modulePath, UInt64 heapSize, UInt64 stackSize, String inputDir, String outputDir, Boolean tempOutput, Nullable`1 filesystemLimits, SandboxBackend backend)
at HyperlightSandbox.Api.SandboxBuilder.Build()
at McpServer.CodeMode.Hyperlight.HyperlightSandboxRunner..ctor(TimeSpan timeout, Int32 maxToolCalls, ILogger`1 logger, IReadOnlyList`1 allowedBaseUrls) in /Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/CodeMode/Hyperlight/HyperlightSandboxRunner.cs:line 39
at McpServer.CodeMode.SandboxRunnerFactory.Create(IConfiguration configuration, ILoggerFactory loggerFactory, IReadOnlyList`1 allowedBaseUrls) in /Users/chungt02/source_codes/oss/agent-engineering-experiment/mcp-experiments/src/McpServer/CodeMode/SandboxRunnerFactory.cs:line 60
Activity
jsturtevant commentedon Sep 11, 2026
Yes, I started to look at this but we need to finish up one more item in hyperlight to fully enable it hyperlight-dev/hyperlight#1690 for hyperlight-wasm which is used in the project
thangchung commentedon Sep 15, 2026
I have got the error, just like to said above
Looking forward to hyperlight-dev/hyperlight#1690; then we can solve this problem completely.
jsturtevant commentedon Oct 17, 2026
The core hl pr merged. The hl-wasm and hl-js prs are in flight