uloop-cli 0.69.0 → 0.69.2
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/cli.bundle.cjs
CHANGED
|
@@ -5542,7 +5542,9 @@ var DirectUnityClient = class {
|
|
|
5542
5542
|
this.receiveBuffer = extractResult.remainingData;
|
|
5543
5543
|
const response = JSON.parse(extractResult.jsonContent);
|
|
5544
5544
|
if (response.error) {
|
|
5545
|
-
|
|
5545
|
+
const data = response.error.data;
|
|
5546
|
+
const dataMessage = data !== null && data !== void 0 && typeof data === "object" && "message" in data ? ` (${data.message})` : "";
|
|
5547
|
+
reject(new Error(`Unity error: ${response.error.message}${dataMessage}`));
|
|
5546
5548
|
return;
|
|
5547
5549
|
}
|
|
5548
5550
|
resolve7(response.result);
|
|
@@ -5858,7 +5860,7 @@ async function validateConnectedProject(client, expectedProjectRoot) {
|
|
|
5858
5860
|
try {
|
|
5859
5861
|
response = await client.sendRequest("get-version", {});
|
|
5860
5862
|
} catch (error) {
|
|
5861
|
-
if (error instanceof Error && (error.message.includes(`${JSON_RPC_METHOD_NOT_FOUND}`) || /method not found/i.test(error.message))) {
|
|
5863
|
+
if (error instanceof Error && (error.message.includes(`${JSON_RPC_METHOD_NOT_FOUND}`) || /method not found/i.test(error.message) || /unknown tool/i.test(error.message))) {
|
|
5862
5864
|
console.error(
|
|
5863
5865
|
"Warning: Could not verify project identity (get-version not available). Consider updating uLoopMCP package."
|
|
5864
5866
|
);
|
|
@@ -5884,7 +5886,7 @@ var import_path4 = require("path");
|
|
|
5884
5886
|
|
|
5885
5887
|
// src/default-tools.json
|
|
5886
5888
|
var default_tools_default = {
|
|
5887
|
-
version: "0.69.
|
|
5889
|
+
version: "0.69.2",
|
|
5888
5890
|
tools: [
|
|
5889
5891
|
{
|
|
5890
5892
|
name: "compile",
|
|
@@ -6413,7 +6415,7 @@ function getCachedServerVersion() {
|
|
|
6413
6415
|
}
|
|
6414
6416
|
|
|
6415
6417
|
// src/version.ts
|
|
6416
|
-
var VERSION = "0.69.
|
|
6418
|
+
var VERSION = "0.69.2";
|
|
6417
6419
|
|
|
6418
6420
|
// src/spinner.ts
|
|
6419
6421
|
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|