Sync upstream v3.2.6: Loop checkboxes, Notes drag handle, US English replies, app update fetch (v3.2.6)

- Implement's and Review's confirm panes carry a Loop checkbox in place of
  the dashboard's loop cards; loop end-screen buttons show a spinner.
- The stacked Notes panel gets a drag handle.
- Every skill prompt and the console contracts say to reply in US English.
- The desktop app offers Update to latest when the skills are newer, and
  plan2code update refetches an app that install.json does not record.
- Devin Balanced maps to Sonnet 5.5 Medium.
This commit is contained in:
jparkerweb committed 2026-12-04 22:35:28 -08:00
1 parent 9629961f36
commit 658c813428
70 files changed
+818 -242

No files matched your search

+16 -4
View File
@@ -110,6 +110,12 @@ export function lastAgentNotice(list, remembered) {
export function barNextSteps({ consoleDead = false, version = null, newRelease = null, updatedTo = null, notReplaced = null } = {}) {
const v = version || {};
const steps = [];
const rel = newRelease || {};
const notes = rel.latest ? { label: "What's new", url: releaseNotesUrl(rel.latest) } : null;
// A release that is merely out, with no update under way: while skills are ahead of the app,
// the lead step below offers it, so the same button is not shown twice.
const releasePlain = Boolean(rel.latest) && !rel.restartNeeded && rel.updating === undefined && !rel.failed;
let aheadOffersUpdate = false;
if (v.kind === 'updated') {
steps.push({ id: 'updated', text: 'Skills updated', title: 'Updated. Reconnect the console to use the new version.', tone: 'ok', action: 'restart-console' });
} else if (consoleDead) {
@@ -134,7 +140,15 @@ export function barNextSteps({ consoleDead = false, version = null, newRelease =
steps.push({ id: 'failed', text: 'Update failed', title: String(v.error || 'The update did not finish.'), tone: 'err', action: 'update' });
break;
case 'ahead':
steps.push({ id: 'ahead', text: `Skills v${v.skills} are newer than this app`, title: `The installed skills are v${v.skills}, newer than this app (v${v.app}). Get the new app.`, tone: 'warn', action: null });
// The skills are ahead of the app, so another Update skills run cannot help: the release's
// Update and restart replaces the app file. While that is under way, failed or waiting for
// a restart, its own step below says so instead.
if (releasePlain) {
steps.push({ id: 'ahead', text: `Update to latest: v${rel.latest}`, title: `The installed skills are v${v.skills}, newer than this app (v${v.app}). Update and restart installs v${rel.latest}; nothing needs a terminal.`, tone: 'warn', action: 'update-restart', link: notes });
aheadOffersUpdate = true;
} else if (!rel.latest) {
steps.push({ id: 'ahead', text: `App v${v.app} is older than the skills (v${v.skills})`, title: `The installed skills are v${v.skills}, newer than this app (v${v.app}). Get the new app.`, tone: 'warn', action: null });
}
break;
default:
break;
@@ -144,8 +158,6 @@ export function barNextSteps({ consoleDead = false, version = null, newRelease =
// `{ latest, failed: reason }`, `{ latest, restartNeeded: true }` (installed, waiting for the
// restart) or `{ problem }` (the check could not run); `updatedTo` is the version the app
// restarted into, shown once.
const rel = newRelease || {};
const notes = rel.latest ? { label: "What's new", url: releaseNotesUrl(rel.latest) } : null;
if (rel.latest) {
const latest = rel.latest;
if (rel.restartNeeded) {
@@ -155,7 +167,7 @@ export function barNextSteps({ consoleDead = false, version = null, newRelease =
steps.push({ id: 'new-release', text: line, title: line, tone: 'warn', busy: true, action: null });
} else if (rel.failed) {
steps.push({ id: 'new-release', text: 'Update failed', title: `${rel.failed} Plan2Code is still running as it was. You can try again, or run \`${NEW_RELEASE_COMMAND}\` in a terminal.`, tone: 'err', action: 'update-restart', link: notes });
} else {
} else if (!aheadOffersUpdate) {
steps.push({ id: 'new-release', text: `Update available: v${latest}`, title: `Plan2Code v${latest} is out. Update and restart installs it; nothing needs a terminal.`, tone: 'warn', action: 'update-restart', link: notes });
}
} else if (rel.problem) {