holomime 3.3.3 → 3.3.4

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/cli.js +24 -9
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3593,11 +3593,12 @@ import { Command } from "commander";
3593
3593
  // src/ui/branding.ts
3594
3594
  import chalk from "chalk";
3595
3595
  import gradientString from "gradient-string";
3596
- var VERSION = "0.2.0";
3597
- var LOGO = ` _ _ _ __ __ _
3598
- | || |___| |___ | \\/ (_)_ __ ___
3599
- | __ / _ \\ / _ \\ | |\\/| | | ' \\/ -_)
3600
- |_||_\\___/_\\___/ |_| |_|_|_|_|_\\___|`;
3596
+ var VERSION = "3.3.4";
3597
+ var LOGO = ` _ _ _
3598
+ | |__ ___ | | ___ _ __ (_)_ __ ___ ___
3599
+ | '_ \\ / _ \\| |/ _ \\| '_ \\| | '_ \` _ \\ / _ \\
3600
+ | | | | (_) | | (_) | | | | | | | | | | __/
3601
+ |_| |_|\\___/|_|\\___/|_| |_|_|_| |_| |_|\\___|`;
3601
3602
  var holomimeGradient = gradientString("#00d4ff", "#b347d9");
3602
3603
  function printBanner() {
3603
3604
  console.log();
@@ -21854,16 +21855,30 @@ async function configCommand(options) {
21854
21855
  });
21855
21856
  const ask = (question) => new Promise((resolve57) => rl.question(question, resolve57));
21856
21857
  try {
21857
- const provider = (await ask(" Provider (anthropic/openai) [anthropic]: ")).trim().toLowerCase() || "anthropic";
21858
- if (provider !== "anthropic" && provider !== "openai") {
21859
- console.log(chalk49.red(` Unsupported provider: ${provider}`));
21858
+ console.log(chalk49.dim(" 1) anthropic") + chalk49.dim(" enter your sk-ant-... key"));
21859
+ console.log(chalk49.dim(" 2) openai") + chalk49.dim(" enter your sk-... key"));
21860
+ console.log();
21861
+ const providerInput = (await ask(" Select provider (1 or 2): ")).trim();
21862
+ let provider;
21863
+ if (providerInput === "1" || providerInput.toLowerCase() === "anthropic") {
21864
+ provider = "anthropic";
21865
+ } else if (providerInput === "2" || providerInput.toLowerCase() === "openai") {
21866
+ provider = "openai";
21867
+ } else if (providerInput === "") {
21868
+ console.log(chalk49.dim(" Skipped. Run `holomime config` when ready."));
21869
+ rl.close();
21870
+ return;
21871
+ } else {
21872
+ console.log(chalk49.red(` Invalid selection: ${providerInput}`));
21860
21873
  rl.close();
21861
21874
  return;
21862
21875
  }
21876
+ console.log(chalk49.dim(` Selected: ${provider}`));
21877
+ console.log();
21863
21878
  const keyHint = provider === "anthropic" ? "sk-ant-..." : "sk-...";
21864
21879
  const apiKey = (await ask(` API Key (${keyHint}): `)).trim();
21865
21880
  if (!apiKey) {
21866
- console.log(chalk49.red(" API key is required."));
21881
+ console.log(chalk49.dim(" Skipped. Run `holomime config` when ready."));
21867
21882
  rl.close();
21868
21883
  return;
21869
21884
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holomime",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "description": "Behavioral therapy infrastructure for AI agents — Big Five psychology, structured treatment, behavioral alignment",
5
5
  "type": "module",
6
6
  "bin": {