@insforge/mcp 1.1.7-dev.29 → 1.1.7-dev.30
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.
|
@@ -865,7 +865,7 @@ function registerInsforgeTools(server, config = {}) {
|
|
|
865
865
|
const addBackgroundContext = async (response) => {
|
|
866
866
|
try {
|
|
867
867
|
const currentVersion = await getBackendVersion();
|
|
868
|
-
const isLegacyVersion = compareVersions(currentVersion, "1.7
|
|
868
|
+
const isLegacyVersion = compareVersions(currentVersion, "1.1.7") < 0;
|
|
869
869
|
if (isLegacyVersion) {
|
|
870
870
|
const context = await fetchInsforgeInstructionsContext();
|
|
871
871
|
if (context && response.content && Array.isArray(response.content)) {
|
|
@@ -1582,7 +1582,7 @@ To: Your current project directory
|
|
|
1582
1582
|
return {
|
|
1583
1583
|
apiKey: GLOBAL_API_KEY,
|
|
1584
1584
|
apiBaseUrl: API_BASE_URL,
|
|
1585
|
-
toolCount:
|
|
1585
|
+
toolCount: 15
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
1588
|
|
package/dist/http-server.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED