commit 26bb8522273e0fe0388d3be20c54df5e9bf4dae1 Author: Quixos Template Publisher Date: Sat Jan 1 00:00:00 2000 +0000 Export template source from f1c140ecd210380379504ebef4d19e7ccc5a9087:quixos-instance/interfaces/agent-item diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..4f09795 --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "f1c140ecd210380379504ebef4d19e7ccc5a9087", + "sourcePath": "quixos-instance/interfaces/agent-item" +} diff --git a/interface.qx b/interface.qx new file mode 100644 index 0000000..1ce6e56 --- /dev/null +++ b/interface.qx @@ -0,0 +1,20 @@ +external atom AgentDirectoryObject id "atom:org.quixos.agent:directory"; +external atom AgentObject id "atom:org.quixos.agent:agent"; +external atom AgentThreadObject id "atom:org.quixos.agent:thread"; +external atom AgentRequestObject id "atom:org.quixos.agent:request"; +external atom AgentItemObject id "atom:org.quixos.agent:item"; +external atom AgentQuestionObject id "atom:org.quixos.agent:question"; +external atom AgentCompletionStreamObject id "atom:org.quixos.agent:completion-stream"; + +import interface WebStudioPresentable; +import interface PresentationMount; +type ItemData = record {key:string;kind:string;text:string;phase:string;activity:optional;presentation:optional;sequence:uint64;version:uint64;createdAt:string;updatedAt:string;control:optional;}; +interface AgentItem id "interface:org.quixos.agent:item" revision "interface:org.quixos.agent:item@1" { + queryable value data id "agent:item:data" : ItemData {get id "agent:item:data:get" execution snapshot;} + queryable relation request id "agent:item:request" : exactly-one atom AgentRequestObject {resolve id "agent:item:request:resolve" execution snapshot;} + queryable relation thread id "agent:item:thread" : exactly-one atom AgentThreadObject {resolve id "agent:item:thread:resolve" execution snapshot;} + queryable relation subject id "agent:item:subject" : optional-one interface WebStudioPresentable {resolve id "agent:item:subject:resolve" execution snapshot;} + queryable relation presentationMount id "agent:item:presentation-mount" : optional-one interface PresentationMount {resolve id "agent:item:presentation-mount:resolve" execution snapshot;} + operation checkpoint id "agent:item:checkpoint" : record {attempt:string;generation:uint32;data:ItemData;} -> unit {call id "agent:item:checkpoint:call" execution transaction;} +} + diff --git a/quixos.lock b/quixos.lock new file mode 100644 index 0000000..37eda8e --- /dev/null +++ b/quixos.lock @@ -0,0 +1,5 @@ +quixos-lock version 1 { + quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "f1c140ecd210380379504ebef4d19e7ccc5a9087"; } + interface WebStudioPresentable source { repository "https://repos.quixos.org/quixos-studio/interface-web-studio-presentable.git"; commit "f7b38219572810912fad596c7e4a33903209f71b"; } + interface PresentationMount source { repository "https://repos.quixos.org/quixos-studio/interface-presentation-mount.git"; commit "30566340643355d8509bf116c2c3d91f09173d98"; } +}