pi-extensions 0.1.38 → 0.1.40

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/agent-guidance/CHANGELOG.md +13 -0
  3. package/agent-guidance/README.md +2 -2
  4. package/agent-guidance/agent-guidance.ts +1 -1
  5. package/agent-guidance/package.json +7 -1
  6. package/agent-guidance/templates/CODEX.md +14 -92
  7. package/agent-guidance/templates/GEMINI.md +16 -3
  8. package/arcade/CHANGELOG.md +6 -0
  9. package/arcade/mario-not/mario-not.ts +2 -2
  10. package/arcade/package.json +9 -1
  11. package/arcade/picman.ts +2 -2
  12. package/arcade/ping.ts +2 -2
  13. package/arcade/spice-invaders.ts +2 -2
  14. package/arcade/tetris.ts +2 -2
  15. package/code-actions/CHANGELOG.md +6 -0
  16. package/code-actions/index.ts +1 -1
  17. package/code-actions/package.json +9 -1
  18. package/code-actions/src/actions.ts +3 -3
  19. package/code-actions/src/search.ts +1 -1
  20. package/code-actions/src/ui.ts +3 -3
  21. package/files-widget/CHANGELOG.md +7 -0
  22. package/files-widget/browser.ts +2 -2
  23. package/files-widget/demo.svg +1 -1
  24. package/files-widget/file-viewer.ts +1 -1
  25. package/files-widget/index.ts +1 -1
  26. package/files-widget/input-utils.ts +1 -1
  27. package/files-widget/package.json +7 -3
  28. package/files-widget/viewer.ts +2 -2
  29. package/package.json +13 -1
  30. package/pi-ralph-wiggum/CHANGELOG.md +6 -0
  31. package/pi-ralph-wiggum/index.ts +1 -1
  32. package/pi-ralph-wiggum/package.json +7 -1
  33. package/raw-paste/CHANGELOG.md +6 -0
  34. package/raw-paste/index.ts +1 -1
  35. package/raw-paste/package.json +7 -1
  36. package/session-recap/CHANGELOG.md +6 -0
  37. package/session-recap/index.ts +2 -2
  38. package/session-recap/package.json +9 -1
  39. package/tab-status/CHANGELOG.md +6 -0
  40. package/tab-status/package.json +11 -1
  41. package/tab-status/tab-status.ts +3 -3
  42. package/usage-extension/CHANGELOG.md +6 -0
  43. package/usage-extension/index.ts +3 -3
  44. package/usage-extension/package.json +9 -1
  45. package/weather/CHANGELOG.md +6 -0
  46. package/weather/index.ts +2 -2
  47. package/weather/package.json +7 -3
@@ -1,4 +1,4 @@
1
- import { visibleWidth, wrapTextWithAnsi } from "@mariozechner/pi-tui";
1
+ import { visibleWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
2
2
  import { execSync } from "node:child_process";
3
3
  import { readFileSync, statSync } from "node:fs";
4
4
 
@@ -5,7 +5,7 @@
5
5
  * Use /readfiles to open the file browser, navigate with j/k, Enter to view.
6
6
  */
7
7
 
8
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
8
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
9
9
  import { join } from "node:path";
10
10
 
11
11
  import { createFileBrowser } from "./browser";
@@ -1,4 +1,4 @@
1
- import { decodeKittyPrintable } from "@mariozechner/pi-tui";
1
+ import { decodeKittyPrintable } from "@earendil-works/pi-tui";
2
2
 
3
3
  const CONTROL_CHARS = /[\u0000-\u0008\u000B-\u001F\u007F]/g;
4
4
  const BRACKETED_PASTE_START = "\u001b[200~";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-files-widget",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "In-terminal file browser and viewer for Pi.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -15,8 +15,8 @@
15
15
  "bugs": "https://github.com/tmustier/pi-extensions/issues",
16
16
  "homepage": "https://github.com/tmustier/pi-extensions/tree/main/files-widget",
17
17
  "peerDependencies": {
18
- "@mariozechner/pi-coding-agent": "*",
19
- "@mariozechner/pi-tui": "*"
18
+ "@earendil-works/pi-coding-agent": "*",
19
+ "@earendil-works/pi-tui": "*"
20
20
  },
21
21
  "scripts": {
22
22
  "postinstall": "node -e \"console.log('pi-files-widget: required deps: bat, delta, glow. Install with: brew install bat git-delta glow')\""
@@ -26,5 +26,9 @@
26
26
  "index.ts"
27
27
  ],
28
28
  "video": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/files-widget/demo.mp4"
29
+ },
30
+ "devDependencies": {
31
+ "@earendil-works/pi-coding-agent": "^0.74.0",
32
+ "@earendil-works/pi-tui": "^0.74.0"
29
33
  }
