Skip to content

feat(omp): add the native OMP adapter - #898

Draft
bandzalkin wants to merge 1 commit into
feat/omp-native-rpc-client-INT-1890from
feat/omp-native-adapter-INT-1891
Draft

bandzalkin wants to merge 1 commit into
feat/omp-native-rpc-client-INT-1890from
feat/omp-native-adapter-INT-1891

Conversation

@bandzalkin

Copy link
Copy Markdown
Contributor

Why

With the native transport in place, Band needs an adapter that owns the omp --mode rpc process lifecycle, prompt authority and permission handling directly, beside the ACP-bridged omp_acp adapter.

What

  • OmpAdapter, OmpAdapterConfig, OmpPermissionRequest in band.adapters.omp, exported from band.adapters: one process, session and workspace per room; Band tools registered as native host tools; the shared connection guidance installed as an always-apply rule whose presence is verified before inference; background continuations awaited until native settlement; permission selects routed through a resolver; cancelled selects narrated as an omp_permission call/result pair under Emit.TOOL_CALLS.
  • Conformance registration (adapter config, image/outcome/stop probes), baseline matrix cells, a native permission sample, examples/omp.py, and a docs section.
  • .github/scripts/setup-omp.sh moves the one CI omp binary to the native pin (18.8.9), which also serves the retained omp_acp cells.

Scope

Stacked on the native RPC client PR. omp_acp, its tests and its e2e cells are untouched. Shared prompt/formatter text is consumed as it is on main. Four adapter-level cases that also need #893/#894 are deferred until those merge. Retiring omp_acp is a separate follow-up.

@linear-code

linear-code Bot commented Oct 21, 2026

Copy link
Copy Markdown

INT-1891

@bandzalkin
bandzalkin added this pull request to stack #903 October 21, 2026 15:41
@bandzalkin
bandzalkin force-pushed the feat/omp-native-adapter-INT-1891 branch from 91ba13a to 12cff7a Compare October 21, 2026 16:13
bandzalkin added a commit to bandzalkin/band-sdk-python that referenced this pull request Oct 21, 2026
Source-Base: 68580bc
Source-Head: 12cff7a
Upstream-PR: band-ai#898
@bandzalkin
bandzalkin force-pushed the feat/omp-native-adapter-INT-1891 branch from 12cff7a to b84f497 Compare October 21, 2026 17:52
OmpAdapter drives omp --mode rpc directly: one process, persistent
session and workspace per room, Band tools registered as native host
tools, the shared connection guidance installed as an always-apply rule
whose presence is verified before inference, background continuations
awaited until the native session settles, and native permission selects
routed through a resolver. It sits beside the ACP-bridged omp_acp
adapter, whose tests and e2e cells are unchanged; the one CI omp binary
moves to the native pin, which also serves the ACP cells.
@bandzalkin
bandzalkin force-pushed the feat/omp-native-adapter-INT-1891 branch from b84f497 to ae28e96 Compare October 21, 2026 17:56
bandzalkin added a commit to bandzalkin/band-sdk-python that referenced this pull request Oct 21, 2026
Source-Base: 0b6c1e4
Source-Head: ae28e96
Upstream-PR: band-ai#898
github-actions Bot pushed a commit to bandzalkin/band-sdk-python that referenced this pull request Oct 21, 2026
Source-Base: 0b6c1e4
Source-Head: ae28e96
Upstream-PR: band-ai#898
github-actions Bot pushed a commit to bandzalkin/band-sdk-python that referenced this pull request Oct 21, 2026
Source-Base: 0b6c1e4
Source-Head: ae28e96
Upstream-PR: band-ai#898
github-actions Bot pushed a commit to bandzalkin/band-sdk-python that referenced this pull request Oct 21, 2026
Source-Base: 0b6c1e4
Source-Head: ae28e96
Upstream-PR: band-ai#898

This branch has not been deployed

No deployments
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