@melaya/runner 1.1.4 → 1.1.5
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/connection.js +7 -2
- package/package.json +1 -1
package/dist/connection.js
CHANGED
|
@@ -1257,8 +1257,13 @@ export async function connect(opts) {
|
|
|
1257
1257
|
// env; it arrives per-turn on the turn frame and is purged at turn end.
|
|
1258
1258
|
// This is part of the config hash so the host reboots if capability
|
|
1259
1259
|
// presence changes (a runner that gains/loses browser control restarts
|
|
1260
|
-
// the host automatically via config-drift detection above).
|
|
1261
|
-
|
|
1260
|
+
// the host automatically via config-drift detection above). MUST follow
|
|
1261
|
+
// payload.browserCapable, not a hardcoded "1": the host's _config_hash
|
|
1262
|
+
// appends "browser" only when this is set, and the server's hash does the
|
|
1263
|
+
// same only when cfg.browserCapable is true. Hardcoding "1" made the host
|
|
1264
|
+
// always hash "browser" while a non-browser server hash omitted it, which
|
|
1265
|
+
// pinned every turn to a permanent runner_host_config_stale.
|
|
1266
|
+
MEL_ASSISTANT_BROWSER_CAPABLE: payload.browserCapable ? "1" : "",
|
|
1262
1267
|
// Connector tool sets the user enabled for this chat (comma-joined service
|
|
1263
1268
|
// ids). The host seeds a lazy toolkit from these so ANY connector's tools
|
|
1264
1269
|
// are reachable without exploding context.
|