@ogulcancelik/pi-session-recall 1.0.4 → 1.0.5
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.
- package/README.md +2 -2
- package/package.json +1 -1
- package/session-recall.ts +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pi-session-recall
|
|
2
2
|
|
|
3
|
-
Recall past [pi](https://github.com/
|
|
3
|
+
Recall past [pi](https://github.com/earendil-works/pi) sessions. Search through conversation history and query specific sessions with an LLM.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -55,7 +55,7 @@ If no model is configured (or the configured model isn't available), it falls ba
|
|
|
55
55
|
|
|
56
56
|
## Requirements
|
|
57
57
|
|
|
58
|
-
- [pi](https://github.com/
|
|
58
|
+
- [pi](https://github.com/earendil-works/pi) v0.40+
|
|
59
59
|
- [ripgrep](https://github.com/BurntSushi/ripgrep) (`rg`) — recommended for fast search, falls back to `grep` or Node-native scan
|
|
60
60
|
|
|
61
61
|
## License
|
package/package.json
CHANGED
package/session-recall.ts
CHANGED
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* session_query(path, "what approach did we take for X?")
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
import { complete, type Model, type Api, type Message } from "@
|
|
27
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
26
|
+
import { complete, type Model, type Api, type Message } from "@earendil-works/pi-ai";
|
|
27
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
28
28
|
import {
|
|
29
29
|
getAgentDir,
|
|
30
30
|
SessionManager,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
getMarkdownTheme,
|
|
33
33
|
serializeConversation,
|
|
34
34
|
type SessionEntry,
|
|
35
|
-
} from "@
|
|
35
|
+
} from "@earendil-works/pi-coding-agent";
|
|
36
36
|
import {
|
|
37
37
|
Container,
|
|
38
38
|
Input,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
type SelectListTheme,
|
|
43
43
|
Spacer,
|
|
44
44
|
Text,
|
|
45
|
-
} from "@
|
|
45
|
+
} from "@earendil-works/pi-tui";
|
|
46
46
|
import { Type } from "@sinclair/typebox";
|
|
47
47
|
import { execFileSync } from "node:child_process";
|
|
48
48
|
import { existsSync, readFileSync, readdirSync, writeFileSync, mkdirSync } from "node:fs";
|