@pi-unipi/memory 2.0.7 → 2.0.8
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/commands.ts +1 -1
- package/embedding.ts +1 -1
- package/index.ts +1 -1
- package/package.json +4 -3
- package/tools.ts +2 -2
- package/tui/settings-tui.ts +1 -1
package/commands.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* All storage is project-scoped. "Global" commands search across all projects.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { ExtensionAPI } from "@
|
|
8
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
9
9
|
import { MemoryStorage, searchAllProjects, listAllProjects } from "./storage.js";
|
|
10
10
|
import { showMemorySettings } from "./tui/settings-tui.js";
|
|
11
11
|
import { isEmbeddingReady, hasModelChanged, loadEmbeddingConfig } from "./settings.js";
|
package/embedding.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* openai/text-embedding-3 supports custom dimensions via API param.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
11
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
12
12
|
import {
|
|
13
13
|
loadEmbeddingConfig,
|
|
14
14
|
getApiKey,
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/memory",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "Persistent cross-session memory with vector search for Pi coding agent",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "index.ts",
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"author": "Neuron Mr White",
|
|
8
9
|
"repository": {
|
|
@@ -51,8 +52,8 @@
|
|
|
51
52
|
"@pi-unipi/info-screen": "*"
|
|
52
53
|
},
|
|
53
54
|
"peerDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"
|
|
55
|
+
"@earendil-works/pi-coding-agent": "^0.75.5",
|
|
56
|
+
"typebox": "^1.1.38"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"@types/better-sqlite3": "^7.6.0",
|
package/tools.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* All storage is project-scoped. "Global" tools search across all projects.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { Type } from "
|
|
9
|
-
import type { ExtensionAPI } from "@
|
|
8
|
+
import { Type } from "typebox";
|
|
9
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
10
10
|
import {
|
|
11
11
|
MemoryStorage,
|
|
12
12
|
searchAllProjects,
|
package/tui/settings-tui.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Uses ctx.ui primitives (select, input, notify).
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { ExtensionCommandContext } from "@
|
|
8
|
+
import type { ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
9
9
|
import {
|
|
10
10
|
loadEmbeddingConfig,
|
|
11
11
|
saveEmbeddingConfig,
|