pi-rozalia 0.1.1 → 0.1.2

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.
@@ -226,8 +226,8 @@ async function registerRozaliaProvider(
226
226
  function createLoginFlow(
227
227
  defaultUrl: string,
228
228
  defaultApiKey: string | undefined,
229
- ): (pi: ExtensionAPI, callbacks: OAuthLoginCallbacks) => Promise<OAuthCredentials> {
230
- return async (pi: ExtensionAPI, callbacks: OAuthLoginCallbacks) => {
229
+ ): (callbacks: OAuthLoginCallbacks) => Promise<OAuthCredentials> {
230
+ return async (callbacks: OAuthLoginCallbacks) => {
231
231
  const inputUrl = await callbacks.onPrompt({
232
232
  message: `Enter Rozalia server URL (press Enter for ${defaultUrl}):`,
233
233
  });
@@ -249,10 +249,6 @@ function createLoginFlow(
249
249
  // Still register — models will be discovered later or show fallback
250
250
  }
251
251
 
252
- // Actually register the provider so models appear immediately
253
- const oauthBlock = buildOauthBlock(defaultUrl, defaultApiKey);
254
- await registerRozaliaProvider(pi, creds, oauthBlock);
255
-
256
252
  return encodeCreds(creds);
257
253
  };
258
254
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-rozalia",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "OpenAI-compatible provider extension for the Pi coding agent — connects to Rozalia AI",
5
5
  "keywords": [
6
6
  "pi-package",