blob: 252f0b1cdeabb3479ebd4cb41d604bd9a6f3330f [file] [edit]
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// A namespace for all the parameter names.
extension ParameterNames on Never {
static const applyFixes = 'applyFixes';
static const apps = 'apps';
static const appUri = 'appUri';
static const arguments = 'arguments';
static const column = 'column';
static const command = 'command';
static const directory = 'directory';
static const dtdUri = 'dtdUri';
static const empty = 'empty';
static const enabled = 'enabled';
static const isolateId = 'isolateId';
static const line = 'line';
static const method = 'method';
static const name = 'name';
static const packageNames = 'packageNames';
static const paths = 'paths';
static const pid = 'pid';
static const platform = 'platform';
static const position = 'position';
static const projectType = 'projectType';
static const query = 'query';
static const root = 'root';
static const roots = 'roots';
static const searchDir = 'searchDir';
static const summaryOnly = 'summaryOnly';
static const template = 'template';
static const uri = 'uri';
static const uris = 'uris';
static const userJourney = 'user_journey';
static const webLaunchUri = 'webLaunchUri';
}
/// The names of all the tools provided by the server.
enum ToolNames {
analyzeFiles('analyze_files'),
createProject('create_project'),
dartFix('dart_fix'),
dartFormat('dart_format'),
dtd('dtd'),
flutterDriverCommand('flutter_driver_command'),
getActiveLocation('get_active_location'),
getAppLogs('get_app_logs'),
getRuntimeErrors('get_runtime_errors'),
hotReload('hot_reload'),
hotRestart('hot_restart'),
launchApp('launch_app'),
listDevices('list_devices'),
listRunningApps('list_running_apps'),
lsp('lsp'),
pub('pub'),
pubDevSearch('pub_dev_search'),
readPackageUris('read_package_uris'),
ripGrepPackages('rip_grep_packages'),
roots('roots'),
runTests('run_tests'),
stopApp('stop_app'),
vmService('vm_service'),
widgetInspector('widget_inspector');
final String name;
const ToolNames(this.name);
@override
String toString() => name;
}
/// The names of all the prompts provided by the server.
enum PromptNames {
flutterDriverUserJourneyTest('flutter_driver_user_journey_test');
final String name;
const PromptNames(this.name);
@override
String toString() => name;
}