Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .agents/skills/lazurio-upstream-rebuild/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ Rozhodnutí, která by schvaloval Admin, smíš brát jako schválená jen tehdy
skupinám ve vlastních worktree z přesného tagu, každá commit na řádek; společné zadání jako
u inventury, k tomu „nikdy nepushuj, nesahej na `main`“. Závislosti mezi skupinami řeš dočasným
lešením, které při integraci zahodíš. Commity skupin přenes do větve cherry-pickem v pořadí
Cílového stacku, řádek 5 poslední. Commity řádků ber z `git log --reverse <báze>..origin/main`
Cílového stacku, řádek 5 poslední. Zprávy commitů piš do souboru a commituj
`git commit -F <soubor> --cleanup=verbatim`, nikdy v editoru: ten smaže řádky začínající `#`
(runbook, etapa 3). Commity řádků ber z `git log --reverse <báze>..origin/main`
podle předmětu, ne z hashů v Cílovém stacku (runbook, etapa 3). Pre-commit hook od v0.1.5 spouští `knip:check` nad celým
repozitářem: přehrávej s `--no-verify` a knip pusť nad hotovým stackem (runbook, etapa 3).
Opravu nad hotovým stackem adresuj řádku, který dotčené místo přidal (`git log -S`, runbook,
Expand Down
9 changes: 6 additions & 3 deletions apps/web/src/components/ChatView.logic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,12 @@ describe("planComposerTurn", () => {
planComposerTurn({ ...settingUp, resumeCompactionTokens: 120_000 }).turnDispatchMode,
).toBe("queue");
// A fresh session never steers, also while the run is set up.
expect(
planComposerTurn({ ...settingUp, dispatchMode: "steer", freshContext: true }),
).toMatchObject({ turnDispatchMode: "queue", shouldQueueBehindActiveRun: true });
for (const dispatchMode of ["auto", "steer"] as const) {
expect(planComposerTurn({ ...settingUp, dispatchMode, freshContext: true })).toMatchObject({
turnDispatchMode: "queue",
shouldQueueBehindActiveRun: true,
});
}
});
});

Expand Down
6 changes: 4 additions & 2 deletions apps/web/src/components/ChatView.logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1330,9 +1330,11 @@ export function planComposerTurn(input: {
missingWorktreeBaseBranch: shouldCreateWorktree && !input.activeThreadBranch,
baseBranchForWorktree: shouldCreateWorktree ? input.activeThreadBranch : null,
compactBeforeSend,
// Lazurio: the server queues "auto" during setup too and steers it in (Lazurio/t3code#170).
// Lazurio: the server queues "auto" during setup too and steers it in (Lazurio/t3code#170);
// a fresh session never steers, so it stays queued.
turnDispatchMode:
compactBeforeSend || (input.sendQueuesBehindSetup && dispatchMode !== "auto")
compactBeforeSend ||
(input.sendQueuesBehindSetup && (dispatchMode !== "auto" || input.freshContext))
? ("queue" as const)
: dispatchMode,
shouldQueueBehindActiveRun:
Expand Down
Loading
Loading