Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/webmatze/smith

    0.2.0

    Types

    • Smith
      • Agent
      • Agents
        • Catalog
        • Definition
      • AtomicFile
      • AutoPlanGate
      • CLI
      • ChatCommand
      • ChatCommands
        • Invocation
      • Checkpoints
        • Entry
        • RestoreResult
        • Store
      • Config
        • ApprovalSettings
        • BashSettings
        • CheckpointSettings
        • ContextSettings
        • HTTPSettings
        • McpSettings
        • SubagentSettings
        • WebSettings
      • Context
        • Breakdown
          • Entry
        • Result
        • Strategy
      • Events
        • AssistantText
        • AssistantTextDelta
        • BashJobExited
        • BashJobStarted
        • BudgetExceeded
        • EmptyResponse
        • Event
        • FilesMentioned
        • HistoryCompacted
        • HookFired
        • Listener
        • ModeChanged
        • PlanPresented
        • ResponseContinued
        • ThinkingBlock
        • ThinkingDelta
        • TodosUpdated
        • ToolFinished
        • ToolStart
        • TurnCompleted
        • TurnError
        • UsageUpdated
      • Frontmatter
        • Document
      • HaltingPlanGate
      • Hooks
        • Definition
        • Event
        • Outcome
        • Runner
      • LLM
        • Anthropic
        • AnthropicStream
        • ContentBlock
          • BlockType
        • Message
        • Ollama
        • OpenAI
        • OpenAIStream
        • OpenRouter
        • Provider
        • Request
        • Response
        • ResponseError
        • Retry
          • Config
          • Fatal
        • Role
        • SSE
        • StopReason
        • Timeouts
        • ToolSpec
        • Usage
      • MCP
        • Client
        • ConnectionError
        • Error
        • Manager
        • Message
        • Protocol
        • RpcError
        • ServerConfig
        • ServerHandle
        • ServerSpec
        • StdioTransport
        • TimeoutError
        • ToolDefinition
        • ToolResult
        • Transport
      • Mentions
        • Embedded
        • Result
        • Settings
        • Skip
      • Mode
      • Output
        • HumanRenderer
        • JsonRenderer
        • Renderer
      • PlainPresentation
      • PlanDecision
      • PlanGate
      • PlanSession
      • PlanVerdict
      • Presentation
      • Pricing
        • Overrides
        • Rates
      • ProjectContext
      • PromptPlanGate
      • Session
        • Data
        • IndexEntry
        • Naming
        • Store
        • Transcript
      • Skills
        • Catalog
        • Skill
      • Subagents
        • Mode
        • Report
        • SpawnBudget
        • Supervisor
      • TodoList
        • Item
        • Status
      • Tools
        • AgentTool
        • AllowList
        • Approver
        • AutoApprover
        • Bash
        • BashJob
          • State
        • BashJobs
        • BashKill
        • BashOutput
        • CallRequest
        • CallResult
        • Decision
        • DenyApprover
        • EditFile
        • ExitPlanMode
        • Glob
        • Grep
        • McpTool
        • MutatingTool
        • ParallelTool
        • Paths
        • PlanApprover
        • PromptApprover
        • ReadFile
        • Registry
        • Rule
        • RuleApprover
        • RuleSet
        • TodoWrite
        • Tool
        • WebFetch
        • WebSearch
        • WriteFile
      • TrustPrompt
      • TrustStore
      • UI
        • App
          • State
        • AssistantBlock
        • Block
        • InputEditor
        • Key
          • Kind
        • KeyParser
        • LineUtil
        • Markdown
        • NoticeBlock
        • NoticeIO
        • Palette
        • Span
        • Spinner
        • Style
        • StyledLine
        • Terminal
        • ThinkingBlock
        • TodosBlock
        • ToolBlock
          • Status
        • TuiApprover
        • TuiPlanGate
        • TuiPresentation
        • TuiRenderer
        • TuiTrustPrompt
        • UserBlock
      • Web
        • BraveSearch
        • Guard
        • HtmlToMarkdown
        • SearchProvider
          • MissingKey
        • SearchResult
        • SearxngSearch
        • TavilySearch
    module

    Smith

    Constants

    VERSION = "0.2.0"

    Class methods

    home_dir

    Root directory for all of smith's user-level state: global instructions, the skills catalog, saved sessions and the global config file.

    Overridable via SMITH_HOME, which is what the specs use to stay clear of a developer's real ~/.smith.

    Source

    Nested types

    • Smith::Agent
    • Smith::Agents
    • Smith::AtomicFile
    • Smith::AutoPlanGate
    • Smith::CLI
    • Smith::ChatCommand
    • Smith::ChatCommands
    • Smith::Checkpoints
    • Smith::Config
    • Smith::Context
    • Smith::Events
    • Smith::Frontmatter
    • Smith::HaltingPlanGate
    • Smith::Hooks
    • Smith::LLM
    • Smith::MCP
    • Smith::Mentions
    • Smith::Mode
    • Smith::Output
    • Smith::PlainPresentation
    • Smith::PlanDecision
    • Smith::PlanGate
    • Smith::PlanSession
    • Smith::PlanVerdict
    • Smith::Presentation
    • Smith::Pricing
    • Smith::ProjectContext
    • Smith::PromptPlanGate
    • Smith::Session
    • Smith::Skills
    • Smith::Subagents
    • Smith::TodoList
    • Smith::Tools
    • Smith::TrustPrompt
    • Smith::TrustStore
    • Smith::UI
    • Smith::Web

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal Language

    The Bushido Collective builds and maintains this site. ยท Licensed under the Apache License 2.0