@thinremote/thinr-cli 1.6.0 → 1.6.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,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.1] - 2026-10-31
4
+
5
+ ### Fixed
6
+
7
+ - `thinr device tcp|tls|http -p` is described as what it is: the port
8
+ of the relay on the server (random between 50000 and 51000 by default),
9
+ not a local port.
10
+ - From `@thinger-io/cli-core` 0.5.1: the browser login on a server that does
11
+ not know the CLI's OAuth client says so and offers username and password
12
+ or a token, and the host `update_settings` action is described as the
13
+ merge the server does.
14
+ - Requires `@thinger-io/cli-core` 0.5.1.
15
+
3
16
  ## [1.6.0] - 2026-10-27
4
17
 
5
18
  Every command follows one grammar, the one of `@thinger-io/cli-core` 0.5.0
@@ -7,7 +7,10 @@ export function registerProxyCommands(device) {
7
7
  .command('tcp <device> [target]')
8
8
  .helpGroup('Remote access:')
9
9
  .description('Create a TCP proxy (no TLS). Default target: 22.')
10
- .option('-p, --port <port>', 'Local port to use (default: random)')
10
+ .option(
11
+ '-p, --port <port>',
12
+ 'Port of the relay on the server (default: random, 50000-51000)',
13
+ )
11
14
  .action((deviceId, target, opts) =>
12
15
  runInteractive(() => {
13
16
  ensureConfigured();
@@ -19,7 +22,10 @@ export function registerProxyCommands(device) {
19
22
  .command('tls <device> [target]')
20
23
  .helpGroup('Remote access:')
21
24
  .description('Create a TLS proxy. Default target: 443.')
22
- .option('-p, --port <port>', 'Local port to use (default: random)')
25
+ .option(
26
+ '-p, --port <port>',
27
+ 'Port of the relay on the server (default: random, 50000-51000)',
28
+ )
23
29
  .action((deviceId, target, opts) =>
24
30
  runInteractive(() => {
25
31
  ensureConfigured();
@@ -31,7 +37,10 @@ export function registerProxyCommands(device) {
31
37
  .command('http <device> [target]')
32
38
  .helpGroup('Remote access:')
33
39
  .description('Create an HTTP proxy. Default target: 80.')
34
- .option('-p, --port <port>', 'Local port to use (default: random)')
40
+ .option(
41
+ '-p, --port <port>',
42
+ 'Port of the relay on the server (default: random, 50000-51000)',
43
+ )
35
44
  .option('--no-open', 'Do not open the browser')
36
45
  .action((deviceId, target, opts) =>
37
46
  runInteractive(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinremote/thinr-cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "CLI for ThinRemote — remote management for IoT devices, with an MCP server for AI clients",
5
5
  "main": "bin/thinr.js",
6
6
  "bin": {
@@ -50,7 +50,7 @@
50
50
  "@inkjs/ui": "^2.0.0",
51
51
  "@inquirer/prompts": "^8.4.1",
52
52
  "@modelcontextprotocol/sdk": "^1.29.0",
53
- "@thinger-io/cli-core": "^0.5.0",
53
+ "@thinger-io/cli-core": "^0.5.1",
54
54
  "axios": "^1.10.0",
55
55
  "chalk": "^5.4.1",
56
56
  "cli-progress": "^3.12.0",