Opus Growth

Rebuild Site From Source

Re-build and re-publish a Next.js / Vite / CRA site FROM THE SOURCE KEPT ON THE SERVER by a prior deploy_site_zip of a source project.

Type
Effectue des modifications
Crédits
1
Plateforme
AI Server
Validation
Aperçu d'abord, appliqué après validation

Ce qu'il fait

Re-build and re-publish a Next.js / Vite / CRA site FROM THE SOURCE KEPT ON THE SERVER by a prior deploy_site_zip of a source project. This is the edit-in-chat → publish loop for build frameworks: the source lives under .src/ (kept after the first deploy) and is edited with site_edit_file / site_write_file (.src/app/page.tsx, .src/pages/index.js, .src/src/App.jsx and so on); site_rebuild then compiles the static export again and publishes it. Only works when a SOURCE project was deployed (a .src/ exists); a plain static site has no build step — just edit its files directly (they are already live). A version snapshot is taken first (site_restore undoes it). Build cap ~10 min; the server needs enough disk for node_modules (Next.js is large — small/free servers may run out of space; use an adequately-sized AI Server). `site` = the key or domain of an EXTRA website on that server; leave it empty for the main website.

La description est en anglais car c'est le texte officiel que voit votre IA.

MCP: site_rebuild

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Comme cet outil modifie votre compte, votre assistant affiche d'abord un aperçu exact du changement. Rien n'est appliqué sans votre accord et chaque modification est inscrite au journal d'audit.

Paramètres

NomTypeObligatoirePar défaut
serverstringFacultatif·Name of the connected hosting server to target when more than one server is available.
sitestringFacultatif·Identifier, key, or domain of the hosted site to target when more than one site is available.
page_tokenstringFacultatif·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.