Loading...
Loading...
Diagnoses whether the ttpos CLI environment works, interpreting ttpos doctor checks for version, gateway, credentials, data directory, login and default merchant, plus the optional upstream check, and turns failures into concrete fixes. Use when asked why it cannot connect, whether the login session has expired, whether the environment is configured correctly, whether the CLI can be used, or when a command fails for no obvious reason. Not for business errors of a specific query (use that domain's skill).
npx skill4agent add zoneasetech/ttpos-cli ttpos-doctorttpos-sharedttpos doctor --format json # Checks only the local machine and does not access the TTPOS server
ttpos doctor --network --format json # Adds the upstream check and actually connects to the server once--format json{"ok":false,"checks":[{"id":"auth","status":"fail","label":"登录态","detail":"未登录","fix":"运行 ttpos auth login"}],"summary":{"ok":3,"warn":2,"fail":1,"skip":0}}oktruefailwarnskipstatusokwarnfailskipskipfixdetailupstream01132| id | How to handle an abnormal result |
|---|---|
| |
| The session store is in use: wait for other ttpos processes to finish, then retry. Do not set |
| Having no token is also |
| It can only be |
| For |
| |
| It appears only with |
gatewayfailauthupstreamauthokupstreamwarngateway