Repository navigation
v0.30.0
@pipelex/sdk on npm
Changed
models()reads a deck carrying ajudgmentmodel (Breaking): the re-exportedModelCategoryandMODEL_CATEGORIEScarryjudgment, the category MTHDS Protocol 0.7.0 adds, somodels("judgment")lists the models aPipeJudgenames, andMTHDS_PROTOCOL_VERSIONis0.7.0. A deck entry'sModelInfo.typeis nowModelCategory | (string & {}) | null, so an entry whose category this version does not define reaches the caller with its raw value; code that indexes a table by an entry'stype, or types one asRecord<ModelCategory, …>, now says whatjudgmentand an unknown category do.- The
mthdsfloor moves from^0.28.0to^0.30.0(Breaking): this package imports onlymthds/protocol, whose MTHDS Protocol 0.7.0 brings thejudgmentcategory above. A project that also importsmthdsitself moves to 0.30 with it, so that one copy is installed and aninstanceof PipelineRequestErrorcheck made with the class frommthds/protocolstill matches this package's errors. In 0.30,MthdsApiClientno longer hasbuildInputs,buildOutput,buildRunner,concept,pipeSpecoruploadFileand gainspipeIo, and a file upload goes through this package'suploadFile.
Removed
- The
/v1/build/*wrappers and their types (Breaking):PipelexApiClientno longer hasbuildInputs,buildOutput,buildRunner,conceptorpipeSpec, and the package no longer exportsBuildRequestBase,BuildInputsRequest,BuildOutputRequest,BuildRunnerRequest,ConceptRequest,PipeSpecRequest,BuildInputsValidReport,BuildOutputValidReport,BuildRunnerValidReport,BuildInputsResponse,BuildOutputResponse,BuildRunnerResponse,ConceptResponse,PipeSpecResponse,RunnerStructuresorConceptRepresentationFormat, whileInputsTemplateFormatnow resolves to themthds/protocoltype of the same name and values. A caller that wants an inputs template reads the pipe's input-form descriptor withpipeIoand renders it client-side withrenderInputsTemplate(orprojectInputsTemplatefor the object), both frommthds/protocoland re-exported by this package.MthdsFileItem,CrateRequestBase,CrateInvalidReportandGeneratedArtifactstay, servingresolve,codegenandpipeIo.
pipelex-sdk on PyPI
Changed
models()reads a deck carrying ajudgmentmodel, onmthds0.18.0 (Breaking):pipelex-sdknow pinsmthds==0.18.0, the MTHDS Protocol 0.7.0 release, wheremthds0.17.0 failed the wholemodels()call with aValidationErroron a singlejudgmententry. Ajudgmententry reads asModelCategory.JUDGMENTandmodels(ModelCategory.JUDGMENT)lists the models aPipeJudgenames, while an entry whose category this version does not define keeps its raw string, sinceModelInfo.typeis nowModelCategory | str | None; code that treatstypeas aModelCategoryhandles thestrcase too.