@omercnet/paseo-omp 0.4.0-next.120.1 → 0.4.0-next.123.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/package.json +1 -1
- package/server/omp-models.ts +2 -6
- package/server/package-version.ts +1 -1
- package/server/protocol-violation-diagnostics.ts +1 -1
- package/server/provider/catalog.ts +2 -1
- package/server/provider/connection.ts +3 -3
- package/server/provider/host-tools.ts +2 -2
- package/server/provider/omp-rpc-protocol.ts +1949 -0
- package/server/provider/omp-rpc-transport.ts +1348 -0
- package/server/provider/omp-rpc.ts +53 -3242
- package/server/provider/prompt-payload.ts +1 -1
- package/server/provider/registration.ts +2 -1
- package/server/provider/session-events.ts +42 -0
- package/server/provider/session-terminal.ts +307 -0
- package/server/provider/session.ts +17 -349
- package/server/provider/subsessions.ts +2 -3
- package/server/provider/timeline-projector.ts +1 -1
package/package.json
CHANGED
package/server/omp-models.ts
CHANGED
|
@@ -3,12 +3,8 @@ import { isAbsolute } from "node:path";
|
|
|
3
3
|
import type { RpcInput } from "@getpaseo/plugin";
|
|
4
4
|
import type { listOmpModels, OmpModelCandidate, OmpModelListResult } from "../shared/omp-models";
|
|
5
5
|
import { currentOmpEnvironment } from "./paths";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
OmpRpcRuntime,
|
|
9
|
-
type OmpRuntime,
|
|
10
|
-
type OmpRuntimeSession,
|
|
11
|
-
} from "./provider/omp-rpc";
|
|
6
|
+
import { OmpRpcRuntime, type OmpRuntime, type OmpRuntimeSession } from "./provider/omp-rpc";
|
|
7
|
+
import type { OmpModel } from "./provider/omp-rpc-protocol";
|
|
12
8
|
import { OmpCleanupFailure, OmpPublicDataSerializer, OmpPublicError } from "./provider/security";
|
|
13
9
|
|
|
14
10
|
function mapOmpModel(model: OmpModel, serializer: OmpPublicDataSerializer): OmpModelCandidate {
|
|
@@ -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-next.
|
|
2
|
+
export const PASEO_OMP_PACKAGE_VERSION = "0.4.0-next.123.1"; // x-release-please-version
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
type OmpProtocolViolationCategory,
|
|
5
5
|
type OmpProtocolViolationDiagnostic,
|
|
6
6
|
type OmpProtocolViolationReason,
|
|
7
|
-
} from "./provider/omp-rpc";
|
|
7
|
+
} from "./provider/omp-rpc-protocol";
|
|
8
8
|
|
|
9
9
|
export interface OmpProtocolViolationSummary {
|
|
10
10
|
category: OmpProtocolViolationCategory;
|
|
@@ -6,7 +6,8 @@ import type {
|
|
|
6
6
|
ProviderThinkingOption,
|
|
7
7
|
} from "@getpaseo/plugin/server/provider";
|
|
8
8
|
import type { NormalizedOmpStartOptions } from "./config-normalization";
|
|
9
|
-
import type {
|
|
9
|
+
import type { OmpRuntime, OmpRuntimeSession } from "./omp-rpc";
|
|
10
|
+
import type { OmpModel } from "./omp-rpc-protocol";
|
|
10
11
|
import {
|
|
11
12
|
configuredOutputRedactionValues,
|
|
12
13
|
OmpCleanupFailure,
|
|
@@ -16,14 +16,14 @@ 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 type { OmpRuntime } from "./omp-rpc";
|
|
19
20
|
import {
|
|
20
21
|
OMP_RPC_BOUND_DIMENSIONS,
|
|
21
22
|
OMP_RPC_DIAGNOSTIC_COMMANDS,
|
|
22
23
|
type OmpRpcBoundDimension,
|
|
23
24
|
type OmpRpcDiagnosticCommand,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./omp-rpc";
|
|
25
|
+
} from "./omp-rpc-protocol";
|
|
26
|
+
import { OmpRpcResponseLimitError } from "./omp-rpc-transport";
|
|
27
27
|
import {
|
|
28
28
|
boundedJsonBytes,
|
|
29
29
|
isOmpCleanupFailure,
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
type ConnectedMcpToolPage,
|
|
15
15
|
connectMcpServer,
|
|
16
16
|
} from "./mcp-transport";
|
|
17
|
+
import type { OmpRuntimeSession } from "./omp-rpc";
|
|
17
18
|
import {
|
|
18
19
|
OMP_HOST_TOOL_FRAME_LIMIT_ERROR,
|
|
19
20
|
type OmpHostToolCall,
|
|
20
21
|
type OmpHostToolDefinition,
|
|
21
22
|
type OmpHostToolResult,
|
|
22
|
-
type OmpRuntimeSession,
|
|
23
23
|
parseOmpHostToolAgentResult,
|
|
24
|
-
} from "./omp-rpc";
|
|
24
|
+
} from "./omp-rpc-protocol";
|
|
25
25
|
import {
|
|
26
26
|
boundedJsonBytes,
|
|
27
27
|
OmpCleanupFailure,
|