@lambda-development/erp-core 0.6.12 → 0.6.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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7636,7 +7636,7 @@ const Yt = { viewer: 1, manager: 2, admin: 3 };
|
|
|
7636
7636
|
function Sa({ ownRole: t }) {
|
|
7637
7637
|
const { t: n } = X(), { user: a } = st(), s = He(), [o, i] = w(""), [l, c] = w(t in Yt ? t : "viewer"), [h, d] = w(null), [p, u] = w(null), f = ["viewer", "manager", "admin"].filter(
|
|
7638
7638
|
(g) => Yt[g] <= (Yt[t] ?? 1)
|
|
7639
|
-
), v = `${window.location.origin}/api/mcp`, N = h ? `claude mcp add --transport http lambda-erp ${v} \\
|
|
7639
|
+
), v = `${window.location.origin}/api/mcp`, N = h ? `claude mcp add --transport http --scope user lambda-erp ${v} \\
|
|
7640
7640
|
--header "Authorization: Bearer ${h}"` : "", b = h ? `# ~/.codex/config.toml
|
|
7641
7641
|
[mcp_servers.lambda-erp]
|
|
7642
7642
|
url = "${v}"
|