Export template source from 6d74321c80d2bac254e22a4cc330d6193e1da6c6:quixos-instance/interfaces/agent-thread

This commit is contained in:
Quixos Template Publisher
2000-01-01 00:00:00 +00:00
commit f65ab391ff
3 changed files with 36 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"monorepoCommit": "6d74321c80d2bac254e22a4cc330d6193e1da6c6",
"sourcePath": "quixos-instance/interfaces/agent-thread"
}
+28
View File
@@ -0,0 +1,28 @@
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 AgentContextSubject;
type AgentSubmission = record {text:string;data:optional<string>;profile:optional<string>;response:optional<string>;sourceKind:string;sourceLabel:string;publication:optional<string>;createdAt:string;contexts:list<interface-ref<AgentContextSubject>>;related:optional<atom-ref<AgentRequestObject>>;retryOf:optional<atom-ref<AgentRequestObject>>;root:optional<atom-ref<AgentRequestObject>>;causalDepth:uint32;};
type ThreadData = record {title:string;kind:string;archived:bool;sequence:uint64;pending:uint32;nextItem:uint64;updatedAt:string;};
interface AgentThread id "interface:org.quixos.agent:thread" revision "interface:org.quixos.agent:thread@1" {
queryable value data id "agent:thread:data" : ThreadData {get id "agent:thread:data:get" execution snapshot;}
queryable relation agent id "agent:thread:agent" : exactly-one atom AgentObject {resolve id "agent:thread:agent:resolve" execution snapshot;}
queryable relation directory id "agent:thread:directory" : exactly-one atom AgentDirectoryObject {resolve id "agent:thread:directory:resolve" execution snapshot;}
queryable relation active id "agent:thread:active" : optional-one atom AgentRequestObject {resolve id "agent:thread:active:resolve" execution snapshot;}
queryable relation requests id "agent:thread:requests" : many-unique atom AgentRequestObject {resolve id "agent:thread:requests:resolve" execution snapshot;}
queryable relation items id "agent:thread:items" : many-unique atom AgentItemObject {resolve id "agent:thread:items:resolve" execution snapshot;}
queryable relation contexts id "agent:thread:contexts" : many-unique interface AgentContextSubject {resolve id "agent:thread:contexts:resolve" execution snapshot;}
operation send id "agent:thread:send" : AgentSubmission -> atom-ref<AgentRequestObject> {call id "agent:thread:send:call" execution transaction;}
operation rename id "agent:thread:rename" : string -> unit {call id "agent:thread:rename:call" execution transaction;}
operation archive id "agent:thread:archive" : bool -> unit {call id "agent:thread:archive:call" execution transaction;}
operation activate id "agent:thread:activate" : atom-ref<AgentRequestObject> -> bool {call id "agent:thread:activate:call" execution transaction;}
operation release id "agent:thread:release" : atom-ref<AgentRequestObject> -> unit {call id "agent:thread:release:call" execution transaction;}
operation adjustPending id "agent:thread:adjust-pending" : record {delta:int32;updatedAt:string;} -> uint64 {call id "agent:thread:adjust-pending:call" execution transaction;}
operation allocateItem id "agent:thread:allocate-item" : string -> uint64 {call id "agent:thread:allocate-item:call" execution transaction;}
}
+4
View File
@@ -0,0 +1,4 @@
quixos-lock version 1 {
quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "6d74321c80d2bac254e22a4cc330d6193e1da6c6"; }
interface AgentContextSubject source { repository "https://repos.quixos.org/quixos-studio/interface-agent-context-subject.git"; commit "0a1dd60f7457856bcfa6c8cf580e516d69d59ee7"; }
}