openzoo 0.28.1 → 0.28.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.
Files changed (2) hide show
  1. package/lib/cursorcfg.js +15 -2
  2. package/package.json +1 -1
package/lib/cursorcfg.js CHANGED
@@ -185,7 +185,20 @@ export function writeEditorProviderConfig(which, { baseUrl, models }) {
185
185
  variants: [],
186
186
  legacySlugs: [],
187
187
  idAliases: [],
188
- namedModelSectionIndex: 1,
188
+ // SECTION 0, not 1. The named-models view groups rows by this index and
189
+ // renders section 0; every row we wrote pointed at section 1, which put them
190
+ // in a group the dropdown does not draw — visible in Settings (which ignores
191
+ // the index) but "unavailable" in the composer picker. That split — right in
192
+ // Settings, missing from the dropdown — is the tell.
193
+ // BOTH VIEWS. Read out of Cursor's own bundle:
194
+ // routed view (the dropdown that opens on "Auto"):
195
+ // _d_(t) => t.visibleInRoutedModelView === true && t.defaultOn !== false
196
+ // named view (the Settings list):
197
+ // filter(v => v.namedModelSectionIndex !== undefined)
198
+ // We only ever set the second, so our models were present in Settings and
199
+ // ABSENT from the composer dropdown — exactly the split that was reported.
200
+ visibleInRoutedModelView: true,
201
+ namedModelSectionIndex: 0,
189
202
  cloudAgentEffortModes: [],
190
203
  modelPickerBadges: [],
191
204
  });
@@ -260,7 +273,7 @@ export function pinEditorProviderConfig(which, { baseUrl, models }) {
260
273
  isRecommendedForBackgroundComposer: false, supportsPlanMode: true,
261
274
  supportsSandboxing: true, isUserAdded: true, inputboxShortModelName: slotFor(m).label,
262
275
  parameterDefinitions: [], variants: [], legacySlugs: [], idAliases: [],
263
- namedModelSectionIndex: 1, cloudAgentEffortModes: [], modelPickerBadges: [],
276
+ visibleInRoutedModelView: true, namedModelSectionIndex: 0, cloudAgentEffortModes: [], modelPickerBadges: [],
264
277
  }))));
265
278
  const primary = esc(models[0]);
266
279
  const base = esc(baseUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openzoo",
3
- "version": "0.28.1",
3
+ "version": "0.28.3",
4
4
  "description": "Local x402-paying proxy + MCP server for openzoo.fun — point any OpenAI-compatible harness (Cursor, Claude Code, aider, SDKs) at localhost and it pays per call from a local burner wallet. Solana and Base rails live; Robinhood experimental.",
5
5
  "license": "MIT",
6
6
  "type": "module",