clawzempic 1.0.1 → 1.0.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/bin/clawzempic.js +7 -2
- package/package.json +4 -4
package/bin/clawzempic.js
CHANGED
|
@@ -22,7 +22,7 @@ import { join, basename } from 'node:path';
|
|
|
22
22
|
// ── Constants ─────────────────────────────────────────────────────────────────
|
|
23
23
|
|
|
24
24
|
const API_BASE = 'https://api.clawzempic.ai';
|
|
25
|
-
const VERSION = '1.0.
|
|
25
|
+
const VERSION = '1.0.3';
|
|
26
26
|
|
|
27
27
|
// ── ANSI Colors (no dependencies) ─────────────────────────────────────────────
|
|
28
28
|
|
|
@@ -437,7 +437,12 @@ async function cmdInit(args) {
|
|
|
437
437
|
// ── Signup Flow ──────────────────────────────────────────────────────────
|
|
438
438
|
|
|
439
439
|
const name = await ask('Your name or bot name');
|
|
440
|
-
const email = await ask('Email', {
|
|
440
|
+
const email = await ask('Email', {
|
|
441
|
+
validate: (v) => {
|
|
442
|
+
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v)) return 'Enter a valid email address.';
|
|
443
|
+
return null;
|
|
444
|
+
},
|
|
445
|
+
});
|
|
441
446
|
|
|
442
447
|
const providerKey = await ask('Your LLM provider API key', {
|
|
443
448
|
secret: true,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawzempic",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Intelligent LLM API proxy — prompt caching, smart routing, memory. Drop-in replacement that cuts your Claude API costs 70-95%.",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"clawzempic": "
|
|
8
|
+
"clawzempic": "bin/clawzempic.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"bin/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
|
-
"url": "https://github.com/naveenspark/sam-router"
|
|
31
|
+
"url": "git+https://github.com/naveenspark/sam-router.git"
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://clawzempic.ai",
|
|
34
34
|
"author": "Clawzempic"
|