Fabric manifest 12
capdag reads fabric manifest 12. Its media types differ from manifest 11’s as follows, in every library; a cartridge that names the old types is rebuilt against this release.
- The text encoding is
enc=utf8, where it wasenc=utf-8. It says only that a value is characters: prose, code, markup or a textual serialization alike. - Text written to be read carries
plain-text(media:enc=utf8;plain-text). The caps that read text as language (summarizing, classifying, embedding, prompting a model) take plain text, where they took any string. The prose file types (.txt, Markdown, reStructuredText, AsciiDoc, Org-mode, log), document pages, digitized text and image descriptions are plain text, and no other file type is. - JSON and NDJSON are
enc=utf8. Model-management records (a model repository, and the results of downloading, listing, inspecting and locating models), embedding vectors and decisions are JSON records:enc=utf8;fmt=json;record. - A transcription produces a transcript,
media:enc=utf8;fmt=json;record;transcript. - A boolean is
media:bool, its own kind: neither text nor a number. A list of booleans ismedia:bool;list. - Integer-valued settings, such as a chunk size, carry
integer. - The speech audio type
media:audio;ext=wav;speechis gone. WAV audio ismedia:audio;ext=wav.
The bound of several media types
MediaUrn least upper bound, the element type of a gather and the meeting point where branches
of different media converge, is tagged-urn’s proved bound in every library, JavaScript included,
where it is new. Where every input sets a key to a different value it is “some value”
(ext=png and ext=jpeg give media:ext), which the Go, Python and Objective-C libraries
dropped; and where one input already holds the others, it is that input.
New cartridges
- A cartridge scaffolded with
capdag newbuilds against fabric manifest 12 and pins cartridge registry 4 and the capdag release it was made with. - A scaffolded cartridge’s classify call hands its item over as plain text, as the classify caps take it.
Registries and updates
- When capdag refuses a registry, a cartridge download or its own update, its message words the reason differently.