30
34
  }
@@ -1,5 +1,5 @@
1
- import type { Theme } from "@mariozechner/pi-coding-agent";
2
- import { Key, matchesKey, truncateToWidth, wrapTextWithAnsi } from "@mariozechner/pi-tui";
1
+ import type { Theme } from "@earendil-works/pi-coding-agent";
2
+ import { Key, matchesKey, truncateToWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
3
3
  import { readFileSync, statSync } from "node:fs";
4
4
  import { relative } from "node:path";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-extensions",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "keywords": [
@@ -27,5 +27,17 @@
27
27
  "./extending-pi/skill-creator/SKILL.md",
28
28
  "./pi-ralph-wiggum/SKILL.md"
29
29
  ]
30
+ },
31
+ "peerDependencies": {
32
+ "@earendil-works/pi-agent-core": "*",
33
+ "@earendil-works/pi-ai": "*",
34
+ "@earendil-works/pi-coding-agent": "*",
35
+ "@earendil-works/pi-tui": "*"
36
+ },
37
+ "devDependencies": {
38
+ "@earendil-works/pi-agent-core": "^0.74.0",
39
+ "@earendil-works/pi-ai": "^0.74.0",
40
+ "@earendil-works/pi-coding-agent": "^0.74.0",
41
+ "@earendil-works/pi-tui": "^0.74.0"
30
42
  }
31
43
  }
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1] - 2026-05-07
4
+
5
+ ### Changed
6
+ - Declare the `@earendil-works/pi-coding-agent` peer and development dependency used by runtime imports.
7
+ - Update Pi extension imports to the new `@earendil-works` namespace.
8
+
3
9
  ## 0.2.0 - 2026-04-19
4
10
 
5
11
  ### Changed
@@ -5,7 +5,7 @@
5
5
 
6
6
  import * as fs from "node:fs";
7
7
  import * as path from "node:path";
8
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
8
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
9
9
  import { Type } from "@sinclair/typebox";
10
10
 
11
11
  const RALPH_DIR = ".ralph";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-ralph-wiggum",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Long-running agent loops for iterative development in Pi.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -22,5 +22,11 @@
22
22
  "SKILL.md"
23
23
  ],
24
24
  "image": "https://github.com/user-attachments/assets/68cdab11-76c6-4aed-9ea1-558cbb267ea6"
25
+ },
26
+ "peerDependencies": {
27
+ "@earendil-works/pi-coding-agent": "*"
28
+ },
29
+ "devDependencies": {
30
+ "@earendil-works/pi-coding-agent": "^0.74.0"
25
31
  }
26
32
  }
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.3] - 2026-05-07
4
+
5
+ ### Changed
6
+ - Declare the `@earendil-works/pi-coding-agent` peer and development dependency used by runtime imports.
7
+ - Update Pi extension imports to the new `@earendil-works` namespace.
8
+
3
9
  ## 0.1.2 - 2026-02-03
4
10
  - Add preview image metadata for the extension listing.
5
11
 
@@ -1,4 +1,4 @@
1
- import { CustomEditor, type ExtensionAPI, type ExtensionContext } from "@mariozechner/pi-coding-agent";
1
+ import { CustomEditor, type ExtensionAPI, type ExtensionContext } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  const PASTE_START = "\x1b[200~";
4
4
  const PASTE_END = "\x1b[201~";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-raw-paste",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "One-shot raw paste support for Pi (/paste).",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -19,5 +19,11 @@
19
19
  "index.ts"
20
20
  ],
