@vellumai/cli 0.8.12-dev.202606161445.7786597 → 0.8.12-dev.202606161836.2f5810e
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
CHANGED
|
@@ -4,7 +4,7 @@ CLI tools for provisioning and managing Vellum assistant instances.
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
This package is used internally by the
|
|
7
|
+
This package is used internally by the `vel` CLI. You typically don't need to install it directly.
|
|
8
8
|
|
|
9
9
|
To run it standalone with [Bun](https://bun.sh):
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -127,6 +127,8 @@ describe("buildIngressNginxConfig", () => {
|
|
|
127
127
|
"location = /v1/pair/ { return 404; }",
|
|
128
128
|
"location = /v1/pair/web-init { return 404; }",
|
|
129
129
|
"location = /v1/pair/web-init/ { return 404; }",
|
|
130
|
+
"location = /v1/remote-web/pairing-challenge { return 404; }",
|
|
131
|
+
"location = /v1/remote-web/pairing-challenge/ { return 404; }",
|
|
130
132
|
"location = /v1/devices { return 404; }",
|
|
131
133
|
"location = /v1/devices/ { return 404; }",
|
|
132
134
|
"location = /v1/devices/revoke { return 404; }",
|
|
@@ -84,10 +84,10 @@ describe("buildAuthorizeUrl", () => {
|
|
|
84
84
|
});
|
|
85
85
|
|
|
86
86
|
test("login hint is forwarded", () => {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
expect(url.searchParams.get("login_hint")).toBe("
|
|
87
|
+
const url = new URL(
|
|
88
|
+
buildAuthorizeUrl({ ...base, loginHint: "user@example.com" }),
|
|
89
|
+
);
|
|
90
|
+
expect(url.searchParams.get("login_hint")).toBe("user@example.com");
|
|
91
91
|
|
|
92
92
|
const noHint = new URL(buildAuthorizeUrl(base));
|
|
93
93
|
expect(noHint.searchParams.has("login_hint")).toBe(false);
|
package/src/lib/nginx-ingress.ts
CHANGED
|
@@ -255,6 +255,8 @@ function buildRemoteWebIngressLocations(opts: {
|
|
|
255
255
|
location = /v1/pair/ { return 404; }
|
|
256
256
|
location = /v1/pair/web-init { return 404; }
|
|
257
257
|
location = /v1/pair/web-init/ { return 404; }
|
|
258
|
+
location = /v1/remote-web/pairing-challenge { return 404; }
|
|
259
|
+
location = /v1/remote-web/pairing-challenge/ { return 404; }
|
|
258
260
|
location = /v1/devices { return 404; }
|
|
259
261
|
location = /v1/devices/ { return 404; }
|
|
260
262
|
location = /v1/devices/revoke { return 404; }
|