Documentation
¶
Index ¶
- type AuditLog
- type ConfigProfile
- type CronJob
- type CronJobHistory
- type EscrowDeal
- type ExternalRef
- type Inquiry
- type Key
- type Knowledge
- type Learning
- type Message
- type Observation
- type PaymentTx
- type PeerReputation
- type Reflection
- type Secret
- type Session
- type TokenUsage
- type ToolCall
- type WorkflowRun
- type WorkflowStepRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLog ¶
AuditLog holds the schema definition for the AuditLog entity. AuditLog stores security audit trail for tool calls, knowledge saves, etc.
type ConfigProfile ¶
ConfigProfile holds the schema definition for the ConfigProfile entity. ConfigProfiles store encrypted application configuration for different environments.
func (ConfigProfile) Fields ¶
func (ConfigProfile) Fields() []ent.Field
Fields of the ConfigProfile.
func (ConfigProfile) Indexes ¶
func (ConfigProfile) Indexes() []ent.Index
Indexes of the ConfigProfile.
type CronJobHistory ¶
CronJobHistory holds the schema definition for a cron job execution record.
func (CronJobHistory) Fields ¶
func (CronJobHistory) Fields() []ent.Field
Fields of the CronJobHistory.
func (CronJobHistory) Indexes ¶
func (CronJobHistory) Indexes() []ent.Index
Indexes of the CronJobHistory.
type EscrowDeal ¶ added in v0.5.0
EscrowDeal holds the schema definition for the EscrowDeal entity. EscrowDeal records escrow agreements between peers with on-chain tracking.
func (EscrowDeal) Edges ¶ added in v0.5.0
func (EscrowDeal) Edges() []ent.Edge
Edges of the EscrowDeal.
func (EscrowDeal) Fields ¶ added in v0.5.0
func (EscrowDeal) Fields() []ent.Field
Fields of the EscrowDeal.
func (EscrowDeal) Indexes ¶ added in v0.5.0
func (EscrowDeal) Indexes() []ent.Index
Indexes of the EscrowDeal.
type ExternalRef ¶
ExternalRef holds the schema definition for the ExternalRef entity. ExternalRef stores references to external knowledge sources.
type Inquiry ¶
Inquiry holds the schema definition for the Inquiry entity. Inquiry stores proactive knowledge questions to ask the user.
type Key ¶
Key holds the schema definition for the Key entity. Keys are used for encryption/signing operations.
type Knowledge ¶
Knowledge holds the schema definition for the Knowledge entity. Knowledge stores user rules, definitions, preferences, and facts.
type Learning ¶
Learning holds the schema definition for the Learning entity. Learning stores agent learnings from error patterns and fixes.
type Observation ¶
Observation holds the schema definition for the Observation entity. Observation stores raw conversation observations for memory processing.
type PaymentTx ¶
PaymentTx holds the schema definition for the PaymentTx entity. PaymentTx records blockchain payment transactions for audit and tracking.
type PeerReputation ¶
PeerReputation holds the schema definition for tracking peer trust scores.
func (PeerReputation) Fields ¶
func (PeerReputation) Fields() []ent.Field
Fields of the PeerReputation.
func (PeerReputation) Indexes ¶
func (PeerReputation) Indexes() []ent.Index
Indexes of the PeerReputation.
type Reflection ¶
Reflection holds the schema definition for the Reflection entity. Reflection stores distilled insights from observations.
type Secret ¶
Secret holds the schema definition for the Secret entity. Secrets store encrypted values that can be retrieved by AI agents.
type TokenUsage ¶ added in v0.5.0
TokenUsage holds the schema definition for the TokenUsage entity. TokenUsage stores per-request token usage and estimated cost.
func (TokenUsage) Edges ¶ added in v0.5.0
func (TokenUsage) Edges() []ent.Edge
Edges of the TokenUsage.
func (TokenUsage) Fields ¶ added in v0.5.0
func (TokenUsage) Fields() []ent.Field
Fields of the TokenUsage.
func (TokenUsage) Indexes ¶ added in v0.5.0
func (TokenUsage) Indexes() []ent.Index
Indexes of the TokenUsage.
type ToolCall ¶
type ToolCall struct {
ID string `json:"id"`
Name string `json:"name"`
Input string `json:"input"`
Output string `json:"output,omitempty"`
Thought bool `json:"thought,omitempty"`
ThoughtSignature []byte `json:"thoughtSignature,omitempty"`
}
ToolCall represents a tool invocation (embedded in Message)
type WorkflowRun ¶
WorkflowRun holds the schema definition for a workflow execution instance.
type WorkflowStepRun ¶
WorkflowStepRun holds the schema definition for a single step execution within a workflow run.
func (WorkflowStepRun) Edges ¶
func (WorkflowStepRun) Edges() []ent.Edge
Edges of the WorkflowStepRun.
func (WorkflowStepRun) Fields ¶
func (WorkflowStepRun) Fields() []ent.Field
Fields of the WorkflowStepRun.
func (WorkflowStepRun) Indexes ¶
func (WorkflowStepRun) Indexes() []ent.Index
Indexes of the WorkflowStepRun.