blun-king-cli 9.1.11 → 9.1.12
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/bin/blun.js +0 -0
- package/bin/core-bootstrap.js +0 -0
- package/bin/king.js +0 -0
- package/bin/launcher-mode.js +0 -0
- package/bin/launcher-runtime.js +0 -0
- package/bin/plugin-bootstrap.js +0 -0
- package/bin/private-paths.js +0 -0
- package/bin/standard-tools-bootstrap.js +0 -0
- package/bin/update-lease.js +0 -0
- package/bin/update-notice.js +0 -0
- package/blun.mjs +0 -0
- package/package.json +1 -1
- package/standard-tools/language-guard/blun_language_guard.py +7 -2
package/bin/blun.js
CHANGED
|
File without changes
|
package/bin/core-bootstrap.js
CHANGED
|
File without changes
|
package/bin/king.js
CHANGED
|
File without changes
|
package/bin/launcher-mode.js
CHANGED
|
File without changes
|
package/bin/launcher-runtime.js
CHANGED
|
File without changes
|
package/bin/plugin-bootstrap.js
CHANGED
|
File without changes
|
package/bin/private-paths.js
CHANGED
|
File without changes
|
|
File without changes
|
package/bin/update-lease.js
CHANGED
|
File without changes
|
package/bin/update-notice.js
CHANGED
|
File without changes
|
package/blun.mjs
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -663,8 +663,13 @@ def handle_message(message: dict[str, Any]) -> dict[str, Any] | None:
|
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
|
|
666
|
-
def serve() -> int:
|
|
667
|
-
|
|
666
|
+
def serve() -> int:
|
|
667
|
+
# MCP stdio is UTF-8; Windows otherwise decodes it using the system code page.
|
|
668
|
+
for stream in (sys.stdin, sys.stdout):
|
|
669
|
+
reconfigure = getattr(stream, "reconfigure", None)
|
|
670
|
+
if reconfigure is not None:
|
|
671
|
+
reconfigure(encoding="utf-8")
|
|
672
|
+
for line in sys.stdin:
|
|
668
673
|
if not line.strip():
|
|
669
674
|
continue
|
|
670
675
|
try:
|