local-commander-agent 0.3.38-local.1 → 0.3.39-pairlink.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change history
2
2
 
3
+ ## 0.3.39-pairlink.1 - 2026-10-15
4
+
5
+ - Change: the pairing link printed in the terminal now carries the confirmation code, so the website opens the Connect dialog with the code already filled in. Check that it matches the code in your terminal, then click Approve (#218).
6
+ - Includes everything in 0.3.38-local.1.
7
+
3
8
  ## 0.3.38-local.1 - 2026-10-15
4
9
 
5
10
  - New: direct local MCP for AI clients on this computer, such as Claude Code, Codex or Cursor (#104).
@@ -237,9 +237,12 @@ async function pair(runtimeDir) {
237
237
  const begin = JSON.parse(line);
238
238
  if (typeof begin.approvalUrl !== "string" || typeof begin.confirmationCode !== "string") fail("PAIRING_RESPONSE_INVALID");
239
239
  opened = true;
240
+ // #218: the link carries the code, so the website opens the dialog with it filled in.
241
+ const link = new URL(begin.approvalUrl);
242
+ if (/^[A-Za-z2-9]{8}$/.test(begin.confirmationCode)) link.searchParams.set("code", begin.confirmationCode);
240
243
  process.stdout.write("Pairing code: " + begin.confirmationCode + "\n");
241
- process.stdout.write("Opening: " + begin.approvalUrl + "\n");
242
- openBrowser(begin.approvalUrl);
244
+ process.stdout.write("Opening: " + link + "\n");
245
+ openBrowser(link.toString());
243
246
  } catch {
244
247
  child.kill();
245
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-commander-agent",
3
- "version": "0.3.38-local.1",
3
+ "version": "0.3.39-pairlink.1",
4
4
  "description": "Windows companion for Local Commander: connect AI clients to local files, approved commands and localhost. Requires https://localcmd.app.",
5
5
  "type": "module",
6
6
  "bin": {
Binary file
Binary file
Binary file
package/runtime/agent.mjs CHANGED
@@ -48401,7 +48401,7 @@ async function restoreContentAudit(input2, output2, key) {
48401
48401
  }
48402
48402
 
48403
48403
  // agent/src/main.ts
48404
- var AGENT_VERSION2 = true ? "0.3.38-local.1" : "0.3.2";
48404
+ var AGENT_VERSION2 = true ? "0.3.39-pairlink.1" : "0.3.2";
48405
48405
  var NETWORK_PUBLIC_KEY = true ? "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvmu+81vWtJBQDZNHcAIW\nzCSxpG+R9RBsum2df5mP2cOW+wyUDTpnYquFge1qgI5YYTF96j0xCyXL8B9FeNWs\n939opWNmv53j+CQlS4cEIQhBbZSCu0eC4icsVEzBhvf68MB+E668SOtZBcVTEnyh\n96PTcupxS10rQJBWDinbKBXRC2gvGYeu01rWa/nsrndy4vAYP5t3yQtdOC8e8mr0\n+2Mg2Qhiq+KiTCtDd+L9oXvoLqqJYbzUIveNGha25AWxF1Weblp0gOM87hell5gV\nK7q4ZLUq/wBRGYNmQRdLyV7/WRE1FFPSW21/SBZQ/5aU4UqJU/MjMcrJUrnRKngz\nYKmo0czkxS3N7Q2KVxomgR1AQSuQFKMrboZYKjShADp9RIYUxzs7cYg51Of5PnHh\n6Ax+VevDGfzjMD+yHuyxYZqCtX4OwgolJxz63UQbzKlris+8xb5lLYTbIuz90Pss\nn6HK/F5May25c6oMmS3nh/NsiZopL1OvdtWKTt1L4WlRAgMBAAE=\n-----END PUBLIC KEY-----\n" : "";
48406
48406
  var AI_CONNECTION_SHIPPED = false;
48407
48407
  function processAlive(pid) {