@selesai/code 0.10.0 → 0.10.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to `@selesai/code` will be documented in this file.
4
4
 
5
+ ## [0.10.1] - 2026-08-28
6
+
7
+ ### Fixed
8
+ - **Vision caption model picker in `/settings`.** Selecting a model (or `off`) in the "Vision caption model" submenu now updates the displayed value and closes the submenu correctly. Previously the selection was saved to `settings.json` but the settings row kept showing the old model, making the change appear to have no effect.
9
+
5
10
  ## [0.10.0] - 2026-08-27
6
11
 
7
12
  ### Added
@@ -22,7 +22,7 @@ export interface SettingsConfig {
22
22
  imageCaptionModel: string | undefined;
23
23
  imageCaptionContextTokens: number;
24
24
  visionModels: string[];
25
- visionModelSelector?: (currentValue: string, done: () => void) => ModelSelectorComponent;
25
+ visionModelSelector?: (currentValue: string, done: (selectedValue?: string) => void) => ModelSelectorComponent;
26
26
  steeringMode: "all" | "one-at-a-time";
27
27
  followUpMode: "all" | "one-at-a-time";
28
28
  transport: Transport;
@@ -3687,7 +3687,7 @@ export class InteractiveMode {
3687
3687
  const currentModel = slash > 0 ? this.session.modelRuntime.getModel(currentValue.slice(0, slash), currentValue.slice(slash + 1)) : undefined;
3688
3688
  return new ModelSelectorComponent(this.ui, currentModel, this.settingsManager, this.session.modelRuntime, this.session.scopedModels, (model) => {
3689
3689
  this.settingsManager.setImageCaptionModel(model ? `${model.provider}/${model.id}` : undefined);
3690
- selectorDone();
3690
+ selectorDone(model ? `${model.provider}/${model.id}` : "off");
3691
3691
  this.showStatus(model ? `Vision caption model: ${model.provider}/${model.id}` : "Vision captioning disabled");
3692
3692
  }, selectorDone, undefined, { modelFilter: (model) => model.input.includes("image"), allowOff: true, persistSelection: false });
3693
3693
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selesai/code",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Maintained, extension-first Pi coding agent with built-in workflows, subagents, web research, questions, skills, and an enhanced terminal UI.",
5
5
  "type": "module",
6
6
  "repository": {