@united-workforce/cli 0.2.1-rc.5 → 0.2.1-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kCAAkC,EAClC,sBAAsB,EACtB,kCAAkC,EACnC,MAAM,wBAAwB,CAAC;AAyBhC,OAAO,EACL,kCAAkC,IAAI,0BAA0B,EAChE,sBAAsB,IAAI,cAAc,EACxC,kCAAkC,IAAI,0BAA0B,GACjE,CAAC;AAQF,wBAAgB,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAErD;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CA0M3C"}
1
+ {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kCAAkC,EAClC,sBAAsB,EACtB,kCAAkC,EACnC,MAAM,wBAAwB,CAAC;AAyBhC,OAAO,EACL,kCAAkC,IAAI,0BAA0B,EAChE,sBAAsB,IAAI,cAAc,EACxC,kCAAkC,IAAI,0BAA0B,GACjE,CAAC;AAQF,wBAAgB,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAErD;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CA0Q3C"}
@@ -63,32 +63,65 @@ npm prefix -g # global prefix; bin is <prefix>/bin
63
63
  # FIX: add the missing directory to your shell's startup file
64
64
  # (e.g. ~/.bashrc, ~/.zshrc, ~/.profile, or fish config):
65
65
  # export PATH="<global-bin-dir>:$PATH"
66
-
67
- # 4. (uwf-hermes only) hermes CLI
68
- which hermes
69
- # FIX: if hermes is in a virtualenv, add it to PATH:
70
- # export PATH="$HOME/.hermes/hermes-agent/.venv/bin:$PATH"
71
- # or create a symlink: ln -s ~/.hermes/hermes-agent/.venv/bin/hermes ~/.local/bin/hermes
72
66
  \`\`\`
73
67
 
74
68
  **All checks must pass before continuing.** If you had to modify PATH, verify the change persists by opening a new shell or sourcing your shell config.
75
69
 
76
- ### Step 1 — Install CLI and agent adapter
70
+ ### Step 1 — Discover agents and install adapter
71
+
72
+ **First, detect which supported agents are already installed on the user's machine:**
77
73
 
78
74
  \`\`\`bash
79
- pnpm add -g @united-workforce/cli # or: npm install -g @united-workforce/cli
80
- uwf --version # should print ${CLI_VERSION}
75
+ # Check for Hermes Agent
76
+ which hermes 2>/dev/null && hermes --version
77
+
78
+ # Check for Claude Code
79
+ which claude 2>/dev/null && claude --version # should show "X.Y.Z (Claude Code)"
80
+ \`\`\`
81
+
82
+ **Based on the results:**
83
+
84
+ - **Only hermes found** → install \`uwf-hermes\` adapter
85
+ - **Only claude found** → install \`uwf-claude-code\` adapter
86
+ - **Both found** → ask the user which agent they want uwf to use as default
87
+ - **Neither found** → the user must install at least one agent first:
88
+ - Hermes Agent: https://hermes-agent.nousresearch.com/docs
89
+ - Claude Code: \`npm install -g @anthropic-ai/claude-code\`
90
+
91
+ **Install the uwf CLI and the chosen adapter** using pnpm or npm:
92
+
93
+ \`\`\`bash
94
+ # CLI (required)
95
+ pnpm add -g @united-workforce/cli # or: npm install -g @united-workforce/cli
96
+
97
+ # Adapter — install the one matching the detected agent:
98
+ pnpm add -g @united-workforce/agent-hermes # or: npm i -g @united-workforce/agent-hermes
99
+ pnpm add -g @united-workforce/agent-claude-code # or: npm i -g @united-workforce/agent-claude-code
100
+ \`\`\`
101
+
102
+ **⚠ Adapter versions are independent from CLI versions.** Do NOT try to match adapter version to CLI version. Just install \`@latest\` (the default).
103
+
104
+ **After installing, verify that \`uwf\` and the adapter are available in PATH:**
105
+
106
+ \`\`\`bash
107
+ uwf --version # should print ${CLI_VERSION}
108
+ uwf-hermes --version # or: uwf-claude-code --version
81
109
  \`\`\`
82
110
 
83
- Install an agent adapter (at least one is required):
111
+ If either command is not found, the global bin directory is not in the current shell's PATH. **You must fix this before continuing:**
84
112
 
85
- | Adapter | Install | When to use |
86
- |---------|---------|-------------|
87
- | uwf-hermes | \`pnpm add -g @united-workforce/agent-hermes\` | When your agent framework is Hermes Agent |
88
- | uwf-claude-code | \`pnpm add -g @united-workforce/agent-claude-code\` | When using Claude Code CLI directly |
89
- | uwf-builtin | \`pnpm add -g @united-workforce/agent-builtin\` | Lightweight built-in agent (no external dependency) |
113
+ 1. Find where the binary was installed:
114
+ \`\`\`bash
115
+ find ~/.local ~/.hermes /usr/local -name uwf -type f 2>/dev/null
116
+ npm prefix -g # global prefix bin is <prefix>/bin
117
+ \`\`\`
118
+ 2. Add the directory to PATH permanently by appending to the user's shell config (e.g. \`~/.bashrc\`, \`~/.zshrc\`, \`~/.profile\`, or fish config):
119
+ \`\`\`bash
120
+ export PATH="<global-bin-dir>:$PATH"
121
+ \`\`\`
122
+ 3. Source the updated config or open a new shell, then re-verify the commands work.
90
123
 
91
- **uwf-hermes** also requires the Hermes ACP plugin:
124
+ **uwf-hermes** also requires the Hermes ACP plugin. Verify with \`hermes acp --help\`. If not available, install it:
92
125
  \`\`\`bash
93
126
  # Option A: install into hermes venv (recommended)
94
127
  source ~/.hermes/hermes-agent/.venv/bin/activate && pip install hermes-agent[acp]
@@ -100,18 +133,35 @@ pipx install 'hermes-agent[acp]'
100
133
  pip install -e '.[acp]'
101
134
  \`\`\`
102
135
 
103
- Verify the adapter is installed: \`uwf-hermes --version\` (or whichever you chose).
104
-
105
136
  ### Step 2 — Configure provider and model
106
137
 
107
138
  uwf needs an LLM provider to run agents. **Ask the user** for their provider, API key, and model, then run:
108
139
 
109
140
  \`\`\`bash
110
- uwf setup --provider <name> --base-url <url> --api-key <key> --model <model> [--agent <adapter>]
141
+ uwf setup --provider <name> --api-key <key> --model <model> --agent <adapter-command>
111
142
  \`\`\`
112
143
 
113
- Preset providers (base-url is auto-filled when using a preset name):
114
- openai, xai, openrouter, venice, dashscope, deepseek, siliconflow, volcengine, kimi, glm, stepfun, minimax, ollama
144
+ **Note:** \`--agent\` takes the adapter **command name** (e.g. \`uwf-hermes\`), not the npm package name.
145
+
146
+ **Preset providers** — when using a preset name, \`--base-url\` is auto-filled and can be omitted:
147
+
148
+ | Provider | Name | Default base URL |
149
+ |----------|------|-----------------|
150
+ | OpenAI | \`openai\` | https://api.openai.com/v1 |
151
+ | xAI | \`xai\` | https://api.x.ai/v1 |
152
+ | OpenRouter | \`openrouter\` | https://openrouter.ai/api/v1 |
153
+ | Venice | \`venice\` | https://api.venice.ai/api/v1 |
154
+ | Dashscope | \`dashscope\` | https://dashscope.aliyuncs.com/compatible-mode/v1 |
155
+ | DeepSeek | \`deepseek\` | https://api.deepseek.com/v1 |
156
+ | SiliconFlow | \`siliconflow\` | https://api.siliconflow.cn/v1 |
157
+ | VolcEngine | \`volcengine\` | https://ark.cn-beijing.volces.com/api/v3 |
158
+ | Kimi (Moonshot) | \`kimi\` | https://api.moonshot.cn/v1 |
159
+ | GLM (Zhipu AI) | \`glm\` | https://open.bigmodel.cn/api/paas/v4 |
160
+ | StepFun | \`stepfun\` | https://api.stepfun.com/v1 |
161
+ | MiniMax | \`minimax\` | https://api.minimax.io/v1 |
162
+ | Ollama (local) | \`ollama\` | http://localhost:11434/v1 |
163
+
164
+ For **non-preset providers**, you must specify \`--base-url\` manually.
115
165
 
116
166
  Example:
117
167
  \`\`\`bash
@@ -181,11 +231,25 @@ If the thread reaches \`$END\` with status \`completed\`, the setup is working.
181
231
  ### Step 1 — Update packages
182
232
 
183
233
  \`\`\`bash
184
- pnpm add -g @united-workforce/cli@latest # or: npm install -g @united-workforce/cli@latest
234
+ # Using pnpm
235
+ pnpm add -g @united-workforce/cli@latest
236
+
237
+ # Using npm
238
+ npm install -g @united-workforce/cli@latest
239
+ \`\`\`
240
+
241
+ \`\`\`bash
185
242
  uwf --version # should print ${CLI_VERSION}
243
+ \`\`\`
186
244
 
187
- # Also update your adapter(s)
245
+ Also update your adapter(s):
246
+
247
+ \`\`\`bash
248
+ # pnpm
188
249
  pnpm add -g @united-workforce/agent-hermes@latest
250
+
251
+ # npm
252
+ npm install -g @united-workforce/agent-hermes@latest
189
253
  \`\`\`
190
254
 
191
255
  ### Step 2 — Regenerate skills
@@ -1 +1 @@
1
- {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,kCAAkC,EAClC,sBAAsB,EACtB,kCAAkC,GACnC,MAAM,wBAAwB,CAAC;AAEhC,yEAAyE;AACzE,2FAA2F;AAC3F,SAAS,eAAe;IACtB,IAAI,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAClD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3B,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;QAC5C,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAGtD,CAAC;YACF,IAAI,GAAG,CAAC,IAAI,KAAK,uBAAuB,EAAE,CAAC;gBACzC,OAAO,GAAG,CAAC,OAAO,IAAI,OAAO,CAAC;YAChC,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,0BAA0B;QAC5B,CAAC;QACD,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AACD,MAAM,WAAW,GAAG,eAAe,EAAE,CAAC;AAEtC,OAAO,EACL,kCAAkC,IAAI,0BAA0B,EAChE,sBAAsB,IAAI,cAAc,EACxC,kCAAkC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAuIlB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyD3C,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@united-workforce/cli",
3
- "version": "0.2.1-rc.5",
3
+ "version": "0.2.1-rc.7",
4
4
  "files": [
5
5
  "src",
6
6
  "dist",
@@ -78,32 +78,65 @@ npm prefix -g # global prefix; bin is <prefix>/bin
78
78
  # FIX: add the missing directory to your shell's startup file
79
79
  # (e.g. ~/.bashrc, ~/.zshrc, ~/.profile, or fish config):
80
80
  # export PATH="<global-bin-dir>:$PATH"
81
-
82
- # 4. (uwf-hermes only) hermes CLI
83
- which hermes
84
- # FIX: if hermes is in a virtualenv, add it to PATH:
85
- # export PATH="$HOME/.hermes/hermes-agent/.venv/bin:$PATH"
86
- # or create a symlink: ln -s ~/.hermes/hermes-agent/.venv/bin/hermes ~/.local/bin/hermes
87
81
  \`\`\`
88
82
 
89
83
  **All checks must pass before continuing.** If you had to modify PATH, verify the change persists by opening a new shell or sourcing your shell config.
90
84
 
91
- ### Step 1 — Install CLI and agent adapter
85
+ ### Step 1 — Discover agents and install adapter
86
+
87
+ **First, detect which supported agents are already installed on the user's machine:**
92
88
 
93
89
  \`\`\`bash
94
- pnpm add -g @united-workforce/cli # or: npm install -g @united-workforce/cli
95
- uwf --version # should print ${CLI_VERSION}
90
+ # Check for Hermes Agent
91
+ which hermes 2>/dev/null && hermes --version
92
+
93
+ # Check for Claude Code
94
+ which claude 2>/dev/null && claude --version # should show "X.Y.Z (Claude Code)"
95
+ \`\`\`
96
+
97
+ **Based on the results:**
98
+
99
+ - **Only hermes found** → install \`uwf-hermes\` adapter
100
+ - **Only claude found** → install \`uwf-claude-code\` adapter
101
+ - **Both found** → ask the user which agent they want uwf to use as default
102
+ - **Neither found** → the user must install at least one agent first:
103
+ - Hermes Agent: https://hermes-agent.nousresearch.com/docs
104
+ - Claude Code: \`npm install -g @anthropic-ai/claude-code\`
105
+
106
+ **Install the uwf CLI and the chosen adapter** using pnpm or npm:
107
+
108
+ \`\`\`bash
109
+ # CLI (required)
110
+ pnpm add -g @united-workforce/cli # or: npm install -g @united-workforce/cli
111
+
112
+ # Adapter — install the one matching the detected agent:
113
+ pnpm add -g @united-workforce/agent-hermes # or: npm i -g @united-workforce/agent-hermes
114
+ pnpm add -g @united-workforce/agent-claude-code # or: npm i -g @united-workforce/agent-claude-code
115
+ \`\`\`
116
+
117
+ **⚠ Adapter versions are independent from CLI versions.** Do NOT try to match adapter version to CLI version. Just install \`@latest\` (the default).
118
+
119
+ **After installing, verify that \`uwf\` and the adapter are available in PATH:**
120
+
121
+ \`\`\`bash
122
+ uwf --version # should print ${CLI_VERSION}
123
+ uwf-hermes --version # or: uwf-claude-code --version
96
124
  \`\`\`
97
125
 
98
- Install an agent adapter (at least one is required):
126
+ If either command is not found, the global bin directory is not in the current shell's PATH. **You must fix this before continuing:**
99
127
 
100
- | Adapter | Install | When to use |
101
- |---------|---------|-------------|
102
- | uwf-hermes | \`pnpm add -g @united-workforce/agent-hermes\` | When your agent framework is Hermes Agent |
103
- | uwf-claude-code | \`pnpm add -g @united-workforce/agent-claude-code\` | When using Claude Code CLI directly |
104
- | uwf-builtin | \`pnpm add -g @united-workforce/agent-builtin\` | Lightweight built-in agent (no external dependency) |
128
+ 1. Find where the binary was installed:
129
+ \`\`\`bash
130
+ find ~/.local ~/.hermes /usr/local -name uwf -type f 2>/dev/null
131
+ npm prefix -g # global prefix bin is <prefix>/bin
132
+ \`\`\`
133
+ 2. Add the directory to PATH permanently by appending to the user's shell config (e.g. \`~/.bashrc\`, \`~/.zshrc\`, \`~/.profile\`, or fish config):
134
+ \`\`\`bash
135
+ export PATH="<global-bin-dir>:$PATH"
136
+ \`\`\`
137
+ 3. Source the updated config or open a new shell, then re-verify the commands work.
105
138
 
106
- **uwf-hermes** also requires the Hermes ACP plugin:
139
+ **uwf-hermes** also requires the Hermes ACP plugin. Verify with \`hermes acp --help\`. If not available, install it:
107
140
  \`\`\`bash
108
141
  # Option A: install into hermes venv (recommended)
109
142
  source ~/.hermes/hermes-agent/.venv/bin/activate && pip install hermes-agent[acp]
@@ -115,18 +148,35 @@ pipx install 'hermes-agent[acp]'
115
148
  pip install -e '.[acp]'
116
149
  \`\`\`
117
150
 
118
- Verify the adapter is installed: \`uwf-hermes --version\` (or whichever you chose).
119
-
120
151
  ### Step 2 — Configure provider and model
121
152
 
122
153
  uwf needs an LLM provider to run agents. **Ask the user** for their provider, API key, and model, then run:
123
154
 
124
155
  \`\`\`bash
125
- uwf setup --provider <name> --base-url <url> --api-key <key> --model <model> [--agent <adapter>]
156
+ uwf setup --provider <name> --api-key <key> --model <model> --agent <adapter-command>
126
157
  \`\`\`
127
158
 
128
- Preset providers (base-url is auto-filled when using a preset name):
129
- openai, xai, openrouter, venice, dashscope, deepseek, siliconflow, volcengine, kimi, glm, stepfun, minimax, ollama
159
+ **Note:** \`--agent\` takes the adapter **command name** (e.g. \`uwf-hermes\`), not the npm package name.
160
+
161
+ **Preset providers** — when using a preset name, \`--base-url\` is auto-filled and can be omitted:
162
+
163
+ | Provider | Name | Default base URL |
164
+ |----------|------|-----------------|
165
+ | OpenAI | \`openai\` | https://api.openai.com/v1 |
166
+ | xAI | \`xai\` | https://api.x.ai/v1 |
167
+ | OpenRouter | \`openrouter\` | https://openrouter.ai/api/v1 |
168
+ | Venice | \`venice\` | https://api.venice.ai/api/v1 |
169
+ | Dashscope | \`dashscope\` | https://dashscope.aliyuncs.com/compatible-mode/v1 |
170
+ | DeepSeek | \`deepseek\` | https://api.deepseek.com/v1 |
171
+ | SiliconFlow | \`siliconflow\` | https://api.siliconflow.cn/v1 |
172
+ | VolcEngine | \`volcengine\` | https://ark.cn-beijing.volces.com/api/v3 |
173
+ | Kimi (Moonshot) | \`kimi\` | https://api.moonshot.cn/v1 |
174
+ | GLM (Zhipu AI) | \`glm\` | https://open.bigmodel.cn/api/paas/v4 |
175
+ | StepFun | \`stepfun\` | https://api.stepfun.com/v1 |
176
+ | MiniMax | \`minimax\` | https://api.minimax.io/v1 |
177
+ | Ollama (local) | \`ollama\` | http://localhost:11434/v1 |
178
+
179
+ For **non-preset providers**, you must specify \`--base-url\` manually.
130
180
 
131
181
  Example:
132
182
  \`\`\`bash
@@ -196,11 +246,25 @@ If the thread reaches \`$END\` with status \`completed\`, the setup is working.
196
246
  ### Step 1 — Update packages
197
247
 
198
248
  \`\`\`bash
199
- pnpm add -g @united-workforce/cli@latest # or: npm install -g @united-workforce/cli@latest
249
+ # Using pnpm
250
+ pnpm add -g @united-workforce/cli@latest
251
+
252
+ # Using npm
253
+ npm install -g @united-workforce/cli@latest
254
+ \`\`\`
255
+
256
+ \`\`\`bash
200
257
  uwf --version # should print ${CLI_VERSION}
258
+ \`\`\`
201
259
 
202
- # Also update your adapter(s)
260
+ Also update your adapter(s):
261
+
262
+ \`\`\`bash
263
+ # pnpm
203
264
  pnpm add -g @united-workforce/agent-hermes@latest
265
+
266
+ # npm
267
+ npm install -g @united-workforce/agent-hermes@latest
204
268
  \`\`\`
205
269
 
206
270
  ### Step 2 — Regenerate skills