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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. 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
- const what = demoNumber ? `ring ${prettyNumber(demoNumber)} from your business phone and it'll answer as ${businessName ?? "you"}` : url ? `give it a call here: ${url}` : null;
84500
- if (!what)
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, demoNumber ? prettyNumber(demoNumber) : url);
84504
- const line = `I've also set up an AI receptionist that would answer your calls 24/7 when you can't \u2014 ${what}.`;
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.0",
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sproutkit-code",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "description": "Sproutkit in your terminal — find leads, build sites, run outreach, all via chat.",
5
5
  "bin": {
6
6
  "sproutkit": "./dist/index.js"