@tracecode/harness 0.6.5 → 0.7.0-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -0
- package/README.md +134 -15
- package/THIRD_PARTY_NOTICES.md +170 -0
- package/dist/browser.cjs +2361 -1033
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +33 -3
- package/dist/browser.d.ts +33 -3
- package/dist/browser.js +2357 -1033
- package/dist/browser.js.map +1 -1
- package/dist/cli.cjs +160 -23
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +161 -24
- package/dist/cli.js.map +1 -1
- package/dist/core.cjs +748 -867
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +21 -85
- package/dist/core.d.ts +21 -85
- package/dist/core.js +734 -855
- package/dist/core.js.map +1 -1
- package/dist/cpp-worker-client-Bn7kC0_L.d.ts +84 -0
- package/dist/cpp-worker-client-BzdJLuZa.d.cts +84 -0
- package/dist/cpp.cjs +1063 -0
- package/dist/cpp.cjs.map +1 -0
- package/dist/cpp.d.cts +7 -0
- package/dist/cpp.d.ts +7 -0
- package/dist/cpp.js +1035 -0
- package/dist/cpp.js.map +1 -0
- package/dist/csharp-worker-client-DMHIa2YG.d.cts +69 -0
- package/dist/csharp-worker-client-JwqS6LiX.d.ts +69 -0
- package/dist/csharp.cjs +1012 -0
- package/dist/csharp.cjs.map +1 -0
- package/dist/csharp.d.cts +7 -0
- package/dist/csharp.d.ts +7 -0
- package/dist/csharp.js +984 -0
- package/dist/csharp.js.map +1 -0
- package/dist/index.cjs +3142 -1160
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -5
- package/dist/index.d.ts +13 -5
- package/dist/index.js +3117 -1148
- package/dist/index.js.map +1 -1
- package/dist/internal/browser.cjs +1639 -30
- package/dist/internal/browser.cjs.map +1 -1
- package/dist/internal/browser.d.cts +6 -199
- package/dist/internal/browser.d.ts +6 -199
- package/dist/internal/browser.js +1636 -30
- package/dist/internal/browser.js.map +1 -1
- package/dist/java-worker-client-BOwKW-11.d.cts +72 -0
- package/dist/java-worker-client-C97DDnCp.d.ts +72 -0
- package/dist/java.cjs +1225 -0
- package/dist/java.cjs.map +1 -0
- package/dist/java.d.cts +7 -0
- package/dist/java.d.ts +7 -0
- package/dist/java.js +1197 -0
- package/dist/java.js.map +1 -0
- package/dist/javascript-worker-client-CYBGEEvc.d.cts +51 -0
- package/dist/javascript-worker-client-DIX1Mp21.d.ts +51 -0
- package/dist/javascript.cjs +1063 -19
- package/dist/javascript.cjs.map +1 -1
- package/dist/javascript.d.cts +7 -4
- package/dist/javascript.d.ts +7 -4
- package/dist/javascript.js +1061 -19
- package/dist/javascript.js.map +1 -1
- package/dist/pyodide-worker-client-C-2rfHj9.d.ts +111 -0
- package/dist/pyodide-worker-client-Cn0a8Uv3.d.cts +111 -0
- package/dist/python.cjs +1282 -74
- package/dist/python.cjs.map +1 -1
- package/dist/python.d.cts +20 -14
- package/dist/python.d.ts +20 -14
- package/dist/python.js +1279 -74
- package/dist/python.js.map +1 -1
- package/dist/runtime-language-info-BFUSti3-.d.ts +43 -0
- package/dist/runtime-language-info-Bxza1cI2.d.cts +43 -0
- package/dist/runtime-types-2qM0MukN.d.cts +244 -0
- package/dist/runtime-types-2qM0MukN.d.ts +244 -0
- package/package.json +73 -8
- package/workers/cpp/cpp-compiler-frame.html +82 -0
- package/workers/cpp/cpp-compiler-worker.js +131 -0
- package/workers/cpp/cpp-worker.js +5790 -0
- package/workers/cpp/tracecode_runtime.hpp +6147 -0
- package/workers/csharp/csharp-worker.js +301 -0
- package/workers/java/.build/classes/harness/browser/JavaRewriteLibrary.class +0 -0
- package/workers/java/java-source-augmentations.js +880 -0
- package/workers/java/java-worker.js +2256 -170
- package/workers/java/src/harness/browser/JavaRewriteLibrary.java +1645 -32
- package/workers/java/src/javafx/util/Pair.java +42 -0
- package/workers/java/src/tracecode/browser/BrowserCompileAndTraceLibrary.java +714 -0
- package/workers/java/src/tracecode/browser/BrowserCompileAndTraceMain.java +76 -0
- package/workers/java/src/tracecode/browser/RuntimeProbeMain.java +14 -0
- package/workers/java/src/tracecode/user/TraceHooks.java +1406 -0
- package/workers/javascript/javascript-libraries-entry.js +71 -0
- package/workers/javascript/javascript-worker.js +2054 -424
- package/workers/python/generated-python-harness-snippets.js +4 -4
- package/workers/python/pyodide-worker.js +222 -61
- package/workers/python/runtime-core.js +1387 -301
- package/workers/vendor/csharp/.stamp +0 -0
- package/workers/vendor/csharp/TraceCode.CSharpHost.runtimeconfig.json +32 -0
- package/workers/vendor/csharp/_framework/Microsoft.CSharp.wasm +0 -0
- package/workers/vendor/csharp/_framework/Microsoft.CodeAnalysis.CSharp.wasm +0 -0
- package/workers/vendor/csharp/_framework/Microsoft.CodeAnalysis.wasm +0 -0
- package/workers/vendor/csharp/_framework/Microsoft.VisualBasic.Core.wasm +0 -0
- package/workers/vendor/csharp/_framework/Microsoft.VisualBasic.wasm +0 -0
- package/workers/vendor/csharp/_framework/Microsoft.Win32.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/Microsoft.Win32.Registry.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.AppContext.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Buffers.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Collections.Concurrent.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Collections.Immutable.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Collections.NonGeneric.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Collections.Specialized.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Collections.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ComponentModel.Annotations.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ComponentModel.DataAnnotations.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ComponentModel.EventBasedAsync.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ComponentModel.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ComponentModel.TypeConverter.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ComponentModel.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Configuration.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Console.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Core.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Data.Common.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Data.DataSetExtensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Data.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.Contracts.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.Debug.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.DiagnosticSource.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.FileVersionInfo.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.Process.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.StackTrace.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.TextWriterTraceListener.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.Tools.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.TraceSource.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Diagnostics.Tracing.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Drawing.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Drawing.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Dynamic.Runtime.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Formats.Asn1.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Formats.Tar.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Globalization.Calendars.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Globalization.Extensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Globalization.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Compression.Brotli.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Compression.FileSystem.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Compression.ZipFile.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Compression.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.FileSystem.AccessControl.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.FileSystem.DriveInfo.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.FileSystem.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.FileSystem.Watcher.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.FileSystem.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.IsolatedStorage.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.MemoryMappedFiles.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Pipelines.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Pipes.AccessControl.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.Pipes.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.UnmanagedMemoryStream.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.IO.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Linq.AsyncEnumerable.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Linq.Expressions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Linq.Parallel.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Linq.Queryable.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Linq.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Memory.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Http.Json.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Http.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.HttpListener.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Mail.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.NameResolution.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.NetworkInformation.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Ping.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Quic.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Requests.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Security.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.ServerSentEvents.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.ServicePoint.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.Sockets.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.WebClient.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.WebHeaderCollection.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.WebProxy.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.WebSockets.Client.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.WebSockets.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Net.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Numerics.Vectors.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Numerics.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ObjectModel.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Private.CoreLib.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Private.DataContractSerialization.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Private.Uri.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Private.Xml.Linq.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Private.Xml.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.DispatchProxy.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.Emit.ILGeneration.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.Emit.Lightweight.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.Emit.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.Extensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.Metadata.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.TypeExtensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Reflection.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Resources.Reader.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Resources.ResourceManager.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Resources.Writer.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.CompilerServices.Unsafe.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.CompilerServices.VisualC.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Extensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Handles.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.InteropServices.RuntimeInformation.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.InteropServices.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Intrinsics.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Loader.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Numerics.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Serialization.Formatters.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Serialization.Json.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Serialization.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Serialization.Xml.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.Serialization.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Runtime.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.AccessControl.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Claims.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.Algorithms.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.Cng.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.Csp.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.Encoding.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.OpenSsl.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.Primitives.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.X509Certificates.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Cryptography.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Principal.Windows.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.Principal.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.SecureString.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Security.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ServiceModel.Web.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ServiceProcess.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Text.Encoding.CodePages.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Text.Encoding.Extensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Text.Encoding.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Text.Encodings.Web.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Text.Json.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Text.RegularExpressions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.AccessControl.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Channels.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Overlapped.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Tasks.Dataflow.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Tasks.Extensions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Tasks.Parallel.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Tasks.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Thread.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.ThreadPool.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.Timer.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Threading.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Transactions.Local.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Transactions.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.ValueTuple.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Web.HttpUtility.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Web.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Windows.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.Linq.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.ReaderWriter.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.Serialization.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.XDocument.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.XPath.XDocument.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.XPath.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.XmlDocument.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.XmlSerializer.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.Xml.wasm +0 -0
- package/workers/vendor/csharp/_framework/System.wasm +0 -0
- package/workers/vendor/csharp/_framework/TraceCode.CSharpHost.wasm +0 -0
- package/workers/vendor/csharp/_framework/WindowsBase.wasm +0 -0
- package/workers/vendor/csharp/_framework/cs/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/cs/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/de/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/de/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/dotnet.boot.js +1958 -0
- package/workers/vendor/csharp/_framework/dotnet.js +4 -0
- package/workers/vendor/csharp/_framework/dotnet.js.map +1 -0
- package/workers/vendor/csharp/_framework/dotnet.native.js +6687 -0
- package/workers/vendor/csharp/_framework/dotnet.native.wasm +0 -0
- package/workers/vendor/csharp/_framework/dotnet.runtime.js +4 -0
- package/workers/vendor/csharp/_framework/dotnet.runtime.js.map +1 -0
- package/workers/vendor/csharp/_framework/es/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/es/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/fr/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/fr/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/it/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/it/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/ja/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/ja/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/ko/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/ko/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/mscorlib.wasm +0 -0
- package/workers/vendor/csharp/_framework/netstandard.wasm +0 -0
- package/workers/vendor/csharp/_framework/pl/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/pl/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/pt-BR/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/ru/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/ru/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/0_Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/100_System.Reflection.Emit.ILGeneration.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/101_System.Reflection.Emit.Lightweight.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/102_System.Reflection.Extensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/103_System.Reflection.Metadata.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/104_System.Reflection.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/105_System.Reflection.TypeExtensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/106_System.Resources.Reader.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/107_System.Resources.ResourceManager.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/108_System.Resources.Writer.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/109_System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/10_System.Buffers.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/110_System.Runtime.CompilerServices.VisualC.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/111_System.Runtime.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/112_System.Runtime.Extensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/113_System.Runtime.Handles.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/114_System.Runtime.InteropServices.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/115_System.Runtime.InteropServices.JavaScript.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/116_System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/117_System.Runtime.Intrinsics.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/118_System.Runtime.Loader.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/119_System.Runtime.Numerics.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/11_System.Collections.Concurrent.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/120_System.Runtime.Serialization.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/121_System.Runtime.Serialization.Formatters.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/122_System.Runtime.Serialization.Json.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/123_System.Runtime.Serialization.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/124_System.Runtime.Serialization.Xml.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/125_System.Security.AccessControl.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/126_System.Security.Claims.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/127_System.Security.Cryptography.Algorithms.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/128_System.Security.Cryptography.Cng.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/129_System.Security.Cryptography.Csp.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/12_System.Collections.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/130_System.Security.Cryptography.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/131_System.Security.Cryptography.Encoding.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/132_System.Security.Cryptography.OpenSsl.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/133_System.Security.Cryptography.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/134_System.Security.Cryptography.X509Certificates.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/135_System.Security.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/136_System.Security.Principal.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/137_System.Security.Principal.Windows.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/138_System.Security.SecureString.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/139_System.ServiceModel.Web.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/13_System.Collections.Immutable.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/140_System.ServiceProcess.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/141_System.Text.Encoding.CodePages.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/142_System.Text.Encoding.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/143_System.Text.Encoding.Extensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/144_System.Text.Encodings.Web.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/145_System.Text.Json.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/146_System.Text.RegularExpressions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/147_System.Threading.AccessControl.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/148_System.Threading.Channels.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/149_System.Threading.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/14_System.Collections.NonGeneric.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/150_System.Threading.Overlapped.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/151_System.Threading.Tasks.Dataflow.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/152_System.Threading.Tasks.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/153_System.Threading.Tasks.Extensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/154_System.Threading.Tasks.Parallel.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/155_System.Threading.Thread.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/156_System.Threading.ThreadPool.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/157_System.Threading.Timer.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/158_System.Transactions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/159_System.Transactions.Local.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/15_System.Collections.Specialized.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/160_System.ValueTuple.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/161_System.Web.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/162_System.Web.HttpUtility.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/163_System.Windows.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/164_System.Xml.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/165_System.Xml.Linq.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/166_System.Xml.ReaderWriter.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/167_System.Xml.Serialization.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/168_System.Xml.XDocument.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/169_System.Xml.XmlDocument.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/16_System.ComponentModel.Annotations.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/170_System.Xml.XmlSerializer.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/171_System.Xml.XPath.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/172_System.Xml.XPath.XDocument.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/173_TraceCode.CSharpHost.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/174_WindowsBase.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/17_System.ComponentModel.DataAnnotations.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/18_System.ComponentModel.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/19_System.ComponentModel.EventBasedAsync.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/1_Microsoft.CodeAnalysis.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/20_System.ComponentModel.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/21_System.ComponentModel.TypeConverter.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/22_System.Configuration.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/23_System.Console.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/24_System.Core.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/25_System.Data.Common.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/26_System.Data.DataSetExtensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/27_System.Data.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/28_System.Diagnostics.Contracts.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/29_System.Diagnostics.Debug.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/2_Microsoft.CSharp.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/30_System.Diagnostics.DiagnosticSource.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/31_System.Diagnostics.FileVersionInfo.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/32_System.Diagnostics.Process.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/33_System.Diagnostics.StackTrace.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/34_System.Diagnostics.TextWriterTraceListener.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/35_System.Diagnostics.Tools.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/36_System.Diagnostics.TraceSource.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/37_System.Diagnostics.Tracing.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/38_System.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/39_System.Drawing.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/3_Microsoft.VisualBasic.Core.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/40_System.Drawing.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/41_System.Dynamic.Runtime.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/42_System.Formats.Asn1.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/43_System.Formats.Tar.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/44_System.Globalization.Calendars.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/45_System.Globalization.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/46_System.Globalization.Extensions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/47_System.IO.Compression.Brotli.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/48_System.IO.Compression.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/49_System.IO.Compression.FileSystem.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/4_Microsoft.VisualBasic.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/50_System.IO.Compression.ZipFile.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/51_System.IO.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/52_System.IO.FileSystem.AccessControl.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/53_System.IO.FileSystem.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/54_System.IO.FileSystem.DriveInfo.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/55_System.IO.FileSystem.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/56_System.IO.FileSystem.Watcher.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/57_System.IO.IsolatedStorage.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/58_System.IO.MemoryMappedFiles.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/59_System.IO.Pipelines.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/5_Microsoft.Win32.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/60_System.IO.Pipes.AccessControl.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/61_System.IO.Pipes.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/62_System.IO.UnmanagedMemoryStream.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/63_System.Linq.AsyncEnumerable.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/64_System.Linq.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/65_System.Linq.Expressions.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/66_System.Linq.Parallel.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/67_System.Linq.Queryable.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/68_System.Memory.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/69_System.Net.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/6_Microsoft.Win32.Registry.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/70_System.Net.Http.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/71_System.Net.Http.Json.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/72_System.Net.HttpListener.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/73_System.Net.Mail.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/74_System.Net.NameResolution.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/75_System.Net.NetworkInformation.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/76_System.Net.Ping.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/77_System.Net.Primitives.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/78_System.Net.Quic.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/79_System.Net.Requests.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/7_mscorlib.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/80_System.Net.Security.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/81_System.Net.ServerSentEvents.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/82_System.Net.ServicePoint.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/83_System.Net.Sockets.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/84_System.Net.WebClient.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/85_System.Net.WebHeaderCollection.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/86_System.Net.WebProxy.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/87_System.Net.WebSockets.Client.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/88_System.Net.WebSockets.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/89_System.Numerics.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/8_netstandard.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/90_System.Numerics.Vectors.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/91_System.ObjectModel.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/92_System.Private.CoreLib.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/93_System.Private.DataContractSerialization.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/94_System.Private.Uri.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/95_System.Private.Xml.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/96_System.Private.Xml.Linq.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/97_System.Reflection.DispatchProxy.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/98_System.Reflection.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/99_System.Reflection.Emit.dll +0 -0
- package/workers/vendor/csharp/_framework/supportFiles/9_System.AppContext.dll +0 -0
- package/workers/vendor/csharp/_framework/tr/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/tr/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/zh-Hans/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.wasm +0 -0
- package/workers/vendor/csharp/_framework/zh-Hant/Microsoft.CodeAnalysis.resources.wasm +0 -0
- package/workers/vendor/csharp/main.mjs +5 -0
- package/workers/vendor/csharp/package.json +1 -0
- package/workers/vendor/java-browser-helper.jar +0 -0
- package/workers/vendor/java-rewriter.jar +0 -0
- package/workers/vendor/javascript-libraries.js +10106 -0
- package/dist/runtime-types-89nchXlY.d.cts +0 -89
- package/dist/runtime-types-CCQ-ZLc9.d.ts +0 -89
- package/dist/types-zyvpJKCi.d.cts +0 -100
- package/dist/types-zyvpJKCi.d.ts +0 -100
- package/workers/java/java-source-augmentations.cjs +0 -242
- package/workers/java/src/spike/user/TraceHooks.java +0 -619
- package/workers/vendor/java-browser-spike-helper.jar +0 -0
- package/workers/vendor/java-practice-rewriter.jar +0 -0
- package/workers/vendor/java-rewrite-bridge.jar +0 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
declare const RUNTIME_TRACE_SCHEMA_VERSION = "runtime-trace-2026-04-28";
|
|
2
|
+
type RuntimeTraceEventKind = 'line' | 'call' | 'return' | 'read' | 'write' | 'mutate' | 'snapshot' | 'stdout' | 'exception' | 'timeout';
|
|
3
|
+
type RuntimeTraceTarget = {
|
|
4
|
+
variable: string;
|
|
5
|
+
scope?: 'local' | 'global' | 'builtin' | 'receiver';
|
|
6
|
+
} | {
|
|
7
|
+
variable: string;
|
|
8
|
+
path: Array<string | number>;
|
|
9
|
+
indexSources?: Array<string | null>;
|
|
10
|
+
scope?: 'local' | 'global' | 'builtin' | 'receiver';
|
|
11
|
+
} | {
|
|
12
|
+
objectId: string;
|
|
13
|
+
path?: Array<string | number>;
|
|
14
|
+
indexSources?: Array<string | null>;
|
|
15
|
+
};
|
|
16
|
+
interface RuntimeTraceCallFrame {
|
|
17
|
+
function: string;
|
|
18
|
+
line?: number;
|
|
19
|
+
args?: Record<string, unknown> | unknown[];
|
|
20
|
+
}
|
|
21
|
+
interface RuntimeTraceBaseEvent {
|
|
22
|
+
kind: RuntimeTraceEventKind;
|
|
23
|
+
runId: string;
|
|
24
|
+
file?: string;
|
|
25
|
+
line?: number;
|
|
26
|
+
column?: number;
|
|
27
|
+
frameId?: string;
|
|
28
|
+
callStack?: RuntimeTraceCallFrame[];
|
|
29
|
+
}
|
|
30
|
+
type RuntimeTraceEvent = (RuntimeTraceBaseEvent & {
|
|
31
|
+
kind: 'line';
|
|
32
|
+
line: number;
|
|
33
|
+
function?: string;
|
|
34
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
35
|
+
kind: 'call';
|
|
36
|
+
line: number;
|
|
37
|
+
function: string;
|
|
38
|
+
args?: Record<string, unknown> | unknown[];
|
|
39
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
40
|
+
kind: 'return';
|
|
41
|
+
line: number;
|
|
42
|
+
function?: string;
|
|
43
|
+
value?: unknown;
|
|
44
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
45
|
+
kind: 'read' | 'write';
|
|
46
|
+
line: number;
|
|
47
|
+
target: RuntimeTraceTarget;
|
|
48
|
+
value?: unknown;
|
|
49
|
+
binding?: RuntimeTraceIterationBinding;
|
|
50
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
51
|
+
kind: 'mutate';
|
|
52
|
+
line: number;
|
|
53
|
+
target: RuntimeTraceTarget;
|
|
54
|
+
method?: string;
|
|
55
|
+
args?: unknown[];
|
|
56
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
57
|
+
kind: 'snapshot';
|
|
58
|
+
line: number;
|
|
59
|
+
target: RuntimeTraceTarget;
|
|
60
|
+
value: unknown;
|
|
61
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
62
|
+
kind: 'stdout';
|
|
63
|
+
text: string;
|
|
64
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
65
|
+
kind: 'exception';
|
|
66
|
+
message: string;
|
|
67
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
68
|
+
kind: 'timeout';
|
|
69
|
+
message: string;
|
|
70
|
+
reason?: 'trace-limit' | 'line-limit' | 'single-line-limit' | 'client-timeout';
|
|
71
|
+
});
|
|
72
|
+
interface RuntimeTrace {
|
|
73
|
+
schemaVersion: typeof RUNTIME_TRACE_SCHEMA_VERSION;
|
|
74
|
+
language: Language;
|
|
75
|
+
runId: string;
|
|
76
|
+
events: RuntimeTraceEvent[];
|
|
77
|
+
lineEventCount: number;
|
|
78
|
+
traceStepCount: number;
|
|
79
|
+
}
|
|
80
|
+
interface RuntimeTraceIterationBinding {
|
|
81
|
+
kind?: 'iteration';
|
|
82
|
+
variable: string;
|
|
83
|
+
}
|
|
84
|
+
interface RuntimeTraceOptions {
|
|
85
|
+
runId?: string;
|
|
86
|
+
file?: string;
|
|
87
|
+
}
|
|
88
|
+
declare function createEmptyRuntimeTrace(language: Language, options?: RuntimeTraceOptions): RuntimeTrace;
|
|
89
|
+
interface RuntimeTraceParityAccessTarget {
|
|
90
|
+
kind: 'read' | 'write' | 'mutate';
|
|
91
|
+
variable?: string;
|
|
92
|
+
pathDepth?: number;
|
|
93
|
+
}
|
|
94
|
+
interface RuntimeTraceParitySignature {
|
|
95
|
+
lineSequence: number[];
|
|
96
|
+
eventKindsByLine: Record<number, RuntimeTraceEventKind[]>;
|
|
97
|
+
variableSnapshotsByLine: Record<number, string[]>;
|
|
98
|
+
accessTargetsByLine: Record<number, RuntimeTraceParityAccessTarget[]>;
|
|
99
|
+
callReturnShape: Array<'call' | 'return'>;
|
|
100
|
+
}
|
|
101
|
+
declare function withRuntimeTraceOptions(trace: RuntimeTrace, options?: RuntimeTraceOptions): RuntimeTrace;
|
|
102
|
+
declare function buildRuntimeTraceParitySignature(trace: RuntimeTrace): RuntimeTraceParitySignature;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Execution types for browser runtime contracts.
|
|
106
|
+
*/
|
|
107
|
+
type ExecutionStatus = 'idle' | 'loading' | 'ready' | 'running' | 'stepping' | 'paused' | 'completed' | 'error';
|
|
108
|
+
interface TestResult {
|
|
109
|
+
id: string;
|
|
110
|
+
passed: boolean;
|
|
111
|
+
input: Record<string, unknown>;
|
|
112
|
+
expected: unknown;
|
|
113
|
+
actual: unknown;
|
|
114
|
+
error?: string;
|
|
115
|
+
warning?: string;
|
|
116
|
+
executionTimeMs?: number;
|
|
117
|
+
}
|
|
118
|
+
interface RuntimeExecutionTimings {
|
|
119
|
+
totalMs?: number;
|
|
120
|
+
initMs?: number;
|
|
121
|
+
warmupMs?: number;
|
|
122
|
+
toolchainLoadMs?: number;
|
|
123
|
+
rewriteMs?: number;
|
|
124
|
+
driverBuildMs?: number;
|
|
125
|
+
compileMs?: number;
|
|
126
|
+
linkMs?: number;
|
|
127
|
+
wasmCompileMs?: number;
|
|
128
|
+
classLoadMs?: number;
|
|
129
|
+
runMs?: number;
|
|
130
|
+
hostCallMs?: number;
|
|
131
|
+
compileCacheHit?: boolean;
|
|
132
|
+
}
|
|
133
|
+
interface CodeExecutionResult {
|
|
134
|
+
success: boolean;
|
|
135
|
+
output: unknown;
|
|
136
|
+
error?: string;
|
|
137
|
+
errorLine?: number;
|
|
138
|
+
consoleOutput?: string[];
|
|
139
|
+
timeoutReason?: 'trace-limit' | 'line-limit' | 'single-line-limit' | 'recursion-limit' | 'memory-limit' | 'client-timeout';
|
|
140
|
+
diagnosticStage?: 'compile' | 'runtime' | 'trace' | 'interview' | 'driver-compile' | 'trace-driver-compile' | 'driver-link';
|
|
141
|
+
timings?: RuntimeExecutionTimings;
|
|
142
|
+
}
|
|
143
|
+
interface ExecutionResult {
|
|
144
|
+
success: boolean;
|
|
145
|
+
output?: unknown;
|
|
146
|
+
error?: string;
|
|
147
|
+
errorLine?: number;
|
|
148
|
+
trace: RuntimeTrace;
|
|
149
|
+
executionTimeMs: number;
|
|
150
|
+
consoleOutput: string[];
|
|
151
|
+
traceLimitExceeded?: boolean;
|
|
152
|
+
maxTraceSteps?: number;
|
|
153
|
+
timeoutReason?: 'trace-limit' | 'line-limit' | 'single-line-limit' | 'recursion-limit' | 'memory-limit' | 'client-timeout';
|
|
154
|
+
lineEventCount?: number;
|
|
155
|
+
traceStepCount?: number;
|
|
156
|
+
timings?: RuntimeExecutionTimings;
|
|
157
|
+
}
|
|
158
|
+
interface PyodideState {
|
|
159
|
+
status: 'loading' | 'ready' | 'error';
|
|
160
|
+
error?: Error;
|
|
161
|
+
loadTimeMs?: number;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type Language = 'python' | 'javascript' | 'typescript' | 'java' | 'csharp' | 'cpp';
|
|
165
|
+
type RuntimeExecutionStyle = 'function' | 'solution-method' | 'ops-class';
|
|
166
|
+
type RuntimeMaturity = 'experimental' | 'beta' | 'stable';
|
|
167
|
+
interface RuntimeCapabilities {
|
|
168
|
+
execution: {
|
|
169
|
+
styles: {
|
|
170
|
+
function: boolean;
|
|
171
|
+
solutionMethod: boolean;
|
|
172
|
+
opsClass: boolean;
|
|
173
|
+
script: boolean;
|
|
174
|
+
interviewMode: boolean;
|
|
175
|
+
};
|
|
176
|
+
timeouts: {
|
|
177
|
+
clientTimeouts: boolean;
|
|
178
|
+
runtimeTimeouts: boolean;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
tracing: {
|
|
182
|
+
supported: boolean;
|
|
183
|
+
events: {
|
|
184
|
+
line: boolean;
|
|
185
|
+
call: boolean;
|
|
186
|
+
return: boolean;
|
|
187
|
+
exception: boolean;
|
|
188
|
+
stdout: boolean;
|
|
189
|
+
timeout: boolean;
|
|
190
|
+
};
|
|
191
|
+
controls: {
|
|
192
|
+
maxTraceSteps: boolean;
|
|
193
|
+
maxLineEvents: boolean;
|
|
194
|
+
maxSingleLineHits: boolean;
|
|
195
|
+
maxStoredEvents: boolean;
|
|
196
|
+
minimalTrace: boolean;
|
|
197
|
+
};
|
|
198
|
+
fidelity: {
|
|
199
|
+
preciseLineMapping: boolean;
|
|
200
|
+
stableFunctionNames: boolean;
|
|
201
|
+
callStack: boolean;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
diagnostics: {
|
|
205
|
+
compileErrors: boolean;
|
|
206
|
+
runtimeErrors: boolean;
|
|
207
|
+
mappedErrorLines: boolean;
|
|
208
|
+
stackTraces: boolean;
|
|
209
|
+
};
|
|
210
|
+
structures: {
|
|
211
|
+
treeNodeRefs: boolean;
|
|
212
|
+
listNodeRefs: boolean;
|
|
213
|
+
mapSerialization: boolean;
|
|
214
|
+
setSerialization: boolean;
|
|
215
|
+
graphSerialization: boolean;
|
|
216
|
+
cycleReferences: boolean;
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
interface TraceBudget {
|
|
220
|
+
maxTraceSteps?: number;
|
|
221
|
+
maxLineEvents?: number;
|
|
222
|
+
maxSingleLineHits?: number;
|
|
223
|
+
maxStoredEvents?: number;
|
|
224
|
+
}
|
|
225
|
+
interface TraceExecutionOptions extends TraceBudget {
|
|
226
|
+
minimalTrace?: boolean;
|
|
227
|
+
}
|
|
228
|
+
interface LanguageRuntimeProfile {
|
|
229
|
+
language: Language;
|
|
230
|
+
maturity: RuntimeMaturity;
|
|
231
|
+
capabilities: RuntimeCapabilities;
|
|
232
|
+
notes?: string[];
|
|
233
|
+
}
|
|
234
|
+
interface RuntimeClient {
|
|
235
|
+
init(): Promise<{
|
|
236
|
+
success: boolean;
|
|
237
|
+
loadTimeMs: number;
|
|
238
|
+
}>;
|
|
239
|
+
executeWithTracing(code: string, functionName: string | null, inputs: Record<string, unknown>, options?: TraceExecutionOptions, executionStyle?: RuntimeExecutionStyle): Promise<ExecutionResult>;
|
|
240
|
+
executeCode(code: string, functionName: string, inputs: Record<string, unknown>, executionStyle?: RuntimeExecutionStyle): Promise<CodeExecutionResult>;
|
|
241
|
+
executeCodeInterviewMode(code: string, functionName: string, inputs: Record<string, unknown>, executionStyle?: RuntimeExecutionStyle): Promise<CodeExecutionResult>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export { type CodeExecutionResult as C, type ExecutionResult as E, type Language as L, type PyodideState as P, RUNTIME_TRACE_SCHEMA_VERSION as R, type TestResult as T, type ExecutionStatus as a, type LanguageRuntimeProfile as b, type RuntimeCapabilities as c, type RuntimeClient as d, type RuntimeExecutionStyle as e, type RuntimeExecutionTimings as f, type RuntimeMaturity as g, type RuntimeTrace as h, type RuntimeTraceCallFrame as i, type RuntimeTraceEvent as j, type RuntimeTraceEventKind as k, type RuntimeTraceIterationBinding as l, type RuntimeTraceOptions as m, type RuntimeTraceParityAccessTarget as n, type RuntimeTraceParitySignature as o, type RuntimeTraceTarget as p, type TraceBudget as q, type TraceExecutionOptions as r, buildRuntimeTraceParitySignature as s, createEmptyRuntimeTrace as t, withRuntimeTraceOptions as w };
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
declare const RUNTIME_TRACE_SCHEMA_VERSION = "runtime-trace-2026-04-28";
|
|
2
|
+
type RuntimeTraceEventKind = 'line' | 'call' | 'return' | 'read' | 'write' | 'mutate' | 'snapshot' | 'stdout' | 'exception' | 'timeout';
|
|
3
|
+
type RuntimeTraceTarget = {
|
|
4
|
+
variable: string;
|
|
5
|
+
scope?: 'local' | 'global' | 'builtin' | 'receiver';
|
|
6
|
+
} | {
|
|
7
|
+
variable: string;
|
|
8
|
+
path: Array<string | number>;
|
|
9
|
+
indexSources?: Array<string | null>;
|
|
10
|
+
scope?: 'local' | 'global' | 'builtin' | 'receiver';
|
|
11
|
+
} | {
|
|
12
|
+
objectId: string;
|
|
13
|
+
path?: Array<string | number>;
|
|
14
|
+
indexSources?: Array<string | null>;
|
|
15
|
+
};
|
|
16
|
+
interface RuntimeTraceCallFrame {
|
|
17
|
+
function: string;
|
|
18
|
+
line?: number;
|
|
19
|
+
args?: Record<string, unknown> | unknown[];
|
|
20
|
+
}
|
|
21
|
+
interface RuntimeTraceBaseEvent {
|
|
22
|
+
kind: RuntimeTraceEventKind;
|
|
23
|
+
runId: string;
|
|
24
|
+
file?: string;
|
|
25
|
+
line?: number;
|
|
26
|
+
column?: number;
|
|
27
|
+
frameId?: string;
|
|
28
|
+
callStack?: RuntimeTraceCallFrame[];
|
|
29
|
+
}
|
|
30
|
+
type RuntimeTraceEvent = (RuntimeTraceBaseEvent & {
|
|
31
|
+
kind: 'line';
|
|
32
|
+
line: number;
|
|
33
|
+
function?: string;
|
|
34
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
35
|
+
kind: 'call';
|
|
36
|
+
line: number;
|
|
37
|
+
function: string;
|
|
38
|
+
args?: Record<string, unknown> | unknown[];
|
|
39
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
40
|
+
kind: 'return';
|
|
41
|
+
line: number;
|
|
42
|
+
function?: string;
|
|
43
|
+
value?: unknown;
|
|
44
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
45
|
+
kind: 'read' | 'write';
|
|
46
|
+
line: number;
|
|
47
|
+
target: RuntimeTraceTarget;
|
|
48
|
+
value?: unknown;
|
|
49
|
+
binding?: RuntimeTraceIterationBinding;
|
|
50
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
51
|
+
kind: 'mutate';
|
|
52
|
+
line: number;
|
|
53
|
+
target: RuntimeTraceTarget;
|
|
54
|
+
method?: string;
|
|
55
|
+
args?: unknown[];
|
|
56
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
57
|
+
kind: 'snapshot';
|
|
58
|
+
line: number;
|
|
59
|
+
target: RuntimeTraceTarget;
|
|
60
|
+
value: unknown;
|
|
61
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
62
|
+
kind: 'stdout';
|
|
63
|
+
text: string;
|
|
64
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
65
|
+
kind: 'exception';
|
|
66
|
+
message: string;
|
|
67
|
+
}) | (RuntimeTraceBaseEvent & {
|
|
68
|
+
kind: 'timeout';
|
|
69
|
+
message: string;
|
|
70
|
+
reason?: 'trace-limit' | 'line-limit' | 'single-line-limit' | 'client-timeout';
|
|
71
|
+
});
|
|
72
|
+
interface RuntimeTrace {
|
|
73
|
+
schemaVersion: typeof RUNTIME_TRACE_SCHEMA_VERSION;
|
|
74
|
+
language: Language;
|
|
75
|
+
runId: string;
|
|
76
|
+
events: RuntimeTraceEvent[];
|
|
77
|
+
lineEventCount: number;
|
|
78
|
+
traceStepCount: number;
|
|
79
|
+
}
|
|
80
|
+
interface RuntimeTraceIterationBinding {
|
|
81
|
+
kind?: 'iteration';
|
|
82
|
+
variable: string;
|
|
83
|
+
}
|
|
84
|
+
interface RuntimeTraceOptions {
|
|
85
|
+
runId?: string;
|
|
86
|
+
file?: string;
|
|
87
|
+
}
|
|
88
|
+
declare function createEmptyRuntimeTrace(language: Language, options?: RuntimeTraceOptions): RuntimeTrace;
|
|
89
|
+
interface RuntimeTraceParityAccessTarget {
|
|
90
|
+
kind: 'read' | 'write' | 'mutate';
|
|
91
|
+
variable?: string;
|
|
92
|
+
pathDepth?: number;
|
|
93
|
+
}
|
|
94
|
+
interface RuntimeTraceParitySignature {
|
|
95
|
+
lineSequence: number[];
|
|
96
|
+
eventKindsByLine: Record<number, RuntimeTraceEventKind[]>;
|
|
97
|
+
variableSnapshotsByLine: Record<number, string[]>;
|
|
98
|
+
accessTargetsByLine: Record<number, RuntimeTraceParityAccessTarget[]>;
|
|
99
|
+
callReturnShape: Array<'call' | 'return'>;
|
|
100
|
+
}
|
|
101
|
+
declare function withRuntimeTraceOptions(trace: RuntimeTrace, options?: RuntimeTraceOptions): RuntimeTrace;
|
|
102
|
+
declare function buildRuntimeTraceParitySignature(trace: RuntimeTrace): RuntimeTraceParitySignature;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Execution types for browser runtime contracts.
|
|
106
|
+
*/
|
|
107
|
+
type ExecutionStatus = 'idle' | 'loading' | 'ready' | 'running' | 'stepping' | 'paused' | 'completed' | 'error';
|
|
108
|
+
interface TestResult {
|
|
109
|
+
id: string;
|
|
110
|
+
passed: boolean;
|
|
111
|
+
input: Record<string, unknown>;
|
|
112
|
+
expected: unknown;
|
|
113
|
+
actual: unknown;
|
|
114
|
+
error?: string;
|
|
115
|
+
warning?: string;
|
|
116
|
+
executionTimeMs?: number;
|
|
117
|
+
}
|
|
118
|
+
interface RuntimeExecutionTimings {
|
|
119
|
+
totalMs?: number;
|
|
120
|
+
initMs?: number;
|
|
121
|
+
warmupMs?: number;
|
|
122
|
+
toolchainLoadMs?: number;
|
|
123
|
+
rewriteMs?: number;
|
|
124
|
+
driverBuildMs?: number;
|
|
125
|
+
compileMs?: number;
|
|
126
|
+
linkMs?: number;
|
|
127
|
+
wasmCompileMs?: number;
|
|
128
|
+
classLoadMs?: number;
|
|
129
|
+
runMs?: number;
|
|
130
|
+
hostCallMs?: number;
|
|
131
|
+
compileCacheHit?: boolean;
|
|
132
|
+
}
|
|
133
|
+
interface CodeExecutionResult {
|
|
134
|
+
success: boolean;
|
|
135
|
+
output: unknown;
|
|
136
|
+
error?: string;
|
|
137
|
+
errorLine?: number;
|
|
138
|
+
consoleOutput?: string[];
|
|
139
|
+
timeoutReason?: 'trace-limit' | 'line-limit' | 'single-line-limit' | 'recursion-limit' | 'memory-limit' | 'client-timeout';
|
|
140
|
+
diagnosticStage?: 'compile' | 'runtime' | 'trace' | 'interview' | 'driver-compile' | 'trace-driver-compile' | 'driver-link';
|
|
141
|
+
timings?: RuntimeExecutionTimings;
|
|
142
|
+
}
|
|
143
|
+
interface ExecutionResult {
|
|
144
|
+
success: boolean;
|
|
145
|
+
output?: unknown;
|
|
146
|
+
error?: string;
|
|
147
|
+
errorLine?: number;
|
|
148
|
+
trace: RuntimeTrace;
|
|
149
|
+
executionTimeMs: number;
|
|
150
|
+
consoleOutput: string[];
|
|
151
|
+
traceLimitExceeded?: boolean;
|
|
152
|
+
maxTraceSteps?: number;
|
|
153
|
+
timeoutReason?: 'trace-limit' | 'line-limit' | 'single-line-limit' | 'recursion-limit' | 'memory-limit' | 'client-timeout';
|
|
154
|
+
lineEventCount?: number;
|
|
155
|
+
traceStepCount?: number;
|
|
156
|
+
timings?: RuntimeExecutionTimings;
|
|
157
|
+
}
|
|
158
|
+
interface PyodideState {
|
|
159
|
+
status: 'loading' | 'ready' | 'error';
|
|
160
|
+
error?: Error;
|
|
161
|
+
loadTimeMs?: number;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type Language = 'python' | 'javascript' | 'typescript' | 'java' | 'csharp' | 'cpp';
|
|
165
|
+
type RuntimeExecutionStyle = 'function' | 'solution-method' | 'ops-class';
|
|
166
|
+
type RuntimeMaturity = 'experimental' | 'beta' | 'stable';
|
|
167
|
+
interface RuntimeCapabilities {
|
|
168
|
+
execution: {
|
|
169
|
+
styles: {
|
|
170
|
+
function: boolean;
|
|
171
|
+
solutionMethod: boolean;
|
|
172
|
+
opsClass: boolean;
|
|
173
|
+
script: boolean;
|
|
174
|
+
interviewMode: boolean;
|
|
175
|
+
};
|
|
176
|
+
timeouts: {
|
|
177
|
+
clientTimeouts: boolean;
|
|
178
|
+
runtimeTimeouts: boolean;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
tracing: {
|
|
182
|
+
supported: boolean;
|
|
183
|
+
events: {
|
|
184
|
+
line: boolean;
|
|
185
|
+
call: boolean;
|
|
186
|
+
return: boolean;
|
|
187
|
+
exception: boolean;
|
|
188
|
+
stdout: boolean;
|
|
189
|
+
timeout: boolean;
|
|
190
|
+
};
|
|
191
|
+
controls: {
|
|
192
|
+
maxTraceSteps: boolean;
|
|
193
|
+
maxLineEvents: boolean;
|
|
194
|
+
maxSingleLineHits: boolean;
|
|
195
|
+
maxStoredEvents: boolean;
|
|
196
|
+
minimalTrace: boolean;
|
|
197
|
+
};
|
|
198
|
+
fidelity: {
|
|
199
|
+
preciseLineMapping: boolean;
|
|
200
|
+
stableFunctionNames: boolean;
|
|
201
|
+
callStack: boolean;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
diagnostics: {
|
|
205
|
+
compileErrors: boolean;
|
|
206
|
+
runtimeErrors: boolean;
|
|
207
|
+
mappedErrorLines: boolean;
|
|
208
|
+
stackTraces: boolean;
|
|
209
|
+
};
|
|
210
|
+
structures: {
|
|
211
|
+
treeNodeRefs: boolean;
|
|
212
|
+
listNodeRefs: boolean;
|
|
213
|
+
mapSerialization: boolean;
|
|
214
|
+
setSerialization: boolean;
|
|
215
|
+
graphSerialization: boolean;
|
|
216
|
+
cycleReferences: boolean;
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
interface TraceBudget {
|
|
220
|
+
maxTraceSteps?: number;
|
|
221
|
+
maxLineEvents?: number;
|
|
222
|
+
maxSingleLineHits?: number;
|
|
223
|
+
maxStoredEvents?: number;
|
|
224
|
+
}
|
|
225
|
+
interface TraceExecutionOptions extends TraceBudget {
|
|
226
|
+
minimalTrace?: boolean;
|
|
227
|
+
}
|
|
228
|
+
interface LanguageRuntimeProfile {
|
|
229
|
+
language: Language;
|
|
230
|
+
maturity: RuntimeMaturity;
|
|
231
|
+
capabilities: RuntimeCapabilities;
|
|
232
|
+
notes?: string[];
|
|
233
|
+
}
|
|
234
|
+
interface RuntimeClient {
|
|
235
|
+
init(): Promise<{
|
|
236
|
+
success: boolean;
|
|
237
|
+
loadTimeMs: number;
|
|
238
|
+
}>;
|
|
239
|
+
executeWithTracing(code: string, functionName: string | null, inputs: Record<string, unknown>, options?: TraceExecutionOptions, executionStyle?: RuntimeExecutionStyle): Promise<ExecutionResult>;
|
|
240
|
+
executeCode(code: string, functionName: string, inputs: Record<string, unknown>, executionStyle?: RuntimeExecutionStyle): Promise<CodeExecutionResult>;
|
|
241
|
+
executeCodeInterviewMode(code: string, functionName: string, inputs: Record<string, unknown>, executionStyle?: RuntimeExecutionStyle): Promise<CodeExecutionResult>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export { type CodeExecutionResult as C, type ExecutionResult as E, type Language as L, type PyodideState as P, RUNTIME_TRACE_SCHEMA_VERSION as R, type TestResult as T, type ExecutionStatus as a, type LanguageRuntimeProfile as b, type RuntimeCapabilities as c, type RuntimeClient as d, type RuntimeExecutionStyle as e, type RuntimeExecutionTimings as f, type RuntimeMaturity as g, type RuntimeTrace as h, type RuntimeTraceCallFrame as i, type RuntimeTraceEvent as j, type RuntimeTraceEventKind as k, type RuntimeTraceIterationBinding as l, type RuntimeTraceOptions as m, type RuntimeTraceParityAccessTarget as n, type RuntimeTraceParitySignature as o, type RuntimeTraceTarget as p, type TraceBudget as q, type TraceExecutionOptions as r, buildRuntimeTraceParitySignature as s, createEmptyRuntimeTrace as t, withRuntimeTraceOptions as w };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tracecode/harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0-beta7",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"homepage": "https://tracecode.app",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"workers",
|
|
18
18
|
"README.md",
|
|
19
19
|
"CHANGELOG.md",
|
|
20
|
-
"LICENSE"
|
|
20
|
+
"LICENSE",
|
|
21
|
+
"THIRD_PARTY_NOTICES.md"
|
|
21
22
|
],
|
|
22
23
|
"bin": {
|
|
23
24
|
"tracecode-harness": "./dist/cli.cjs"
|
|
@@ -59,17 +60,39 @@
|
|
|
59
60
|
"require": "./dist/javascript.cjs",
|
|
60
61
|
"default": "./dist/javascript.js"
|
|
61
62
|
},
|
|
63
|
+
"./java": {
|
|
64
|
+
"types": "./dist/java.d.ts",
|
|
65
|
+
"import": "./dist/java.js",
|
|
66
|
+
"require": "./dist/java.cjs",
|
|
67
|
+
"default": "./dist/java.js"
|
|
68
|
+
},
|
|
69
|
+
"./csharp": {
|
|
70
|
+
"types": "./dist/csharp.d.ts",
|
|
71
|
+
"import": "./dist/csharp.js",
|
|
72
|
+
"require": "./dist/csharp.cjs",
|
|
73
|
+
"default": "./dist/csharp.js"
|
|
74
|
+
},
|
|
75
|
+
"./cpp": {
|
|
76
|
+
"types": "./dist/cpp.d.ts",
|
|
77
|
+
"import": "./dist/cpp.js",
|
|
78
|
+
"require": "./dist/cpp.cjs",
|
|
79
|
+
"default": "./dist/cpp.js"
|
|
80
|
+
},
|
|
62
81
|
"./package.json": "./package.json"
|
|
63
82
|
},
|
|
64
83
|
"scripts": {
|
|
65
|
-
"build": "pnpm generate:python-harness && pnpm exec tsup",
|
|
84
|
+
"build": "pnpm generate:runtime-info && pnpm generate:python-harness && pnpm sync:package-assets && pnpm exec tsup",
|
|
85
|
+
"generate:runtime-info": "pnpm exec tsx scripts/generate-runtime-language-info.ts",
|
|
66
86
|
"generate:python-harness": "pnpm exec tsx scripts/generate-python-harness-artifacts.ts",
|
|
87
|
+
"sync:package-assets": "pnpm exec tsx scripts/sync-language-package-assets.ts",
|
|
88
|
+
"update:csharp-runtime": "bash scripts/update-csharp-wasm-runtime.sh",
|
|
67
89
|
"typecheck": "pnpm typecheck:packages",
|
|
68
|
-
"typecheck:packages": "pnpm exec tsc -p packages/harness-core/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-browser/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-python/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-javascript/tsconfig.json --noEmit",
|
|
90
|
+
"typecheck:packages": "pnpm exec tsc -p packages/harness-core/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-browser/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-python/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-javascript/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-java/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-csharp/tsconfig.json --noEmit && pnpm exec tsc -p packages/harness-cpp/tsconfig.json --noEmit",
|
|
69
91
|
"test:smoke": "pnpm exec tsx tests/test-harness-workspace-smoke.ts",
|
|
70
92
|
"test:packaged-surface": "pnpm exec tsx tests/test-packaged-surface.ts",
|
|
71
93
|
"test:browser-harness": "pnpm exec tsx tests/test-browser-harness.ts",
|
|
72
94
|
"test:asset-sync": "pnpm exec tsx tests/test-asset-sync.ts",
|
|
95
|
+
"test:language-packages": "pnpm exec tsx tests/test-language-package-surface.ts",
|
|
73
96
|
"test:example-app": "pnpm exec tsx tests/test-example-app.ts",
|
|
74
97
|
"test:java-example-app": "pnpm exec tsx tests/test-java-example-app.ts",
|
|
75
98
|
"test:example-app-packaged": "pnpm exec tsx tests/test-example-app-packaged.ts",
|
|
@@ -80,19 +103,47 @@
|
|
|
80
103
|
"test:java-sync": "pnpm exec tsx tests/test-java-harness-sync.ts",
|
|
81
104
|
"test:python-runtime": "pnpm exec tsx tests/test-python-runtime.ts",
|
|
82
105
|
"test:java-runtime": "pnpm exec tsx tests/test-java-runtime.ts",
|
|
106
|
+
"test:csharp-runtime": "pnpm exec tsx tests/test-csharp-runtime.ts",
|
|
107
|
+
"test:csharp-worker-browser": "pnpm exec tsx tests/test-csharp-worker-browser.ts",
|
|
108
|
+
"test:cpp-runtime": "pnpm exec tsx tests/test-cpp-runtime.ts",
|
|
109
|
+
"test:cpp-script-lambda-trace": "pnpm exec tsx tests/test-cpp-script-lambda-trace.ts",
|
|
110
|
+
"test:cpp-rewriter": "pnpm exec tsx tests/test-cpp-rewriter.ts",
|
|
111
|
+
"test:cpp-browser-worker": "pnpm exec tsx tests/test-cpp-browser-worker.ts",
|
|
83
112
|
"test:js-runtime": "pnpm exec tsx tests/test-javascript-runtime.ts",
|
|
84
|
-
"test:visualizer-conformance": "pnpm exec tsx tests/test-visualizer-language-conformance.ts",
|
|
85
113
|
"test:python-harness-sync": "pnpm run test:python-sync",
|
|
86
114
|
"test:java-harness-sync": "pnpm run test:java-sync",
|
|
87
115
|
"test:javascript-runtime": "pnpm run test:js-runtime",
|
|
88
116
|
"test:runtime-contract": "pnpm exec tsx tests/test-runtime-contract.ts",
|
|
89
|
-
"test:
|
|
90
|
-
"test
|
|
117
|
+
"test:runtime-info-sync": "pnpm exec tsx scripts/generate-runtime-language-info.ts --check",
|
|
118
|
+
"test:runtime-trace-parity": "pnpm exec tsx tests/test-runtime-trace-parity.ts",
|
|
119
|
+
"test:runtime-trace-fixtures": "pnpm exec tsx tests/test-runtime-trace-fixtures.ts",
|
|
120
|
+
"report:runtime-trace-known-gaps": "pnpm exec tsx tests/report-runtime-trace-known-gaps.ts",
|
|
121
|
+
"local:test:runtime-trace-final300-compile": "pnpm exec tsx tests/mine-runtime-trace-corpus.ts --limit=300 --fail-on-failure --report=reports/runtime-v4-final300-compile-gate.json",
|
|
122
|
+
"local:build:runtime-trace-tc83": "pnpm exec tsx tests/build-runtime-trace-tc83-corpus.ts",
|
|
123
|
+
"local:test:runtime-trace-tc83-smoke": "pnpm local:build:runtime-trace-tc83 && pnpm exec tsx tests/mine-runtime-trace-corpus.ts --corpus=reports/runtime-trace-tc83-corpus.json --source-root=/Users/obinnanwachukwu/Code/algoflow --limit=83 --jobs=8 --worker-timeout-ms=180000 --max-trace-steps=10000 --loose-any-valid-output --fail-on-failure --report=reports/runtime-trace-tc83-smoke.json",
|
|
124
|
+
"local:mine:runtime-trace-tc83-parity": "pnpm local:build:runtime-trace-tc83 && pnpm exec tsx tests/mine-runtime-trace-corpus.ts --corpus=reports/runtime-trace-tc83-corpus.json --source-root=/Users/obinnanwachukwu/Code/algoflow --limit=83 --jobs=8 --worker-timeout-ms=180000 --max-trace-steps=10000 --loose-any-valid-output --reference-language=javascript --comparison-languages=typescript,java --compare-runtime-facts --include-signature-diffs --report=reports/runtime-trace-tc83-parity.json",
|
|
125
|
+
"local:test:cpp-algoflow-smoke": "pnpm exec tsx tests/mine-cpp-algoflow-corpus.ts --sample=two-sum,map-sum-pairs,range-frequency-queries,binary-tree-tilt --loose-any-valid-output --fail-on-failure --report=reports/cpp-algoflow-smoke.json",
|
|
126
|
+
"local:mine:cpp-algoflow-corpus": "pnpm exec tsx tests/mine-cpp-algoflow-corpus.ts --limit=50 --max-stored-events=10000 --loose-any-valid-output --report=reports/cpp-algoflow-corpus.json",
|
|
127
|
+
"local:mine:cpp-algoflow-corpus:isolated": "pnpm exec tsx tests/mine-cpp-algoflow-corpus.ts --limit=0 --no-trace --jobs=4 --batch-size=16 --worker-timeout-ms=600000 --max-stored-events=10000 --loose-any-valid-output --compare-languages=javascript,typescript,python,java --report=reports/cpp-algoflow-corpus-isolated.json",
|
|
128
|
+
"test:ci": "pnpm test:runtime-info-sync && pnpm typecheck && pnpm test:trace-adapters && pnpm test:python-sync && pnpm test:python-runtime && pnpm test:java-sync && pnpm test:java-runtime && pnpm test:csharp-runtime && pnpm test:csharp-worker-browser && pnpm test:cpp-rewriter && pnpm test:cpp-script-lambda-trace && pnpm test:cpp-runtime && pnpm test:js-runtime && pnpm test:runtime-contract && pnpm test:runtime-trace && pnpm test:standalone-boundary && pnpm build && pnpm test:packaged-surface && pnpm test:language-packages && pnpm test:smoke && pnpm test:asset-sync",
|
|
129
|
+
"test": "pnpm test:runtime-info-sync && pnpm typecheck && pnpm test:trace-adapters && pnpm test:python-sync && pnpm test:python-runtime && pnpm test:java-sync && pnpm test:java-runtime && pnpm test:csharp-runtime && pnpm test:csharp-worker-browser && pnpm test:cpp-rewriter && pnpm test:cpp-script-lambda-trace && pnpm test:cpp-runtime && pnpm test:js-runtime && pnpm test:runtime-contract && pnpm test:runtime-trace && pnpm test:standalone-boundary && pnpm build && pnpm test:packaged-surface && pnpm test:language-packages && pnpm test:smoke && pnpm test:browser-harness && pnpm test:asset-sync && pnpm test:example-app && pnpm test:java-example-app && pnpm test:example-app-packaged && pnpm test:java-example-app-packaged",
|
|
130
|
+
"mine:runtime-trace-final300": "pnpm exec tsx tests/mine-runtime-trace-corpus.ts",
|
|
131
|
+
"mine:runtime-trace-final300:parallel": "pnpm exec tsx tests/mine-runtime-trace-corpus.ts --jobs=8",
|
|
132
|
+
"test:runtime-raw-emission-contract": "pnpm exec tsx tests/test-runtime-raw-emission-contract.ts",
|
|
133
|
+
"test:runtime-trace-fixtures:raw-strict": "TRACECODE_STRICT_RAW_EMISSION_PARITY=1 pnpm exec tsx tests/test-runtime-trace-fixtures.ts",
|
|
134
|
+
"test:runtime-trace": "pnpm test:runtime-trace-fixtures && pnpm test:runtime-trace-fixtures:raw-strict && pnpm test:runtime-raw-emission-contract && pnpm report:runtime-trace-known-gaps",
|
|
135
|
+
"mine:runtime-trace-corpus": "pnpm exec tsx tests/mine-runtime-trace-corpus.ts",
|
|
136
|
+
"mine:runtime-trace-corpus:parallel": "pnpm exec tsx tests/mine-runtime-trace-corpus.ts --jobs=8",
|
|
137
|
+
"bench:browser-runtimes": "pnpm exec tsx scripts/benchmark-browser-runtimes.ts",
|
|
138
|
+
"spike:csharp:publish": "dotnet publish spikes/csharp-wasm-roslyn/TraceCode.CSharpHost/TraceCode.CSharpHost.csproj -c Release",
|
|
139
|
+
"spike:csharp:smoke": "pnpm exec tsx spikes/csharp-wasm-roslyn/node-smoke/run-csharp-host.ts",
|
|
140
|
+
"spike:csharp:browser": "pnpm exec tsx spikes/csharp-wasm-roslyn/browser-worker/browser-worker-smoke.ts",
|
|
141
|
+
"spike:csharp": "pnpm run spike:csharp:publish && pnpm run spike:csharp:smoke && pnpm run spike:csharp:browser"
|
|
91
142
|
},
|
|
92
143
|
"devDependencies": {
|
|
93
144
|
"@types/node": "^20.0.0",
|
|
94
|
-
"pyodide": "^0.29.0",
|
|
95
145
|
"playwright": "^1.53.2",
|
|
146
|
+
"pyodide": "^0.29.0",
|
|
96
147
|
"tsup": "^8.5.0",
|
|
97
148
|
"tsx": "^4.21.0",
|
|
98
149
|
"typescript": "^5.0.0"
|
|
@@ -102,5 +153,19 @@
|
|
|
102
153
|
"dompurify": "3.4.1",
|
|
103
154
|
"picomatch": "4.0.4"
|
|
104
155
|
}
|
|
156
|
+
},
|
|
157
|
+
"dependencies": {
|
|
158
|
+
"@datastructures-js/binary-search-tree": "5.4.0",
|
|
159
|
+
"@datastructures-js/deque": "1.0.8",
|
|
160
|
+
"@datastructures-js/graph": "5.3.1",
|
|
161
|
+
"@datastructures-js/heap": "4.3.7",
|
|
162
|
+
"@datastructures-js/linked-list": "6.1.4",
|
|
163
|
+
"@datastructures-js/priority-queue": "6.3.5",
|
|
164
|
+
"@datastructures-js/queue": "4.3.0",
|
|
165
|
+
"@datastructures-js/set": "4.2.2",
|
|
166
|
+
"@datastructures-js/stack": "3.1.6",
|
|
167
|
+
"@datastructures-js/trie": "4.2.3",
|
|
168
|
+
"@yowasp/clang": "22.0.0-git20542-10",
|
|
169
|
+
"lodash": "4.17.21"
|
|
105
170
|
}
|
|
106
171
|
}
|