@omercnet/paseo-omp 3.0.0-next.284.1 → 3.0.0-next.291.1

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.
package/OVERVIEW.md CHANGED
@@ -2,7 +2,7 @@ OMP adds an agent provider for the OMP coding agent, plus an OMP sidebar and wor
2
2
 
3
3
  ## Setup
4
4
 
5
- - Paseo ^0.12.0 || ^0.13.0.
5
+ - Paseo ^0.13.0.
6
6
  - OMP 18.1.15 or newer on the daemon host, speaking RPC protocol v2. Older runtimes are rejected.
7
7
  - Provider options let you change the OMP command, set environment values, choose an output redaction mode and set a session directory and timeout. Named OMP profiles appear as separate `OMP · <profile>` providers.
8
8
 
@@ -11,6 +11,7 @@ OMP adds an agent provider for the OMP coding agent, plus an OMP sidebar and wor
11
11
  - Edit OMP settings and project configuration for the default store or a named profile.
12
12
  - Manage OMP's own plugins, and view quota history, memory, hub processes, session history and a support report.
13
13
  - An **MCP** composer control runs OMP's MCP management in the current session, with authorization prompts shown in the chat.
14
+ - OMP agents can call Paseo's orchestration tools with the optional `serverId` argument and `list_hosts` to delegate work to other connected Paseo hosts.
14
15
 
15
16
  ## Reads and sends
16
17
 
package/README.md CHANGED
@@ -24,7 +24,7 @@ before capture.
24
24
 
25
25
  ## Quick start
26
26
 
27
- Requirements: Paseo `^0.12.0 || ^0.13.0`, OMP `18.1.15` or newer, and OMP RPC protocol v2. Workspace discovery passes `includeBackground`, which throws on hosts that do not advertise `features.backgroundWorkspaces` (new in 0.12), so older hosts are not supported.
27
+ Requirements: Paseo `^0.13.0`, OMP `18.1.15` or newer, and OMP RPC protocol v2. Workspace discovery passes `includeBackground`, which throws on hosts that do not advertise `features.backgroundWorkspaces`; every 0.13 host does.
28
28
 
