[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-medusa-mcloud-environments":3,"mdc--sg4rg7-key":37,"related-org-medusa-mcloud-environments":1716,"related-repo-medusa-mcloud-environments":1872},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":32,"sourceUrl":35,"mdContent":36},"mcloud-environments","manage Medusa Cloud environments","Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when managing environment lifecycle, redeploying after variable changes, or starting new builds from source.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"medusa","Medusa","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmedusa.jpg","medusajs",[13,17,18],{"name":14,"slug":15,"type":16},"Operations","operations","tag",{"name":9,"slug":8,"type":16},{"name":19,"slug":20,"type":16},"Deployment","deployment",197,"https:\u002F\u002Fgithub.com\u002Fmedusajs\u002Fmedusa-agent-skills","2026-07-17T05:31:36.384292",null,24,[27,28,29,30,31,8],"agentic-commerce","claude","claude-code","commerce","ecommerce",{"repoUrl":22,"stars":21,"forks":25,"topics":33,"description":34},[27,28,29,30,31,8],"Agent skills and commands for Medusa best practices and conventions.","https:\u002F\u002Fgithub.com\u002Fmedusajs\u002Fmedusa-agent-skills\u002Ftree\u002FHEAD\u002Fplugins\u002Fmedusa-cloud\u002Fskills\u002Fmcloud-environments","---\nname: mcloud-environments\ndescription: Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when managing environment lifecycle, redeploying after variable changes, or starting new builds from source.\nallowed-tools: Bash(mcloud environments*), Bash(mcloud use*), Bash(jq*)\n---\n\n# Cloud CLI: Environments Commands\n\nExecute `mcloud environments` commands to manage environment lifecycle and deployments.\n\n## Constraints\n\n- **Production environments cannot be deleted.** Always check `type` via `environments get --json` before attempting delete in automation.\n- Use `--yes` for destructive operations (`delete`) in non-interactive contexts.\n- `redeploy` vs `trigger-build` are not interchangeable — choose the right one based on where the fix is.\n\n## Commands\n\n### environments list\n\nList all environments in a project.\n\n```bash\nmcloud environments list --organization \u003Corg-id> --project \u003Cproject-id-or-handle> --json\n```\n\n**Options:**\n- `-o\u002F--organization \u003Cid>` — Organization ID (falls back to active context)\n- `-p\u002F--project \u003Cid-or-handle>` — Project ID or handle (falls back to active context)\n- `--json` — Output as JSON\n\n### environments get\n\nRetrieve a single environment by its ID or handle.\n\n```bash\nmcloud environments get \u003Cenvironment-id-or-handle> --organization \u003Corg-id> --project \u003Cproject-id-or-handle> --json\n```\n\n**Arguments:**\n- `environment` — Environment ID or handle (required)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`, `--json`\n\n### environments create\n\nCreate a new long-lived environment.\n\n```bash\nmcloud environments create \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --name \"Staging\" \\\n  --branch develop \\\n  --json\n```\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`\n- `-n\u002F--name \u003Cname>` — Environment name (required)\n- `-b\u002F--branch \u003Cbranch>` — Git branch to track (required)\n- `--custom-subdomain \u003Csubdomain>` — Optional custom subdomain\n- `--json` — Output as JSON\n\n### environments delete\n\nDelete an environment. **Cannot delete production environments.**\n\n```bash\nmcloud environments delete \u003Cenvironment-id-or-handle> \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --yes\n```\n\n**Arguments:**\n- `environment` — Environment ID or handle (required)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`\n- `-y\u002F--yes` — Skip confirmation prompt (required in non-interactive mode)\n- `--json` — Output as JSON\n\n### environments redeploy\n\nRe-run an existing build for the active deployment. Use when the fix is environment-side (variable change, infra issue) — does NOT start a new build.\n\n```bash\nmcloud environments redeploy \u003Cenvironment-id-or-handle> \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --json\n```\n\n**Arguments:**\n- `environment` — Environment ID or handle (required)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`, `--json`\n\n> Requires the environment to have an active deployment. If it doesn't, use `trigger-build` first.\n\n### environments trigger-build\n\nStart a new build from the tracked branch. Use when the fix is committed code — creates a new deployment.\n\n```bash\nmcloud environments trigger-build \u003Cenvironment-id-or-handle> \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --json\n```\n\n**Arguments:**\n- `environment` — Environment ID or handle (required)\n\n**Options:**\n- `-o\u002F--organization \u003Cid>`, `-p\u002F--project \u003Cid-or-handle>`, `--json`\n\n## Redeploy vs Trigger-Build Decision\n\n| Command | When to use |\n|---------|-------------|\n| `redeploy` | Fix is environment-side (variable change, infra config) — reruns existing build |\n| `trigger-build` | Fix is in source code on the tracked branch — starts a new build |\n\n## Examples\n\n```bash\n# List all environments\nmcloud environments list --json\n\n# Get environment details and check type before deleting\nmcloud environments get staging --json | jq '{id, name, type, status}'\n\n# Create a new environment tracking the develop branch\nmcloud environments create --name \"Staging\" --branch develop --json\n\n# Delete a non-production environment\nmcloud environments delete staging --yes\n\n# Redeploy after a variable change\nmcloud environments redeploy production --json\n\n# Trigger a fresh build from source\nmcloud environments trigger-build production --json\n\n# Find environment handles by name\nmcloud environments list --json \\\n  | jq -r '.[] | select(.name == \"Production\") | .handle'\n\n# Verify new build started\nmcloud deployments list --environment production --limit 5 --json \\\n  | jq '.[] | {id, backend_status, updated_at}'\n```\n",{"data":38,"body":40},{"name":4,"description":6,"allowed-tools":39},"Bash(mcloud environments*), Bash(mcloud use*), Bash(jq*)",{"type":41,"children":42},"root",[43,52,67,74,146,152,159,164,253,261,297,303,308,392,400,414,421,445,451,456,597,604,663,669,679,784,791,803,810,847,853,858,962,969,981,988,1011,1027,1033,1038,1142,1149,1161,1168,1191,1197,1257,1263,1710],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"cloud-cli-environments-commands",[49],{"type":50,"value":51},"text","Cloud CLI: Environments Commands",{"type":44,"tag":53,"props":54,"children":55},"p",{},[56,58,65],{"type":50,"value":57},"Execute ",{"type":44,"tag":59,"props":60,"children":62},"code",{"className":61},[],[63],{"type":50,"value":64},"mcloud environments",{"type":50,"value":66}," commands to manage environment lifecycle and deployments.",{"type":44,"tag":68,"props":69,"children":71},"h2",{"id":70},"constraints",[72],{"type":50,"value":73},"Constraints",{"type":44,"tag":75,"props":76,"children":77},"ul",{},[78,106,127],{"type":44,"tag":79,"props":80,"children":81},"li",{},[82,88,90,96,98,104],{"type":44,"tag":83,"props":84,"children":85},"strong",{},[86],{"type":50,"value":87},"Production environments cannot be deleted.",{"type":50,"value":89}," Always check ",{"type":44,"tag":59,"props":91,"children":93},{"className":92},[],[94],{"type":50,"value":95},"type",{"type":50,"value":97}," via ",{"type":44,"tag":59,"props":99,"children":101},{"className":100},[],[102],{"type":50,"value":103},"environments get --json",{"type":50,"value":105}," before attempting delete in automation.",{"type":44,"tag":79,"props":107,"children":108},{},[109,111,117,119,125],{"type":50,"value":110},"Use ",{"type":44,"tag":59,"props":112,"children":114},{"className":113},[],[115],{"type":50,"value":116},"--yes",{"type":50,"value":118}," for destructive operations (",{"type":44,"tag":59,"props":120,"children":122},{"className":121},[],[123],{"type":50,"value":124},"delete",{"type":50,"value":126},") in non-interactive contexts.",{"type":44,"tag":79,"props":128,"children":129},{},[130,136,138,144],{"type":44,"tag":59,"props":131,"children":133},{"className":132},[],[134],{"type":50,"value":135},"redeploy",{"type":50,"value":137}," vs ",{"type":44,"tag":59,"props":139,"children":141},{"className":140},[],[142],{"type":50,"value":143},"trigger-build",{"type":50,"value":145}," are not interchangeable — choose the right one based on where the fix is.",{"type":44,"tag":68,"props":147,"children":149},{"id":148},"commands",[150],{"type":50,"value":151},"Commands",{"type":44,"tag":153,"props":154,"children":156},"h3",{"id":155},"environments-list",[157],{"type":50,"value":158},"environments list",{"type":44,"tag":53,"props":160,"children":161},{},[162],{"type":50,"value":163},"List all environments in a project.",{"type":44,"tag":165,"props":166,"children":171},"pre",{"className":167,"code":168,"language":169,"meta":170,"style":170},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","mcloud environments list --organization \u003Corg-id> --project \u003Cproject-id-or-handle> --json\n","bash","",[172],{"type":44,"tag":59,"props":173,"children":174},{"__ignoreMap":170},[175],{"type":44,"tag":176,"props":177,"children":180},"span",{"class":178,"line":179},"line",1,[181,187,193,198,203,209,214,220,225,230,234,239,244,248],{"type":44,"tag":176,"props":182,"children":184},{"style":183},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[185],{"type":50,"value":186},"mcloud",{"type":44,"tag":176,"props":188,"children":190},{"style":189},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[191],{"type":50,"value":192}," environments",{"type":44,"tag":176,"props":194,"children":195},{"style":189},[196],{"type":50,"value":197}," list",{"type":44,"tag":176,"props":199,"children":200},{"style":189},[201],{"type":50,"value":202}," --organization",{"type":44,"tag":176,"props":204,"children":206},{"style":205},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[207],{"type":50,"value":208}," \u003C",{"type":44,"tag":176,"props":210,"children":211},{"style":189},[212],{"type":50,"value":213},"org-i",{"type":44,"tag":176,"props":215,"children":217},{"style":216},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[218],{"type":50,"value":219},"d",{"type":44,"tag":176,"props":221,"children":222},{"style":205},[223],{"type":50,"value":224},">",{"type":44,"tag":176,"props":226,"children":227},{"style":189},[228],{"type":50,"value":229}," --project",{"type":44,"tag":176,"props":231,"children":232},{"style":205},[233],{"type":50,"value":208},{"type":44,"tag":176,"props":235,"children":236},{"style":189},[237],{"type":50,"value":238},"project-id-or-handl",{"type":44,"tag":176,"props":240,"children":241},{"style":216},[242],{"type":50,"value":243},"e",{"type":44,"tag":176,"props":245,"children":246},{"style":205},[247],{"type":50,"value":224},{"type":44,"tag":176,"props":249,"children":250},{"style":189},[251],{"type":50,"value":252}," --json\n",{"type":44,"tag":53,"props":254,"children":255},{},[256],{"type":44,"tag":83,"props":257,"children":258},{},[259],{"type":50,"value":260},"Options:",{"type":44,"tag":75,"props":262,"children":263},{},[264,275,286],{"type":44,"tag":79,"props":265,"children":266},{},[267,273],{"type":44,"tag":59,"props":268,"children":270},{"className":269},[],[271],{"type":50,"value":272},"-o\u002F--organization \u003Cid>",{"type":50,"value":274}," — Organization ID (falls back to active context)",{"type":44,"tag":79,"props":276,"children":277},{},[278,284],{"type":44,"tag":59,"props":279,"children":281},{"className":280},[],[282],{"type":50,"value":283},"-p\u002F--project \u003Cid-or-handle>",{"type":50,"value":285}," — Project ID or handle (falls back to active context)",{"type":44,"tag":79,"props":287,"children":288},{},[289,295],{"type":44,"tag":59,"props":290,"children":292},{"className":291},[],[293],{"type":50,"value":294},"--json",{"type":50,"value":296}," — Output as JSON",{"type":44,"tag":153,"props":298,"children":300},{"id":299},"environments-get",[301],{"type":50,"value":302},"environments get",{"type":44,"tag":53,"props":304,"children":305},{},[306],{"type":50,"value":307},"Retrieve a single environment by its ID or handle.",{"type":44,"tag":165,"props":309,"children":311},{"className":167,"code":310,"language":169,"meta":170,"style":170},"mcloud environments get \u003Cenvironment-id-or-handle> --organization \u003Corg-id> --project \u003Cproject-id-or-handle> --json\n",[312],{"type":44,"tag":59,"props":313,"children":314},{"__ignoreMap":170},[315],{"type":44,"tag":176,"props":316,"children":317},{"class":178,"line":179},[318,322,326,331,335,340,344,348,352,356,360,364,368,372,376,380,384,388],{"type":44,"tag":176,"props":319,"children":320},{"style":183},[321],{"type":50,"value":186},{"type":44,"tag":176,"props":323,"children":324},{"style":189},[325],{"type":50,"value":192},{"type":44,"tag":176,"props":327,"children":328},{"style":189},[329],{"type":50,"value":330}," get",{"type":44,"tag":176,"props":332,"children":333},{"style":205},[334],{"type":50,"value":208},{"type":44,"tag":176,"props":336,"children":337},{"style":189},[338],{"type":50,"value":339},"environment-id-or-handl",{"type":44,"tag":176,"props":341,"children":342},{"style":216},[343],{"type":50,"value":243},{"type":44,"tag":176,"props":345,"children":346},{"style":205},[347],{"type":50,"value":224},{"type":44,"tag":176,"props":349,"children":350},{"style":189},[351],{"type":50,"value":202},{"type":44,"tag":176,"props":353,"children":354},{"style":205},[355],{"type":50,"value":208},{"type":44,"tag":176,"props":357,"children":358},{"style":189},[359],{"type":50,"value":213},{"type":44,"tag":176,"props":361,"children":362},{"style":216},[363],{"type":50,"value":219},{"type":44,"tag":176,"props":365,"children":366},{"style":205},[367],{"type":50,"value":224},{"type":44,"tag":176,"props":369,"children":370},{"style":189},[371],{"type":50,"value":229},{"type":44,"tag":176,"props":373,"children":374},{"style":205},[375],{"type":50,"value":208},{"type":44,"tag":176,"props":377,"children":378},{"style":189},[379],{"type":50,"value":238},{"type":44,"tag":176,"props":381,"children":382},{"style":216},[383],{"type":50,"value":243},{"type":44,"tag":176,"props":385,"children":386},{"style":205},[387],{"type":50,"value":224},{"type":44,"tag":176,"props":389,"children":390},{"style":189},[391],{"type":50,"value":252},{"type":44,"tag":53,"props":393,"children":394},{},[395],{"type":44,"tag":83,"props":396,"children":397},{},[398],{"type":50,"value":399},"Arguments:",{"type":44,"tag":75,"props":401,"children":402},{},[403],{"type":44,"tag":79,"props":404,"children":405},{},[406,412],{"type":44,"tag":59,"props":407,"children":409},{"className":408},[],[410],{"type":50,"value":411},"environment",{"type":50,"value":413}," — Environment ID or handle (required)",{"type":44,"tag":53,"props":415,"children":416},{},[417],{"type":44,"tag":83,"props":418,"children":419},{},[420],{"type":50,"value":260},{"type":44,"tag":75,"props":422,"children":423},{},[424],{"type":44,"tag":79,"props":425,"children":426},{},[427,432,434,439,440],{"type":44,"tag":59,"props":428,"children":430},{"className":429},[],[431],{"type":50,"value":272},{"type":50,"value":433},", ",{"type":44,"tag":59,"props":435,"children":437},{"className":436},[],[438],{"type":50,"value":283},{"type":50,"value":433},{"type":44,"tag":59,"props":441,"children":443},{"className":442},[],[444],{"type":50,"value":294},{"type":44,"tag":153,"props":446,"children":448},{"id":447},"environments-create",[449],{"type":50,"value":450},"environments create",{"type":44,"tag":53,"props":452,"children":453},{},[454],{"type":50,"value":455},"Create a new long-lived environment.",{"type":44,"tag":165,"props":457,"children":459},{"className":167,"code":458,"language":169,"meta":170,"style":170},"mcloud environments create \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --name \"Staging\" \\\n  --branch develop \\\n  --json\n",[460],{"type":44,"tag":59,"props":461,"children":462},{"__ignoreMap":170},[463,484,513,542,570,588],{"type":44,"tag":176,"props":464,"children":465},{"class":178,"line":179},[466,470,474,479],{"type":44,"tag":176,"props":467,"children":468},{"style":183},[469],{"type":50,"value":186},{"type":44,"tag":176,"props":471,"children":472},{"style":189},[473],{"type":50,"value":192},{"type":44,"tag":176,"props":475,"children":476},{"style":189},[477],{"type":50,"value":478}," create",{"type":44,"tag":176,"props":480,"children":481},{"style":216},[482],{"type":50,"value":483}," \\\n",{"type":44,"tag":176,"props":485,"children":487},{"class":178,"line":486},2,[488,493,497,501,505,509],{"type":44,"tag":176,"props":489,"children":490},{"style":189},[491],{"type":50,"value":492},"  --organization",{"type":44,"tag":176,"props":494,"children":495},{"style":205},[496],{"type":50,"value":208},{"type":44,"tag":176,"props":498,"children":499},{"style":189},[500],{"type":50,"value":213},{"type":44,"tag":176,"props":502,"children":503},{"style":216},[504],{"type":50,"value":219},{"type":44,"tag":176,"props":506,"children":507},{"style":205},[508],{"type":50,"value":224},{"type":44,"tag":176,"props":510,"children":511},{"style":216},[512],{"type":50,"value":483},{"type":44,"tag":176,"props":514,"children":516},{"class":178,"line":515},3,[517,522,526,530,534,538],{"type":44,"tag":176,"props":518,"children":519},{"style":189},[520],{"type":50,"value":521},"  --project",{"type":44,"tag":176,"props":523,"children":524},{"style":205},[525],{"type":50,"value":208},{"type":44,"tag":176,"props":527,"children":528},{"style":189},[529],{"type":50,"value":238},{"type":44,"tag":176,"props":531,"children":532},{"style":216},[533],{"type":50,"value":243},{"type":44,"tag":176,"props":535,"children":536},{"style":205},[537],{"type":50,"value":224},{"type":44,"tag":176,"props":539,"children":540},{"style":216},[541],{"type":50,"value":483},{"type":44,"tag":176,"props":543,"children":545},{"class":178,"line":544},4,[546,551,556,561,566],{"type":44,"tag":176,"props":547,"children":548},{"style":189},[549],{"type":50,"value":550},"  --name",{"type":44,"tag":176,"props":552,"children":553},{"style":205},[554],{"type":50,"value":555}," \"",{"type":44,"tag":176,"props":557,"children":558},{"style":189},[559],{"type":50,"value":560},"Staging",{"type":44,"tag":176,"props":562,"children":563},{"style":205},[564],{"type":50,"value":565},"\"",{"type":44,"tag":176,"props":567,"children":568},{"style":216},[569],{"type":50,"value":483},{"type":44,"tag":176,"props":571,"children":573},{"class":178,"line":572},5,[574,579,584],{"type":44,"tag":176,"props":575,"children":576},{"style":189},[577],{"type":50,"value":578},"  --branch",{"type":44,"tag":176,"props":580,"children":581},{"style":189},[582],{"type":50,"value":583}," develop",{"type":44,"tag":176,"props":585,"children":586},{"style":216},[587],{"type":50,"value":483},{"type":44,"tag":176,"props":589,"children":591},{"class":178,"line":590},6,[592],{"type":44,"tag":176,"props":593,"children":594},{"style":189},[595],{"type":50,"value":596},"  --json\n",{"type":44,"tag":53,"props":598,"children":599},{},[600],{"type":44,"tag":83,"props":601,"children":602},{},[603],{"type":50,"value":260},{"type":44,"tag":75,"props":605,"children":606},{},[607,621,632,643,654],{"type":44,"tag":79,"props":608,"children":609},{},[610,615,616],{"type":44,"tag":59,"props":611,"children":613},{"className":612},[],[614],{"type":50,"value":272},{"type":50,"value":433},{"type":44,"tag":59,"props":617,"children":619},{"className":618},[],[620],{"type":50,"value":283},{"type":44,"tag":79,"props":622,"children":623},{},[624,630],{"type":44,"tag":59,"props":625,"children":627},{"className":626},[],[628],{"type":50,"value":629},"-n\u002F--name \u003Cname>",{"type":50,"value":631}," — Environment name (required)",{"type":44,"tag":79,"props":633,"children":634},{},[635,641],{"type":44,"tag":59,"props":636,"children":638},{"className":637},[],[639],{"type":50,"value":640},"-b\u002F--branch \u003Cbranch>",{"type":50,"value":642}," — Git branch to track (required)",{"type":44,"tag":79,"props":644,"children":645},{},[646,652],{"type":44,"tag":59,"props":647,"children":649},{"className":648},[],[650],{"type":50,"value":651},"--custom-subdomain \u003Csubdomain>",{"type":50,"value":653}," — Optional custom subdomain",{"type":44,"tag":79,"props":655,"children":656},{},[657,662],{"type":44,"tag":59,"props":658,"children":660},{"className":659},[],[661],{"type":50,"value":294},{"type":50,"value":296},{"type":44,"tag":153,"props":664,"children":666},{"id":665},"environments-delete",[667],{"type":50,"value":668},"environments delete",{"type":44,"tag":53,"props":670,"children":671},{},[672,674],{"type":50,"value":673},"Delete an environment. ",{"type":44,"tag":83,"props":675,"children":676},{},[677],{"type":50,"value":678},"Cannot delete production environments.",{"type":44,"tag":165,"props":680,"children":682},{"className":167,"code":681,"language":169,"meta":170,"style":170},"mcloud environments delete \u003Cenvironment-id-or-handle> \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --yes\n",[683],{"type":44,"tag":59,"props":684,"children":685},{"__ignoreMap":170},[686,722,749,776],{"type":44,"tag":176,"props":687,"children":688},{"class":178,"line":179},[689,693,697,702,706,710,714,718],{"type":44,"tag":176,"props":690,"children":691},{"style":183},[692],{"type":50,"value":186},{"type":44,"tag":176,"props":694,"children":695},{"style":189},[696],{"type":50,"value":192},{"type":44,"tag":176,"props":698,"children":699},{"style":189},[700],{"type":50,"value":701}," delete",{"type":44,"tag":176,"props":703,"children":704},{"style":205},[705],{"type":50,"value":208},{"type":44,"tag":176,"props":707,"children":708},{"style":189},[709],{"type":50,"value":339},{"type":44,"tag":176,"props":711,"children":712},{"style":216},[713],{"type":50,"value":243},{"type":44,"tag":176,"props":715,"children":716},{"style":205},[717],{"type":50,"value":224},{"type":44,"tag":176,"props":719,"children":720},{"style":216},[721],{"type":50,"value":483},{"type":44,"tag":176,"props":723,"children":724},{"class":178,"line":486},[725,729,733,737,741,745],{"type":44,"tag":176,"props":726,"children":727},{"style":189},[728],{"type":50,"value":492},{"type":44,"tag":176,"props":730,"children":731},{"style":205},[732],{"type":50,"value":208},{"type":44,"tag":176,"props":734,"children":735},{"style":189},[736],{"type":50,"value":213},{"type":44,"tag":176,"props":738,"children":739},{"style":216},[740],{"type":50,"value":219},{"type":44,"tag":176,"props":742,"children":743},{"style":205},[744],{"type":50,"value":224},{"type":44,"tag":176,"props":746,"children":747},{"style":216},[748],{"type":50,"value":483},{"type":44,"tag":176,"props":750,"children":751},{"class":178,"line":515},[752,756,760,764,768,772],{"type":44,"tag":176,"props":753,"children":754},{"style":189},[755],{"type":50,"value":521},{"type":44,"tag":176,"props":757,"children":758},{"style":205},[759],{"type":50,"value":208},{"type":44,"tag":176,"props":761,"children":762},{"style":189},[763],{"type":50,"value":238},{"type":44,"tag":176,"props":765,"children":766},{"style":216},[767],{"type":50,"value":243},{"type":44,"tag":176,"props":769,"children":770},{"style":205},[771],{"type":50,"value":224},{"type":44,"tag":176,"props":773,"children":774},{"style":216},[775],{"type":50,"value":483},{"type":44,"tag":176,"props":777,"children":778},{"class":178,"line":544},[779],{"type":44,"tag":176,"props":780,"children":781},{"style":189},[782],{"type":50,"value":783},"  --yes\n",{"type":44,"tag":53,"props":785,"children":786},{},[787],{"type":44,"tag":83,"props":788,"children":789},{},[790],{"type":50,"value":399},{"type":44,"tag":75,"props":792,"children":793},{},[794],{"type":44,"tag":79,"props":795,"children":796},{},[797,802],{"type":44,"tag":59,"props":798,"children":800},{"className":799},[],[801],{"type":50,"value":411},{"type":50,"value":413},{"type":44,"tag":53,"props":804,"children":805},{},[806],{"type":44,"tag":83,"props":807,"children":808},{},[809],{"type":50,"value":260},{"type":44,"tag":75,"props":811,"children":812},{},[813,827,838],{"type":44,"tag":79,"props":814,"children":815},{},[816,821,822],{"type":44,"tag":59,"props":817,"children":819},{"className":818},[],[820],{"type":50,"value":272},{"type":50,"value":433},{"type":44,"tag":59,"props":823,"children":825},{"className":824},[],[826],{"type":50,"value":283},{"type":44,"tag":79,"props":828,"children":829},{},[830,836],{"type":44,"tag":59,"props":831,"children":833},{"className":832},[],[834],{"type":50,"value":835},"-y\u002F--yes",{"type":50,"value":837}," — Skip confirmation prompt (required in non-interactive mode)",{"type":44,"tag":79,"props":839,"children":840},{},[841,846],{"type":44,"tag":59,"props":842,"children":844},{"className":843},[],[845],{"type":50,"value":294},{"type":50,"value":296},{"type":44,"tag":153,"props":848,"children":850},{"id":849},"environments-redeploy",[851],{"type":50,"value":852},"environments redeploy",{"type":44,"tag":53,"props":854,"children":855},{},[856],{"type":50,"value":857},"Re-run an existing build for the active deployment. Use when the fix is environment-side (variable change, infra issue) — does NOT start a new build.",{"type":44,"tag":165,"props":859,"children":861},{"className":167,"code":860,"language":169,"meta":170,"style":170},"mcloud environments redeploy \u003Cenvironment-id-or-handle> \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --json\n",[862],{"type":44,"tag":59,"props":863,"children":864},{"__ignoreMap":170},[865,901,928,955],{"type":44,"tag":176,"props":866,"children":867},{"class":178,"line":179},[868,872,876,881,885,889,893,897],{"type":44,"tag":176,"props":869,"children":870},{"style":183},[871],{"type":50,"value":186},{"type":44,"tag":176,"props":873,"children":874},{"style":189},[875],{"type":50,"value":192},{"type":44,"tag":176,"props":877,"children":878},{"style":189},[879],{"type":50,"value":880}," redeploy",{"type":44,"tag":176,"props":882,"children":883},{"style":205},[884],{"type":50,"value":208},{"type":44,"tag":176,"props":886,"children":887},{"style":189},[888],{"type":50,"value":339},{"type":44,"tag":176,"props":890,"children":891},{"style":216},[892],{"type":50,"value":243},{"type":44,"tag":176,"props":894,"children":895},{"style":205},[896],{"type":50,"value":224},{"type":44,"tag":176,"props":898,"children":899},{"style":216},[900],{"type":50,"value":483},{"type":44,"tag":176,"props":902,"children":903},{"class":178,"line":486},[904,908,912,916,920,924],{"type":44,"tag":176,"props":905,"children":906},{"style":189},[907],{"type":50,"value":492},{"type":44,"tag":176,"props":909,"children":910},{"style":205},[911],{"type":50,"value":208},{"type":44,"tag":176,"props":913,"children":914},{"style":189},[915],{"type":50,"value":213},{"type":44,"tag":176,"props":917,"children":918},{"style":216},[919],{"type":50,"value":219},{"type":44,"tag":176,"props":921,"children":922},{"style":205},[923],{"type":50,"value":224},{"type":44,"tag":176,"props":925,"children":926},{"style":216},[927],{"type":50,"value":483},{"type":44,"tag":176,"props":929,"children":930},{"class":178,"line":515},[931,935,939,943,947,951],{"type":44,"tag":176,"props":932,"children":933},{"style":189},[934],{"type":50,"value":521},{"type":44,"tag":176,"props":936,"children":937},{"style":205},[938],{"type":50,"value":208},{"type":44,"tag":176,"props":940,"children":941},{"style":189},[942],{"type":50,"value":238},{"type":44,"tag":176,"props":944,"children":945},{"style":216},[946],{"type":50,"value":243},{"type":44,"tag":176,"props":948,"children":949},{"style":205},[950],{"type":50,"value":224},{"type":44,"tag":176,"props":952,"children":953},{"style":216},[954],{"type":50,"value":483},{"type":44,"tag":176,"props":956,"children":957},{"class":178,"line":544},[958],{"type":44,"tag":176,"props":959,"children":960},{"style":189},[961],{"type":50,"value":596},{"type":44,"tag":53,"props":963,"children":964},{},[965],{"type":44,"tag":83,"props":966,"children":967},{},[968],{"type":50,"value":399},{"type":44,"tag":75,"props":970,"children":971},{},[972],{"type":44,"tag":79,"props":973,"children":974},{},[975,980],{"type":44,"tag":59,"props":976,"children":978},{"className":977},[],[979],{"type":50,"value":411},{"type":50,"value":413},{"type":44,"tag":53,"props":982,"children":983},{},[984],{"type":44,"tag":83,"props":985,"children":986},{},[987],{"type":50,"value":260},{"type":44,"tag":75,"props":989,"children":990},{},[991],{"type":44,"tag":79,"props":992,"children":993},{},[994,999,1000,1005,1006],{"type":44,"tag":59,"props":995,"children":997},{"className":996},[],[998],{"type":50,"value":272},{"type":50,"value":433},{"type":44,"tag":59,"props":1001,"children":1003},{"className":1002},[],[1004],{"type":50,"value":283},{"type":50,"value":433},{"type":44,"tag":59,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":50,"value":294},{"type":44,"tag":1012,"props":1013,"children":1014},"blockquote",{},[1015],{"type":44,"tag":53,"props":1016,"children":1017},{},[1018,1020,1025],{"type":50,"value":1019},"Requires the environment to have an active deployment. If it doesn't, use ",{"type":44,"tag":59,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":50,"value":143},{"type":50,"value":1026}," first.",{"type":44,"tag":153,"props":1028,"children":1030},{"id":1029},"environments-trigger-build",[1031],{"type":50,"value":1032},"environments trigger-build",{"type":44,"tag":53,"props":1034,"children":1035},{},[1036],{"type":50,"value":1037},"Start a new build from the tracked branch. Use when the fix is committed code — creates a new deployment.",{"type":44,"tag":165,"props":1039,"children":1041},{"className":167,"code":1040,"language":169,"meta":170,"style":170},"mcloud environments trigger-build \u003Cenvironment-id-or-handle> \\\n  --organization \u003Corg-id> \\\n  --project \u003Cproject-id-or-handle> \\\n  --json\n",[1042],{"type":44,"tag":59,"props":1043,"children":1044},{"__ignoreMap":170},[1045,1081,1108,1135],{"type":44,"tag":176,"props":1046,"children":1047},{"class":178,"line":179},[1048,1052,1056,1061,1065,1069,1073,1077],{"type":44,"tag":176,"props":1049,"children":1050},{"style":183},[1051],{"type":50,"value":186},{"type":44,"tag":176,"props":1053,"children":1054},{"style":189},[1055],{"type":50,"value":192},{"type":44,"tag":176,"props":1057,"children":1058},{"style":189},[1059],{"type":50,"value":1060}," trigger-build",{"type":44,"tag":176,"props":1062,"children":1063},{"style":205},[1064],{"type":50,"value":208},{"type":44,"tag":176,"props":1066,"children":1067},{"style":189},[1068],{"type":50,"value":339},{"type":44,"tag":176,"props":1070,"children":1071},{"style":216},[1072],{"type":50,"value":243},{"type":44,"tag":176,"props":1074,"children":1075},{"style":205},[1076],{"type":50,"value":224},{"type":44,"tag":176,"props":1078,"children":1079},{"style":216},[1080],{"type":50,"value":483},{"type":44,"tag":176,"props":1082,"children":1083},{"class":178,"line":486},[1084,1088,1092,1096,1100,1104],{"type":44,"tag":176,"props":1085,"children":1086},{"style":189},[1087],{"type":50,"value":492},{"type":44,"tag":176,"props":1089,"children":1090},{"style":205},[1091],{"type":50,"value":208},{"type":44,"tag":176,"props":1093,"children":1094},{"style":189},[1095],{"type":50,"value":213},{"type":44,"tag":176,"props":1097,"children":1098},{"style":216},[1099],{"type":50,"value":219},{"type":44,"tag":176,"props":1101,"children":1102},{"style":205},[1103],{"type":50,"value":224},{"type":44,"tag":176,"props":1105,"children":1106},{"style":216},[1107],{"type":50,"value":483},{"type":44,"tag":176,"props":1109,"children":1110},{"class":178,"line":515},[1111,1115,1119,1123,1127,1131],{"type":44,"tag":176,"props":1112,"children":1113},{"style":189},[1114],{"type":50,"value":521},{"type":44,"tag":176,"props":1116,"children":1117},{"style":205},[1118],{"type":50,"value":208},{"type":44,"tag":176,"props":1120,"children":1121},{"style":189},[1122],{"type":50,"value":238},{"type":44,"tag":176,"props":1124,"children":1125},{"style":216},[1126],{"type":50,"value":243},{"type":44,"tag":176,"props":1128,"children":1129},{"style":205},[1130],{"type":50,"value":224},{"type":44,"tag":176,"props":1132,"children":1133},{"style":216},[1134],{"type":50,"value":483},{"type":44,"tag":176,"props":1136,"children":1137},{"class":178,"line":544},[1138],{"type":44,"tag":176,"props":1139,"children":1140},{"style":189},[1141],{"type":50,"value":596},{"type":44,"tag":53,"props":1143,"children":1144},{},[1145],{"type":44,"tag":83,"props":1146,"children":1147},{},[1148],{"type":50,"value":399},{"type":44,"tag":75,"props":1150,"children":1151},{},[1152],{"type":44,"tag":79,"props":1153,"children":1154},{},[1155,1160],{"type":44,"tag":59,"props":1156,"children":1158},{"className":1157},[],[1159],{"type":50,"value":411},{"type":50,"value":413},{"type":44,"tag":53,"props":1162,"children":1163},{},[1164],{"type":44,"tag":83,"props":1165,"children":1166},{},[1167],{"type":50,"value":260},{"type":44,"tag":75,"props":1169,"children":1170},{},[1171],{"type":44,"tag":79,"props":1172,"children":1173},{},[1174,1179,1180,1185,1186],{"type":44,"tag":59,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":50,"value":272},{"type":50,"value":433},{"type":44,"tag":59,"props":1181,"children":1183},{"className":1182},[],[1184],{"type":50,"value":283},{"type":50,"value":433},{"type":44,"tag":59,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":50,"value":294},{"type":44,"tag":68,"props":1192,"children":1194},{"id":1193},"redeploy-vs-trigger-build-decision",[1195],{"type":50,"value":1196},"Redeploy vs Trigger-Build Decision",{"type":44,"tag":1198,"props":1199,"children":1200},"table",{},[1201,1220],{"type":44,"tag":1202,"props":1203,"children":1204},"thead",{},[1205],{"type":44,"tag":1206,"props":1207,"children":1208},"tr",{},[1209,1215],{"type":44,"tag":1210,"props":1211,"children":1212},"th",{},[1213],{"type":50,"value":1214},"Command",{"type":44,"tag":1210,"props":1216,"children":1217},{},[1218],{"type":50,"value":1219},"When to use",{"type":44,"tag":1221,"props":1222,"children":1223},"tbody",{},[1224,1241],{"type":44,"tag":1206,"props":1225,"children":1226},{},[1227,1236],{"type":44,"tag":1228,"props":1229,"children":1230},"td",{},[1231],{"type":44,"tag":59,"props":1232,"children":1234},{"className":1233},[],[1235],{"type":50,"value":135},{"type":44,"tag":1228,"props":1237,"children":1238},{},[1239],{"type":50,"value":1240},"Fix is environment-side (variable change, infra config) — reruns existing build",{"type":44,"tag":1206,"props":1242,"children":1243},{},[1244,1252],{"type":44,"tag":1228,"props":1245,"children":1246},{},[1247],{"type":44,"tag":59,"props":1248,"children":1250},{"className":1249},[],[1251],{"type":50,"value":143},{"type":44,"tag":1228,"props":1253,"children":1254},{},[1255],{"type":50,"value":1256},"Fix is in source code on the tracked branch — starts a new build",{"type":44,"tag":68,"props":1258,"children":1260},{"id":1259},"examples",[1261],{"type":50,"value":1262},"Examples",{"type":44,"tag":165,"props":1264,"children":1266},{"className":167,"code":1265,"language":169,"meta":170,"style":170},"# List all environments\nmcloud environments list --json\n\n# Get environment details and check type before deleting\nmcloud environments get staging --json | jq '{id, name, type, status}'\n\n# Create a new environment tracking the develop branch\nmcloud environments create --name \"Staging\" --branch develop --json\n\n# Delete a non-production environment\nmcloud environments delete staging --yes\n\n# Redeploy after a variable change\nmcloud environments redeploy production --json\n\n# Trigger a fresh build from source\nmcloud environments trigger-build production --json\n\n# Find environment handles by name\nmcloud environments list --json \\\n  | jq -r '.[] | select(.name == \"Production\") | .handle'\n\n# Verify new build started\nmcloud deployments list --environment production --limit 5 --json \\\n  | jq '.[] | {id, backend_status, updated_at}'\n",[1267],{"type":44,"tag":59,"props":1268,"children":1269},{"__ignoreMap":170},[1270,1279,1298,1307,1315,1365,1372,1381,1427,1435,1444,1469,1477,1486,1511,1519,1528,1552,1560,1569,1593,1624,1632,1641,1685],{"type":44,"tag":176,"props":1271,"children":1272},{"class":178,"line":179},[1273],{"type":44,"tag":176,"props":1274,"children":1276},{"style":1275},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1277],{"type":50,"value":1278},"# List all environments\n",{"type":44,"tag":176,"props":1280,"children":1281},{"class":178,"line":486},[1282,1286,1290,1294],{"type":44,"tag":176,"props":1283,"children":1284},{"style":183},[1285],{"type":50,"value":186},{"type":44,"tag":176,"props":1287,"children":1288},{"style":189},[1289],{"type":50,"value":192},{"type":44,"tag":176,"props":1291,"children":1292},{"style":189},[1293],{"type":50,"value":197},{"type":44,"tag":176,"props":1295,"children":1296},{"style":189},[1297],{"type":50,"value":252},{"type":44,"tag":176,"props":1299,"children":1300},{"class":178,"line":515},[1301],{"type":44,"tag":176,"props":1302,"children":1304},{"emptyLinePlaceholder":1303},true,[1305],{"type":50,"value":1306},"\n",{"type":44,"tag":176,"props":1308,"children":1309},{"class":178,"line":544},[1310],{"type":44,"tag":176,"props":1311,"children":1312},{"style":1275},[1313],{"type":50,"value":1314},"# Get environment details and check type before deleting\n",{"type":44,"tag":176,"props":1316,"children":1317},{"class":178,"line":572},[1318,1322,1326,1330,1335,1340,1345,1350,1355,1360],{"type":44,"tag":176,"props":1319,"children":1320},{"style":183},[1321],{"type":50,"value":186},{"type":44,"tag":176,"props":1323,"children":1324},{"style":189},[1325],{"type":50,"value":192},{"type":44,"tag":176,"props":1327,"children":1328},{"style":189},[1329],{"type":50,"value":330},{"type":44,"tag":176,"props":1331,"children":1332},{"style":189},[1333],{"type":50,"value":1334}," staging",{"type":44,"tag":176,"props":1336,"children":1337},{"style":189},[1338],{"type":50,"value":1339}," --json",{"type":44,"tag":176,"props":1341,"children":1342},{"style":205},[1343],{"type":50,"value":1344}," |",{"type":44,"tag":176,"props":1346,"children":1347},{"style":183},[1348],{"type":50,"value":1349}," jq",{"type":44,"tag":176,"props":1351,"children":1352},{"style":205},[1353],{"type":50,"value":1354}," '",{"type":44,"tag":176,"props":1356,"children":1357},{"style":189},[1358],{"type":50,"value":1359},"{id, name, type, status}",{"type":44,"tag":176,"props":1361,"children":1362},{"style":205},[1363],{"type":50,"value":1364},"'\n",{"type":44,"tag":176,"props":1366,"children":1367},{"class":178,"line":590},[1368],{"type":44,"tag":176,"props":1369,"children":1370},{"emptyLinePlaceholder":1303},[1371],{"type":50,"value":1306},{"type":44,"tag":176,"props":1373,"children":1375},{"class":178,"line":1374},7,[1376],{"type":44,"tag":176,"props":1377,"children":1378},{"style":1275},[1379],{"type":50,"value":1380},"# Create a new environment tracking the develop branch\n",{"type":44,"tag":176,"props":1382,"children":1384},{"class":178,"line":1383},8,[1385,1389,1393,1397,1402,1406,1410,1414,1419,1423],{"type":44,"tag":176,"props":1386,"children":1387},{"style":183},[1388],{"type":50,"value":186},{"type":44,"tag":176,"props":1390,"children":1391},{"style":189},[1392],{"type":50,"value":192},{"type":44,"tag":176,"props":1394,"children":1395},{"style":189},[1396],{"type":50,"value":478},{"type":44,"tag":176,"props":1398,"children":1399},{"style":189},[1400],{"type":50,"value":1401}," --name",{"type":44,"tag":176,"props":1403,"children":1404},{"style":205},[1405],{"type":50,"value":555},{"type":44,"tag":176,"props":1407,"children":1408},{"style":189},[1409],{"type":50,"value":560},{"type":44,"tag":176,"props":1411,"children":1412},{"style":205},[1413],{"type":50,"value":565},{"type":44,"tag":176,"props":1415,"children":1416},{"style":189},[1417],{"type":50,"value":1418}," --branch",{"type":44,"tag":176,"props":1420,"children":1421},{"style":189},[1422],{"type":50,"value":583},{"type":44,"tag":176,"props":1424,"children":1425},{"style":189},[1426],{"type":50,"value":252},{"type":44,"tag":176,"props":1428,"children":1430},{"class":178,"line":1429},9,[1431],{"type":44,"tag":176,"props":1432,"children":1433},{"emptyLinePlaceholder":1303},[1434],{"type":50,"value":1306},{"type":44,"tag":176,"props":1436,"children":1438},{"class":178,"line":1437},10,[1439],{"type":44,"tag":176,"props":1440,"children":1441},{"style":1275},[1442],{"type":50,"value":1443},"# Delete a non-production environment\n",{"type":44,"tag":176,"props":1445,"children":1447},{"class":178,"line":1446},11,[1448,1452,1456,1460,1464],{"type":44,"tag":176,"props":1449,"children":1450},{"style":183},[1451],{"type":50,"value":186},{"type":44,"tag":176,"props":1453,"children":1454},{"style":189},[1455],{"type":50,"value":192},{"type":44,"tag":176,"props":1457,"children":1458},{"style":189},[1459],{"type":50,"value":701},{"type":44,"tag":176,"props":1461,"children":1462},{"style":189},[1463],{"type":50,"value":1334},{"type":44,"tag":176,"props":1465,"children":1466},{"style":189},[1467],{"type":50,"value":1468}," --yes\n",{"type":44,"tag":176,"props":1470,"children":1472},{"class":178,"line":1471},12,[1473],{"type":44,"tag":176,"props":1474,"children":1475},{"emptyLinePlaceholder":1303},[1476],{"type":50,"value":1306},{"type":44,"tag":176,"props":1478,"children":1480},{"class":178,"line":1479},13,[1481],{"type":44,"tag":176,"props":1482,"children":1483},{"style":1275},[1484],{"type":50,"value":1485},"# Redeploy after a variable change\n",{"type":44,"tag":176,"props":1487,"children":1489},{"class":178,"line":1488},14,[1490,1494,1498,1502,1507],{"type":44,"tag":176,"props":1491,"children":1492},{"style":183},[1493],{"type":50,"value":186},{"type":44,"tag":176,"props":1495,"children":1496},{"style":189},[1497],{"type":50,"value":192},{"type":44,"tag":176,"props":1499,"children":1500},{"style":189},[1501],{"type":50,"value":880},{"type":44,"tag":176,"props":1503,"children":1504},{"style":189},[1505],{"type":50,"value":1506}," production",{"type":44,"tag":176,"props":1508,"children":1509},{"style":189},[1510],{"type":50,"value":252},{"type":44,"tag":176,"props":1512,"children":1514},{"class":178,"line":1513},15,[1515],{"type":44,"tag":176,"props":1516,"children":1517},{"emptyLinePlaceholder":1303},[1518],{"type":50,"value":1306},{"type":44,"tag":176,"props":1520,"children":1522},{"class":178,"line":1521},16,[1523],{"type":44,"tag":176,"props":1524,"children":1525},{"style":1275},[1526],{"type":50,"value":1527},"# Trigger a fresh build from source\n",{"type":44,"tag":176,"props":1529,"children":1531},{"class":178,"line":1530},17,[1532,1536,1540,1544,1548],{"type":44,"tag":176,"props":1533,"children":1534},{"style":183},[1535],{"type":50,"value":186},{"type":44,"tag":176,"props":1537,"children":1538},{"style":189},[1539],{"type":50,"value":192},{"type":44,"tag":176,"props":1541,"children":1542},{"style":189},[1543],{"type":50,"value":1060},{"type":44,"tag":176,"props":1545,"children":1546},{"style":189},[1547],{"type":50,"value":1506},{"type":44,"tag":176,"props":1549,"children":1550},{"style":189},[1551],{"type":50,"value":252},{"type":44,"tag":176,"props":1553,"children":1555},{"class":178,"line":1554},18,[1556],{"type":44,"tag":176,"props":1557,"children":1558},{"emptyLinePlaceholder":1303},[1559],{"type":50,"value":1306},{"type":44,"tag":176,"props":1561,"children":1563},{"class":178,"line":1562},19,[1564],{"type":44,"tag":176,"props":1565,"children":1566},{"style":1275},[1567],{"type":50,"value":1568},"# Find environment handles by name\n",{"type":44,"tag":176,"props":1570,"children":1572},{"class":178,"line":1571},20,[1573,1577,1581,1585,1589],{"type":44,"tag":176,"props":1574,"children":1575},{"style":183},[1576],{"type":50,"value":186},{"type":44,"tag":176,"props":1578,"children":1579},{"style":189},[1580],{"type":50,"value":192},{"type":44,"tag":176,"props":1582,"children":1583},{"style":189},[1584],{"type":50,"value":197},{"type":44,"tag":176,"props":1586,"children":1587},{"style":189},[1588],{"type":50,"value":1339},{"type":44,"tag":176,"props":1590,"children":1591},{"style":216},[1592],{"type":50,"value":483},{"type":44,"tag":176,"props":1594,"children":1596},{"class":178,"line":1595},21,[1597,1602,1606,1611,1615,1620],{"type":44,"tag":176,"props":1598,"children":1599},{"style":205},[1600],{"type":50,"value":1601},"  |",{"type":44,"tag":176,"props":1603,"children":1604},{"style":183},[1605],{"type":50,"value":1349},{"type":44,"tag":176,"props":1607,"children":1608},{"style":189},[1609],{"type":50,"value":1610}," -r",{"type":44,"tag":176,"props":1612,"children":1613},{"style":205},[1614],{"type":50,"value":1354},{"type":44,"tag":176,"props":1616,"children":1617},{"style":189},[1618],{"type":50,"value":1619},".[] | select(.name == \"Production\") | .handle",{"type":44,"tag":176,"props":1621,"children":1622},{"style":205},[1623],{"type":50,"value":1364},{"type":44,"tag":176,"props":1625,"children":1627},{"class":178,"line":1626},22,[1628],{"type":44,"tag":176,"props":1629,"children":1630},{"emptyLinePlaceholder":1303},[1631],{"type":50,"value":1306},{"type":44,"tag":176,"props":1633,"children":1635},{"class":178,"line":1634},23,[1636],{"type":44,"tag":176,"props":1637,"children":1638},{"style":1275},[1639],{"type":50,"value":1640},"# Verify new build started\n",{"type":44,"tag":176,"props":1642,"children":1643},{"class":178,"line":25},[1644,1648,1653,1657,1662,1666,1671,1677,1681],{"type":44,"tag":176,"props":1645,"children":1646},{"style":183},[1647],{"type":50,"value":186},{"type":44,"tag":176,"props":1649,"children":1650},{"style":189},[1651],{"type":50,"value":1652}," deployments",{"type":44,"tag":176,"props":1654,"children":1655},{"style":189},[1656],{"type":50,"value":197},{"type":44,"tag":176,"props":1658,"children":1659},{"style":189},[1660],{"type":50,"value":1661}," --environment",{"type":44,"tag":176,"props":1663,"children":1664},{"style":189},[1665],{"type":50,"value":1506},{"type":44,"tag":176,"props":1667,"children":1668},{"style":189},[1669],{"type":50,"value":1670}," --limit",{"type":44,"tag":176,"props":1672,"children":1674},{"style":1673},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1675],{"type":50,"value":1676}," 5",{"type":44,"tag":176,"props":1678,"children":1679},{"style":189},[1680],{"type":50,"value":1339},{"type":44,"tag":176,"props":1682,"children":1683},{"style":216},[1684],{"type":50,"value":483},{"type":44,"tag":176,"props":1686,"children":1688},{"class":178,"line":1687},25,[1689,1693,1697,1701,1706],{"type":44,"tag":176,"props":1690,"children":1691},{"style":205},[1692],{"type":50,"value":1601},{"type":44,"tag":176,"props":1694,"children":1695},{"style":183},[1696],{"type":50,"value":1349},{"type":44,"tag":176,"props":1698,"children":1699},{"style":205},[1700],{"type":50,"value":1354},{"type":44,"tag":176,"props":1702,"children":1703},{"style":189},[1704],{"type":50,"value":1705},".[] | {id, backend_status, updated_at}",{"type":44,"tag":176,"props":1707,"children":1708},{"style":205},[1709],{"type":50,"value":1364},{"type":44,"tag":1711,"props":1712,"children":1713},"style",{},[1714],{"type":50,"value":1715},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1717,"total":1530},[1718,1735,1751,1766,1778,1793,1803,1816,1831,1837,1850,1863],{"slug":1719,"name":1719,"fn":1720,"description":1721,"org":1722,"tags":1723,"stars":21,"repoUrl":22,"updatedAt":1734},"building-admin-dashboard-customizations","customize Medusa Admin dashboard UI","Load automatically when planning, researching, or implementing Medusa Admin dashboard UI (widgets, custom pages, forms, tables, data loading, navigation). REQUIRED for all admin UI work in ALL modes (planning, implementation, exploration). Contains design patterns, component usage, and data loading patterns that MCP servers don't provide.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1724,1727,1730,1731],{"name":1725,"slug":1726,"type":16},"E-commerce","e-commerce",{"name":1728,"slug":1729,"type":16},"Frontend","frontend",{"name":9,"slug":8,"type":16},{"name":1732,"slug":1733,"type":16},"UI Components","ui-components","2026-04-06T18:29:57.203659",{"slug":1736,"name":1736,"fn":1737,"description":1738,"org":1739,"tags":1740,"stars":21,"repoUrl":22,"updatedAt":1750},"building-storefronts","implement Medusa storefront features","Load automatically when planning, researching, or implementing Medusa storefront features (calling custom API routes, SDK integration, React Query patterns, data fetching). REQUIRED for all storefront development in ALL modes (planning, implementation, exploration). Contains SDK usage patterns, frontend integration, and critical rules for calling Medusa APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1741,1742,1745,1746,1747],{"name":1725,"slug":1726,"type":16},{"name":1743,"slug":1744,"type":16},"Engineering","engineering",{"name":1728,"slug":1729,"type":16},{"name":9,"slug":8,"type":16},{"name":1748,"slug":1749,"type":16},"React","react","2026-04-06T18:29:55.957429",{"slug":1752,"name":1752,"fn":1753,"description":1754,"org":1755,"tags":1756,"stars":21,"repoUrl":22,"updatedAt":1765},"building-with-medusa","implement Medusa backend features","Load automatically when planning, researching, or implementing ANY Medusa backend features (custom modules, API routes, workflows, data models, module links, business logic). REQUIRED for all Medusa backend work in ALL modes (planning, implementation, exploration). Contains architectural patterns, best practices, and critical rules that MCP servers don't provide.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1757,1760,1763,1764],{"name":1758,"slug":1759,"type":16},"Backend","backend",{"name":1761,"slug":1762,"type":16},"Data Modeling","data-modeling",{"name":1725,"slug":1726,"type":16},{"name":9,"slug":8,"type":16},"2026-04-06T18:29:54.652389",{"slug":1767,"name":1767,"fn":1768,"description":1769,"org":1770,"tags":1771,"stars":21,"repoUrl":22,"updatedAt":1777},"creating-agents-in-medusa","build admin-facing AI agents in Medusa","Use when building an internal admin-facing AI agent in a Medusa project. These agents are operated by merchants and store operators — not customers. Covers data models, module service, agent runtime (tools, system prompt, streamText), streaming API routes (NDJSON), and admin UI chat extensions. Load for any internal agent type: store operations assistant, product audit, cohort analysis, customer service tooling for support staff, etc. Do NOT use for customer-facing agents (storefront chatbots, buyer-side assistants).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1772,1775,1776],{"name":1773,"slug":1774,"type":16},"Agents","agents",{"name":1758,"slug":1759,"type":16},{"name":9,"slug":8,"type":16},"2026-07-14T05:42:09.367168",{"slug":1779,"name":1779,"fn":1780,"description":1781,"org":1782,"tags":1783,"stars":21,"repoUrl":22,"updatedAt":1792},"db-generate","generate database migrations for Medusa modules","Generate database migrations for a Medusa module",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1784,1785,1788,1789],{"name":1758,"slug":1759,"type":16},{"name":1786,"slug":1787,"type":16},"Database","database",{"name":9,"slug":8,"type":16},{"name":1790,"slug":1791,"type":16},"Migration","migration","2026-04-06T18:29:53.415671",{"slug":1794,"name":1794,"fn":1795,"description":1796,"org":1797,"tags":1798,"stars":21,"repoUrl":22,"updatedAt":1802},"db-migrate","run database migrations in Medusa","Run database migrations in Medusa",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1799,1800,1801],{"name":1786,"slug":1787,"type":16},{"name":9,"slug":8,"type":16},{"name":1790,"slug":1791,"type":16},"2026-04-06T18:29:52.187377",{"slug":1804,"name":1804,"fn":1805,"description":1806,"org":1807,"tags":1808,"stars":21,"repoUrl":22,"updatedAt":1815},"learning-medusa","guide Medusa development learning","Load automatically when user asks to learn Medusa development (e.g., \"teach me how to build with medusa\", \"guide me through medusa\", \"I want to learn medusa\"). Interactive guided tutorial where Claude acts as a coding bootcamp instructor, teaching step-by-step with checkpoints and verification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1809,1810,1811,1812],{"name":1758,"slug":1759,"type":16},{"name":1725,"slug":1726,"type":16},{"name":9,"slug":8,"type":16},{"name":1813,"slug":1814,"type":16},"Templates","templates","2026-04-06T18:29:58.461689",{"slug":1817,"name":1817,"fn":1818,"description":1819,"org":1820,"tags":1821,"stars":21,"repoUrl":22,"updatedAt":1830},"mcloud-deployments","manage Medusa Cloud deployments","Execute mcloud deployments commands to list deployments, retrieve deployment details, and fetch build logs. Use when listing deployments, checking deployment status, or reading build output for debugging build failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1822,1823,1826,1827],{"name":19,"slug":20,"type":16},{"name":1824,"slug":1825,"type":16},"Logs","logs",{"name":9,"slug":8,"type":16},{"name":1828,"slug":1829,"type":16},"Observability","observability","2026-05-09T05:40:51.727369",{"slug":4,"name":4,"fn":5,"description":6,"org":1832,"tags":1833,"stars":21,"repoUrl":22,"updatedAt":23},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1834,1835,1836],{"name":19,"slug":20,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"slug":1838,"name":1838,"fn":1839,"description":1840,"org":1841,"tags":1842,"stars":21,"repoUrl":22,"updatedAt":1849},"mcloud-local","reproduce Cloud builds locally","Execute mcloud local build to reproduce a Cloud build on the local machine. Use when debugging a build-failed deployment without pushing to the tracked branch, iterating on a build fix, or testing build-variable changes locally. Requires Docker and must run inside the project's Git repo.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1843,1846,1847,1848],{"name":1844,"slug":1845,"type":16},"Debugging","debugging",{"name":19,"slug":20,"type":16},{"name":1743,"slug":1744,"type":16},{"name":9,"slug":8,"type":16},"2026-07-17T06:05:07.199529",{"slug":1851,"name":1851,"fn":1852,"description":1853,"org":1854,"tags":1855,"stars":21,"repoUrl":22,"updatedAt":1862},"mcloud-logs","fetch and stream runtime cloud logs","Execute mcloud logs to fetch and stream runtime logs for Cloud environments. Use when reading backend or storefront logs, filtering by time range, searching for errors, or scoping logs to a specific deployment.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1856,1859,1860,1861],{"name":1857,"slug":1858,"type":16},"Cloud","cloud",{"name":1824,"slug":1825,"type":16},{"name":9,"slug":8,"type":16},{"name":1828,"slug":1829,"type":16},"2026-05-09T05:40:46.707854",{"slug":1864,"name":1864,"fn":1865,"description":1866,"org":1867,"tags":1868,"stars":21,"repoUrl":22,"updatedAt":1871},"mcloud-organizations","manage Medusa Cloud organizations","Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1869,1870],{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},"2026-05-09T05:40:54.327722",{"items":1873,"total":1530},[1874,1881,1889,1896,1902,1909,1915],{"slug":1719,"name":1719,"fn":1720,"description":1721,"org":1875,"tags":1876,"stars":21,"repoUrl":22,"updatedAt":1734},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1877,1878,1879,1880],{"name":1725,"slug":1726,"type":16},{"name":1728,"slug":1729,"type":16},{"name":9,"slug":8,"type":16},{"name":1732,"slug":1733,"type":16},{"slug":1736,"name":1736,"fn":1737,"description":1738,"org":1882,"tags":1883,"stars":21,"repoUrl":22,"updatedAt":1750},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1884,1885,1886,1887,1888],{"name":1725,"slug":1726,"type":16},{"name":1743,"slug":1744,"type":16},{"name":1728,"slug":1729,"type":16},{"name":9,"slug":8,"type":16},{"name":1748,"slug":1749,"type":16},{"slug":1752,"name":1752,"fn":1753,"description":1754,"org":1890,"tags":1891,"stars":21,"repoUrl":22,"updatedAt":1765},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1892,1893,1894,1895],{"name":1758,"slug":1759,"type":16},{"name":1761,"slug":1762,"type":16},{"name":1725,"slug":1726,"type":16},{"name":9,"slug":8,"type":16},{"slug":1767,"name":1767,"fn":1768,"description":1769,"org":1897,"tags":1898,"stars":21,"repoUrl":22,"updatedAt":1777},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1899,1900,1901],{"name":1773,"slug":1774,"type":16},{"name":1758,"slug":1759,"type":16},{"name":9,"slug":8,"type":16},{"slug":1779,"name":1779,"fn":1780,"description":1781,"org":1903,"tags":1904,"stars":21,"repoUrl":22,"updatedAt":1792},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1905,1906,1907,1908],{"name":1758,"slug":1759,"type":16},{"name":1786,"slug":1787,"type":16},{"name":9,"slug":8,"type":16},{"name":1790,"slug":1791,"type":16},{"slug":1794,"name":1794,"fn":1795,"description":1796,"org":1910,"tags":1911,"stars":21,"repoUrl":22,"updatedAt":1802},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1912,1913,1914],{"name":1786,"slug":1787,"type":16},{"name":9,"slug":8,"type":16},{"name":1790,"slug":1791,"type":16},{"slug":1804,"name":1804,"fn":1805,"description":1806,"org":1916,"tags":1917,"stars":21,"repoUrl":22,"updatedAt":1815},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1918,1919,1920,1921],{"name":1758,"slug":1759,"type":16},{"name":1725,"slug":1726,"type":16},{"name":9,"slug":8,"type":16},{"name":1813,"slug":1814,"type":16}]