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.

Tipo
Faz alterações
Créditos
1
Plataforma
AI Server
Aprovação
Prévia primeiro, aplicado após sua aprovação

O que faz

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.

A descrição está em inglês porque é o texto oficial que sua IA vê.

MCP: site_rebuild

Como usar

Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.

Como esta ferramenta altera sua conta, seu assistente mostra primeiro uma prévia exata da mudança. Nada é aplicado sem o seu sim, e cada alteração aplicada vai para o registro de auditoria.

Parâmetros

NomeTipoObrigatórioPadrão
serverstringOpcional·Name of the connected hosting server to target when more than one server is available.
sitestringOpcional·Identifier, key, or domain of the hosted site to target when more than one site is available.
page_tokenstringOpcional·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.