@doitian/dsh-provider-aliyun 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -185,6 +185,18 @@ npm trust github @doitian/dsh-provider-aliyun \
185
185
 
186
186
  `--allow-publish` is required: it grants the `CREATE_PACKAGE` permission, and the command refuses without it or `--allow-stage-publish`. It infers `owner/repo` from `package.json` when `--repo` is omitted, warns when the two disagree, requires 2FA, and prompts for an OTP. Add `--dry-run` first to see exactly what it would create without committing it.
187
187
 
188
+ **A bypass-2FA token cannot do this step.** npm is retiring tokens that bypass 2FA, and the
189
+ restriction is asymmetric: such a token still *publishes*, but the registry refuses it for
190
+ publisher management with
191
+
192
+ ```
193
+ Granular access tokens that bypass two-factor authentication may not perform this action.
194
+ ```
195
+
196
+ So the bootstrap publish can come from a bypass token, while attaching the publisher needs an
197
+ interactive `npm login` session or the website form. Reading the config back is refused for
198
+ the same reason, so the release itself is the practical check.
199
+
188
200
  `--environment` is deliberately omitted, matching the publish job, which declares no `environment:`.
189
201
 
190
202
  If the registry reports the package as missing, a trusted publisher cannot be attached to a name that does not exist yet: publish `0.1.0` once by hand, then run the command above and let the workflow own every release after that.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doitian/dsh-provider-aliyun",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Aliyun DashScope (Bailian) model provider for DeepSeek Harness: registers an `aliyun` route carrying the Qwen model catalog, so the model list ships in the package instead of a profile.",
5
5
  "keywords": [
6
6
  "dsh",