v0.0.8
Release Notes for v0.0.8
This release hardens the REST API with input validation and cost guards, adds a custom output path for daily summaries, blocks invalid session extension values at both the CLI and API layers, removes unavailable agent patterns, and bumps the moorcheh-sdk minimum version.
Improvements
-
API input validation (
memory_v2.py)remember,recall,answer,recall/as-of,recall/current, andrecall/changed-sinceendpoints now enforcemin_length=1on query/content
fields andmax_length=500ontitle.confidence,min_similarity,threshold, andtemperatureparameters are bounded[0.0, 1.0].limitparameters enforcedge=1and typed asint | Nonewhere applicable.CostGuardvalidators (validate_text_length,validate_query_length,validate_k_limit) applied across all memory read/write endpoints.
-
Session extension guard (
sessions.py,session.py)- Extending a session with
additional_hours <= 0now returns HTTP 422 at the API level. - CLI (
memanto session extend) rejects non-positive--hoursvalues before the request is sent.
- Extending a session with
-
Daily summary custom output path (
daily_summary_service.py,direct_client.py,sdk_client.py,memory.py)generate_summary()andgenerate_daily_summary()accept an optionaloutput_pathparameter.- When provided, the summary Markdown file is written to the specified path (parent directories are created automatically) instead of the default
~/.memanto/summaries/.
-
Agent pattern options (
agent.py)memanto agent create --patternhelp text updated to list only available patterns:project,support,tool(removes unavailablechat,
research,custom).
Dependencies
moorcheh-sdkminimum version bumped from>=0.1.0to>=1.3.5.
Full Changelog
Full Changelog: v0.0.7...v0.0.8