hostinger-api-mcp 4.2.1 → 4.4.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/CHANGELOG.md +13 -0
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/skills/headless/SKILL.md +14 -7
- package/skills/headless/VERSION +3 -3
- package/skills/headless/run-log.mjs +3 -5
- package/skills/headless/steps/01-check-state/SKILL.md +16 -5
- package/skills/headless/steps/02-refine/SKILL.md +56 -29
- package/skills/headless/steps/03-provision/SKILL.md +20 -25
- package/skills/headless/steps/03-provision/pocketbase/SKILL.md +190 -0
- package/skills/headless/steps/04-content-model/SKILL.md +12 -12
- package/skills/headless/steps/04-content-model/pocketbase/SKILL.md +90 -0
- package/skills/headless/steps/04-content-model/pocketbase/auth.md +52 -0
- package/skills/headless/steps/04-content-model/pocketbase/frontend.md +130 -0
- package/skills/headless/steps/04-content-model/pocketbase/patterns.md +286 -0
- package/skills/headless/steps/04-content-model/pocketbase/rules.md +66 -0
- package/skills/headless/steps/04-content-model/pocketbase/schema.example.json +65 -0
- package/skills/headless/steps/04-content-model/pocketbase/schema.md +78 -0
- package/skills/headless/steps/04-content-model/pocketbase/scripts/pb-apply-schema.mjs +245 -0
- package/skills/headless/steps/04-content-model/pocketbase/scripts/pb-lib.mjs +120 -0
- package/skills/headless/steps/04-content-model/pocketbase/scripts/pb-verify.mjs +127 -0
- package/skills/headless/steps/04-content-model/pocketbase/troubleshooting.md +55 -0
- package/skills/headless/steps/06-frontend/SKILL.md +32 -33
- package/skills/headless/steps/07-validate/SKILL.md +8 -2
- package/skills/headless/steps/08-deploy/SKILL.md +32 -17
- package/skills/headless/steps/09-done/SKILL.md +20 -3
- package/skills/headless/wait.mjs +19 -9
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/skills.js +114 -37
- package/src/core/skills.ts +114 -37
- 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/gpu.js +1 -1
- package/src/servers/gpu.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/skills/headless/steps/03-provision/webapp/SKILL.md +0 -164
|
@@ -20,7 +20,7 @@ description: "Step 7 (validate) of the Hostinger Headless flow. OPTIONAL quick g
|
|
|
20
20
|
barrier, don't deploy. Deploy's pre-flight asks the connector again (see *State and artifacts* in the
|
|
21
21
|
top-level `SKILL.md`).
|
|
22
22
|
|
|
23
|
-
## 2 — Backend API status (
|
|
23
|
+
## 2 — Backend API status (every backend, always, quick)
|
|
24
24
|
|
|
25
25
|
Hit the live API from `site.json` and confirm it answers **with the content the push created** — a 200
|
|
26
26
|
with an empty catalog means the push didn't land:
|
|
@@ -33,7 +33,13 @@ with an empty catalog means the push didn't land:
|
|
|
33
33
|
count matches the plan. Don't test checkout while `woocommerce.payment_enabled` is `false`.
|
|
34
34
|
- **Ecommerce:** query `urls.storefront_api` for the sales channel → 200 with the seeded products and
|
|
35
35
|
prices *(confirm against the store)*.
|
|
36
|
-
- **
|
|
36
|
+
- **PocketBase** (`site.json → backend: "pocketbase"`): `GET {urls.api}/health` → 200, and every
|
|
37
|
+
collection with `seed` records in `pocketbase/schema.json` lists them
|
|
38
|
+
(`GET {urls.api}/collections/<name>/records?perPage=1` → `totalItems` at least the seed count, for
|
|
39
|
+
collections visitors may list). `pb-verify.mjs` already ran at the content-model push, so don't
|
|
40
|
+
repeat it here.
|
|
41
|
+
- **Contact form** (`site.json → contact_form.enabled`, Contact Form 7, WordPress only): send the two
|
|
42
|
+
throwaway test submissions in
|
|
37
43
|
[`../04-content-model/wordpress/contact-form.md`](../04-content-model/wordpress/contact-form.md) §5: the
|
|
38
44
|
first must return `status` **`mail_sent`**, the one with the honeypot filled **`spam`**.
|
|
39
45
|
|
|
@@ -68,13 +68,15 @@ framework's own build output.
|
|
|
68
68
|
- **Next.js 16+:** `package.json`'s `build` script is `next build --webpack`, not plain `next build` —
|
|
69
69
|
the server's glibc can't run Turbopack's native compiler, and Turbopack doesn't fall back to webpack
|
|
70
70
|
(see `../06-frontend/SKILL.md` Step 3). On Next.js 15.x leave it as plain `next build`. Fix it here if it isn't.
|
|
71
|
-
3. **
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
`
|
|
77
|
-
|
|
71
|
+
3. **PocketBase: nothing under `/api` or `/_`.** The app serves no route under those
|
|
72
|
+
prefixes, whatever its framework (Next.js `app/api/` or `pages/api/`, Nuxt `server/api/`, SvelteKit
|
|
73
|
+
`src/routes/api/`, Astro `src/pages/api/`, an Express or Fastify route), and `src/` holds no
|
|
74
|
+
`.pocketbase/` folder or `credentials.json`. Fix it here if it does.
|
|
75
|
+
4. **Env vars (only if used).** Build-time vars (e.g. `NEXT_PUBLIC_*`) must be set **before** the build
|
|
76
|
+
with `hosting_nodejs_replace-environment-variables` (full replace: list the current keys first and
|
|
77
|
+
send the complete set). Never put secrets in the repo or the archive. On PocketBase, server-side
|
|
78
|
+
superuser work reads `PB_URL`, `PB_SUPERUSER_EMAIL` and `PB_SUPERUSER_PASSWORD` from here (the
|
|
79
|
+
values come from `~/.hostinger/<domain>/.pocketbase/credentials.json`, never from the archive).
|
|
78
80
|
|
|
79
81
|
## Step 2 — Archive the source
|
|
80
82
|
|
|
@@ -83,8 +85,9 @@ Zip the project **source** with `package.json` at the archive root. **Include**
|
|
|
83
85
|
`package.json`, `package-lock.json`, `.nvmrc`. **Exclude** `node_modules/`, the build output
|
|
84
86
|
(`.next/`, `dist/`, `out/`), `.git/`, and any `.htaccess` — the server installs and builds from source.
|
|
85
87
|
**Never archive secrets:** the commands below also leave out `.env*` files, `.npmrc` and key/certificate
|
|
86
|
-
files (`*.pem`, `*.key`, `*.p12`, `*.pfx`). A brought-in project often has a `.env.local`; its values go in
|
|
87
|
-
as environment variables (Step 1), never in the archive.
|
|
88
|
+
files (`*.pem`, `*.key`, `*.p12`, `*.pfx`) and any `.pocketbase/` folder. A brought-in project often has a `.env.local`; its values go in
|
|
89
|
+
as environment variables (Step 1), never in the archive. `hosting_deploy` also skips any file named
|
|
90
|
+
`credentials.json` itself and lists it in `skippedFiles`.
|
|
88
91
|
|
|
89
92
|
> ## ⚠️ Write the archive outside `~/.hostinger/` (the deploy refuses it there)
|
|
90
93
|
> `hosting_deploy` refuses any `path` under a hidden folder at the top of the home directory
|
|
@@ -100,7 +103,7 @@ as environment variables (Step 1), never in the archive.
|
|
|
100
103
|
cd ~/.hostinger/<domain>/src
|
|
101
104
|
DEPLOY_DIR=$(mktemp -d)
|
|
102
105
|
zip -r -X "$DEPLOY_DIR/app.zip" . -x 'node_modules/*' '.next/*' 'dist/*' 'out/*' '.git/*' '**/.htaccess' \
|
|
103
|
-
'.env*' '*/.env*' '.npmrc' '*/.npmrc' '*.pem' '*.key' '*.p12' '*.pfx'
|
|
106
|
+
'.env*' '*/.env*' '.npmrc' '*/.npmrc' '*.pem' '*.key' '*.p12' '*.pfx' '.pocketbase/*' '*/.pocketbase/*'
|
|
104
107
|
echo "$DEPLOY_DIR/app.zip" # the absolute path to pass as `path` in Step 3
|
|
105
108
|
```
|
|
106
109
|
|
|
@@ -110,7 +113,7 @@ echo "$DEPLOY_DIR/app.zip" # the absolute path to pass as `path` in Step 3
|
|
|
110
113
|
cd $HOME\.hostinger\<domain>\src
|
|
111
114
|
$DeployDir = Join-Path $HOME "hostinger-deploy\<domain>"; New-Item -ItemType Directory -Force $DeployDir | Out-Null
|
|
112
115
|
tar -a -cf "$DeployDir\app.zip" --exclude=node_modules --exclude=.next --exclude=dist --exclude=out --exclude=.git --exclude=.htaccess `
|
|
113
|
-
--exclude=.env* --exclude=.npmrc --exclude=*.pem --exclude=*.key --exclude=*.p12 --exclude=*.pfx .
|
|
116
|
+
--exclude=.env* --exclude=.npmrc --exclude=*.pem --exclude=*.key --exclude=*.p12 --exclude=*.pfx --exclude=.pocketbase .
|
|
114
117
|
"$DeployDir\app.zip" # the absolute path to pass as `path` in Step 3
|
|
115
118
|
```
|
|
116
119
|
|
|
@@ -138,10 +141,12 @@ Pass the framework's build settings **inline** on the deploy call — there is n
|
|
|
138
141
|
|
|
139
142
|
`hosting_deploy` uploads the source and triggers `npm install` + the build **end-to-end** — do not call
|
|
140
143
|
any upload or build operation yourself. It returns a build `buildUuid` at once. This **overwrites the
|
|
141
|
-
website root** (expected) and keeps
|
|
144
|
+
website root** (expected) and keeps the backend's paths intact (`/cms` for WordPress; `/api` and `/_/`
|
|
145
|
+
for PocketBase). `type` is always `"nodejs"` for a headless site, with the explicit `appType`/`outputDirectory` from
|
|
142
146
|
*Build configurations* —
|
|
143
147
|
**never `"static"`**, which serves the build as plain files over the document root and **overwrites
|
|
144
|
-
`/cms`**, destroying the WordPress backend
|
|
148
|
+
`/cms`**, destroying the WordPress backend, and would likewise break the routing that keeps `/api` and
|
|
149
|
+
`/_/` on a PocketBase backend. A static-built SPA (Vite/React/Vue) still deploys as
|
|
145
150
|
`type: "nodejs"` with its `appType`.
|
|
146
151
|
|
|
147
152
|
## Step 4 — Wait for the build and the live root
|
|
@@ -178,9 +183,11 @@ It waits for `hosting_get-deployment` to report the build `completed`, then up t
|
|
|
178
183
|
| Static serves *(static frameworks)* | `GET https://<domain>/` | 200 HTML with real home content |
|
|
179
184
|
| Key routes | a couple of planned routes + one deep route | 200, real content |
|
|
180
185
|
| **Backend survived** *(WordPress / WooCommerce)* | `GET https://<domain>/cms/wp-json/wp/v2/posts?per_page=1` | 200 |
|
|
186
|
+
| **Backend survived** *(PocketBase)* | `GET https://<domain>/api/health` and `GET https://<domain>/_/` | 200 and 200 |
|
|
187
|
+
| **No credentials served** *(PocketBase)* | `GET https://<domain>/.pocketbase/credentials.json` | 404 |
|
|
181
188
|
|
|
182
|
-
> **Only WordPress (including WordPress + WooCommerce) has a `/cms` on the domain**,
|
|
183
|
-
> survived* check
|
|
189
|
+
> **Only WordPress (including WordPress + WooCommerce) has a `/cms` on the domain**, and only PocketBase
|
|
190
|
+
> has `/api` and `/_/`, so the *Backend survived* check depends on the backend.
|
|
184
191
|
> - **WordPress + WooCommerce:** also confirm the store survived the deploy —
|
|
185
192
|
> `GET https://<domain>/cms/wp-json/wc/store/v1/products?per_page=1` → 200. There is nothing external to
|
|
186
193
|
> link (no sales-channel step — that's Ecommerce only). **Checkout** stays owner-completed: when
|
|
@@ -192,7 +199,14 @@ It waits for `hosting_get-deployment` to report the build `completed`, then up t
|
|
|
192
199
|
> checkout can be reached when `site.json → ecommerce.payment_enabled` is `true`** — on a free account
|
|
193
200
|
> (`payment_enabled: false`) there is no checkout, so **skip that check entirely**; a catalog that serves
|
|
194
201
|
> 200 is a passing, complete deploy. Never fail or hold the deploy because checkout is unavailable.
|
|
195
|
-
> - **
|
|
202
|
+
> - **PocketBase** (`site.json → backend: "pocketbase"`): the backend lives on this domain at `/api`
|
|
203
|
+
> and `/_`, so check both survived and that the credentials URL is a 404, then run
|
|
204
|
+
> `node <skill>/steps/04-content-model/pocketbase/scripts/pb-verify.mjs ~/.hostinger/<domain>/.pocketbase/credentials.json ~/.hostinger/<domain>/pocketbase/schema.json`
|
|
205
|
+
> and expect `READY` (its last check, the website serving the app, now passes). If `/api/health`
|
|
206
|
+
> fails while the root serves the app, the app is answering `/api`: move its routes off that prefix
|
|
207
|
+
> and redeploy. If the credentials URL returns anything but 404, rotate the superuser at once
|
|
208
|
+
> (`hosting_pocketbase_set-superuser`, see `../03-provision/pocketbase/SKILL.md` Step 3) and
|
|
209
|
+
> redeploy without the file.
|
|
196
210
|
|
|
197
211
|
The root check is already done when `wait.mjs build` returned `ok: true`; check the rest in one shell
|
|
198
212
|
command (`curl` each URL). A `completed` build whose root 403s almost always means the build settings
|
|
@@ -226,7 +240,8 @@ No secrets in `deploy.json`. The `urls.cms` field and the `backend_preserved` ch
|
|
|
226
240
|
- **Ecommerce:** omit `urls.cms`/`backend_preserved`; record the store URLs instead (`urls.storefront_api`,
|
|
227
241
|
`urls.store_admin` from `site.json`) and link the custom sales channel to the live domain —
|
|
228
242
|
`ecommerce_sales-channels_update { store_id, sales_channel_id, url }` (see the ecommerce provision step).
|
|
229
|
-
- **
|
|
243
|
+
- **PocketBase:** omit `urls.cms`; add `urls.api` and `urls.admin` from `site.json`,
|
|
244
|
+
`checks.backend_preserved` (the `/api/health` and `/_/` checks) and `checks.pb_verify: "READY"`.
|
|
230
245
|
|
|
231
246
|
Update `state.json` (`stage` → `done`), then continue to Step 9 (done).
|
|
232
247
|
|
|
@@ -64,10 +64,20 @@ Write it in this order:
|
|
|
64
64
|
login is the store admin (wp-admin → WooCommerce → Products/Orders) — do **not** use the Ecommerce
|
|
65
65
|
`store_admin` path; the store setup the owner still needs is spelled out under *Next steps*. For a
|
|
66
66
|
Hostinger **Ecommerce** store, link the store admin from `urls.store_admin` instead.
|
|
67
|
+
- **PocketBase dashboard** (a PocketBase backend): `urls.admin` (`https://<domain>/_/`). Give
|
|
68
|
+
the owner the **login access** in three lines: the sign-in email (`site.json →
|
|
69
|
+
pocketbase.superuser_email`, by default the website owner's email), the full path of the
|
|
70
|
+
credentials file (`~/.hostinger/<domain>/.pocketbase/credentials.json`, which holds
|
|
71
|
+
`superuser_email` and `superuser_password`), and one command to read it (`cat <that path>`).
|
|
72
|
+
**Name the file, never paste the password**, and tell them to move both into their password
|
|
73
|
+
manager, since Hostinger can't show the password again. Say that this is the owner's
|
|
74
|
+
superuser login, not a member account: members sign up on the site and live in the `users`
|
|
75
|
+
collection. A lost password is reset by asking the agent to rotate the superuser
|
|
76
|
+
(`hosting_pocketbase_set-superuser`), which saves a new password to the same file.
|
|
67
77
|
- **hPanel site dashboard:** `https://hpanel.hostinger.com/websites/<domain>` (the headless website
|
|
68
78
|
is installed by now).
|
|
69
79
|
- **Onboarding (resume):** `https://hpanel.hostinger.com/headless-onboarding/<order_id>/<username>/`
|
|
70
|
-
- **REST API** (for developers): `urls.rest_api
|
|
80
|
+
- **REST API** (for developers): `urls.rest_api`, or `urls.api` on PocketBase.
|
|
71
81
|
|
|
72
82
|
> URL shape note: `<username>` may be dropped from the onboarding/success URLs in a future hPanel
|
|
73
83
|
> release. If a built URL 404s, retry the same path without the `/<username>` segment before
|
|
@@ -90,7 +100,13 @@ Write it in this order:
|
|
|
90
100
|
- **Hostinger Ecommerce store:** when `site.json → ecommerce.payment_enabled` is `false`, finish
|
|
91
101
|
payment setup in the store admin (`urls.store_admin`) before the storefront can sell; otherwise it's
|
|
92
102
|
ready to take orders.
|
|
93
|
-
- **
|
|
103
|
+
- **PocketBase:** manage the app from hPanel → the website (environment variables, deployments,
|
|
104
|
+
logs). Say in plain words who can do what, one line per kind of data from
|
|
105
|
+
`pocketbase/schema.json` (e.g. "anyone can book a free place; only you can see who booked"), and
|
|
106
|
+
that everything visitors enter is in the dashboard (`/_/`) → *Collections*. Then the two things
|
|
107
|
+
only the owner can set there: **Settings → Mail settings** (SMTP) before password-reset or
|
|
108
|
+
verification emails can be sent — required when visitors have accounts — and **Settings →
|
|
109
|
+
Backups**. Data changes show up live; a schema change needs no redeploy.
|
|
94
110
|
|
|
95
111
|
5. **Where state lives** — the workspace path `~/.hostinger/<domain>/`, the `stage` that a
|
|
96
112
|
resumed run will start from, and the build report `~/.hostinger/<domain>/report.html`.
|
|
@@ -111,7 +127,8 @@ already checked this — this is a quick re-confirm, not a full re-run):
|
|
|
111
127
|
- **WordPress admin:** `GET {urls.wp_admin}` → reachable (a login page, 200/302), not 404.
|
|
112
128
|
- **Backend API:** `GET {urls.rest_api}/posts?per_page=1` → 200 (WordPress); for a **WooCommerce** store
|
|
113
129
|
(`site.json → woocommerce.enabled`) also `GET {urls.store_api}/products?per_page=1` → 200; or the
|
|
114
|
-
storefront API for the sales channel → 200 (Ecommerce).
|
|
130
|
+
storefront API for the sales channel → 200 (Ecommerce); or `GET {urls.api}/health` → 200 and
|
|
131
|
+
`GET {urls.admin}` → 200 (PocketBase).
|
|
115
132
|
- **Contact form** (`site.json → contact_form.enabled`): validate already sent a test submission, so
|
|
116
133
|
don't send another here. Hand it over as
|
|
117
134
|
[`../04-content-model/wordpress/contact-form.md`](../04-content-model/wordpress/contact-form.md) §6 says.
|
package/skills/headless/wait.mjs
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// node wait.mjs cms <domain> <username> # wordpress_installations_list → /cms row is_valid (shell swap)
|
|
7
7
|
// node wait.mjs build <domain> <buildUuid> # hosting_get-deployment → build completed, then the root serves 200 (http:// while SSL is pending)
|
|
8
8
|
// node wait.mjs live <domain> # https://<domain>/ serves 200 (http:// while SSL is pending)
|
|
9
|
+
// node wait.mjs pocketbase <domain> # https://<domain>/api/health serves 200 (http:// while SSL is pending)
|
|
9
10
|
// any of them: [--timeout 10m]
|
|
10
11
|
//
|
|
11
12
|
// It talks to the local Hostinger MCP server, which reuses the sign-in from the connect step. Progress
|
|
@@ -79,17 +80,19 @@ const rowsFor = (data, domain) =>
|
|
|
79
80
|
(Array.isArray(data) ? data : data?.data ?? []).filter((r) => r.domain?.toLowerCase() === domain.toLowerCase());
|
|
80
81
|
|
|
81
82
|
// A new domain's SSL certificate can take far longer than the build, and until then HTTPS fails at the
|
|
82
|
-
// TLS handshake. When plain HTTP serves the
|
|
83
|
-
const
|
|
84
|
-
poll(
|
|
85
|
-
const status = await httpStatus(`https://${domain}
|
|
86
|
-
if (status === 200) return { done: { ok: true,
|
|
87
|
-
if (status !== 0) return { status:
|
|
88
|
-
const plain = await httpStatus(`http://${domain}
|
|
89
|
-
if (plain === 200) return { done: { ok: true,
|
|
90
|
-
return { status:
|
|
83
|
+
// TLS handshake. When plain HTTP serves the path, the job is done; HTTPS follows on its own.
|
|
84
|
+
const waitUrl = (label, path, key, domain, timeoutMs) =>
|
|
85
|
+
poll(label, timeoutMs, async () => {
|
|
86
|
+
const status = await httpStatus(`https://${domain}${path}`);
|
|
87
|
+
if (status === 200) return { done: { ok: true, [key]: `https://${domain}${path}` } };
|
|
88
|
+
if (status !== 0) return { status: `${label} ${status}` };
|
|
89
|
+
const plain = await httpStatus(`http://${domain}${path}`);
|
|
90
|
+
if (plain === 200) return { done: { ok: true, [key]: `http://${domain}${path}`, https_pending: true } };
|
|
91
|
+
return { status: `${label} unreachable over https, http ${plain || 'unreachable'}` };
|
|
91
92
|
});
|
|
92
93
|
|
|
94
|
+
const waitLive = (domain, timeoutMs) => waitUrl('root', '/', 'live', domain, timeoutMs);
|
|
95
|
+
|
|
93
96
|
const LIVE_TIMEOUT = '5m';
|
|
94
97
|
|
|
95
98
|
const KINDS = {
|
|
@@ -159,6 +162,13 @@ const KINDS = {
|
|
|
159
162
|
timeout: LIVE_TIMEOUT,
|
|
160
163
|
run: (_mcp, { domain }, timeoutMs) => waitLive(domain, timeoutMs),
|
|
161
164
|
},
|
|
165
|
+
|
|
166
|
+
// A PocketBase backend answers on the site's own domain; no Hostinger operation to poll, so no MCP server.
|
|
167
|
+
pocketbase: {
|
|
168
|
+
args: [],
|
|
169
|
+
timeout: '3m',
|
|
170
|
+
run: (_mcp, { domain }, timeoutMs) => waitUrl('/api/health', '/api/health', 'api', domain, timeoutMs),
|
|
171
|
+
},
|
|
162
172
|
};
|
|
163
173
|
|
|
164
174
|
const { positional, flags } = parseArgs(process.argv.slice(2));
|
package/src/core/runtime.js
CHANGED
|
@@ -62,7 +62,7 @@ const GetSkillRequestSchema = z.object({
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* MCP Server for Hostinger API
|
|
65
|
-
* Generated from OpenAPI spec version 3.0
|
|
65
|
+
* Generated from OpenAPI spec version 3.1.0
|
|
66
66
|
*/
|
|
67
67
|
class MCPServer {
|
|
68
68
|
constructor({ name, version, tools, instructions, skills = [] }) {
|
package/src/core/runtime.ts
CHANGED
|
@@ -97,7 +97,7 @@ interface Skill { uri: string; frontmatter: Record<string, unknown>; resources:
|
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* MCP Server for Hostinger API
|
|
100
|
-
* Generated from OpenAPI spec version 3.0
|
|
100
|
+
* Generated from OpenAPI spec version 3.1.0
|
|
101
101
|
*/
|
|
102
102
|
class MCPServer {
|
|
103
103
|
private readonly name: string;
|