[Ecosystem] Cross-language context engineering: Meet ContextChef in TypeScript
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go, typescript
調査の方向性
Read the contextwindow README and review the proposed ContextChef project link in the issue. The request has had no comments for 200 days, so first confirm maintainers still want the cross-link; if approved, done means the README links to ContextChef and its TypeScript/JavaScript ecosystem.
索引モデルが issue の本文から書いたものです。
説明
Hi @rhettg and the contextwindow team,
I'm the author of ContextChef, a context compiler for TypeScript/JavaScript AI agents. I recently came across contextwindow and noticed we're solving a closely related problem — managing LLM conversation context with compression and tool handling — but targeting different language ecosystems.
As of April 2026, ContextChef is at v3.0.3 (core) / v1.1.0 (AI SDK middleware). Its current scope includes:
- History compression: tokenizer-based or reportTokenUsage trigger, summarization via configurable small model, mechanical compaction for zero-cost pruning
- Tool pruning: flat tag-based filtering or two-layer namespace architecture (stable core tools + on-demand toolkit loading) to prevent tool hallucinations
- Multi-provider compilation: same prompt structure compiles to OpenAI / Anthropic / Gemini with automatic cache breakpoints, prefill, and tool call format adaptation
- VFS offloading: auto-truncate large tool outputs, store originals behind
context://URIs for on-demand retrieval - Cross-session memory: key-value store with TTL, injected as XML on compile
- Snapshot & Restore: full internal state capture for branching and rollback
- Vercel AI SDK middleware: drop-in integration with zero code changes
I think our two projects are complementary rather than competing:
| contextwindow (Go) | ContextChef (TypeScript) | |
|---|---|---|
| Language | Go | TypeScript/JavaScript |
| Compression | Summary model | Summary model + mechanical compaction + circuit breaker |
| Tool management | Tool calling support | Dynamic pruning + namespace lazy-loading |
| Persistence | SQLite (built-in) | In-memory (pluggable storage adapters) |
| Provider support | OpenAI, Gemini, Claude | OpenAI, Anthropic, Gemini (format adapters) |
| State injection | — | Zod schema → XML injection |
| Positioning | Low-level Go library | Context compiler with modular pipeline |
Go and TypeScript are probably the two most popular languages for building AI agents today. I believe cross-linking our projects would help developers discover the right tool for their stack.
Would you be open to:
- Cross-linking our projects in each other's READMEs so users can find the implementation that matches their language
- Sharing design notes on compression strategies — your SQLite persistence model is something we've been considering, and our namespace-based tool pruning might be interesting for contextwindow's roadmap
Happy to point to specific implementation areas if any of this is of interest.
Best,
MyPrototypeWhat
- 主要言語
- Go
- スター
- 103
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
superfly/contextwindow のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
superfly/contextwindow#18 ·
superfly/contextwindow の issue をすべて見る
似ている issue
-
Architecture boundaries selftest passes with the source description construction rule disabled対応中かも @denisvmedia が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
goreleaser/goreleaser#7385 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kubernetes-sigs/vsphere-csi-driver#4483 ·
メンテナーはふだん 1 日以内に返信
-
cli
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
genealogix/glx#1634 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Query service sends an empty traceresponse header on untraced requests対応中かも @pingxin403 が今日担当しました。 オープンbug
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
jaegertracing/jaeger#10342 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信