@haven_ai/cli 0.14.0-alpha.0 → 0.15.0-alpha.0

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/dist/index.js CHANGED
@@ -2970,6 +2970,8 @@ function refusal(layer, reason, message) {
2970
2970
  }
2971
2971
  var LABELLED_PATTERNS = [
2972
2972
  { reason: "agent_api_key", re: /sk_agent_[A-Za-z0-9]/ },
2973
+ // #4896: the receive-only merchant key. Its own prefix, its own reason.
2974
+ { reason: "merchant_api_key", re: /sk_merchant_[A-Za-z0-9]/ },
2973
2975
  { reason: "setup_token", re: /hv_setup_[A-Za-z0-9]/ },
2974
2976
  // A session JWT: three dot-separated base64url parts, each non-empty.
2975
2977
  // `\beyJ` (not the looser `\bey`), which is the base64url encoding of `{"`
@@ -3149,7 +3151,7 @@ async function checkTextForSecrets(text, deps) {
3149
3151
 
3150
3152
  // src/commands.ts
3151
3153
  var DEFAULT_API = "https://havenbackend-production-8a00.up.railway.app";
3152
- var CLI_VERSION = "0.14.0-alpha.0";
3154
+ var CLI_VERSION = "0.15.0-alpha.0";
3153
3155
  var CLI_CLIENT_IDENTITY = `@haven_ai/cli/${CLI_VERSION}`;
3154
3156
  function accountAddressOf(s) {
3155
3157
  return s.account_address ?? "";