@mnemom/mnemom 0.17.17-next.0 → 0.17.18-next.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.
|
@@ -197,7 +197,7 @@ export async function probeCodeAccess() {
|
|
|
197
197
|
return {
|
|
198
198
|
mark: "info",
|
|
199
199
|
text: "Mnemom Agent access: sign in to check",
|
|
200
|
-
hint: `run \`mnemom login\`; @mnemom.ai accounts are enabled by default, others need an invitation (mnemom agent --invite <token>) —
|
|
200
|
+
hint: `run \`mnemom login\`; @mnemom.ai accounts are enabled by default, others need an invitation (mnemom agent --invite <token>) — join the waitlist at ${REQUEST_ACCESS_URL}`,
|
|
201
201
|
remoteControl: false,
|
|
202
202
|
};
|
|
203
203
|
}
|
|
@@ -30,10 +30,10 @@ export declare class CodeNotEnabledError extends Error {
|
|
|
30
30
|
export declare const INVITE_TOKEN_RE: RegExp;
|
|
31
31
|
export declare function looksLikeInviteToken(value: unknown): value is string;
|
|
32
32
|
/**
|
|
33
|
-
* Where someone without an invitation (or a Mnemom contact)
|
|
33
|
+
* Where someone without an invitation (or a Mnemom contact) joins the waitlist. Every
|
|
34
34
|
* locked-out message ends with it, so an uninvited customer is never at a dead end.
|
|
35
35
|
*/
|
|
36
|
-
export declare const REQUEST_ACCESS_URL = "https://www.mnemom.ai/
|
|
36
|
+
export declare const REQUEST_ACCESS_URL = "https://www.mnemom.ai/waitlist";
|
|
37
37
|
/** `hint`, plus the request-access pointer unless the hint already carries the URL. */
|
|
38
38
|
export declare function withRequestAccess(hint: string): string;
|
|
39
39
|
/** Drop control characters (ANSI escapes included) from an api-supplied string before
|
|
@@ -40,10 +40,10 @@ export function looksLikeInviteToken(value) {
|
|
|
40
40
|
}
|
|
41
41
|
const FALLBACK_HINT = "Ask your Mnemom contact for a Mnemom Agent invitation, then run: mnemom agent --invite <token>";
|
|
42
42
|
/**
|
|
43
|
-
* Where someone without an invitation (or a Mnemom contact)
|
|
43
|
+
* Where someone without an invitation (or a Mnemom contact) joins the waitlist. Every
|
|
44
44
|
* locked-out message ends with it, so an uninvited customer is never at a dead end.
|
|
45
45
|
*/
|
|
46
|
-
export const REQUEST_ACCESS_URL = "https://www.mnemom.ai/
|
|
46
|
+
export const REQUEST_ACCESS_URL = "https://www.mnemom.ai/waitlist";
|
|
47
47
|
/** Whether `hint` already names the request-access page, as a whole word (trailing
|
|
48
48
|
* punctuation ignored) — a token match, not a substring one. */
|
|
49
49
|
function mentionsRequestAccess(hint) {
|
|
@@ -56,7 +56,7 @@ export function withRequestAccess(hint) {
|
|
|
56
56
|
let end = hint.length;
|
|
57
57
|
while (end > 0 && (hint[end - 1] === "." || hint[end - 1].trim() === ""))
|
|
58
58
|
end--;
|
|
59
|
-
return `${hint.slice(0, end)}. No invitation yet?
|
|
59
|
+
return `${hint.slice(0, end)}. No invitation yet? Join the waitlist at ${REQUEST_ACCESS_URL}`;
|
|
60
60
|
}
|
|
61
61
|
/** Drop control characters (ANSI escapes included) from an api-supplied string before
|
|
62
62
|
* it reaches the terminal — defense in depth; the value is first-party but printed raw. */
|