@karlorz/codexhost-cli-win32-x64 0.16.1-3 → 0.17.0-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19221,6 +19221,16 @@ function snapshotFromHistory(contents, ref, cwd, profile = CODEBUDDY_RUNTIME_PRO
19221
19221
  continue;
19222
19222
  if (supportsNativeCommands && row.type === "message" && row.role === "user" && data.agent === "compact" && !manualCompactions.has(text(row.id)))
19223
19223
  continue;
19224
+ if (row.type === "message" && row.role === "user" && data.startsNewUserRequest === false && !localCommand && data.agent !== "compact" && !isNativeCompactionSummary(row)) {
19225
+ const contextOnly = body.trim().length > 0 && body.replace(/<system-reminder\b[^>]*\sdata-role=(["'])user-context\1[^>]*>[\s\S]*?<\/system-reminder>/gu, "").trim().length === 0;
19226
+ if (data.isMeta === true || contextOnly)
19227
+ continue;
19228
+ if (current) {
19229
+ if (body)
19230
+ current.input.push({ type: "text", text: body });
19231
+ continue;
19232
+ }
19233
+ }
19224
19234
  if (includeCompactionHistory && isNativeCompactionSummary(row)) {
19225
19235
  if (supportsNativeCommands && current) {
19226
19236
  const outcome = data.isCompacted === true ? { status: "succeeded" } : {