// shared/workspaceFileVisualKind.ts
import {
  resolveWorkspaceFileVisualKind as resolveWorkspaceFileManagerVisualKind
} from "@tutti-os/workspace-file-manager/services";
function resolveAgentWorkspaceFileVisualKind(pathOrName, options = {}) {
  const refType = options.refType;
  const kind = resolveWorkspaceFileManagerVisualKind({
    kind: refType === "folder" || refType === "directory" ? "directory" : "file",
    name: pathOrName,
    path: pathOrName
  });
  return kind === "directory" ? "folder" : kind;
}

export {
  resolveAgentWorkspaceFileVisualKind
};
//# sourceMappingURL=chunk-PJP5BUU6.js.map