Ship Assistent 0.15.11: collaborative params, richer UI, and strict image critique.

Adds session_exact pinning, sampler/scheduler chips, expanded param tags with non-default highlighting, QLoRA HF presets, LoRA strength editing, SQLite bootstrap for training memory, last-job UI, and harsher critique_image QC so result review leads with defects instead of praise.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-23 19:59:45 +03:00
co-authored by Cursor
parent 65a0982b9d
commit b0f2736f65
22 changed files with 1674 additions and 265 deletions
+37
View File
@@ -193,6 +193,43 @@ describe('session.js', () => {
assert.equal(forced.patch.cfg, 1);
});
it('mergeExactParamsForGenerate preserves pinned session_exact sampler/scheduler when LLM omits them', () => {
const exact = {
generation: { profile: 'turbo', steps: 8, cfg: 1, sampler: 'euler', scheduler: 'normal' },
profiles: { turbo: { steps: 8, cfg: 1, sigma_shift: 1.15 } },
};
const { patch, clearSessionKeys } = mergeExactParamsForGenerate(
{ prompt: 'a fox', generate: true },
{
exact,
profiles: exact.profiles,
profileName: 'turbo',
sessionExact: { sampler: 'heun', scheduler: 'simple', aspect: '16:9' },
userParamIntent: false,
},
);
assert.equal(patch.sampler, 'heun');
assert.equal(patch.scheduler, 'simple');
assert.equal(patch.aspect, '16:9');
assert.equal(patch.steps, 8);
assert.deepEqual(clearSessionKeys.sort(), []);
});
it('mergeExactParamsForGenerate does not overwrite explicit LLM sampler/scheduler', () => {
const { patch } = mergeExactParamsForGenerate(
{ generate: true, sampler: 'dpmpp_2m', scheduler: 'karras' },
{
exact: { generation: { steps: 8, cfg: 1 } },
profiles: { turbo: { steps: 8, cfg: 1 } },
profileName: 'turbo',
sessionExact: { sampler: 'heun', scheduler: 'simple' },
userParamIntent: false,
},
);
assert.equal(patch.sampler, 'dpmpp_2m');
assert.equal(patch.scheduler, 'karras');
});
it('resolveExactProfileDefaults picks raw over generation defaults', () => {
const d = resolveExactProfileDefaults({
exact: { generation: { steps: 8, cfg: 1, sigma_shift: 1.15 } },