Repository navigation
stitchkit v0.111.3
·
42 commits
to master
since this release
Fixed
stitchkit/files— a lock an earlier image of the same process left is taken over at once. A process image replaced in place (bun --watchrestarts withexecve) keeps its PID and kernel start time, so the lock the previous image held matched the new one in every field and stayed held until the PID changed (liveness alive, identity matched). A record that names this very process is now held only while a descriptor of this process is open on the lock; without one the owner is gone (identity descriptor-closed) and the lock is reclaimed under the usual guard. A hold taken by a worker thread or another copy of the package in the same process is never displaced. → ADR 0265
Affects:stitchkit/fileswithExclusiveLock;stitchkit/servercreateFileStateStore;stitchkit/application/diagnostic-journalcreateDiagnosticJournal;stitchkit/telegramrunTelegramBroadcaststitchkit/tools/connections— a value inside a union of a discovered tool's schema is judged by the server, not by the client. A server withflattenUnionInputadvertises a nested discriminated union as one object whose shared field is an unlabelledanyOf, so a CLI or agent call throughdefineMcpClientConnectionrefused a wrong block withNo union branch matched — branch 1 … and 6 more brancheswhile the server would have named the field. A refusal that is only a union's now sends the value and shows the server's answer (blocks.0.data.artifactId: expected string); every other local refusal still stops the call, without the union lines. → ADR 0266
Affects:stitchkit/tools/connectionsdefineMcpClientConnection, defineOpenApiConnection, mountConnectionsstitchkit/tools— withflattenUnionInput, eachanyOfalternative of a field the variants share says which discriminator values select it. The flat object advertised the discriminator as an enum and the field as alternatives in canonical order, so a model sawtype: text | image | quizbeside threedatashapes with no way to pair them. Each alternative now carriesdescription: "When type = image."(When type = photo | video.for a shape two values share); the schema stays withoutoneOf. → ADR 0267
Affects:stitchkit/toolsbehaviour