@mcpjam/cli 5.8.0 → 5.9.0

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/index.js CHANGED
@@ -9,7 +9,7 @@ import { mkdir, writeFile, readFile, chmod, rename, rm, open, unlink, stat } fro
9
9
  import { spawn } from 'child_process';
10
10
  import { createRequire } from 'module';
11
11
  import os, { homedir, tmpdir } from 'os';
12
- import { RUN_LAUNCH_HEADERS, getRegistryDirectoryServerOperation, listOrganizationsOperation, listProjectsOperation, createProjectOperation, updateProjectOperation, deleteProjectOperation, connectProjectServerOperation, getProjectServerConnectionStatusOperation, cancelProjectServerConnectionOperation, listChatSessionsOperation, resolveProject, sendChatMessageOperation, createTunnelOperation, listEvalSuiteRunsOperation, listEvalSuiteRevisionsOperation, runEvalSuiteOperation, getEvalRunOperation, getEvalRunRouteFactsOperation, getEvalRunServerFactsOperation, proposeEvalDescriptionRewriteOperation, startEvalDescriptionExperimentOperation, getEvalDescriptionExperimentOperation, cancelEvalRunOperation, backtestEvalRunOperation, requestEvalRunJudgeOperation, listEvalRunIterationsOperation, getEvalIterationTraceOperation, getEvalRunStepsOperation, getEvalSuiteOperation, updateEvalSuiteOperation, deleteEvalSuiteOperation, setEvalSuiteScheduleOperation, setEvalSuiteEnvironmentsOperation, listEvalCasesOperation, getEvalCaseOperation, createEvalCaseOperation, updateEvalCaseOperation, deleteEvalCaseOperation, generateEvalCasesOperation, createClientOperation, updateClientOperation, setClientServersOperation, duplicateClientOperation, createEnvironmentOperation, ensureAdhocEnvironmentOperation, nameEnvironmentOperation, updateEnvironmentOperation, createSecretOperation, updateSecretOperation, createImageOperation, validateImageBlueprintOperation, updateImageOperation, listTraceDestinationsOperation, getTraceDestinationOperation, createTraceDestinationOperation, updateTraceDestinationOperation, deleteTraceDestinationOperation, testTraceDestinationOperation, pauseTraceDestinationOperation, resumeTraceDestinationOperation, backfillTraceDestinationOperation, listTraceDestinationBackfillsOperation, runOperationWithPermalinks, withPermalinkEnvelope, PlatformApiError, installRegistryServerOperation, installRegistryDirectoryServerOperation, getProjectServerOperation, DEFAULT_PLATFORM_API_BASE_URL, projectResolutionError, listProjectServersOperation, createProjectServerOperation, updateProjectServerOperation, deleteProjectServerOperation, showServersOperation, driveChatSessionBrowserOperation, observeChatSessionBrowserOperation, isPlatformApiError, createEvalSuiteOperation, listEvalSuitesOperation, buildAppPermalink, listEvalSuiteStageAnalyticsOperation, getEvalRunStageAnalyticsOperation, listEvalGithubReposOperation, connectEvalGithubRepoOperation, resolveEnvironmentOperation, listClientsOperation, getClientOperation, deleteClientOperation, listEnvironmentsOperation, getEnvironmentOperation, getEnvironmentCapabilitiesOperation, archiveEnvironmentOperation, restoreEnvironmentOperation, listSecretsOperation, getSecretOperation, deleteSecretOperation, listImagesOperation, getImageOperation, buildImageOperation, listImageBuildsOperation, useImageOperation, resetComputerOperation, promoteImageOperation, deleteImageOperation, listProjectSkillsOperation, getProjectSkillOperation, listJourneysOperation, listJourneyRunsOperation, getJourneyRunOperation, launchJourneyRunOperation, cancelJourneyRunOperation, listJourneyRunSessionsOperation, listScenariosOperation, getScenarioOperation, publishScenarioOperation, unpublishScenarioOperation, PlatformApiClient, platformBrowserToolPolicySchema, listServerToolsOperation, runEvalCaseOperation, getCapabilitiesOperation, searchSessionsOperation, getChatSessionOperation, getChatSessionTraceOperation, listPersonasOperation, getPersonaOperation, createPersonaOperation, updatePersonaOperation, deletePersonaOperation, generatePersonasOperation, getJourneyOperation, createJourneyOperation, updateJourneyOperation, archiveJourneyOperation, generateJourneysOperation, getSwarmOverviewOperation, getJourneyRunScorecardOperation, listSwarmFindingsOperation, dismissSwarmFindingOperation, undismissSwarmFindingOperation, getWaveInsightsOperation, requestWaveInsightsOperation, cancelWaveInsightsOperation, listSwarmsOperation, getSwarmOperation, createSwarmOperation, updateSwarmOperation, archiveSwarmOperation, getUserTestingScenarioOperation, listUserTestingSessionsOperation, getUserTestingSessionOperation, getUserTestingMetricsOperation, getUserTestingUsageOperation, listUserTestingFindingsOperation, getUserTestingSignalsOperation, getUserTestingInsightsOperation, requestUserTestingInsightsOperation, cancelUserTestingInsightsOperation, dismissUserTestingFindingOperation, undismissUserTestingFindingOperation, updateUserTestingScenarioOperation, setUserTestingGuestExecutionOperation, rotateUserTestingLinkOperation, upsertUserTestingMemberOperation, removeUserTestingMemberOperation, rebindUserTestingScenarioOperation, startClaudeReadinessRunOperation, startOpenAIReadinessRunOperation, getReadinessRunOperation, listReadinessRunsOperation, cancelReadinessRunOperation, getReadinessReportOperation, listRegistryDirectorySourcesOperation, searchRegistryDirectoryOperation, listRegistryServersOperation, listRegistryConnectionsOperation, uninstallRegistryServerOperation } from '@mcpjam/sdk/platform';
12
+ import { RUN_LAUNCH_HEADERS, getRegistryDirectoryServerOperation, listOrganizationsOperation, listProjectsOperation, createProjectOperation, updateProjectOperation, deleteProjectOperation, connectProjectServerOperation, getProjectServerConnectionStatusOperation, cancelProjectServerConnectionOperation, listChatSessionsOperation, resolveProject, sendChatMessageOperation, createTunnelOperation, listEvalSuiteRunsOperation, listEvalSuiteRevisionsOperation, runEvalSuiteOperation, getEvalRunOperation, getEvalRunRouteFactsOperation, getEvalRunServerFactsOperation, proposeEvalDescriptionRewriteOperation, startEvalDescriptionExperimentOperation, getEvalDescriptionExperimentOperation, cancelEvalRunOperation, backtestEvalRunJudgeOperation, backtestEvalRunOperation, requestEvalRunJudgeOperation, listEvalRunIterationsOperation, getEvalIterationTraceOperation, getEvalRunStepsOperation, getEvalSuiteOperation, updateEvalSuiteOperation, deleteEvalSuiteOperation, setEvalSuiteScheduleOperation, setEvalSuiteEnvironmentsOperation, listEvalCasesOperation, getEvalCaseOperation, createEvalCaseOperation, updateEvalCaseOperation, deleteEvalCaseOperation, generateEvalCasesOperation, createClientOperation, updateClientOperation, setClientServersOperation, duplicateClientOperation, createEnvironmentOperation, ensureAdhocEnvironmentOperation, nameEnvironmentOperation, updateEnvironmentOperation, createSecretOperation, updateSecretOperation, createImageOperation, validateImageBlueprintOperation, updateImageOperation, listTraceDestinationsOperation, getTraceDestinationOperation, createTraceDestinationOperation, updateTraceDestinationOperation, deleteTraceDestinationOperation, testTraceDestinationOperation, pauseTraceDestinationOperation, resumeTraceDestinationOperation, backfillTraceDestinationOperation, listTraceDestinationBackfillsOperation, runOperationWithPermalinks, withPermalinkEnvelope, PlatformApiError, installRegistryServerOperation, installRegistryDirectoryServerOperation, getProjectServerOperation, DEFAULT_PLATFORM_API_BASE_URL, projectResolutionError, listProjectServersOperation, createProjectServerOperation, updateProjectServerOperation, deleteProjectServerOperation, showServersOperation, driveChatSessionBrowserOperation, observeChatSessionBrowserOperation, isPlatformApiError, createEvalSuiteOperation, listEvalSuitesOperation, buildAppPermalink, listEvalSuiteStageAnalyticsOperation, getEvalRunStageAnalyticsOperation, listEvalGithubReposOperation, connectEvalGithubRepoOperation, resolveEnvironmentOperation, listClientsOperation, getClientOperation, deleteClientOperation, listEnvironmentsOperation, getEnvironmentOperation, getEnvironmentCapabilitiesOperation, archiveEnvironmentOperation, restoreEnvironmentOperation, listSecretsOperation, getSecretOperation, deleteSecretOperation, listImagesOperation, getImageOperation, buildImageOperation, listImageBuildsOperation, useImageOperation, resetComputerOperation, promoteImageOperation, deleteImageOperation, listProjectSkillsOperation, getProjectSkillOperation, listJourneysOperation, listJourneyRunsOperation, getJourneyRunOperation, launchJourneyRunOperation, cancelJourneyRunOperation, listJourneyRunSessionsOperation, listScenariosOperation, getScenarioOperation, publishScenarioOperation, unpublishScenarioOperation, PlatformApiClient, platformBrowserToolPolicySchema, listServerToolsOperation, runEvalCaseOperation, getCapabilitiesOperation, searchSessionsOperation, getChatSessionOperation, getChatSessionTraceOperation, listPersonasOperation, getPersonaOperation, createPersonaOperation, updatePersonaOperation, deletePersonaOperation, generatePersonasOperation, getJourneyOperation, createJourneyOperation, updateJourneyOperation, archiveJourneyOperation, generateJourneysOperation, getSwarmOverviewOperation, getJourneyRunScorecardOperation, listSwarmFindingsOperation, dismissSwarmFindingOperation, undismissSwarmFindingOperation, getWaveInsightsOperation, requestWaveInsightsOperation, cancelWaveInsightsOperation, listSwarmsOperation, getSwarmOperation, createSwarmOperation, updateSwarmOperation, archiveSwarmOperation, getUserTestingScenarioOperation, listUserTestingSessionsOperation, getUserTestingSessionOperation, getUserTestingMetricsOperation, getUserTestingUsageOperation, listUserTestingFindingsOperation, getUserTestingSignalsOperation, getUserTestingInsightsOperation, requestUserTestingInsightsOperation, cancelUserTestingInsightsOperation, dismissUserTestingFindingOperation, undismissUserTestingFindingOperation, updateUserTestingScenarioOperation, setUserTestingGuestExecutionOperation, rotateUserTestingLinkOperation, upsertUserTestingMemberOperation, removeUserTestingMemberOperation, rebindUserTestingScenarioOperation, startClaudeReadinessRunOperation, startOpenAIReadinessRunOperation, getReadinessRunOperation, listReadinessRunsOperation, cancelReadinessRunOperation, getReadinessReportOperation, listRegistryDirectorySourcesOperation, searchRegistryDirectoryOperation, listRegistryServersOperation, listRegistryConnectionsOperation, uninstallRegistryServerOperation } from '@mcpjam/sdk/platform';
13
13
  import { isDeepStrictEqual } from 'util';
