In raising this pull request, I confirm the following (please check boxes):
Reason for this PR:
Fork-internal PR to run CI. Fixes CCExtractor/ccextractor#2520.
Fixes #114
POST /api/models now returns a modelsResponse struct instead of a map[string]any, so a misspelled key is a compile error instead of a broken UI.
The fields are declared in alphabetical order of their JSON keys (message, models), the same order encoding/json used for the m…
fork CI
The new-case and edit-case actions returned a bare object when the form failed validation, so the response carried a 200 status. This wraps those two returns in data() with a 400 status for errors (200 otherwise), which is how the other returns in the same actions already work. The returned pay…
Fork-internal PR to run CI before going upstream.
Fixes #274
Adds scripts/check-shared-code.sh and a CI job that runs it (option 1 from the issue).
The script compares proxy/internal/{canon,trust} with sensor/internal/{canon,trust}. It ignores the module path in the imports and the two sensor-only files (command.go, command_test.go),…
Fork-only CI run.
Fixes #113
POST /api/preview now returns a previewResponse struct instead of a map[string]any, so a misspelled key is a compile error instead of a broken UI.
The fields are declared in alphabetical order of their JSON keys (available, cached, recommended), the same order `encoding/j…
Fork-only CI run.