init
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
# Domain SDK
|
||||
|
||||
领域插件唯一允许依赖的中央接口。后续在此提供稳定 Protocol 和生成的契约模型:
|
||||
|
||||
```text
|
||||
DomainPlugin
|
||||
├── generate(intent, generation_context) -> FunctionConfig
|
||||
├── validate(config, validation_context) -> list[ValidationIssue]
|
||||
├── compile(config, compile_context) -> CommandPlan
|
||||
└── decode_telemetry(frames, telemetry_context) -> DomainState
|
||||
```
|
||||
|
||||
接口只传递不可变上下文和契约对象。SDK major 版本变化必须提供领域迁移说明和全量契约测试。
|
||||
|
||||
Reference in New Issue
Block a user