21
21
  "image": "https://github.com/user-attachments/assets/292c059a-8b06-40c2-abdd-795c0699336a"
22
+ },
23
+ "peerDependencies": {
24
+ "@earendil-works/pi-coding-agent": "*"
25
+ },
26
+ "devDependencies": {
27
+ "@earendil-works/pi-coding-agent": "^0.74.0"
22
28
  }
23
29
  }
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.2] - 2026-05-07
4
+
5
+ ### Changed
6
+ - Declare the `@earendil-works` Pi peer and development dependencies used by runtime imports.
7
+ - Update Pi extension imports to the new `@earendil-works` namespace.
8
+
3
9
  ## v0.1.0
4
10
 
5
11
  - Initial release.
@@ -35,8 +35,8 @@
35
35
  * /recap Force-generate a recap right now
36
36
  */
37
37
 
38
- import { completeSimple, getModel } from "@mariozechner/pi-ai";
39
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
38
+ import { completeSimple, getModel } from "@earendil-works/pi-ai";
39
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
40
40
 
41
41
  type ContentBlock = {
42
42
  type?: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-session-recap",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "One-line recap above the editor when you refocus a Pi session. Keeps you in flow when multi-agenting.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -19,5 +19,13 @@
19
19
  "index.ts"
20
20
  ],
21
21
  "image": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/session-recap/assets/recap.png"
22
+ },
23
+ "peerDependencies": {
24
+ "@earendil-works/pi-ai": "*",
25
+ "@earendil-works/pi-coding-agent": "*"
26
+ },
27
+ "devDependencies": {
28
+ "@earendil-works/pi-ai": "^0.74.0",
29
+ "@earendil-works/pi-coding-agent": "^0.74.0"
22
30
  }
23
31
  }
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.4] - 2026-05-07
4
+
5
+ ### Changed
6
+ - Declare the `@earendil-works` Pi peer and development dependencies used by runtime imports.
7
+ - Update Pi extension imports to the new `@earendil-works` namespace.
8
+
3
9
  ## 0.1.3 - 2026-02-03
4
10
  - Add preview image metadata for the extension listing.
5
11
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-tab-status",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Terminal tab status indicators for Pi sessions.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -19,5 +19,15 @@
19
19
  "tab-status.ts"
20
20
  ],
21
21
  "image": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/tab-status/assets/tab-status.png"
22
+ },
23
+ "peerDependencies": {
24
+ "@earendil-works/pi-agent-core": "*",
25
+ "@earendil-works/pi-ai": "*",
26
+ "@earendil-works/pi-coding-agent": "*"
27
+ },
28
+ "devDependencies": {
29
+ "@earendil-works/pi-agent-core": "^0.74.0",
30
+ "@earendil-works/pi-ai": "^0.74.0",
31
+ "@earendil-works/pi-coding-agent": "^0.74.0"
22
32
  }
23
33
  }
@@ -13,9 +13,9 @@ import type {
13
13
  ToolCallEvent,
14
14
  ToolResultEvent,
15
15
  SessionShutdownEvent,
16
- } from "@mariozechner/pi-coding-agent";
17
- import type { AgentMessage } from "@mariozechner/pi-agent-core";
18
- import type { AssistantMessage, StopReason } from "@mariozechner/pi-ai";
16
+ } from "@earendil-works/pi-coding-agent";
17
+ import type { AgentMessage } from "@earendil-works/pi-agent-core";
18
+ import type { AssistantMessage, StopReason } from "@earendil-works/pi-ai";
19
19
  import { basename } from "node:path";
20
20
 
21
21
  type StatusState = "new" | "running" | "doneCommitted" | "doneNoCommit" | "timeout";
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.2] - 2026-05-07
4
+
5
+ ### Changed
6
+ - Declare the `@earendil-works` Pi peer and development dependencies used by runtime imports.
7
+ - Update Pi extension imports to the new `@earendil-works` namespace.
8
+
3
9
  ## 0.3.1 - 2026-04-19
4
10
  - **Cost-only insights.** The Insights view now weights every insight by recorded USD cost, with no tokens fallback. The headline question is now "What's contributing to your cost?" and every bullet reads "X% of your cost …". Periods with no recorded cost show an explicit empty state instead of silently switching unit.
