@elnora-ai/cli 2.0.1 → 2.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/dist/cli.js +3 -3
- package/package.json +5 -5
package/dist/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ var VERSION, PRODUCTION_BASE_URL, BASE_URL, AI_SERVER_URL, ENDPOINTS, DEFAULT_HE
|
|
|
25
25
|
var init_config = __esm({
|
|
26
26
|
"src/lib/config.ts"() {
|
|
27
27
|
"use strict";
|
|
28
|
-
VERSION = true ? "2.0.
|
|
28
|
+
VERSION = true ? "2.0.3" : process.env.npm_package_version ?? "0.0.0-dev";
|
|
29
29
|
PRODUCTION_BASE_URL = "https://platform.elnora.ai/api/v1";
|
|
30
30
|
BASE_URL = process.env.ELNORA_API_URL ?? PRODUCTION_BASE_URL;
|
|
31
31
|
AI_SERVER_URL = process.env.ELNORA_AI_SERVER_URL ?? "https://platform.elnora.ai/ai-server";
|
|
@@ -4355,7 +4355,7 @@ var orgsSetDefault = {
|
|
|
4355
4355
|
import { z as z72 } from "zod";
|
|
4356
4356
|
var inputSchema70 = z72.object({
|
|
4357
4357
|
orgId: z72.string().uuid().describe("Organization ID"),
|
|
4358
|
-
|
|
4358
|
+
stripeCustomerId: z72.string().min(1).describe("Stripe customer ID (e.g. cus_xxx)")
|
|
4359
4359
|
});
|
|
4360
4360
|
var orgsSetStripe = {
|
|
4361
4361
|
name: "orgs.setStripe",
|
|
@@ -4367,7 +4367,7 @@ var orgsSetStripe = {
|
|
|
4367
4367
|
async execute(input, ctx) {
|
|
4368
4368
|
return ctx.client.put(
|
|
4369
4369
|
"organization_stripe_customer",
|
|
4370
|
-
{
|
|
4370
|
+
{ stripeCustomerId: input.stripeCustomerId },
|
|
4371
4371
|
{ pathParams: { id: input.orgId } }
|
|
4372
4372
|
);
|
|
4373
4373
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elnora-ai/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Elnora AI Platform CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
40
40
|
"commander": "^14.0.3",
|
|
41
41
|
"express": "^5.2.1",
|
|
42
|
-
"express-rate-limit": "^8.5.
|
|
42
|
+
"express-rate-limit": "^8.5.2",
|
|
43
43
|
"picocolors": "^1.1.1",
|
|
44
44
|
"zod": "^4.4.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@biomejs/biome": "^2.4.15",
|
|
48
48
|
"@types/express": "^5.0.6",
|
|
49
|
-
"@types/node": "^25.
|
|
49
|
+
"@types/node": "^25.9.1",
|
|
50
50
|
"@yao-pkg/pkg": "^6.19.0",
|
|
51
51
|
"esbuild": "^0.28.0",
|
|
52
|
-
"tsx": "^4.
|
|
52
|
+
"tsx": "^4.22.3",
|
|
53
53
|
"typescript": "^6.0.3",
|
|
54
|
-
"vitest": "^4.1.
|
|
54
|
+
"vitest": "^4.1.6"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"postinstall": "node scripts/postinstall.mjs",
|