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 +29 -22
- package/dist/neuralspace/index.html +2 -2
- package/dist/neuralspace/styles.css +1 -1
- package/package.json +1 -1
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 = "
|
|
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("
|
|
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
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
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 (
|
|
21863
|
+
if (providerInput === "1" || providerInput.toLowerCase() === "anthropic") {
|
|
21865
21864
|
provider = "anthropic";
|
|
21866
|
-
} else if (
|
|
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.
|
|
21870
|
-
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
|
|
21874
|
-
|
|
21875
|
-
|
|
21876
|
-
|
|
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 —
|
|
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
|
|
67
|
+
<div id="watermark">Powered by holomime</div>
|
|
68
68
|
</div>
|
|
69
69
|
|
|
70
70
|
<div id="sidebar">
|