Documentation
¶
Overview ¶
Package adapter provides concrete implementations of the kernel interfaces. These adapters bridge kernel's abstract interfaces to OK's concrete infrastructure (sandbox, agent sessions, providers, file I/O, memory stores).
The adapter package depends on many internal packages — this is by design. kernel/ itself defines only interfaces (zero internal dependencies); adapter/ supplies the implementations so kernel/ stays pure.
See internal/kernel/kernel.go for interface definitions.
Index ¶
- Constants
- type Bash
- type BashOut
- type Chunk
- type Controller
- type EditFile
- type Fact
- type FileContent
- type Grep
- type Identity
- type Kernel
- type Learn
- type LearnStats
- type Match
- type Message
- type Pattern
- type PluginIsolation
- type ProofEntry
- type Provider
- type ReadFile
- type Recall
- type Request
- type RunOptions
- type RunResult
- type Sandbox
- type ScoredFact
- type SemanticSearcher
- type Session
- type Skill
- type TaskRecord
- type ToolSchema
- type Trust
- type TrustSummary
- type User
- type WriteFile
Constants ¶
View Source
const ( ChunkText = kernel.ChunkText ChunkReasoning = kernel.ChunkReasoning ChunkToolCall = kernel.ChunkToolCall ChunkUsage = kernel.ChunkUsage ChunkError = kernel.ChunkError )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller = kernel.Controller
type EditFile ¶
func NewEditFile ¶
type FileContent ¶
type FileContent = kernel.FileContent
type LearnStats ¶
type LearnStats = kernel.LearnStats
type PluginIsolation ¶
type PluginIsolation = kernel.PluginIsolation
type ProofEntry ¶
type ProofEntry = kernel.ProofEntry
type Provider ¶
func NewProvider ¶
type ReadFile ¶
func NewReadFile ¶
type Recall ¶
func NewRecallWithSemantic ¶
func NewRecallWithSemantic(store *memory.Store, semantic SemanticSearcher) Recall
type RunOptions ¶
type RunOptions = kernel.RunOptions
type ScoredFact ¶
type SemanticSearcher ¶
type Session ¶
func NewSession ¶
type TaskRecord ¶
type TaskRecord = kernel.TaskRecord
type ToolSchema ¶
type ToolSchema = kernel.ToolSchema
type TrustSummary ¶
type TrustSummary = kernel.TrustSummary
Click to show internal directories.
Click to hide internal directories.