zephex 2.1.0 → 2.1.2
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/cli.js +5 -30
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1448,7 +1448,7 @@ function getCliVersion() {
|
|
|
1448
1448
|
CACHED_CLI_VERSION = "unknown";
|
|
1449
1449
|
return CACHED_CLI_VERSION;
|
|
1450
1450
|
}
|
|
1451
|
-
var DEFAULT_AUTH0_CLI_CLIENT_ID = process.env.AUTH0_CLI_CLIENT_ID ?? "
|
|
1451
|
+
var DEFAULT_AUTH0_CLI_CLIENT_ID = process.env.AUTH0_CLI_CLIENT_ID ?? "2JrCMEKyOdY1YDZxInqTamSGNSCX9DaS";
|
|
1452
1452
|
var DEFAULT_AUTH0_DOMAIN = "zephex.us.auth0.com";
|
|
1453
1453
|
var DEFAULT_AUTH0_AUDIENCE = "https://zephex.dev/mcp";
|
|
1454
1454
|
var ZEPHEX_API_BASE = "https://zephex.dev";
|
|
@@ -2120,26 +2120,6 @@ function editorOutroMessage(editor) {
|
|
|
2120
2120
|
return "You're connected. Reload VS Code to start using Zephex.";
|
|
2121
2121
|
}
|
|
2122
2122
|
}
|
|
2123
|
-
async function pickMode() {
|
|
2124
|
-
const choice = await de({
|
|
2125
|
-
message: "How should your agent access Zephex?",
|
|
2126
|
-
options: [
|
|
2127
|
-
{
|
|
2128
|
-
value: "mcp",
|
|
2129
|
-
label: "MCP server — connects your editor directly via the MCP protocol"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
value: "cli",
|
|
2133
|
-
label: "CLI + Skills — installs a skill file that guides your agent to use Zephex tools"
|
|
2134
|
-
}
|
|
2135
|
-
]
|
|
2136
|
-
});
|
|
2137
|
-
if (BD(choice)) {
|
|
2138
|
-
ve("Setup cancelled.");
|
|
2139
|
-
process.exit(0);
|
|
2140
|
-
}
|
|
2141
|
-
return choice;
|
|
2142
|
-
}
|
|
2143
2123
|
async function runCliSkillsMode(flags) {
|
|
2144
2124
|
let scope;
|
|
2145
2125
|
if (flags.universal) {
|
|
@@ -2171,26 +2151,21 @@ async function runSetup(argv) {
|
|
|
2171
2151
|
let mode;
|
|
2172
2152
|
if (flags.mode) {
|
|
2173
2153
|
mode = flags.mode;
|
|
2174
|
-
} else if (flags.editor !== null || flags.apiKey !== null) {
|
|
2175
|
-
mode = "mcp";
|
|
2176
2154
|
} else if (flags.universal) {
|
|
2177
2155
|
mode = "cli";
|
|
2178
2156
|
} else {
|
|
2179
|
-
mode =
|
|
2157
|
+
mode = "mcp";
|
|
2180
2158
|
}
|
|
2181
2159
|
if (mode === "cli") {
|
|
2182
2160
|
await runCliSkillsMode(flags);
|
|
2183
2161
|
return;
|
|
2184
2162
|
}
|
|
2185
2163
|
const resolvedClientId = process.env["AUTH0_CLI_CLIENT_ID"] || DEFAULT_AUTH0_CLI_CLIENT_ID;
|
|
2186
|
-
if (!resolvedClientId
|
|
2164
|
+
if (!resolvedClientId) {
|
|
2187
2165
|
process.stderr.write(`
|
|
2188
2166
|
Error: AUTH0_CLI_CLIENT_ID is not configured.
|
|
2189
|
-
` +
|
|
2190
|
-
` + `
|
|
2191
|
-
` + ` • Application type: Native
|
|
2192
|
-
` + ` • Allowed Callback URLs: http://localhost:52748/callback, http://localhost:52749/callback, http://localhost:52750/callback
|
|
2193
|
-
` + ` • Token Endpoint Auth Method: None
|
|
2167
|
+
` + `This should not happen with the published package. Report this at:
|
|
2168
|
+
` + ` https://github.com/zephex/mcp-proxy/issues
|
|
2194
2169
|
|
|
2195
2170
|
`);
|
|
2196
2171
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephex",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Zephex MCP — codebase intelligence tools for AI coding agents. stdio server that runs locally, reads your project files, and proxies AI calls to the Zephex backend.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli.js",
|