14
14
  import { composeSuiteGateWithBaseReport, EVAL_SUITE_SCHEMA_VERSION, EVAL_SUITE_SCHEMA_VERSIONS, MAX_BATCH_CREATE_CASES, filterSuppressedSuiteAssertions, evalSuiteFileSchema, MAX_IMPORT_NOTE_CHARS, isOpaqueId } from '@mcpjam/sdk/contract';
15
15
  import { HOST_TEMPLATES, HOST_TEMPLATE_IDS, seedHostTemplate } from '@mcpjam/sdk/host-config/templates';
@@ -28,7 +28,7 @@ import { PostHog } from 'posthog-node';
28
28
 
29
29
  // package.json
30
30
  var package_default = {
31
- version: "5.8.0"};
31
+ version: "5.9.0"};
32
32
  function conformanceExitCode(result) {
33
33
  if (result.outcome === "incomplete") return 3;
34
34
  if (result.outcome === "failed") return 1;
@@ -5912,14 +5912,6 @@ function suiteLevelFindings(detail, cases, environment) {
5912
5912
  )
5913
5913
  );
5914
5914
  }
5915
- if (settings.judge?.autoRun === true) {
5916
- findings.push(
5917
- unsupported(
5918
- ["settings", "judge"],
5919
- "suite automatically runs LLM-as-judge grading, and a suite file has no judge vocabulary. Exporting it would produce a file that grades with deterministic assertions alone."
5920
- )
5921
- );
5922
- }
5923
5915
  return findings;