5
11
  - **Long-running sessions use true lifetime.** The 8h+ insight now looks at each session's global lifetime across all session files, not just the span visible inside the selected period slice.
@@ -7,9 +7,9 @@
7
7
  * - Enter expands/collapses to show models
8
8
  */
9
9
 
10
- import type { ExtensionAPI, ExtensionCommandContext, Theme } from "@mariozechner/pi-coding-agent";
11
- import { DynamicBorder } from "@mariozechner/pi-coding-agent";
12
- import { CancellableLoader, Container, Spacer, matchesKey, visibleWidth, truncateToWidth, wrapTextWithAnsi } from "@mariozechner/pi-tui";
10
+ import type { ExtensionAPI, ExtensionCommandContext, Theme } from "@earendil-works/pi-coding-agent";
11
+ import { DynamicBorder } from "@earendil-works/pi-coding-agent";
12
+ import { CancellableLoader, Container, Spacer, matchesKey, visibleWidth, truncateToWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
13
13
  import { readdir, readFile } from "node:fs/promises";
14
14
  import { join } from "node:path";
15
15
  import { homedir } from "node:os";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-usage-extension",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Usage statistics dashboard for Pi sessions.",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -19,5 +19,13 @@
19
19
  "index.ts"
20
20
  ],
21
21
  "image": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/usage-extension/screenshot.png"
22
+ },
23
+ "peerDependencies": {
24
+ "@earendil-works/pi-coding-agent": "*",
25
+ "@earendil-works/pi-tui": "*"
26
+ },
27
+ "devDependencies": {
28
+ "@earendil-works/pi-coding-agent": "^0.74.0",
29
+ "@earendil-works/pi-tui": "^0.74.0"
22
30
  }
23
31
  }
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.2] - 2026-05-07
4
+
5
+ ### Changed
6
+ - Declare `@earendil-works` Pi development dependencies used by runtime imports.
7
+ - Update Pi extension imports and peer dependencies to the new `@earendil-works` namespace.
8
+
3
9
  ## 0.1.1 - 2026-02-12
4
10
  - Added an embedded demo GIF in the README that links to the MP4 demo hosted on GitHub.
5
11
  - Kept demo media out of npm installs while improving README preview on GitHub/npm.
package/weather/index.ts CHANGED
@@ -4,8 +4,8 @@ import { promises as fs } from "node:fs";
4
4
  import { createRequire } from "node:module";
5
5
  import os from "node:os";
6
6
  import path from "node:path";
7
- import type { ExtensionAPI, ExtensionCommandContext } from "@mariozechner/pi-coding-agent";
8
- import { matchesKey, truncateToWidth } from "@mariozechner/pi-tui";
7
+ import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
8
+ import { matchesKey, truncateToWidth } from "@earendil-works/pi-tui";
9
9
 
10
10
  const WEATHER_COLUMNS = 100;
11
11
  const WEATHER_ROWS = 30;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmustier/pi-weather",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Weather widget for Pi (/weather)",
5
5
  "license": "MIT",
6
6
  "author": "Thomas Mustier",
@@ -15,8 +15,8 @@
15
15
  "bugs": "https://github.com/tmustier/pi-extensions/issues",
16
16
  "homepage": "https://github.com/tmustier/pi-extensions/tree/main/weather",
17
17
  "peerDependencies": {
18
- "@mariozechner/pi-coding-agent": "*",
19
- "@mariozechner/pi-tui": "*"
18
+ "@earendil-works/pi-coding-agent": "*",
19
+ "@earendil-works/pi-tui": "*"
20
20
  },
21
21
  "optionalDependencies": {
22
22
  "@tmustier/pi-weather-bridge-darwin-arm64": "0.1.0",
@@ -48,5 +48,9 @@
48
48
  "index.ts"
49
49
  ],
50
50
  "video": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/weather/assets/weather-demo.mp4"
51
+ },
52
+ "devDependencies": {
53
+ "@earendil-works/pi-coding-agent": "^0.74.0",
54
+ "@earendil-works/pi-tui": "^0.74.0"
51
55
  }
52
56
  }