tsugite-codex-cli 0.19.2__tar.gz → 0.20.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: tsugite-codex-cli
3
- Version: 0.19.2
3
+ Version: 0.20.0
4
4
  Summary: Tsugite plugin: ChatGPT subscription auth via Codex CLI token store
5
5
  Author: Justyn Shull
6
6
  Requires-Python: >=3.11
7
- Requires-Dist: tsugite-cli==0.19.2
7
+ Requires-Dist: tsugite-cli==0.20.0
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "tsugite-codex-cli"
3
- version = "0.19.2"
3
+ version = "0.20.0"
4
4
  description = "Tsugite plugin: ChatGPT subscription auth via Codex CLI token store"
5
5
  authors = [{ name = "Justyn Shull" }]
6
6
  requires-python = ">=3.11"
7
7
  dependencies = [
8
- "tsugite-cli==0.19.2",
8
+ "tsugite-cli==0.20.0",
9
9
  ]
10
10
 
11
11
  [project.entry-points."tsugite.providers"]
@@ -40,13 +40,14 @@ def _codex_model_info(max_input_tokens: int, effort_levels: list[str] = _REASONI
40
40
 
41
41
 
42
42
  # Context windows are the `context_window` the backend reports for the
43
- # subscription path, which is smaller than the same model's API tier.
43
+ # subscription path, which is smaller than the same model's API tier. Not
44
+ # `max_context_window`, which some slugs report as 1M.
44
45
  _CODEX_CLI_MODELS: dict[str, ModelInfo] = {
45
46
  "codex_cli/gpt-5.6-sol": _codex_model_info(272_000, effort_levels=_REASONING_LEVELS_V5_6_AGENTIC),
46
47
  "codex_cli/gpt-5.6-terra": _codex_model_info(272_000, effort_levels=_REASONING_LEVELS_V5_6_AGENTIC),
47
48
  "codex_cli/gpt-5.6-luna": _codex_model_info(272_000, effort_levels=_REASONING_LEVELS_V5_6),
48
- "codex_cli/gpt-5.5": _codex_model_info(1_050_000, effort_levels=_REASONING_LEVELS_V5_5),
49
- "codex_cli/gpt-5.4": _codex_model_info(1_050_000),
49
+ "codex_cli/gpt-5.5": _codex_model_info(272_000, effort_levels=_REASONING_LEVELS_V5_5),
50
+ "codex_cli/gpt-5.4": _codex_model_info(272_000),
50
51
  "codex_cli/gpt-5.4-mini": _codex_model_info(272_000),
51
52
  }
52
53