pi-sessions 0.5.0 → 0.5.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.
package/README.md CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ## Install
22
22
 
23
- Requires Pi `0.78.1` or newer.
23
+ Requires Pi `0.80.2` or newer.
24
24
 
25
25
  **From npm** (recommended):
26
26
 
@@ -1,4 +1,5 @@
1
- import { complete, type Message } from "@earendil-works/pi-ai";
1
+ import type { Message } from "@earendil-works/pi-ai";
2
+ import { complete } from "@earendil-works/pi-ai/compat";
2
3
  import type { ExtensionAPI, Theme } from "@earendil-works/pi-coding-agent";
3
4
  import { Text } from "@earendil-works/pi-tui";
4
5
  import { Type } from "typebox";
@@ -1,13 +1,8 @@
1
1
  import { appendFileSync, mkdirSync } from "node:fs";
2
2
  import { homedir } from "node:os";
3
3
  import { join } from "node:path";
4
- import {
5
- type Api,
6
- completeSimple,
7
- type Model,
8
- type TextContent,
9
- type UserMessage,
10
- } from "@earendil-works/pi-ai";
4
+ import type { Api, Model, TextContent, UserMessage } from "@earendil-works/pi-ai";
5
+ import { completeSimple } from "@earendil-works/pi-ai/compat";
11
6
  import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
12
7
  import type { AutoTitleContext } from "./context.js";
13
8
  import type { AutoTitleTrigger } from "./state.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-sessions",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "description": "Pi session search, ask, handoff, auto-titling, and indexing tools",
6
6
  "license": "MIT",
@@ -42,10 +42,10 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@biomejs/biome": "^2.4.14",
45
- "@earendil-works/pi-agent-core": "^0.78.1",
46
- "@earendil-works/pi-ai": "^0.78.1",
47
- "@earendil-works/pi-coding-agent": "^0.78.1",
48
- "@earendil-works/pi-tui": "^0.78.1",
45
+ "@earendil-works/pi-agent-core": "^0.80.2",
46
+ "@earendil-works/pi-ai": "^0.80.2",
47
+ "@earendil-works/pi-coding-agent": "^0.80.2",
48
+ "@earendil-works/pi-tui": "^0.80.2",
49
49
  "@types/node": "^25.6.2",
50
50
  "husky": "^9.1.7",
51
51
  "lint-staged": "^17.0.3",
@@ -54,10 +54,10 @@
54
54
  "vitest": "^4.1.5"
55
55
  },
56
56
  "peerDependencies": {
57
- "@earendil-works/pi-agent-core": ">=0.78.1",
58
- "@earendil-works/pi-ai": ">=0.78.1",
59
- "@earendil-works/pi-coding-agent": ">=0.78.1",
60
- "@earendil-works/pi-tui": ">=0.78.1",
57
+ "@earendil-works/pi-agent-core": ">=0.80.2",
58
+ "@earendil-works/pi-ai": ">=0.80.2",
59
+ "@earendil-works/pi-coding-agent": ">=0.80.2",
60
+ "@earendil-works/pi-tui": ">=0.80.2",
61
61
  "typebox": ">=1.1.24"
62
62
  },
63
63
  "lint-staged": {