@agentproto/auth 1.0.2 → 1.0.3

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/dist/index.d.ts +4 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -569,7 +569,10 @@ type AuthMethod = "oauth-bearer" | "api-key";
569
569
  * {@link AuthProfile.models}) services every model the profile is otherwise
570
570
  * eligible for — today's behavior. `mode: "allow"` narrows the profile to
571
571
  * exactly `ids`: it services a model only when the model's catalog identity
572
- * (its `vendor/product` or its route-qualified `ref`) is in the list. The
572
+ * — its route-qualified `ref` (`z-ai/glm-5.2@openrouter`), its
573
+ * route-independent `vendor/product` (`z-ai/glm-5.2`), or (DIRECT routes
574
+ * only) the bare product (`claude-opus-4-8`) — is in the list; see
575
+ * `profileAllowsModel` in `catalog-models.ts` for the exact match rule. The
573
576
  * intersection is applied INSIDE the catalog eligibility join
574
577
  * (`catalog-models.ts`), never at the endpoint/method predicate here, so a
575
578
  * curated profile stays endpoint-eligible but only makes its chosen model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentproto/auth",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "@agentproto/auth — AIP-50 AUTH.md reference implementation. Auth-provider doctype: how CLI tools and agents authenticate to API servers via a standardized discovery chain and pluggable flow engines, aligned to the WorkOS auth.md open standard.",
5
5
  "keywords": [
6
6
  "agentproto",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "gray-matter": "^4.0.3",
46
- "zod": "^4.5.4",
46
+ "zod": "^4.6.5",
47
47
  "@agentproto/define-doctype": "0.1.2"
48
48
  },
49
49
  "devDependencies": {