feat(panel): add minimalist conversation turn rail and prompt preview in steps table

This commit is contained in:
Swei
2026-11-14 04:47:35 +08:00
parent cb66de5578
commit 078b2dccd6
10 changed files with 718 additions and 21 deletions
+4 -1
View File
@@ -724,6 +724,9 @@ export async function enumerateAndSyncConversations({
if (!Object.prototype.hasOwnProperty.call(lastCachedStep, 'contextBreakdown')) {
return true;
}
if (!Object.prototype.hasOwnProperty.call(lastCachedStep, 'turnIndex')) {
return true;
}
if (steps.some((s) => !Object.prototype.hasOwnProperty.call(s, 'responseModel'))) {
return true;
}
@@ -893,7 +896,7 @@ export async function enumerateAndSyncConversations({
`${CACHE_SCHEMA_VERSION}:`
);
if (!hasCurrentSchema) return true;
if (hasMissingStepFields(cached)) return true;
if (hasMissingStepFields(cached) && (conv.inSummaries || conv.cascadeId.toLowerCase() === reqLower)) return true;
const missingSubagentRefs = !Array.isArray(cached.subagentRefs);
if (!conv.inSummaries) {
if (missingSubagentRefs && conv.cascadeId.toLowerCase() === reqLower) {