@walkeros/mcp 4.7.2-next-1791213015481 → 4.7.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/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.2
|
|
829
|
+
var CLIENT_HEADER = "walkeros-mcp/4.7.2";
|
|
830
830
|
function getPackageBaseUrl() {
|
|
831
831
|
return process.env.WALKEROS_APP_URL || void 0;
|
|
832
832
|
}
|
|
@@ -1680,7 +1680,7 @@ async function feedbackHandlerBody(client, input) {
|
|
|
1680
1680
|
const isAnonymous = explicitAnonymous ?? anonymous ?? true;
|
|
1681
1681
|
await client.submitFeedback(text, {
|
|
1682
1682
|
anonymous: isAnonymous,
|
|
1683
|
-
version: "4.7.2
|
|
1683
|
+
version: "4.7.2"
|
|
1684
1684
|
});
|
|
1685
1685
|
return mcpResult8({ ok: true });
|
|
1686
1686
|
} catch (error) {
|
|
@@ -5417,7 +5417,7 @@ var HttpToolClient = class {
|
|
|
5417
5417
|
async checkContract() {
|
|
5418
5418
|
return compareContract({
|
|
5419
5419
|
baseUrl: this.appBaseUrl(),
|
|
5420
|
-
client: { type: "mcp", version: "4.7.2
|
|
5420
|
+
client: { type: "mcp", version: "4.7.2" }
|
|
5421
5421
|
});
|
|
5422
5422
|
}
|
|
5423
5423
|
/** The live public OpenAPI document of `appBaseUrl()`, without a credential. */
|
|
@@ -5628,7 +5628,7 @@ function parseJson(content) {
|
|
|
5628
5628
|
}
|
|
5629
5629
|
|
|
5630
5630
|
// src/stdio.ts
|
|
5631
|
-
setClientContext({ type: "mcp", version: "4.7.2
|
|
5631
|
+
setClientContext({ type: "mcp", version: "4.7.2" });
|
|
5632
5632
|
process.on("uncaughtException", (err) => {
|
|
5633
5633
|
const emitter = getMcpEmitterSingleton();
|
|
5634
5634
|
if (emitter) {
|
|
@@ -5648,7 +5648,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
5648
5648
|
async function main() {
|
|
5649
5649
|
const server = createWalkerOSMcpServer({
|
|
5650
5650
|
client: new HttpToolClient(),
|
|
5651
|
-
version: "4.7.2
|
|
5651
|
+
version: "4.7.2",
|
|
5652
5652
|
runtime: createLocalRuntime()
|
|
5653
5653
|
});
|
|
5654
5654
|
const transport = new StdioServerTransport();
|
|
@@ -5659,7 +5659,7 @@ main().catch(async (error) => {
|
|
|
5659
5659
|
try {
|
|
5660
5660
|
const emitter = await createMcpEmitter({
|
|
5661
5661
|
clientInfo: void 0,
|
|
5662
|
-
packageVersion: "4.7.2
|
|
5662
|
+
packageVersion: "4.7.2"
|
|
5663
5663
|
});
|
|
5664
5664
|
await emitter.emitError("startup");
|
|
5665
5665
|
} catch {
|