@trops/dash-core 0.1.495 → 0.1.496
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/index.esm.js +7 -15
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48852,7 +48852,7 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
|
|
|
48852
48852
|
isOpen: isOpen,
|
|
48853
48853
|
setIsOpen: setIsOpen,
|
|
48854
48854
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
48855
|
-
className: "flex flex-col w-full max-w-xl
|
|
48855
|
+
className: "flex flex-col w-full max-w-xl border-2 border-amber-500 rounded",
|
|
48856
48856
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
48857
48857
|
className: "px-5 py-4 border-b border-gray-700",
|
|
48858
48858
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
@@ -48871,20 +48871,12 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
|
|
|
48871
48871
|
children: "Server name"
|
|
48872
48872
|
}), /*#__PURE__*/jsxRuntime.jsx("input", {
|
|
48873
48873
|
type: "text",
|
|
48874
|
-
list: "known-mcp-servers",
|
|
48875
48874
|
value: serverName,
|
|
48876
48875
|
onChange: function onChange(e) {
|
|
48877
48876
|
return setServerName(e.target.value);
|
|
48878
48877
|
},
|
|
48879
|
-
placeholder: "e.g. filesystem, github, slack",
|
|
48880
|
-
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700"
|
|
48881
|
-
}), /*#__PURE__*/jsxRuntime.jsx("datalist", {
|
|
48882
|
-
id: "known-mcp-servers",
|
|
48883
|
-
children: knownServerNames.map(function (n) {
|
|
48884
|
-
return /*#__PURE__*/jsxRuntime.jsx("option", {
|
|
48885
|
-
value: n
|
|
48886
|
-
}, n);
|
|
48887
|
-
})
|
|
48878
|
+
placeholder: knownServerNames.length > 0 ? "e.g. ".concat(knownServerNames.slice(0, 3).join(", ")) : "e.g. filesystem, github, slack",
|
|
48879
|
+
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 text-gray-200"
|
|
48888
48880
|
})]
|
|
48889
48881
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
48890
48882
|
className: "flex flex-col gap-1",
|
|
@@ -48898,7 +48890,7 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
|
|
|
48898
48890
|
return setToolsText(e.target.value);
|
|
48899
48891
|
},
|
|
48900
48892
|
placeholder: "e.g. read_file, list_directory",
|
|
48901
|
-
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 font-mono"
|
|
48893
|
+
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 text-gray-200 font-mono"
|
|
48902
48894
|
})]
|
|
48903
48895
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
48904
48896
|
className: "flex flex-col gap-1",
|
|
@@ -48912,7 +48904,7 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
|
|
|
48912
48904
|
},
|
|
48913
48905
|
placeholder: "/Users/jane/Documents\n/tmp/notes",
|
|
48914
48906
|
rows: 3,
|
|
48915
|
-
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 font-mono"
|
|
48907
|
+
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 text-gray-200 font-mono"
|
|
48916
48908
|
})]
|
|
48917
48909
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
48918
48910
|
className: "flex flex-col gap-1",
|
|
@@ -48926,10 +48918,10 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
|
|
|
48926
48918
|
},
|
|
48927
48919
|
placeholder: "/tmp/output",
|
|
48928
48920
|
rows: 3,
|
|
48929
|
-
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 font-mono"
|
|
48921
|
+
className: "text-xs px-2 py-1.5 rounded bg-gray-800 border border-gray-700 text-gray-200 font-mono"
|
|
48930
48922
|
})]
|
|
48931
48923
|
}), error && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
48932
|
-
className: "text-xs text-red-400 bg-red-
|
|
48924
|
+
className: "text-xs text-red-400 bg-red-950 border border-red-700 rounded px-3 py-2",
|
|
48933
48925
|
children: error
|
|
48934
48926
|
})]
|
|
48935
48927
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|