repowisestage 0.0.43 → 0.0.45
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/bin/repowise.js +10 -10
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -5731,7 +5731,7 @@ var claudeCodeWriter = {
|
|
|
5731
5731
|
const status2 = await writeMergedConfig({
|
|
5732
5732
|
path,
|
|
5733
5733
|
serverName: `repowise-${ctx.repoId}`,
|
|
5734
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5734
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5735
5735
|
});
|
|
5736
5736
|
return { status: status2, path };
|
|
5737
5737
|
},
|
|
@@ -5764,7 +5764,7 @@ var clineWriter = {
|
|
|
5764
5764
|
const status2 = await writeMergedConfig({
|
|
5765
5765
|
path,
|
|
5766
5766
|
serverName: `repowise-${ctx.repoId}`,
|
|
5767
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5767
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5768
5768
|
});
|
|
5769
5769
|
return { status: status2, path };
|
|
5770
5770
|
},
|
|
@@ -5794,7 +5794,7 @@ var codexWriter = {
|
|
|
5794
5794
|
const status2 = await writeMergedConfig({
|
|
5795
5795
|
path,
|
|
5796
5796
|
serverName: `repowise-${ctx.repoId}`,
|
|
5797
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5797
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5798
5798
|
});
|
|
5799
5799
|
return { status: status2, path };
|
|
5800
5800
|
},
|
|
@@ -5824,7 +5824,7 @@ var copilotWriter = {
|
|
|
5824
5824
|
const status2 = await writeMergedConfig({
|
|
5825
5825
|
path,
|
|
5826
5826
|
serverName: `repowise-${ctx.repoId}`,
|
|
5827
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5827
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5828
5828
|
});
|
|
5829
5829
|
return { status: status2, path };
|
|
5830
5830
|
},
|
|
@@ -5854,7 +5854,7 @@ var cursorWriter = {
|
|
|
5854
5854
|
const status2 = await writeMergedConfig({
|
|
5855
5855
|
path,
|
|
5856
5856
|
serverName: `repowise-${ctx.repoId}`,
|
|
5857
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5857
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5858
5858
|
});
|
|
5859
5859
|
return { status: status2, path };
|
|
5860
5860
|
},
|
|
@@ -5884,7 +5884,7 @@ var geminiCliWriter = {
|
|
|
5884
5884
|
const status2 = await writeMergedConfig({
|
|
5885
5885
|
path,
|
|
5886
5886
|
serverName: `repowise-${ctx.repoId}`,
|
|
5887
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5887
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5888
5888
|
});
|
|
5889
5889
|
return { status: status2, path };
|
|
5890
5890
|
},
|
|
@@ -5916,7 +5916,7 @@ var rooWriter = {
|
|
|
5916
5916
|
const status2 = await writeMergedConfig({
|
|
5917
5917
|
path,
|
|
5918
5918
|
serverName: `repowise-${ctx.repoId}`,
|
|
5919
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5919
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5920
5920
|
});
|
|
5921
5921
|
return { status: status2, path };
|
|
5922
5922
|
},
|
|
@@ -5947,7 +5947,7 @@ var windsurfWriter = {
|
|
|
5947
5947
|
const status2 = await writeMergedConfig({
|
|
5948
5948
|
path,
|
|
5949
5949
|
serverName: `repowise-${ctx.repoId}`,
|
|
5950
|
-
spec: { command: ctx.shimCmd, args: ["--repo-id", ctx.repoId] }
|
|
5950
|
+
spec: { command: ctx.shimCmd, args: ["mcp-shim", "--repo-id", ctx.repoId] }
|
|
5951
5951
|
});
|
|
5952
5952
|
return { status: status2, path };
|
|
5953
5953
|
},
|
|
@@ -10481,13 +10481,13 @@ Done \u2014 ${report.removed.length} removed, ${report.skipped.length} skipped.
|
|
|
10481
10481
|
}
|
|
10482
10482
|
|
|
10483
10483
|
// src/commands/mcp-shim.ts
|
|
10484
|
+
init_config_dir();
|
|
10484
10485
|
import { promises as fs17 } from "fs";
|
|
10485
10486
|
import { createInterface as createInterface2 } from "readline";
|
|
10486
|
-
import { homedir as homedir9 } from "os";
|
|
10487
10487
|
import { join as join44 } from "path";
|
|
10488
10488
|
var DEFAULT_MAX = 200 * 1024;
|
|
10489
10489
|
async function mcpShim(opts) {
|
|
10490
|
-
const endpointPath = opts.endpointFile ?? join44(
|
|
10490
|
+
const endpointPath = opts.endpointFile ?? join44(getConfigDir(), "listener.endpoint");
|
|
10491
10491
|
const stdin = opts.stdin ?? process.stdin;
|
|
10492
10492
|
const stdout = opts.stdout ?? process.stdout;
|
|
10493
10493
|
const stderr = opts.stderr ?? process.stderr;
|