Skip to content

manaurum CLI 0.3.5

Choose a tag to compare

@Roeyg Roeyg released this 06 Oct 09:40
· 10 commits to main since this release
4a83dc9

The manaurum CLI for Platform v2: scaffold, validate and deploy a containerized app.

pip install https://github.com/sergeysuaib-ui/manaurum-dev-sdk/releases/download/cli-v0.3.5/manaurum_cli-0.3.5-py3-none-any.whl
manaurum --version        # manaurum, version 0.3.5
manaurum auth login --token mna_...
manaurum app init my-app && cd my-app && manaurum app validate && manaurum app deploy

What changed since 0.3.4

  • An agent_capabilities[].input_schema must be self-contained. Core checks the Assistant's arguments against it offline, so a schema that names anything outside itself can never be applied. $ref, $dynamicRef, $recursiveRef and $id are allowed only as local #... pointers; a remote reference (https://...) is refused. When the root $schema is Draft-04, its id is held to the same rule, because there id sets the base that #... references resolve against. 0.3.4 accepted all of these; the deploy now refuses them, and so does manaurum app validate.
  • $schema in an input_schema must name a draft the JSON Schema library carries: Draft 2020-12, 2019-09, 07, 06 or 04. Anything else is refused. A signal's result_schema stays Draft 2020-12 only.
  • The older drafts' subschema positions are checked too. Array-form items, additionalItems and schema-valued dependencies are walked, for an input_schema and for a signal's result_schema, so a remote reference there no longer slips through.

Nothing else changed; the starter that manaurum app init writes is the same as 0.3.4's. The package files ship with LF line endings. Requires Python 3.11+. The wheel and the sdist are both attached; the package is not on PyPI.