@jeffreycao/copilot-api 2.1.3 → 2.1.4
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/main.js +1 -1
- package/dist/{server-CF6ryUB1.js → server-BwT9agIL.js} +3 -3
- package/dist/{server-CF6ryUB1.js.map → server-BwT9agIL.js.map} +1 -1
- package/dist/{start-CfqpNRSH.js → start-B5CJA1Cx.js} +2 -2
- package/dist/{start-CfqpNRSH.js.map → start-B5CJA1Cx.js.map} +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -25,7 +25,7 @@ bindElectronFetch();
|
|
|
25
25
|
const { auth } = await import("./auth-DH-ThnhJ.js");
|
|
26
26
|
const { debug } = await import("./debug-D2giR-Kj.js");
|
|
27
27
|
const { mcp } = await import("./mcp-BG6fpi6q.js");
|
|
28
|
-
const { start } = await import("./start-
|
|
28
|
+
const { start } = await import("./start-B5CJA1Cx.js");
|
|
29
29
|
await runMain(defineCommand({
|
|
30
30
|
meta: {
|
|
31
31
|
name: "copilot-api",
|
|
@@ -9076,9 +9076,9 @@ var CustomToolInputStreamDecoder = class {
|
|
|
9076
9076
|
this.encodedInput = this.encodedInput.slice(this.safeInputLength);
|
|
9077
9077
|
this.safeInputLength = 0;
|
|
9078
9078
|
}
|
|
9079
|
-
fail(
|
|
9079
|
+
fail(_reason) {
|
|
9080
9080
|
this.failed = true;
|
|
9081
|
-
throw new ResponsesMessagesTranslationError(`
|
|
9081
|
+
throw new ResponsesMessagesTranslationError(`Invalid tool input JSON. Expected format: {"input":"..."}`, 502);
|
|
9082
9082
|
}
|
|
9083
9083
|
};
|
|
9084
9084
|
function isJsonWhitespace(char) {
|
|
@@ -10305,4 +10305,4 @@ server.route("/:provider/images", providerImageRoutes);
|
|
|
10305
10305
|
//#endregion
|
|
10306
10306
|
export { server };
|
|
10307
10307
|
|
|
10308
|
-
//# sourceMappingURL=server-
|
|
10308
|
+
//# sourceMappingURL=server-BwT9agIL.js.map
|