carmoji 0.2.0 → 0.2.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/carmoji.js +2 -1
  2. package/package.json +1 -1
package/carmoji.js CHANGED
@@ -8,7 +8,7 @@
8
8
  // pair <code> discover the phone on this Wi-Fi and pair with it
9
9
  // hook Claude Code hook entry point (reads hook JSON on stdin)
10
10
  // codex-notify Codex notify entry point (event JSON as last argument)
11
- // test <name> send a test event: start|prompt|edit|run|done|error|permission|end
11
+ // test <name> send a test event: start|prompt|edit|read|run|heartbeat|done|error|permission|end
12
12
  // claude-config print the .claude/settings.json hooks snippet
13
13
  // codex-config print the ~/.codex/config.toml notify line
14
14
 
@@ -342,6 +342,7 @@ const TEST_EVENTS = {
342
342
  start: { event: 'session_start' },
343
343
  prompt: { event: 'prompt' },
344
344
  edit: { event: 'tool_start', tool: 'Edit' },
345
+ read: { event: 'tool_start', tool: 'Read' },
345
346
  run: { event: 'tool_start', tool: 'Bash' },
346
347
  heartbeat: { event: 'tool_end', tool: 'Edit' },
347
348
  done: { event: 'turn_done' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carmoji",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Bring your CarMoji pet to life from Claude Code / Codex — a LAN bridge that streams coding events to the CarMoji iOS app",
5
5
  "type": "module",
6
6
  "bin": {