Skip to content

v1.3.158

Choose a tag to compare

@topcheer topcheer released this 17 Jul 06:01
· 3408 commits to main since this release

ggcode v1.3.158

Highlights

npm trusted publishing fix

  • Removed --provenance=false from npm publish workflow, which was disabling OIDC-based trusted publishing. npm tightened 2FA token restrictions on 2025-07-17, breaking the old workflow. Trusted publishing via id-token: write permissions bypasses 2FA requirements.

Provider error messages improved

  • finish_reason/stop_reason translation: Stream termination errors from all three providers (OpenAI finish_reason=length/content_filter/network_error, Anthropic stop_reason=max_tokens/refusal, Gemini FinishReason=MAX_TOKENS/SAFETY) now produce bilingual user-friendly messages with actionable hints (increase max_tokens, /compact, /retry).

Fixes and improvements

Reverted

  • write_file overwrite protection (from v1.3.157 cycle): Removed — LLM already checks file existence via read_file before deciding write_file vs edit_file. The protection was redundant and created a dead-end loop.

Upgrade notes

  • No breaking changes
  • No config migration required

Compare

Full changelog