Browser cookie auto-extraction is not viable: modern Chromium App-Bound Encryption (Chrome 127+/current Brave) keys cookies off a SYSTEM-level layer that cannot be decrypted off disk without admin rights and AV-flagged SYSTEM impersonation, and fails on Brave specifically. Drop the `--from-browser` flag, `_auth_from_browser`, `src/browser_tokens.py`, its test, and the browser-cookie3 dependency. Auth is manual (DevTools wizard) only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 lines
838 B
TOML
39 lines
838 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "ai-chat-exporter"
|
|
version = "0.6.0"
|
|
description = "Export ChatGPT and Claude conversation history to Markdown for personal archival in Joplin"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"requests==2.31.0",
|
|
"curl_cffi==0.14.0",
|
|
"click==8.1.7",
|
|
"python-dotenv==1.0.1",
|
|
"rich==13.7.1",
|
|
"python-slugify==8.0.4",
|
|
"PyJWT==2.8.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest==8.1.1",
|
|
"pytest-mock==3.14.0",
|
|
"responses==0.25.3",
|
|
]
|
|
|
|
[project.scripts]
|
|
ai-chat-exporter = "src.main:cli"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["src*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|