neko-harness 0.2.7 → 0.2.9
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/LICENSE +210 -0
- package/README.md +2 -0
- package/dist/client/assets/{index-B-Vl0yXY.js → index-BKYqZ61y.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/gateway.js +3 -3
- package/dist/neko.js +294 -115
- package/package.json +1 -1
package/dist/client/index.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='26' fill='%23ffb7c5'/%3E%3Ctext x='50' y='70' font-size='58' text-anchor='middle' fill='%23ffffff' font-family='sans-serif' font-weight='bold'%3En%3C/text%3E%3C/svg%3E"
|
|
10
10
|
/>
|
|
11
11
|
<title>neko harness</title>
|
|
12
|
-
<script type="module" crossorigin src="/assets/index-
|
|
12
|
+
<script type="module" crossorigin src="/assets/index-BKYqZ61y.js"></script>
|
|
13
13
|
<link rel="stylesheet" crossorigin href="/assets/index-BwqDUlvt.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
package/dist/gateway.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @bun
|
|
3
3
|
|
|
4
4
|
// packages/gateway/src/cli-args.ts
|
|
5
|
-
var GATEWAY_USAGE = `\u7528\u6CD5:
|
|
5
|
+
var GATEWAY_USAGE = `\u7528\u6CD5: neko serve [\u9009\u9879]
|
|
6
6
|
|
|
7
7
|
\u9009\u9879:
|
|
8
8
|
--host <ip> WebSocket \u76D1\u542C\u5730\u5740\uFF08\u9ED8\u8BA4 127.0.0.1\uFF0C\u4EC5\u672C\u673A\uFF09
|
|
@@ -2707,7 +2707,7 @@ import { dirname as dirname5, join as join7 } from "path";
|
|
|
2707
2707
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
2708
2708
|
|
|
2709
2709
|
// packages/core/src/application-version.ts
|
|
2710
|
-
var RUNNING_VERSION = "0.2.
|
|
2710
|
+
var RUNNING_VERSION = "0.2.9";
|
|
2711
2711
|
var APPLICATION_PROTOCOL = 1;
|
|
2712
2712
|
function stableVersion(value) {
|
|
2713
2713
|
return typeof value === "string" && /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/.test(value) && value.split(".").every((n) => Number.isSafeInteger(Number(n)));
|
|
@@ -4955,7 +4955,7 @@ if (gateway.socketPath !== undefined)
|
|
|
4955
4955
|
console.log(` Unix socket: ${gateway.socketPath}`);
|
|
4956
4956
|
if (gateway.wsUrl !== undefined)
|
|
4957
4957
|
console.log(` WebSocket: ${gateway.wsUrl}`);
|
|
4958
|
-
console.log("Ctrl
|
|
4958
|
+
console.log("\u6309 Ctrl+C \u505C\u6B62\u3002");
|
|
4959
4959
|
var stopping = false;
|
|
4960
4960
|
var stop = () => {
|
|
4961
4961
|
if (stopping)
|