@omercnet/paseo-omp 0.4.0-next.119.1 → 0.4.0
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/package.json +1 -3
- package/server/package-version.ts +1 -1
- package/server/provider/connection.ts +1 -28
- package/server/provider/omp-rpc.ts +178 -792
- package/server/provider/session-descriptors.ts +18 -52
- package/server/provider/session.ts +1 -12
- package/server/provider/subsessions.ts +6 -28
- package/server/provider/timeline-projector.ts +24 -94
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omercnet/paseo-omp",
|
|
3
|
-
"version": "0.4.0
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Paseo integration for OMP, including its direct provider and workspace tooling.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,8 +60,6 @@
|
|
|
60
60
|
"@getpaseo/cli": "0.9.0-beta.1",
|
|
61
61
|
"@getpaseo/client": "0.9.0-beta.1",
|
|
62
62
|
"@getpaseo/plugin": "0.9.0-beta.1",
|
|
63
|
-
"@oh-my-pi/pi-agent-core": "18.2.0",
|
|
64
|
-
"@oh-my-pi/pi-coding-agent": "18.2.0",
|
|
65
63
|
"@tanstack/react-query": "^5.102.3",
|
|
66
64
|
"@types/node": "^24.10.1",
|
|
67
65
|
"@types/react": "^19.2.18",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Release Please keeps this bundle-safe constant aligned with package.json. */
|
|
2
|
-
export const PASEO_OMP_PACKAGE_VERSION = "0.4.0
|
|
2
|
+
export const PASEO_OMP_PACKAGE_VERSION = "0.4.0"; // x-release-please-version
|
|
@@ -16,14 +16,7 @@ import type {
|
|
|
16
16
|
import { discoverOmpCatalog } from "./catalog";
|
|
17
17
|
import { normalizeOmpCatalogOptions } from "./config-normalization";
|
|
18
18
|
import type { OmpMcpConnector } from "./host-tools";
|
|
19
|
-
import {
|
|
20
|
-
OMP_RPC_BOUND_DIMENSIONS,
|
|
21
|
-
OMP_RPC_DIAGNOSTIC_COMMANDS,
|
|
22
|
-
type OmpRpcBoundDimension,
|
|
23
|
-
type OmpRpcDiagnosticCommand,
|
|
24
|
-
OmpRpcResponseLimitError,
|
|
25
|
-
type OmpRuntime,
|
|
26
|
-
} from "./omp-rpc";
|
|
19
|
+
import type { OmpRuntime } from "./omp-rpc";
|
|
27
20
|
import {
|
|
28
21
|
boundedJsonBytes,
|
|
29
22
|
isOmpCleanupFailure,
|
|
@@ -327,10 +320,6 @@ export interface OmpConnectionDiagnostic {
|
|
|
327
320
|
code?: (typeof SYSTEM_ERROR_CODES)[number] | (typeof DATABASE_ERROR_CODES)[number];
|
|
328
321
|
exitCode?: number;
|
|
329
322
|
signal?: (typeof EXIT_SIGNALS)[number];
|
|
330
|
-
command?: OmpRpcDiagnosticCommand;
|
|
331
|
-
bound?: OmpRpcBoundDimension;
|
|
332
|
-
actual?: number;
|
|
333
|
-
limit?: number;
|
|
334
323
|
}
|
|
335
324
|
|
|
336
325
|
// Match complete, locally authored messages only. Never log an arbitrary message, error name,
|
|
@@ -439,22 +428,6 @@ function classifyFailure(
|
|
|
439
428
|
: "NonError",
|
|
440
429
|
classification: "unexpected",
|
|
441
430
|
};
|
|
442
|
-
if (error instanceof OmpRpcResponseLimitError) {
|
|
443
|
-
const command = OMP_RPC_DIAGNOSTIC_COMMANDS.find((value) => value === error.command);
|
|
444
|
-
const bound = OMP_RPC_BOUND_DIMENSIONS.find((value) => value === error.bound);
|
|
445
|
-
const actual =
|
|
446
|
-
Number.isSafeInteger(error.actual) && error.actual >= 0 ? error.actual : undefined;
|
|
447
|
-
const limit = Number.isSafeInteger(error.limit) && error.limit >= 0 ? error.limit : undefined;
|
|
448
|
-
return {
|
|
449
|
-
...result,
|
|
450
|
-
classification: "rpc-response-limit",
|
|
451
|
-
stage: "rpc",
|
|
452
|
-
...(command ? { command } : {}),
|
|
453
|
-
...(bound ? { bound } : {}),
|
|
454
|
-
...(actual !== undefined ? { actual } : {}),
|
|
455
|
-
...(limit !== undefined ? { limit } : {}),
|
|
456
|
-
};
|
|
457
|
-
}
|
|
458
431
|
const message = error instanceof Error ? error.message : undefined;
|
|
459
432
|
if (typeof message === "string") {
|
|
460
433
|
const known = KNOWN_FAILURES.get(message);
|