一键导入
eforge-update
Check for eforge updates and guide through updating the CLI package and daemon
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check for eforge updates and guide through updating the CLI package and daemon
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enqueue a source for the eforge daemon to build — PRD file, inline description, or conversation context. Use when the user wants to hand work off to eforge.
Initialize or edit eforge/config.yaml team-wide settings, with validation via daemon tools
Author eforge TypeScript extensions from a natural-language request using the existing extension tooling and docs/examples
Inspect the recovery verdict for a failed PRD and apply the recommended action (retry, continue-repair, abandon, or manual)
Create a new agent runtime profile in eforge/profiles/
List, inspect, and switch agent runtime profiles
| name | eforge-update |
| description | Check for eforge updates and guide through updating the CLI package and daemon |
| disable-model-invocation | true |
Check for available eforge updates and walk through updating the npm package, restarting the daemon, and updating the Pi package.
Run npx -y @eforge-build/eforge --version to get the currently installed CLI version. Save this as currentVersion.
If the command fails, report that eforge is not installed and stop.
Run npm view @eforge-build/eforge version to get the latest published version. Save this as latestVersion.
If currentVersion equals latestVersion:
eforge is already up to date (v{currentVersion}). No action needed.
Stop here.
Determine the install type by running which eforge and inspecting the resolved path:
node_modules, e.g. /usr/local/lib/node_modules or ~/.npm/): Run npm install -g @eforge-build/eforge@latestAfter the install completes, run npx -y @eforge-build/eforge --version again to confirm the new version. Save this as newCliVersion.
Before stopping the daemon, call the eforge_status tool to check for active builds.
status: 'running', abort the update immediately and tell the user:An eforge build is currently running. The daemon cannot be safely restarted while builds are in progress. Please wait until all builds complete, then re-run
/eforge:update.
Stop here. Do not proceed to stopping the daemon.
'running', proceed to stop and restart the daemon:Call the eforge_daemon tool with { action: "stop" }.
Then call the eforge_daemon tool with { action: "start" }.
After the daemon restarts, run npx -y @eforge-build/eforge --version to confirm the running version. If newCliVersion was not set in Step 4 (npx path), save this as newCliVersion.
Tell the user:
The Pi package should also be updated to match the new CLI version. Run:
pi updateThis will update all non-pinned packages including eforge.
If the user installed via a local path (for development), remind them to pull the latest source and rebuild instead.
Report the update results:
eforge update complete
Component Old Version New Version npm package v{currentVersion} v{newCliVersion}
| Pi package | (update via
pi update) | (latest) |
| Daemon | (restarted) | (running new version) |
| Error | Action |
|---|---|
npx -y @eforge-build/eforge --version fails | Report that eforge is not installed; suggest npm install -g @eforge-build/eforge |
npm view @eforge-build/eforge version fails | Report network or registry error; suggest retrying |
npm install -g fails | Show error output; suggest checking permissions or using sudo |
| Daemon stop/start fails | Show error output; suggest running npx -y @eforge-build/eforge daemon start manually |
Active build detected (status: 'running') | Abort the update; tell the user to wait until all builds complete before retrying |
| Skill | Command | When to suggest |
|---|---|---|
| Init | /eforge:init | No eforge config found in the project |
| Build | /eforge:build | User wants to enqueue work for the daemon to build |
| Config | /eforge:config | User wants to view, edit, or validate the eforge config |
| Status | /eforge:status | User wants to check build progress or queue state |
| Restart | /eforge:restart | User wants to restart the eforge daemon |