@narumitw/pi-chat 0.1.1 โ 0.1.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 +17 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -287,6 +287,19 @@ rows before hiding room, connectivity, or input-target status.
|
|
|
287
287
|
Pi's public extension widget API does not provide generic mouse hit-testing, so the dock is not
|
|
288
288
|
clickable and Pi Chat registers no global shortcut. `/chat` remains the menu-first entrypoint.
|
|
289
289
|
|
|
290
|
+
## ๐งช Local network smoke
|
|
291
|
+
|
|
292
|
+
The normal repository test suite mocks Pi Chat's network transports and does not open DHT sockets.
|
|
293
|
+
Run the opt-in smoke from a local checkout to exercise real local DHT nodes, sparse relay, retries,
|
|
294
|
+
process-boundary discovery and delivery, public-room discovery, and resource cleanup:
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
npm run smoke:chat-network
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
The equivalent Just command is `just smoke-chat-network`.
|
|
301
|
+
This smoke is intentionally excluded from `npm test` and CI because local UDP scheduling can be nondeterministic under parallel load.
|
|
302
|
+
|
|
290
303
|
## ๐๏ธ Package layout
|
|
291
304
|
|
|
292
305
|
```text
|
|
@@ -308,11 +321,13 @@ packages/pi-chat/
|
|
|
308
321
|
โ โโโ chat-view.ts # Loaded on the first composer request
|
|
309
322
|
โ โโโ widget.ts # Loaded before the first room joins
|
|
310
323
|
โ โโโ text.ts
|
|
311
|
-
โโโ
|
|
324
|
+
โโโ scripts/ # Opt-in real local network smoke and child fixture
|
|
325
|
+
โโโ test/ # Deterministic tests with mocked network boundaries
|
|
312
326
|
โโโ README.md
|
|
313
327
|
โโโ LICENSE
|
|
314
328
|
โโโ package.json
|
|
315
|
-
|
|
329
|
+
โโโ tsconfig.json
|
|
330
|
+
โโโ tsconfig.network-smoke.json
|
|
316
331
|
```
|
|
317
332
|
|
|
318
333
|
## ๐ Keywords
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narumitw/pi-chat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Experimental peer-to-peer chat extension for Pi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@narumitw/pi-tui-kit": "^0.49.1",
|
|
36
|
-
"hyperdht": "6.33.
|
|
36
|
+
"hyperdht": "6.33.1",
|
|
37
37
|
"hyperswarm": "4.17.0",
|
|
38
38
|
"sodium-universal": "5.0.1"
|
|
39
39
|
},
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@earendil-works/pi-tui": "*"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "2.5.
|
|
46
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
47
|
-
"@earendil-works/pi-tui": "0.84.
|
|
48
|
-
"@types/node": "26.
|
|
45
|
+
"@biomejs/biome": "2.5.8",
|
|
46
|
+
"@earendil-works/pi-coding-agent": "0.84.2",
|
|
47
|
+
"@earendil-works/pi-tui": "0.84.2",
|
|
48
|
+
"@types/node": "26.2.0",
|
|
49
49
|
"typescript": "7.0.2"
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|