pi-roundtable-coding 0.39.0 → 0.40.0

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
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.40.0] - 2026-11-08
6
+
7
+ - Release in lockstep with pi-roundtable 0.40.0 (interactive blocks answered in the app, and chats that cannot show them say so); no package-specific behavior changes.
8
+
9
+ ## [0.39.1] - 2026-11-08
10
+
11
+ ### Fixed
12
+
13
+ - With `settingsInDatabase: true` the stored worker limit is read when the coding-desk service starts, not during setup, so `Roundtable.check()` (which refuses a database query in setup) passes and the host boots.
14
+
5
15
  ## [0.39.0] - 2026-11-08
6
16
 
7
17
  ### Added
package/README.md CHANGED
@@ -7,7 +7,7 @@ This package is a reference for the plugin guide's [Helpers for a Pi session of
7
7
  ## Requirements
8
8
 
9
9
  - Bun 1.4.4 or newer on a POSIX host (Linux or macOS).
10
- - pi-roundtable `>=0.39.0 <0.40.0` as a peer dependency; this package uses only its public main, kit and testing entries.
10
+ - pi-roundtable `>=0.40.0 <0.41.0` as a peer dependency; this package uses only its public main, kit and testing entries.
11
11
  - Pi `>=1.0.0 <2`, shared with the host's core dependencies.
12
12
  A core-only host still pinned to Pi 0.99.x must update its Pi dependencies before adding coding, so cross-package extension and session types resolve to one Pi version.
13
13
  - Git, plus GitHub CLI (`gh`) for the default clone implementation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-roundtable-coding",
3
- "version": "0.39.0",
3
+ "version": "0.40.0",
4
4
  "description": "Repository shelves and owner-approved Pi coding workers for pi-roundtable",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,13 +38,13 @@
38
38
  "typebox": "1.3.37"
39
39
  },
40
40
  "peerDependencies": {
41
- "pi-roundtable": ">=0.39.0 <0.40.0"
41
+ "pi-roundtable": ">=0.40.0 <0.41.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@earendil-works/pi-ai": ">=1.0.0 <2",
45
45
  "@biomejs/biome": "2.5.15",
46
46
  "@types/bun": "1.4.3",
47
- "pi-roundtable": "0.39.0",
47
+ "pi-roundtable": "0.40.0",
48
48
  "typescript": "7.0.2"
49
49
  }
50
50
  }
@@ -165,7 +165,6 @@ export function coding(options: CodingOptions) {
165
165
  const store = options.settingsInDatabase
166
166
  ? databaseSettings(context.database())
167
167
  : memorySettings();
168
- await applyStoredLimit(store, desk, context.logger);
169
168
  registerSettingsPage(
170
169
  context,
171
170
  desk,
@@ -202,6 +201,8 @@ export function coding(options: CodingOptions) {
202
201
  services: [
203
202
  {
204
203
  name: "coding-desk",
204
+ // The stored limit is read at start: setup must not query the database.
205
+ start: () => applyStoredLimit(store, desk, context.logger),
205
206
  // The host names the channels whose work a shutdown waits for or aborts.
206
207
  busy: () => desk.runningChannels(),
207
208
  stop: () => desk.stop(),