pi-roundtable-webchat 0.26.0 → 0.26.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/CHANGELOG.md +12 -0
- package/package.json +2 -2
- package/src/chat.ts +5 -0
- package/src/surface.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.26.2] - 2026-10-30
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `ChatSurface.label`: the web chat names itself so an agent's prompt says where the conversation is.
|
|
13
|
+
- A background turn that is not a report is marked unattended, so an empty final answer ends quietly.
|
|
14
|
+
- Release in lockstep with pi-roundtable 0.26.2. The core peer range stays `>=0.26.0 <0.27.0`.
|
|
15
|
+
|
|
16
|
+
## [0.26.1] - 2026-10-30
|
|
17
|
+
|
|
18
|
+
- Release in lockstep with pi-roundtable 0.26.1; no package-specific behavior changes. The core peer range stays `>=0.26.0 <0.27.0`.
|
|
19
|
+
|
|
8
20
|
## [0.26.0] - 2026-10-30
|
|
9
21
|
|
|
10
22
|
The core peer range is now `>=0.26.0 <0.27.0`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-roundtable-webchat",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
4
4
|
"description": "A WebSocket chat adapter for pi-roundtable: private web conversations for people an OpenID Connect provider signs in, with live progress and approval cards",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@earendil-works/pi-ai": ">=1.0.0 <2",
|
|
46
46
|
"@earendil-works/pi-coding-agent": ">=1.0.0 <2",
|
|
47
47
|
"@types/bun": "1.4.3",
|
|
48
|
-
"pi-roundtable": "0.26.
|
|
48
|
+
"pi-roundtable": "0.26.2",
|
|
49
49
|
"typebox": "1.3.37",
|
|
50
50
|
"typescript": "7.0.2"
|
|
51
51
|
}
|
package/src/chat.ts
CHANGED
|
@@ -803,6 +803,10 @@ export class WebChat {
|
|
|
803
803
|
text: turn.text,
|
|
804
804
|
speaker,
|
|
805
805
|
interactive: turn.report === true,
|
|
806
|
+
unattended: turn.report !== true,
|
|
807
|
+
...(turn.timeLimitMs === undefined
|
|
808
|
+
? {}
|
|
809
|
+
: { timeLimitMs: turn.timeLimitMs }),
|
|
806
810
|
conversation: { visibility: "private" },
|
|
807
811
|
...(persona.selection
|
|
808
812
|
? {
|
|
@@ -887,6 +891,7 @@ export class WebChat {
|
|
|
887
891
|
...(pending.origin ? { origin: pending.origin } : {}),
|
|
888
892
|
...(client ? { client } : {}),
|
|
889
893
|
interactive: true,
|
|
894
|
+
byMessage: true,
|
|
890
895
|
...(pending.attachments ? { attachments: pending.attachments } : {}),
|
|
891
896
|
...(persona.selection
|
|
892
897
|
? {
|
package/src/surface.ts
CHANGED
|
@@ -38,6 +38,7 @@ const WEB_FORMATTING =
|
|
|
38
38
|
*/
|
|
39
39
|
export class WebSurface implements ChatSurface {
|
|
40
40
|
readonly surface: string;
|
|
41
|
+
readonly label = "the web chat";
|
|
41
42
|
readonly supportsFiles = true;
|
|
42
43
|
readonly formatting: string | undefined;
|
|
43
44
|
readonly #options: WebSurfaceOptions;
|