@omercnet/paseo-omp 0.2.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +87 -0
  2. package/LICENSE +21 -0
  3. package/README.md +110 -0
  4. package/SUPPORT.md +40 -0
  5. package/TESTING.md +147 -0
  6. package/client/hub-icon.tsx +12 -0
  7. package/client/hub-popover.tsx +132 -0
  8. package/client/hub-status.ts +29 -0
  9. package/client/memory-panel.tsx +71 -0
  10. package/client/memory-popover.tsx +70 -0
  11. package/client/omp-config-surface.tsx +1274 -0
  12. package/client/omp-doc-links.ts +117 -0
  13. package/client/omp-plugin-manager.tsx +833 -0
  14. package/client/provider-diagnostics-state.ts +250 -0
  15. package/client/provider-icon.tsx +27 -0
  16. package/client/provider-image.tsx +66 -0
  17. package/client/quota-popover.tsx +150 -0
  18. package/client/quota-state.ts +131 -0
  19. package/client/sessions-popover.tsx +73 -0
  20. package/docs/alpha-release-checklist.md +70 -0
  21. package/docs/configuration.md +122 -0
  22. package/docs/core-provider-issue-audit.md +108 -0
  23. package/docs/installation.md +73 -0
  24. package/index.client.tsx +272 -0
  25. package/index.server.ts +51 -0
  26. package/package.json +84 -0
  27. package/paseo-plugin.json +5 -0
  28. package/server/hub.ts +145 -0
  29. package/server/memory.ts +86 -0
  30. package/server/mutation-queue.ts +12 -0
  31. package/server/omp-config.ts +126 -0
  32. package/server/omp-plugins.ts +627 -0
  33. package/server/omp-settings.ts +291 -0
  34. package/server/paths.ts +64 -0
  35. package/server/provider/catalog.ts +173 -0
  36. package/server/provider/config-normalization.ts +148 -0
  37. package/server/provider/connection.ts +992 -0
  38. package/server/provider/host-tools.ts +706 -0
  39. package/server/provider/image.ts +143 -0
  40. package/server/provider/mcp-transport.ts +394 -0
  41. package/server/provider/omp-rpc.ts +2739 -0
  42. package/server/provider/omp.svg +5 -0
  43. package/server/provider/provider-options.ts +27 -0
  44. package/server/provider/registration.ts +151 -0
  45. package/server/provider/security.ts +317 -0
  46. package/server/provider/session-descriptors.ts +431 -0
  47. package/server/provider/session.ts +4451 -0
  48. package/server/provider/settings.ts +78 -0
  49. package/server/provider/subsessions.ts +847 -0
  50. package/server/provider/timeline-projector.ts +1764 -0
  51. package/server/provider-diagnostics.ts +1057 -0
  52. package/server/quota.ts +54 -0
  53. package/server/sessions.ts +58 -0
  54. package/shared/hub.ts +43 -0
  55. package/shared/memory.ts +23 -0
  56. package/shared/omp-config.ts +81 -0
  57. package/shared/omp-plugins.ts +223 -0
  58. package/shared/omp-settings.ts +207 -0
  59. package/shared/provider-diagnostics.ts +117 -0
  60. package/shared/provider-image.ts +160 -0
  61. package/shared/quota.ts +22 -0
  62. package/shared/sessions.ts +23 -0
  63. package/tsconfig.json +16 -0
