@vellumai/cli 0.9.0-dev.202606181513.fd39213 → 0.9.0-dev.202606181713.b269b6a

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.9.0-dev.202606181513.fd39213",
3
+ "version": "0.9.0-dev.202606181713.b269b6a",
4
4
  "description": "CLI tools for vellum-assistant",
5
5
  "type": "module",
6
6
  "exports": {
@@ -331,7 +331,7 @@ describe("pair command", () => {
331
331
  const out = JSON.parse(logs.join("\n"));
332
332
  expect(out).toEqual({
333
333
  pairUrl:
334
- "https://abc123.ngrok.app/assistant-123/assistant/pair#device_code=device-code&user_code=ABCD-EFGH",
334
+ "https://abc123.ngrok.app/assistant-123/assistant/pair#device_code=device-code",
335
335
  userCode: "ABCD-EFGH",
336
336
  verificationUri: "https://abc123.ngrok.app/assistant-123/assistant/pair",
337
337
  expiresAt: "2026-06-04T00:10:00.000Z",
@@ -115,7 +115,6 @@ function buildRemoteWebPairingUrl(
115
115
  const url = new URL(challenge.verificationUri);
116
116
  url.hash = new URLSearchParams({
117
117
  device_code: challenge.deviceCode,
118
- user_code: challenge.userCode,
119
118
  }).toString();
120
119
  return url.toString();
121
120
  }
@@ -346,7 +345,7 @@ export async function pair(): Promise<void> {
346
345
  console.log("");
347
346
  console.log(` ${pairUrl}`);
348
347
  console.log("");
349
- console.log("When the browser shows this code, approve it locally:");
348
+ console.log("Approve this pairing locally when you're ready:");
350
349
  console.log("");
351
350
  const approveTarget = assistantName
352
351
  ? `${JSON.stringify(assistantName)} `
@@ -263,6 +263,8 @@ function buildRemoteWebIngressLocations(opts: {
263
263
  location = /v1/guardian/init/ { return 404; }
264
264
  location = /v1/guardian/reset-bootstrap { return 404; }
265
265
  location = /v1/guardian/reset-bootstrap/ { return 404; }
266
+ location = /v1/remote-web/pairing-verification { return 404; }
267
+ location = /v1/remote-web/pairing-verification/ { return 404; }
266
268
  location ^~ /assistant/__local/ { return 404; }
267
269
  location ^~ /assistant/__gateway/ { return 404; }
268
270