holomime 3.3.2 → 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.
package/dist/cli.js CHANGED
@@ -3593,17 +3593,18 @@ 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();
3604
3605
  console.log(holomimeGradient(LOGO));
3605
3606
  console.log();
3606
- console.log(` ${chalk.dim("Personality engine for AI agents")} ${chalk.bgCyan.black(` v${VERSION} `)}`);
3607
+ console.log(` ${chalk.dim("Behavioral intelligence for AI agents and humanoid robots")} ${chalk.bgCyan.black(` v${VERSION} `)}`);
3607
3608
  console.log();
3608
3609
  }
3609
3610
  function printHeader(title) {
@@ -21854,26 +21855,32 @@ async function configCommand(options) {
21854
21855
  });
21855
21856
  const ask = (question) => new Promise((resolve57) => rl.question(question, resolve57));
21856
21857
  try {
21857
- const apiKey = (await ask(" API Key: ")).trim();
21858
- if (!apiKey) {
21859
- console.log(chalk49.red(" API key is required."));
21860
- rl.close();
21861
- return;
21862
- }
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();
21863
21862
  let provider;
21864
- if (apiKey.startsWith("sk-ant-")) {
21863
+ if (providerInput === "1" || providerInput.toLowerCase() === "anthropic") {
21865
21864
  provider = "anthropic";
21866
- } else if (apiKey.startsWith("sk-")) {
21865
+ } else if (providerInput === "2" || providerInput.toLowerCase() === "openai") {
21867
21866
  provider = "openai";
21867
+ } else if (providerInput === "") {
21868
+ console.log(chalk49.dim(" Skipped. Run `holomime config` when ready."));
21869
+ rl.close();
21870
+ return;
21868
21871
  } else {
21869
- console.log(chalk49.yellow(" Could not detect provider from key prefix."));
21870
- const providerInput = (await ask(" Provider (anthropic/openai): ")).trim();
21871
- if (providerInput !== "anthropic" && providerInput !== "openai") {
21872
- console.log(chalk49.red(` Unsupported provider: ${providerInput}`));
21873
- rl.close();
21874
- return;
21875
- }
21876
- provider = providerInput;
21872
+ console.log(chalk49.red(` Invalid selection: ${providerInput}`));
21873
+ rl.close();
21874
+ return;
21875
+ }
21876
+ console.log(chalk49.dim(` Selected: ${provider}`));
21877
+ console.log();
21878
+ const keyHint = provider === "anthropic" ? "sk-ant-..." : "sk-...";
21879
+ const apiKey = (await ask(` API Key (${keyHint}): `)).trim();
21880
+ if (!apiKey) {
21881
+ console.log(chalk49.dim(" Skipped. Run `holomime config` when ready."));
21882
+ rl.close();
21883
+ return;
21877
21884
  }
21878
21885
  const config = { provider, apiKey };
21879
21886
  saveConfig(config);
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>NeuralSpace — HoloMime Brain</title>
6
+ <title>NeuralSpace — holomime Brain</title>
7
7
  <link rel="stylesheet" href="styles.css">
8
8
  <script src="https://cdn.jsdelivr.net/npm/pako@2.1.0/dist/pako_inflate.min.js"></script>
9
9
  <script type="importmap">
@@ -64,7 +64,7 @@
64
64
  <a href="https://holomime.com/brain">Learn more</a>
65
65
  </div>
66
66
 
67
- <div id="watermark">Powered by HoloMime</div>
67
+ <div id="watermark">Powered by holomime</div>
68
68
  </div>
69
69
 
70
70
  <div id="sidebar">
@@ -1,4 +1,4 @@
1
- /* HoloMime Live — NeuralSpace Dark Theme */
1
+ /* holomime Live — NeuralSpace Dark Theme */
2
2
  * { margin: 0; padding: 0; box-sizing: border-box; }
3
3
 
4
4
  :root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holomime",
3
- "version": "3.3.2",
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": {