tiny-claw/
βββ src/
β βββ index.ts # Entry point (replaces cmd/claw/main.go)
β βββ schema/ # Core message and tool schema (Role, Message, ToolCall, ...)
β β βββ index.ts
β βββ engine/ # MainLoop core implementation
β β βββ index.ts
β βββ provider/ # LLM provider abstraction and vendor SDK implementations
β β βββ index.ts # Provider interface
β β βββ anthropic.ts
β β βββ openai.ts
β βββ context/ # Token monitoring and dynamic prompt assembly
β β βββ index.ts
β β βββ token-counter.ts
β β βββ prompt-builder.ts
β βββ tools/ # Tool registry, middleware, and built-in minimal tools
β β βββ index.ts # Registry & middleware
β β βββ bash.ts
β β βββ edit.ts
β βββ memory/ # Filesystem-backed memory state store
β β βββ index.ts
β βββ feishu/ # Feishu bot interaction callbacks
β βββ index.ts
β βββ webhook.ts
βββ package.json # Replaces go.mod
βββ tsconfig.json
βββ .gitignore
βββ README.md
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||