@solongate/proxy 0.1.4 → 0.1.5
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/create.js +7 -3
- package/dist/index.js +21 -11
- package/dist/init.js +7 -4
- package/dist/inject.js +7 -4
- package/package.json +1 -1
package/dist/create.js
CHANGED
|
@@ -216,9 +216,13 @@ async function main() {
|
|
|
216
216
|
const opts = parseCreateArgs(process.argv);
|
|
217
217
|
const dir = resolve(opts.name);
|
|
218
218
|
log("");
|
|
219
|
-
log("
|
|
220
|
-
log("
|
|
221
|
-
log("
|
|
219
|
+
log(" ____ _ ____ _");
|
|
220
|
+
log(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
|
|
221
|
+
log(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
|
|
222
|
+
log(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
|
|
223
|
+
log(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
|
|
224
|
+
log("");
|
|
225
|
+
log(" Create MCP Server");
|
|
222
226
|
log("");
|
|
223
227
|
if (existsSync(dir)) {
|
|
224
228
|
log(` Error: Directory "${opts.name}" already exists.`);
|
package/dist/index.js
CHANGED
|
@@ -144,10 +144,13 @@ POLICY PRESETS
|
|
|
144
144
|
async function main() {
|
|
145
145
|
const options = parseInitArgs(process.argv);
|
|
146
146
|
console.error("");
|
|
147
|
-
console.error("
|
|
148
|
-
console.error("
|
|
149
|
-
console.error("
|
|
150
|
-
console.error("
|
|
147
|
+
console.error(" ____ _ ____ _");
|
|
148
|
+
console.error(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
|
|
149
|
+
console.error(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
|
|
150
|
+
console.error(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
|
|
151
|
+
console.error(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
|
|
152
|
+
console.error("");
|
|
153
|
+
console.error(" Init Setup");
|
|
151
154
|
console.error("");
|
|
152
155
|
const configInfo = findConfigFile(options.configPath);
|
|
153
156
|
if (!configInfo) {
|
|
@@ -534,10 +537,13 @@ function showDiff(result) {
|
|
|
534
537
|
async function main2() {
|
|
535
538
|
const opts = parseInjectArgs(process.argv);
|
|
536
539
|
log2("");
|
|
537
|
-
log2("
|
|
538
|
-
log2("
|
|
539
|
-
log2("
|
|
540
|
-
log2("
|
|
540
|
+
log2(" ____ _ ____ _");
|
|
541
|
+
log2(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
|
|
542
|
+
log2(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
|
|
543
|
+
log2(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
|
|
544
|
+
log2(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
|
|
545
|
+
log2("");
|
|
546
|
+
log2(" Inject SDK");
|
|
541
547
|
log2("");
|
|
542
548
|
if (!detectProject()) {
|
|
543
549
|
log2(" Could not detect a TypeScript MCP server project.");
|
|
@@ -846,9 +852,13 @@ async function main3() {
|
|
|
846
852
|
const opts = parseCreateArgs(process.argv);
|
|
847
853
|
const dir = resolve4(opts.name);
|
|
848
854
|
log3("");
|
|
849
|
-
log3("
|
|
850
|
-
log3("
|
|
851
|
-
log3("
|
|
855
|
+
log3(" ____ _ ____ _");
|
|
856
|
+
log3(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
|
|
857
|
+
log3(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
|
|
858
|
+
log3(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
|
|
859
|
+
log3(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
|
|
860
|
+
log3("");
|
|
861
|
+
log3(" Create MCP Server");
|
|
852
862
|
log3("");
|
|
853
863
|
if (existsSync4(dir)) {
|
|
854
864
|
log3(` Error: Directory "${opts.name}" already exists.`);
|
package/dist/init.js
CHANGED
|
@@ -146,10 +146,13 @@ POLICY PRESETS
|
|
|
146
146
|
async function main() {
|
|
147
147
|
const options = parseInitArgs(process.argv);
|
|
148
148
|
console.error("");
|
|
149
|
-
console.error("
|
|
150
|
-
console.error("
|
|
151
|
-
console.error("
|
|
152
|
-
console.error("
|
|
149
|
+
console.error(" ____ _ ____ _");
|
|
150
|
+
console.error(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
|
|
151
|
+
console.error(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
|
|
152
|
+
console.error(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
|
|
153
|
+
console.error(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
|
|
154
|
+
console.error("");
|
|
155
|
+
console.error(" Init Setup");
|
|
153
156
|
console.error("");
|
|
154
157
|
const configInfo = findConfigFile(options.configPath);
|
|
155
158
|
if (!configInfo) {
|
package/dist/inject.js
CHANGED
|
@@ -248,10 +248,13 @@ function showDiff(result) {
|
|
|
248
248
|
async function main() {
|
|
249
249
|
const opts = parseInjectArgs(process.argv);
|
|
250
250
|
log("");
|
|
251
|
-
log("
|
|
252
|
-
log("
|
|
253
|
-
log("
|
|
254
|
-
log("
|
|
251
|
+
log(" ____ _ ____ _");
|
|
252
|
+
log(" / ___| ___ | | ___ _ __ / ___| __ _| |_ ___");
|
|
253
|
+
log(" \\___ \\ / _ \\| |/ _ \\| '_ \\| | _ / _` | __/ _ \\");
|
|
254
|
+
log(" ___) | (_) | | (_) | | | | |_| | (_| | || __/");
|
|
255
|
+
log(" |____/ \\___/|_|\\___/|_| |_|\\____|\\__,_|\\__\\___|");
|
|
256
|
+
log("");
|
|
257
|
+
log(" Inject SDK");
|
|
255
258
|
log("");
|
|
256
259
|
if (!detectProject()) {
|
|
257
260
|
log(" Could not detect a TypeScript MCP server project.");
|
package/package.json
CHANGED