From d18deed51d130bd596af3b56bc60d966870394e9 Mon Sep 17 00:00:00 2001 From: Devvyn <22340871+opticon454@users.noreply.github.com> Date: Sat, 10 Oct 2026 12:52:00 +0800 Subject: [PATCH 1/5] feat: announce each release once with a toast generated from the changelog --- .changeset/whats-new-on-release.md | 5 ++ package.json | 2 +- scripts/generate-whats-new.mjs | 18 ++++++++ scripts/lib/whats-new.mjs | 35 ++++++++++++++ src/web/public/app.js | 2 + src/web/public/settings-ui.js | 33 +++++++++++++ src/web/public/whats-new.json | 13 ++++++ test/whats-new.test.ts | 74 ++++++++++++++++++++++++++++++ 8 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 .changeset/whats-new-on-release.md create mode 100644 scripts/generate-whats-new.mjs create mode 100644 scripts/lib/whats-new.mjs create mode 100644 src/web/public/whats-new.json create mode 100644 test/whats-new.test.ts diff --git a/.changeset/whats-new-on-release.md b/.changeset/whats-new-on-release.md new file mode 100644 index 00000000..bc1a9331 --- /dev/null +++ b/.changeset/whats-new-on-release.md @@ -0,0 +1,5 @@ +--- +'aicodeman': minor +--- + +Each release now announces itself. `npm run version-packages` writes `src/web/public/whats-new.json` from the new CHANGELOG section (the bold headline of every change), and the first time a browser loads a newer version it shows one toast naming the headlines, with a link to the full release notes. A browser that has never opened Codeman before records the current version and stays quiet. diff --git a/package.json b/package.json index 35f5bbf9..4b602cd7 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "check:public-assets": "node scripts/check-public-assets.mjs", "capture:subagents": "node scripts/capture-subagent-screenshots.mjs", "changeset": "changeset", - "version-packages": "changeset version && node scripts/sync-plugin.mjs && npm install --package-lock-only && node scripts/check-lockfile-sync.mjs", + "version-packages": "changeset version && node scripts/generate-whats-new.mjs && prettier --write src/web/public/whats-new.json && node scripts/sync-plugin.mjs && npm install --package-lock-only && node scripts/check-lockfile-sync.mjs", "check:lockfile": "node scripts/check-lockfile-sync.mjs", "check:plugin": "node scripts/sync-plugin.mjs --check && claude plugin validate --strict plugins/codeman && claude plugin validate --strict .claude-plugin/marketplace.json", "knip": "npx --yes knip@latest --config config/knip.json", diff --git a/scripts/generate-whats-new.mjs b/scripts/generate-whats-new.mjs new file mode 100644 index 00000000..9611d1c3 --- /dev/null +++ b/scripts/generate-whats-new.mjs @@ -0,0 +1,18 @@ +#!/usr/bin/env node +// Writes src/web/public/whats-new.json for the version in package.json from CHANGELOG.md. +// Runs as part of `npm run version-packages`, so every release carries its own notes and the +// UI can announce them once per version without anyone remembering to. +import { readFileSync, writeFileSync } from 'node:fs'; +import { dirname, resolve } from 'node:path'; +import { fileURLToPath } from 'node:url'; +import { buildWhatsNew } from './lib/whats-new.mjs'; + +const root = resolve(dirname(fileURLToPath(import.meta.url)), '..'); +const { version } = JSON.parse(readFileSync(resolve(root, 'package.json'), 'utf8')); +const changelog = readFileSync(resolve(root, 'CHANGELOG.md'), 'utf8'); +const notes = buildWhatsNew(changelog, version); +if (notes.highlights.length === 0) { + console.warn(`whats-new: no bold highlights found for ${version}; the in-app announcement will be skipped`); +} +writeFileSync(resolve(root, 'src/web/public/whats-new.json'), JSON.stringify(notes, null, 2) + '\n'); +console.log(`whats-new: ${version} -> ${notes.highlights.length} highlight(s)`); diff --git a/scripts/lib/whats-new.mjs b/scripts/lib/whats-new.mjs new file mode 100644 index 00000000..c5eaabd9 --- /dev/null +++ b/scripts/lib/whats-new.mjs @@ -0,0 +1,35 @@ +/** + * Pulls the headline of each change out of one version's section of CHANGELOG.md. + * + * Release notes here lead each change with a bold phrase ("**Tab layouts (#538, optional).** ..."), + * so a highlight is that phrase. The Thanks block is credit, not a feature. + */ + +const MAX_HIGHLIGHTS = 8; + +/** The text between `## ` and the next `## ` heading, or '' when absent. */ +export function versionSection(changelog, version) { + const lines = changelog.split(/\r?\n/); + const start = lines.findIndex((l) => l.trim() === `## ${version}`); + if (start === -1) return ''; + let end = lines.findIndex((l, i) => i > start && /^## /.test(l)); + if (end === -1) end = lines.length; + return lines.slice(start + 1, end).join('\n'); +} + +/** Bold lead-ins at the start of a paragraph or bullet, cleaned for display. */ +export function extractHighlights(section) { + const out = []; + for (const line of section.split('\n')) { + const m = /^\s*(?:[-*]\s+)?\*\*([^*]{3,120})\*\*/.exec(line); + if (!m) continue; + const text = m[1].replace(/[\s.:]+$/, '').trim(); + if (!text || /^thanks\b/i.test(text)) continue; + if (!out.includes(text)) out.push(text); + } + return out.slice(0, MAX_HIGHLIGHTS); +} + +export function buildWhatsNew(changelog, version) { + return { version, highlights: extractHighlights(versionSection(changelog, version)) }; +} diff --git a/src/web/public/app.js b/src/web/public/app.js index 2795b599..a51453ce 100644 --- a/src/web/public/app.js +++ b/src/web/public/app.js @@ -4843,6 +4843,8 @@ class CodemanApp { } } + if (data.version) this.checkWhatsNew?.(data.version); + // Stop any active voice recording on reconnect VoiceInput.cleanup(); diff --git a/src/web/public/settings-ui.js b/src/web/public/settings-ui.js index 7705b086..1fc2621d 100644 --- a/src/web/public/settings-ui.js +++ b/src/web/public/settings-ui.js @@ -369,6 +369,39 @@ Object.assign(CodemanApp.prototype, { return select?.value.trim() || ''; }, + /** + * Announce a new release once per browser: one toast naming its headline changes. + * The notes come from /whats-new.json, which `npm run version-packages` regenerates from + * CHANGELOG.md for each release. A browser that has never seen any version just records the + * current one, so a fresh install is not greeted with "what's new". + */ + async checkWhatsNew(runningVersion) { + if (this._whatsNewChecked) return; + this._whatsNewChecked = true; + const KEY = 'codeman-whats-new-seen'; + let seen = null; + try { seen = localStorage.getItem(KEY); } catch { /* storage blocked: skip the announcement */ return; } + if (seen === runningVersion) return; + const remember = () => { try { localStorage.setItem(KEY, runningVersion); } catch { /* ignore */ } }; + if (!seen) { remember(); return; } + try { + const res = await fetch('/whats-new.json', { cache: 'no-cache' }); + if (!res.ok) return; + const notes = await res.json(); + if (notes?.version !== runningVersion || !Array.isArray(notes.highlights) || !notes.highlights.length) return; + const shown = notes.highlights.slice(0, 3).join(' · '); + const more = notes.highlights.length > 3 ? ` (+${notes.highlights.length - 3} more)` : ''; + remember(); + this.showToast(`Codeman updated to v${runningVersion}: ${shown}${more}`, 'info', { + duration: 20000, + action: { + label: "See what's new", + onClick: () => window.open(`https://github.com/Ark0N/Codeman/releases/tag/codeman%40${runningVersion}`, '_blank', 'noopener'), + }, + }); + } catch { /* offline or malformed: try again next load */ } + }, + openAppSettings() { // Load current settings const settings = this.loadAppSettingsFromStorage(); diff --git a/src/web/public/whats-new.json b/src/web/public/whats-new.json new file mode 100644 index 00000000..eae9089a --- /dev/null +++ b/src/web/public/whats-new.json @@ -0,0 +1,13 @@ +{ + "version": "1.41.1", + "highlights": [ + "HTML files open as pages, and markdown opens rendered from the terminal (#547)", + "`codeman mcp`: drive Codeman from any MCP client (#615)", + "The codeman skill for every agent CLI (#613)", + "Tiles: move them by hand, or tear one off into its own window (#584)", + "Focus section on the vertical rail (#582)", + "Tabs land in groups (#528)", + "Folder grid and more clickable paths (#604)", + "Phone Attach button and videos (#606)" + ] +} diff --git a/test/whats-new.test.ts b/test/whats-new.test.ts new file mode 100644 index 00000000..95c4ba84 --- /dev/null +++ b/test/whats-new.test.ts @@ -0,0 +1,74 @@ +import { describe, it, expect } from 'vitest'; +import { readFileSync } from 'node:fs'; +import { resolve } from 'node:path'; +// @ts-expect-error plain .mjs helper shared with scripts/generate-whats-new.mjs +import { extractHighlights, versionSection, buildWhatsNew } from '../scripts/lib/whats-new.mjs'; + +const root = resolve(import.meta.dirname, '..'); + +const CHANGELOG = `# aicodeman + +## 1.2.0 + +### Minor Changes + +- ### Thanks + - @someone for a fix + + **The tile grid: six sessions side by side.** Body text with **inline bold** later. + +- **Split view (#560).** More text. +- A bullet with no bold lead. + + **Behaviour change: \`Ctrl+W\` no longer closes a session.** Details. + +## 1.1.0 + +- **Old feature.** Not for 1.2.0. +`; + +describe('whats-new extraction', () => { + it('limits itself to the requested version section', () => { + const section = versionSection(CHANGELOG, '1.2.0'); + expect(section).toContain('tile grid'); + expect(section).not.toContain('Old feature'); + expect(versionSection(CHANGELOG, '9.9.9')).toBe(''); + }); + + it('takes bold lead-ins only, cleaned, and skips the Thanks block', () => { + expect(extractHighlights(versionSection(CHANGELOG, '1.2.0'))).toEqual([ + 'The tile grid: six sessions side by side', + 'Split view (#560)', + 'Behaviour change: `Ctrl+W` no longer closes a session', + ]); + }); + + it('caps the list', () => { + const many = Array.from({ length: 20 }, (_, i) => `**Feature number ${i}.** text`).join('\n\n'); + expect(extractHighlights(many)).toHaveLength(8); + }); + + it('builds the payload the client reads', () => { + expect(buildWhatsNew(CHANGELOG, '1.2.0').version).toBe('1.2.0'); + }); +}); + +describe('shipped whats-new.json', () => { + it('matches the package version and has highlights, so the release announces itself', () => { + const pkg = JSON.parse(readFileSync(resolve(root, 'package.json'), 'utf8')); + const notes = JSON.parse(readFileSync(resolve(root, 'src/web/public/whats-new.json'), 'utf8')); + expect(notes.version).toBe(pkg.version); + expect(notes.highlights.length).toBeGreaterThan(0); + }); + + it('is regenerated by the release script and consumed once per version by the client', () => { + const pkg = readFileSync(resolve(root, 'package.json'), 'utf8'); + expect(pkg).toMatch(/"version-packages": "changeset version && node scripts\/generate-whats-new\.mjs/); + const ui = readFileSync(resolve(root, 'src/web/public/settings-ui.js'), 'utf8'); + expect(ui).toContain("'codeman-whats-new-seen'"); + expect(ui).toContain("fetch('/whats-new.json'"); + expect(readFileSync(resolve(root, 'src/web/public/app.js'), 'utf8')).toContain( + 'this.checkWhatsNew?.(data.version)' + ); + }); +}); From 02ea9251f8e4861c313cef0b9183abf6b567835c Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Fri, 16 Oct 2026 01:27:26 +0200 Subject: [PATCH 2/5] fix(#618): keep the release commit green when a release has no bold lead-ins The shipped-json test asserted at least one highlight. Many releases are written without bold lead-ins (1.32.1, 1.29.1 and 1.24.7 here, and every changesets-bot release whose changesets are plain sentences, this PR's own changeset included), and the generator handles that on purpose: it warns and writes an empty list, and the client then stays quiet. Running `npm run version-packages` in a scratch copy with only this PR's changeset produced `{"version":"1.42.0","highlights":[]}` and turned the gate red on exactly the release commit. The version check, which is what keeps a hand bump from shipping the previous release's notes, stays. Co-Authored-By: Claude Opus 5.5 (1M context) --- test/whats-new.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/whats-new.test.ts b/test/whats-new.test.ts index 95c4ba84..435de7cb 100644 --- a/test/whats-new.test.ts +++ b/test/whats-new.test.ts @@ -54,11 +54,13 @@ describe('whats-new extraction', () => { }); describe('shipped whats-new.json', () => { - it('matches the package version and has highlights, so the release announces itself', () => { + it("matches the package version, so a release cannot ship the previous release's notes", () => { const pkg = JSON.parse(readFileSync(resolve(root, 'package.json'), 'utf8')); const notes = JSON.parse(readFileSync(resolve(root, 'src/web/public/whats-new.json'), 'utf8')); expect(notes.version).toBe(pkg.version); - expect(notes.highlights.length).toBeGreaterThan(0); + // A release written without bold lead-ins legitimately has none (the client then stays + // quiet), so an empty list must not turn the release commit's CI red. + expect(Array.isArray(notes.highlights)).toBe(true); }); it('is regenerated by the release script and consumed once per version by the client', () => { From f2154a5d335129c0e47d91706ef74440768c930e Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Fri, 16 Oct 2026 01:27:26 +0200 Subject: [PATCH 3/5] fix(#618): read lead-ins behind the changesets commit prefix, skip group labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `changeset version` prefixes the first line of every committed changeset with its commit ("- d18deed: **Lead.** text"), so a changeset that opens with its bold lead-in, which is the shape the release notes ask for, was never matched in a changesets-bot release. The pattern now allows that prefix. The release notes also put group labels in bold at the start of a line: "**Fixes.**" and "**Fixes applied while landing.**" (1.41.1, 1.41.0, 1.35.0, 1.33.3). Those were taken as highlights, so a release with few features announced "... · Fixes applied while landing". They are skipped like the Thanks block. Tests cover both, and a release with no lead-ins. Co-Authored-By: Claude Opus 5.5 (1M context) --- scripts/lib/whats-new.mjs | 11 +++++++++-- test/whats-new.test.ts | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/scripts/lib/whats-new.mjs b/scripts/lib/whats-new.mjs index c5eaabd9..81d01182 100644 --- a/scripts/lib/whats-new.mjs +++ b/scripts/lib/whats-new.mjs @@ -17,14 +17,21 @@ export function versionSection(changelog, version) { return lines.slice(start + 1, end).join('\n'); } +// Bold phrases the release notes use as group labels rather than as the headline of a change: +// "**Fixes.**" heads the list of fixes, "**Fixes applied while landing.**" the review fixes. +const SECTION_LABELS = + /^(?:thanks\b.*|fixes|fixes applied while landing|docs|docs and tests|new features|also in this release)$/i; + /** Bold lead-ins at the start of a paragraph or bullet, cleaned for display. */ export function extractHighlights(section) { const out = []; for (const line of section.split('\n')) { - const m = /^\s*(?:[-*]\s+)?\*\*([^*]{3,120})\*\*/.exec(line); + // `changeset version` prefixes the first line of a committed changeset with its commit + // ("- d18deed: **Lead.** text"), which is the shape every changesets-bot release has. + const m = /^\s*(?:[-*]\s+)?(?:[0-9a-f]{7,40}:\s+)?\*\*([^*]{3,120})\*\*/.exec(line); if (!m) continue; const text = m[1].replace(/[\s.:]+$/, '').trim(); - if (!text || /^thanks\b/i.test(text)) continue; + if (!text || SECTION_LABELS.test(text)) continue; if (!out.includes(text)) out.push(text); } return out.slice(0, MAX_HIGHLIGHTS); diff --git a/test/whats-new.test.ts b/test/whats-new.test.ts index 435de7cb..84264a5c 100644 --- a/test/whats-new.test.ts +++ b/test/whats-new.test.ts @@ -43,6 +43,27 @@ describe('whats-new extraction', () => { ]); }); + it('reads a lead-in behind the commit prefix changesets writes for a committed changeset', () => { + const section = '- d18deed: **Each release announces itself (#618).** Text.\n- 13e652e: A fix with no lead-in.'; + expect(extractHighlights(section)).toEqual(['Each release announces itself (#618)']); + }); + + it('skips group labels the release notes put in bold (Fixes, Fixes applied while landing)', () => { + const section = [ + ' **Tab layouts (#538).** Text.', + ' **Fixes.**', + ' - **Shells reload cleanly (#601).** Text.', + ' **Fixes applied while landing.** Remote tabs keep their scrollback.', + ].join('\n'); + expect(extractHighlights(section)).toEqual(['Tab layouts (#538)', 'Shells reload cleanly (#601)']); + }); + + it('yields no highlights for a release written without bold lead-ins', () => { + const changelog = + '## 1.32.1\n\n### Patch Changes\n\n- 13e652e: Terminal copy: no gutter on the clipboard (#469).\n'; + expect(buildWhatsNew(changelog, '1.32.1')).toEqual({ version: '1.32.1', highlights: [] }); + }); + it('caps the list', () => { const many = Array.from({ length: 20 }, (_, i) => `**Feature number ${i}.** text`).join('\n\n'); expect(extractHighlights(many)).toHaveLength(8); From 71439c525b7dfc8158293db1c45ae52007a62b1b Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Fri, 16 Oct 2026 01:27:54 +0200 Subject: [PATCH 4/5] fix(#618): document whats-new.json in the release procedure docs/releasing.md step 3 lists everything `npm run version-packages` writes, and the COM commit stages explicit paths, so the new generated file has to be named there: committed with the release, the version check in test/whats-new.test.ts that fails a hand bump (with the two commands that regenerate it), and that a release without bold lead-ins ships an empty list and no toast. Co-Authored-By: Claude Opus 5.5 (1M context) --- docs/releasing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releasing.md b/docs/releasing.md index 74c2f7df..b99092f4 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -19,7 +19,7 @@ When user says "COM": Replace `patch` with `minor` or `major` as needed. Include `"xterm-zerolag-input": patch` on a separate line if that package changed too. -3. **Consume the changeset**: `npm run version-packages` (auto-bumps `package.json` files, updates `CHANGELOG.md`, runs `npm install --package-lock-only`, and verifies lockfile sync via `scripts/check-lockfile-sync.mjs` — all in one command; never hand-edit `CHANGELOG.md` or `package-lock.json` versions) +3. **Consume the changeset**: `npm run version-packages` (auto-bumps `package.json` files, updates `CHANGELOG.md`, runs `npm install --package-lock-only`, and verifies lockfile sync via `scripts/check-lockfile-sync.mjs` — all in one command; never hand-edit `CHANGELOG.md` or `package-lock.json` versions. It also writes `src/web/public/whats-new.json` (`scripts/generate-whats-new.mjs`): the bold lead-in of each change in the new `CHANGELOG.md` section, which the browser announces once per version in a toast. Commit it with the release; `test/whats-new.test.ts` fails when its version differs from `package.json`, so a hand bump needs `node scripts/generate-whats-new.mjs && npx prettier --write src/web/public/whats-new.json` too. A release whose notes have no bold lead-ins ships an empty list and shows no toast) 4. **Sync CLAUDE.md version**: Update the `**Version**` line in the root `CLAUDE.md` (under COM Shorthand) to match the new version from `package.json` 5. **Commit and deploy**: verify the branch first (`git branch --show-current`), then stage EXPLICIT paths — never `git add -A`, which has swept another session's WIP into a release. `git status --short` and account for every line before committing: `git add && git commit -m "chore: version packages" && git push && npm run build && systemctl --user restart codeman-web` From a61db218eec0a232ef7e0dc15f52d2d517e77d48 Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Fri, 16 Oct 2026 01:28:54 +0200 Subject: [PATCH 5/5] fix(#618): translate the release toast for zh-CN The toast every user sees once per release had no zh-CN entries, so a Chinese interface showed it, button included, in English. The button gets an entry and the frame a translateDynamic pattern that keeps the version, the "(+N more)" count and the highlights (those come from CHANGELOG.md and stay English). Tested through the real i18n.js in JSDOM, plus a pin on the strings settings-ui.js builds, which the pattern depends on. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/web/public/i18n.js | 6 ++++++ test/whats-new.test.ts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/src/web/public/i18n.js b/src/web/public/i18n.js index e9cb509b..8deb90ce 100644 --- a/src/web/public/i18n.js +++ b/src/web/public/i18n.js @@ -798,6 +798,8 @@ // Dynamic common status / toasts 'Settings saved': '设置已保存', + // The once-per-release toast (settings-ui.js checkWhatsNew); its highlights stay English. + "See what's new": '查看更新内容', 'Settings applied': '设置已应用', 'Save and keep Settings open': '保存并保持设置打开', 'Settings saved locally': '设置已保存到本机', @@ -1244,6 +1246,10 @@ [/^Update to v(.+)$/, (_m, version) => `更新到 v${version}`], [/^You're up to date \(v(.+)\)\.$/, (_m, version) => `已是最新版本(v${version})。`], [/^Update available: v(.+)$/, (_m, version) => `有可用更新:v${version}`], + [ + /^Codeman updated to v([^:\s]+): (.+?)(?: \(\+(\d+) more\))?$/, + (_m, version, shown, more) => `Codeman 已更新到 v${version}:${shown}${more ? `(另有 ${more} 项)` : ''}`, + ], [/^Selected: (.+)$/, (_m, value) => `已选择:${value}`], [/^Failed to (.+)$/, (_m, action) => `操作失败:${action}`], [/^Will create: (.+)$/, (_m, path) => `将创建:${path}`], diff --git a/test/whats-new.test.ts b/test/whats-new.test.ts index 84264a5c..15eff559 100644 --- a/test/whats-new.test.ts +++ b/test/whats-new.test.ts @@ -1,6 +1,8 @@ import { describe, it, expect } from 'vitest'; import { readFileSync } from 'node:fs'; import { resolve } from 'node:path'; +import vm from 'node:vm'; +import { JSDOM } from 'jsdom'; // @ts-expect-error plain .mjs helper shared with scripts/generate-whats-new.mjs import { extractHighlights, versionSection, buildWhatsNew } from '../scripts/lib/whats-new.mjs'; @@ -95,3 +97,32 @@ describe('shipped whats-new.json', () => { ); }); }); + +describe('the announcement in zh-CN', () => { + const dom = new JSDOM('', { + runScripts: 'outside-only', + url: 'http://localhost/', + }); + vm.runInContext(readFileSync(resolve(root, 'src/web/public/i18n.js'), 'utf8'), dom.getInternalVMContext()); + const api = ( + dom.window as unknown as { CodemanI18n: { t(s: string): string; configure(o: Record): void } } + ).CodemanI18n; + api.configure({ language: 'zh-CN' }); + + it('translates the button and the toast frame, keeping the version and the English highlights', () => { + expect(api.t("See what's new")).toBe('查看更新内容'); + expect(api.t('Codeman updated to v1.41.2: Tab layouts (#538) · Split view')).toBe( + 'Codeman 已更新到 v1.41.2:Tab layouts (#538) · Split view' + ); + expect(api.t('Codeman updated to v1.41.2: A · B · C (+5 more)')).toBe( + 'Codeman 已更新到 v1.41.2:A · B · C(另有 5 项)' + ); + }); + + it('builds the strings the pattern expects', () => { + const ui = readFileSync(resolve(root, 'src/web/public/settings-ui.js'), 'utf8'); + expect(ui).toContain('`Codeman updated to v${runningVersion}: ${shown}${more}`'); + expect(ui).toContain('` (+${notes.highlights.length - 3} more)`'); + expect(ui).toContain(`label: "See what's new"`); + }); +});