gitlink-cli/npm
wbtiger 95fdee5cd8 fix: use cookie-based auth for login — resolves Windows 401
Root cause: GitLink login API returns session cookies (autologin_trustie),
not API access_tokens. The old code tried to use the cookie value as an
access_token query parameter, which GitLink rejects.

Fix: store auth cookies with "cookie:" prefix. Transport detects the
prefix and sends credentials as Cookie header instead of access_token
param. Private tokens (from --token mode) continue to use access_token
param — fully backward compatible.

Verified: login → store cookie → GetCurrentUser → repo list all pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:01:55 +08:00
..
bin feat: add gitlink-cli-install-skills command for cross-platform skills installation 2026-04-07 16:27:22 +08:00
scripts fix: force binary re-download on version mismatch in postinstall 2026-04-08 09:56:55 +08:00
package.json fix: use cookie-based auth for login — resolves Windows 401 2026-04-08 13:01:55 +08:00