Skip to content

feat(cli): China site via --region cn, and tag DeepSeek Harness calls [ENG-4980] - #31

Merged
Arlieeee merged 1 commit into
mainfrom
arliexubindu/eng-4980
Oct 29, 2026
Merged

Arlieeee merged 1 commit into
mainfrom
arliexubindu/eng-4980

Conversation

@Arlieeee

Copy link
Copy Markdown
Contributor

One Meshy account works on both the global and the China site; only the hosts differ. This lets the CLI target the China site, and tags requests made from DeepSeek Harness.

Added

  • meshy auth login --region cn (or MESHY_REGION=cn) signs in at meshy.cn and stores the region on the profile. Later commands default to https://api.meshy.cn without any flag; --region global switches back. Explicit --base-url-v1/v2 and MESHY_BASE_URL_* still win.
  • Inside DeepSeek Harness (DSH_SHELL=1), the User-Agent is tagged dsh when MESHY_CLI_CLIENT is not set.

Changed

  • api.meshy.cn counts as a production host and shares credentials.json with api.meshy.ai (it used to fall into credentials.dev.json).
  • doctor resolves its default bases the same way. Docs: docs/usage.md, decision D-087, the in-package skill.

Tests: 581 pass (new cases for the stored region, MESHY_REGION, an invalid region, and the dsh tag).

🤖 Generated with Claude Code

… [ENG-4980]

One Meshy account works on the global and the China site; only the hosts
differ. `meshy auth login --region cn` (or MESHY_REGION=cn) signs in at
meshy.cn and remembers the region on the profile, so later commands call
api.meshy.cn without a flag. api.meshy.cn is a production host and shares
credentials.json with api.meshy.ai. Explicit base URLs still win.

Inside DeepSeek Harness (DSH_SHELL=1), where a plugin cannot set
MESHY_CLI_CLIENT, the User-Agent is tagged "dsh".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Arlieeee
Arlieeee merged commit 356f660 into main Oct 29, 2026
5 checks passed
@Arlieeee
Arlieeee deleted the arliexubindu/eng-4980 branch October 29, 2026 07:41
Arlieeee added a commit that referenced this pull request Oct 29, 2026
This is a minor bump because #29 contains breaking changes.

- #29: `meshy project` (`init | record | show | list | rebuild-index`)
and `--project` / `--stage` are removed; `-o` with `meta.json` and
`--save-json` keep what a task produced. `--workspace` stays as a
real-path check. OBJ material maps are relinked by served name only.
- #30: rerunning `-o` for the same task replaces that task's own files;
a download that fails part-way writes its sidecar, and its recovery is
the same `-o` again.
- #21: `MESHY_CLI_CLIENT` tags the User-Agent with the product that runs
the CLI.
- #31: `meshy auth login --region cn` / `MESHY_REGION=cn` for the China
site, remembered on the profile; `api.meshy.cn` shares
`credentials.json`. Inside DeepSeek Harness the User-Agent is tagged
`dsh`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant