@dev.fast/whiteboard 0.2.5-preview.20261016.121 → 0.3.1-preview.20261016.122

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.
@@ -1 +1 @@
1
- {"version":"0.2.5-preview.20261016.121","commit":"3c1b0477310222ab5a70d7c52b66f65dc62ffc5d","dirty":true,"builtAt":"2026-10-16T14:28:51.746Z"}
1
+ {"version":"0.3.1-preview.20261016.122","commit":"7cef417b896162d45b18541ced02e6d250cdc535","dirty":true,"builtAt":"2026-10-16T18:47:14.922Z"}
@@ -4319,7 +4319,7 @@ async function runReviewCli(input) {
4319
4319
  process.once("SIGINT", stop);
4320
4320
  process.once("SIGTERM", stop);
4321
4321
  process.once(DESKTOP_TAKEOVER_SIGNAL, takeover);
4322
- const { HeadlessServerBusyError, runHeadlessServer } = await import("./headless-host-BNF-TR3x.js");
4322
+ const { HeadlessServerBusyError, runHeadlessServer } = await import("./headless-host-DHShakz_.js");
4323
4323
  try {
4324
4324
  await runHeadlessServer({
4325
4325
  stateDir,
@@ -4384,7 +4384,7 @@ async function runReviewCli(input) {
4384
4384
  if (!existsSync(path.join(stateDir, "review-api.db"))) throw new Error(`No saved reviews in ${stateDir}, so there is no server id to reset. Check --state-dir.`);
4385
4385
  const inUse = `A Whiteboard server is using ${stateDir}. Stop it first, then run whiteboard server reset-id again.`;
4386
4386
  if (await desktopUsesHome(stateDir, env)) return refuse(inUse, options.json);
4387
- const [{ openReviewProfile }, { withHeadlessServerLock }] = await Promise.all([import("./profile-BBw-jMW3.js"), import("./headless-host-BNF-TR3x.js")]);
4387
+ const [{ openReviewProfile }, { withHeadlessServerLock }] = await Promise.all([import("./profile-BBw-jMW3.js"), import("./headless-host-DHShakz_.js")]);
4388
4388
  const reset = await withHeadlessServerLock(await realpath(stateDir), async () => {
4389
4389
  const local = await openReviewProfile(stateDir, { manageWorkspaces: false });
4390
4390
  try {
package/dist/cli.js CHANGED
@@ -17,7 +17,7 @@ async function runCli(effectivePath) {
17
17
  `);
18
18
  return 1;
19
19
  }
20
- const { runReviewCli } = await import("./cli-runner-BhBnAC_R.js");
20
+ const { runReviewCli } = await import("./cli-runner-DeQ4IhcG.js");
21
21
  return runReviewCli({
22
22
  argv,
23
23
  cliPaths: {
@@ -3104,6 +3104,11 @@ async function recentFolders(input = {}) {
3104
3104
  //#region src/review-api/onboarding.ts
3105
3105
  const COMMAND_TIMEOUT_MS = 15e3;
3106
3106
  const PULL_REQUEST_LIMIT = 10;
3107
+ /** Ignored when the agent does not offer the model. */
3108
+ const RUN_PICKS = {
3109
+ claude: { model: "sonnet" },
3110
+ codex: { model: "gpt-6-luna" }
3111
+ };
3107
3112
  const runCommand = (file, args, cwd) => new Promise((resolve, reject) => {
3108
3113
  execFile(file, args, {
3109
3114
  cwd,
@@ -3361,6 +3366,7 @@ function registerOnboardingRoutes(app, store, ask, host, run = runCommand) {
3361
3366
  head,
3362
3367
  selection: { title },
3363
3368
  context: await runContext(ask, input.agent, id, reviewId),
3369
+ picks: RUN_PICKS[input.agent],
3364
3370
  question: { text: input.prompt }
3365
3371
  });
3366
3372
  host.handOff(reviewId, id);
@@ -1,2 +1,2 @@
1
- import { i as withHeadlessServerLock, n as runHeadlessServer, r as takeOverServerHome, t as HeadlessServerBusyError } from "./headless-host-mg9sQG6H.js";
1
+ import { i as withHeadlessServerLock, n as runHeadlessServer, r as takeOverServerHome, t as HeadlessServerBusyError } from "./headless-host-CoN2f0Sk.js";
2
2
  export { HeadlessServerBusyError, runHeadlessServer, takeOverServerHome, withHeadlessServerLock };
@@ -14,7 +14,7 @@ import { t as openReviewProfile } from "../profile-Dm6irjbg.js";
14
14
  import { r as reviewTelemetryChannel, t as ReviewTelemetry } from "../review-telemetry-DnQNwgR1.js";
15
15
  import { o as REVIEW_TELEMETRY_TABS } from "../request-origin-D1RNVSeK.js";
16
16
  import { c as removeLegacyReviewSkills, d as skipCliInstall, h as detectConnectAgents, i as finishCliInstallUpdate, l as resetCliInstall, m as connectAgent, n as applyCliInstall, o as pathShimPath, r as declineCliInstall, s as removeCliInstall, t as aliasInstallationToAccount, u as resolveCliInstallStatus } from "../account-alias-CwNaMOwU.js";
17
- import { C as saveDiffrSummarizer, E as cliAskTools, S as readDiffrConfig, T as testDiffrSummarizer, _ as DEFAULT_MAX_REQUEST_BYTES, a as drainServerCrashReport, b as GlobalReviewDesktopVerbRelay, c as answerErrorsAsJson, d as legacyModeSchema, f as captureSanitizedUiTelemetry, g as readBoundedRequestJson, h as createNodeRequestListener, l as createWhiteboardCore, m as recordClientError, o as installProcessErrorTelemetry, p as clientErrorsForSession, r as takeOverServerHome, s as serverCrashReportPath, u as serverJson, v as HttpJsonError, w as setDiffrConfigValue, x as migrateDiffrConfig, y as ReviewServerError } from "../headless-host-mg9sQG6H.js";
17
+ import { C as saveDiffrSummarizer, E as cliAskTools, S as readDiffrConfig, T as testDiffrSummarizer, _ as DEFAULT_MAX_REQUEST_BYTES, a as drainServerCrashReport, b as GlobalReviewDesktopVerbRelay, c as answerErrorsAsJson, d as legacyModeSchema, f as captureSanitizedUiTelemetry, g as readBoundedRequestJson, h as createNodeRequestListener, l as createWhiteboardCore, m as recordClientError, o as installProcessErrorTelemetry, p as clientErrorsForSession, r as takeOverServerHome, s as serverCrashReportPath, u as serverJson, v as HttpJsonError, w as setDiffrConfigValue, x as migrateDiffrConfig, y as ReviewServerError } from "../headless-host-CoN2f0Sk.js";
18
18
  import { c as readQuerySchemas } from "../authoring-tools-CjFAGHBa.js";
19
19
  import crypto, { createHash, randomBytes } from "node:crypto";
20
20
  import { z } from "zod";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev.fast/whiteboard",
3
- "version": "0.2.5-preview.20261016.121",
3
+ "version": "0.3.1-preview.20261016.122",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -76,8 +76,8 @@
76
76
  "vitest": "4.1.11",
77
77
  "@dev.fast/json": "0.0.0",
78
78
  "@dev.fast/review-protocol": "0.0.0",
79
- "@dev.fast/trace-core": "0.0.0",
80
79
  "@dev.fast/review-share-protocol": "0.1.2",
80
+ "@dev.fast/trace-core": "0.0.0",
81
81
  "@dev.fast/trace-protocol": "0.5.0"
82
82
  },
83
83
  "engines": {
@@ -88,7 +88,7 @@
88
88
  "repo": "devdotfast/review",
89
89
  "docs": "packages/review/instructions/authoring.md"
90
90
  },
91
- "gitHead": "3c1b0477310222ab5a70d7c52b66f65dc62ffc5d",
91
+ "gitHead": "7cef417b896162d45b18541ced02e6d250cdc535",
92
92
  "scripts": {
93
93
  "prebuild": "pnpm run build:workspace-deps",
94
94
  "build": "node --max-old-space-size=8192 node_modules/tsdown/dist/run.mjs",
@@ -10,7 +10,11 @@ import {
10
10
  type ReviewOnboardingTarget,
11
11
  type ReviewOnboardingTargetsResponse,
12
12
  } from "@dev.fast/review-protocol";
13
- import { askAgentIds } from "@review/ask/thread-state.js";
13
+ import {
14
+ type AskAgentId,
15
+ type AskPicks,
16
+ askAgentIds,
17
+ } from "@review/ask/thread-state.js";
14
18
  import type { AskThreadHooks } from "@review/ask/thread.js";
15
19
  import { readBoundedRequestJson } from "@review/server/hono-http.js";
16
20
  import type { Hono } from "hono";
@@ -26,6 +30,12 @@ const COMMAND_TIMEOUT_MS = 15_000;
26
30
 
27
31
  const PULL_REQUEST_LIMIT = 10;
28
32
 
33
+ /** Ignored when the agent does not offer the model. */
34
+ const RUN_PICKS: Partial<Record<AskAgentId, AskPicks>> = {
35
+ claude: { model: "sonnet" },
36
+ codex: { model: "gpt-6-luna" },
37
+ };
38
+
29
39
  /** Runs one subprocess and resolves its stdout; rejects on failure. */
30
40
  export type OnboardingRun = (
31
41
  file: string,
@@ -466,6 +476,7 @@ export function registerOnboardingRoutes(
466
476
  head,
467
477
  selection: { title },
468
478
  context: await runContext(ask, input.agent, id, reviewId),
479
+ picks: RUN_PICKS[input.agent],
469
480
  question: { text: input.prompt },
470
481
  });
471
482