This repository was archived by the owner on Nov 30, 2026. It is now read-only.
Repository navigation
Add cloud feedback command - #302
Merged
Merged
Conversation
Send the Cloud team what got in the way (a wrong result, a confusing error, a docs gap, a missing endpoint) or a question the docs could not answer, through the POST /feedback API endpoint. Reaching the daily limit of 20 per organization and per user fails with a message that says so and when to try again. Amp-Thread-ID: https://ampcode.com/threads/T-01a20972-d1a5-761c-851e-de2fcbbaaae9 Co-authored-by: Mateus Guimarães <mateus@laravel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
cloud feedback, similar to Cloudflare'scf feedback. Users or their agents can use it to tell the Cloud team what got in their way: a wrong result, a confusing error, a docs gap, a missing endpoint, or a question the docs couldn't answer. It calls the Submit agent feedback endpoint (POST /feedback).Retry-After. Without that header, the message says "Try again tomorrow."--typedefaults tofeedback. A missing message, an unknown--type, or a 422 fails with a clear error.--jsonprints{"sent":true}.deploying-to-cloudskill tells agents to use it when the CLI, API, or docs get in their way.Testing
tests/Feature/FeedbackTest.phpcovers the request body, invalid type, missing message, the 429 message, and JSON output.