wokku-cli 0.5.0 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07765bcc128b05f4309dcba3b0b5ac7679a67ecb7db3da6bac86b6ebe947b44d
4
- data.tar.gz: 466a009f4a186f7e621e16fbb74bae021b150a0a7bdef4f5f3e22eba417620f5
3
+ metadata.gz: 9c8cac97273ed77799c94bfc6861b37480cc73ea3b0001b941867b6460dd5de7
4
+ data.tar.gz: 3867324a0de011e3c98a4352f90b9a43046d03d381b048f6ca1fbf2d3a55eb68
5
5
  SHA512:
6
- metadata.gz: e3e6bbadba6e52c20b843542879100f0d4d40428c4b1a3f877c171c6f84452ff67ffc0bce4a15dfe182115bc32b1b7c5ea44000d8d88559c41b6e69c24bcdfde
7
- data.tar.gz: '058f35efb1dd358b5183169fbdb35ef5ce7ee68ab708576cbed8ee9b03d01a896d9c465fed9cf53d655283bc4fa3621b944f22117825e7efe9fa87c61ed245e0'
6
+ metadata.gz: a1320f137cc4fc0a788f85d506a11ef7f74a3b4ad0eea18d11369ac3a2ee9a4e896ec1fd59a8208e2814fc9f7d0c9b090b2fff098c06e1e98cbd45d144dd3925
7
+ data.tar.gz: 650d51fc2a0a3e32462f3f4771c2be3c62f17a603eac8acaf1a26f31f4db77e767b30aec9d2d1ea0c7388846205dfb8d74da77d7e376f05f72e3497dc843a53c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1 — 2026-06-04
4
+
5
+ ### Fixed
6
+
7
+ - `wokku tunnel` — generated `frpc.toml` now writes the session token to a top-level `[metadatas]` block (in addition to `[proxies.metadatas]`). Without the top-level block frpc sent no token on the Login op, so the gateway rejected the connection before any proxy was set up. Adds `loginFailExit = true` so frpc bails immediately on auth failure instead of retrying forever.
8
+
3
9
  ## 0.5.0 — 2026-06-04
4
10
 
5
11
  `wokku tunnel` — share a local port at `https://<sub>.wokku.dev` in one command. Pairs with wokku-cloud canonical backlog 3.4.
@@ -111,6 +111,13 @@ register "tunnel",
111
111
  cfg.write(<<~TOML)
112
112
  serverAddr = "#{frps_host}"
113
113
  serverPort = #{frps_port}
114
+ loginFailExit = true
115
+
116
+ # Top-level metadatas: sent on the frpc Login op so the gateway can
117
+ # authenticate the client up-front. Without this, frps sees no token
118
+ # on Login and rejects the whole connection before any proxy is set up.
119
+ [metadatas]
120
+ token = "#{token}"
114
121
 
115
122
  [[proxies]]
116
123
  name = "wokku-#{sub}"
@@ -118,6 +125,8 @@ register "tunnel",
118
125
  localPort = #{local_port}
119
126
  subdomain = "#{sub}"
120
127
 
128
+ # Per-proxy metadatas: sent on NewProxy so the gateway can confirm
129
+ # the proxy registration is for the same session it auth'd at Login.
121
130
  [proxies.metadatas]
122
131
  token = "#{token}"
123
132
  TOML
data/lib/wokku/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Wokku
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wokku-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Dwicahyo
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.6.9
110
+ rubygems_version: 4.0.13
111
111
  specification_version: 4
112
112
  summary: Wokku CLI — manage your Wokku apps from the terminal
113
113
  test_files: []