Skip to content

Commit 13ae1fe

Browse files
committed
chore: deprecate split lsp extensions
1 parent 987b11d commit 13ae1fe

17 files changed

Lines changed: 32 additions & 302 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Run commands from the repository root unless noted otherwise.
1515
- Full verification: `npm run check` or `just check`
1616
- Format with Biome: `npm run format` or `just format`
1717
- Typecheck all workspaces: `npm run typecheck`
18-
- Preview npm package contents: `just pack-caffeinate`, `just pack-chrome-devtools`, `just pack-firecrawl`, `just pack-goal`, `just pack-python-lsp`, `just pack-retry`, or `just pack-statusline`
19-
- Try a local extension without installing: `just try-caffeinate`, `just try-chrome-devtools`, `just try-firecrawl`, `just try-goal`, `just try-python-lsp`, `just try-retry`, or `just try-statusline`
18+
- Preview npm package contents: `just pack-caffeinate`, `just pack-chrome-devtools`, `just pack-firecrawl`, `just pack-goal`, `just pack-lsp`, `just pack-retry`, or `just pack-statusline`
19+
- Try a local extension without installing: `just try-caffeinate`, `just try-chrome-devtools`, `just try-firecrawl`, `just try-goal`, `just try-lsp`, `just try-retry`, or `just try-statusline`
2020
- Inspect available recipes before adding new workflow commands: `just --list`
2121

2222
## Code style

README.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,21 @@
22

