Repository navigation
worker: route all responses through withCors so CORS lives in one place - #457
Merged
Merged
Conversation
`jsonResponse` and `corsPreflight` both set `Access-Control-Allow-Origin` inline, duplicating what `withCors` already does for the 404/405 error paths. Wrap their constructed Responses in `withCors` instead, so every response — JSON success, preflight, and plain-text errors — sets the CORS header in exactly one place. No behavior change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
tend-agent
approved these changes
May 13, 2026
max-sixty
added a commit
that referenced
this pull request
May 15, 2026
## Summary Release 0.0.19. Headline change: **Codex harness support alongside Claude** (#480). - New `codex/action.yaml` composite action — invokable as `max-sixty/tend/codex@v1`. - `harness: claude | codex` field in `.config/tend.yaml` (default `claude`); the generator picks the matching action ref and secret names per harness. - `shared/system-prompt.md` consumed by both actions. - Codex plugin manifest at `plugins/tend-ci-runner/.codex-plugin/plugin.json` and marketplace at `.agents/plugins/marketplace.json`. Tend's own config stays on `harness: claude` for now — flipping to Codex is a separate follow-up PR after this release publishes. Site polish + minor fixes round out the rest (#456, #462–#464, #468–#472, #475, #476, #478, #481, #457, #459, #466, #482). ## Test plan - [x] `wt test` passes - [x] `pre-commit run --all-files` passes - [ ] CI green on this PR - [ ] After merge: `uvx [email protected] --help` resolves once PyPI release workflow completes - [ ] v1 branch auto-updated by `update-action-branch.yaml` - [ ] Follow-up PR regenerates tend's own workflows with `uvx tend@latest init` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
jsonResponseandcorsPreflightboth setAccess-Control-Allow-Origininline, duplicating whatwithCorsalready does for the 404/405 error paths. Wrap their constructed Responses inwithCorsinstead, so every response — JSON success, preflight, and plain-text errors — sets the CORS header in exactly one place. No behavior change.