@omercnet/paseo-omp 2.0.2-next.259.1 → 2.0.2-next.270.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 +1 -1
- package/README.md +2 -2
- package/npm-shrinkwrap.json +16 -16
- package/package.json +6 -6
- package/paseo-plugin.json +1 -1
- package/server/package-version.ts +1 -1
- package/server/provider/connection.ts +4 -1
- package/server/provider/prompt-payload.ts +4 -1
- package/server/provider/session.ts +11 -1
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.11.0.
|
|
5
|
+
- Paseo ^0.11.0 || ^0.12.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
|
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ before capture.
|
|
|
24
24
|
|
|
25
25
|
## Quick start
|
|
26
26
|
|
|
27
|
-
Requirements: Paseo `^0.11.0`, OMP `18.1.15` or newer, and OMP RPC protocol v2. The config screen and Hub row use the 0.11 screen and sidebar APIs, so Paseo 0.9 and 0.10 hosts are no longer supported.
|
|
27
|
+
Requirements: Paseo `^0.11.0 || ^0.12.0`, OMP `18.1.15` or newer, and OMP RPC protocol v2. The config screen and Hub row use the 0.11 screen and sidebar APIs, so Paseo 0.9 and 0.10 hosts are no longer supported.
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
paseo plugin install npm:@omercnet/paseo-omp@<version>
|
|
@@ -54,7 +54,7 @@ Profile selection is request-local: concurrent clients cannot change each other'
|
|
|
54
54
|
|
|
55
55
|
## Paseo provider SDK coverage
|
|
56
56
|
|
|
57
|
-
The capability inventory is pinned to `@getpaseo/plugin` 0.
|
|
57
|
+
The capability inventory is pinned to `@getpaseo/plugin` 0.12.0-beta.2, with nightly compatibility checks
|
|
58
58
|
against the latest and beta channels. Provider capability scoring covers
|
|
59
59
|
all 17 entries in the SDK's `PROVIDER_CAPABILITIES`; the separate provider/client SDK table below
|
|
60
60
|
also tracks the 0.11 registration, screen, and sidebar APIs. This measures strict SDK surface
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -8,24 +8,24 @@
|
|
|
8
8
|
"name": "@omercnet/paseo-omp",
|
|
9
9
|
"version": "2.0.2",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@getpaseo/protocol": "0.
|
|
11
|
+
"@getpaseo/protocol": "0.12.0-beta.2",
|
|
12
12
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
13
13
|
"yaml": "^2.9.0"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"node_modules/@getpaseo/protocol": {
|
|
17
|
-
"version": "0.
|
|
18
|
-
"resolved": "https://registry.npmjs.org/@getpaseo/protocol/-/protocol-0.
|
|
19
|
-
"integrity": "sha512-
|
|
17
|
+
"version": "0.12.0-beta.2",
|
|
18
|
+
"resolved": "https://registry.npmjs.org/@getpaseo/protocol/-/protocol-0.12.0-beta.2.tgz",
|
|
19
|
+
"integrity": "sha512-Rolt7NUf+aJpoRM8Rqxj5Ao0i6wz/MMj0i57IqJsGdxJRBS+SrnfacJD1cqtq4TY8UicsI3GBEue6V3+LOyBnw==",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"semver": "^7.8.5",
|
|
22
22
|
"zod": "^4.4.3"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"node_modules/@hono/node-server": {
|
|
26
|
-
"version": "2.1.
|
|
27
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.
|
|
28
|
-
"integrity": "sha512-
|
|
26
|
+
"version": "2.1.5",
|
|
27
|
+
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz",
|
|
28
|
+
"integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=20"
|
|
@@ -657,9 +657,9 @@
|
|
|
657
657
|
"license": "ISC"
|
|
658
658
|
},
|
|
659
659
|
"node_modules/ip-address": {
|
|
660
|
-
"version": "10.7.
|
|
661
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.
|
|
662
|
-
"integrity": "sha512-
|
|
660
|
+
"version": "10.7.4",
|
|
661
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.4.tgz",
|
|
662
|
+
"integrity": "sha512-DWBMKyeM25D70nrIiTkgQth59/G+naKOTep6huF9j+GmeK3DMD60Zvxg5d5qQnz+38AHgou6ean2LECX+lrKDg==",
|
|
663
663
|
"license": "MIT",
|
|
664
664
|
"engines": {
|
|
665
665
|
"node": ">= 12"
|
|
@@ -898,9 +898,9 @@
|
|
|
898
898
|
}
|
|
899
899
|
},
|
|
900
900
|
"node_modules/qs": {
|
|
901
|
-
"version": "6.16.
|
|
902
|
-
"resolved": "https://registry.npmjs.org/qs/-/qs-6.16.
|
|
903
|
-
"integrity": "sha512-
|
|
901
|
+
"version": "6.16.1",
|
|
902
|
+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz",
|
|
903
|
+
"integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==",
|
|
904
904
|
"license": "BSD-3-Clause",
|
|
905
905
|
"dependencies": {
|
|
906
906
|
"es-define-property": "^1.0.1",
|
|
@@ -1232,9 +1232,9 @@
|
|
|
1232
1232
|
}
|
|
1233
1233
|
},
|
|
1234
1234
|
"node_modules/zod": {
|
|
1235
|
-
"version": "4.6.
|
|
1236
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.
|
|
1237
|
-
"integrity": "sha512-
|
|
1235
|
+
"version": "4.6.7",
|
|
1236
|
+
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
|
|
1237
|
+
"integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
|
|
1238
1238
|
"license": "MIT",
|
|
1239
1239
|
"funding": {
|
|
1240
1240
|
"url": "https://github.com/sponsors/colinhacks"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omercnet/paseo-omp",
|
|
3
|
-
"version": "2.0.2-next.
|
|
3
|
+
"version": "2.0.2-next.270.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"typecheck": "tsc --noEmit -p tsconfig.client.json && tsc --noEmit -p tsconfig.server.json && tsc --noEmit -p tsconfig.tests.json"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@getpaseo/protocol": "0.
|
|
56
|
+
"@getpaseo/protocol": "0.12.0-beta.2",
|
|
57
57
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
58
58
|
"yaml": "^2.9.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@biomejs/biome": "^2.5.10",
|
|
62
|
-
"@getpaseo/cli": "0.
|
|
63
|
-
"@getpaseo/client": "0.
|
|
64
|
-
"@getpaseo/plugin": "0.
|
|
65
|
-
"@getpaseo/server": "0.
|
|
62
|
+
"@getpaseo/cli": "0.12.0-beta.2",
|
|
63
|
+
"@getpaseo/client": "0.12.0-beta.2",
|
|
64
|
+
"@getpaseo/plugin": "0.12.0-beta.2",
|
|
65
|
+
"@getpaseo/server": "0.12.0-beta.2",
|
|
66
66
|
"@oh-my-pi/pi-agent-core": "18.10.1",
|
|
67
67
|
"@oh-my-pi/pi-coding-agent": "18.10.1",
|
|
68
68
|
"@tanstack/react-query": "^5.102.3",
|
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.11.0" },
|
|
4
|
+
"requirements": { "paseo": "^0.11.0 || ^0.12.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 = "2.0.2-next.
|
|
2
|
+
export const PASEO_OMP_PACKAGE_VERSION = "2.0.2-next.270.1"; // x-release-please-version
|
|
@@ -166,7 +166,10 @@ function preflightProviderInput(input: unknown): void {
|
|
|
166
166
|
) {
|
|
167
167
|
throw new OmpPublicError("Prompt output schema is too large");
|
|
168
168
|
}
|
|
169
|
-
if (
|
|
169
|
+
if (
|
|
170
|
+
prompt?.outputSchema !== undefined ||
|
|
171
|
+
(prompt?.clearPendingPermissions === true && prompt.delivery !== "steer")
|
|
172
|
+
) {
|
|
170
173
|
throw new OmpPublicError("OMP does not support structured output or permission controls");
|
|
171
174
|
}
|
|
172
175
|
}
|
|
@@ -183,7 +183,10 @@ function padLineNumber(lineNumber: number | null): string {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
export function promptPayload(input: SessionPromptInput): OmpPromptPayload {
|
|
186
|
-
if (
|
|
186
|
+
if (
|
|
187
|
+
input.prompt.outputSchema !== undefined ||
|
|
188
|
+
(input.prompt.clearPendingPermissions && input.prompt.delivery !== "steer")
|
|
189
|
+
) {
|
|
187
190
|
throw new OmpPublicError("OMP does not support structured output or permission controls");
|
|
188
191
|
}
|
|
189
192
|
if (input.prompt.input.type === "command") {
|
|
@@ -1073,7 +1073,12 @@ export class OmpProviderSession implements OmpOpenedSession {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
1075
|
if (input.prompt.delivery === "steer") {
|
|
1076
|
-
await this.steer(
|
|
1076
|
+
await this.steer(
|
|
1077
|
+
input.prompt.clientMessageId,
|
|
1078
|
+
payload,
|
|
1079
|
+
undefined,
|
|
1080
|
+
input.prompt.clearPendingPermissions === true,
|
|
1081
|
+
);
|
|
1077
1082
|
return;
|
|
1078
1083
|
}
|
|
1079
1084
|
if (
|
|
@@ -2130,6 +2135,7 @@ export class OmpProviderSession implements OmpOpenedSession {
|
|
|
2130
2135
|
clientMessageId: string,
|
|
2131
2136
|
payload: OmpPromptPayload,
|
|
2132
2137
|
expectedTurn = this.activeTurn,
|
|
2138
|
+
clearPendingPermissions = false,
|
|
2133
2139
|
): Promise<void> {
|
|
2134
2140
|
const turn = expectedTurn;
|
|
2135
2141
|
if (!this.isSteerableTurn(turn)) {
|
|
@@ -2204,6 +2210,10 @@ export class OmpProviderSession implements OmpOpenedSession {
|
|
|
2204
2210
|
this.cancelAmbiguousTerminal(turn);
|
|
2205
2211
|
turn.deferredAgentEnd = undefined;
|
|
2206
2212
|
this.acceptPendingUser(turn, pending);
|
|
2213
|
+
if (clearPendingPermissions) {
|
|
2214
|
+
turn.awaitingPermissionEvidence = false;
|
|
2215
|
+
this.permissions.resolveTurnPermissions(turn.turnId);
|
|
2216
|
+
}
|
|
2207
2217
|
this.emit({
|
|
2208
2218
|
type: "session.prompt_result",
|
|
2209
2219
|
sessionId: this.id,
|