helloagents 2.3.0 → 2.3.4-beta.1

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.
Files changed (2) hide show
  1. package/README.md +74 -79
  2. package/package.json +13 -2
package/README.md CHANGED
@@ -8,10 +8,10 @@
8
8
 
9
9
  **Let AI go beyond analysis — keep pushing until implementation and verification are done.**
10
10
 
11
- [![Version](https://img.shields.io/badge/version-2.3.0-orange.svg)](./pyproject.toml)
11
+ [![Version](https://img.shields.io/badge/version-2.3.4-orange.svg)](./pyproject.toml)
12
12
  [![npm](https://img.shields.io/npm/v/helloagents.svg)](https://www.npmjs.com/package/helloagents)
13
13
  [![Python](https://img.shields.io/badge/python-%3E%3D3.10-3776AB.svg)](./pyproject.toml)
14
- [![Commands](https://img.shields.io/badge/workflow_commands-15-6366f1.svg)](./helloagents/functions)
14
+ [![Commands](https://img.shields.io/badge/commands-15-6366f1.svg)](./helloagents/functions)
15
15
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](./LICENSE.md)
16
16
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)
17
17
 
@@ -31,9 +31,9 @@
31
31
  - [Quick Start](#quick-start)
32
32
  - [Configuration](#configuration)
33
33
  - [How It Works](#how-it-works)
34
- - [Repository Guide](#repository-guide)
35
34
  - [In-Chat Workflow Commands](#in-chat-workflow-commands)
36
35
  - [Usage Guide](#usage-guide)
36
+ - [Repository Guide](#repository-guide)
37
37
  - [FAQ](#faq)
38
38
  - [Troubleshooting](#troubleshooting)
39
39
  - [Version History](#version-history)
@@ -131,6 +131,8 @@ Additionally, HelloAGENTS provides: **five-dimension routing scoring** (action n
131
131
 
132
132
  > ⚠️ **Prerequisite:** All AI CLIs (Codex CLI / Claude Code, etc.) should be upgraded to the latest version with relevant feature flags enabled (e.g., sub-agents, CSV orchestration) to access all HelloAGENTS capabilities. VSCode extensions for these CLIs update more slowly — some newer features may require waiting for the extension to catch up. See CLI-specific compatibility notes below.
133
133
 
134
+ > ⚠️ **Windows PowerShell 5.1** does not support `&&`. Run commands on each side of `&&` separately, or upgrade to [PowerShell 7+](https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows).
135
+
134
136
  ### Method A: One-line install script (recommended)
135
137
 
136
138
  **macOS / Linux:**
@@ -143,20 +145,34 @@ Additionally, HelloAGENTS provides: **five-dimension routing scoring** (action n
143
145
 
144
146
  > The script auto-detects `uv` or `pip`, installs the HelloAGENTS package, and launches an interactive menu for you to select target CLIs. Re-running performs an update.
145
147
 
146
- **Update:**
148
+ **Update:** re-run the install command above.
147
149
 
148
- helloagents update
150
+ **Uninstall:** `uv tool uninstall helloagents` or `pip uninstall helloagents` (depends on what the script detected)
151
+
152
+ **Switch branch:**
153
+
154
+ # macOS / Linux
155
+ curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/beta/install.sh | HELLOAGENTS_BRANCH=beta bash
156
+
157
+ # Windows PowerShell
158
+ $env:HELLOAGENTS_BRANCH="beta"; irm https://raw.githubusercontent.com/hellowind777/helloagents/beta/install.ps1 | iex
149
159
 
150
160
  ### Method B: npx (Node.js >= 16)
151
161
 
152
162
  npx helloagents
153
163
 
154
- > Installs the Python package and launches an interactive menu. You can also specify directly: `npx helloagents install codex` (or use `npx -y` to auto-download without prompting)
164
+ > Installs the Python package via pip and launches an interactive menu. You can also specify directly: `npx helloagents install codex` (or use `npx -y` to auto-download without prompting)
155
165
 
156
166
  > Requires Python >= 3.10. After first install, use the native `helloagents` command directly.
157
167
 
158
168
  > **Acknowledgment:** Thanks to @setsuna1106 for generously transferring the npm `helloagents` package ownership.
159
169
 
170
+ **Update:** `npx helloagents@latest`
171
+
172
+ **Uninstall:** `pip uninstall helloagents`
173
+
174
+ **Switch branch:** `npx helloagents@beta`
175
+
160
176
  ### Method C: UV (isolated environment)
161
177
 
162
178
  **Step 0 — Install UV first (skip if already installed):**
@@ -169,17 +185,17 @@ Additionally, HelloAGENTS provides: **five-dimension routing scoring** (action n
169
185
 
170
186
  > After installing UV, restart your terminal to make the `uv` command available.
171
187
 
172
- > ⚠️ Windows PowerShell 5.1 does not support `&&`. Please run commands separately, or upgrade to [PowerShell 7+](https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows).
173
-
174
188
  **Install and select targets (one command):**
175
189
 
176
190
  uv tool install --from git+https://github.com/hellowind777/helloagents helloagents && helloagents
177
191
 
178
192
  > Installs the package and launches an interactive menu for you to select target CLIs. You can also specify directly: `helloagents install codex`
179
193
 
180
- **Update:**
194
+ **Update:** `uv tool install --from git+https://github.com/hellowind777/helloagents helloagents --force`
181
195
 
182
- helloagents update
196
+ **Uninstall:** `uv tool uninstall helloagents`
197
+
198
+ **Switch branch:** `uv tool install --from git+https://github.com/hellowind777/helloagents@beta helloagents --force`
183
199
 
184
200
  ### Method D: pip (Python >= 3.10)
185
201
 
@@ -189,33 +205,26 @@ Additionally, HelloAGENTS provides: **five-dimension routing scoring** (action n
189
205
 
190
206
  > Installs the package and launches an interactive menu for you to select target CLIs. You can also specify directly: `helloagents install codex`
191
207
 
192
- **Update:**
208
+ **Update:** `pip install --upgrade git+https://github.com/hellowind777/helloagents.git`
193
209
 
194
- pip install --upgrade git+https://github.com/hellowind777/helloagents.git
210
+ **Uninstall:** `pip uninstall helloagents`
195
211
 
196
- ### Install HelloAgents for different CLI targets
212
+ **Switch branch:** `pip install --upgrade git+https://github.com/hellowind777/helloagents.git@beta`
197
213
 
198
- helloagents # interactive menu
214
+ ### HelloAGENTS commands (after installation)
199
215
 
200
- helloagents install codex # specify target directly
216
+ > ⚠️ These commands depend on the installed package. If a remote update causes issues, use the native install/update/uninstall commands from your installation method above.
201
217
 
218
+ helloagents # interactive menu
219
+ helloagents install codex # specify target directly
202
220
  helloagents install --all # install to all detected CLIs
203
-
204
- ### Verify
205
-
206
- helloagents status
207
-
208
- helloagents version
209
-
210
- ### Uninstall
211
-
212
- helloagents uninstall codex
213
-
214
- helloagents uninstall --all
215
-
216
- ### Clean caches
217
-
218
- helloagents clean
221
+ helloagents status # check installation status
222
+ helloagents version # check version
223
+ helloagents update # update + auto-sync all targets
224
+ helloagents update beta # switch branch + auto-sync
225
+ helloagents uninstall codex # uninstall from a CLI target
226
+ helloagents uninstall --all # uninstall from all targets
227
+ helloagents clean # clean caches
219
228
 
220
229
  ### Codex CLI example
221
230
 
@@ -283,26 +292,6 @@ Additionally, HelloAGENTS provides: **five-dimension routing scoring** (action n
283
292
  > - Agent Teams collaboration mode requires environment variable: `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`
284
293
  > - Parallel sub-agent count is managed automatically by the model, no user-side limit config needed
285
294
 
286
- ### Beta branch
287
-
288
- To install from the `beta` branch, append `@beta` to the repository URL:
289
-
290
- # One-line script (auto-launches interactive menu after install)
291
- # macOS / Linux
292
- curl -fsSL https://raw.githubusercontent.com/hellowind777/helloagents/beta/install.sh | HELLOAGENTS_BRANCH=beta bash
293
-
294
- # Windows PowerShell
295
- $env:HELLOAGENTS_BRANCH="beta"; irm https://raw.githubusercontent.com/hellowind777/helloagents/beta/install.ps1 | iex
296
-
297
- # npx (or use npx -y to auto-download without prompting)
298
- npx helloagents@beta
299
-
300
- # UV
301
- uv tool install --from git+https://github.com/hellowind777/helloagents@beta helloagents && helloagents
302
-
303
- # pip
304
- pip install git+https://github.com/hellowind777/helloagents.git@beta && helloagents
305
-
306
295
  ## Configuration
307
296
 
308
297
  Customize workflow behavior via `config.json` after installation. Only include keys you want to override — missing keys use defaults.
@@ -345,21 +334,6 @@ Customize workflow behavior via `config.json` after installation. Only include k
345
334
  6. Three-layer memory (user / project KB / session) preserves context across sessions.
346
335
  7. Stage chain completes with verified output and optional knowledge base sync.
347
336
 
348
- ## Repository Guide
349
-
350
- - AGENTS.md: router and workflow protocol
351
- - SKILL.md: skill discovery metadata for CLI targets
352
- - pyproject.toml: package metadata (v2.3.0)
353
- - helloagents/cli.py: installer entry
354
- - helloagents/functions: workflow commands
355
- - helloagents/stages: design, develop
356
- - helloagents/services: knowledge, package, memory and support services
357
- - helloagents/rules: state, cache, tools, scaling
358
- - helloagents/rlm: role library and orchestration helpers
359
- - helloagents/hooks: Claude Code and Codex CLI hooks configs
360
- - helloagents/scripts: automation scripts
361
- - helloagents/templates: KB and plan templates
362
-
363
337
  ## In-Chat Workflow Commands
364
338
 
365
339
  These commands run inside AI chat, not your system shell.
@@ -517,6 +491,23 @@ When ≥6 structurally identical tasks exist in the same execution layer, the sy
517
491
 
518
492
  On the first response of each session, the system silently checks for new versions. Results are cached at `~/.helloagents/.update_cache`, valid for the duration set by `UPDATE_CHECK` (default 72 hours, set to 0 to disable). When a new version is available, `⬆️ New version {version} available` appears in the response footer. Any errors during the check are silently skipped and never interrupt normal usage.
519
493
 
494
+ ## Repository Guide
495
+
496
+ - AGENTS.md: router and workflow protocol
497
+ - SKILL.md: skill discovery metadata for CLI targets
498
+ - pyproject.toml: package metadata (v2.3.4)
499
+ - helloagents/cli.py: CLI entry point
500
+ - helloagents/_common.py: shared constants and utilities
501
+ - helloagents/core/: CLI management modules (install, uninstall, update, status)
502
+ - helloagents/functions: command definitions (15)
503
+ - helloagents/stages: design, develop
504
+ - helloagents/services: knowledge, package, memory and support services
505
+ - helloagents/rules: state, cache, tools, scaling, evaluation, sub-agent protocols
506
+ - helloagents/rlm: role library and orchestration helpers
507
+ - helloagents/hooks: Claude Code and Codex CLI hooks configs
508
+ - helloagents/scripts: automation scripts
509
+ - helloagents/templates: KB and plan templates
510
+
520
511
  ## FAQ
521
512
 
522
513
  - Q: Is this a Python CLI tool or prompt package?
@@ -553,7 +544,23 @@ On the first response of each session, the system silently checks for new versio
553
544
 
554
545
  ## Version History
555
546
 
556
- ### v2.3.0 (current)
547
+ ### v2.3.4 (current)
548
+
549
+ - Split 3 oversized files (>450 lines) into 6 independent modules
550
+ - Consolidated 9 CLI management scripts into core/ subpackage
551
+ - Extracted shared constants and utilities into dedicated module, eliminating circular dependencies
552
+ - Removed redundant backward-compatible re-exports
553
+ - Elevated Codex CLI routing protocol priority to prevent system prompt override
554
+
555
+ ### v2.3.3
556
+
557
+ - AGENTS.md slimmed from 1186 to ~700 lines (-41%), reducing risk of LLMs selectively ignoring rules
558
+ - G4 evaluation details, G9/G10 sub-agent protocols extracted to on-demand module files via G7
559
+ - Sub-agent rule file (subagent.md) reduced from 26KB to 1.4KB (-94%)
560
+ - Eliminated cross-module reference risks by inlining critical rules at usage sites
561
+ - inject_context.py gains module-load signals to ensure rule recovery after context compaction
562
+
563
+ ### v2.3.0
557
564
 
558
565
  - Comprehensive cross-audit fix: unified role output format, normalized path references, code-doc consistency alignment
559
566
  - Quality verification loop (Ralph Loop): auto-verify after sub-agent completion, block and feedback on failure
@@ -578,18 +585,6 @@ On the first response of each session, the system silently checks for new versio
578
585
  - Adjusted Codex CLI memory limit to 128 KiB to prevent rules file truncation
579
586
  - Improved recommendation option generation rules, proposal differentiation requirements, and evaluation scoring criteria
580
587
 
581
- ### v2.2.14
582
-
583
- - DAG dependency scheduling for task execution (depends_on, topological sort, layer-by-layer parallel dispatch with failure propagation)
584
- - Graded retry and standardized sub-agent return format with scope verification
585
- - Sub-agent orchestration paradigm: four-step method, prompt template, behavior constraints (route-skip, output format)
586
- - Execution path hardening: explicit R1 upgrade triggers, DESIGN retry limits, DEVELOP entry/exit conditions
587
- - Workflow rule audit: terminology and format consistency, redundancy cleanup
588
-
589
- ### v2.2.13
590
-
591
- - R3 design proposals default ≥3 parallel, parallel batch limit ≤6, explicit sub-agent count principle
592
-
593
588
  ## Contributing
594
589
 
595
590
  See CONTRIBUTING.md for contribution rules and PR checklist.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helloagents",
3
- "version": "2.3.0",
3
+ "version": "2.3.4-beta.1",
4
4
  "type": "module",
5
5
  "description": "HelloAGENTS - AI-native sub-agent orchestration framework for multi-CLI environments",
6
6
  "author": "HelloWind",
@@ -16,7 +16,18 @@
16
16
  "files": [
17
17
  "bin/"
18
18
  ],
19
- "keywords": ["ai", "agent", "claude", "codex", "gemini", "qwen", "grok", "opencode", "cli", "workflow"],
19
+ "keywords": [
20
+ "ai",
21
+ "agent",
22
+ "claude",
23
+ "codex",
24
+ "gemini",
25
+ "qwen",
26
+ "grok",
27
+ "opencode",
28
+ "cli",
29
+ "workflow"
30
+ ],
20
31
  "engines": {
21
32
  "node": ">=16"
22
33
  }