总是在下面卡住:
DEBUG:websockets.client:= connection is CONNECTING
DEBUG:websockets.client:> GET /acp HTTP/1.1
DEBUG:websockets.client:> Host: localhost:8090
DEBUG:websockets.client:> Upgrade: websocket
DEBUG:websockets.client:> Connection: Upgrade
DEBUG:websockets.client:> Sec-WebSocket-Key: gLAHrpCGF2S1oS8hzfiAPA==
DEBUG:websockets.client:> Sec-WebSocket-Version: 13
DEBUG:websockets.client:> Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
DEBUG:websockets.client:> User-Agent: Python/3.13 websockets/15.0.1
DEBUG:websockets.client:< HTTP/1.1 101 Switching Protocols
DEBUG:websockets.client:< Upgrade: websocket
DEBUG:websockets.client:< Connection: Upgrade
DEBUG:websockets.client:< Sec-WebSocket-Accept: BWV2sLUCw0YX97/3Bz5WJWO2T+8=
DEBUG:websockets.client:= connection is OPEN
INFO:iflow_sdk._internal.transport:Connected to ws://localhost:8090/acp
INFO:iflow_sdk._internal.protocol:Waiting for //ready signal…
DEBUG:websockets.client:< TEXT ‘//ready’ [7 bytes]
DEBUG:iflow_sdk._internal.transport:Broker received: //ready
DEBUG:websockets.client:< TEXT ‘//stderr [WS 1] Embedded iFlow ACP peer started’ [47 bytes]
DEBUG:iflow_sdk._internal.transport:Received message: //ready
INFO:iflow_sdk._internal.protocol:Received //ready signal
DEBUG:websockets.client:> TEXT ‘{“jsonrpc”: “2.0”, “id”: 1, “method”: "initiali…e}, “terminal”: true}}}’ [182 bytes]
DEBUG:iflow_sdk._internal.transport:Sent message: {“jsonrpc”: “2.0”, “id”: 1, “method”: “initialize”, “params”: {“protocolVersion”: 1, “clientCapabilities”: {“fs”: {“readTextFile”: false, “writeTextFile”: false}, “terminal”: true}}}
INFO:iflow_sdk._internal.protocol:Sent initialize request
DEBUG:iflow_sdk._internal.transport:Broker received: //stderr [WS 1] Embedded iFlow ACP peer started
DEBUG:iflow_sdk._internal.transport:Received message: //stderr [WS 1] Embedded iFlow ACP peer started
DEBUG:iflow_sdk._internal.protocol:Control message: //stderr [WS 1] Embedded iFlow ACP peer started
iflow cli, 和iflow cli sdk都是最新的。