@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/connection/message-router.js +5 -1
- package/conversation.js +61 -0
- package/expert-roles.js +368 -368
- package/package.json +1 -1
- package/sdk/query.js +2 -0
package/package.json
CHANGED
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);
|