@yeaft/webchat-agent 1.0.409 → 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.
- package/connection/message-router.js +24 -2
- package/llm-config-cli.js +36 -3
- package/local-runtime/server/handlers/agent-output.js +14 -0
- package/local-runtime/server/handlers/agent-sync.js +6 -1
- package/local-runtime/server/handlers/client-conversation.js +4 -0
- package/local-runtime/server/handlers/client-misc.js +27 -0
- package/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +166 -64
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
- package/yeaft/config-api.js +109 -48
- package/yeaft/config.js +56 -9
- package/yeaft/engine.js +98 -43
- package/yeaft/plugins.js +170 -0
- package/yeaft/session.js +7 -4
- package/yeaft/sessions/feature-flag.js +42 -9
- package/yeaft/tools/mcp-tools.js +1 -0
- package/yeaft/tools/registry.js +51 -7
- package/yeaft/tools/types.js +6 -0
- package/yeaft/web-bridge.js +317 -89
- package/yeaft/work-center/runner.js +5 -1
|
@@ -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
|
-
...
|
|
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
|