@nextclaw/server 0.11.8 → 0.11.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/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.8",
3
+ "version": "0.11.9",
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/ncp-http-agent-server": "0.3.4",
24
- "@nextclaw/runtime": "0.2.19",
25
- "@nextclaw/core": "0.11.5",
26
- "@nextclaw/openclaw-compat": "0.3.42"
22
+ "@nextclaw/mcp": "0.1.53",
23
+ "@nextclaw/core": "0.11.6",
24
+ "@nextclaw/runtime": "0.2.20",
25
+ "@nextclaw/openclaw-compat": "0.3.43",
26
+ "@nextclaw/ncp-http-agent-server": "0.3.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^20.17.6",