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