multicorn-shield 1.2.0 → 1.3.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## Release checklist
9
+
10
+ - Bump `version` in `package.json` before publishing to npm.
11
+
12
+ ## [1.3.1] - 2026-05-07
13
+
14
+ ### Fixed
15
+
16
+ - Consent screen not opening for re-created agents with the same name (stale consent marker now cleared on polling timeout)
17
+ - One-time approvals not working in Claude Code and Windsurf hooks (hook now polls approval status instead of immediately blocking when consent marker exists)
18
+
8
19
  ## [1.2.0] - 2026-05-06
9
20
 
10
21
  ### Added
@@ -13,13 +24,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
24
  - When a platform already has agents registered, the wizard offers to replace a specific one, add a new agent alongside them, or skip to another platform
14
25
  - If the current directory already has an agent for the selected platform, the wizard detects it and offers a targeted replace prompt
15
26
  - Default agent names now include the project folder (e.g. `multicorn-dashboard-cursor` instead of `cursor`)
27
+ - Extracted Claude Code tool-to-Shield mapping into dedicated module (`src/hooks/claude-code-tool-map.ts`), exported as CommonJS for hook scripts
28
+ - Updated plugin hook scripts to v1.2.0
29
+ - After API key validation, `init` may warn when the installed `multicorn-shield` is older than the version published on npm (fetch errors are ignored)
16
30
 
17
31
  ### Changed
18
32
 
33
+ - Claude Code path in `init` writes PreToolUse and PostToolUse command hooks to `~/.claude/settings.json` (script paths resolve via the installed `multicorn-shield` package). Marketplace and `claude plugin install` steps were removed from the wizard
34
+ - "Next steps" after setup complete only lists how to start or restart each platform (no repeated paste-into-file instructions)
19
35
  - Agent resolution now picks the most specific workspace match when multiple agents share a platform - falls back to the original behaviour for existing setups
20
- - Native hook scripts (Cline, Claude Code, Windsurf, Gemini CLI) use workspace-aware agent resolution
36
+ - Native hook scripts (Cline, Claude Code, Windsurf, Gemini CLI) use workspace-aware agent resolution. Claude Code hooks use `PWD` when set, then longest matching `workspacePath`, then `defaultAgent`, then the first `claude-code` agent
21
37
  - Replacing an agent no longer removes all agents for that platform - only the specific one being replaced
22
38
 
39
+ ### Fixed
40
+
41
+ - Stripe/payment tools incorrectly classified as `execute` instead of `write` in tool mapper
42
+ - If the old Claude Code plugin is still installed, `init` prints a note that hooks now live in `settings.json` and suggests `claude plugin uninstall multicorn-shield@multicorn-shield`
43
+
23
44
  ## [1.1.0] - 2026-05-06
24
45
 
25
46
  ### Added