mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
refactor: trim acp local exports
This commit is contained in:
@@ -31,7 +31,7 @@ export type AcpApprovalClass =
|
||||
| "other"
|
||||
| "unknown";
|
||||
|
||||
export type AcpApprovalClassification = {
|
||||
type AcpApprovalClassification = {
|
||||
toolName?: string;
|
||||
approvalClass: AcpApprovalClass;
|
||||
autoApprove: boolean;
|
||||
@@ -69,7 +69,7 @@ function parseToolNameFromTitle(title: string | undefined | null): string | unde
|
||||
return head ? normalizeToolName(head) : undefined;
|
||||
}
|
||||
|
||||
export function resolveToolNameForPermission(params: {
|
||||
function resolveToolNameForPermission(params: {
|
||||
toolCall?: {
|
||||
title?: string | null;
|
||||
_meta?: unknown;
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
} from "../shared/string-coerce.js";
|
||||
import { asRecord } from "./record-shared.js";
|
||||
|
||||
export type GatewayAttachment = {
|
||||
type GatewayAttachment = {
|
||||
type: string;
|
||||
mimeType: string;
|
||||
content: string;
|
||||
|
||||
Reference in New Issue
Block a user