From 294a78dc4af294b0060045b80a29fb510bbcf0b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 01:21:21 +0000 Subject: [PATCH 1/2] Initial plan From 334e52c2696e14abfd7d928486b7febb36382a75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 01:41:15 +0000 Subject: [PATCH 2/2] fix: fix TypeScript type error in json_object_to_markdown.cjs Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --- actions/setup/js/json_object_to_markdown.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/setup/js/json_object_to_markdown.cjs b/actions/setup/js/json_object_to_markdown.cjs index bd8f2e4c98..6af6136099 100644 --- a/actions/setup/js/json_object_to_markdown.cjs +++ b/actions/setup/js/json_object_to_markdown.cjs @@ -39,7 +39,7 @@ function formatValue(value) { * Convert a plain JavaScript object to Markdown bullet points. * Nested objects and arrays are rendered as indented sub-lists. * - * @param {Record} obj - The object to render + * @param {object} obj - The object to render * @param {number} [depth=0] - Current indentation depth * @returns {string} - Markdown bullet list string */ @@ -60,7 +60,7 @@ function jsonObjectToMarkdown(obj, depth = 0) { lines.push(`${indent}- **${label}**:`); for (const item of value) { if (typeof item === "object" && item !== null) { - lines.push(jsonObjectToMarkdown(/** @type {Record} */ item, depth + 1)); + lines.push(jsonObjectToMarkdown(item, depth + 1)); } else { lines.push(`${" ".repeat(depth + 1)}- ${String(item)}`); } @@ -68,7 +68,7 @@ function jsonObjectToMarkdown(obj, depth = 0) { } } else if (typeof value === "object" && value !== null) { lines.push(`${indent}- **${label}**:`); - lines.push(jsonObjectToMarkdown(/** @type {Record} */ value, depth + 1)); + lines.push(jsonObjectToMarkdown(value, depth + 1)); } else { const formatted = formatValue(value); lines.push(`${indent}- **${label}**: ${formatted}`);