From 37cfd9fef8d5cbd41a5d30cf86aad838cc238518 Mon Sep 17 00:00:00 2001 From: hjshin-ubob Date: Mon, 31 Aug 2026 11:19:52 +0900 Subject: [PATCH] feat(catalog): add reasoning efforts for meta/muse-spark-1.1/1.2/contributor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Maps the three Muse Spark models to [minimal, low, medium, high, xhigh] so pi-ai can surface graded thinking levels instead of off-only. These ids are already MODEL_REASONING=true; without MODEL_EFFORTS, thinkingMetadataForModel() returns an empty map and the footer stays :off with no cycle via /thinking or Shift+Tab. Upstream command-code@1.32.2 lists these models as Efforts: — (none); this commit intentionally adds a pi-side policy mapping aligned with the opencode/opencode-go provider catalogs (which ship muse-spark@ minimal..xhigh). The catalog header notes it is normally generated by sync:commandcode-catalog — happy to move this to a separate override layer if maintainers prefer. --- src/commandcode-catalog.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commandcode-catalog.ts b/src/commandcode-catalog.ts index 6840f5f..6b7c073 100644 --- a/src/commandcode-catalog.ts +++ b/src/commandcode-catalog.ts @@ -124,6 +124,9 @@ export const MODEL_EFFORTS: Readonly