tripo-cli 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/core/analytics.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,7 +116,7 @@ Setting `TRIPO_API_KEY` per shell — bash/zsh: `export TRIPO_API_KEY=tsk_...`
|
|
|
116
116
|
|
|
117
117
|
Since 0.7.0 the CLI sends usage events to Tripo (`https://sshu-api.tripo3d.ai`) for calls to the international API (`openapi.tripo3d.ai`). It is on by default, needs no setup, prints nothing, and never changes stdout, exit codes, or credit behavior.
|
|
118
118
|
|
|
119
|
-
- **Sent:** command or MCP tool name and its result, sign-in method and result, error category with HTTP status / API code, task id (and parent task id for chains), task type, model, status, credits consumed, durations, downloaded format and file count, CLI version, and the calling agent with its version — `codex` / `workbuddy` / `zcode` / `kimi` (otherwise `unknown`), from `TRIPO_CLIENT_APP` / `TRIPO_DISTRIBUTION_CHANNEL` (set by agent plugins) or the MCP host's client info.
|
|
119
|
+
- **Sent:** command or MCP tool name and its result, sign-in method and result, error category with HTTP status / API code, task id (and parent task id for chains), task type, model, status, credits consumed, durations, downloaded format and file count, CLI version, and the calling agent with its version — `codex` / `workbuddy` / `zcode` / `kimi` / `deepseek` (otherwise `unknown`), from `TRIPO_CLIENT_APP` / `TRIPO_DISTRIBUTION_CHANNEL` (set by agent plugins) or the MCP host's client info.
|
|
120
120
|
- **Identity:** a random installation id (`analytics_distinct_id` in `~/.tripo/config.json`) and, since 0.7.1, your Tripo account id (`platform_user_id`) when it can be resolved. It is looked up for the API key actually in use with `POST https://apiplatform.tripo3d.ai/verify`, once per command or MCP tool call, alongside the first API request rather than before it; the lookup gives up after 1 second, is never retried, and the id is never written to disk — on failure events simply go without it. No email or billing details are sent.
|
|
121
121
|
- **Never sent:** prompts, file paths, input images or models, API keys, download URLs (the key itself only goes to `/verify` for the account lookup).
|
|
122
122
|
- **Nothing is sent, and no account lookup is made, for:** China-region (`cn`) calls, custom API endpoints, `--dry-run`, help/version, `docs`, `completion`, `config`, `update`, `use`, `logout`, and the bare `tripo` home screen.
|
package/dist/core/analytics.js
CHANGED
|
@@ -136,7 +136,7 @@ export function clientApp(value) {
|
|
|
136
136
|
if (typeof value !== "string")
|
|
137
137
|
return "unknown";
|
|
138
138
|
const name = value.trim().toLowerCase();
|
|
139
|
-
for (const app of ["codex", "workbuddy", "zcode", "kimi"]) {
|
|
139
|
+
for (const app of ["codex", "workbuddy", "zcode", "kimi", "deepseek"]) {
|
|
140
140
|
if (new RegExp(`(^|[\\s_./-])${app}($|[\\s_./-])`).test(name))
|
|
141
141
|
return app;
|
|
142
142
|
}
|
|
@@ -147,7 +147,7 @@ export function attribution(explicit, distribution, info, oauthName) {
|
|
|
147
147
|
const initialized = clientApp(info?.name);
|
|
148
148
|
const oauth = clientApp(oauthName);
|
|
149
149
|
const chosen = tagged !== "unknown" ? tagged : initialized !== "unknown" ? initialized : oauth;
|
|
150
|
-
const channels = ["codex_plugin", "workbuddy_plugin", "zcode_plugin", "kimi_plugin"];
|
|
150
|
+
const channels = ["codex_plugin", "workbuddy_plugin", "zcode_plugin", "kimi_plugin", "deepseek_plugin"];
|
|
151
151
|
return {
|
|
152
152
|
client_app: chosen,
|
|
153
153
|
distribution_channel: typeof distribution === "string" && channels.includes(distribution) ? distribution : "unknown",
|