{"name":"ギガサイト便 AI agent setup","description":"AIが取得した静的HTML/zipを、ギガサイト便の認証付きURLとして公開するための公開セットアップ情報です。","origin":"https://giga-site.com","version":"2026-06-19","docs":{"human":"https://giga-site.com/","agent":"https://giga-site.com/agents.txt","manifest":"https://giga-site.com/.well-known/giga-site-agent.json","webmcp":"https://giga-site.com/.well-known/webmcp.json"},"cli":{"package":"@giga-site/cli","bin":"giga","publishCommand":"GIGA_UPLOAD_TOKEN=<uploadToken.token> npx @giga-site/cli publish ./dist --json","tokenEnv":"GIGA_UPLOAD_TOKEN"},"api":{"health":"https://giga-site.com/api/health","createSite":"https://giga-site.com/api/sites","uploadRevision":"https://giga-site.com/api/sites/{siteId}/revisions","createUploadToken":"https://giga-site.com/api/agent/upload-tokens","oneTimeUpload":"https://giga-site.com/api/agent/uploads/{tokenId}","oneTimeUploadStatus":"https://giga-site.com/api/agent/uploads/{tokenId}","listSites":"https://giga-site.com/api/sites"},"agentWorkflow":{"createUploadToken":{"method":"POST","auth":"dashboard_session_required","note":"Signed-in users create short-lived upload tokens from the dashboard. Agents should not ask for dashboard cookies or passwords."},"oneTimeUpload":{"method":"POST","statusMethod":"GET","headers":{"Authorization":"Bearer <uploadToken.token>","Content-Type":"application/json"},"acceptedBodies":["{ html: string }","{ entryPath: string, files: [{ path, content, encoding, contentType }] }"],"successFields":["site.previewUrl","site.authMode","revision.warnings","revision.entryPath","revision.fileCount"],"commonErrors":[{"error":"upload_token_invalid","status":401,"agentMessage":"Authorization: Bearer に、管理画面で発行された完全な gut_<tokenId>_<uploadSecret> を指定してください。","nextAction":"ユーザーにToken付き依頼文を再コピーしてもらい、URLとBearer tokenを貼り直してください。","retryable":true},{"error":"upload_token_not_found","status":404,"agentMessage":"指定されたtokenIdは存在しません。URLの /api/agent/uploads/{tokenId} が発行文面と一致しているか確認してください。","nextAction":"ユーザーに新しい一回限りアップロードTokenの発行を依頼してください。","retryable":false},{"error":"upload_token_expired","status":410,"agentMessage":"この一回限りTokenは期限切れです。期限切れ後は復旧できません。","nextAction":"ユーザーに管理画面からTokenを再発行してもらってください。","retryable":false},{"error":"upload_token_already_used","status":409,"agentMessage":"このTokenは既に使用済みです。成功済みか、途中でリクエストが完了した可能性があります。","nextAction":"同じBearer tokenでGET statusを確認し、site.previewUrlが無ければユーザーにToken再発行を依頼してください。","retryable":false},{"error":"html_or_files_required","status":400,"agentMessage":"JSON bodyには html 文字列、または files 配列のどちらかが必要です。","nextAction":"単一HTMLなら {\"html\":\"...\"}、bundleなら entryPath と files[] を送ってください。","retryable":true},{"error":"entry_file_missing","status":400,"agentMessage":"bundle uploadには entryPath に一致する index.html が必要です。","nextAction":"files[] に index.html を含め、entryPath を index.html にしてください。","retryable":true},{"error":"upload_too_large","status":400,"agentMessage":"アップロード上限を超えています。不要な画像・動画・生成物を削って静的bundleを小さくしてください。","nextAction":"maxBytes以下に縮小して、未使用assetを除外してください。","retryable":true},{"error":"too_many_files","status":400,"agentMessage":"アップロードできるファイル数の上限を超えています。","nextAction":"不要ファイルやsource mapを除外して、maxFiles以下にしてください。","retryable":true},{"error":"slug_already_taken","status":409,"agentMessage":"固定された公開URL slug が既に使われています。","nextAction":"ユーザーに別slugでTokenを再発行してもらってください。","retryable":false}]}},"currentCapabilities":["create_site","upload_single_html","upload_static_file_bundle","cli_publish","one_time_upload_token","one_time_upload_status","browser_webmcp_tools","password_auth","company_domain_email_otp","expiry","preview_url"],"plannedCapabilities":["remote_http_mcp_server","agent_skill_package","agent_safe_browser_capture"],"safety":["Do not bypass login/paywalls or scrape private content.","Do not upload secrets, API keys, tokens, personal data, or customer data without explicit confirmation.","Only publish static HTML/CSS/JS/assets. For simple contact/request forms, opt in with <form data-giga-form=\"contact\"> so ギガサイト便 can store submissions; custom server-side code is out of scope.","Use password or company-domain email OTP for non-public previews.","Report warnings and the final preview URL to the user."],"copyPrompt":"あなたはWebサイト公開を代行するAIエージェントです。\n公開するHTML（静的ファイル一式）と、希望する公開サブドメイン（例: your-name.giga-site.com の your-name の部分）をユーザーに確認してください。\n確認できたら、そのHTMLをギガサイト便にアップロードし、認証付きプレビューURLを発行してください。サブドメインの指定がなければ自動で割り当てて構いません。\n\n前提:\n- ギガサイト便のAI向け手順: https://giga-site.com/agents.txt\n- 機械可読セットアップ情報: https://giga-site.com/api/agent/setup\n- ログイン突破、有料コンテンツ取得、秘密情報の抽出はしないでください。\n- 公開するHTML/CSS/JS/画像だけで静的サイト化できる範囲をアップロードしてください。サーバー実行やDBが必要な場合は、静的化できない部分を報告してください。\n- APIキー、トークン、個人情報らしき文字列が含まれる場合はアップロード前に止めて確認してください。\n\n希望する公開設定:\n- 認証方式: 共有パスワード、または会社ドメイン認証\n- 公開期限: 30日\n- 完了後に、プレビューURL・認証方式・警告・差し替え方法を短く報告してください。"}