@elnora-ai/cli 2.2.0 → 2.2.1
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 +5 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -30,7 +30,7 @@ var VERSION, PRODUCTION_BASE_URL, BASE_URL, AI_SERVER_URL, PRODUCTION_MCP_URL, M
|
|
|
30
30
|
var init_config = __esm({
|
|
31
31
|
"src/lib/config.ts"() {
|
|
32
32
|
"use strict";
|
|
33
|
-
VERSION = true ? "2.2.
|
|
33
|
+
VERSION = true ? "2.2.1" : process.env.npm_package_version ?? "0.0.0-dev";
|
|
34
34
|
PRODUCTION_BASE_URL = "https://platform.elnora.ai/api/v1";
|
|
35
35
|
BASE_URL = process.env.ELNORA_API_URL ?? PRODUCTION_BASE_URL;
|
|
36
36
|
AI_SERVER_URL = process.env.ELNORA_AI_SERVER_URL ?? "https://platform.elnora.ai/ai-server";
|
|
@@ -2881,7 +2881,7 @@ var accountUpdate = {
|
|
|
2881
2881
|
if (Object.keys(body).length === 0) {
|
|
2882
2882
|
throw new ValidationError("At least one of --firstName or --lastName is required");
|
|
2883
2883
|
}
|
|
2884
|
-
return ctx.client.
|
|
2884
|
+
return ctx.client.put("account_user", body, {
|
|
2885
2885
|
pathParams: { id: input.userId }
|
|
2886
2886
|
});
|
|
2887
2887
|
},
|
|
@@ -5237,7 +5237,7 @@ var inputSchema83 = z86.object({
|
|
|
5237
5237
|
var protocolsGenerate = {
|
|
5238
5238
|
name: "protocols.generate",
|
|
5239
5239
|
group: "protocols",
|
|
5240
|
-
description: "Generate a bioprotocol \u2014 creates a task and sends the description in one call",
|
|
5240
|
+
description: "Generate a bioprotocol \u2014 creates a task and sends the description in one call. Returns the task and the queued user message, NOT the AI response; the agent processes asynchronously. To get the generated protocol, poll elnora_tasks_messages with the returned task id every 5-10s until the last message has role 'assistant' with metadata.status 'completed'. Timeout after 5 min.",
|
|
5241
5241
|
stdinField: "description",
|
|
5242
5242
|
inputSchema: inputSchema83,
|
|
5243
5243
|
outputSchema: z86.any(),
|
|
@@ -5624,7 +5624,7 @@ var inputSchema89 = z92.object({
|
|
|
5624
5624
|
var tasksCreate = {
|
|
5625
5625
|
name: "tasks.create",
|
|
5626
5626
|
group: "tasks",
|
|
5627
|
-
description: "Create a new task in a project",
|
|
5627
|
+
description: "Create a new task in a project. If a message is provided it is queued, but the AI response is NOT returned \u2014 the agent processes asynchronously. Poll elnora_tasks_messages every 5-10s until the last message has role 'assistant' with metadata.status 'completed'. Timeout after 5 min.",
|
|
5628
5628
|
stdinField: "message",
|
|
5629
5629
|
inputSchema: inputSchema89,
|
|
5630
5630
|
outputSchema: z92.any(),
|
|
@@ -5775,7 +5775,7 @@ var inputSchema93 = z96.object({
|
|
|
5775
5775
|
var tasksSend = {
|
|
5776
5776
|
name: "tasks.send",
|
|
5777
5777
|
group: "tasks",
|
|
5778
|
-
description: "Send a message to a task",
|
|
5778
|
+
description: "Send a message to a task. Returns the created user message immediately \u2014 the agent processes asynchronously. To get the AI response, poll elnora_tasks_messages until the last message has role 'assistant' with metadata.status 'completed'. Poll every 5-10s, timeout after 5 min.",
|
|
5779
5779
|
stdinField: "message",
|
|
5780
5780
|
inputSchema: inputSchema93,
|
|
5781
5781
|
outputSchema: z96.any(),
|