mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-28 09:31:16 +00:00
* refactor(plugin-sdk): narrow wildcard barrels to explicit used exports * refactor(tools): delete dead tool-planning module exposed by barrel narrowing * fix(plugin-sdk): restore deprecation tag on OpenClawSchemaType alias * test(agents): drop test for deleted runtime proxy module * refactor(tools): trim descriptor types to cache consumers * refactor(deadcode): harvest exports orphaned by barrel narrowing * refactor(deadcode): harvest exports orphaned by barrel narrowing (rest) * fix(agents): restore sdk imports and test markers via public predicate * fix(plugin-sdk): named type re-exports in plugin-entry; trim types barrel precisely * chore(plugin-sdk): account unmasked deprecated provider types in budgets * fix(plugins): name star-only type rows for dts bundling * fix(plugins): restore host-hook surface; unexport internal api compositions * fix(plugins): named type imports for api composition; restore needed source exports * fix(plugins): knip-visible type imports for registry surfaces * test: adapt tests to privatized media and command internals * fix(qa-lab): re-export snapshot conversation type * style: format sessions sdk imports * fix(plugins): restore smoke entry export; pin budgets to exact actuals * fix(plugins): canonical smoke-entry import; drop orphaned root shims * fix(plugins): allowlist manifest probe, repoint qa web import, drop dead browser barrels * fix(plugin-sdk): pin codex auth marker and scaffold provider type * fix(qa-lab): keep web-facing model-selection shim within boundary rules * fix(plugin-sdk): preserve merged contracts through narrowed barrels * chore(plugin-sdk): pin post-rebase surface budgets
46 lines
2.1 KiB
TypeScript
46 lines
2.1 KiB
TypeScript
// Public gateway/client helpers for plugins that talk to the host gateway surface.
|
|
|
|
export { addGatewayClientOptions, callGatewayFromCli } from "../cli/gateway-rpc.js";
|
|
export type { GatewayRpcOpts } from "../cli/gateway-rpc.js";
|
|
export { isLoopbackHost } from "../gateway/net.js";
|
|
export async function resolveAdvertisedLanHost(): Promise<string | null> {
|
|
const runtime = await import("../infra/advertised-lan-host.js");
|
|
return await runtime.resolveAdvertisedLanHost();
|
|
}
|
|
export { resolveHostedPluginSurfaceUrl } from "../gateway/hosted-plugin-surface-url.js";
|
|
export type { HostedPluginSurfaceUrlParams } from "../gateway/hosted-plugin-surface-url.js";
|
|
export {
|
|
buildPluginNodeCapabilityScopedHostUrl,
|
|
DEFAULT_PLUGIN_NODE_CAPABILITY_TTL_MS,
|
|
mintPluginNodeCapabilityToken,
|
|
normalizePluginNodeCapabilityScopedUrl,
|
|
PLUGIN_NODE_CAPABILITY_PATH_PREFIX,
|
|
} from "../gateway/plugin-node-capability.js";
|
|
export type { NormalizedPluginNodeCapabilityUrl } from "../gateway/plugin-node-capability.js";
|
|
export {
|
|
isNodeCommandAllowed,
|
|
resolveNodeCommandAllowlist,
|
|
} from "../gateway/node-command-policy.js";
|
|
export type { NodeSession } from "../gateway/node-registry.js";
|
|
export { resolveNodeFromNodeList } from "../shared/node-resolve.js";
|
|
export type { NodeMatchCandidate } from "../shared/node-match.js";
|
|
export {
|
|
respondUnavailableOnNodeInvokeError,
|
|
safeParseJson,
|
|
} from "../gateway/server-methods/nodes.helpers.js";
|
|
export type { GatewayRequestHandlers } from "../gateway/server-methods/types.js";
|
|
export { ensureGatewayStartupAuth } from "../gateway/startup-auth.js";
|
|
export { resolveGatewayAuth } from "../gateway/auth.js";
|
|
|
|
export { GatewayClient } from "../gateway/client.js";
|
|
export { startGatewayClientWhenEventLoopReady } from "../gateway/client-start-readiness.js";
|
|
|
|
export { ErrorCodes, errorShape } from "../../packages/gateway-protocol/src/schema/error-codes.js";
|
|
|
|
export type { GatewayRequestHandlerOptions } from "../gateway/server-methods/types.js";
|
|
|
|
export {
|
|
createConnectedChannelStatusPatch,
|
|
createTransportActivityStatusPatch,
|
|
} from "../gateway/channel-status-patches.js";
|