8000 [pull] main from can1357:main by pull[bot] · Pull Request #94 · ericrihm/oh-my-pi · GitHub
[go: up one dir, main page]

Skip to content

[pull] main from can1357:main - #94

Merged
pull[bot] merged 41 commits into
ericrihm:mainfrom
can1357:main
Sep 17, 2026
Merged

pull[bot] merged 41 commits into
ericrihm:mainfrom
can1357:main

Conversation

@pull
@pull pull Bot commented Sep 17, 2026 •
Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Brit and others added 30 commits September 16, 2026 16:34
- Direct setTerminalTitle preserves caller title on OSC fallback; only
  the composed working title re-pins static on native failure.
- Title tests reset both OSC and native observations at stale sites.
- Drop unimplemented prewalk/TTSR changelog claims.
- Add native-failure regression tests (direct verbatim, mid-spinner static).
fix(coding-agent): latch Windows title static on native-path failure, hermetic title tests
fix(agent): retain cancelled jobs until execution settles
perf(edit): cache retained snapshot UTF-16 accounting
fix(edit): reject invalid UTF-8 before staging edits
fix(shell): report accurate macOS process enumeration counts
… in tab-worker

- Added adoptElementArgs function to re-home DOM element handles into the target realm before evaluation.
- Updated tab.evaluate implementation to adopt handles and dispose them after evaluation.
- Introduced Realm.adoptHandle and JSHandle.realm typings to support handle adoption.
- Rebound parent factories without admitting extension-contributed tools.
- Preserved owner extension roots during child revival and cold discovery.
- Added policy, tool-isolation, provider-lifecycle, and revival regressions.

Verified with bun check, focused regression suites, and task/eval smoke checks.
- Carried secret prompt intent through native login and first-run setup.
- Masked retained answers and diagnostics with asterisks and isolated input history.
- Rejected unsupported secret prompts in RPC without requesting ordinary input.
- Added rendering, submission, history-isolation, and RPC regressions.

Verified with bun check, focused regression suites, and native-terminal smoke checks.
…ching

- Add `resolveHeaders` hook to `Model` type to allow dynamic credential injection at request time.
- Update `AuthStorage` to support an asynchronous config-value resolver for process-hardened credentials.
- Refactor `stream` and `streamSimpleRequest` to transparently resolve model headers before dispatching requests.
- Update `model-manager` to support header restoration during cache reconstruction.
- Introduce `withResolvedModelHeaders` to handle asynchronous header resolution during streaming.
- Update `coding-agent` search providers to await model header resolution during transport initialization.
…n storage

- Implemented `SqlSessionStorageTransaction` interface to support atomic database operations.
- Enforced atomicity in `rename` operations by wrapping delete and update queries in a single database transaction.
- Optimized MySQL dialect queries by replacing `VALUES()` syntax with explicit bound parameters to ensure compatibility.
- Added self-rename handling in `IndexedSessionStorage` and `SqlSessionStorage` to preserve session state.
- Verified transaction rollback behavior and atomic rename integrity via new SQL session storage test suites.
- Implement `isPuppeteerHandle` helper to safely verify Puppeteer objects without eager imports.
- Refactor `adoptElementArgs` to use a `Map` for deduplicating element handles during cross-world adoption.
- Add error handling in `adoptElementArgs` to ensure adopted handles are disposed on partial failures.
- Update `WorkerCore.evaluate` to skip adoption for string-based evaluations, preserving Puppeteer's native execution behavior.
- Add comprehensive suite for OMP-owned browser evaluation to verify correct cross-world handle adoption and handle lifecycle management.
…oading

- Documented async execution and caching behavior for credential commands in models.
- Clarified that credential commands are deferred until request time to prevent unwanted execution during catalog loading.
- Added guidance on using the `theme` export as a live binding for bundled extensions.
- Updated extension loading documentation to include native object loader bridging for bundled host modules.
…ility

