Add LICENSE, AGENTS.md, and richer package metadata#1
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b00759091c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| client := uapi.NewClient("https://uapis.cn") | ||
| weather, err := client.Misc.GetMiscWeather(ctx, &uapi.GetMiscWeatherRequest{ |
There was a problem hiding this comment.
Correct the quick-start API calls
The quick-start uses symbols that do not exist in this SDK: the public constructor is uapi.New(baseURL, token), the group accessor is client.Misc(), and GetMiscWeather takes a map[string]any rather than a context plus GetMiscWeatherRequest (checked in uapi/client.go). Any agent following this newly added AGENTS.md snippet will generate code that fails to compile for the basic weather example.
Useful? React with 👍 / 👎.
Summary
Land explicit license terms, an agent-facing playbook, and discovery-friendly package metadata.
uapis.cnhomepage, search-friendly keywords / classifiers / tagsNo code changes; build/publish pipeline untouched.