hostinger-api-mcp 3.13.0 → 3.14.1
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 +21 -0
- package/README.md +25 -3
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/steps/02-refine/SKILL.md +60 -32
- package/skills/headless/steps/03-provision/webapp/SKILL.md +2 -0
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/skills.js +6 -6
- package/src/core/skills.ts +6 -6
- package/src/core/tools/all.js +37 -2
- package/src/core/tools/all.ts +37 -2
- package/src/core/tools/hosting.js +37 -2
- package/src/core/tools/hosting.ts +37 -2
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/agent-readiness.js +1 -1
- package/src/servers/agent-readiness.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +33 -1
package/types.d.ts
CHANGED
|
@@ -3410,11 +3410,42 @@ Defaults to the website root.
|
|
|
3410
3410
|
response: any; // Response structure will depend on the API
|
|
3411
3411
|
};
|
|
3412
3412
|
|
|
3413
|
+
/**
|
|
3414
|
+
* Returns the caching state of the website: whether server-side caching is enabled and whether
|
|
3415
|
+
development (cacheless) mode is on. Works for the main domain, addon websites, parked domains
|
|
3416
|
+
and subdomains of the account; each reports its own settings and does not inherit them from
|
|
3417
|
+
its parent website.
|
|
3418
|
+
|
|
3419
|
+
`is_enabled` is the setting changed by `Toggle website cache` and reflects a toggle
|
|
3420
|
+
immediately. `is_cacheless_mode_enabled` is true while development mode is on; caching is then
|
|
3421
|
+
bypassed even when `is_enabled` is true. `Toggle cacheless mode` is applied in the background,
|
|
3422
|
+
so this flag can take a few minutes to follow it.
|
|
3423
|
+
|
|
3424
|
+
The domain must be the exact website name as listed on the account, without a `www.` prefix.
|
|
3425
|
+
Returns 404 when the domain is not a website on the account.
|
|
3426
|
+
*/
|
|
3427
|
+
"hosting_cache_status": {
|
|
3428
|
+
params: {
|
|
3429
|
+
/**
|
|
3430
|
+
* username parameter
|
|
3431
|
+
*/
|
|
3432
|
+
username: string;
|
|
3433
|
+
/**
|
|
3434
|
+
* Domain name
|
|
3435
|
+
*/
|
|
3436
|
+
domain: string;
|
|
3437
|
+
};
|
|
3438
|
+
response: any; // Response structure will depend on the API
|
|
3439
|
+
};
|
|
3440
|
+
|
|
3413
3441
|
/**
|
|
3414
3442
|
* Turns development (cacheless) mode on or off, based on the enabled flag. When enabled, nothing
|
|
3415
3443
|
is cached, effectively turning off all caching for the website; use it while actively developing,
|
|
3416
3444
|
testing changes, debugging issues, or when real-time updates must be visible. Disable it after
|
|
3417
3445
|
finishing development work to restore the performance benefits of caching.
|
|
3446
|
+
|
|
3447
|
+
The change is applied in the background and can take a few minutes. Use `Get cache status` to
|
|
3448
|
+
check the current state.
|
|
3418
3449
|
*/
|
|
3419
3450
|
"hosting_cache_toggle-cacheless": {
|
|
3420
3451
|
params: {
|
|
@@ -3440,7 +3471,8 @@ faster page loads, reduced server load, and improved user experience; recommende
|
|
|
3440
3471
|
websites. Disabling may impact performance; to temporarily bypass caching while developing or
|
|
3441
3472
|
debugging, prefer toggling cacheless mode instead.
|
|
3442
3473
|
|
|
3443
|
-
Does nothing if caching is already in the requested state.
|
|
3474
|
+
Does nothing if caching is already in the requested state. Use `Get cache status` to check the
|
|
3475
|
+
current state.
|
|
3444
3476
|
*/
|
|
3445
3477
|
"hosting_cache_toggle-website": {
|
|
3446
3478
|
params: {
|