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