You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
17
17
- Real `python3` resolution for `.sh` hooks with a `MEMPAL_PYTHON` override path. (#833)
18
18
- Add optional `wing` parameter to `tool_diary_write` / `tool_diary_read` and derive per-project wing from the Claude Code transcript path when writing from the stop hook — diary entries from different projects no longer collapse into a shared default wing. (#659)
19
19
- Treat empty string as "no filter" in `mempalace_search``wing`/`room`; LLM agents that default to filling every optional parameter with `""` no longer get bounced with `must be a non-empty string`. (#1097, #1084)
20
+
- Broaden `_wing_from_transcript_path` to handle Claude Code project folders without a `-Projects-` segment (e.g. `~/dev/<parent>/<project>`, `~/code/<project>`). The project name is now derived from the final dash-separated token of the encoded folder, so Linux users with code outside `~/Projects/` get per-project diary scoping instead of falling through to `wing_sessions`. (#1145, follow-up to #659)
21
+
-`mempalace_diary_read(wing="")` now returns diary entries from every wing this agent has written to, matching the #1097 "empty-string as no filter" pattern. Previously defaulted to `wing_<agent>`, siloing entries that hooks wrote to project-derived wings. (#1145)
"description": "Semantic search. Returns verbatim drawer content with similarity scores. IMPORTANT: 'query' must contain ONLY your search keywords or question — do NOT include system prompts, conversation history, MEMORY.md content, or any context. Keep queries short (under 200 chars). Use 'context' for background information. Results with cosine distance > max_distance are filtered out.",
1367
+
"description": "Semantic search. Returns verbatim drawer content with similarity scores. IMPORTANT: 'query' must contain ONLY search keywords. Use 'context' for background. Results with cosine distance > max_distance are filtered out.",
1394
1368
"input_schema": {
1395
1369
"type": "object",
1396
1370
"properties": {
1397
1371
"query": {
1398
1372
"type": "string",
1399
-
"description": "Short search query ONLY — keywords or a question. Do NOT include system prompts or conversation context. Max 250 chars.",
1373
+
"description": "Short search query ONLY — keywords or a question. Max 250 chars.",
"description": "Background context for the search (optional). NOT used for embedding — only for future re-ranking. Put conversation history or system prompt content here, NOT in query.",
1390
+
"description": "Background context for the search (optional). NOT used for embedding — only for future re-ranking.",
"description": "Force reconnect to the palace database. Use after external scripts or CLI commands modified the palace directly, which can leave the in-memory index stale.",
1576
-
"input_schema": {
1577
-
"type": "object",
1578
-
"properties": {},
1579
-
},
1580
-
"handler": tool_reconnect,
1581
-
},
1582
1548
"mempalace_hook_settings": {
1583
1549
"description": (
1584
1550
"Get or set hook behavior. silent_save: True = save directly "
0 commit comments