@pi-unipi/cocoindex 2.0.7 → 2.0.9
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/index.ts +1 -1
- package/installer.ts +1 -1
- package/package.json +5 -5
- package/tools.ts +2 -2
package/commands.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Project directory is resolved from ctx.cwd at handler invocation time.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
14
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
15
15
|
import { COCOINDEX_COMMANDS, COCOINDEX_PACKAGE_SPEC } from "@pi-unipi/core";
|
|
16
16
|
import * as bridge from "./bridge.js";
|
|
17
17
|
import { ensureCocoindex } from "./installer.js";
|
package/index.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Embedding model: reuses memory package settings (OpenRouter API key + model).
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type { ExtensionAPI } from "@
|
|
11
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
12
12
|
import { MODULES, UNIPI_EVENTS, COCOINDEX_TOOLS, COCOINDEX_COMMANDS, COCOINDEX_PACKAGE_SPEC, emitEvent } from "@pi-unipi/core";
|
|
13
13
|
import { registerCocoindexTools } from "./tools.js";
|
|
14
14
|
import { registerCocoindexCommands } from "./commands.js";
|
package/installer.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { execFileSync, spawn } from "node:child_process";
|
|
9
9
|
import { homedir } from "node:os";
|
|
10
10
|
import { delimiter, join } from "node:path";
|
|
11
|
-
import type { ExtensionCommandContext } from "@
|
|
11
|
+
import type { ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
12
12
|
import { COCOINDEX_MIN_VERSION, COCOINDEX_PACKAGE_SPEC } from "@pi-unipi/core";
|
|
13
13
|
import * as bridge from "./bridge.js";
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/cocoindex",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "CocoIndex integration for Pi — AST-aware content indexing, semantic vector search, and incremental pipeline management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"typecheck": "tsc --noEmit"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"
|
|
22
|
+
"@earendil-works/pi-coding-agent": "^0.75.5",
|
|
23
|
+
"@earendil-works/pi-ai": "^0.75.5",
|
|
24
|
+
"@earendil-works/pi-tui": "^0.75.5",
|
|
25
|
+
"typebox": "^1.1.38"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@pi-unipi/core": "*"
|
package/tools.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* - cocoindex_status: Show indexing status
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { Type } from "
|
|
10
|
-
import type { ExtensionAPI } from "@
|
|
9
|
+
import { Type } from "typebox";
|
|
10
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
11
11
|
import { COCOINDEX_PACKAGE_SPEC, COCOINDEX_TOOLS } from "@pi-unipi/core";
|
|
12
12
|
import * as bridge from "./bridge.js";
|
|
13
13
|
import type { CocoindexDeps } from "./bridge.js";
|