Skip to content

fix(omp): upgrade to OMP 17.4.2 for ask option descriptions - #30

Merged
joeshull merged 6 commits into
internal/mainfrom
omp-upgrade-17.4.2
Aug 22, 2026
Merged

fix(omp): upgrade to OMP 17.4.2 for ask option descriptions#30
joeshull merged 6 commits into
internal/mainfrom
omp-upgrade-17.4.2

Conversation

@joeshull

@joeshull joeshull commented Aug 22, 2026

Copy link
Copy Markdown

Summary

  • Lands the Paseo-side consumer for OMP's ask optionDetails metadata. Renders described select options while keeping legacy label-only and malformed-metadata fallback behavior.
  • Raises MIN_SUPPORTED_OMP_VERSION from 16.3.9 to 17.4.2, the first oh-my-pi release containing the fix.

Downstream feature: true
Downstream rationale: Ports content from an open upstream PR (getpaseo#3628) that is not yet merged, so upstream patch-equivalence and reconciled-merge provenance cannot be established. internal/main has diverged from fork main by 93 commits including OMP-provider code not present upstream, so a direct/reconciled import cannot land conflict-free; this is fork-only until the upstream PR merges.

Related

Notes

  • The real-OMP e2e gate (daemon-e2e/omp.real.e2e.test.ts) requires an actual installed omp binary and needs to be exercised in a session with OMP available, not this one.

Verification

  • npx vitest run src/server/agent/providers/omp/agent.diagnostic.test.ts src/server/agent/providers/omp/agent.test.ts src/server/agent/providers/omp/rpc-ui-permission-mapper.test.ts --bail=1 — 83 passed
  • npm run typecheck
  • npm run lint / npm run format on changed files

Test plan

  • In a session with a real OMP binary >= 17.4.2 installed, run an ask tool call with described options and confirm descriptions render in Paseo's question card.
  • Confirm label-only ask calls (no descriptions) still behave as before.

17.4.2 is the first oh-my-pi release carrying the ask optionDetails
fix (can1357/oh-my-pi#9175, merged in #9176), which this repo's OMP
adapter now consumes.
@joeshull
joeshull force-pushed the omp-upgrade-17.4.2 branch 2 times, most recently from 2fd39f8 to dbe9bdd Compare August 22, 2026 14:41
toMatchObject ignores extra/missing keys, so the described-select and
malformed-metadata tests passed even with option-index misalignment or
an unfiltered whitespace-only description. Switched to toStrictEqual
on the options array so both are actually caught.
@joeshull
joeshull merged commit 75c020f into internal/main Aug 22, 2026
20 checks passed
@joeshull
joeshull deleted the omp-upgrade-17.4.2 branch August 22, 2026 18:15
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.

1 participant