Skip to content

v0.8.1

Choose a tag to compare

@ScottRBK ScottRBK released this 28 Nov 00:31
· 28 commits to main since this release
a8fb453

New in 0.8.1

Field limits in capability discovery

GET /.well-known now includes limits. For each record type, it lists the length and count
bounds that writes must respect, for example
{"memory": {"content": {"max_length": 2000}, "keywords": {"max_items": 10}}}. The values are
the configured ones, such as MEMORY_CONTENT_MAX_LENGTH, because they come from the same request
models that validate writes.

Core types are always listed. Planning, file and skill types appear only when that feature is
enabled. The endpoint stays public and publishes only field bounds, not other settings.
schema_version stays 1.

A client can now tell its model the limits before the model writes, instead of learning them
from an HTTP 400. See the
API reference.

MCP task action validation

claim_task, transition_task and add_dependency now validate their arguments before any
service call (#183). Invalid values return a retryable ToolError with a clear message.
Previously some were coerced by the database; for example, version=true could claim a task
on SQLite.

  • claim_task and transition_task require version to be a JSON integer.
  • agent_id, the transition state and the task and dependency IDs are validated.
  • Task IDs follow the existing MCP ID rule: integers, integral floats and integer strings are
    accepted; booleans, null, fractional floats, other strings, arrays and objects are rejected.

The HTTP task action routes are unchanged; they were fixed in #179.

Fixes

  • The Memory Write Plugin timeout tests now fail if the plugin deadline is removed (#234).

Upgrading from 0.8.0

This release adds no database migrations. Back up your database before upgrading, as usual.

Check this behaviour change before you upgrade: an MCP client that sends version to
claim_task or transition_task as anything other than a JSON integer (for example "3",
3.0 or true) now gets a ToolError instead of a coerced value.

What's Changed

  • feat: publish field limits at /.well-known by @ScottRBK in
    #247
  • fix(mcp): validate task action arguments before service calls by @leninworld in
    #232
  • test: make memory plugin timeout tests depend on the plugin deadline by @leninworld in
    #236

Full Changelog: v0.8.0...v0.8.1