easy-coding-harness 0.5.1 → 0.5.2-beta.0
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 +5 -4
- package/dist/cli.js +129 -35
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/templates/claude/settings.json +4 -4
- package/templates/codex/hooks.json +2 -2
- package/templates/common/bundled-skills/ec-init/SKILL.md +6 -4
- package/templates/qoder/settings.json +3 -3
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"hooks": [
|
|
7
7
|
{
|
|
8
8
|
"type": "command",
|
|
9
|
-
"command": "{{
|
|
9
|
+
"command": "{{platform_hook_session_start_command}}",
|
|
10
10
|
"timeout": 30000
|
|
11
11
|
}
|
|
12
12
|
]
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"hooks": [
|
|
19
19
|
{
|
|
20
20
|
"type": "command",
|
|
21
|
-
"command": "{{
|
|
21
|
+
"command": "{{platform_hook_session_start_command}}",
|
|
22
22
|
"timeout": 15000
|
|
23
23
|
}
|
|
24
24
|
]
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"hooks": [
|
|
29
29
|
{
|
|
30
30
|
"type": "command",
|
|
31
|
-
"command": "{{
|
|
31
|
+
"command": "{{platform_hook_inject_workflow_state_command}}",
|
|
32
32
|
"timeout": 15000
|
|
33
33
|
}
|
|
34
34
|
]
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"hooks": [
|
|
41
41
|
{
|
|
42
42
|
"type": "command",
|
|
43
|
-
"command": "{{
|
|
43
|
+
"command": "{{platform_hook_inject_subagent_context_command}}",
|
|
44
44
|
"timeout": 15000
|
|
45
45
|
}
|
|
46
46
|
]
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"hooks": [
|
|
6
6
|
{
|
|
7
7
|
"type": "command",
|
|
8
|
-
"command": "{{
|
|
8
|
+
"command": "{{platform_hook_session_start_command}}",
|
|
9
9
|
"timeout": 10
|
|
10
10
|
}
|
|
11
11
|
]
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"hooks": [
|
|
15
15
|
{
|
|
16
16
|
"type": "command",
|
|
17
|
-
"command": "{{
|
|
17
|
+
"command": "{{platform_hook_inject_workflow_state_command}}",
|
|
18
18
|
"timeout": 5
|
|
19
19
|
}
|
|
20
20
|
]
|
|
@@ -66,10 +66,12 @@ initialization standard. Check each item:
|
|
|
66
66
|
- **Project profile**: `project.yaml` exists with `mode` and `test` fields (ec-init owns it;
|
|
67
67
|
`config.yaml` is CLI-owned — not ec-init's concern)?
|
|
68
68
|
- **Platform hook config freshness**: for each installed platform in `.easy-coding/config.yaml`,
|
|
69
|
-
read the platform hook config and verify managed Easy Coding hook commands use
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
read the platform hook config and verify managed Easy Coding hook commands use the portable
|
|
70
|
+
relative hook launcher bound to this project root's `project.id`. If `project.id` is missing,
|
|
71
|
+
or any managed hook command is an old direct relative command (for example
|
|
72
|
+
`python3 .claude/hooks/session-start.py`), an absolute local path, missing from its expected
|
|
73
|
+
event, registered under the wrong event, or not bound to the current `project.id`, report the
|
|
74
|
+
exact config file and tell the user to run `easy-coding upgrade`; the upgrade command also
|
|
73
75
|
refreshes stale hook config when the project is already on the current harness version. Do not
|
|
74
76
|
edit the config yourself.
|
|
75
77
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"hooks": [
|
|
6
6
|
{
|
|
7
7
|
"type": "command",
|
|
8
|
-
"command": "{{
|
|
8
|
+
"command": "{{platform_hook_session_start_command}}",
|
|
9
9
|
"timeout": 10
|
|
10
10
|
}
|
|
11
11
|
]
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"hooks": [
|
|
15
15
|
{
|
|
16
16
|
"type": "command",
|
|
17
|
-
"command": "{{
|
|
17
|
+
"command": "{{platform_hook_inject_workflow_state_command}}",
|
|
18
18
|
"timeout": 5
|
|
19
19
|
}
|
|
20
20
|
]
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"hooks": [
|
|
27
27
|
{
|
|
28
28
|
"type": "command",
|
|
29
|
-
"command": "{{
|
|
29
|
+
"command": "{{platform_hook_inject_subagent_context_command}}",
|
|
30
30
|
"timeout": 30
|
|
31
31
|
}
|
|
32
32
|
]
|