← 返回
开发者工具 中文

Puter Deployer

Deploy or update Puter-hosted web apps/sites with a CLI-first, verify-first workflow. Use when user asks to publish to Puter, update an existing Puter app/si...
使用 CLI 优先、验证优先的工作流部署或更新 Puter 托管的 Web 应用/站点。适用于用户要求发布到 Puter 或更新现有 Puter 应用/站点。
logclinker
开发者工具 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 559
下载
💾 4
安装
1
版本
#latest

概述

Puter Deployer

Use a strict flow: preflight → build/stage → deploy path selection → verify → rollback note.

1) Preflight (always)

Run:

bash skills/puter-deployer/scripts/preflight.sh <project_dir> <build_dir>

This checks:

  • puter CLI exists
  • puter whoami works
  • build directory exists and is non-empty
  • index.html exists

If any check fails, stop and report exact fix commands.

2) Deployment path selection

Choose one path explicitly:

  1. Create new Puter app entry (CLI-supported):
    • puter app:create --description "..." --url "..."
  2. Update/publish build content:
    • Use Puter API fallback guidance in references/api-fallback.md.
    • If API details are unclear for this host/version, inspect active puter-cli source behavior before pushing.

Important: current public puter-cli command surface is limited. Do not invent non-existent commands.

3) Verify deployment (always)

Run:

bash skills/puter-deployer/scripts/verify_url.sh <url> [expected_snippet]

Require:

  • HTTP 200
  • expected snippet present (if provided)

If verification fails, mark deployment unsuccessful.

4) Rollback note (always)

Return these fields in final report:

  • source commit
  • previous known-good artifact path
  • previous known-good URL
  • exact rollback command/runbook

Use scripts/deploy_report_template.md as output skeleton.

Guardrails

  • Never print auth tokens.
  • Never delete remote app/site without explicit user request.
  • Require explicit confirmation before overwriting production targets.
  • On failure, classify into one bucket:

1) auth/session

2) missing build artifact

3) wrong app/site target

4) platform/API error

References

  • references/deploy-checklist.md — end-to-end checklist
  • references/api-fallback.md — API-first fallback logic when CLI is insufficient
  • references/failure-playbook.md — common failure signatures + fixes

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 19:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 667 📥 323,821
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,734
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,032