Windows: te launcher fails in Git Bash; lib/tokeneconomizer symlink checked out as plain file
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, python
- Área
- cli, developer-experience
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 ....
- Lenguaje dominante
- Python
- Estrellas
- 5.6k
- Forks
- 344
- Merge medio
- 14 h 41 min
- PR fusionados (30 d)
- 54
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/TokenEconomizer
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
microsoft/TokenEconomizer#193 ·
Los mantenedores suelen responder en 1 día
-
pricing: Claude's 1-hour cache writes are priced at 1.25x, but billed at 2xPosiblemente ocupada @anascherif la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
microsoft/TokenEconomizer#191 ·
Los mantenedores suelen responder en 1 día
-
trace: Claude Code's `<synthetic>` notices count as requests and can make a Claude session price on the fallback curvePosiblemente ocupada @1AbdullahButt la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
microsoft/TokenEconomizer#189 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
microsoft/TokenEconomizer#186 ·
Los mantenedores suelen responder en 1 día
-
plugin: the agent-output readers crash on a JSON line that is not an objectPosiblemente ocupada @rahul05ranjan la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
microsoft/TokenEconomizer#182 ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/TokenEconomizer
Issues similares
-
area: providers/aws priority: p2 size: S type: bug type: testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
finos/open-resource-broker#851 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
sandialabs/atlas-ui-3#1196 ·
Los mantenedores suelen responder en 1 día
-
enhancement triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ShaftHQ/SHAFT_ENGINE#7902 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: GraphML export writes invalid XML when a value contains a control character (e.g. form feed)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
topoteretes/cognee#6646 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
DOI-USGS/pywatershed#428 ·