@yeaft/webchat-agent 0.1.252 → 0.1.254

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/conversation.js CHANGED
@@ -159,7 +159,8 @@ export async function preloadSlashCommands(workDir, targetId = '__preload__') {
159
159
  cwd: effectiveWorkDir,
160
160
  permissionMode: 'bypassPermissions',
161
161
  abort: abortController.signal,
162
- maxTurns: 1
162
+ maxTurns: 1,
163
+ noSessionPersistence: true
163
164
  }
164
165
  });
165
166
  for await (const message of claudeQuery) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeaft/webchat-agent",
3
- "version": "0.1.252",
3
+ "version": "0.1.254",
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
@@ -341,7 +341,8 @@ export function query(config) {
341
341
  forkSession,
342
342
  model,
343
343
  canCallTool,
344
- abort
344
+ abort,
345
+ noSessionPersistence
345
346
  } = {}
346
347
  } = config;
347
348
 
@@ -364,6 +365,7 @@ export function query(config) {
364
365
  if (allowedTools.length > 0) args.push('--allowedTools', ...allowedTools);
365
366
  if (disallowedTools.length > 0) args.push('--disallowedTools', ...disallowedTools);
366
367
  if (permissionMode) args.push('--permission-mode', permissionMode);
368
+ if (noSessionPersistence) args.push('--no-session-persistence');
367
369
 
368
370
  // Handle prompt input
369
371
  if (typeof prompt === 'string') {