Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

Merge remote-tracking branch 'origin/dev' into feat/llm-provider-lifecycle-mcp-host

Diego Zacariasfc887e536d06
diff --cc control-ui/components/HostAdvancedTab/index.tsx
index 000000000,a70c79b2d..fca1d989d
mode 000000,100644..100644
--- a/control-ui/components/HostAdvancedTab/index.tsx
+++ b/control-ui/components/HostAdvancedTab/index.tsx
@@@ -1,0 -1,79 +1,75 @@@
+ 'use client'
+
+ import React, { useState } from 'react'
+ import { HostApprovalSection } from '@components/HostApprovalSection'
+ import { HostEnvTable } from '@components/HostEnvTable'
+ import { TabBar } from '@components/TabBar'
+ import type { AdvancedSubTab, HostAdvancedTabProps } from './types'
+
+ const ADVANCED_SUB_TABS: { key: AdvancedSubTab; label: string }[] = [
+ { key: 'approvals', label: 'Per-tool approval' },
+ { key: 'env', label: 'Env vars' },
+ ]
+
+ export function HostAdvancedTab({
+ busy,
+ hostName,
+ initialLoading,
+ initialTools,
+ onSaveApprovalTools,
+ }: HostAdvancedTabProps) {
+ const [subTab, setSubTab] = useState<AdvancedSubTab>('approvals')
+
+ return (
+ <section className="cu-advanced-tab" aria-label="Advanced">
+ <TabBar<AdvancedSubTab>
+ activeValue={subTab}
+ ariaLabel="Advanced settings"
+ className="cu-tabs--compact cu-advanced-tabs"
+ onChange={setSubTab}
+ options={ADVANCED_SUB_TABS.map(tab => ({ label: tab.label, value: tab.key }))}
+ />
+
+ <div className="cu-advanced-section">
+ {subTab === 'approvals' ? (
+ initialLoading ? (
- <div
- className="cu-table-wrap"
- role="status"
- aria-label="Loading approval tools"
- >
++ <div className="cu-table-wrap" role="status" aria-label="Loading approval tools">
+ <table className="cu-table cu-table--header-band cu-table--static-rows">
+ <thead>
+ <tr>
+ <th>Tool</th>
+ <th>Default</th>
+ <th className="cu-table__col-actions">Actions</th>
+ </tr>
+ </thead>
+ <tbody>
+ {[1, 2, 3, 4].map(i => (
+ <tr key={i}>
+ <td>
+ <div className="cu-skeleton cu-skeleton--cell" style={{ width: '8rem' }} />
+ </td>
+ <td>
+ <div className="cu-skeleton cu-skeleton--cell" style={{ width: '6rem' }} />
+ </td>
+ <td />
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ ) : (
+ <HostApprovalSection
+ busy={busy}
+ canWrite
+ defaultEditing
+ initialTools={initialTools}
+ onSave={onSaveApprovalTools}
+ />
+ )
+ ) : (
+ <HostEnvTable hostRef={hostName} />
+ )}
+ </div>
+ </section>
+ )
+ }
diff --cc control-ui/next.config.js
index 7b9bee733,6baa3f99a..8be20d4e7
--- a/control-ui/next.config.js
+++ b/control-ui/next.config.js
@@@ -111,6 -111,16 +111,20 @@@ const nextConfig =
{ source: '/publisher/:path*', destination: '/marketplace/org/entries', permanent: true },
{ source: '/cost', destination: '/cost-and-usage/usage', permanent: true },
{ source: '/cost/:path*', destination: '/cost-and-usage/:path*', permanent: true },
+ // Host detail tab consolidation (R1-H1 in feat/agent-ux-polish PR
+ // review): the old top-level tabs are now sub-tabs under the new
+ // `access` and `advanced` parents. Send each old slug to its new
+ // parent so bookmarks, shared links, and the approval-tools E2E
+ // (which navigates to /hosts/<name>/approvals) still reach the
+ // section they used to.
- { source: '/agents/:name/member-access', destination: '/agents/:name/access', permanent: true },
++ {
++ source: '/agents/:name/member-access',
++ destination: '/agents/:name/access',
++ permanent: true,
++ },
+ { source: '/agents/:name/team-access', destination: '/agents/:name/access', permanent: true },
+ { source: '/agents/:name/approvals', destination: '/agents/:name/advanced', permanent: true },
+ { source: '/agents/:name/env-vars', destination: '/agents/:name/advanced', permanent: true },
{ source: '/marketplace', destination: '/marketplace/connectors', permanent: true },
{ source: '/cost-and-usage', destination: '/cost-and-usage/usage', permanent: true },
{
diff --cc mcp-host/package-lock.json
index df150f9ed,15f46834e..6353d567d
--- a/mcp-host/package-lock.json
+++ b/mcp-host/package-lock.json
@@@ -1,12 -1,12 +1,12 @@@
{
"name": "clerum-mcp-host",
- "version": "0.1.242",
- "version": "0.1.240",
++ "version": "0.1.243",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-mcp-host",
- "version": "0.1.242",
- "version": "0.1.240",
++ "version": "0.1.243",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@anthropic-ai/sdk": "^0.32.0",
diff --cc mcp-host/package.json
index eec8a01de,0fd114fe5..03504a1f5
--- a/mcp-host/package.json
+++ b/mcp-host/package.json
@@@ -1,6 -1,6 +1,6 @@@
{
"name": "clerum-mcp-host",
- "version": "0.1.242",
- "version": "0.1.240",
++ "version": "0.1.243",
"description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude",
"main": "dist/main.js",
"engines": {