impreza-mcp 0.53.0 → 0.55.0

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Impreza Host
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Impreza Host
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -355,7 +355,7 @@ Static npm sites: choose build_strategy=node_npm_static with a Git/context sourc
355
355
 
356
356
  ## Status
357
357
 
358
- **Package version: 0.53.0.** The tool catalog covers app deployment plus account +
358
+ **Package version: 0.55.0.** The tool catalog covers app deployment plus account +
359
359
  crypto balance, catalog + ordering, domains/DNS + registration, invoices, VPS
360
360
  lifecycle with snapshots and backups, dedicated / bare-metal servers, plan
361
361
  upgrades, and Titan / Google Workspace mailboxes — with a setup wizard that
@@ -542,7 +542,7 @@ and `impreza_api_search` finds anything not named here.
542
542
  | **Catalog & ordering** | |
543
543
  | `impreza_list_products` | `GET /v1/products` — products + pricing; the VPS is listed at its smallest size (`configurable: true`) |
544
544
  | `impreza_vps_offer` | `GET /v1/products/vps` — VPS locations, operating systems, CPU / memory / disk ranges and prices; with a whole configuration, `GET /v1/products/vps/quote` — its exact price |
545
- | `impreza_order_vps` | `POST /v1/orders` — a VPS by location, OS and size (or a fixed plan by `product_id`); paid from balance; bare OS by default (`app: "none"`); explicitly request `app: "@agent"` for deployment, or use `impreza_install_agent` later with customer confirmation; 202 + poll `impreza_list_services` |
545
+ | `impreza_order_vps` | `POST /v1/orders` — a VPS by location, OS and size (or a fixed plan by `product_id`); paid from balance; born with the Impreza agent by default (`app: "@agent"`, for the configurable VPS and fixed VPS plans alike, the same app `impreza_vps_offer` quotes, and echoed as `app_requested` in the result); a non-text `app` is refused before any request; pass `app: "none"` for a bare OS (the customer portal keeps a bare OS as its default) and add the agent later with `impreza_install_agent` with customer confirmation; 202 is not a ready agent: poll `impreza_list_services`, and the agent appears in `impreza_list_servers` once it has installed and connected |
546
546
  | **Domains & DNS** | |
547
547
  | `impreza_domain_check` | `GET /v1/domains/check` |
548
548
  | `impreza_domain_details` | `GET /v1/domains/{domain}` |
@@ -17,26 +17,26 @@ export const credentialDirectory = () => join(homedir(), '.impreza');
17
17
  export const credentialPath = () => join(credentialDirectory(), 'credentials.json');
18
18
  // POSIX mode bits do not restrict access on Windows: use a protected owner-only DACL.
19
19
  function windowsPrivacy(file, directory, set) {
20
- const script = `
21
- $ErrorActionPreference='Stop'
22
- $sid=[Security.Principal.WindowsIdentity]::GetCurrent().User
23
- $p=$env:IMPREZA_PRIVATE_PATH
24
- if ($env:IMPREZA_SET_PRIVATE -eq '1') {
25
- if ($env:IMPREZA_PRIVATE_DIR -eq '1') {
26
- $acl=New-Object Security.AccessControl.DirectorySecurity
27
- $rule=New-Object Security.AccessControl.FileSystemAccessRule($sid,'FullControl','ContainerInherit,ObjectInherit','None','Allow')
28
- } else {
29
- $acl=New-Object Security.AccessControl.FileSecurity
30
- $rule=New-Object Security.AccessControl.FileSystemAccessRule($sid,'FullControl','Allow')
31
- }
32
- $acl.SetOwner($sid); $acl.SetAccessRuleProtection($true,$false); $acl.AddAccessRule($rule)
33
- if ($env:IMPREZA_PRIVATE_DIR -eq '1') { [IO.Directory]::SetAccessControl($p,$acl) } else { [IO.File]::SetAccessControl($p,$acl) }
34
- }
35
- if ($env:IMPREZA_PRIVATE_DIR -eq '1') { $acl=[IO.Directory]::GetAccessControl($p) } else { $acl=[IO.File]::GetAccessControl($p) }
36
- if (-not $acl.AreAccessRulesProtected -or $acl.GetOwner([Security.Principal.SecurityIdentifier]).Value -ne $sid.Value) { exit 1 }
37
- $rules=$acl.GetAccessRules($true,$true,[Security.Principal.SecurityIdentifier])
38
- if ($rules.Count -eq 0) { exit 1 }
39
- foreach ($r in $rules) { if ($r.IsInherited -or $r.IdentityReference.Value -ne $sid.Value -or $r.AccessControlType -ne 'Allow') { exit 1 } }
20
+ const script = `
21
+ $ErrorActionPreference='Stop'
22
+ $sid=[Security.Principal.WindowsIdentity]::GetCurrent().User
23
+ $p=$env:IMPREZA_PRIVATE_PATH
24
+ if ($env:IMPREZA_SET_PRIVATE -eq '1') {
25
+ if ($env:IMPREZA_PRIVATE_DIR -eq '1') {
26
+ $acl=New-Object Security.AccessControl.DirectorySecurity
27
+ $rule=New-Object Security.AccessControl.FileSystemAccessRule($sid,'FullControl','ContainerInherit,ObjectInherit','None','Allow')
28
+ } else {
29
+ $acl=New-Object Security.AccessControl.FileSecurity
30
+ $rule=New-Object Security.AccessControl.FileSystemAccessRule($sid,'FullControl','Allow')
31
+ }
32
+ $acl.SetOwner($sid); $acl.SetAccessRuleProtection($true,$false); $acl.AddAccessRule($rule)
33
+ if ($env:IMPREZA_PRIVATE_DIR -eq '1') { [IO.Directory]::SetAccessControl($p,$acl) } else { [IO.File]::SetAccessControl($p,$acl) }
34
+ }
35
+ if ($env:IMPREZA_PRIVATE_DIR -eq '1') { $acl=[IO.Directory]::GetAccessControl($p) } else { $acl=[IO.File]::GetAccessControl($p) }
36
+ if (-not $acl.AreAccessRulesProtected -or $acl.GetOwner([Security.Principal.SecurityIdentifier]).Value -ne $sid.Value) { exit 1 }
37
+ $rules=$acl.GetAccessRules($true,$true,[Security.Principal.SecurityIdentifier])
38
+ if ($rules.Count -eq 0) { exit 1 }
39
+ foreach ($r in $rules) { if ($r.IsInherited -or $r.IdentityReference.Value -ne $sid.Value -or $r.AccessControlType -ne 'Allow') { exit 1 } }
40
40
  `;
41
41
  const executable = join(process.env.SystemRoot || 'C:\\Windows', 'System32', 'WindowsPowerShell', 'v1.0', 'powershell.exe');
42
42
  const result = spawnSync(executable, ['-NoProfile', '-NonInteractive', '-Command', script], {