@bifrost-proxy/bifrost-linux-x64 0.0.135 → 0.0.136

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
@@ -148,6 +148,9 @@ bifrost search "keyword" --res-body
148
148
 
149
149
  # 添加规则
150
150
  bifrost rule add local-dev --content "example.com host://127.0.0.1:3000"
151
+
152
+ # 编辑全局默认规则,主端口和所有临时端口都会自动生效
153
+ bifrost rule update Default --content "internal.example.test dns://10.0.0.53"
151
154
  ```
152
155
 
153
156
  搜索命令补充说明:
@@ -166,6 +169,8 @@ chatgpt.com http3://
166
169
  internal-api.example.test https://10.37.102.138:8080 upstreamUnsafeSsl://true
167
170
  ```
168
171
 
172
+ `Default` 是 Bifrost 自动创建的全局默认规则,始终启用且列表置顶。它不能删除、停用、重命名或同步到远端,但内容可以编辑;适合放统一 DNS、通用 header、TLS 兜底等所有端口都需要共享的配置。详见 [`docs/rule.md`](docs/rule.md#10-全局默认规则-default)。
173
+
169
174
  ## 文档索引
170
175
 
171
176
  - 文档总览:[`docs/README.md`](docs/README.md)
package/bin/README.md CHANGED
@@ -148,6 +148,9 @@ bifrost search "keyword" --res-body
148
148
 
149
149
  # 添加规则
150
150
  bifrost rule add local-dev --content "example.com host://127.0.0.1:3000"
151
+
152
+ # 编辑全局默认规则,主端口和所有临时端口都会自动生效
153
+ bifrost rule update Default --content "internal.example.test dns://10.0.0.53"
151
154
  ```
152
155
 
153
156
  搜索命令补充说明:
@@ -166,6 +169,8 @@ chatgpt.com http3://
166
169
  internal-api.example.test https://10.37.102.138:8080 upstreamUnsafeSsl://true
167
170
  ```
168
171
 
172
+ `Default` 是 Bifrost 自动创建的全局默认规则,始终启用且列表置顶。它不能删除、停用、重命名或同步到远端,但内容可以编辑;适合放统一 DNS、通用 header、TLS 兜底等所有端口都需要共享的配置。详见 [`docs/rule.md`](docs/rule.md#10-全局默认规则-default)。
173
+
169
174
  ## 文档索引
170
175
 
171
176
  - 文档总览:[`docs/README.md`](docs/README.md)
package/bin/bifrost CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifrost-proxy/bifrost-linux-x64",
3
- "version": "0.0.135",
3
+ "version": "0.0.136",
4
4
  "description": "Bifrost CLI binary for Linux x64",
5
5
  "license": "MIT",
6
6
  "repository": {