Fix: fix-55045062e77683b5ec16.
Install / setup / connection checks
[
{
"status": "PASS",
"details": {
"working": false,
"argv": [
"<host-path>",
"--help"
],
"kind": "cli",
"returncode": 0,
"stdout": "usage: tiktok-uploader [-h] -v VIDEO [-d DESCRIPTION] [-t SCHEDULE]\n [--proxy PROXY] [--product-id PRODUCT_ID]\n [--visibility {everyone,friends,only_you}]\n [--cover COVER] [-c COOKIES] [-s SESSIONID]\n [-u USERNAME] [-p PASSWORD]\n [--browser {chromium,chrome,firefox,webkit,edge,safari}]\n [--attach]\n\nTikTok uploader is a video uploader which can upload avideo from your computer\nto the TikTok using playwright automation\n\noptions:\n[excerpt truncated]",
"stderr": "",
"needs_credentials": false,
"needs_browser": false,
"scope": "partial: install"
},
"check": "install",
"optional": false
},
{
"status": "FAIL",
"details": {
"working": false,
"argv": [
"<host-path>",
"-m",
"src",
"--help"
],
"kind": "cli",
"returncode": 0,
"stdout": "usage: __main__.py [-h] -v VIDEO [-d DESCRIPTION] [-t SCHEDULE]\n [--proxy PROXY] [--product-id PRODUCT_ID]\n [--visibility {everyone,friends,only_you}] [--cover COVER]\n [-c COOKIES] [-s SESSIONID] [-u USERNAME] [-p PASSWORD]\n [--browser {chromium,chrome,firefox,webkit,edge,safari}]\n [--attach]\n\nTikTok uploader is a video uploader which can upload avideo from your computer\nto the TikTok using playwright automation\n\noptions:\n -h, --help show this help message and exit\n[excerpt truncated]",
"stderr": "",
"needs_credentials": false,
"needs_browser": false,
"blocker": "wrong subcommand or usage-only response: {\"returncode\": 0, \"stdout\": \"usage: __main__.py [-h] -v VIDEO [-d DESCRIPTION] [-t SCHEDULE]\\n [--proxy PROXY] [--product-id PRODUCT_ID]\\n [--visibility {everyone,friends,only_you}] [--cover COVER]\\n [-c COOKIES] [-s SESSIONID] [-u USERNAME] [-p PASSWORD]\\n [--browser {chromium,chrome,firefox,webkit,edge,safari}]\\n [--attach]\\n\\nTikTok uploader is a video uploader which can upload avideo from your computer\\nto the TikTok using playwright automation\\n\\noptions:\\n -h, --help show this help message and exit\\n -v VIDEO, --video VIDEO\\n Video file\\n -d DESCRIPTION, --description DESCRIPTION\\n Description\\n -t SCHEDULE, --schedule SCHEDULE\\n Schedule UTC time in %Y-%m-%d %H:%M format\\n --proxy PROXY Proxy user:pass@host:port or host:port format\\n --product-id PRODUCT_ID\\n ID of the product to link in the video (if applicable)\\n --visibility {everyone,friends,only_you}\\n Video visibility: everyone (default), friends, or\\n only_you\\n --cover COVER Custom cover image file\\n -c COOKIES, --cookies COOKIES\\n The cookies you want to use\\n -s SESSIONID, --sessionid SESSIONID\\n The session id you want to use\\n -u USERNAME, --username USERNAME\\n Your TikTok email / username\\n -p PASSWORD, --password PASSWORD\\n Your TikTok password\\n --browser {chromium,chrome,firefox,webkit,edge,safari}\\n Browser to use (default: chromium, installed by\\n `playwright install chromium`; chrome / edge need the\\n real browser installed)\\n --attach, -a Runs the program in headful mode (shows browser\\n window)\\n\", \"stderr\": \"\", \"needs_credentials\": false, \"needs_browser\": false}"
},
"check": "start",
"optional": false
},
{
"status": "FAIL",
"details": {
"working": false,
"argv": [
"<host-path>",
"-v",
"<host-path>",
"-d",
"smoke test"
],
"kind": "cli",
"returncode": 1,
"stdout": "",
"stderr": "Traceback (most recent call last):\n File \"<host-path>\", line 8, in <module>\n sys.exit(main())\n ^^^^^^\n File \"<host-path>\", line 22, in main\n with TikTokUploader(username=args.username, password=<secret>, cookies=args.cookies, proxy=proxy, sessionid=args.sessionid, browser=args.browser, headless=not args.attach) as uploader:\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"<host-path>\", line 33, in __init__\n self.auth = <secret>\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"<host-path>\", line 34, in __init__\n raise InsufficientAuth()\n[excerpt truncated]",
"needs_credentials": false,
"needs_browser": false,
"blocker": "product did not produce a clear credential error: {\"returncode\": 1, \"stdout\": \"\", \"stderr\": \"Traceback (most recent call last):\\n File \\\"<host-path>\\\", line 8, in <module>\\n sys.exit(main())\\n ^^^^^^\\n File \\\"<host-path>\\\", line 22, in main\\n with TikTokUploader(username=args.username, password=<secret>, cookies=args.cookies, proxy=proxy, sessionid=args.sessionid, browser=args.browser, headless=not args.attach) as uploader:\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"<host-path>\\\", line 33, in __init__\\n self.auth = <secret>\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"<host-path>\\\", line 34, in __init__\\n raise InsufficientAuth()\\ntiktok_video_uploader.auth.InsufficientAuth: None\\n\", \"needs_credentials\": false, \"needs_browser\": false}"
},
"check": "credentials_error",
"optional": false
}
]What the agent did
tiktok-uploader -v <video> -d <description> (README CLI usage); run with no credentials to confirm the auth gate
cd <host-path> && git log -1 --format=%H 2>/dev/null; ls -la; cat README.md 2>/dev/null | head -200
cd <host-path> && ls -la .github/workflows 2>/dev/null; cat pyproject.toml setup.py requirements*.txt 2>/dev/null | head -80; python3 --version; which pip3 uv node npm; echo CDP=$CDP_URL $<env-var>
cd <host-path> && find src tests -maxdepth 3 | head -50; python3 -m venv <host-path> 2>&1 | tail -3; <host-path> install -q -e . 2>&1 | tail -15; echo rc=$?
rm -rf <host-path>; (apt-get update -qq && apt-get install -y -qq python3-venv python3-pip) >/tmp/apt.log 2>&1; echo apt=$?; cd <host-path> && python3 -m venv <host-path> && <host-path> install -q -e <host-path> 2>&1 | tail -15; echo rc=${PIPESTATUS[0]}
tail -5 /tmp/apt.log; sudo -n true 2>&1 && echo SUDO_OK; whoami; sudo apt-get update -qq 2>&1 | tail -3; sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3.12-venv python3-pip 2>&1 | tail -5; echo apt=$?
cd <host-path> && rm -rf venv && python3 -m venv venv && ./venv/bin/pip install -q -e <host-path> 2>&1 | tail -15; echo rc=${PIPESTATUS[0]}; ls venv/bin | grep -E 'tiktok|python$'
cd <host-path> && <host-path> --help 2>&1 | head -60; echo ---; <host-path> --help 2>&1 | head -30; echo ---; sed -n 1,60p src/tiktok_video_uploader/cli.py
mkdir -p <host-path> && cd <host-path> && head -c 1024 /dev/urandom > dummy.mp4 && timeout 120 <host-path> -v <host-path> -d "smoke test" 2>&1 | tail -15; echo rc=${PIPESTATUS[0]}; ls ~/.cache/ms-playwright 2>&1
cd <host-path> && mkdir -p .coldpass && cat > .coldpass/probe.json <<'EOF'
{"checks":[
{"check":"install","kind":"cli","argv":["<host-path>"},
{"check":"start","kind":"cli","argv":["<host-path>"},
{"check":"credentials_error","kind":"cli","argv":["<host-path>","-d","smoke test"],"cwd":"<host-path>","expected_returncode":1,"expected_text":"InsufficientAuth"}
]}
EOF
cat > .coldpass/report.json <<'EOF'
{"outcome":"needs_credentials",
"operation":"tiktok-uploader -v <video> -d <description> (README CLI usage); run with no credentials to confirm the auth gate",
"operation_scope":"Upload requires a TikTok session (cookies file, sessionid, or username/password). None were provided and none were obtained. Browser binaries were not downloaded (out of scope for this task). Only install, CLI help and the credentials error were verified.",
"steps":["Created venv <host-path> (after sudo apt-get install python3.12-venv)","<host-path> install -e <host-path> (README pip install -e .)","<host-path> --help","python -m src --help from repo root","tiktok-uploader -v dummy.mp4 -d 'smoke test' -> InsufficientAuth (expected without credentials)"],
"deviations":["README pip install -e . failed on system Python (externally managed); used a venv in <host-path>","python -m venv failed (ensurepip missing); installed python3.12-venv via sudo apt-get.","Browser binary setup from the README was not run: downloads are forbidden in this task. The shared CDP endpoint is not used by this CLI."],
"stuck_step":"Real upload needs TikTok credentials (cookies, sessionid, or username/password), which were not supplied.",
"main_blocker":"No TikTok account credentials provided; the CLI raises InsufficientAuth.",
"suggested_fix":"Supply a cookies file or sessionid for a test account (-c cookies.txt or -s SESSIONID), make a local browser available through the shared CDP endpoint, then run: <host-path> -v <video.mp4> -d 'desc' -c cookies.txt"}
EOF
<env-var>=<host-path> python3 -I <host-path> --validate 2>&1 | tail -30