载入中...
搜索中...
未找到
EditorMcpProjector.cpp
浏览该文件的文档.
45 eve::cap::forEach<editing::IEditorPackageProvider>([&](editing::IEditorPackageProvider* provider) {
56 eve::cap::forEach<editing::IEditorPackageProvider>([&](editing::IEditorPackageProvider* provider) {
60 for (const editing::EditorTargetTypeSpec& target : package.targetTypes) packagedTypes.insert(target.type);
71 std::sort(orphans.begin(), orphans.end(), [](const EditorValue& left, const EditorValue& right) {
Capability-discovered package advertisement from a domain editor module.
Definition EditorPackage.h:64
Deterministic owning value tree shared by authoring hosts.
Definition EditingValue.h:23
Composition runtime that discovers EditorPackage providers and installs them.
Definition EditorHost.h:53
std::vector< std::string > mountedOwnerNames() const
Mounted package owner names. @cost Linear in mounted package count; returns an owning vector copy.
Definition EditorHost.cpp:101
std::vector< std::string > mountedTargetTypeNames() const
Target types contributed by mounted packages. @cost Linear in mounted target types; returns a sorted ...
Definition EditorHost.cpp:109
Host-scoped MCP projection over IEditorAutomation discovery.
Definition EditorMcpProjector.h:27
Result< EditorValue > auditCompleteness() const
Audit incomplete packages and orphan automation factories.
Definition EditorMcpProjector.cpp:43
std::unordered_set< std::string > mountedOwners() const
Mounted owner allowlist, empty when detached (no filter). @cost Linear in mounted package count; retu...
Definition EditorMcpProjector.cpp:29
Result< void > attach(EditorHost *host, EditorMcpExportMode mode=EditorMcpExportMode::Commands)
Attach a borrowed host as the active MCP projection scope.
Definition EditorMcpProjector.cpp:18
std::unordered_set< std::string > mountedTargetTypes() const
Mounted target type allowlist, empty when detached (no filter). @cost Linear in mounted target types;...
Definition EditorMcpProjector.cpp:36
const std::string & getId() const
Stable project-defined workspace id.
Definition EditorWorkspace.h:49
Multi-provider extension point for domain-specific automation target creation.
Definition EditorAutomationTargetFactory.h:22
virtual std::vector< std::string_view > types() const =0
Stable target type names this factory accepts.
Definition ActionPreviewController.cpp:6
EditorMcpProjector & editorMcpProjector()
Process-wide projector used by EditorAutomationProvider and eve.mcp.attachEditor.
Definition EditorMcpProjector.cpp:13
eve::editing::Value EditorValue
Compatibility alias for the UI-independent authoring value tree.
Definition EditorValue.h:8
@ Commands
Mode A: keep eve_editor_* with schema enrichment (default).
Single domain-editor deliverable for Host discover/autoMount.
Definition EditorPackage.h:46
Target type advertised for automation create, with optional createSchema.
Definition EditorPackage.h:26