@walkeros/mcp 4.7.1-next-1791015692826 → 4.7.1
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/stdio.js +6 -6
- package/dist/stdio.js.map +1 -1
- package/package.json +4 -4
package/dist/stdio.js
CHANGED
|
@@ -826,7 +826,7 @@ var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
|
|
|
826
826
|
var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
|
|
827
827
|
var WALKEROS_JSON_PATH = "dist/walkerOS.json";
|
|
828
828
|
var CACHE_TTL = 5 * 60 * 1e3;
|
|
829
|
-
var CLIENT_HEADER = "walkeros-mcp/4.7.1
|
|
829
|
+
var CLIENT_HEADER = "walkeros-mcp/4.7.1";
|
|
830
830
|
function getPackageBaseUrl() {
|
|
831
831
|
return process.env.WALKEROS_APP_URL || void 0;
|
|
832
832
|
}
|
|
@@ -1664,7 +1664,7 @@ async function feedbackHandlerBody(client, input) {
|
|
|
1664
1664
|
const isAnonymous = explicitAnonymous ?? anonymous ?? true;
|
|
1665
1665
|
await client.submitFeedback(text, {
|
|
1666
1666
|
anonymous: isAnonymous,
|
|
1667
|
-
version: "4.7.1
|
|
1667
|
+
version: "4.7.1"
|
|
1668
1668
|
});
|
|
1669
1669
|
return mcpResult8({ ok: true });
|
|
1670
1670
|
} catch (error) {
|
|
@@ -5339,7 +5339,7 @@ var HttpToolClient = class {
|
|
|
5339
5339
|
async checkContract() {
|
|
5340
5340
|
return compareContract({
|
|
5341
5341
|
baseUrl: this.appBaseUrl(),
|
|
5342
|
-
client: { type: "mcp", version: "4.7.1
|
|
5342
|
+
client: { type: "mcp", version: "4.7.1" }
|
|
5343
5343
|
});
|
|
5344
5344
|
}
|
|
5345
5345
|
/** The live public OpenAPI document of `appBaseUrl()`, without a credential. */
|
|
@@ -5550,7 +5550,7 @@ function parseJson(content) {
|
|
|
5550
5550
|
}
|
|
5551
5551
|
|
|
5552
5552
|
// src/stdio.ts
|
|
5553
|
-
setClientContext({ type: "mcp", version: "4.7.1
|
|
5553
|
+
setClientContext({ type: "mcp", version: "4.7.1" });
|
|
5554
5554
|
process.on("uncaughtException", (err) => {
|
|
5555
5555
|
const emitter = getMcpEmitterSingleton();
|
|
5556
5556
|
if (emitter) {
|
|
@@ -5570,7 +5570,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
5570
5570
|
async function main() {
|
|
5571
5571
|
const server = createWalkerOSMcpServer({
|
|
5572
5572
|
client: new HttpToolClient(),
|
|
5573
|
-
version: "4.7.1
|
|
5573
|
+
version: "4.7.1",
|
|
5574
5574
|
runtime: createLocalRuntime()
|
|
5575
5575
|
});
|
|
5576
5576
|
const transport = new StdioServerTransport();
|
|
@@ -5581,7 +5581,7 @@ main().catch(async (error) => {
|
|
|
5581
5581
|
try {
|
|
5582
5582
|
const emitter = await createMcpEmitter({
|
|
5583
5583
|
clientInfo: void 0,
|
|
5584
|
-
packageVersion: "4.7.1
|
|
5584
|
+
packageVersion: "4.7.1"
|
|
5585
5585
|
});
|
|
5586
5586
|
await emitter.emitError("startup");
|
|
5587
5587
|
} catch {
|