@mintlify/cli 4.0.1655 → 4.0.1657
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/bin/cli.js +1 -7
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -12
- package/src/cli.tsx +1 -12
- package/__test__/mintTestFilePreview.test.ts +0 -35
- package/__test__/mintTestOutput.test.ts +0 -256
- package/__test__/runHistory.test.ts +0 -240
- package/bin/agent-harness/agentPreflight.js +0 -24
- package/bin/agent-harness/buildTaskPrompt.js +0 -86
- package/bin/agent-harness/countReport.js +0 -10
- package/bin/agent-harness/discoverCodeBlocks.js +0 -101
- package/bin/agent-harness/executeCodeBlocks.js +0 -263
- package/bin/agent-harness/filterSelectedPages.js +0 -10
- package/bin/agent-harness/generateTestCode.js +0 -337
- package/bin/agent-harness/index.js +0 -95
- package/bin/agent-harness/loadAgentSdk.js +0 -46
- package/bin/agent-harness/manifest.js +0 -113
- package/bin/agent-harness/mapWithConcurrency.js +0 -26
- package/bin/agent-harness/runHistory.js +0 -256
- package/bin/agent-harness/runSave.js +0 -47
- package/bin/agent-harness/setupFolders.js +0 -73
- package/bin/agent-harness/tasks/checkTestability.js +0 -228
- package/bin/agent-harness/types.js +0 -66
- package/bin/mintTest.js +0 -122
- package/bin/mintTestFilePreview.js +0 -39
- package/bin/mintTestNav.js +0 -35
- package/bin/mintTestTelemetry.js +0 -63
- package/bin/mintTestText.js +0 -31
- package/bin/mintTestTree.js +0 -94
- package/bin/mintTestUi.js +0 -818
- package/src/agent-harness/MINT_TEST_SYSTEM_DESIGN.md +0 -64
- package/src/agent-harness/agentPreflight.ts +0 -13
- package/src/agent-harness/buildTaskPrompt.ts +0 -93
- package/src/agent-harness/countReport.ts +0 -17
- package/src/agent-harness/discoverCodeBlocks.ts +0 -90
- package/src/agent-harness/executeCodeBlocks.ts +0 -351
- package/src/agent-harness/filterSelectedPages.ts +0 -14
- package/src/agent-harness/generateTestCode.ts +0 -396
- package/src/agent-harness/index.ts +0 -127
- package/src/agent-harness/loadAgentSdk.ts +0 -35
- package/src/agent-harness/manifest.ts +0 -116
- package/src/agent-harness/mapWithConcurrency.ts +0 -21
- package/src/agent-harness/runHistory.ts +0 -255
- package/src/agent-harness/runSave.ts +0 -38
- package/src/agent-harness/setupFolders.ts +0 -87
- package/src/agent-harness/tasks/checkTestability.ts +0 -256
- package/src/agent-harness/types.ts +0 -239
- package/src/mintTest.tsx +0 -138
- package/src/mintTestFilePreview.ts +0 -32
- package/src/mintTestNav.ts +0 -31
- package/src/mintTestTelemetry.ts +0 -101
- package/src/mintTestText.ts +0 -35
- package/src/mintTestTree.ts +0 -134
- package/src/mintTestUi.tsx +0 -1378
package/bin/cli.js
CHANGED
|
@@ -31,7 +31,6 @@ import { login } from './login.js';
|
|
|
31
31
|
import { logout } from './logout.js';
|
|
32
32
|
import { mdxLinter } from './mdxLinter.js';
|
|
33
33
|
import { createTelemetryMiddleware } from './middlewares/telemetryMiddleware.js';
|
|
34
|
-
import { mintTestHandler } from './mintTest.js';
|
|
35
34
|
import { ogCommand } from './og.js';
|
|
36
35
|
import { buildOverlayRegistryForCheck, checkOpenApiFile, getOpenApiFilenamesFromDocsConfig, } from './openApiCheck.js';
|
|
37
36
|
import { resolveExplicitFiles } from './resolveFiles.js';
|
|
@@ -76,9 +75,7 @@ export const cli = ({ packageName = 'mint' }) => {
|
|
|
76
75
|
return showWelcome(packageName);
|
|
77
76
|
}
|
|
78
77
|
const telemetryMiddleware = createTelemetryMiddleware();
|
|
79
|
-
|
|
80
|
-
render(_jsx(Logs, {}));
|
|
81
|
-
}
|
|
78
|
+
render(_jsx(Logs, {}));
|
|
82
79
|
return (yargs(commandArguments)
|
|
83
80
|
.scriptName(packageName)
|
|
84
81
|
.option('telemetry', {
|
|
@@ -215,9 +212,6 @@ export const cli = ({ packageName = 'mint' }) => {
|
|
|
215
212
|
const { cli: cliVersion } = getVersions(packageName);
|
|
216
213
|
yield validateBuild(Object.assign(Object.assign({}, argv), { packageName,
|
|
217
214
|
cliVersion }), sendPublishPrompt);
|
|
218
|
-
}))
|
|
219
|
-
.command('test', 'Test runnable code blocks with a local coding agent', (yargs) => yargs.usage('usage: mint test'), () => __awaiter(void 0, void 0, void 0, function* () {
|
|
220
|
-
yield mintTestHandler();
|
|
221
215
|
}))
|
|
222
216
|
.command('export', 'Export a static site for air-gapped deployment', (yargs) => yargs
|
|
223
217
|
.option('output', {
|