@nextclaw/server 0.10.18 → 0.10.19
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/index.d.ts +0 -1
- package/dist/index.js +2 -6
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4849,9 +4849,6 @@ var SkillMarketplaceController = class {
|
|
|
4849
4849
|
|
|
4850
4850
|
// src/ui/router/remote.controller.ts
|
|
4851
4851
|
var REMOTE_SERVICE_ACTIONS = /* @__PURE__ */ new Set(["start", "restart", "stop"]);
|
|
4852
|
-
function readBoolean(value) {
|
|
4853
|
-
return typeof value === "boolean" ? value : void 0;
|
|
4854
|
-
}
|
|
4855
4852
|
function readTrimmedString(value) {
|
|
4856
4853
|
return typeof value === "string" ? value.trim() : void 0;
|
|
4857
4854
|
}
|
|
@@ -4887,8 +4884,7 @@ var RemoteRoutesController = class {
|
|
|
4887
4884
|
return c.json(ok(await this.host.login({
|
|
4888
4885
|
email,
|
|
4889
4886
|
password,
|
|
4890
|
-
apiBase: readTrimmedString(body.data.apiBase)
|
|
4891
|
-
register: readBoolean(body.data.register)
|
|
4887
|
+
apiBase: readTrimmedString(body.data.apiBase)
|
|
4892
4888
|
})));
|
|
4893
4889
|
} catch (error) {
|
|
4894
4890
|
return c.json(err("REMOTE_LOGIN_FAILED", formatUserFacingError(error)), 400);
|
|
@@ -4939,7 +4935,7 @@ var RemoteRoutesController = class {
|
|
|
4939
4935
|
}
|
|
4940
4936
|
try {
|
|
4941
4937
|
return c.json(ok(await this.host.updateSettings({
|
|
4942
|
-
enabled:
|
|
4938
|
+
enabled: typeof body.data.enabled === "boolean" ? body.data.enabled : void 0,
|
|
4943
4939
|
deviceName: readTrimmedString(body.data.deviceName),
|
|
4944
4940
|
platformApiBase: readTrimmedString(body.data.platformApiBase)
|
|
4945
4941
|
})));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/server",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Nextclaw UI/API server.",
|
|
6
6
|
"type": "module",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"@hono/node-server": "^1.13.3",
|
|
19
19
|
"hono": "^4.6.2",
|
|
20
20
|
"ws": "^8.18.0",
|
|
21
|
-
"@nextclaw/mcp": "0.1.
|
|
22
|
-
"@nextclaw/
|
|
21
|
+
"@nextclaw/mcp": "0.1.19",
|
|
22
|
+
"@nextclaw/runtime": "0.2.8",
|
|
23
|
+
"@nextclaw/core": "0.9.8",
|
|
24
|
+
"@nextclaw/ncp-http-agent-server": "0.3.1",
|
|
23
25
|
"@nextclaw/ncp": "0.3.1",
|
|
24
|
-
"@nextclaw/
|
|
25
|
-
"@nextclaw/runtime": "0.2.7",
|
|
26
|
-
"@nextclaw/ncp-http-agent-server": "0.3.1"
|
|
26
|
+
"@nextclaw/openclaw-compat": "0.3.11"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.17.6",
|