holomime 3.3.2 → 3.3.3
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 +9 -17
- package/dist/neuralspace/index.html +2 -2
- package/dist/neuralspace/styles.css +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3603,7 +3603,7 @@ function printBanner() {
|
|
|
3603
3603
|
console.log();
|
|
3604
3604
|
console.log(holomimeGradient(LOGO));
|
|
3605
3605
|
console.log();
|
|
3606
|
-
console.log(` ${chalk.dim("
|
|
3606
|
+
console.log(` ${chalk.dim("Behavioral intelligence for AI agents and humanoid robots")} ${chalk.bgCyan.black(` v${VERSION} `)}`);
|
|
3607
3607
|
console.log();
|
|
3608
3608
|
}
|
|
3609
3609
|
function printHeader(title) {
|
|
@@ -21854,27 +21854,19 @@ async function configCommand(options) {
|
|
|
21854
21854
|
});
|
|
21855
21855
|
const ask = (question) => new Promise((resolve57) => rl.question(question, resolve57));
|
|
21856
21856
|
try {
|
|
21857
|
-
const
|
|
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}`));
|
|
21860
|
+
rl.close();
|
|
21861
|
+
return;
|
|
21862
|
+
}
|
|
21863
|
+
const keyHint = provider === "anthropic" ? "sk-ant-..." : "sk-...";
|
|
21864
|
+
const apiKey = (await ask(` API Key (${keyHint}): `)).trim();
|
|
21858
21865
|
if (!apiKey) {
|
|
21859
21866
|
console.log(chalk49.red(" API key is required."));
|
|
21860
21867
|
rl.close();
|
|
21861
21868
|
return;
|
|
21862
21869
|
}
|
|
21863
|
-
let provider;
|
|
21864
|
-
if (apiKey.startsWith("sk-ant-")) {
|
|
21865
|
-
provider = "anthropic";
|
|
21866
|
-
} else if (apiKey.startsWith("sk-")) {
|
|
21867
|
-
provider = "openai";
|
|
21868
|
-
} 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;
|
|
21877
|
-
}
|
|
21878
21870
|
const config = { provider, apiKey };
|
|
21879
21871
|
saveConfig(config);
|
|
21880
21872
|
console.log();
|
|
@@ -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">
|