Skip to content

Releases: JeremieSamson/green-code

v1.1.0 - Custom dedication messages

26 May 15:17

Choose a tag to compare

What's new

  • Custom dedication message on plantings. /green:plant now accepts an optional message that is sent to the Tree-Nation plant endpoint and appears on the public certificate.
    • Custom: /green:plant 3 "my message"
    • Default (when omitted), localized fr/en: Offsetting {co2} kg CO2 - Claude Code AI usage - {date}
  • The message is also stored per planting in usage.json.
  • Auto mode (threshold-triggered planting) benefits from the default message too.

Under the hood

  • The plant request body is now built with jq -n, so messages containing quotes, accents or spaces are escaped safely.
  • Docs (/green:plant skill + README) updated.

Verified end to end: message correctly rendered on the live Tree-Nation certificate, accents preserved.