Repository navigation
feat: move maple proxy to maplePrivacyLabs/maple and update to 0.4.2 - #10
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
helix-white
left a comment
There was a problem hiding this comment.
Request changes: [P1] Preserve configured server-side API keys when upgrading to 0.4.2. The new image changes authentication behavior, not just CORS headers. Its proxy_openai_request ignores default_api_key whenever CORS is enabled. startos/main.ts unconditionally sets MAPLE_ENABLE_CORS=true, so upgrading a configured installation makes requests without an explicit caller key return 401. That breaks the bundled UI's saved-key workflow and clients relying on the Configure action, while both port health checks remain green.
The proposal enables CORS only when no server-side key is saved, preserving configured-key access without bypassing upstream's safety rule. It documents that cross-origin browser clients must instead use the unkeyed mode and supply their own key; the same-origin bundled UI and non-browser clients retain saved-key access. README, instructions, and all release-note translations reflect the restriction.
Proposed changes: 91abd4b...proposal/10
Verification: merge-tree passes against current master. Confirmed GHCR 0.4.2 has Linux AMD64/ARM64 images, both labeled with the v3.4.4 source revision above; compared the old/new proxy configuration, authentication, and runtime assumptions. SDK pin 3.1.0 matches npm latest. Existing CI discovery and both architecture builds passed; Retarget Build was skipped. For the proposal, npm install && npx tsc --noEmit, git diff --check, and an ephemeral harness exercising the actual setupMain environment for missing, empty, and configured keys all passed. No package build, pack, Docker build, VM, or live-service test performed. The PR branch is untouched.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
helix-white
left a comment
There was a problem hiding this comment.
Approved. The updated head incorporates proposal/10 exactly and resolves the saved-key regression: CORS is disabled when a server-side key is configured, and remains enabled for clients supplying their own keys. README, instructions, and all release-note translations explain the cross-origin restriction. No remaining correctness findings.
Re-ran merge-tree against current master and diff whitespace checks; both pass. Rechecked SDK 3.1.0 against npm latest. Reused the prior typecheck and actual setupMain environment checks for missing, empty, and configured keys: they exercised this exact head. CI discovery passed; the current x86 and ARM builds are still running. No local build, pack, Docker build, VM, or live-service testing performed.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
Accepted the proposal as-is. It is already on
Verified on b098232: merge-tree against |
helix-white
left a comment
There was a problem hiding this comment.
Approval confirmed for unchanged head b098232. The accepted proposal resolves the saved-key/CORS regression, with the browser-access restriction documented. Re-ran merge-tree against current master and diff whitespace checks; both pass. SDK 3.1.0 still matches npm latest. CI discovery and both x86 and ARM builds now all pass. Reused the previously passing typecheck and setupMain environment checks on this exact head; no local package build or live-service testing performed.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Moves Maple Proxy to its new upstream home and updates it to 0.4.2.
OpenSecretCloud/maple-proxyis archived.upstreamRepo, the image (ghcr.io/mapleprivacylabs/maple-proxy:0.4.2) and the docs now point atMaplePrivacyLabs/Mapleproxy/.POST /v1/systemoneand mirrors CORS request headers; port, entrypoint, user and env are unchanged.masteras proxy 0.4.4 but not published yet, so the release notes make no CA claim.0.4.2:0.🤖 Generated with Claude Code