Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dist/7846.aeb0ae4823b8f56f.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/7846.ec7ac8023cd7c3fa.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
<body class="mat-typography">
<df-root></df-root>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<script src="runtime.88f333db19f023f3.js" type="module"></script><script src="polyfills.cb64ea9d35bc0a9e.js" type="module"></script><script src="main.a54e1010cb4191bc.js" type="module"></script></body>
<script src="runtime.80f033498e05fea4.js" type="module"></script><script src="polyfills.cb64ea9d35bc0a9e.js" type="module"></script><script src="main.ad26fc0e021d9867.js" type="module"></script></body>
</html>
1 change: 1 addition & 0 deletions dist/runtime.80f033498e05fea4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,121 @@ <h4 class="text-center" style="color: black !important">
</ng-container>
</ng-container>
</ng-container>

<!-- MCP Available Services & Tools -->
<ng-container *ngIf="isMcp && edit">
<mat-accordion class="full-width">
<mat-expansion-panel [expanded]="true">
<mat-expansion-panel-header> MCP Tools </mat-expansion-panel-header>
<div class="details-section" *ngIf="!mcpServicesLoaded">
<p>Loading services...</p>
</div>
<div
class="details-section"
*ngIf="
mcpServicesLoaded &&
mcpServices.length === 0 &&
mcpGlobalTools.length === 0
">
<p>No database or file services found.</p>
</div>
<div *ngIf="mcpServicesLoaded" class="mcp-tools-container">
<mat-accordion multi>
<!-- Global (cross-service) tools -->
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title class="mcp-service-header">
<mat-slide-toggle
color="primary"
[checked]="isAllGlobalToolsEnabled()"
(change)="toggleAllGlobalTools($event.checked)"
(click)="$event.stopPropagation()">
</mat-slide-toggle>
<span>Global Tools</span>
</mat-panel-title>
<mat-panel-description>
Cross-service &middot; {{ mcpGlobalTools.length }} tools
</mat-panel-description>
</mat-expansion-panel-header>
<table class="mcp-services-table full-width">
<thead>
<tr>
<th class="toggle-col"></th>
<th>Tool Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr
*ngFor="let tool of mcpGlobalTools"
[class.disabled-row]="!isToolEnabled(tool.name)">
<td class="toggle-col">
<mat-slide-toggle
color="primary"
[checked]="isToolEnabled(tool.name)"
(change)="toggleTool(tool.name, $event.checked)">
</mat-slide-toggle>
</td>
<td>
<code>{{ tool.name }}</code>
</td>
<td>{{ tool.description }}</td>
</tr>
</tbody>
</table>
</mat-expansion-panel>

<!-- Per-service tools -->
<mat-expansion-panel
*ngFor="let svc of mcpServices"
[expanded]="svc.expanded">
<mat-expansion-panel-header>
<mat-panel-title class="mcp-service-header">
<mat-slide-toggle
color="primary"
[checked]="isServiceEnabled(svc)"
(change)="toggleService(svc, $event.checked)"
(click)="$event.stopPropagation()">
</mat-slide-toggle>
<span>{{ svc.label }}</span>
</mat-panel-title>
<mat-panel-description>
{{ svc.category }} &middot; {{ svc.tools.length }} tools
</mat-panel-description>
</mat-expansion-panel-header>
<table class="mcp-services-table full-width">
<thead>
<tr>
<th class="toggle-col"></th>
<th>Tool Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr
*ngFor="let tool of svc.tools"
[class.disabled-row]="!isToolEnabled(tool.name)">
<td class="toggle-col">
<mat-slide-toggle
color="primary"
[checked]="isToolEnabled(tool.name)"
(change)="toggleTool(tool.name, $event.checked)">
</mat-slide-toggle>
</td>
<td>
<code>{{ tool.name }}</code>
</td>
<td>{{ tool.description }}</td>
</tr>
</tbody>
</table>
</mat-expansion-panel>
</mat-accordion>
</div>
</mat-expansion-panel>
</mat-accordion>
</ng-container>

<div class="full-width action-bar" *ngIf="!subscriptionRequired">
<button
mat-flat-button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,55 @@ mat-icon {
}
}

.mcp-tools-container {
padding: 8px 0;

code {
font-size: 12px;
padding: 2px 6px;
background: rgba(0, 0, 0, 0.06);
border-radius: 4px;
white-space: nowrap;
}
}

.mcp-service-header {
display: flex;
align-items: center;
gap: 12px;
}

.toggle-col {
width: 60px;
}

.disabled-row {
opacity: 0.5;
}

.mcp-services-table {
width: 100%;
border-collapse: collapse;

th,
td {
text-align: left;
padding: 8px 12px;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

th {
font-weight: 500;
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
text-transform: uppercase;
}

td {
font-size: 14px;
}
}

.basic-fields-section {
margin-bottom: 2rem;

Expand Down
Loading