pi-vision-handoff 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-vision-handoff",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Give text-only pi models vision — describe images with a vision model you pick via an interactive picker, then hand off the text description to non-vision models",
5
5
  "type": "module",
6
6
  "author": "Tom X Nguyen",
package/vision-handoff.ts CHANGED
@@ -670,15 +670,15 @@ async function showSelector(ctx: ExtensionCommandContext): Promise<void> {
670
670
  const ref = result.ref;
671
671
  const thinking = result.thinking;
672
672
  const thinkingLevel = result.thinkingLevel;
673
+ // Fold the thinking state into the single updateConfig notify so the
674
+ // "thinking off" message can't overwrite the model-change message.
675
+ const thinkingNote = thinking
676
+ ? `thinking on (${thinkingLevel})${ref ? " — applies only if the vision model supports reasoning" : ""}`
677
+ : "thinking off";
673
678
  updateConfig(
674
679
  ctx,
675
680
  (c) => ({ ...c, visionModel: ref, thinking, thinkingLevel }),
676
- ref ? `Vision model set to ${ref}` : "Vision model cleared",
677
- );
678
- ctx.ui.notify(
679
- `Thinking: ${thinking ? `on (${thinkingLevel})` : "off"}` +
680
- (thinking && ref ? " — applies only if the vision model supports reasoning" : ""),
681
- "info",
681
+ ref ? `Vision model set to ${ref} · ${thinkingNote}` : `Vision model cleared · ${thinkingNote}`,
682
682
  );
683
683
  if (!ref) {
684
684
  ctx.ui.notify("Handoff is inactive until you pick a vision model.", "warning");