29
29
  ```bash
30
30
  paseo plugin install npm:@omercnet/paseo-omp@<version>
@@ -40,7 +40,7 @@ Open the **OMP** sidebar to review the provider-profile contract, choose which c
40
40
  - [Core-provider issue and parity audit](docs/core-provider-issue-audit.md)
41
41
  - [Release checklist](docs/release-checklist.md)
42
42
 
43
- The plugin uses public Paseo 0.12 provider and client contracts and registers distinct `omp-plugin` and `omp-plugin-<profile>` identities; it does not modify the bundled `omp` provider.
43
+ The plugin uses public Paseo 0.13 provider and client contracts and registers distinct `omp-plugin` and `omp-plugin-<profile>` identities; it does not modify the bundled `omp` provider.
44
44
 
45
45
  ## Named OMP profiles
46
46
 
@@ -95,12 +95,12 @@ Provider functionality outside the capability flags is tracked separately:
95
95
  | --- | ---: | --- |
96
96
  | Registration metadata and sanitized SVG icon | **100%** | Stable `omp-plugin` identity, label, description, and bundled icon. |
97
97
  | Strict `providerOptionsSchema` | **100%** | Command, literal environment, names-only profile inherited environment, output-redaction mode, session directory, RPC timeout, and role-model options are validated and normalized. Host-wide inherited names are separately persisted and merged at launch. |
98
- | Availability diagnostics | **50%** | The plugin implements a `checkAvailability` hook with bounded checks that distinguish missing, unrunnable, incompatible, and available OMP runtimes, but Paseo 0.12 does not call it. The host uses the `status()` hook below instead, which reuses this probe for the default launch. |
98
+ | Availability diagnostics | **50%** | The plugin implements a `checkAvailability` hook with bounded checks that distinguish missing, unrunnable, incompatible, and available OMP runtimes, but Paseo 0.13 does not call it. The host uses the `status()` hook below instead, which reuses this probe for the default launch. |
99
99
  | Catalog cache identity | **100%** | Hash includes effective options, merged host/profile inherited-environment names, settings, scope, cwd, and default command, but never resolves or fingerprints inherited values. |
100
100
  | Models, modes, and thinking catalog | **100%** | Native catalog is mapped to opaque public model IDs with committed defaults and permission-gated modes. |
101
101
  | Connection `send` / `onEvent` / `close` lifecycle | **100%** | Request correlation, multi-session ownership, process recovery, teardown, and provider reload/removal are covered. |
102
102
  | Session launch: cwd, env, system prompt, title, and persistence | **100%** | Complete launch configuration is bounded, validated, forwarded, and re-read on recovery; selected host and profile daemon environment values are resolved only when catalog and session children spawn. |
103
- | MCP server forwarding and host tools | **100%** | Configured MCP tools are discovered, namespaced, labeled, executed, canceled, and bounded. Forwarded tools are namespaced `mcpx__<server>_<tool>`: OMP treats `mcp__` as its own MCP manager's namespace and deletes that whole namespace from the session registry on every `refreshMCPTools`, so a forwarded tool registered under it is accepted and then dropped. Registration races OMP's deferred MCP discovery on every supported release; from 18.9.0 the ordering is deterministic and the tools were always lost. An OMP approval policy or inline-docs glob keyed on the old `mcp__<server>_<tool>` spelling must be re-keyed to `mcpx__<server>_<tool>`; OMP matches approval entries by exact tool name. Caller-scoped Paseo orchestration tools retain their native names, such as `create_agent` and `list_profiles`, so OMP skills can invoke them directly. The MCP composer control delegates native server management to OMP instead of duplicating its profile and workspace precedence. Exact `toolPolicy` remains the separate 0% capability above. |
103
+ | MCP server forwarding and host tools | **100%** | Configured MCP tools are discovered, namespaced, labeled, executed, canceled, and bounded. Forwarded tools are namespaced `mcpx__<server>_<tool>`: OMP treats `mcp__` as its own MCP manager's namespace and deletes that whole namespace from the session registry on every `refreshMCPTools`, so a forwarded tool registered under it is accepted and then dropped. Registration races OMP's deferred MCP discovery on every supported release; from 18.9.0 the ordering is deterministic and the tools were always lost. An OMP approval policy or inline-docs glob keyed on the old `mcp__<server>_<tool>` spelling must be re-keyed to `mcpx__<server>_<tool>`; OMP matches approval entries by exact tool name. Caller-scoped Paseo orchestration tools retain their native names, such as `create_agent` and `list_profiles`, so OMP skills can invoke them directly. The MCP composer control delegates native server management to OMP instead of duplicating its profile and workspace precedence. Exact `toolPolicy` remains the separate 0% capability above. Through the same bridge, OMP agents get the optional `serverId` argument on Paseo's host-targeting orchestration tools and the `list_hosts` tool, so they can delegate work to other connected Paseo hosts; the bridged tools execute on the daemon host while OMP stays local. |
104
104
  | Denied native tools | **100%** | `disallowedTools` becomes an explicit OMP allow-list; unknown names fail closed. |
105
105
  | Commands and committed session state events | **100%** | Publishes `session.commands`, `session.opened`, `session.config`, `session.ready`, and request completion in protocol order. |
106
106
  | Built-in timeline snapshots | **100%** | Assistant, reasoning, tools, todos, notifications, errors, compaction, and friendly MCP labels use stable IDs and complete snapshots. OMP emits client-safe PNG/JPEG when possible; validated legacy WebP images render on capable clients with an explicit per-image fallback elsewhere. |
@@ -125,7 +125,7 @@ Existing agents whose provider is `omp` remain owned by the bundled provider. Ne
125
125
 
126
126
  OMP `18.1.15` is the oldest version tested end to end. The direct provider's hard compatibility gate is `rpc-ui` protocol v2: metadata-free legacy ready frames and v1-only runtimes are rejected before a provider session opens because they cannot support the advertised persistence and conversation-rewind capabilities. Typed tool approvals remain capability-gated and fall back as described above. For terminal completion, a matching `agent_end.requestId` is authoritative and mismatches are ignored before state changes. Released OMP 18.2.x builds that omit that field use an ordered fallback requiring a fresh correlated native user entry followed by current-turn assistant activity, an idle non-compacting runtime, and no conflicting permission, tool, steer, or child-session work. Ambiguous events while OMP is active are ignored; unresolved ambiguity after confirmed idle fails only the Paseo turn. This trades a bounded residual same-agent stale-event risk for compatibility with released OMP instead of terminating and lazily restarting the runtime after every later prompt. Paseo clients, including mobile clients inside reconnect grace, do not own or terminate the daemon-managed OMP session.
127
127
 
128
- Paseo 0.12 is the minimum supported release. The controlled Docker canary is pinned to official 0.12.0; nightly SDK checks cover the latest and beta channels. The canary preserves nested provider-subagent ancestry and spawning-tool links, and validates npm-managed plugin sources, platform-owned external URL opening, and whole-item timeline transforms before Overview grouping.
128
+ Paseo 0.13 is the minimum supported release. The controlled Docker canary is pinned to official 0.13.0-beta.2; nightly SDK checks cover the latest and beta channels. The canary preserves nested provider-subagent ancestry and spawning-tool links, and validates npm-managed plugin sources, platform-owned external URL opening, and whole-item timeline transforms before Overview grouping.
129
129
 
130
130
  Install, update, disable, or remove `paseo-omp` independently of the bundled provider. Verify the provider snapshot contains `omp-plugin` after installation; a bundled `omp` entry may remain present and is not modified by this plugin.
131
131
 
@@ -0,0 +1,4 @@
1
+ import ompSvg from "../shared/omp.svg";
2
+
3
+ // The same mark the provider registers; Paseo tints `currentColor` with the surface's icon color.
4
+ export const OMP_ICON = { svg: ompSvg };
@@ -2,6 +2,7 @@ import type { PluginPopoverProps, PluginSidebarItemProps } from "@getpaseo/plugi
2
2
  import { SidebarRow } from "@getpaseo/plugin/client/ui";
3
3
  import { useQuery } from "@tanstack/react-query";
4
4
  import { Text, View } from "react-native";
5
+ import { OMP_ICON } from "./hub-icon";
5
6
  import { HubProcessList } from "./hub-popover";
6
7
  import { CONFIG_SCREEN_ID, type HubSnapshot, hubTrailing } from "./sidebar-compat";
7
8
 
@@ -12,7 +13,7 @@ const HUB_SIDEBAR_QUERY_KEY = ["paseo-omp", "hub-sidebar"] as const;
12
13
  export function ConfigSidebarItem({ currentScreen, openScreen }: PluginSidebarItemProps) {
13
14
  return (
14
15
  <SidebarRow
15
- icon="Settings"
16
+ icon={OMP_ICON}
16
17
  label="OMP"
17
18
  active={currentScreen?.screenId === CONFIG_SCREEN_ID}
18
19
  onPress={() => openScreen({ screenId: CONFIG_SCREEN_ID })}
@@ -1,5 +1,5 @@
1
1
  import { type PluginTimelineItemProps, useRpc } from "@getpaseo/plugin/client";
2
- import { Icon } from "@getpaseo/plugin/client/react-native";
2
+ import { Icon } from "@getpaseo/plugin/client/ui";
3
3
  import { useMemo, useState } from "react";
4
4
  import { Pressable, Text, View } from "react-native";
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import { type PluginButtonContentProps, useAgent, usePaseo } from "@getpaseo/plugin/client";
2
- import { TextInput } from "@getpaseo/plugin/client/react-native";
2
+ import { TextInput } from "@getpaseo/plugin/client/ui";
3
3
  import { useMemo, useState } from "react";
4
4
  import { Pressable, Text, View } from "react-native";
5
5
  import { buildOmpMcpServerCommand, type OmpMcpServerAction } from "../shared/mcp";
@@ -5,8 +5,7 @@ import {
5
5
  useRpc,
6
6
  useWorkspace,
7
7
  } from "@getpaseo/plugin/client";
8
- import { copyText, Icon, TextInput } from "@getpaseo/plugin/client/react-native";
9
- import { ExternalLink } from "@getpaseo/plugin/client/ui";
8
+ import { copyText, ExternalLink, Icon, TextInput } from "@getpaseo/plugin/client/ui";
10
9
  import { useIsMutating, useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
11
10
  import type { ReactNode } from "react";
12
11
  import { useCallback, useMemo, useState } from "react";
@@ -1,5 +1,5 @@
1
1
  import type { PluginSurfaceProps } from "@getpaseo/plugin/client";
2
- import { TextInput } from "@getpaseo/plugin/client/react-native";
2
+ import { TextInput } from "@getpaseo/plugin/client/ui";
3
3
  import { useMemo, useState } from "react";
4
4
  import type { TextStyle, ViewStyle } from "react-native";
5
5
  import { Pressable, Text, View } from "react-native";
@@ -1,5 +1,5 @@
1
1
  import { type PluginSurfaceProps, useRpc } from "@getpaseo/plugin/client";
2
- import { TextInput } from "@getpaseo/plugin/client/react-native";
2
+ import { TextInput } from "@getpaseo/plugin/client/ui";
3
3
  import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
4
4
  import { useEffect, useMemo, useRef, useState } from "react";
5
5
  import type { TextStyle, ViewStyle } from "react-native";
@@ -1,5 +1,5 @@
1
1
  import type { PluginSurfaceProps } from "@getpaseo/plugin/client";
2
- import { TextInput } from "@getpaseo/plugin/client/react-native";
2
+ import { TextInput } from "@getpaseo/plugin/client/ui";
3
3
  import { useState } from "react";
4
4
  import { Pressable, Text, View } from "react-native";
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import type { PluginButtonIconProps } from "@getpaseo/plugin/client";
2
- import { Icon } from "@getpaseo/plugin/client/react-native";
2
+ import { Icon } from "@getpaseo/plugin/client/ui";
3
3
  import type { ComponentType } from "react";
4
4
  import { View } from "react-native";
5
5
  import { type QuotaSeverity, quotaProviderIconName } from "./quota-state";
@@ -1,5 +1,5 @@
1
1
  import { type PluginButtonContentProps, useAgent, useRpc } from "@getpaseo/plugin/client";
2
- import { Icon } from "@getpaseo/plugin/client/react-native";
2
+ import { Icon } from "@getpaseo/plugin/client/ui";
3
3
  import { useQuery } from "@tanstack/react-query";
4
4
  import { useMemo } from "react";
5
5
  import { Text, View } from "react-native";
@@ -0,0 +1,4 @@
1
+ declare module "*.svg" {
2
+ const markup: string;
3
+ export default markup;
4
+ }
package/index.client.tsx CHANGED
@@ -4,7 +4,7 @@ import type {
4
4
  PluginClientContext,
5
5
  PluginSurfaceProps,
6
6
  } from "@getpaseo/plugin/client";
7
- import { OmpIcon } from "./client/hub-icon";
7
+ import { OMP_ICON } from "./client/hub-icon";
8
8
  import { HubPopover } from "./client/hub-popover";
9
9
  import { ConfigSidebarItem, createHubSidebar } from "./client/hub-sidebar";
10
10
  import { summarizeHubProcesses } from "./client/hub-status";
@@ -184,7 +184,6 @@ export default function contribute(client: PluginClientContext) {
184
184
  id: "memory",
185
185
  title: "OMP Memory",
186
186
  icon: "Brain",
187
- context: "workspace",
188
187
  locations: ["explorer"],
189
188
  Component: OmpMemoryPanel,
190
189
  });
@@ -202,7 +201,6 @@ export default function contribute(client: PluginClientContext) {
202
201
  id: "workspace",
203
202
  title: "OMP",
204
203
  icon: "Settings",
205
- context: "workspace",
206
204
  locations: ["workspace", "explorer"],
207
205
  Component: OmpWorkspacePanel,
208
206
  });
@@ -279,7 +277,7 @@ export default function contribute(client: PluginClientContext) {
279
277
  agentId: agent.id,
280
278
  button: {
281
279
  title: "Hub processes",
282
- icon: OmpIcon,
280
+ icon: OMP_ICON,
283
281
  label: "Hub",
284
282
  visible: false,
285
283
  behavior: { kind: "popover", Content: HubPopover },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-omp",
3
- "version": "3.0.0-next.284.1",
3
+ "version": "3.0.0-next.291.1",
4
4
  "type": "module",
5
5
  "description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
6
6
  "license": "MIT",
package/paseo-plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "paseo-omp",
3
3
  "description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
4
- "requirements": { "paseo": "^0.12.0 || ^0.13.0" },
4
+ "requirements": { "paseo": "^0.13.0" },
5
5
  "build": [["node", "scripts/prepare-dependencies.mjs"]]
6
6
  }
@@ -1,2 +1,2 @@
1
1
  /** Release Please keeps this bundle-safe constant aligned with package.json. */
2
- export const PASEO_OMP_PACKAGE_VERSION = "3.0.0-next.284.1"; // x-release-please-version
2
+ export const PASEO_OMP_PACKAGE_VERSION = "3.0.0-next.291.1"; // x-release-please-version
@@ -173,7 +173,7 @@ export function createOmpProvider(options: OmpProviderOptions = {}): ProviderReg
173
173
  id: "omp-plugin",
174
174
  label: "OMP Plugin",
175
175
  description: "Direct plugin provider for OMP's rpc-ui protocol",
176
- icon: "server/provider/omp.svg",
176
+ icon: "shared/omp.svg",
177
177
  providerOptionsSchema: OmpProviderOptionsSchema,
178
178
  async getCatalogCacheKey(catalogOptions) {
179
179
  const providerOptions = parseOmpProviderOptions(catalogOptions.providerOptions);
@@ -1,12 +0,0 @@
1
- import type { PluginButtonIconProps } from "@getpaseo/plugin/client";
2
- import { Text, View } from "react-native";
3
-
4
- // omp (oh-my-pi) uses the option/alt-key glyph "⌥" as its mark; there is no separate
5
- // logo asset to bundle, so the pill renders the glyph directly at the host's icon size.
6
- export function OmpIcon({ size, color }: PluginButtonIconProps) {
7
- return (
8
- <View style={{ width: size, height: size, alignItems: "center", justifyContent: "center" }}>
9
- <Text style={{ fontSize: size * 0.85, lineHeight: size, color, fontWeight: "600" }}>⌥</Text>
10
- </View>
11
- );
12
- }
File without changes