Files
ai-chatexport/pyproject.toml
JesseMarkowitz 19bfdaecbe fix: v0.2.1 — chunked ChatGPT cookies and Claude project path
- Support __Secure-next-auth.session-token.0/.1 split cookies; ChatGPT
  now issues tokens that exceed the 4KB per-cookie limit and must be
  sent as two named chunks or the auth endpoint returns no accessToken.
  Add CHATGPT_SESSION_TOKEN_1 env var; update auth wizard instructions.

- Fix Claude conversations exported to wrong directory when project name
  is present in the listing but absent from the detail endpoint response.
  Explicitly propagate "project" alongside _-prefixed annotation keys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 22:32:14 -04:00

39 lines
838 B
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ai-chat-exporter"
version = "0.2.1"
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_*"]