blob: 0170fa7a69dabc9642c0c4a26cf2f8a81ab51db1 [file] [view]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# maka-plugin-core
[English](README.md)
定义包声明、契约、组合以及共用的插件生命周期。`plan` 校验所选入口和绑定,`runtime` 管理注册与退役。Host 和 UI 使用同一内核,注入不同的执行后端。
内核不包含 Agent 业务策略或原生布局语言。绑定负责为导入选择符合契约的导出;调用到达后,接收方 Host 仍需检查权限。
组合展开、转发和依赖校验采用迭代遍历并检测实际循环。有限覆盖能终止展开时,模板可以重复使用同一包;绑定数量遵循导入契约的声明。实例身份保留每个非零源 UUID。
[源码](src/lib.rs) · [Cargo 配置](Cargo.toml)