2026-09-20 20:20:47 -07:00
|
|
|
external atom Document id "async:document";
|
|
|
|
|
import interface DocumentData;
|
|
|
|
|
import interface Summarizer;
|
|
|
|
|
package ControllerRuntime id "async:controller-runtime" revision "async:controller-runtime@1" {
|
2026-09-20 20:58:01 -07:00
|
|
|
function echo id "async:controller:echo" : string -> string execution snapshot targets [server];
|
2026-09-20 20:20:47 -07:00
|
|
|
operation refresh id "async:controller:refresh" : record { operationId: string; } -> string
|
|
|
|
|
mode call execution remote receiver atom Document requires {
|
|
|
|
|
interface document id "async:controller:document" : DocumentData using [content.get, summary.set];
|
|
|
|
|
interface provider id "async:controller:provider" : Summarizer using [summarize.call];
|
|
|
|
|
};
|
|
|
|
|
}
|