codex-mobile-re 0.1.91 → 0.1.92

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.
package/dist/index.html CHANGED
@@ -12,7 +12,7 @@
12
12
  <link rel="icon" type="image/png" sizes="192x192" href="/icons/pwa-192x192.png" />
13
13
  <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
14
14
  <title>Codex Web</title>
15
- <script type="module" crossorigin src="/assets/index-D7o45WlH.js"></script>
15
+ <script type="module" crossorigin src="/assets/index-CHwKrUR0.js"></script>
16
16
  <link rel="stylesheet" crossorigin href="/assets/index-Dbxv7TvZ.css">
17
17
  </head>
18
18
  <body class="bg-slate-950">
package/dist-cli/index.js CHANGED
@@ -9024,7 +9024,12 @@ function buildSessionItemOrder(sessionLogRaw, turnIds) {
9024
9024
  orderByTurnId.set(currentTurnId, slots);
9025
9025
  }
9026
9026
  if (payload.type === "message" && payload.role === "assistant") {
9027
- slots.push({ type: "agentMessage" });
9027
+ const content = Array.isArray(payload.content) ? payload.content : [];
9028
+ const hasText = content.some((item) => {
9029
+ const record = asRecord7(item);
9030
+ return typeof record?.text === "string" && record.text.trim().length > 0;
9031
+ });
9032
+ if (hasText) slots.push({ type: "agentMessage" });
9028
9033
  continue;
9029
9034
  }
9030
9035
  if (payload.type === "function_call") {