{"version":"2.1.331","anchor":"repl-script-end-telemetry-adds-path-field-hook-feedback-on","canonical_anchor":"repl-script-end-telemetry-adds-path-field-hook-feedback-on","heading":"REPL scripts report how they ran and pass hook feedback on late reports","tier":"notice","area":"REPL","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/repl-script-end-telemetry-adds-path-field-hook-feedback-on","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### REPL scripts report how they ran and pass hook feedback on late reports\n\nREPL script usage data now records how a script ran, and late reports from REPL scripts now carry hook feedback\n\n**What**\n\nTwo small changes affect scripts run in Claude Code's REPL mode:\n\n- The usage data Claude Code records when a REPL script finishes now notes how it ran, as either `messages` or `vm`.\n\n- Reports a REPL script sends after it has already finished now include hook feedback. Hooks are commands you configure to run automatically at certain points, and their feedback is the output they send back to Claude Code.\n\n**Why**\n\nThese are minor changes to how information is recorded and passed along. The main practical effect is that hook feedback is no longer missing from a REPL script's late reports.\n\n- Area: REPL\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}