@mcpjam/cli 6.4.4 → 6.4.5
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 +63 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Command, CommanderError, Option } from 'commander';
|
|
3
3
|
import { realpathSync, readFileSync, existsSync, mkdirSync, writeFileSync, statSync, chmodSync, unlinkSync, renameSync } from 'fs';
|
|
4
4
|
import { pathToFileURL } from 'url';
|
|
5
|
-
import { MODEL_REASONING_EFFORTS, MCP_CHECK_IDS, MCP_APPS_CHECK_IDS, MCP_TASKS_CHECK_IDS, RETIRED_MCP_CHECK_IDS, RENAMED_MCP_TASKS_CHECK_IDS, loadEvalSuiteFile, createSuiteFileRunner, runSuiteFile, SuiteFileRunError, formatLocalEvalRunSummary, renderStructuredRunJson, probeMcpServer, redactForTelemetry, runServerDoctor, collectServerSnapshot, serializeStableServerSnapshot, serializeServerSnapshot, buildServerDiffReport, classifyMcpHeader, validateToolCallResult, isCallToolResultError, buildToolCallValidationReport, listResources, readResource, listServerSkillCatalog, getVerifiedServerSkill, isServerSkillRefusalError, readVerifiedServerSkillFile, SubscriptionCoordinator, listTools, listPrompts, getPrompt, MCPAppsConformanceTest, scoreFromAppsResult, MCPAppsConformanceSuite, MCPTasksConformanceTest, scoreFromTasksResult, runOAuthLogin, OAuthConformanceTest, scoreFromOAuthResult, OAuthConformanceSuite, runXaaFlow, MCPConformanceTest, scoreFromProtocolResult, MCPConformanceSuite, runConformance, OPENAI_SUBMISSION_MODES, renderStructuredRunJUnitXml, renderStructuredRunHtml, withEphemeralClient, diffServerSnapshots, ServerSnapshotFormatError, parseToolResultAuthChallenge, DEFAULT_SUBSCRIPTION_RECONNECT_POLICY, isKnownProtocolVersion, describeConformanceScore, toConformanceReport, buildConformanceRunReport, MCP_TASKS_READINESS_IDS, renderConformanceReportJUnitXml, renderConformanceReportJson, formatOAuthConformanceHuman, formatOAuthConformanceSuiteHuman, fetchOAuthMetadata, executeOAuthProxy, executeDebugOAuthProxy, normalizeRegistrationStrategy, normalizeXaaClientAuth, normalizeIdentityAssertionFormat, IDENTITY_ASSERTION_FORMATS, XAA_CONFIDENTIAL_CIMD_ORIGIN, getLocalConfidentialCimdProvider, MCP_LOG_LEVELS, MCP_PROTOCOL_VERSIONS, isConformanceReportingConfigured, reportConformanceRun, reportConformanceRunSafely, DIRECTORY_FEATURE_CLAIMS, gatherClaudeReadinessEvidence, gradeClaudeReadiness, gatherOpenAIReadinessEvidence, xmldomParseXml, gradeOpenAIReadiness, gatherMuseReadinessEvidence, gradeMuseReadiness, openUrlInBrowser, buildEvalRunReport, GATE_WAIVER_MAX_REASON_LENGTH, GATE_WAIVER_REASON_NOTICE, MCPClientManager, withSkillsExtensionCapability, extractAuthChallenge, isUnauthorized401, detectCiMetadata, MCP_SKILLS_EXTENSION_ID, decodeMcpHeaderValue, canDeclareTasksExtension, createStrictElicitationContentValidator, MCP_APPS_CHECK_CATEGORIES, MCP_TASKS_CHECK_CATEGORIES, validateTaskOverrides, EVENTS_CHECK_IDS, MCP_OAUTH_READINESS_IDS, OAuthProxyError, isLoopbackHost, MCP_READINESS_IDS, LAZY_AUTH_PROBE_LIMITS, OPENAI_SUBMISSION_MODE_SHAPES, createDirectoryPluginFileSource, collectZipArchiveObservations, createZipPluginFileSource, DIRECTORY_SNAPSHOT_LABELS, DIRECTORY_TOOL_TEST_STATUSES, generateRandomString, generateCodeChallenge, createInteractiveAuthorizationSession, declareEvalSuiteFileValidity, aiRefusalClass, formatEvalRunDecisionSummary, gateOutcomeVerdict, applyGateWaiver, formatGateReport, formatGateWaiverLine, detectFlakyCases, evaluateCompareGates, buildRunCompareReport, formatSuiteFileFindings, serializeEvalSuiteFile, MAX_SUITE_FILE_BYTES, buildCorpus, HostedOnlyCaseError, verifyCorpusLock, TaskLifecycleEngine, driveTaskToTerminal, extensionTaskToObservation, legacyTaskToObservation, startEventsConformanceReceiver, runEventsConformance, MCP_CHECK_CATEGORIES, recognizedAiRefusalCode, readEvalRunDecisionSummary as readEvalRunDecisionSummary$1, buildEvalRunDecisionSummary, evaluateGates, gateInputFromPlatformRun, isGateWaiverInForce, calculateLatencyStats, CORPUS_LOCK_VERSION, suiteFilePointer, passRateFractionFromPercent, DEFAULT_MIN_EFFECT_SIZE, DEFAULT_MIN_SAMPLE_SIZE, planPlatformSuiteGradingUpdate, isUnknownTaskError, isMCPTasksWireError, LEGACY_TASK_STATUSES, isMCPEventsWireError, classifyEventsRpcError } from '@mcpjam/sdk';
|
|
5
|
+
import { MODEL_REASONING_EFFORTS, MCP_CHECK_IDS, MCP_APPS_CHECK_IDS, MCP_TASKS_CHECK_IDS, RETIRED_MCP_CHECK_IDS, REMOVED_MCP_CHECK_IDS, RENAMED_MCP_TASKS_CHECK_IDS, REMOVED_MCP_TASKS_CHECK_IDS, loadEvalSuiteFile, createSuiteFileRunner, runSuiteFile, SuiteFileRunError, formatLocalEvalRunSummary, renderStructuredRunJson, probeMcpServer, redactForTelemetry, runServerDoctor, collectServerSnapshot, serializeStableServerSnapshot, serializeServerSnapshot, buildServerDiffReport, classifyMcpHeader, validateToolCallResult, isCallToolResultError, buildToolCallValidationReport, listResources, readResource, listServerSkillCatalog, getVerifiedServerSkill, isServerSkillRefusalError, readVerifiedServerSkillFile, SubscriptionCoordinator, listTools, listPrompts, getPrompt, MCPAppsConformanceTest, scoreFromAppsResult, MCPAppsConformanceSuite, MCPTasksConformanceTest, scoreFromTasksResult, runOAuthLogin, OAuthConformanceTest, scoreFromOAuthResult, OAuthConformanceSuite, runXaaFlow, MCPConformanceTest, scoreFromProtocolResult, MCPConformanceSuite, runConformance, OPENAI_SUBMISSION_MODES, renderStructuredRunJUnitXml, renderStructuredRunHtml, withEphemeralClient, diffServerSnapshots, ServerSnapshotFormatError, parseToolResultAuthChallenge, DEFAULT_SUBSCRIPTION_RECONNECT_POLICY, isKnownProtocolVersion, describeConformanceScore, toConformanceReport, buildConformanceRunReport, MCP_TASKS_READINESS_IDS, renderConformanceReportJUnitXml, renderConformanceReportJson, formatOAuthConformanceHuman, formatOAuthConformanceSuiteHuman, fetchOAuthMetadata, executeOAuthProxy, executeDebugOAuthProxy, normalizeRegistrationStrategy, normalizeXaaClientAuth, normalizeIdentityAssertionFormat, IDENTITY_ASSERTION_FORMATS, XAA_CONFIDENTIAL_CIMD_ORIGIN, getLocalConfidentialCimdProvider, MCP_LOG_LEVELS, MCP_PROTOCOL_VERSIONS, isConformanceReportingConfigured, reportConformanceRun, reportConformanceRunSafely, DIRECTORY_FEATURE_CLAIMS, gatherClaudeReadinessEvidence, gradeClaudeReadiness, gatherOpenAIReadinessEvidence, xmldomParseXml, gradeOpenAIReadiness, gatherMuseReadinessEvidence, gradeMuseReadiness, openUrlInBrowser, buildEvalRunReport, GATE_WAIVER_MAX_REASON_LENGTH, GATE_WAIVER_REASON_NOTICE, MCPClientManager, withSkillsExtensionCapability, extractAuthChallenge, isUnauthorized401, detectCiMetadata, MCP_SKILLS_EXTENSION_ID, decodeMcpHeaderValue, canDeclareTasksExtension, createStrictElicitationContentValidator, MCP_APPS_CHECK_CATEGORIES, MCP_TASKS_CHECK_CATEGORIES, REMOVED_MCP_TASKS_CHECK_CATEGORIES, validateTaskOverrides, EVENTS_CHECK_IDS, MCP_OAUTH_READINESS_IDS, OAuthProxyError, isLoopbackHost, MCP_READINESS_IDS, LAZY_AUTH_PROBE_LIMITS, OPENAI_SUBMISSION_MODE_SHAPES, createDirectoryPluginFileSource, collectZipArchiveObservations, createZipPluginFileSource, DIRECTORY_SNAPSHOT_LABELS, DIRECTORY_TOOL_TEST_STATUSES, generateRandomString, generateCodeChallenge, createInteractiveAuthorizationSession, declareEvalSuiteFileValidity, aiRefusalClass, formatEvalRunDecisionSummary, gateOutcomeVerdict, applyGateWaiver, formatGateReport, formatGateWaiverLine, detectFlakyCases, evaluateCompareGates, buildRunCompareReport, formatSuiteFileFindings, serializeEvalSuiteFile, MAX_SUITE_FILE_BYTES, buildCorpus, HostedOnlyCaseError, verifyCorpusLock, TaskLifecycleEngine, driveTaskToTerminal, extensionTaskToObservation, legacyTaskToObservation, startEventsConformanceReceiver, runEventsConformance, MCP_CHECK_CATEGORIES, recognizedAiRefusalCode, readEvalRunDecisionSummary as readEvalRunDecisionSummary$1, buildEvalRunDecisionSummary, evaluateGates, gateInputFromPlatformRun, isGateWaiverInForce, calculateLatencyStats, CORPUS_LOCK_VERSION, suiteFilePointer, passRateFractionFromPercent, DEFAULT_MIN_EFFECT_SIZE, DEFAULT_MIN_SAMPLE_SIZE, planPlatformSuiteGradingUpdate, isUnknownTaskError, isMCPTasksWireError, LEGACY_TASK_STATUSES, isMCPEventsWireError, classifyEventsRpcError } from '@mcpjam/sdk';
|
|
6
6
|
import { isMcpjamDeploymentError, deploymentPolicy, resolveDeployment, MCPJAM_CLOUD_API_URL, backendFetch, trimTrailingSlashes } from '@mcpjam/sdk/internal/deployment';
|
|
7
7
|
import { RUN_LAUNCH_HEADERS, getRegistryDirectoryServerOperation, isPlatformApiError, resolveProject, listOrganizationsOperation, listProjectsOperation, createProjectOperation, updateProjectOperation, deleteProjectOperation, connectProjectServerOperation, getProjectServerConnectionStatusOperation, cancelProjectServerConnectionOperation, listChatSessionsOperation, 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, importEvalCasesOperation, 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, PlatformApiClient, startDirectorySubmissionRunOperation, getDirectorySubmissionResultsOperation, updateDirectorySubmissionOperation, getDirectorySubmissionFindingOperation, listDirectorySubmissionEventsOperation, getDirectorySubmissionTestPlanOperation, draftDirectorySubmissionTestPlanOperation, saveDirectorySubmissionTestPlanOperation, getDirectorySubmissionToolTestsOperation, getDirectorySubmissionEvalsOperation, setDirectorySubmissionEvalsOperation, importDirectorySubmissionTestCasesOperation, exportDirectorySubmissionTestCasesOperation, projectResolutionError, listProjectServersOperation, createProjectServerOperation, listServerRevisionsOperation, getServerRevisionOperation, diffServerRevisionsOperation, updateProjectServerOperation, deleteProjectServerOperation, showServersOperation, driveChatSessionBrowserOperation, observeChatSessionBrowserOperation, describePlatformRefusal, platformRefusalHint, createEvalSuiteOperation, listEvalSuitesOperation, buildAppPermalink, listEvalSuiteStageAnalyticsOperation, getEvalRunStageAnalyticsOperation, listEvalGithubReposOperation, connectEvalGithubRepoOperation, resolveEnvironmentOperation, requestEvalRunInsightsOperation, cancelEvalRunInsightsOperation, buildEvalRunFindingsOperation, listClientsOperation, getClientOperation, deleteClientOperation, listEnvironmentsOperation, getEnvironmentOperation, getEnvironmentCapabilitiesOperation, archiveEnvironmentOperation, restoreEnvironmentOperation, listSecretsOperation, getSecretOperation, deleteSecretOperation, listImagesOperation, getImageOperation, buildImageOperation, listImageBuildsOperation, useImageOperation, resetComputerOperation, promoteImageOperation, deleteImageOperation, listProjectSkillsOperation, getProjectSkillOperation, listGoalsOperation, listGoalRunsOperation, getGoalRunOperation, launchGoalRunOperation, cancelGoalRunOperation, listGoalRunSessionsOperation, getDirectorySubmissionOperation, directorySubmissionConflict, getDirectorySubmissionHandoffOperation, listDirectorySubmissionFindingsOperation, exportDirectorySubmissionOperation, directoryTestPlanSchema, platformBrowserToolPolicySchema, listServerToolsOperation, runEvalCaseOperation, sendFeedbackOperation, startConformanceRunOperation, listConformanceRunsOperation, getConformanceRunOperation, getConformanceReportOperation, getConformanceCheckOperation, getCapabilitiesOperation, getStudyOperation, listStudySessionsOperation, getStudySessionOperation, getStudyMetricsOperation, getStudyUsageOperation, listStudyFindingsOperation, getStudySignalsOperation, getStudyInsightsOperation, requestStudyInsightsOperation, cancelStudyInsightsOperation, dismissStudyFindingOperation, undismissStudyFindingOperation, updateStudyOperation, setStudyGuestExecutionOperation, rotateStudyLinkOperation, upsertStudyMemberOperation, removeStudyMemberOperation, rebindStudyOperation, listStudiesOperation, publishStudyOperation, unpublishStudyOperation, listServerAccountsOperation, getServerAccountOperation, uploadServerAccountTokensOperation, updateServerAccountOperation, deleteServerAccountOperation, searchSessionsOperation, getChatSessionOperation, getChatSessionTraceOperation, listPersonasOperation, getPersonaOperation, createPersonaOperation, updatePersonaOperation, deletePersonaOperation, generatePersonasOperation, getGoalOperation, createGoalOperation, updateGoalOperation, archiveGoalOperation, generateGoalsOperation, getSwarmOverviewOperation, getGoalRunScorecardOperation, listSwarmFindingsOperation, dismissSwarmFindingOperation, undismissSwarmFindingOperation, getSwarmRunInsightsOperation, requestSwarmRunInsightsOperation, cancelSwarmRunInsightsOperation, listSwarmsOperation, getSwarmOperation, createSwarmOperation, updateSwarmOperation, archiveSwarmOperation, recordDirectorySubmissionStatusOperation, recordDirectorySubmissionSnapshotOperation, importDirectoryFindingOperation, getDirectoryFlowOperation, listDirectoryFlowsOperation, createDirectorySubmissionOperation, listDirectorySubmissionsOperation, deleteDirectorySubmissionOperation, createReviewerAttemptOperation, getReviewerAttemptOperation, listReviewerAttemptsOperation, resumeReviewerAttemptOperation, createReviewerHandoffOperation, cancelReviewerAttemptOperation, startClaudeReadinessRunOperation, startOpenAIReadinessRunOperation, startMuseReadinessRunOperation, getReadinessRunOperation, listReadinessRunsOperation, cancelReadinessRunOperation, resumeReadinessRunOperation, getReadinessReportOperation, listRegistryDirectorySourcesOperation, searchRegistryDirectoryOperation, listRegistryServersOperation, listRegistryConnectionsOperation, uninstallRegistryServerOperation } from '@mcpjam/sdk/platform';
|
|
8
8
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
@@ -35,7 +35,7 @@ import { selectPluginMcpServerMap, detectPluginMcpTransport } from '@mcpjam/sdk/
|
|
|
35
35
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
|
-
version: "6.4.
|
|
38
|
+
version: "6.4.5"};
|
|
39
39
|
|
|
40
40
|
// src/lib/command-outcome.ts
|
|
41
41
|
var UNKNOWN_COMMAND = "(unknown)";
|
|
@@ -19505,7 +19505,8 @@ function buildProtocolRunConfig(options) {
|
|
|
19505
19505
|
const checkIds = options.checkId?.filter(Boolean);
|
|
19506
19506
|
const invalidCheckIds = collectInvalidEntries2(checkIds, [
|
|
19507
19507
|
...MCP_CHECK_IDS,
|
|
19508
|
-
...Object.keys(RETIRED_MCP_CHECK_IDS)
|
|
19508
|
+
...Object.keys(RETIRED_MCP_CHECK_IDS),
|
|
19509
|
+
...Object.keys(REMOVED_MCP_CHECK_IDS)
|
|
19509
19510
|
]);
|
|
19510
19511
|
if (invalidCheckIds.length > 0) {
|
|
19511
19512
|
throw usageError(
|
|
@@ -19516,6 +19517,21 @@ function buildProtocolRunConfig(options) {
|
|
|
19516
19517
|
if (Object.hasOwn(RETIRED_MCP_CHECK_IDS, id)) {
|
|
19517
19518
|
process.stderr.write(
|
|
19518
19519
|
`Note: check ${id} is now the ${RETIRED_MCP_CHECK_IDS[id]} advice. Running that instead.
|
|
19520
|
+
`
|
|
19521
|
+
);
|
|
19522
|
+
}
|
|
19523
|
+
}
|
|
19524
|
+
const removedOnly = checkIds !== void 0 && checkIds.length > 0 && checkIds.every((id) => Object.hasOwn(REMOVED_MCP_CHECK_IDS, id));
|
|
19525
|
+
if (removedOnly) {
|
|
19526
|
+
const [id] = checkIds;
|
|
19527
|
+
throw usageError(
|
|
19528
|
+
`Check ${id} was removed and nothing runs in its place. ${REMOVED_MCP_CHECK_IDS[id]} Pick another check, or leave --check-id out to run every check.`
|
|
19529
|
+
);
|
|
19530
|
+
}
|
|
19531
|
+
for (const id of checkIds ?? []) {
|
|
19532
|
+
if (Object.hasOwn(REMOVED_MCP_CHECK_IDS, id)) {
|
|
19533
|
+
process.stderr.write(
|
|
19534
|
+
`Note: check ${id} was removed. ${REMOVED_MCP_CHECK_IDS[id]} Skipping it.
|
|
19519
19535
|
`
|
|
19520
19536
|
);
|
|
19521
19537
|
}
|
|
@@ -20648,7 +20664,6 @@ function buildTaskInputDriverOptions(args) {
|
|
|
20648
20664
|
|
|
20649
20665
|
// src/commands/tasks.ts
|
|
20650
20666
|
var TASKS_CHECK_IDS_BY_CATEGORY = {
|
|
20651
|
-
dispatch: ["tasks-wire-resolvable", "tasks-declaration-hygiene"],
|
|
20652
20667
|
creation: [
|
|
20653
20668
|
"tasks-result-type-discipline",
|
|
20654
20669
|
"tasks-undeclared-creation-refused"
|
|
@@ -20670,11 +20685,34 @@ var TASKS_CHECK_IDS_BY_CATEGORY = {
|
|
|
20670
20685
|
]
|
|
20671
20686
|
};
|
|
20672
20687
|
var tasksConformanceExitCode = conformanceExitCode;
|
|
20688
|
+
function dropRemoved(kind, values, removed, flag) {
|
|
20689
|
+
if (values === void 0) return void 0;
|
|
20690
|
+
const gone = values.filter((value) => Object.hasOwn(removed, value));
|
|
20691
|
+
if (gone.length === 0) return values;
|
|
20692
|
+
const kept = values.filter((value) => !Object.hasOwn(removed, value));
|
|
20693
|
+
if (kept.length === 0) {
|
|
20694
|
+
throw usageError(
|
|
20695
|
+
`Tasks ${kind} ${gone[0]} was removed and nothing runs in its place. ${removed[gone[0]]} Pick another ${kind}, or leave ${flag} out to run every check.`
|
|
20696
|
+
);
|
|
20697
|
+
}
|
|
20698
|
+
for (const value of gone) {
|
|
20699
|
+
process.stderr.write(
|
|
20700
|
+
`Note: tasks ${kind} ${value} was removed. ${removed[value]} Skipping it.
|
|
20701
|
+
`
|
|
20702
|
+
);
|
|
20703
|
+
}
|
|
20704
|
+
return kept;
|
|
20705
|
+
}
|
|
20673
20706
|
function collectInvalidEntries3(values, allowed) {
|
|
20674
20707
|
return (values ?? []).filter((value) => !allowed.includes(value));
|
|
20675
20708
|
}
|
|
20676
20709
|
function buildTasksConformanceConfig(options, serverConfig = parseServerConfig(options)) {
|
|
20677
|
-
const categories =
|
|
20710
|
+
const categories = dropRemoved(
|
|
20711
|
+
"category",
|
|
20712
|
+
options.category?.filter(Boolean),
|
|
20713
|
+
REMOVED_MCP_TASKS_CHECK_CATEGORIES,
|
|
20714
|
+
"--category"
|
|
20715
|
+
);
|
|
20678
20716
|
const invalidCategories = collectInvalidEntries3(
|
|
20679
20717
|
categories,
|
|
20680
20718
|
MCP_TASKS_CHECK_CATEGORIES
|
|
@@ -20684,7 +20722,12 @@ function buildTasksConformanceConfig(options, serverConfig = parseServerConfig(o
|
|
|
20684
20722
|
invalidCategories.length === 1 ? `Unknown category: ${invalidCategories[0]}` : `Unknown categories: ${invalidCategories.join(", ")}`
|
|
20685
20723
|
);
|
|
20686
20724
|
}
|
|
20687
|
-
const checkIds =
|
|
20725
|
+
const checkIds = dropRemoved(
|
|
20726
|
+
"check",
|
|
20727
|
+
options.checkId?.filter(Boolean),
|
|
20728
|
+
REMOVED_MCP_TASKS_CHECK_IDS,
|
|
20729
|
+
"--check-id"
|
|
20730
|
+
)?.map((id) => {
|
|
20688
20731
|
if (!Object.hasOwn(RENAMED_MCP_TASKS_CHECK_IDS, id)) return id;
|
|
20689
20732
|
const current = RENAMED_MCP_TASKS_CHECK_IDS[id];
|
|
20690
20733
|
process.stderr.write(
|
|
@@ -21117,7 +21160,7 @@ function addTasksToolOptions(command) {
|
|
|
21117
21160
|
'A different tool for some checks, keyed by check id: {"tasks-cancel-ack-shape":{"toolName":"slow_job","toolArguments":{"seconds":5}}}. Checks left out use --tool-name and --tool-args.'
|
|
21118
21161
|
).option(
|
|
21119
21162
|
"--input-responses <json>",
|
|
21120
|
-
'
|
|
21163
|
+
'Prefilled answers for Tasks probes on the 2026-07-28 extension wire. Only requested keys are sent: {"name":{"action":"accept","content":{"name":"Ada"}}}. A check can also use answers from its own --check-overrides entry. Without answers for that check, it stops when the task waits for input. Supply matching answers to exercise the tasks/update acknowledgement check.'
|
|
21121
21164
|
).option(
|
|
21122
21165
|
"--poll-timeout <ms>",
|
|
21123
21166
|
"How long to poll a created task for a terminal status",
|
|
@@ -21223,11 +21266,22 @@ var SUITE_KINDS = [
|
|
|
21223
21266
|
"oauth"
|
|
21224
21267
|
];
|
|
21225
21268
|
var CHECK_ID_SUITES = [
|
|
21226
|
-
[
|
|
21269
|
+
[
|
|
21270
|
+
"protocol",
|
|
21271
|
+
[
|
|
21272
|
+
...MCP_CHECK_IDS,
|
|
21273
|
+
...Object.keys(RETIRED_MCP_CHECK_IDS),
|
|
21274
|
+
...Object.keys(REMOVED_MCP_CHECK_IDS)
|
|
21275
|
+
]
|
|
21276
|
+
],
|
|
21227
21277
|
["apps", MCP_APPS_CHECK_IDS],
|
|
21228
21278
|
[
|
|
21229
21279
|
"tasks",
|
|
21230
|
-
[
|
|
21280
|
+
[
|
|
21281
|
+
...MCP_TASKS_CHECK_IDS,
|
|
21282
|
+
...Object.keys(RENAMED_MCP_TASKS_CHECK_IDS),
|
|
21283
|
+
...Object.keys(REMOVED_MCP_TASKS_CHECK_IDS)
|
|
21284
|
+
]
|
|
21231
21285
|
]
|
|
21232
21286
|
];
|
|
21233
21287
|
var ADVICE_ID_SUITES = [
|