Files

14 lines
1.3 KiB
TypeScript

import { VersionInfo } from '@start9labs/start-sdk'
export const v_0_2_96 = VersionInfo.of({
version: '0.2.96:0',
releaseNotes: {
en_US:
"Two new operator-editable prompt textareas in Settings → LLM prompts: 'Polish prompt — speaker name inference' and 'Polish prompt — section summary rewrite'. Same three-layer override pattern as the existing transcribe and analyze prompts (per-session override → operator-promoted default → hardcoded default in post-cluster-polish.js). 'Reset to default' and 'Set as new default' buttons work the same way too. Save-time validation enforces the required template variables: the name-inference prompt MUST include {{transcript}} and {{speakerKeys}}; the summary-rewrite prompt MUST include {{sections}} and {{transcript}}; both must reference JSON output. The prompts that were previously hardcoded constants in post-cluster-polish.js are now exported as DEFAULT_NAME_INFERENCE_PROMPT_TEMPLATE and DEFAULT_SUMMARY_POLISH_PROMPT_TEMPLATE, and the polish functions accept a promptOverride argument that the summarize-url worker threads through from cfg. Empty override falls through to the code default, so a fresh install behaves exactly the same as before — only the polish prompts become editable.",
},
migrations: {
up: async ({ effects }) => {},
down: async ({ effects }) => {},
},
})