@ftrdotdev/pi-tracker 0.5.0 → 0.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ftrdotdev/pi-tracker",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Session-persistent todolist extension for Pi",
5
5
  "keywords": [
6
6
  "effect",
@@ -35,7 +35,6 @@
35
35
  "access": "public"
36
36
  },
37
37
  "scripts": {
38
- "prepare": "bun effect-tsgo patch --typescript --oxlint",
39
38
  "test": "vitest run",
40
39
  "test:watch": "vitest",
41
40
  "lint": "oxlint && oxlint --type-aware -A all -D typescript/unbound-method",
@@ -44,16 +43,17 @@
44
43
  "typecheck": "tsc --noEmit"
45
44
  },
46
45
  "dependencies": {
47
- "@effect/platform-node": "4.0.0-rc.108",
48
- "@ftrdotdev/pi-tui": "^0.5.0",
49
- "effect": "4.0.0-rc.108"
46
+ "@effect/platform-node": "4.0.0",
47
+ "@effect/platform-node-shared": "4.0.0",
48
+ "@ftrdotdev/pi-tui": "^0.5.2",
49
+ "effect": "4.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@effect/tsgo": "0.36.4",
53
- "@effect/vitest": "4.0.0-rc.108",
52
+ "@effect/tsgo": "0.47.2",
53
+ "@effect/vitest": "4.0.0",
54
54
  "@types/bun": "latest",
55
55
  "oxfmt": "^0.63.0",
56
- "oxlint": "1.77.0",
56
+ "oxlint": "1.82.0",
57
57
  "oxlint-tsgolint": "7.0.2001",
58
58
  "typescript": "7.0.2",
59
59
  "vitest": "^4.1.10"
package/src/index.test.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  import type {
9
9
  AgentToolResult,
10
10
  ExtensionAPI,
11
- ExtensionContext,
11
+ ExtensionToolContext,
12
12
  ToolDefinition,
13
13
  } from "@earendil-works/pi-coding-agent";
14
14
  import { describe, expect, it } from "vitest";
@@ -17,7 +17,7 @@ import type { TrackerToolDetails, TrackerToolParams } from "./tool-metadata.ts";
17
17
 
18
18
  interface Harness {
19
19
  readonly tool: ToolDefinition<any, unknown, any>;
20
- readonly ctx: ExtensionContext;
20
+ readonly ctx: ExtensionToolContext;
21
21
  /** Every persisted snapshot, in the order the session received it. */
22
22
  readonly appends: unknown[];
23
23
  }
@@ -44,7 +44,7 @@ const makeHarness = (): Harness => {
44
44
  if (!registered) throw new Error("tracker did not register a tool");
45
45
  const ctx = {
46
46
  ui: { setWidget: () => {}, notify: () => {} },
47
- } as unknown as ExtensionContext;
47
+ } as unknown as ExtensionToolContext;
48
48
  return { tool: registered, ctx, appends };
49
49
  };
50
50