agents-inc 0.155.0 → 0.157.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/CHANGELOG.md +45 -0
- package/dist/{chunk-PMUABBPG.js → chunk-24IGOJ7E.js} +9 -13
- package/dist/chunk-24IGOJ7E.js.map +1 -0
- package/dist/{chunk-H6UTKTLK.js → chunk-3E52LCYC.js} +98 -34
- package/dist/chunk-3E52LCYC.js.map +1 -0
- package/dist/{chunk-UMH2YZKG.js → chunk-4CIAZOTD.js} +4 -6
- package/dist/{chunk-UMH2YZKG.js.map → chunk-4CIAZOTD.js.map} +1 -1
- package/dist/{chunk-D2CAV7MG.js → chunk-4DMFK67G.js} +2 -2
- package/dist/{chunk-PNMM5HNX.js → chunk-4EPJWN7C.js} +9 -10
- package/dist/chunk-4EPJWN7C.js.map +1 -0
- package/dist/{chunk-MHRC3KRX.js → chunk-4KHUHPX4.js} +3 -3
- package/dist/chunk-4KHUHPX4.js.map +1 -0
- package/dist/{chunk-2H7UWE2G.js → chunk-CEGHC7L5.js} +13 -12
- package/dist/chunk-CEGHC7L5.js.map +1 -0
- package/dist/{chunk-MO5FGLVS.js → chunk-DCIC35R7.js} +11 -12
- package/dist/chunk-DCIC35R7.js.map +1 -0
- package/dist/{chunk-ILUVL7WM.js → chunk-DZD25NHW.js} +2 -2
- package/dist/{chunk-IO5YBKHV.js → chunk-G6G2FT2G.js} +10 -8
- package/dist/chunk-G6G2FT2G.js.map +1 -0
- package/dist/{chunk-RWOYPOMR.js → chunk-IGOFZG3S.js} +19 -5
- package/dist/chunk-IGOFZG3S.js.map +1 -0
- package/dist/{chunk-CLFHC2DK.js → chunk-K2VTGT45.js} +17 -18
- package/dist/chunk-K2VTGT45.js.map +1 -0
- package/dist/{chunk-YO2LTXB4.js → chunk-KTXVQ7OM.js} +115 -10
- package/dist/chunk-KTXVQ7OM.js.map +1 -0
- package/dist/{chunk-SY4X2LND.js → chunk-KUZBMEWR.js} +3 -3
- package/dist/{chunk-ZUAZHDKP.js → chunk-LDBVIPTP.js} +277 -40
- package/dist/chunk-LDBVIPTP.js.map +1 -0
- package/dist/{chunk-PCC4LBKB.js → chunk-MU2TQ5KK.js} +2 -2
- package/dist/{chunk-4G2YHZIM.js → chunk-O4K42CJB.js} +4 -6
- package/dist/{chunk-4G2YHZIM.js.map → chunk-O4K42CJB.js.map} +1 -1
- package/dist/{chunk-HXKOIWLU.js → chunk-P6OKOH62.js} +2 -6
- package/dist/chunk-P6OKOH62.js.map +1 -0
- package/dist/{chunk-IXRZAHZF.js → chunk-PGZSNNDA.js} +4 -4
- package/dist/{chunk-LJCNUP6M.js → chunk-PVPNVK3W.js} +2 -2
- package/dist/{chunk-4A4L3YIW.js → chunk-PXGDA2SY.js} +6 -7
- package/dist/chunk-PXGDA2SY.js.map +1 -0
- package/dist/{chunk-G47TDUK3.js → chunk-QNAMXQKF.js} +2 -2
- package/dist/{chunk-5OKLCVM4.js → chunk-QO4XD5V5.js} +3 -3
- package/dist/{chunk-5F2YR5XV.js → chunk-QXPMQBEI.js} +15 -5
- package/dist/chunk-QXPMQBEI.js.map +1 -0
- package/dist/{chunk-F5T6TV4Z.js → chunk-RLU2IXD3.js} +40 -14
- package/dist/chunk-RLU2IXD3.js.map +1 -0
- package/dist/{chunk-WCAUUBHO.js → chunk-RVXI5VQU.js} +14758 -14501
- package/dist/chunk-RVXI5VQU.js.map +1 -0
- package/dist/{chunk-WFRTHH3A.js → chunk-TZRXWFF5.js} +3 -3
- package/dist/{chunk-HG4JPXJT.js → chunk-V7PMQDDU.js} +23 -10
- package/dist/chunk-V7PMQDDU.js.map +1 -0
- package/dist/{chunk-Y5Y7XHVU.js → chunk-VI6U2PJG.js} +4 -4
- package/dist/{chunk-TBOVYLQJ.js → chunk-VTIDLRNA.js} +2 -2
- package/dist/{chunk-OKH64JZE.js → chunk-WCZNQECQ.js} +2 -2
- package/dist/{chunk-QWVXOCXO.js → chunk-WENBESZO.js} +7 -9
- package/dist/{chunk-QWVXOCXO.js.map → chunk-WENBESZO.js.map} +1 -1
- package/dist/{chunk-TNGMF4UX.js → chunk-XOZAKFTS.js} +12 -12
- package/dist/chunk-XOZAKFTS.js.map +1 -0
- package/dist/{chunk-6RLV45HN.js → chunk-YG5YPVTJ.js} +6 -6
- package/dist/chunk-YG5YPVTJ.js.map +1 -0
- package/dist/{chunk-HTYH7CKN.js → chunk-YKFCUVHG.js} +3 -3
- package/dist/{chunk-VPASBA7P.js → chunk-YXI3BTQQ.js} +2 -2
- package/dist/chunk-Z3H2K5PK.js +1352 -0
- package/dist/chunk-Z3H2K5PK.js.map +1 -0
- package/dist/{chunk-5QZAK6J7.js → chunk-ZAQ6WMJV.js} +50 -18
- package/dist/chunk-ZAQ6WMJV.js.map +1 -0
- package/dist/{chunk-GS2NZ3GD.js → chunk-ZBYVDXZG.js} +5 -5
- package/dist/chunk-ZBYVDXZG.js.map +1 -0
- package/dist/commands/build/marketplace.js +9 -12
- package/dist/commands/build/marketplace.js.map +1 -1
- package/dist/commands/build/plugins.js +9 -12
- package/dist/commands/build/plugins.js.map +1 -1
- package/dist/commands/compile.js +15 -19
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/doctor.js +75 -54
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +154 -109
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +68 -38
- package/dist/commands/eject.js.map +1 -1
- package/dist/commands/init.js +36 -39
- package/dist/commands/list.js +8 -10
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/new/marketplace.js +8 -11
- package/dist/commands/new/marketplace.js.map +1 -1
- package/dist/commands/search.js +10 -13
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/share.js +8 -10
- package/dist/commands/share.js.map +1 -1
- package/dist/commands/uninstall.js +39 -28
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.js +7 -10
- package/dist/commands/update.js.map +1 -1
- package/dist/components/common/removal-plan-confirm.js +2 -2
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/wizard/category-grid.js +4 -5
- package/dist/components/wizard/checkbox-grid.js +4 -4
- package/dist/components/wizard/domain-selection.js +9 -11
- package/dist/components/wizard/run-wizard-session.js +26 -28
- package/dist/components/wizard/scroll-affordance.js +2 -2
- package/dist/components/wizard/skill-agent-summary.js +5 -7
- package/dist/components/wizard/source-grid.js +5 -6
- package/dist/components/wizard/stack-selection.js +7 -9
- package/dist/components/wizard/step-agents.js +8 -10
- package/dist/components/wizard/step-build.js +7 -9
- package/dist/components/wizard/step-confirm.js +9 -11
- package/dist/components/wizard/step-sources.js +8 -10
- package/dist/components/wizard/step-stack.js +8 -10
- package/dist/components/wizard/summary-panel.js +8 -10
- package/dist/components/wizard/toast.js +2 -2
- package/dist/components/wizard/wizard-layout.js +12 -14
- package/dist/components/wizard/wizard-tabs.js +2 -4
- package/dist/components/wizard/wizard.js +25 -27
- package/dist/hooks/init.js +36 -39
- package/dist/hooks/init.js.map +1 -1
- package/dist/load-agent-defs-M6LRVISN.js +13 -0
- package/dist/recompile-project-agents-G7ZM25PC.js +17 -0
- package/dist/{source-loader-3DL3NYUX.js → source-loader-BIAEDR5R.js} +4 -8
- package/dist/src/agents/_templates/agent.liquid +2 -2
- package/dist/stores/wizard-store.js +6 -6
- package/package.json +1 -1
- package/src/agents/_templates/agent.liquid +2 -2
- package/src/schemas/custom-metadata.schema.json +1 -1
- package/src/schemas/marketplace.schema.json +2 -1
- package/dist/chunk-2H7UWE2G.js.map +0 -1
- package/dist/chunk-4A4L3YIW.js.map +0 -1
- package/dist/chunk-5F2YR5XV.js.map +0 -1
- package/dist/chunk-5QZAK6J7.js.map +0 -1
- package/dist/chunk-6RLV45HN.js.map +0 -1
- package/dist/chunk-CLFHC2DK.js.map +0 -1
- package/dist/chunk-F2AMBBIA.js +0 -64
- package/dist/chunk-F2AMBBIA.js.map +0 -1
- package/dist/chunk-F5T6TV4Z.js.map +0 -1
- package/dist/chunk-GS2NZ3GD.js.map +0 -1
- package/dist/chunk-H6UTKTLK.js.map +0 -1
- package/dist/chunk-HG4JPXJT.js.map +0 -1
- package/dist/chunk-HXKOIWLU.js.map +0 -1
- package/dist/chunk-IO5YBKHV.js.map +0 -1
- package/dist/chunk-MHRC3KRX.js.map +0 -1
- package/dist/chunk-MO5FGLVS.js.map +0 -1
- package/dist/chunk-PMUABBPG.js.map +0 -1
- package/dist/chunk-PNMM5HNX.js.map +0 -1
- package/dist/chunk-RWOYPOMR.js.map +0 -1
- package/dist/chunk-TNGMF4UX.js.map +0 -1
- package/dist/chunk-VASLW636.js +0 -23
- package/dist/chunk-VASLW636.js.map +0 -1
- package/dist/chunk-WCAUUBHO.js.map +0 -1
- package/dist/chunk-WUQ3MTPF.js +0 -173
- package/dist/chunk-WUQ3MTPF.js.map +0 -1
- package/dist/chunk-XAXJWXI4.js +0 -1667
- package/dist/chunk-XAXJWXI4.js.map +0 -1
- package/dist/chunk-YO2LTXB4.js.map +0 -1
- package/dist/chunk-ZUAZHDKP.js.map +0 -1
- package/dist/copy-local-skills-NSUTBVLJ.js +0 -14
- package/dist/load-agent-defs-X4E57I2U.js +0 -15
- package/dist/loader-G6BFG2VA.js +0 -24
- package/dist/recompile-project-agents-JE4MM72I.js +0 -20
- package/dist/recompile-project-agents-JE4MM72I.js.map +0 -1
- package/dist/source-loader-3DL3NYUX.js.map +0 -1
- /package/dist/{chunk-D2CAV7MG.js.map → chunk-4DMFK67G.js.map} +0 -0
- /package/dist/{chunk-ILUVL7WM.js.map → chunk-DZD25NHW.js.map} +0 -0
- /package/dist/{chunk-SY4X2LND.js.map → chunk-KUZBMEWR.js.map} +0 -0
- /package/dist/{chunk-PCC4LBKB.js.map → chunk-MU2TQ5KK.js.map} +0 -0
- /package/dist/{chunk-IXRZAHZF.js.map → chunk-PGZSNNDA.js.map} +0 -0
- /package/dist/{chunk-LJCNUP6M.js.map → chunk-PVPNVK3W.js.map} +0 -0
- /package/dist/{chunk-G47TDUK3.js.map → chunk-QNAMXQKF.js.map} +0 -0
- /package/dist/{chunk-5OKLCVM4.js.map → chunk-QO4XD5V5.js.map} +0 -0
- /package/dist/{chunk-WFRTHH3A.js.map → chunk-TZRXWFF5.js.map} +0 -0
- /package/dist/{chunk-Y5Y7XHVU.js.map → chunk-VI6U2PJG.js.map} +0 -0
- /package/dist/{chunk-TBOVYLQJ.js.map → chunk-VTIDLRNA.js.map} +0 -0
- /package/dist/{chunk-OKH64JZE.js.map → chunk-WCZNQECQ.js.map} +0 -0
- /package/dist/{chunk-HTYH7CKN.js.map → chunk-YKFCUVHG.js.map} +0 -0
- /package/dist/{chunk-VPASBA7P.js.map → chunk-YXI3BTQQ.js.map} +0 -0
- /package/dist/{copy-local-skills-NSUTBVLJ.js.map → load-agent-defs-M6LRVISN.js.map} +0 -0
- /package/dist/{load-agent-defs-X4E57I2U.js.map → recompile-project-agents-G7ZM25PC.js.map} +0 -0
- /package/dist/{loader-G6BFG2VA.js.map → source-loader-BIAEDR5R.js.map} +0 -0
package/dist/commands/doctor.js
CHANGED
|
@@ -2,78 +2,75 @@
|
|
|
2
2
|
import {
|
|
3
3
|
detectProject,
|
|
4
4
|
loadSource
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-F2AMBBIA.js";
|
|
5
|
+
} from "../chunk-Z3H2K5PK.js";
|
|
6
|
+
import "../chunk-ZAQ6WMJV.js";
|
|
7
|
+
import "../chunk-4KHUHPX4.js";
|
|
9
8
|
import {
|
|
10
9
|
filterExcludedEntries,
|
|
11
10
|
listAgentMdFiles,
|
|
12
11
|
splitAgentsByProvenance
|
|
13
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-LDBVIPTP.js";
|
|
14
13
|
import {
|
|
15
14
|
BaseCommand,
|
|
16
15
|
EXIT_CODES
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-KTXVQ7OM.js";
|
|
17
|
+
import "../chunk-4CIAZOTD.js";
|
|
18
|
+
import "../chunk-QNAMXQKF.js";
|
|
20
19
|
import {
|
|
21
20
|
ConfigDefaultExportError,
|
|
21
|
+
MarketplaceNameRefusedError,
|
|
22
|
+
SOURCE_ENV_VAR,
|
|
23
|
+
agentYamlGenerationSchema,
|
|
22
24
|
checkMatrixHealth,
|
|
23
25
|
configDirsInPlay,
|
|
24
26
|
declaresNoContent,
|
|
27
|
+
directoryExists,
|
|
25
28
|
discoverLocalSkills,
|
|
26
29
|
effectivelyExcludedSkillIds,
|
|
30
|
+
fileExists,
|
|
27
31
|
findConfigLoadFailures,
|
|
32
|
+
formatZodErrors,
|
|
33
|
+
getErrorMessage,
|
|
28
34
|
getInstalledPluginsRegistryPath,
|
|
29
35
|
getProjectConfigPath,
|
|
30
36
|
getProjectPluginsDir,
|
|
31
37
|
getStackSkillIds,
|
|
32
38
|
getUserPluginsDir,
|
|
33
39
|
getVerifiedPluginInstallPaths,
|
|
40
|
+
glob,
|
|
34
41
|
installBaseDir,
|
|
35
42
|
isHomeDirectory,
|
|
36
43
|
isLocalSource,
|
|
44
|
+
isRecord,
|
|
45
|
+
listDirectories,
|
|
37
46
|
listRegisteredPluginInstalls,
|
|
38
47
|
loadConfig,
|
|
39
48
|
loadProjectConfigFromDir,
|
|
40
49
|
loadProjectSourceConfig,
|
|
41
50
|
loadSkillsMatrixFromSource,
|
|
42
|
-
parseMarketplacePluginRef,
|
|
43
|
-
readForkedFromMetadata,
|
|
44
|
-
resolveInstallPaths,
|
|
45
|
-
resolvePrimarySourceEntry,
|
|
46
|
-
validateAgentFrontmatter,
|
|
47
|
-
validateAllPlugins,
|
|
48
|
-
validatePlugin,
|
|
49
|
-
validateProjectConfig,
|
|
50
|
-
validateSkillFrontmatter
|
|
51
|
-
} from "../chunk-WCAUUBHO.js";
|
|
52
|
-
import {
|
|
53
|
-
agentYamlGenerationSchema,
|
|
54
|
-
directoryExists,
|
|
55
|
-
fileExists,
|
|
56
|
-
formatZodErrors,
|
|
57
|
-
getErrorMessage,
|
|
58
|
-
glob,
|
|
59
|
-
isRecord,
|
|
60
|
-
listDirectories,
|
|
61
51
|
metadataValidationSchema,
|
|
62
52
|
parseFrontmatter,
|
|
53
|
+
parseMarketplacePluginRef,
|
|
63
54
|
readFile,
|
|
55
|
+
readForkedFromMetadata,
|
|
64
56
|
readSkillMetadata,
|
|
65
|
-
|
|
57
|
+
resolveInstallPaths,
|
|
58
|
+
resolvePrimarySourceEntry,
|
|
66
59
|
skillCategoriesFileSchema,
|
|
67
60
|
skillRulesFileSchema,
|
|
68
61
|
splitMetadataValidationIssues,
|
|
69
62
|
stackConfigValidationSchema,
|
|
70
63
|
stacksConfigSchema,
|
|
64
|
+
validateAgentFrontmatter,
|
|
65
|
+
validateAllPlugins,
|
|
66
|
+
validatePlugin,
|
|
67
|
+
validateProjectConfig,
|
|
68
|
+
validateSkillFrontmatter,
|
|
71
69
|
validateSkillMetadata
|
|
72
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-RVXI5VQU.js";
|
|
73
71
|
import {
|
|
74
72
|
matrix
|
|
75
|
-
} from "../chunk-
|
|
76
|
-
import "../chunk-VASLW636.js";
|
|
73
|
+
} from "../chunk-IGOFZG3S.js";
|
|
77
74
|
import {
|
|
78
75
|
CLAUDE_SRC_DIR,
|
|
79
76
|
CLI_INVOKE_COMMAND,
|
|
@@ -81,6 +78,7 @@ import {
|
|
|
81
78
|
DIRS,
|
|
82
79
|
EJECT_SOURCE,
|
|
83
80
|
LOCAL_SKILLS_PATH,
|
|
81
|
+
MARKETPLACE_JSON,
|
|
84
82
|
PLUGIN_MANIFEST_DIR,
|
|
85
83
|
SKILLS_DIR_PATH,
|
|
86
84
|
SKILL_CATEGORIES_PATH,
|
|
@@ -88,7 +86,7 @@ import {
|
|
|
88
86
|
STACKS_FILE_PATH,
|
|
89
87
|
STANDARD_FILES,
|
|
90
88
|
UI_SYMBOLS
|
|
91
|
-
} from "../chunk-
|
|
89
|
+
} from "../chunk-G6G2FT2G.js";
|
|
92
90
|
import "../chunk-VZRO7RYT.js";
|
|
93
91
|
|
|
94
92
|
// src/cli/commands/doctor.ts
|
|
@@ -230,6 +228,7 @@ function checkMetadataSchema(rawMetadata, relPath) {
|
|
|
230
228
|
...warnings.map((message) => ({ severity: "warning", file: relPath, message }))
|
|
231
229
|
];
|
|
232
230
|
}
|
|
231
|
+
var MARKETPLACE_MANIFEST_PATH = path.join(PLUGIN_MANIFEST_DIR, MARKETPLACE_JSON);
|
|
233
232
|
async function checkCrossReferences(resolvedPath, reader) {
|
|
234
233
|
try {
|
|
235
234
|
await loadSkillsMatrixFromSource({ sourceFlag: resolvedPath, skipExtraSources: true });
|
|
@@ -237,15 +236,23 @@ async function checkCrossReferences(resolvedPath, reader) {
|
|
|
237
236
|
(healthIssue) => toSourceIssue(healthIssue, resolvedPath, reader)
|
|
238
237
|
);
|
|
239
238
|
} catch (error) {
|
|
240
|
-
return [
|
|
241
|
-
{
|
|
242
|
-
severity: "warning",
|
|
243
|
-
file: SKILL_CATEGORIES_PATH,
|
|
244
|
-
message: `Cross-reference validation skipped: failed to load categories/rules: ${getErrorMessage(error)}`
|
|
245
|
-
}
|
|
246
|
-
];
|
|
239
|
+
return [matrixLoadFailure(error)];
|
|
247
240
|
}
|
|
248
241
|
}
|
|
242
|
+
function matrixLoadFailure(error) {
|
|
243
|
+
if (error instanceof MarketplaceNameRefusedError) {
|
|
244
|
+
return {
|
|
245
|
+
severity: "error",
|
|
246
|
+
file: MARKETPLACE_MANIFEST_PATH,
|
|
247
|
+
message: getErrorMessage(error)
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
return {
|
|
251
|
+
severity: "warning",
|
|
252
|
+
file: SKILL_CATEGORIES_PATH,
|
|
253
|
+
message: `Cross-reference validation skipped: failed to load categories/rules: ${getErrorMessage(error)}`
|
|
254
|
+
};
|
|
255
|
+
}
|
|
249
256
|
var SKILL_AUDIT_PATH = "src/cli/lib/configuration/skill-audit.ts";
|
|
250
257
|
function fileHoldingDefect(finding) {
|
|
251
258
|
switch (finding) {
|
|
@@ -931,19 +938,34 @@ async function checkPluginSkillsInstalled(config, projectDir) {
|
|
|
931
938
|
message: `${pluginSkills.length}/${pluginSkills.length} plugin-mode skills installed`
|
|
932
939
|
};
|
|
933
940
|
}
|
|
941
|
+
var MARKETPLACE_CHOSEN_BY = {
|
|
942
|
+
flag: "named by this run",
|
|
943
|
+
env: `named by ${SOURCE_ENV_VAR}`,
|
|
944
|
+
project: "named by this project's configuration",
|
|
945
|
+
global: "named by the global configuration",
|
|
946
|
+
default: "nothing here names one, so this is the default"
|
|
947
|
+
};
|
|
948
|
+
function howItWasReached(source, isLocal) {
|
|
949
|
+
return isLocal ? `Read ${source} from disk` : `Fetched ${source} over the network`;
|
|
950
|
+
}
|
|
951
|
+
function reachedMarketplace(result) {
|
|
952
|
+
const { source, sourceOrigin } = result.sourceConfig;
|
|
953
|
+
const skillCount = Object.keys(matrix.skills).length;
|
|
954
|
+
const sourceLabel = result.isLocal ? "local" : "remote";
|
|
955
|
+
return {
|
|
956
|
+
kind: "source",
|
|
957
|
+
status: "pass",
|
|
958
|
+
message: `Connected to ${sourceLabel}: ${result.sourcePath}`,
|
|
959
|
+
details: [
|
|
960
|
+
`${skillCount} skills available`,
|
|
961
|
+
`${howItWasReached(source, result.isLocal)} \u2014 ${MARKETPLACE_CHOSEN_BY[sourceOrigin]}`
|
|
962
|
+
]
|
|
963
|
+
};
|
|
964
|
+
}
|
|
934
965
|
async function checkSourceReachable(projectDir) {
|
|
935
966
|
try {
|
|
936
|
-
const { sourceResult
|
|
937
|
-
|
|
938
|
-
});
|
|
939
|
-
const skillCount = Object.keys(matrix.skills).length;
|
|
940
|
-
const sourceLabel = result.isLocal ? "local" : "remote";
|
|
941
|
-
return {
|
|
942
|
-
kind: "source",
|
|
943
|
-
status: "pass",
|
|
944
|
-
message: `Connected to ${sourceLabel}: ${result.sourcePath}`,
|
|
945
|
-
details: [`${skillCount} skills available`]
|
|
946
|
-
};
|
|
967
|
+
const { sourceResult } = await loadSource({ projectDir });
|
|
968
|
+
return reachedMarketplace(sourceResult);
|
|
947
969
|
} catch (error) {
|
|
948
970
|
const message = getErrorMessage(error);
|
|
949
971
|
return {
|
|
@@ -1175,9 +1197,8 @@ var Doctor = class _Doctor extends BaseCommand {
|
|
|
1175
1197
|
static flags = {};
|
|
1176
1198
|
async run() {
|
|
1177
1199
|
await this.parse(_Doctor);
|
|
1178
|
-
setVerbose(true);
|
|
1179
1200
|
const projectDir = process.cwd();
|
|
1180
|
-
this.printHeader();
|
|
1201
|
+
this.printHeader(await this.resolveBrandingName(projectDir));
|
|
1181
1202
|
const contentResults = await this.runContentChecks(projectDir);
|
|
1182
1203
|
const operationalResults = await this.runOperationalChecks(projectDir, contentResults);
|
|
1183
1204
|
const results = [...contentResults, ...operationalResults];
|
|
@@ -1186,9 +1207,9 @@ var Doctor = class _Doctor extends BaseCommand {
|
|
|
1186
1207
|
this.exit(EXIT_CODES.ERROR);
|
|
1187
1208
|
}
|
|
1188
1209
|
}
|
|
1189
|
-
printHeader() {
|
|
1210
|
+
printHeader(brandingName) {
|
|
1190
1211
|
this.log("");
|
|
1191
|
-
this.log(`${
|
|
1212
|
+
this.log(`${brandingName} Doctor`);
|
|
1192
1213
|
this.log("");
|
|
1193
1214
|
this.log(`${SECTION_INDENT}Checking configuration health...`);
|
|
1194
1215
|
this.log("");
|