@melaya/runner 1.1.66 → 1.1.68
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/dist/assistantHost.py +5 -0
- package/dist/pythonEnv.js +1 -0
- package/package.json +1 -1
package/dist/assistantHost.py
CHANGED
|
@@ -1374,6 +1374,10 @@ def _register_stream_hooks(agent) -> None:
|
|
|
1374
1374
|
_stream["toolIds"].add(_tid)
|
|
1375
1375
|
if _tname.startswith("browser_"):
|
|
1376
1376
|
_stream["usedBrowser"] = True
|
|
1377
|
+
# Send the held text tail first: the client closes the
|
|
1378
|
+
# bubble on a tool, so a tail flushed after it opened a new
|
|
1379
|
+
# bubble mid-word ("...before f" | "ixing the config.").
|
|
1380
|
+
_flush_delta(tid)
|
|
1377
1381
|
_emit(tid, "tool", name=_tname)
|
|
1378
1382
|
if not text:
|
|
1379
1383
|
return
|
|
@@ -1430,6 +1434,7 @@ def _register_stream_hooks(agent) -> None:
|
|
|
1430
1434
|
# session card); flag usage so the turn ends with browser_done.
|
|
1431
1435
|
if str(name).startswith("browser_"):
|
|
1432
1436
|
_stream["usedBrowser"] = True
|
|
1437
|
+
_flush_delta(tid) # held text tail before the tool (see pre_print)
|
|
1433
1438
|
_emit(tid, "tool", name=str(name))
|
|
1434
1439
|
except Exception:
|
|
1435
1440
|
pass
|
package/dist/pythonEnv.js
CHANGED
|
@@ -100,6 +100,7 @@ const PIP_DEPS = [
|
|
|
100
100
|
"aiohttp>=3.14", // google-genai 2.4+ streams with readline(max_line_length=)
|
|
101
101
|
"requests",
|
|
102
102
|
"python-dotenv",
|
|
103
|
+
"sether==0.2.0", // local PII/secret redaction boundary; includes phonenumbers
|
|
103
104
|
// google-genai — the native Gemini SDK agentscope's GeminiChatModel imports
|
|
104
105
|
// for provider google/gemini. Missing = every Gemini agent in a runner
|
|
105
106
|
// pipeline died at construction ("cannot import name 'genai' from
|