pi-roundtable 0.49.0 → 0.49.1
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
CHANGED
|
@@ -5,6 +5,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.49.1] - 2026-11-16
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Sandbox's `channelContext` option now accepts `starter` and `authors`, which its type already allowed but its startup check rejected.
|
|
13
|
+
- Channel context no longer looks up a thread's starter on every turn: it skips the lookup once the starter was handed over and reuses the fetched window's copy when it holds it.
|
|
14
|
+
|
|
8
15
|
## [0.49.0] - 2026-11-16
|
|
9
16
|
|
|
10
17
|
### Added
|
package/package.json
CHANGED
|
@@ -348,9 +348,13 @@ export class ChannelContextReader {
|
|
|
348
348
|
if (!fetched) return undefined;
|
|
349
349
|
const owners = await this.#owners();
|
|
350
350
|
const peer = this.#options.peer;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
351
|
+
// The starter's id is the thread's id: one already handed over needs no lookup, and the
|
|
352
|
+
// window's own copy of it needs no fetch.
|
|
353
|
+
const starter =
|
|
354
|
+
settings.starter && !seen.has(channelId)
|
|
355
|
+
? (fetched.find((found) => found.id === channelId) ??
|
|
356
|
+
(await this.#starter(channelId, message.messageId)))
|
|
357
|
+
: undefined;
|
|
354
358
|
const { messages, window } = selectChannelContext(fetched, {
|
|
355
359
|
seen,
|
|
356
360
|
owners,
|