envpkt 0.6.8 → 0.6.9

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/dist/cli.js +5 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3141,8 +3141,12 @@ else
3141
3141
  fi
3142
3142
  `;
3143
3143
  const BASH_HOOK = `# envpkt shell hook — add to your .bashrc
3144
+ _envpkt_last_dir=""
3144
3145
  _envpkt_prompt() {
3145
- envpkt audit --format minimal 2>/dev/null
3146
+ if [[ "$PWD" != "$_envpkt_last_dir" ]]; then
3147
+ _envpkt_last_dir="$PWD"
3148
+ envpkt audit --format minimal 2>/dev/null
3149
+ fi
3146
3150
  }
3147
3151
 
3148
3152
  if [[ ! "$PROMPT_COMMAND" == *"_envpkt_prompt"* ]]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "envpkt",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Credential lifecycle and fleet management for AI agents",
5
5
  "keywords": [
6
6
  "credentials",