@nextclaw/server 0.11.8 → 0.11.10
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 +10 -0
- package/dist/index.js +0 -2
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1070,6 +1070,16 @@ type UiServerEvent = {
|
|
|
1070
1070
|
payload: {
|
|
1071
1071
|
sessionKey: string;
|
|
1072
1072
|
};
|
|
1073
|
+
} | {
|
|
1074
|
+
type: "session.summary.upsert";
|
|
1075
|
+
payload: {
|
|
1076
|
+
summary: NcpSessionSummary;
|
|
1077
|
+
};
|
|
1078
|
+
} | {
|
|
1079
|
+
type: "session.summary.delete";
|
|
1080
|
+
payload: {
|
|
1081
|
+
sessionKey: string;
|
|
1082
|
+
};
|
|
1073
1083
|
} | {
|
|
1074
1084
|
type: "config.reload.started";
|
|
1075
1085
|
payload?: Record<string, unknown>;
|
package/dist/index.js
CHANGED
|
@@ -3242,7 +3242,6 @@ var NcpSessionRoutesController = class {
|
|
|
3242
3242
|
if (!updated) {
|
|
3243
3243
|
return c.json(err("NOT_FOUND", `ncp session not found: ${sessionId}`), 404);
|
|
3244
3244
|
}
|
|
3245
|
-
this.options.publish({ type: "config.updated", payload: { path: "session" } });
|
|
3246
3245
|
return c.json(ok(updated));
|
|
3247
3246
|
};
|
|
3248
3247
|
deleteSession = async (c) => {
|
|
@@ -3256,7 +3255,6 @@ var NcpSessionRoutesController = class {
|
|
|
3256
3255
|
return c.json(err("NOT_FOUND", `ncp session not found: ${sessionId}`), 404);
|
|
3257
3256
|
}
|
|
3258
3257
|
await sessionApi.deleteSession(sessionId);
|
|
3259
|
-
this.options.publish({ type: "config.updated", payload: { path: "session" } });
|
|
3260
3258
|
return c.json(ok({ deleted: true, sessionId }));
|
|
3261
3259
|
};
|
|
3262
3260
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/server",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.10",
|
|
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.52",
|
|
22
21
|
"@nextclaw/ncp": "0.4.0",
|
|
23
|
-
"@nextclaw/
|
|
24
|
-
"@nextclaw/
|
|
25
|
-
"@nextclaw/core": "0.11.
|
|
26
|
-
"@nextclaw/
|
|
22
|
+
"@nextclaw/openclaw-compat": "0.3.44",
|
|
23
|
+
"@nextclaw/mcp": "0.1.53",
|
|
24
|
+
"@nextclaw/core": "0.11.6",
|
|
25
|
+
"@nextclaw/runtime": "0.2.20",
|
|
26
|
+
"@nextclaw/ncp-http-agent-server": "0.3.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.17.6",
|