From 2c4700c49fc8ffea99648a06f978fb762bc7c2fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Sat, 6 Jun 2026 02:57:25 +0000 Subject: [PATCH] docs: add upgrading section to usage reference --- packages/util/src/usage-reference.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/util/src/usage-reference.ts b/packages/util/src/usage-reference.ts index c538927..e3cea8c 100644 --- a/packages/util/src/usage-reference.ts +++ b/packages/util/src/usage-reference.ts @@ -140,5 +140,18 @@ For specific scenarios, run the corresponding \`uwf prompt\` command: |----------|---------|-------------| | Writing workflow YAML | \`uwf prompt workflow-authoring\` | Designing roles, conditions, graphs, and edge prompts | | Building a new agent adapter | \`uwf prompt adapter-developing\` | Creating a new \`uwf-\` CLI adapter | + +## Upgrading + +\`\`\`bash +# Install the latest version +pnpm add -g @united-workforce/cli@latest @united-workforce/agent-hermes@latest +# or: npm install -g @united-workforce/cli@latest @united-workforce/agent-hermes@latest + +# Verify +uwf --version + +# Then run uwf prompt bootstrap and follow the upgrade instructions +\`\`\` `; } -- 2.43.0