commit 8e62f4ae654b4350cf4cb71d183b1b77cfe63db4 Author: Quixos Template Publisher Date: Sat Jan 1 00:00:00 2000 +0000 Export template source from 6474fe2323dd3e4aae2e5c53c490f9b5d92f4f3c:quixos-instance/interfaces/agent-item diff --git a/.quixos-template-source.json b/.quixos-template-source.json new file mode 100644 index 0000000..bddb68d --- /dev/null +++ b/.quixos-template-source.json @@ -0,0 +1,4 @@ +{ + "monorepoCommit": "6474fe2323dd3e4aae2e5c53c490f9b5d92f4f3c", + "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..98b5d73 --- /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 "6474fe2323dd3e4aae2e5c53c490f9b5d92f4f3c"; } + 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"; } +}