Subtract dead agent husks and unify the gateway executor path.

Remove SpecialistAgentRunner, plan_agent_v2 re-export shims, empty runtime husks, and disconnected Admin knobs. Fold ops into build_gateway_executor, align AIA_ENABLE_PLUGIN_TOOLS with catalog, and allow ops on the default MCP specialist list.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-11 01:02:29 +08:00
parent e2fc72607e
commit 628a9dffd2
32 changed files with 127 additions and 870 deletions

View file

@ -5168,10 +5168,6 @@ async function renderPlugins() {
const installStatus = el("div", { class: "muted", text: "" });
const preflightFixWrap = el("div");
const toolPolicyStatus = el("div", { class: "muted", text: "" });
const legacyToolPolicyNote = el("div", {
class: "muted",
text: "Legacy tool-policy switches (confirm/retry/state-machine/signature budget) are disconnected under oclaw.",
});
const turnMaxWorkersInput = el("input", {
class: "input",
type: "number",
@ -5196,14 +5192,6 @@ async function renderPlugins() {
value: String(Number(toolPolicy.turn_max_context_messages || 80)),
style: "max-width:120px",
});
const turnRunnerImplNote = el("div", {
class: "muted",
text: "Turn runner: oclaw (legacy runners disconnected)",
});
const managerDecisionModeNote = el("div", {
class: "muted",
text: "Manager decision mode: (legacy disconnected)",
});
const sseQueueMaxsizeInput = el("input", {
class: "input",
type: "number",
@ -6638,8 +6626,7 @@ async function renderPlugins() {
applyWireRoleSelectorState();
applyWireRoleModeUiState();
const foldToolPolicy = pluginsFold(`【1】工具策略与已注册插件(${pluginCatalog.length})`, [
el("div", { class: "muted", text: "Tool policy(确认 / 重试)与 Python 工具插件表" }),
legacyToolPolicyNote,
el("div", { class: "muted", text: "Tool policy(并发 / 轮次 / MCP·插件开关)与 Python 工具插件表" }),
el("div", { class: "row" }, [
el("label", { text: "Turn max tool workers (1-32)" }),
turnMaxWorkersInput,
@ -6652,14 +6639,6 @@ async function renderPlugins() {
el("label", { text: "Turn max context messages (10-400)" }),
turnMaxCtxInput,
]),
el("div", { class: "row" }, [
el("label", { text: "Turn runner implementation" }),
turnRunnerImplNote,
]),
el("div", { class: "row" }, [
el("label", { text: "Manager decision mode" }),
managerDecisionModeNote,
]),
el("div", { class: "row" }, [
el("label", { text: "SSE queue maxsize (200-50000)" }),
sseQueueMaxsizeInput,