Files
openclaw/packages/gateway-protocol/src/index.ts
T
Peter Steinberger c6b2ec28c8 refactor: mechanical dedup batch (protocol types, update-cli bridge, talk fallback) (#114432)
* refactor(onboarding): remove search setup barrel

* refactor(plugins): reuse detected package manifest

* test(update): replace global helper bridges

* refactor(talk): remove dead legacy response fallback

* refactor(protocol): derive root types from schema

The maintainer approved broadening the additive schema-backed type surface without a protocol version bump.

* fix(plugins): drop stale package path import

* test(protocol): type dynamic registry lookups

* docs(talk): explain canonical response boundary

* refactor(talk): enforce canonical response input

* fix(protocol): keep root type exports registry-free

* refactor(update): expose helpers through test facades

* fix(protocol): keep result types on leaf schema modules
2026-07-27 06:55:07 -04:00

53 lines
1.7 KiB
TypeScript

export * from "./clawhub-trust-error-details.js";
export * from "./system-agent-error-details.js";
export {
isMcpAppViewExpiredError,
readMissingScopeError,
readMissingScopeErrorDetails,
} from "./gateway-error-details.js";
export * from "./session-icon.js";
export * from "./terminal-validators.js";
export {
validateApprovalGetResult,
validateApprovalHistoryResult,
validateApprovalResolveResult,
} from "./approval-result-validators.js";
export { formatValidationErrors, type ValidationError } from "./validation-errors.js";
export type { ProtocolValidator } from "./protocol-validator.js";
export * from "./schema/worker-inference.js";
export * from "./schema/skill-history.js";
export * from "./schema/ui-command.js";
export type {
GatewayErrorDetails,
McpAppViewExpiredErrorDetails,
MissingScopeErrorDetails,
WizardNotFoundErrorDetails,
} from "./schema/error-codes.js";
export * from "./schema/board.js";
export {
SessionCreatedActorSchema,
type SessionCreatedActor,
type SessionRow,
} from "./schema/sessions-row.js";
export * from "./schema/sessions-suggestions.js";
export * from "./migration-api.js";
export type * from "./public-session-catalog.js";
export * from "./validator-registry.js";
export * from "./schema-export-registry.js";
export type * from "./schema-types.js";
// Local structural result keeps this package independent of core session types.
export type SessionsPatchResult = {
ok: true;
path: string;
key: string;
entry: Record<string, unknown>;
resolved?: {
modelProvider?: string;
model?: string;
agentRuntime?: import("./schema/agents-models-skills.js").GatewayAgentRuntime;
thinkingLevel?: string;
thinkingLevels?: Array<{ id: string; label: string }>;
};
};