Skip to content

Commit 88d22b2

Browse files
tcconnallyclaude
andcommitted
fix: build break on main — list_entities arity after #346
#345 (memories adapter) and #346 (dashboard workspace scoping) merged cleanly textually but conflicted semantically: #346 added a workspace_hash parameter to list_entities, and the adapter's directory listing still called the 4-arg form. Passes None (no workspace filter — the adapter writes files with the global '' workspace). Suite: 180 passed / 0 failed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent db3d286 commit 88d22b2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/tools.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2140,8 +2140,11 @@ pub fn handle_memories(db: &Database, args: Value) -> Result<String, String> {
21402140
match a.command.as_str() {
21412141
"view" => {
21422142
if is_memories_root(&a.path) {
2143+
// No workspace filter: the adapter writes files with the
2144+
// global ('') workspace, and #346's list_entities gained a
2145+
// workspace_hash arg after this call was written.
21432146
let entries = db
2144-
.list_entities(0, 1000, Some(MEMORIES_CATEGORY), None)
2147+
.list_entities(0, 1000, Some(MEMORIES_CATEGORY), None, None)
21452148
.map_err(|e| format!("list failed: {}", e))?;
21462149
let mut names: Vec<String> =
21472150
entries.iter().map(|e| e.key.clone()).collect();

0 commit comments

Comments
 (0)