agent-dag 1.33.93 → 1.33.95

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/bin/deck.js CHANGED
@@ -344,13 +344,17 @@ if (RESPAWN) {
344
344
  // whatever else may later be listening on the same number. See hookToken().
345
345
  //
346
346
  // The log path goes in with them, so a hook can see which decks share one events
347
- // log and elect a single writer for it. See electWriters in hook/hook.js.
347
+ // log and elect a single writer for it. See electWriters in hook/hook.js. The
348
+ // Codex setting goes in for the half of that election no hook is part of: the
349
+ // rollout files this deck tails itself, which a --no-codex deck must never be
350
+ // elected to record. See writesCodexLog in src/server/log-writer.mjs.
348
351
  let registered = null;
349
352
  const discovery = keepDiscovery({
350
353
  port: realPort,
351
354
  workspace,
352
355
  token: hookToken(),
353
356
  persist,
357
+ codex: wantCodex,
354
358
  onState: (state) => {
355
359
  const first = registered === null;
356
360
  registered = state.ok;