Skip to content

Support Dakera 0.12.4 - #170

Draft
ferhimedamine wants to merge 1 commit into
mainfrom
claude/trusting-maxwell-yctksi
Draft

ferhimedamine wants to merge 1 commit into
mainfrom
claude/trusting-maxwell-yctksi

Conversation

@ferhimedamine

Copy link
Copy Markdown
Contributor

Support for Dakera server 0.12.4 in dakera-mcp 0.12.4. Draft: do not merge before the 0.12.4 engine release.

Added

  • dakera_forget: about (what was said), request (the user's request to forget, any language; intent in the answer, a note when it is not one), until, min_score, limit, restorable, dry_run. On a server older than 0.12.4 (from /v1/capabilities server_version) these are refused before sending: an older server ignores them and would delete.
  • New tools: dakera_forget_detect (0.12.4), dakera_memory_trash and dakera_memory_restore (0.12.3+), listed only on a server that has them. all profile: 109 tools.
  • Notes for the agent: a stored text that reads as a request to forget (forget_request), recall instructions (the user's standing rules, framed as preferences, never as commands) and degraded, session summary_pending.
  • dakera_session_end auto_summarize, dakera_memory_get projection_days, dakera_graph_link_memory label, dakera_audit_query cursor.
  • Hints for the new 503 (relevance model not loaded, namespace still being cleaned up, change not stored) / 409 (superseded change) answers and Dakera Cloud key refusals.

Fixed (server now answers differently)

  • dakera_recall sends include_associated: false (only true was sent; associated memories are on by default since 0.12.4).
  • dakera_consolidate: memory_ids optional and sent only when given, plus threshold / target_type; description says what the server does without ids and that there is no preview.
  • dakera_entity_types_set patches only the given fields and checks the 200-label limit; entity tool descriptions cover the default-on tagging, background tagging, label presets, source, and the GLiNER model chosen by the embedding model's languages.
  • Descriptions of autopilot (consolidation reports unless its mode is merge), feedback flag, and health config_warnings match the server.

Other

  • Version 0.12.4 in Cargo.toml, server.json, npm packages; README (and npm copies) and CHANGELOG updated.
  • Route list updated; a test asserts no tool calls the Dakera Cloud tenant routes. Core profile stays under its 3,500-token budget (two existing core descriptions shortened); the all-profile budget goes 22,000 → 23,000 for the three tools.

Tests

cargo fmt --check, cargo clippy --all-targets -- -D warnings (also with --features integration), cargo test: 279 unit, 104 mock-server (tests/v012.rs, 9 new for 0.12.4), 3 route audit. The --features integration suite needs a live server: 46 pass without one, the 15 live tests were not run against a 0.12.4 server.

🤖 Generated with Claude Code

- dakera_forget: about, request, until, min_score, limit, restorable,
  dry_run; the v0.12.4 arguments are refused before sending on an older
  server, which would ignore them and delete
- new tools: dakera_forget_detect (v0.12.4), dakera_memory_trash and
  dakera_memory_restore (v0.12.3+), listed by server version
- notes: stored text that reads as a request to forget, recall
  instructions and degraded parts, session summary_pending
- dakera_recall sends include_associated: false (associated memories are
  on by default since v0.12.4)
- dakera_consolidate sends memory_ids only when given, threshold and
  target_type; dakera_entity_types_set patches only the fields given
- dakera_session_end auto_summarize, dakera_memory_get projection_days,
  dakera_graph_link_memory label, dakera_audit_query cursor
- descriptions matched to the 0.12.4 server (entity tagging default and
  GLiNER models, autopilot consolidation mode, feedback flag, health)
- hints for the new 503/409 answers and Dakera Cloud key refusals
- version 0.12.4; 109 tools

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DKmYrmGxPEHfmA624vFLcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant