Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
weaverbird
command
Command weaverbird is a statusline multiplexer for Claude Code: it reads Claude Code's session JSON once from stdin, fans it out to independent provider programs, and weaves the widgets they emit into one themed, width-aware status bar.
|
Command weaverbird is a statusline multiplexer for Claude Code: it reads Claude Code's session JSON once from stdin, fans it out to independent provider programs, and weaves the widgets they emit into one themed, width-aware status bar. |
|
examples
|
|
|
quota
command
Command quota is a tiny, complete weaverbird provider built on the public provider helper library.
|
Command quota is a tiny, complete weaverbird provider built on the public provider helper library. |
|
internal
|
|
|
cache
Package cache implements weaverbird's session-keyed on-disk state: the cached spec per provider (fetched at most once per session) and the per-widget value cache that drives both the cache-policy gate (do not re-invoke within ttl_sec, or until invalidate.file changes) and the last-known-good fallback for a failing provider (SPEC.md section 5).
|
Package cache implements weaverbird's session-keyed on-disk state: the cached spec per provider (fetched at most once per session) and the per-widget value cache that drives both the cache-policy gate (do not re-invoke within ttl_sec, or until invalidate.file changes) and the last-known-good fallback for a failing provider (SPEC.md section 5). |
|
ccinput
Package ccinput reads and leniently parses the JSON Claude Code pipes into its statusLine.command on stdin.
|
Package ccinput reads and leniently parses the JSON Claude Code pipes into its statusLine.command on stdin. |
|
engine
Package engine is weaverbird's hot path: for every enabled discovered provider it resolves the spec (cached, at most fetched once per session), applies the per-widget cache-policy gate, invokes the value source only when something is due, and merges the result into layout-ready widgets with class and icon already resolved.
|
Package engine is weaverbird's hot path: for every enabled discovered provider it resolves the spec (cached, at most fetched once per session), applies the per-widget cache-policy gate, invokes the value source only when something is due, and merges the result into layout-ready widgets with class and icon already resolved. |
|
grouplayout
Package grouplayout resolves the user's optional layout (SPEC.md section 6.2): an ordered list of tokens, read from config.json, each a provider-declared group id, a widget id, or a provider name (that provider's own implicit default group, SPEC.md section 3), that together decide which widgets render and in what order.
|
Package grouplayout resolves the user's optional layout (SPEC.md section 6.2): an ordered list of tokens, read from config.json, each a provider-declared group id, a widget id, or a provider name (that provider's own implicit default group, SPEC.md section 3), that together decide which widgets render and in what order. |
|
layout
Package layout owns ordering, rows, icon placement, the width-degradation cascade, OSC 8 href wrapping, and joining widgets into the final bar text (SPEC.md section 6).
|
Package layout owns ordering, rows, icon placement, the width-degradation cascade, OSC 8 href wrapping, and joining widgets into the final bar text (SPEC.md section 6). |
|
registry
Package registry finds providers in the drop-in providers directory, classifies each entry (an explicit descriptor, a bare executable, or a bare records file), resolves its spec and value sources, and orders the result: the stable left-to-right base position for the bar (DESIGN section 5, SPEC.md section 2).
|
Package registry finds providers in the drop-in providers directory, classifies each entry (an explicit descriptor, a bare executable, or a bare records file), resolves its spec and value sources, and orders the result: the stable left-to-right base position for the bar (DESIGN section 5, SPEC.md section 2). |
|
theme
Package theme owns class -> color: the theme catalog (the built-in vanilla and teal themes plus any user theme dropped into the themes directory), the light/dark appearance resolution, NO_COLOR handling, and the separator between widgets (SPEC.md section 6).
|
Package theme owns class -> color: the theme catalog (the built-in vanilla and teal themes plus any user theme dropped into the themes directory), the light/dark appearance resolution, NO_COLOR handling, and the separator between widgets (SPEC.md section 6). |
|
Package provider is the public contract library for weaverbird provider authors.
|
Package provider is the public contract library for weaverbird provider authors. |
Click to show internal directories.
Click to hide internal directories.