helloagents 3.0.1-beta.1 → 3.0.2-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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +11 -3
- package/README_CN.md +11 -3
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/scripts/cli-codex.mjs +6 -23
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "helloagents",
|
|
11
11
|
"description": "Quality-driven orchestration kernel for AI CLIs: intelligent routing, quality verification, safety guards, and notifications",
|
|
12
|
-
"version": "3.0.
|
|
12
|
+
"version": "3.0.2-beta.1",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "HelloWind",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "helloagents",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2-beta.1",
|
|
4
4
|
"description": "HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing, quality verification (Ralph Loop), safety guards, and notifications.",
|
|
5
5
|
"author": "HelloWind",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "helloagents",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2-beta.1",
|
|
4
4
|
"description": "HelloAGENTS — Quality-driven orchestration kernel for AI CLIs with intelligent routing, quality verification (Ralph Loop), safety guards, and notifications.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "HelloWind",
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
**Quality-driven orchestration kernel for AI coding CLIs — 14 auto-activated skills, process discipline, and checklist gating.**
|
|
10
10
|
|
|
11
|
-
[](./package.json)
|
|
12
12
|
[](https://www.npmjs.com/package/helloagents)
|
|
13
13
|
[](./package.json)
|
|
14
14
|
[](./skills)
|
|
@@ -397,7 +397,7 @@ HelloAGENTS supports two installation modes with different installation methods:
|
|
|
397
397
|
| **Standby** (default) | `helloagents install <target> --standby` or `helloagents install --all --standby` | `bootstrap-lite.md` (lite rules) | `~command` on demand, `~init` for full activation | Selective use, keeping other projects unaffected |
|
|
398
398
|
| **Global** | Manual plugins for Claude/Gemini; native local-plugin auto-install for Codex | `bootstrap.md` (full rules) | 14 skills auto-activate | All-in on HelloAGENTS across every project |
|
|
399
399
|
|
|
400
|
-
Standby mode injects rules into `~/.claude/CLAUDE.md`, `~/.gemini/GEMINI.md`, and `~/.codex/AGENTS.md`; Codex then loads that local merged file via `
|
|
400
|
+
Standby mode injects rules into `~/.claude/CLAUDE.md`, `~/.gemini/GEMINI.md`, and `~/.codex/AGENTS.md`; Codex then loads that local merged file via `developer_instructions` in `~/.codex/config.toml`. Each CLI also gets a `helloagents` package-root symlink. Claude Code and Gemini still use hooks where their host surfaces support quiet injection well. Codex deliberately does **not** enable HelloAGENTS hooks by default: the latest pre-source shows hook lifecycle output in TUI and does not honor `suppressOutput` as a true silent injection path, so Codex relies on the injected rules file plus the local symlink/native plugin layout instead. In global mode, Claude Code uses plugin hooks from `.claude-plugin/plugin.json`, Gemini loads `bootstrap.md` via `contextFileName` plus extension hooks, and Codex uses the native local-plugin chain (marketplace + local plugin root + cache + plugin enablement in `config.toml`) without plugin hooks.
|
|
401
401
|
|
|
402
402
|
Bulk switch via CLI: `helloagents --global` or `helloagents --standby`
|
|
403
403
|
|
|
@@ -643,7 +643,15 @@ Subagents may skip workflow packaging such as routing, interaction flow, and out
|
|
|
643
643
|
|
|
644
644
|
## 📈 Version History
|
|
645
645
|
|
|
646
|
-
### v3.0.
|
|
646
|
+
### v3.0.2 (current)
|
|
647
|
+
|
|
648
|
+
**Fixes and verification:**
|
|
649
|
+
- 🔧 Removed the Codex-only static runtime-context block that had been reintroduced into generated `AGENTS.md` carriers in standby/global installs
|
|
650
|
+
- 🔧 Re-checked Claude/Gemini standby/global static carriers and confirmed they do not inject the same deprecated runtime-context rule block
|
|
651
|
+
- 🔧 Updated Codex installation docs to match the current `developer_instructions` loading path and the actual no-hooks behavior
|
|
652
|
+
- 🧪 Added regression assertions to ensure Codex standby/global carriers no longer contain the removed runtime-context prefix
|
|
653
|
+
|
|
654
|
+
### v3.0.1
|
|
647
655
|
|
|
648
656
|
**Fixes and verification:**
|
|
649
657
|
- 🔧 `STATE.md` recovery rules are tightened: update on key decision changes, rewrite immediately when long-running work makes the snapshot stale, and confirm sync before host-driven compaction/recovery stages
|
package/README_CN.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
**质量驱动的 AI 编码 CLI 编排内核 — 14 个自动激活技能、流程纪律、检查清单门控。**
|
|
10
10
|
|
|
11
|
-
[](./package.json)
|
|
12
12
|
[](https://www.npmjs.com/package/helloagents)
|
|
13
13
|
[](./package.json)
|
|
14
14
|
[](./skills)
|
|
@@ -397,7 +397,7 @@ HelloAGENTS 支持两种安装模式,采用不同的安装方式:
|
|
|
397
397
|
| **标准模式** (默认) | `helloagents install <target> --standby` 或 `helloagents install --all --standby` | `bootstrap-lite.md`(精简规则) | `~command` 按需使用,`~init` 激活完整功能 | 按需使用,不影响其他项目 |
|
|
398
398
|
| **全局模式** | Claude/Gemini 手动装插件;Codex 自动装原生本地插件 | `bootstrap.md`(完整规则) | 14 个技能自动激活 | 全面使用 HelloAGENTS |
|
|
399
399
|
|
|
400
|
-
标准模式会把规则注入到 `~/.claude/CLAUDE.md`、`~/.gemini/GEMINI.md`、`~/.codex/AGENTS.md`;其中 Codex 再通过 `~/.codex/config.toml` 中的 `
|
|
400
|
+
标准模式会把规则注入到 `~/.claude/CLAUDE.md`、`~/.gemini/GEMINI.md`、`~/.codex/AGENTS.md`;其中 Codex 再通过 `~/.codex/config.toml` 中的 `developer_instructions` 加载这个本地合并后的文件。每个 CLI 还会创建 `helloagents` 包根目录符号链接。Claude Code 和 Gemini 仍使用 hooks,因为宿主可以较安静地承载这类注入;Codex 默认**不启用** HelloAGENTS hooks:最新 pre 源码里 hook 生命周期会在 TUI 中可见显示,且 `suppressOutput` 不能作为真正的静默注入通道,所以 Codex 改为依赖注入后的规则文件,以及本地符号链接 / 原生本地插件目录结构。全局模式下,Claude Code 通过 `.claude-plugin/plugin.json` 中声明的 hooks 工作,Gemini 通过 `contextFileName=bootstrap.md` 和扩展 hooks 工作;Codex 仍使用原生本地插件安装链路(marketplace + 本地插件目录 + cache + `config.toml` 插件启用段),但不启用插件 hooks。
|
|
401
401
|
|
|
402
402
|
整套切换可用:`helloagents --global` 或 `helloagents --standby`
|
|
403
403
|
|
|
@@ -643,7 +643,15 @@ npm test
|
|
|
643
643
|
|
|
644
644
|
## 📈 版本历史
|
|
645
645
|
|
|
646
|
-
### v3.0.
|
|
646
|
+
### v3.0.2(当前版本)
|
|
647
|
+
|
|
648
|
+
**修复与验证:**
|
|
649
|
+
- 🔧 移除误回流到 Codex 标准/全局安装产物 `AGENTS.md` 中的静态运行时上下文前缀
|
|
650
|
+
- 🔧 复查 Claude / Gemini 标准模式与全局模式静态载体,确认本来就不存在同类已废弃运行时规则块
|
|
651
|
+
- 🔧 同步修正文档中关于 Codex `developer_instructions` 加载路径和无 hooks 运行方式的表述
|
|
652
|
+
- 🧪 新增回归断言,确保 Codex 标准/全局载体中不再出现被移除的运行时上下文前缀
|
|
653
|
+
|
|
654
|
+
### v3.0.1
|
|
647
655
|
|
|
648
656
|
**修复与验证:**
|
|
649
657
|
- 🔧 收敛并加强 `STATE.md` 恢复规则:关键决策变更即更新,长流程一旦失真立即重写,宿主明确进入压缩/恢复前置阶段前必须先确认已同步
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "helloagents",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing, quality verification (Ralph Loop), safety guards, and notifications.",
|
|
6
6
|
"author": "HelloWind",
|
package/scripts/cli-codex.mjs
CHANGED
|
@@ -246,28 +246,15 @@ function normalizePath(path) {
|
|
|
246
246
|
return path.replace(/\\/g, '/');
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
function
|
|
250
|
-
const
|
|
251
|
-
return
|
|
252
|
-
'## Codex 运行时上下文',
|
|
253
|
-
`- 当前 HelloAGENTS 包根目录: ${root}`,
|
|
254
|
-
`- 当前 HelloAGENTS 读取根目录: ${root}`,
|
|
255
|
-
`- 当前命令技能目录: ${root}/skills/commands`,
|
|
256
|
-
`- 当前模板目录: ${root}/templates`,
|
|
257
|
-
`- 当前安装模式: ${mode}`,
|
|
258
|
-
'- Codex 当前不启用 HelloAGENTS hooks:最新 Codex pre 源码下 hook 生命周期会在 TUI 中可见显示,且 suppressOutput 不会静默 SessionStart / UserPromptSubmit / Stop 等注入。请优先依赖本载体与上述固定目录,不要再假设存在静默 hook 注入。',
|
|
259
|
-
].join('\n');
|
|
249
|
+
function buildCodexRuntimeCarrier(bootstrapContent) {
|
|
250
|
+
const normalized = String(bootstrapContent || '').trim();
|
|
251
|
+
return normalized ? `${normalized}\n` : '';
|
|
260
252
|
}
|
|
261
253
|
|
|
262
|
-
function
|
|
263
|
-
const context = buildCodexRuntimeContext(runtimeRoot, mode);
|
|
264
|
-
return bootstrapContent ? `${context}\n\n${bootstrapContent.trim()}\n` : `${context}\n`;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
function writeCodexRuntimeCarrier(filePath, bootstrapPath, runtimeRoot, mode) {
|
|
254
|
+
function writeCodexRuntimeCarrier(filePath, bootstrapPath) {
|
|
268
255
|
const bootstrapContent = safeRead(bootstrapPath);
|
|
269
256
|
if (!bootstrapContent) return false;
|
|
270
|
-
safeWrite(filePath, buildCodexRuntimeCarrier(bootstrapContent
|
|
257
|
+
safeWrite(filePath, buildCodexRuntimeCarrier(bootstrapContent));
|
|
271
258
|
return true;
|
|
272
259
|
}
|
|
273
260
|
|
|
@@ -281,7 +268,7 @@ export function installCodexStandby(home, pkgRoot) {
|
|
|
281
268
|
if (bootstrapContent) {
|
|
282
269
|
injectMarkedContent(
|
|
283
270
|
codexAgentsPath,
|
|
284
|
-
buildCodexRuntimeCarrier(bootstrapContent
|
|
271
|
+
buildCodexRuntimeCarrier(bootstrapContent).trimEnd(),
|
|
285
272
|
);
|
|
286
273
|
}
|
|
287
274
|
|
|
@@ -374,14 +361,10 @@ export function installCodexGlobal(home, pkgRoot) {
|
|
|
374
361
|
writeCodexRuntimeCarrier(
|
|
375
362
|
join(pluginRoot, CODEX_RUNTIME_CARRIER),
|
|
376
363
|
join(pluginRoot, 'bootstrap.md'),
|
|
377
|
-
pluginRoot,
|
|
378
|
-
'global',
|
|
379
364
|
);
|
|
380
365
|
writeCodexRuntimeCarrier(
|
|
381
366
|
join(installedPluginRoot, CODEX_RUNTIME_CARRIER),
|
|
382
367
|
join(installedPluginRoot, 'bootstrap.md'),
|
|
383
|
-
installedPluginRoot,
|
|
384
|
-
'global-cache',
|
|
385
368
|
);
|
|
386
369
|
|
|
387
370
|
ensureDir(join(home, '.agents', 'plugins'));
|