schema

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLog

type AuditLog struct {
	ent.Schema
}

AuditLog holds the schema definition for the AuditLog entity. AuditLog stores security audit trail for tool calls, knowledge saves, etc.

func (AuditLog) Edges

func (AuditLog) Edges() []ent.Edge

Edges of the AuditLog.

func (AuditLog) Fields

func (AuditLog) Fields() []ent.Field

Fields of the AuditLog.

func (AuditLog) Indexes

func (AuditLog) Indexes() []ent.Index

Indexes of the AuditLog.

type ConfigProfile

type ConfigProfile struct {
	ent.Schema
}

ConfigProfile holds the schema definition for the ConfigProfile entity. ConfigProfiles store encrypted application configuration for different environments.

func (ConfigProfile) Edges

func (ConfigProfile) Edges() []ent.Edge

Edges of the ConfigProfile.

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 CronJob

type CronJob struct {
	ent.Schema
}

CronJob holds the schema definition for a scheduled cron job.

func (CronJob) Edges

func (CronJob) Edges() []ent.Edge

Edges of the CronJob.

func (CronJob) Fields

func (CronJob) Fields() []ent.Field

Fields of the CronJob.

func (CronJob) Indexes

func (CronJob) Indexes() []ent.Index

Indexes of the CronJob.

type CronJobHistory

type CronJobHistory struct {
	ent.Schema
}

CronJobHistory holds the schema definition for a cron job execution record.

func (CronJobHistory) Edges

func (CronJobHistory) Edges() []ent.Edge

Edges of the CronJobHistory.

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

type EscrowDeal struct {
	ent.Schema
}

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

type ExternalRef struct {
	ent.Schema
}

ExternalRef holds the schema definition for the ExternalRef entity. ExternalRef stores references to external knowledge sources.

func (ExternalRef) Edges

func (ExternalRef) Edges() []ent.Edge

Edges of the ExternalRef.

func (ExternalRef) Fields

func (ExternalRef) Fields() []ent.Field

Fields of the ExternalRef.

func (ExternalRef) Indexes

func (ExternalRef) Indexes() []ent.Index

Indexes of the ExternalRef.

type Inquiry

type Inquiry struct {
	ent.Schema
}

Inquiry holds the schema definition for the Inquiry entity. Inquiry stores proactive knowledge questions to ask the user.

func (Inquiry) Edges

func (Inquiry) Edges() []ent.Edge

Edges of the Inquiry.

func (Inquiry) Fields

func (Inquiry) Fields() []ent.Field

Fields of the Inquiry.

func (Inquiry) Indexes

func (Inquiry) Indexes() []ent.Index

Indexes of the Inquiry.

type Key

type Key struct {
	ent.Schema
}

Key holds the schema definition for the Key entity. Keys are used for encryption/signing operations.

func (Key) Edges

func (Key) Edges() []ent.Edge

Edges of the Key.

func (Key) Fields

func (Key) Fields() []ent.Field

Fields of the Key.

func (Key) Indexes

func (Key) Indexes() []ent.Index

Indexes of the Key.

type Knowledge

type Knowledge struct {
	ent.Schema
}

Knowledge holds the schema definition for the Knowledge entity. Knowledge stores user rules, definitions, preferences, and facts.

func (Knowledge) Edges

func (Knowledge) Edges() []ent.Edge

Edges of the Knowledge.

func (Knowledge) Fields

func (Knowledge) Fields() []ent.Field

Fields of the Knowledge.

func (Knowledge) Indexes

func (Knowledge) Indexes() []ent.Index

Indexes of the Knowledge.

type Learning

type Learning struct {
	ent.Schema
}

Learning holds the schema definition for the Learning entity. Learning stores agent learnings from error patterns and fixes.

func (Learning) Edges

func (Learning) Edges() []ent.Edge

Edges of the Learning.

func (Learning) Fields

func (Learning) Fields() []ent.Field

Fields of the Learning.

func (Learning) Indexes

func (Learning) Indexes() []ent.Index

Indexes of the Learning.

type Message

type Message struct {
	ent.Schema
}

Message holds the schema definition for the Message entity.

func (Message) Edges

func (Message) Edges() []ent.Edge

Edges of the Message.

func (Message) Fields

func (Message) Fields() []ent.Field

Fields of the Message.

type Observation

type Observation struct {
	ent.Schema
}

Observation holds the schema definition for the Observation entity. Observation stores raw conversation observations for memory processing.

func (Observation) Edges

func (Observation) Edges() []ent.Edge

Edges of the Observation.

func (Observation) Fields

func (Observation) Fields() []ent.Field

Fields of the Observation.

func (Observation) Indexes

func (Observation) Indexes() []ent.Index

Indexes of the Observation.

type PaymentTx

type PaymentTx struct {
	ent.Schema
}

PaymentTx holds the schema definition for the PaymentTx entity. PaymentTx records blockchain payment transactions for audit and tracking.

func (PaymentTx) Edges

func (PaymentTx) Edges() []ent.Edge

Edges of the PaymentTx.

func (PaymentTx) Fields

func (PaymentTx) Fields() []ent.Field

Fields of the PaymentTx.

func (PaymentTx) Indexes

func (PaymentTx) Indexes() []ent.Index

Indexes of the PaymentTx.

type PeerReputation

type PeerReputation struct {
	ent.Schema
}

PeerReputation holds the schema definition for tracking peer trust scores.

func (PeerReputation) Edges

func (PeerReputation) Edges() []ent.Edge

Edges of the PeerReputation.

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

type Reflection struct {
	ent.Schema
}

Reflection holds the schema definition for the Reflection entity. Reflection stores distilled insights from observations.

func (Reflection) Edges

func (Reflection) Edges() []ent.Edge

Edges of the Reflection.

func (Reflection) Fields

func (Reflection) Fields() []ent.Field

Fields of the Reflection.

func (Reflection) Indexes

func (Reflection) Indexes() []ent.Index

Indexes of the Reflection.

type Secret

type Secret struct {
	ent.Schema
}

Secret holds the schema definition for the Secret entity. Secrets store encrypted values that can be retrieved by AI agents.

func (Secret) Edges

func (Secret) Edges() []ent.Edge

Edges of the Secret.

func (Secret) Fields

func (Secret) Fields() []ent.Field

Fields of the Secret.

func (Secret) Indexes

func (Secret) Indexes() []ent.Index

Indexes of the Secret.

type Session

type Session struct {
	ent.Schema
}

Session holds the schema definition for the Session entity.

func (Session) Edges

func (Session) Edges() []ent.Edge

Edges of the Session.

func (Session) Fields

func (Session) Fields() []ent.Field

Fields of the Session.

func (Session) Indexes

func (Session) Indexes() []ent.Index

Indexes of the Session.

type TokenUsage added in v0.5.0

type TokenUsage struct {
	ent.Schema
}

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

type WorkflowRun struct {
	ent.Schema
}

WorkflowRun holds the schema definition for a workflow execution instance.

func (WorkflowRun) Edges

func (WorkflowRun) Edges() []ent.Edge

Edges of the WorkflowRun.

func (WorkflowRun) Fields

func (WorkflowRun) Fields() []ent.Field

Fields of the WorkflowRun.

func (WorkflowRun) Indexes

func (WorkflowRun) Indexes() []ent.Index

Indexes of the WorkflowRun.

type WorkflowStepRun

type WorkflowStepRun struct {
	ent.Schema
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL