sproutkit-code 1.15.0 → 1.15.1
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 +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -84496,12 +84496,12 @@ ${line}`;
|
|
|
84496
84496
|
return lines.join("\n");
|
|
84497
84497
|
}
|
|
84498
84498
|
function withReceptionist(message, url, demoNumber, businessName) {
|
|
84499
|
-
|
|
84500
|
-
if (!
|
|
84499
|
+
void demoNumber;
|
|
84500
|
+
if (!url)
|
|
84501
84501
|
return message.replace(/\n?[^\n]*\{receptionist\}[^\n]*/g, "");
|
|
84502
84502
|
if (message.includes("{receptionist}"))
|
|
84503
|
-
return message.replace(/\{receptionist\}/g,
|
|
84504
|
-
const line = `I've also set up an AI receptionist that would answer your calls 24/7 when you can't
|
|
84503
|
+
return message.replace(/\{receptionist\}/g, url);
|
|
84504
|
+
const line = `I've also set up an AI receptionist for ${businessName ?? "you"} that would answer your calls 24/7 when you can't. You can talk to it here: ${url}`;
|
|
84505
84505
|
const lines = message.split("\n");
|
|
84506
84506
|
const at = lines.findIndex((l) => /https?:\/\//.test(l));
|
|
84507
84507
|
if (at < 0)
|
|
@@ -100467,7 +100467,7 @@ var require_package2 = __commonJS({
|
|
|
100467
100467
|
"package.json"(exports2, module2) {
|
|
100468
100468
|
module2.exports = {
|
|
100469
100469
|
name: "sproutkit-code",
|
|
100470
|
-
version: "1.15.
|
|
100470
|
+
version: "1.15.1",
|
|
100471
100471
|
description: "Sproutkit in your terminal \u2014 find leads, build sites, run outreach, all via chat.",
|
|
100472
100472
|
bin: {
|
|
100473
100473
|
sproutkit: "./dist/index.js"
|