@yeaft/webchat-agent 0.1.198 → 0.1.200

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "0.1.198",
3
+ "version": "0.1.200",
4
4
  "description": "Remote agent for Yeaft WebChat — connects worker machines to the central server",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/sdk/query.js CHANGED
@@ -338,6 +338,7 @@ export function query(config) {
338
338
  permissionMode = 'default',
339
339
  continue: continueConversation,
340
340
  resume,
341
+ forkSession,
341
342
  model,
342
343
  canCallTool,
343
344
  abort
@@ -359,6 +360,7 @@ export function query(config) {
359
360
  }
360
361
  if (continueConversation) args.push('--continue');
361
362
  if (resume) args.push('--resume', resume);
363
+ if (forkSession) args.push('--fork-session');
362
364
  if (allowedTools.length > 0) args.push('--allowedTools', ...allowedTools);
363
365
  if (disallowedTools.length > 0) args.push('--disallowedTools', ...disallowedTools);
364
366
  if (permissionMode) args.push('--permission-mode', permissionMode);