Skip to content

Claude/focused dirac 1qu5i0 - #27

Merged
BlockedPath merged 4 commits into
mainfrom
claude/focused-dirac-1qu5i0
Oct 4, 2026
Merged

BlockedPath merged 4 commits into
mainfrom
claude/focused-dirac-1qu5i0

Conversation

@BlockedPath

@BlockedPath BlockedPath commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Static Badge

claude added 4 commits October 4, 2026 03:20
…s its store key

On Pi 0.86.1+, Pi's built-in pi.dev `meta` catalog overlay refreshes before
this extension through the same models-store entry. Persisted entries had no
lastModified, so the overlay re-downloaded pi.dev on every refresh, a pi.dev
failure skipped the Meta catalog refresh, and an overlay write left after a
failed Meta refresh was later restored as the Meta catalog, cached baseUrl
included.

Persist with lastModified 0 and a source marker, restore only owned or legacy
entries, republish the last good catalog after a failed Meta refresh, and pin
restored models to https://api.meta.ai/v1. tests/model-runtime.test.ts drives
the real Pi ModelRuntime and skips where the built-in provider is absent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dqv6ZT1fRfoPdsgQCydQVL
Device-authorization, token-poll, and key-mint requests had no timeout, so a
stalled connection hung login past device-code expiry and hung Pi 0.83
refreshes (which pass no signal). Bound each request to 30 s, cap token polls
at the deadline, and report timeouts and expiry explicitly.

Report Pi 0.84+'s refresh timeout as a timeout rather than a cancellation, and
accept verification and setup URLs only as normalized http(s) URLs, matching
Pi's built-in Meta login, so control sequences cannot reach the terminal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dqv6ZT1fRfoPdsgQCydQVL
… aliases as missing

ctx.model is the session's current model, so a model switch mid-request
could strip reasoning and add prompt_cache_retention to another provider's
payload. Apply the hints only when the payload's model is the Meta model.

Pi treats an empty $META_API_KEY as unset, so an exported empty value used to
block the MODEL_API_KEY alias. Treat empty and blank values as missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dqv6ZT1fRfoPdsgQCydQVL
The README installed the meta-oauth-only branch, which is pinned at v0.6.0
and is not an ancestor of main. Install from npm or main, guard against
pinned git sources in tests, document the shared models-store entry, and
align the test-driver agent's examples with its own hermetic-runner rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dqv6ZT1fRfoPdsgQCydQVL
@coderabbitai

coderabbitai Bot commented Oct 4, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: da2df16c-5131-45db-8568-0510b4f2fc67
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@BlockedPath
BlockedPath merged commit f0f6860 into main Oct 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants