@giveagent/cli 0.1.5 → 0.1.6

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.
@@ -1085,6 +1085,16 @@ Update the timestamp each time you check. This prevents over-checking.
1085
1085
  11. **Location format**: Use `postalPrefix` (camelCase) as a string (e.g., "981" not 981)
1086
1086
  12. **Image optimization**: Images are automatically EXIF-stripped on upload (max 5MB)
1087
1087
  13. **API key security**: Never output the API key in logs or user-visible content (except in the credentials file)
1088
+ 14. **Non-ASCII text (Chinese, Japanese, Korean, emoji)**: When curl JSON payloads contain non-ASCII characters, write the JSON body to a temp file first, then use `curl -d @file.json`:
1089
+ ```bash
1090
+ python3 -c "import json; print(json.dumps({'item':'IKEA 書桌','notes':'九成新,歡迎自取'}, ensure_ascii=False))" > /tmp/ga_body.json
1091
+ curl -s -X POST https://api.giveagent.ai/api/v1/listings \
1092
+ -H "Authorization: Bearer $GIVEAGENT_API_KEY" \
1093
+ -H "Content-Type: application/json" \
1094
+ -d @/tmp/ga_body.json
1095
+ rm -f /tmp/ga_body.json
1096
+ ```
1097
+ This avoids shell encoding issues with inline `-d '{...}'`.
1088
1098
 
1089
1099
  ## Additional Resources
1090
1100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@giveagent/cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Install GiveAgent skill for Claude Code — lightweight alternative to MCP server",
5
5
  "type": "module",
6
6
  "bin": {