acp-kernel 0.0.67-pr.271.129 → 0.0.67-pr.271.131

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.js CHANGED
@@ -3956,7 +3956,7 @@ function deriveTopicFromSummary(summary) {
3956
3956
  return text.length > 60 ? text.slice(0, 60).trimEnd() : text;
3957
3957
  }
3958
3958
  function splitLineEntries(content) {
3959
- const parts = content.split(/\n(?=\s*["']?\s*,?\s*[mb]\d{1,7}\s*(?:[-\u2013\u2014\u2026~]|\.\.\.|to)\s*[mb]\d{1,7}\b)/i).map((p) => p.trim().replace(/^["']\s*,?\s*/, "").replace(/["']\s*$/, "")).filter((p) => p.length > 0);
3959
+ const parts = content.split(/\n(?=\s*(?:["']\s*,\s*)?["']?\s*[mb]\d{1,7}\s*(?:[-\u2013\u2014\u2026~]|\.\.\.|to)\s*[mb]\d{1,7}\b)/i).map((p) => p.trim().replace(/^(?:["']\s*,?\s*)+/, "").replace(/["']\s*$/, "")).filter((p) => p.length > 0);
3960
3960
  return parts.length > 0 ? parts : [content.trim()];
3961
3961
  }
3962
3962
  function stripJsonWrapperResidue(s) {