@vellumai/cli 0.10.4-dev.202607012234.a9be056 → 0.10.4-dev.202607020106.aa66e63

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/cli",
3
- "version": "0.10.4-dev.202607012234.a9be056",
3
+ "version": "0.10.4-dev.202607020106.aa66e63",
4
4
  "description": "CLI tools for vellum-assistant",
5
5
  "type": "module",
6
6
  "exports": {
@@ -76,13 +76,6 @@ describe("buildAuthorizeUrl", () => {
76
76
  expect(url.searchParams.has("prompt")).toBe(false);
77
77
  });
78
78
 
79
- test("provider hint replaces authkit", () => {
80
- const url = new URL(
81
- buildAuthorizeUrl({ ...base, providerHint: "GoogleOAuth" }),
82
- );
83
- expect(url.searchParams.get("provider")).toBe("GoogleOAuth");
84
- });
85
-
86
79
  test("login hint is forwarded", () => {
87
80
  const url = new URL(
88
81
  buildAuthorizeUrl({ ...base, loginHint: "user@example.com" }),
@@ -33,7 +33,6 @@ export interface AuthorizeUrlOptions {
33
33
  challenge: string;
34
34
  state: string;
35
35
  loginHint?: string;
36
- providerHint?: string;
37
36
  }
38
37
 
39
38
  export function buildAuthorizeUrl(options: AuthorizeUrlOptions): string {
@@ -46,7 +45,7 @@ export function buildAuthorizeUrl(options: AuthorizeUrlOptions): string {
46
45
  url.searchParams.set("code_challenge_method", "S256");
47
46
  url.searchParams.set("state", options.state);
48
47
  // No `prompt`: lets the browser's existing IdP session be reused.
49
- url.searchParams.set("provider", options.providerHint || "authkit");
48
+ url.searchParams.set("provider", "authkit");
50
49
  if (options.loginHint) url.searchParams.set("login_hint", options.loginHint);
51
50
  return url.toString();
52
51
  }