branch sync#6
Merged
Merged
Conversation
- worker.ts: add stripBom() helper; replace all env.USERS.get(...,"json") calls with getKVJson() to handle UTF-8 BOM in KV-stored values - worker.ts: add parseJsonBody() to strip BOM from incoming request bodies - worker.ts: add getBearerToken() helper; login now returns token in response body; guardExtract and handleLogout accept Authorization: Bearer header as fallback when cross-site cookies are blocked by the browser - worker.ts: fix malformed Set-Cookie header (two cookies were comma-concatenated into one header; now sent as separate Set-Cookie headers) - extractor-client.js: store session token in sessionStorage after login; send Authorization: Bearer header on extract and logout requests - add-user.ps1: fix UTF-8 BOM written to temp file by replacing [System.Text.Encoding]::UTF8 with New-Object System.Text.UTF8Encoding $false - make-user.mjs / write-user.mjs: lower PBKDF2 iterations from 120000 to 100000 to stay within Cloudflare Workers crypto.subtle limit Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- CHAT_SYNC_SETUP.md / QUICK_START.md: full docs for the sync workflow - chat-history.json: placeholder file for storing web chat conversations - frontend/chat-sync.js: captures chat messages and syncs to localStorage and backend KV via /api/sync-chat-history - claude-with-context.ps1: PowerShell launcher that loads chat history and starts Claude CLI with full conversation context preloaded - claude-terminal-client.mjs: cross-platform Node.js equivalent launcher Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- Login modal: eye icon button on password field toggles between hidden/visible; icon swaps between open-eye and slashed-eye SVG - Footer: Email and LinkedIn links now styled with accent-colored border, glow ring, and accent text so they stand out for visitors to reach out Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: Copilot <[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.
No description provided.