opencode-session-search 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -19,6 +19,18 @@ Search your local OpenCode chat history for sessions containing specific text.
19
19
  - Snippets from each session (2 per session, 220 chars each)
20
20
  - Suggested `session-transcript` calls and a `question`-tool prompt to let users pick which session to open
21
21
 
22
+ ### `session-title-search`
23
+
24
+ Search for sessions by their title.
25
+
26
+ **Args**
27
+ - `query` (string, required): Title text to search for (1-200 chars, non-whitespace)
28
+ - `limitSessions` (number, optional): Max sessions to return (1-12, default: 6)
29
+
30
+ **Returns**
31
+ - Matching sessions with metadata (title, slug, directory, project name, timestamps)
32
+ - Suggested `session-transcript` calls and a `question`-tool prompt to let users pick which session to open
33
+
22
34
  ### `session-transcript`
23
35
 
24
36
  Reconstruct the full transcript of a specific chat session.
@@ -56,6 +68,9 @@ Restart OpenCode so the plugin is loaded.
56
68
  Find my recent work on authentication:
57
69
  ⚙ session-search [query=auth login, limitSessions=5]
58
70
 
71
+ Find a session by title:
72
+ ⚙ session-title-search [query=bug fix]
73
+
59
74
  Get the full conversation:
60
75
  ⚙ session-transcript [sessionId=ses_abc123, limit=100]
61
76
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencode-session-search",
3
- "version": "1.0.0",
4
- "description": "OpenCode plugin for searching and retrieving chat history",
3
+ "version": "1.0.1",
4
+ "description": "OponBackgroundEventenCode plugin for searching and retrieving chat history",
5
5
  "main": "./dist/index.js",
6
6
  "exports": "./dist/index.js",
7
7
  "type": "module",