@savvy-web/mcp 1.3.5 → 1.5.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/README.md +4 -12
- package/bin/savvy-mcp.js +2 -11
- package/index.d.ts +8 -91
- package/package.json +2 -3
- package/runtime.js +22 -4
- package/server.js +35 -30
- package/tools/biome-check.js +1 -1
- package/tools/changeset-deps-detect.js +88 -0
- package/tools/changeset-deps-regen.js +100 -0
- package/content/_templates/guides.md +0 -12
- package/content/_templates/packages.md +0 -21
- package/content/_templates/standards.md +0 -17
- package/content/guides/api-docs-from-api-extractor.md +0 -174
- package/content/guides/building-a-github-action.md +0 -233
- package/content/guides/choosing-a-builder.md +0 -93
- package/content/guides/llm-friendly-json-schemas.md +0 -64
- package/content/manifest.json +0 -10538
- package/content/packages/bundler/api/function/build.md +0 -18
- package/content/packages/bundler/api/function/definebuild.md +0 -18
- package/content/packages/bundler/api/function/parseargs.md +0 -18
- package/content/packages/bundler/api/function/runbuild.md +0 -18
- package/content/packages/bundler/api/interface/buildconfig.md +0 -147
- package/content/packages/bundler/api/interface/buildconfiginput.md +0 -153
- package/content/packages/bundler/api/interface/buildentryoverride.md +0 -86
- package/content/packages/bundler/api/interface/outputconfig.md +0 -34
- package/content/packages/bundler/api/interface/parsedargs.md +0 -44
- package/content/packages/bundler/api/interface/runoptions.md +0 -158
- package/content/packages/bundler/api.md +0 -28
- package/content/packages/bundler/overview.md +0 -89
- package/content/packages/cli/command-tree.md +0 -68
- package/content/packages/cli/init-and-check.md +0 -53
- package/content/packages/github-action-builder/api/class/actionymlmissing.md +0 -30
- package/content/packages/github-action-builder/api/class/actionymlpatherror.md +0 -48
- package/content/packages/github-action-builder/api/class/actionymlschemaerror.md +0 -45
- package/content/packages/github-action-builder/api/class/actionymlsyntaxerror.md +0 -57
- package/content/packages/github-action-builder/api/class/buildfailed.md +0 -39
- package/content/packages/github-action-builder/api/class/bundlefailed.md +0 -39
- package/content/packages/github-action-builder/api/class/cleanerror.md +0 -39
- package/content/packages/github-action-builder/api/class/configinvalid.md +0 -39
- package/content/packages/github-action-builder/api/class/configloadfailed.md +0 -39
- package/content/packages/github-action-builder/api/class/confignotfound.md +0 -39
- package/content/packages/github-action-builder/api/class/entryfilemissing.md +0 -39
- package/content/packages/github-action-builder/api/class/githubaction.md +0 -101
- package/content/packages/github-action-builder/api/class/mainentrymissing.md +0 -39
- package/content/packages/github-action-builder/api/class/persistlocalerror.md +0 -39
- package/content/packages/github-action-builder/api/class/validationfailed.md +0 -48
- package/content/packages/github-action-builder/api/class/workerentryinvalidname.md +0 -37
- package/content/packages/github-action-builder/api/class/workerentrymissing.md +0 -44
- package/content/packages/github-action-builder/api/class/writeerror.md +0 -39
- package/content/packages/github-action-builder/api/function/defineconfig.md +0 -68
- package/content/packages/github-action-builder/api/interface/buildservice.md +0 -83
- package/content/packages/github-action-builder/api/interface/configservice.md +0 -66
- package/content/packages/github-action-builder/api/interface/githubactionoptions.md +0 -60
- package/content/packages/github-action-builder/api/interface/loadconfigresult.md +0 -44
- package/content/packages/github-action-builder/api/interface/persistlocalservice.md +0 -37
- package/content/packages/github-action-builder/api/interface/validationservice.md +0 -82
- package/content/packages/github-action-builder/api/type/actionymlresult.md +0 -18
- package/content/packages/github-action-builder/api/type/apperror.md +0 -18
- package/content/packages/github-action-builder/api/type/builderror.md +0 -18
- package/content/packages/github-action-builder/api/type/buildoptions.md +0 -18
- package/content/packages/github-action-builder/api/type/buildresult.md +0 -18
- package/content/packages/github-action-builder/api/type/buildrunneroptions.md +0 -18
- package/content/packages/github-action-builder/api/type/bundleresult.md +0 -18
- package/content/packages/github-action-builder/api/type/bundlestats.md +0 -18
- package/content/packages/github-action-builder/api/type/config.md +0 -18
- package/content/packages/github-action-builder/api/type/configerror.md +0 -18
- package/content/packages/github-action-builder/api/type/configinput.md +0 -18
- package/content/packages/github-action-builder/api/type/detectedentry.md +0 -18
- package/content/packages/github-action-builder/api/type/detectentriesresult.md +0 -18
- package/content/packages/github-action-builder/api/type/entries.md +0 -18
- package/content/packages/github-action-builder/api/type/githubactionbuildresult.md +0 -18
- package/content/packages/github-action-builder/api/type/loadconfigoptions.md +0 -18
- package/content/packages/github-action-builder/api/type/persisterror.md +0 -18
- package/content/packages/github-action-builder/api/type/persistlocaloptions.md +0 -18
- package/content/packages/github-action-builder/api/type/persistlocalresult.md +0 -18
- package/content/packages/github-action-builder/api/type/persistlocalrunneroptions.md +0 -18
- package/content/packages/github-action-builder/api/type/validateoptions.md +0 -18
- package/content/packages/github-action-builder/api/type/validationerror.md +0 -20
- package/content/packages/github-action-builder/api/type/validationerroritem.md +0 -18
- package/content/packages/github-action-builder/api/type/validationoptions.md +0 -18
- package/content/packages/github-action-builder/api/type/validationresult.md +0 -18
- package/content/packages/github-action-builder/api/type/validationwarning.md +0 -18
- package/content/packages/github-action-builder/api/variable/actionymlmissingbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/actionymlpatherrorbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/actionymlresultschema.md +0 -33
- package/content/packages/github-action-builder/api/variable/actionymlschemaerrorbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/actionymlsyntaxerrorbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/applayer.md +0 -38
- package/content/packages/github-action-builder/api/variable/buildfailedbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/buildlayer.md +0 -18
- package/content/packages/github-action-builder/api/variable/buildoptionsschema.md +0 -31
- package/content/packages/github-action-builder/api/variable/buildresultschema.md +0 -32
- package/content/packages/github-action-builder/api/variable/buildrunneroptionsschema.md +0 -21
- package/content/packages/github-action-builder/api/variable/buildservice.md +0 -18
- package/content/packages/github-action-builder/api/variable/bundlefailedbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/bundleresultschema.md +0 -27
- package/content/packages/github-action-builder/api/variable/bundlestatsschema.md +0 -23
- package/content/packages/github-action-builder/api/variable/cleanerrorbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/configinputschema.md +0 -41
- package/content/packages/github-action-builder/api/variable/configinvalidbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/configlayer.md +0 -18
- package/content/packages/github-action-builder/api/variable/configloadfailedbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/confignotfoundbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/configschema.md +0 -59
- package/content/packages/github-action-builder/api/variable/configservice.md +0 -18
- package/content/packages/github-action-builder/api/variable/detectedentryschema.md +0 -22
- package/content/packages/github-action-builder/api/variable/detectentriesresultschema.md +0 -25
- package/content/packages/github-action-builder/api/variable/entriesschema.md +0 -25
- package/content/packages/github-action-builder/api/variable/entryfilemissingbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/githubactionbuildresultschema.md +0 -60
- package/content/packages/github-action-builder/api/variable/loadconfigoptionsschema.md +0 -21
- package/content/packages/github-action-builder/api/variable/mainentrymissingbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/persistlocalerrorbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/persistlocallayer.md +0 -18
- package/content/packages/github-action-builder/api/variable/persistlocaloptionsschema.md +0 -28
- package/content/packages/github-action-builder/api/variable/persistlocalresultschema.md +0 -25
- package/content/packages/github-action-builder/api/variable/persistlocalrunneroptionsschema.md +0 -20
- package/content/packages/github-action-builder/api/variable/persistlocalservice.md +0 -18
- package/content/packages/github-action-builder/api/variable/validateoptionsschema.md +0 -21
- package/content/packages/github-action-builder/api/variable/validationerrorschema.md +0 -23
- package/content/packages/github-action-builder/api/variable/validationfailedbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/validationlayer.md +0 -18
- package/content/packages/github-action-builder/api/variable/validationoptionsschema.md +0 -24
- package/content/packages/github-action-builder/api/variable/validationresultschema.md +0 -32
- package/content/packages/github-action-builder/api/variable/validationservice.md +0 -18
- package/content/packages/github-action-builder/api/variable/validationwarningschema.md +0 -23
- package/content/packages/github-action-builder/api/variable/workerentryinvalidnamebase.md +0 -20
- package/content/packages/github-action-builder/api/variable/workerentrymissingbase.md +0 -20
- package/content/packages/github-action-builder/api/variable/writeerrorbase.md +0 -20
- package/content/packages/github-action-builder/api.md +0 -125
- package/content/packages/github-action-effects/api/class/actioncache.md +0 -18
- package/content/packages/github-action-effects/api/class/actioncacheerror.md +0 -44
- package/content/packages/github-action-effects/api/class/actionenvironment.md +0 -18
- package/content/packages/github-action-effects/api/class/actionenvironmenterror.md +0 -37
- package/content/packages/github-action-effects/api/class/actioninputerror.md +0 -44
- package/content/packages/github-action-effects/api/class/actionlogger.md +0 -18
- package/content/packages/github-action-effects/api/class/actionoutputerror.md +0 -37
- package/content/packages/github-action-effects/api/class/actionoutputs.md +0 -18
- package/content/packages/github-action-effects/api/class/actionstate.md +0 -18
- package/content/packages/github-action-effects/api/class/actionstateerror.md +0 -44
- package/content/packages/github-action-effects/api/class/artifact.md +0 -18
- package/content/packages/github-action-effects/api/class/artifacterror.md +0 -53
- package/content/packages/github-action-effects/api/class/attest.md +0 -18
- package/content/packages/github-action-effects/api/class/attesterror.md +0 -42
- package/content/packages/github-action-effects/api/class/blobstore.md +0 -18
- package/content/packages/github-action-effects/api/class/blobstoreerror.md +0 -44
- package/content/packages/github-action-effects/api/class/changesetanalyzer.md +0 -18
- package/content/packages/github-action-effects/api/class/changeseterror.md +0 -37
- package/content/packages/github-action-effects/api/class/checkrun.md +0 -18
- package/content/packages/github-action-effects/api/class/checkrunerror.md +0 -44
- package/content/packages/github-action-effects/api/class/commandrunner.md +0 -18
- package/content/packages/github-action-effects/api/class/commandrunnererror.md +0 -73
- package/content/packages/github-action-effects/api/class/configloader.md +0 -18
- package/content/packages/github-action-effects/api/class/configloadererror.md +0 -44
- package/content/packages/github-action-effects/api/class/dryrun.md +0 -18
- package/content/packages/github-action-effects/api/class/gitbranch.md +0 -18
- package/content/packages/github-action-effects/api/class/gitbrancherror.md +0 -44
- package/content/packages/github-action-effects/api/class/gitcommit.md +0 -18
- package/content/packages/github-action-effects/api/class/gitcommiterror.md +0 -37
- package/content/packages/github-action-effects/api/class/githubapp.md +0 -18
- package/content/packages/github-action-effects/api/class/githubapperror.md +0 -37
- package/content/packages/github-action-effects/api/class/githubartifactmetadata.md +0 -18
- package/content/packages/github-action-effects/api/class/githubartifactmetadataerror.md +0 -44
- package/content/packages/github-action-effects/api/class/githubclient.md +0 -18
- package/content/packages/github-action-effects/api/class/githubclienterror.md +0 -60
- package/content/packages/github-action-effects/api/class/githubcommit.md +0 -18
- package/content/packages/github-action-effects/api/class/githubcommiterror.md +0 -44
- package/content/packages/github-action-effects/api/class/githubcontent.md +0 -18
- package/content/packages/github-action-effects/api/class/githubcontenterror.md +0 -44
- package/content/packages/github-action-effects/api/class/githubgraphql.md +0 -18
- package/content/packages/github-action-effects/api/class/githubgraphqlerror.md +0 -48
- package/content/packages/github-action-effects/api/class/githubissue.md +0 -18
- package/content/packages/github-action-effects/api/class/githubissueerror.md +0 -51
- package/content/packages/github-action-effects/api/class/githubrelease.md +0 -18
- package/content/packages/github-action-effects/api/class/githubreleaseerror.md +0 -51
- package/content/packages/github-action-effects/api/class/gittag.md +0 -18
- package/content/packages/github-action-effects/api/class/gittagerror.md +0 -44
- package/content/packages/github-action-effects/api/class/glob.md +0 -18
- package/content/packages/github-action-effects/api/class/globerror.md +0 -44
- package/content/packages/github-action-effects/api/class/intotostatement.md +0 -18
- package/content/packages/github-action-effects/api/class/intotosubject.md +0 -18
- package/content/packages/github-action-effects/api/class/ioerror.md +0 -44
- package/content/packages/github-action-effects/api/class/npmregistry.md +0 -18
- package/content/packages/github-action-effects/api/class/npmregistryerror.md +0 -50
- package/content/packages/github-action-effects/api/class/octokitauthapp.md +0 -18
- package/content/packages/github-action-effects/api/class/oidctokenerror.md +0 -42
- package/content/packages/github-action-effects/api/class/oidctokenissuer.md +0 -18
- package/content/packages/github-action-effects/api/class/packagemanageradapter.md +0 -18
- package/content/packages/github-action-effects/api/class/packagemanagererror.md +0 -44
- package/content/packages/github-action-effects/api/class/packagepublish.md +0 -18
- package/content/packages/github-action-effects/api/class/packagepublisherror.md +0 -68
- package/content/packages/github-action-effects/api/class/pullrequest.md +0 -18
- package/content/packages/github-action-effects/api/class/pullrequestcomment.md +0 -18
- package/content/packages/github-action-effects/api/class/pullrequestcommenterror.md +0 -44
- package/content/packages/github-action-effects/api/class/pullrequesterror.md +0 -44
- package/content/packages/github-action-effects/api/class/ratelimiter.md +0 -18
- package/content/packages/github-action-effects/api/class/ratelimiterror.md +0 -51
- package/content/packages/github-action-effects/api/class/runtimeenvironmenterror.md +0 -37
- package/content/packages/github-action-effects/api/class/sbom.md +0 -18
- package/content/packages/github-action-effects/api/class/sbomerror.md +0 -42
- package/content/packages/github-action-effects/api/class/semverresolvererror.md +0 -44
- package/content/packages/github-action-effects/api/class/sigstorebundle.md +0 -18
- package/content/packages/github-action-effects/api/class/sigstoresigner.md +0 -18
- package/content/packages/github-action-effects/api/class/sigstoresignererror.md +0 -42
- package/content/packages/github-action-effects/api/class/slsaerror.md +0 -42
- package/content/packages/github-action-effects/api/class/tokenpermissionchecker.md +0 -18
- package/content/packages/github-action-effects/api/class/tokenpermissionerror.md +0 -58
- package/content/packages/github-action-effects/api/class/toolinstaller.md +0 -18
- package/content/packages/github-action-effects/api/class/toolinstallererror.md +0 -58
- package/content/packages/github-action-effects/api/class/workflowdispatch.md +0 -18
- package/content/packages/github-action-effects/api/class/workflowdispatcherror.md +0 -44
- package/content/packages/github-action-effects/api/class/workspacedetector.md +0 -18
- package/content/packages/github-action-effects/api/class/workspacedetectorerror.md +0 -35
- package/content/packages/github-action-effects/api/function/attesttestfulllayer.md +0 -19
- package/content/packages/github-action-effects/api/function/buildslsaprovenancepredicate.md +0 -23
- package/content/packages/github-action-effects/api/function/buildstatement.md +0 -29
- package/content/packages/github-action-effects/api/function/decodejwtclaims.md +0 -18
- package/content/packages/github-action-effects/api/function/dryrunlive.md +0 -18
- package/content/packages/github-action-effects/api/function/generatepackageviewurl.md +0 -27
- package/content/packages/github-action-effects/api/function/getregistrydisplayname.md +0 -26
- package/content/packages/github-action-effects/api/function/getregistrytype.md +0 -26
- package/content/packages/github-action-effects/api/function/iscustomregistry.md +0 -26
- package/content/packages/github-action-effects/api/function/isgithubpackagesregistry.md +0 -26
- package/content/packages/github-action-effects/api/function/isjsrregistry.md +0 -26
- package/content/packages/github-action-effects/api/function/isnpmregistry.md +0 -26
- package/content/packages/github-action-effects/api/function/makeattestteststate.md +0 -18
- package/content/packages/github-action-effects/api/function/makesbomteststate.md +0 -18
- package/content/packages/github-action-effects/api/function/makesigstoresignerlive.md +0 -18
- package/content/packages/github-action-effects/api/function/npmpurl.md +0 -18
- package/content/packages/github-action-effects/api/function/resilienceschedule.md +0 -18
- package/content/packages/github-action-effects/api/function/s3blobstorelive.md +0 -18
- package/content/packages/github-action-effects/api/function/savetoken.md +0 -18
- package/content/packages/github-action-effects/api/function/serializestatement.md +0 -18
- package/content/packages/github-action-effects/api/function/subject.md +0 -23
- package/content/packages/github-action-effects/api/function/tokenpermissioncheckerlive.md +0 -18
- package/content/packages/github-action-effects/api/interface/accumulateresult.md +0 -35
- package/content/packages/github-action-effects/api/interface/actioncacheteststate.md +0 -26
- package/content/packages/github-action-effects/api/interface/actionloggerteststate.md +0 -59
- package/content/packages/github-action-effects/api/interface/actionoutputsteststate.md +0 -56
- package/content/packages/github-action-effects/api/interface/actionrunoptions.md +0 -28
- package/content/packages/github-action-effects/api/interface/actionstateteststate.md +0 -28
- package/content/packages/github-action-effects/api/interface/annotationproperties.md +0 -68
- package/content/packages/github-action-effects/api/interface/appauth.md +0 -44
- package/content/packages/github-action-effects/api/interface/artifactitem.md +0 -44
- package/content/packages/github-action-effects/api/interface/artifactteststate.md +0 -38
- package/content/packages/github-action-effects/api/interface/attestationlistentry.md +0 -36
- package/content/packages/github-action-effects/api/interface/attestationrecord.md +0 -44
- package/content/packages/github-action-effects/api/interface/attestinput.md +0 -38
- package/content/packages/github-action-effects/api/interface/attestteststate.md +0 -111
- package/content/packages/github-action-effects/api/interface/blobstoreteststate.md +0 -26
- package/content/packages/github-action-effects/api/interface/botidentity.md +0 -32
- package/content/packages/github-action-effects/api/interface/changesetanalyzerteststate.md +0 -32
- package/content/packages/github-action-effects/api/interface/checkrunannotation.md +0 -56
- package/content/packages/github-action-effects/api/interface/checkrundata.md +0 -50
- package/content/packages/github-action-effects/api/interface/checkrunoutput.md +0 -44
- package/content/packages/github-action-effects/api/interface/checkrunrecord.md +0 -62
- package/content/packages/github-action-effects/api/interface/checkrunteststate.md +0 -32
- package/content/packages/github-action-effects/api/interface/commandresponse.md +0 -38
- package/content/packages/github-action-effects/api/interface/commentrecord.md +0 -32
- package/content/packages/github-action-effects/api/interface/commitcomparison.md +0 -32
- package/content/packages/github-action-effects/api/interface/commitdetail.md +0 -28
- package/content/packages/github-action-effects/api/interface/commitfile.md +0 -32
- package/content/packages/github-action-effects/api/interface/commitsummary.md +0 -38
- package/content/packages/github-action-effects/api/interface/configloaderteststate.md +0 -28
- package/content/packages/github-action-effects/api/interface/dispatchrecord.md +0 -38
- package/content/packages/github-action-effects/api/interface/downloadoptions.md +0 -28
- package/content/packages/github-action-effects/api/interface/dryrunresult.md +0 -60
- package/content/packages/github-action-effects/api/interface/dryrunteststate.md +0 -26
- package/content/packages/github-action-effects/api/interface/execoptions.md +0 -52
- package/content/packages/github-action-effects/api/interface/execoutput.md +0 -38
- package/content/packages/github-action-effects/api/interface/findby.md +0 -44
- package/content/packages/github-action-effects/api/interface/gitbranchteststate.md +0 -26
- package/content/packages/github-action-effects/api/interface/gitcommitteststate.md +0 -51
- package/content/packages/github-action-effects/api/interface/githubappteststate.md +0 -54
- package/content/packages/github-action-effects/api/interface/githubartifactmetadatateststate.md +0 -36
- package/content/packages/github-action-effects/api/interface/githubclientteststate.md +0 -47
- package/content/packages/github-action-effects/api/interface/githubcommitteststate.md +0 -52
- package/content/packages/github-action-effects/api/interface/githubcontentteststate.md +0 -28
- package/content/packages/github-action-effects/api/interface/githubgraphqlteststate.md +0 -52
- package/content/packages/github-action-effects/api/interface/githubissueteststate.md +0 -53
- package/content/packages/github-action-effects/api/interface/githubreleaseteststate.md +0 -52
- package/content/packages/github-action-effects/api/interface/gittagteststate.md +0 -41
- package/content/packages/github-action-effects/api/interface/globoptions.md +0 -52
- package/content/packages/github-action-effects/api/interface/globteststate.md +0 -32
- package/content/packages/github-action-effects/api/interface/hashfilesoptions.md +0 -36
- package/content/packages/github-action-effects/api/interface/idempotentpublishinput.md +0 -66
- package/content/packages/github-action-effects/api/interface/idempotentpublishresult.md +0 -48
- package/content/packages/github-action-effects/api/interface/inflightpackage.md +0 -38
- package/content/packages/github-action-effects/api/interface/installoptions.md +0 -36
- package/content/packages/github-action-effects/api/interface/issuedata.md +0 -60
- package/content/packages/github-action-effects/api/interface/npmregistryteststate.md +0 -32
- package/content/packages/github-action-effects/api/interface/oidcclaims.md +0 -98
- package/content/packages/github-action-effects/api/interface/packagemanageradapterteststate.md +0 -47
- package/content/packages/github-action-effects/api/interface/packagepublishteststate.md +0 -121
- package/content/packages/github-action-effects/api/interface/packresult.md +0 -84
- package/content/packages/github-action-effects/api/interface/polloptions.md +0 -36
- package/content/packages/github-action-effects/api/interface/provenanceattestationinput.md +0 -44
- package/content/packages/github-action-effects/api/interface/provisionoptions.md +0 -52
- package/content/packages/github-action-effects/api/interface/publishtarballresult.md +0 -28
- package/content/packages/github-action-effects/api/interface/pullrequestcommentteststate.md +0 -35
- package/content/packages/github-action-effects/api/interface/pullrequestfile.md +0 -32
- package/content/packages/github-action-effects/api/interface/pullrequestinfo.md +0 -106
- package/content/packages/github-action-effects/api/interface/pullrequestlistoptions.md +0 -60
- package/content/packages/github-action-effects/api/interface/pullrequestrecord.md +0 -74
- package/content/packages/github-action-effects/api/interface/pullrequestteststate.md +0 -54
- package/content/packages/github-action-effects/api/interface/ratelimiterteststate.md +0 -44
- package/content/packages/github-action-effects/api/interface/registrytarget.md +0 -52
- package/content/packages/github-action-effects/api/interface/releaseasset.md +0 -44
- package/content/packages/github-action-effects/api/interface/releasedata.md +0 -62
- package/content/packages/github-action-effects/api/interface/report_2.md +0 -76
- package/content/packages/github-action-effects/api/interface/resilienceoptions.md +0 -52
- package/content/packages/github-action-effects/api/interface/resolveddependency.md +0 -44
- package/content/packages/github-action-effects/api/interface/restresponse.md +0 -26
- package/content/packages/github-action-effects/api/interface/s3blobstoreconfig.md +0 -62
- package/content/packages/github-action-effects/api/interface/sbomattestationinput.md +0 -44
- package/content/packages/github-action-effects/api/interface/sbomauthor.md +0 -38
- package/content/packages/github-action-effects/api/interface/sbomcontact.md +0 -38
- package/content/packages/github-action-effects/api/interface/sbominput.md +0 -88
- package/content/packages/github-action-effects/api/interface/sbomsupplier.md +0 -44
- package/content/packages/github-action-effects/api/interface/sbomteststate.md +0 -52
- package/content/packages/github-action-effects/api/interface/sigstoresignerconfig.md +0 -32
- package/content/packages/github-action-effects/api/interface/storagerecordinput.md +0 -68
- package/content/packages/github-action-effects/api/interface/tagref.md +0 -34
- package/content/packages/github-action-effects/api/interface/tokenpermissioncheckerteststate.md +0 -32
- package/content/packages/github-action-effects/api/interface/toolinstallerteststate.md +0 -97
- package/content/packages/github-action-effects/api/interface/uploadoptions.md +0 -36
- package/content/packages/github-action-effects/api/interface/uploadresult.md +0 -32
- package/content/packages/github-action-effects/api/interface/workflowdispatchteststate.md +0 -40
- package/content/packages/github-action-effects/api/interface/workflowrunstatus.md +0 -32
- package/content/packages/github-action-effects/api/interface/workspacedetectorteststate.md +0 -32
- package/content/packages/github-action-effects/api/namespace/step.md +0 -16
- package/content/packages/github-action-effects/api/type/actionloglevel.md +0 -16
- package/content/packages/github-action-effects/api/type/annotationlevel.md +0 -18
- package/content/packages/github-action-effects/api/type/bumptype.md +0 -16
- package/content/packages/github-action-effects/api/type/capturedoutput.md +0 -16
- package/content/packages/github-action-effects/api/type/changeset.md +0 -16
- package/content/packages/github-action-effects/api/type/changesetfile.md +0 -16
- package/content/packages/github-action-effects/api/type/checklistitem.md +0 -16
- package/content/packages/github-action-effects/api/type/checkrunconclusion.md +0 -18
- package/content/packages/github-action-effects/api/type/coreservices.md +0 -18
- package/content/packages/github-action-effects/api/type/cyclonedxbom.md +0 -18
- package/content/packages/github-action-effects/api/type/extrapermission.md +0 -18
- package/content/packages/github-action-effects/api/type/filechange.md +0 -16
- package/content/packages/github-action-effects/api/type/githubcontext.md +0 -18
- package/content/packages/github-action-effects/api/type/installationtoken.md +0 -18
- package/content/packages/github-action-effects/api/type/loglevelinput.md +0 -16
- package/content/packages/github-action-effects/api/type/npmpackageinfo.md +0 -16
- package/content/packages/github-action-effects/api/type/packagemanagerinfo.md +0 -18
- package/content/packages/github-action-effects/api/type/packagemanagername.md +0 -18
- package/content/packages/github-action-effects/api/type/permissioncheckresult.md +0 -18
- package/content/packages/github-action-effects/api/type/permissiongap.md +0 -18
- package/content/packages/github-action-effects/api/type/permissionlevel.md +0 -18
- package/content/packages/github-action-effects/api/type/ratelimitstatus.md +0 -18
- package/content/packages/github-action-effects/api/type/registrytype.md +0 -18
- package/content/packages/github-action-effects/api/type/runnercontext.md +0 -18
- package/content/packages/github-action-effects/api/type/status.md +0 -16
- package/content/packages/github-action-effects/api/type/treeentry.md +0 -16
- package/content/packages/github-action-effects/api/type/webhookpayload.md +0 -18
- package/content/packages/github-action-effects/api/type/workspaceinfo.md +0 -16
- package/content/packages/github-action-effects/api/type/workspacepackage.md +0 -16
- package/content/packages/github-action-effects/api/type/workspacetype.md +0 -16
- package/content/packages/github-action-effects/api/variable/action.md +0 -41
- package/content/packages/github-action-effects/api/variable/actioncachelive.md +0 -18
- package/content/packages/github-action-effects/api/variable/actioncachetest.md +0 -29
- package/content/packages/github-action-effects/api/variable/actionenvironmentlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/actionenvironmenttest.md +0 -21
- package/content/packages/github-action-effects/api/variable/actioninput.md +0 -31
- package/content/packages/github-action-effects/api/variable/actionloggerlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/actionloggertest.md +0 -29
- package/content/packages/github-action-effects/api/variable/actionloglevel.md +0 -18
- package/content/packages/github-action-effects/api/variable/actionoutputslive.md +0 -16
- package/content/packages/github-action-effects/api/variable/actionoutputstest.md +0 -29
- package/content/packages/github-action-effects/api/variable/actionsconfigprovider.md +0 -27
- package/content/packages/github-action-effects/api/variable/actionslogger.md +0 -18
- package/content/packages/github-action-effects/api/variable/actionsruntime.md +0 -36
- package/content/packages/github-action-effects/api/variable/actionstatelive.md +0 -16
- package/content/packages/github-action-effects/api/variable/actionstatetest.md +0 -29
- package/content/packages/github-action-effects/api/variable/artifactlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/artifacttest.md +0 -29
- package/content/packages/github-action-effects/api/variable/attestlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/attesttest.md +0 -21
- package/content/packages/github-action-effects/api/variable/automerge.md +0 -21
- package/content/packages/github-action-effects/api/variable/blobstoretest.md +0 -21
- package/content/packages/github-action-effects/api/variable/bumptype.md +0 -18
- package/content/packages/github-action-effects/api/variable/capturedoutput.md +0 -21
- package/content/packages/github-action-effects/api/variable/changeset.md +0 -25
- package/content/packages/github-action-effects/api/variable/changesetanalyzerlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/changesetanalyzertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/changesetfile.md +0 -21
- package/content/packages/github-action-effects/api/variable/checklistitem.md +0 -21
- package/content/packages/github-action-effects/api/variable/checkrunlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/checkruntest.md +0 -21
- package/content/packages/github-action-effects/api/variable/commandrunnerlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/commandrunnertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/configloaderlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/configloadertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/cyclonedx_bom.md +0 -18
- package/content/packages/github-action-effects/api/variable/dryruntest.md +0 -24
- package/content/packages/github-action-effects/api/variable/erroraccumulator.md +0 -21
- package/content/packages/github-action-effects/api/variable/extrapermission.md +0 -21
- package/content/packages/github-action-effects/api/variable/filechange.md +0 -24
- package/content/packages/github-action-effects/api/variable/filechangecontent.md +0 -21
- package/content/packages/github-action-effects/api/variable/filechangedeletion.md +0 -21
- package/content/packages/github-action-effects/api/variable/gitbranchlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/gitbranchtest.md +0 -21
- package/content/packages/github-action-effects/api/variable/gitcommitlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/gitcommittest.md +0 -21
- package/content/packages/github-action-effects/api/variable/github_build_type.md +0 -18
- package/content/packages/github-action-effects/api/variable/githubapplive.md +0 -18
- package/content/packages/github-action-effects/api/variable/githubapptest.md +0 -21
- package/content/packages/github-action-effects/api/variable/githubartifactmetadatalive.md +0 -18
- package/content/packages/github-action-effects/api/variable/githubartifactmetadatatest.md +0 -24
- package/content/packages/github-action-effects/api/variable/githubblobstorelive.md +0 -18
- package/content/packages/github-action-effects/api/variable/githubclientlive.md +0 -26
- package/content/packages/github-action-effects/api/variable/githubclienttest.md +0 -21
- package/content/packages/github-action-effects/api/variable/githubcommitlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/githubcommittest.md +0 -21
- package/content/packages/github-action-effects/api/variable/githubcontentlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/githubcontenttest.md +0 -21
- package/content/packages/github-action-effects/api/variable/githubcontext.md +0 -35
- package/content/packages/github-action-effects/api/variable/githubgraphqllive.md +0 -18
- package/content/packages/github-action-effects/api/variable/githubgraphqltest.md +0 -24
- package/content/packages/github-action-effects/api/variable/githubissuelive.md +0 -16
- package/content/packages/github-action-effects/api/variable/githubissuetest.md +0 -24
- package/content/packages/github-action-effects/api/variable/githubmarkdown.md +0 -45
- package/content/packages/github-action-effects/api/variable/githubreleaselive.md +0 -16
- package/content/packages/github-action-effects/api/variable/githubreleasetest.md +0 -24
- package/content/packages/github-action-effects/api/variable/githubtoken.md +0 -27
- package/content/packages/github-action-effects/api/variable/gittaglive.md +0 -16
- package/content/packages/github-action-effects/api/variable/gittagtest.md +0 -24
- package/content/packages/github-action-effects/api/variable/globlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/globtest.md +0 -30
- package/content/packages/github-action-effects/api/variable/in_toto_payload_type.md +0 -18
- package/content/packages/github-action-effects/api/variable/in_toto_statement_v1.md +0 -18
- package/content/packages/github-action-effects/api/variable/installationtoken.md +0 -28
- package/content/packages/github-action-effects/api/variable/ioutil.md +0 -22
- package/content/packages/github-action-effects/api/variable/loglevelinput.md +0 -18
- package/content/packages/github-action-effects/api/variable/npmpackageinfo.md +0 -24
- package/content/packages/github-action-effects/api/variable/npmregistrylive.md +0 -18
- package/content/packages/github-action-effects/api/variable/npmregistrytest.md +0 -21
- package/content/packages/github-action-effects/api/variable/octokitauthapplive.md +0 -18
- package/content/packages/github-action-effects/api/variable/oidctokenissuerlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/oidctokenissuertest.md +0 -18
- package/content/packages/github-action-effects/api/variable/packagemanageradapterlive.md +0 -19
- package/content/packages/github-action-effects/api/variable/packagemanageradaptertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/packagemanagerinfo.md +0 -22
- package/content/packages/github-action-effects/api/variable/packagemanagername.md +0 -18
- package/content/packages/github-action-effects/api/variable/packagepublishlive.md +0 -19
- package/content/packages/github-action-effects/api/variable/packagepublishtest.md +0 -27
- package/content/packages/github-action-effects/api/variable/pathutils.md +0 -31
- package/content/packages/github-action-effects/api/variable/permissioncheckresult.md +0 -31
- package/content/packages/github-action-effects/api/variable/permissiongap.md +0 -22
- package/content/packages/github-action-effects/api/variable/permissionlevel.md +0 -18
- package/content/packages/github-action-effects/api/variable/pullrequestcommentlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/pullrequestcommenttest.md +0 -21
- package/content/packages/github-action-effects/api/variable/pullrequestlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/pullrequesttest.md +0 -21
- package/content/packages/github-action-effects/api/variable/ratelimiterlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/ratelimitertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/ratelimitstatus.md +0 -23
- package/content/packages/github-action-effects/api/variable/reportbuilder.md +0 -33
- package/content/packages/github-action-effects/api/variable/runnercontext.md +0 -25
- package/content/packages/github-action-effects/api/variable/sbomlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/sbomtest.md +0 -21
- package/content/packages/github-action-effects/api/variable/semverresolver.md +0 -30
- package/content/packages/github-action-effects/api/variable/sigstore_bundle_v0_3_media_type.md +0 -18
- package/content/packages/github-action-effects/api/variable/sigstore_oidc_audience.md +0 -18
- package/content/packages/github-action-effects/api/variable/sigstoresignerlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/sigstoresignertest.md +0 -18
- package/content/packages/github-action-effects/api/variable/slsa_provenance_v1.md +0 -18
- package/content/packages/github-action-effects/api/variable/spdx_v2_3.md +0 -18
- package/content/packages/github-action-effects/api/variable/status.md +0 -18
- package/content/packages/github-action-effects/api/variable/tokenpermissioncheckertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/toolinstallerlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/toolinstallertest.md +0 -21
- package/content/packages/github-action-effects/api/variable/treeentry.md +0 -26
- package/content/packages/github-action-effects/api/variable/treeentrycontent.md +0 -22
- package/content/packages/github-action-effects/api/variable/treeentrydeletion.md +0 -22
- package/content/packages/github-action-effects/api/variable/webhookpayload.md +0 -51
- package/content/packages/github-action-effects/api/variable/workflowdispatchlive.md +0 -16
- package/content/packages/github-action-effects/api/variable/workflowdispatchtest.md +0 -21
- package/content/packages/github-action-effects/api/variable/workspacedetectorlive.md +0 -18
- package/content/packages/github-action-effects/api/variable/workspacedetectortest.md +0 -21
- package/content/packages/github-action-effects/api/variable/workspaceinfo.md +0 -22
- package/content/packages/github-action-effects/api/variable/workspacepackage.md +0 -24
- package/content/packages/github-action-effects/api/variable/workspacetype.md +0 -18
- package/content/packages/github-action-effects/api.md +0 -386
- package/content/packages/mcp/resource-taxonomy.md +0 -63
- package/content/packages/rspress-builder/api/function/build.md +0 -18
- package/content/packages/rspress-builder/api/function/defineplugin.md +0 -18
- package/content/packages/rspress-builder/api/interface/rspressbundleoptions.md +0 -28
- package/content/packages/rspress-builder/api/interface/rspresspluginoptions.md +0 -76
- package/content/packages/rspress-builder/api.md +0 -22
- package/content/packages/silk/export-map.md +0 -67
- package/content/packages/silk/install-and-setup.md +0 -59
- package/content/packages/silk-effects/api/class/analyzedworkspace.md +0 -121
- package/content/packages/silk-effects/api/class/biomeschemasync.md +0 -33
- package/content/packages/silk-effects/api/class/biomesyncerror.md +0 -41
- package/content/packages/silk-effects/api/class/changesetconfig.md +0 -28
- package/content/packages/silk-effects/api/class/changesetconfigerror.md +0 -41
- package/content/packages/silk-effects/api/class/changesetconfigreader.md +0 -33
- package/content/packages/silk-effects/api/class/configdiscovery.md +0 -33
- package/content/packages/silk-effects/api/class/confignotfounderror.md +0 -41
- package/content/packages/silk-effects/api/class/managedsection.md +0 -18
- package/content/packages/silk-effects/api/class/resolvedtool.md +0 -62
- package/content/packages/silk-effects/api/class/sectionblock.md +0 -95
- package/content/packages/silk-effects/api/class/sectiondefinition.md +0 -104
- package/content/packages/silk-effects/api/class/sectionparseerror.md +0 -41
- package/content/packages/silk-effects/api/class/sectionvalidationerror.md +0 -41
- package/content/packages/silk-effects/api/class/sectionwriteerror.md +0 -41
- package/content/packages/silk-effects/api/class/shellsectiondefinition.md +0 -56
- package/content/packages/silk-effects/api/class/silkpublishability.md +0 -46
- package/content/packages/silk-effects/api/class/silkpublishconfig.md +0 -18
- package/content/packages/silk-effects/api/class/silkworkspaceanalyzer.md +0 -33
- package/content/packages/silk-effects/api/class/tagformaterror.md +0 -48
- package/content/packages/silk-effects/api/class/tagstrategy.md +0 -32
- package/content/packages/silk-effects/api/class/toolcommand.md +0 -76
- package/content/packages/silk-effects/api/class/tooldefinition.md +0 -73
- package/content/packages/silk-effects/api/class/tooldiscovery.md +0 -35
- package/content/packages/silk-effects/api/class/toolnotfounderror.md +0 -39
- package/content/packages/silk-effects/api/class/toolresolutionerror.md +0 -39
- package/content/packages/silk-effects/api/class/toolversionmismatcherror.md +0 -46
- package/content/packages/silk-effects/api/class/versioningdetectionerror.md +0 -34
- package/content/packages/silk-effects/api/class/versioningstrategy.md +0 -34
- package/content/packages/silk-effects/api/class/workspaceanalysis.md +0 -94
- package/content/packages/silk-effects/api/class/workspaceanalysiserror.md +0 -41
- package/content/packages/silk-effects/api/function/buildschemaurl.md +0 -26
- package/content/packages/silk-effects/api/function/extractsemver.md +0 -26
- package/content/packages/silk-effects/api/function/readtargetsbinding.md +0 -23
- package/content/packages/silk-effects/api/function/savvybasepreamble.md +0 -22
- package/content/packages/silk-effects/api/function/savvyhookshygiene.md +0 -22
- package/content/packages/silk-effects/api/function/savvytoolsection.md +0 -37
- package/content/packages/silk-effects/api/interface/commitlintplugin.md +0 -26
- package/content/packages/silk-effects/api/interface/commitlintuserconfig.md +0 -76
- package/content/packages/silk-effects/api/interface/promptconfig.md +0 -38
- package/content/packages/silk-effects/api/interface/promptsettings.md +0 -32
- package/content/packages/silk-effects/api/interface/publishablepackage.md +0 -44
- package/content/packages/silk-effects/api/interface/rawpackagejson.md +0 -44
- package/content/packages/silk-effects/api/interface/rawpublishconfig.md +0 -44
- package/content/packages/silk-effects/api/interface/rawtargetobject.md +0 -44
- package/content/packages/silk-effects/api/interface/rulesconfig.md +0 -26
- package/content/packages/silk-effects/api/interface/targetbinding.md +0 -52
- package/content/packages/silk-effects/api/interface/targetgroupbinding.md +0 -44
- package/content/packages/silk-effects/api/interface/targetsbinding.md +0 -32
- package/content/packages/silk-effects/api/namespace/changesets.md +0 -16
- package/content/packages/silk-effects/api/namespace/commitlint.md +0 -16
- package/content/packages/silk-effects/api/namespace/lint.md +0 -16
- package/content/packages/silk-effects/api/namespace/turbo.md +0 -16
- package/content/packages/silk-effects/api/type/biomesyncoptions.md +0 -16
- package/content/packages/silk-effects/api/type/biomesyncresult.md +0 -16
- package/content/packages/silk-effects/api/type/changesetconfigfile.md +0 -16
- package/content/packages/silk-effects/api/type/changesetmode.md +0 -18
- package/content/packages/silk-effects/api/type/checkresult.md +0 -16
- package/content/packages/silk-effects/api/type/checkresultdefinition.md +0 -24
- package/content/packages/silk-effects/api/type/commentstyle.md +0 -16
- package/content/packages/silk-effects/api/type/configdiscoveryoptions.md +0 -16
- package/content/packages/silk-effects/api/type/configlocation.md +0 -16
- package/content/packages/silk-effects/api/type/configsource.md +0 -16
- package/content/packages/silk-effects/api/type/rawpublishtargets.md +0 -18
- package/content/packages/silk-effects/api/type/rawtargetvalue.md +0 -18
- package/content/packages/silk-effects/api/type/resolutionpolicy.md +0 -16
- package/content/packages/silk-effects/api/type/resolutionpolicydefinition.md +0 -23
- package/content/packages/silk-effects/api/type/ruleapplicability.md +0 -18
- package/content/packages/silk-effects/api/type/ruleconfigtuple.md +0 -18
- package/content/packages/silk-effects/api/type/ruleseverity.md +0 -18
- package/content/packages/silk-effects/api/type/sectiondiff.md +0 -16
- package/content/packages/silk-effects/api/type/sectiondiffdefinition.md +0 -24
- package/content/packages/silk-effects/api/type/silkchangesetconfigfile.md +0 -16
- package/content/packages/silk-effects/api/type/sourcerequirement.md +0 -16
- package/content/packages/silk-effects/api/type/sourcerequirementdefinition.md +0 -23
- package/content/packages/silk-effects/api/type/syncresult.md +0 -16
- package/content/packages/silk-effects/api/type/syncresultdefinition.md +0 -24
- package/content/packages/silk-effects/api/type/tagstrategytype.md +0 -16
- package/content/packages/silk-effects/api/type/toolsource.md +0 -16
- package/content/packages/silk-effects/api/type/versionextractor.md +0 -16
- package/content/packages/silk-effects/api/type/versionextractordefinition.md +0 -28
- package/content/packages/silk-effects/api/type/versioningstrategyresult.md +0 -16
- package/content/packages/silk-effects/api/type/versioningstrategytype.md +0 -16
- package/content/packages/silk-effects/api/variable/biomeschemasynclive.md +0 -18
- package/content/packages/silk-effects/api/variable/biomesyncoptions.md +0 -23
- package/content/packages/silk-effects/api/variable/biomesyncresult.md +0 -22
- package/content/packages/silk-effects/api/variable/changesetconfigfile.md +0 -36
- package/content/packages/silk-effects/api/variable/changesetconfiglive.md +0 -18
- package/content/packages/silk-effects/api/variable/changesetconfigreaderlive.md +0 -18
- package/content/packages/silk-effects/api/variable/checkresult.md +0 -70
- package/content/packages/silk-effects/api/variable/commentstyle.md +0 -18
- package/content/packages/silk-effects/api/variable/configdiscoverylive.md +0 -18
- package/content/packages/silk-effects/api/variable/configdiscoveryoptions.md +0 -21
- package/content/packages/silk-effects/api/variable/configlocation.md +0 -21
- package/content/packages/silk-effects/api/variable/configsource.md +0 -18
- package/content/packages/silk-effects/api/variable/managedsectionlive.md +0 -18
- package/content/packages/silk-effects/api/variable/publishabilitydetectoradaptivelive.md +0 -19
- package/content/packages/silk-effects/api/variable/resolutionpolicy.md +0 -92
- package/content/packages/silk-effects/api/variable/savvybasesection.md +0 -25
- package/content/packages/silk-effects/api/variable/savvyhookssection.md +0 -18
- package/content/packages/silk-effects/api/variable/sectiondiff.md +0 -70
- package/content/packages/silk-effects/api/variable/silkchangesetconfigfile.md +0 -40
- package/content/packages/silk-effects/api/variable/silkpublishabilitydetectorlive.md +0 -18
- package/content/packages/silk-effects/api/variable/silkworkspaceanalyzerlive.md +0 -20
- package/content/packages/silk-effects/api/variable/sourcerequirement.md +0 -92
- package/content/packages/silk-effects/api/variable/syncresult.md +0 -81
- package/content/packages/silk-effects/api/variable/tagstrategylive.md +0 -18
- package/content/packages/silk-effects/api/variable/tagstrategytype.md +0 -18
- package/content/packages/silk-effects/api/variable/tooldiscoverylive.md +0 -19
- package/content/packages/silk-effects/api/variable/toolsource.md +0 -18
- package/content/packages/silk-effects/api/variable/versionextractor.md +0 -99
- package/content/packages/silk-effects/api/variable/versioningstrategylive.md +0 -18
- package/content/packages/silk-effects/api/variable/versioningstrategyresult.md +0 -22
- package/content/packages/silk-effects/api/variable/versioningstrategytype.md +0 -18
- package/content/packages/silk-effects/api.md +0 -144
- package/content/packages/silk-effects/index.md +0 -76
- package/content/packages/silk-effects/managed-section.md +0 -84
- package/content/packages/silk-effects/platform-layers.md +0 -94
- package/content/packages/templates/api/function/createbiome.md +0 -26
- package/content/packages/templates/api/function/createchangeset.md +0 -26
- package/content/packages/templates/api/function/creategitignore.md +0 -26
- package/content/packages/templates/api/function/createpackagejson.md +0 -26
- package/content/packages/templates/api/function/createpnpmworkspace.md +0 -26
- package/content/packages/templates/api/function/createreadme.md +0 -26
- package/content/packages/templates/api/function/createtsconfig.md +0 -26
- package/content/packages/templates/api/function/createturboroot.md +0 -26
- package/content/packages/templates/api/function/createturboworkspace.md +0 -26
- package/content/packages/templates/api/function/createvscode.md +0 -26
- package/content/packages/templates/api/function/createworkspace.md +0 -26
- package/content/packages/templates/api/interface/templateentry.md +0 -44
- package/content/packages/templates/api/type/biomeoptionstype.md +0 -18
- package/content/packages/templates/api/type/changesetoptionstype.md +0 -18
- package/content/packages/templates/api/type/gitignoreoptionstype.md +0 -18
- package/content/packages/templates/api/type/packagejsonoptionstype.md +0 -18
- package/content/packages/templates/api/type/pnpmworkspaceoptionstype.md +0 -18
- package/content/packages/templates/api/type/readmeoptionstype.md +0 -18
- package/content/packages/templates/api/type/template.md +0 -18
- package/content/packages/templates/api/type/tsconfigoptionstype.md +0 -18
- package/content/packages/templates/api/type/turborootoptionstype.md +0 -18
- package/content/packages/templates/api/type/turboworkspaceoptionstype.md +0 -18
- package/content/packages/templates/api/type/updatetemplate.md +0 -18
- package/content/packages/templates/api/type/vscodeoptionstype.md +0 -18
- package/content/packages/templates/api/type/workspaceoptionstype.md +0 -18
- package/content/packages/templates/api/variable/biomeoptions.md +0 -22
- package/content/packages/templates/api/variable/changesetoptions.md +0 -29
- package/content/packages/templates/api/variable/gitignoreoptions.md +0 -27
- package/content/packages/templates/api/variable/packagejsonoptions.md +0 -60
- package/content/packages/templates/api/variable/pnpmworkspaceoptions.md +0 -23
- package/content/packages/templates/api/variable/readmeoptions.md +0 -21
- package/content/packages/templates/api/variable/tsconfigoptions.md +0 -26
- package/content/packages/templates/api/variable/turborootoptions.md +0 -25
- package/content/packages/templates/api/variable/turboworkspaceoptions.md +0 -20
- package/content/packages/templates/api/variable/vscodeoptions.md +0 -25
- package/content/packages/templates/api/variable/workspaceoptions.md +0 -33
- package/content/packages/templates/api.md +0 -60
- package/content/packages/tsdown-plugins/api/class/buildcollector.md +0 -62
- package/content/packages/tsdown-plugins/api/class/buildcollectortag.md +0 -16
- package/content/packages/tsdown-plugins/api/class/buildreport.md +0 -16
- package/content/packages/tsdown-plugins/api/class/configvalidationerror.md +0 -41
- package/content/packages/tsdown-plugins/api/class/configvalidator.md +0 -18
- package/content/packages/tsdown-plugins/api/class/diagnosticentry.md +0 -18
- package/content/packages/tsdown-plugins/api/class/emittedfile.md +0 -18
- package/content/packages/tsdown-plugins/api/class/environmentdetector.md +0 -16
- package/content/packages/tsdown-plugins/api/class/executorresolver.md +0 -16
- package/content/packages/tsdown-plugins/api/class/formatselector.md +0 -16
- package/content/packages/tsdown-plugins/api/class/metagenerationerror.md +0 -41
- package/content/packages/tsdown-plugins/api/class/outputrenderer.md +0 -16
- package/content/packages/tsdown-plugins/api/class/passreport.md +0 -18
- package/content/packages/tsdown-plugins/api/class/reporttimings.md +0 -16
- package/content/packages/tsdown-plugins/api/class/targetgroupreport.md +0 -16
- package/content/packages/tsdown-plugins/api/class/tsconfigresolver.md +0 -84
- package/content/packages/tsdown-plugins/api/function/ambientoutname.md +0 -18
- package/content/packages/tsdown-plugins/api/function/analyzereexportbarrel.md +0 -18
- package/content/packages/tsdown-plugins/api/function/applysubdirmetaentries.md +0 -21
- package/content/packages/tsdown-plugins/api/function/assertnoentrycollisions.md +0 -18
- package/content/packages/tsdown-plugins/api/function/buildemittedmanifest.md +0 -18
- package/content/packages/tsdown-plugins/api/function/buildmetricsplugin.md +0 -18
- package/content/packages/tsdown-plugins/api/function/buildresolvedtsconfig.md +0 -18
- package/content/packages/tsdown-plugins/api/function/buildtargetgroups.md +0 -18
- package/content/packages/tsdown-plugins/api/function/cjsdefaultinterop.md +0 -18
- package/content/packages/tsdown-plugins/api/function/classifydtsexport.md +0 -18
- package/content/packages/tsdown-plugins/api/function/collectexportnames.md +0 -18
- package/content/packages/tsdown-plugins/api/function/computeexefilename.md +0 -18
- package/content/packages/tsdown-plugins/api/function/copyambientdts.md +0 -18
- package/content/packages/tsdown-plugins/api/function/copypublicdir.md +0 -18
- package/content/packages/tsdown-plugins/api/function/createtimer.md +0 -18
- package/content/packages/tsdown-plugins/api/function/createtsdownlogger.md +0 -18
- package/content/packages/tsdown-plugins/api/function/declarationext.md +0 -18
- package/content/packages/tsdown-plugins/api/function/defaultmanifesttransform.md +0 -20
- package/content/packages/tsdown-plugins/api/function/deriveexportpaths.md +0 -18
- package/content/packages/tsdown-plugins/api/function/derivetargetgroupoptions.md +0 -18
- package/content/packages/tsdown-plugins/api/function/emitmanifest.md +0 -18
- package/content/packages/tsdown-plugins/api/function/extractambientdts.md +0 -18
- package/content/packages/tsdown-plugins/api/function/extractentries.md +0 -16
- package/content/packages/tsdown-plugins/api/function/findrelativespecifiers.md +0 -21
- package/content/packages/tsdown-plugins/api/function/flattenissues.md +0 -21
- package/content/packages/tsdown-plugins/api/function/formattime.md +0 -16
- package/content/packages/tsdown-plugins/api/function/generatemeta.md +0 -18
- package/content/packages/tsdown-plugins/api/function/istargetobject.md +0 -18
- package/content/packages/tsdown-plugins/api/function/mixeddtsexporterror.md +0 -18
- package/content/packages/tsdown-plugins/api/function/nodebuiltindefaultinterop.md +0 -18
- package/content/packages/tsdown-plugins/api/function/normalizebinpaths.md +0 -18
- package/content/packages/tsdown-plugins/api/function/normalizeexeoptions.md +0 -18
- package/content/packages/tsdown-plugins/api/function/normalizeloosefiles.md +0 -18
- package/content/packages/tsdown-plugins/api/function/normalizemetaoptions.md +0 -21
- package/content/packages/tsdown-plugins/api/function/packagejsonentries.md +0 -18
- package/content/packages/tsdown-plugins/api/function/readtsconfigjsx.md +0 -18
- package/content/packages/tsdown-plugins/api/function/removedeclarationmaps.md +0 -18
- package/content/packages/tsdown-plugins/api/function/renderreexportstub.md +0 -22
- package/content/packages/tsdown-plugins/api/function/renderreport.md +0 -17
- package/content/packages/tsdown-plugins/api/function/resolvejsxconfig.md +0 -18
- package/content/packages/tsdown-plugins/api/function/resolvemanifest.md +0 -18
- package/content/packages/tsdown-plugins/api/function/resolvenextversions.md +0 -18
- package/content/packages/tsdown-plugins/api/function/resolveportabletsconfig.md +0 -27
- package/content/packages/tsdown-plugins/api/function/resolvetargets.md +0 -21
- package/content/packages/tsdown-plugins/api/function/rewritemetaversions.md +0 -18
- package/content/packages/tsdown-plugins/api/function/runexebuild.md +0 -18
- package/content/packages/tsdown-plugins/api/function/runmetapass.md +0 -18
- package/content/packages/tsdown-plugins/api/function/serializeissues.md +0 -18
- package/content/packages/tsdown-plugins/api/function/transformbin.md +0 -18
- package/content/packages/tsdown-plugins/api/function/transformexports.md +0 -18
- package/content/packages/tsdown-plugins/api/function/transformmanifest.md +0 -18
- package/content/packages/tsdown-plugins/api/function/writedtsemittsconfig.md +0 -18
- package/content/packages/tsdown-plugins/api/function/writeissuesartifact.md +0 -23
- package/content/packages/tsdown-plugins/api/function/writeresolvedtsconfig.md +0 -18
- package/content/packages/tsdown-plugins/api/function/writetargetsbinding.md +0 -18
- package/content/packages/tsdown-plugins/api/interface/ambientdtsentry.md +0 -38
- package/content/packages/tsdown-plugins/api/interface/buildemittedmanifestoptions.md +0 -69
- package/content/packages/tsdown-plugins/api/interface/buildgroupspec.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/buildissues.md +0 -56
- package/content/packages/tsdown-plugins/api/interface/buildtargetgroupsoptions.md +0 -205
- package/content/packages/tsdown-plugins/api/interface/copyambientdtsoptions.md +0 -42
- package/content/packages/tsdown-plugins/api/interface/cssoptions.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/derivedtsdownoptions.md +0 -106
- package/content/packages/tsdown-plugins/api/interface/deriveoptions.md +0 -100
- package/content/packages/tsdown-plugins/api/interface/diagnosticinput.md +0 -66
- package/content/packages/tsdown-plugins/api/interface/emitmanifestoptions.md +0 -71
- package/content/packages/tsdown-plugins/api/interface/entryoverride.md +0 -86
- package/content/packages/tsdown-plugins/api/interface/execonfig.md +0 -60
- package/content/packages/tsdown-plugins/api/interface/exerewrite.md +0 -44
- package/content/packages/tsdown-plugins/api/interface/exeseaconfig.md +0 -38
- package/content/packages/tsdown-plugins/api/interface/exetarget.md +0 -38
- package/content/packages/tsdown-plugins/api/interface/exetargetinput.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/extractambientoptions.md +0 -24
- package/content/packages/tsdown-plugins/api/interface/extractoptions.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/extractresult.md +0 -34
- package/content/packages/tsdown-plugins/api/interface/formatter.md +0 -30
- package/content/packages/tsdown-plugins/api/interface/formattercontext.md +0 -30
- package/content/packages/tsdown-plugins/api/interface/generatemetaoptions.md +0 -124
- package/content/packages/tsdown-plugins/api/interface/jsxconfig.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/loosefilespec.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/metaoptions.md +0 -42
- package/content/packages/tsdown-plugins/api/interface/metaresult.md +0 -30
- package/content/packages/tsdown-plugins/api/interface/moduleexportnames.md +0 -34
- package/content/packages/tsdown-plugins/api/interface/nextversions.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/normalizedexe.md +0 -48
- package/content/packages/tsdown-plugins/api/interface/normalizedloosefile.md +0 -60
- package/content/packages/tsdown-plugins/api/interface/normalizedmeta.md +0 -41
- package/content/packages/tsdown-plugins/api/interface/packagejsonentriesoptions.md +0 -34
- package/content/packages/tsdown-plugins/api/interface/packagejsonlike.md +0 -30
- package/content/packages/tsdown-plugins/api/interface/pkgoscpu.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/plaindiagnostic.md +0 -68
- package/content/packages/tsdown-plugins/api/interface/portabletsconfig.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/publishtargetobject.md +0 -44
- package/content/packages/tsdown-plugins/api/interface/reexportbarrelanalysis.md +0 -44
- package/content/packages/tsdown-plugins/api/interface/renderedoutput.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/renderreportoptions.md +0 -44
- package/content/packages/tsdown-plugins/api/interface/resolvedcompileroptions.md +0 -26
- package/content/packages/tsdown-plugins/api/interface/resolvedgroup.md +0 -44
- package/content/packages/tsdown-plugins/api/interface/resolvedtarget.md +0 -52
- package/content/packages/tsdown-plugins/api/interface/resolvedtsconfig.md +0 -36
- package/content/packages/tsdown-plugins/api/interface/resolvedtsconfigoptions.md +0 -50
- package/content/packages/tsdown-plugins/api/interface/runexebuildoptions.md +0 -74
- package/content/packages/tsdown-plugins/api/interface/runmetapassoptions.md +0 -104
- package/content/packages/tsdown-plugins/api/interface/targetgroupref.md +0 -38
- package/content/packages/tsdown-plugins/api/interface/targetresolution.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/timer.md +0 -30
- package/content/packages/tsdown-plugins/api/interface/transformmanifestoptions.md +0 -50
- package/content/packages/tsdown-plugins/api/interface/tsconfigjsx.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/tsdocoptions.md +0 -32
- package/content/packages/tsdown-plugins/api/interface/tsdoctagdefinition.md +0 -38
- package/content/packages/tsdown-plugins/api/interface/tsdownlogger.md +0 -62
- package/content/packages/tsdown-plugins/api/interface/validationinput.md +0 -69
- package/content/packages/tsdown-plugins/api/interface/warningsuppressionrule.md +0 -32
- package/content/packages/tsdown-plugins/api/type/buildformat.md +0 -18
- package/content/packages/tsdown-plugins/api/type/buildplatform.md +0 -18
- package/content/packages/tsdown-plugins/api/type/dtsexportclass.md +0 -25
- package/content/packages/tsdown-plugins/api/type/dualexports.md +0 -18
- package/content/packages/tsdown-plugins/api/type/environment.md +0 -16
- package/content/packages/tsdown-plugins/api/type/exebuild.md +0 -18
- package/content/packages/tsdown-plugins/api/type/executor.md +0 -16
- package/content/packages/tsdown-plugins/api/type/json.md +0 -16
- package/content/packages/tsdown-plugins/api/type/loosefiles.md +0 -18
- package/content/packages/tsdown-plugins/api/type/outputformat.md +0 -16
- package/content/packages/tsdown-plugins/api/type/passkind.md +0 -16
- package/content/packages/tsdown-plugins/api/type/publishtargets.md +0 -18
- package/content/packages/tsdown-plugins/api/type/publishtargetvalue.md +0 -18
- package/content/packages/tsdown-plugins/api/type/targetgroupid.md +0 -18
- package/content/packages/tsdown-plugins/api/type/tsdownbuild.md +0 -18
- package/content/packages/tsdown-plugins/api/variable/ciannotationsformatter.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/configvalidatorlive.md +0 -18
- package/content/packages/tsdown-plugins/api/variable/default_exe_node_version.md +0 -18
- package/content/packages/tsdown-plugins/api/variable/environmentdetectorlive.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/executorresolverlive.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/formatselectorlive.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/jsonformatter.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/markdownformatter.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/outputrendererlive.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/reportpipelinelive.md +0 -17
- package/content/packages/tsdown-plugins/api/variable/silentformatter.md +0 -16
- package/content/packages/tsdown-plugins/api/variable/terminalformatter.md +0 -16
- package/content/packages/tsdown-plugins/api.md +0 -183
- package/content/standards/api-model-pipeline.md +0 -64
- package/content/standards/catalog-usage.md +0 -48
- package/content/standards/changeset-discipline.md +0 -52
- package/content/standards/changeset-format.md +0 -132
- package/content/standards/commit-contract.md +0 -58
- package/content/standards/dependency-conventions.md +0 -82
- package/content/standards/linting-conventions.md +0 -47
- package/content/standards/publishability.md +0 -57
- package/content/standards/semver.md +0 -51
- package/content/standards/test-classification.md +0 -49
- package/content/standards/turbo/best-practices.md +0 -76
- package/content/standards/turbo/boundaries.md +0 -72
- package/content/standards/turbo/ci.md +0 -69
- package/content/standards/turbo/environment.md +0 -64
- package/content/standards/turbo/filtering.md +0 -72
- package/content/standards/turbo/watch.md +0 -64
- package/content/tags.json +0 -32
- package/resources/catalog.js +0 -29
- package/resources/doc-index.js +0 -112
- package/resources/index.js +0 -57
- package/resources/load.js +0 -38
- package/resources/paths.js +0 -23
- package/resources/query-log.js +0 -20
- package/resources/schema.js +0 -40
- package/tools/docs-search.js +0 -59
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: guides/api-docs-from-api-extractor
|
|
3
|
-
title: Generating API docs from API Extractor
|
|
4
|
-
summary: Configure the meta option, build the model, and render LLM-lean markdown with api-extractor-llms.
|
|
5
|
-
tier: guides
|
|
6
|
-
source: hand
|
|
7
|
-
tags: [api, build]
|
|
8
|
-
priority: 0.5
|
|
9
|
-
related: [standards/api-model-pipeline, packages/bundler/overview]
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Overview
|
|
13
|
-
|
|
14
|
-
The Silk Suite generates API-reference docs from Microsoft API Extractor models
|
|
15
|
-
rather than hand-authoring them. The pipeline has three stages: emit a model,
|
|
16
|
-
render it to markdown, and compile rendered docs into the MCP resource corpus.
|
|
17
|
-
This guide walks through each stage as implemented in this repo.
|
|
18
|
-
|
|
19
|
-
For the policy contract (what is generated, what must not be edited, where docs
|
|
20
|
-
land), see `silk://standards/api-model-pipeline`.
|
|
21
|
-
|
|
22
|
-
## Step 1 — Emit the API model from the build
|
|
23
|
-
|
|
24
|
-
A library built by `@savvy-web/bundler` emits an API Extractor model on its
|
|
25
|
-
production build by default — there is nothing to enable. The model is controlled
|
|
26
|
-
by the `meta` option in `savvy.build.ts`:
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import { defineBuild, runBuild } from "@savvy-web/bundler";
|
|
30
|
-
|
|
31
|
-
const config = defineBuild({
|
|
32
|
-
// meta omitted → API model is generated with default options on --target prod.
|
|
33
|
-
// Pass an object only to override defaults, e.g. to register custom TSDoc tags:
|
|
34
|
-
meta: {
|
|
35
|
-
tsdoc: {
|
|
36
|
-
tagDefinitions: [{ tagName: "@since", syntaxKind: "block" }],
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
export default config;
|
|
42
|
-
|
|
43
|
-
if (import.meta.main) {
|
|
44
|
-
await runBuild(config, { cwd: import.meta.dirname, argv: process.argv.slice(2) });
|
|
45
|
-
}
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Omitting `meta` generates the model with defaults; pass `false` to opt out
|
|
49
|
-
entirely (the MCP server itself does this — it is an executable host, not a
|
|
50
|
-
documented API). The entry point and package name are derived from `exports`.
|
|
51
|
-
Only public surfaces are captured; members annotated `@internal` are excluded.
|
|
52
|
-
|
|
53
|
-
See `silk://packages/bundler/overview` for the full builder surface.
|
|
54
|
-
|
|
55
|
-
## Step 2 — Build the model
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
pnpm --filter @savvy-web/your-package run build:prod
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
The production build writes `dist/prod/npm/meta/<unscoped-name>.api.json` and
|
|
62
|
-
stages a copy into each consumer declared in `meta.localPaths` — for the MCP
|
|
63
|
-
corpus that is `packages/mcp/lib/models/<dir>/<unscoped-name>.api.json`. For
|
|
64
|
-
example, `@savvy-web/silk-effects` emits `silk-effects.api.json`. The generator
|
|
65
|
-
reads the staged copy under `lib/models/`, so its inputs stay inside the mcp
|
|
66
|
-
package and Turborepo can cache it.
|
|
67
|
-
|
|
68
|
-
## Step 3 — Render with `api-extractor-llms`
|
|
69
|
-
|
|
70
|
-
The rendering library takes a model path, two injectable callbacks, and returns
|
|
71
|
-
one `RenderedDoc` per top-level public member.
|
|
72
|
-
|
|
73
|
-
### Core API
|
|
74
|
-
|
|
75
|
-
```typescript
|
|
76
|
-
import { loadApiModel, renderPackage } from "api-extractor-llms";
|
|
77
|
-
import type { FrontmatterRenderer, RouteFormatter } from "api-extractor-llms";
|
|
78
|
-
|
|
79
|
-
const pkg = await loadApiModel("/path/to/silk-effects.api.json");
|
|
80
|
-
|
|
81
|
-
const routeFor: RouteFormatter = (ref) =>
|
|
82
|
-
`silk://packages/silk-effects/api/${ref.kind}/${ref.slug}`;
|
|
83
|
-
|
|
84
|
-
const frontmatter: FrontmatterRenderer = (meta) =>
|
|
85
|
-
`---\nid: packages/silk-effects/api/${meta.kind}/${meta.slug}\ntitle: "${meta.name}"\n---\n\n`;
|
|
86
|
-
|
|
87
|
-
const docs = renderPackage(pkg, { packageName: "@savvy-web/silk-effects", routeFor, frontmatter });
|
|
88
|
-
|
|
89
|
-
for (const doc of docs) {
|
|
90
|
-
// doc.markdown = frontmatter block + rendered body
|
|
91
|
-
// doc.kind, doc.name, doc.slug identify the item
|
|
92
|
-
}
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### What `renderPackage` produces
|
|
96
|
-
|
|
97
|
-
For each top-level public member, the shared body renderer emits:
|
|
98
|
-
|
|
99
|
-
- An ATX `# Name` heading
|
|
100
|
-
- The TypeScript signature in a fenced `ts` code block (via `TypeSignatureFormatter`)
|
|
101
|
-
- TSDoc summary paragraph
|
|
102
|
-
- `## Parameters` list with types and descriptions (if any)
|
|
103
|
-
- `## Returns` section (if documented)
|
|
104
|
-
- `## Members` section listing class/interface/namespace members with signatures and summaries
|
|
105
|
-
- `## Examples` blocks with language-tagged fences (from `@example` TSDoc tags)
|
|
106
|
-
- Cross-links in prose resolved through the injected `routeFor` (via `CrossLinker`)
|
|
107
|
-
|
|
108
|
-
The two injectable callbacks — `routeFor` (URL scheme) and `frontmatter` (YAML
|
|
109
|
-
block) — are the only consumer-specific pieces. The body rendering is shared
|
|
110
|
-
across all consumers.
|
|
111
|
-
|
|
112
|
-
## Step 4 — The MCP generator script
|
|
113
|
-
|
|
114
|
-
`packages/mcp/lib/scripts/generate-api-docs.ts` is the reference implementation of
|
|
115
|
-
steps 3 and 4 for the MCP resource corpus. It iterates `API_TARGETS` (defined in
|
|
116
|
-
`packages/mcp/lib/scripts/api-targets.ts`), loads each model, injects silk-specific
|
|
117
|
-
frontmatter and `silk://` crosslink routes, writes one page per symbol under
|
|
118
|
-
`public/content/packages/<dir>/api/<kind>/<slug>.md`, and writes a per-package
|
|
119
|
-
index page at `public/content/packages/<dir>/api.md` (served at the bare
|
|
120
|
-
`silk://packages/<dir>/api` URI).
|
|
121
|
-
|
|
122
|
-
```typescript
|
|
123
|
-
// The silk crosslink scheme
|
|
124
|
-
const routeFor = (target: ApiTarget) => (ref: ApiItemRef) =>
|
|
125
|
-
`silk://${target.idPrefix}/api/${ref.kind}/${ref.slug}`;
|
|
126
|
-
|
|
127
|
-
// The silk frontmatter renderer (derives id, title, summary, tags)
|
|
128
|
-
const frontmatter = (meta: DocMeta) => toYaml(frontMatterFor(target, meta));
|
|
129
|
-
|
|
130
|
-
const docs = renderPackage(pkg, {
|
|
131
|
-
packageName: target.packageName,
|
|
132
|
-
routeFor: routeFor(target),
|
|
133
|
-
frontmatter,
|
|
134
|
-
});
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
Current targets (from `api-targets.ts`): `silk-effects`, `templates`,
|
|
138
|
-
`github-action-effects`, `github-action-builder`, `bundler`, `tsdown-plugins`,
|
|
139
|
-
`rspress-builder`. The MCP package itself and `cli`/`silk` are excluded (a
|
|
140
|
-
generate→mcp build dependency would create a Turborepo cycle; cli and silk are
|
|
141
|
-
not library APIs).
|
|
142
|
-
|
|
143
|
-
## Step 5 — Compile into the corpus
|
|
144
|
-
|
|
145
|
-
After `generate-api-docs.ts` writes the markdown files, `build:catalog` picks them
|
|
146
|
-
up along with hand-authored docs and compiles the unified manifest. Generated docs
|
|
147
|
-
appear in `silk://catalog` marked `(generated)`. The rendered markdown and the
|
|
148
|
-
inflated manifest are committed tracked source — only the raw `.api.json` models
|
|
149
|
-
under `lib/models/` are gitignored — so the published package ships the corpus
|
|
150
|
-
even though a release machine does not regenerate it.
|
|
151
|
-
|
|
152
|
-
In Turborepo the pipeline is:
|
|
153
|
-
|
|
154
|
-
```text
|
|
155
|
-
build:prod (each library) → generate-api-docs → build:catalog → mcp build:prod
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
## Authoring notes
|
|
159
|
-
|
|
160
|
-
- TSDoc coverage determines output quality. Undocumented public members produce
|
|
161
|
-
sparse rendered docs with no summary or parameter descriptions.
|
|
162
|
-
- The slug is the lowercased display name. A class `MyService` maps to
|
|
163
|
-
`silk://packages/foo/api/class/myservice`.
|
|
164
|
-
- Cross-links in prose (`{@link OtherClass}`) resolve only if `OtherClass` is in
|
|
165
|
-
the same package's rendered set.
|
|
166
|
-
- Do not hand-edit files under `public/content/packages/*/api/` (or the `api.md`
|
|
167
|
-
index) — they are overwritten on the next `generate-api-docs` run; change the
|
|
168
|
-
source TSDoc instead.
|
|
169
|
-
|
|
170
|
-
## See also
|
|
171
|
-
|
|
172
|
-
- `silk://standards/api-model-pipeline` — policy: what is generated, provenance
|
|
173
|
-
markers, coverage scope
|
|
174
|
-
- `silk://packages/bundler/overview` — configuring the builder that emits the model
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: guides/building-a-github-action
|
|
3
|
-
title: Building a GitHub Action
|
|
4
|
-
summary: Scaffold a Node.js 24 GitHub Action with @savvy-web/github-action-builder and the github-action-effects services.
|
|
5
|
-
tier: guides
|
|
6
|
-
source: hand
|
|
7
|
-
tags: [github-actions, build]
|
|
8
|
-
priority: 0.5
|
|
9
|
-
related: [guides/choosing-a-builder, standards/api-model-pipeline]
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Overview
|
|
13
|
-
|
|
14
|
-
Two packages work together to build and power Node.js 24 GitHub Actions in the
|
|
15
|
-
Silk Suite:
|
|
16
|
-
|
|
17
|
-
- **`@savvy-web/github-action-builder`** — zero-config rsbuild-based build tool
|
|
18
|
-
that bundles TypeScript source into self-contained ESM files and validates
|
|
19
|
-
`action.yml`
|
|
20
|
-
- **`@savvy-web/github-action-effects`** — Effect service library replacing all
|
|
21
|
-
`@actions/*` packages with native ESM implementations
|
|
22
|
-
|
|
23
|
-
Neither package depends on the other at build time. The builder bundles whatever
|
|
24
|
-
action code you write; the effects library provides the services that code uses.
|
|
25
|
-
|
|
26
|
-
For choosing the right builder, see `silk://guides/choosing-a-builder`. The
|
|
27
|
-
github-action-builder is separate from the library bundler — it targets a
|
|
28
|
-
different output shape (single-file committed ESM bundles, not npm-published
|
|
29
|
-
libraries).
|
|
30
|
-
|
|
31
|
-
## Step 1 — Project structure
|
|
32
|
-
|
|
33
|
-
```text
|
|
34
|
-
my-action/
|
|
35
|
-
├── src/
|
|
36
|
-
│ ├── main.ts # Required — main action logic
|
|
37
|
-
│ ├── pre.ts # Optional — pre-action hook
|
|
38
|
-
│ └── post.ts # Optional — post-action hook
|
|
39
|
-
├── action.yml # GitHub metadata; must have runs.using: "node24"
|
|
40
|
-
└── package.json
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
The builder auto-detects `src/pre.ts` and `src/post.ts` if they exist. Only
|
|
44
|
-
`src/main.ts` is required.
|
|
45
|
-
|
|
46
|
-
`action.yml` must declare `runs.using: "node24"`. The builder validates this and
|
|
47
|
-
fails if any other value is present.
|
|
48
|
-
|
|
49
|
-
## Step 2 — Install and configure the builder
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
pnpm add -D @savvy-web/github-action-builder
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
Zero-config usage — no config file needed:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
github-action-builder build
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Or create an optional `action.config.ts` for customization:
|
|
62
|
-
|
|
63
|
-
```typescript
|
|
64
|
-
import { defineConfig } from "@savvy-web/github-action-builder";
|
|
65
|
-
|
|
66
|
-
export default defineConfig({
|
|
67
|
-
build: {
|
|
68
|
-
minify: true, // default: true
|
|
69
|
-
sourceMap: false, // default: false
|
|
70
|
-
externals: [], // exclude from bundle (must be available at runtime)
|
|
71
|
-
ignore: [], // replace with a throwing stub
|
|
72
|
-
},
|
|
73
|
-
validation: {
|
|
74
|
-
requireActionYml: true,
|
|
75
|
-
strict: undefined, // auto-detects CI; warn locally, error in CI
|
|
76
|
-
},
|
|
77
|
-
persistLocal: {
|
|
78
|
-
enabled: true, // auto-copy to .github/actions/local/ after build
|
|
79
|
-
path: ".github/actions/local",
|
|
80
|
-
},
|
|
81
|
-
});
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### Build output
|
|
85
|
-
|
|
86
|
-
Each detected entry emits one flat ESM file:
|
|
87
|
-
|
|
88
|
-
| Input | Output |
|
|
89
|
-
| --- | --- |
|
|
90
|
-
| `src/main.ts` | `dist/main.js` |
|
|
91
|
-
| `src/pre.ts` | `dist/pre.js` |
|
|
92
|
-
| `src/post.ts` | `dist/post.js` |
|
|
93
|
-
| (generated) | `dist/package.json` |
|
|
94
|
-
|
|
95
|
-
All output files are self-contained ESM bundles. Dynamic `import()` calls are
|
|
96
|
-
folded back into the parent file (`asyncChunks: false`), so `action.yml` can
|
|
97
|
-
always reference a known single-file path.
|
|
98
|
-
|
|
99
|
-
The builder also copies output to `.github/actions/local/` for local testing with
|
|
100
|
-
[nektos/act](https://github.com/nektos/act) unless `persistLocal.enabled: false`.
|
|
101
|
-
|
|
102
|
-
## Step 3 — Write action logic with `github-action-effects`
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
pnpm add @savvy-web/github-action-effects
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
The library provides 37 Effect service interfaces across six domains:
|
|
109
|
-
|
|
110
|
-
| Domain | Services cover |
|
|
111
|
-
| --- | --- |
|
|
112
|
-
| Core action I/O | Outputs, state, logging, environment, cache |
|
|
113
|
-
| Git operations | Branches, commits, tags via Git Data API |
|
|
114
|
-
| GitHub API | REST client, GraphQL, releases, issues, PR lifecycle, check runs, rate limiting |
|
|
115
|
-
| Build tooling | Command execution, npm registry, workspace detection, changeset analysis |
|
|
116
|
-
| Attestation | SLSA statement construction, Sigstore signing, CycloneDX SBOM generation |
|
|
117
|
-
| Runtime layer | GitHub Actions workflow command protocol, `ActionsConfigProvider`, `ActionsLogger`, `Step` |
|
|
118
|
-
|
|
119
|
-
### Runtime layer
|
|
120
|
-
|
|
121
|
-
The runtime layer replaces all `@actions/*` packages with native ESM implementations:
|
|
122
|
-
|
|
123
|
-
```typescript
|
|
124
|
-
import { Effect, Config } from "effect";
|
|
125
|
-
import { ActionsRuntime, Action, Step } from "@savvy-web/github-action-effects";
|
|
126
|
-
|
|
127
|
-
const program = Effect.gen(function* () {
|
|
128
|
-
// Inputs via Effect's Config API (reads INPUT_* env vars)
|
|
129
|
-
const name = yield* Config.string("name");
|
|
130
|
-
const count = yield* Config.integer("count");
|
|
131
|
-
|
|
132
|
-
// Logging maps to workflow commands
|
|
133
|
-
yield* Effect.log("Processing..."); // plain stdout
|
|
134
|
-
yield* Effect.logDebug("detail"); // ::debug::detail
|
|
135
|
-
yield* Effect.logWarning("heads up"); // ::warning::heads up
|
|
136
|
-
|
|
137
|
-
// Step buffering: one success line on pass, spills debug buffer on fail
|
|
138
|
-
yield* Step.withStep("fetch data", fetchData(name));
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
// Provide the runtime layer
|
|
142
|
-
Action.run(program);
|
|
143
|
-
// or: program.pipe(Effect.provide(ActionsRuntime.Default))
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Reading inputs
|
|
147
|
-
|
|
148
|
-
Action inputs are read via Effect's `Config` API backed by `ActionsConfigProvider`,
|
|
149
|
-
which translates config keys to `INPUT_*` environment variables:
|
|
150
|
-
|
|
151
|
-
```typescript
|
|
152
|
-
const repoName = yield* Config.string("repo-name"); // reads INPUT_REPO-NAME
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
### Composing services
|
|
156
|
-
|
|
157
|
-
Services are provided via Effect Layers. The programmatic pattern:
|
|
158
|
-
|
|
159
|
-
```typescript
|
|
160
|
-
import { Effect } from "effect";
|
|
161
|
-
import {
|
|
162
|
-
ActionsRuntime,
|
|
163
|
-
GitHubClient,
|
|
164
|
-
GitHubClientLive,
|
|
165
|
-
} from "@savvy-web/github-action-effects";
|
|
166
|
-
|
|
167
|
-
const program = Effect.gen(function* () {
|
|
168
|
-
const client = yield* GitHubClient;
|
|
169
|
-
// use client ...
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
program.pipe(
|
|
173
|
-
Effect.provide(GitHubClientLive),
|
|
174
|
-
Effect.provide(ActionsRuntime.Default),
|
|
175
|
-
Effect.runPromise,
|
|
176
|
-
);
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### Testing
|
|
180
|
-
|
|
181
|
-
The library exports a `./testing` subpath that excludes `GitHubClientLive` and
|
|
182
|
-
`OctokitAuthAppLive` (which import `@octokit/rest`/`@octokit/auth-app`). Use this
|
|
183
|
-
in test files to avoid pulling in those dependencies:
|
|
184
|
-
|
|
185
|
-
```typescript
|
|
186
|
-
import { ... } from "@savvy-web/github-action-effects/testing";
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
## Step 4 — Validate and CI
|
|
190
|
-
|
|
191
|
-
```bash
|
|
192
|
-
# Validate action.yml and entry structure without building
|
|
193
|
-
github-action-builder validate
|
|
194
|
-
|
|
195
|
-
# Full build with validation
|
|
196
|
-
github-action-builder build
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
In CI (`CI=true` or `GITHUB_ACTIONS=true`), validation warnings become errors and
|
|
200
|
-
fail the build. Locally they are displayed as warnings and the build continues.
|
|
201
|
-
|
|
202
|
-
Add to `package.json`:
|
|
203
|
-
|
|
204
|
-
```json
|
|
205
|
-
{
|
|
206
|
-
"scripts": {
|
|
207
|
-
"build": "github-action-builder build",
|
|
208
|
-
"validate": "github-action-builder validate"
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
## Step 5 — Reference the built output in `action.yml`
|
|
214
|
-
|
|
215
|
-
```yaml
|
|
216
|
-
name: My Action
|
|
217
|
-
description: Does something useful
|
|
218
|
-
runs:
|
|
219
|
-
using: node24
|
|
220
|
-
main: dist/main.js
|
|
221
|
-
post: dist/post.js # if you have a post step
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
The `dist/` directory must be committed to the repository so GitHub runners can
|
|
225
|
-
execute it. The builder's `persistLocal` feature also syncs to
|
|
226
|
-
`.github/actions/local/` for local `act` runs.
|
|
227
|
-
|
|
228
|
-
## See also
|
|
229
|
-
|
|
230
|
-
- `silk://guides/choosing-a-builder` — when to use github-action-builder vs the
|
|
231
|
-
library builders
|
|
232
|
-
- `silk://standards/api-model-pipeline` — if your action repo also publishes a
|
|
233
|
-
library whose API is documented
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: guides/choosing-a-builder
|
|
3
|
-
title: Choosing a builder
|
|
4
|
-
summary: When to reach for @savvy-web/bundler, @savvy-web/rspress-builder, or @savvy-web/github-action-builder for a Silk package.
|
|
5
|
-
tier: guides
|
|
6
|
-
source: hand
|
|
7
|
-
tags: [build]
|
|
8
|
-
priority: 0.5
|
|
9
|
-
related: [packages/bundler/overview, guides/building-a-github-action]
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Overview
|
|
13
|
-
|
|
14
|
-
The Silk Suite has three zero-config build tools, each targeting a different
|
|
15
|
-
output shape. Pick by what the package produces, not by personal preference.
|
|
16
|
-
|
|
17
|
-
| Package | Builds | Output |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| `@savvy-web/bundler` | TypeScript libraries | npm-published `dist/dev` + `dist/prod` |
|
|
20
|
-
| `@savvy-web/rspress-builder` | RSPress doc-site plugins | npm-published plugin package |
|
|
21
|
-
| `@savvy-web/github-action-builder` | Node.js 24 GitHub Actions | committed single-file ESM bundles |
|
|
22
|
-
|
|
23
|
-
All three auto-detect their inputs, emit a transformed publish-ready
|
|
24
|
-
`package.json` where applicable, and resolve `catalog:` and `workspace:` protocol
|
|
25
|
-
references. They differ in what they emit and how it is consumed.
|
|
26
|
-
|
|
27
|
-
## `@savvy-web/bundler`
|
|
28
|
-
|
|
29
|
-
The **default** for any TypeScript library inside `savvy-web/systems` (or any
|
|
30
|
-
pnpm-managed Silk Suite package). It is the tsdown-based build orchestrator: it
|
|
31
|
-
reads `exports` to discover entry points, builds `dist/dev/` and per-target
|
|
32
|
-
`dist/prod/<target>/`, emits a bundled self-contained `.d.ts` per public entry,
|
|
33
|
-
and on `--target prod` emits an API Extractor model for MCP and website doc
|
|
34
|
-
generation.
|
|
35
|
-
|
|
36
|
-
A package opts in with a self-executing `savvy.build.ts` that calls `defineBuild`
|
|
37
|
-
and `runBuild`, with `node savvy.build.ts --target dev` / `--target prod` build
|
|
38
|
-
scripts. See `silk://packages/bundler/overview` for the full surface.
|
|
39
|
-
|
|
40
|
-
### When to use it
|
|
41
|
-
|
|
42
|
-
- You are building a library inside `savvy-web/systems` (or a pnpm-based Silk repo)
|
|
43
|
-
- You publish to npm and want bundled type declarations
|
|
44
|
-
- You want API Extractor model emission for MCP doc generation
|
|
45
|
-
- The package uses `pnpm catalog:` or `workspace:` protocol in its dependencies
|
|
46
|
-
|
|
47
|
-
## `@savvy-web/rspress-builder`
|
|
48
|
-
|
|
49
|
-
A thin sibling to the bundler for **RSPress documentation-site plugins**. It
|
|
50
|
-
applies the same entry-point discovery and publish transform, tuned for the
|
|
51
|
-
shape an RSPress plugin package ships. Reach for it only when the package is an
|
|
52
|
-
RSPress plugin; for every other library, use the bundler.
|
|
53
|
-
|
|
54
|
-
## `@savvy-web/github-action-builder`
|
|
55
|
-
|
|
56
|
-
For **Node.js 24 GitHub Actions**, whose output is a different shape entirely:
|
|
57
|
-
self-contained ESM bundles committed to the repository (not an npm package) so a
|
|
58
|
-
runner can execute them directly. It bundles `src/main.ts` (plus optional
|
|
59
|
-
`pre.ts`/`post.ts`) into flat `dist/*.js` files and validates `action.yml`. See
|
|
60
|
-
`silk://guides/building-a-github-action`.
|
|
61
|
-
|
|
62
|
-
### When to use it
|
|
63
|
-
|
|
64
|
-
- You are building a GitHub Action, not a published library
|
|
65
|
-
- The output must be a committed single-file bundle referenced from `action.yml`
|
|
66
|
-
|
|
67
|
-
## Decision guide
|
|
68
|
-
|
|
69
|
-
```text
|
|
70
|
-
Is the package a GitHub Action (committed Node.js 24 bundle)?
|
|
71
|
-
Yes → github-action-builder
|
|
72
|
-
|
|
73
|
-
Is the package an RSPress doc-site plugin?
|
|
74
|
-
Yes → rspress-builder
|
|
75
|
-
|
|
76
|
-
Otherwise (any npm-published TypeScript library)
|
|
77
|
-
→ bundler
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## Common pitfalls
|
|
81
|
-
|
|
82
|
-
**bundler / rspress-builder:** Relative imports inside source must use `.js`
|
|
83
|
-
extensions (the ESM requirement). The build reports "cannot find module" on a
|
|
84
|
-
missing extension.
|
|
85
|
-
|
|
86
|
-
**github-action-builder:** The `dist/` bundle must be committed so GitHub runners
|
|
87
|
-
can execute it; `action.yml` must declare `runs.using: "node24"`.
|
|
88
|
-
|
|
89
|
-
## See also
|
|
90
|
-
|
|
91
|
-
- `silk://packages/bundler/overview` — the library build front door in full
|
|
92
|
-
- `silk://guides/building-a-github-action` — GitHub Actions use a separate builder
|
|
93
|
-
- `silk://standards/api-model-pipeline` — how the bundler's prod API model becomes docs
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: guides/llm-friendly-json-schemas
|
|
3
|
-
title: LLM-friendly JSON Schemas for tool outputs
|
|
4
|
-
summary: Load when designing the output schema of an MCP tool or a GitHub Action.
|
|
5
|
-
tier: guides
|
|
6
|
-
source: hand
|
|
7
|
-
tags: [mcp]
|
|
8
|
-
priority: 0.5
|
|
9
|
-
related: [packages/mcp/resource-taxonomy]
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
A coding agent consumes a tool's structured output by reading it, not by running a
|
|
13
|
-
parser against it. The schema you choose is a prompt: it decides how reliably the
|
|
14
|
-
model can locate a value, follow a reference, and reason about what it got back.
|
|
15
|
-
Read this when designing a new MCP tool's output schema or a GitHub Action's
|
|
16
|
-
`outputs`, where the same constraints apply.
|
|
17
|
-
|
|
18
|
-
## Prefer flat, named fields over deep nesting
|
|
19
|
-
|
|
20
|
-
A model retrieves a value by following a path it has to hold in working memory.
|
|
21
|
-
`result.targets[0].registry` is harder to reference reliably than a flat
|
|
22
|
-
`registries: string[]`. Keep the shape shallow. When you must nest, name every
|
|
23
|
-
level with a descriptive key rather than relying on positional structure, so the
|
|
24
|
-
path reads like prose.
|
|
25
|
-
|
|
26
|
-
## Avoid recursive and open-ended shapes
|
|
27
|
-
|
|
28
|
-
A schema that can nest itself arbitrarily (a tree of the same node type) forces the
|
|
29
|
-
model to track depth it cannot see. Where the domain is genuinely recursive,
|
|
30
|
-
flatten it: emit a list of nodes plus a parent-id field rather than a literal tree.
|
|
31
|
-
|
|
32
|
-
## Use enums and literals for closed sets
|
|
33
|
-
|
|
34
|
-
When a field can only take a handful of values, type it as a union of literals, not
|
|
35
|
-
an open string. An enum tells the model the complete option set up front, which
|
|
36
|
-
both narrows its generation and lets it reason exhaustively ("if not `public`, then
|
|
37
|
-
`restricted`"). This mirrors how the Silk schemas type `access` as
|
|
38
|
-
`"public" | "restricted"` and `tier` as `standards | packages | guides`.
|
|
39
|
-
|
|
40
|
-
## Collapse relations to identifier arrays
|
|
41
|
-
|
|
42
|
-
Do not inline a related entity's full record where a reference will do. Emit an
|
|
43
|
-
array of stable identifiers (the `related: string[]` pattern in the resource
|
|
44
|
-
corpus) and let the consumer fetch the target if it needs more. This keeps each
|
|
45
|
-
payload small and the relationship explicit, and it survives the related record
|
|
46
|
-
changing shape.
|
|
47
|
-
|
|
48
|
-
## Pair the structured payload with a short human-readable summary
|
|
49
|
-
|
|
50
|
-
A model orients faster on one sentence than on a field-by-field scan. Return both:
|
|
51
|
-
the structured object for precise extraction, and a brief natural-language summary
|
|
52
|
-
for orientation. The MCP tools in this ecosystem follow this dual-channel
|
|
53
|
-
convention — a structured result alongside a lean markdown transcript — so the
|
|
54
|
-
agent gets a fast "what is this" read and an exact "what are the values" read from
|
|
55
|
-
the same call.
|
|
56
|
-
|
|
57
|
-
## Putting it together
|
|
58
|
-
|
|
59
|
-
When you sketch a new output schema, ask: can the model name every value in one
|
|
60
|
-
short path; is every closed set an enum; are relations references rather than
|
|
61
|
-
inlined records; and is there a one-line summary to orient on? If so, the schema
|
|
62
|
-
is doing its job as a prompt. The resource taxonomy
|
|
63
|
-
(`silk://packages/mcp/resource-taxonomy`) applies these same rules to the
|
|
64
|
-
documentation corpus's own front-matter.
|