feat: provide v2 Plugin Component contracts and offline validation
Validate exact Component interfaces and static Tool/DCDL schemas without guest execution. Share canonical archive packing and independent package/artifact verification; build real pure and HTTPS PDK fixtures and retire v1/Service authoring stubs.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package yoi:plugin@1.0.0;
|
||||
|
||||
world tool {
|
||||
import yoi:host/request@1.0.0;
|
||||
import yoi:host/websocket@1.0.0;
|
||||
import yoi:host/fs@1.0.0;
|
||||
|
||||
/// Execute a manifest-declared Tool. `input-json` is ordinary Tool input JSON
|
||||
/// and the returned string is ToolOutput JSON accepted by the current
|
||||
/// Component Model Plugin runtime.
|
||||
export call: func(tool-name: string, input-json: string) -> string;
|
||||
}
|
||||
Reference in New Issue
Block a user