Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
649 changes: 649 additions & 0 deletions packages/runtime-host/src/__tests__/plugin-platform.test.ts

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion packages/runtime-host/src/protocol/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export const RUNTIME_HOST_REGISTRATION_SCHEMA_VERSION = 1 as const;
export const RUNTIME_HOST_PROTOCOL_VERSION = 0 as const;
// Increment when the same protocol version no longer guarantees safe Client-Host
// interoperability. Mismatches are rejected before domain commands are admitted.
export const RUNTIME_HOST_COMPATIBILITY_EPOCH = 48 as const;
export const RUNTIME_HOST_COMPATIBILITY_EPOCH = 49 as const;
// 49: Plugin package and Entry composition operations become Host-owned protocol
// surfaces. Older peers cannot safely apply these snapshot semantics.
// 48: Session branch creation accepts an explicit Side Conversation intent.
// Older peers reject the strict input shape or cannot apply its snapshot semantics.
// 47: Project registration can carry an explicit location preference. Epoch-46
Expand Down
3 changes: 3 additions & 0 deletions packages/runtime-host/src/protocol/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import { MEMORY_OPERATION_SPECS } from './memory.js';
import { NETWORK_PROXY_OPERATION_SPECS } from './network-proxy.js';
import { OAUTH_OPERATION_SPECS } from './oauth.js';
import { PLAN_OPERATION_SPECS } from './plan.js';
import { PLUGIN_PLATFORM_OPERATION_SPECS } from './plugin-platform.js';
import { PROJECT_CATALOG_OPERATION_SPECS } from './project-catalog.js';
import {
composeOperationSpecMaps,
Expand Down Expand Up @@ -159,6 +160,7 @@ export * from './memory.js';
export * from './network-proxy.js';
export * from './oauth.js';
export * from './plan.js';
export * from './plugin-platform.js';
export * from './project-catalog.js';
export * from './runtime-policy.js';
export * from './runtime-resource.js';
Expand Down Expand Up @@ -211,6 +213,7 @@ export const HOST_OPERATION_SPECS = composeOperationSpecMaps(
WEB_SEARCH_OPERATION_SPECS,
NETWORK_PROXY_OPERATION_SPECS,
CONFIGURATION_OPERATION_SPECS,
PLUGIN_PLATFORM_OPERATION_SPECS,
);

export type OperationSpecMap = typeof HOST_OPERATION_SPECS;
Expand Down
Loading
Loading