@runweave/server-win32-x64 0.1.19 → 0.1.20
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/manifest.json +21 -21
- package/native.tar.gz +0 -0
- package/package.json +1 -1
- package/payload/app-server/build-info.json +4 -4
- package/payload/app-server/index.cjs +30 -8
- package/payload/app-server/index.cjs.map +1 -1
- package/payload/backend/activity-sqlite-worker.cjs +29 -7
- package/payload/backend/build-info.json +4 -4
- package/payload/backend/dev-resources/control.cjs +29 -7
- package/payload/backend/index.cjs +193 -48
- package/payload/frontend/dist/build-info.json +3 -3
- package/payload/frontend/dist/companion.html +1 -1
- package/payload/frontend/dist/index.html +1 -1
- package/payload/pty-host/index.cjs +126 -17
- package/payload/server/index.cjs +29 -7
package/manifest.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"protocolVersion": 1,
|
|
7
7
|
"entry": "pty-host/index.cjs"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.1.
|
|
10
|
-
"sourceRevision": "
|
|
9
|
+
"version": "0.1.20",
|
|
10
|
+
"sourceRevision": "7289d6d41760456521e48793f92114e9f047689d",
|
|
11
11
|
"platform": "win32",
|
|
12
12
|
"arch": "x64",
|
|
13
13
|
"nodeModuleAbi": "127",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{
|
|
35
35
|
"path": "app-server/build-info.json",
|
|
36
36
|
"size": 286,
|
|
37
|
-
"sha256": "
|
|
37
|
+
"sha256": "08875247e47771c27134ecb70cc77e234830bd18224c6b3c208f9d2e205f9e7d"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "app-server/configuration-compatibility.json",
|
|
@@ -43,28 +43,28 @@
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"path": "app-server/index.cjs",
|
|
46
|
-
"size":
|
|
47
|
-
"sha256": "
|
|
46
|
+
"size": 2013593,
|
|
47
|
+
"sha256": "e29021939ebcb6fc18de83dd11708c39ff726afc7d7e7645f0d3e16cd24aff3e"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"path": "app-server/index.cjs.map",
|
|
51
|
-
"size":
|
|
52
|
-
"sha256": "
|
|
51
|
+
"size": 3070952,
|
|
52
|
+
"sha256": "e093ac90e19b37de56a2f184e5d94e877054f5e36087c143a25def44413461b4"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"path": "backend/activity-sqlite-worker.cjs",
|
|
56
|
-
"size":
|
|
57
|
-
"sha256": "
|
|
56
|
+
"size": 576897,
|
|
57
|
+
"sha256": "2988bd56f2e434c63465a37ed280bd57e022536e7e4840d7ee2f49d830c79e09"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"path": "backend/build-info.json",
|
|
61
61
|
"size": 286,
|
|
62
|
-
"sha256": "
|
|
62
|
+
"sha256": "3fe24aa6dd0cef7c8ac32d5980d3a12b4f6e524d2eb4388b7f48cb1ce7c292ca"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"path": "backend/dev-resources/control.cjs",
|
|
66
|
-
"size":
|
|
67
|
-
"sha256": "
|
|
66
|
+
"size": 664739,
|
|
67
|
+
"sha256": "3cc805dfc4a9bcfcdd20b79e7123422a17c24271d33f5b676d5e6dce003283b3"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"path": "backend/evolution-sqlite-worker.cjs",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"path": "backend/index.cjs",
|
|
76
|
-
"size":
|
|
77
|
-
"sha256": "
|
|
76
|
+
"size": 5814958,
|
|
77
|
+
"sha256": "77e3980b4467fa506de7512cd7531edfb0fbfdbfee70d5991a3f87f14e702912"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"path": "backend/ios-simulators/device_shutdown.py",
|
|
@@ -509,12 +509,12 @@
|
|
|
509
509
|
{
|
|
510
510
|
"path": "frontend/dist/build-info.json",
|
|
511
511
|
"size": 286,
|
|
512
|
-
"sha256": "
|
|
512
|
+
"sha256": "ec5dfa6384e0861e4d97cb153e04d0c823bbf67d3f933f77d85acfdd1d74c166"
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
515
|
"path": "frontend/dist/companion.html",
|
|
516
516
|
"size": 834,
|
|
517
|
-
"sha256": "
|
|
517
|
+
"sha256": "515ecd8c8a49829675ea51556d903f8a7ddabea18edda6344c2510a10cfeed8c"
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
"path": "frontend/dist/icons/apple-touch-icon.png",
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
{
|
|
540
540
|
"path": "frontend/dist/index.html",
|
|
541
541
|
"size": 1044,
|
|
542
|
-
"sha256": "
|
|
542
|
+
"sha256": "a6bbc0eceeddcf98720bbcfbb094737bd289bfbb0c261ffce3ee120c036c3507"
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
545
|
"path": "frontend/dist/manifest.webmanifest",
|
|
@@ -1873,8 +1873,8 @@
|
|
|
1873
1873
|
},
|
|
1874
1874
|
{
|
|
1875
1875
|
"path": "pty-host/index.cjs",
|
|
1876
|
-
"size":
|
|
1877
|
-
"sha256": "
|
|
1876
|
+
"size": 924449,
|
|
1877
|
+
"sha256": "0d6ba699a05f92a2f11adc80751638f2237a50ce70f3b373e934bcd8261423c5"
|
|
1878
1878
|
},
|
|
1879
1879
|
{
|
|
1880
1880
|
"path": "scripts/toolkit/codex-state.mjs",
|
|
@@ -1898,8 +1898,8 @@
|
|
|
1898
1898
|
},
|
|
1899
1899
|
{
|
|
1900
1900
|
"path": "server/index.cjs",
|
|
1901
|
-
"size":
|
|
1902
|
-
"sha256": "
|
|
1901
|
+
"size": 422902,
|
|
1902
|
+
"sha256": "33bd5b3bbaacb78b8a10d8702c50567c6151ab8c069c42e21023f397c4845999"
|
|
1903
1903
|
},
|
|
1904
1904
|
{
|
|
1905
1905
|
"path": "start.mjs",
|
package/native.tar.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.1.0",
|
|
3
|
-
"buildId": "
|
|
4
|
-
"sourceRevision": "
|
|
3
|
+
"buildId": "20261113T041809651Z-7289d6d4",
|
|
4
|
+
"sourceRevision": "7289d6d41760456521e48793f92114e9f047689d",
|
|
5
5
|
"sourceDirty": false,
|
|
6
|
-
"builtAt": "2026-11-
|
|
7
|
-
"contentSha256": "
|
|
6
|
+
"builtAt": "2026-11-13T04:18:09.651Z",
|
|
7
|
+
"contentSha256": "49ca1d7c30bc8b763f1ef58454384de9f6c0e81aeefaeb97088cd662b3d58b11"
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* runweave:build-info */var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"
|
|
1
|
+
/* runweave:build-info */var __RUNWEAVE_BUILD_INFO__={"version":"0.1.0","buildId":"20261113T041809651Z-7289d6d4","sourceRevision":"7289d6d41760456521e48793f92114e9f047689d","sourceDirty":false,"builtAt":"2026-11-13T04:18:09.651Z","contentSha256":"49ca1d7c30bc8b763f1ef58454384de9f6c0e81aeefaeb97088cd662b3d58b11"};
|
|
2
2
|
const __IMPORT_META_URL__ = require('url').pathToFileURL(__filename).href;
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -35024,27 +35024,49 @@ function assertWindowsPrivatePath(file) {
|
|
|
35024
35024
|
if (process.platform !== "win32") return;
|
|
35025
35025
|
const script = `
|
|
35026
35026
|
$ErrorActionPreference = 'Stop'
|
|
35027
|
+
try {
|
|
35027
35028
|
# Use .NET directly: a parent pwsh may export a PSModulePath incompatible with Windows PowerShell.
|
|
35028
35029
|
$acl = if ([IO.Directory]::Exists($env:RUNWEAVE_PRIVATE_PATH)) {
|
|
35029
35030
|
[IO.Directory]::GetAccessControl($env:RUNWEAVE_PRIVATE_PATH)
|
|
35030
35031
|
} else { [IO.File]::GetAccessControl($env:RUNWEAVE_PRIVATE_PATH) }
|
|
35031
35032
|
$sid = [Security.Principal.WindowsIdentity]::GetCurrent().User
|
|
35032
35033
|
$allowed = @($sid.Value, 'S-1-5-18', 'S-1-5-32-544')
|
|
35033
|
-
if ($acl.GetOwner([Security.Principal.SecurityIdentifier]).Value -notin $allowed) {
|
|
35034
|
+
if ($acl.GetOwner([Security.Principal.SecurityIdentifier]).Value -notin $allowed) { [Console]::Write('owner'); exit 0 }
|
|
35034
35035
|
foreach ($rule in $acl.GetAccessRules($true, $true, [Security.Principal.SecurityIdentifier])) {
|
|
35035
|
-
if ($rule.AccessControlType -eq 'Allow' -and $rule.IdentityReference.Value -notin $allowed) {
|
|
35036
|
+
if ($rule.AccessControlType -eq 'Allow' -and $rule.IdentityReference.Value -notin $allowed) { [Console]::Write('access'); exit 0 }
|
|
35037
|
+
}
|
|
35038
|
+
[Console]::Write('private')
|
|
35039
|
+
} catch {
|
|
35040
|
+
[Console]::Write('check-failed:' + $_.Exception.GetType().FullName + ':' + $_.Exception.HResult)
|
|
35036
35041
|
}
|
|
35037
35042
|
`;
|
|
35043
|
+
const startedAt = performance.now();
|
|
35044
|
+
let result;
|
|
35038
35045
|
try {
|
|
35039
|
-
(0, import_node_child_process.execFileSync)("powershell.exe", ["-NoProfile", "-NonInteractive", "-EncodedCommand", Buffer.from(script, "utf16le").toString("base64")], {
|
|
35046
|
+
result = (0, import_node_child_process.execFileSync)("powershell.exe", ["-NoProfile", "-NonInteractive", "-EncodedCommand", Buffer.from(script, "utf16le").toString("base64")], {
|
|
35040
35047
|
env: { ...process.env, RUNWEAVE_PRIVATE_PATH: file },
|
|
35041
|
-
stdio: "ignore",
|
|
35048
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
35049
|
+
encoding: "utf8",
|
|
35050
|
+
maxBuffer: 64 * 1024,
|
|
35042
35051
|
timeout: 1e4,
|
|
35043
35052
|
windowsHide: true
|
|
35044
|
-
});
|
|
35045
|
-
} catch {
|
|
35046
|
-
|
|
35053
|
+
}).trim();
|
|
35054
|
+
} catch (cause) {
|
|
35055
|
+
const error = cause;
|
|
35056
|
+
throw new ConfigurationError(
|
|
35057
|
+
error.code === "ETIMEDOUT" ? "CONFIG_WINDOWS_ACL_CHECK_TIMEOUT" : "CONFIG_WINDOWS_ACL_CHECK_FAILED",
|
|
35058
|
+
[
|
|
35059
|
+
file,
|
|
35060
|
+
`exit=${error.status ?? "none"}`,
|
|
35061
|
+
`signal=${error.signal ?? "none"}`,
|
|
35062
|
+
`code=${error.code ?? "none"}`,
|
|
35063
|
+
`elapsedMs=${Math.round(performance.now() - startedAt)}`
|
|
35064
|
+
]
|
|
35065
|
+
);
|
|
35047
35066
|
}
|
|
35067
|
+
if (result === "owner" || result === "access") throw new ConfigurationError("CONFIG_WINDOWS_ACL_NOT_PRIVATE", [file, result]);
|
|
35068
|
+
if (/^check-failed:[A-Za-z0-9_.]+:-?\d+$/.test(result)) throw new ConfigurationError("CONFIG_WINDOWS_ACL_CHECK_FAILED", [file, result]);
|
|
35069
|
+
if (result !== "private") throw new ConfigurationError("CONFIG_WINDOWS_ACL_CHECK_FAILED", [file, "invalid-result"]);
|
|
35048
35070
|
}
|
|
35049
35071
|
|
|
35050
35072
|
// packages/config-node/src/private-file.ts
|