@@ -0,0 +1,73 @@
1
+ import { type PluginButtonContentProps, useAgent, useRpc } from "@getpaseo/plugin/client";
2
+ import { useQuery } from "@tanstack/react-query";
3
+ import { useMemo } from "react";
4
+ import { ScrollView, Text, View } from "react-native";
5
+ import { listOmpSessions } from "../shared/sessions";
6
+
7
+ const SESSIONS_POLL_MS = 20_000;
8
+ const PREVIEW_LIMIT = 20;
9
+
10
+ function age(epochSeconds: number): string {
11
+ const seconds = Math.max(0, Math.floor(Date.now() / 1_000 - epochSeconds));
12
+ if (seconds < 60) return `${seconds}s ago`;
13
+ const minutes = Math.floor(seconds / 60);
14
+ if (minutes < 60) return `${minutes}m ago`;
15
+ const hours = Math.floor(minutes / 60);
16
+ if (hours < 24) return `${hours}h ago`;
17
+ return `${Math.floor(hours / 24)}d ago`;
18
+ }
19
+
20
+ export function SessionsPopover(props: PluginButtonContentProps) {
21
+ const { theme, layout } = props;
22
+ const agentId = props.context === "agent" ? props.agentId : "";
23
+ const cwd = useAgent(agentId, (agent) => agent.cwd) ?? "";
24
+ const loadSessions = useRpc(listOmpSessions);
25
+ const sessions = useQuery({
26
+ queryKey: ["paseo-omp", "sessions", cwd],
27
+ queryFn: () => loadSessions({ cwd }),
28
+ enabled: cwd.length > 0,
29
+ refetchInterval: SESSIONS_POLL_MS,
30
+ });
31
+ const styles = useMemo(
32
+ () => ({
33
+ root: { gap: 8, padding: 4, maxHeight: 360, width: 320 },
34
+ muted: { color: theme.colors.foregroundMuted, fontSize: 13 },
35
+ error: { color: theme.colors.statusDanger, fontSize: 13 },
36
+ row: {
37
+ gap: 2,
38
+ padding: layout.compact ? 8 : 10,
39
+ borderWidth: 1,
40
+ borderColor: theme.colors.border,
41
+ borderRadius: 8,
42
+ backgroundColor: theme.colors.surface1,
43
+ },
44
+ title: { color: theme.colors.foreground, fontSize: 13, fontWeight: "600" as const },
45
+ prompt: { color: theme.colors.foreground, fontSize: 13 },
46
+ detail: { color: theme.colors.foregroundMuted, fontSize: 11 },
47
+ }),
48
+ [layout.compact, theme],
49
+ );
50
+
51
+ if (sessions.isLoading) return <Text style={styles.muted}>Loading omp history…</Text>;
52
+ if (sessions.error) return <Text style={styles.error}>Could not read omp history.</Text>;
53
+ const items = sessions.data?.sessions ?? [];
54
+ if (items.length === 0)
55
+ return <Text style={styles.muted}>No omp prompts for this directory.</Text>;
56
+
57
+ return (
58
+ <ScrollView contentContainerStyle={styles.root}>
59
+ {items.slice(0, PREVIEW_LIMIT).map((entry) => (
60
+ <View key={entry.id} style={styles.row}>
61
+ {entry.title ? <Text style={styles.title}>{entry.title}</Text> : null}
62
+ <Text style={styles.prompt} numberOfLines={3}>
63
+ {`${entry.prompt}${entry.truncated ? "…" : ""}`}
64
+ </Text>
65
+ <Text style={styles.detail}>{age(entry.createdAt)}</Text>
66
+ </View>
67
+ ))}
68
+ {items.length > PREVIEW_LIMIT ? (
69
+ <Text style={styles.muted}>{`Showing ${PREVIEW_LIMIT} of ${items.length}`}</Text>
70
+ ) : null}
71
+ </ScrollView>
72
+ );
73
+ }
@@ -0,0 +1,70 @@
1
+ # Alpha release checklist
2
+
3
+ This checklist prepares `paseo-omp-v0.1.0-alpha.1`. It does not authorize publication. A maintainer must explicitly approve the tested artifact before any push, tag, GitHub release, or package publication.
4
+
5
+ ## Release identity
6
+
7
+ - [ ] Release Please proposes `0.1.0-alpha.1` from manifest version `0.0.0`.
8
+ - [ ] Package, tag, and archive names are `@omercnet/paseo-omp`, `paseo-omp-v0.1.0-alpha.1`, and `paseo-omp-v0.1.0-alpha.1.zip`.
9
+ - [ ] Provider identity remains `omp-plugin`; bundled `omp` remains independent and enabled or disabled by the user.
10
+ - [ ] Paseo requirement remains an official released range, currently `^0.8.0`.
11
+ - [ ] Minimum tested OMP version, checksum, CI job, README, SUPPORT, and TESTING agree.
12
+
13
+ ## Required gates
14
+
15
+ - [ ] `npm run check`
16
+ - [ ] `npm run typecheck`
17
+ - [ ] `npm run test:coverage`; aggregate loaded-source coverage meets the configured threshold.
18
+ - [ ] Real installed OMP regression against the documented minimum version.
19
+ - [ ] `npm run package:release`
20
+ - [ ] `npm run test:integration:install`
21
+ - [ ] `npm run test:integration:docker`
22
+ - [ ] Windows/WSL host ownership job passes in CI.
23
+ - [ ] Docker canary matrix passes on the exact release candidate.
24
+ - [ ] GitHub Actions syntax and release-configuration schemas pass.
25
+ - [ ] Release ZIP contents contain documentation, production dependencies, and both plugin entries without development-only files.
26
+
27
+ ## Required manual acceptance
28
+
29
+ - [ ] Maintainer installs the exact candidate archive into the controlled official-Paseo Docker canary.
30
+ - [ ] Maintainer verifies catalog, prompt, tools, configured MCP, permissions, steer, interrupt, import/resume, subagents, rewind, usage, Hub, and plugin surfaces.
31
+ - [ ] Maintainer confirms the known limitations are acceptable for alpha.
32
+ - [ ] Maintainer explicitly authorizes publication after testing. Silence or prior approval for development is not release authorization.
33
+
34
+ ## Alpha blocker
35
+
36
+ - [x] `omp-audit.1`: incomplete or compacted `agent_end` frames recover success or failure only from complete streamed `message_end` evidence whose count covers the declared terminal messages; partial evidence still fails closed.
37
+
38
+ ## Accepted alpha limitations
39
+
40
+ These may remain only when called out in `SUPPORT.md`, `CHANGELOG.md`, and the GitHub prerelease notes:
41
+
42
+ - Native Fast mode is not exposed.
43
+ - No first-class plan mode; `/handoff` depends on native OMP prerequisites not reproduced by the deterministic canary.
44
+ - Terminal-started OMP sessions are importable but are not registered automatically.
45
+ - Large skill-body presentation has no dedicated provider regression.
46
+ - OMP RPC stdout contamination is structurally mitigated but requires upstream channel purity.
47
+ - `omp` and `omp-plugin` do not share ownership, configuration, or persisted handles.
48
+ - The deterministic model does not implement OMP compaction summarization; protocol fixtures cover compaction behavior.
49
+ - The tiny Ollama model is exploratory and is not a deterministic oracle.
50
+
51
+ ## Non-blocking post-alpha cleanup
52
+
53
+ - [ ] `omp-maintenance.1`: remove `ProviderRegistrationCompat`, both `ProviderCatalogOptionsCompat` declarations, and `parseProviderInputCompat` after the published `@getpaseo/plugin` types natively expose the registration hooks and request fields they bridge. The required upstream surface is `providerOptionsSchema`, `getCatalogCacheKey`, `checkAvailability`, catalog/session-list `providerOptions` plus `settings`, and session-open `deniedTools`. This is type/compatibility cleanup only; it must not change provider behavior and does not block alpha.
54
+
55
+ ## Release notes
56
+
57
+ The prerelease notes must include:
58
+
59
+ 1. Alpha support statement and compatibility range.
60
+ 2. Permanent side-by-side `omp-plugin` identity.
61
+ 3. Provider SDK capability percentage and link to the README matrix.
62
+ 4. Link to the deduplicated [core-provider issue audit](core-provider-issue-audit.md).
63
+ 5. Verification totals from the exact release commit.
64
+ 6. Known limitations above, including the distinction between supported MCP host tools, unsupported exact `toolPolicy`, and native-only `disallowedTools`.
65
+ 7. Install, upgrade, rollback, support, and security-reporting links.
66
+ 8. Artifact provenance verification command.
67
+
68
+ ## Publication boundary
69
+
70
+ Release Please may prepare metadata. The publisher must resolve the immutable tag, require successful CI for the exact tagged commit, build from tracked allowlisted files, attest the archive and checksum, and remain idempotent for recovery. Never retag an alpha commit as stable.
@@ -0,0 +1,122 @@
1
+ # Configuration
2
+
3
+ Open the **OMP** sidebar to browse the complete installed OMP settings catalog. Boolean, number, string, and enum settings support revision-checked Apply, Discard, and Reset actions; arrays, records, and credentials remain read-only. Configuration writes use OMP's native `config set` and `config reset` commands rather than rewriting YAML.
4
+
5
+ The **Plugin** tab documents the supported `omp-plugin` launch options, including names-only inherited environment configuration. Paseo's public plugin API does not expose the effective provider options for active launches, so the tab does not claim profile values are active. Choose **OMP Plugin** when creating an agent. Model, mode, thinking level, system prompt, persistence, MCP servers, workspace, and agent environment use Paseo's standard provider controls.
6
+
7
+ ## Optional provider profile overrides
8
+
9
+ Advanced launch overrides belong in an `omp-plugin` provider profile. The provider options schema is strict; unknown fields fail validation.
10
+
11
+ ```json
12
+ {
13
+ "provider": "omp-plugin",
14
+ "providerOptions": {
15
+ "command": ["/opt/omp/bin/omp"],
16
+ "params": {
17
+ "sessionDir": "/var/lib/omp/sessions",
18
+ "rpcTimeoutMs": 60000,
19
+ "smolModel": "openai/gpt-5-mini",
20
+ "slowModel": "anthropic/claude-opus-5",
21
+ "planModel": "openai/gpt-5.4"
22
+ }
23
+ }
24
+ }
25
+ ```
26
+
27
+ | Option | Purpose |
28
+ | --- | --- |
29
+ | `command` | Complete OMP executable and argument prefix. |
30
+ | `env` | Non-secret process overrides applied below the session launch environment. |
31
+ | `inheritEnv` | Daemon environment variable names copied only when OMP starts. Values are never stored in the profile or displayed in the sidebar. |
32
+ | `outputRedaction` | `none` (default) preserves native output. `configured-values` performs best-effort literal replacement only for explicitly supplied configured credential values from profile/session credential environment fields and configured MCP headers or environment. |
33
+ | `params.sessionDir` | Native OMP session directory supplied through `--session-dir`. Used consistently by discovery, import, resume, and launch. |
34
+ | `params.rpcTimeoutMs` | Startup, request, catalog, and availability timeout, from 1 ms through 10 minutes. |
35
+ | `params.smolModel` | Native selector supplied through `--smol`. |
36
+ | `params.slowModel` | Native selector supplied through `--slow`. |
37
+ | `params.planModel` | Native selector supplied through `--plan`. |
38
+
39
+ Paseo's generic provider profile fields remain available:
40
+
41
+ | Profile field | Behavior |
42
+ | --- | --- |
43
+ | `models` | Replaces the discovered model list. |
44
+ | `additionalModels` | Extends the discovered model list. |
45
+ | `disallowedTools` | Restricts only the known native OMP built-ins accepted by this plugin. It becomes an explicit OMP allow-list; unknown names fail closed rather than being ignored. It does not filter MCP host tools. |
46
+ | `paseoTools` | Enables or restricts which caller-scoped Paseo orchestration tools the daemon includes before they reach OMP as MCP host tools. |
47
+
48
+ These options cover every plugin-specific launch value. Values that belong to an individual agent, including model, mode, thinking level, title, system prompt, MCP servers, persistence, and cwd, remain standard Paseo session fields rather than duplicate plugin options.
49
+
50
+ ## OMP-native plugins
51
+
52
+ Open **OMP → OMP plugins** to inspect plugins installed through OMP. The manager uses OMP's documented singular `omp plugin` CLI and supports user-scoped install, enable, disable, upgrade, and uninstall operations. Every state-changing action requires an explicit confirmation; already-running OMP sessions are unchanged.
53
+
54
+ Project-scoped installations remain visible but read-only because their lifecycle commands must run from that project's working directory. Plugin configuration exposes schema metadata without returning current or default values. Non-secret scalar plugin settings can be set or deleted through write-only controls. Secret settings are presence-only and delete-only because OMP's CLI would otherwise expose a new secret through process arguments.
55
+
56
+ The Configuration view links to the official OMP settings reference, value parsing and precedence guides, relevant category sections, and a small curated set of setting-specific anchors.
57
+
58
+
59
+ ## MCP tools and policy boundary
60
+
61
+ Configured MCP servers and Paseo's caller-scoped MCP tools are supported. The plugin discovers their schemas, assigns collision-safe OMP names, binds them before `session.ready`, forwards progress and terminal results, propagates cancellation, and renders calls with friendly labels.
62
+
63
+ Paseo's exact session `toolPolicy` preapproval grants are not equivalent to OMP's `set_host_tools` contract. The plugin cannot preserve that policy exactly, so any non-empty `toolPolicy` rejects session startup. It never converts exact grants into broader access. `disallowedTools` is separate: it controls only recognized native OMP built-ins and rejects unknown names.
64
+
65
+ ## Credentials and environment
66
+
67
+ The plugin is deny-by-default. It inherits only its fixed built-in allowlist of core provider authentication variables plus exact names that an operator selects with `providerOptions.inheritEnv`; it does not discover or inherit arbitrary credential-shaped names. Prefer OMP's native credential store or auth broker whenever possible.
68
+
69
+ For example:
70
+
71
+ ```json
72
+ {
73
+ "provider": "omp-plugin",
74
+ "providerOptions": {
75
+ "inheritEnv": ["ACME_OMP_API_KEY"],
76
+ "outputRedaction": "configured-values",
77
+ "env": {
78
+ "ACME_OMP_REGION": "us-east-1"
79
+ }
80
+ }
81
+ }
82
+ ```
83
+
84
+ `inheritEnv` accepts an array of at most 256 names matching `[A-Za-z_][A-Za-z0-9_]{0,127}`. Selecting a name is an operator trust decision: its daemon-owned value becomes available to the OMP child and anything OMP launches. The plugin resolves selected values from the Paseo daemon environment immediately before each catalog or session launch. Unselected variables remain absent. Explicit `providerOptions.env` and per-session `env` overlays win over inherited values with the same name.
85
+
86
+ Profiles, persistence, errors, and catalog cache identity contain only the configured `inheritEnv` names, never resolved values or secret-derived hashes. A selected variable that is present and not shadowed by explicit `env` must contain at least 4 UTF-8 bytes. The existing 64 KiB per-value and 1 MiB total environment bounds still apply; shadowed daemon values are neither validated nor counted.
87
+
88
+ Process-control variables are always rejected case-insensitively, even when explicitly selected. The blocked prefix families are `BUN_INSTALL*`, `DYLD_*`, `GIT_CONFIG*`, `LD_*`, and `NPM_CONFIG_*`. The blocked exact names are:
89
+
90
+ ```text
91
+ BASH_ENV, BUN_OPTIONS, CLASSPATH, CLAUDE_BASH_NO_CI, CLAUDE_BASH_NO_LOGIN,
92
+ CLAUDE_CODE_SHELL_PREFIX, EDITOR, ELECTRON_RUN_AS_NODE, ENV, GEM_HOME, GEM_PATH,
93
+ GIT_SSH_COMMAND, HOME, JAVA_TOOL_OPTIONS, NODE_OPTIONS, NODE_PATH,
94
+ OMP_AUTORESEARCH_DB_DIR, OMP_COMMAND, OMP_GITHUB_CACHE_DB, OMP_PROFILE,
95
+ OMP_WORKTREE_DIR, PATH, PATHEXT, PERL5LIB, PERL5OPT, PI_BASH_NO_CI,
96
+ PI_BASH_NO_LOGIN, PI_CODING_AGENT_DIR, PI_CODING_AGENT_SESSION_DIR,
97
+ PI_CONFIG_DIR, PI_CONFIG_FILES, PI_GIT_COMMON_DIR, PI_PACKAGE_DIR, PI_PROFILE,
98
+ PI_PROJECT_DIR, PI_SESSION_ID, PI_SHELL_PREFIX, PI_SUBPROCESS_CMD,
99
+ PI_WORKTREE_DIR, PWD, PYTHONHOME, PYTHONINSPECT, PYTHONPATH, PYTHONSTARTUP,
100
+ RUBYLIB, RUBYOPT, SHELL, SYSTEMROOT, USERPROFILE, VISUAL, XDG_CACHE_HOME,
101
+ XDG_CONFIG_HOME, XDG_DATA_HOME, XDG_RUNTIME_DIR, XDG_STATE_HOME, _JAVA_OPTIONS
102
+ ```
103
+
104
+ Unlike `inheritEnv`, `providerOptions.env` stores its literal values in the provider profile/configuration. Use it only for deliberate non-secret overrides. If configuration contains sensitive values anyway, restrict `<paseo-home>/config.json` to the daemon account (`chmod 600` on POSIX), protect backups, and never attach it to an issue.
105
+
106
+ The plugin validates and bounds native protocol data, but it does not heuristically detect, redact, or rewrite credentials in OMP, model, or tool content. Never put credentials in prompts or tool output. With `outputRedaction: "configured-values"`, every non-empty value selected through `inheritEnv` is treated as sensitive regardless of its name, alongside the existing explicitly configured credential values. Exact configured literals are replaced on a best-effort basis; generated secrets and encoded, transformed, or independently streamed fragments are not detected. With the default `none`, inherited values are not rewritten in output. Centralized Paseo policy is required for redaction guarantees. Unexpected or internal launch failures use fixed fallback messages rather than serializing the launch configuration, while explicit public validation errors may include caller-supplied configuration names or values.
107
+
108
+ ## Modes and permissions
109
+
110
+ - `full` is always available.
111
+ - `write` and `ask` appear when Paseo negotiates provider permission support.
112
+ - Typed OMP approval frames become Paseo tool permissions when both sides negotiate `typedToolApprovals: 1`.
113
+ - OMP 18.1.15 uses the bounded generic interaction fallback.
114
+ - Changing approval mode requires a new session. Live model and thinking changes are supported.
115
+
116
+ ## Persistence and images
117
+
118
+ Non-persisted sessions use `--no-session`. Persistent sessions keep a versioned native handle, replay before becoming ready, and recover with the effective launch configuration.
119
+
120
+ For text-only models, image inputs are written to a private bounded temporary directory shared with the local OMP child and removed after the turn, session, or failed launch.
121
+
122
+ Every OMP process launched by the plugin receives provider-owned `OMP_NO_WEBP=1` compatibility mode after caller environment validation, so generated and resized images use PNG or JPEG across Paseo clients without reducing the configured environment limits. Persisted or upstream WebP blocks are still retained: capable clients render them directly, while an unsupported client shows a per-image fallback instead of failing the timeline item.
@@ -0,0 +1,108 @@
1
+ # Core OMP provider issue audit
2
+
3
+ This audit compares reports in `getpaseo/paseo` with the community `omp-plugin` provider. It was refreshed on 2026-09-12 from GitHub issue titles and bodies containing `OMP`, `oh-my-pi`, or `rpc-ui`, OMP-related pull requests, and materially equivalent Pi/RPC reports. GitHub Discussions were also inspected; the repository had no OMP-related discussion.
4
+
5
+ Issue and pull-request pairs are consolidated by root cause. A closed upstream issue does not prove the plugin implements the behavior, and an open upstream issue does not imply the plugin is affected.
6
+
7
+ Status meanings:
8
+
9
+ - **Verified**: the plugin has implementation and focused automated evidence for the consumer-visible behavior.
10
+ - **Mitigated**: the plugin bounds or rejects the failure, but an upstream or host condition remains.
11
+ - **Gap**: behavior is missing or only partially supported by the plugin.
12
+ - **Host-owned**: the report concerns Paseo behavior outside the provider boundary.
13
+
14
+ ## Lifecycle, turns, and recovery
15
+
16
+ | Reports | Status | Plugin comparison |
17
+ | --- | --- | --- |
18
+ | [#3838](https://github.com/getpaseo/paseo/issues/3838), [PR #3839](https://github.com/getpaseo/paseo/pull/3839) | **Verified** | A dead OMP subprocess invalidates its generation. A later write lazily resumes the same native session. Process-tree cleanup, recovery, and registry replacement are covered. |
19
+ | [#3252](https://github.com/getpaseo/paseo/issues/3252), equivalent Pi [#3496](https://github.com/getpaseo/paseo/issues/3496), [PR #3258](https://github.com/getpaseo/paseo/pull/3258) | **Verified** | Hidden and custom notices do not terminalize a turn before the native user echo and terminal evidence. |
20
+ | [#2260](https://github.com/getpaseo/paseo/issues/2260), [PR #2261](https://github.com/getpaseo/paseo/pull/2261) | **Verified** | Incomplete or compacted `agent_end` frames use complete streamed `message_end` evidence only when it covers the declared message count. Streamed success and failure outcomes are preserved; missing or partial evidence still fails closed. |
21
+ | [#2281](https://github.com/getpaseo/paseo/issues/2281), [PR #2282](https://github.com/getpaseo/paseo/pull/2282) | **Verified** | Local-only prompt results and structured commands have explicit terminal ownership. |
22
+ | [#3654](https://github.com/getpaseo/paseo/issues/3654), [#3998](https://github.com/getpaseo/paseo/issues/3998), [PR #3667](https://github.com/getpaseo/paseo/pull/3667) | **Verified** | Post-`agent_end` state reconciliation is bounded. Stale or unavailable `get_state` cannot leave a turn running forever. |
23
+ | [#3999](https://github.com/getpaseo/paseo/issues/3999), [#4000](https://github.com/getpaseo/paseo/issues/4000), [#4039](https://github.com/getpaseo/paseo/issues/4039), [PR #3772](https://github.com/getpaseo/paseo/pull/3772), [PR #4217](https://github.com/getpaseo/paseo/pull/4217) | **Verified** | `prompt.steer` is negotiated and implemented with expected-turn checks, acknowledgement ordering, duplicate correlation, and interrupt/terminal race coverage. |
24
+ | Shared RPC cancellation [#3540](https://github.com/getpaseo/paseo/issues/3540), Pi [#3749](https://github.com/getpaseo/paseo/issues/3749) | **Verified in provider** | Native abort, exactly-one terminal event, permission cleanup, descendant cleanup, and uncertain-cleanup quarantine are tested. UI keyboard delivery remains host-owned. |
25
+ | [#3218](https://github.com/getpaseo/paseo/issues/3218) | **Verified at provider boundary** | Session close owns and awaits OMP process cleanup. Whether every archive UI route invokes provider close is a host concern. |
26
+
27
+ ## Persistence, import, and subagents
28
+
29
+ | Reports | Status | Plugin comparison |
30
+ | --- | --- | --- |
31
+ | [#2006](https://github.com/getpaseo/paseo/issues/2006), [PR #2004](https://github.com/getpaseo/paseo/pull/2004), [PR #2131](https://github.com/getpaseo/paseo/pull/2131) | **Verified** | Descriptor parsing accepts bounded leading title/session metadata. |
32
+ | [#2727](https://github.com/getpaseo/paseo/issues/2727), [PR #4416](https://github.com/getpaseo/paseo/pull/4416) | **Verified** | Import resolves opaque native identity and preserves model and thinking selection. |
33
+ | [#2796](https://github.com/getpaseo/paseo/issues/2796), [PR #2065](https://github.com/getpaseo/paseo/pull/2065), [PR #2265](https://github.com/getpaseo/paseo/pull/2265) | **Verified** | Host-wide discovery is supported when `cwd` is omitted; scoped listing still enforces absolute workspace ownership. This also prevents the previously observed import-sheet crash path. |
34
+ | [#2232](https://github.com/getpaseo/paseo/issues/2232), equivalent Pi [#3160](https://github.com/getpaseo/paseo/issues/3160), [PR #2052](https://github.com/getpaseo/paseo/pull/2052), [PR #2245](https://github.com/getpaseo/paseo/pull/2245), [PR #3371](https://github.com/getpaseo/paseo/pull/3371) | **Verified** | Native child lifecycle, progress, nested timelines, replay, active-child gating, and parent-terminal deferral use `session.subsession`. |
35
+ | Pi lifecycle variants [#3845](https://github.com/getpaseo/paseo/issues/3845), [#3847](https://github.com/getpaseo/paseo/issues/3847), [#4309](https://github.com/getpaseo/paseo/issues/4309) | **Verified by the same model** | Child activity and terminal ownership are explicit rather than inferred from one provider event. |
36
+ | [#2728](https://github.com/getpaseo/paseo/issues/2728) | **Gap** | Listing and import work, but the plugin does not install an OMP terminal hook that automatically creates a Paseo agent for terminal-started sessions. |
37
+ | [#2574](https://github.com/getpaseo/paseo/issues/2574) | **Mitigated** | Recursive bounded transcript discovery covers OMP files. Generic archived-agent and registry visibility remain host-owned. |
38
+ | [#4707](https://github.com/getpaseo/paseo/issues/4707) | **Host-owned** | Plugin reservations reject conflicting live ownership; archived-agent workspace re-homing policy belongs to Paseo. |
39
+
40
+ ## Transport and startup
41
+
42
+ | Reports | Status | Plugin comparison |
43
+ | --- | --- | --- |
44
+ | [#2548](https://github.com/getpaseo/paseo/issues/2548), [#2966](https://github.com/getpaseo/paseo/issues/2966), [PR #3038](https://github.com/getpaseo/paseo/pull/3038), [PR #3184](https://github.com/getpaseo/paseo/pull/3184) | **Verified** | RPC protocol v2 is required. Chunk assembly, frame byte counts, deadlines, malformed frames, and oversized frames are tested. |
45
+ | [#2473](https://github.com/getpaseo/paseo/issues/2473) | **Mitigated** | Strict frame schemas, request correlation, session identity, and bounds prevent ordinary stdout JSON from becoming a valid response. OMP should still keep non-protocol output off RPC stdout. |
46
+ | [#4047](https://github.com/getpaseo/paseo/issues/4047), [PR #4048](https://github.com/getpaseo/paseo/pull/4048) | **Verified** | Stdin EPIPE and stream closure fail pending calls and enter bounded cleanup/recovery rather than crashing the daemon. |
47
+ | [#1657](https://github.com/getpaseo/paseo/issues/1657), [#1730](https://github.com/getpaseo/paseo/issues/1730), [#2226](https://github.com/getpaseo/paseo/issues/2226), [#4142](https://github.com/getpaseo/paseo/issues/4142), [PR #4008](https://github.com/getpaseo/paseo/pull/4008), [PR #4143](https://github.com/getpaseo/paseo/pull/4143) | **Verified** | Availability and ready probes use bounded configurable timeouts and distinguish missing, unrunnable, incompatible, and available binaries. |
48
+ | [#1446](https://github.com/getpaseo/paseo/issues/1446), [#2456](https://github.com/getpaseo/paseo/issues/2456) | **Mitigated / host-owned** | Plugin discovery and cache identity are bounded. Provider snapshot scheduling and stale host snapshots remain Paseo behavior. |
49
+ | [#2610](https://github.com/getpaseo/paseo/issues/2610) | **Mitigated / host-owned** | OMP input frames, replay, and retained state are bounded; final daemon-to-client WebSocket buffering is owned by Paseo. |
50
+
51
+ ## Models, modes, commands, and usage
52
+
53
+ | Reports | Status | Plugin comparison |
54
+ | --- | --- | --- |
55
+ | [#1692](https://github.com/getpaseo/paseo/issues/1692), [PR #1698](https://github.com/getpaseo/paseo/pull/1698), [PR #2539](https://github.com/getpaseo/paseo/pull/2539) | **Verified** | The plugin uses `get_available_commands`, publishes aliases, and fails slash dispatch closed when discovery is unavailable. |
56
+ | [#2080](https://github.com/getpaseo/paseo/issues/2080), Pi [#2117](https://github.com/getpaseo/paseo/issues/2117), [PR #2171](https://github.com/getpaseo/paseo/pull/2171), [PR #2191](https://github.com/getpaseo/paseo/pull/2191) | **Verified** | Thinking options and defaults are model-specific; unsupported levels fail closed. |
57
+ | Pi [#2663](https://github.com/getpaseo/paseo/issues/2663), [#4382](https://github.com/getpaseo/paseo/issues/4382) | **Verified** | Model and thinking changes are committed only after re-reading native state. |
58
+ | [#2405](https://github.com/getpaseo/paseo/issues/2405), [PR #2406](https://github.com/getpaseo/paseo/pull/2406) | **Verified** | Nullable context windows remain valid catalog entries. |
59
+ | [#2544](https://github.com/getpaseo/paseo/issues/2544), [PR #2865](https://github.com/getpaseo/paseo/pull/2865) | **Verified** | Strict provider options expose command prefix, environment, session directory, timeout, role models, model overlays, and denied tools. |
60
+ | [#2857](https://github.com/getpaseo/paseo/issues/2857), [PR #2859](https://github.com/getpaseo/paseo/pull/2859) | **Verified** | Native compact requests use no ordinary RPC request timeout; provider-level compaction state owns completion, cancellation, and usage refresh. |
61
+ | [#4073](https://github.com/getpaseo/paseo/issues/4073), [PR #4074](https://github.com/getpaseo/paseo/pull/4074) | **Verified** | Fallback and model/thinking events trigger committed runtime-state refresh rather than trusting event labels as final state. |
62
+ | [#1888](https://github.com/getpaseo/paseo/issues/1888), [PR #1882](https://github.com/getpaseo/paseo/pull/1882), [PR #2503](https://github.com/getpaseo/paseo/pull/2503) | **Verified** | Active, terminal, post-compaction, fallback, and recovery sampling publish `session.usage`. |
63
+ | [#4437](https://github.com/getpaseo/paseo/issues/4437), [PR #4449](https://github.com/getpaseo/paseo/pull/4449) | **Gap** | The plugin advertises `full`, `write`, and `ask`; it does not expose a distinct native Fast mode. |
64
+ | [#3627](https://github.com/getpaseo/paseo/issues/3627), [PR #4205](https://github.com/getpaseo/paseo/pull/4205) | **Partial** | Plan role-model configuration and `/handoff` exist. There is no first-class `plan` mode, and the controlled canary does not satisfy the native handoff workflow prerequisites. |
65
+
66
+ ## Timeline, media, and questions
67
+
68
+ | Reports | Status | Plugin comparison |
69
+ | --- | --- | --- |
70
+ | [#4509](https://github.com/getpaseo/paseo/issues/4509), equivalent Pi [#2803](https://github.com/getpaseo/paseo/issues/2803), [PR #4510](https://github.com/getpaseo/paseo/pull/4510) | **Verified** | `contentIndex` participates in stable reasoning identity, preserving interleaved live blocks and replay shape. |
71
+ | [#3244](https://github.com/getpaseo/paseo/issues/3244), [PR #3245](https://github.com/getpaseo/paseo/pull/3245) | **Verified** | Tool-result and assistant images are validated, bounded, retained, packaged, and rendered through the plugin transformer. |
72
+ | [#3527](https://github.com/getpaseo/paseo/issues/3527), [PR #3628](https://github.com/getpaseo/paseo/pull/3628) | **Verified** | Positional `optionDetails.description` metadata is preserved in Paseo permission questions. |
73
+ | [#1726](https://github.com/getpaseo/paseo/issues/1726), [PR #1879](https://github.com/getpaseo/paseo/pull/1879) | **Partial** | Structured user questions are supported. Dedicated collapsing/presentation for very large skill bodies is not demonstrated. |
74
+ | [#2264](https://github.com/getpaseo/paseo/issues/2264), equivalent Pi [#2674](https://github.com/getpaseo/paseo/issues/2674), [PR #2280](https://github.com/getpaseo/paseo/pull/2280) | **Verified** | `display:false` custom messages remain hidden. |
75
+ | [#2266](https://github.com/getpaseo/paseo/issues/2266), [PR #2284](https://github.com/getpaseo/paseo/pull/2284) | **Verified** | Manual and automatic compaction lifecycle and recap data map to stable timeline operations. |
76
+ | Pi [#3121](https://github.com/getpaseo/paseo/issues/3121), [PR #4497](https://github.com/getpaseo/paseo/pull/4497) | **Verified** | Todo events map to Paseo's native todo item; the plugin does not add a second timeline-card renderer. |
77
+ | [#3850](https://github.com/getpaseo/paseo/issues/3850) | **Verified by avoidance** | The inherited environment allowlist does not pass `TERM_PROGRAM`; the plugin never advertises Kitty graphics support. |
78
+
79
+ ## MCP, tools, and host behavior
80
+
81
+ | Reports | Status | Plugin comparison |
82
+ | --- | --- | --- |
83
+ | [#2060](https://github.com/getpaseo/paseo/issues/2060), [PR #2418](https://github.com/getpaseo/paseo/pull/2418), [PR #3820](https://github.com/getpaseo/paseo/pull/3820), [PR #3449](https://github.com/getpaseo/paseo/pull/3449) | **Verified** | Configured and caller-scoped MCP tools are discovered, policy-filtered, bound before readiness, canceled, and bounded. Docker exercises a configured stdio MCP tool. |
84
+ | Pi [#3004](https://github.com/getpaseo/paseo/issues/3004) | **Verified structurally** | Host-tool setup completes before `session.ready`; capability-registration races cannot expose a partially bound catalog. |
85
+ | Pi [#3666](https://github.com/getpaseo/paseo/issues/3666) | **Verified** | Exact preapproval is validated. If policy cannot be represented, startup fails closed instead of broadening access. |
86
+ | [#1892](https://github.com/getpaseo/paseo/issues/1892) | **Host-owned gap** | Paseo decides global voice-mode eligibility. The plugin does not synthesize a missing speak tool. |
87
+ | [#3762](https://github.com/getpaseo/paseo/issues/3762), Pi [#2815](https://github.com/getpaseo/paseo/issues/2815) | **Host-owned** | The plugin preserves and validates the received tool catalog but does not redefine Paseo's own MCP schemas. |
88
+ | [#3178](https://github.com/getpaseo/paseo/issues/3178) | **Avoided** | The plugin permanently registers `omp-plugin`, never the built-in `omp` identity. |
89
+ | [#3217](https://github.com/getpaseo/paseo/issues/3217) | **Host-owned** | Draft submission and agent creation multiplicity occur before provider-session behavior. |
90
+
91
+ ## Origin records, not regressions
92
+
93
+ [#1176](https://github.com/getpaseo/paseo/issues/1176), [#1189](https://github.com/getpaseo/paseo/issues/1189), [PR #1177](https://github.com/getpaseo/paseo/pull/1177), [PR #1388](https://github.com/getpaseo/paseo/pull/1388), and [PR #2067](https://github.com/getpaseo/paseo/pull/2067) requested or introduced first-class OMP support. The plugin satisfies that product goal independently under `omp-plugin`; it does not replace or migrate bundled `omp` agents.
94
+
95
+ ## Release blockers and tracked gaps
96
+
97
+ Before moving from alpha toward stable, track these separately:
98
+
99
+ 1. Decide whether native Fast mode can be represented honestly through the public provider SDK.
100
+ 2. Decide whether a first-class plan mode is possible; separately make `/handoff` reproducible in the controlled canary.
101
+ 3. Decide whether terminal-started automatic registration belongs in this plugin or requires a generic Paseo hook.
102
+ 4. Add an explicit large-skill presentation regression or document it as host-owned.
103
+ 5. Keep stdout contamination defenses, and pursue upstream OMP protocol-channel purity.
104
+ 6. Keep host-owned issues visibly separated: provider snapshot refresh, voice eligibility, MCP schemas, WebSocket buffering, archive routing, and draft/agent creation.
105
+
106
+ ## Maintenance rule
107
+
108
+ Refresh this audit before each release candidate. New OMP or materially shared Pi/RPC reports must be added, deduplicated by root cause, and classified with a concrete test, an explicit limitation, or a linked host/upstream issue. Never infer that a plugin is fixed merely because the corresponding core issue is closed.
@@ -0,0 +1,73 @@
1
+ # Install and update
2
+
3
+ Paseo plugins are trusted, unsandboxed code. Review this plugin and its production dependencies before installing it on the daemon host.
4
+
5
+ ## Requirements
6
+
7
+ - Paseo daemon and apps: `^0.8.0`
8
+ - OMP: `18.1.15` or newer is the supported floor
9
+ - OMP RPC: protocol v2 must negotiate successfully
10
+
11
+ The first public build is an alpha. Alpha releases are compatibility previews and may require deleting and re-importing agents created by an earlier preview.
12
+
13
+ ## Install a release
14
+
15
+ Prefer a reviewed release tag over a moving branch:
16
+
17
+ ```bash
18
+ paseo plugin add omercnet/paseo-plugins:paseo-omp --ref paseo-omp-v<version>
19
+ paseo plugin ls paseo-omp
20
+ ```
21
+
22
+ A tag-pinned installation does not advance through `paseo plugin update`. To upgrade, record the current installation, then replace it with the new tag in one maintenance window:
23
+
24
+ ```bash
25
+ paseo plugin ls paseo-omp --json > paseo-omp-before-update.json
26
+ paseo plugin remove paseo-omp
27
+ paseo plugin add omercnet/paseo-plugins:paseo-omp --ref paseo-omp-v<new-version>
28
+ ```
29
+
30
+ Removal deletes plugin-scoped settings and briefly makes `omp-plugin` unavailable. It does not modify Paseo's bundled `omp` provider or native OMP transcripts. Roll back by repeating the remove/add sequence with the recorded tag or commit.
31
+
32
+ ## Install a release archive
33
+
34
+ Release ZIPs contain the production dependency tree and install offline. Authenticate provenance before installation:
35
+
36
+ ```bash
37
+ gh attestation verify paseo-omp-v<version>.zip --repo omercnet/paseo-plugins
38
+ sha256sum --check paseo-omp-v<version>.zip.sha256
39
+ unzip paseo-omp-v<version>.zip
40
+ paseo plugin install "$PWD/paseo-omp"
41
+ ```
42
+
43
+ The checksum detects accidental corruption; the GitHub attestation authenticates the artifact.
44
+
45
+ ## Install a local checkout
46
+
47
+ ```bash
48
+ git clone https://github.com/omercnet/paseo-plugins.git
49
+ cd paseo-plugins/paseo-omp
50
+ npm ci --ignore-scripts
51
+ paseo plugin install "$PWD"
52
+ ```
53
+
54
+ After editing a directory installation:
55
+
56
+ ```bash
57
+ npm run check
58
+ npm run typecheck
59
+ paseo plugin reload paseo-omp
60
+ paseo plugin ls paseo-omp
61
+ ```
62
+
63
+ ## Track a branch
64
+
65
+ Tracking `main` executes future dependency and plugin updates with the daemon user's privileges. Record the installed commit before each update:
66
+
67
+ ```bash
68
+ paseo plugin add omercnet/paseo-plugins:paseo-omp --ref main
69
+ paseo plugin ls paseo-omp --json > paseo-omp-before-update.json
70
+ paseo plugin update paseo-omp
71
+ ```
72
+
73
+ A failed Git build or incompatible update leaves the previous revision active. Remove and re-add the recorded commit to roll back.