Skip to main content

Crate mini_claw

Crate mini_claw 

Source
Expand description

pinchy — lightweight Rust agent platform.

This library crate re-exports modules so integration tests (under tests/) can access them.

Modules§

agent
Agent runtime: manages agent identity, workspace bootstrap, session history, and turn execution.
auth
Authentication helpers (GitHub device flow, keyring token storage, Copilot token exchange).
cli
comm
Generic communication layer.
config
context
Context window management: token estimation, pruning, and compaction.
discord
gateway
Minimal HTTP + WebSocket gateway.
logs
Live log broadcasting via a tracing Layer.
memory
Persistent memory backend — SQLite with FTS5 full-text search.
models
Model provider abstractions.
scheduler
secrets
Secrets management – encrypted file-backed secret storage.
session
Session abstraction: Session, Exchange, and SessionStore.
skills
Skill registry — discovers and resolves composable skill bundles.
slash
Channel-agnostic slash command registry and dispatch.
tools
Skill / tool runner.
utils
Shared utility helpers.
watcher
File watcher — auto-ingest files into agent memory.

Functions§

pinchy_home
Return the Pinchy home directory.