grain-tools 0.10.11 → 0.10.13

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/dist/mcp-app.html CHANGED
@@ -148961,7 +148961,7 @@ function App() {
148961
148961
  var _a3, _b3;
148962
148962
  if (!isReady || !activeTab) return;
148963
148963
  const tabId = activeTab.id;
148964
- updateTab(tabId, { isLoading: true, error: null });
148964
+ updateTab(tabId, { isLoading: true, error: null, cancelled: false, errorDetails: null });
148965
148965
  try {
148966
148966
  const callResult = await callServerTool("run_query", { sql, session: "mcp-app-manual" });
148967
148967
  if (callResult.isError) {
@@ -149105,7 +149105,10 @@ function App() {
149105
149105
  data: result,
149106
149106
  domLayout: "autoHeight"
149107
149107
  }
149108
- ) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sp-empty", children: "No results yet." }) })
149108
+ ) }) : activeTab.cancelled ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "sp-cancelled-bar sp-empty", children: [
149109
+ "Query cancelled",
149110
+ activeTab.errorDetails ? `: ${activeTab.errorDetails}` : ""
149111
+ ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sp-empty", children: "No results yet." }) })
149109
149112
  ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectionsManager, { theme: theme2 })
149110
149113
  ] })
149111
149114
  ] });
@@ -172990,20 +172993,6 @@ body.vscode-high-contrast .ag-theme-quartz {
172990
172993
  opacity: 0.9;
172991
172994
  }
172992
172995
 
172993
- /* ── Tab provenance badge (client type, shown in "All Sessions" view) ──── */
172994
- .sp-tab-provenance {
172995
- font-size: 10px;
172996
- font-weight: 600;
172997
- letter-spacing: 0.02em;
172998
- text-transform: uppercase;
172999
- color: var(--sp-muted-fg);
173000
- background: var(--sp-badge-bg);
173001
- border-radius: 3px;
173002
- padding: 1px 5px;
173003
- white-space: nowrap;
173004
- cursor: default;
173005
- }
173006
-
173007
172996
  /* ── MCP trust indicator ──────────────────────────────────── */
173008
172997
  .sp-trust-badge {
173009
172998
  font-size: 11px;
package/dist/web-app.html CHANGED
@@ -152517,10 +152517,7 @@ function MultiTabLayout({ emptyState } = {}) {
152517
152517
  children: [
152518
152518
  tab.isLoading && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sp-spinner" }),
152519
152519
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sp-tab-label", title: formatTabTooltip(tab), children: tab.title }),
152520
- showProvenance && tab.clientType && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
152521
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sp-tab-provenance", "aria-hidden": "true", children: tab.clientType }),
152522
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { id: `sp-tab-provenance-${tab.id}`, className: "sp-visually-hidden", children: formatTabTooltip(tab) })
152523
- ] }),
152520
+ showProvenance && tab.clientType && /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { id: `sp-tab-provenance-${tab.id}`, className: "sp-visually-hidden", children: formatTabTooltip(tab) }) }),
152524
152521
  /* @__PURE__ */ jsxRuntimeExports.jsx(
152525
152522
  "button",
152526
152523
  {
@@ -163575,20 +163572,6 @@ body.vscode-high-contrast .ag-theme-quartz {
163575
163572
  opacity: 0.9;
163576
163573
  }
163577
163574
 
163578
- /* ── Tab provenance badge (client type, shown in "All Sessions" view) ──── */
163579
- .sp-tab-provenance {
163580
- font-size: 10px;
163581
- font-weight: 600;
163582
- letter-spacing: 0.02em;
163583
- text-transform: uppercase;
163584
- color: var(--sp-muted-fg);
163585
- background: var(--sp-badge-bg);
163586
- border-radius: 3px;
163587
- padding: 1px 5px;
163588
- white-space: nowrap;
163589
- cursor: default;
163590
- }
163591
-
163592
163575
  /* ── MCP trust indicator ──────────────────────────────────── */
163593
163576
  .sp-trust-badge {
163594
163577
  font-size: 11px;