Repository navigation
v1.1.3
A patch release with fixes to the Claude Code plugin's two hooks. The plan hook also catches init run through npm exec or npm run. It no longer shows a dry run's plan for a paid run in another folder or region. The install hook covers pnpm and yarn as well as npm. It suggests npm init -y with each of them, and a command that installs into the folder it checked. There are no breaking changes.
Fixed
- Plugin: the hook that shows a model-backed
init's plan now also catchesnpm exec sandtable-ai -- init,npm run sandtable -- initandnpx sandtable-ai -- init, which ran with no dry run and no message before. It compares the environment variables that pick the provider and region too, so a paid run under anotherAWS_REGION=than its dry run says the plan isn't known, instead of showing the other region's plan (#415). - Plugin: the hook that keeps sandtable in the working folder's own project now covers
pnpm add,pnpm install <package>andyarn add, which also install into the nearest project above a folder with nopackage.json. It tells Claude to runnpm init -yfirst with those too, becausepnpm initadds adevEnginesfield that makesnpx sandtable-airefuse to run. It also checks the folder that yarn's--cwdnames (#415, #432). - Plugin: when the install hook stops an install that runs in another folder, after a
cdor with yarn's--cwd, the command it suggests now starts with acdto that folder. Before, it left thecdout, so the suggestion, run as written, installed into the project above (#432). - Plugin: the plan hook no longer shows a dry run's plan for a paid
initwhose relative paths name other files. It resolves each command's paths from the folder it ran in, following anycdin the command, socd eng && npx sandtable-ai init --sop sop.mdafter a dry run of--sop sop.mdin the folder above now says the plan isn't known. A folder change it can't follow, such ascd $DIRor a subshell, makes the plan unknown too. A bareAWS_REGION=…;before the command, which reachesinitonly when the variable is exported already, now matches only a dry run with the same assignment (#427).
What's Changed
Other changes
- fix(plugin): the hooks cover init after --, the region from the environment, and pnpm and yarn installs by @Uliseis in #426
- fix(plugin): the plan hook compares paths by the folder each init ran in by @Uliseis in #429
- fix(plugin): the install hook says npm init -y with pnpm and yarn too by @Uliseis in #434
- chore(release): v1.1.3 by @Uliseis in #435
Full Changelog: v1.1.2...v1.1.3