@pi-unipi/ask-user 2.0.13 → 2.1.0

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/handoff.ts CHANGED
File without changes
package/index.ts CHANGED
@@ -5,6 +5,8 @@
5
5
  * multi-select, and freeform modes. Includes bundled skill for agent guidance.
6
6
  */
7
7
 
8
+ import { dirname } from "node:path";
9
+ import { fileURLToPath } from "node:url";
8
10
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
9
11
  import {
10
12
  UNIPI_EVENTS,
@@ -17,7 +19,7 @@ import { registerAskUserTools } from "./tools.js";
17
19
  import { registerAskUserCommands } from "./commands.js";
18
20
 
19
21
  /** Package version */
20
- const VERSION = getPackageVersion(new URL(".", import.meta.url).pathname);
22
+ const VERSION = getPackageVersion(dirname(fileURLToPath(import.meta.url)));
21
23
 
22
24
  export default function (pi: ExtensionAPI) {
23
25
 
package/launcher-ui.ts CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/ask-user",
3
- "version": "2.0.13",
3
+ "version": "2.1.0",
4
4
  "description": "Structured user input tool for Pi coding agent \u2014 single-select, multi-select, freeform",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -40,11 +40,11 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@pi-unipi/core": "2.0.13"
43
+ "@pi-unipi/core": "2.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@earendil-works/pi-coding-agent": "^0.78.0",
47
- "@earendil-works/pi-tui": "^0.78.0",
46
+ "@earendil-works/pi-coding-agent": "^0.80.0",
47
+ "@earendil-works/pi-tui": "^0.80.0",
48
48
  "typebox": "^1.1.38"
49
49
  },
50
50
  "pi": {
package/tools.ts CHANGED
File without changes