Files
openclaw/src/plugin-sdk/command-auth-native.ts
2026-05-29 17:35:02 +01:00

40 lines
1.4 KiB
TypeScript

export {
buildCommandTextFromArgs,
findCommandByNativeName,
formatCommandArgMenuTitle,
listChatCommands,
listNativeCommandSpecs,
listNativeCommandSpecsForConfig,
maybeResolveTextAlias,
normalizeCommandBody,
parseCommandArgs,
serializeCommandArgs,
resolveCommandArgChoices,
resolveCommandArgMenu,
} from "../auto-reply/commands-registry.js";
export type {
ChatCommandDefinition,
CommandArgDefinition,
CommandArgValues,
CommandArgs,
NativeCommandSpec,
} from "../auto-reply/commands-registry.js";
export type { CommandArgsParsing } from "../auto-reply/commands-registry.types.js";
export {
hasControlCommand,
shouldComputeCommandAuthorized,
} from "../auto-reply/command-detection.js";
export {
resolveCommandAuthorizedFromAuthorizers,
resolveControlCommandGate,
} from "../channels/command-gating.js";
export { resolveNativeCommandSessionTargets } from "../channels/native-command-session-targets.js";
export {
resolveCommandAuthorization,
type CommandAuthorization,
} from "../auto-reply/command-auth.js";
export { resolveStoredModelOverride } from "../auto-reply/reply/stored-model-override.js";
export type { ModelsProviderData } from "../auto-reply/reply/commands-models.js";
export { listSkillCommandsForAgents } from "../skills/discovery/chat-commands.js";
export { listProviderPluginCommandSpecs } from "../plugins/command-specs.js";