@narumitw/pi-btw 0.54.1 → 0.54.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/README.md CHANGED
@@ -41,6 +41,10 @@ Try this package locally from the repository root:
41
41
  pi -e ./packages/pi-btw
42
42
  ```
43
43
 
44
+ The package declares `dist/index.ts`, so an unbuilt local checkout must run `npm --workspace @narumitw/pi-btw run build` before Pi loads the package directory.
45
+
46
+ `just try btw` runs that build automatically.
47
+
44
48
  ## 🚀 Usage
45
49
 
46
50
  Open the pi-btw menu or provide the first question immediately:
@@ -192,6 +196,9 @@ Normal assistant messages become part of the main Pi conversation and can distra
192
196
 
193
197
  ```txt
194
198
  packages/pi-btw/
199
+ ├── dist/ # Generated TypeScript runtime loaded by Jiti
200
+ ├── scripts/
201
+ │ └── build-runtime.mjs # Deterministic runtime builder and boundary validator
195
202
  ├── src/
196
203
  │ ├── index.ts
197
204
  │ ├── btw.ts
@@ -213,11 +220,13 @@ The package exposes its Pi extension through `package.json`:
213
220
  ```json
214
221
  {
215
222
  "pi": {
216
- "extensions": ["./src/index.ts"]
223
+ "extensions": ["./dist/index.ts"]
217
224
  }
218
225
  }
219
226
  ```
220
227
 
228
+ The generated runtime is built from the authoritative `src/index.ts` graph and does not import back into `src`.
229
+
221
230
  ## 🔎 Keywords
222
231
 
223
232
  Pi extension, Pi coding agent, AI coding agent, side question command, agent chat workflow, TypeScript Pi package, npm Pi extension.