Windows: te launcher fails in Git Bash; lib/tokeneconomizer symlink checked out as plain file
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- bash, python
調査の方向性
Start by reading build_plugin.py, scripts/te, and the _symlink_stub and core_path() logic mentioned in the issue; reproduce the failures in Git Bash on Windows. Check how the published bundle handles the launcher path, Python path, and lib/tokeneconomizer package. Done when both failures are resolved in a Windows cache install and the hooks can find the package.
索引モデルが issue の本文から書いたものです。
説明
Two Windows (Git Bash) failures when the plugin is installed from the cache (Windows, omp/Claude Code, Python 3.13):
- Launcher path.
~/.tokeneconomizer/bin/teis written asexec 'C:\Users\...\scripts\te' "$@". Git Bash can't exec a backslash path:exec: ...\scripts\te: not found(exit 127). Even with a forward-slash path,scripts/tefails at itscd -- "${self%/*}"(line 8) and atexec "$p"with a backslashpython.exepath (line 26). Suggest writing the launcher path with/(orcygpath -uwhen available) and normalising the resolved Python path the same way. lib/tokeneconomizersymlink. In the installed copy it is a 21-byte plain file (../../tokeneconomizer), since Windows did not check out the symlink._symlink_stubresolves it to<plugin>/tokeneconomizer, which does not exist, socore_path()returnsNoneand hooks logbootstrap: the tokeneconomizer package was not found.... Suggestbuild_plugin.pycopy the package intolib/for the published bundle instead of linking, or fall back to~/.tokeneconomizer/srcwhen the stub target is missing.
Workaround: TE_CORE_PATH=~/.tokeneconomizer/src python <plugin>/scripts/te_bootstrap.py cli ....
- 主要言語
- Python
- スター
- 5.6k
- フォーク
- 344
- 平均マージ
- 14時間 41分
- マージ済み PR(30日)
- 54
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/TokenEconomizer のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/TokenEconomizer#193 ·
メンテナーはふだん 1 日以内に返信
-
pricing: Claude's 1-hour cache writes are priced at 1.25x, but billed at 2x対応中かも @anascherif が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
microsoft/TokenEconomizer#191 ·
メンテナーはふだん 1 日以内に返信
-
trace: Claude Code's `<synthetic>` notices count as requests and can make a Claude session price on the fallback curve対応中かも @1AbdullahButt が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
microsoft/TokenEconomizer#189 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/TokenEconomizer#186 ·
メンテナーはふだん 1 日以内に返信
-
plugin: the agent-output readers crash on a JSON line that is not an object対応中かも @rahul05ranjan が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
microsoft/TokenEconomizer#182 ·
メンテナーはふだん 1 日以内に返信
microsoft/TokenEconomizer の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Treat corrupt-shape state files as missing in `load_state`対応中かも @Qrytics が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
OvertureMaps/overturemaps-py#175 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
awslabs/visual-asset-management-system#1278 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws-samples/sample-per-model-bedrock#835 ·
メンテナーはふだん 1 日以内に返信