@dreb/coding-agent 2.16.0 → 2.17.0

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.
@@ -2254,6 +2254,16 @@ export class AgentSession {
2254
2254
  return result;
2255
2255
  },
2256
2256
  },
2257
+ suggestNext: {
2258
+ onSuggest: (command) => {
2259
+ try {
2260
+ this._emit({ type: "suggest_next", command });
2261
+ }
2262
+ catch {
2263
+ // Swallow emit errors
2264
+ }
2265
+ },
2266
+ },
2257
2267
  subagent: {
2258
2268
  parentProvider: () => this.model?.provider,
2259
2269
  parentModel: () => this.model?.id,
@@ -2302,6 +2312,7 @@ export class AgentSession {
2302
2312
  "search",
2303
2313
  "skill",
2304
2314
  "tasks_update",
2315
+ "suggest_next",
2305
2316
  ];
2306
2317
  const baseActiveToolNames = options.activeToolNames ?? defaultActiveToolNames;
2307
2318
  this._refreshToolRegistry({