@moda-ai/cli 1.23.0 → 1.23.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.
|
@@ -177,7 +177,7 @@ async function ensureReplaySet(flags, tenantId, profileOptions) {
|
|
|
177
177
|
if (flags["auto-generate"] === "false" && !existingSetId) {
|
|
178
178
|
throw new Error("Provide --set-id=, --conversations=, or allow --auto-generate (default)");
|
|
179
179
|
}
|
|
180
|
-
const caseCount = parsePositiveInt(flags.cases ?? flags["case-count"], 5,
|
|
180
|
+
const caseCount = parsePositiveInt(flags.cases ?? flags["case-count"], 5, 500);
|
|
181
181
|
const lookbackDays = parsePositiveInt(flags["lookback-days"], 30, 365);
|
|
182
182
|
const name = (flags.name ?? flags["set-name"] ?? `Prompt A/B ${new Date().toISOString().slice(0, 10)}`).trim();
|
|
183
183
|
const generated = await callControlAPI(`/tenants/${encodeURIComponent(tenantId)}/replay-sets/auto-generate`, {
|
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
runPromptsCommand,
|
|
6
6
|
runSkillsCommand,
|
|
7
7
|
runStatusCommand
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-rbftde0m.js";
|
|
9
9
|
import {
|
|
10
10
|
ApiError,
|
|
11
11
|
HARNESS_REPORT_APPROVAL_PATH,
|
|
@@ -4440,7 +4440,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
4440
4440
|
resetApiRequestCountBeforeRun: true,
|
|
4441
4441
|
telemetry: "result",
|
|
4442
4442
|
handler: async (context) => {
|
|
4443
|
-
const { runInit } = await import("./index-
|
|
4443
|
+
const { runInit } = await import("./index-t89mvn32.js");
|
|
4444
4444
|
if (context.outputMode === "agent-stream") {
|
|
4445
4445
|
context.output.writeEvent({
|
|
4446
4446
|
event: "started",
|
package/package.json
CHANGED