Documentation
¶
Index ¶
- type ActionLog
- type AgentMemory
- type AuditLog
- type ConfigProfile
- type CronJob
- type CronJobHistory
- type EntityAlias
- type EntityProperty
- type EscrowDeal
- type ExternalRef
- type Inquiry
- type Key
- type Knowledge
- type Learning
- type Message
- type Observation
- type OntologyConflict
- type OntologyPredicate
- type OntologyType
- type PaymentTx
- type PeerReputation
- type ProvenanceAttribution
- type ProvenanceCheckpoint
- type Reflection
- type RunJournal
- type RunSnapshot
- type RunStep
- type Secret
- type Session
- type SessionProvenance
- type TokenUsage
- type ToolCall
- type TurnTrace
- type TurnTraceEvent
- type WorkflowRun
- type WorkflowStepRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionLog ¶ added in v0.7.0
ActionLog holds the schema definition for the ActionLog entity. ActionLog stores structured execution records for ontology actions.
type AgentMemory ¶ added in v0.7.0
AgentMemory holds the schema definition for the AgentMemory entity. AgentMemory stores per-agent persistent memory entries such as patterns, preferences, facts, and skills.
func (AgentMemory) Edges ¶ added in v0.7.0
func (AgentMemory) Edges() []ent.Edge
Edges of the AgentMemory.
func (AgentMemory) Fields ¶ added in v0.7.0
func (AgentMemory) Fields() []ent.Field
Fields of the AgentMemory.
func (AgentMemory) Indexes ¶ added in v0.7.0
func (AgentMemory) Indexes() []ent.Index
Indexes of the AgentMemory.
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 EntityAlias ¶ added in v0.7.0
EntityAlias maps a raw entity ID to its canonical ID for entity resolution.
func (EntityAlias) Edges ¶ added in v0.7.0
func (EntityAlias) Edges() []ent.Edge
Edges of the EntityAlias.
func (EntityAlias) Fields ¶ added in v0.7.0
func (EntityAlias) Fields() []ent.Field
Fields of the EntityAlias.
func (EntityAlias) Indexes ¶ added in v0.7.0
func (EntityAlias) Indexes() []ent.Index
Indexes of the EntityAlias.
type EntityProperty ¶ added in v0.7.0
EntityProperty stores per-entity property values in an EAV model.
func (EntityProperty) Edges ¶ added in v0.7.0
func (EntityProperty) Edges() []ent.Edge
Edges of the EntityProperty.
func (EntityProperty) Fields ¶ added in v0.7.0
func (EntityProperty) Fields() []ent.Field
Fields of the EntityProperty.
func (EntityProperty) Indexes ¶ added in v0.7.0
func (EntityProperty) Indexes() []ent.Index
Indexes of the EntityProperty.
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 OntologyConflict ¶ added in v0.7.0
OntologyConflict holds the schema for detected contradictions between triples.
func (OntologyConflict) Edges ¶ added in v0.7.0
func (OntologyConflict) Edges() []ent.Edge
Edges of the OntologyConflict.
func (OntologyConflict) Fields ¶ added in v0.7.0
func (OntologyConflict) Fields() []ent.Field
Fields of the OntologyConflict.
func (OntologyConflict) Indexes ¶ added in v0.7.0
func (OntologyConflict) Indexes() []ent.Index
Indexes of the OntologyConflict.
type OntologyPredicate ¶ added in v0.7.0
OntologyPredicate holds the schema definition for formal relationship types in the ontology.
func (OntologyPredicate) Edges ¶ added in v0.7.0
func (OntologyPredicate) Edges() []ent.Edge
Edges of the OntologyPredicate.
func (OntologyPredicate) Fields ¶ added in v0.7.0
func (OntologyPredicate) Fields() []ent.Field
Fields of the OntologyPredicate.
func (OntologyPredicate) Indexes ¶ added in v0.7.0
func (OntologyPredicate) Indexes() []ent.Index
Indexes of the OntologyPredicate.
type OntologyType ¶ added in v0.7.0
OntologyType holds the schema definition for formal entity types in the ontology.
func (OntologyType) Edges ¶ added in v0.7.0
func (OntologyType) Edges() []ent.Edge
Edges of the OntologyType.
func (OntologyType) Fields ¶ added in v0.7.0
func (OntologyType) Fields() []ent.Field
Fields of the OntologyType.
func (OntologyType) Indexes ¶ added in v0.7.0
func (OntologyType) Indexes() []ent.Index
Indexes of the OntologyType.
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 ProvenanceAttribution ¶ added in v0.7.0
ProvenanceAttribution holds git-aware provenance attribution rows.
func (ProvenanceAttribution) Edges ¶ added in v0.7.0
func (ProvenanceAttribution) Edges() []ent.Edge
Edges of the ProvenanceAttribution.
func (ProvenanceAttribution) Fields ¶ added in v0.7.0
func (ProvenanceAttribution) Fields() []ent.Field
Fields of the ProvenanceAttribution.
func (ProvenanceAttribution) Indexes ¶ added in v0.7.0
func (ProvenanceAttribution) Indexes() []ent.Index
Indexes of the ProvenanceAttribution.
type ProvenanceCheckpoint ¶ added in v0.7.0
ProvenanceCheckpoint holds the schema definition for a provenance checkpoint.
func (ProvenanceCheckpoint) Edges ¶ added in v0.7.0
func (ProvenanceCheckpoint) Edges() []ent.Edge
Edges of the ProvenanceCheckpoint.
func (ProvenanceCheckpoint) Fields ¶ added in v0.7.0
func (ProvenanceCheckpoint) Fields() []ent.Field
Fields of the ProvenanceCheckpoint.
func (ProvenanceCheckpoint) Indexes ¶ added in v0.7.0
func (ProvenanceCheckpoint) Indexes() []ent.Index
Indexes of the ProvenanceCheckpoint.
type Reflection ¶
Reflection holds the schema definition for the Reflection entity. Reflection stores distilled insights from observations.
type RunJournal ¶ added in v0.7.0
RunJournal holds the schema definition for a single journal event in the RunLedger append-only log.
func (RunJournal) Edges ¶ added in v0.7.0
func (RunJournal) Edges() []ent.Edge
Edges of the RunJournal.
func (RunJournal) Fields ¶ added in v0.7.0
func (RunJournal) Fields() []ent.Field
Fields of the RunJournal.
func (RunJournal) Indexes ¶ added in v0.7.0
func (RunJournal) Indexes() []ent.Index
Indexes of the RunJournal.
type RunSnapshot ¶ added in v0.7.0
RunSnapshot holds the schema definition for a cached RunLedger snapshot. This is a materialized view — the journal is the source of truth.
func (RunSnapshot) Edges ¶ added in v0.7.0
func (RunSnapshot) Edges() []ent.Edge
Edges of the RunSnapshot.
func (RunSnapshot) Fields ¶ added in v0.7.0
func (RunSnapshot) Fields() []ent.Field
Fields of the RunSnapshot.
func (RunSnapshot) Indexes ¶ added in v0.7.0
func (RunSnapshot) Indexes() []ent.Index
Indexes of the RunSnapshot.
type RunStep ¶ added in v0.7.0
RunStep holds the schema definition for a step within a RunLedger run. This is a projection for efficient per-step queries.
type Secret ¶
Secret holds the schema definition for the Secret entity. Secrets store encrypted values that can be retrieved by AI agents.
type SessionProvenance ¶ added in v0.7.0
SessionProvenance holds the schema definition for a session tree node.
func (SessionProvenance) Edges ¶ added in v0.7.0
func (SessionProvenance) Edges() []ent.Edge
Edges of the SessionProvenance.
func (SessionProvenance) Fields ¶ added in v0.7.0
func (SessionProvenance) Fields() []ent.Field
Fields of the SessionProvenance.
func (SessionProvenance) Indexes ¶ added in v0.7.0
func (SessionProvenance) Indexes() []ent.Index
Indexes of the SessionProvenance.
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 TurnTrace ¶ added in v0.7.0
TurnTrace holds the schema definition for a single user turn trace.
type TurnTraceEvent ¶ added in v0.7.0
TurnTraceEvent holds the schema definition for an append-only trace event.
func (TurnTraceEvent) Edges ¶ added in v0.7.0
func (TurnTraceEvent) Edges() []ent.Edge
Edges of the TurnTraceEvent.
func (TurnTraceEvent) Fields ¶ added in v0.7.0
func (TurnTraceEvent) Fields() []ent.Field
Fields of the TurnTraceEvent.
func (TurnTraceEvent) Indexes ¶ added in v0.7.0
func (TurnTraceEvent) Indexes() []ent.Index
Indexes of the TurnTraceEvent.
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.
Source Files
¶
- action_log.go
- agent_memory.go
- audit_log.go
- config_profile.go
- cron_job.go
- cron_job_history.go
- entity_alias.go
- entity_property.go
- escrow_deal.go
- external_ref.go
- inquiry.go
- key.go
- knowledge.go
- learning.go
- message.go
- observation.go
- ontology_conflict.go
- ontology_predicate.go
- ontology_type.go
- payment_tx.go
- peer_reputation.go
- provenance_attribution.go
- provenance_checkpoint.go
- reflection.go
- run_journal.go
- run_snapshot.go
- run_step.go
- secret.go
- session.go
- session_provenance.go
- token_usage.go
- turn_trace.go
- turn_trace_event.go
- workflow_run.go
- workflow_step_run.go