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.
- package/CHANGELOG.md +6 -0
- package/agent-guidance/CHANGELOG.md +13 -0
- package/agent-guidance/README.md +2 -2
- package/agent-guidance/agent-guidance.ts +1 -1
- package/agent-guidance/package.json +7 -1
- package/agent-guidance/templates/CODEX.md +14 -92
- package/agent-guidance/templates/GEMINI.md +16 -3
- package/arcade/CHANGELOG.md +6 -0
- package/arcade/mario-not/mario-not.ts +2 -2
- package/arcade/package.json +9 -1
- package/arcade/picman.ts +2 -2
- package/arcade/ping.ts +2 -2
- package/arcade/spice-invaders.ts +2 -2
- package/arcade/tetris.ts +2 -2
- package/code-actions/CHANGELOG.md +6 -0
- package/code-actions/index.ts +1 -1
- package/code-actions/package.json +9 -1
- package/code-actions/src/actions.ts +3 -3
- package/code-actions/src/search.ts +1 -1
- package/code-actions/src/ui.ts +3 -3
- package/files-widget/CHANGELOG.md +7 -0
- package/files-widget/browser.ts +2 -2
- package/files-widget/demo.svg +1 -1
- package/files-widget/file-viewer.ts +1 -1
- package/files-widget/index.ts +1 -1
- package/files-widget/input-utils.ts +1 -1
- package/files-widget/package.json +7 -3
- package/files-widget/viewer.ts +2 -2
- package/package.json +13 -1
- package/pi-ralph-wiggum/CHANGELOG.md +6 -0
- package/pi-ralph-wiggum/index.ts +1 -1
- package/pi-ralph-wiggum/package.json +7 -1
- package/raw-paste/CHANGELOG.md +6 -0
- package/raw-paste/index.ts +1 -1
- package/raw-paste/package.json +7 -1
- package/session-recap/CHANGELOG.md +6 -0
- package/session-recap/index.ts +2 -2
- package/session-recap/package.json +9 -1
- package/tab-status/CHANGELOG.md +6 -0
- package/tab-status/package.json +11 -1
- package/tab-status/tab-status.ts +3 -3
- package/usage-extension/CHANGELOG.md +6 -0
- package/usage-extension/index.ts +3 -3
- package/usage-extension/package.json +9 -1
- package/weather/CHANGELOG.md +6 -0
- package/weather/index.ts +2 -2
- package/weather/package.json +7 -3
package/CHANGELOG.md
ADDED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.5] - 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
|
+
|
|
9
|
+
## 0.1.4 - 2026-04-28
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Templates simplified to focus on durable behavioural overrides:
|
|
13
|
+
- `CODEX.md`: replaces the previous agent-protocol prose with two blocks for OpenAI models — `<solution_persistence>` (autonomy + bias for action + persist till done + no quality-for-tokens trade) and `<validation>` (run validators before summarizing or committing; fix failures before finalizing).
|
|
14
|
+
- `GEMINI.md`: replaces the empty placeholder with a `<tool_usage_rules>` block that steers Gemini to pi's `read`/`write`/`edit` tools instead of `cat`/heredoc/`sed -i`/etc.
|
|
15
|
+
|
|
3
16
|
## 0.1.3 - 2026-02-03
|
|
4
17
|
|
|
5
18
|
### Changed
|
package/agent-guidance/README.md
CHANGED
|
@@ -78,8 +78,8 @@ Links the extension to `~/.pi/agent/extensions/` and helps you set up `AGENTS.md
|
|
|
78
78
|
|
|
79
79
|
Starter templates in `templates/`:
|
|
80
80
|
- `CLAUDE.md` - Claude-specific guidelines
|
|
81
|
-
- `CODEX.md` - OpenAI guidelines (
|
|
82
|
-
- `GEMINI.md` - Gemini guidelines
|
|
81
|
+
- `CODEX.md` - OpenAI guidelines: `<solution_persistence>` (bias for action, persist till the task is done) and `<validation>` (run tests/lint/typecheck/build before summarizing or committing)
|
|
82
|
+
- `GEMINI.md` - Gemini guidelines: `<tool_usage_rules>` steering the model to pi's `read`/`write`/`edit` tools instead of `cat`/`heredoc`/`sed -i`/etc.
|
|
83
83
|
|
|
84
84
|
Install with:
|
|
85
85
|
```bash
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
import * as fs from "node:fs";
|
|
13
13
|
import * as path from "node:path";
|
|
14
|
-
import type { ExtensionAPI } from "@
|
|
14
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
15
15
|
|
|
16
16
|
const PROVIDER_FILES: Record<string, string[]> = {
|
|
17
17
|
anthropic: ["CLAUDE.md"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmustier/pi-agent-guidance",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Loads provider-specific context files (CLAUDE.md, CODEX.md, GEMINI.md) based on current model.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Thomas Mustier",
|
|
@@ -18,5 +18,11 @@
|
|
|
18
18
|
"extensions": [
|
|
19
19
|
"agent-guidance.ts"
|
|
20
20
|
]
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@earendil-works/pi-coding-agent": "*"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@earendil-works/pi-coding-agent": "^0.74.0"
|
|
21
27
|
}
|
|
22
28
|
}
|
|
@@ -1,92 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
- Prefer end-to-end verify; if blocked, say what's missing.
|
|
16
|
-
- New deps: quick health check (recent releases/commits, adoption).
|
|
17
|
-
- Web: search early; quote exact errors; prefer 2024–2025 sources.
|
|
18
|
-
- Style: telegraph. Drop filler/grammar. Min tokens.
|
|
19
|
-
|
|
20
|
-
## Screenshots
|
|
21
|
-
- Size: `sips -g pixelWidth -g pixelHeight <file>` (prefer 2×).
|
|
22
|
-
- Optimize: `imageoptim <file>` (install: `brew install imageoptim-cli`).
|
|
23
|
-
- Replace asset; keep dimensions; commit; run gate; verify CI.
|
|
24
|
-
|
|
25
|
-
## Docs
|
|
26
|
-
- Start: check for docs list script; open docs before coding.
|
|
27
|
-
- Follow links until domain makes sense.
|
|
28
|
-
- Keep notes short; update docs when behavior/API changes (no ship w/o docs).
|
|
29
|
-
|
|
30
|
-
## PR Feedback
|
|
31
|
-
- Active PR: `gh pr view --json number,title,url --jq '"PR #\\(.number): \\(.title)\\n\\(.url)"'`.
|
|
32
|
-
- PR comments: `gh pr view …` + `gh api …/comments --paginate`.
|
|
33
|
-
- Replies: cite fix + file/line; resolve threads only after fix lands.
|
|
34
|
-
- When merging a PR: thank the contributor in `CHANGELOG.md`.
|
|
35
|
-
|
|
36
|
-
## Flow & Runtime
|
|
37
|
-
- Use repo's package manager/runtime; no swaps w/o approval.
|
|
38
|
-
- Use background tasks for long jobs; tmux only for interactive/persistent (debugger/server).
|
|
39
|
-
|
|
40
|
-
## Build / Test
|
|
41
|
-
- Before handoff: run full gate (lint/typecheck/tests/docs).
|
|
42
|
-
- CI red: `gh run list/view`, rerun, fix, push, repeat til green.
|
|
43
|
-
- Keep it observable (logs, panes, tails).
|
|
44
|
-
|
|
45
|
-
## Git
|
|
46
|
-
- Safe by default: `git status/diff/log`. Push only when user asks.
|
|
47
|
-
- `git checkout` ok for PR review / explicit request.
|
|
48
|
-
- Branch changes require user consent.
|
|
49
|
-
- Destructive ops forbidden unless explicit (`reset --hard`, `clean`, `restore`, `rm`, …).
|
|
50
|
-
- Don't delete/rename unexpected stuff; stop + ask.
|
|
51
|
-
- No repo-wide S/R scripts; keep edits small/reviewable.
|
|
52
|
-
- Avoid manual `git stash`; if Git auto-stashes during pull/rebase, that's fine.
|
|
53
|
-
- If user types a command ("pull and push"), that's consent for that command.
|
|
54
|
-
- No amend unless asked.
|
|
55
|
-
- Big review: `git --no-pager diff --color=never`.
|
|
56
|
-
- Multi-agent: check `git status/diff` before edits; ship small commits.
|
|
57
|
-
|
|
58
|
-
## Language/Stack Notes
|
|
59
|
-
- Swift: validate `swift build` + tests; keep concurrency attrs right.
|
|
60
|
-
- TypeScript: use repo PM; keep files small; follow existing patterns.
|
|
61
|
-
|
|
62
|
-
## Critical Thinking
|
|
63
|
-
- Fix root cause (not band-aid).
|
|
64
|
-
- Unsure: read more code; if still stuck, ask w/ short options.
|
|
65
|
-
- Conflicts: call out; pick safer path.
|
|
66
|
-
- Unrecognized changes: assume other agent; keep going; focus your changes. If it causes issues, stop + ask user.
|
|
67
|
-
- Leave breadcrumb notes in thread.
|
|
68
|
-
|
|
69
|
-
## Tools
|
|
70
|
-
|
|
71
|
-
### trash
|
|
72
|
-
- Move files to Trash: `trash …` (safer than rm).
|
|
73
|
-
|
|
74
|
-
### gh
|
|
75
|
-
- GitHub CLI for PRs/CI/releases. Given issue/PR URL: use `gh`, not web search.
|
|
76
|
-
- Examples: `gh issue view <url> --comments -R owner/repo`, `gh pr view <url> --comments --files -R owner/repo`.
|
|
77
|
-
|
|
78
|
-
### tmux
|
|
79
|
-
- Use only when you need persistence/interaction (debugger/server).
|
|
80
|
-
- Quick refs: `tmux new -d -s shell`, `tmux attach -t shell`, `tmux list-sessions`, `tmux kill-session -t shell`.
|
|
81
|
-
|
|
82
|
-
<frontend_aesthetics>
|
|
83
|
-
Avoid "AI slop" UI. Be opinionated + distinctive.
|
|
84
|
-
|
|
85
|
-
Do:
|
|
86
|
-
- Typography: pick a real font; avoid Inter/Roboto/Arial/system defaults.
|
|
87
|
-
- Theme: commit to a palette; use CSS vars; bold accents > timid gradients.
|
|
88
|
-
- Motion: 1–2 high-impact moments (staggered reveal beats random micro-anim).
|
|
89
|
-
- Background: add depth (gradients/patterns), not flat default.
|
|
90
|
-
|
|
91
|
-
Avoid: purple-on-white clichés, generic component grids, predictable layouts.
|
|
92
|
-
</frontend_aesthetics>
|
|
1
|
+
<solution_persistence>
|
|
2
|
+
- Treat yourself as an autonomous senior pair-programmer: once the user gives a direction, proactively gather context, plan, implement, test, and refine without waiting for additional prompts at each step.
|
|
3
|
+
- Persist until the task is fully and comprehensively handled end-to-end within the current turn whenever feasible: do not stop at analysis or partial searches or fixes; carry changes through search, implementation, verification, and a clear explanation of outcomes unless the user explicitly pauses or redirects you.
|
|
4
|
+
- Be extremely biased for action. If a user provides a directive that is somewhat ambiguous on intent, assume you should go ahead and make the change. If the user asks a question like "should we do x?" and your answer is "yes", you should also go ahead and perform the action. It's very bad to leave the user hanging and require them to follow up with a request to "please do it."
|
|
5
|
+
- Never preserve tokens at the cost of comprehensiveness, correctness, or quality of the solution. Always prioritize delivering a complete, well-researched, correct, high-quality solution over minimizing token usage.
|
|
6
|
+
</solution_persistence>
|
|
7
|
+
|
|
8
|
+
<validation>
|
|
9
|
+
Testing Gate (MANDATORY)
|
|
10
|
+
- After any file edit or code generation that changes files, run the project's validators before summarizing work or executing any commit/push. These typically include tests, type checks, linters, and build commands. Do not run build unnecessarily.
|
|
11
|
+
- Determine the validation commands; if unclear, search the repo.
|
|
12
|
+
- Favor fast checks scoped to changes during iteration; reserve full-suite runs for milestone points (e.g. pre-commit, before summarizing work, or when requested).
|
|
13
|
+
- If final validators fail, stop and fix failures, then rerun validators; never finalize or commit with failing validators unless the user explicitly approves skipping.
|
|
14
|
+
</validation>
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
<tool_usage_rules>
|
|
2
|
+
CRITICAL: You have dedicated tools for file I/O. Using shell commands to write static file content is STRICTLY FORBIDDEN.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
## MANDATORY Tool Mappings
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
| Operation | CORRECT (use this) | FORBIDDEN via bash (never do this) |
|
|
7
|
+
|-----------|-------------------|-------------------------------------|
|
|
8
|
+
| Read a file | `read` tool | `cat file`, `head file`, `tail file`, `less`, `more` |
|
|
9
|
+
| Create/write a file | `write` tool | `cat << EOF > file`, `echo "..." > file`, `printf > file`, `tee` |
|
|
10
|
+
| Edit/modify a file | `edit` tool | `sed -i`, `awk -i inplace`, `perl -pi -e` |
|
|
11
|
+
|
|
12
|
+
## Rules
|
|
13
|
+
1. The `bash` tool is ONLY for running programs, builds, tests, installing packages, and other genuine shell operations.
|
|
14
|
+
2. NEVER use `bash` to read file contents. Always use the `read` tool.
|
|
15
|
+
3. NEVER use `bash` with heredocs (`cat << EOF`) or shell redirects to write static content to files. Always use `write` or `edit`. Running a program that produces output files (e.g. `python3 train.py > log.txt`, `gcc -o binary main.c`) is fine.
|
|
16
|
+
4. If you catch yourself writing a shell command that dumps known text into a file, STOP and use `write` or `edit` instead.
|
|
17
|
+
5. Prefer the `grep`, `find`, and `ls` built-in tools over running them via bash when possible.
|
|
18
|
+
</tool_usage_rules>
|
package/arcade/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.6] - 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.5 - 2026-02-03
|
|
4
10
|
- Add preview video metadata for the extension listing.
|
|
5
11
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Mario-Not - a Mario-style TUI platformer. Play with /mario-not
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
6
|
-
import { matchesKey, truncateToWidth, visibleWidth } from "@
|
|
5
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
7
7
|
|
|
8
8
|
const {
|
|
9
9
|
createGame,
|
package/arcade/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmustier/pi-arcade",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Arcade minigames for the Pi coding agent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Thomas Mustier",
|
|
@@ -23,5 +23,13 @@
|
|
|
23
23
|
"mario-not/mario-not.ts"
|
|
24
24
|
],
|
|
25
25
|
"video": "https://raw.githubusercontent.com/tmustier/pi-extensions/main/arcade/assets/demo.mp4"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
29
|
+
"@earendil-works/pi-tui": "*"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@earendil-works/pi-coding-agent": "^0.74.0",
|
|
33
|
+
"@earendil-works/pi-tui": "^0.74.0"
|
|
26
34
|
}
|
|
27
35
|
}
|
package/arcade/picman.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Picman - Pi eats tokens, avoids bugs! Play with /picman
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
6
|
-
import { matchesKey, truncateToWidth, visibleWidth } from "@
|
|
5
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
7
7
|
|
|
8
8
|
const TICK_MS = 100;
|
|
9
9
|
const POWER_DURATION = 50;
|
package/arcade/ping.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Ping game extension - play with /ping
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
6
|
-
import { matchesKey, truncateToWidth, visibleWidth } from "@
|
|
5
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
7
7
|
|
|
8
8
|
const GAME_WIDTH = 24;
|
|
9
9
|
const GAME_HEIGHT = 14;
|
package/arcade/spice-invaders.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* sPIce Invaders game extension - play with /spice-invaders
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ExtensionAPI } from "@
|
|
6
|
-
import { matchesKey, truncateToWidth, visibleWidth } from "@
|
|
5
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
7
7
|
|
|
8
8
|
const GAME_WIDTH = 24;
|
|
9
9
|
const GAME_HEIGHT = 16;
|
package/arcade/tetris.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Tetris game extension - play with /tetris
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
6
|
-
import { matchesKey, truncateToWidth, visibleWidth } from "@
|
|
5
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
7
7
|
|
|
8
8
|
const BOARD_WIDTH = 10;
|
|
9
9
|
const BOARD_HEIGHT = 20;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.5] - 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.4 - 2026-02-03
|
|
4
10
|
- Add preview image metadata for the extension listing.
|
|
5
11
|
|
package/code-actions/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
1
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
2
2
|
import { extractSnippets, extractText } from "./src/snippets";
|
|
3
3
|
import type { Snippet } from "./src/snippets";
|
|
4
4
|
import { pickAction, pickSnippet } from "./src/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmustier/pi-code-actions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Pick code blocks or inline snippets from recent assistant messages to copy or insert.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Thomas Mustier",
|
|
@@ -19,5 +19,13 @@
|
|
|
19
19
|
"index.ts"
|
|
20
20
|
],
|
|
21
21
|
"image": "https://github.com/user-attachments/assets/0dc10a64-d61f-4b56-9684-5e448c759385"
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import type { ExtensionAPI, ExtensionCommandContext } from "@
|
|
2
|
-
import { Container, Text, matchesKey, truncateToWidth } from "@
|
|
3
|
-
import { DynamicBorder } from "@
|
|
1
|
+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
import { Container, Text, matchesKey, truncateToWidth } from "@earendil-works/pi-tui";
|
|
3
|
+
import { DynamicBorder } from "@earendil-works/pi-coding-agent";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import * as os from "node:os";
|
|
6
6
|
import * as path from "node:path";
|
package/code-actions/src/ui.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExtensionCommandContext } from "@
|
|
2
|
-
import { DynamicBorder } from "@
|
|
3
|
-
import { Container, type SelectItem, SelectList, Text, matchesKey } from "@
|
|
1
|
+
import type { ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
import { DynamicBorder } from "@earendil-works/pi-coding-agent";
|
|
3
|
+
import { Container, type SelectItem, SelectList, Text, matchesKey } from "@earendil-works/pi-tui";
|
|
4
4
|
import type { Snippet } from "./snippets";
|
|
5
5
|
import { getSnippetPreview, truncatePreview } from "./snippets";
|
|
6
6
|
import { buildSearchIndex, rankedFilterItems } from "./search";
|
|
@@ -4,6 +4,13 @@ All notable changes to this extension will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.21] - 2026-05-07
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Declare `@earendil-works` Pi development dependencies used by runtime imports.
|
|
11
|
+
- Update Pi extension imports and peer dependencies to the new `@earendil-works` namespace.
|
|
12
|
+
|
|
13
|
+
|
|
7
14
|
## [0.1.20] - 2026-04-24
|
|
8
15
|
|
|
9
16
|
### Removed
|
package/files-widget/browser.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Theme } from "@
|
|
2
|
-
import { Key, matchesKey, truncateToWidth } from "@
|
|
1
|
+
import type { Theme } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
import { Key, matchesKey, truncateToWidth } from "@earendil-works/pi-tui";
|
|
3
3
|
import { lstatSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import { readdir, readFile, realpath, stat } from "node:fs/promises";
|
|
5
5
|
import { homedir } from "node:os";
|