@vtxmacro/cli 2026.9.18 → 2026.9.19
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/bin/vtx-service-bootstrap.js +5 -2
- package/bin/vtx.js +5 -2
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ import { fileURLToPath } from "node:url";
|
|
|
16
16
|
// agent-cli-release.json
|
|
17
17
|
var agent_cli_release_default = {
|
|
18
18
|
package_name: "@vtxmacro/cli",
|
|
19
|
-
package_version: "2026.9.
|
|
19
|
+
package_version: "2026.9.19",
|
|
20
20
|
codex_package_name: "@openai/codex",
|
|
21
21
|
codex_version: "0.153.3",
|
|
22
22
|
copilot_sdk_package_name: "@github/copilot-sdk",
|
|
@@ -144,6 +144,7 @@ while(($line=[Console]::In.ReadLine()) -ne $null) {
|
|
|
144
144
|
if($mode -eq 'harden') {
|
|
145
145
|
$failureStage='acl_read'
|
|
146
146
|
$acl=Get-Acl -LiteralPath $path
|
|
147
|
+
$originalAccess=$acl.GetSecurityDescriptorSddlForm([Security.AccessControl.AccessControlSections]::Access)
|
|
147
148
|
$failureStage='owner_validation'
|
|
148
149
|
$existingOwner=(New-Object Security.Principal.NTAccount($acl.Owner)).Translate([Security.Principal.SecurityIdentifier]).Value
|
|
149
150
|
if($existingOwner -ne $current.Value -and ($existingOwner -ne $admins.Value -or -not $currentIsAdmin)) { throw 'private ACL owner is invalid' }
|
|
@@ -164,7 +165,9 @@ while(($line=[Console]::In.ReadLine()) -ne $null) {
|
|
|
164
165
|
[void]$acl.AddAccessRule($rule)
|
|
165
166
|
}
|
|
166
167
|
$failureStage='acl_write'
|
|
167
|
-
(
|
|
168
|
+
if($originalAccess -ne $acl.GetSecurityDescriptorSddlForm([Security.AccessControl.AccessControlSections]::Access)) {
|
|
169
|
+
(Get-Item -LiteralPath $path).SetAccessControl($acl)
|
|
170
|
+
}
|
|
168
171
|
}
|
|
169
172
|
$failureStage='acl_readback'
|
|
170
173
|
$actual=Get-Acl -LiteralPath $path
|
package/bin/vtx.js
CHANGED
|
@@ -69,7 +69,7 @@ var init_agent_cli_release = __esm({
|
|
|
69
69
|
"agent-cli-release.json"() {
|
|
70
70
|
agent_cli_release_default = {
|
|
71
71
|
package_name: "@vtxmacro/cli",
|
|
72
|
-
package_version: "2026.9.
|
|
72
|
+
package_version: "2026.9.19",
|
|
73
73
|
codex_package_name: "@openai/codex",
|
|
74
74
|
codex_version: "0.153.3",
|
|
75
75
|
copilot_sdk_package_name: "@github/copilot-sdk",
|
|
@@ -17994,6 +17994,7 @@ while(($line=[Console]::In.ReadLine()) -ne $null) {
|
|
|
17994
17994
|
if($mode -eq 'harden') {
|
|
17995
17995
|
$failureStage='acl_read'
|
|
17996
17996
|
$acl=Get-Acl -LiteralPath $path
|
|
17997
|
+
$originalAccess=$acl.GetSecurityDescriptorSddlForm([Security.AccessControl.AccessControlSections]::Access)
|
|
17997
17998
|
$failureStage='owner_validation'
|
|
17998
17999
|
$existingOwner=(New-Object Security.Principal.NTAccount($acl.Owner)).Translate([Security.Principal.SecurityIdentifier]).Value
|
|
17999
18000
|
if($existingOwner -ne $current.Value -and ($existingOwner -ne $admins.Value -or -not $currentIsAdmin)) { throw 'private ACL owner is invalid' }
|
|
@@ -18014,7 +18015,9 @@ while(($line=[Console]::In.ReadLine()) -ne $null) {
|
|
|
18014
18015
|
[void]$acl.AddAccessRule($rule)
|
|
18015
18016
|
}
|
|
18016
18017
|
$failureStage='acl_write'
|
|
18017
|
-
(
|
|
18018
|
+
if($originalAccess -ne $acl.GetSecurityDescriptorSddlForm([Security.AccessControl.AccessControlSections]::Access)) {
|
|
18019
|
+
(Get-Item -LiteralPath $path).SetAccessControl($acl)
|
|
18020
|
+
}
|
|
18018
18021
|
}
|
|
18019
18022
|
$failureStage='acl_readback'
|
|
18020
18023
|
$actual=Get-Acl -LiteralPath $path
|