windows-development-sandbox 1.18.3 → 1.18.4
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/dist/app/features/defs.d.ts +18 -0
- package/dist/app/features/defs.js +2 -1
- package/dist/app/features/sandbox/sandbox.def.d.ts +22 -0
- package/dist/app/features/sandbox/sandbox.def.js +41 -14
- package/dist/app/features/sandbox/sandbox.run.d.ts +20 -0
- package/dist/app/features/sandbox/sandbox.run.js +41 -1
- package/dist/app/registry.js +2 -1
- package/dist/bin/agent-sandbox.js +2 -2
- package/dist/bin/{chunk-FQWYCF6L.js → chunk-FRPLQLSY.js} +3453 -3145
- package/dist/bin/{chunk-M6XUQK53.js → chunk-MY7NLQQY.js} +1 -1
- package/dist/bin/{chunk-3G53NNZP.js → chunk-N4GXYTLV.js} +1 -1
- package/dist/bin/claude-host.js +2 -2
- package/dist/bin/claude-sbx.js +2 -2
- package/dist/bin/codex-sbx.js +2 -2
- package/dist/bin/gemini-sbx.js +2 -2
- package/dist/bin/sandbox.js +2 -2
- package/dist/bin/sbx-hide.js +2 -2
- package/dist/bin/sbx-show.js +2 -2
- package/dist/cli/commands/launch/launch.js +4 -1
- package/dist/cli/commands/launch/leftover-offer.d.ts +3 -0
- package/dist/cli/commands/launch/leftover-offer.js +26 -0
- package/dist/cli/commands/repair/checks/sandbox.js +29 -2
- package/dist/guest/daemon/heartbeat.d.ts +7 -2
- package/dist/guest/daemon/heartbeat.js +34 -15
- package/dist/guest/daemon/idle-shutdown.js +2 -0
- package/dist/guest/entries/daemon.js +1 -1
- package/dist/host/health/index.d.ts +1 -0
- package/dist/host/health/index.js +1 -0
- package/dist/host/health/leftovers.d.ts +3 -0
- package/dist/host/health/leftovers.js +40 -0
- package/dist/host/health/stale.d.ts +48 -0
- package/dist/host/health/stale.js +40 -0
- package/dist/host/life/crash-report.d.ts +1 -1
- package/dist/host/life/crash-report.js +5 -3
- package/dist/host/life/last-end.d.ts +7 -0
- package/dist/host/life/last-end.js +21 -0
- package/dist/host/life/life-record.d.ts +3 -0
- package/dist/host/life/life-record.js +2 -2
- package/dist/host/life/stop-events.d.ts +3 -1
- package/dist/host/life/stop-events.js +59 -0
- package/dist/host/life/stop-warning.js +3 -0
- package/dist/host/sandbox/cleanup.d.ts +37 -0
- package/dist/host/sandbox/cleanup.js +82 -0
- package/dist/host/sandbox/index.d.ts +1 -0
- package/dist/host/sandbox/index.js +1 -0
- package/dist/host/sandbox/platform.js +1 -1
- package/dist/runtime/agent.js +3 -1
- package/dist/runtime/daemon.js +368 -351
- package/dist/runtime/db.js +3 -1
- package/dist/runtime/main.js +3 -1
- package/dist/runtime/netproxy.js +3 -1
- package/dist/runtime/tool.js +3 -1
- package/dist/runtime/view.js +3 -1
- package/dist/selftest/heavy-load.test.js +119 -2
- package/dist/shared/channel/schema.d.ts +1 -0
- package/dist/shared/channel/schema.js +2 -1
- package/dist/shared/system.d.ts +1 -0
- package/dist/shared/system.js +1 -0
- package/dist/sync/watcher.js +9 -4
- package/dist/web/index.html +1 -1
- package/dist/web/{main-6XYO5FZC.js → main-GVZWWP4I.js} +62 -62
- package/native/csharp/HcsHost/AssemblyInfo.cs +3 -3
- package/native/csharp/HostTools/AssemblyInfo.cs +3 -3
- package/native/csharp/HostTools/Program.cs +5 -1
- package/native/csharp/StorageHelper/AssemblyInfo.cs +3 -3
- package/native/scripts/stop-events.ps1 +7 -3
- package/package.json +1 -1
|
@@ -8,9 +8,9 @@ using System.Runtime.InteropServices;
|
|
|
8
8
|
[assembly: AssemblyCompany("windows-development-sandbox (open source)")]
|
|
9
9
|
[assembly: AssemblyProduct("Windows Development Sandbox")]
|
|
10
10
|
[assembly: AssemblyCopyright("MIT License, windows-development-sandbox contributors")]
|
|
11
|
-
[assembly: AssemblyVersion("1.18.
|
|
12
|
-
[assembly: AssemblyFileVersion("1.18.
|
|
13
|
-
[assembly: AssemblyInformationalVersion("1.18.
|
|
11
|
+
[assembly: AssemblyVersion("1.18.4.0")]
|
|
12
|
+
[assembly: AssemblyFileVersion("1.18.4.0")]
|
|
13
|
+
[assembly: AssemblyInformationalVersion("1.18.4")]
|
|
14
14
|
[assembly: ComVisible(false)]
|
|
15
15
|
// computecore.dll and computestorage.dll are not KnownDLLs: load them from System32 only, never from the exe's folder.
|
|
16
16
|
[assembly: DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
|
|
@@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
|
|
|
8
8
|
[assembly: AssemblyCompany("windows-development-sandbox (open source)")]
|
|
9
9
|
[assembly: AssemblyProduct("Windows Development Sandbox")]
|
|
10
10
|
[assembly: AssemblyCopyright("MIT License, windows-development-sandbox contributors")]
|
|
11
|
-
[assembly: AssemblyVersion("1.18.
|
|
12
|
-
[assembly: AssemblyFileVersion("1.18.
|
|
13
|
-
[assembly: AssemblyInformationalVersion("1.18.
|
|
11
|
+
[assembly: AssemblyVersion("1.18.4.0")]
|
|
12
|
+
[assembly: AssemblyFileVersion("1.18.4.0")]
|
|
13
|
+
[assembly: AssemblyInformationalVersion("1.18.4")]
|
|
14
14
|
[assembly: ComVisible(false)]
|
|
@@ -174,6 +174,10 @@ static class Program
|
|
|
174
174
|
new[] { "Microsoft-Windows-Hyper-V-Compute-Admin", "*[System[(Level=1 or Level=2) and " + time + "]]" },
|
|
175
175
|
// A crash report of the programs that hold the VM (kept only when it names one of them, see Detail).
|
|
176
176
|
new[] { "Application", "*[System[(EventID=1000 or EventID=1001) and " + time + "]]" },
|
|
177
|
+
// The graphics driver stopped responding and was reset (with vGPU the sandbox shares the GPU).
|
|
178
|
+
new[] { "System", "*[System[Provider[@Name='Display'] and EventID=4101 and " + time + "]]" },
|
|
179
|
+
// Errors of the Hyper-V services that run the VM.
|
|
180
|
+
new[] { "System", "*[System[(Provider[@Name='Microsoft-Windows-Hyper-V-Worker'] or Provider[@Name='Microsoft-Windows-Hyper-V-VmSwitch'] or Provider[@Name='Microsoft-Windows-Hyper-V-Compute']) and (Level=1 or Level=2) and " + time + "]]" },
|
|
177
181
|
};
|
|
178
182
|
List<string> items = new List<string>();
|
|
179
183
|
foreach (string[] query in queries)
|
|
@@ -261,7 +265,7 @@ static class Program
|
|
|
261
265
|
static bool MentionsVmProgram(string detail)
|
|
262
266
|
{
|
|
263
267
|
string lower = detail.ToLowerInvariant();
|
|
264
|
-
return lower.Contains("vmwp.exe") || lower.Contains("vmmem") || lower.Contains("vmcompute") || lower.Contains("windowssandbox");
|
|
268
|
+
return lower.Contains("vmwp.exe") || lower.Contains("vmmem") || lower.Contains("vmcompute") || lower.Contains("windowssandbox") || lower.Contains("livekernelevent");
|
|
265
269
|
}
|
|
266
270
|
|
|
267
271
|
/// <summary>A JSON string literal.</summary>
|
|
@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
|
|
|
9
9
|
[assembly: AssemblyCompany("windows-development-sandbox (open source)")]
|
|
10
10
|
[assembly: AssemblyProduct("Windows Development Sandbox")]
|
|
11
11
|
[assembly: AssemblyCopyright("MIT License, windows-development-sandbox contributors")]
|
|
12
|
-
[assembly: AssemblyVersion("1.18.
|
|
13
|
-
[assembly: AssemblyFileVersion("1.18.
|
|
14
|
-
[assembly: AssemblyInformationalVersion("1.18.
|
|
12
|
+
[assembly: AssemblyVersion("1.18.4.0")]
|
|
13
|
+
[assembly: AssemblyFileVersion("1.18.4.0")]
|
|
14
|
+
[assembly: AssemblyInformationalVersion("1.18.4")]
|
|
15
15
|
[assembly: ComVisible(false)]
|
|
@@ -13,8 +13,12 @@ $filters = @(
|
|
|
13
13
|
# Any error or critical event of the Hyper-V worker and compute services (the VM's memory, start and stop).
|
|
14
14
|
@{ LogName = 'Microsoft-Windows-Hyper-V-Worker-Admin'; Level = 1, 2; StartTime = $Since },
|
|
15
15
|
@{ LogName = 'Microsoft-Windows-Hyper-V-Compute-Admin'; Level = 1, 2; StartTime = $Since },
|
|
16
|
-
# A crash report of the programs that hold the VM (kept only when it names one
|
|
17
|
-
@{ LogName = 'Application'; Id = 1000, 1001; StartTime = $Since; OnlyVmPrograms = $true }
|
|
16
|
+
# A crash report of the programs that hold the VM, or a graphics driver (GPU) reset: kept only when it names one.
|
|
17
|
+
@{ LogName = 'Application'; Id = 1000, 1001; StartTime = $Since; OnlyVmPrograms = $true },
|
|
18
|
+
# The graphics driver stopped responding and was reset (with vGPU the sandbox shares the GPU).
|
|
19
|
+
@{ LogName = 'System'; ProviderName = 'Display'; Id = 4101; StartTime = $Since },
|
|
20
|
+
# Errors of the Hyper-V services that run the VM.
|
|
21
|
+
@{ LogName = 'System'; ProviderName = 'Microsoft-Windows-Hyper-V-Worker', 'Microsoft-Windows-Hyper-V-VmSwitch', 'Microsoft-Windows-Hyper-V-Compute'; Level = 1, 2; StartTime = $Since }
|
|
18
22
|
)
|
|
19
23
|
$maxMessage = 390
|
|
20
24
|
$maxResourceMessage = 1500
|
|
@@ -38,7 +42,7 @@ $events = foreach ($filter in $filters) {
|
|
|
38
42
|
$query.Remove('OnlyVmPrograms')
|
|
39
43
|
Get-WinEvent -FilterHashtable $query -MaxEvents 100 | ForEach-Object {
|
|
40
44
|
$detail = Get-EventDetail $_
|
|
41
|
-
if ($onlyVm -and $detail -notmatch 'vmwp\.exe|vmmem|vmcompute|windowssandbox') { return }
|
|
45
|
+
if ($onlyVm -and $detail -notmatch 'vmwp\.exe|vmmem|vmcompute|windowssandbox|LiveKernelEvent') { return }
|
|
42
46
|
[pscustomobject]@{
|
|
43
47
|
at = $_.TimeCreated.ToUniversalTime().ToString('o')
|
|
44
48
|
id = $_.Id
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windows-development-sandbox",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.4",
|
|
4
4
|
"description": "A disposable Windows Sandbox for development, with or without an AI agent (Claude Code, Codex, Gemini, opencode, ...): the folder you run it from is the workspace, toolchains and databases for your project install themselves, and nothing else on your PC is reachable.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|