@tunnelbox/core 0.1.20 → 0.1.22

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
@@ -10,7 +10,8 @@ Shared core for tunnelbox, reused by the agent adapters:
10
10
  | `relay.ts` | `RelayClient`: outbound WS with exponential-backoff **silent** reconnect |
11
11
  | `state.ts` | State persistence (`remote-state[.type].json`, isolated per agent) + pairing files |
12
12
  | `env.ts` | `injectedRelayUrl()`: default relay injected at build time via esbuild `__TB_DEFAULT_RELAY__` (no URL literals in source) |
13
- | `qr.ts` | `printPairing`: terminal QR code + pairing code printing |
13
+ | `qr.ts` | `printPairing`: terminal QR code + pairing code printing (includes official-website download guidance) |
14
+ | `terminal.ts` | `websiteUrl()` / `hyperlink()` / `supportsHyperlinks()`: clickable OSC 8 links in supported terminals, plain URL otherwise |
14
15
 
15
16
  ## Usage
16
17
 
package/README.zh-CN.md CHANGED
@@ -10,7 +10,8 @@ tunnelbox 共享核心,供各智能体适配器复用:
10
10
  | `relay.ts` | `RelayClient`:出站 WS + 指数退避**静默**重连 |
11
11
  | `state.ts` | 状态持久化(`remote-state[.type].json`,多 agent 隔离)+ 配对文件 |
12
12
  | `env.ts` | `injectedRelayUrl()`:构建期 esbuild `__TB_DEFAULT_RELAY__` 注入的默认中继(源码无 URL 字面量) |
13
- | `qr.ts` | `printPairing`:终端二维码 + 配对码打印 |
13
+ | `qr.ts` | `printPairing`:终端二维码 + 配对码打印(含官网下载引导) |
14
+ | `terminal.ts` | `websiteUrl()` / `hyperlink()` / `supportsHyperlinks()`:支持的终端里 OSC 8 可点击链接,否则纯 URL |
14
15
 
15
16
  ## 使用
16
17