@nick3/copilot-api 1.0.7 → 1.0.8
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/admin/assets/index-DU5shzxS.js +55 -0
- package/dist/admin/index.html +1 -1
- package/dist/main.js +1 -1
- package/dist/{server-B3FY9yH2.js → server-BnJIteDi.js} +2 -2
- package/dist/{server-B3FY9yH2.js.map → server-BnJIteDi.js.map} +1 -1
- package/package.json +1 -1
- package/dist/admin/assets/index-DT3yCFaa.js +0 -55
package/dist/admin/index.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
})()
|
|
20
20
|
</script>
|
|
21
|
-
<script type="module" crossorigin src="/admin/assets/index-
|
|
21
|
+
<script type="module" crossorigin src="/admin/assets/index-DU5shzxS.js"></script>
|
|
22
22
|
<link rel="stylesheet" crossorigin href="/admin/assets/index-D-pIr-q0.css">
|
|
23
23
|
</head>
|
|
24
24
|
<body>
|
package/dist/main.js
CHANGED
|
@@ -633,7 +633,7 @@ async function runServer(options) {
|
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
consola.box(`🌐 Usage Viewer: https://ericc-ch.github.io/copilot-api?endpoint=${serverUrl}/usage`);
|
|
636
|
-
const { server } = await import("./server-
|
|
636
|
+
const { server } = await import("./server-BnJIteDi.js");
|
|
637
637
|
serve({
|
|
638
638
|
fetch: server.fetch,
|
|
639
639
|
port: options.port,
|
|
@@ -4796,7 +4796,7 @@ async function streamResponsesAndLog$1(params) {
|
|
|
4796
4796
|
if (chunk.event === "ping") {
|
|
4797
4797
|
await stream.writeSSE({
|
|
4798
4798
|
event: "ping",
|
|
4799
|
-
data: ""
|
|
4799
|
+
data: "{\"type\":\"ping\"}"
|
|
4800
4800
|
});
|
|
4801
4801
|
continue;
|
|
4802
4802
|
}
|
|
@@ -5653,4 +5653,4 @@ server.route("/v1/messages", messageRoutes);
|
|
|
5653
5653
|
|
|
5654
5654
|
//#endregion
|
|
5655
5655
|
export { server };
|
|
5656
|
-
//# sourceMappingURL=server-
|
|
5656
|
+
//# sourceMappingURL=server-BnJIteDi.js.map
|