Releases: JeremieSamson/green-code
Releases · JeremieSamson/green-code
v1.1.0 - Custom dedication messages
What's new
- Custom dedication message on plantings.
/green:plantnow 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}
- Custom:
- 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:plantskill + README) updated.
Verified end to end: message correctly rendered on the live Tree-Nation certificate, accents preserved.