opencrush 0.3.6 → 0.3.8

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 +30 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -245061,6 +245061,23 @@ async function runSetupWizard() {
245061
245061
  \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D
245062
245062
  `));
245063
245063
  console.log(source_default.cyan(" Let's get you set up. Takes about 2 minutes.\n"));
245064
+ const { setupMode } = await esm_default12.prompt([{
245065
+ type: "list",
245066
+ name: "setupMode",
245067
+ message: "Pick a setup mode:",
245068
+ choices: [
245069
+ {
245070
+ name: `\u26A1 Quick setup ${source_default.gray("\u2014 pick or create a companion, core features (recommended)")}`,
245071
+ value: "quick",
245072
+ short: "Quick"
245073
+ },
245074
+ {
245075
+ name: `\u{1F527} Full setup ${source_default.gray("\u2014 pick or create a companion + voice, browser, Twitter")}`,
245076
+ value: "full",
245077
+ short: "Full"
245078
+ }
245079
+ ]
245080
+ }]);
245064
245081
  const TOTAL = 4;
245065
245082
  const step = (n2, label) => console.log(source_default.cyan(`
245066
245083
  [${n2}/${TOTAL}] ${label}`));
@@ -245231,17 +245248,22 @@ async function runSetupWizard() {
245231
245248
  }
245232
245249
  step(4, "Extras");
245233
245250
  console.log(source_default.gray(" All optional \u2014 skip everything by pressing Enter.\n"));
245251
+ const quickChoices = [
245252
+ { name: `\u{1F4F8} Send selfies and videos ${source_default.gray("(fal.ai \u2014 free credits on signup)")}`, value: "images", checked: true },
245253
+ { name: `\u{1F3B5} Listen to Spotify and share songs ${source_default.gray("(Spotify API \u2014 free)")}`, value: "spotify" }
245254
+ ];
245255
+ const fullChoices = [
245256
+ { name: `\u{1F4F8} Send selfies and videos ${source_default.gray("(fal.ai \u2014 free credits on signup)")}`, value: "images", checked: true },
245257
+ { name: `\u{1F3B5} Listen to Spotify and share songs ${source_default.gray("(Spotify API \u2014 free)")}`, value: "spotify" },
245258
+ { name: `\u{1F3A4} Send voice messages ${source_default.gray("(ElevenLabs / Fish Audio / FAL)")}`, value: "voice" },
245259
+ { name: `\u{1F310} Browse the web and share screenshots ${source_default.gray("(Playwright)")}`, value: "browser" },
245260
+ { name: `\u{1F426} Post on Twitter/X ${source_default.gray("(Twitter API + OAuth)")}`, value: "twitter" }
245261
+ ];
245234
245262
  const { extras } = await esm_default12.prompt([{
245235
245263
  type: "checkbox",
245236
245264
  name: "extras",
245237
245265
  message: `What else should ${characterName} do?`,
245238
- choices: [
245239
- { name: `\u{1F4F8} Send selfies and videos ${source_default.gray("(fal.ai \u2014 free credits on signup)")}`, value: "images", checked: true },
245240
- { name: `\u{1F3B5} Listen to Spotify and share songs ${source_default.gray("(Spotify API \u2014 free)")}`, value: "spotify" },
245241
- { name: `\u{1F3A4} Send voice messages ${source_default.gray("(ElevenLabs / Fish Audio / FAL)")}`, value: "voice" },
245242
- { name: `\u{1F310} Browse the web and share screenshots ${source_default.gray("(Playwright)")}`, value: "browser" },
245243
- { name: `\u{1F426} Post on Twitter/X ${source_default.gray("(Twitter API + OAuth)")}`, value: "twitter" }
245244
- ]
245266
+ choices: setupMode === "quick" ? quickChoices : fullChoices
245245
245267
  }]);
245246
245268
  if (extras.includes("images")) {
245247
245269
  console.log(source_default.yellow("\n fal.ai API key (free credits on signup):"));
@@ -245418,7 +245440,7 @@ async function runSetupWizard() {
245418
245440
  `) + source_default.cyan(" npx opencrush@latest start\n\n") + source_default.white(`Edit ${pro.their} personality:
245419
245441
  `) + source_default.cyan(` characters/${characterName}/SOUL.md
245420
245442
 
245421
- `) + source_default.gray("https://github.com/Hollandchirs/Opencrush"),
245443
+ `) + (setupMode === "quick" ? source_default.gray("Unlock voice/browser/Twitter: run setup again \u2192 Full setup\n\n") : "") + source_default.gray("https://github.com/Hollandchirs/Opencrush"),
245422
245444
  { padding: 1, margin: 1, borderStyle: "round", borderColor: "magenta" }
245423
245445
  ));
245424
245446
  const { startNow } = await esm_default12.prompt([{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencrush",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Your AI companion lives on your device. She watches dramas, listens to music, and thinks of you.",
5
5
  "bin": {
6
6
  "opencrush": "dist/index.js"