Skip to content

v0.0.8

Choose a tag to compare

@het0814 het0814 released this 05 May 00:10
· 828 commits to main since this release
ee2af6c

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, and recall/changed-since endpoints now enforce min_length=1 on query/content
      fields and max_length=500 on title.
    • confidence, min_similarity, threshold, and temperature parameters are bounded [0.0, 1.0].
    • limit parameters enforced ge=1 and typed as int | None where applicable.
    • CostGuard validators (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 <= 0 now returns HTTP 422 at the API level.
    • CLI (memanto session extend) rejects non-positive --hours values before the request is sent.
  • Daily summary custom output path (daily_summary_service.py, direct_client.py, sdk_client.py, memory.py)

    • generate_summary() and generate_daily_summary() accept an optional output_path parameter.
    • 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 --pattern help text updated to list only available patterns: project, support, tool (removes unavailable chat,
      research, custom).

Dependencies

  • moorcheh-sdk minimum version bumped from >=0.1.0 to >=1.3.5.

Full Changelog

Full Changelog: v0.0.7...v0.0.8