From 678052330271b0f66830b658f960c2677a8e61e6 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Tue, 24 Nov 2026 16:32:31 +0800 Subject: [PATCH] feat(run): support model-generated declared runConfigurationTypes entries --- desktop/internal/core/build.go | 20 ++++- desktop/internal/core/run_config.go | 16 ++-- desktop/internal/core/run_config_test.go | 47 +++++++++++- desktop/internal/core/run_discovery_test.go | 2 +- desktop/internal/pluginhost/pluginhost.go | 7 +- desktop/internal/workbench/build.go | 12 +++ desktop/internal/workbench/runconfig.go | 72 +++++++++++++++++- desktop/internal/workbench/runconfig_test.go | 74 +++++++++++++++++++ .../features/run-plugin-declared-types.json | 14 +++- 9 files changed, 246 insertions(+), 18 deletions(-) diff --git a/desktop/internal/core/build.go b/desktop/internal/core/build.go index 3bbab5e416..d04ca0e24e 100644 --- a/desktop/internal/core/build.go +++ b/desktop/internal/core/build.go @@ -227,13 +227,23 @@ type BuildModelOptionSelection struct { ActiveChoices map[string][]string `json:"activeChoices"` } -// BuildRunEntry is a command Run entry Core derived from a decoded model: one -// command run declaration applied to a model target or task, with its command -// line expanded at the options the model was read with. Provider runs have no -// entry; they are prepared on demand. +// RunTypeReference identifies a declared run configuration type together with +// its field values, as emitted by build.decodeModel (`runConfigurationTypes` 0) +// and stored under `extensions.build` on `build.run-type` configurations. +type RunTypeReference struct { + PluginID string `json:"pluginID"` + BuildSystemID string `json:"buildSystemID"` + Type string `json:"type"` + Values map[string]json.RawMessage `json:"values,omitempty"` +} + +// BuildRunEntry is a Run entry Core derived from a decoded model: either a +// command entry with expanded Arguments, or a generated `build.run-type` entry +// carrying RunType. Provider runs have no entry; they are prepared on demand. type BuildRunEntry struct { ID string `json:"id"` Name string `json:"name"` + Provider string `json:"provider,omitempty"` Execution string `json:"execution"` // Arguments follow the build tool, which the host resolves as for a task. Arguments []string `json:"args"` @@ -241,6 +251,8 @@ type BuildRunEntry struct { WorkingDirectory string `json:"cwd"` Environment map[string]string `json:"env"` BuildSystem BuildRunEntryBinding `json:"buildSystem"` + // RunType is populated when a run declaration targets a runConfigurationType. + RunType *RunTypeReference `json:"runType,omitempty"` } // BuildRunEntryBinding names the model item a Run entry was derived from: diff --git a/desktop/internal/core/run_config.go b/desktop/internal/core/run_config.go index 5b4e49d765..b8dca2da9e 100644 --- a/desktop/internal/core/run_config.go +++ b/desktop/internal/core/run_config.go @@ -20,12 +20,18 @@ type RunProviderReference struct { UserArguments []string `json:"userArguments"` } -// RunProviderRun is one entry of the providerRuns snapshot: a run the current -// build models offer, under the workspace-relative project path that owns it. +// RunProviderRun is one entry of the providerRuns snapshot: either a build +// provider selector (Reference) or a generated run-configuration-type entry +// (RunType, CWD, Execution, Selector), under the workspace-relative project +// path that owns it. type RunProviderRun struct { - ProjectPath string `json:"projectPath"` - Name string `json:"name"` - Reference RunProviderReference `json:"reference"` + ProjectPath string `json:"projectPath"` + Name string `json:"name"` + Reference *RunProviderReference `json:"reference,omitempty"` + CWD string `json:"cwd,omitempty"` + Execution string `json:"execution,omitempty"` + Selector string `json:"selector,omitempty"` + RunType *RunTypeReference `json:"runType,omitempty"` } // RunConfiguration is one effective run configuration after Core merged the diff --git a/desktop/internal/core/run_config_test.go b/desktop/internal/core/run_config_test.go index e8f2d3326d..881baacb85 100644 --- a/desktop/internal/core/run_config_test.go +++ b/desktop/internal/core/run_config_test.go @@ -25,7 +25,7 @@ func TestProviderRunsResolveAndLaunchInputs(t *testing.T) { } reference := RunProviderReference{PluginID: "dev.example.engine", BuildSystemID: "engine", Root: "app", Run: "application", ProjectID: "app", TargetID: "main", UserArguments: []string{}} - runs, err := json.Marshal([]RunProviderRun{{ProjectPath: "app", Name: "Run Main", Reference: reference}}) + runs, err := json.Marshal([]RunProviderRun{{ProjectPath: "app", Name: "Run Main", Reference: &reference}}) if err != nil { t.Fatal(err) } @@ -68,7 +68,7 @@ func TestRunConfigurationOptionsRoundTrip(t *testing.T) { } reference := RunProviderReference{PluginID: "dev.example.engine", BuildSystemID: "engine", Root: "app", Run: "application", ProjectID: "app", TargetID: "main", UserArguments: []string{}} - runs, err := json.Marshal([]RunProviderRun{{ProjectPath: "app", Name: "Run Main", Reference: reference}}) + runs, err := json.Marshal([]RunProviderRun{{ProjectPath: "app", Name: "Run Main", Reference: &reference}}) if err != nil { t.Fatal(err) } @@ -212,3 +212,46 @@ func TestBuiltInProcessRunRoundTrip(t *testing.T) { t.Fatalf("resolve after delete = %+v, %v", resolved, err) } } + +// A generated run-configuration-type snapshot entry resolves as a `build.run-type` +// configuration with a stable `generated:run-type:*` ID and its declared RunTypeKey. +func TestGeneratedRunTypeSnapshotResolvesAsDeclaredKind(t *testing.T) { + client := NewClient() + ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + defer cancel() + root := t.TempDir() + if err := os.MkdirAll(filepath.Join(root, "sub"), 0o755); err != nil { + t.Fatal(err) + } + runs, err := json.Marshal([]RunProviderRun{{ + ProjectPath: "sub", + Name: "build", + CWD: "sub", + Execution: "task", + Selector: "tasker.target:sub:build", + RunType: &RunTypeReference{ + PluginID: "dev.example.tasker", + BuildSystemID: "tasker", + Type: "target", + Values: map[string]json.RawMessage{ + "targets": json.RawMessage(`["build"]`), + }, + }, + }}) + if err != nil { + t.Fatal(err) + } + if _, err := client.GenerateRunConfigurations(ctx, root, runs); err != nil { + t.Fatal(err) + } + resolved, err := client.ResolveRunConfigurations(ctx, root, nil) + if err != nil || len(resolved.Configurations) != 1 { + t.Fatalf("resolve = %+v, %v", resolved, err) + } + cfg := resolved.Configurations[0] + key, ok := cfg.RunTypeReference() + if !ok || !strings.HasPrefix(cfg.ID, "generated:run-type:") || cfg.Provider != RunTypeProvider || cfg.UserDefined() || + key != (RunTypeKey{PluginID: "dev.example.tasker", BuildSystemID: "tasker", Type: "target"}) || cfg.Cwd != "sub" { + t.Fatalf("configuration = %+v key = %+v ok = %v", cfg, key, ok) + } +} diff --git a/desktop/internal/core/run_discovery_test.go b/desktop/internal/core/run_discovery_test.go index f34f7c2e8a..51bee3fe4d 100644 --- a/desktop/internal/core/run_discovery_test.go +++ b/desktop/internal/core/run_discovery_test.go @@ -78,7 +78,7 @@ func TestGenerateRunConfigurationsNeverWritesTheWorkspace(t *testing.T) { } reference := RunProviderReference{PluginID: "dev.example.engine", BuildSystemID: "engine", Root: "app", Run: "application", ProjectID: "app", TargetID: "main", UserArguments: []string{}} - runs, err := json.Marshal([]RunProviderRun{{ProjectPath: "app", Name: "Run Main", Reference: reference}}) + runs, err := json.Marshal([]RunProviderRun{{ProjectPath: "app", Name: "Run Main", Reference: &reference}}) if err != nil { t.Fatal(err) } diff --git a/desktop/internal/pluginhost/pluginhost.go b/desktop/internal/pluginhost/pluginhost.go index 7516a89e20..834b15428a 100644 --- a/desktop/internal/pluginhost/pluginhost.go +++ b/desktop/internal/pluginhost/pluginhost.go @@ -109,8 +109,11 @@ type Capabilities map[string][]int // - runConfigurationTypes: the Run/Debug Configurations dialog lists the // kinds a build system declares after the built-in ones, edits them with the // form Core describes in the plugin's translation, saves them and runs them -// with the command Core plans for the detected instance. A declared kind has -// no debugger. +// with the command Core plans for the detected instance. buildSystems[].run[] +// may also target a declared kind via configurationType and values so +// discovered model targets materialize generated configurations under the +// same group, icon, editor form and launch plan. A declared kind has no +// debugger. // - beforeLaunchTasks: the Add New Task menu of every configuration's Before // launch list offers the tasks a build system declares, edits each with the // form Core describes in the plugin's translation, and runs the step with diff --git a/desktop/internal/workbench/build.go b/desktop/internal/workbench/build.go index eba426a3d0..2ade47d025 100644 --- a/desktop/internal/workbench/build.go +++ b/desktop/internal/workbench/build.go @@ -1761,6 +1761,18 @@ func (a *App) runBuildEntry(p *project, entryID string) { if instance == nil { return } + for index := range instance.Model.Run { + entry := &instance.Model.Run[index] + if entry.ID == entryID && entry.RunType != nil { + if id, ok := p.generatedRunTypeConfigurationID(*entry); ok { + a.runConfiguration(p, id) + return + } + a.operationRejected("build_run_entry", "target_missing") + a.notifyError(a.text.Build.TargetMissing) + return + } + } instanceID := instance.ID a.startRun(p, "entry:"+instanceID+"/"+entryID, func(a *App, p *project) { a.startBuildEntry(p, instanceID, entryID) }) } diff --git a/desktop/internal/workbench/runconfig.go b/desktop/internal/workbench/runconfig.go index 3577431e04..7bdea5d969 100644 --- a/desktop/internal/workbench/runconfig.go +++ b/desktop/internal/workbench/runconfig.go @@ -6,6 +6,7 @@ import ( "errors" "path" "slices" + "strings" "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/i18n" @@ -86,7 +87,8 @@ func (s *runConfigState) configuration(id string) *core.RunConfiguration { } // providerRuns is the providerRuns snapshot of the instances whose model has loaded: -// each target a run declaration applies to, under its workspace-relative project path. +// each target a provider run declaration applies to, plus each model run entry targeting +// a declared runConfigurationType, under its workspace-relative project path. // ok is false while no model has loaded, so a refresh does not withdraw every detected // run before the models answer. func providerRuns(instances []buildInstance) ([]core.RunProviderRun, bool) { @@ -110,17 +112,83 @@ func providerRuns(instances []buildInstance) ([]core.RunProviderRun, bool) { runs = append(runs, core.RunProviderRun{ ProjectPath: path.Clean(path.Join(instance.Root, project.Path)), Name: run.EntryName(target.Name), - Reference: core.RunProviderReference{ + Reference: &core.RunProviderReference{ PluginID: instance.PluginID, BuildSystemID: instance.BuildSystemID, Root: instance.Root, Run: run.ID, ProjectID: project.ID, TargetID: target.ID, Execution: run.Execution, UserArguments: []string{}, }, }) } } + for _, entry := range instance.Model.Run { + if entry.RunType == nil { + continue + } + cwd := entry.WorkingDirectory + if cwd == "" { + cwd = instance.Root + } + cwd = path.Clean(cwd) + projectPath := cwd + if project, ok := buildProjectByID(instance.Model, entry.BuildSystem.ProjectID); ok && project.Path != "" { + candidate := path.Clean(project.Path) + if cwd == "." || candidate == cwd || strings.HasPrefix(candidate, cwd+"/") { + projectPath = candidate + } else { + projectPath = path.Clean(path.Join(instance.Root, candidate)) + } + } + runType := *entry.RunType + runs = append(runs, core.RunProviderRun{ + ProjectPath: projectPath, + Name: entry.Name, + CWD: cwd, + Execution: entry.Execution, + Selector: entry.ID, + RunType: &runType, + }) + } } return runs, loaded } +// generatedRunTypeConfigurationID finds the resolved generated `build.run-type` +// configuration corresponding to a decoded BuildRunEntry. +func (p *project) generatedRunTypeConfigurationID(entry core.BuildRunEntry) (string, bool) { + if entry.RunType == nil { + return "", false + } + wantKey := core.RunTypeKey{ + PluginID: entry.RunType.PluginID, + BuildSystemID: entry.RunType.BuildSystemID, + Type: entry.RunType.Type, + } + wantJSON, _ := json.Marshal(entry.RunType) + fallback := "" + for index := range p.runConfigs.list { + cfg := &p.runConfigs.list[index] + if !strings.HasPrefix(cfg.ID, "generated:run-type:") { + continue + } + key, ok := cfg.RunTypeReference() + if !ok || key != wantKey { + continue + } + if cfg.Cwd == entry.WorkingDirectory { + var ref core.RunTypeReference + if json.Unmarshal(cfg.Extensions["build"], &ref) == nil { + gotJSON, _ := json.Marshal(&ref) + if string(gotJSON) == string(wantJSON) { + return cfg.ID, true + } + } + } + if fallback == "" && (cfg.Name == entry.Name || cfg.Name == entry.Name+" ("+entry.WorkingDirectory+")") { + fallback = cfg.ID + } + } + return fallback, fallback != "" +} + // refreshRunConfigurations has Core generate the runs the loaded models declare and // resolve the configurations again. Nothing is written into the workspace. It runs // without any loaded model too, so built-in process runs list and start while no diff --git a/desktop/internal/workbench/runconfig_test.go b/desktop/internal/workbench/runconfig_test.go index b61643704a..ae4e0bf1cc 100644 --- a/desktop/internal/workbench/runconfig_test.go +++ b/desktop/internal/workbench/runconfig_test.go @@ -100,3 +100,77 @@ func TestRunConfigurationRunsWithItsSavedChoices(t *testing.T) { t.Fatalf("run request = %+v options = %+v", request, options) } } + +// A model run entry targeting a declared runConfigurationType becomes a generated +// `build.run-type` snapshot entry and lands in the exact same Run/Debug Configurations +// dialog group as a user-created configuration of that kind. +func TestGeneratedRunTypeSharesDialogGroupWithUserConfiguration(t *testing.T) { + ref := &core.RunTypeReference{ + PluginID: "dev.example.tasker", + BuildSystemID: "tasker", + Type: "target", + Values: map[string]json.RawMessage{"targets": json.RawMessage(`["build"]`)}, + } + instance := buildInstance{ + BuildInstance: core.BuildInstance{ID: "tasker@sub", PluginID: "dev.example.tasker", BuildSystemID: "tasker", Root: "sub"}, + PluginID: "dev.example.tasker", + Model: core.BuildModel{ + Projects: []core.BuildProject{{ID: "sub", Path: "sub", Name: "sub"}}, + Run: []core.BuildRunEntry{{ + ID: "tasker.target:sub:build", + Name: "build", + Provider: core.RunTypeProvider, + Execution: "task", + WorkingDirectory: "sub", + BuildSystem: core.BuildRunEntryBinding{ProjectID: "sub", TargetID: "sub:build"}, + RunType: ref, + }}, + }, + modelLoaded: true, + } + runs, loaded := providerRuns([]buildInstance{instance}) + if !loaded || len(runs) != 1 || runs[0].Reference != nil || runs[0].RunType == nil || + runs[0].ProjectPath != "sub" || runs[0].CWD != "sub" || runs[0].Selector != "tasker.target:sub:build" { + t.Fatalf("runs = %+v loaded = %v", runs, loaded) + } + + key := core.RunTypeKey{PluginID: "dev.example.tasker", BuildSystemID: "tasker", Type: "target"} + ext, err := json.Marshal(ref) + if err != nil { + t.Fatal(err) + } + app := &App{} + p := &project{} + p.runConfigs.types = []core.RunConfigurationType{{ + Provider: core.RunTypeProvider, + RunType: &key, + DisplayName: "Tasker Target", + Execution: "task", + }} + p.runConfigs.list = []core.RunConfiguration{ + { + ID: "generated:run-type:0123456789abcdef", + Name: "build", + Provider: core.RunTypeProvider, + Execution: "task", + Cwd: "sub", + Extensions: map[string]json.RawMessage{"build": ext}, + }, + { + ID: "user:custom-build", + Name: "Custom Build", + Provider: core.RunTypeProvider, + Execution: "task", + Cwd: "sub", + Extensions: map[string]json.RawMessage{"build": ext}, + }, + } + p.collectRunConfigDialogRows(app) + if len(p.runConfigs.dialog.groups) != 1 { + t.Fatalf("dialog groups = %+v, want 1 unified group", p.runConfigs.dialog.groups) + } + group := p.runConfigs.dialog.groups[0] + if group.title != "Tasker Target" || len(group.keys) != 2 { + t.Fatalf("group = %+v, want title Tasker Target with 2 entries", group) + } +} diff --git a/shared/platform-feature-matrix/features/run-plugin-declared-types.json b/shared/platform-feature-matrix/features/run-plugin-declared-types.json index 95aaa3f6a2..512381c3d4 100644 --- a/shared/platform-feature-matrix/features/run-plugin-declared-types.json +++ b/shared/platform-feature-matrix/features/run-plugin-declared-types.json @@ -4,8 +4,8 @@ "group": "运行配置", "capability": "插件为自己的构建系统声明运行配置类型:运行/调试配置对话框的“+”菜单在内置类型之后列出这些类型(每类一行,说明放在名称后的 ⓘ 里),类型图标可以是插件包里的 SVG(浅色和深色各一份),编辑器显示插件声明的字段(文本、选择、复选框、文件、目录、实参)和插件翻译的文字;保存后与内置运行一样从标题栏、运行配置列表和对话框启动", "owner": "Run", - "notes": "Viva 共享实现。类型由插件清单 buildSystems[].runConfigurationTypes 声明(契约 runConfigurationTypes 0,API-29),Core 的 runConfig.configurationTypes、editorForm、saveConfiguration 和 build.runConfigurationPlan 负责列出、表单、校验保存和计划命令,宿主只读取 Core 指定的插件翻译文件(安装包只读)并绘制、启动。配置写在 .lithe/run/plugin/<插件 ID>.toml(存为项目文件时)或本机层,provider 为 build.run-type。检测到该构建系统后才能启动,未检测到时标题栏显示缺少实例、启动被拒绝;插件被停用或卸载时配置仍列出但不可编辑。插件声明的类型没有调试器,调试启动被拒绝。插件包图标在后台线程从只读安装目录读取并编译成矢量图标,用在“+”菜单、配置树和标题栏的运行配置列表;读不到、过大或不是允许的 SVG 时记一条 plugin_icon 失败日志并退回按执行类别的宿主图标。不提供远程运行类型。", - "verification": "安装一个声明了运行配置类型的插件,打开含该构建系统标记的项目;打开“运行/调试配置”,点“+”,确认插件类型列在内置类型之后,显示插件的名称和包里的图标(深色外观用 -dark 文件),说明只在鼠标停在名称后的 ⓘ 上时显示;新建一个,确认表单显示插件字段,中文界面显示插件的中文翻译,选择字段的选项也被翻译,必填字段留空时保存报错;填写后点“运行”,确认 Run 窗口显示插件工具的输出、参数按插件模板拼出;勾选“存为项目文件”时文件写入 .lithe/run/plugin/。删掉项目里的构建系统标记后重新打开,确认配置仍列出但不能启动。自动化:runconfig_types_test.go 的 TestPluginDeclaredRunKindIsCreatedSavedAndRun、TestPluginDeclaredRunStartsSeveralInstances、TestPluginDeclaredRunWithoutItsBuildSystemDoesNotStart、TestRunConfigKindMenuShowsDescriptionsBehindInfo、TestRunConfigKindDrawsItsPackageIcon、TestRunConfigKindWithARefusedIconKeepsItsFallback;Viva 无头截图由 runconfig_types_visual_test.go 的 TestVisualPluginDeclaredRuns 生成(深色中文、浅色英文:“+”菜单、表单、启动前“添加新任务”菜单、启动前任务表单、两个实例),截图在 docs/assets/plugin-declared-runs/。", + "notes": "Viva 共享实现。类型由插件清单 buildSystems[].runConfigurationTypes 声明(契约 runConfigurationTypes 0,API-29),Core 的 runConfig.configurationTypes、editorForm、saveConfiguration 和 build.runConfigurationPlan 负责列出、表单、校验保存和计划命令,宿主只读取 Core 指定的插件翻译文件(安装包只读)并绘制、启动。buildSystems[].run[] 也可通过 configurationType 和 values 把模型发现的目标物化为同一声明类型的自动生成配置(generated:run-type:*),与用户手动新建配置共用分组、图标、编辑器表单和 build.runConfigurationPlan 启动流程,并可在构建树目标上直接运行。配置写在 .lithe/run/plugin/<插件 ID>.toml(存为项目文件时)或本机层,provider 为 build.run-type。检测到该构建系统后才能启动,未检测到时标题栏显示缺少实例、启动被拒绝;插件被停用或卸载时配置仍列出但不可编辑。插件声明的类型没有调试器,调试启动被拒绝。插件包图标在后台线程从只读安装目录读取并编译成矢量图标,用在“+”菜单、配置树和标题栏的运行配置列表;读不到、过大或不是允许的 SVG 时记一条 plugin_icon 失败日志并退回按执行类别的宿主图标。不提供远程运行类型。", + "verification": "安装一个声明了运行配置类型的插件,打开含该构建系统标记的项目;打开“运行/调试配置”,点“+”,确认插件类型列在内置类型之后,显示插件的名称和包里的图标(深色外观用 -dark 文件),说明只在鼠标停在名称后的 ⓘ 上时显示;新建一个,确认表单显示插件字段,中文界面显示插件的中文翻译,选择字段的选项也被翻译,必填字段留空时保存报错;填写后点“运行”,确认 Run 窗口显示插件工具的输出、参数按插件模板拼出;勾选“存为项目文件”时文件写入 .lithe/run/plugin/。对于通过 buildSystems[].run[].configurationType 生成配置的插件,确认自动发现的目标与用户新建的同类型配置归入同一分组、共用图标和表单、支持编辑覆盖和复制,且不会拆出额外的通用构建分组。删掉项目里的构建系统标记后重新打开,确认配置仍列出但不能启动。自动化:runconfig_types_test.go 的 TestPluginDeclaredRunKindIsCreatedSavedAndRun、TestPluginDeclaredRunStartsSeveralInstances、TestPluginDeclaredRunWithoutItsBuildSystemDoesNotStart、TestRunConfigKindMenuShowsDescriptionsBehindInfo、TestRunConfigKindDrawsItsPackageIcon、TestRunConfigKindWithARefusedIconKeepsItsFallback,core/run_config_test.go 的 TestGeneratedRunTypeSnapshotResolvesAsDeclaredKind,以及 workbench/runconfig_test.go 的 TestGeneratedRunTypeSharesDialogGroupWithUserConfiguration;Viva 无头截图由 runconfig_types_visual_test.go 的 TestVisualPluginDeclaredRuns 生成(深色中文、浅色英文:“+”菜单、表单、启动前“添加新任务”菜单、启动前任务表单、两个实例),截图在 docs/assets/plugin-declared-runs/。", "macos": { "implementationStatus": "implemented", "verificationStatus": "pending", @@ -16,10 +16,15 @@ "desktop/internal/workbench/runconfig_dialog.go", "desktop/internal/workbench/runconfig_dialog_view.go", "desktop/internal/workbench/runconfig.go", + "desktop/internal/workbench/build.go", + "desktop/internal/core/run_config.go", "desktop/internal/core/run_process.go", "desktop/internal/core/build.go", + "desktop/internal/pluginhost/pluginhost.go", "desktop/internal/pluginicons/pluginicons.go", "desktop/internal/pluginpkg/read.go", + "desktop/internal/core/run_config_test.go", + "desktop/internal/workbench/runconfig_test.go", "desktop/internal/workbench/runconfig_types_test.go", "desktop/internal/workbench/runconfig_types_visual_test.go" ] @@ -34,10 +39,15 @@ "desktop/internal/workbench/runconfig_dialog.go", "desktop/internal/workbench/runconfig_dialog_view.go", "desktop/internal/workbench/runconfig.go", + "desktop/internal/workbench/build.go", + "desktop/internal/core/run_config.go", "desktop/internal/core/run_process.go", "desktop/internal/core/build.go", + "desktop/internal/pluginhost/pluginhost.go", "desktop/internal/pluginicons/pluginicons.go", "desktop/internal/pluginpkg/read.go", + "desktop/internal/core/run_config_test.go", + "desktop/internal/workbench/runconfig_test.go", "desktop/internal/workbench/runconfig_types_test.go", "desktop/internal/workbench/runconfig_types_visual_test.go" ]