xworkmate-app/lib/runtime/embedded_agent_launch_policy.dart
2026-04-11 14:45:50 +08:00

24 lines
454 B
Dart

import '../app/app_store_policy.dart';
import 'go_core.dart';
bool shouldBlockEmbeddedAgentLaunch({
required bool isAppleHost,
bool? enabled,
}) {
return shouldApplyAppleAppStorePolicy(
isAppleHost: isAppleHost,
enabled: enabled,
);
}
bool shouldBlockGoCoreLaunch(
GoCoreLaunch _, {
required bool isAppleHost,
bool? enabled,
}) {
return shouldBlockEmbeddedAgentLaunch(
isAppleHost: isAppleHost,
enabled: enabled,
);
}