edgeone 1.6.45 → 1.6.47

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.
@@ -693,8 +693,12 @@ async def app(scope: dict, receive, send) -> None:
693
693
  # 注意:这里不再立即 cancel watcher —— 流式分支需要它在 chunk 迭代时继续
694
694
  # 监听 disconnect。非流式分支会在下面 send 完后统一 cancel。
695
695
 
696
- # 统一日志:path + scfRequestId + statusCode 合并为一条
697
- print(f"Makers request path: {_pages_full_path} |scfRequestId={_scf_request_id}|statusCode={result.status}|", file=sys.stderr, flush=True)
696
+ # 统一日志:path + scfRequestId + statusCode + conversationId 合并为一条
697
+ print(
698
+ f"Makers request path: {_pages_full_path} |scfRequestId={_scf_request_id}|statusCode={result.status}|conversationId={_conv_id}|",
699
+ file=sys.stderr,
700
+ flush=True,
701
+ )
698
702
  _eo_pages_host = headers.get("eo-pages-host", "")
699
703
  _host_header = headers.get("host", "")
700
704
  if not _eo_pages_host or _eo_pages_host in ("localhost:9000", "undefined", "null") or _host_header == "localhost:9000":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edgeone",
3
- "version": "1.6.45",
3
+ "version": "1.6.47",
4
4
  "description": "Command-line interface for TencentCloud Pages Functions",
5
5
  "bin": {
6
6
  "edgeone": "./edgeone-bin/edgeone.js"