Skip to content
reaatechREAATECH

context-window-planner · packages

Every package shipped from reaatech/context-window-planner, published or pending.

2 packages

@reaatech/context-window-planner

v0.1.0
Manages LLM context windows by providing a builder class, packing strategies, and typed primitives for prioritizing, summarizing, or dropping content. It relies on `js-tiktoken` for token counting and offers a pluggable architecture for custom tokenizer adapters and packing logic.
status
published
published
1 day ago

@reaatech/context-window-planner-cli

v0.1.0
Provides a command-line interface for the `@reaatech/context-window-planner` library, accepting JSON via `stdin` to calculate token-aware packing plans for LLM context windows. It outputs a structured JSON object to `stdout` detailing which items were included, summarized, or dropped based on the specified strategy and tokenizer.
status
published
published
1 day ago