easy-coding-harness 0.3.3 → 0.3.4
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/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
- `y`:常规功能升级
|
|
7
7
|
- `z`:日常 bug 修复
|
|
8
8
|
|
|
9
|
+
## 0.3.4
|
|
10
|
+
|
|
11
|
+
- 修复 Claude Code 中任务已进入 ANALYSIS 但回复没有状态栏的问题:Claude 的 `UserPromptSubmit` 现在会先运行幂等的 `session-start.py`,再运行 `inject-workflow-state.py`,确保每轮提示词都能拿到最新 `status_context`。
|
|
12
|
+
- 保留 Claude 原有 `SessionStart` 启动初始化,同时对齐 Codex/Qoder 的每轮状态注入方式,避免原生会话事件未进入模型上下文时状态栏缺失。
|
|
13
|
+
- 存量 Claude 项目需要执行 `easy-coding upgrade` 刷新 `.claude/settings.json` 后生效;Codex/Qoder 行为不变。
|
|
14
|
+
|
|
9
15
|
## 0.3.3
|
|
10
16
|
|
|
11
17
|
- 修复同一轮会话内状态栏仍显示旧状态的问题:`easy_coding_state.py` 的所有写状态命令现在都会在写入后立即回读 session/task,并返回最新 `status_line` 和 `status_context`。
|
package/package.json
CHANGED
|
@@ -46,11 +46,14 @@ Python runtime files are shared verbatim across platforms (only the JSON wrapper
|
|
|
46
46
|
Wrapper differences:
|
|
47
47
|
|
|
48
48
|
- **Claude Code**: full event set — `SessionStart`, `UserPromptSubmit`, `PreToolUse(Agent)`.
|
|
49
|
+
`session-start.py` also runs on `UserPromptSubmit` before `inject-workflow-state.py`, so
|
|
50
|
+
every prompt receives a fresh status context even if the native session event is not surfaced
|
|
51
|
+
to the model turn.
|
|
49
52
|
- **Codex**: no `SessionStart` and no Agent tool. `session-start.py` and
|
|
50
53
|
`inject-workflow-state.py` both hang off `UserPromptSubmit`; `inject-subagent-context.py`
|
|
51
54
|
is skipped. Codex hooks also require user-level enablement (`[features] hooks = true`).
|
|
52
55
|
- **Qoder**: like Claude Code (has Agent tool + Stop) but uses `UserPromptSubmit` for state
|
|
53
56
|
injection. The `.qoder/settings.json` wrapper nests an extra `hooks` array.
|
|
54
57
|
|
|
55
|
-
`session-start.py` is designed to be idempotent precisely because Codex/Qoder fire it
|
|
56
|
-
`UserPromptSubmit` rather than a real session-start event — repeated calls are safe.
|
|
58
|
+
`session-start.py` is designed to be idempotent precisely because Claude/Codex/Qoder can fire it
|
|
59
|
+
on `UserPromptSubmit` rather than only a real session-start event — repeated calls are safe.
|