快工助手跨境电商知识与商机助手

Configuration, output, and local files

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Configuration precedence

The CLI resolves configuration in this order:

  1. Explicit --config.
  2. TTS_OPEN_TOOLKIT_CONFIG environment override.
  3. Project configuration.
  4. User configuration.
  5. Built-in defaults.
#

§2 Default paths

Platform or scopePath
macOS user config~/Library/Application Support/tts-open-toolkit/config.json
Linux user config${XDG_CONFIG_HOME:-~/.config}/tts-open-toolkit/config.json
Windows user config%APPDATA%\tts-open-toolkit\config.json
Project override<project>/.tts_open_toolkit/config.json
Project history<project>/.tts_open_toolkit/history/
Project skills<project>/.codex/skills/

Run tts_open_toolkit doctor to print the exact resolved paths on the current machine.

#

§3 OAuth storage

  • Profile metadata is stored in ~/.tts_open_toolkit/config.json.
  • OAuth access and refresh tokens are not stored in that file.
  • macOS uses Keychain; Windows uses CurrentUser DPAPI.
  • Status, list, and doctor output expose only non-secret metadata.
#

§4 Machine-readable output

tts_open_toolkit auth status --json
tts_open_toolkit devapi list --json
tts_open_toolkit app list --json
tts_open_toolkit skill state --scope project --json

Use JSON for agent workflows and automation. Do not scrape the human-readable format when a JSON option exists.

#

§5 Deterministic environments

Set OPEN_TOOLKIT_SKIP_UPDATE_CHECK=1 in offline or deterministic CI smoke tests. Keep package updates explicit.


#

§6 Was this page helpful?

Was this page helpful?

Tell us what worked, what was unclear, or what should be added. TTS Open Toolkit Feedback Form

#