Skip to content

branch sync#6

Merged
Deep7285 merged 12 commits into
backup_branchfrom
main
May 9, 2026
Merged

branch sync#6
Deep7285 merged 12 commits into
backup_branchfrom
main

Conversation

@Deep7285

@Deep7285 Deep7285 commented May 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

Deep7285 and others added 12 commits April 28, 2026 20:28
- 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]>
@Deep7285 Deep7285 merged commit e94cb58 into backup_branch May 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant