Skip to content

Commit a12e65e

Browse files
authored
Merge pull request #32 from w-winter/feat/node-label-search-20260411
feat(search): add node label search and source filtering
2 parents ddd28f3 + 0dc8d6b commit a12e65e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+6601
-1480
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ All notable changes to Pi Session Manager will be documented in this file.
66

77
### Added
88

9+
- **Pi tree node-label search and source filtering** — labels are now first-class searchable node metadata in global full-text search and the in-session tree
10+
- Added Pi-specific raw label parsing with latest-wins / empty-label-clears semantics
11+
- Indexed resolved labels as `source_type = "label"` hits tied to target nodes
12+
- Added global `sourceFilter` modes: `all`, `labels_only`, `content_only`
13+
- Added browse-all-labels behavior for `labels_only + empty query`
14+
- Added backend/runtime `get_session_labels` lookup for chunked session trees
15+
- Added label-aware session-tree display, local search, labeled-only filtering, and target-node navigation
16+
917
- **Pi Live session integration** — real-time session sync with pi agent
1018
- Unified TypeScript type definitions for live sessions
1119
- Live session indicator in sidebar and dashboard

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
## Highlights
2121

2222
- Session browser with list/project/kanban views, favorites, tags, rename, delete, and export.
23-
- Full-text search via SQLite FTS + Tantivy-backed indexing/search flows.
23+
- Full-text search via SQLite FTS + Tantivy-backed indexing/search flows, including tree node label search and node content vs. label source filtering.
2424
- In-session message search with inline highlights, current-match navigation, and keyboard-friendly close/reset behavior. `Cmd/Ctrl + F` behavior is configurable (search vs. sidebar toggle).
2525
- Built-in terminal (PTY) and one-click resume of Pi sessions.
2626
- **External Sessions** — scan and browse sessions from other coding agents (Claude, OpenCode, etc.) with unified settings UI for scan control and default resume targets.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
},
5555
"devDependencies": {
5656
"@tauri-apps/cli": "^2.1.0",
57+
"@testing-library/react": "^16.3.2",
5758
"@types/highlight.js": "^10.1.0",
5859
"@types/node": "^25.1.0",
5960
"@types/react": "^18.3.12",
@@ -63,12 +64,14 @@
6364
"autoprefixer": "^10.4.23",
6465
"code-inspector-plugin": "^1.4.2",
6566
"husky": "^9.1.7",
67+
"jsdom": "^29.0.1",
6668
"less": "^4.6.4",
6769
"postcss": "^8.5.6",
6870
"tailwindcss": "^3.4.0",
6971
"tau-mirror": "^1.0.7",
7072
"typescript": "^5.6.3",
7173
"vite": "^5.4.11",
72-
"vite-plugin-pwa": "^1.2.0"
74+
"vite-plugin-pwa": "^1.2.0",
75+
"vitest": "^3.2.4"
7376
}
7477
}

0 commit comments

Comments
 (0)