33
[![npm scope](https://img.shields.io/badge/npm-@narumitw-blue)](https://www.npmjs.com/org/narumitw) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
44

5-
Production-ready, independently installable [Pi](https://pi.dev) extension packages for the Pi coding agent. This monorepo provides native Pi tools and commands for shared LSP diagnostics and edits, Biome LSP diagnostics, Chrome DevTools automation, Codex usage status, Firecrawl web scraping, Python LSP diagnostics with ty and Ruff, goal-driven task completion, retry handling, terminal statuslines, and keep-awake automation.
5+
Production-ready, independently installable [Pi](https://pi.dev) extension packages for the Pi coding agent. This monorepo provides native Pi tools and commands for shared LSP diagnostics and edits, Chrome DevTools automation, Codex usage status, Firecrawl web scraping, goal-driven task completion, retry handling, terminal statuslines, and keep-awake automation.
66

77
## 📦 Pi extension packages
88

99
Install only the Pi extensions you need. Each package is published under the `@narumitw` npm scope and can be installed directly with `pi install npm:<package>`.
1010

1111
| Pi extension | What it adds | Install |
1212
| --- | --- | --- |
13-
| [`@narumitw/pi-biome-lsp`](./extensions/pi-biome-lsp) | 🧬 Biome language-server tools for diagnostics, formatting, import organization, and source fixes. | `pi install npm:@narumitw/pi-biome-lsp` |
1413
| [`@narumitw/pi-btw`](./extensions/pi-btw) | 💬 `/btw` side-question command for asking quick questions without polluting the main conversation. | `pi install npm:@narumitw/pi-btw` |
1514
| [`@narumitw/pi-caffeinate`](./extensions/pi-caffeinate) | ☕ Cross-platform sleep prevention while the Pi agent is processing long-running prompts. | `pi install npm:@narumitw/pi-caffeinate` |
1615
| [`@narumitw/pi-chrome-devtools`](./extensions/pi-chrome-devtools) | 🌐 Native Chrome DevTools Protocol tools for listing tabs, navigating pages, evaluating JavaScript, and taking screenshots. | `pi install npm:@narumitw/pi-chrome-devtools` |
1716
| [`@narumitw/pi-codex-usage`](./extensions/pi-codex-usage) | 📊 `/codex-status` command and automatic statusline item for ChatGPT Codex subscription usage, using Pi auth first and Codex CLI only as fallback. | `pi install npm:@narumitw/pi-codex-usage` |
1817
| [`@narumitw/pi-firecrawl`](./extensions/pi-firecrawl) | 🔥 Firecrawl-powered web scraping, crawling, URL discovery, and web search tools for research workflows. | `pi install npm:@narumitw/pi-firecrawl` |
1918
| [`@narumitw/pi-goal`](./extensions/pi-goal) | 🎯 `/goal` mode that keeps the agent working until a verifiable task is complete. | `pi install npm:@narumitw/pi-goal` |
2019
| [`@narumitw/pi-lsp`](./extensions/pi-lsp) | 🧠 Shared language-server tools for Biome diagnostics/edits, ty diagnostics, and Ruff diagnostics/edits. | `pi install npm:@narumitw/pi-lsp` |
21-
| [`@narumitw/pi-python-lsp`](./extensions/pi-python-lsp) | 🐍 Python language-server tools for ty type diagnostics and Ruff linting, formatting, and fixes. | `pi install npm:@narumitw/pi-python-lsp` |
2220
| [`@narumitw/pi-retry`](./extensions/pi-retry) | 🔁 Retry support for provider responses that fail with `Unknown error (no error details in response)`. | `pi install npm:@narumitw/pi-retry` |
2321
| [`@narumitw/pi-statusline`](./extensions/pi-statusline) | ✨ A rich Pi terminal statusline with model, tools, git branch, context usage, token totals, cost, and time. | `pi install npm:@narumitw/pi-statusline` |
2422
| [`@narumitw/pi-subagents`](./extensions/pi-subagents) | 🤖 Delegate work to specialized isolated subagents with single, parallel, and chained execution modes. | `pi install npm:@narumitw/pi-subagents` |
@@ -47,11 +45,11 @@ pi -e npm:@narumitw/pi-goal -e npm:@narumitw/pi-statusline -e npm:@narumitw/pi-l
4745

4846
### 🧠 Shared language-server workflows
4947

50-
Use [`@narumitw/pi-lsp`](./extensions/pi-lsp) to let Pi run Biome, ty, and Ruff language-server tools through one shared LSP runner. It covers Biome diagnostics and edits, ty type diagnostics, and Ruff lint diagnostics, formatting, import organization, and source fixes. The older [`@narumitw/pi-biome-lsp`](./extensions/pi-biome-lsp) and [`@narumitw/pi-python-lsp`](./extensions/pi-python-lsp) packages remain available and are not deprecated yet.
48+
Use [`@narumitw/pi-lsp`](./extensions/pi-lsp) to let Pi run Biome, ty, and Ruff language-server tools through one shared LSP runner. It covers Biome diagnostics and edits, ty type diagnostics, and Ruff lint diagnostics, formatting, import organization, and source fixes. The older split packages [`@narumitw/pi-biome-lsp`](./extensions/deprecated/pi-biome-lsp) and [`@narumitw/pi-python-lsp`](./extensions/deprecated/pi-python-lsp) are deprecated, kept for reference, and excluded from active workspace scripts.
5149

5250
### 🧬 JavaScript and TypeScript coding with Biome
5351

54-
Use [`@narumitw/pi-biome-lsp`](./extensions/pi-biome-lsp) to let Pi run Biome diagnostics through `biome lsp-proxy`, format supported files, organize imports, and apply safe Biome source fixes.
52+
Use [`@narumitw/pi-lsp`](./extensions/pi-lsp) to let Pi run Biome diagnostics through `biome lsp-proxy`, format supported files, organize imports, and apply safe Biome source fixes.
5553

5654
### 🌐 Browser automation and debugging
5755

@@ -67,7 +65,7 @@ Use [`@narumitw/pi-codex-usage`](./extensions/pi-codex-usage) to show ChatGPT Co
6765

6866
### 🐍 Python coding with ty and Ruff
6967

70-
Use [`@narumitw/pi-python-lsp`](./extensions/pi-python-lsp) to let Pi run Python type checks through `ty server`, lint diagnostics through `ruff server`, Ruff formatting, and Ruff source fixes such as import organization.
68+
Use [`@narumitw/pi-lsp`](./extensions/pi-lsp) to let Pi run Python type checks through `ty server`, lint diagnostics through `ruff server`, Ruff formatting, and Ruff source fixes such as import organization.
7169

7270
### 🎯 Autonomous task completion
7371

@@ -98,15 +96,13 @@ npm run check
9896
Try a package locally:
9997

10098
```bash
101-
pi -e ./extensions/pi-biome-lsp
10299
pi -e ./extensions/pi-btw
103100
pi -e ./extensions/pi-caffeinate
104101
pi -e ./extensions/pi-chrome-devtools
105102
pi -e ./extensions/pi-codex-usage
106103
pi -e ./extensions/pi-firecrawl
107104
pi -e ./extensions/pi-goal
108105
pi -e ./extensions/pi-lsp
109-
pi -e ./extensions/pi-python-lsp
110106
pi -e ./extensions/pi-retry
111107
pi -e ./extensions/pi-statusline
112108
pi -e ./extensions/pi-subagents
@@ -115,15 +111,13 @@ pi -e ./extensions/pi-subagents
115111
Preview npm package contents before publishing:
116112

117113
```bash
118-
npm run pack:biome-lsp
119114
npm run pack:btw
120115
npm run pack:caffeinate
121116
npm run pack:chrome-devtools
122117
npm run pack:codex-usage
123118
npm run pack:firecrawl
124119
npm run pack:goal
125120
npm run pack:lsp
126-
npm run pack:python-lsp
127121
npm run pack:retry
128122
npm run pack:statusline
129123
npm run pack:subagents
@@ -141,16 +135,16 @@ npm publish --workspace @narumitw/pi-subagents --access public
141135
extensions/
142136
├── deprecated/
143137
│ ├── pi-auto-thinking/
138+
│ ├── pi-biome-lsp/
139+
│ ├── pi-python-lsp/
144140
│ └── pi-sidebar/
145-
├── pi-biome-lsp/
146141
├── pi-btw/
147142
├── pi-caffeinate/
148143
├── pi-chrome-devtools/
149144
├── pi-codex-usage/
150145
├── pi-firecrawl/
151146
├── pi-goal/
152147
├── pi-lsp/
153-
├── pi-python-lsp/
154148
├── pi-retry/
155149
├── pi-statusline/
156150
└── pi-subagents/

docs/implementation-notes/pi-lsp-parity-checklist.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pi-lsp parity checklist
22

3-
`@narumitw/pi-lsp` keeps the existing public tool Interface from `@narumitw/pi-biome-lsp` and `@narumitw/pi-python-lsp` while moving common LSP behavior into a shared runner Module.
3+
`@narumitw/pi-lsp` keeps the public tool Interface from the now-deprecated `@narumitw/pi-biome-lsp` and `@narumitw/pi-python-lsp` packages while moving common LSP behavior into a shared runner Module.
44

55
## Tool names and parameters
66

@@ -44,6 +44,6 @@
4444

4545
## Documentation and compatibility
4646

47-
- [x] `extensions/pi-lsp/README.md` documents tool-name compatibility, environment variables, and no-deprecation status for the old packages.
47+
- [x] `extensions/pi-lsp/README.md` documents tool-name compatibility, environment variables, and the deprecated status for the old packages.
4848
- [x] Root `README.md`, `package.json`, and `justfile` include `pi-lsp` integration.
49-
- [x] `pi-biome-lsp` and `pi-python-lsp` package metadata and READMEs are unchanged in this phase.
49+
- [x] `pi-biome-lsp` and `pi-python-lsp` now live under `extensions/deprecated/` and are excluded from active workspace scripts.
File renamed without changes.

extensions/pi-biome-lsp/README.md renamed to extensions/deprecated/pi-biome-lsp/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![npm](https://img.shields.io/npm/v/@narumitw/pi-biome-lsp)](https://www.npmjs.com/package/@narumitw/pi-biome-lsp) [![Pi extension](https://img.shields.io/badge/Pi-extension-blue)](https://pi.dev) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
44

5+
> Deprecated: use [`@narumitw/pi-lsp`](../../pi-lsp) instead. This package is kept for reference under `extensions/deprecated/` and is no longer part of the active workspace package set.
6+
57
`@narumitw/pi-biome-lsp` is a native [Pi coding agent](https://pi.dev) extension that exposes [Biome](https://biomejs.dev/) language-server tools.
68

79
Use it to give Pi Biome diagnostics, formatting, import organization, and safe source fixes through Language Server Protocol (LSP) workflows.
@@ -31,7 +33,7 @@ pi -e npm:@narumitw/pi-biome-lsp
3133
Try this package locally from the repository root:
3234

3335
```bash
34-
pi -e ./extensions/pi-biome-lsp
36+
pi -e ./extensions/deprecated/pi-biome-lsp
3537
```
3638

3739
## ✅ Requirements
@@ -45,13 +47,13 @@ npm install -D @biomejs/biome
4547
Or provide a custom server command:
4648

4749
```bash
48-
PI_BIOME_LSP_COMMAND="npx biome lsp-proxy" pi -e ./extensions/pi-biome-lsp
50+
PI_BIOME_LSP_COMMAND="npx biome lsp-proxy" pi -e ./extensions/deprecated/pi-biome-lsp
4951
```
5052

5153
Optional timeout override:
5254

5355
```bash
54-
PI_BIOME_LSP_TIMEOUT_MS=30000 pi -e ./extensions/pi-biome-lsp
56+
PI_BIOME_LSP_TIMEOUT_MS=30000 pi -e ./extensions/deprecated/pi-biome-lsp
5557
```
5658

5759
## 🛠️ Pi tools
@@ -66,7 +68,7 @@ Check a project subset with Biome diagnostics:
6668

6769
```json
6870
{
69-
"paths": ["src", "extensions/pi-biome-lsp/src"],
71+
"paths": ["src", "extensions/deprecated/pi-biome-lsp/src"],
7072
"limit": 100
7173
}
7274
```
@@ -103,7 +105,7 @@ Shows the configured Biome LSP command and whether it is available on `PATH`.
103105
## 🗂️ Package layout
104106

105107
```txt
106-
extensions/pi-biome-lsp/
108+
extensions/deprecated/pi-biome-lsp/
107109
├── src/
108110
│ └── biome-lsp.ts
109111
├── README.md

extensions/pi-biome-lsp/package.json renamed to extensions/deprecated/pi-biome-lsp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@narumitw/pi-biome-lsp",
33
"version": "0.1.20",
4-
"description": "Pi extension that exposes Biome language-server tools for diagnostics, formatting, and fixes.",
4+
"description": "Deprecated Pi extension that exposes Biome language-server tools for diagnostics, formatting, and fixes.",
55
"type": "module",
66
"license": "MIT",
77
"private": false,
@@ -41,6 +41,6 @@
4141
"repository": {
4242
"type": "git",
4343
"url": "https://github.com/narumiruna/pi-extensions",
44-
"directory": "extensions/pi-biome-lsp"
44+
"directory": "extensions/deprecated/pi-biome-lsp"
4545
}
4646
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

extensions/pi-python-lsp/README.md renamed to extensions/deprecated/pi-python-lsp/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![npm](https://img.shields.io/npm/v/@narumitw/pi-python-lsp)](https://www.npmjs.com/package/@narumitw/pi-python-lsp) [![Pi extension](https://img.shields.io/badge/Pi-extension-blue)](https://pi.dev) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
44

5+
> Deprecated: use [`@narumitw/pi-lsp`](../../pi-lsp) instead. This package is kept for reference under `extensions/deprecated/` and is no longer part of the active workspace package set.
6+
57
`@narumitw/pi-python-lsp` is a native [Pi coding agent](https://pi.dev) extension that exposes Python language-server tools from [ty](https://github.com/astral-sh/ty) and [Ruff](https://docs.astral.sh/ruff/).
68

79
Use it to give Pi reliable Python type diagnostics, Ruff lint diagnostics, formatting, import organization, and source fixes through Language Server Protocol (LSP) workflows.
@@ -32,7 +34,7 @@ pi -e npm:@narumitw/pi-python-lsp
3234
Try this package locally from the repository root:
3335

3436
```bash
35-
pi -e ./extensions/pi-python-lsp
37+
pi -e ./extensions/deprecated/pi-python-lsp
3638
```
3739

3840
## ✅ Requirements
@@ -47,13 +49,13 @@ uv tool install ruff
4749
Or provide custom server commands:
4850

4951
```bash
50-
PI_TY_LSP_COMMAND="uvx ty server" PI_RUFF_LSP_COMMAND="uvx ruff server" pi -e ./extensions/pi-python-lsp
52+
PI_TY_LSP_COMMAND="uvx ty server" PI_RUFF_LSP_COMMAND="uvx ruff server" pi -e ./extensions/deprecated/pi-python-lsp
5153
```
5254

5355
Optional timeout overrides:
5456

5557
```bash
56-
PI_TY_LSP_TIMEOUT_MS=30000 PI_RUFF_LSP_TIMEOUT_MS=30000 pi -e ./extensions/pi-python-lsp
58+
PI_TY_LSP_TIMEOUT_MS=30000 PI_RUFF_LSP_TIMEOUT_MS=30000 pi -e ./extensions/deprecated/pi-python-lsp
5759
```
5860

5961
## 🛠️ Pi tools
@@ -114,7 +116,7 @@ Shows the configured ty and Ruff LSP commands and whether each command is availa
114116
## 🗂️ Package layout
115117

116118
```txt
117-
extensions/pi-python-lsp/
119+
extensions/deprecated/pi-python-lsp/
118120
├── src/
119121
│ └── python-lsp.ts
120122
├── README.md

0 commit comments

Comments
 (0)