caruso 0.7.2 → 0.7.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f35c030837384c4c2ea012adee91d0c0c682c83c940c39cf3c1ffa2455109ead
4
- data.tar.gz: 3e5a3c12c4ab88d7bcedbd20bb05b9d774840320c5f19eec8606b799edd7f7e4
3
+ metadata.gz: a982ce1bffa391e5afde0a31d44b09d8682bb4e77435cd606592c8b811365bd0
4
+ data.tar.gz: 29c157f5ad0dae28757e91fe401f118326d59dfc6c74a04ecfc137fa9e73ac23
5
5
  SHA512:
6
- metadata.gz: a36a6db9e2f4a676d4b46e815f318a8ef4577dbfb9d0ae68650b2bb2f68aba1381cb5cf9590934bb2cf53613f298c5df0293f648c085a198769f5b6a4375d582
7
- data.tar.gz: b014ab55f651790fbfcdb59c0fa84ebd970d992987239f31161d3020aacc181e1ef58a9619a95f14856d2604da4bb49309291009203e6391a8a13c396c478f01
6
+ metadata.gz: 99d2a0ffa635b47cdfb0bfeb21ec4a9f49c383ba4aa66482b45a1234fc3adec7ea436aaf2b1bc914323fd9fe06673a0f7e1dc22e209f4c4446eec4bc6d04dd4e
7
+ data.tar.gz: a71281ef5308c0df2989247d5d7cc89b2513475613a1755d845c69d78dad6d3fe768632ba52d2cae7c39903cb93eb0073af38b05ca530ab74b081646f34181bd
@@ -12,7 +12,11 @@ module Caruso
12
12
  "PreToolUse" => "beforeShellExecution",
13
13
  "PostToolUse" => "afterShellExecution",
14
14
  "UserPromptSubmit" => "beforeSubmitPrompt",
15
- "Stop" => "stop"
15
+ "Stop" => "stop",
16
+ "SessionStart" => "sessionStart",
17
+ "SessionEnd" => "sessionEnd",
18
+ "SubagentStop" => "subagentStop",
19
+ "PreCompact" => "preCompact"
16
20
  }.freeze
17
21
 
18
22
  # PostToolUse with Write|Edit matchers maps to afterFileEdit instead.
@@ -20,10 +24,6 @@ module Caruso
20
24
 
21
25
  # Events with no Cursor equivalent.
22
26
  UNSUPPORTED_EVENTS = %w[
23
- SessionStart
24
- SessionEnd
25
- SubagentStop
26
- PreCompact
27
27
  Notification
28
28
  PermissionRequest
29
29
  ].freeze
@@ -140,7 +140,7 @@ module Caruso
140
140
  end
141
141
 
142
142
  def rewrite_script_path(command)
143
- plugin_script_dir = File.join("hooks", "caruso", marketplace_name, plugin_name)
143
+ plugin_script_dir = File.join(".cursor", "hooks", "caruso", marketplace_name, plugin_name)
144
144
  command.gsub("${CLAUDE_PLUGIN_ROOT}", plugin_script_dir)
145
145
  end
146
146
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Caruso
4
- VERSION = "0.7.2"
4
+ VERSION = "0.7.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caruso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Comans