5924
5916
  }
5925
5917
  function caseLevelFindings(evalCase, index, suiteChecks) {
@@ -6122,6 +6114,17 @@ function buildSuiteFileFromPlatform(input, options = {}) {
6122
6114
  } : {}
6123
6115
  },
6124
6116
  defaults: {
6117
+ ...detail.settings.judge ? {
6118
+ judge: {
6119
+ enabled: detail.settings.judge.enabled,
6120
+ ...detail.settings.judge.model != null ? { model: detail.settings.judge.model } : {},
6121
+ ...detail.settings.judge.autoRun !== void 0 ? { autoRun: detail.settings.judge.autoRun } : {},
6122
+ ...detail.settings.judge.threshold !== void 0 ? { threshold: detail.settings.judge.threshold } : {},
6123
+ ...detail.settings.judge.role !== void 0 ? { role: detail.settings.judge.role } : {},
6124
+ ...detail.settings.judge.severity !== void 0 ? { severity: detail.settings.judge.severity } : {},
6125
+ ...detail.settings.judge.rubric !== void 0 ? { rubric: detail.settings.judge.rubric } : {}
6126
+ }
6127
+ } : {},
6125
6128
  model: suiteModel,
6126
6129
  ...hoistedProvider === void 0 ? {} : { provider: hoistedProvider },
6127
6130
  ...executionConfig.systemPrompt === void 0 ? {} : { systemPrompt: executionConfig.systemPrompt },
@@ -6144,6 +6147,7 @@ function buildSuiteFileFromPlatform(input, options = {}) {
6144
6147
  // import status for it would assert a faithfulness claim about a mapping
6145
6148
  // that never happened.
6146
6149
  cases: cases.map((evalCase, index) => ({
6150
+ ...evalCase.judge !== void 0 ? { judge: evalCase.judge } : {},
6147
6151
  id: caseIds[index],
6148
6152
  title: evalCase.title,
6149
6153
  ...evalCase.intent === void 0 ? {} : { intent: evalCase.intent },
@@ -6294,12 +6298,15 @@ function caseCountAndRules(vocabulary, testCase, mode) {
6294
6298
  }
6295
6299
  function fileCaseToCreateBody(testCase, vocabulary = 1) {
6296
6300
  return {
6301
+ ...testCase.judge === void 0 ? {} : { judge: testCase.judge },
6297
6302
  id: testCase.id,
6298
6303
  title: testCase.title,
6299
6304
  ...testCase.intent !== void 0 ? { intent: testCase.intent } : {},
6300
6305
  ...testCase.kind !== void 0 ? { kind: testCase.kind } : {},
6301
6306
  steps: testCase.steps,
6302
- ...testCase.suppressedSuiteStandardCheckIds !== void 0 ? { suppressedSuiteStandardCheckIds: testCase.suppressedSuiteStandardCheckIds } : {},
6307
+ ...testCase.suppressedSuiteStandardCheckIds !== void 0 ? {
6308
+ suppressedSuiteStandardCheckIds: testCase.suppressedSuiteStandardCheckIds
6309
+ } : {},
6303
6310
  ...caseCountAndRules(vocabulary, testCase, "create"),
6304
6311
  passThreshold: testCase.passThreshold,
6305
6312
  ...testCase.expectedOutput !== void 0 ? { expectedOutput: testCase.expectedOutput } : {},
@@ -6315,13 +6322,16 @@ function fileCaseToCreateBody(testCase, vocabulary = 1) {
6315
6322
  }
6316
6323
  function fileCaseToUpdateBody(testCase, previousSuppression, vocabulary = 1) {
6317
6324
  return {
6325
+ judge: testCase.judge ?? null,
6318
6326
  title: testCase.title,
6319
6327
  // A file re-sync is authoritative: unlike an ordinary PATCH, a missing
6320
6328
  // label must clear the old one rather than preserve stale attribution.
6321
6329
  intent: testCase.intent ?? null,
6322
6330
  kind: testCase.kind ?? null,
6323
6331
  steps: testCase.steps,
6324
- ...testCase.suppressedSuiteStandardCheckIds !== void 0 || previousSuppression?.length ? { suppressedSuiteStandardCheckIds: testCase.suppressedSuiteStandardCheckIds ?? [] } : {},
6332
+ ...testCase.suppressedSuiteStandardCheckIds !== void 0 || previousSuppression?.length ? {
6333
+ suppressedSuiteStandardCheckIds: testCase.suppressedSuiteStandardCheckIds ?? []
6334
+ } : {},
6325
6335
  ...caseCountAndRules(vocabulary, testCase, "update"),
6326
6336
  passThreshold: testCase.passThreshold,
6327
6337
  expectedOutput: testCase.expectedOutput ?? "",
@@ -6847,6 +6857,7 @@ async function executeEvalRunFromFile(context, params) {
6847
6857
  {
6848
6858
  projectId: project.id,
6849
6859
  body: {
6860
+ judge: authored.defaults.judge ?? null,
6850
6861
  declaredSuiteId: authored.suite.id,
6851
6862
  name: authored.suite.name,
6852
6863
  ...authored.suite.description !== void 0 ? { description: authored.suite.description } : {},
@@ -10480,7 +10491,7 @@ function registerEvalCommands(program) {
10480
10491
  );
10481
10492
  addProjectOption(
10482
10493
  descriptionExperiment.command("propose").description(
10483
- "Draft a rewritten tool description from a finished run's failed trials. Spends a small model budget; poll `description-experiment get` rather than re-proposing."
10494
+ "Draft a rewritten tool description from a finished run's failed trials. Included with MCPJam \u2014 no credits are consumed; poll `description-experiment get` rather than re-proposing."
10484
10495
  ).requiredOption("--run <id>", "Source eval run ID").requiredOption("--tool <name>", "Catalog tool name to rewrite").option("--case <id...>", "Limit evidence to these case ids")
10485
10496
  ).action(
10486
10497
  async (options, command) => {
@@ -10582,6 +10593,27 @@ function registerEvalCommands(program) {
10582
10593
  );
10583
10594
  }
10584
10595
  );
10596
+ addProjectOption(
10597
+ evals.command("judge-backtest").description(
10598
+ "Preview draft grading instructions on recorded evidence (uses credits)"
10599
+ ).requiredOption("--run <id>", "Terminal eval run ID").requiredOption(
10600
+ "--json <request>",
10601
+ "JSON or @file with rubric and optional continuation"
10602
+ )
10603
+ ).action(
10604
+ async (options, command) => {
10605
+ const body = new JsonInputContext().parseJsonInputRecord(
10606
+ options.json,
10607
+ "--json"
10608
+ );
10609
+ const input = validateOpInput(
10610
+ backtestEvalRunJudgeOperation,
10611
+ { ...body, runId: options.run, project: options.project },
10612
+ { projectOptional: true }
10613
+ );
10614
+ await executeOp(backtestEvalRunJudgeOperation, input, options, command);
10615
+ }
10616
+ );
10585
10617
  addProjectOption(
10586
10618
  evals.command("backtest").description(
10587
10619
  "Preview assertion changes on stored evidence without changing results"
@@ -10620,7 +10652,7 @@ function registerEvalCommands(program) {
10620
10652
  evals.command("judge").description(
10621
10653
  "Grade a finished eval run with LLM as Judge (SPENDS your model budget)"
10622
10654
  ).requiredOption("--run <id>", "Eval run ID (from `eval run`)")
10623
- ).option("--force", "Re-grade a run that already has a judge result").option(
10655
+ ).option("--scope <all|failed>", "Regrade all or retry only failed grading").option("--force", "Re-grade a run that already has a judge result").option(
10624
10656
  "--enable",
10625
10657
  "Grade this run even though the judge was off when it ran"
10626
10658
  ).option("--judge-model <id>", "Judge model for this run only").option("--judge-threshold <0-1>", "Pass threshold for this run only").action(
@@ -10630,6 +10662,10 @@ function registerEvalCommands(program) {
10630
10662
  requestEvalRunJudgeOperation,
10631
10663
  {
10632
10664
  runId: options.run,
10665
+ // Preserved when explicitly supplied, even empty: dropping an
10666
+ // empty value would silently grade everything when the person
10667
+ // asked for something and mistyped it.
10668
+ ...options.scope !== void 0 ? { scope: options.scope } : {},
10633
10669
  ...options.project === void 0 ? {} : { project: options.project },
10634
10670
  ...options.force ? { force: true } : {},
10635
10671
  ...options.enable ? { enable: true } : {},
@@ -11464,7 +11500,7 @@ ${summary}
11464
11500
  }
11465
11501
  );
11466
11502
  cases.command("generate").description(
11467
- "AI-generate test cases from the suite's tools (spends credits)"
11503
+ "AI-generate test cases from the suite's tools (included with MCPJam; counts against the daily generation quota)"
11468
11504
  ).requiredOption("--suite <id-or-name>", "Eval suite name or ID").option("--project <id-or-name>", PROJECT_OPT).option("--mode <normal|negative>", "Generation mode (default normal)").option(
11469
11505
  "--server <id-or-name...>",
11470
11506
  "Servers to discover tools from (default: suite's)"
@@ -13745,7 +13781,7 @@ function registerSwarmAuthoringCommands(program, journeys) {
13745
13781
  addGroundingOptions(
13746
13782
  addProjectOption(
13747
13783
  personas.command("generate").description(
13748
- "Draft candidate personas with a model, grounded in what the project's servers do. SAVES NOTHING \u2014 pipe what you want into `personas create`. Spends."
13784
+ "Draft candidate personas with a model, grounded in what the project's servers do. SAVES NOTHING \u2014 pipe what you want into `personas create`. Included with MCPJam; counts against the daily generation quota."
13749
13785
  ).option("--persona-count <n>", "Draft a slate of N personas.")
13750
13786
  )
13751
13787
  ),
@@ -13878,7 +13914,7 @@ function registerSwarmAuthoringCommands(program, journeys) {
13878
13914
  addGroundingOptions(
13879
13915
  addProjectOption(
13880
13916
  journeys.command("generate").description(
13881
- "Draft candidate journeys for a persona with a model. The persona is passed BY VALUE and does not have to exist yet, because the create flow drafts both before saving either. SAVES NOTHING; spends."
13917
+ "Draft candidate journeys for a persona with a model. The persona is passed BY VALUE and does not have to exist yet, because the create flow drafts both before saving either. SAVES NOTHING; included with MCPJam and counts against the daily generation quota."
13882
13918
  ).requiredOption("--persona-name <name>").requiredOption("--persona-role <role>").option("--persona-notes <text>")
13883
13919
  )
13884
13920
  ),
@@ -13960,10 +13996,10 @@ function registerSwarmAuthoringCommands(program, journeys) {
13960
13996
  bindOperation(
13961
13997
  addProjectOption(
13962
13998
  journeys.command("request-insights").description(
13963
- "Ask a model to analyze a whole wave. Returns immediately as pending; poll `journeys insights`. SPENDS against a daily budget shared with user-testing insights. Read the scorecards first \u2014 they are free and usually explain the failure."
13999
+ "Ask a model to analyze a whole wave. Returns immediately as pending; poll `journeys insights`. Included with MCPJam \u2014 no credits are consumed; it counts against a daily insight quota shared with user-testing insights. Read the scorecards first \u2014 they cost no quota and usually explain the failure."
13964
14000
  ).requiredOption("--wave <id>", "Wave ID").option(
13965
14001
  "--force",
13966
- "Regenerate over a wave that already has insights. Spends again."
14002
+ "Regenerate over a wave that already has insights. Takes another slice of the daily insight quota."
13967
14003
  )
13968
14004
  ),
13969
14005
  requestWaveInsightsOperation,
@@ -13976,7 +14012,7 @@ function registerSwarmAuthoringCommands(program, journeys) {
13976
14012
  bindOperation(
13977
14013
  addProjectOption(
13978
14014
  journeys.command("cancel-insights").description(
13979
- "Stop an in-flight insights generation. The recovery path for a wave stuck pending \u2014 without it the only way forward is --force, which spends again."
14015
+ "Stop an in-flight insights generation. The recovery path for a wave stuck pending \u2014 without it the only way forward is --force, which takes another slice of the daily insight quota."
13980
14016
  ).requiredOption("--wave <id>", "Wave ID")
13981
14017
  ),
13982
14018
  cancelWaveInsightsOperation,
@@ -15657,7 +15693,7 @@ function registerUserTestingCommands(program) {
15657
15693
  scenarioCommand(
15658
15694
  group,
15659
15695
  "request-insights",
15660
- "Ask a model to analyze the current window. Returns pending; poll `insights`. SPENDS against a daily budget shared with swarm insights. A 409 means the window has not been mined yet \u2014 wait rather than retrying in a loop."
15696
+ "Ask a model to analyze the current window. Returns pending; poll `insights`. Included with MCPJam \u2014 no credits are consumed; it counts against a daily insight quota shared with swarm insights. A 409 means the window has not been mined yet \u2014 wait rather than retrying in a loop."
15661
15697
  ).option("--force", "Regenerate over a window that already has insights."),
15662
15698
  requestUserTestingInsightsOperation,
15663
15699
  (options) => ({
@@ -15670,7 +15706,7 @@ function registerUserTestingCommands(program) {
15670
15706
  scenarioCommand(
15671
15707
  group,
15672
15708
  "cancel-insights",
15673
- "Stop an in-flight generation. The recovery path for a window stuck pending \u2014 without it the only way forward is --force, which spends again."
15709
+ "Stop an in-flight generation. The recovery path for a window stuck pending \u2014 without it the only way forward is --force, which takes another slice of the daily insight quota."
15674
15710
  ).requiredOption("--window <id>", "Window ID"),
15675
15711
  cancelUserTestingInsightsOperation,
15676
15712
  (options) => ({