nextclaw 0.9.17 → 0.9.18

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +12 -1
  2. package/package.json +5 -5
package/dist/cli/index.js CHANGED
@@ -2907,6 +2907,8 @@ var MissingProvider = class extends LLMProvider {
2907
2907
  import {
2908
2908
  NativeAgentEngine,
2909
2909
  CommandRegistry,
2910
+ createAssistantStreamDeltaControlMessage,
2911
+ createAssistantStreamResetControlMessage,
2910
2912
  AgentRouteResolver,
2911
2913
  getWorkspacePath as getWorkspacePath4,
2912
2914
  parseAgentScopedSessionKey
@@ -3091,10 +3093,19 @@ var GatewayAgentRuntimePool = class {
3091
3093
  sessionKeyOverride: explicitSessionKey
3092
3094
  });
3093
3095
  const runtime2 = this.resolveRuntime(route.agentId);
3096
+ if (message.channel !== "system") {
3097
+ await this.options.bus.publishOutbound(createAssistantStreamResetControlMessage(message));
3098
+ }
3094
3099
  await runtime2.engine.handleInbound({
3095
3100
  message,
3096
3101
  sessionKey: route.sessionKey,
3097
- publishResponse: true
3102
+ publishResponse: true,
3103
+ onAssistantDelta: message.channel !== "system" ? (delta) => {
3104
+ if (!delta) {
3105
+ return;
3106
+ }
3107
+ void this.options.bus.publishOutbound(createAssistantStreamDeltaControlMessage(message, delta));
3108
+ } : void 0
3098
3109
  });
3099
3110
  if (message.channel === "system") {
3100
3111
  this.onSystemSessionUpdated?.({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.9.17",
3
+ "version": "0.9.18",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -38,10 +38,10 @@
38
38
  "dependencies": {
39
39
  "chokidar": "^3.6.0",
40
40
  "commander": "^12.1.0",
41
- "@nextclaw/core": "^0.7.2",
42
- "@nextclaw/runtime": "^0.1.1",
43
- "@nextclaw/server": "^0.6.5",
44
- "@nextclaw/openclaw-compat": "^0.2.0"
41
+ "@nextclaw/core": "^0.7.3",
42
+ "@nextclaw/runtime": "^0.1.2",
43
+ "@nextclaw/server": "0.6.6",
44
+ "@nextclaw/openclaw-compat": "0.2.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^20.17.6",