@volter/supercode-orchestrator 0.5.96 → 0.5.97

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.
Files changed (2) hide show
  1. package/board/cli.mjs +2 -1
  2. package/package.json +1 -1
package/board/cli.mjs CHANGED
@@ -1674,7 +1674,8 @@ async function serve(root, args = {}) {
1674
1674
  const refreshNow = () => { if (refreshing) return; refreshing = true; try { events?.refresh(); } finally { refreshing = false; } };
1675
1675
  // each board's mail, waited for on this machine's daemon (mail step 1c): the home's boards' own addresses
1676
1676
  const boardMailboxes = () => ['default', ...(existsSync(join(root, 'kanban', 'boards')) ? readdirSync(join(root, 'kanban', 'boards')) : [])].map((slug) => boardAddress(boardLabel(root, slug)));
1677
- const mailWaiter = async () => (await machineCall(null, 'harness.v1.mail.board_wait', { boards: boardMailboxes(), timeout: 60 }, { timeoutMs: 90_000 }))?.woken ?? [];
1677
+ // Installed daemons bound an ordinary node request at 30s: finish a quiet poll before that server deadline.
1678
+ const mailWaiter = async () => (await machineCall(null, 'harness.v1.mail.board_wait', { boards: boardMailboxes(), timeout: 20 }, { timeoutMs: 90_000 }))?.woken ?? [];
1678
1679
  events = watchBoard({ root, binary: supercodeBin(), env: commandEnv(), log, mailWaiter, onEvent: (key, { uncertain = false, watched, id, board = null } = {}) => {
1679
1680
  if (key === 'board-registry') { retireHeldBoards(); refreshNow(); return; }
1680
1681
  if (key === 'board-config') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-orchestrator",
3
- "version": "0.5.96",
3
+ "version": "0.5.97",
4
4
  "type": "module",
5
5
  "description": "The orchestrator runtime over the Volter Harness ontology: one typed operational model whose folder is its serialization, read and written through the harness orchestration doors (docs/ORCHESTRATOR-IR.md)",
6
6
  "exports": {