- Implement a theme binding mechanism to maintain live references across reloads and previews.
- Refactor theme property access in components to use direct assignments for state consistency.
- Ensure `statusLineLuminance` is accessed via stable variables to prevent runtime volatility.
- Enforce snapshotting of byte lines in `ConcatSink` to prevent downstream mutation during streaming.
- Harden module import patterns in legacy compatibility layer to prioritize specific matches.
- Removed unused asynchronous file loading methods from `ConfigFile`.
- Deleted test suites for `theme-getters`, `tool-execution`, and `tool-guidance` efficiency.
- Removed internal splice counter instrumentation from `Markdown` component.
- Migrated CI test runner watchdog tests to use integrated subprocess execution.
…bort

- Replaced synchronous `Proxy`-based header resolution with explicit `ConfigHeaderResolver` async functions.
- Eliminated implicit command execution via property access, ensuring credential resolution is request-scoped and cancelable.
- Moved all command-based resolution logic to `resolve-config-value` and removed the deprecated `model-config-values` module.
- Updated `model-patch` to track `resolveHeaders` and properly compose hierarchical configurations.
- Enabled abort-signal support across all configuration resolution chains to improve stability and resource management.
- Updated `image-gen` and `tts` tools to accept an optional `resolveHeaders` hook for dynamic request configuration.
- Added asynchronous header resolution via `modelRegistry` for OpenAI, XAI, DeepInfra, and OpenRouter integration points.
- Refactored `legacy-pi-compat` to support host-namespaced modules and theme binding persistence in virtual modules.
- Replaced global-scope module synthesis in `legacy-pi-compat` with direct host-namespace exports to improve reliability.
- Optimized package pattern matching logic in the internal loader for consistent subpath resolution.
- Introduce `mockSchedulerWaitWithClock` helper to manage monotonic time advances during test execution.
- Replace ad-hoc `vi.spyOn(scheduler, "wait")` calls with the new helper across multiple agent test suites.
- Refactor `sleepLong` in `packages/utils` to use a monotonic deadline, ensuring correct re-arming behavior upon premature timer wake-ups.
- Standardize `sleepLong` test suite with `mockMonotonicScheduler` to verify timer re-arming and abort propagation.
- Modernize `ModelRegistry` tests to use `AuthStorage.create(":memory:")` and `resolveModelHeaders` pattern for consistent header resolution.
- Improve `MCP` streamable transport test robustness by using real timers for end-to-end deadline verification.
- Shift model header resolution from catalog-load time to the request boundary to allow dynamic credential updates.
- Introduce `resolveHeaders` capability to models, replacing static header objects with async resolvers that handle command-backed authentication.
- Decouple MCP request timeouts from transport-level cancellation to ensure proper lifecycle management for background streams.
- Update `HttpTransport` to maintain request-time deadlines while allowing background SSE drains to continue after initial success.
- Improve cache-derived model reconstruction by enabling the restoration of configured auth headers without baking snapshots into persistent storage.
- Introduced `^` model mention composer autocomplete with fuzzy ranking integrated into the interactive browser.
- Implemented `ModelMentionRegistry` to manage branch-local model pseudonyms (`m1`, `m2`, ...) for task and eval delegation.
- Added atomic chip rendering for model mentions in the composer and user-message bubbles.
- Synchronized session agents with the model mention state to ensure task tools can resolve tagged models.
- Added validation for model mentions during `!`/`$` local execution drafts.
…stry

- `custom-editor.ts` imported `session/model-mentions.ts`, which pulls in
  `task/agents` and `config/model-resolver` and through them discovery,
  internal-urls, the catalog, settings, and omptype. That dragged ~110
  modules into the startup composer prepaint graph and broke the
  `startup-composer-graph` isolation test in CI.
- Moved the dependency-free token/tag regexes, `ModelMention`, and the
  formatting helpers to `session/model-mention-syntax.ts`; the composer,
  message renderer, and autocomplete now import that. `model-mentions.ts`
  keeps only the journal replay and `ModelMentionRegistry`.
@pull pull Bot locked and limited conversation to collaborators Sep 17, 2026
@pull pull Bot added the ⤵️ pull label Sep 17, 2026
@pull
pull Bot merged commit a2d8306 into ericrihm:main Sep 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0