@alessandroraffa/tangyr 0.18.0 → 0.20.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.
@@ -9,13 +9,18 @@ active_targets:
9
9
  - cline
10
10
 
11
11
  notes:
12
- - Source events below are the events currently observed in the canonical agent-coding kit at projects/tangyr/agent-coding/hooks/hooks.json.
12
+ - Source events below are the events the canonical agent-coding kit registers, plus SessionStart.
13
+ - An event a kit registers but this file does not list is not silently dropped — the compilers report it as unmapped and name this file. Keeping the two in step is the point of that report.
14
+ - SessionStart, UserPromptSubmit and PostToolUseFailure were added on 2026-09-04. UserPromptSubmit and PostToolUseFailure were already registered by the kit and were being dropped for every non-claude-code target with no reason attached, because an event absent from this file was indistinguishable from one deliberately dropped.
13
15
  - Copilot event coverage must still be runtime-probed because official pages do not expose a single stable denominator.
14
16
  - Codex hook support is currently a macOS/Linux baseline; Windows remains unsupported unless vendor documentation changes.
15
17
 
16
18
  source_events:
19
+ - SessionStart
20
+ - UserPromptSubmit
17
21
  - PreToolUse
18
22
  - PostToolUse
23
+ - PostToolUseFailure
19
24
  - PreCompact
20
25
  - SubagentStart
21
26
  - SubagentStop
@@ -25,6 +30,9 @@ targets:
25
30
  claude-code:
26
31
  delivery: native-merge
27
32
  source_to_target:
33
+ SessionStart: SessionStart
34
+ UserPromptSubmit: UserPromptSubmit
35
+ PostToolUseFailure: PostToolUseFailure
28
36
  PreToolUse: PreToolUse
29
37
  PostToolUse: PostToolUse
30
38
  PreCompact: PreCompact
@@ -36,6 +44,21 @@ targets:
36
44
  delivery: mapped
37
45
  requires_probe: true
38
46
  source_to_target:
47
+ SessionStart:
48
+ status: probe
49
+ reason: >-
50
+ Not verified against this runtime. Until someone probes it, the adapter must not
51
+ claim support it has not observed, and must not present the absence as a decision.
52
+ UserPromptSubmit:
53
+ status: probe
54
+ reason: >-
55
+ Not verified against this runtime. Until someone probes it, the adapter must not
56
+ claim support it has not observed, and must not present the absence as a decision.
57
+ PostToolUseFailure:
58
+ status: probe
59
+ reason: >-
60
+ Not verified against this runtime. Claude Code fires this event where PostToolUse does
61
+ not; whether an equivalent exists here is unknown.
39
62
  PreToolUse:
40
63
  status: mapped
41
64
  target_event: preToolUse
@@ -65,6 +88,21 @@ targets:
65
88
  linux: true
66
89
  windows: false
67
90
  source_to_target:
91
+ SessionStart:
92
+ status: probe
93
+ reason: >-
94
+ Not verified against this runtime. Until someone probes it, the adapter must not
95
+ claim support it has not observed, and must not present the absence as a decision.
96
+ UserPromptSubmit:
97
+ status: probe
98
+ reason: >-
99
+ Not verified against this runtime. Until someone probes it, the adapter must not
100
+ claim support it has not observed, and must not present the absence as a decision.
101
+ PostToolUseFailure:
102
+ status: probe
103
+ reason: >-
104
+ Not verified against this runtime. Claude Code fires this event where PostToolUse does
105
+ not; whether an equivalent exists here is unknown.
68
106
  PreToolUse:
69
107
  status: mapped
70
108
  target_event: PreToolUse
@@ -90,6 +128,21 @@ targets:
90
128
  cursor:
91
129
  delivery: native-versioned-object
92
130
  source_to_target:
131
+ SessionStart:
132
+ status: probe
133
+ reason: >-
134
+ Not verified against this runtime. Until someone probes it, the adapter must not
135
+ claim support it has not observed, and must not present the absence as a decision.
136
+ UserPromptSubmit:
137
+ status: probe
138
+ reason: >-
139
+ Not verified against this runtime. Until someone probes it, the adapter must not
140
+ claim support it has not observed, and must not present the absence as a decision.
141
+ PostToolUseFailure:
142
+ status: probe
143
+ reason: >-
144
+ Not verified against this runtime. Claude Code fires this event where PostToolUse does
145
+ not; whether an equivalent exists here is unknown.
93
146
  PreToolUse:
94
147
  status: mapped
95
148
  target_event: PreToolUse
@@ -112,3 +165,46 @@ targets:
112
165
  status: drop
113
166
  severity: warning
114
167
  reason: No documented equivalent in the Cursor hooks baseline.
168
+
169
+ # OpenCode and Cline exchange no declarative hook file at all: hooks are
170
+ # plugin code (an OpenCode plugin, a @cline/sdk AgentPlugin), which a kit
171
+ # cannot express and this CLI does not generate. Both compilers already
172
+ # record hook-as-plugin loss for every event; the entries exist so that the
173
+ # reason they emit lives beside every other target's, and so that a target
174
+ # in active_targets is never absent from this file — an absence that reads
175
+ # as an oversight and gives a compiler nothing to quote.
176
+ opencode:
177
+ delivery: plugin-only
178
+ source_to_target:
179
+ SessionStart: &opencode-plugin-only
180
+ status: drop
181
+ severity: warning
182
+ reason: >-
183
+ OpenCode exposes hooks only as plugin code, so no source event can be expressed
184
+ declaratively. Porting a hook here means writing an OpenCode plugin by hand.
185
+ UserPromptSubmit: *opencode-plugin-only
186
+ PreToolUse: *opencode-plugin-only
187
+ PostToolUse: *opencode-plugin-only
188
+ PostToolUseFailure: *opencode-plugin-only
189
+ PreCompact: *opencode-plugin-only
190
+ SubagentStart: *opencode-plugin-only
191
+ SubagentStop: *opencode-plugin-only
192
+ Stop: *opencode-plugin-only
193
+
194
+ cline:
195
+ delivery: plugin-only
196
+ source_to_target:
197
+ SessionStart: &cline-plugin-only
198
+ status: drop
199
+ severity: warning
200
+ reason: >-
201
+ Cline exposes hooks only as @cline/sdk AgentPlugin code installed with
202
+ `cline plugin install`, which does not apply to the VSCode/JetBrains extension target.
203
+ UserPromptSubmit: *cline-plugin-only
204
+ PreToolUse: *cline-plugin-only
205
+ PostToolUse: *cline-plugin-only
206
+ PostToolUseFailure: *cline-plugin-only
207
+ PreCompact: *cline-plugin-only
208
+ SubagentStart: *cline-plugin-only
209
+ SubagentStop: *cline-plugin-only
210
+ Stop: *cline-plugin-only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alessandroraffa/tangyr",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "CLI for the Tangyr discipline — install and manage operating kits for AI coding tools",
5
5
  "license": "MIT",
6
6
  "engines": {