@yeaft/webchat-agent 1.0.408 → 1.0.410

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.
@@ -1173,8 +1173,12 @@ export class WorkItemRunner {
1173
1173
  runTools,
1174
1174
  operationLifecycle,
1175
1175
  });
1176
+ // Agent Plugins govern normal Session runtimes in this MVP. Work Center
1177
+ // owns separate control-plane tools and lifecycle, so forwarding the Agent
1178
+ // policy here could hide SubmitWorkItemPlan and other required run tools.
1179
+ const { plugins: _plugins, ...workCenterBaseConfig } = runtime.config;
1176
1180
  const config = {
1177
- ...runtime.config,
1181
+ ...workCenterBaseConfig,
1178
1182
  model: resolvedModel.model,
1179
1183
  // WorkItem model policy is part of the frozen execution contract. The
1180
1184
  // Agent-level fallback would silently execute a different model while