@monotykamary/pi-loop 0.1.20 → 0.1.21

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": "@monotykamary/pi-loop",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "A pi extension that closes the verification loop on task completion",
5
5
  "author": "monotykamary",
6
6
  "license": "MIT",
@@ -4,12 +4,7 @@
4
4
  * sees when pressing Ctrl+P in pi, with search and API-key availability.
5
5
  */
6
6
 
7
- import {
8
- ModelRuntime,
9
- ModelSelectorComponent,
10
- SettingsManager,
11
- getAgentDir,
12
- } from '@earendil-works/pi-coding-agent';
7
+ import { ModelRuntime, ModelSelectorComponent, getAgentDir } from '@earendil-works/pi-coding-agent';
13
8
  import type { ExtensionContext } from '@earendil-works/pi-coding-agent';
14
9
  import type { Model } from '@earendil-works/pi-ai';
15
10
 
@@ -42,9 +37,6 @@ export async function pickModel(
42
37
  ? ctx.modelRegistry.find(currentProvider, currentModelId)
43
38
  : undefined;
44
39
 
45
- // Minimal in-memory settings — we only need the selector, not persistence
46
- const settingsManager = SettingsManager.inMemory();
47
-
48
40
  // pi 0.80.8: ModelSelectorComponent takes the canonical ModelRuntime
49
41
  // (previously the sync ModelRegistry facade). ExtensionContext only exposes
50
42
  // modelRegistry, so build a runtime from the agent dir for the picker.
@@ -57,7 +49,6 @@ export async function pickModel(
57
49
  const component = new ModelSelectorComponent(
58
50
  tui,
59
51
  currentModel,
60
- settingsManager,
61
52
  modelRuntime,
62
53
  [], // no scoped-model cycling — we want the full model list
63
54
  (model) => done(model),